@digitalservicebund/ris-ui 1.7.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,8 +8,8 @@
8
8
  * - Please do NOT serve this file on production.
9
9
  */
10
10
 
11
- const PACKAGE_VERSION = '2.6.6'
12
- const INTEGRITY_CHECKSUM = 'ca7800994cc8bfb5eb961e037c877074'
11
+ const PACKAGE_VERSION = '2.7.0'
12
+ const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
13
13
  const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
14
14
  const activeClientIds = new Set()
15
15
 
@@ -199,7 +199,19 @@ async function getResponse(event, client, requestId) {
199
199
  // Remove the "accept" header value that marked this request as passthrough.
200
200
  // This prevents request alteration and also keeps it compliant with the
201
201
  // user-defined CORS policies.
202
- headers.delete('accept', 'msw/passthrough')
202
+ const acceptHeader = headers.get('accept')
203
+ if (acceptHeader) {
204
+ const values = acceptHeader.split(',').map((value) => value.trim())
205
+ const filteredValues = values.filter(
206
+ (value) => value !== 'msw/passthrough',
207
+ )
208
+
209
+ if (filteredValues.length > 0) {
210
+ headers.set('accept', filteredValues.join(', '))
211
+ } else {
212
+ headers.delete('accept')
213
+ }
214
+ }
203
215
 
204
216
  return fetch(requestClone, { headers })
205
217
  }
@@ -1,4 +1,3 @@
1
1
  import { DialogPassThroughOptions } from "primevue/dialog";
2
- import "./dialog.css";
3
2
  declare const dialog: DialogPassThroughOptions;
4
3
  export default dialog;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=(t,...o)=>String.raw({raw:t},...o),e=x,y={root:({props:t,instance:o})=>{const r=e`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`,l=t.severity??"primary",n=e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`,s=e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`,i=e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`,a=t.size??"normal";let u=e`ris-body2-bold h-48 py-4`,c=e`ris-body1-bold h-64 py-4`;return o.hasIcon&&!t.label?(u=e`${u} w-48 px-4`,c=e`${c} w-64 px-4`):(u=e`${u} px-16`,c=e`${c} px-24`),{class:{[r]:!0,[u]:a==="normal",[c]:a==="large",[n]:!t.text&&l==="primary",[s]:!t.text&&l==="secondary",[i]:t.text&&l==="primary"}}},label:({props:t})=>({class:{hidden:!t.label,[e`-order-1`]:t.iconPos==="right"}}),loadingIcon:({props:t})=>{const o=t.size??"normal",r=e`h-[1.34em] w-[1.34em]`,l=e`h-24 w-24`;return{class:{[e`animate-spin`]:!0,[r]:o==="normal",[l]:o==="large"}}}},S={root:{class:e`relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ris-label1-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-12 w-12`}},k={},M={root:()=>({class:e`ris-label2-regular max-h-[90dvh] w-[95dvw] max-w-[25rem] border-2 border-blue-800 bg-white px-56 py-44 shadow-lg`}),header:{class:e`mb-16 flex`},title:{class:e`ris-label1-bold flex-1`},headerActions:{class:e`flex-none`},pcCloseButton:{root:{class:e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-2 outline-gray-500 hover:outline focus:outline active:outline-none`}},content:{class:e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8`},footer:{class:e`mt-40 flex items-center justify-end gap-12`},mask:{class:e`bg-black/40`}},N={root:()=>({class:{[e`flex flex-col items-center gap-10`]:!0}}),input:()=>({class:"hidden"})},z={root:{class:e`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`}},D={root:{class:e`m-0 p-0`}},p=e`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`,v=e`ris-body2-regular h-48 px-16 py-4`,A=e`ris-body1-regular h-64 px-24 py-4`,L=e`ris-body2-regular h-[44px] p-0`,B=e`ris-body1-regular h-[60px] p-0`,I={root:({props:t,parent:o})=>{const r=e`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`,l=o.instance.$name==="InputGroup",n=e`bg-transparent placeholder:text-gray-900 focus:outline-none`,s=e`w-full`;return{class:{[p]:!l,[n]:l,[s]:!!t.fluid,[r]:!0,[v]:(!t.size||t.size==="small")&&!l,[L]:(!t.size||t.size==="small")&&l,[A]:t.size==="large"&&!l,[B]:t.size==="large"&&l},"data-size":t.size??"small"}}},T={root:{class:e`ris-body2-regular bg-white shadow`},list:{class:e`focus-visible:outline-none`},item:({context:t})=>{const o=e`relative h-48 pl-16 pr-12 after:absolute after:-bottom-1 after:left-16 after:right-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`outline-none outline-4 outline-offset-4 outline-blue-800`;return{class:{[o]:!0,[r]:t.focused}}},itemContent:{class:e`flex h-full items-center py-4`},itemLink:{class:e`flex items-center gap-8`}},F={root:({props:t,instance:o})=>{const r=e`ris-body1-regular border-l-4 px-20 py-14`,l=t.severity??"info",n=e`border-l-green-800 bg-green-200`,s=e`border-l-blue-800 bg-blue-200`,i=e`border-l-yellow-800 bg-yellow-200`,a=e`border-l-red-800 bg-red-200`,u=!!o.$slots.icon,m={success:"var(--ris-icon-success)",info:"var(--ris-icon-info)",warn:"var(--ris-icon-warn)",error:"var(--ris-icon-error)"}[l],w=e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;return{class:{[r]:!0,[n]:l==="success",[s]:l==="info",[i]:l==="warn",[a]:l==="error",[w]:!u},style:{backgroundImage:u?void 0:m}}},content:{class:e`flex items-start gap-8`},text:{class:e`flex-1`},closeButton:({props:t})=>{const o=e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`,r=t.severity??"info",l=e`text-green-800 hover:bg-green-400 active:bg-green-500`,n=e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`,s=e`text-black hover:bg-yellow-400 active:bg-yellow-500`,i=e`text-red-800 hover:bg-red-400 active:bg-red-500`;return{class:{[o]:!0,[l]:r==="success",[n]:r==="info",[s]:r==="warn",[i]:r==="error"}}}},E={},V={root:{class:e`mx-auto inline-block h-28 w-28 animate-spin`},circle:{class:e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`}},R={root:{class:e`relative inline-block h-32 w-32 [&+label]:ris-label1-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-transparent peer-checked:text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-16 w-16 rounded-full bg-current`}},b=e`w-full`,j={root:({props:t})=>{const o=e`flex border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 focus-within:outline hover:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none`,r=e`ris-body2-regular h-48 py-4 pl-16 pr-4`;return{class:{[o]:!0,[r]:!0,[b]:!!t.fluid}}},pcInput:{root:({props:t})=>({class:{[e`focus-visible:outline-none`]:!0,[b]:!!t.fluid}})},dropdown:{class:e`absolute inset-y-0 right-16`},option:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},optionGroup:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},overlay:{class:e`max-h-56 min-w-288 overflow-auto bg-white px-8 py-12 shadow-md`}},G={root:({props:t})=>{const o=e`ris-body1-regular min-h-56 border-2 border-blue-800 bg-white px-14 pb-12 pt-8 outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`,r=e`w-full`;return{class:{[o]:!0,[r]:!!t.fluid}}}},P={message:({props:t})=>{var a;const o=e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`,r=(a=t.message)==null?void 0:a.severity,l=e`border-l-green-900 bg-green-200`,n=e`border-l-red-900 bg-red-200`,s=e`border-l-yellow-900 bg-yellow-200`,i=e`border-l-blue-900 bg-blue-200`;return{class:{[o]:!0,[l]:r==="success",[n]:r==="error",[s]:r==="warn",[i]:r==="info"}}},messageContent:{class:e`flex w-full flex-row items-start justify-between gap-10`},messageIcon:({props:t})=>{var a;const o=e`mt-2 h-20 w-20 flex-none shrink-0`,r=((a=t.message)==null?void 0:a.severity)??"info",l=e`text-green-800`,n=e`text-red-800`,s=e`text-black`,i=e`text-blue-800`;return{class:{[o]:!0,[l]:r==="success",[n]:r==="error",[s]:r==="warn",[i]:r==="info"}}},messageText:{class:e`flex-grow text-black`},summary:{class:e`ris-label2-bold`},detail:{class:e`ris-label2-regular`},closeButton:({props:t})=>{var a;const o=e`rounded-sm p-2`,r=((a=t.message)==null?void 0:a.severity)??"info",l=e`hover:bg-green-400`,n=e`hover:bg-red-400`,s=e`hover:bg-yellow-400`,i=e`hover:bg-blue-400`;return{class:{[o]:!0,[l]:r==="success",[n]:r==="error",[s]:r==="warn",[i]:r==="info"}}},closeIcon:{class:e`text-black`}},Z={root:({props:t,state:o})=>{const r=e`ris-body2-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pl-16 pr-12 outline-4 -outline-offset-4`,l=e`cursor-pointer border-blue-800 outline-blue-800`,n=e`outline`,s=e`hover:outline`,i=e`cursor-not-allowed border-blue-500 text-blue-500`,a=e`border-red-800 bg-red-200 outline-red-800`,u=e`w-full`;return{class:{[r]:!0,[l]:!t.disabled,[n]:o.focused&&!t.disabled,[s]:!t.disabled,[u]:!!t.fluid,[i]:t.disabled,[a]:t.invalid},"aria-invalid":t.invalid?"true":null}},dropdown:{class:e`pl-12`},listContainer:{class:e`overflow-auto shadow-md`},label:{class:e`line-clamp-1 outline-none`},overlay:{class:e`bg-white`},option:({context:t})=>{const o=e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:-bottom-1 after:left-8 after:right-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`bg-gray-100`;return{class:{[o]:!0,[r]:t.focused}}}},J={pcInputText:{root:({props:t})=>({class:{[p]:!0,[v]:!0,"w-full":!!t.fluid}})}},C={list:{class:e`m-0 flex list-none flex-wrap items-center p-0 leading-none`},item:{class:e`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`},itemLink:{class:e`inline-flex cursor-pointer items-center text-blue-800 outline-4 outline-offset-4 outline-blue-800 hover:underline focus:outline`},separator:{class:e`mx-6 flex items-center text-gray-600`}},d=e`cursor-pointer`,g=e`ris-label2-bold border-l-blue-800 bg-blue-200 text-black`,h=e`hover:bg-blue-200`,f=e`hover:bg-blue-300`,H=e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`,K={root:{class:e`text-blue-800`},header:({context:t})=>({class:{[e`group flex h-64 items-center border-l-4 border-transparent py-8 pl-10 pr-20`]:!0,[H]:!0,[d]:!0,[g]:t.active,[h]:!t.active,[f]:t.active}}),content:{class:e`ml-28 mt-8`},rootList:{class:e`focus-visible:outline-none`},panel:{class:e`focus-visible:outline-none`},itemContent:({context:t})=>{const o=e`group flex h-48 items-center border-l-4 border-transparent py-8 pl-10 pr-20`,r=e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`,l=e`bg-blue-200`;return{class:{[o]:!0,[l]:t.focused,[r]:!0,[d]:!0,[g]:t.active,[h]:!t.active,[f]:t.active}}}},O={node:{class:e`mb-24 last:mb-0 focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 [&>ul:first-of-type]:border-l-0`},nodeContent:({context:t})=>{const o=e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pl-10 pr-20 text-blue-800`,r=e`cursor-pointer select-none`,l=e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`,n=e`border-l-blue-800 bg-blue-200 text-black`,s=e`hover:bg-blue-200`,i=e`hover:bg-blue-300`;return{class:{[o]:!0,[r]:!0,[n]:t.selected,[s]:!t.selected,[i]:t.selected,[l]:!0}}},nodeToggleButton:({context:t})=>{const o=e`inline-flex h-20 w-20 justify-center border-0 bg-transparent text-gray-900 outline-none hover:text-black group-hover:text-black`,r=e`hidden`;return{class:{[o]:!0,[r]:t.leaf}}},nodeChildren:()=>{const t=e`m-0 list-none border-l border-gray-600 p-0 pl-36 outline-none [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`,o=e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;return{class:{[t]:!0,[o]:!0}}},nodeLabel:({context:t})=>{const o=e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`,r=e`text-black [&>*:last-child:is(span)]:text-gray-900`,l=e`[&>*:last-child]:group-hover:text-black`;return{class:{[o]:!0,[r]:t.selected,[l]:t.selected}}}},U={startsWith:"Beginnt mit",contains:"Enthält",notContains:"Enthält nicht",endsWith:"Endet mit",equals:"Gleich",notEquals:"Ungleich",noFilter:"Kein Filter",lt:"Weniger als",lte:"Weniger oder gleich",gt:"Größer als",gte:"Größer oder gleich",dateIs:"Datum ist",dateIsNot:"Datum ist nicht",dateBefore:"Datum ist vor",dateAfter:"Datum ist nach",clear:"Löschen",apply:"Anwenden",matchAll:"Alle erfüllen",matchAny:"Beliebige erfüllen",addRule:"Regel hinzufügen",removeRule:"Regel entfernen",accept:"Ja",reject:"Nein",choose:"Auswählen",upload:"Hochladen",cancel:"Abbrechen",completed:"Abgeschlossen",pending:"Ausstehend",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],chooseYear:"Jahr wählen",chooseMonth:"Monat wählen",chooseDate:"Datum wählen",prevDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",prevYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",prevHour:"Vorherige Stunde",nextHour:"Nächste Stunde",prevMinute:"Vorherige Minute",nextMinute:"Nächste Minute",prevSecond:"Vorherige Sekunde",nextSecond:"Nächste Sekunde",am:"vorm.",pm:"nachm.",today:"Heute",weekHeader:"KW",firstDayOfWeek:1,showMonthAfterYear:!1,dateFormat:"dd.mm.yy",weak:"Schwach",medium:"Mittel",strong:"Stark",passwordPrompt:"Passwort eingeben",emptyFilterMessage:"Keine Ergebnisse gefunden",searchMessage:"{0} Ergebnisse verfügbar",selectionMessage:"{0} Elemente ausgewählt",emptySelectionMessage:"Kein Element ausgewählt",emptySearchMessage:"Keine Ergebnisse gefunden",fileChosenMessage:"{0} Dateien",noFileChosenMessage:"Keine Datei ausgewählt",emptyMessage:"Keine Optionen verfügbar",aria:{trueLabel:"Wahr",falseLabel:"Falsch",nullLabel:"Nicht ausgewählt",star:"1 Stern",stars:"{star} Sterne",selectAll:"Alle Elemente ausgewählt",unselectAll:"Alle Elemente abgewählt",close:"Schließen",previous:"Vorherige",next:"Nächste",navigation:"Navigation",scrollTop:"Nach oben scrollen",moveTop:"Nach oben bewegen",moveUp:"Nach oben bewegen",moveDown:"Nach unten bewegen",moveBottom:"Nach unten bewegen",moveToTarget:"Zum Ziel verschieben",moveToSource:"Zur Quelle verschieben",moveAllToTarget:"Alle zum Ziel verschieben",moveAllToSource:"Alle zur Quelle verschieben",pageLabel:"Seite {page}",firstPageLabel:"Erste Seite",lastPageLabel:"Letzte Seite",nextPageLabel:"Nächste Seite",prevPageLabel:"Vorherige Seite",rowsPerPageLabel:"Zeilen pro Seite",jumpToPageDropdownLabel:"Zu Seite springen (Dropdown)",jumpToPageInputLabel:"Zu Seite springen (Eingabe)",selectRow:"Zeile ausgewählt",unselectRow:"Zeile abgewählt",expandRow:"Zeile erweitert",collapseRow:"Zeile reduziert",showFilterMenu:"Filtermenü anzeigen",hideFilterMenu:"Filtermenü ausblenden",filterOperator:"Filteroperator",filterConstraint:"Filterbedingung",editRow:"Zeile bearbeiten",saveEdit:"Bearbeitung speichern",cancelEdit:"Bearbeitung abbrechen",listView:"Listenansicht",gridView:"Gitteransicht",slide:"Folie",slideNumber:"Folie {slideNumber}",zoomImage:"Bild vergrößern",zoomIn:"Vergrößern",zoomOut:"Verkleinern",rotateRight:"Rechts drehen",rotateLeft:"Links drehen",listLabel:"Optionsliste"}},W={button:y,checkbox:S,confirmDialog:k,dialog:M,fileUpload:N,inputGroup:z,inputGroupAddon:D,inputText:I,menu:T,message:F,password:E,progressSpinner:V,radioButton:R,textarea:G,toast:P,autocomplete:j,select:Z,inputMask:J,breadcrumb:C,tree:O,panelmenu:K},$={deDE:U};exports.RisUiLocale=$;exports.RisUiTheme=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=(t,...l)=>String.raw({raw:t},...l),e=x,y={root:({props:t,instance:l})=>{const r=e`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`,o=t.severity??"primary",s=e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`,n=e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`,a=e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`,i=t.size??"normal";let u=e`ris-body2-bold h-48 py-4`,c=e`ris-body1-bold h-64 py-4`;return l.hasIcon&&!t.label?(u=e`${u} w-48 px-4`,c=e`${c} w-64 px-4`):(u=e`${u} px-16`,c=e`${c} px-24`),{class:{[r]:!0,[u]:i==="normal",[c]:i==="large",[s]:!t.text&&o==="primary",[n]:!t.text&&o==="secondary",[a]:t.text&&o==="primary"}}},label:({props:t})=>({class:{hidden:!t.label,[e`-order-1`]:t.iconPos==="right"}}),loadingIcon:({props:t})=>{const l=t.size??"normal",r=e`h-[1.34em] w-[1.34em]`,o=e`h-24 w-24`;return{class:{[e`animate-spin`]:!0,[r]:l==="normal",[o]:l==="large"}}}},S={root:{class:e`relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ris-label1-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-12 w-12`}},k={},M={root:()=>({class:e`ris-label2-regular max-h-[90dvh] w-[95dvw] max-w-[25rem] border-2 border-blue-800 bg-white px-56 py-44 shadow-lg`}),header:{class:e`mb-16 flex`},title:{class:e`ris-label1-bold flex-1`},headerActions:{class:e`flex-none`},pcCloseButton:{root:{class:e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-2 outline-gray-500 hover:outline focus:outline active:outline-none`}},content:{class:e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8 [&>svg:first-child]:flex-none`},footer:{class:e`mt-40 flex items-center justify-end gap-12`},mask:{class:e`bg-black/40`}},N={root:()=>({class:{[e`flex flex-col items-center gap-10`]:!0}}),input:()=>({class:"hidden"})},z={root:{class:e`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`}},A={root:{class:e`m-0 p-0`}},p=e`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 [&+small]:ris-label3-regular placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,m=e`ris-body2-regular h-48 px-16 py-4`,D=e`ris-body1-regular h-64 px-24 py-4`,L=e`ris-body2-regular h-[44px] p-0`,B=e`ris-body1-regular h-[60px] p-0`,F={root:({props:t,parent:l})=>{const r=e`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`,o=l.instance.$name==="InputGroup",s=e`bg-transparent placeholder:text-gray-900 focus:outline-none`,n=e`w-full`;return{class:{[p]:!o,[s]:o,[n]:!!t.fluid,[r]:!0,[m]:(!t.size||t.size==="small")&&!o,[L]:(!t.size||t.size==="small")&&o,[D]:t.size==="large"&&!o,[B]:t.size==="large"&&o},"data-size":t.size??"small"}}},I={root:{class:e`ris-body2-regular bg-white shadow`},list:{class:e`focus-visible:outline-none`},item:({context:t})=>{const l=e`relative h-48 pl-16 pr-12 after:absolute after:-bottom-1 after:left-16 after:right-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`bg-gray-200 hover:bg-gray-200`;return{class:{[l]:!0,[r]:t.focused}}},itemContent:{class:e`flex h-full items-center py-4`},itemLink:{class:e`flex items-center gap-8`}},T={root:({props:t,instance:l})=>{const r=e`ris-body1-regular border-l-4 px-20 py-14`,o=t.severity??"info",s=e`border-l-green-800 bg-green-200`,n=e`border-l-blue-800 bg-blue-200`,a=e`border-l-yellow-800 bg-yellow-200`,i=e`border-l-red-800 bg-red-200`,u=!!l.$slots.icon,v={success:"var(--ris-icon-success)",info:"var(--ris-icon-info)",warn:"var(--ris-icon-warn)",error:"var(--ris-icon-error)"}[o],w=e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;return{class:{[r]:!0,[s]:o==="success",[n]:o==="info",[a]:o==="warn",[i]:o==="error",[w]:!u},style:{backgroundImage:u?void 0:v}}},content:{class:e`flex items-start gap-8`},text:{class:e`flex-1`},closeButton:({props:t})=>{const l=e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`,r=t.severity??"info",o=e`text-green-800 hover:bg-green-400 active:bg-green-500`,s=e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`,n=e`text-black hover:bg-yellow-400 active:bg-yellow-500`,a=e`text-red-800 hover:bg-red-400 active:bg-red-500`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="info",[n]:r==="warn",[a]:r==="error"}}}},E={},R={root:{class:e`mx-auto inline-block h-28 w-28 animate-spin`},circle:{class:e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`}},V={root:{class:e`relative inline-block h-32 w-32 [&+label]:ris-label1-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-transparent peer-checked:text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-16 w-16 rounded-full bg-current`}},b=e`w-full`,j={root:({props:t})=>{const l=e`flex border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 focus-within:outline hover:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none`,r=e`ris-body2-regular h-48 py-4 pl-16 pr-4`;return{class:{[l]:!0,[r]:!0,[b]:!!t.fluid}}},pcInput:{root:({props:t})=>({class:{[e`focus-visible:outline-none`]:!0,[b]:!!t.fluid}})},dropdown:{class:e`absolute inset-y-0 right-16`},option:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},optionGroup:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},overlay:{class:e`max-h-56 min-w-288 overflow-auto bg-white px-8 py-12 shadow-md`}},G={root:({props:t})=>{const l=e`ris-body1-regular min-h-56 border-2 border-blue-800 bg-white px-14 pb-12 pt-8 outline-4 -outline-offset-4 outline-blue-800 [&+small]:ris-label3-regular placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,r=e`w-full`;return{class:{[l]:!0,[r]:!!t.fluid}}}},P={message:({props:t})=>{var i;const l=e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`,r=(i=t.message)==null?void 0:i.severity,o=e`border-l-green-900 bg-green-200`,s=e`border-l-red-900 bg-red-200`,n=e`border-l-yellow-900 bg-yellow-200`,a=e`border-l-blue-900 bg-blue-200`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[a]:r==="info"}}},messageContent:{class:e`flex w-full flex-row items-start justify-between gap-10`},messageIcon:({props:t})=>{var i;const l=e`mt-2 h-20 w-20 flex-none shrink-0`,r=((i=t.message)==null?void 0:i.severity)??"info",o=e`text-green-800`,s=e`text-red-800`,n=e`text-black`,a=e`text-blue-800`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[a]:r==="info"}}},messageText:{class:e`flex-grow text-black`},summary:{class:e`ris-label2-bold`},detail:{class:e`ris-label2-regular`},closeButton:({props:t})=>{var i;const l=e`rounded-sm p-2`,r=((i=t.message)==null?void 0:i.severity)??"info",o=e`hover:bg-green-400`,s=e`hover:bg-red-400`,n=e`hover:bg-yellow-400`,a=e`hover:bg-blue-400`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[a]:r==="info"}}},closeIcon:{class:e`text-black`}},Z={root:({props:t,state:l})=>{const r=e`ris-body2-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pl-16 pr-12 outline-4 -outline-offset-4 [&+small]:ris-label3-regular [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,o=e`cursor-pointer border-blue-800 outline-blue-800`,s=e`outline`,n=e`hover:outline`,a=e`cursor-not-allowed border-blue-500 text-blue-500`,i=e`border-red-800 bg-red-200 outline-red-800`,u=e`w-full`;return{class:{[r]:!0,[o]:!t.disabled,[s]:l.focused&&!t.disabled,[n]:!t.disabled,[u]:!!t.fluid,[a]:t.disabled,[i]:t.invalid},"aria-invalid":t.invalid?"true":null}},dropdown:{class:e`pl-12`},listContainer:{class:e`overflow-auto shadow-md`},label:{class:e`line-clamp-1 outline-none`},overlay:{class:e`bg-white`},option:({context:t})=>{const l=e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:-bottom-1 after:left-8 after:right-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`bg-gray-100`;return{class:{[l]:!0,[r]:t.focused}}}},J={pcInputText:{root:({props:t})=>({class:{[p]:!0,[m]:!0,"w-full":!!t.fluid}})}},C={list:{class:e`m-0 flex list-none flex-wrap items-center p-0 leading-none`},item:{class:e`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`},itemLink:{class:e`inline-flex cursor-pointer items-center text-blue-800 outline-4 outline-offset-4 outline-blue-800 hover:underline focus:outline`},separator:{class:e`mx-6 flex items-center text-gray-600`}},d=e`cursor-pointer`,g=e`ris-label2-bold border-l-blue-800 bg-blue-200 text-black hover:bg-blue-300 focus-visible:bg-blue-300`,h=e`hover:bg-blue-200 focus-visible:bg-blue-200`,f=e`focus-visible:outline-none`,H={root:{class:e`text-blue-800`},header:({context:t})=>({class:{[e`group flex h-64 items-center border-l-4 border-transparent py-8 pl-10 pr-20`]:!0,[f]:!0,[d]:!0,[g]:t.active,[h]:!t.active}}),content:{class:e`ml-28 mt-8`},rootList:{class:e`focus-visible:outline-none`},panel:{class:e`focus-visible:outline-none`},itemContent:({context:t})=>{const l=e`group flex h-48 items-center border-l-4 border-transparent py-8 pl-10 pr-20`,r=e`bg-blue-300`,o=e`bg-blue-200`;return{class:{[l]:!0,[r]:t.active&&t.focused,[o]:!t.active&&t.focused,[f]:!0,[d]:!0,[g]:t.active,[h]:!t.active}}}},K={node:{class:e`mb-24 last:mb-0 focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 [&>ul:first-of-type]:border-l-0`},nodeContent:({context:t})=>{const l=e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pl-10 pr-20 text-blue-800`,r=e`cursor-pointer select-none`,o=e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`,s=e`border-l-blue-800 bg-blue-200 text-black`,n=e`hover:bg-blue-200`,a=e`hover:bg-blue-300`;return{class:{[l]:!0,[r]:!0,[s]:t.selected,[n]:!t.selected,[a]:t.selected,[o]:!0}}},nodeToggleButton:({context:t})=>{const l=e`inline-flex h-20 w-20 justify-center border-0 bg-transparent text-gray-900 outline-none hover:text-black group-hover:text-black`,r=e`hidden`;return{class:{[l]:!0,[r]:t.leaf}}},nodeChildren:()=>{const t=e`m-0 list-none border-l border-gray-600 p-0 pl-36 outline-none [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`,l=e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;return{class:{[t]:!0,[l]:!0}}},nodeLabel:({context:t})=>{const l=e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`,r=e`text-black [&>*:last-child:is(span)]:text-gray-900`,o=e`[&>*:last-child]:group-hover:text-black`;return{class:{[l]:!0,[r]:t.selected,[o]:t.selected}}}},O={startsWith:"Beginnt mit",contains:"Enthält",notContains:"Enthält nicht",endsWith:"Endet mit",equals:"Gleich",notEquals:"Ungleich",noFilter:"Kein Filter",lt:"Weniger als",lte:"Weniger oder gleich",gt:"Größer als",gte:"Größer oder gleich",dateIs:"Datum ist",dateIsNot:"Datum ist nicht",dateBefore:"Datum ist vor",dateAfter:"Datum ist nach",clear:"Löschen",apply:"Anwenden",matchAll:"Alle erfüllen",matchAny:"Beliebige erfüllen",addRule:"Regel hinzufügen",removeRule:"Regel entfernen",accept:"Ja",reject:"Nein",choose:"Auswählen",upload:"Hochladen",cancel:"Abbrechen",completed:"Abgeschlossen",pending:"Ausstehend",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],chooseYear:"Jahr wählen",chooseMonth:"Monat wählen",chooseDate:"Datum wählen",prevDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",prevYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",prevHour:"Vorherige Stunde",nextHour:"Nächste Stunde",prevMinute:"Vorherige Minute",nextMinute:"Nächste Minute",prevSecond:"Vorherige Sekunde",nextSecond:"Nächste Sekunde",am:"vorm.",pm:"nachm.",today:"Heute",weekHeader:"KW",firstDayOfWeek:1,showMonthAfterYear:!1,dateFormat:"dd.mm.yy",weak:"Schwach",medium:"Mittel",strong:"Stark",passwordPrompt:"Passwort eingeben",emptyFilterMessage:"Keine Ergebnisse gefunden",searchMessage:"{0} Ergebnisse verfügbar",selectionMessage:"{0} Elemente ausgewählt",emptySelectionMessage:"Kein Element ausgewählt",emptySearchMessage:"Keine Ergebnisse gefunden",fileChosenMessage:"{0} Dateien",noFileChosenMessage:"Keine Datei ausgewählt",emptyMessage:"Keine Optionen verfügbar",aria:{trueLabel:"Wahr",falseLabel:"Falsch",nullLabel:"Nicht ausgewählt",star:"1 Stern",stars:"{star} Sterne",selectAll:"Alle Elemente ausgewählt",unselectAll:"Alle Elemente abgewählt",close:"Schließen",previous:"Vorherige",next:"Nächste",navigation:"Navigation",scrollTop:"Nach oben scrollen",moveTop:"Nach oben bewegen",moveUp:"Nach oben bewegen",moveDown:"Nach unten bewegen",moveBottom:"Nach unten bewegen",moveToTarget:"Zum Ziel verschieben",moveToSource:"Zur Quelle verschieben",moveAllToTarget:"Alle zum Ziel verschieben",moveAllToSource:"Alle zur Quelle verschieben",pageLabel:"Seite {page}",firstPageLabel:"Erste Seite",lastPageLabel:"Letzte Seite",nextPageLabel:"Nächste Seite",prevPageLabel:"Vorherige Seite",rowsPerPageLabel:"Zeilen pro Seite",jumpToPageDropdownLabel:"Zu Seite springen (Dropdown)",jumpToPageInputLabel:"Zu Seite springen (Eingabe)",selectRow:"Zeile ausgewählt",unselectRow:"Zeile abgewählt",expandRow:"Zeile erweitert",collapseRow:"Zeile reduziert",showFilterMenu:"Filtermenü anzeigen",hideFilterMenu:"Filtermenü ausblenden",filterOperator:"Filteroperator",filterConstraint:"Filterbedingung",editRow:"Zeile bearbeiten",saveEdit:"Bearbeitung speichern",cancelEdit:"Bearbeitung abbrechen",listView:"Listenansicht",gridView:"Gitteransicht",slide:"Folie",slideNumber:"Folie {slideNumber}",zoomImage:"Bild vergrößern",zoomIn:"Vergrößern",zoomOut:"Verkleinern",rotateRight:"Rechts drehen",rotateLeft:"Links drehen",listLabel:"Optionsliste"}},U={button:y,checkbox:S,confirmDialog:k,dialog:M,fileUpload:N,inputGroup:z,inputGroupAddon:A,inputText:F,menu:I,message:T,password:E,progressSpinner:R,radioButton:V,textarea:G,toast:P,autocomplete:j,select:Z,inputMask:J,breadcrumb:C,tree:K,panelmenu:H},W={deDE:O};exports.RisUiLocale=W;exports.RisUiTheme=U;
@@ -1,15 +1,15 @@
1
- const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
2
- root: ({ props: t, instance: o }) => {
3
- const r = e`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`, l = t.severity ?? "primary", n = e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`, s = e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, i = e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`, a = t.size ?? "normal";
1
+ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
2
+ root: ({ props: t, instance: l }) => {
3
+ const r = e`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`, o = t.severity ?? "primary", s = e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`, n = e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`, a = e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`, i = t.size ?? "normal";
4
4
  let u = e`ris-body2-bold h-48 py-4`, c = e`ris-body1-bold h-64 py-4`;
5
- return o.hasIcon && !t.label ? (u = e`${u} w-48 px-4`, c = e`${c} w-64 px-4`) : (u = e`${u} px-16`, c = e`${c} px-24`), {
5
+ return l.hasIcon && !t.label ? (u = e`${u} w-48 px-4`, c = e`${c} w-64 px-4`) : (u = e`${u} px-16`, c = e`${c} px-24`), {
6
6
  class: {
7
7
  [r]: !0,
8
- [u]: a === "normal",
9
- [c]: a === "large",
10
- [n]: !t.text && l === "primary",
11
- [s]: !t.text && l === "secondary",
12
- [i]: t.text && l === "primary"
8
+ [u]: i === "normal",
9
+ [c]: i === "large",
10
+ [s]: !t.text && o === "primary",
11
+ [n]: !t.text && o === "secondary",
12
+ [a]: t.text && o === "primary"
13
13
  }
14
14
  };
15
15
  },
@@ -20,12 +20,12 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
20
20
  }
21
21
  }),
22
22
  loadingIcon: ({ props: t }) => {
23
- const o = t.size ?? "normal", r = e`h-[1.34em] w-[1.34em]`, l = e`h-24 w-24`;
23
+ const l = t.size ?? "normal", r = e`h-[1.34em] w-[1.34em]`, o = e`h-24 w-24`;
24
24
  return {
25
25
  class: {
26
26
  [e`animate-spin`]: !0,
27
- [r]: o === "normal",
28
- [l]: o === "large"
27
+ [r]: l === "normal",
28
+ [o]: l === "large"
29
29
  }
30
30
  };
31
31
  }
@@ -68,7 +68,7 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
68
68
  // (for example) by the confirm dialog. If the svg is not the first child,
69
69
  // we assume that it is used in the context of some other layout and don't
70
70
  // apply extra styling.
71
- class: e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8`
71
+ class: e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8 [&>svg:first-child]:flex-none`
72
72
  },
73
73
  footer: {
74
74
  class: e`mt-40 flex items-center justify-end gap-12`
@@ -89,28 +89,28 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
89
89
  root: {
90
90
  class: e`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`
91
91
  }
92
- }, D = {
92
+ }, A = {
93
93
  root: {
94
94
  class: e`m-0 p-0`
95
95
  }
96
- }, p = e`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`, v = e`ris-body2-regular h-48 px-16 py-4`, A = e`ris-body1-regular h-64 px-24 py-4`, B = e`ris-body2-regular h-[44px] p-0`, L = e`ris-body1-regular h-[60px] p-0`, I = {
97
- root: ({ props: t, parent: o }) => {
98
- const r = e`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`, l = o.instance.$name === "InputGroup", n = e`bg-transparent placeholder:text-gray-900 focus:outline-none`, s = e`w-full`;
96
+ }, p = e`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 [&+small]:ris-label3-regular placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, m = e`ris-body2-regular h-48 px-16 py-4`, D = e`ris-body1-regular h-64 px-24 py-4`, B = e`ris-body2-regular h-[44px] p-0`, L = e`ris-body1-regular h-[60px] p-0`, F = {
97
+ root: ({ props: t, parent: l }) => {
98
+ const r = e`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`, o = l.instance.$name === "InputGroup", s = e`bg-transparent placeholder:text-gray-900 focus:outline-none`, n = e`w-full`;
99
99
  return {
100
100
  class: {
101
- [p]: !l,
102
- [n]: l,
103
- [s]: !!t.fluid,
101
+ [p]: !o,
102
+ [s]: o,
103
+ [n]: !!t.fluid,
104
104
  [r]: !0,
105
- [v]: (!t.size || t.size === "small") && !l,
106
- [B]: (!t.size || t.size === "small") && l,
107
- [A]: t.size === "large" && !l,
108
- [L]: t.size === "large" && l
105
+ [m]: (!t.size || t.size === "small") && !o,
106
+ [B]: (!t.size || t.size === "small") && o,
107
+ [D]: t.size === "large" && !o,
108
+ [L]: t.size === "large" && o
109
109
  },
110
110
  "data-size": t.size ?? "small"
111
111
  };
112
112
  }
113
- }, F = {
113
+ }, I = {
114
114
  root: {
115
115
  class: e`ris-body2-regular bg-white shadow`
116
116
  },
@@ -118,10 +118,10 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
118
118
  class: e`focus-visible:outline-none`
119
119
  },
120
120
  item: ({ context: t }) => {
121
- const o = e`relative h-48 pl-16 pr-12 after:absolute after:-bottom-1 after:left-16 after:right-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, r = e`outline-none outline-4 outline-offset-4 outline-blue-800`;
121
+ const l = e`relative h-48 pl-16 pr-12 after:absolute after:-bottom-1 after:left-16 after:right-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, r = e`bg-gray-200 hover:bg-gray-200`;
122
122
  return {
123
123
  class: {
124
- [o]: !0,
124
+ [l]: !0,
125
125
  [r]: t.focused
126
126
  }
127
127
  };
@@ -133,24 +133,24 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
133
133
  class: e`flex items-center gap-8`
134
134
  }
135
135
  }, T = {
136
- root: ({ props: t, instance: o }) => {
137
- const r = e`ris-body1-regular border-l-4 px-20 py-14`, l = t.severity ?? "info", n = e`border-l-green-800 bg-green-200`, s = e`border-l-blue-800 bg-blue-200`, i = e`border-l-yellow-800 bg-yellow-200`, a = e`border-l-red-800 bg-red-200`, u = !!o.$slots.icon, m = {
136
+ root: ({ props: t, instance: l }) => {
137
+ const r = e`ris-body1-regular border-l-4 px-20 py-14`, o = t.severity ?? "info", s = e`border-l-green-800 bg-green-200`, n = e`border-l-blue-800 bg-blue-200`, a = e`border-l-yellow-800 bg-yellow-200`, i = e`border-l-red-800 bg-red-200`, u = !!l.$slots.icon, v = {
138
138
  success: "var(--ris-icon-success)",
139
139
  info: "var(--ris-icon-info)",
140
140
  warn: "var(--ris-icon-warn)",
141
141
  error: "var(--ris-icon-error)"
142
- }[l], w = e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;
142
+ }[o], w = e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;
143
143
  return {
144
144
  class: {
145
145
  [r]: !0,
146
- [n]: l === "success",
147
- [s]: l === "info",
148
- [i]: l === "warn",
149
- [a]: l === "error",
146
+ [s]: o === "success",
147
+ [n]: o === "info",
148
+ [a]: o === "warn",
149
+ [i]: o === "error",
150
150
  [w]: !u
151
151
  },
152
152
  style: {
153
- backgroundImage: u ? void 0 : m
153
+ backgroundImage: u ? void 0 : v
154
154
  }
155
155
  };
156
156
  },
@@ -161,14 +161,14 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
161
161
  class: e`flex-1`
162
162
  },
163
163
  closeButton: ({ props: t }) => {
164
- const o = e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`, r = t.severity ?? "info", l = e`text-green-800 hover:bg-green-400 active:bg-green-500`, n = e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`, s = e`text-black hover:bg-yellow-400 active:bg-yellow-500`, i = e`text-red-800 hover:bg-red-400 active:bg-red-500`;
164
+ const l = e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`, r = t.severity ?? "info", o = e`text-green-800 hover:bg-green-400 active:bg-green-500`, s = e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`, n = e`text-black hover:bg-yellow-400 active:bg-yellow-500`, a = e`text-red-800 hover:bg-red-400 active:bg-red-500`;
165
165
  return {
166
166
  class: {
167
- [o]: !0,
168
- [l]: r === "success",
169
- [n]: r === "info",
170
- [s]: r === "warn",
171
- [i]: r === "error"
167
+ [l]: !0,
168
+ [o]: r === "success",
169
+ [s]: r === "info",
170
+ [n]: r === "warn",
171
+ [a]: r === "error"
172
172
  }
173
173
  };
174
174
  }
@@ -196,10 +196,10 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
196
196
  }
197
197
  }, b = e`w-full`, R = {
198
198
  root: ({ props: t }) => {
199
- const o = e`flex border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 focus-within:outline hover:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none`, r = e`ris-body2-regular h-48 py-4 pl-16 pr-4`;
199
+ const l = e`flex border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 focus-within:outline hover:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none`, r = e`ris-body2-regular h-48 py-4 pl-16 pr-4`;
200
200
  return {
201
201
  class: {
202
- [o]: !0,
202
+ [l]: !0,
203
203
  [r]: !0,
204
204
  [b]: !!t.fluid
205
205
  }
@@ -225,25 +225,25 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
225
225
  }
226
226
  }, Z = {
227
227
  root: ({ props: t }) => {
228
- const o = e`ris-body1-regular min-h-56 border-2 border-blue-800 bg-white px-14 pb-12 pt-8 outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`, r = e`w-full`;
228
+ const l = e`ris-body1-regular min-h-56 border-2 border-blue-800 bg-white px-14 pb-12 pt-8 outline-4 -outline-offset-4 outline-blue-800 [&+small]:ris-label3-regular placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, r = e`w-full`;
229
229
  return {
230
230
  class: {
231
- [o]: !0,
231
+ [l]: !0,
232
232
  [r]: !!t.fluid
233
233
  }
234
234
  };
235
235
  }
236
236
  }, j = {
237
237
  message: ({ props: t }) => {
238
- var a;
239
- const o = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = (a = t.message) == null ? void 0 : a.severity, l = e`border-l-green-900 bg-green-200`, n = e`border-l-red-900 bg-red-200`, s = e`border-l-yellow-900 bg-yellow-200`, i = e`border-l-blue-900 bg-blue-200`;
238
+ var i;
239
+ const l = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = (i = t.message) == null ? void 0 : i.severity, o = e`border-l-green-900 bg-green-200`, s = e`border-l-red-900 bg-red-200`, n = e`border-l-yellow-900 bg-yellow-200`, a = e`border-l-blue-900 bg-blue-200`;
240
240
  return {
241
241
  class: {
242
- [o]: !0,
243
- [l]: r === "success",
244
- [n]: r === "error",
245
- [s]: r === "warn",
246
- [i]: r === "info"
242
+ [l]: !0,
243
+ [o]: r === "success",
244
+ [s]: r === "error",
245
+ [n]: r === "warn",
246
+ [a]: r === "info"
247
247
  }
248
248
  };
249
249
  },
@@ -251,15 +251,15 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
251
251
  class: e`flex w-full flex-row items-start justify-between gap-10`
252
252
  },
253
253
  messageIcon: ({ props: t }) => {
254
- var a;
255
- const o = e`mt-2 h-20 w-20 flex-none shrink-0`, r = ((a = t.message) == null ? void 0 : a.severity) ?? "info", l = e`text-green-800`, n = e`text-red-800`, s = e`text-black`, i = e`text-blue-800`;
254
+ var i;
255
+ const l = e`mt-2 h-20 w-20 flex-none shrink-0`, r = ((i = t.message) == null ? void 0 : i.severity) ?? "info", o = e`text-green-800`, s = e`text-red-800`, n = e`text-black`, a = e`text-blue-800`;
256
256
  return {
257
257
  class: {
258
- [o]: !0,
259
- [l]: r === "success",
260
- [n]: r === "error",
261
- [s]: r === "warn",
262
- [i]: r === "info"
258
+ [l]: !0,
259
+ [o]: r === "success",
260
+ [s]: r === "error",
261
+ [n]: r === "warn",
262
+ [a]: r === "info"
263
263
  }
264
264
  };
265
265
  },
@@ -273,15 +273,15 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
273
273
  class: e`ris-label2-regular`
274
274
  },
275
275
  closeButton: ({ props: t }) => {
276
- var a;
277
- const o = e`rounded-sm p-2`, r = ((a = t.message) == null ? void 0 : a.severity) ?? "info", l = e`hover:bg-green-400`, n = e`hover:bg-red-400`, s = e`hover:bg-yellow-400`, i = e`hover:bg-blue-400`;
276
+ var i;
277
+ const l = e`rounded-sm p-2`, r = ((i = t.message) == null ? void 0 : i.severity) ?? "info", o = e`hover:bg-green-400`, s = e`hover:bg-red-400`, n = e`hover:bg-yellow-400`, a = e`hover:bg-blue-400`;
278
278
  return {
279
279
  class: {
280
- [o]: !0,
281
- [l]: r === "success",
282
- [n]: r === "error",
283
- [s]: r === "warn",
284
- [i]: r === "info"
280
+ [l]: !0,
281
+ [o]: r === "success",
282
+ [s]: r === "error",
283
+ [n]: r === "warn",
284
+ [a]: r === "info"
285
285
  }
286
286
  };
287
287
  },
@@ -289,17 +289,17 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
289
289
  class: e`text-black`
290
290
  }
291
291
  }, J = {
292
- root: ({ props: t, state: o }) => {
293
- const r = e`ris-body2-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pl-16 pr-12 outline-4 -outline-offset-4`, l = e`cursor-pointer border-blue-800 outline-blue-800`, n = e`outline`, s = e`hover:outline`, i = e`cursor-not-allowed border-blue-500 text-blue-500`, a = e`border-red-800 bg-red-200 outline-red-800`, u = e`w-full`;
292
+ root: ({ props: t, state: l }) => {
293
+ const r = e`ris-body2-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pl-16 pr-12 outline-4 -outline-offset-4 [&+small]:ris-label3-regular [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, o = e`cursor-pointer border-blue-800 outline-blue-800`, s = e`outline`, n = e`hover:outline`, a = e`cursor-not-allowed border-blue-500 text-blue-500`, i = e`border-red-800 bg-red-200 outline-red-800`, u = e`w-full`;
294
294
  return {
295
295
  class: {
296
296
  [r]: !0,
297
- [l]: !t.disabled,
298
- [n]: o.focused && !t.disabled,
299
- [s]: !t.disabled,
297
+ [o]: !t.disabled,
298
+ [s]: l.focused && !t.disabled,
299
+ [n]: !t.disabled,
300
300
  [u]: !!t.fluid,
301
- [i]: t.disabled,
302
- [a]: t.invalid
301
+ [a]: t.disabled,
302
+ [i]: t.invalid
303
303
  },
304
304
  "aria-invalid": t.invalid ? "true" : null
305
305
  };
@@ -317,10 +317,10 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
317
317
  class: e`bg-white`
318
318
  },
319
319
  option: ({ context: t }) => {
320
- const o = e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:-bottom-1 after:left-8 after:right-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, r = e`bg-gray-100`;
320
+ const l = e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:-bottom-1 after:left-8 after:right-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`, r = e`bg-gray-100`;
321
321
  return {
322
322
  class: {
323
- [o]: !0,
323
+ [l]: !0,
324
324
  [r]: t.focused
325
325
  }
326
326
  };
@@ -330,7 +330,7 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
330
330
  root: ({ props: t }) => ({
331
331
  class: {
332
332
  [p]: !0,
333
- [v]: !0,
333
+ [m]: !0,
334
334
  "w-full": !!t.fluid
335
335
  }
336
336
  })
@@ -348,18 +348,17 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
348
348
  separator: {
349
349
  class: e`mx-6 flex items-center text-gray-600`
350
350
  }
351
- }, d = e`cursor-pointer`, g = e`ris-label2-bold border-l-blue-800 bg-blue-200 text-black`, h = e`hover:bg-blue-200`, f = e`hover:bg-blue-300`, H = e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, K = {
351
+ }, d = e`cursor-pointer`, g = e`ris-label2-bold border-l-blue-800 bg-blue-200 text-black hover:bg-blue-300 focus-visible:bg-blue-300`, h = e`hover:bg-blue-200 focus-visible:bg-blue-200`, f = e`focus-visible:outline-none`, H = {
352
352
  root: {
353
353
  class: e`text-blue-800`
354
354
  },
355
355
  header: ({ context: t }) => ({
356
356
  class: {
357
357
  [e`group flex h-64 items-center border-l-4 border-transparent py-8 pl-10 pr-20`]: !0,
358
- [H]: !0,
358
+ [f]: !0,
359
359
  [d]: !0,
360
360
  [g]: t.active,
361
- [h]: !t.active,
362
- [f]: t.active
361
+ [h]: !t.active
363
362
  }
364
363
  }),
365
364
  content: {
@@ -372,66 +371,65 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
372
371
  class: e`focus-visible:outline-none`
373
372
  },
374
373
  itemContent: ({ context: t }) => {
375
- const o = e`group flex h-48 items-center border-l-4 border-transparent py-8 pl-10 pr-20`, r = e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, l = e`bg-blue-200`;
374
+ const l = e`group flex h-48 items-center border-l-4 border-transparent py-8 pl-10 pr-20`, r = e`bg-blue-300`, o = e`bg-blue-200`;
376
375
  return {
377
376
  class: {
378
- [o]: !0,
379
- [l]: t.focused,
380
- // workaround for https://github.com/primefaces/primevue/issues/6836
381
- [r]: !0,
377
+ [l]: !0,
378
+ [r]: t.active && t.focused,
379
+ [o]: !t.active && t.focused,
380
+ [f]: !0,
382
381
  [d]: !0,
383
382
  [g]: t.active,
384
- [h]: !t.active,
385
- [f]: t.active
383
+ [h]: !t.active
386
384
  }
387
385
  };
388
386
  }
389
- }, O = {
387
+ }, K = {
390
388
  node: {
391
389
  class: e`mb-24 last:mb-0 focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 [&>ul:first-of-type]:border-l-0`
392
390
  },
393
391
  nodeContent: ({ context: t }) => {
394
- const o = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pl-10 pr-20 text-blue-800`, r = e`cursor-pointer select-none`, l = e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, n = e`border-l-blue-800 bg-blue-200 text-black`, s = e`hover:bg-blue-200`, i = e`hover:bg-blue-300`;
392
+ const l = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pl-10 pr-20 text-blue-800`, r = e`cursor-pointer select-none`, o = e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`, s = e`border-l-blue-800 bg-blue-200 text-black`, n = e`hover:bg-blue-200`, a = e`hover:bg-blue-300`;
395
393
  return {
396
394
  class: {
397
- [o]: !0,
395
+ [l]: !0,
398
396
  [r]: !0,
399
- [n]: t.selected,
400
- [s]: !t.selected,
401
- [i]: t.selected,
402
- [l]: !0
397
+ [s]: t.selected,
398
+ [n]: !t.selected,
399
+ [a]: t.selected,
400
+ [o]: !0
403
401
  }
404
402
  };
405
403
  },
406
404
  nodeToggleButton: ({ context: t }) => {
407
- const o = e`inline-flex h-20 w-20 justify-center border-0 bg-transparent text-gray-900 outline-none hover:text-black group-hover:text-black`, r = e`hidden`;
405
+ const l = e`inline-flex h-20 w-20 justify-center border-0 bg-transparent text-gray-900 outline-none hover:text-black group-hover:text-black`, r = e`hidden`;
408
406
  return {
409
407
  class: {
410
- [o]: !0,
408
+ [l]: !0,
411
409
  [r]: t.leaf
412
410
  }
413
411
  };
414
412
  },
415
413
  nodeChildren: () => {
416
- const t = e`m-0 list-none border-l border-gray-600 p-0 pl-36 outline-none [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`, o = e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;
414
+ const t = e`m-0 list-none border-l border-gray-600 p-0 pl-36 outline-none [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`, l = e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;
417
415
  return {
418
416
  class: {
419
417
  [t]: !0,
420
- [o]: !0
418
+ [l]: !0
421
419
  }
422
420
  };
423
421
  },
424
422
  nodeLabel: ({ context: t }) => {
425
- const o = e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`, r = e`text-black [&>*:last-child:is(span)]:text-gray-900`, l = e`[&>*:last-child]:group-hover:text-black`;
423
+ const l = e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`, r = e`text-black [&>*:last-child:is(span)]:text-gray-900`, o = e`[&>*:last-child]:group-hover:text-black`;
426
424
  return {
427
425
  class: {
428
- [o]: !0,
426
+ [l]: !0,
429
427
  [r]: t.selected,
430
- [l]: t.selected
428
+ [o]: t.selected
431
429
  }
432
430
  };
433
431
  }
434
- }, W = {
432
+ }, O = {
435
433
  startsWith: "Beginnt mit",
436
434
  contains: "Enthält",
437
435
  notContains: "Enthält nicht",
@@ -585,16 +583,16 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
585
583
  rotateLeft: "Links drehen",
586
584
  listLabel: "Optionsliste"
587
585
  }
588
- }, $ = {
586
+ }, W = {
589
587
  button: y,
590
588
  checkbox: k,
591
589
  confirmDialog: S,
592
590
  dialog: M,
593
591
  fileUpload: N,
594
592
  inputGroup: z,
595
- inputGroupAddon: D,
596
- inputText: I,
597
- menu: F,
593
+ inputGroupAddon: A,
594
+ inputText: F,
595
+ menu: I,
598
596
  message: T,
599
597
  password: E,
600
598
  progressSpinner: V,
@@ -605,12 +603,12 @@ const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
605
603
  select: J,
606
604
  inputMask: P,
607
605
  breadcrumb: C,
608
- tree: O,
609
- panelmenu: K
610
- }, U = {
611
- deDE: W
606
+ tree: K,
607
+ panelmenu: H
608
+ }, $ = {
609
+ deDE: O
612
610
  };
613
611
  export {
614
- U as RisUiLocale,
615
- $ as RisUiTheme
612
+ $ as RisUiLocale,
613
+ W as RisUiTheme
616
614
  };
@@ -1,5 +1,4 @@
1
1
  import { InputTextPassThroughOptions } from "primevue/inputtext";
2
- import "./inputText.css";
3
2
  export declare const base: string;
4
3
  export declare const small: string;
5
4
  export declare const large: string;
@@ -1,4 +1,3 @@
1
1
  import { SelectPassThroughOptions } from "primevue/select";
2
- import "./select.css";
3
2
  declare const select: SelectPassThroughOptions;
4
3
  export default select;
@@ -1,4 +1,3 @@
1
1
  import { TextareaPassThroughOptions } from "primevue/textarea";
2
- import "./textarea.css";
3
2
  declare const textarea: TextareaPassThroughOptions;
4
3
  export default textarea;