@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
@@ -6274,24 +6274,28 @@ function br(e, t) {
6274
6274
  let n = Number(t);
6275
6275
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6276
6276
  }
6277
- function xr(e) {
6277
+ var xr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), Sr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), Cr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, wr = (e, t) => {
6278
+ let n = Cr(e);
6279
+ return Array.isArray(n) ? n.includes(t) : n === t;
6280
+ };
6281
+ function Tr(e) {
6278
6282
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6279
6283
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6280
- 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);
6284
+ wr(i, Boolean) ? t.add(e) : wr(i, Number) ? n.add(e) : (wr(i, Object) || wr(i, Array)) && r.add(e);
6281
6285
  }), {
6282
6286
  booleanProps: t,
6283
6287
  numberProps: n,
6284
6288
  jsonProps: r
6285
6289
  };
6286
6290
  }
6287
- function Sr(e, t) {
6291
+ function Er(e, t) {
6288
6292
  try {
6289
6293
  return JSON.parse(t);
6290
6294
  } catch (n) {
6291
6295
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6292
6296
  }
6293
6297
  }
6294
- function Cr(e) {
6298
+ function Dr(e) {
6295
6299
  let t = e.__name || e.name;
6296
6300
  if (!t) throw Error("Component must have a __name or name property");
6297
6301
  let n = s(e, {
@@ -6299,7 +6303,7 @@ function Cr(e) {
6299
6303
  ...mr.has(t) && { configureApp(e) {
6300
6304
  e.use(xt, fr);
6301
6305
  } }
6302
- }), { booleanProps: r, numberProps: i, jsonProps: a } = xr(e);
6306
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = Tr(e);
6303
6307
  class o extends n {
6304
6308
  _hiddenInput = null;
6305
6309
  constructor() {
@@ -6312,28 +6316,31 @@ function Cr(e) {
6312
6316
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6313
6317
  }
6314
6318
  _parseAttributes() {
6315
- r.forEach((e) => {
6316
- this[e] = yr(e, this.getAttribute(e));
6317
- }), i.forEach((e) => {
6319
+ let e = (e) => {
6318
6320
  let t = this.getAttribute(e);
6319
- t !== null && (this[e] = br(e, t));
6320
- }), a.forEach((e) => {
6321
- let t = this.getAttribute(e);
6322
- if (t !== null) {
6323
- let n = Sr(e, t);
6324
- n !== null && (this[e] = n);
6321
+ if (t !== null) return t;
6322
+ let n = xr(e);
6323
+ return n === e ? null : this.getAttribute(n);
6324
+ };
6325
+ r.forEach((t) => {
6326
+ let n = e(t);
6327
+ n !== null && (this[t] = yr(t, n));
6328
+ }), i.forEach((t) => {
6329
+ let n = e(t);
6330
+ n !== null && (this[t] = br(t, n));
6331
+ }), a.forEach((t) => {
6332
+ let n = e(t);
6333
+ if (n !== null) {
6334
+ let e = Er(t, n);
6335
+ e !== null && (this[t] = e);
6325
6336
  }
6326
6337
  });
6327
- let e = this.getAttribute("data-json-props");
6328
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6329
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6330
- if (n === null) {
6331
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6332
- n = this.getAttribute(e);
6333
- }
6334
- if (n !== null && !this[t]) {
6335
- let e = Sr(t, n);
6336
- e !== null && (this[t] = e);
6338
+ let t = this.getAttribute("data-json-props");
6339
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6340
+ let n = Sr(t), r = e(n);
6341
+ if (r !== null && !this[n]) {
6342
+ let e = Er(n, r);
6343
+ e !== null && (this[n] = e);
6337
6344
  }
6338
6345
  });
6339
6346
  }
@@ -6345,16 +6352,16 @@ function Cr(e) {
6345
6352
  }
6346
6353
  return o;
6347
6354
  }
6348
- function wr(e) {
6355
+ function Or(e) {
6349
6356
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6350
6357
  }
6351
- function Tr(e) {
6358
+ function kr(e) {
6352
6359
  let t = e.__name || e.name;
6353
6360
  if (!t) throw Error("Component must have a __name or name property");
6354
- let n = wr(t), r = Cr(e);
6361
+ let n = Or(t), r = Dr(e);
6355
6362
  customElements.get(n) || customElements.define(n, r);
6356
6363
  }
6357
6364
  //#endregion
6358
6365
  //#region .build-temp-pv-button.ts
6359
- Tr(A);
6366
+ kr(A);
6360
6367
  //#endregion
@@ -6121,24 +6121,28 @@ function or(e, t) {
6121
6121
  let n = Number(t);
6122
6122
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6123
6123
  }
6124
- function sr(e) {
6124
+ var sr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), cr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), lr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, ur = (e, t) => {
6125
+ let n = lr(e);
6126
+ return Array.isArray(n) ? n.includes(t) : n === t;
6127
+ };
6128
+ function dr(e) {
6125
6129
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6126
6130
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6127
- 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);
6131
+ ur(i, Boolean) ? t.add(e) : ur(i, Number) ? n.add(e) : (ur(i, Object) || ur(i, Array)) && r.add(e);
6128
6132
  }), {
6129
6133
  booleanProps: t,
6130
6134
  numberProps: n,
6131
6135
  jsonProps: r
6132
6136
  };
6133
6137
  }
6134
- function cr(e, t) {
6138
+ function fr(e, t) {
6135
6139
  try {
6136
6140
  return JSON.parse(t);
6137
6141
  } catch (n) {
6138
6142
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6139
6143
  }
6140
6144
  }
6141
- function lr(e) {
6145
+ function pr(e) {
6142
6146
  let t = e.__name || e.name;
6143
6147
  if (!t) throw Error("Component must have a __name or name property");
6144
6148
  let n = r(e, {
@@ -6146,7 +6150,7 @@ function lr(e) {
6146
6150
  ...er.has(t) && { configureApp(e) {
6147
6151
  e.use(st, Qn);
6148
6152
  } }
6149
- }), { booleanProps: i, numberProps: a, jsonProps: o } = sr(e);
6153
+ }), { booleanProps: i, numberProps: a, jsonProps: o } = dr(e);
6150
6154
  class s extends n {
6151
6155
  _hiddenInput = null;
6152
6156
  constructor() {
@@ -6159,28 +6163,31 @@ function lr(e) {
6159
6163
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6160
6164
  }
6161
6165
  _parseAttributes() {
6162
- i.forEach((e) => {
6163
- this[e] = ar(e, this.getAttribute(e));
6164
- }), a.forEach((e) => {
6166
+ let e = (e) => {
6165
6167
  let t = this.getAttribute(e);
6166
- t !== null && (this[e] = or(e, t));
6167
- }), o.forEach((e) => {
6168
- let t = this.getAttribute(e);
6169
- if (t !== null) {
6170
- let n = cr(e, t);
6171
- n !== null && (this[e] = n);
6168
+ if (t !== null) return t;
6169
+ let n = sr(e);
6170
+ return n === e ? null : this.getAttribute(n);
6171
+ };
6172
+ i.forEach((t) => {
6173
+ let n = e(t);
6174
+ n !== null && (this[t] = ar(t, n));
6175
+ }), a.forEach((t) => {
6176
+ let n = e(t);
6177
+ n !== null && (this[t] = or(t, n));
6178
+ }), o.forEach((t) => {
6179
+ let n = e(t);
6180
+ if (n !== null) {
6181
+ let e = fr(t, n);
6182
+ e !== null && (this[t] = e);
6172
6183
  }
6173
6184
  });
6174
- let e = this.getAttribute("data-json-props");
6175
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6176
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6177
- if (n === null) {
6178
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6179
- n = this.getAttribute(e);
6180
- }
6181
- if (n !== null && !this[t]) {
6182
- let e = cr(t, n);
6183
- e !== null && (this[t] = e);
6185
+ let t = this.getAttribute("data-json-props");
6186
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6187
+ let n = cr(t), r = e(n);
6188
+ if (r !== null && !this[n]) {
6189
+ let e = fr(n, r);
6190
+ e !== null && (this[n] = e);
6184
6191
  }
6185
6192
  });
6186
6193
  }
@@ -6192,16 +6199,16 @@ function lr(e) {
6192
6199
  }
6193
6200
  return s;
6194
6201
  }
6195
- function ur(e) {
6202
+ function mr(e) {
6196
6203
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6197
6204
  }
6198
- function dr(e) {
6205
+ function hr(e) {
6199
6206
  let t = e.__name || e.name;
6200
6207
  if (!t) throw Error("Component must have a __name or name property");
6201
- let n = ur(t), r = lr(e);
6208
+ let n = mr(t), r = pr(e);
6202
6209
  customElements.get(n) || customElements.define(n, r);
6203
6210
  }
6204
6211
  //#endregion
6205
6212
  //#region .build-temp-pv-card.ts
6206
- dr(g);
6213
+ hr(g);
6207
6214
  //#endregion
@@ -6119,24 +6119,28 @@ function or(e, t) {
6119
6119
  let n = Number(t);
6120
6120
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6121
6121
  }
6122
- function sr(e) {
6122
+ var sr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), cr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), lr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, ur = (e, t) => {
6123
+ let n = lr(e);
6124
+ return Array.isArray(n) ? n.includes(t) : n === t;
6125
+ };
6126
+ function dr(e) {
6123
6127
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6124
6128
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6125
- 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);
6129
+ ur(i, Boolean) ? t.add(e) : ur(i, Number) ? n.add(e) : (ur(i, Object) || ur(i, Array)) && r.add(e);
6126
6130
  }), {
6127
6131
  booleanProps: t,
6128
6132
  numberProps: n,
6129
6133
  jsonProps: r
6130
6134
  };
6131
6135
  }
6132
- function cr(e, t) {
6136
+ function fr(e, t) {
6133
6137
  try {
6134
6138
  return JSON.parse(t);
6135
6139
  } catch (n) {
6136
6140
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6137
6141
  }
6138
6142
  }
6139
- function lr(e) {
6143
+ function pr(e) {
6140
6144
  let t = e.__name || e.name;
6141
6145
  if (!t) throw Error("Component must have a __name or name property");
6142
6146
  let r = n(e, {
@@ -6144,7 +6148,7 @@ function lr(e) {
6144
6148
  ...er.has(t) && { configureApp(e) {
6145
6149
  e.use(st, Qn);
6146
6150
  } }
6147
- }), { booleanProps: i, numberProps: a, jsonProps: o } = sr(e);
6151
+ }), { booleanProps: i, numberProps: a, jsonProps: o } = dr(e);
6148
6152
  class s extends r {
6149
6153
  _hiddenInput = null;
6150
6154
  constructor() {
@@ -6157,28 +6161,31 @@ function lr(e) {
6157
6161
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6158
6162
  }
6159
6163
  _parseAttributes() {
6160
- i.forEach((e) => {
6161
- this[e] = ar(e, this.getAttribute(e));
6162
- }), a.forEach((e) => {
6164
+ let e = (e) => {
6163
6165
  let t = this.getAttribute(e);
6164
- t !== null && (this[e] = or(e, t));
6165
- }), o.forEach((e) => {
6166
- let t = this.getAttribute(e);
6167
- if (t !== null) {
6168
- let n = cr(e, t);
6169
- n !== null && (this[e] = n);
6166
+ if (t !== null) return t;
6167
+ let n = sr(e);
6168
+ return n === e ? null : this.getAttribute(n);
6169
+ };
6170
+ i.forEach((t) => {
6171
+ let n = e(t);
6172
+ n !== null && (this[t] = ar(t, n));
6173
+ }), a.forEach((t) => {
6174
+ let n = e(t);
6175
+ n !== null && (this[t] = or(t, n));
6176
+ }), o.forEach((t) => {
6177
+ let n = e(t);
6178
+ if (n !== null) {
6179
+ let e = fr(t, n);
6180
+ e !== null && (this[t] = e);
6170
6181
  }
6171
6182
  });
6172
- let e = this.getAttribute("data-json-props");
6173
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6174
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6175
- if (n === null) {
6176
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6177
- n = this.getAttribute(e);
6178
- }
6179
- if (n !== null && !this[t]) {
6180
- let e = cr(t, n);
6181
- e !== null && (this[t] = e);
6183
+ let t = this.getAttribute("data-json-props");
6184
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6185
+ let n = cr(t), r = e(n);
6186
+ if (r !== null && !this[n]) {
6187
+ let e = fr(n, r);
6188
+ e !== null && (this[n] = e);
6182
6189
  }
6183
6190
  });
6184
6191
  }
@@ -6190,16 +6197,16 @@ function lr(e) {
6190
6197
  }
6191
6198
  return s;
6192
6199
  }
6193
- function ur(e) {
6200
+ function mr(e) {
6194
6201
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6195
6202
  }
6196
- function dr(e) {
6203
+ function hr(e) {
6197
6204
  let t = e.__name || e.name;
6198
6205
  if (!t) throw Error("Component must have a __name or name property");
6199
- let n = ur(t), r = lr(e);
6206
+ let n = mr(t), r = pr(e);
6200
6207
  customElements.get(n) || customElements.define(n, r);
6201
6208
  }
6202
6209
  //#endregion
6203
6210
  //#region .build-temp-pv-checkbox.ts
6204
- dr(g);
6211
+ hr(g);
6205
6212
  //#endregion
@@ -6156,24 +6156,28 @@ function fr(e, t) {
6156
6156
  let n = Number(t);
6157
6157
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6158
6158
  }
6159
- function pr(e) {
6159
+ var pr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), mr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), hr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, gr = (e, t) => {
6160
+ let n = hr(e);
6161
+ return Array.isArray(n) ? n.includes(t) : n === t;
6162
+ };
6163
+ function _r(e) {
6160
6164
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6161
6165
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6162
- 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);
6166
+ gr(i, Boolean) ? t.add(e) : gr(i, Number) ? n.add(e) : (gr(i, Object) || gr(i, Array)) && r.add(e);
6163
6167
  }), {
6164
6168
  booleanProps: t,
6165
6169
  numberProps: n,
6166
6170
  jsonProps: r
6167
6171
  };
6168
6172
  }
6169
- function mr(e, t) {
6173
+ function vr(e, t) {
6170
6174
  try {
6171
6175
  return JSON.parse(t);
6172
6176
  } catch (n) {
6173
6177
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6174
6178
  }
6175
6179
  }
6176
- function hr(e) {
6180
+ function yr(e) {
6177
6181
  let t = e.__name || e.name;
6178
6182
  if (!t) throw Error("Component must have a __name or name property");
6179
6183
  let n = a(e, {
@@ -6181,7 +6185,7 @@ function hr(e) {
6181
6185
  ...or.has(t) && { configureApp(e) {
6182
6186
  e.use(pt, ir);
6183
6187
  } }
6184
- }), { booleanProps: r, numberProps: i, jsonProps: o } = pr(e);
6188
+ }), { booleanProps: r, numberProps: i, jsonProps: o } = _r(e);
6185
6189
  class s extends n {
6186
6190
  _hiddenInput = null;
6187
6191
  constructor() {
@@ -6194,28 +6198,31 @@ function hr(e) {
6194
6198
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6195
6199
  }
6196
6200
  _parseAttributes() {
6197
- r.forEach((e) => {
6198
- this[e] = dr(e, this.getAttribute(e));
6199
- }), i.forEach((e) => {
6201
+ let e = (e) => {
6200
6202
  let t = this.getAttribute(e);
6201
- t !== null && (this[e] = fr(e, t));
6202
- }), o.forEach((e) => {
6203
- let t = this.getAttribute(e);
6204
- if (t !== null) {
6205
- let n = mr(e, t);
6206
- n !== null && (this[e] = n);
6203
+ if (t !== null) return t;
6204
+ let n = pr(e);
6205
+ return n === e ? null : this.getAttribute(n);
6206
+ };
6207
+ r.forEach((t) => {
6208
+ let n = e(t);
6209
+ n !== null && (this[t] = dr(t, n));
6210
+ }), i.forEach((t) => {
6211
+ let n = e(t);
6212
+ n !== null && (this[t] = fr(t, n));
6213
+ }), o.forEach((t) => {
6214
+ let n = e(t);
6215
+ if (n !== null) {
6216
+ let e = vr(t, n);
6217
+ e !== null && (this[t] = e);
6207
6218
  }
6208
6219
  });
6209
- let e = this.getAttribute("data-json-props");
6210
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6211
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6212
- if (n === null) {
6213
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6214
- n = this.getAttribute(e);
6215
- }
6216
- if (n !== null && !this[t]) {
6217
- let e = mr(t, n);
6218
- e !== null && (this[t] = e);
6220
+ let t = this.getAttribute("data-json-props");
6221
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6222
+ let n = mr(t), r = e(n);
6223
+ if (r !== null && !this[n]) {
6224
+ let e = vr(n, r);
6225
+ e !== null && (this[n] = e);
6219
6226
  }
6220
6227
  });
6221
6228
  }
@@ -6227,16 +6234,16 @@ function hr(e) {
6227
6234
  }
6228
6235
  return s;
6229
6236
  }
6230
- function gr(e) {
6237
+ function br(e) {
6231
6238
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6232
6239
  }
6233
- function _r(e) {
6240
+ function xr(e) {
6234
6241
  let t = e.__name || e.name;
6235
6242
  if (!t) throw Error("Component must have a __name or name property");
6236
- let n = gr(t), r = hr(e);
6243
+ let n = br(t), r = yr(e);
6237
6244
  customElements.get(n) || customElements.define(n, r);
6238
6245
  }
6239
6246
  //#endregion
6240
6247
  //#region .build-temp-pv-company-label.ts
6241
- _r(S);
6248
+ xr(S);
6242
6249
  //#endregion