@aures5g/vue-component-library 3.51.0 → 3.52.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.
@@ -1,4 +1,4 @@
1
- import { n as e, o as t, t as n } from "./UIMenu-CUXLDTkz.js";
1
+ import { n as e, o as t, t as n } from "./UIMenu-DbE4FAq9.js";
2
2
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, defineComponent as c, mergeModels as l, openBlock as u, ref as d, unref as f, useModel as p, watch as m } from "vue";
3
3
  import { faChevronDown as h } from "@awesome.me/kit-bccbe657bb/icons/sharp/solid";
4
4
  //#region src/components/table/TableSelectionFilter.vue?vue&type=script&setup=true&lang.ts
@@ -1456,7 +1456,7 @@ function nn(e, t, n) {
1456
1456
  tn(r, t, i, n);
1457
1457
  let a = new MutationObserver(() => tn(r, e.getAttribute("data-tooltip") ?? "", i, e.getAttribute(Ut)));
1458
1458
  a.observe(e, { attributeFilter: [Bt, Ut] }), e.setAttribute(Vt, i), e.style.anchorName = i, e.addEventListener("mouseleave", () => {
1459
- e.style.anchorName = "", e.removeAttribute(Vt), a.disconnect(), document.body.removeChild(r);
1459
+ e.style.anchorName = "", e.removeAttribute(Vt), a.disconnect(), r.remove();
1460
1460
  }, { once: !0 }), document.body.appendChild(r);
1461
1461
  }
1462
1462
  //#endregion
@@ -1,4 +1,4 @@
1
- import { A as e, C as t, D as n, E as r, M as i, O as a, S as o, T as s, _ as c, a as l, b as u, c as d, d as f, f as p, g as m, h, i as g, j as _, k as v, l as y, m as ee, n as b, o as x, p as S, r as te, s as ne, t as re, u as ie, v as ae, w as oe, x as se, y as ce } from "./UIMenu-CUXLDTkz.js";
1
+ import { A as e, C as t, D as n, E as r, M as i, O as a, S as o, T as s, _ as c, a as l, b as u, c as d, d as f, f as p, g as m, h, i as g, j as _, k as v, l as y, m as ee, n as b, o as x, p as S, r as te, s as ne, t as re, u as ie, v as ae, w as oe, x as se, y as ce } from "./UIMenu-DbE4FAq9.js";
2
2
  import { n as le, t as ue } from "./UICheckbox-CO51kllT.js";
3
3
  import { Fragment as C, Teleport as de, Transition as fe, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createSlots as pe, createTextVNode as me, createVNode as k, defineAsyncComponent as he, defineComponent as A, effectScope as ge, h as _e, isRef as ve, mergeDefaults as ye, mergeModels as j, mergeProps as M, nextTick as be, normalizeClass as N, normalizeStyle as xe, onActivated as Se, onDeactivated as Ce, onUpdated as we, onWatcherCleanup as Te, openBlock as P, reactive as Ee, ref as F, renderList as I, renderSlot as L, resolveComponent as De, resolveDirective as Oe, resolveDynamicComponent as ke, shallowRef as Ae, toDisplayString as R, toRefs as je, toValue as Me, unref as z, useAttrs as Ne, useId as Pe, useModel as B, useSlots as Fe, useTemplateRef as Ie, vModelDynamic as Le, vModelText as Re, vShow as ze, watch as Be, watchEffect as Ve, withCtx as V, withDirectives as He, withKeys as Ue, withModifiers as We } from "vue";
4
4
  import { FontAwesomeIcon as H } from "@fortawesome/vue-fontawesome";
@@ -4289,7 +4289,7 @@ var Ac = {
4289
4289
  "update:selection"
4290
4290
  ]),
4291
4291
  setup(e, { emit: t }) {
4292
- let n = he(() => import("./TableSelectionCheckbox-Bd72Q-xQ.js")), r = he(() => import("./TableSelectionFilter-CrBn8CFe.js")), i = e, a = t, o = Fe(), { headerFilterOverlayActive: s, handleOnClose: c, openFilterOverlay: l } = Ec(Ie("filterOverlay")), u = B(e, "sort"), d = Ie("wrapper"), { handleMousedown: f, getColumnWidth: p } = Tc(() => i.fields), m = B(e, "activeRow"), { handleUpAndDownMovement: h, focusActiveRow: g } = Dc(w(() => i.items.length), m), { isMobile: _, rowHeight: v } = kc(), { groupedFields: y, hasCollapsedFields: ee } = wc(() => i.fields), x = B(e, "selection"), { isSelectionNotEmptyOrAll: S, onRowSelect: te, toggleSelection: ne } = Cc(x, () => i.items, () => i.dataKey);
4292
+ let n = he(() => import("./TableSelectionCheckbox-Bd72Q-xQ.js")), r = he(() => import("./TableSelectionFilter-DCcxLCfV.js")), i = e, a = t, o = Fe(), { headerFilterOverlayActive: s, handleOnClose: c, openFilterOverlay: l } = Ec(Ie("filterOverlay")), u = B(e, "sort"), d = Ie("wrapper"), { handleMousedown: f, getColumnWidth: p } = Tc(() => i.fields), m = B(e, "activeRow"), { handleUpAndDownMovement: h, focusActiveRow: g } = Dc(w(() => i.items.length), m), { isMobile: _, rowHeight: v } = kc(), { groupedFields: y, hasCollapsedFields: ee } = wc(() => i.fields), x = B(e, "selection"), { isSelectionNotEmptyOrAll: S, onRowSelect: te, toggleSelection: ne } = Cc(x, () => i.items, () => i.dataKey);
4293
4293
  Be([
4294
4294
  () => i.showLoadMore,
4295
4295
  Ie("loadMore"),
@@ -130,7 +130,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
130
130
  overflow: hidden;
131
131
  padding-right: ${t(`scrollbar.width`)};
132
132
  }
133
- `},style:pt,classes:{},inlineStyles:{},load:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(e){return e})(Je(Rt||=Lt([``,``]),e));return h(n)?St(D(n),Nt({name:this.name},t)):{}},loadCSS:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,e)},loadStyle:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``;return this.load(this.style,t,function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return A.transformCSS(t.name||e.name,`${r}${Je(zt||=Lt([``,``]),n)}`)})},getCommonTheme:function(e){return A.getCommon(this.name,e)},getComponentTheme:function(e){return A.getComponent(this.name,e)},getDirectiveTheme:function(e){return A.getDirective(this.name,e)},getPresetTheme:function(e,t,n){return A.getCustomPreset(this.name,e,t,n)},getLayerOrderThemeCSS:function(){return A.getLayerOrderCSS(this.name)},getStyleSheet:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var n=y(this.css,{dt:ct})||``,r=D(Je(Bt||=Lt([``,``,``]),n,e)),i=Object.entries(t).reduce(function(e,t){var n=Et(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);return h(r)?`<style type="text/css" data-primevue-style-id="${this.name}" ${i}>${r}</style>`:``}return``},getCommonThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return A.getCommonStyleSheet(this.name,e,t)},getThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[A.getStyleSheet(this.name,e,t)];if(this.style){var r=this.name===`base`?`global-style`:`${this.name}-style`,i=Je(Vt||=Lt([``,``]),y(this.style,{dt:ct})),a=D(A.transformCSS(r,i)),o=Object.entries(t).reduce(function(e,t){var n=Et(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);h(a)&&n.push(`<style type="text/css" data-primevue-style-id="${r}" ${o}>${a}</style>`)}return n.join(``)},extend:function(e){return Nt(Nt({},this),{},{css:void 0,style:void 0},e)}}})),Ut,Wt=d((()=>{ue(),Ut=le()}));function Gt(e){"@babel/helpers - typeof";return Gt=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Gt(e)}function Kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Kt(Object(n),!0).forEach(function(t){Jt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jt(e,t,n){return(t=Yt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yt(e){var t=Xt(e,`string`);return Gt(t)==`symbol`?t:t+``}function Xt(e,t){if(Gt(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gt(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Zt(e,n){var r={config:(0,t.reactive)(n)};return e.config.globalProperties.$primevue=r,e.provide(tn,r),Qt(),$t(e,r),r}function Qt(){k.clear(),nn.forEach(function(e){return e?.()}),nn=[]}function $t(e,n){var r=(0,t.ref)(!1),i=function(){if(n.config?.theme!==`none`&&!A.isStyleNameLoaded(`common`)){var e,t=M.getCommonTheme?.call(M)||{},r=t.primitive,i=t.semantic,a=t.global,o=t.style,s={nonce:(e=n.config)==null||(e=e.csp)==null?void 0:e.nonce};M.load(r?.css,qt({name:`primitive-variables`},s)),M.load(i?.css,qt({name:`semantic-variables`},s)),M.load(a?.css,qt({name:`global-variables`},s)),M.loadStyle(qt({name:`global-style`},s),o),A.setLoadedStyleName(`common`)}};k.on(`theme:change`,function(t){r.value||=(e.config.globalProperties.$primevue.config.theme=t,!0)});var a=(0,t.watch)(n.config,function(e,t){Ut.emit(`config:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0}),o=(0,t.watch)(function(){return n.config.ripple},function(e,t){Ut.emit(`config:ripple:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0}),s=(0,t.watch)(function(){return n.config.theme},function(e,t){r.value||A.setTheme(e),n.config.unstyled||i(),r.value=!1,Ut.emit(`config:theme:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!1}),c=(0,t.watch)(function(){return n.config.unstyled},function(e,t){!e&&n.config.theme&&i(),Ut.emit(`config:unstyled:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0});nn.push(a),nn.push(o),nn.push(s),nn.push(c)}var en,tn,nn,rn,an=d((()=>{dt(),Le(),ft(),Ht(),Wt(),en={ripple:!1,inputStyle:null,inputVariant:null,locale:{startsWith:`Starts with`,contains:`Contains`,notContains:`Not contains`,endsWith:`Ends with`,equals:`Equals`,notEquals:`Not equals`,noFilter:`No Filter`,lt:`Less than`,lte:`Less than or equal to`,gt:`Greater than`,gte:`Greater than or equal to`,dateIs:`Date is`,dateIsNot:`Date is not`,dateBefore:`Date is before`,dateAfter:`Date is after`,clear:`Clear`,apply:`Apply`,matchAll:`Match All`,matchAny:`Match Any`,addRule:`Add Rule`,removeRule:`Remove Rule`,accept:`Yes`,reject:`No`,choose:`Choose`,upload:`Upload`,cancel:`Cancel`,completed:`Completed`,pending:`Pending`,fileSizeTypes:[`B`,`KB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`],dayNames:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],dayNamesShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],dayNamesMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],monthNames:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthNamesShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],chooseYear:`Choose Year`,chooseMonth:`Choose Month`,chooseDate:`Choose Date`,prevDecade:`Previous Decade`,nextDecade:`Next Decade`,prevYear:`Previous Year`,nextYear:`Next Year`,prevMonth:`Previous Month`,nextMonth:`Next Month`,prevHour:`Previous Hour`,nextHour:`Next Hour`,prevMinute:`Previous Minute`,nextMinute:`Next Minute`,prevSecond:`Previous Second`,nextSecond:`Next Second`,am:`am`,pm:`pm`,today:`Today`,weekHeader:`Wk`,firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:`mm/dd/yy`,weak:`Weak`,medium:`Medium`,strong:`Strong`,passwordPrompt:`Enter a password`,emptyFilterMessage:`No results found`,searchMessage:`{0} results are available`,selectionMessage:`{0} items selected`,emptySelectionMessage:`No selected item`,emptySearchMessage:`No results found`,fileChosenMessage:`{0} files`,noFileChosenMessage:`No file chosen`,emptyMessage:`No available options`,aria:{trueLabel:`True`,falseLabel:`False`,nullLabel:`Not Selected`,star:`1 star`,stars:`{star} stars`,selectAll:`All items selected`,unselectAll:`All items unselected`,close:`Close`,previous:`Previous`,next:`Next`,navigation:`Navigation`,scrollTop:`Scroll Top`,moveTop:`Move Top`,moveUp:`Move Up`,moveDown:`Move Down`,moveBottom:`Move Bottom`,moveToTarget:`Move to Target`,moveToSource:`Move to Source`,moveAllToTarget:`Move All to Target`,moveAllToSource:`Move All to Source`,pageLabel:`Page {page}`,firstPageLabel:`First Page`,lastPageLabel:`Last Page`,nextPageLabel:`Next Page`,prevPageLabel:`Previous Page`,rowsPerPageLabel:`Rows per page`,jumpToPageDropdownLabel:`Jump to Page Dropdown`,jumpToPageInputLabel:`Jump to Page Input`,selectRow:`Row Selected`,unselectRow:`Row Unselected`,expandRow:`Row Expanded`,collapseRow:`Row Collapsed`,showFilterMenu:`Show Filter Menu`,hideFilterMenu:`Hide Filter Menu`,filterOperator:`Filter Operator`,filterConstraint:`Filter Constraint`,editRow:`Row Edit`,saveEdit:`Save Edit`,cancelEdit:`Cancel Edit`,listView:`List View`,gridView:`Grid View`,slide:`Slide`,slideNumber:`{slideNumber}`,zoomImage:`Zoom Image`,zoomIn:`Zoom In`,zoomOut:`Zoom Out`,rotateRight:`Rotate Right`,rotateLeft:`Rotate Left`,listLabel:`Option List`}},filterMatchModeOptions:{text:[j.STARTS_WITH,j.CONTAINS,j.NOT_CONTAINS,j.ENDS_WITH,j.EQUALS,j.NOT_EQUALS],numeric:[j.EQUALS,j.NOT_EQUALS,j.LESS_THAN,j.LESS_THAN_OR_EQUAL_TO,j.GREATER_THAN,j.GREATER_THAN_OR_EQUAL_TO],date:[j.DATE_IS,j.DATE_IS_NOT,j.DATE_BEFORE,j.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},theme:void 0,unstyled:!1,pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},csp:{nonce:void 0}},tn=Symbol(),nn=[],rn={install:function(e,t){Zt(e,E(en,t))}}})),on=d((()=>{an(),an()})),sn,cn,ln,un=d((()=>{sn=`absolute`,cn=`bg-inverse-surface text-inverse-on-surface text-[0.75rem] py-[0.25rem] px-[0.5rem] rounded-[0.25rem]`,ln=`hidden`})),dn,fn=d((()=>{un(),dn={pt:{directives:{tooltip:{root:{class:sn},text:{class:cn},arrow:{class:ln}}}}}})),pn,mn,hn,gn,_n,vn,yn,bn=d((()=>{pn=`data-overflow-tooltip`,mn=`data-tooltip`,hn=`data-tooltip-id`,gn=`data-tooltip-for`,_n=`data-tooltip-position`,vn={TOP:`top`,RIGHT:`right`,LEFT:`left`,BOTTOM:`bottom`},yn={[vn.TOP]:`[position-area:top]`,[vn.RIGHT]:`[position-area:right]`,[vn.LEFT]:`[position-area:left]`,[vn.BOTTOM]:`[position-area:bottom]`}}));function xn(e){return e==null||e.length<1}function Sn(e){return typeof e.value==`string`?e.value:e.value?.value}function Cn(e){return!e.value||typeof e.value==`string`?!1:e.value.disabled||!1}function wn(e){return e.modifiers.overflow?!0:!e.value||typeof e.value==`string`?!1:e.value.overflow||!1}function Tn(e){let t=Object.values(vn).find(t=>e.modifiers[t]),n=!e.value||typeof e.value==`string`?null:e.value.position;return t||n||vn.TOP}function En(e,t){let n=Sn(t),r=Cn(t),i=wn(t),a=Tn(t);r||xn(n)?(e.removeAttribute(mn),e.removeAttribute(pn),e.removeAttribute(_n)):(e.setAttribute(mn,n),e.setAttribute(pn,i.toString()),e.setAttribute(_n,a))}function Dn(e){let t=e.getAttribute(hn);if(!t)return;let n=document.body.querySelector(`[${gn}=${t}]`);n&&document.body.removeChild(n)}var On,kn=d((()=>{bn(),On={beforeMount:En,updated:En,beforeUnmount:Dn}}));function An(e){if(!(e instanceof Element))throw Error(`Tooltip can be placed only on elements with scrollWidth and clientWidth properties`);return e.scrollWidth>e.clientWidth}var jn=d((()=>{}));function Mn(e){return Object.values(vn).some(t=>t===e)}function Nn(e,t,n,r){e.className=`absolute [position-try:flip-inline,flip-start] z-1000 bg-inverse-surface text-inverse-on-surface text-[0.75rem] py-[0.25rem] px-[0.5rem] rounded-[0.25rem] ${r&&Mn(r)?yn[r]:yn[vn.TOP]}`,e.style.positionAnchor=n,e.innerText=t,e.setAttribute(gn,n)}function Pn(e,t,n){if(e.dataset.tooltipId)return;let r=document.createElement(`div`),i=`--tooltip-${crypto.randomUUID()}`;Nn(r,t,i,n);let a=new MutationObserver(()=>Nn(r,e.getAttribute(`data-tooltip`)??``,i,e.getAttribute(_n)));a.observe(e,{attributeFilter:[mn,_n]}),e.setAttribute(hn,i),e.style.anchorName=i,e.addEventListener(`mouseleave`,()=>{e.style.anchorName=``,e.removeAttribute(hn),a.disconnect(),document.body.removeChild(r)},{once:!0}),document.body.appendChild(r)}var Fn=d((()=>{bn()})),In,Ln,Rn,zn,Bn=d((()=>{on(),fn(),kn(),jn(),bn(),Fn(),In={registerTooltip:!0,registerOverflowTooltip:!0,locale:{ok:`OK`,cancel:`Zrušit`,copied:`ZKOPÍROVÁNO`,mandatory:`povinné`,expand:`Rozbalit`,collapse:`Zabalit`,tableCheckFiltered:`Vybrat vše`,tableCheckAll:`Vybrat vše na stránce`,tableCheckReset:`Zrušit výběr`},primevue:dn},Ln=Symbol(`ACBS_CONFIG`),Rn=()=>{let e=(0,t.inject)(Ln);if(!e)throw console.warn(`ACBS Component Library is not installed! You have to register acbs plugin to vue instance. See introduction for more details.`),Error(`ACBS Component Library is not installed!`);return e},zn={install:(e,n={})=>{let{primevue:r,...i}={...In,...n,primevue:Object.assign({},In.primevue,n.primevue)};e.provide(Ln,(0,t.reactive)(i)),e.use(rn,r),i.registerTooltip&&(e.directive(`tooltip`,On),document.addEventListener(`mouseover`,e=>{let t=e.target instanceof Element?e.target.closest(`[${mn}]`):null;if(t instanceof HTMLElement){let e=t.hasAttribute(mn),n=t.getAttribute(pn)===`true`;if(!e||n&&!An(t))return;Pn(t,t.getAttribute(`data-tooltip`)??``,t.getAttribute(_n))}})),i.registerOverflowTooltip&&e.directive(`overflow-tooltip`,{created(){console.warn(`Deprecation warning! Directive overflow-tooltip has been merged into tooltip directive. Use 'overflow' modifier to achieve same results as with overflow-tooltip.`)},beforeMount(e,t){return On.beforeMount(e,{...t,modifiers:{...t.modifiers,overflow:!0}})},updated(e,t){return On.updated(e,{...t,modifiers:{...t.modifiers,overflow:!0}})}})}}}));Bn();var Vn={FILLED:`filled`,OUTLINED:`outlined`,TEXT:`text`,ELEVATED:`elevated`,TONAL:`tonal`},N,Hn=d((()=>{N={LIGHT:`light`,DARK:`dark`,PRIMARY:`primary`,ERROR:`error`}}));Hn();var Un=(0,t.defineComponent)({__name:`UIButton`,props:{color:{},label:{default:``},leadingIcon:{default:void 0},trailingIcon:{default:void 0},placement:{default:N.LIGHT}},setup(e){let r=e,i=(0,t.computed)(()=>({[Vn.FILLED]:{root:[r.placement===N.LIGHT?`bg-primary text-on-primary disabled:bg-on-surface/12 disabled:text-on-surface`:r.placement===N.PRIMARY?`bg-on-primary text-primary disabled:bg-on-primary/12`:r.placement===N.ERROR?`bg-on-error text-error disabled:bg-on-error/12`:`bg-surface-container-lowest text-on-surface-variant disabled:bg-surface-container-lowest/12 disabled:text-surface-container-lowest`,`eh:shadow-1`],state:[r.placement===N.LIGHT?`group-hover/button:group-enabled/button:bg-on-primary/8`:`group-hover/button:group-enabled/button:bg-on-surface-variant/8`]},[Vn.OUTLINED]:{root:[`border`,r.placement===N.LIGHT?`border-outline text-primary disabled:border-on-surface/12 disabled:text-on-surface`:`border-surface-container-lowest/16 text-surface-container-lowest`],state:[r.placement===N.LIGHT?`group-hover/button:group-enabled/button:bg-primary/8`:`group-hover/button:group-enabled/button:bg-surface-container-lowest/8`]},[Vn.TEXT]:{root:[`text-current disabled:text-on-surface`],state:[`group-hover/button:group-enabled/button:bg-current/8`]},[Vn.ELEVATED]:{root:[`text-primary bg-surface-container-low enabled:shadow-1 eh:shadow-2 disabled:bg-on-surface/12 disabled:text-on-surface`],state:[`group-hover/button:group-enabled/button:bg-primary/8`]},[Vn.TONAL]:{root:[`text-on-secondary-container bg-secondary-container eh:shadow-1 disabled:bg-on-surface/12 disabled:text-on-surface`],state:[`group-hover/button:group-enabled/button:bg-on-secondary-container/8`]}})),a=(0,t.computed)(()=>i.value[r.color]),o=(0,t.useSlots)(),s=(0,t.computed)(()=>r.leadingIcon||o.leadingIcon),c=(0,t.computed)(()=>r.trailingIcon||o.trailingIcon);return(i,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{class:(0,t.normalizeClass)([`group/button rounded-full text-label-large enabled:cursor-pointer overflow-hidden`,a.value.root]),type:`button`},[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([[a.value.state,r.color===(0,t.unref)(Vn).TEXT?`px-[0.75rem]`:`px-[1.5rem]`,{"pl-[1rem]":s.value&&(r.color!==(0,t.unref)(Vn).TEXT||!c.value),"pr-[1rem]":c.value&&(r.color!==(0,t.unref)(Vn).TEXT||!s.value)}],`flex py-[0.625rem] items-center justify-center gap-[0.5rem] group-disabled/button:*:opacity-38`])},[(0,t.renderSlot)(i.$slots,`leadingIcon`,{},()=>[e.leadingIcon?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(n.FontAwesomeIcon),{key:0,class:`text-[1rem]`,icon:e.leadingIcon},null,8,[`icon`])):(0,t.createCommentVNode)(``,!0)]),(0,t.renderSlot)(i.$slots,`label`,{},()=>[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e.label),1)]),(0,t.renderSlot)(i.$slots,`trailingIcon`,{},()=>[e.trailingIcon?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(n.FontAwesomeIcon),{key:0,class:`text-[1rem]`,icon:e.trailingIcon},null,8,[`icon`])):(0,t.createCommentVNode)(``,!0)])],2)],2))}}),Wn={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(e){return this._loadedStyleNames.has(e)},setLoadedStyleName:function(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName:function(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}};function Gn(){return`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:`pc`}${(0,t.useId)().replace(`v-`,``).replaceAll(`-`,`_`)}`}dt(),je(),ce(),Ht();var Kn=M.extend({name:`common`});function qn(e){"@babel/helpers - typeof";return qn=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},qn(e)}function Jn(e){return tr(e)||Yn(e)||Qn(e)||Zn()}function Yn(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Xn(e,t){return tr(e)||er(e,t)||Qn(e,t)||Zn()}function Zn(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
133
+ `},style:pt,classes:{},inlineStyles:{},load:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(e){return e})(Je(Rt||=Lt([``,``]),e));return h(n)?St(D(n),Nt({name:this.name},t)):{}},loadCSS:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,e)},loadStyle:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``;return this.load(this.style,t,function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``;return A.transformCSS(t.name||e.name,`${r}${Je(zt||=Lt([``,``]),n)}`)})},getCommonTheme:function(e){return A.getCommon(this.name,e)},getComponentTheme:function(e){return A.getComponent(this.name,e)},getDirectiveTheme:function(e){return A.getDirective(this.name,e)},getPresetTheme:function(e,t,n){return A.getCustomPreset(this.name,e,t,n)},getLayerOrderThemeCSS:function(){return A.getLayerOrderCSS(this.name)},getStyleSheet:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var n=y(this.css,{dt:ct})||``,r=D(Je(Bt||=Lt([``,``,``]),n,e)),i=Object.entries(t).reduce(function(e,t){var n=Et(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);return h(r)?`<style type="text/css" data-primevue-style-id="${this.name}" ${i}>${r}</style>`:``}return``},getCommonThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return A.getCommonStyleSheet(this.name,e,t)},getThemeStyleSheet:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[A.getStyleSheet(this.name,e,t)];if(this.style){var r=this.name===`base`?`global-style`:`${this.name}-style`,i=Je(Vt||=Lt([``,``]),y(this.style,{dt:ct})),a=D(A.transformCSS(r,i)),o=Object.entries(t).reduce(function(e,t){var n=Et(t,2),r=n[0],i=n[1];return e.push(`${r}="${i}"`)&&e},[]).join(` `);h(a)&&n.push(`<style type="text/css" data-primevue-style-id="${r}" ${o}>${a}</style>`)}return n.join(``)},extend:function(e){return Nt(Nt({},this),{},{css:void 0,style:void 0},e)}}})),Ut,Wt=d((()=>{ue(),Ut=le()}));function Gt(e){"@babel/helpers - typeof";return Gt=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Gt(e)}function Kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Kt(Object(n),!0).forEach(function(t){Jt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jt(e,t,n){return(t=Yt(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yt(e){var t=Xt(e,`string`);return Gt(t)==`symbol`?t:t+``}function Xt(e,t){if(Gt(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Gt(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Zt(e,n){var r={config:(0,t.reactive)(n)};return e.config.globalProperties.$primevue=r,e.provide(tn,r),Qt(),$t(e,r),r}function Qt(){k.clear(),nn.forEach(function(e){return e?.()}),nn=[]}function $t(e,n){var r=(0,t.ref)(!1),i=function(){if(n.config?.theme!==`none`&&!A.isStyleNameLoaded(`common`)){var e,t=M.getCommonTheme?.call(M)||{},r=t.primitive,i=t.semantic,a=t.global,o=t.style,s={nonce:(e=n.config)==null||(e=e.csp)==null?void 0:e.nonce};M.load(r?.css,qt({name:`primitive-variables`},s)),M.load(i?.css,qt({name:`semantic-variables`},s)),M.load(a?.css,qt({name:`global-variables`},s)),M.loadStyle(qt({name:`global-style`},s),o),A.setLoadedStyleName(`common`)}};k.on(`theme:change`,function(t){r.value||=(e.config.globalProperties.$primevue.config.theme=t,!0)});var a=(0,t.watch)(n.config,function(e,t){Ut.emit(`config:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0}),o=(0,t.watch)(function(){return n.config.ripple},function(e,t){Ut.emit(`config:ripple:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0}),s=(0,t.watch)(function(){return n.config.theme},function(e,t){r.value||A.setTheme(e),n.config.unstyled||i(),r.value=!1,Ut.emit(`config:theme:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!1}),c=(0,t.watch)(function(){return n.config.unstyled},function(e,t){!e&&n.config.theme&&i(),Ut.emit(`config:unstyled:change`,{newValue:e,oldValue:t})},{immediate:!0,deep:!0});nn.push(a),nn.push(o),nn.push(s),nn.push(c)}var en,tn,nn,rn,an=d((()=>{dt(),Le(),ft(),Ht(),Wt(),en={ripple:!1,inputStyle:null,inputVariant:null,locale:{startsWith:`Starts with`,contains:`Contains`,notContains:`Not contains`,endsWith:`Ends with`,equals:`Equals`,notEquals:`Not equals`,noFilter:`No Filter`,lt:`Less than`,lte:`Less than or equal to`,gt:`Greater than`,gte:`Greater than or equal to`,dateIs:`Date is`,dateIsNot:`Date is not`,dateBefore:`Date is before`,dateAfter:`Date is after`,clear:`Clear`,apply:`Apply`,matchAll:`Match All`,matchAny:`Match Any`,addRule:`Add Rule`,removeRule:`Remove Rule`,accept:`Yes`,reject:`No`,choose:`Choose`,upload:`Upload`,cancel:`Cancel`,completed:`Completed`,pending:`Pending`,fileSizeTypes:[`B`,`KB`,`MB`,`GB`,`TB`,`PB`,`EB`,`ZB`,`YB`],dayNames:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],dayNamesShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],dayNamesMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],monthNames:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthNamesShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],chooseYear:`Choose Year`,chooseMonth:`Choose Month`,chooseDate:`Choose Date`,prevDecade:`Previous Decade`,nextDecade:`Next Decade`,prevYear:`Previous Year`,nextYear:`Next Year`,prevMonth:`Previous Month`,nextMonth:`Next Month`,prevHour:`Previous Hour`,nextHour:`Next Hour`,prevMinute:`Previous Minute`,nextMinute:`Next Minute`,prevSecond:`Previous Second`,nextSecond:`Next Second`,am:`am`,pm:`pm`,today:`Today`,weekHeader:`Wk`,firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:`mm/dd/yy`,weak:`Weak`,medium:`Medium`,strong:`Strong`,passwordPrompt:`Enter a password`,emptyFilterMessage:`No results found`,searchMessage:`{0} results are available`,selectionMessage:`{0} items selected`,emptySelectionMessage:`No selected item`,emptySearchMessage:`No results found`,fileChosenMessage:`{0} files`,noFileChosenMessage:`No file chosen`,emptyMessage:`No available options`,aria:{trueLabel:`True`,falseLabel:`False`,nullLabel:`Not Selected`,star:`1 star`,stars:`{star} stars`,selectAll:`All items selected`,unselectAll:`All items unselected`,close:`Close`,previous:`Previous`,next:`Next`,navigation:`Navigation`,scrollTop:`Scroll Top`,moveTop:`Move Top`,moveUp:`Move Up`,moveDown:`Move Down`,moveBottom:`Move Bottom`,moveToTarget:`Move to Target`,moveToSource:`Move to Source`,moveAllToTarget:`Move All to Target`,moveAllToSource:`Move All to Source`,pageLabel:`Page {page}`,firstPageLabel:`First Page`,lastPageLabel:`Last Page`,nextPageLabel:`Next Page`,prevPageLabel:`Previous Page`,rowsPerPageLabel:`Rows per page`,jumpToPageDropdownLabel:`Jump to Page Dropdown`,jumpToPageInputLabel:`Jump to Page Input`,selectRow:`Row Selected`,unselectRow:`Row Unselected`,expandRow:`Row Expanded`,collapseRow:`Row Collapsed`,showFilterMenu:`Show Filter Menu`,hideFilterMenu:`Hide Filter Menu`,filterOperator:`Filter Operator`,filterConstraint:`Filter Constraint`,editRow:`Row Edit`,saveEdit:`Save Edit`,cancelEdit:`Cancel Edit`,listView:`List View`,gridView:`Grid View`,slide:`Slide`,slideNumber:`{slideNumber}`,zoomImage:`Zoom Image`,zoomIn:`Zoom In`,zoomOut:`Zoom Out`,rotateRight:`Rotate Right`,rotateLeft:`Rotate Left`,listLabel:`Option List`}},filterMatchModeOptions:{text:[j.STARTS_WITH,j.CONTAINS,j.NOT_CONTAINS,j.ENDS_WITH,j.EQUALS,j.NOT_EQUALS],numeric:[j.EQUALS,j.NOT_EQUALS,j.LESS_THAN,j.LESS_THAN_OR_EQUAL_TO,j.GREATER_THAN,j.GREATER_THAN_OR_EQUAL_TO],date:[j.DATE_IS,j.DATE_IS_NOT,j.DATE_BEFORE,j.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},theme:void 0,unstyled:!1,pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},csp:{nonce:void 0}},tn=Symbol(),nn=[],rn={install:function(e,t){Zt(e,E(en,t))}}})),on=d((()=>{an(),an()})),sn,cn,ln,un=d((()=>{sn=`absolute`,cn=`bg-inverse-surface text-inverse-on-surface text-[0.75rem] py-[0.25rem] px-[0.5rem] rounded-[0.25rem]`,ln=`hidden`})),dn,fn=d((()=>{un(),dn={pt:{directives:{tooltip:{root:{class:sn},text:{class:cn},arrow:{class:ln}}}}}})),pn,mn,hn,gn,_n,vn,yn,bn=d((()=>{pn=`data-overflow-tooltip`,mn=`data-tooltip`,hn=`data-tooltip-id`,gn=`data-tooltip-for`,_n=`data-tooltip-position`,vn={TOP:`top`,RIGHT:`right`,LEFT:`left`,BOTTOM:`bottom`},yn={[vn.TOP]:`[position-area:top]`,[vn.RIGHT]:`[position-area:right]`,[vn.LEFT]:`[position-area:left]`,[vn.BOTTOM]:`[position-area:bottom]`}}));function xn(e){return e==null||e.length<1}function Sn(e){return typeof e.value==`string`?e.value:e.value?.value}function Cn(e){return!e.value||typeof e.value==`string`?!1:e.value.disabled||!1}function wn(e){return e.modifiers.overflow?!0:!e.value||typeof e.value==`string`?!1:e.value.overflow||!1}function Tn(e){let t=Object.values(vn).find(t=>e.modifiers[t]),n=!e.value||typeof e.value==`string`?null:e.value.position;return t||n||vn.TOP}function En(e,t){let n=Sn(t),r=Cn(t),i=wn(t),a=Tn(t);r||xn(n)?(e.removeAttribute(mn),e.removeAttribute(pn),e.removeAttribute(_n)):(e.setAttribute(mn,n),e.setAttribute(pn,i.toString()),e.setAttribute(_n,a))}function Dn(e){let t=e.getAttribute(hn);if(!t)return;let n=document.body.querySelector(`[${gn}=${t}]`);n&&document.body.removeChild(n)}var On,kn=d((()=>{bn(),On={beforeMount:En,updated:En,beforeUnmount:Dn}}));function An(e){if(!(e instanceof Element))throw Error(`Tooltip can be placed only on elements with scrollWidth and clientWidth properties`);return e.scrollWidth>e.clientWidth}var jn=d((()=>{}));function Mn(e){return Object.values(vn).some(t=>t===e)}function Nn(e,t,n,r){e.className=`absolute [position-try:flip-inline,flip-start] z-1000 bg-inverse-surface text-inverse-on-surface text-[0.75rem] py-[0.25rem] px-[0.5rem] rounded-[0.25rem] ${r&&Mn(r)?yn[r]:yn[vn.TOP]}`,e.style.positionAnchor=n,e.innerText=t,e.setAttribute(gn,n)}function Pn(e,t,n){if(e.dataset.tooltipId)return;let r=document.createElement(`div`),i=`--tooltip-${crypto.randomUUID()}`;Nn(r,t,i,n);let a=new MutationObserver(()=>Nn(r,e.getAttribute(`data-tooltip`)??``,i,e.getAttribute(_n)));a.observe(e,{attributeFilter:[mn,_n]}),e.setAttribute(hn,i),e.style.anchorName=i,e.addEventListener(`mouseleave`,()=>{e.style.anchorName=``,e.removeAttribute(hn),a.disconnect(),r.remove()},{once:!0}),document.body.appendChild(r)}var Fn=d((()=>{bn()})),In,Ln,Rn,zn,Bn=d((()=>{on(),fn(),kn(),jn(),bn(),Fn(),In={registerTooltip:!0,registerOverflowTooltip:!0,locale:{ok:`OK`,cancel:`Zrušit`,copied:`ZKOPÍROVÁNO`,mandatory:`povinné`,expand:`Rozbalit`,collapse:`Zabalit`,tableCheckFiltered:`Vybrat vše`,tableCheckAll:`Vybrat vše na stránce`,tableCheckReset:`Zrušit výběr`},primevue:dn},Ln=Symbol(`ACBS_CONFIG`),Rn=()=>{let e=(0,t.inject)(Ln);if(!e)throw console.warn(`ACBS Component Library is not installed! You have to register acbs plugin to vue instance. See introduction for more details.`),Error(`ACBS Component Library is not installed!`);return e},zn={install:(e,n={})=>{let{primevue:r,...i}={...In,...n,primevue:Object.assign({},In.primevue,n.primevue)};e.provide(Ln,(0,t.reactive)(i)),e.use(rn,r),i.registerTooltip&&(e.directive(`tooltip`,On),document.addEventListener(`mouseover`,e=>{let t=e.target instanceof Element?e.target.closest(`[${mn}]`):null;if(t instanceof HTMLElement){let e=t.hasAttribute(mn),n=t.getAttribute(pn)===`true`;if(!e||n&&!An(t))return;Pn(t,t.getAttribute(`data-tooltip`)??``,t.getAttribute(_n))}})),i.registerOverflowTooltip&&e.directive(`overflow-tooltip`,{created(){console.warn(`Deprecation warning! Directive overflow-tooltip has been merged into tooltip directive. Use 'overflow' modifier to achieve same results as with overflow-tooltip.`)},beforeMount(e,t){return On.beforeMount(e,{...t,modifiers:{...t.modifiers,overflow:!0}})},updated(e,t){return On.updated(e,{...t,modifiers:{...t.modifiers,overflow:!0}})}})}}}));Bn();var Vn={FILLED:`filled`,OUTLINED:`outlined`,TEXT:`text`,ELEVATED:`elevated`,TONAL:`tonal`},N,Hn=d((()=>{N={LIGHT:`light`,DARK:`dark`,PRIMARY:`primary`,ERROR:`error`}}));Hn();var Un=(0,t.defineComponent)({__name:`UIButton`,props:{color:{},label:{default:``},leadingIcon:{default:void 0},trailingIcon:{default:void 0},placement:{default:N.LIGHT}},setup(e){let r=e,i=(0,t.computed)(()=>({[Vn.FILLED]:{root:[r.placement===N.LIGHT?`bg-primary text-on-primary disabled:bg-on-surface/12 disabled:text-on-surface`:r.placement===N.PRIMARY?`bg-on-primary text-primary disabled:bg-on-primary/12`:r.placement===N.ERROR?`bg-on-error text-error disabled:bg-on-error/12`:`bg-surface-container-lowest text-on-surface-variant disabled:bg-surface-container-lowest/12 disabled:text-surface-container-lowest`,`eh:shadow-1`],state:[r.placement===N.LIGHT?`group-hover/button:group-enabled/button:bg-on-primary/8`:`group-hover/button:group-enabled/button:bg-on-surface-variant/8`]},[Vn.OUTLINED]:{root:[`border`,r.placement===N.LIGHT?`border-outline text-primary disabled:border-on-surface/12 disabled:text-on-surface`:`border-surface-container-lowest/16 text-surface-container-lowest`],state:[r.placement===N.LIGHT?`group-hover/button:group-enabled/button:bg-primary/8`:`group-hover/button:group-enabled/button:bg-surface-container-lowest/8`]},[Vn.TEXT]:{root:[`text-current disabled:text-on-surface`],state:[`group-hover/button:group-enabled/button:bg-current/8`]},[Vn.ELEVATED]:{root:[`text-primary bg-surface-container-low enabled:shadow-1 eh:shadow-2 disabled:bg-on-surface/12 disabled:text-on-surface`],state:[`group-hover/button:group-enabled/button:bg-primary/8`]},[Vn.TONAL]:{root:[`text-on-secondary-container bg-secondary-container eh:shadow-1 disabled:bg-on-surface/12 disabled:text-on-surface`],state:[`group-hover/button:group-enabled/button:bg-on-secondary-container/8`]}})),a=(0,t.computed)(()=>i.value[r.color]),o=(0,t.useSlots)(),s=(0,t.computed)(()=>r.leadingIcon||o.leadingIcon),c=(0,t.computed)(()=>r.trailingIcon||o.trailingIcon);return(i,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{class:(0,t.normalizeClass)([`group/button rounded-full text-label-large enabled:cursor-pointer overflow-hidden`,a.value.root]),type:`button`},[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([[a.value.state,r.color===(0,t.unref)(Vn).TEXT?`px-[0.75rem]`:`px-[1.5rem]`,{"pl-[1rem]":s.value&&(r.color!==(0,t.unref)(Vn).TEXT||!c.value),"pr-[1rem]":c.value&&(r.color!==(0,t.unref)(Vn).TEXT||!s.value)}],`flex py-[0.625rem] items-center justify-center gap-[0.5rem] group-disabled/button:*:opacity-38`])},[(0,t.renderSlot)(i.$slots,`leadingIcon`,{},()=>[e.leadingIcon?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(n.FontAwesomeIcon),{key:0,class:`text-[1rem]`,icon:e.leadingIcon},null,8,[`icon`])):(0,t.createCommentVNode)(``,!0)]),(0,t.renderSlot)(i.$slots,`label`,{},()=>[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(e.label),1)]),(0,t.renderSlot)(i.$slots,`trailingIcon`,{},()=>[e.trailingIcon?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(n.FontAwesomeIcon),{key:0,class:`text-[1rem]`,icon:e.trailingIcon},null,8,[`icon`])):(0,t.createCommentVNode)(``,!0)])],2)],2))}}),Wn={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(e){return this._loadedStyleNames.has(e)},setLoadedStyleName:function(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName:function(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}};function Gn(){return`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:`pc`}${(0,t.useId)().replace(`v-`,``).replaceAll(`-`,`_`)}`}dt(),je(),ce(),Ht();var Kn=M.extend({name:`common`});function qn(e){"@babel/helpers - typeof";return qn=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},qn(e)}function Jn(e){return tr(e)||Yn(e)||Qn(e)||Zn()}function Yn(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Xn(e,t){return tr(e)||er(e,t)||Qn(e,t)||Zn()}function Zn(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
134
134
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qn(e,t){if(e){if(typeof e==`string`)return $n(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$n(e,t):void 0}}function $n(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function er(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function tr(e){if(Array.isArray(e))return e}function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nr(Object(n),!0).forEach(function(t){rr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rr(e,t,n){return(t=ir(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(e){var t=ar(e,`string`);return qn(t)==`symbol`?t:t+``}function ar(e,t){if(qn(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(qn(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var or={name:`BaseComponent`,props:{pt:{type:Object,default:void 0},ptOptions:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0},dt:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(e){k.off(`theme:change`,this._loadCoreStyles),e||(this._loadCoreStyles(),this._themeChangeListener(this._loadCoreStyles))}},dt:{immediate:!0,handler:function(e,t){var n=this;k.off(`theme:change`,this._themeScopedListener),e?(this._loadScopedThemeStyles(e),this._themeScopedListener=function(){return n._loadScopedThemeStyles(e)},this._themeChangeListener(this._themeScopedListener)):this._unloadScopedThemeStyles()}}},scopedStyleEl:void 0,rootEl:void 0,uid:void 0,$attrSelector:void 0,beforeCreate:function(){var e,t,n,r,i,a,o,s,c,l,u=this.pt?._usept,d=u?(e=this.pt)==null||(e=e.originalValue)==null?void 0:e[this.$.type.name]:void 0;(n=(u?(t=this.pt)==null||(t=t.value)==null?void 0:t[this.$.type.name]:this.pt)||d)==null||(n=n.hooks)==null||(r=n.onBeforeCreate)==null||r.call(n);var f=(i=this.$primevueConfig)==null||(i=i.pt)==null?void 0:i._usept,p=f?(a=this.$primevue)==null||(a=a.config)==null||(a=a.pt)==null?void 0:a.originalValue:void 0;(c=(f?(o=this.$primevue)==null||(o=o.config)==null||(o=o.pt)==null?void 0:o.value:(s=this.$primevue)==null||(s=s.config)==null?void 0:s.pt)||p)==null||(c=c[this.$.type.name])==null||(c=c.hooks)==null||(l=c.onBeforeCreate)==null||l.call(c),this.$attrSelector=Gn(),this.uid=this.$attrs.id||this.$attrSelector.replace(`pc`,`pv_id_`)},created:function(){this._hook(`onCreated`)},beforeMount:function(){this.rootEl=Ce(be(this.$el)?this.$el:this.$el?.parentElement,`[${this.$attrSelector}]`),this.rootEl&&(this.rootEl.$pc=P({name:this.$.type.name,attrSelector:this.$attrSelector},this.$params)),this._loadStyles(),this._hook(`onBeforeMount`)},mounted:function(){this._hook(`onMounted`)},beforeUpdate:function(){this._hook(`onBeforeUpdate`)},updated:function(){this._hook(`onUpdated`)},beforeUnmount:function(){this._hook(`onBeforeUnmount`)},unmounted:function(){this._removeThemeListeners(),this._unloadScopedThemeStyles(),this._hook(`onUnmounted`)},methods:{_hook:function(e){if(!this.$options.hostName){var t=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,`hooks.${e}`),n=this._useDefaultPT(this._getOptionValue,`hooks.${e}`);t?.(),n?.()}},_mergeProps:function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return m(e)?e.apply(void 0,r):t.mergeProps.apply(void 0,r)},_load:function(){Wn.isStyleNameLoaded(`base`)||(M.loadCSS(this.$styleOptions),this._loadGlobalStyles(),Wn.setLoadedStyleName(`base`)),this._loadThemeStyles()},_loadStyles:function(){this._load(),this._themeChangeListener(this._load)},_loadCoreStyles:function(){var e;!Wn.isStyleNameLoaded(this.$style?.name)&&(e=this.$style)!=null&&e.name&&(Kn.loadCSS(this.$styleOptions),this.$options.style&&this.$style.loadCSS(this.$styleOptions),Wn.setLoadedStyleName(this.$style.name))},_loadGlobalStyles:function(){var e=this._useGlobalPT(this._getOptionValue,`global.css`,this.$params);h(e)&&M.load(e,P({name:`global`},this.$styleOptions))},_loadThemeStyles:function(){var e;if(!(this.isUnstyled||this.$theme===`none`)){if(!A.isStyleNameLoaded(`common`)){var t,n,r=((t=this.$style)==null||(n=t.getCommonTheme)==null?void 0:n.call(t))||{},i=r.primitive,a=r.semantic,o=r.global,s=r.style;M.load(i?.css,P({name:`primitive-variables`},this.$styleOptions)),M.load(a?.css,P({name:`semantic-variables`},this.$styleOptions)),M.load(o?.css,P({name:`global-variables`},this.$styleOptions)),M.loadStyle(P({name:`global-style`},this.$styleOptions),s),A.setLoadedStyleName(`common`)}if(!A.isStyleNameLoaded(this.$style?.name)&&(e=this.$style)!=null&&e.name){var c,l,u,d,f=((c=this.$style)==null||(l=c.getComponentTheme)==null?void 0:l.call(c))||{},p=f.css,m=f.style;(u=this.$style)==null||u.load(p,P({name:`${this.$style.name}-variables`},this.$styleOptions)),(d=this.$style)==null||d.loadStyle(P({name:`${this.$style.name}-style`},this.$styleOptions),m),A.setLoadedStyleName(this.$style.name)}if(!A.isStyleNameLoaded(`layer-order`)){var h,g,_=(h=this.$style)==null||(g=h.getLayerOrderThemeCSS)==null?void 0:g.call(h);M.load(_,P({name:`layer-order`,first:!0},this.$styleOptions)),A.setLoadedStyleName(`layer-order`)}}},_loadScopedThemeStyles:function(e){var t,n,r=(((t=this.$style)==null||(n=t.getPresetTheme)==null?void 0:n.call(t,e,`[${this.$attrSelector}]`))||{}).css,i=this.$style?.load(r,P({name:`${this.$attrSelector}-${this.$style.name}`},this.$styleOptions));this.scopedStyleEl=i.el},_unloadScopedThemeStyles:function(){var e;(e=this.scopedStyleEl)==null||(e=e.value)==null||e.remove()},_themeChangeListener:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};Wn.clearLoadedStyleNames(),k.on(`theme:change`,e)},_removeThemeListeners:function(){k.off(`theme:change`,this._loadCoreStyles),k.off(`theme:change`,this._load),k.off(`theme:change`,this._themeScopedListener)},_getHostInstance:function(e){return e?this.$options.hostName?e.$.type.name===this.$options.hostName?e:this._getHostInstance(e.$parentInstance):e.$parentInstance:void 0},_getPropValue:function(e){return this[e]||this._getHostInstance(this)?.[e]},_getOptionValue:function(e){return S(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{})},_getPTValue:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=/./g.test(t)&&!!n[t.split(`.`)[0]],a=this._getPropValue(`ptOptions`)||this.$primevueConfig?.ptOptions||{},o=a.mergeSections,s=o===void 0||o,c=a.mergeProps,l=c!==void 0&&c,u=r?i?this._useGlobalPT(this._getPTClassValue,t,n):this._useDefaultPT(this._getPTClassValue,t,n):void 0,d=i?void 0:this._getPTSelf(e,this._getPTClassValue,t,P(P({},n),{},{global:u||{}})),f=this._getPTDatasets(t);return s||!s&&d?l?this._mergeProps(l,u,d,f):P(P(P({},u),d),f):P(P({},d),f)},_getPTSelf:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(0,t.mergeProps)(this._usePT.apply(this,[this._getPT(e,this.$name)].concat(r)),this._usePT.apply(this,[this.$_attrsPT].concat(r)))},_getPTDatasets:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=`data-pc-`,n=e===`root`&&h(this.pt?.[`data-pc-section`]);return e!==`transition`&&P(P({},e===`root`&&P(P(rr({},`${t}name`,x(n?this.pt?.[`data-pc-section`]:this.$.type.name)),n&&rr({},`${t}extend`,x(this.$.type.name))),{},rr({},`${this.$attrSelector}`,``))),{},rr({},`${t}section`,x(e)))},_getPTClassValue:function(){var e=this._getOptionValue.apply(this,arguments);return b(e)||C(e)?{class:e}:e},_getPT:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,r=arguments.length>2?arguments[2]:void 0,i=function(e){var i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a=r?r(e):e,o=x(n),s=x(t.$name);return(i&&o===s?void 0:a?.[o])??a};return e!=null&&e.hasOwnProperty(`_usept`)?{_usept:e._usept,originalValue:i(e.originalValue),value:i(e.value)}:i(e,!0)},_usePT:function(e,t,n,r){var i=function(e){return t(e,n,r)};if(e!=null&&e.hasOwnProperty(`_usept`)){var a=e._usept||this.$primevueConfig?.ptOptions||{},o=a.mergeSections,s=o===void 0||o,c=a.mergeProps,l=c!==void 0&&c,u=i(e.originalValue),d=i(e.value);return u===void 0&&d===void 0?void 0:b(d)?d:b(u)?u:s||!s&&d?l?this._mergeProps(l,u,d):P(P({},u),d):d}return i(e)},_useGlobalPT:function(e,t,n){return this._usePT(this.globalPT,e,t,n)},_useDefaultPT:function(e,t,n){return this._usePT(this.defaultPT,e,t,n)},ptm:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,e,P(P({},this.$params),t))},ptmi:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(0,t.mergeProps)(this.$_attrsWithoutPT,this.ptm(e,n));return r!=null&&r.hasOwnProperty(`id`)&&(r.id??=this.$id),r},ptmo:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:``,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(e,t,P({instance:this},n),!1)},cx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,e,P(P({},this.$params),t))},sx:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:``,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(t){var r=this._getOptionValue(this.$style.inlineStyles,e,P(P({},this.$params),n));return[this._getOptionValue(Kn.inlineStyles,e,P(P({},this.$params),n)),r]}}},computed:{globalPT:function(){var e=this;return this._getPT(this.$primevueConfig?.pt,void 0,function(t){return y(t,{instance:e})})},defaultPT:function(){var e=this;return this._getPT(this.$primevueConfig?.pt,void 0,function(t){return e._getOptionValue(t,e.$name,P({},e.$params))||y(t,P({},e.$params))})},isUnstyled:function(){return this.unstyled===void 0?this.$primevueConfig?.unstyled:this.unstyled},$id:function(){return this.$attrs.id||this.uid},$inProps:function(){var e=Object.keys(this.$.vnode?.props||{});return Object.fromEntries(Object.entries(this.$props).filter(function(t){var n=Xn(t,1)[0];return e?.includes(n)}))},$theme:function(){return this.$primevueConfig?.theme},$style:function(){return P(P({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var e;return{nonce:(e=this.$primevueConfig)==null||(e=e.csp)==null?void 0:e.nonce}},$primevueConfig:function(){return this.$primevue?.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var e=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:e,props:e?.$props,state:e?.$data,attrs:e?.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){return Xn(e,1)[0]?.startsWith(`pt:`)}).reduce(function(e,t){var n=Xn(t,2),r=n[0],i=n[1];return $n(Jn(r.split(`:`))).slice(1)?.reduce(function(e,t,n,r){return!e[t]&&(e[t]=n===r.length-1?i:{}),e[t]},e),e},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(e){var t=Xn(e,1)[0];return!(t!=null&&t.startsWith(`pt:`))}).reduce(function(e,t){var n=Xn(t,2),r=n[0];return e[r]=n[1],e},{})}}};Ht();var sr=M.extend({name:`baseicon`,css:`
135
135
  .p-icon {
136
136
  display: inline-block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aures5g/vue-component-library",
3
- "version": "3.51.0",
3
+ "version": "3.52.0",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24.5.0"