@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
@@ -8266,24 +8266,28 @@ function Os(e, t) {
8266
8266
  let n = Number(t);
8267
8267
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
8268
8268
  }
8269
- function ks(e) {
8269
+ var ks = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), As = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), js = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Ms = (e, t) => {
8270
+ let n = js(e);
8271
+ return Array.isArray(n) ? n.includes(t) : n === t;
8272
+ };
8273
+ function Ns(e) {
8270
8274
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
8271
8275
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
8272
- 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);
8276
+ Ms(i, Boolean) ? t.add(e) : Ms(i, Number) ? n.add(e) : (Ms(i, Object) || Ms(i, Array)) && r.add(e);
8273
8277
  }), {
8274
8278
  booleanProps: t,
8275
8279
  numberProps: n,
8276
8280
  jsonProps: r
8277
8281
  };
8278
8282
  }
8279
- function As(e, t) {
8283
+ function Ps(e, t) {
8280
8284
  try {
8281
8285
  return JSON.parse(t);
8282
8286
  } catch (n) {
8283
8287
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
8284
8288
  }
8285
8289
  }
8286
- function js(e) {
8290
+ function Fs(e) {
8287
8291
  let t = e.__name || e.name;
8288
8292
  if (!t) throw Error("Component must have a __name or name property");
8289
8293
  let n = p(e, {
@@ -8291,7 +8295,7 @@ function js(e) {
8291
8295
  ...Ss.has(t) && { configureApp(e) {
8292
8296
  e.use(ka, bs);
8293
8297
  } }
8294
- }), { booleanProps: r, numberProps: i, jsonProps: a } = ks(e);
8298
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = Ns(e);
8295
8299
  class o extends n {
8296
8300
  _hiddenInput = null;
8297
8301
  constructor() {
@@ -8304,28 +8308,31 @@ function js(e) {
8304
8308
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
8305
8309
  }
8306
8310
  _parseAttributes() {
8307
- r.forEach((e) => {
8308
- this[e] = Ds(e, this.getAttribute(e));
8309
- }), i.forEach((e) => {
8311
+ let e = (e) => {
8310
8312
  let t = this.getAttribute(e);
8311
- t !== null && (this[e] = Os(e, t));
8312
- }), a.forEach((e) => {
8313
- let t = this.getAttribute(e);
8314
- if (t !== null) {
8315
- let n = As(e, t);
8316
- n !== null && (this[e] = n);
8313
+ if (t !== null) return t;
8314
+ let n = ks(e);
8315
+ return n === e ? null : this.getAttribute(n);
8316
+ };
8317
+ r.forEach((t) => {
8318
+ let n = e(t);
8319
+ n !== null && (this[t] = Ds(t, n));
8320
+ }), i.forEach((t) => {
8321
+ let n = e(t);
8322
+ n !== null && (this[t] = Os(t, n));
8323
+ }), a.forEach((t) => {
8324
+ let n = e(t);
8325
+ if (n !== null) {
8326
+ let e = Ps(t, n);
8327
+ e !== null && (this[t] = e);
8317
8328
  }
8318
8329
  });
8319
- let e = this.getAttribute("data-json-props");
8320
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
8321
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
8322
- if (n === null) {
8323
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
8324
- n = this.getAttribute(e);
8325
- }
8326
- if (n !== null && !this[t]) {
8327
- let e = As(t, n);
8328
- e !== null && (this[t] = e);
8330
+ let t = this.getAttribute("data-json-props");
8331
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
8332
+ let n = As(t), r = e(n);
8333
+ if (r !== null && !this[n]) {
8334
+ let e = Ps(n, r);
8335
+ e !== null && (this[n] = e);
8329
8336
  }
8330
8337
  });
8331
8338
  }
@@ -8337,16 +8344,16 @@ function js(e) {
8337
8344
  }
8338
8345
  return o;
8339
8346
  }
8340
- function Ms(e) {
8347
+ function Is(e) {
8341
8348
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
8342
8349
  }
8343
- function Ns(e) {
8350
+ function Ls(e) {
8344
8351
  let t = e.__name || e.name;
8345
8352
  if (!t) throw Error("Component must have a __name or name property");
8346
- let n = Ms(t), r = js(e);
8353
+ let n = Is(t), r = Fs(e);
8347
8354
  customElements.get(n) || customElements.define(n, r);
8348
8355
  }
8349
8356
  //#endregion
8350
8357
  //#region .build-temp-pv-menu.ts
8351
- Ns(Gr);
8358
+ Ls(Gr);
8352
8359
  //#endregion
@@ -6140,24 +6140,28 @@ function pr(e, t) {
6140
6140
  let n = Number(t);
6141
6141
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6142
6142
  }
6143
- function mr(e) {
6143
+ var mr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), hr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), gr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, _r = (e, t) => {
6144
+ let n = gr(e);
6145
+ return Array.isArray(n) ? n.includes(t) : n === t;
6146
+ };
6147
+ function vr(e) {
6144
6148
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6145
6149
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6146
- 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);
6150
+ _r(i, Boolean) ? t.add(e) : _r(i, Number) ? n.add(e) : (_r(i, Object) || _r(i, Array)) && r.add(e);
6147
6151
  }), {
6148
6152
  booleanProps: t,
6149
6153
  numberProps: n,
6150
6154
  jsonProps: r
6151
6155
  };
6152
6156
  }
6153
- function hr(e, t) {
6157
+ function yr(e, t) {
6154
6158
  try {
6155
6159
  return JSON.parse(t);
6156
6160
  } catch (n) {
6157
6161
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6158
6162
  }
6159
6163
  }
6160
- function gr(e) {
6164
+ function br(e) {
6161
6165
  let t = e.__name || e.name;
6162
6166
  if (!t) throw Error("Component must have a __name or name property");
6163
6167
  let n = i(e, {
@@ -6165,7 +6169,7 @@ function gr(e) {
6165
6169
  ...sr.has(t) && { configureApp(e) {
6166
6170
  e.use(mt, ar);
6167
6171
  } }
6168
- }), { booleanProps: r, numberProps: a, jsonProps: o } = mr(e);
6172
+ }), { booleanProps: r, numberProps: a, jsonProps: o } = vr(e);
6169
6173
  class s extends n {
6170
6174
  _hiddenInput = null;
6171
6175
  constructor() {
@@ -6178,28 +6182,31 @@ function gr(e) {
6178
6182
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6179
6183
  }
6180
6184
  _parseAttributes() {
6181
- r.forEach((e) => {
6182
- this[e] = fr(e, this.getAttribute(e));
6183
- }), a.forEach((e) => {
6185
+ let e = (e) => {
6184
6186
  let t = this.getAttribute(e);
6185
- t !== null && (this[e] = pr(e, t));
6186
- }), o.forEach((e) => {
6187
- let t = this.getAttribute(e);
6188
- if (t !== null) {
6189
- let n = hr(e, t);
6190
- n !== null && (this[e] = n);
6187
+ if (t !== null) return t;
6188
+ let n = mr(e);
6189
+ return n === e ? null : this.getAttribute(n);
6190
+ };
6191
+ r.forEach((t) => {
6192
+ let n = e(t);
6193
+ n !== null && (this[t] = fr(t, n));
6194
+ }), a.forEach((t) => {
6195
+ let n = e(t);
6196
+ n !== null && (this[t] = pr(t, n));
6197
+ }), o.forEach((t) => {
6198
+ let n = e(t);
6199
+ if (n !== null) {
6200
+ let e = yr(t, n);
6201
+ e !== null && (this[t] = e);
6191
6202
  }
6192
6203
  });
6193
- let e = this.getAttribute("data-json-props");
6194
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6195
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6196
- if (n === null) {
6197
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6198
- n = this.getAttribute(e);
6199
- }
6200
- if (n !== null && !this[t]) {
6201
- let e = hr(t, n);
6202
- e !== null && (this[t] = e);
6204
+ let t = this.getAttribute("data-json-props");
6205
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6206
+ let n = hr(t), r = e(n);
6207
+ if (r !== null && !this[n]) {
6208
+ let e = yr(n, r);
6209
+ e !== null && (this[n] = e);
6203
6210
  }
6204
6211
  });
6205
6212
  }
@@ -6211,16 +6218,16 @@ function gr(e) {
6211
6218
  }
6212
6219
  return s;
6213
6220
  }
6214
- function _r(e) {
6221
+ function xr(e) {
6215
6222
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6216
6223
  }
6217
- function vr(e) {
6224
+ function Sr(e) {
6218
6225
  let t = e.__name || e.name;
6219
6226
  if (!t) throw Error("Component must have a __name or name property");
6220
- let n = _r(t), r = gr(e);
6227
+ let n = xr(t), r = br(e);
6221
6228
  customElements.get(n) || customElements.define(n, r);
6222
6229
  }
6223
6230
  //#endregion
6224
6231
  //#region .build-temp-pv-modal.ts
6225
- vr(S);
6232
+ Sr(S);
6226
6233
  //#endregion