@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.
- package/_site/assets/css/pit-viper-a11y.css +258 -10
- package/_site/assets/css/pit-viper-consumer.css +258 -10
- package/_site/assets/css/pit-viper-v2-scoped.css +223 -10
- package/_site/assets/css/pit-viper-v2.css +258 -10
- package/_site/assets/css/pit-viper.css +258 -10
- package/package.json +15 -15
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-action-bar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-radio-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-rating-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-release-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-selectable-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-side-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-spinner-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sprite-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-text-area-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +73 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +18 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +12 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +14 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +34 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/advancedFilterModel.d.ts +26 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/aggregateFilterModel.d.ts +56 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/filterOptionDisplay.d.ts +28 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/filterOptionValue.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +402 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/usePvFilterStore.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvHorizontalScroller/PvHorizontalScroller.vue.d.ts +36 -0
- package/pv-components/dist/vue/base/components/base/PvHorizontalScroller/types.d.ts +21 -0
- package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +27 -15
- package/pv-components/dist/vue/base/components/base/PvRange/types.d.ts +44 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +6 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +3728 -1116
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +73 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +18 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +34 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/advancedFilterModel.d.ts +26 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/aggregateFilterModel.d.ts +56 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionDisplay.d.ts +28 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionValue.d.ts +15 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +402 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/usePvFilterStore.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/base/PvHorizontalScroller/PvHorizontalScroller.vue.d.ts +36 -0
- package/pv-components/dist/vue/visualizations/components/base/PvHorizontalScroller/types.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +27 -15
- package/pv-components/dist/vue/visualizations/components/base/PvRange/types.d.ts +44 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +2 -2
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +4 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +35 -28
- package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +397 -390
- package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +35 -28
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +35 -28
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +274 -267
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +35 -28
- package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +356 -349
- package/pv-components/dist/web/components/pv-button/pv-button.js +35 -28
- package/pv-components/dist/web/components/pv-card/pv-card.js +35 -28
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +35 -28
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +35 -28
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +131 -124
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +35 -28
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +209 -202
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +71 -64
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +35 -28
- package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +508 -501
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +35 -28
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +410 -403
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +49 -42
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +10769 -0
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +35 -28
- package/pv-components/dist/web/components/pv-header/pv-header.js +49 -42
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +6476 -0
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +513 -506
- package/pv-components/dist/web/components/pv-input/pv-input.js +35 -28
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +182 -175
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +35 -28
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +35 -28
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +702 -695
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +35 -28
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +356 -349
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +35 -28
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +168 -161
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +35 -28
- package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +103 -96
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +453 -446
- package/pv-components/dist/web/components/pv-radio-group/pv-radio-group.js +35 -28
- package/pv-components/dist/web/components/pv-range/pv-range.js +1117 -530
- package/pv-components/dist/web/components/pv-rating/pv-rating.js +35 -28
- package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +209 -202
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +35 -28
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +35 -28
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +35 -28
- package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +509 -502
- package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +356 -349
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +35 -28
- package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +397 -390
- package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +397 -390
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +35 -28
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +35 -28
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +35 -28
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +35 -28
- package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +35 -28
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +35 -28
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +402 -395
- package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +35 -28
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +402 -395
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +35 -28
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +35 -28
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +35 -28
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +100 -93
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +35 -28
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +356 -349
- package/pv-components/dist/web/pv-components.iife.js +38 -38
- 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
|
-
|
|
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
|
|
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
|
|
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
|
|
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 } =
|
|
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
|
-
|
|
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
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
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
|
|
6296
|
-
|
|
6297
|
-
let
|
|
6298
|
-
if (
|
|
6299
|
-
let e =
|
|
6300
|
-
n =
|
|
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
|
|
6323
|
+
function Dr(e) {
|
|
6317
6324
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6318
6325
|
}
|
|
6319
|
-
function
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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 } =
|
|
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
|
-
|
|
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
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
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
|
|
7545
|
-
|
|
7546
|
-
let
|
|
7547
|
-
if (
|
|
7548
|
-
let e =
|
|
7549
|
-
n =
|
|
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
|
|
7572
|
+
function Po(e) {
|
|
7566
7573
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
7567
7574
|
}
|
|
7568
|
-
function
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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 } =
|
|
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
|
-
|
|
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
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
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
|
|
6262
|
-
|
|
6263
|
-
let
|
|
6264
|
-
if (
|
|
6265
|
-
let e =
|
|
6266
|
-
n =
|
|
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
|
|
6289
|
+
function Cr(e) {
|
|
6283
6290
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6284
6291
|
}
|
|
6285
|
-
function
|
|
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 =
|
|
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
|
-
|
|
6300
|
+
wr(T);
|
|
6294
6301
|
//#endregion
|