@nside/wefa 0.4.4 → 0.4.6

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.
Files changed (231) hide show
  1. package/README.md +3 -1
  2. package/dist/LegalConsent-BxOWAO0s.js +126 -0
  3. package/dist/LegalConsent-ChW-GYBv.cjs +1 -0
  4. package/dist/LegalDocument-BM4HLw9A.js +1580 -0
  5. package/dist/LegalDocument-hhYW9BBO.cjs +114 -0
  6. package/dist/LoginView-BpDNpbMQ.cjs +1 -0
  7. package/dist/LoginView-bUKvV6JV.js +17 -0
  8. package/dist/LogoutView-BrAt0b2J.js +16 -0
  9. package/dist/LogoutView-D7D3LcfL.cjs +1 -0
  10. package/dist/angledown-DgMf_Vjv.cjs +2 -0
  11. package/dist/angledown-igq2UW-u.js +46 -0
  12. package/dist/badge-2r_VjcsG.js +102 -0
  13. package/dist/badge-DPwocFJ8.cjs +76 -0
  14. package/dist/basecomponent-CGerMr_k.cjs +146 -0
  15. package/dist/basecomponent-CRTLSsqZ.js +1278 -0
  16. package/dist/baseeditableholder-BEn83TQE.js +126 -0
  17. package/dist/baseeditableholder-Q1_XheNU.cjs +1 -0
  18. package/dist/baseicon-Ct8wtBEp.cjs +34 -0
  19. package/dist/baseicon-DdvhP0UT.js +90 -0
  20. package/dist/baseinput-B6KUYtrd.js +37 -0
  21. package/dist/baseinput-D8710HSg.cjs +1 -0
  22. package/dist/bff/openapi.yaml +7 -0
  23. package/dist/button-M3QREAcT.cjs +651 -0
  24. package/dist/button-xI3Wu15Z.js +311 -0
  25. package/dist/calendar-B8nJAQne.js +2891 -0
  26. package/dist/calendar-CW9WbT3C.cjs +477 -0
  27. package/dist/card-BXosepCe.js +57 -0
  28. package/dist/card-Db30JagR.cjs +32 -0
  29. package/dist/check-BYTdkWQh.js +46 -0
  30. package/dist/check-D4kxzECF.cjs +2 -0
  31. package/dist/checkbox-BIDoCr_X.cjs +142 -0
  32. package/dist/checkbox-TAWN7HJG.js +323 -0
  33. package/dist/chevrondown-DLIH6sRy.cjs +2 -0
  34. package/dist/chevrondown-v3qKRLEG.js +46 -0
  35. package/dist/chevronleft-DMbyAEgw.cjs +2 -0
  36. package/dist/chevronleft-dQlHS1Vs.js +46 -0
  37. package/dist/chevronright-B3qtGWZb.js +46 -0
  38. package/dist/chevronright-BisalZVe.cjs +2 -0
  39. package/dist/chip-CBoKYRL5.js +107 -0
  40. package/dist/chip-CLwNi1p_.cjs +54 -0
  41. package/dist/chunk-BK-Lzi7j.cjs +1 -0
  42. package/dist/chunk-DgQ9yJBH.js +17 -0
  43. package/dist/classnames-4RuV7Ryo.js +19 -0
  44. package/dist/classnames-DqVQ5xbt.cjs +1 -0
  45. package/dist/containers.cjs +23 -26
  46. package/dist/containers.d.ts +1 -136
  47. package/dist/containers.js +4476 -5541
  48. package/dist/focustrap-BhHF6zvb.js +558 -0
  49. package/dist/focustrap-C_v0dFmU.cjs +152 -0
  50. package/dist/inputnumber-CvuB8fHc.cjs +195 -0
  51. package/dist/inputnumber-UfGZdwk2.js +983 -0
  52. package/dist/inputtext-B-iUN1cV.js +108 -0
  53. package/dist/inputtext-D2Ay4aYr.cjs +79 -0
  54. package/dist/legalConsent-B3erdrHX.cjs +1 -0
  55. package/dist/legalConsent-kc_KWyR6.js +66 -0
  56. package/dist/lib.cjs +1331 -1
  57. package/dist/lib.d.ts +2 -748
  58. package/dist/lib.js +22977 -35
  59. package/dist/locales-4eL4-K7f.js +3168 -0
  60. package/dist/locales-DzyBr_JU.cjs +5 -0
  61. package/dist/markdown-Cb6J3R4j.js +28 -0
  62. package/dist/markdown-Dxqg6Ggd.cjs +1 -0
  63. package/dist/network-DD_yGfK6.js +2404 -0
  64. package/dist/network-uPe9-HeS.cjs +9 -0
  65. package/dist/network.cjs +1 -1
  66. package/dist/network.d.ts +3 -123
  67. package/dist/network.js +2 -48
  68. package/dist/portal-BbZw4bN9.js +265 -0
  69. package/dist/portal-pIcEXWz1.cjs +2 -0
  70. package/dist/{index-EDm9-cRY.cjs → progressbar-BPR5tRX7.cjs} +2 -2
  71. package/dist/progressbar-CzckKCUr.js +96 -0
  72. package/dist/rating-DsIxcJXU.js +332 -0
  73. package/dist/rating-HfRWRXuI.cjs +61 -0
  74. package/dist/ripple-CoTE8rF8.js +501 -0
  75. package/dist/ripple-UYfqtU0m.cjs +24 -0
  76. package/dist/router-CR-sxf1q.js +34 -0
  77. package/dist/router-qXH6kffG.cjs +1 -0
  78. package/dist/router.cjs +1 -1
  79. package/dist/router.d.ts +1 -74
  80. package/dist/router.js +2 -16
  81. package/dist/select-C05BBcmi.js +2357 -0
  82. package/dist/select-CZouTpLB.cjs +360 -0
  83. package/dist/src/components/AutoroutedBreadcrumb/AutoroutedBreadcrumb.vue.d.ts +9 -0
  84. package/dist/src/components/AutoroutedBreadcrumb/index.d.ts +1 -0
  85. package/dist/src/components/ControlBarComponent/ConfiguredControlBarComponent.vue.d.ts +30 -0
  86. package/dist/src/components/ControlBarComponent/ControlBarComponent.vue.d.ts +17 -0
  87. package/dist/src/components/ControlBarComponent/ControlBarItemComponent.vue.d.ts +20 -0
  88. package/dist/src/components/ControlBarComponent/index.d.ts +3 -0
  89. package/dist/src/components/DashboardComponent/DashboardComponent.vue.d.ts +21 -0
  90. package/dist/src/components/DashboardComponent/DashboardGroupComponent.vue.d.ts +25 -0
  91. package/dist/src/components/DashboardComponent/DashboardPanelComponent.vue.d.ts +26 -0
  92. package/dist/src/components/DashboardComponent/index.d.ts +3 -0
  93. package/dist/src/components/FormComponent/FormComponent.vue.d.ts +32 -0
  94. package/dist/src/components/FormComponent/index.d.ts +1 -0
  95. package/dist/src/components/GanttChartComponent/GanttChartComponent.vue.d.ts +26 -0
  96. package/dist/src/components/GanttChartComponent/GanttChartGrid.vue.d.ts +34 -0
  97. package/dist/src/components/GanttChartComponent/GanttChartHeaderGrid.vue.d.ts +7 -0
  98. package/dist/src/components/GanttChartComponent/GanttChartHeaderLabel.vue.d.ts +6 -0
  99. package/dist/src/components/GanttChartComponent/GanttChartLinksOverlay.vue.d.ts +12 -0
  100. package/dist/src/components/GanttChartComponent/GanttChartRowGrid.vue.d.ts +55 -0
  101. package/dist/src/components/GanttChartComponent/GanttChartRowLabel.vue.d.ts +7 -0
  102. package/dist/src/components/GanttChartComponent/composables/useGanttLinks.d.ts +37 -0
  103. package/dist/src/components/GanttChartComponent/composables/useGanttSizing.d.ts +9 -0
  104. package/dist/src/components/GanttChartComponent/ganttChartLayout.d.ts +42 -0
  105. package/dist/src/components/GanttChartComponent/ganttChartTypes.d.ts +22 -0
  106. package/dist/src/components/GanttChartComponent/index.d.ts +1 -0
  107. package/dist/src/components/NetworkButton/ApiMutationButton.vue.d.ts +3 -0
  108. package/dist/src/components/NetworkButton/ApiQueryButton.vue.d.ts +3 -0
  109. package/dist/src/components/NetworkButton/index.d.ts +3 -0
  110. package/dist/src/components/NetworkButton/types.d.ts +39 -0
  111. package/dist/src/components/NotFound/NotFound.vue.d.ts +26 -0
  112. package/dist/src/components/NotFound/index.d.ts +1 -0
  113. package/dist/src/components/PageComponent/PageComponent.vue.d.ts +22 -0
  114. package/dist/src/components/PageComponent/index.d.ts +1 -0
  115. package/dist/src/components/PlotlyComponent/PlotlyComponent.vue.d.ts +14 -0
  116. package/dist/src/components/PlotlyComponent/PlotlyFromTableComponent.vue.d.ts +16 -0
  117. package/dist/src/components/PlotlyComponent/index.d.ts +2 -0
  118. package/dist/src/components/TableComponent/TableComponent.vue.d.ts +29 -0
  119. package/dist/src/components/TableComponent/index.d.ts +1 -0
  120. package/dist/src/composables/useComponentResolver.d.ts +9 -0
  121. package/dist/src/composables/useValidatorResolver.d.ts +9 -0
  122. package/dist/src/containers/BareContainer/BareContainer.vue.d.ts +8 -0
  123. package/dist/src/containers/BareContainer/index.d.ts +2 -0
  124. package/dist/src/containers/LayoutContainer/LayoutContainer.vue.d.ts +13 -0
  125. package/dist/src/containers/LayoutContainer/MobileNavigationComponent/MobileNavigationComponent.vue.d.ts +7 -0
  126. package/dist/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/MainComponent.vue.d.ts +6 -0
  127. package/dist/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue.d.ts +11 -0
  128. package/dist/src/containers/LayoutContainer/SideNavigationComponent/SideNavigationComponent.vue.d.ts +7 -0
  129. package/dist/src/containers/LayoutContainer/SideNavigationComponent/TopComponent/TopComponent.vue.d.ts +7 -0
  130. package/dist/src/containers/LayoutContainer/index.d.ts +1 -0
  131. package/dist/src/containers/NavbarContainer/NavbarContainer.vue.d.ts +6 -0
  132. package/dist/src/containers/NavbarContainer/index.d.ts +2 -0
  133. package/dist/src/containers/RoutedTabsComponent/RoutedTabsComponent.vue.d.ts +12 -0
  134. package/dist/src/containers/RoutedTabsComponent/index.d.ts +1 -0
  135. package/dist/src/containers/SideMenuContainer/SideMenuContainer.vue.d.ts +7 -0
  136. package/dist/src/containers/SideMenuContainer/index.d.ts +2 -0
  137. package/dist/src/containers/helpers.d.ts +47 -0
  138. package/dist/src/containers/index.d.ts +6 -0
  139. package/dist/src/lib.d.ts +24 -0
  140. package/dist/src/locales/index.d.ts +30 -0
  141. package/dist/src/network/apiClient.d.ts +32 -0
  142. package/dist/src/network/axios.d.ts +4 -0
  143. package/dist/src/network/index.d.ts +3 -0
  144. package/dist/src/network/typedApiClient.d.ts +58 -0
  145. package/dist/src/plugins/cookies/index.d.ts +51 -0
  146. package/dist/src/plugins/cookies/views/CookieBar.vue.d.ts +2 -0
  147. package/dist/src/plugins/cookies/views/CookiesConsent.vue.d.ts +2 -0
  148. package/dist/src/plugins/index.d.ts +1 -0
  149. package/dist/src/plugins/legalConsent/index.d.ts +89 -0
  150. package/dist/src/plugins/legalConsent/views/LegalConsent.vue.d.ts +2 -0
  151. package/dist/src/plugins/legalConsent/views/LegalDocument.vue.d.ts +8 -0
  152. package/dist/src/router/guards.d.ts +28 -0
  153. package/dist/src/router/index.d.ts +3 -0
  154. package/dist/src/router/libRoutes.d.ts +2 -0
  155. package/dist/src/router/types.d.ts +31 -0
  156. package/dist/src/stores/backend/common.d.ts +17 -0
  157. package/dist/src/stores/backend/constants.d.ts +19 -0
  158. package/dist/src/stores/backend/schemes/jwt.d.ts +22 -0
  159. package/dist/src/stores/backend/schemes/oauth.d.ts +14 -0
  160. package/dist/src/stores/backend/schemes/token.d.ts +20 -0
  161. package/dist/src/stores/backend/types.d.ts +88 -0
  162. package/dist/src/stores/backend.d.ts +5 -0
  163. package/dist/src/stores/darkMode.d.ts +29 -0
  164. package/dist/src/stores/index.d.ts +2 -0
  165. package/dist/src/theme/index.d.ts +2 -0
  166. package/dist/src/theme/nside.d.ts +2 -0
  167. package/dist/src/utils/color.d.ts +33 -0
  168. package/dist/src/utils/componentRegistry.d.ts +15 -0
  169. package/dist/src/utils/markdown.d.ts +24 -0
  170. package/dist/src/utils/translations.d.ts +8 -0
  171. package/dist/src/utils/validatorRegistry.d.ts +8 -0
  172. package/dist/src/views/LoginView.vue.d.ts +5 -0
  173. package/dist/src/views/LogoutView.vue.d.ts +2 -0
  174. package/dist/stores-BAbCgIKW.cjs +1 -0
  175. package/dist/stores-C5CUNzM_.js +203 -0
  176. package/dist/textarea-DUmMHVXf.cjs +84 -0
  177. package/dist/textarea-f6-j7m1N.js +131 -0
  178. package/dist/times--t6-zeg6.js +46 -0
  179. package/dist/times-GcOHYs3E.cjs +2 -0
  180. package/dist/timescircle-CHGzPrwL.cjs +2 -0
  181. package/dist/timescircle-_NJIsGD1.js +48 -0
  182. package/dist/wefa.css +2 -1
  183. package/package.json +42 -35
  184. package/scripts/verify-package-types.mjs +103 -0
  185. package/src/components/DashboardComponent/DashboardGroupComponent.vue +1 -1
  186. package/src/components/NetworkButton/__tests__/ApiMutationButton.test.ts +12 -3
  187. package/src/components/NetworkButton/__tests__/ApiQueryButton.test.ts +12 -3
  188. package/src/containers/LayoutContainer/SideNavigationComponent/MainComponent/NavigationLinkComponent.vue +1 -1
  189. package/src/containers/SideMenuContainer/SideMenuContainer.vue +14 -3
  190. package/src/containers/helpers.ts +1 -1
  191. package/src/router/guards.ts +2 -2
  192. package/src/stores/__tests__/backend/jwt.test.ts +6 -6
  193. package/src/stores/__tests__/backend/oauth.test.ts +1 -1
  194. package/src/stores/__tests__/backend/token.test.ts +5 -5
  195. package/src/stores/backend/schemes/jwt.ts +3 -3
  196. package/src/stores/backend/schemes/token.ts +6 -7
  197. package/dist/LegalConsent-DQ7fkgVc.cjs +0 -1
  198. package/dist/LegalConsent-OLyvuzRY.js +0 -151
  199. package/dist/LegalDocument-B-nntRW7.cjs +0 -109
  200. package/dist/LegalDocument-BKebNzIK.js +0 -1330
  201. package/dist/LoginView-DUPa_PsC.js +0 -24
  202. package/dist/LoginView-Dihs8n_X.cjs +0 -1
  203. package/dist/LogoutView-DAh7MrFi.js +0 -19
  204. package/dist/LogoutView-Fl3nfeJ0.cjs +0 -1
  205. package/dist/apiClient-BHDjT0dU.js +0 -928
  206. package/dist/apiClient-Cr0IvG5Z.cjs +0 -1
  207. package/dist/axios-CZvsFspN.js +0 -1887
  208. package/dist/axios-DMqeKDaq.cjs +0 -6
  209. package/dist/index--_rUTrqU.js +0 -1414
  210. package/dist/index-05ASaj7N.cjs +0 -477
  211. package/dist/index-B7hJ2pku.cjs +0 -61
  212. package/dist/index-BHSxFTgZ.js +0 -49
  213. package/dist/index-BaA_oL1s.cjs +0 -32
  214. package/dist/index-Be5h48vc.js +0 -3530
  215. package/dist/index-Becfy0pF.cjs +0 -2
  216. package/dist/index-CPv4agmV.js +0 -400
  217. package/dist/index-CgAb-gZi.js +0 -89
  218. package/dist/index-DFSkcsx-.cjs +0 -943
  219. package/dist/index-DGUVQqZw.js +0 -208
  220. package/dist/index-DRozw3P8.js +0 -167
  221. package/dist/index-DfCQoHSf.cjs +0 -146
  222. package/dist/index-DkuJMEY1.js +0 -6731
  223. package/dist/index-Dv6jyKbT.js +0 -47
  224. package/dist/index-IGN7_cyg.cjs +0 -2
  225. package/dist/index-lFl6UsTa.js +0 -212
  226. package/dist/index-lQmq7gxp.cjs +0 -54
  227. package/dist/index-t0sdL3f2.cjs +0 -84
  228. package/dist/lib-DZzubLGt.js +0 -26376
  229. package/dist/lib-lTzD7ltX.cjs +0 -2104
  230. package/dist/libRoutes-B-H3e9wZ.js +0 -22
  231. package/dist/libRoutes-Cl3TklhN.cjs +0 -1
@@ -0,0 +1,360 @@
1
+ const e=require(`./chunk-BK-Lzi7j.cjs`),t=require(`./classnames-DqVQ5xbt.cjs`),n=require(`./basecomponent-CGerMr_k.cjs`),r=require(`./ripple-UYfqtU0m.cjs`),i=require(`./portal-pIcEXWz1.cjs`),a=require(`./baseicon-Ct8wtBEp.cjs`),o=require(`./times-GcOHYs3E.cjs`),s=require(`./check-D4kxzECF.cjs`),c=require(`./chevrondown-DLIH6sRy.cjs`),l=require(`./baseinput-D8710HSg.cjs`),u=require(`./inputtext-D2Ay4aYr.cjs`);let d=require(`vue`);var f={STARTS_WITH:`startsWith`,CONTAINS:`contains`,NOT_CONTAINS:`notContains`,ENDS_WITH:`endsWith`,EQUALS:`equals`,NOT_EQUALS:`notEquals`,IN:`in`,LESS_THAN:`lt`,LESS_THAN_OR_EQUAL_TO:`lte`,GREATER_THAN:`gt`,GREATER_THAN_OR_EQUAL_TO:`gte`,BETWEEN:`between`,DATE_IS:`dateIs`,DATE_IS_NOT:`dateIsNot`,DATE_BEFORE:`dateBefore`,DATE_AFTER:`dateAfter`},p={AND:`and`,OR:`or`};function m(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=h(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function h(e,t){if(e){if(typeof e==`string`)return g(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)?g(e,t):void 0}}function g(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}var _={filter:function(e,t,r,i,a){var o=[];if(!e)return o;var s=m(e),c;try{for(s.s();!(c=s.n()).done;){var l=c.value;if(typeof l==`string`){if(this.filters[i](l,r,a)){o.push(l);continue}}else{var u=m(t),d;try{for(u.s();!(d=u.n()).done;){var f=d.value,p=n.w(l,f);if(this.filters[i](p,r,a)){o.push(l);break}}}catch(e){u.e(e)}finally{u.f()}}}}catch(e){s.e(e)}finally{s.f()}return o},filters:{startsWith:function(e,t,r){if(t==null||t===``)return!0;if(e==null)return!1;var i=n.p(t.toString()).toLocaleLowerCase(r);return n.p(e.toString()).toLocaleLowerCase(r).slice(0,i.length)===i},contains:function(e,t,r){if(t==null||t===``)return!0;if(e==null)return!1;var i=n.p(t.toString()).toLocaleLowerCase(r);return n.p(e.toString()).toLocaleLowerCase(r).indexOf(i)!==-1},notContains:function(e,t,r){if(t==null||t===``)return!0;if(e==null)return!1;var i=n.p(t.toString()).toLocaleLowerCase(r);return n.p(e.toString()).toLocaleLowerCase(r).indexOf(i)===-1},endsWith:function(e,t,r){if(t==null||t===``)return!0;if(e==null)return!1;var i=n.p(t.toString()).toLocaleLowerCase(r),a=n.p(e.toString()).toLocaleLowerCase(r);return a.indexOf(i,a.length-i.length)!==-1},equals:function(e,t,r){return t==null||t===``?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()===t.getTime():n.p(e.toString()).toLocaleLowerCase(r)==n.p(t.toString()).toLocaleLowerCase(r)},notEquals:function(e,t,r){return t==null||t===``?!1:e==null?!0:e.getTime&&t.getTime?e.getTime()!==t.getTime():n.p(e.toString()).toLocaleLowerCase(r)!=n.p(t.toString()).toLocaleLowerCase(r)},in:function(e,t){if(t==null||t.length===0)return!0;for(var r=0;r<t.length;r++)if(n.b(e,t[r]))return!0;return!1},between:function(e,t){return t==null||t[0]==null||t[1]==null?!0:e==null?!1:e.getTime?t[0].getTime()<=e.getTime()&&e.getTime()<=t[1].getTime():t[0]<=e&&e<=t[1]},lt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<t.getTime():e<t},lte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<=t.getTime():e<=t},gt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>t.getTime():e>t},gte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t},dateIs:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.toDateString()===t.toDateString())},dateIsNot:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.toDateString()!==t.toDateString())},dateBefore:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.getTime()<t.getTime())},dateAfter:function(e,t){return t==null?!0:e==null?!1:(typeof e==`string`&&(e=new Date(e)),typeof t==`string`&&(t=new Date(t)),e.getTime()>t.getTime())}},register:function(e,t){this.filters[e]=t}},v={name:`BlankIcon`,extends:a.t};function y(e){return C(e)||S(e)||x(e)||b()}function b(){throw TypeError(`Invalid attempt to spread non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(e,t){if(e){if(typeof e==`string`)return w(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)?w(e,t):void 0}}function S(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function C(e){if(Array.isArray(e))return w(e)}function w(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 ee(e,t,n,r,i,a){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,(0,d.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),y(t[0]||=[(0,d.createElementVNode)(`rect`,{width:`1`,height:`1`,fill:`currentColor`,"fill-opacity":`0`},null,-1)]),16)}v.render=ee;var T={name:`SearchIcon`,extends:a.t};function te(e){return ne(e)||O(e)||D(e)||E()}function E(){throw TypeError(`Invalid attempt to spread non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D(e,t){if(e){if(typeof e==`string`)return k(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)?k(e,t):void 0}}function O(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function ne(e){if(Array.isArray(e))return k(e)}function k(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 re(e,t,n,r,i,a){return(0,d.openBlock)(),(0,d.createElementBlock)(`svg`,(0,d.mergeProps)({width:`14`,height:`14`,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},e.pti()),te(t[0]||=[(0,d.createElementVNode)(`path`,{"fill-rule":`evenodd`,"clip-rule":`evenodd`,d:`M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z`,fill:`currentColor`},null,-1)]),16)}T.render=re;var A=n.r.extend({name:`iconfield`,style:`
5
+ .p-iconfield {
6
+ position: relative;
7
+ display: block;
8
+ }
9
+
10
+ .p-inputicon {
11
+ position: absolute;
12
+ top: 50%;
13
+ margin-top: calc(-1 * (dt('icon.size') / 2));
14
+ color: dt('iconfield.icon.color');
15
+ line-height: 1;
16
+ z-index: 1;
17
+ }
18
+
19
+ .p-iconfield .p-inputicon:first-child {
20
+ inset-inline-start: dt('form.field.padding.x');
21
+ }
22
+
23
+ .p-iconfield .p-inputicon:last-child {
24
+ inset-inline-end: dt('form.field.padding.x');
25
+ }
26
+
27
+ .p-iconfield .p-inputtext:not(:first-child),
28
+ .p-iconfield .p-inputwrapper:not(:first-child) .p-inputtext {
29
+ padding-inline-start: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
30
+ }
31
+
32
+ .p-iconfield .p-inputtext:not(:last-child) {
33
+ padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
34
+ }
35
+
36
+ .p-iconfield:has(.p-inputfield-sm) .p-inputicon {
37
+ font-size: dt('form.field.sm.font.size');
38
+ width: dt('form.field.sm.font.size');
39
+ height: dt('form.field.sm.font.size');
40
+ margin-top: calc(-1 * (dt('form.field.sm.font.size') / 2));
41
+ }
42
+
43
+ .p-iconfield:has(.p-inputfield-lg) .p-inputicon {
44
+ font-size: dt('form.field.lg.font.size');
45
+ width: dt('form.field.lg.font.size');
46
+ height: dt('form.field.lg.font.size');
47
+ margin-top: calc(-1 * (dt('form.field.lg.font.size') / 2));
48
+ }
49
+ `,classes:{root:`p-iconfield`}}),j={name:`IconField`,extends:{name:`BaseIconField`,extends:n.t,style:A,provide:function(){return{$pcIconField:this,$parentInstance:this}}},inheritAttrs:!1};function M(e,t,n,r,i,a){return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.mergeProps)({class:e.cx(`root`)},e.ptmi(`root`)),[(0,d.renderSlot)(e.$slots,`default`)],16)}j.render=M;var ie=n.r.extend({name:`inputicon`,classes:{root:`p-inputicon`}}),N={name:`InputIcon`,extends:{name:`BaseInputIcon`,extends:n.t,style:ie,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},inheritAttrs:!1,computed:{containerClass:function(){return[this.cx(`root`),this.class]}}};function P(e,t,n,r,i,a){return(0,d.openBlock)(),(0,d.createElementBlock)(`span`,(0,d.mergeProps)({class:a.containerClass},e.ptmi(`root`),{"aria-hidden":`true`}),[(0,d.renderSlot)(e.$slots,`default`)],16)}N.render=P;var F=n.r.extend({name:`virtualscroller`,css:`
50
+ .p-virtualscroller {
51
+ position: relative;
52
+ overflow: auto;
53
+ contain: strict;
54
+ transform: translateZ(0);
55
+ will-change: scroll-position;
56
+ outline: 0 none;
57
+ }
58
+
59
+ .p-virtualscroller-content {
60
+ position: absolute;
61
+ top: 0;
62
+ left: 0;
63
+ min-height: 100%;
64
+ min-width: 100%;
65
+ will-change: transform;
66
+ }
67
+
68
+ .p-virtualscroller-spacer {
69
+ position: absolute;
70
+ top: 0;
71
+ left: 0;
72
+ height: 1px;
73
+ width: 1px;
74
+ transform-origin: 0 0;
75
+ pointer-events: none;
76
+ }
77
+
78
+ .p-virtualscroller-loader {
79
+ position: sticky;
80
+ top: 0;
81
+ left: 0;
82
+ width: 100%;
83
+ height: 100%;
84
+ }
85
+
86
+ .p-virtualscroller-loader-mask {
87
+ display: flex;
88
+ align-items: center;
89
+ justify-content: center;
90
+ }
91
+
92
+ .p-virtualscroller-horizontal > .p-virtualscroller-content {
93
+ display: flex;
94
+ }
95
+
96
+ .p-virtualscroller-inline .p-virtualscroller-content {
97
+ position: static;
98
+ }
99
+
100
+ .p-virtualscroller .p-virtualscroller-loading {
101
+ transform: none !important;
102
+ min-height: 0;
103
+ position: sticky;
104
+ inset-block-start: 0;
105
+ inset-inline-start: 0;
106
+ }
107
+ `,style:`
108
+ .p-virtualscroller-loader {
109
+ background: dt('virtualscroller.loader.mask.background');
110
+ color: dt('virtualscroller.loader.mask.color');
111
+ }
112
+
113
+ .p-virtualscroller-loading-icon {
114
+ font-size: dt('virtualscroller.loader.icon.size');
115
+ width: dt('virtualscroller.loader.icon.size');
116
+ height: dt('virtualscroller.loader.icon.size');
117
+ }
118
+ `}),ae={name:`BaseVirtualScroller`,extends:n.t,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:`vertical`},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:F,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var e;F.loadCSS({nonce:(e=this.$primevueConfig)==null||(e=e.csp)==null?void 0:e.nonce})}};function I(e){"@babel/helpers - typeof";return I=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},I(e)}function L(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 R(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?L(Object(n),!0).forEach(function(t){z(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function z(e,t,n){return(t=B(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(e){var t=V(e,`string`);return I(t)==`symbol`?t:t+``}function V(e,t){if(I(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(I(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var H={name:`VirtualScroller`,extends:ae,inheritAttrs:!1,emits:[`update:numToleratedItems`,`scroll`,`scroll-index-change`,`lazy-load`],data:function(){var e=this.isBoth();return{first:e?{rows:0,cols:0}:0,last:e?{rows:0,cols:0}:0,page:e?{rows:0,cols:0}:0,numItemsInViewport:e?{rows:0,cols:0}:0,lastScrollPos:e?{top:0,left:0}:0,d_numToleratedItems:this.numToleratedItems,d_loading:this.loading,loaderArr:[],spacerStyle:{},contentStyle:{}}},element:null,content:null,lastScrollPos:null,scrollTimeout:null,resizeTimeout:null,defaultWidth:0,defaultHeight:0,defaultContentWidth:0,defaultContentHeight:0,isRangeChanged:!1,lazyLoadState:{},resizeListener:null,resizeObserver:null,initialized:!1,watch:{numToleratedItems:function(e){this.d_numToleratedItems=e},loading:function(e,t){this.lazy&&e!==t&&e!==this.d_loading&&(this.d_loading=e)},items:{handler:function(e,t){(!t||t.length!==(e||[]).length)&&(this.init(),this.calculateAutoSize())},deep:!0},itemSize:function(){this.init(),this.calculateAutoSize()},orientation:function(){this.lastScrollPos=this.isBoth()?{top:0,left:0}:0},scrollHeight:function(){this.init(),this.calculateAutoSize()},scrollWidth:function(){this.init(),this.calculateAutoSize()}},mounted:function(){this.viewInit(),this.lastScrollPos=this.isBoth()?{top:0,left:0}:0,this.lazyLoadState=this.lazyLoadState||{}},updated:function(){!this.initialized&&this.viewInit()},unmounted:function(){this.unbindResizeListener(),this.initialized=!1},methods:{viewInit:function(){n.ot(this.element)&&(this.setContentEl(this.content),this.init(),this.calculateAutoSize(),this.defaultWidth=n.G(this.element),this.defaultHeight=n.J(this.element),this.defaultContentWidth=n.G(this.content),this.defaultContentHeight=n.J(this.content),this.initialized=!0),this.element&&this.bindResizeListener()},init:function(){this.disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize())},isVertical:function(){return this.orientation===`vertical`},isHorizontal:function(){return this.orientation===`horizontal`},isBoth:function(){return this.orientation===`both`},scrollTo:function(e){this.element&&this.element.scrollTo(e)},scrollToIndex:function(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`auto`,r=this.isBoth(),i=this.isHorizontal();if(r?e.every(function(e){return e>-1}):e>-1){var a=this.first,o=this.element,s=o.scrollTop,c=s===void 0?0:s,l=o.scrollLeft,u=l===void 0?0:l,d=this.calculateNumItems().numToleratedItems,f=this.getContentPosition(),p=this.itemSize,m=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e<=(arguments.length>1?arguments[1]:void 0)?0:e},h=function(e,t,n){return e*t+n},g=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return t.scrollTo({left:e,top:r,behavior:n})},_=r?{rows:0,cols:0}:0,v=!1,y=!1;r?(_={rows:m(e[0],d[0]),cols:m(e[1],d[1])},g(h(_.cols,p[1],f.left),h(_.rows,p[0],f.top)),y=this.lastScrollPos.top!==c||this.lastScrollPos.left!==u,v=_.rows!==a.rows||_.cols!==a.cols):(_=m(e,d),i?g(h(_,p,f.left),c):g(u,h(_,p,f.top)),y=this.lastScrollPos!==(i?u:c),v=_!==a),this.isRangeChanged=v,y&&(this.first=_)}},scrollInView:function(e,t){var n=this,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`auto`;if(t){var i=this.isBoth(),a=this.isHorizontal();if(i?e.every(function(e){return e>-1}):e>-1){var o=this.getRenderedRange(),s=o.first,c=o.viewport,l=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n.scrollTo({left:e,top:t,behavior:r})},u=t===`to-start`,d=t===`to-end`;if(u){if(i)c.first.rows-s.rows>e[0]?l(c.first.cols*this.itemSize[1],(c.first.rows-1)*this.itemSize[0]):c.first.cols-s.cols>e[1]&&l((c.first.cols-1)*this.itemSize[1],c.first.rows*this.itemSize[0]);else if(c.first-s>e){var f=(c.first-1)*this.itemSize;a?l(f,0):l(0,f)}}else if(d){if(i)c.last.rows-s.rows<=e[0]+1?l(c.first.cols*this.itemSize[1],(c.first.rows+1)*this.itemSize[0]):c.last.cols-s.cols<=e[1]+1&&l((c.first.cols+1)*this.itemSize[1],c.first.rows*this.itemSize[0]);else if(c.last-s<=e+1){var p=(c.first+1)*this.itemSize;a?l(p,0):l(0,p)}}}}else this.scrollToIndex(e,r)},getRenderedRange:function(){var e=function(e,t){return Math.floor(e/(t||e))},t=this.first,n=0;if(this.element){var r=this.isBoth(),i=this.isHorizontal(),a=this.element,o=a.scrollTop,s=a.scrollLeft;r?(t={rows:e(o,this.itemSize[0]),cols:e(s,this.itemSize[1])},n={rows:t.rows+this.numItemsInViewport.rows,cols:t.cols+this.numItemsInViewport.cols}):(t=e(i?s:o,this.itemSize),n=t+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:t,last:n}}},calculateNumItems:function(){var e=this.isBoth(),t=this.isHorizontal(),n=this.itemSize,r=this.getContentPosition(),i=this.element?this.element.offsetWidth-r.left:0,a=this.element?this.element.offsetHeight-r.top:0,o=function(e,t){return Math.ceil(e/(t||e))},s=function(e){return Math.ceil(e/2)},c=e?{rows:o(a,n[0]),cols:o(i,n[1])}:o(t?i:a,n);return{numItemsInViewport:c,numToleratedItems:this.d_numToleratedItems||(e?[s(c.rows),s(c.cols)]:s(c))}},calculateOptions:function(){var e=this,t=this.isBoth(),n=this.first,r=this.calculateNumItems(),i=r.numItemsInViewport,a=r.numToleratedItems,o=function(t,n,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return e.getLast(t+n+(t<r?2:3)*r,i)},s=t?{rows:o(n.rows,i.rows,a[0]),cols:o(n.cols,i.cols,a[1],!0)}:o(n,i,a);this.last=s,this.numItemsInViewport=i,this.d_numToleratedItems=a,this.$emit(`update:numToleratedItems`,this.d_numToleratedItems),this.showLoader&&(this.loaderArr=t?Array.from({length:i.rows}).map(function(){return Array.from({length:i.cols})}):Array.from({length:i})),this.lazy&&Promise.resolve().then(function(){e.lazyLoadState={first:e.step?t?{rows:0,cols:n.cols}:0:n,last:Math.min(e.step?e.step:s,e.items?.length||0)},e.$emit(`lazy-load`,e.lazyLoadState)})},calculateAutoSize:function(){var e=this;this.autoSize&&!this.d_loading&&Promise.resolve().then(function(){if(e.content){var t=e.isBoth(),r=e.isHorizontal(),i=e.isVertical();e.content.style.minHeight=e.content.style.minWidth=`auto`,e.content.style.position=`relative`,e.element.style.contain=`none`;var a=[n.G(e.element),n.J(e.element)],o=a[0],s=a[1];(t||r)&&(e.element.style.width=o<e.defaultWidth?o+`px`:e.scrollWidth||e.defaultWidth+`px`),(t||i)&&(e.element.style.height=s<e.defaultHeight?s+`px`:e.scrollHeight||e.defaultHeight+`px`),e.content.style.minHeight=e.content.style.minWidth=``,e.content.style.position=``,e.element.style.contain=``}})},getLast:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(t?(this.columns||this.items[0])?.length||0:this.items?.length||0,e):0},getContentPosition:function(){if(this.content){var e=getComputedStyle(this.content),t=parseFloat(e.paddingLeft)+Math.max(parseFloat(e.left)||0,0),n=parseFloat(e.paddingRight)+Math.max(parseFloat(e.right)||0,0),r=parseFloat(e.paddingTop)+Math.max(parseFloat(e.top)||0,0),i=parseFloat(e.paddingBottom)+Math.max(parseFloat(e.bottom)||0,0);return{left:t,right:n,top:r,bottom:i,x:t+n,y:r+i}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var e=this;if(this.element){var t=this.isBoth(),n=this.isHorizontal(),r=this.element.parentElement,i=this.scrollWidth||`${this.element.offsetWidth||r.offsetWidth}px`,a=this.scrollHeight||`${this.element.offsetHeight||r.offsetHeight}px`,o=function(t,n){return e.element.style[t]=n};t||n?(o(`height`,a),o(`width`,i)):o(`height`,a)}},setSpacerSize:function(){var e=this,t=this.items;if(t){var n=this.isBoth(),r=this.isHorizontal(),i=this.getContentPosition(),a=function(t,n,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return e.spacerStyle=R(R({},e.spacerStyle),z({},`${t}`,(n||[]).length*r+i+`px`))};n?(a(`height`,t,this.itemSize[0],i.y),a(`width`,this.columns||t[1],this.itemSize[1],i.x)):r?a(`width`,this.columns||t,this.itemSize,i.x):a(`height`,t,this.itemSize,i.y)}},setContentPosition:function(e){var t=this;if(this.content&&!this.appendOnly){var n=this.isBoth(),r=this.isHorizontal(),i=e?e.first:this.first,a=function(e,t){return e*t},o=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return t.contentStyle=R(R({},t.contentStyle),{transform:`translate3d(${e}px, ${n}px, 0)`})};if(n)o(a(i.cols,this.itemSize[1]),a(i.rows,this.itemSize[0]));else{var s=a(i,this.itemSize);r?o(s,0):o(0,s)}}},onScrollPositionChange:function(e){var t=this,n=e.target,r=this.isBoth(),i=this.isHorizontal(),a=this.getContentPosition(),o=function(e,t){return e?e>t?e-t:e:0},s=function(e,t){return Math.floor(e/(t||e))},c=function(e,t,n,r,i,a){return e<=i?i:a?n-r-i:t+i-1},l=function(e,n,r,i,a,o,s,c){if(e<=o)return 0;var l=Math.max(0,s?e<n?r:e-o:e>n?r:e-2*o),u=t.getLast(l,c);return l>u?u-a:l},u=function(e,n,r,i,a,o){var s=n+i+2*a;return e>=a&&(s+=a+1),t.getLast(s,o)},d=o(n.scrollTop,a.top),f=o(n.scrollLeft,a.left),p=r?{rows:0,cols:0}:0,m=this.last,h=!1,g=this.lastScrollPos;if(r){var _=this.lastScrollPos.top<=d,v=this.lastScrollPos.left<=f;if(!this.appendOnly||this.appendOnly&&(_||v)){var y={rows:s(d,this.itemSize[0]),cols:s(f,this.itemSize[1])},b={rows:c(y.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],_),cols:c(y.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],v)};p={rows:l(y.rows,b.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],_),cols:l(y.cols,b.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],v,!0)},m={rows:u(y.rows,p.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:u(y.cols,p.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},h=p.rows!==this.first.rows||m.rows!==this.last.rows||p.cols!==this.first.cols||m.cols!==this.last.cols||this.isRangeChanged,g={top:d,left:f}}}else{var x=i?f:d,S=this.lastScrollPos<=x;if(!this.appendOnly||this.appendOnly&&S){var C=s(x,this.itemSize);p=l(C,c(C,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,S),this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,S),m=u(C,p,this.last,this.numItemsInViewport,this.d_numToleratedItems),h=p!==this.first||m!==this.last||this.isRangeChanged,g=x}}return{first:p,last:m,isRangeChanged:h,scrollPos:g}},onScrollChange:function(e){var t=this.onScrollPositionChange(e),n=t.first,r=t.last,i=t.isRangeChanged,a=t.scrollPos;if(i){var o={first:n,last:r};if(this.setContentPosition(o),this.first=n,this.last=r,this.lastScrollPos=a,this.$emit(`scroll-index-change`,o),this.lazy&&this.isPageChanged(n)){var s={first:this.step?Math.min(this.getPageByFirst(n)*this.step,(this.items?.length||0)-this.step):n,last:Math.min(this.step?(this.getPageByFirst(n)+1)*this.step:r,this.items?.length||0)};(this.lazyLoadState.first!==s.first||this.lazyLoadState.last!==s.last)&&this.$emit(`lazy-load`,s),this.lazyLoadState=s}}},onScroll:function(e){var t=this;this.$emit(`scroll`,e),this.delay?(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()&&(!this.d_loading&&this.showLoader&&(this.onScrollPositionChange(e).isRangeChanged||this.step&&this.isPageChanged())&&(this.d_loading=!0),this.scrollTimeout=setTimeout(function(){t.onScrollChange(e),t.d_loading&&t.showLoader&&(!t.lazy||t.loading===void 0)&&(t.d_loading=!1,t.page=t.getPageByFirst())},this.delay))):this.onScrollChange(e)},onResize:function(){var e=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(n.ot(e.element)){var t=e.isBoth(),r=e.isVertical(),i=e.isHorizontal(),a=[n.G(e.element),n.J(e.element)],o=a[0],s=a[1],c=o!==e.defaultWidth,l=s!==e.defaultHeight;(t?c||l:i?c:r&&l)&&(e.d_numToleratedItems=e.numToleratedItems,e.defaultWidth=o,e.defaultHeight=s,e.defaultContentWidth=n.G(e.content),e.defaultContentHeight=n.J(e.content),e.init())}},this.resizeDelay)},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener(`resize`,this.resizeListener),window.addEventListener(`orientationchange`,this.resizeListener),this.resizeObserver=new ResizeObserver(function(){e.onResize()}),this.resizeObserver.observe(this.element))},unbindResizeListener:function(){this.resizeListener&&=(window.removeEventListener(`resize`,this.resizeListener),window.removeEventListener(`orientationchange`,this.resizeListener),null),this.resizeObserver&&=(this.resizeObserver.disconnect(),null)},getOptions:function(e){var t=(this.items||[]).length,n=this.isBoth()?this.first.rows+e:this.first+e;return{index:n,count:t,first:n===0,last:n===t-1,even:n%2==0,odd:n%2!=0}},getLoaderOptions:function(e,t){var n=this.loaderArr.length;return R({index:e,count:n,first:e===0,last:e===n-1,even:e%2==0,odd:e%2!=0},t)},getPageByFirst:function(e){return Math.floor(((e??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(e){return this.step&&!this.lazy?this.page!==this.getPageByFirst(e??this.first):!0},setContentEl:function(e){this.content=e||this.content||n.gt(this.element,`[data-pc-section="content"]`)},elementRef:function(e){this.element=e},contentRef:function(e){this.content=e}},computed:{containerClass:function(){return[`p-virtualscroller`,this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return[`p-virtualscroller-content`,{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return[`p-virtualscroller-loader`,{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var e=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(t){return e.columns?t:t.slice(e.appendOnly?0:e.first.cols,e.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var e=this.isBoth(),t=this.isHorizontal();if(e||t)return this.d_loading&&this.loaderDisabled?e?this.loaderArr[0]:this.loaderArr:this.columns.slice(e?this.first.cols:this.first,e?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:r.n}},U=[`tabindex`];function W(e,t,n,r,i,a){var o=(0,d.resolveComponent)(`SpinnerIcon`);return e.disabled?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:1},[(0,d.renderSlot)(e.$slots,`default`),(0,d.renderSlot)(e.$slots,`content`,{items:e.items,rows:e.items,columns:a.loadedColumns})],64)):((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.mergeProps)({key:0,ref:a.elementRef,class:a.containerClass,tabindex:e.tabindex,style:e.style,onScroll:t[0]||=function(){return a.onScroll&&a.onScroll.apply(a,arguments)}},e.ptmi(`root`)),[(0,d.renderSlot)(e.$slots,`content`,{styleClass:a.contentClass,items:a.loadedItems,getItemOptions:a.getOptions,loading:i.d_loading,getLoaderOptions:a.getLoaderOptions,itemSize:e.itemSize,rows:a.loadedRows,columns:a.loadedColumns,contentRef:a.contentRef,spacerStyle:i.spacerStyle,contentStyle:i.contentStyle,vertical:a.isVertical(),horizontal:a.isHorizontal(),both:a.isBoth()},function(){return[(0,d.createElementVNode)(`div`,(0,d.mergeProps)({ref:a.contentRef,class:a.contentClass,style:i.contentStyle},e.ptm(`content`)),[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(a.loadedItems,function(t,n){return(0,d.renderSlot)(e.$slots,`item`,{key:n,item:t,options:a.getOptions(n)})}),128))],16)]}),e.showSpacer?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.mergeProps)({key:0,class:`p-virtualscroller-spacer`,style:i.spacerStyle},e.ptm(`spacer`)),null,16)):(0,d.createCommentVNode)(``,!0),!e.loaderDisabled&&e.showLoader&&i.d_loading?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.mergeProps)({key:1,class:a.loaderClass},e.ptm(`loader`)),[e.$slots&&e.$slots.loader?((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,{key:0},(0,d.renderList)(i.loaderArr,function(t,n){return(0,d.renderSlot)(e.$slots,`loader`,{key:n,options:a.getLoaderOptions(n,a.isBoth()&&{numCols:e.d_numItemsInViewport.cols})})}),128)):(0,d.createCommentVNode)(``,!0),(0,d.renderSlot)(e.$slots,`loadingicon`,{},function(){return[(0,d.createVNode)(o,(0,d.mergeProps)({spin:``,class:`p-virtualscroller-loading-icon`},e.ptm(`loadingIcon`)),null,16)]})],16)):(0,d.createCommentVNode)(``,!0)],16,U))}H.render=W;var G=n.r.extend({name:`select`,style:`
119
+ .p-select {
120
+ display: inline-flex;
121
+ cursor: pointer;
122
+ position: relative;
123
+ user-select: none;
124
+ background: dt('select.background');
125
+ border: 1px solid dt('select.border.color');
126
+ transition:
127
+ background dt('select.transition.duration'),
128
+ color dt('select.transition.duration'),
129
+ border-color dt('select.transition.duration'),
130
+ outline-color dt('select.transition.duration'),
131
+ box-shadow dt('select.transition.duration');
132
+ border-radius: dt('select.border.radius');
133
+ outline-color: transparent;
134
+ box-shadow: dt('select.shadow');
135
+ }
136
+
137
+ .p-select:not(.p-disabled):hover {
138
+ border-color: dt('select.hover.border.color');
139
+ }
140
+
141
+ .p-select:not(.p-disabled).p-focus {
142
+ border-color: dt('select.focus.border.color');
143
+ box-shadow: dt('select.focus.ring.shadow');
144
+ outline: dt('select.focus.ring.width') dt('select.focus.ring.style') dt('select.focus.ring.color');
145
+ outline-offset: dt('select.focus.ring.offset');
146
+ }
147
+
148
+ .p-select.p-variant-filled {
149
+ background: dt('select.filled.background');
150
+ }
151
+
152
+ .p-select.p-variant-filled:not(.p-disabled):hover {
153
+ background: dt('select.filled.hover.background');
154
+ }
155
+
156
+ .p-select.p-variant-filled:not(.p-disabled).p-focus {
157
+ background: dt('select.filled.focus.background');
158
+ }
159
+
160
+ .p-select.p-invalid {
161
+ border-color: dt('select.invalid.border.color');
162
+ }
163
+
164
+ .p-select.p-disabled {
165
+ opacity: 1;
166
+ background: dt('select.disabled.background');
167
+ }
168
+
169
+ .p-select-clear-icon {
170
+ align-self: center;
171
+ color: dt('select.clear.icon.color');
172
+ inset-inline-end: dt('select.dropdown.width');
173
+ }
174
+
175
+ .p-select-dropdown {
176
+ display: flex;
177
+ align-items: center;
178
+ justify-content: center;
179
+ flex-shrink: 0;
180
+ background: transparent;
181
+ color: dt('select.dropdown.color');
182
+ width: dt('select.dropdown.width');
183
+ border-start-end-radius: dt('select.border.radius');
184
+ border-end-end-radius: dt('select.border.radius');
185
+ }
186
+
187
+ .p-select-label {
188
+ display: block;
189
+ white-space: nowrap;
190
+ overflow: hidden;
191
+ flex: 1 1 auto;
192
+ width: 1%;
193
+ padding: dt('select.padding.y') dt('select.padding.x');
194
+ text-overflow: ellipsis;
195
+ cursor: pointer;
196
+ color: dt('select.color');
197
+ background: transparent;
198
+ border: 0 none;
199
+ outline: 0 none;
200
+ font-size: 1rem;
201
+ }
202
+
203
+ .p-select-label.p-placeholder {
204
+ color: dt('select.placeholder.color');
205
+ }
206
+
207
+ .p-select.p-invalid .p-select-label.p-placeholder {
208
+ color: dt('select.invalid.placeholder.color');
209
+ }
210
+
211
+ .p-select.p-disabled .p-select-label {
212
+ color: dt('select.disabled.color');
213
+ }
214
+
215
+ .p-select-label-empty {
216
+ overflow: hidden;
217
+ opacity: 0;
218
+ }
219
+
220
+ input.p-select-label {
221
+ cursor: default;
222
+ }
223
+
224
+ .p-select-overlay {
225
+ position: absolute;
226
+ top: 0;
227
+ left: 0;
228
+ background: dt('select.overlay.background');
229
+ color: dt('select.overlay.color');
230
+ border: 1px solid dt('select.overlay.border.color');
231
+ border-radius: dt('select.overlay.border.radius');
232
+ box-shadow: dt('select.overlay.shadow');
233
+ min-width: 100%;
234
+ transform-origin: inherit;
235
+ will-change: transform;
236
+ }
237
+
238
+ .p-select-header {
239
+ padding: dt('select.list.header.padding');
240
+ }
241
+
242
+ .p-select-filter {
243
+ width: 100%;
244
+ }
245
+
246
+ .p-select-list-container {
247
+ overflow: auto;
248
+ }
249
+
250
+ .p-select-option-group {
251
+ cursor: auto;
252
+ margin: 0;
253
+ padding: dt('select.option.group.padding');
254
+ background: dt('select.option.group.background');
255
+ color: dt('select.option.group.color');
256
+ font-weight: dt('select.option.group.font.weight');
257
+ }
258
+
259
+ .p-select-list {
260
+ margin: 0;
261
+ padding: 0;
262
+ list-style-type: none;
263
+ padding: dt('select.list.padding');
264
+ gap: dt('select.list.gap');
265
+ display: flex;
266
+ flex-direction: column;
267
+ }
268
+
269
+ .p-select-option {
270
+ cursor: pointer;
271
+ font-weight: normal;
272
+ white-space: nowrap;
273
+ position: relative;
274
+ overflow: hidden;
275
+ display: flex;
276
+ align-items: center;
277
+ padding: dt('select.option.padding');
278
+ border: 0 none;
279
+ color: dt('select.option.color');
280
+ background: transparent;
281
+ transition:
282
+ background dt('select.transition.duration'),
283
+ color dt('select.transition.duration'),
284
+ border-color dt('select.transition.duration'),
285
+ box-shadow dt('select.transition.duration'),
286
+ outline-color dt('select.transition.duration');
287
+ border-radius: dt('select.option.border.radius');
288
+ }
289
+
290
+ .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus {
291
+ background: dt('select.option.focus.background');
292
+ color: dt('select.option.focus.color');
293
+ }
294
+
295
+ .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover {
296
+ background: dt('select.option.focus.background');
297
+ color: dt('select.option.focus.color');
298
+ }
299
+
300
+ .p-select-option.p-select-option-selected {
301
+ background: dt('select.option.selected.background');
302
+ color: dt('select.option.selected.color');
303
+ }
304
+
305
+ .p-select-option.p-select-option-selected.p-focus {
306
+ background: dt('select.option.selected.focus.background');
307
+ color: dt('select.option.selected.focus.color');
308
+ }
309
+
310
+ .p-select-option-blank-icon {
311
+ flex-shrink: 0;
312
+ }
313
+
314
+ .p-select-option-check-icon {
315
+ position: relative;
316
+ flex-shrink: 0;
317
+ margin-inline-start: dt('select.checkmark.gutter.start');
318
+ margin-inline-end: dt('select.checkmark.gutter.end');
319
+ color: dt('select.checkmark.color');
320
+ }
321
+
322
+ .p-select-empty-message {
323
+ padding: dt('select.empty.message.padding');
324
+ }
325
+
326
+ .p-select-fluid {
327
+ display: flex;
328
+ width: 100%;
329
+ }
330
+
331
+ .p-select-sm .p-select-label {
332
+ font-size: dt('select.sm.font.size');
333
+ padding-block: dt('select.sm.padding.y');
334
+ padding-inline: dt('select.sm.padding.x');
335
+ }
336
+
337
+ .p-select-sm .p-select-dropdown .p-icon {
338
+ font-size: dt('select.sm.font.size');
339
+ width: dt('select.sm.font.size');
340
+ height: dt('select.sm.font.size');
341
+ }
342
+
343
+ .p-select-lg .p-select-label {
344
+ font-size: dt('select.lg.font.size');
345
+ padding-block: dt('select.lg.padding.y');
346
+ padding-inline: dt('select.lg.padding.x');
347
+ }
348
+
349
+ .p-select-lg .p-select-dropdown .p-icon {
350
+ font-size: dt('select.lg.font.size');
351
+ width: dt('select.lg.font.size');
352
+ height: dt('select.lg.font.size');
353
+ }
354
+
355
+ .p-floatlabel-in .p-select-filter {
356
+ padding-block-start: dt('select.padding.y');
357
+ padding-block-end: dt('select.padding.y');
358
+ }
359
+ `,classes:{root:function(e){var t=e.instance,n=e.props,r=e.state;return[`p-select p-component p-inputwrapper`,{"p-disabled":n.disabled,"p-invalid":t.$invalid,"p-variant-filled":t.$variant===`filled`,"p-focus":r.focused,"p-inputwrapper-filled":t.$filled,"p-inputwrapper-focus":r.focused||r.overlayVisible,"p-select-open":r.overlayVisible,"p-select-fluid":t.$fluid,"p-select-sm p-inputfield-sm":n.size===`small`,"p-select-lg p-inputfield-lg":n.size===`large`}]},label:function(e){var t=e.instance,n=e.props;return[`p-select-label`,{"p-placeholder":!n.editable&&t.label===n.placeholder,"p-select-label-empty":!n.editable&&!t.$slots.value&&(t.label===`p-emptylabel`||t.label?.length===0)}]},clearIcon:`p-select-clear-icon`,dropdown:`p-select-dropdown`,loadingicon:`p-select-loading-icon`,dropdownIcon:`p-select-dropdown-icon`,overlay:`p-select-overlay p-component`,header:`p-select-header`,pcFilter:`p-select-filter`,listContainer:`p-select-list-container`,list:`p-select-list`,optionGroup:`p-select-option-group`,optionGroupLabel:`p-select-option-group-label`,option:function(e){var t=e.instance,n=e.props,r=e.state,i=e.option,a=e.focusedOption;return[`p-select-option`,{"p-select-option-selected":t.isSelected(i)&&n.highlightOnSelect,"p-focus":r.focusedOptionIndex===a,"p-disabled":t.isOptionDisabled(i)}]},optionLabel:`p-select-option-label`,optionCheckIcon:`p-select-option-check-icon`,optionBlankIcon:`p-select-option-blank-icon`,emptyMessage:`p-select-empty-message`}}),K=e.t({default:()=>$}),q={name:`BaseSelect`,extends:l.t,props:{options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:`14rem`},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:`contains`},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:`body`},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:G,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function J(e){"@babel/helpers - typeof";return J=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},J(e)}function oe(e){return ue(e)||le(e)||ce(e)||se()}function se(){throw TypeError(`Invalid attempt to spread non-iterable instance.
360
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ce(e,t){if(e){if(typeof e==`string`)return Y(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)?Y(e,t):void 0}}function le(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function ue(e){if(Array.isArray(e))return Y(e)}function Y(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 X(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 Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?X(Object(n),!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return(t=de(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function de(e){var t=fe(e,`string`);return J(t)==`symbol`?t:t+``}function fe(e,t){if(J(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(J(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var $={name:`Select`,extends:q,inheritAttrs:!1,emits:[`change`,`focus`,`blur`,`before-show`,`before-hide`,`show`,`hide`,`filter`],outsideClickListener:null,scrollHandler:null,resizeListener:null,labelClickListener:null,matchMediaOrientationListener:null,overlay:null,list:null,virtualScroller:null,searchTimeout:null,searchValue:null,isModelValueChanged:!1,data:function(){return{clicked:!1,focused:!1,focusedOptionIndex:-1,filterValue:null,overlayVisible:!1,queryOrientation:null}},watch:{modelValue:function(){this.isModelValueChanged=!0},options:function(){this.autoUpdateModel()}},mounted:function(){this.autoUpdateModel(),this.bindLabelClickListener(),this.bindMatchMediaOrientationListener()},updated:function(){this.overlayVisible&&this.isModelValueChanged&&this.scrollInView(this.findSelectedOptionIndex()),this.isModelValueChanged=!1},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.unbindLabelClickListener(),this.unbindMatchMediaOrientationListener(),this.scrollHandler&&=(this.scrollHandler.destroy(),null),this.overlay&&=(i.o.clear(this.overlay),null)},methods:{getOptionIndex:function(e,t){return this.virtualScrollerDisabled?e:t&&t(e).index},getOptionLabel:function(e){return this.optionLabel?n.w(e,this.optionLabel):e},getOptionValue:function(e){return this.optionValue?n.w(e,this.optionValue):e},getOptionRenderKey:function(e,t){return(this.dataKey?n.w(e,this.dataKey):this.getOptionLabel(e))+`_`+t},getPTItemOptions:function(e,t,n,r){return this.ptm(r,{context:{option:e,index:n,selected:this.isSelected(e),focused:this.focusedOptionIndex===this.getOptionIndex(n,t),disabled:this.isOptionDisabled(e)}})},isOptionDisabled:function(e){return this.optionDisabled?n.w(e,this.optionDisabled):!1},isOptionGroup:function(e){return this.optionGroupLabel&&e.optionGroup&&e.group},getOptionGroupLabel:function(e){return n.w(e,this.optionGroupLabel)},getOptionGroupChildren:function(e){return n.w(e,this.optionGroupChildren)},getAriaPosInset:function(e){var t=this;return(this.optionGroupLabel?e-this.visibleOptions.slice(0,e).filter(function(e){return t.isOptionGroup(e)}).length:e)+1},show:function(e){this.$emit(`before-show`),this.overlayVisible=!0,this.focusedOptionIndex=this.focusedOptionIndex===-1?this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex():this.focusedOptionIndex,e&&n.it(this.$refs.focusInput)},hide:function(e){var t=this,r=function(){t.$emit(`before-hide`),t.overlayVisible=!1,t.clicked=!1,t.focusedOptionIndex=-1,t.searchValue=``,t.resetFilterOnHide&&(t.filterValue=null),e&&n.it(t.$refs.focusInput)};setTimeout(function(){r()},0)},onFocus:function(e){this.disabled||(this.focused=!0,this.overlayVisible&&(this.focusedOptionIndex=this.focusedOptionIndex===-1?this.autoOptionFocus?this.findFirstFocusedOptionIndex():this.editable?-1:this.findSelectedOptionIndex():this.focusedOptionIndex,this.scrollInView(this.focusedOptionIndex)),this.$emit(`focus`,e))},onBlur:function(e){var t=this;setTimeout(function(){var n,r;t.focused=!1,t.focusedOptionIndex=-1,t.searchValue=``,t.$emit(`blur`,e),(n=(r=t.formField).onBlur)==null||n.call(r,e)},100)},onKeyDown:function(e){var t=this;if(this.disabled){e.preventDefault();return}if(n.O())switch(e.code){case`Backspace`:this.onBackspaceKey(e,this.editable);break;case`Enter`:case`NumpadDecimal`:this.onEnterKey(e);break;default:e.preventDefault();return}var r=e.metaKey||e.ctrlKey;switch(e.code){case`ArrowDown`:this.onArrowDownKey(e);break;case`ArrowUp`:this.onArrowUpKey(e,this.editable);break;case`ArrowLeft`:case`ArrowRight`:this.onArrowLeftKey(e,this.editable);break;case`Home`:this.onHomeKey(e,this.editable);break;case`End`:this.onEndKey(e,this.editable);break;case`PageDown`:this.onPageDownKey(e);break;case`PageUp`:this.onPageUpKey(e);break;case`Space`:this.onSpaceKey(e,this.editable);break;case`Enter`:case`NumpadEnter`:this.onEnterKey(e);break;case`Escape`:this.onEscapeKey(e);break;case`Tab`:this.onTabKey(e);break;case`Backspace`:this.onBackspaceKey(e,this.editable);break;case`ShiftLeft`:case`ShiftRight`:break;default:!r&&n.c(e.key)&&(!this.overlayVisible&&this.show(),!this.editable&&this.searchOptions(e,e.key),this.filter&&this.$nextTick(function(){t.$refs.filterInput&&n.it(t.$refs.filterInput.$el)}));break}this.clicked=!1},onEditableInput:function(e){var t=e.target.value;this.searchValue=``,!this.searchOptions(e,t)&&(this.focusedOptionIndex=-1),this.updateModel(e,t),!this.overlayVisible&&n.E(t)&&this.show()},onContainerClick:function(e){this.disabled||this.loading||e.target.tagName===`INPUT`||e.target.getAttribute(`data-pc-section`)===`clearicon`||e.target.closest(`[data-pc-section="clearicon"]`)||((!this.overlay||!this.overlay.contains(e.target))&&(this.overlayVisible?this.hide(!0):this.show(!0)),this.clicked=!0)},onClearClick:function(e){this.updateModel(e,null),this.resetFilterOnClear&&(this.filterValue=null)},onFirstHiddenFocus:function(e){n.it(e.relatedTarget===this.$refs.focusInput?n.ht(this.overlay,`:not([data-p-hidden-focusable="true"])`):this.$refs.focusInput)},onLastHiddenFocus:function(e){n.it(e.relatedTarget===this.$refs.focusInput?n.z(this.overlay,`:not([data-p-hidden-focusable="true"])`):this.$refs.focusInput)},onOptionSelect:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(this.overlayVisible){var r=this.getOptionValue(t);this.updateModel(e,r),n&&this.hide(!0)}},onOptionMouseMove:function(e,t){this.focusOnHover&&this.changeFocusedOptionIndex(e,t)},onFilterChange:function(e){var t=e.target.value;this.filterValue=t,this.focusedOptionIndex=-1,this.$emit(`filter`,{originalEvent:e,value:t}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(e){if(!e.isComposing)switch(e.code){case`ArrowDown`:this.onArrowDownKey(e);break;case`ArrowUp`:this.onArrowUpKey(e,!0);break;case`ArrowLeft`:case`ArrowRight`:this.onArrowLeftKey(e,!0);break;case`Home`:this.onHomeKey(e,!0);break;case`End`:this.onEndKey(e,!0);break;case`Enter`:case`NumpadEnter`:this.onEnterKey(e);break;case`Escape`:this.onEscapeKey(e);break;case`Tab`:this.onTabKey(e);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(e){i.n.emit(`overlay-click`,{originalEvent:e,target:this.$el})},onOverlayKeyDown:function(e){switch(e.code){case`Escape`:this.onEscapeKey(e);break}},onArrowDownKey:function(e){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(e,this.findSelectedOptionIndex());else{var t=this.focusedOptionIndex===-1?this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex():this.findNextOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(e,t)}e.preventDefault()},onArrowUpKey:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(e.altKey&&!t)this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),e.preventDefault();else{var n=this.focusedOptionIndex===-1?this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex():this.findPrevOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(e,n),!this.overlayVisible&&this.show(),e.preventDefault()}},onArrowLeftKey:function(e){arguments.length>1&&arguments[1]!==void 0&&arguments[1]&&(this.focusedOptionIndex=-1)},onHomeKey:function(e){if(arguments.length>1&&arguments[1]!==void 0&&arguments[1]){var t=e.currentTarget;e.shiftKey?t.setSelectionRange(0,e.target.selectionStart):(t.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(e,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()},onEndKey:function(e){if(arguments.length>1&&arguments[1]!==void 0&&arguments[1]){var t=e.currentTarget;if(e.shiftKey)t.setSelectionRange(e.target.selectionStart,t.value.length);else{var n=t.value.length;t.setSelectionRange(n,n),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(e,this.findLastOptionIndex()),!this.overlayVisible&&this.show();e.preventDefault()},onPageUpKey:function(e){this.scrollInView(0),e.preventDefault()},onPageDownKey:function(e){this.scrollInView(this.visibleOptions.length-1),e.preventDefault()},onEnterKey:function(e){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.hide(!0)):(this.focusedOptionIndex=-1,this.onArrowDownKey(e)),e.preventDefault()},onSpaceKey:function(e){!(arguments.length>1&&arguments[1]!==void 0&&arguments[1])&&this.onEnterKey(e)},onEscapeKey:function(e){this.overlayVisible&&this.hide(!0),e.preventDefault(),e.stopPropagation()},onTabKey:function(e){arguments.length>1&&arguments[1]!==void 0&&arguments[1]||(this.overlayVisible&&this.hasFocusableElements()?(n.it(this.$refs.firstHiddenFocusableElementOnOverlay),e.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(e){arguments.length>1&&arguments[1]!==void 0&&arguments[1]&&!this.overlayVisible&&this.show()},onOverlayEnter:function(e){var t=this;i.o.set(`overlay`,e,this.$primevue.config.zIndex.overlay),n.K(e,{position:`absolute`,top:`0`}),this.alignOverlay(),this.scrollInView(),this.$attrSelector&&e.setAttribute(this.$attrSelector,``),setTimeout(function(){t.autoFilterFocus&&t.filter&&n.it(t.$refs.filterInput.$el),t.autoUpdateModel()},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit(`show`)},onOverlayLeave:function(e){var t=this;e.style.pointerEvents=`none`,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){t.$refs.filterInput&&n.it(t.$refs.filterInput.$el)}),this.$emit(`hide`),this.overlay=null},onOverlayAfterLeave:function(e){i.o.clear(e)},alignOverlay:function(){this.appendTo===`self`?n.F(this.overlay,this.$el):this.overlay&&(this.overlay.style.minWidth=n.mt(this.$el)+`px`,n.j(this.overlay,this.$el))},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){var n=t.composedPath();e.overlayVisible&&e.overlay&&!n.includes(e.$el)&&!n.includes(e.overlay)&&e.hide()},document.addEventListener(`click`,this.outsideClickListener,!0))},unbindOutsideClickListener:function(){this.outsideClickListener&&=(document.removeEventListener(`click`,this.outsideClickListener,!0),null)},bindScrollListener:function(){var e=this;this.scrollHandler||=new i.r(this.$refs.container,function(){e.overlayVisible&&e.hide()}),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!n.et()&&e.hide()},window.addEventListener(`resize`,this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&=(window.removeEventListener(`resize`,this.resizeListener),null)},bindLabelClickListener:function(){var e=this;if(!this.editable&&!this.labelClickListener){var t=document.querySelector(`label[for="${this.labelId}"]`);t&&n.ot(t)&&(this.labelClickListener=function(){n.it(e.$refs.focusInput)},t.addEventListener(`click`,this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var e=document.querySelector(`label[for="${this.labelId}"]`);e&&n.ot(e)&&e.removeEventListener(`click`,this.labelClickListener)}},bindMatchMediaOrientationListener:function(){var e=this;this.matchMediaOrientationListener||(this.queryOrientation=matchMedia(`(orientation: portrait)`),this.matchMediaOrientationListener=function(){e.alignOverlay()},this.queryOrientation.addEventListener(`change`,this.matchMediaOrientationListener))},unbindMatchMediaOrientationListener:function(){this.matchMediaOrientationListener&&=(this.queryOrientation.removeEventListener(`change`,this.matchMediaOrientationListener),this.queryOrientation=null,null)},hasFocusableElements:function(){return n.rt(this.overlay,`:not([data-p-hidden-focusable="true"])`).length>0},isOptionExactMatched:function(e){return this.isValidOption(e)&&typeof this.getOptionLabel(e)==`string`&&this.getOptionLabel(e)?.toLocaleLowerCase(this.filterLocale)==this.searchValue.toLocaleLowerCase(this.filterLocale)},isOptionStartsWith:function(e){return this.isValidOption(e)&&typeof this.getOptionLabel(e)==`string`&&this.getOptionLabel(e)?.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(e){return n.E(e)&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))},isValidSelectedOption:function(e){return this.isValidOption(e)&&this.isSelected(e)},isSelected:function(e){return n.b(this.d_value,this.getOptionValue(e),this.equalityKey)},findFirstOptionIndex:function(){var e=this;return this.visibleOptions.findIndex(function(t){return e.isValidOption(t)})},findLastOptionIndex:function(){var e=this;return n.l(this.visibleOptions,function(t){return e.isValidOption(t)})},findNextOptionIndex:function(e){var t=this,n=e<this.visibleOptions.length-1?this.visibleOptions.slice(e+1).findIndex(function(e){return t.isValidOption(e)}):-1;return n>-1?n+e+1:e},findPrevOptionIndex:function(e){var t=this,r=e>0?n.l(this.visibleOptions.slice(0,e),function(e){return t.isValidOption(e)}):-1;return r>-1?r:e},findSelectedOptionIndex:function(){var e=this;return this.visibleOptions.findIndex(function(t){return e.isValidSelectedOption(t)})},findFirstFocusedOptionIndex:function(){var e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e},findLastFocusedOptionIndex:function(){var e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e},searchOptions:function(e,t){var r=this;this.searchValue=(this.searchValue||``)+t;var i=-1,a=!1;return n.E(this.searchValue)&&(i=this.visibleOptions.findIndex(function(e){return r.isOptionExactMatched(e)}),i===-1&&(i=this.visibleOptions.findIndex(function(e){return r.isOptionStartsWith(e)})),i!==-1&&(a=!0),i===-1&&this.focusedOptionIndex===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(e,i)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue=``,r.searchTimeout=null},500),a},changeFocusedOptionIndex:function(e,t){this.focusedOptionIndex!==t&&(this.focusedOptionIndex=t,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(e,this.visibleOptions[t],!1))},scrollInView:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var r=t===-1?e.focusedOptionId:`${e.$id}_${t}`,i=n.gt(e.list,`li[id="${r}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:`nearest`,inline:`nearest`}):e.virtualScrollerDisabled||e.virtualScroller&&e.virtualScroller.scrollToIndex(t===-1?e.focusedOptionIndex:t)})},autoUpdateModel:function(){this.autoOptionFocus&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex()),this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1)},updateModel:function(e,t){this.writeValue(t,e),this.$emit(`change`,{originalEvent:e,value:t})},flatOptions:function(e){var t=this;return(e||[]).reduce(function(e,n,r){e.push({optionGroup:n,group:!0,index:r});var i=t.getOptionGroupChildren(n);return i&&i.forEach(function(t){return e.push(t)}),e},[])},overlayRef:function(e){this.overlay=e},listRef:function(e,t){this.list=e,t&&t(e)},virtualScrollerRef:function(e){this.virtualScroller=e}},computed:{visibleOptions:function(){var e=this,t=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var n=_.filter(t,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var r=this.options||[],i=[];return r.forEach(function(t){var r=e.getOptionGroupChildren(t).filter(function(e){return n.includes(e)});r.length>0&&i.push(Z(Z({},t),{},Q({},typeof e.optionGroupChildren==`string`?e.optionGroupChildren:`items`,oe(r))))}),this.flatOptions(i)}return n}return t},hasSelectedOption:function(){return this.$filled},label:function(){var e=this.findSelectedOptionIndex();return e===-1?this.placeholder||`p-emptylabel`:this.getOptionLabel(this.visibleOptions[e])},editableInputValue:function(){var e=this.findSelectedOptionIndex();return e===-1?this.d_value||``:this.getOptionLabel(this.visibleOptions[e])},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return n.E(this.visibleOptions)?this.filterMessageText.replaceAll(`{0}`,this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||``},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||``},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||``},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||``},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||``},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll(`{0}`,`1`):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex===-1?null:`${this.$id}_${this.focusedOptionIndex}`},ariaSetSize:function(){var e=this;return this.visibleOptions.filter(function(t){return!e.isOptionGroup(t)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&!this.disabled&&!this.loading},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions},containerDataP:function(){return t.t(Q({invalid:this.$invalid,disabled:this.disabled,focus:this.focused,fluid:this.$fluid,filled:this.$variant===`filled`},this.size,this.size))},labelDataP:function(){return t.t(Q(Q({placeholder:!this.editable&&this.label===this.placeholder,clearable:this.showClear,disabled:this.disabled,editable:this.editable},this.size,this.size),`empty`,!this.editable&&!this.$slots.value&&(this.label===`p-emptylabel`||this.label.length===0)))},dropdownIconDataP:function(){return t.t(Q({},this.size,this.size))},overlayDataP:function(){return t.t(Q({},`portal-`+this.appendTo,`portal-`+this.appendTo))}},directives:{ripple:r.t},components:{InputText:u.n,VirtualScroller:H,Portal:i.t,InputIcon:N,IconField:j,TimesIcon:o.t,ChevronDownIcon:c.t,SpinnerIcon:r.n,SearchIcon:T,CheckIcon:s.t,BlankIcon:v}},pe=[`id`,`data-p`],me=[`name`,`id`,`value`,`placeholder`,`tabindex`,`disabled`,`aria-label`,`aria-labelledby`,`aria-expanded`,`aria-controls`,`aria-activedescendant`,`aria-invalid`,`data-p`],he=[`name`,`id`,`tabindex`,`aria-label`,`aria-labelledby`,`aria-expanded`,`aria-controls`,`aria-activedescendant`,`aria-invalid`,`aria-disabled`,`data-p`],ge=[`data-p`],_e=[`id`],ve=[`id`],ye=[`id`,`aria-label`,`aria-selected`,`aria-disabled`,`aria-setsize`,`aria-posinset`,`onMousedown`,`onMousemove`,`data-p-selected`,`data-p-focused`,`data-p-disabled`];function be(e,t,n,r,i,a){var o=(0,d.resolveComponent)(`SpinnerIcon`),s=(0,d.resolveComponent)(`InputText`),c=(0,d.resolveComponent)(`SearchIcon`),l=(0,d.resolveComponent)(`InputIcon`),u=(0,d.resolveComponent)(`IconField`),f=(0,d.resolveComponent)(`CheckIcon`),p=(0,d.resolveComponent)(`BlankIcon`),m=(0,d.resolveComponent)(`VirtualScroller`),h=(0,d.resolveComponent)(`Portal`),g=(0,d.resolveDirective)(`ripple`);return(0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.mergeProps)({ref:`container`,id:e.$id,class:e.cx(`root`),onClick:t[12]||=function(){return a.onContainerClick&&a.onContainerClick.apply(a,arguments)},"data-p":a.containerDataP},e.ptmi(`root`)),[e.editable?((0,d.openBlock)(),(0,d.createElementBlock)(`input`,(0,d.mergeProps)({key:0,ref:`focusInput`,name:e.name,id:e.labelId||e.inputId,type:`text`,class:[e.cx(`label`),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],value:a.editableInputValue,placeholder:e.placeholder,tabindex:e.disabled?-1:e.tabindex,disabled:e.disabled,autocomplete:`off`,role:`combobox`,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":`listbox`,"aria-expanded":i.overlayVisible,"aria-controls":i.overlayVisible?e.$id+`_list`:void 0,"aria-activedescendant":i.focused?a.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,onFocus:t[0]||=function(){return a.onFocus&&a.onFocus.apply(a,arguments)},onBlur:t[1]||=function(){return a.onBlur&&a.onBlur.apply(a,arguments)},onKeydown:t[2]||=function(){return a.onKeyDown&&a.onKeyDown.apply(a,arguments)},onInput:t[3]||=function(){return a.onEditableInput&&a.onEditableInput.apply(a,arguments)},"data-p":a.labelDataP},e.ptm(`label`)),null,16,me)):((0,d.openBlock)(),(0,d.createElementBlock)(`span`,(0,d.mergeProps)({key:1,ref:`focusInput`,name:e.name,id:e.labelId||e.inputId,class:[e.cx(`label`),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],tabindex:e.disabled?-1:e.tabindex,role:`combobox`,"aria-label":e.ariaLabel||(a.label===`p-emptylabel`?void 0:a.label),"aria-labelledby":e.ariaLabelledby,"aria-haspopup":`listbox`,"aria-expanded":i.overlayVisible,"aria-controls":e.$id+`_list`,"aria-activedescendant":i.focused?a.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,"aria-disabled":e.disabled,onFocus:t[4]||=function(){return a.onFocus&&a.onFocus.apply(a,arguments)},onBlur:t[5]||=function(){return a.onBlur&&a.onBlur.apply(a,arguments)},onKeydown:t[6]||=function(){return a.onKeyDown&&a.onKeyDown.apply(a,arguments)},"data-p":a.labelDataP},e.ptm(`label`)),[(0,d.renderSlot)(e.$slots,`value`,{value:e.d_value,placeholder:e.placeholder},function(){return[(0,d.createTextVNode)((0,d.toDisplayString)(a.label===`p-emptylabel`?`\xA0`:a.label??`empty`),1)]})],16,he)),a.isClearIconVisible?(0,d.renderSlot)(e.$slots,`clearicon`,{key:2,class:(0,d.normalizeClass)(e.cx(`clearIcon`)),clearCallback:a.onClearClick},function(){return[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.clearIcon?`i`:`TimesIcon`),(0,d.mergeProps)({ref:`clearIcon`,class:[e.cx(`clearIcon`),e.clearIcon],onClick:a.onClearClick},e.ptm(`clearIcon`),{"data-pc-section":`clearicon`}),null,16,[`class`,`onClick`]))]}):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,(0,d.mergeProps)({class:e.cx(`dropdown`)},e.ptm(`dropdown`)),[e.loading?(0,d.renderSlot)(e.$slots,`loadingicon`,{key:0,class:(0,d.normalizeClass)(e.cx(`loadingIcon`))},function(){return[e.loadingIcon?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,(0,d.mergeProps)({key:0,class:[e.cx(`loadingIcon`),`pi-spin`,e.loadingIcon],"aria-hidden":`true`},e.ptm(`loadingIcon`)),null,16)):((0,d.openBlock)(),(0,d.createBlock)(o,(0,d.mergeProps)({key:1,class:e.cx(`loadingIcon`),spin:``,"aria-hidden":`true`},e.ptm(`loadingIcon`)),null,16,[`class`]))]}):(0,d.renderSlot)(e.$slots,`dropdownicon`,{key:1,class:(0,d.normalizeClass)(e.cx(`dropdownIcon`))},function(){return[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.dropdownIcon?`span`:`ChevronDownIcon`),(0,d.mergeProps)({class:[e.cx(`dropdownIcon`),e.dropdownIcon],"aria-hidden":`true`,"data-p":a.dropdownIconDataP},e.ptm(`dropdownIcon`)),null,16,[`class`,`data-p`]))]})],16),(0,d.createVNode)(h,{appendTo:e.appendTo},{default:(0,d.withCtx)(function(){return[(0,d.createVNode)(d.Transition,(0,d.mergeProps)({name:`p-anchored-overlay`,onEnter:a.onOverlayEnter,onAfterEnter:a.onOverlayAfterEnter,onLeave:a.onOverlayLeave,onAfterLeave:a.onOverlayAfterLeave},e.ptm(`transition`)),{default:(0,d.withCtx)(function(){return[i.overlayVisible?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.mergeProps)({key:0,ref:a.overlayRef,class:[e.cx(`overlay`),e.panelClass,e.overlayClass],style:[e.panelStyle,e.overlayStyle],onClick:t[10]||=function(){return a.onOverlayClick&&a.onOverlayClick.apply(a,arguments)},onKeydown:t[11]||=function(){return a.onOverlayKeyDown&&a.onOverlayKeyDown.apply(a,arguments)},"data-p":a.overlayDataP},e.ptm(`overlay`)),[(0,d.createElementVNode)(`span`,(0,d.mergeProps)({ref:`firstHiddenFocusableElementOnOverlay`,role:`presentation`,"aria-hidden":`true`,class:`p-hidden-accessible p-hidden-focusable`,tabindex:0,onFocus:t[7]||=function(){return a.onFirstHiddenFocus&&a.onFirstHiddenFocus.apply(a,arguments)}},e.ptm(`hiddenFirstFocusableEl`),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),(0,d.renderSlot)(e.$slots,`header`,{value:e.d_value,options:a.visibleOptions}),e.filter?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,(0,d.mergeProps)({key:0,class:e.cx(`header`)},e.ptm(`header`)),[(0,d.createVNode)(u,{unstyled:e.unstyled,pt:e.ptm(`pcFilterContainer`)},{default:(0,d.withCtx)(function(){return[(0,d.createVNode)(s,{ref:`filterInput`,type:`text`,value:i.filterValue,onVnodeMounted:a.onFilterUpdated,onVnodeUpdated:a.onFilterUpdated,class:(0,d.normalizeClass)(e.cx(`pcFilter`)),placeholder:e.filterPlaceholder,variant:e.variant,unstyled:e.unstyled,role:`searchbox`,autocomplete:`off`,"aria-owns":e.$id+`_list`,"aria-activedescendant":a.focusedOptionId,onKeydown:a.onFilterKeyDown,onBlur:a.onFilterBlur,onInput:a.onFilterChange,pt:e.ptm(`pcFilter`),formControl:{novalidate:!0}},null,8,[`value`,`onVnodeMounted`,`onVnodeUpdated`,`class`,`placeholder`,`variant`,`unstyled`,`aria-owns`,`aria-activedescendant`,`onKeydown`,`onBlur`,`onInput`,`pt`]),(0,d.createVNode)(l,{unstyled:e.unstyled,pt:e.ptm(`pcFilterIconContainer`)},{default:(0,d.withCtx)(function(){return[(0,d.renderSlot)(e.$slots,`filtericon`,{},function(){return[e.filterIcon?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,(0,d.mergeProps)({key:0,class:e.filterIcon},e.ptm(`filterIcon`)),null,16)):((0,d.openBlock)(),(0,d.createBlock)(c,(0,d.normalizeProps)((0,d.mergeProps)({key:1},e.ptm(`filterIcon`))),null,16))]})]}),_:3},8,[`unstyled`,`pt`])]}),_:3},8,[`unstyled`,`pt`]),(0,d.createElementVNode)(`span`,(0,d.mergeProps)({role:`status`,"aria-live":`polite`,class:`p-hidden-accessible`},e.ptm(`hiddenFilterResult`),{"data-p-hidden-accessible":!0}),(0,d.toDisplayString)(a.filterResultMessageText),17)],16)):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`div`,(0,d.mergeProps)({class:e.cx(`listContainer`),style:{"max-height":a.virtualScrollerDisabled?e.scrollHeight:``}},e.ptm(`listContainer`)),[(0,d.createVNode)(m,(0,d.mergeProps)({ref:a.virtualScrollerRef},e.virtualScrollerOptions,{items:a.visibleOptions,style:{height:e.scrollHeight},tabindex:-1,disabled:a.virtualScrollerDisabled,pt:e.ptm(`virtualScroller`)}),(0,d.createSlots)({content:(0,d.withCtx)(function(n){var r=n.styleClass,o=n.contentRef,s=n.items,c=n.getItemOptions,l=n.contentStyle,u=n.itemSize;return[(0,d.createElementVNode)(`ul`,(0,d.mergeProps)({ref:function(e){return a.listRef(e,o)},id:e.$id+`_list`,class:[e.cx(`list`),r],style:l,role:`listbox`},e.ptm(`list`)),[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(s,function(n,r){return(0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:a.getOptionRenderKey(n,a.getOptionIndex(r,c))},[a.isOptionGroup(n)?((0,d.openBlock)(),(0,d.createElementBlock)(`li`,(0,d.mergeProps)({key:0,id:e.$id+`_`+a.getOptionIndex(r,c),style:{height:u?u+`px`:void 0},class:e.cx(`optionGroup`),role:`option`},{ref_for:!0},e.ptm(`optionGroup`)),[(0,d.renderSlot)(e.$slots,`optiongroup`,{option:n.optionGroup,index:a.getOptionIndex(r,c)},function(){return[(0,d.createElementVNode)(`span`,(0,d.mergeProps)({class:e.cx(`optionGroupLabel`)},{ref_for:!0},e.ptm(`optionGroupLabel`)),(0,d.toDisplayString)(a.getOptionGroupLabel(n.optionGroup)),17)]})],16,ve)):(0,d.withDirectives)(((0,d.openBlock)(),(0,d.createElementBlock)(`li`,(0,d.mergeProps)({key:1,id:e.$id+`_`+a.getOptionIndex(r,c),class:e.cx(`option`,{option:n,focusedOption:a.getOptionIndex(r,c)}),style:{height:u?u+`px`:void 0},role:`option`,"aria-label":a.getOptionLabel(n),"aria-selected":a.isSelected(n),"aria-disabled":a.isOptionDisabled(n),"aria-setsize":a.ariaSetSize,"aria-posinset":a.getAriaPosInset(a.getOptionIndex(r,c)),onMousedown:function(e){return a.onOptionSelect(e,n)},onMousemove:function(e){return a.onOptionMouseMove(e,a.getOptionIndex(r,c))},onClick:t[8]||=(0,d.withModifiers)(function(){},[`stop`]),"data-p-selected":!e.checkmark&&a.isSelected(n),"data-p-focused":i.focusedOptionIndex===a.getOptionIndex(r,c),"data-p-disabled":a.isOptionDisabled(n)},{ref_for:!0},a.getPTItemOptions(n,c,r,`option`)),[e.checkmark?((0,d.openBlock)(),(0,d.createElementBlock)(d.Fragment,{key:0},[a.isSelected(n)?((0,d.openBlock)(),(0,d.createBlock)(f,(0,d.mergeProps)({key:0,class:e.cx(`optionCheckIcon`)},{ref_for:!0},e.ptm(`optionCheckIcon`)),null,16,[`class`])):((0,d.openBlock)(),(0,d.createBlock)(p,(0,d.mergeProps)({key:1,class:e.cx(`optionBlankIcon`)},{ref_for:!0},e.ptm(`optionBlankIcon`)),null,16,[`class`]))],64)):(0,d.createCommentVNode)(``,!0),(0,d.renderSlot)(e.$slots,`option`,{option:n,selected:a.isSelected(n),index:a.getOptionIndex(r,c)},function(){return[(0,d.createElementVNode)(`span`,(0,d.mergeProps)({class:e.cx(`optionLabel`)},{ref_for:!0},e.ptm(`optionLabel`)),(0,d.toDisplayString)(a.getOptionLabel(n)),17)]})],16,ye)),[[g]])],64)}),128)),i.filterValue&&(!s||s&&s.length===0)?((0,d.openBlock)(),(0,d.createElementBlock)(`li`,(0,d.mergeProps)({key:0,class:e.cx(`emptyMessage`),role:`option`},e.ptm(`emptyMessage`),{"data-p-hidden-accessible":!0}),[(0,d.renderSlot)(e.$slots,`emptyfilter`,{},function(){return[(0,d.createTextVNode)((0,d.toDisplayString)(a.emptyFilterMessageText),1)]})],16)):!e.options||e.options&&e.options.length===0?((0,d.openBlock)(),(0,d.createElementBlock)(`li`,(0,d.mergeProps)({key:1,class:e.cx(`emptyMessage`),role:`option`},e.ptm(`emptyMessage`),{"data-p-hidden-accessible":!0}),[(0,d.renderSlot)(e.$slots,`empty`,{},function(){return[(0,d.createTextVNode)((0,d.toDisplayString)(a.emptyMessageText),1)]})],16)):(0,d.createCommentVNode)(``,!0)],16,_e)]}),_:2},[e.$slots.loader?{name:`loader`,fn:(0,d.withCtx)(function(t){var n=t.options;return[(0,d.renderSlot)(e.$slots,`loader`,{options:n})]}),key:`0`}:void 0]),1040,[`items`,`style`,`disabled`,`pt`])],16),(0,d.renderSlot)(e.$slots,`footer`,{value:e.d_value,options:a.visibleOptions}),!e.options||e.options&&e.options.length===0?((0,d.openBlock)(),(0,d.createElementBlock)(`span`,(0,d.mergeProps)({key:1,role:`status`,"aria-live":`polite`,class:`p-hidden-accessible`},e.ptm(`hiddenEmptyMessage`),{"data-p-hidden-accessible":!0}),(0,d.toDisplayString)(a.emptyMessageText),17)):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`span`,(0,d.mergeProps)({role:`status`,"aria-live":`polite`,class:`p-hidden-accessible`},e.ptm(`hiddenSelectedMessage`),{"data-p-hidden-accessible":!0}),(0,d.toDisplayString)(a.selectedMessageText),17),(0,d.createElementVNode)(`span`,(0,d.mergeProps)({ref:`lastHiddenFocusableElementOnOverlay`,role:`presentation`,"aria-hidden":`true`,class:`p-hidden-accessible p-hidden-focusable`,tabindex:0,onFocus:t[9]||=function(){return a.onLastHiddenFocus&&a.onLastHiddenFocus.apply(a,arguments)}},e.ptm(`hiddenLastFocusableEl`),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16,ge)):(0,d.createCommentVNode)(``,!0)]}),_:3},16,[`onEnter`,`onAfterEnter`,`onLeave`,`onAfterLeave`])]}),_:3},8,[`appendTo`])],16,pe)}$.render=be,Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return $}});
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Props for the AutoroutedBreadcrumb component
3
+ */
4
+ export interface AutoroutedBreadcrumbProps {
5
+ /** Optional route path for the home icon. If provided, a home icon will be added at the beginning of the breadcrumb. */
6
+ homeRoute?: string;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<AutoroutedBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AutoroutedBreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as AutoroutedBreadcrumb, type AutoroutedBreadcrumbProps, } from './AutoroutedBreadcrumb.vue';
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Configuration for a single control bar item
3
+ */
4
+ export interface ControlBarItemConfiguration {
5
+ /** The title displayed above the component */
6
+ title: string;
7
+ /** The name of the component to render (must be registered in componentRegistry) */
8
+ component: string;
9
+ /** The key in the data object to use as the component's value/label */
10
+ data: string;
11
+ /** Additional props to pass to the component */
12
+ props?: Record<string, unknown>;
13
+ }
14
+ /**
15
+ * Props for the ConfiguredControlBarComponent
16
+ */
17
+ export interface ConfiguredControlBarComponentProps {
18
+ /** Array of configurations for each control bar item */
19
+ config: ControlBarItemConfiguration[];
20
+ }
21
+ type __VLS_Props = ConfiguredControlBarComponentProps;
22
+ type __VLS_PublicProps = {
23
+ modelValue?: Record<string, unknown>;
24
+ } & __VLS_Props;
25
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "update:modelValue": (value: Record<string, unknown>) => any;
27
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
29
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
30
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,20 @@
1
+ export interface ControlBarItemComponentProps {
2
+ title: string;
3
+ }
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: HTMLDivElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<ControlBarItemComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ControlBarItemComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,3 @@
1
+ export { default as ControlBarComponent } from './ControlBarComponent.vue';
2
+ export { default as ControlBarItemComponent } from './ControlBarItemComponent.vue';
3
+ export { default as ConfiguredControlBarComponent, type ConfiguredControlBarComponentProps, } from './ConfiguredControlBarComponent.vue';
@@ -0,0 +1,21 @@
1
+ export interface DashboardComponentProps {
2
+ orientation?: 'horizontal' | 'vertical';
3
+ boxedPanels?: boolean;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<DashboardComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DashboardComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,25 @@
1
+ export interface DashboardGroupComponentProps {
2
+ orientation?: 'horizontal' | 'vertical';
3
+ weight?: number;
4
+ hugContent?: boolean;
5
+ maxWidth?: string;
6
+ maxHeight?: string;
7
+ stayVisibleWhenOtherExpand?: boolean;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLDivElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<DashboardGroupComponentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DashboardGroupComponentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };