@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
@@ -6187,24 +6187,28 @@ function yr(e, t) {
6187
6187
  let n = Number(t);
6188
6188
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6189
6189
  }
6190
- function br(e) {
6190
+ 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) => {
6191
+ let n = Sr(e);
6192
+ return Array.isArray(n) ? n.includes(t) : n === t;
6193
+ };
6194
+ function wr(e) {
6191
6195
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6192
6196
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6193
- 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);
6197
+ Cr(i, Boolean) ? t.add(e) : Cr(i, Number) ? n.add(e) : (Cr(i, Object) || Cr(i, Array)) && r.add(e);
6194
6198
  }), {
6195
6199
  booleanProps: t,
6196
6200
  numberProps: n,
6197
6201
  jsonProps: r
6198
6202
  };
6199
6203
  }
6200
- function xr(e, t) {
6204
+ function Tr(e, t) {
6201
6205
  try {
6202
6206
  return JSON.parse(t);
6203
6207
  } catch (n) {
6204
6208
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6205
6209
  }
6206
6210
  }
6207
- function Sr(e) {
6211
+ function Er(e) {
6208
6212
  let t = e.__name || e.name;
6209
6213
  if (!t) throw Error("Component must have a __name or name property");
6210
6214
  let n = c(e, {
@@ -6212,7 +6216,7 @@ function Sr(e) {
6212
6216
  ...pr.has(t) && { configureApp(e) {
6213
6217
  e.use(bt, dr);
6214
6218
  } }
6215
- }), { booleanProps: r, numberProps: i, jsonProps: a } = br(e);
6219
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = wr(e);
6216
6220
  class o extends n {
6217
6221
  _hiddenInput = null;
6218
6222
  constructor() {
@@ -6225,28 +6229,31 @@ function Sr(e) {
6225
6229
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6226
6230
  }
6227
6231
  _parseAttributes() {
6228
- r.forEach((e) => {
6229
- this[e] = vr(e, this.getAttribute(e));
6230
- }), i.forEach((e) => {
6232
+ let e = (e) => {
6231
6233
  let t = this.getAttribute(e);
6232
- t !== null && (this[e] = yr(e, t));
6233
- }), a.forEach((e) => {
6234
- let t = this.getAttribute(e);
6235
- if (t !== null) {
6236
- let n = xr(e, t);
6237
- n !== null && (this[e] = n);
6234
+ if (t !== null) return t;
6235
+ let n = br(e);
6236
+ return n === e ? null : this.getAttribute(n);
6237
+ };
6238
+ r.forEach((t) => {
6239
+ let n = e(t);
6240
+ n !== null && (this[t] = vr(t, n));
6241
+ }), i.forEach((t) => {
6242
+ let n = e(t);
6243
+ n !== null && (this[t] = yr(t, n));
6244
+ }), a.forEach((t) => {
6245
+ let n = e(t);
6246
+ if (n !== null) {
6247
+ let e = Tr(t, n);
6248
+ e !== null && (this[t] = e);
6238
6249
  }
6239
6250
  });
6240
- let e = this.getAttribute("data-json-props");
6241
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6242
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6243
- if (n === null) {
6244
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6245
- n = this.getAttribute(e);
6246
- }
6247
- if (n !== null && !this[t]) {
6248
- let e = xr(t, n);
6249
- e !== null && (this[t] = e);
6251
+ let t = this.getAttribute("data-json-props");
6252
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6253
+ let n = xr(t), r = e(n);
6254
+ if (r !== null && !this[n]) {
6255
+ let e = Tr(n, r);
6256
+ e !== null && (this[n] = e);
6250
6257
  }
6251
6258
  });
6252
6259
  }
@@ -6258,16 +6265,16 @@ function Sr(e) {
6258
6265
  }
6259
6266
  return o;
6260
6267
  }
6261
- function Cr(e) {
6268
+ function Dr(e) {
6262
6269
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6263
6270
  }
6264
- function wr(e) {
6271
+ function Or(e) {
6265
6272
  let t = e.__name || e.name;
6266
6273
  if (!t) throw Error("Component must have a __name or name property");
6267
- let n = Cr(t), r = Sr(e);
6274
+ let n = Dr(t), r = Er(e);
6268
6275
  customElements.get(n) || customElements.define(n, r);
6269
6276
  }
6270
6277
  //#endregion
6271
6278
  //#region .build-temp-pv-ai-button.ts
6272
- wr(O);
6279
+ Or(O);
6273
6280
  //#endregion
@@ -6168,24 +6168,28 @@ function hr(e, t) {
6168
6168
  let n = Number(t);
6169
6169
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
6170
6170
  }
6171
- function gr(e) {
6171
+ 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) => {
6172
+ let n = vr(e);
6173
+ return Array.isArray(n) ? n.includes(t) : n === t;
6174
+ };
6175
+ function br(e) {
6172
6176
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
6173
6177
  return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
6174
- 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);
6178
+ yr(i, Boolean) ? t.add(e) : yr(i, Number) ? n.add(e) : (yr(i, Object) || yr(i, Array)) && r.add(e);
6175
6179
  }), {
6176
6180
  booleanProps: t,
6177
6181
  numberProps: n,
6178
6182
  jsonProps: r
6179
6183
  };
6180
6184
  }
6181
- function _r(e, t) {
6185
+ function xr(e, t) {
6182
6186
  try {
6183
6187
  return JSON.parse(t);
6184
6188
  } catch (n) {
6185
6189
  return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
6186
6190
  }
6187
6191
  }
6188
- function vr(e) {
6192
+ function Sr(e) {
6189
6193
  let t = e.__name || e.name;
6190
6194
  if (!t) throw Error("Component must have a __name or name property");
6191
6195
  let n = c(e, {
@@ -6193,7 +6197,7 @@ function vr(e) {
6193
6197
  ...lr.has(t) && { configureApp(e) {
6194
6198
  e.use(gt, sr);
6195
6199
  } }
6196
- }), { booleanProps: r, numberProps: i, jsonProps: a } = gr(e);
6200
+ }), { booleanProps: r, numberProps: i, jsonProps: a } = br(e);
6197
6201
  class o extends n {
6198
6202
  _hiddenInput = null;
6199
6203
  constructor() {
@@ -6206,28 +6210,31 @@ function vr(e) {
6206
6210
  this._hiddenInput && (this._hiddenInput.value = e ?? "");
6207
6211
  }
6208
6212
  _parseAttributes() {
6209
- r.forEach((e) => {
6210
- this[e] = mr(e, this.getAttribute(e));
6211
- }), i.forEach((e) => {
6213
+ let e = (e) => {
6212
6214
  let t = this.getAttribute(e);
6213
- t !== null && (this[e] = hr(e, t));
6214
- }), a.forEach((e) => {
6215
- let t = this.getAttribute(e);
6216
- if (t !== null) {
6217
- let n = _r(e, t);
6218
- n !== null && (this[e] = n);
6215
+ if (t !== null) return t;
6216
+ let n = gr(e);
6217
+ return n === e ? null : this.getAttribute(n);
6218
+ };
6219
+ r.forEach((t) => {
6220
+ let n = e(t);
6221
+ n !== null && (this[t] = mr(t, n));
6222
+ }), i.forEach((t) => {
6223
+ let n = e(t);
6224
+ n !== null && (this[t] = hr(t, n));
6225
+ }), a.forEach((t) => {
6226
+ let n = e(t);
6227
+ if (n !== null) {
6228
+ let e = xr(t, n);
6229
+ e !== null && (this[t] = e);
6219
6230
  }
6220
6231
  });
6221
- let e = this.getAttribute("data-json-props");
6222
- e && e.split(",").map((e) => e.trim()).filter(Boolean).forEach((e) => {
6223
- let t = e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), n = this.getAttribute(e);
6224
- if (n === null) {
6225
- let e = t.replace(/([A-Z])/g, "-$1").toLowerCase();
6226
- n = this.getAttribute(e);
6227
- }
6228
- if (n !== null && !this[t]) {
6229
- let e = _r(t, n);
6230
- e !== null && (this[t] = e);
6232
+ let t = this.getAttribute("data-json-props");
6233
+ t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
6234
+ let n = _r(t), r = e(n);
6235
+ if (r !== null && !this[n]) {
6236
+ let e = xr(n, r);
6237
+ e !== null && (this[n] = e);
6231
6238
  }
6232
6239
  });
6233
6240
  }
@@ -6239,16 +6246,16 @@ function vr(e) {
6239
6246
  }
6240
6247
  return o;
6241
6248
  }
6242
- function yr(e) {
6249
+ function Cr(e) {
6243
6250
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
6244
6251
  }
6245
- function br(e) {
6252
+ function wr(e) {
6246
6253
  let t = e.__name || e.name;
6247
6254
  if (!t) throw Error("Component must have a __name or name property");
6248
- let n = yr(t), r = vr(e);
6255
+ let n = Cr(t), r = Sr(e);
6249
6256
  customElements.get(n) || customElements.define(n, r);
6250
6257
  }
6251
6258
  //#endregion
6252
6259
  //#region .build-temp-pv-avatar.ts
6253
- br(T);
6260
+ wr(T);
6254
6261
  //#endregion