2 lines
8.3 KiB
JavaScript
2 lines
8.3 KiB
JavaScript
|
|
import{b as ne,a as v,f as _,c as xe,t as be}from"../chunks/DCPIP6Ym.js";import{o as Be}from"../chunks/DDErvS7v.js";import{F as q,W as he,a5 as C,t as b,R as ye,l as We,a6 as Ye,Y as we,a7 as Ge,a8 as Ze,a9 as Je,aa as Ke,ab as Qe,ac as Xe,ad as et,d as tt,s as S,p as at,b as s,f as B,g as e,h as rt,e as st,c as o,a as f,$ as ot,r as a,u as it}from"../chunks/DAfY0XTB.js";import{d as lt,a as A,s as x}from"../chunks/D2u1A_4g.js";import{i as H}from"../chunks/Br6sCvve.js";import{h as nt,e as de,i as ce}from"../chunks/CBOKTDOo.js";import{r as dt,s as ke}from"../chunks/DVOkFnep.js";import{s as ct}from"../chunks/C-x9yHfs.js";import{b as pt}from"../chunks/BCXcTGin.js";import{b as Se}from"../chunks/yhBelVs6.js";import{g as pe}from"../chunks/CTIvq_GE.js";import{d as vt,f as ft}from"../chunks/Cgke0YGN.js";import{f as ut}from"../chunks/utcFFRIM.js";function Ae(N,W,m=!1,z=!1,$=!1,D=!1){var h=N,p="";if(m){var d=N;q&&(h=he(C(d)))}b(()=>{var u=We;if(p===(p=W()??"")){q&&ye();return}if(m&&!q){u.nodes=null,d.innerHTML=p,p!==""&&ne(C(d),d.lastChild);return}if(u.nodes!==null&&(Ye(u.nodes.start,u.nodes.end),u.nodes=null),p!==""){if(q){we.data;for(var i=ye(),O=i;i!==null&&(i.nodeType!==Ge||i.data!=="");)O=i,i=Ze(i);if(i===null)throw Je(),Ke;ne(we,O),h=he(i);return}var T=z?Xe:$?et:void 0,y=Qe(z?"svg":$?"math":"template",T);y.innerHTML=p;var w=z||$?y:y.content;if(ne(C(w),w.lastChild),z||$)for(;C(w);)h.before(C(w));else h.before(w)}})}var gt=_("<option> </option>"),mt=_('<div class="bg-red-50 text-red-700 p-4 rounded-lg"> </div>'),_t=_('<div class="flex justify-center py-20"><div class="animate-spin rounded-full h-12 w-12 border-b-2 border-green-600"></div></div>'),xt=_('<a class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium hover:opacity-80"> </a>'),bt=_('<div class="flex flex-wrap gap-1"></div>'),ht=_('<span class="text-gray-400 text-xs">–</span>'),yt=_('<tr class="hover:bg-gray-50 transition-colors cursor-pointer"><td class="px-4 py-3"><a class="font-mono text-sm font-medium text-green-700 hover:underline"><!></a></td><td class="px-4 py-3 text-sm text-gray-700 max-w-lg truncate"><!></td><td class="px-4 py-3"><!></td><td class="px-4 py-3 text-sm text-gray-600 capitalize"> </td><td class="px-4 py-3 text-sm text-gray-500"> </td></tr>'),wt=_('<div class="flex justify-center mt-6 space-x-2"><button class="px-3 py-2 rounded-lg text-sm border border-gray-300 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed">« Zurück</button> <span class="px-3 py-2 text-sm text-gray-600"> </span> <button class="px-3 py-2 rounded-lg text-sm border border-gray-300 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed">Weiter »</button></div>'),kt=_('<div class="text-sm text-gray-500 mb-3"> </div> <div class="bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden"><table class="w-full"><thead class="bg-gray-50"><tr><th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase">Aktenzeichen</th><th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase">Betreff</th><th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase">Partei</th><th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase">Typ</th><th class="px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase">Datum</th></tr></thead><tbody class="divide-y divide-gray-100"></tbody></table></div> <!>',1),St=_('<div class="mb-6"><h1 class="text-2xl font-bold text-gray-900">Vorlagen</h1> <p class="text-gray-500 text-sm mt-1">Alle importierten Vorlagen aus dem ALLRIS-System</p></div> <div class="bg-white rounded-xl shadow-sm border border-gray-200 p-4 mb-6"><div class="flex flex-wrap gap-3 items-end"><div><label for="suche" class="block text-xs font-medium text-gray-500 mb-1">Suche</label> <input id="suche" type="text" placeholder="Volltextsuche..." class="border border-gray-300 rounded-lg px-3 py-2 text-sm focus:ring-2 focus:ring-green-500 focus:border-green-500"/></div> <div><label for="typ" class="block text-xs font-medium text-gray-500 mb-1">Typ</label> <select id="typ"
|