@turquoisehealth/pit-viper 2.194.3-dev.1 → 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 +3729 -1117
- 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 +50 -43
- 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 +452 -445
- 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
|
@@ -6117,24 +6117,28 @@ function or(e, t) {
|
|
|
6117
6117
|
let n = Number(t);
|
|
6118
6118
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6119
6119
|
}
|
|
6120
|
-
|
|
6120
|
+
var sr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), cr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), lr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, ur = (e, t) => {
|
|
6121
|
+
let n = lr(e);
|
|
6122
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6123
|
+
};
|
|
6124
|
+
function dr(e) {
|
|
6121
6125
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6122
6126
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6123
|
-
i
|
|
6127
|
+
ur(i, Boolean) ? t.add(e) : ur(i, Number) ? n.add(e) : (ur(i, Object) || ur(i, Array)) && r.add(e);
|
|
6124
6128
|
}), {
|
|
6125
6129
|
booleanProps: t,
|
|
6126
6130
|
numberProps: n,
|
|
6127
6131
|
jsonProps: r
|
|
6128
6132
|
};
|
|
6129
6133
|
}
|
|
6130
|
-
function
|
|
6134
|
+
function fr(e, t) {
|
|
6131
6135
|
try {
|
|
6132
6136
|
return JSON.parse(t);
|
|
6133
6137
|
} catch (n) {
|
|
6134
6138
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6135
6139
|
}
|
|
6136
6140
|
}
|
|
6137
|
-
function
|
|
6141
|
+
function pr(e) {
|
|
6138
6142
|
let t = e.__name || e.name;
|
|
6139
6143
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6140
6144
|
let n = r(e, {
|
|
@@ -6142,7 +6146,7 @@ function lr(e) {
|
|
|
6142
6146
|
...er.has(t) && { configureApp(e) {
|
|
6143
6147
|
e.use(st, Qn);
|
|
6144
6148
|
} }
|
|
6145
|
-
}), { booleanProps: i, numberProps: a, jsonProps: o } =
|
|
6149
|
+
}), { booleanProps: i, numberProps: a, jsonProps: o } = dr(e);
|
|
6146
6150
|
class s extends n {
|
|
6147
6151
|
_hiddenInput = null;
|
|
6148
6152
|
constructor() {
|
|
@@ -6155,28 +6159,31 @@ function lr(e) {
|
|
|
6155
6159
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6156
6160
|
}
|
|
6157
6161
|
_parseAttributes() {
|
|
6158
|
-
|
|
6159
|
-
this[e] = ar(e, this.getAttribute(e));
|
|
6160
|
-
}), a.forEach((e) => {
|
|
6162
|
+
let e = (e) => {
|
|
6161
6163
|
let t = this.getAttribute(e);
|
|
6162
|
-
t !== null
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6164
|
+
if (t !== null) return t;
|
|
6165
|
+
let n = sr(e);
|
|
6166
|
+
return n === e ? null : this.getAttribute(n);
|
|
6167
|
+
};
|
|
6168
|
+
i.forEach((t) => {
|
|
6169
|
+
let n = e(t);
|
|
6170
|
+
n !== null && (this[t] = ar(t, n));
|
|
6171
|
+
}), a.forEach((t) => {
|
|
6172
|
+
let n = e(t);
|
|
6173
|
+
n !== null && (this[t] = or(t, n));
|
|
6174
|
+
}), o.forEach((t) => {
|
|
6175
|
+
let n = e(t);
|
|
6176
|
+
if (n !== null) {
|
|
6177
|
+
let e = fr(t, n);
|
|
6178
|
+
e !== null && (this[t] = e);
|
|
6168
6179
|
}
|
|
6169
6180
|
});
|
|
6170
|
-
let
|
|
6171
|
-
|
|
6172
|
-
let
|
|
6173
|
-
if (
|
|
6174
|
-
let e =
|
|
6175
|
-
n =
|
|
6176
|
-
}
|
|
6177
|
-
if (n !== null && !this[t]) {
|
|
6178
|
-
let e = cr(t, n);
|
|
6179
|
-
e !== null && (this[t] = e);
|
|
6181
|
+
let t = this.getAttribute("data-json-props");
|
|
6182
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6183
|
+
let n = cr(t), r = e(n);
|
|
6184
|
+
if (r !== null && !this[n]) {
|
|
6185
|
+
let e = fr(n, r);
|
|
6186
|
+
e !== null && (this[n] = e);
|
|
6180
6187
|
}
|
|
6181
6188
|
});
|
|
6182
6189
|
}
|
|
@@ -6188,16 +6195,16 @@ function lr(e) {
|
|
|
6188
6195
|
}
|
|
6189
6196
|
return s;
|
|
6190
6197
|
}
|
|
6191
|
-
function
|
|
6198
|
+
function mr(e) {
|
|
6192
6199
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6193
6200
|
}
|
|
6194
|
-
function
|
|
6201
|
+
function hr(e) {
|
|
6195
6202
|
let t = e.__name || e.name;
|
|
6196
6203
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6197
|
-
let n =
|
|
6204
|
+
let n = mr(t), r = pr(e);
|
|
6198
6205
|
customElements.get(n) || customElements.define(n, r);
|
|
6199
6206
|
}
|
|
6200
6207
|
//#endregion
|
|
6201
6208
|
//#region .build-temp-pv-stepper.ts
|
|
6202
|
-
|
|
6209
|
+
hr(g);
|
|
6203
6210
|
//#endregion
|
|
@@ -6167,24 +6167,28 @@ function pr(e, t) {
|
|
|
6167
6167
|
let n = Number(t);
|
|
6168
6168
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6169
6169
|
}
|
|
6170
|
-
|
|
6170
|
+
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) => {
|
|
6171
|
+
let n = gr(e);
|
|
6172
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6173
|
+
};
|
|
6174
|
+
function vr(e) {
|
|
6171
6175
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6172
6176
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6173
|
-
i
|
|
6177
|
+
_r(i, Boolean) ? t.add(e) : _r(i, Number) ? n.add(e) : (_r(i, Object) || _r(i, Array)) && r.add(e);
|
|
6174
6178
|
}), {
|
|
6175
6179
|
booleanProps: t,
|
|
6176
6180
|
numberProps: n,
|
|
6177
6181
|
jsonProps: r
|
|
6178
6182
|
};
|
|
6179
6183
|
}
|
|
6180
|
-
function
|
|
6184
|
+
function yr(e, t) {
|
|
6181
6185
|
try {
|
|
6182
6186
|
return JSON.parse(t);
|
|
6183
6187
|
} catch (n) {
|
|
6184
6188
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6185
6189
|
}
|
|
6186
6190
|
}
|
|
6187
|
-
function
|
|
6191
|
+
function br(e) {
|
|
6188
6192
|
let t = e.__name || e.name;
|
|
6189
6193
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6190
6194
|
let n = o(e, {
|
|
@@ -6192,7 +6196,7 @@ function gr(e) {
|
|
|
6192
6196
|
...sr.has(t) && { configureApp(e) {
|
|
6193
6197
|
e.use(mt, ar);
|
|
6194
6198
|
} }
|
|
6195
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
6199
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = vr(e);
|
|
6196
6200
|
class s extends n {
|
|
6197
6201
|
_hiddenInput = null;
|
|
6198
6202
|
constructor() {
|
|
@@ -6205,28 +6209,31 @@ function gr(e) {
|
|
|
6205
6209
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6206
6210
|
}
|
|
6207
6211
|
_parseAttributes() {
|
|
6208
|
-
|
|
6209
|
-
this[e] = fr(e, this.getAttribute(e));
|
|
6210
|
-
}), i.forEach((e) => {
|
|
6212
|
+
let e = (e) => {
|
|
6211
6213
|
let t = this.getAttribute(e);
|
|
6212
|
-
t !== null
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6214
|
+
if (t !== null) return t;
|
|
6215
|
+
let n = mr(e);
|
|
6216
|
+
return n === e ? null : this.getAttribute(n);
|
|
6217
|
+
};
|
|
6218
|
+
r.forEach((t) => {
|
|
6219
|
+
let n = e(t);
|
|
6220
|
+
n !== null && (this[t] = fr(t, n));
|
|
6221
|
+
}), i.forEach((t) => {
|
|
6222
|
+
let n = e(t);
|
|
6223
|
+
n !== null && (this[t] = pr(t, n));
|
|
6224
|
+
}), a.forEach((t) => {
|
|
6225
|
+
let n = e(t);
|
|
6226
|
+
if (n !== null) {
|
|
6227
|
+
let e = yr(t, n);
|
|
6228
|
+
e !== null && (this[t] = e);
|
|
6218
6229
|
}
|
|
6219
6230
|
});
|
|
6220
|
-
let
|
|
6221
|
-
|
|
6222
|
-
let
|
|
6223
|
-
if (
|
|
6224
|
-
let e =
|
|
6225
|
-
n =
|
|
6226
|
-
}
|
|
6227
|
-
if (n !== null && !this[t]) {
|
|
6228
|
-
let e = hr(t, n);
|
|
6229
|
-
e !== null && (this[t] = e);
|
|
6231
|
+
let t = this.getAttribute("data-json-props");
|
|
6232
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6233
|
+
let n = hr(t), r = e(n);
|
|
6234
|
+
if (r !== null && !this[n]) {
|
|
6235
|
+
let e = yr(n, r);
|
|
6236
|
+
e !== null && (this[n] = e);
|
|
6230
6237
|
}
|
|
6231
6238
|
});
|
|
6232
6239
|
}
|
|
@@ -6238,16 +6245,16 @@ function gr(e) {
|
|
|
6238
6245
|
}
|
|
6239
6246
|
return s;
|
|
6240
6247
|
}
|
|
6241
|
-
function
|
|
6248
|
+
function xr(e) {
|
|
6242
6249
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6243
6250
|
}
|
|
6244
|
-
function
|
|
6251
|
+
function Sr(e) {
|
|
6245
6252
|
let t = e.__name || e.name;
|
|
6246
6253
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6247
|
-
let n =
|
|
6254
|
+
let n = xr(t), r = br(e);
|
|
6248
6255
|
customElements.get(n) || customElements.define(n, r);
|
|
6249
6256
|
}
|
|
6250
6257
|
//#endregion
|
|
6251
6258
|
//#region .build-temp-pv-suggestion-tag.ts
|
|
6252
|
-
|
|
6259
|
+
Sr(S);
|
|
6253
6260
|
//#endregion
|
|
@@ -6143,24 +6143,28 @@ function mr(e, t) {
|
|
|
6143
6143
|
let n = Number(t);
|
|
6144
6144
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6145
6145
|
}
|
|
6146
|
-
|
|
6146
|
+
var hr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), gr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), _r = (e) => typeof e == "object" && e && "type" in e ? e.type : e, vr = (e, t) => {
|
|
6147
|
+
let n = _r(e);
|
|
6148
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6149
|
+
};
|
|
6150
|
+
function yr(e) {
|
|
6147
6151
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6148
6152
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6149
|
-
i
|
|
6153
|
+
vr(i, Boolean) ? t.add(e) : vr(i, Number) ? n.add(e) : (vr(i, Object) || vr(i, Array)) && r.add(e);
|
|
6150
6154
|
}), {
|
|
6151
6155
|
booleanProps: t,
|
|
6152
6156
|
numberProps: n,
|
|
6153
6157
|
jsonProps: r
|
|
6154
6158
|
};
|
|
6155
6159
|
}
|
|
6156
|
-
function
|
|
6160
|
+
function br(e, t) {
|
|
6157
6161
|
try {
|
|
6158
6162
|
return JSON.parse(t);
|
|
6159
6163
|
} catch (n) {
|
|
6160
6164
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6161
6165
|
}
|
|
6162
6166
|
}
|
|
6163
|
-
function
|
|
6167
|
+
function xr(e) {
|
|
6164
6168
|
let t = e.__name || e.name;
|
|
6165
6169
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6166
6170
|
let n = i(e, {
|
|
@@ -6168,7 +6172,7 @@ function _r(e) {
|
|
|
6168
6172
|
...cr.has(t) && { configureApp(e) {
|
|
6169
6173
|
e.use(ht, or);
|
|
6170
6174
|
} }
|
|
6171
|
-
}), { booleanProps: r, numberProps: a, jsonProps: o } =
|
|
6175
|
+
}), { booleanProps: r, numberProps: a, jsonProps: o } = yr(e);
|
|
6172
6176
|
class s extends n {
|
|
6173
6177
|
_hiddenInput = null;
|
|
6174
6178
|
constructor() {
|
|
@@ -6181,28 +6185,31 @@ function _r(e) {
|
|
|
6181
6185
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6182
6186
|
}
|
|
6183
6187
|
_parseAttributes() {
|
|
6184
|
-
|
|
6185
|
-
this[e] = pr(e, this.getAttribute(e));
|
|
6186
|
-
}), a.forEach((e) => {
|
|
6188
|
+
let e = (e) => {
|
|
6187
6189
|
let t = this.getAttribute(e);
|
|
6188
|
-
t !== null
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6190
|
+
if (t !== null) return t;
|
|
6191
|
+
let n = hr(e);
|
|
6192
|
+
return n === e ? null : this.getAttribute(n);
|
|
6193
|
+
};
|
|
6194
|
+
r.forEach((t) => {
|
|
6195
|
+
let n = e(t);
|
|
6196
|
+
n !== null && (this[t] = pr(t, n));
|
|
6197
|
+
}), a.forEach((t) => {
|
|
6198
|
+
let n = e(t);
|
|
6199
|
+
n !== null && (this[t] = mr(t, n));
|
|
6200
|
+
}), o.forEach((t) => {
|
|
6201
|
+
let n = e(t);
|
|
6202
|
+
if (n !== null) {
|
|
6203
|
+
let e = br(t, n);
|
|
6204
|
+
e !== null && (this[t] = e);
|
|
6194
6205
|
}
|
|
6195
6206
|
});
|
|
6196
|
-
let
|
|
6197
|
-
|
|
6198
|
-
let
|
|
6199
|
-
if (
|
|
6200
|
-
let e =
|
|
6201
|
-
n =
|
|
6202
|
-
}
|
|
6203
|
-
if (n !== null && !this[t]) {
|
|
6204
|
-
let e = gr(t, n);
|
|
6205
|
-
e !== null && (this[t] = e);
|
|
6207
|
+
let t = this.getAttribute("data-json-props");
|
|
6208
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6209
|
+
let n = gr(t), r = e(n);
|
|
6210
|
+
if (r !== null && !this[n]) {
|
|
6211
|
+
let e = br(n, r);
|
|
6212
|
+
e !== null && (this[n] = e);
|
|
6206
6213
|
}
|
|
6207
6214
|
});
|
|
6208
6215
|
}
|
|
@@ -6214,16 +6221,16 @@ function _r(e) {
|
|
|
6214
6221
|
}
|
|
6215
6222
|
return s;
|
|
6216
6223
|
}
|
|
6217
|
-
function
|
|
6224
|
+
function Sr(e) {
|
|
6218
6225
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6219
6226
|
}
|
|
6220
|
-
function
|
|
6227
|
+
function Cr(e) {
|
|
6221
6228
|
let t = e.__name || e.name;
|
|
6222
6229
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6223
|
-
let n =
|
|
6230
|
+
let n = Sr(t), r = xr(e);
|
|
6224
6231
|
customElements.get(n) || customElements.define(n, r);
|
|
6225
6232
|
}
|
|
6226
6233
|
//#endregion
|
|
6227
6234
|
//#region .build-temp-pv-switch.ts
|
|
6228
|
-
|
|
6235
|
+
Cr(C);
|
|
6229
6236
|
//#endregion
|
|
@@ -6119,24 +6119,28 @@ function cr(e, t) {
|
|
|
6119
6119
|
let n = Number(t);
|
|
6120
6120
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6121
6121
|
}
|
|
6122
|
-
|
|
6122
|
+
var lr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), ur = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), dr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, fr = (e, t) => {
|
|
6123
|
+
let n = dr(e);
|
|
6124
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6125
|
+
};
|
|
6126
|
+
function pr(e) {
|
|
6123
6127
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6124
6128
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6125
|
-
i
|
|
6129
|
+
fr(i, Boolean) ? t.add(e) : fr(i, Number) ? n.add(e) : (fr(i, Object) || fr(i, Array)) && r.add(e);
|
|
6126
6130
|
}), {
|
|
6127
6131
|
booleanProps: t,
|
|
6128
6132
|
numberProps: n,
|
|
6129
6133
|
jsonProps: r
|
|
6130
6134
|
};
|
|
6131
6135
|
}
|
|
6132
|
-
function
|
|
6136
|
+
function mr(e, t) {
|
|
6133
6137
|
try {
|
|
6134
6138
|
return JSON.parse(t);
|
|
6135
6139
|
} catch (n) {
|
|
6136
6140
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6137
6141
|
}
|
|
6138
6142
|
}
|
|
6139
|
-
function
|
|
6143
|
+
function hr(e) {
|
|
6140
6144
|
let t = e.__name || e.name;
|
|
6141
6145
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6142
6146
|
let n = i(e, {
|
|
@@ -6144,7 +6148,7 @@ function dr(e) {
|
|
|
6144
6148
|
...nr.has(t) && { configureApp(e) {
|
|
6145
6149
|
e.use(lt, er);
|
|
6146
6150
|
} }
|
|
6147
|
-
}), { booleanProps: r, numberProps: a, jsonProps: o } =
|
|
6151
|
+
}), { booleanProps: r, numberProps: a, jsonProps: o } = pr(e);
|
|
6148
6152
|
class s extends n {
|
|
6149
6153
|
_hiddenInput = null;
|
|
6150
6154
|
constructor() {
|
|
@@ -6157,28 +6161,31 @@ function dr(e) {
|
|
|
6157
6161
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6158
6162
|
}
|
|
6159
6163
|
_parseAttributes() {
|
|
6160
|
-
|
|
6161
|
-
this[e] = sr(e, this.getAttribute(e));
|
|
6162
|
-
}), a.forEach((e) => {
|
|
6164
|
+
let e = (e) => {
|
|
6163
6165
|
let t = this.getAttribute(e);
|
|
6164
|
-
t !== null
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6166
|
+
if (t !== null) return t;
|
|
6167
|
+
let n = lr(e);
|
|
6168
|
+
return n === e ? null : this.getAttribute(n);
|
|
6169
|
+
};
|
|
6170
|
+
r.forEach((t) => {
|
|
6171
|
+
let n = e(t);
|
|
6172
|
+
n !== null && (this[t] = sr(t, n));
|
|
6173
|
+
}), a.forEach((t) => {
|
|
6174
|
+
let n = e(t);
|
|
6175
|
+
n !== null && (this[t] = cr(t, n));
|
|
6176
|
+
}), o.forEach((t) => {
|
|
6177
|
+
let n = e(t);
|
|
6178
|
+
if (n !== null) {
|
|
6179
|
+
let e = mr(t, n);
|
|
6180
|
+
e !== null && (this[t] = e);
|
|
6170
6181
|
}
|
|
6171
6182
|
});
|
|
6172
|
-
let
|
|
6173
|
-
|
|
6174
|
-
let
|
|
6175
|
-
if (
|
|
6176
|
-
let e =
|
|
6177
|
-
n =
|
|
6178
|
-
}
|
|
6179
|
-
if (n !== null && !this[t]) {
|
|
6180
|
-
let e = ur(t, n);
|
|
6181
|
-
e !== null && (this[t] = e);
|
|
6183
|
+
let t = this.getAttribute("data-json-props");
|
|
6184
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6185
|
+
let n = ur(t), r = e(n);
|
|
6186
|
+
if (r !== null && !this[n]) {
|
|
6187
|
+
let e = mr(n, r);
|
|
6188
|
+
e !== null && (this[n] = e);
|
|
6182
6189
|
}
|
|
6183
6190
|
});
|
|
6184
6191
|
}
|
|
@@ -6190,16 +6197,16 @@ function dr(e) {
|
|
|
6190
6197
|
}
|
|
6191
6198
|
return s;
|
|
6192
6199
|
}
|
|
6193
|
-
function
|
|
6200
|
+
function gr(e) {
|
|
6194
6201
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6195
6202
|
}
|
|
6196
|
-
function
|
|
6203
|
+
function _r(e) {
|
|
6197
6204
|
let t = e.__name || e.name;
|
|
6198
6205
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6199
|
-
let n =
|
|
6206
|
+
let n = gr(t), r = hr(e);
|
|
6200
6207
|
customElements.get(n) || customElements.define(n, r);
|
|
6201
6208
|
}
|
|
6202
6209
|
//#endregion
|
|
6203
6210
|
//#region .build-temp-pv-tab-list.ts
|
|
6204
|
-
|
|
6211
|
+
_r(v);
|
|
6205
6212
|
//#endregion
|
|
@@ -6148,24 +6148,28 @@ function yr(e, t) {
|
|
|
6148
6148
|
let n = Number(t);
|
|
6149
6149
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6150
6150
|
}
|
|
6151
|
-
|
|
6151
|
+
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) => {
|
|
6152
|
+
let n = Sr(e);
|
|
6153
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6154
|
+
};
|
|
6155
|
+
function wr(e) {
|
|
6152
6156
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6153
6157
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6154
|
-
i
|
|
6158
|
+
Cr(i, Boolean) ? t.add(e) : Cr(i, Number) ? n.add(e) : (Cr(i, Object) || Cr(i, Array)) && r.add(e);
|
|
6155
6159
|
}), {
|
|
6156
6160
|
booleanProps: t,
|
|
6157
6161
|
numberProps: n,
|
|
6158
6162
|
jsonProps: r
|
|
6159
6163
|
};
|
|
6160
6164
|
}
|
|
6161
|
-
function
|
|
6165
|
+
function Tr(e, t) {
|
|
6162
6166
|
try {
|
|
6163
6167
|
return JSON.parse(t);
|
|
6164
6168
|
} catch (n) {
|
|
6165
6169
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6166
6170
|
}
|
|
6167
6171
|
}
|
|
6168
|
-
function
|
|
6172
|
+
function Er(e) {
|
|
6169
6173
|
let t = e.__name || e.name;
|
|
6170
6174
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6171
6175
|
let n = c(e, {
|
|
@@ -6173,7 +6177,7 @@ function Sr(e) {
|
|
|
6173
6177
|
...pr.has(t) && { configureApp(e) {
|
|
6174
6178
|
e.use(bt, dr);
|
|
6175
6179
|
} }
|
|
6176
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
6180
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = wr(e);
|
|
6177
6181
|
class o extends n {
|
|
6178
6182
|
_hiddenInput = null;
|
|
6179
6183
|
constructor() {
|
|
@@ -6186,28 +6190,31 @@ function Sr(e) {
|
|
|
6186
6190
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6187
6191
|
}
|
|
6188
6192
|
_parseAttributes() {
|
|
6189
|
-
|
|
6190
|
-
this[e] = vr(e, this.getAttribute(e));
|
|
6191
|
-
}), i.forEach((e) => {
|
|
6193
|
+
let e = (e) => {
|
|
6192
6194
|
let t = this.getAttribute(e);
|
|
6193
|
-
t !== null
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6195
|
+
if (t !== null) return t;
|
|
6196
|
+
let n = br(e);
|
|
6197
|
+
return n === e ? null : this.getAttribute(n);
|
|
6198
|
+
};
|
|
6199
|
+
r.forEach((t) => {
|
|
6200
|
+
let n = e(t);
|
|
6201
|
+
n !== null && (this[t] = vr(t, n));
|
|
6202
|
+
}), i.forEach((t) => {
|
|
6203
|
+
let n = e(t);
|
|
6204
|
+
n !== null && (this[t] = yr(t, n));
|
|
6205
|
+
}), a.forEach((t) => {
|
|
6206
|
+
let n = e(t);
|
|
6207
|
+
if (n !== null) {
|
|
6208
|
+
let e = Tr(t, n);
|
|
6209
|
+
e !== null && (this[t] = e);
|
|
6199
6210
|
}
|
|
6200
6211
|
});
|
|
6201
|
-
let
|
|
6202
|
-
|
|
6203
|
-
let
|
|
6204
|
-
if (
|
|
6205
|
-
let e =
|
|
6206
|
-
n =
|
|
6207
|
-
}
|
|
6208
|
-
if (n !== null && !this[t]) {
|
|
6209
|
-
let e = xr(t, n);
|
|
6210
|
-
e !== null && (this[t] = e);
|
|
6212
|
+
let t = this.getAttribute("data-json-props");
|
|
6213
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6214
|
+
let n = xr(t), r = e(n);
|
|
6215
|
+
if (r !== null && !this[n]) {
|
|
6216
|
+
let e = Tr(n, r);
|
|
6217
|
+
e !== null && (this[n] = e);
|
|
6211
6218
|
}
|
|
6212
6219
|
});
|
|
6213
6220
|
}
|
|
@@ -6219,16 +6226,16 @@ function Sr(e) {
|
|
|
6219
6226
|
}
|
|
6220
6227
|
return o;
|
|
6221
6228
|
}
|
|
6222
|
-
function
|
|
6229
|
+
function Dr(e) {
|
|
6223
6230
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6224
6231
|
}
|
|
6225
|
-
function
|
|
6232
|
+
function Or(e) {
|
|
6226
6233
|
let t = e.__name || e.name;
|
|
6227
6234
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6228
|
-
let n =
|
|
6235
|
+
let n = Dr(t), r = Er(e);
|
|
6229
6236
|
customElements.get(n) || customElements.define(n, r);
|
|
6230
6237
|
}
|
|
6231
6238
|
//#endregion
|
|
6232
6239
|
//#region .build-temp-pv-table-of-contents.ts
|
|
6233
|
-
|
|
6240
|
+
Or(O);
|
|
6234
6241
|
//#endregion
|