@turquoisehealth/pit-viper 2.194.3-dev.2 → 2.194.4

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 (176) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +258 -10
  2. package/_site/assets/css/pit-viper-consumer.css +258 -10
  3. package/_site/assets/css/pit-viper-v2-scoped.css +223 -10
  4. package/_site/assets/css/pit-viper-v2.css +258 -10
  5. package/_site/assets/css/pit-viper.css +258 -10
  6. package/package.json +15 -15
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-action-bar-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +4950 -0
  30. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +4950 -0
  33. package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  35. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  36. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  37. package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
  38. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  39. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  40. package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
  41. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  42. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  43. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  44. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  45. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  46. package/pv-components/dist/stats/web/pv-radio-group-stats.html +1 -1
  47. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  48. package/pv-components/dist/stats/web/pv-rating-stats.html +1 -1
  49. package/pv-components/dist/stats/web/pv-release-badge-stats.html +1 -1
  50. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  51. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  52. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  53. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +1 -1
  54. package/pv-components/dist/stats/web/pv-side-panel-stats.html +1 -1
  55. package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
  56. package/pv-components/dist/stats/web/pv-spinner-stats.html +1 -1
  57. package/pv-components/dist/stats/web/pv-sprite-stats.html +1 -1
  58. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  59. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  60. package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
  61. package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
  62. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
  63. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  64. package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
  65. package/pv-components/dist/stats/web/pv-text-area-stats.html +1 -1
  66. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  67. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
  68. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  69. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  70. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  71. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  72. package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
  73. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +73 -0
  74. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +18 -0
  75. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +12 -0
  76. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +14 -0
  77. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +34 -0
  78. package/pv-components/dist/vue/base/components/base/PvFilterPanel/advancedFilterModel.d.ts +26 -0
  79. package/pv-components/dist/vue/base/components/base/PvFilterPanel/aggregateFilterModel.d.ts +56 -0
  80. package/pv-components/dist/vue/base/components/base/PvFilterPanel/filterOptionDisplay.d.ts +28 -0
  81. package/pv-components/dist/vue/base/components/base/PvFilterPanel/filterOptionValue.d.ts +15 -0
  82. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +402 -0
  83. package/pv-components/dist/vue/base/components/base/PvFilterPanel/usePvFilterStore.d.ts +5 -0
  84. package/pv-components/dist/vue/base/components/base/PvHorizontalScroller/PvHorizontalScroller.vue.d.ts +36 -0
  85. package/pv-components/dist/vue/base/components/base/PvHorizontalScroller/types.d.ts +21 -0
  86. package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +27 -15
  87. package/pv-components/dist/vue/base/components/base/PvRange/types.d.ts +44 -0
  88. package/pv-components/dist/vue/base/components/base/index.d.ts +6 -0
  89. package/pv-components/dist/vue/base/pv-components-base.mjs +3728 -1116
  90. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  91. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +73 -0
  92. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +18 -0
  93. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +12 -0
  94. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +14 -0
  95. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +34 -0
  96. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/advancedFilterModel.d.ts +26 -0
  97. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/aggregateFilterModel.d.ts +56 -0
  98. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionDisplay.d.ts +28 -0
  99. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionValue.d.ts +15 -0
  100. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +402 -0
  101. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/usePvFilterStore.d.ts +5 -0
  102. package/pv-components/dist/vue/visualizations/components/base/PvHorizontalScroller/PvHorizontalScroller.vue.d.ts +36 -0
  103. package/pv-components/dist/vue/visualizations/components/base/PvHorizontalScroller/types.d.ts +21 -0
  104. package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +27 -15
  105. package/pv-components/dist/vue/visualizations/components/base/PvRange/types.d.ts +44 -0
  106. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +6 -0
  107. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +1 -1
  108. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +2 -2
  109. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +4 -1
  110. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  111. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +35 -28
  112. package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +397 -390
  113. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +35 -28
  114. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +35 -28
  115. package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +274 -267
  116. package/pv-components/dist/web/components/pv-banner/pv-banner.js +35 -28
  117. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +356 -349
  118. package/pv-components/dist/web/components/pv-button/pv-button.js +35 -28
  119. package/pv-components/dist/web/components/pv-card/pv-card.js +35 -28
  120. package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +35 -28
  121. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +35 -28
  122. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +131 -124
  123. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +35 -28
  124. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +209 -202
  125. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +71 -64
  126. package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +35 -28
  127. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +508 -501
  128. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +35 -28
  129. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +410 -403
  130. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +49 -42
  131. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +10769 -0
  132. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +35 -28
  133. package/pv-components/dist/web/components/pv-header/pv-header.js +49 -42
  134. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +6476 -0
  135. package/pv-components/dist/web/components/pv-icon/pv-icon.js +513 -506
  136. package/pv-components/dist/web/components/pv-input/pv-input.js +35 -28
  137. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +182 -175
  138. package/pv-components/dist/web/components/pv-menu/pv-menu.js +35 -28
  139. package/pv-components/dist/web/components/pv-modal/pv-modal.js +35 -28
  140. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +702 -695
  141. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +35 -28
  142. package/pv-components/dist/web/components/pv-pill/pv-pill.js +356 -349
  143. package/pv-components/dist/web/components/pv-popover/pv-popover.js +35 -28
  144. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +168 -161
  145. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +35 -28
  146. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +103 -96
  147. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +453 -446
  148. package/pv-components/dist/web/components/pv-radio-group/pv-radio-group.js +35 -28
  149. package/pv-components/dist/web/components/pv-range/pv-range.js +1117 -530
  150. package/pv-components/dist/web/components/pv-rating/pv-rating.js +35 -28
  151. package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +209 -202
  152. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +35 -28
  153. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +35 -28
  154. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +35 -28
  155. package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +509 -502
  156. package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +356 -349
  157. package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +35 -28
  158. package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +397 -390
  159. package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +397 -390
  160. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +35 -28
  161. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +35 -28
  162. package/pv-components/dist/web/components/pv-switch/pv-switch.js +35 -28
  163. package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +35 -28
  164. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +35 -28
  165. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +35 -28
  166. package/pv-components/dist/web/components/pv-tag/pv-tag.js +402 -395
  167. package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +35 -28
  168. package/pv-components/dist/web/components/pv-toast/pv-toast.js +402 -395
  169. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +35 -28
  170. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +35 -28
  171. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +35 -28
  172. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +100 -93
  173. package/pv-components/dist/web/components/pv-tree/pv-tree.js +35 -28
  174. package/pv-components/dist/web/components/pv-widget/pv-widget.js +356 -349
  175. package/pv-components/dist/web/pv-components.iife.js +38 -38
  176. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -7354,24 +7354,28 @@ function oo(e, t) {
7354
7354
  let n = Number(t);
7355
7355
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
7356
7356
  }
7357
- function so(e) {
7357
+ var so = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), co = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), lo = (e) => typeof e == "object" && e && "type" in e ? e.type : e, uo = (e, t) => {
7358
+ let n = lo(e);
7359
+ return Array.isArray(n) ? n.includes(t) : n === t;
7360
+ };
7361
+ function fo(e) {
7358
7362
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
7359
7363
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
7360
- i === Boolean || i && i.type === Boolean ? t.add(e) : i === Number || i && i.type === Number ? n.add(e) : (i === Object || i === Array || i && (i.type === Object || i.type === Array)) && r.add(e);
7364
+ uo(i, Boolean) ? t.add(e) : uo(i, Number) ? n.add(e) : (uo(i, Object) || uo(i, Array)) && r.add(e);
7361
7365
  }), {
7362
7366
  booleanProps: t,
7363
7367
  numberProps: n,
7364
7368
  jsonProps: r
7365
7369
  };
7366
7370
  }
7367
- function co(e, t) {
7371
+ function po(e, t) {
7368
7372
  try {
7369
7373
  return JSON.parse(t);
7370
7374
  } catch (n) {
7371
7375
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
7372
7376
  }
7373
7377
  }
7374
- function lo(e) {
7378
+ function mo(e) {
7375
7379
  let t = e.__name || e.name;
7376
7380
  if (!t) throw Error("Component must have a __name or name property");
7377
7381
  let n = l(e, {
@@ -7379,7 +7383,7 @@ function lo(e) {
7379
7383
  ...eo.has(t) && { configureApp(e) {
7380
7384
  e.use(ci, Qa);
7381
7385
  } }
7382
- }), { booleanProps: r, numberProps: i, jsonProps: a } = so(e);
7386
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = fo(e);
7383
7387
  class o extends n {
7384
7388
  _hiddenInput = null;
7385
7389
  constructor() {
@@ -7392,28 +7396,31 @@ function lo(e) {
7392
7396
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
7393
7397
  }
7394
7398
  _parseAttributes() {
7395
- r.forEach((e) => {
7396
- this[e] = ao(e, this.getAttribute(e));
7397
- }), i.forEach((e) => {
7399
+ let e = (e) => {
7398
7400
  let t = this.getAttribute(e);
7399
- t !== null && (this[e] = oo(e, t));
7400
- }), a.forEach((e) => {
7401
- let t = this.getAttribute(e);
7402
- if (t !== null) {
7403
- let n = co(e, t);
7404
- n !== null && (this[e] = n);
7401
+ if (t !== null) return t;
7402
+ let n = so(e);
7403
+ return n === e ? null : this.getAttribute(n);
7404
+ };
7405
+ r.forEach((t) => {
7406
+ let n = e(t);
7407
+ n !== null && (this[t] = ao(t, n));
7408
+ }), i.forEach((t) => {
7409
+ let n = e(t);
7410
+ n !== null && (this[t] = oo(t, n));
7411
+ }), a.forEach((t) => {
7412
+ let n = e(t);
7413
+ if (n !== null) {
7414
+ let e = po(t, n);
7415
+ e !== null && (this[t] = e);
7405
7416
  }
7406
7417
  });
7407
- let e = this.getAttribute("data-json-props");
7408
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
7409
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
7410
- if (n === null) {
7411
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
7412
- n = this.getAttribute(e);
7413
- }
7414
- if (n !== null && !this[t]) {
7415
- let e = co(t, n);
7416
- e !== null && (this[t] = e);
7418
+ let t = this.getAttribute("data-json-props");
7419
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
7420
+ let n = co(t), r = e(n);
7421
+ if (r !== null && !this[n]) {
7422
+ let e = po(n, r);
7423
+ e !== null && (this[n] = e);
7417
7424
  }
7418
7425
  });
7419
7426
  }
@@ -7425,16 +7432,16 @@ function lo(e) {
7425
7432
  }
7426
7433
  return o;
7427
7434
  }
7428
- function uo(e) {
7435
+ function ho(e) {
7429
7436
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
7430
7437
  }
7431
- function fo(e) {
7438
+ function go(e) {
7432
7439
  let t = e.__name || e.name;
7433
7440
  if (!t) throw Error("Component must have a __name or name property");
7434
- let n = uo(t), r = lo(e);
7441
+ let n = ho(t), r = mo(e);
7435
7442
  customElements.get(n) || customElements.define(n, r);
7436
7443
  }
7437
7444
  //#endregion
7438
7445
  //#region .build-temp-pv-popover-v2.ts
7439
- fo(En);
7446
+ go(En);
7440
7447
  //#endregion
@@ -134,7 +134,7 @@ function ae(e) {
134
134
  function oe(e) {
135
135
  return typeof Element < "u" ? e instanceof Element : typeof e == "object" && !!e && e.nodeType === 1 && typeof e.nodeName == "string";
136
136
  }
137
- function se(e, t = {}) {
137
+ function I(e, t = {}) {
138
138
  if (oe(e)) {
139
139
  let n = (t, r) => {
140
140
  var i;
@@ -154,70 +154,70 @@ function se(e, t = {}) {
154
154
  Object.entries(t).forEach(([t, r]) => {
155
155
  if (r != null) {
156
156
  let i = t.match(/^on(.+)/);
157
- i ? e.addEventListener(i[1].toLowerCase(), r) : t === "p-bind" || t === "pBind" ? se(e, r) : (r = t === "class" ? [...new Set(n("class", r))].join(" ").trim() : t === "style" ? n("style", r).join(";").trim() : r, (e.$attrs = e.$attrs || {}) && (e.$attrs[t] = r), e.setAttribute(t, r));
157
+ i ? e.addEventListener(i[1].toLowerCase(), r) : t === "p-bind" || t === "pBind" ? I(e, r) : (r = t === "class" ? [...new Set(n("class", r))].join(" ").trim() : t === "style" ? n("style", r).join(";").trim() : r, (e.$attrs = e.$attrs || {}) && (e.$attrs[t] = r), e.setAttribute(t, r));
158
158
  }
159
159
  });
160
160
  }
161
161
  }
162
- function ce() {
162
+ function se() {
163
163
  return !!(typeof window < "u" && window.document && window.document.createElement);
164
164
  }
165
- function le(e, t = "", n) {
165
+ function ce(e, t = "", n) {
166
166
  oe(e) && n != null && e.setAttribute(t, n);
167
167
  }
168
168
  //#endregion
169
169
  //#region ../node_modules/.pnpm/@primeuix+styled@0.7.4/node_modules/@primeuix/styled/dist/index.mjs
170
- var ue = Object.defineProperty, de = Object.defineProperties, fe = Object.getOwnPropertyDescriptors, I = Object.getOwnPropertySymbols, pe = Object.prototype.hasOwnProperty, me = Object.prototype.propertyIsEnumerable, he = (e, t, n) => t in e ? ue(e, t, {
170
+ var le = Object.defineProperty, ue = Object.defineProperties, de = Object.getOwnPropertyDescriptors, L = Object.getOwnPropertySymbols, fe = Object.prototype.hasOwnProperty, pe = Object.prototype.propertyIsEnumerable, me = (e, t, n) => t in e ? le(e, t, {
171
171
  enumerable: !0,
172
172
  configurable: !0,
173
173
  writable: !0,
174
174
  value: n
175
- }) : e[t] = n, L = (e, t) => {
176
- for (var n in t ||= {}) pe.call(t, n) && he(e, n, t[n]);
177
- if (I) for (var n of I(t)) me.call(t, n) && he(e, n, t[n]);
175
+ }) : e[t] = n, R = (e, t) => {
176
+ for (var n in t ||= {}) fe.call(t, n) && me(e, n, t[n]);
177
+ if (L) for (var n of L(t)) pe.call(t, n) && me(e, n, t[n]);
178
178
  return e;
179
- }, ge = (e, t) => de(e, fe(t)), R = (e, t) => {
179
+ }, he = (e, t) => ue(e, de(t)), z = (e, t) => {
180
180
  var n = {};
181
- for (var r in e) pe.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
182
- if (e != null && I) for (var r of I(e)) t.indexOf(r) < 0 && me.call(e, r) && (n[r] = e[r]);
181
+ for (var r in e) fe.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
182
+ if (e != null && L) for (var r of L(e)) t.indexOf(r) < 0 && pe.call(e, r) && (n[r] = e[r]);
183
183
  return n;
184
- }, z = re(), B = /{([^}]*)}/g, _e = /(\d+\s+[\+\-\*\/]\s+\d+)/g, ve = /var\([^)]+\)/g;
185
- function ye(e) {
184
+ }, B = re(), V = /{([^}]*)}/g, ge = /(\d+\s+[\+\-\*\/]\s+\d+)/g, _e = /var\([^)]+\)/g;
185
+ function ve(e) {
186
186
  return j(e) ? e.replace(/[A-Z]/g, (e, t) => t === 0 ? e : "." + e.toLowerCase()).toLowerCase() : e;
187
187
  }
188
- function be(e) {
188
+ function ye(e) {
189
189
  return D(e) && e.hasOwnProperty("$value") && e.hasOwnProperty("$type") ? e.$value : e;
190
190
  }
191
- function xe(e) {
191
+ function be(e) {
192
192
  return e.replaceAll(/ /g, "").replace(/[^\w]/g, "-");
193
193
  }
194
- function Se(e = "", t = "") {
195
- return xe(`${j(e, !1) && j(t, !1) ? `${e}-` : e}${t}`);
194
+ function xe(e = "", t = "") {
195
+ return be(`${j(e, !1) && j(t, !1) ? `${e}-` : e}${t}`);
196
196
  }
197
- function Ce(e = "", t = "") {
198
- return `--${Se(e, t)}`;
197
+ function Se(e = "", t = "") {
198
+ return `--${xe(e, t)}`;
199
199
  }
200
- function we(e = "") {
200
+ function Ce(e = "") {
201
201
  return ((e.match(/{/g) || []).length + (e.match(/}/g) || []).length) % 2 != 0;
202
202
  }
203
- function Te(e, t = "", n = "", r = [], i) {
203
+ function we(e, t = "", n = "", r = [], i) {
204
204
  if (j(e)) {
205
205
  let t = e.trim();
206
- if (we(t)) return;
207
- if (N(t, B)) {
208
- let e = t.replaceAll(B, (e) => `var(${Ce(n, ne(e.replace(/{|}/g, "").split(".").filter((e) => !r.some((t) => N(e, t))).join("-")))}${E(i) ? `, ${i}` : ""})`);
209
- return N(e.replace(ve, "0"), _e) ? `calc(${e})` : e;
206
+ if (Ce(t)) return;
207
+ if (N(t, V)) {
208
+ let e = t.replaceAll(V, (e) => `var(${Se(n, ne(e.replace(/{|}/g, "").split(".").filter((e) => !r.some((t) => N(e, t))).join("-")))}${E(i) ? `, ${i}` : ""})`);
209
+ return N(e.replace(_e, "0"), ge) ? `calc(${e})` : e;
210
210
  }
211
211
  return t;
212
212
  } else if (M(e)) return e;
213
213
  }
214
- function Ee(e, t, n) {
214
+ function Te(e, t, n) {
215
215
  j(t, !1) && e.push(`${t}:${n};`);
216
216
  }
217
- function V(e, t) {
217
+ function H(e, t) {
218
218
  return e ? `${e}{${t}}` : "";
219
219
  }
220
- function De(e, t) {
220
+ function Ee(e, t) {
221
221
  if (e.indexOf("dt(") === -1) return e;
222
222
  function n(e, t) {
223
223
  let n = [], i = 0, a = "", o = null, s = 0;
@@ -225,7 +225,7 @@ function De(e, t) {
225
225
  let c = e[i];
226
226
  if ((c === "\"" || c === "'" || c === "`") && e[i - 1] !== "\\" && (o = o === c ? null : c), !o && (c === "(" && s++, c === ")" && s--, (c === "," || i === e.length) && s === 0)) {
227
227
  let e = a.trim();
228
- e.startsWith("dt(") ? n.push(De(e, t)) : n.push(r(e)), a = "", i++;
228
+ e.startsWith("dt(") ? n.push(Ee(e, t)) : n.push(r(e)), a = "", i++;
229
229
  continue;
230
230
  }
231
231
  c !== void 0 && (a += c), i++;
@@ -251,15 +251,15 @@ function De(e, t) {
251
251
  }
252
252
  return e;
253
253
  }
254
- var H = (...e) => Oe(G.getTheme(), ...e), Oe = (e = {}, t, n, r) => {
254
+ var U = (...e) => De(G.getTheme(), ...e), De = (e = {}, t, n, r) => {
255
255
  if (t) {
256
- let { variable: i, options: a } = G.defaults || {}, { prefix: o, transform: s } = e?.options || a || {}, c = N(t, B) ? t : `{${t}}`;
257
- return r === "value" || w(r) && s === "strict" ? G.getTokenValue(t) : Te(c, void 0, o, [i.excludedKeyRegex], n);
256
+ let { variable: i, options: a } = G.defaults || {}, { prefix: o, transform: s } = e?.options || a || {}, c = N(t, V) ? t : `{${t}}`;
257
+ return r === "value" || w(r) && s === "strict" ? G.getTokenValue(t) : we(c, void 0, o, [i.excludedKeyRegex], n);
258
258
  }
259
259
  return "";
260
260
  };
261
- function U(e, ...t) {
262
- return e instanceof Array ? De(e.reduce((e, n, r) => e + n + (A(t[r], { dt: H }) ?? ""), ""), H) : A(e, { dt: H });
261
+ function Oe(e, ...t) {
262
+ return e instanceof Array ? Ee(e.reduce((e, n, r) => e + n + (A(t[r], { dt: U }) ?? ""), ""), U) : A(e, { dt: U });
263
263
  }
264
264
  function ke(e, t = {}) {
265
265
  let n = G.defaults.variable, { prefix: r = n.prefix, selector: i = n.selector, excludedKeyRegex: a = n.excludedKeyRegex } = t, o = [], s = [], c = [{
@@ -269,13 +269,13 @@ function ke(e, t = {}) {
269
269
  for (; c.length;) {
270
270
  let { node: e, path: t } = c.pop();
271
271
  for (let n in e) {
272
- let i = e[n], l = be(i), u = N(n, a) ? Se(t) : Se(t, ne(n));
272
+ let i = e[n], l = ye(i), u = N(n, a) ? xe(t) : xe(t, ne(n));
273
273
  if (D(l)) c.push({
274
274
  node: l,
275
275
  path: u
276
276
  });
277
277
  else {
278
- Ee(s, Ce(u), Te(l, u, r, [a]));
278
+ Te(s, Se(u), we(l, u, r, [a]));
279
279
  let e = u;
280
280
  r && e.startsWith(r + "-") && (e = e.slice(r.length + 1)), o.push(e.replace(/-/g, "."));
281
281
  }
@@ -286,7 +286,7 @@ function ke(e, t = {}) {
286
286
  value: s,
287
287
  tokens: o,
288
288
  declarations: l,
289
- css: V(i, l)
289
+ css: H(i, l)
290
290
  };
291
291
  }
292
292
  var W = {
@@ -351,16 +351,16 @@ var W = {
351
351
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
352
352
  let { preset: a, options: o } = t, s, c, l, u, d, ee, f;
353
353
  if (E(a) && o.transform !== "strict") {
354
- let { primitive: t, semantic: n, extend: p } = a, m = n || {}, { colorScheme: h } = m, g = R(m, ["colorScheme"]), _ = p || {}, { colorScheme: v } = _, y = R(_, ["colorScheme"]), b = h || {}, { dark: x } = b, S = R(b, ["dark"]), C = v || {}, { dark: w } = C, T = R(C, ["dark"]), D = E(t) ? this._toVariables({ primitive: t }, o) : {}, O = E(g) ? this._toVariables({ semantic: g }, o) : {}, k = E(S) ? this._toVariables({ light: S }, o) : {}, j = E(x) ? this._toVariables({ dark: x }, o) : {}, M = E(y) ? this._toVariables({ semantic: y }, o) : {}, N = E(T) ? this._toVariables({ light: T }, o) : {}, te = E(w) ? this._toVariables({ dark: w }, o) : {}, [P, ne] = [D.declarations ?? "", D.tokens], [F, re] = [O.declarations ?? "", O.tokens || []], [ie, ae] = [k.declarations ?? "", k.tokens || []], [oe, se] = [j.declarations ?? "", j.tokens || []], [ce, le] = [M.declarations ?? "", M.tokens || []], [ue, de] = [N.declarations ?? "", N.tokens || []], [fe, I] = [te.declarations ?? "", te.tokens || []];
354
+ let { primitive: t, semantic: n, extend: p } = a, m = n || {}, { colorScheme: h } = m, g = z(m, ["colorScheme"]), _ = p || {}, { colorScheme: v } = _, y = z(_, ["colorScheme"]), b = h || {}, { dark: x } = b, S = z(b, ["dark"]), C = v || {}, { dark: w } = C, T = z(C, ["dark"]), D = E(t) ? this._toVariables({ primitive: t }, o) : {}, O = E(g) ? this._toVariables({ semantic: g }, o) : {}, k = E(S) ? this._toVariables({ light: S }, o) : {}, j = E(x) ? this._toVariables({ dark: x }, o) : {}, M = E(y) ? this._toVariables({ semantic: y }, o) : {}, N = E(T) ? this._toVariables({ light: T }, o) : {}, te = E(w) ? this._toVariables({ dark: w }, o) : {}, [P, ne] = [D.declarations ?? "", D.tokens], [F, re] = [O.declarations ?? "", O.tokens || []], [ie, ae] = [k.declarations ?? "", k.tokens || []], [oe, I] = [j.declarations ?? "", j.tokens || []], [se, ce] = [M.declarations ?? "", M.tokens || []], [le, ue] = [N.declarations ?? "", N.tokens || []], [de, L] = [te.declarations ?? "", te.tokens || []];
355
355
  s = this.transformCSS(e, P, "light", "variable", o, r, i), c = ne, l = `${this.transformCSS(e, `${F}${ie}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${oe}`, "dark", "variable", o, r, i)}`, u = [...new Set([
356
356
  ...re,
357
357
  ...ae,
358
- ...se
359
- ])], d = `${this.transformCSS(e, `${ce}${ue}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${fe}color-scheme:dark`, "dark", "variable", o, r, i)}`, ee = [...new Set([
360
- ...le,
361
- ...de,
362
358
  ...I
363
- ])], f = A(a.css, { dt: H });
359
+ ])], d = `${this.transformCSS(e, `${se}${le}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${de}color-scheme:dark`, "dark", "variable", o, r, i)}`, ee = [...new Set([
360
+ ...ce,
361
+ ...ue,
362
+ ...L
363
+ ])], f = A(a.css, { dt: U });
364
364
  }
365
365
  return {
366
366
  primitive: {
@@ -381,16 +381,16 @@ var W = {
381
381
  getPreset({ name: e = "", preset: t = {}, options: n, params: r, set: i, defaults: a, selector: o }) {
382
382
  let s, c, l;
383
383
  if (E(t) && n.transform !== "strict") {
384
- let r = e.replace("-directive", ""), u = t, { colorScheme: d, extend: ee, css: f } = u, p = R(u, [
384
+ let r = e.replace("-directive", ""), u = t, { colorScheme: d, extend: ee, css: f } = u, p = z(u, [
385
385
  "colorScheme",
386
386
  "extend",
387
387
  "css"
388
- ]), m = ee || {}, { colorScheme: h } = m, g = R(m, ["colorScheme"]), _ = d || {}, { dark: v } = _, y = R(_, ["dark"]), b = h || {}, { dark: x } = b, S = R(b, ["dark"]), C = E(p) ? this._toVariables({ [r]: L(L({}, p), g) }, n) : {}, w = E(y) ? this._toVariables({ [r]: L(L({}, y), S) }, n) : {}, T = E(v) ? this._toVariables({ [r]: L(L({}, v), x) }, n) : {}, [D, O] = [C.declarations ?? "", C.tokens || []], [k, j] = [w.declarations ?? "", w.tokens || []], [M, N] = [T.declarations ?? "", T.tokens || []];
388
+ ]), m = ee || {}, { colorScheme: h } = m, g = z(m, ["colorScheme"]), _ = d || {}, { dark: v } = _, y = z(_, ["dark"]), b = h || {}, { dark: x } = b, S = z(b, ["dark"]), C = E(p) ? this._toVariables({ [r]: R(R({}, p), g) }, n) : {}, w = E(y) ? this._toVariables({ [r]: R(R({}, y), S) }, n) : {}, T = E(v) ? this._toVariables({ [r]: R(R({}, v), x) }, n) : {}, [D, O] = [C.declarations ?? "", C.tokens || []], [k, j] = [w.declarations ?? "", w.tokens || []], [M, N] = [T.declarations ?? "", T.tokens || []];
389
389
  s = `${this.transformCSS(r, `${D}${k}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, M, "dark", "variable", n, i, a, o)}`, c = [...new Set([
390
390
  ...O,
391
391
  ...j,
392
392
  ...N
393
- ])], l = A(f, { dt: H });
393
+ ])], l = A(f, { dt: U });
394
394
  }
395
395
  return {
396
396
  css: s,
@@ -466,14 +466,14 @@ var W = {
466
466
  };
467
467
  n.push(this.path), t.name = this.path, t.binding ||= {};
468
468
  let r = this.value;
469
- if (typeof this.value == "string" && B.test(this.value)) {
470
- let i = this.value.trim().replace(B, (r) => {
469
+ if (typeof this.value == "string" && V.test(this.value)) {
470
+ let i = this.value.trim().replace(V, (r) => {
471
471
  let i = r.slice(1, -1), a = this.tokens[i];
472
472
  if (!a) return console.warn(`Token not found for path: ${i}`), "__UNRESOLVED__";
473
473
  let o = a.computed(e, t, n);
474
474
  return Array.isArray(o) && o.length === 2 ? `light-dark(${o[0].value},${o[1].value})` : o?.value ?? "__UNRESOLVED__";
475
475
  });
476
- r = _e.test(i.replace(ve, "0")) ? `calc(${i})` : i;
476
+ r = ge.test(i.replace(_e, "0")) ? `calc(${i})` : i;
477
477
  }
478
478
  return w(t.binding) && delete t.binding, n.pop(), {
479
479
  colorScheme: e,
@@ -483,7 +483,7 @@ var W = {
483
483
  };
484
484
  }, o = (e, n, r) => {
485
485
  Object.entries(e).forEach(([e, s]) => {
486
- let c = N(e, t.variable.excludedKeyRegex) ? n : n ? `${n}.${ye(e)}` : ye(e), l = r ? `${r}.${e}` : e;
486
+ let c = N(e, t.variable.excludedKeyRegex) ? n : n ? `${n}.${ve(e)}` : ve(e), l = r ? `${r}.${e}` : e;
487
487
  D(s) ? o(s, c, l) : (i[c] || (i[c] = {
488
488
  paths: [],
489
489
  computed: (e, t = {}, n = []) => {
@@ -509,18 +509,18 @@ var W = {
509
509
  let r = ((e) => e.split(".").filter((e) => !N(e.toLowerCase(), n.variable.excludedKeyRegex)).join("."))(t), i = t.includes("colorScheme.light") ? "light" : t.includes("colorScheme.dark") ? "dark" : void 0, a = [e[r]?.computed(i)].flat().filter((e) => e);
510
510
  return a.length === 1 ? a[0].value : a.reduce((e = {}, t) => {
511
511
  let n = t, { colorScheme: r } = n;
512
- return e[r] = R(n, ["colorScheme"]), e;
512
+ return e[r] = z(n, ["colorScheme"]), e;
513
513
  }, void 0);
514
514
  },
515
515
  getSelectorRule(e, t, n, r) {
516
- return n === "class" || n === "attr" ? V(E(t) ? `${e}${t},${e} ${t}` : e, r) : V(e, V(t ?? ":root,:host", r));
516
+ return n === "class" || n === "attr" ? H(E(t) ? `${e}${t},${e} ${t}` : e, r) : H(e, H(t ?? ":root,:host", r));
517
517
  },
518
518
  transformCSS(e, t, n, r, i = {}, a, o, s) {
519
519
  if (E(t)) {
520
520
  let { cssLayer: c } = i;
521
521
  if (r !== "style") {
522
522
  let e = this.getColorSchemeOption(i, o);
523
- t = n === "dark" ? e.reduce((e, { type: n, selector: r }) => (E(r) && (e += r.includes("[CSS]") ? r.replace("[CSS]", t) : this.getSelectorRule(r, s, n, t)), e), "") : V(s ?? ":root,:host", t);
523
+ t = n === "dark" ? e.reduce((e, { type: n, selector: r }) => (E(r) && (e += r.includes("[CSS]") ? r.replace("[CSS]", t) : this.getSelectorRule(r, s, n, t)), e), "") : H(s ?? ":root,:host", t);
524
524
  }
525
525
  if (c) {
526
526
  let n = {
@@ -530,7 +530,7 @@ var W = {
530
530
  D(c) && (n.name = A(c.name, {
531
531
  name: e,
532
532
  type: r
533
- })), E(n.name) && (t = V(`@layer ${n.name}`, t), a?.layerNames(n.name));
533
+ })), E(n.name) && (t = H(`@layer ${n.name}`, t), a?.layerNames(n.name));
534
534
  }
535
535
  return t;
536
536
  }
@@ -556,7 +556,7 @@ var W = {
556
556
  _tokens: {},
557
557
  update(e = {}) {
558
558
  let { theme: t } = e;
559
- t && (this._theme = ge(L({}, t), { options: L(L({}, this.defaults.options), t.options) }), this._tokens = W.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
559
+ t && (this._theme = he(R({}, t), { options: R(R({}, this.defaults.options), t.options) }), this._tokens = W.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
560
560
  },
561
561
  get theme() {
562
562
  return this._theme;
@@ -574,19 +574,19 @@ var W = {
574
574
  return this.theme;
575
575
  },
576
576
  setTheme(e) {
577
- this.update({ theme: e }), z.emit("theme:change", e);
577
+ this.update({ theme: e }), B.emit("theme:change", e);
578
578
  },
579
579
  getPreset() {
580
580
  return this.preset;
581
581
  },
582
582
  setPreset(e) {
583
- this._theme = ge(L({}, this.theme), { preset: e }), this._tokens = W.createTokens(e, this.defaults), this.clearLoadedStyleNames(), z.emit("preset:change", e), z.emit("theme:change", this.theme);
583
+ this._theme = he(R({}, this.theme), { preset: e }), this._tokens = W.createTokens(e, this.defaults), this.clearLoadedStyleNames(), B.emit("preset:change", e), B.emit("theme:change", this.theme);
584
584
  },
585
585
  getOptions() {
586
586
  return this.options;
587
587
  },
588
588
  setOptions(e) {
589
- this._theme = ge(L({}, this.theme), { options: e }), this.clearLoadedStyleNames(), z.emit("options:change", e), z.emit("theme:change", this.theme);
589
+ this._theme = he(R({}, this.theme), { options: e }), this.clearLoadedStyleNames(), B.emit("options:change", e), B.emit("theme:change", this.theme);
590
590
  },
591
591
  getLayerNames() {
592
592
  return [...this._layerNames];
@@ -686,7 +686,7 @@ var W = {
686
686
  this._loadingStyles.add(e);
687
687
  },
688
688
  onStyleLoaded(e, { name: t }) {
689
- this._loadingStyles.size && (this._loadingStyles.delete(t), z.emit(`theme:${t}:load`, e), !this._loadingStyles.size && z.emit("theme:load"));
689
+ this._loadingStyles.size && (this._loadingStyles.delete(t), B.emit(`theme:${t}:load`, e), !this._loadingStyles.size && B.emit("theme:load"));
690
690
  }
691
691
  }, Ae = "\n *,\n ::before,\n ::after {\n box-sizing: border-box;\n }\n\n .p-collapsible-enter-active {\n animation: p-animate-collapsible-expand 0.2s ease-out;\n overflow: hidden;\n }\n\n .p-collapsible-leave-active {\n animation: p-animate-collapsible-collapse 0.2s ease-out;\n overflow: hidden;\n }\n\n @keyframes p-animate-collapsible-expand {\n from {\n grid-template-rows: 0fr;\n }\n to {\n grid-template-rows: 1fr;\n }\n }\n\n @keyframes p-animate-collapsible-collapse {\n from {\n grid-template-rows: 1fr;\n }\n to {\n grid-template-rows: 0fr;\n }\n }\n\n .p-disabled,\n .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-disabled,\n .p-component:disabled {\n opacity: dt('disabled.opacity');\n }\n\n .pi {\n font-size: dt('icon.size');\n }\n\n .p-icon {\n width: dt('icon.size');\n height: dt('icon.size');\n }\n\n .p-overlay-mask {\n background: var(--px-mask-background, dt('mask.background'));\n color: dt('mask.color');\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-overlay-mask-enter-active {\n animation: p-animate-overlay-mask-enter dt('mask.transition.duration') forwards;\n }\n\n .p-overlay-mask-leave-active {\n animation: p-animate-overlay-mask-leave dt('mask.transition.duration') forwards;\n }\n\n @keyframes p-animate-overlay-mask-enter {\n from {\n background: transparent;\n }\n to {\n background: var(--px-mask-background, dt('mask.background'));\n }\n }\n @keyframes p-animate-overlay-mask-leave {\n from {\n background: var(--px-mask-background, dt('mask.background'));\n }\n to {\n background: transparent;\n }\n }\n\n .p-anchored-overlay-enter-active {\n animation: p-animate-anchored-overlay-enter 300ms cubic-bezier(.19,1,.22,1);\n }\n\n .p-anchored-overlay-leave-active {\n animation: p-animate-anchored-overlay-leave 300ms cubic-bezier(.19,1,.22,1);\n }\n\n @keyframes p-animate-anchored-overlay-enter {\n from {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n\n @keyframes p-animate-anchored-overlay-leave {\n to {\n opacity: 0;\n transform: scale(0.93);\n }\n }\n";
692
692
  //#endregion
@@ -748,16 +748,16 @@ function Ie(e) {
748
748
  }
749
749
  var Le = 0;
750
750
  function Re(e) {
751
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = f(!1), r = f(e), i = f(null), a = ce() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, p = t.name, h = p === void 0 ? `style_${++Le}` : p, g = t.id, _ = g === void 0 ? void 0 : g, v = t.media, y = v === void 0 ? void 0 : v, b = t.nonce, x = b === void 0 ? void 0 : b, S = t.first, C = S === void 0 ? !1 : S, w = t.onMounted, T = w === void 0 ? void 0 : w, E = t.onUpdated, D = E === void 0 ? void 0 : E, O = t.onLoad, k = O === void 0 ? void 0 : O, A = t.props, j = A === void 0 ? {} : A, M = function() {}, N = function(t) {
751
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = f(!1), r = f(e), i = f(null), a = se() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, p = t.name, h = p === void 0 ? `style_${++Le}` : p, g = t.id, _ = g === void 0 ? void 0 : g, v = t.media, y = v === void 0 ? void 0 : v, b = t.nonce, x = b === void 0 ? void 0 : b, S = t.first, C = S === void 0 ? !1 : S, w = t.onMounted, T = w === void 0 ? void 0 : w, E = t.onUpdated, D = E === void 0 ? void 0 : E, O = t.onLoad, k = O === void 0 ? void 0 : O, A = t.props, j = A === void 0 ? {} : A, M = function() {}, N = function(t) {
752
752
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
753
753
  if (s) {
754
754
  var o = Me(Me({}, j), a), c = o.name || h, l = o.id || _, u = o.nonce || x;
755
- i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, se(i.value, {
755
+ i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, I(i.value, {
756
756
  type: "text/css",
757
757
  id: l,
758
758
  media: y,
759
759
  nonce: u
760
- }), C ? s.head.prepend(i.value) : s.head.appendChild(i.value), le(i.value, "data-primevue-style-id", c), se(i.value, o), i.value.onload = function(e) {
760
+ }), C ? s.head.prepend(i.value) : s.head.appendChild(i.value), ce(i.value, "data-primevue-style-id", c), I(i.value, o), i.value.onload = function(e) {
761
761
  return k?.(e, { name: c });
762
762
  }, T?.(c)), !n.value && (M = m(r, function(e) {
763
763
  i.value.textContent = e, D?.(c);
@@ -903,7 +903,7 @@ var Y = {
903
903
  load: function(e) {
904
904
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(e) {
905
905
  return e;
906
- })(U(ze ||= J(["", ""]), e));
906
+ })(Oe(ze ||= J(["", ""]), e));
907
907
  return E(n) ? Re(P(n), Xe({ name: this.name }, t)) : {};
908
908
  },
909
909
  loadCSS: function() {
@@ -914,7 +914,7 @@ var Y = {
914
914
  var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
915
915
  return this.load(this.style, t, function() {
916
916
  var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
917
- return G.transformCSS(t.name || e.name, `${r}${U(Be ||= J(["", ""]), n)}`);
917
+ return G.transformCSS(t.name || e.name, `${r}${Oe(Be ||= J(["", ""]), n)}`);
918
918
  });
919
919
  },
920
920
  getCommonTheme: function(e) {
@@ -935,7 +935,7 @@ var Y = {
935
935
  getStyleSheet: function() {
936
936
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
937
937
  if (this.css) {
938
- var n = A(this.css, { dt: H }) || "", r = P(U(Ve ||= J([
938
+ var n = A(this.css, { dt: U }) || "", r = P(Oe(Ve ||= J([
939
939
  "",
940
940
  "",
941
941
  ""
@@ -954,7 +954,7 @@ var Y = {
954
954
  getThemeStyleSheet: function(e) {
955
955
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [G.getStyleSheet(this.name, e, t)];
956
956
  if (this.style) {
957
- var r = this.name === "base" ? "global-style" : `${this.name}-style`, i = U(He ||= J(["", ""]), A(this.style, { dt: H })), a = P(G.transformCSS(r, i)), o = Object.entries(t).reduce(function(e, t) {
957
+ var r = this.name === "base" ? "global-style" : `${this.name}-style`, i = Oe(He ||= J(["", ""]), A(this.style, { dt: U })), a = P(G.transformCSS(r, i)), o = Object.entries(t).reduce(function(e, t) {
958
958
  var n = Ue(t, 2), r = n[0], i = n[1];
959
959
  return e.push(`${r}="${i}"`) && e;
960
960
  }, []).join(" ");
@@ -1256,7 +1256,7 @@ function ot(e, t) {
1256
1256
  }
1257
1257
  var $ = [];
1258
1258
  function st() {
1259
- z.clear(), $.forEach(function(e) {
1259
+ B.clear(), $.forEach(function(e) {
1260
1260
  return e?.();
1261
1261
  }), $ = [];
1262
1262
  }
@@ -1267,7 +1267,7 @@ function ct(e, t) {
1267
1267
  Y.load(r?.css, Q({ name: "primitive-variables" }, s)), Y.load(i?.css, Q({ name: "semantic-variables" }, s)), Y.load(a?.css, Q({ name: "global-variables" }, s)), Y.loadStyle(Q({ name: "global-style" }, s), o), G.setLoadedStyleName("common");
1268
1268
  }
1269
1269
  };
1270
- z.on("theme:change", function(t) {
1270
+ B.on("theme:change", function(t) {
1271
1271
  n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
1272
1272
  });
1273
1273
  var i = m(t.config, function(e, t) {
@@ -6109,24 +6109,28 @@ function cr(e, t) {
6109
6109
  let n = Number(t);
6110
6110
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6111
6111
  }
6112
- function lr(e) {
6112
+ var lr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), ur = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), dr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, fr = (e, t) => {
6113
+ let n = dr(e);
6114
+ return Array.isArray(n) ? n.includes(t) : n === t;
6115
+ };
6116
+ function pr(e) {
6113
6117
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6114
6118
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6115
- i === Boolean || i && i.type === Boolean ? t.add(e) : i === Number || i && i.type === Number ? n.add(e) : (i === Object || i === Array || i && (i.type === Object || i.type === Array)) && r.add(e);
6119
+ fr(i, Boolean) ? t.add(e) : fr(i, Number) ? n.add(e) : (fr(i, Object) || fr(i, Array)) && r.add(e);
6116
6120
  }), {
6117
6121
  booleanProps: t,
6118
6122
  numberProps: n,
6119
6123
  jsonProps: r
6120
6124
  };
6121
6125
  }
6122
- function ur(e, t) {
6126
+ function mr(e, t) {
6123
6127
  try {
6124
6128
  return JSON.parse(t);
6125
6129
  } catch (n) {
6126
6130
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6127
6131
  }
6128
6132
  }
6129
- function dr(e) {
6133
+ function hr(e) {
6130
6134
  let t = e.__name || e.name;
6131
6135
  if (!t) throw Error("Component must have a __name or name property");
6132
6136
  let n = a(e, {
@@ -6134,7 +6138,7 @@ function dr(e) {
6134
6138
  ...nr.has(t) && { configureApp(e) {
6135
6139
  e.use(lt, er);
6136
6140
  } }
6137
- }), { booleanProps: r, numberProps: i, jsonProps: o } = lr(e);
6141
+ }), { booleanProps: r, numberProps: i, jsonProps: o } = pr(e);
6138
6142
  class s extends n {
6139
6143
  _hiddenInput = null;
6140
6144
  constructor() {
@@ -6147,28 +6151,31 @@ function dr(e) {
6147
6151
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6148
6152
  }
6149
6153
  _parseAttributes() {
6150
- r.forEach((e) => {
6151
- this[e] = sr(e, this.getAttribute(e));
6152
- }), i.forEach((e) => {
6153
- let t = this.getAttribute(e);
6154
- t !== null && (this[e] = cr(e, t));
6155
- }), o.forEach((e) => {
6154
+ let e = (e) => {
6156
6155
  let t = this.getAttribute(e);
6157
- if (t !== null) {
6158
- let n = ur(e, t);
6159
- n !== null && (this[e] = n);
6156
+ if (t !== null) return t;
6157
+ let n = lr(e);
6158
+ return n === e ? null : this.getAttribute(n);
6159
+ };
6160
+ r.forEach((t) => {
6161
+ let n = e(t);
6162
+ n !== null && (this[t] = sr(t, n));
6163
+ }), i.forEach((t) => {
6164
+ let n = e(t);
6165
+ n !== null && (this[t] = cr(t, n));
6166
+ }), o.forEach((t) => {
6167
+ let n = e(t);
6168
+ if (n !== null) {
6169
+ let e = mr(t, n);
6170
+ e !== null && (this[t] = e);
6160
6171
  }
6161
6172
  });
6162
- let e = this.getAttribute("data-json-props");
6163
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6164
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6165
- if (n === null) {
6166
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6167
- n = this.getAttribute(e);
6168
- }
6169
- if (n !== null && !this[t]) {
6170
- let e = ur(t, n);
6171
- e !== null && (this[t] = e);
6173
+ let t = this.getAttribute("data-json-props");
6174
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6175
+ let n = ur(t), r = e(n);
6176
+ if (r !== null && !this[n]) {
6177
+ let e = mr(n, r);
6178
+ e !== null && (this[n] = e);
6172
6179
  }
6173
6180
  });
6174
6181
  }
@@ -6180,16 +6187,16 @@ function dr(e) {
6180
6187
  }
6181
6188
  return s;
6182
6189
  }
6183
- function fr(e) {
6190
+ function gr(e) {
6184
6191
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6185
6192
  }
6186
- function pr(e) {
6193
+ function _r(e) {
6187
6194
  let t = e.__name || e.name;
6188
6195
  if (!t) throw Error("Component must have a __name or name property");
6189
- let n = fr(t), r = dr(e);
6196
+ let n = gr(t), r = hr(e);
6190
6197
  customElements.get(n) || customElements.define(n, r);
6191
6198
  }
6192
6199
  //#endregion
6193
6200
  //#region .build-temp-pv-progress-bar.ts
6194
- pr(_);
6201
+ _r(_);
6195
6202
  //#endregion