@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
@@ -6242,24 +6242,28 @@ function yr(e, t) {
6242
6242
  let n = Number(t);
6243
6243
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6244
6244
  }
6245
- function br(e) {
6245
+ var br = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), xr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), Sr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Cr = (e, t) => {
6246
+ let n = Sr(e);
6247
+ return Array.isArray(n) ? n.includes(t) : n === t;
6248
+ };
6249
+ function wr(e) {
6246
6250
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6247
6251
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6248
- 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);
6252
+ Cr(i, Boolean) ? t.add(e) : Cr(i, Number) ? n.add(e) : (Cr(i, Object) || Cr(i, Array)) && r.add(e);
6249
6253
  }), {
6250
6254
  booleanProps: t,
6251
6255
  numberProps: n,
6252
6256
  jsonProps: r
6253
6257
  };
6254
6258
  }
6255
- function xr(e, t) {
6259
+ function Tr(e, t) {
6256
6260
  try {
6257
6261
  return JSON.parse(t);
6258
6262
  } catch (n) {
6259
6263
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6260
6264
  }
6261
6265
  }
6262
- function Sr(e) {
6266
+ function Er(e) {
6263
6267
  let t = e.__name || e.name;
6264
6268
  if (!t) throw Error("Component must have a __name or name property");
6265
6269
  let n = o(e, {
@@ -6267,7 +6271,7 @@ function Sr(e) {
6267
6271
  ...pr.has(t) && { configureApp(e) {
6268
6272
  e.use(bt, dr);
6269
6273
  } }
6270
- }), { booleanProps: r, numberProps: i, jsonProps: a } = br(e);
6274
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = wr(e);
6271
6275
  class s extends n {
6272
6276
  _hiddenInput = null;
6273
6277
  constructor() {
@@ -6280,28 +6284,31 @@ function Sr(e) {
6280
6284
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6281
6285
  }
6282
6286
  _parseAttributes() {
6283
- r.forEach((e) => {
6284
- this[e] = vr(e, this.getAttribute(e));
6285
- }), i.forEach((e) => {
6287
+ let e = (e) => {
6286
6288
  let t = this.getAttribute(e);
6287
- t !== null && (this[e] = yr(e, t));
6288
- }), a.forEach((e) => {
6289
- let t = this.getAttribute(e);
6290
- if (t !== null) {
6291
- let n = xr(e, t);
6292
- n !== null && (this[e] = n);
6289
+ if (t !== null) return t;
6290
+ let n = br(e);
6291
+ return n === e ? null : this.getAttribute(n);
6292
+ };
6293
+ r.forEach((t) => {
6294
+ let n = e(t);
6295
+ n !== null && (this[t] = vr(t, n));
6296
+ }), i.forEach((t) => {
6297
+ let n = e(t);
6298
+ n !== null && (this[t] = yr(t, n));
6299
+ }), a.forEach((t) => {
6300
+ let n = e(t);
6301
+ if (n !== null) {
6302
+ let e = Tr(t, n);
6303
+ e !== null && (this[t] = e);
6293
6304
  }
6294
6305
  });
6295
- let e = this.getAttribute("data-json-props");
6296
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6297
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6298
- if (n === null) {
6299
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6300
- n = this.getAttribute(e);
6301
- }
6302
- if (n !== null && !this[t]) {
6303
- let e = xr(t, n);
6304
- e !== null && (this[t] = e);
6306
+ let t = this.getAttribute("data-json-props");
6307
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6308
+ let n = xr(t), r = e(n);
6309
+ if (r !== null && !this[n]) {
6310
+ let e = Tr(n, r);
6311
+ e !== null && (this[n] = e);
6305
6312
  }
6306
6313
  });
6307
6314
  }
@@ -6313,16 +6320,16 @@ function Sr(e) {
6313
6320
  }
6314
6321
  return s;
6315
6322
  }
6316
- function Cr(e) {
6323
+ function Dr(e) {
6317
6324
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6318
6325
  }
6319
- function wr(e) {
6326
+ function Or(e) {
6320
6327
  let t = e.__name || e.name;
6321
6328
  if (!t) throw Error("Component must have a __name or name property");
6322
- let n = Cr(t), r = Sr(e);
6329
+ let n = Dr(t), r = Er(e);
6323
6330
  customElements.get(n) || customElements.define(n, r);
6324
6331
  }
6325
6332
  //#endregion
6326
6333
  //#region .build-temp-pv-toggle-button.ts
6327
- wr(O);
6334
+ Or(O);
6328
6335
  //#endregion
@@ -7491,24 +7491,28 @@ function Eo(e, t) {
7491
7491
  let n = Number(t);
7492
7492
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
7493
7493
  }
7494
- function Do(e) {
7494
+ var Do = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), Oo = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), ko = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Ao = (e, t) => {
7495
+ let n = ko(e);
7496
+ return Array.isArray(n) ? n.includes(t) : n === t;
7497
+ };
7498
+ function jo(e) {
7495
7499
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
7496
7500
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
7497
- 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);
7501
+ Ao(i, Boolean) ? t.add(e) : Ao(i, Number) ? n.add(e) : (Ao(i, Object) || Ao(i, Array)) && r.add(e);
7498
7502
  }), {
7499
7503
  booleanProps: t,
7500
7504
  numberProps: n,
7501
7505
  jsonProps: r
7502
7506
  };
7503
7507
  }
7504
- function Oo(e, t) {
7508
+ function Mo(e, t) {
7505
7509
  try {
7506
7510
  return JSON.parse(t);
7507
7511
  } catch (n) {
7508
7512
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
7509
7513
  }
7510
7514
  }
7511
- function ko(e) {
7515
+ function No(e) {
7512
7516
  let t = e.__name || e.name;
7513
7517
  if (!t) throw Error("Component must have a __name or name property");
7514
7518
  let n = f(e, {
@@ -7516,7 +7520,7 @@ function ko(e) {
7516
7520
  ...bo.has(t) && { configureApp(e) {
7517
7521
  e.use(Di, vo);
7518
7522
  } }
7519
- }), { booleanProps: r, numberProps: i, jsonProps: a } = Do(e);
7523
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = jo(e);
7520
7524
  class o extends n {
7521
7525
  _hiddenInput = null;
7522
7526
  constructor() {
@@ -7529,28 +7533,31 @@ function ko(e) {
7529
7533
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
7530
7534
  }
7531
7535
  _parseAttributes() {
7532
- r.forEach((e) => {
7533
- this[e] = To(e, this.getAttribute(e));
7534
- }), i.forEach((e) => {
7536
+ let e = (e) => {
7535
7537
  let t = this.getAttribute(e);
7536
- t !== null && (this[e] = Eo(e, t));
7537
- }), a.forEach((e) => {
7538
- let t = this.getAttribute(e);
7539
- if (t !== null) {
7540
- let n = Oo(e, t);
7541
- n !== null && (this[e] = n);
7538
+ if (t !== null) return t;
7539
+ let n = Do(e);
7540
+ return n === e ? null : this.getAttribute(n);
7541
+ };
7542
+ r.forEach((t) => {
7543
+ let n = e(t);
7544
+ n !== null && (this[t] = To(t, n));
7545
+ }), i.forEach((t) => {
7546
+ let n = e(t);
7547
+ n !== null && (this[t] = Eo(t, n));
7548
+ }), a.forEach((t) => {
7549
+ let n = e(t);
7550
+ if (n !== null) {
7551
+ let e = Mo(t, n);
7552
+ e !== null && (this[t] = e);
7542
7553
  }
7543
7554
  });
7544
- let e = this.getAttribute("data-json-props");
7545
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
7546
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
7547
- if (n === null) {
7548
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
7549
- n = this.getAttribute(e);
7550
- }
7551
- if (n !== null && !this[t]) {
7552
- let e = Oo(t, n);
7553
- e !== null && (this[t] = e);
7555
+ let t = this.getAttribute("data-json-props");
7556
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
7557
+ let n = Oo(t), r = e(n);
7558
+ if (r !== null && !this[n]) {
7559
+ let e = Mo(n, r);
7560
+ e !== null && (this[n] = e);
7554
7561
  }
7555
7562
  });
7556
7563
  }
@@ -7562,16 +7569,16 @@ function ko(e) {
7562
7569
  }
7563
7570
  return o;
7564
7571
  }
7565
- function Ao(e) {
7572
+ function Po(e) {
7566
7573
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
7567
7574
  }
7568
- function jo(e) {
7575
+ function Fo(e) {
7569
7576
  let t = e.__name || e.name;
7570
7577
  if (!t) throw Error("Component must have a __name or name property");
7571
- let n = Ao(t), r = ko(e);
7578
+ let n = Po(t), r = No(e);
7572
7579
  customElements.get(n) || customElements.define(n, r);
7573
7580
  }
7574
7581
  //#endregion
7575
7582
  //#region .build-temp-pv-toggle-group.ts
7576
- jo(Gn);
7583
+ Fo(Gn);
7577
7584
  //#endregion
@@ -6208,24 +6208,28 @@ function hr(e, t) {
6208
6208
  let n = Number(t);
6209
6209
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6210
6210
  }
6211
- function gr(e) {
6211
+ var gr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), _r = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), vr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, yr = (e, t) => {
6212
+ let n = vr(e);
6213
+ return Array.isArray(n) ? n.includes(t) : n === t;
6214
+ };
6215
+ function br(e) {
6212
6216
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6213
6217
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6214
- 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);
6218
+ yr(i, Boolean) ? t.add(e) : yr(i, Number) ? n.add(e) : (yr(i, Object) || yr(i, Array)) && r.add(e);
6215
6219
  }), {
6216
6220
  booleanProps: t,
6217
6221
  numberProps: n,
6218
6222
  jsonProps: r
6219
6223
  };
6220
6224
  }
6221
- function _r(e, t) {
6225
+ function xr(e, t) {
6222
6226
  try {
6223
6227
  return JSON.parse(t);
6224
6228
  } catch (n) {
6225
6229
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6226
6230
  }
6227
6231
  }
6228
- function vr(e) {
6232
+ function Sr(e) {
6229
6233
  let t = e.__name || e.name;
6230
6234
  if (!t) throw Error("Component must have a __name or name property");
6231
6235
  let n = i(e, {
@@ -6233,7 +6237,7 @@ function vr(e) {
6233
6237
  ...lr.has(t) && { configureApp(e) {
6234
6238
  e.use(gt, sr);
6235
6239
  } }
6236
- }), { booleanProps: r, numberProps: a, jsonProps: o } = gr(e);
6240
+ }), { booleanProps: r, numberProps: a, jsonProps: o } = br(e);
6237
6241
  class s extends n {
6238
6242
  _hiddenInput = null;
6239
6243
  constructor() {
@@ -6246,28 +6250,31 @@ function vr(e) {
6246
6250
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6247
6251
  }
6248
6252
  _parseAttributes() {
6249
- r.forEach((e) => {
6250
- this[e] = mr(e, this.getAttribute(e));
6251
- }), a.forEach((e) => {
6253
+ let e = (e) => {
6252
6254
  let t = this.getAttribute(e);
6253
- t !== null && (this[e] = hr(e, t));
6254
- }), o.forEach((e) => {
6255
- let t = this.getAttribute(e);
6256
- if (t !== null) {
6257
- let n = _r(e, t);
6258
- n !== null && (this[e] = n);
6255
+ if (t !== null) return t;
6256
+ let n = gr(e);
6257
+ return n === e ? null : this.getAttribute(n);
6258
+ };
6259
+ r.forEach((t) => {
6260
+ let n = e(t);
6261
+ n !== null && (this[t] = mr(t, n));
6262
+ }), a.forEach((t) => {
6263
+ let n = e(t);
6264
+ n !== null && (this[t] = hr(t, n));
6265
+ }), o.forEach((t) => {
6266
+ let n = e(t);
6267
+ if (n !== null) {
6268
+ let e = xr(t, n);
6269
+ e !== null && (this[t] = e);
6259
6270
  }
6260
6271
  });
6261
- let e = this.getAttribute("data-json-props");
6262
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6263
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6264
- if (n === null) {
6265
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6266
- n = this.getAttribute(e);
6267
- }
6268
- if (n !== null && !this[t]) {
6269
- let e = _r(t, n);
6270
- e !== null && (this[t] = e);
6272
+ let t = this.getAttribute("data-json-props");
6273
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6274
+ let n = _r(t), r = e(n);
6275
+ if (r !== null && !this[n]) {
6276
+ let e = xr(n, r);
6277
+ e !== null && (this[n] = e);
6271
6278
  }
6272
6279
  });
6273
6280
  }
@@ -6279,16 +6286,16 @@ function vr(e) {
6279
6286
  }
6280
6287
  return s;
6281
6288
  }
6282
- function yr(e) {
6289
+ function Cr(e) {
6283
6290
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6284
6291
  }
6285
- function br(e) {
6292
+ function wr(e) {
6286
6293
  let t = e.__name || e.name;
6287
6294
  if (!t) throw Error("Component must have a __name or name property");
6288
- let n = yr(t), r = vr(e);
6295
+ let n = Cr(t), r = Sr(e);
6289
6296
  customElements.get(n) || customElements.define(n, r);
6290
6297
  }
6291
6298
  //#endregion
6292
6299
  //#region .build-temp-pv-tooltip.ts
6293
- br(T);
6300
+ wr(T);
6294
6301
  //#endregion