@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
|
@@ -6192,24 +6192,28 @@ function Ar(e, t) {
|
|
|
6192
6192
|
let n = Number(t);
|
|
6193
6193
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6194
6194
|
}
|
|
6195
|
-
|
|
6195
|
+
var jr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), Mr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), Nr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Pr = (e, t) => {
|
|
6196
|
+
let n = Nr(e);
|
|
6197
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6198
|
+
};
|
|
6199
|
+
function Fr(e) {
|
|
6196
6200
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6197
6201
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6198
|
-
i
|
|
6202
|
+
Pr(i, Boolean) ? t.add(e) : Pr(i, Number) ? n.add(e) : (Pr(i, Object) || Pr(i, Array)) && r.add(e);
|
|
6199
6203
|
}), {
|
|
6200
6204
|
booleanProps: t,
|
|
6201
6205
|
numberProps: n,
|
|
6202
6206
|
jsonProps: r
|
|
6203
6207
|
};
|
|
6204
6208
|
}
|
|
6205
|
-
function
|
|
6209
|
+
function Ir(e, t) {
|
|
6206
6210
|
try {
|
|
6207
6211
|
return JSON.parse(t);
|
|
6208
6212
|
} catch (n) {
|
|
6209
6213
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6210
6214
|
}
|
|
6211
6215
|
}
|
|
6212
|
-
function
|
|
6216
|
+
function Lr(e) {
|
|
6213
6217
|
let t = e.__name || e.name;
|
|
6214
6218
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6215
6219
|
let n = a(e, {
|
|
@@ -6217,7 +6221,7 @@ function Nr(e) {
|
|
|
6217
6221
|
...wr.has(t) && { configureApp(e) {
|
|
6218
6222
|
e.use(jt, Sr);
|
|
6219
6223
|
} }
|
|
6220
|
-
}), { booleanProps: r, numberProps: i, jsonProps: o } =
|
|
6224
|
+
}), { booleanProps: r, numberProps: i, jsonProps: o } = Fr(e);
|
|
6221
6225
|
class s extends n {
|
|
6222
6226
|
_hiddenInput = null;
|
|
6223
6227
|
constructor() {
|
|
@@ -6230,28 +6234,31 @@ function Nr(e) {
|
|
|
6230
6234
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6231
6235
|
}
|
|
6232
6236
|
_parseAttributes() {
|
|
6233
|
-
|
|
6234
|
-
this[e] = kr(e, this.getAttribute(e));
|
|
6235
|
-
}), i.forEach((e) => {
|
|
6237
|
+
let e = (e) => {
|
|
6236
6238
|
let t = this.getAttribute(e);
|
|
6237
|
-
t !== null
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6239
|
+
if (t !== null) return t;
|
|
6240
|
+
let n = jr(e);
|
|
6241
|
+
return n === e ? null : this.getAttribute(n);
|
|
6242
|
+
};
|
|
6243
|
+
r.forEach((t) => {
|
|
6244
|
+
let n = e(t);
|
|
6245
|
+
n !== null && (this[t] = kr(t, n));
|
|
6246
|
+
}), i.forEach((t) => {
|
|
6247
|
+
let n = e(t);
|
|
6248
|
+
n !== null && (this[t] = Ar(t, n));
|
|
6249
|
+
}), o.forEach((t) => {
|
|
6250
|
+
let n = e(t);
|
|
6251
|
+
if (n !== null) {
|
|
6252
|
+
let e = Ir(t, n);
|
|
6253
|
+
e !== null && (this[t] = e);
|
|
6243
6254
|
}
|
|
6244
6255
|
});
|
|
6245
|
-
let
|
|
6246
|
-
|
|
6247
|
-
let
|
|
6248
|
-
if (
|
|
6249
|
-
let e =
|
|
6250
|
-
n =
|
|
6251
|
-
}
|
|
6252
|
-
if (n !== null && !this[t]) {
|
|
6253
|
-
let e = Mr(t, n);
|
|
6254
|
-
e !== null && (this[t] = e);
|
|
6256
|
+
let t = this.getAttribute("data-json-props");
|
|
6257
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6258
|
+
let n = Mr(t), r = e(n);
|
|
6259
|
+
if (r !== null && !this[n]) {
|
|
6260
|
+
let e = Ir(n, r);
|
|
6261
|
+
e !== null && (this[n] = e);
|
|
6255
6262
|
}
|
|
6256
6263
|
});
|
|
6257
6264
|
}
|
|
@@ -6263,16 +6270,16 @@ function Nr(e) {
|
|
|
6263
6270
|
}
|
|
6264
6271
|
return s;
|
|
6265
6272
|
}
|
|
6266
|
-
function
|
|
6273
|
+
function Rr(e) {
|
|
6267
6274
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6268
6275
|
}
|
|
6269
|
-
function
|
|
6276
|
+
function zr(e) {
|
|
6270
6277
|
let t = e.__name || e.name;
|
|
6271
6278
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6272
|
-
let n =
|
|
6279
|
+
let n = Rr(t), r = Lr(e);
|
|
6273
6280
|
customElements.get(n) || customElements.define(n, r);
|
|
6274
6281
|
}
|
|
6275
6282
|
//#endregion
|
|
6276
6283
|
//#region .build-temp-pv-search-input.ts
|
|
6277
|
-
|
|
6284
|
+
zr(oe);
|
|
6278
6285
|
//#endregion
|
|
@@ -7641,24 +7641,28 @@ function Mo(e, t) {
|
|
|
7641
7641
|
let n = Number(t);
|
|
7642
7642
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
7643
7643
|
}
|
|
7644
|
-
|
|
7644
|
+
var No = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), Po = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), Fo = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Io = (e, t) => {
|
|
7645
|
+
let n = Fo(e);
|
|
7646
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
7647
|
+
};
|
|
7648
|
+
function Lo(e) {
|
|
7645
7649
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
7646
7650
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
7647
|
-
i
|
|
7651
|
+
Io(i, Boolean) ? t.add(e) : Io(i, Number) ? n.add(e) : (Io(i, Object) || Io(i, Array)) && r.add(e);
|
|
7648
7652
|
}), {
|
|
7649
7653
|
booleanProps: t,
|
|
7650
7654
|
numberProps: n,
|
|
7651
7655
|
jsonProps: r
|
|
7652
7656
|
};
|
|
7653
7657
|
}
|
|
7654
|
-
function
|
|
7658
|
+
function Ro(e, t) {
|
|
7655
7659
|
try {
|
|
7656
7660
|
return JSON.parse(t);
|
|
7657
7661
|
} catch (n) {
|
|
7658
7662
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
7659
7663
|
}
|
|
7660
7664
|
}
|
|
7661
|
-
function
|
|
7665
|
+
function zo(e) {
|
|
7662
7666
|
let t = e.__name || e.name;
|
|
7663
7667
|
if (!t) throw Error("Component must have a __name or name property");
|
|
7664
7668
|
let n = p(e, {
|
|
@@ -7666,7 +7670,7 @@ function Fo(e) {
|
|
|
7666
7670
|
...Eo.has(t) && { configureApp(e) {
|
|
7667
7671
|
e.use(Ni, wo);
|
|
7668
7672
|
} }
|
|
7669
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
7673
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = Lo(e);
|
|
7670
7674
|
class o extends n {
|
|
7671
7675
|
_hiddenInput = null;
|
|
7672
7676
|
constructor() {
|
|
@@ -7679,28 +7683,31 @@ function Fo(e) {
|
|
|
7679
7683
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
7680
7684
|
}
|
|
7681
7685
|
_parseAttributes() {
|
|
7682
|
-
|
|
7683
|
-
this[e] = jo(e, this.getAttribute(e));
|
|
7684
|
-
}), i.forEach((e) => {
|
|
7686
|
+
let e = (e) => {
|
|
7685
7687
|
let t = this.getAttribute(e);
|
|
7686
|
-
t !== null
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7688
|
+
if (t !== null) return t;
|
|
7689
|
+
let n = No(e);
|
|
7690
|
+
return n === e ? null : this.getAttribute(n);
|
|
7691
|
+
};
|
|
7692
|
+
r.forEach((t) => {
|
|
7693
|
+
let n = e(t);
|
|
7694
|
+
n !== null && (this[t] = jo(t, n));
|
|
7695
|
+
}), i.forEach((t) => {
|
|
7696
|
+
let n = e(t);
|
|
7697
|
+
n !== null && (this[t] = Mo(t, n));
|
|
7698
|
+
}), a.forEach((t) => {
|
|
7699
|
+
let n = e(t);
|
|
7700
|
+
if (n !== null) {
|
|
7701
|
+
let e = Ro(t, n);
|
|
7702
|
+
e !== null && (this[t] = e);
|
|
7692
7703
|
}
|
|
7693
7704
|
});
|
|
7694
|
-
let
|
|
7695
|
-
|
|
7696
|
-
let
|
|
7697
|
-
if (
|
|
7698
|
-
let e =
|
|
7699
|
-
n =
|
|
7700
|
-
}
|
|
7701
|
-
if (n !== null && !this[t]) {
|
|
7702
|
-
let e = Po(t, n);
|
|
7703
|
-
e !== null && (this[t] = e);
|
|
7705
|
+
let t = this.getAttribute("data-json-props");
|
|
7706
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
7707
|
+
let n = Po(t), r = e(n);
|
|
7708
|
+
if (r !== null && !this[n]) {
|
|
7709
|
+
let e = Ro(n, r);
|
|
7710
|
+
e !== null && (this[n] = e);
|
|
7704
7711
|
}
|
|
7705
7712
|
});
|
|
7706
7713
|
}
|
|
@@ -7712,16 +7719,16 @@ function Fo(e) {
|
|
|
7712
7719
|
}
|
|
7713
7720
|
return o;
|
|
7714
7721
|
}
|
|
7715
|
-
function
|
|
7722
|
+
function Bo(e) {
|
|
7716
7723
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
7717
7724
|
}
|
|
7718
|
-
function
|
|
7725
|
+
function Vo(e) {
|
|
7719
7726
|
let t = e.__name || e.name;
|
|
7720
7727
|
if (!t) throw Error("Component must have a __name or name property");
|
|
7721
|
-
let n =
|
|
7728
|
+
let n = Bo(t), r = zo(e);
|
|
7722
7729
|
customElements.get(n) || customElements.define(n, r);
|
|
7723
7730
|
}
|
|
7724
7731
|
//#endregion
|
|
7725
7732
|
//#region .build-temp-pv-segmented-control.ts
|
|
7726
|
-
|
|
7733
|
+
Vo(Zn);
|
|
7727
7734
|
//#endregion
|
|
@@ -8771,24 +8771,28 @@ function ic(e, t) {
|
|
|
8771
8771
|
let n = Number(t);
|
|
8772
8772
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
8773
8773
|
}
|
|
8774
|
-
|
|
8774
|
+
var ac = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), oc = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), sc = (e) => typeof e == "object" && e && "type" in e ? e.type : e, cc = (e, t) => {
|
|
8775
|
+
let n = sc(e);
|
|
8776
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
8777
|
+
};
|
|
8778
|
+
function lc(e) {
|
|
8775
8779
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
8776
8780
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
8777
|
-
i
|
|
8781
|
+
cc(i, Boolean) ? t.add(e) : cc(i, Number) ? n.add(e) : (cc(i, Object) || cc(i, Array)) && r.add(e);
|
|
8778
8782
|
}), {
|
|
8779
8783
|
booleanProps: t,
|
|
8780
8784
|
numberProps: n,
|
|
8781
8785
|
jsonProps: r
|
|
8782
8786
|
};
|
|
8783
8787
|
}
|
|
8784
|
-
function
|
|
8788
|
+
function uc(e, t) {
|
|
8785
8789
|
try {
|
|
8786
8790
|
return JSON.parse(t);
|
|
8787
8791
|
} catch (n) {
|
|
8788
8792
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
8789
8793
|
}
|
|
8790
8794
|
}
|
|
8791
|
-
function
|
|
8795
|
+
function dc(e) {
|
|
8792
8796
|
let t = e.__name || e.name;
|
|
8793
8797
|
if (!t) throw Error("Component must have a __name or name property");
|
|
8794
8798
|
let n = p(e, {
|
|
@@ -8796,7 +8800,7 @@ function sc(e) {
|
|
|
8796
8800
|
...Qs.has(t) && { configureApp(e) {
|
|
8797
8801
|
e.use(ao, Xs);
|
|
8798
8802
|
} }
|
|
8799
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
8803
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = lc(e);
|
|
8800
8804
|
class o extends n {
|
|
8801
8805
|
_hiddenInput = null;
|
|
8802
8806
|
constructor() {
|
|
@@ -8809,28 +8813,31 @@ function sc(e) {
|
|
|
8809
8813
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
8810
8814
|
}
|
|
8811
8815
|
_parseAttributes() {
|
|
8812
|
-
|
|
8813
|
-
this[e] = rc(e, this.getAttribute(e));
|
|
8814
|
-
}), i.forEach((e) => {
|
|
8816
|
+
let e = (e) => {
|
|
8815
8817
|
let t = this.getAttribute(e);
|
|
8816
|
-
t !== null
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
|
|
8820
|
-
|
|
8821
|
-
|
|
8818
|
+
if (t !== null) return t;
|
|
8819
|
+
let n = ac(e);
|
|
8820
|
+
return n === e ? null : this.getAttribute(n);
|
|
8821
|
+
};
|
|
8822
|
+
r.forEach((t) => {
|
|
8823
|
+
let n = e(t);
|
|
8824
|
+
n !== null && (this[t] = rc(t, n));
|
|
8825
|
+
}), i.forEach((t) => {
|
|
8826
|
+
let n = e(t);
|
|
8827
|
+
n !== null && (this[t] = ic(t, n));
|
|
8828
|
+
}), a.forEach((t) => {
|
|
8829
|
+
let n = e(t);
|
|
8830
|
+
if (n !== null) {
|
|
8831
|
+
let e = uc(t, n);
|
|
8832
|
+
e !== null && (this[t] = e);
|
|
8822
8833
|
}
|
|
8823
8834
|
});
|
|
8824
|
-
let
|
|
8825
|
-
|
|
8826
|
-
let
|
|
8827
|
-
if (
|
|
8828
|
-
let e =
|
|
8829
|
-
n =
|
|
8830
|
-
}
|
|
8831
|
-
if (n !== null && !this[t]) {
|
|
8832
|
-
let e = oc(t, n);
|
|
8833
|
-
e !== null && (this[t] = e);
|
|
8835
|
+
let t = this.getAttribute("data-json-props");
|
|
8836
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
8837
|
+
let n = oc(t), r = e(n);
|
|
8838
|
+
if (r !== null && !this[n]) {
|
|
8839
|
+
let e = uc(n, r);
|
|
8840
|
+
e !== null && (this[n] = e);
|
|
8834
8841
|
}
|
|
8835
8842
|
});
|
|
8836
8843
|
}
|
|
@@ -8842,16 +8849,16 @@ function sc(e) {
|
|
|
8842
8849
|
}
|
|
8843
8850
|
return o;
|
|
8844
8851
|
}
|
|
8845
|
-
function
|
|
8852
|
+
function fc(e) {
|
|
8846
8853
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
8847
8854
|
}
|
|
8848
|
-
function
|
|
8855
|
+
function pc(e) {
|
|
8849
8856
|
let t = e.__name || e.name;
|
|
8850
8857
|
if (!t) throw Error("Component must have a __name or name property");
|
|
8851
|
-
let n =
|
|
8858
|
+
let n = fc(t), r = dc(e);
|
|
8852
8859
|
customElements.get(n) || customElements.define(n, r);
|
|
8853
8860
|
}
|
|
8854
8861
|
//#endregion
|
|
8855
8862
|
//#region .build-temp-pv-select-button.ts
|
|
8856
|
-
|
|
8863
|
+
pc(bi);
|
|
8857
8864
|
//#endregion
|