@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
|
@@ -6274,24 +6274,28 @@ function br(e, t) {
|
|
|
6274
6274
|
let n = Number(t);
|
|
6275
6275
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6276
6276
|
}
|
|
6277
|
-
|
|
6277
|
+
var xr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), Sr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), Cr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, wr = (e, t) => {
|
|
6278
|
+
let n = Cr(e);
|
|
6279
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6280
|
+
};
|
|
6281
|
+
function Tr(e) {
|
|
6278
6282
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6279
6283
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6280
|
-
i
|
|
6284
|
+
wr(i, Boolean) ? t.add(e) : wr(i, Number) ? n.add(e) : (wr(i, Object) || wr(i, Array)) && r.add(e);
|
|
6281
6285
|
}), {
|
|
6282
6286
|
booleanProps: t,
|
|
6283
6287
|
numberProps: n,
|
|
6284
6288
|
jsonProps: r
|
|
6285
6289
|
};
|
|
6286
6290
|
}
|
|
6287
|
-
function
|
|
6291
|
+
function Er(e, t) {
|
|
6288
6292
|
try {
|
|
6289
6293
|
return JSON.parse(t);
|
|
6290
6294
|
} catch (n) {
|
|
6291
6295
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6292
6296
|
}
|
|
6293
6297
|
}
|
|
6294
|
-
function
|
|
6298
|
+
function Dr(e) {
|
|
6295
6299
|
let t = e.__name || e.name;
|
|
6296
6300
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6297
6301
|
let n = s(e, {
|
|
@@ -6299,7 +6303,7 @@ function Cr(e) {
|
|
|
6299
6303
|
...mr.has(t) && { configureApp(e) {
|
|
6300
6304
|
e.use(xt, fr);
|
|
6301
6305
|
} }
|
|
6302
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
6306
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = Tr(e);
|
|
6303
6307
|
class o extends n {
|
|
6304
6308
|
_hiddenInput = null;
|
|
6305
6309
|
constructor() {
|
|
@@ -6312,28 +6316,31 @@ function Cr(e) {
|
|
|
6312
6316
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6313
6317
|
}
|
|
6314
6318
|
_parseAttributes() {
|
|
6315
|
-
|
|
6316
|
-
this[e] = yr(e, this.getAttribute(e));
|
|
6317
|
-
}), i.forEach((e) => {
|
|
6319
|
+
let e = (e) => {
|
|
6318
6320
|
let t = this.getAttribute(e);
|
|
6319
|
-
t !== null
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6321
|
+
if (t !== null) return t;
|
|
6322
|
+
let n = xr(e);
|
|
6323
|
+
return n === e ? null : this.getAttribute(n);
|
|
6324
|
+
};
|
|
6325
|
+
r.forEach((t) => {
|
|
6326
|
+
let n = e(t);
|
|
6327
|
+
n !== null && (this[t] = yr(t, n));
|
|
6328
|
+
}), i.forEach((t) => {
|
|
6329
|
+
let n = e(t);
|
|
6330
|
+
n !== null && (this[t] = br(t, n));
|
|
6331
|
+
}), a.forEach((t) => {
|
|
6332
|
+
let n = e(t);
|
|
6333
|
+
if (n !== null) {
|
|
6334
|
+
let e = Er(t, n);
|
|
6335
|
+
e !== null && (this[t] = e);
|
|
6325
6336
|
}
|
|
6326
6337
|
});
|
|
6327
|
-
let
|
|
6328
|
-
|
|
6329
|
-
let
|
|
6330
|
-
if (
|
|
6331
|
-
let e =
|
|
6332
|
-
n =
|
|
6333
|
-
}
|
|
6334
|
-
if (n !== null && !this[t]) {
|
|
6335
|
-
let e = Sr(t, n);
|
|
6336
|
-
e !== null && (this[t] = e);
|
|
6338
|
+
let t = this.getAttribute("data-json-props");
|
|
6339
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6340
|
+
let n = Sr(t), r = e(n);
|
|
6341
|
+
if (r !== null && !this[n]) {
|
|
6342
|
+
let e = Er(n, r);
|
|
6343
|
+
e !== null && (this[n] = e);
|
|
6337
6344
|
}
|
|
6338
6345
|
});
|
|
6339
6346
|
}
|
|
@@ -6345,16 +6352,16 @@ function Cr(e) {
|
|
|
6345
6352
|
}
|
|
6346
6353
|
return o;
|
|
6347
6354
|
}
|
|
6348
|
-
function
|
|
6355
|
+
function Or(e) {
|
|
6349
6356
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6350
6357
|
}
|
|
6351
|
-
function
|
|
6358
|
+
function kr(e) {
|
|
6352
6359
|
let t = e.__name || e.name;
|
|
6353
6360
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6354
|
-
let n =
|
|
6361
|
+
let n = Or(t), r = Dr(e);
|
|
6355
6362
|
customElements.get(n) || customElements.define(n, r);
|
|
6356
6363
|
}
|
|
6357
6364
|
//#endregion
|
|
6358
6365
|
//#region .build-temp-pv-button.ts
|
|
6359
|
-
|
|
6366
|
+
kr(A);
|
|
6360
6367
|
//#endregion
|
|
@@ -6121,24 +6121,28 @@ function or(e, t) {
|
|
|
6121
6121
|
let n = Number(t);
|
|
6122
6122
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6123
6123
|
}
|
|
6124
|
-
|
|
6124
|
+
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) => {
|
|
6125
|
+
let n = lr(e);
|
|
6126
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6127
|
+
};
|
|
6128
|
+
function dr(e) {
|
|
6125
6129
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6126
6130
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6127
|
-
i
|
|
6131
|
+
ur(i, Boolean) ? t.add(e) : ur(i, Number) ? n.add(e) : (ur(i, Object) || ur(i, Array)) && r.add(e);
|
|
6128
6132
|
}), {
|
|
6129
6133
|
booleanProps: t,
|
|
6130
6134
|
numberProps: n,
|
|
6131
6135
|
jsonProps: r
|
|
6132
6136
|
};
|
|
6133
6137
|
}
|
|
6134
|
-
function
|
|
6138
|
+
function fr(e, t) {
|
|
6135
6139
|
try {
|
|
6136
6140
|
return JSON.parse(t);
|
|
6137
6141
|
} catch (n) {
|
|
6138
6142
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6139
6143
|
}
|
|
6140
6144
|
}
|
|
6141
|
-
function
|
|
6145
|
+
function pr(e) {
|
|
6142
6146
|
let t = e.__name || e.name;
|
|
6143
6147
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6144
6148
|
let n = r(e, {
|
|
@@ -6146,7 +6150,7 @@ function lr(e) {
|
|
|
6146
6150
|
...er.has(t) && { configureApp(e) {
|
|
6147
6151
|
e.use(st, Qn);
|
|
6148
6152
|
} }
|
|
6149
|
-
}), { booleanProps: i, numberProps: a, jsonProps: o } =
|
|
6153
|
+
}), { booleanProps: i, numberProps: a, jsonProps: o } = dr(e);
|
|
6150
6154
|
class s extends n {
|
|
6151
6155
|
_hiddenInput = null;
|
|
6152
6156
|
constructor() {
|
|
@@ -6159,28 +6163,31 @@ function lr(e) {
|
|
|
6159
6163
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6160
6164
|
}
|
|
6161
6165
|
_parseAttributes() {
|
|
6162
|
-
|
|
6163
|
-
this[e] = ar(e, this.getAttribute(e));
|
|
6164
|
-
}), a.forEach((e) => {
|
|
6166
|
+
let e = (e) => {
|
|
6165
6167
|
let t = this.getAttribute(e);
|
|
6166
|
-
t !== null
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6168
|
+
if (t !== null) return t;
|
|
6169
|
+
let n = sr(e);
|
|
6170
|
+
return n === e ? null : this.getAttribute(n);
|
|
6171
|
+
};
|
|
6172
|
+
i.forEach((t) => {
|
|
6173
|
+
let n = e(t);
|
|
6174
|
+
n !== null && (this[t] = ar(t, n));
|
|
6175
|
+
}), a.forEach((t) => {
|
|
6176
|
+
let n = e(t);
|
|
6177
|
+
n !== null && (this[t] = or(t, n));
|
|
6178
|
+
}), o.forEach((t) => {
|
|
6179
|
+
let n = e(t);
|
|
6180
|
+
if (n !== null) {
|
|
6181
|
+
let e = fr(t, n);
|
|
6182
|
+
e !== null && (this[t] = e);
|
|
6172
6183
|
}
|
|
6173
6184
|
});
|
|
6174
|
-
let
|
|
6175
|
-
|
|
6176
|
-
let
|
|
6177
|
-
if (
|
|
6178
|
-
let e =
|
|
6179
|
-
n =
|
|
6180
|
-
}
|
|
6181
|
-
if (n !== null && !this[t]) {
|
|
6182
|
-
let e = cr(t, n);
|
|
6183
|
-
e !== null && (this[t] = e);
|
|
6185
|
+
let t = this.getAttribute("data-json-props");
|
|
6186
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6187
|
+
let n = cr(t), r = e(n);
|
|
6188
|
+
if (r !== null && !this[n]) {
|
|
6189
|
+
let e = fr(n, r);
|
|
6190
|
+
e !== null && (this[n] = e);
|
|
6184
6191
|
}
|
|
6185
6192
|
});
|
|
6186
6193
|
}
|
|
@@ -6192,16 +6199,16 @@ function lr(e) {
|
|
|
6192
6199
|
}
|
|
6193
6200
|
return s;
|
|
6194
6201
|
}
|
|
6195
|
-
function
|
|
6202
|
+
function mr(e) {
|
|
6196
6203
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6197
6204
|
}
|
|
6198
|
-
function
|
|
6205
|
+
function hr(e) {
|
|
6199
6206
|
let t = e.__name || e.name;
|
|
6200
6207
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6201
|
-
let n =
|
|
6208
|
+
let n = mr(t), r = pr(e);
|
|
6202
6209
|
customElements.get(n) || customElements.define(n, r);
|
|
6203
6210
|
}
|
|
6204
6211
|
//#endregion
|
|
6205
6212
|
//#region .build-temp-pv-card.ts
|
|
6206
|
-
|
|
6213
|
+
hr(g);
|
|
6207
6214
|
//#endregion
|
|
@@ -6119,24 +6119,28 @@ function or(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 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) => {
|
|
6123
|
+
let n = lr(e);
|
|
6124
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6125
|
+
};
|
|
6126
|
+
function dr(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
|
+
ur(i, Boolean) ? t.add(e) : ur(i, Number) ? n.add(e) : (ur(i, Object) || ur(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 fr(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 pr(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 r = n(e, {
|
|
@@ -6144,7 +6148,7 @@ function lr(e) {
|
|
|
6144
6148
|
...er.has(t) && { configureApp(e) {
|
|
6145
6149
|
e.use(st, Qn);
|
|
6146
6150
|
} }
|
|
6147
|
-
}), { booleanProps: i, numberProps: a, jsonProps: o } =
|
|
6151
|
+
}), { booleanProps: i, numberProps: a, jsonProps: o } = dr(e);
|
|
6148
6152
|
class s extends r {
|
|
6149
6153
|
_hiddenInput = null;
|
|
6150
6154
|
constructor() {
|
|
@@ -6157,28 +6161,31 @@ function lr(e) {
|
|
|
6157
6161
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6158
6162
|
}
|
|
6159
6163
|
_parseAttributes() {
|
|
6160
|
-
|
|
6161
|
-
this[e] = ar(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 = sr(e);
|
|
6168
|
+
return n === e ? null : this.getAttribute(n);
|
|
6169
|
+
};
|
|
6170
|
+
i.forEach((t) => {
|
|
6171
|
+
let n = e(t);
|
|
6172
|
+
n !== null && (this[t] = ar(t, n));
|
|
6173
|
+
}), a.forEach((t) => {
|
|
6174
|
+
let n = e(t);
|
|
6175
|
+
n !== null && (this[t] = or(t, n));
|
|
6176
|
+
}), o.forEach((t) => {
|
|
6177
|
+
let n = e(t);
|
|
6178
|
+
if (n !== null) {
|
|
6179
|
+
let e = fr(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 = cr(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 = cr(t), r = e(n);
|
|
6186
|
+
if (r !== null && !this[n]) {
|
|
6187
|
+
let e = fr(n, r);
|
|
6188
|
+
e !== null && (this[n] = e);
|
|
6182
6189
|
}
|
|
6183
6190
|
});
|
|
6184
6191
|
}
|
|
@@ -6190,16 +6197,16 @@ function lr(e) {
|
|
|
6190
6197
|
}
|
|
6191
6198
|
return s;
|
|
6192
6199
|
}
|
|
6193
|
-
function
|
|
6200
|
+
function mr(e) {
|
|
6194
6201
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6195
6202
|
}
|
|
6196
|
-
function
|
|
6203
|
+
function hr(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 = mr(t), r = pr(e);
|
|
6200
6207
|
customElements.get(n) || customElements.define(n, r);
|
|
6201
6208
|
}
|
|
6202
6209
|
//#endregion
|
|
6203
6210
|
//#region .build-temp-pv-checkbox.ts
|
|
6204
|
-
|
|
6211
|
+
hr(g);
|
|
6205
6212
|
//#endregion
|
|
@@ -6156,24 +6156,28 @@ function fr(e, t) {
|
|
|
6156
6156
|
let n = Number(t);
|
|
6157
6157
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6158
6158
|
}
|
|
6159
|
-
|
|
6159
|
+
var pr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), mr = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), hr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, gr = (e, t) => {
|
|
6160
|
+
let n = hr(e);
|
|
6161
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6162
|
+
};
|
|
6163
|
+
function _r(e) {
|
|
6160
6164
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6161
6165
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6162
|
-
i
|
|
6166
|
+
gr(i, Boolean) ? t.add(e) : gr(i, Number) ? n.add(e) : (gr(i, Object) || gr(i, Array)) && r.add(e);
|
|
6163
6167
|
}), {
|
|
6164
6168
|
booleanProps: t,
|
|
6165
6169
|
numberProps: n,
|
|
6166
6170
|
jsonProps: r
|
|
6167
6171
|
};
|
|
6168
6172
|
}
|
|
6169
|
-
function
|
|
6173
|
+
function vr(e, t) {
|
|
6170
6174
|
try {
|
|
6171
6175
|
return JSON.parse(t);
|
|
6172
6176
|
} catch (n) {
|
|
6173
6177
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6174
6178
|
}
|
|
6175
6179
|
}
|
|
6176
|
-
function
|
|
6180
|
+
function yr(e) {
|
|
6177
6181
|
let t = e.__name || e.name;
|
|
6178
6182
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6179
6183
|
let n = a(e, {
|
|
@@ -6181,7 +6185,7 @@ function hr(e) {
|
|
|
6181
6185
|
...or.has(t) && { configureApp(e) {
|
|
6182
6186
|
e.use(pt, ir);
|
|
6183
6187
|
} }
|
|
6184
|
-
}), { booleanProps: r, numberProps: i, jsonProps: o } =
|
|
6188
|
+
}), { booleanProps: r, numberProps: i, jsonProps: o } = _r(e);
|
|
6185
6189
|
class s extends n {
|
|
6186
6190
|
_hiddenInput = null;
|
|
6187
6191
|
constructor() {
|
|
@@ -6194,28 +6198,31 @@ function hr(e) {
|
|
|
6194
6198
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6195
6199
|
}
|
|
6196
6200
|
_parseAttributes() {
|
|
6197
|
-
|
|
6198
|
-
this[e] = dr(e, this.getAttribute(e));
|
|
6199
|
-
}), i.forEach((e) => {
|
|
6201
|
+
let e = (e) => {
|
|
6200
6202
|
let t = this.getAttribute(e);
|
|
6201
|
-
t !== null
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6203
|
+
if (t !== null) return t;
|
|
6204
|
+
let n = pr(e);
|
|
6205
|
+
return n === e ? null : this.getAttribute(n);
|
|
6206
|
+
};
|
|
6207
|
+
r.forEach((t) => {
|
|
6208
|
+
let n = e(t);
|
|
6209
|
+
n !== null && (this[t] = dr(t, n));
|
|
6210
|
+
}), i.forEach((t) => {
|
|
6211
|
+
let n = e(t);
|
|
6212
|
+
n !== null && (this[t] = fr(t, n));
|
|
6213
|
+
}), o.forEach((t) => {
|
|
6214
|
+
let n = e(t);
|
|
6215
|
+
if (n !== null) {
|
|
6216
|
+
let e = vr(t, n);
|
|
6217
|
+
e !== null && (this[t] = e);
|
|
6207
6218
|
}
|
|
6208
6219
|
});
|
|
6209
|
-
let
|
|
6210
|
-
|
|
6211
|
-
let
|
|
6212
|
-
if (
|
|
6213
|
-
let e =
|
|
6214
|
-
n =
|
|
6215
|
-
}
|
|
6216
|
-
if (n !== null && !this[t]) {
|
|
6217
|
-
let e = mr(t, n);
|
|
6218
|
-
e !== null && (this[t] = e);
|
|
6220
|
+
let t = this.getAttribute("data-json-props");
|
|
6221
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6222
|
+
let n = mr(t), r = e(n);
|
|
6223
|
+
if (r !== null && !this[n]) {
|
|
6224
|
+
let e = vr(n, r);
|
|
6225
|
+
e !== null && (this[n] = e);
|
|
6219
6226
|
}
|
|
6220
6227
|
});
|
|
6221
6228
|
}
|
|
@@ -6227,16 +6234,16 @@ function hr(e) {
|
|
|
6227
6234
|
}
|
|
6228
6235
|
return s;
|
|
6229
6236
|
}
|
|
6230
|
-
function
|
|
6237
|
+
function br(e) {
|
|
6231
6238
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6232
6239
|
}
|
|
6233
|
-
function
|
|
6240
|
+
function xr(e) {
|
|
6234
6241
|
let t = e.__name || e.name;
|
|
6235
6242
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6236
|
-
let n =
|
|
6243
|
+
let n = br(t), r = yr(e);
|
|
6237
6244
|
customElements.get(n) || customElements.define(n, r);
|
|
6238
6245
|
}
|
|
6239
6246
|
//#endregion
|
|
6240
6247
|
//#region .build-temp-pv-company-label.ts
|
|
6241
|
-
|
|
6248
|
+
xr(S);
|
|
6242
6249
|
//#endregion
|