@digitalservicebund/ris-ui 1.5.1 → 1.7.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.
- package/README.md +21 -16
- package/dist/components/RisGhostButton/RisGhostButton.vue.d.ts +17 -0
- package/dist/components/index.cjs +16 -16
- package/dist/components/index.js +891 -854
- package/dist/mockServiceWorker.js +10 -8
- package/dist/primevue/index.cjs +1 -1
- package/dist/primevue/index.d.ts +2 -0
- package/dist/primevue/index.js +151 -86
- package/dist/primevue/menu/menu.d.ts +3 -0
- package/dist/primevue/panelMenu/panelMenu.d.ts +3 -0
- package/dist/style.css +1 -1
- package/package.json +3 -2
@@ -8,8 +8,8 @@
|
|
8
8
|
* - Please do NOT serve this file on production.
|
9
9
|
*/
|
10
10
|
|
11
|
-
const PACKAGE_VERSION = '2.6.
|
12
|
-
const INTEGRITY_CHECKSUM = '
|
11
|
+
const PACKAGE_VERSION = '2.6.6'
|
12
|
+
const INTEGRITY_CHECKSUM = 'ca7800994cc8bfb5eb961e037c877074'
|
13
13
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
14
14
|
const activeClientIds = new Set()
|
15
15
|
|
@@ -192,12 +192,14 @@ async function getResponse(event, client, requestId) {
|
|
192
192
|
const requestClone = request.clone()
|
193
193
|
|
194
194
|
function passthrough() {
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
//
|
200
|
-
|
195
|
+
// Cast the request headers to a new Headers instance
|
196
|
+
// so the headers can be manipulated with.
|
197
|
+
const headers = new Headers(requestClone.headers)
|
198
|
+
|
199
|
+
// Remove the "accept" header value that marked this request as passthrough.
|
200
|
+
// This prevents request alteration and also keeps it compliant with the
|
201
|
+
// user-defined CORS policies.
|
202
|
+
headers.delete('accept', 'msw/passthrough')
|
201
203
|
|
202
204
|
return fetch(requestClone, { headers })
|
203
205
|
}
|
package/dist/primevue/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=(t,...o)=>String.raw({raw:t},...o),e=p,v={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`,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 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]:i==="normal",[c]:i==="large",[n]:!t.text&&l==="primary",[s]:!t.text&&l==="secondary",[a]: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"}}}},m={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`}},w={},x={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`}},y={root:()=>({class:{[e`flex flex-col items-center gap-10`]:!0}}),input:()=>({class:"hidden"})},S={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`}},k={root:{class:e`m-0 p-0`}},b=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`,d=e`ris-body2-regular h-48 px-16 py-4`,M=e`ris-body1-regular h-64 px-24 py-4`,N=e`ris-body2-regular h-[44px] p-0`,z=e`ris-body1-regular h-[60px] p-0`,D={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:{[b]:!l,[n]:l,[s]:!!t.fluid,[r]:!0,[d]:(!t.size||t.size==="small")&&!l,[N]:(!t.size||t.size==="small")&&l,[M]:t.size==="large"&&!l,[z]:t.size==="large"&&l},"data-size":t.size??"small"}}},A={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`,a=e`border-l-yellow-800 bg-yellow-200`,i=e`border-l-red-800 bg-red-200`,u=!!o.$slots.icon,h={success:"var(--ris-icon-success)",info:"var(--ris-icon-info)",warn:"var(--ris-icon-warn)",error:"var(--ris-icon-error)"}[l],f=e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;return{class:{[r]:!0,[n]:l==="success",[s]:l==="info",[a]:l==="warn",[i]:l==="error",[f]:!u},style:{backgroundImage:u?void 0:h}}},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`,a=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",[a]:r==="error"}}}},B={},I={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]`}},L={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`}},g=e`w-full`,T={root:({props:t})=>({class:{[e`relative`]:!0,[g]:!!t.fluid}}),pcInput:{root:({props:t})=>({class:{[b]:!0,[d]:!0,[g]:!!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`}},F={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}}}},E={message:({props:t})=>{var i;const o=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,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`,a=e`border-l-blue-900 bg-blue-200`;return{class:{[o]:!0,[l]:r==="success",[n]:r==="error",[s]: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 o=e`mt-2 h-20 w-20 flex-none shrink-0`,r=((i=t.message)==null?void 0:i.severity)??"info",l=e`text-green-800`,n=e`text-red-800`,s=e`text-black`,a=e`text-blue-800`;return{class:{[o]:!0,[l]:r==="success",[n]:r==="error",[s]: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 o=e`rounded-sm p-2`,r=((i=t.message)==null?void 0:i.severity)??"info",l=e`hover:bg-green-400`,n=e`hover:bg-red-400`,s=e`hover:bg-yellow-400`,a=e`hover:bg-blue-400`;return{class:{[o]:!0,[l]:r==="success",[n]:r==="error",[s]:r==="warn",[a]:r==="info"}}},closeIcon:{class:e`text-black`}},R={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`,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,[l]:!t.disabled,[n]:o.focused&&!t.disabled,[s]:!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 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}}}},V={pcInputText:{root:({props:t})=>({class:{[b]:!0,[d]:!0,"w-full":!!t.fluid}})}},j={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`}},G={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`,a=e`hover:bg-blue-300`;return{class:{[o]:!0,[r]:!0,[n]:t.selected,[s]:!t.selected,[a]: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}}}},P={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"}},Z={button:v,checkbox:m,confirmDialog:w,dialog:x,fileUpload:y,inputGroup:S,inputGroupAddon:k,inputText:D,message:A,password:B,progressSpinner:I,radioButton:L,textarea:F,toast:E,autocomplete:T,select:R,inputMask:V,breadcrumb:j,tree:G},J={deDE:P};exports.RisUiLocale=J;exports.RisUiTheme=Z;
|
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;
|
package/dist/primevue/index.d.ts
CHANGED
@@ -8,6 +8,7 @@ export declare const RisUiTheme: {
|
|
8
8
|
inputGroup: import("primevue/inputgroup").InputGroupPassThroughOptions;
|
9
9
|
inputGroupAddon: import("primevue/inputgroupaddon").InputGroupAddonPassThroughOptions;
|
10
10
|
inputText: import("primevue/inputtext").InputTextPassThroughOptions<any>;
|
11
|
+
menu: import("primevue/menu").MenuPassThroughOptions;
|
11
12
|
message: import("primevue/message").MessagePassThroughOptions<any>;
|
12
13
|
password: import("primevue/password").PasswordPassThroughOptions;
|
13
14
|
progressSpinner: import("primevue/progressspinner").ProgressSpinnerPassThroughOptions;
|
@@ -19,6 +20,7 @@ export declare const RisUiTheme: {
|
|
19
20
|
inputMask: import("primevue/inputmask").InputMaskPassThroughOptions;
|
20
21
|
breadcrumb: import("primevue/breadcrumb").BreadcrumbPassThroughOptions;
|
21
22
|
tree: import("primevue/tree").TreePassThroughOptions<any>;
|
23
|
+
panelmenu: import("primevue/panelmenu").PanelMenuPassThroughOptions;
|
22
24
|
};
|
23
25
|
export declare const RisUiLocale: {
|
24
26
|
deDE: import("@primevue/core").PrimeVueLocaleOptions;
|
package/dist/primevue/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
const
|
1
|
+
const x = (t, ...o) => String.raw({ raw: t }, ...o), e = x, y = {
|
2
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`,
|
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";
|
4
4
|
let u = e`ris-body2-bold h-48 py-4`, c = e`ris-body1-bold h-64 py-4`;
|
5
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`), {
|
6
6
|
class: {
|
7
7
|
[r]: !0,
|
8
|
-
[u]:
|
9
|
-
[c]:
|
8
|
+
[u]: a === "normal",
|
9
|
+
[c]: a === "large",
|
10
10
|
[n]: !t.text && l === "primary",
|
11
11
|
[s]: !t.text && l === "secondary",
|
12
|
-
[
|
12
|
+
[i]: t.text && l === "primary"
|
13
13
|
}
|
14
14
|
};
|
15
15
|
},
|
@@ -29,7 +29,7 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
29
29
|
}
|
30
30
|
};
|
31
31
|
}
|
32
|
-
},
|
32
|
+
}, k = {
|
33
33
|
root: {
|
34
34
|
class: e`relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ris-label1-regular [&+label]:ml-8`
|
35
35
|
},
|
@@ -42,9 +42,9 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
42
42
|
icon: {
|
43
43
|
class: e`h-12 w-12`
|
44
44
|
}
|
45
|
-
},
|
45
|
+
}, S = {
|
46
46
|
// All styling implemented in primevue/dialog
|
47
|
-
},
|
47
|
+
}, M = {
|
48
48
|
root: () => ({
|
49
49
|
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`
|
50
50
|
}),
|
@@ -76,7 +76,7 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
76
76
|
mask: {
|
77
77
|
class: e`bg-black/40`
|
78
78
|
}
|
79
|
-
},
|
79
|
+
}, N = {
|
80
80
|
root: () => ({
|
81
81
|
class: {
|
82
82
|
[e`flex flex-col items-center gap-10`]: !0
|
@@ -85,50 +85,72 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
85
85
|
input: () => ({
|
86
86
|
class: "hidden"
|
87
87
|
})
|
88
|
-
},
|
88
|
+
}, z = {
|
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
|
-
},
|
92
|
+
}, D = {
|
93
93
|
root: {
|
94
94
|
class: e`m-0 p-0`
|
95
95
|
}
|
96
|
-
},
|
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
97
|
root: ({ props: t, parent: o }) => {
|
98
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`;
|
99
99
|
return {
|
100
100
|
class: {
|
101
|
-
[
|
101
|
+
[p]: !l,
|
102
102
|
[n]: l,
|
103
103
|
[s]: !!t.fluid,
|
104
104
|
[r]: !0,
|
105
|
-
[
|
106
|
-
[
|
107
|
-
[
|
108
|
-
[
|
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
|
109
109
|
},
|
110
110
|
"data-size": t.size ?? "small"
|
111
111
|
};
|
112
112
|
}
|
113
|
-
},
|
113
|
+
}, F = {
|
114
|
+
root: {
|
115
|
+
class: e`ris-body2-regular bg-white shadow`
|
116
|
+
},
|
117
|
+
list: {
|
118
|
+
class: e`focus-visible:outline-none`
|
119
|
+
},
|
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`;
|
122
|
+
return {
|
123
|
+
class: {
|
124
|
+
[o]: !0,
|
125
|
+
[r]: t.focused
|
126
|
+
}
|
127
|
+
};
|
128
|
+
},
|
129
|
+
itemContent: {
|
130
|
+
class: e`flex h-full items-center py-4`
|
131
|
+
},
|
132
|
+
itemLink: {
|
133
|
+
class: e`flex items-center gap-8`
|
134
|
+
}
|
135
|
+
}, T = {
|
114
136
|
root: ({ props: t, instance: o }) => {
|
115
|
-
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`,
|
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 = {
|
116
138
|
success: "var(--ris-icon-success)",
|
117
139
|
info: "var(--ris-icon-info)",
|
118
140
|
warn: "var(--ris-icon-warn)",
|
119
141
|
error: "var(--ris-icon-error)"
|
120
|
-
}[l],
|
142
|
+
}[l], w = e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;
|
121
143
|
return {
|
122
144
|
class: {
|
123
145
|
[r]: !0,
|
124
146
|
[n]: l === "success",
|
125
147
|
[s]: l === "info",
|
126
|
-
[
|
127
|
-
[
|
128
|
-
[
|
148
|
+
[i]: l === "warn",
|
149
|
+
[a]: l === "error",
|
150
|
+
[w]: !u
|
129
151
|
},
|
130
152
|
style: {
|
131
|
-
backgroundImage: u ? void 0 :
|
153
|
+
backgroundImage: u ? void 0 : m
|
132
154
|
}
|
133
155
|
};
|
134
156
|
},
|
@@ -139,27 +161,27 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
139
161
|
class: e`flex-1`
|
140
162
|
},
|
141
163
|
closeButton: ({ props: t }) => {
|
142
|
-
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`,
|
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`;
|
143
165
|
return {
|
144
166
|
class: {
|
145
167
|
[o]: !0,
|
146
168
|
[l]: r === "success",
|
147
169
|
[n]: r === "info",
|
148
170
|
[s]: r === "warn",
|
149
|
-
[
|
171
|
+
[i]: r === "error"
|
150
172
|
}
|
151
173
|
};
|
152
174
|
}
|
153
|
-
},
|
175
|
+
}, E = {
|
154
176
|
// All styling moved to inputText.ts
|
155
|
-
},
|
177
|
+
}, V = {
|
156
178
|
root: {
|
157
179
|
class: e`mx-auto inline-block h-28 w-28 animate-spin`
|
158
180
|
},
|
159
181
|
circle: {
|
160
182
|
class: e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`
|
161
183
|
}
|
162
|
-
},
|
184
|
+
}, G = {
|
163
185
|
root: {
|
164
186
|
class: e`relative inline-block h-32 w-32 [&+label]:ris-label1-regular [&+label]:ml-8`
|
165
187
|
},
|
@@ -172,19 +194,22 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
172
194
|
icon: {
|
173
195
|
class: e`h-16 w-16 rounded-full bg-current`
|
174
196
|
}
|
175
|
-
},
|
176
|
-
root: ({ props: t }) =>
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
197
|
+
}, b = e`w-full`, R = {
|
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`;
|
200
|
+
return {
|
201
|
+
class: {
|
202
|
+
[o]: !0,
|
203
|
+
[r]: !0,
|
204
|
+
[b]: !!t.fluid
|
205
|
+
}
|
206
|
+
};
|
207
|
+
},
|
182
208
|
pcInput: {
|
183
209
|
root: ({ props: t }) => ({
|
184
210
|
class: {
|
185
|
-
[
|
186
|
-
[
|
187
|
-
[g]: !!t.fluid
|
211
|
+
[e`focus-visible:outline-none`]: !0,
|
212
|
+
[b]: !!t.fluid
|
188
213
|
}
|
189
214
|
})
|
190
215
|
},
|
@@ -198,7 +223,7 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
198
223
|
overlay: {
|
199
224
|
class: e`max-h-56 min-w-288 overflow-auto bg-white px-8 py-12 shadow-md`
|
200
225
|
}
|
201
|
-
},
|
226
|
+
}, Z = {
|
202
227
|
root: ({ props: t }) => {
|
203
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`;
|
204
229
|
return {
|
@@ -208,17 +233,17 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
208
233
|
}
|
209
234
|
};
|
210
235
|
}
|
211
|
-
},
|
236
|
+
}, j = {
|
212
237
|
message: ({ props: t }) => {
|
213
|
-
var
|
214
|
-
const o = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = (
|
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`;
|
215
240
|
return {
|
216
241
|
class: {
|
217
242
|
[o]: !0,
|
218
243
|
[l]: r === "success",
|
219
244
|
[n]: r === "error",
|
220
245
|
[s]: r === "warn",
|
221
|
-
[
|
246
|
+
[i]: r === "info"
|
222
247
|
}
|
223
248
|
};
|
224
249
|
},
|
@@ -226,15 +251,15 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
226
251
|
class: e`flex w-full flex-row items-start justify-between gap-10`
|
227
252
|
},
|
228
253
|
messageIcon: ({ props: t }) => {
|
229
|
-
var
|
230
|
-
const o = e`mt-2 h-20 w-20 flex-none shrink-0`, r = ((
|
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`;
|
231
256
|
return {
|
232
257
|
class: {
|
233
258
|
[o]: !0,
|
234
259
|
[l]: r === "success",
|
235
260
|
[n]: r === "error",
|
236
261
|
[s]: r === "warn",
|
237
|
-
[
|
262
|
+
[i]: r === "info"
|
238
263
|
}
|
239
264
|
};
|
240
265
|
},
|
@@ -248,24 +273,24 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
248
273
|
class: e`ris-label2-regular`
|
249
274
|
},
|
250
275
|
closeButton: ({ props: t }) => {
|
251
|
-
var
|
252
|
-
const o = e`rounded-sm p-2`, r = ((
|
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`;
|
253
278
|
return {
|
254
279
|
class: {
|
255
280
|
[o]: !0,
|
256
281
|
[l]: r === "success",
|
257
282
|
[n]: r === "error",
|
258
283
|
[s]: r === "warn",
|
259
|
-
[
|
284
|
+
[i]: r === "info"
|
260
285
|
}
|
261
286
|
};
|
262
287
|
},
|
263
288
|
closeIcon: {
|
264
289
|
class: e`text-black`
|
265
290
|
}
|
266
|
-
},
|
291
|
+
}, J = {
|
267
292
|
root: ({ props: t, state: o }) => {
|
268
|
-
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`,
|
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`;
|
269
294
|
return {
|
270
295
|
class: {
|
271
296
|
[r]: !0,
|
@@ -273,8 +298,8 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
273
298
|
[n]: o.focused && !t.disabled,
|
274
299
|
[s]: !t.disabled,
|
275
300
|
[u]: !!t.fluid,
|
276
|
-
[
|
277
|
-
[
|
301
|
+
[i]: t.disabled,
|
302
|
+
[a]: t.invalid
|
278
303
|
},
|
279
304
|
"aria-invalid": t.invalid ? "true" : null
|
280
305
|
};
|
@@ -300,17 +325,17 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
300
325
|
}
|
301
326
|
};
|
302
327
|
}
|
303
|
-
},
|
328
|
+
}, P = {
|
304
329
|
pcInputText: {
|
305
330
|
root: ({ props: t }) => ({
|
306
331
|
class: {
|
307
|
-
[
|
308
|
-
[
|
332
|
+
[p]: !0,
|
333
|
+
[v]: !0,
|
309
334
|
"w-full": !!t.fluid
|
310
335
|
}
|
311
336
|
})
|
312
337
|
}
|
313
|
-
},
|
338
|
+
}, C = {
|
314
339
|
list: {
|
315
340
|
class: e`m-0 flex list-none flex-wrap items-center p-0 leading-none`
|
316
341
|
},
|
@@ -323,19 +348,57 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
323
348
|
separator: {
|
324
349
|
class: e`mx-6 flex items-center text-gray-600`
|
325
350
|
}
|
326
|
-
},
|
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 = {
|
352
|
+
root: {
|
353
|
+
class: e`text-blue-800`
|
354
|
+
},
|
355
|
+
header: ({ context: t }) => ({
|
356
|
+
class: {
|
357
|
+
[e`group flex h-64 items-center border-l-4 border-transparent py-8 pl-10 pr-20`]: !0,
|
358
|
+
[H]: !0,
|
359
|
+
[d]: !0,
|
360
|
+
[g]: t.active,
|
361
|
+
[h]: !t.active,
|
362
|
+
[f]: t.active
|
363
|
+
}
|
364
|
+
}),
|
365
|
+
content: {
|
366
|
+
class: e`ml-28 mt-8`
|
367
|
+
},
|
368
|
+
rootList: {
|
369
|
+
class: e`focus-visible:outline-none`
|
370
|
+
},
|
371
|
+
panel: {
|
372
|
+
class: e`focus-visible:outline-none`
|
373
|
+
},
|
374
|
+
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`;
|
376
|
+
return {
|
377
|
+
class: {
|
378
|
+
[o]: !0,
|
379
|
+
[l]: t.focused,
|
380
|
+
// workaround for https://github.com/primefaces/primevue/issues/6836
|
381
|
+
[r]: !0,
|
382
|
+
[d]: !0,
|
383
|
+
[g]: t.active,
|
384
|
+
[h]: !t.active,
|
385
|
+
[f]: t.active
|
386
|
+
}
|
387
|
+
};
|
388
|
+
}
|
389
|
+
}, O = {
|
327
390
|
node: {
|
328
391
|
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`
|
329
392
|
},
|
330
393
|
nodeContent: ({ context: t }) => {
|
331
|
-
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`,
|
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`;
|
332
395
|
return {
|
333
396
|
class: {
|
334
397
|
[o]: !0,
|
335
398
|
[r]: !0,
|
336
399
|
[n]: t.selected,
|
337
400
|
[s]: !t.selected,
|
338
|
-
[
|
401
|
+
[i]: t.selected,
|
339
402
|
[l]: !0
|
340
403
|
}
|
341
404
|
};
|
@@ -368,7 +431,7 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
368
431
|
}
|
369
432
|
};
|
370
433
|
}
|
371
|
-
},
|
434
|
+
}, W = {
|
372
435
|
startsWith: "Beginnt mit",
|
373
436
|
contains: "Enthält",
|
374
437
|
notContains: "Enthält nicht",
|
@@ -522,30 +585,32 @@ const p = (t, ...o) => String.raw({ raw: t }, ...o), e = p, v = {
|
|
522
585
|
rotateLeft: "Links drehen",
|
523
586
|
listLabel: "Optionsliste"
|
524
587
|
}
|
525
|
-
},
|
526
|
-
button:
|
527
|
-
checkbox:
|
528
|
-
confirmDialog:
|
529
|
-
dialog:
|
530
|
-
fileUpload:
|
531
|
-
inputGroup:
|
532
|
-
inputGroupAddon:
|
533
|
-
inputText:
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
588
|
+
}, $ = {
|
589
|
+
button: y,
|
590
|
+
checkbox: k,
|
591
|
+
confirmDialog: S,
|
592
|
+
dialog: M,
|
593
|
+
fileUpload: N,
|
594
|
+
inputGroup: z,
|
595
|
+
inputGroupAddon: D,
|
596
|
+
inputText: I,
|
597
|
+
menu: F,
|
598
|
+
message: T,
|
599
|
+
password: E,
|
600
|
+
progressSpinner: V,
|
601
|
+
radioButton: G,
|
602
|
+
textarea: Z,
|
603
|
+
toast: j,
|
604
|
+
autocomplete: R,
|
605
|
+
select: J,
|
606
|
+
inputMask: P,
|
607
|
+
breadcrumb: C,
|
608
|
+
tree: O,
|
609
|
+
panelmenu: K
|
610
|
+
}, U = {
|
611
|
+
deDE: W
|
547
612
|
};
|
548
613
|
export {
|
549
|
-
|
550
|
-
|
614
|
+
U as RisUiLocale,
|
615
|
+
$ as RisUiTheme
|
551
616
|
};
|