@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
|
@@ -8266,24 +8266,28 @@ function Os(e, t) {
|
|
|
8266
8266
|
let n = Number(t);
|
|
8267
8267
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
8268
8268
|
}
|
|
8269
|
-
|
|
8269
|
+
var ks = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), As = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), js = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Ms = (e, t) => {
|
|
8270
|
+
let n = js(e);
|
|
8271
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
8272
|
+
};
|
|
8273
|
+
function Ns(e) {
|
|
8270
8274
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
8271
8275
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
8272
|
-
i
|
|
8276
|
+
Ms(i, Boolean) ? t.add(e) : Ms(i, Number) ? n.add(e) : (Ms(i, Object) || Ms(i, Array)) && r.add(e);
|
|
8273
8277
|
}), {
|
|
8274
8278
|
booleanProps: t,
|
|
8275
8279
|
numberProps: n,
|
|
8276
8280
|
jsonProps: r
|
|
8277
8281
|
};
|
|
8278
8282
|
}
|
|
8279
|
-
function
|
|
8283
|
+
function Ps(e, t) {
|
|
8280
8284
|
try {
|
|
8281
8285
|
return JSON.parse(t);
|
|
8282
8286
|
} catch (n) {
|
|
8283
8287
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
8284
8288
|
}
|
|
8285
8289
|
}
|
|
8286
|
-
function
|
|
8290
|
+
function Fs(e) {
|
|
8287
8291
|
let t = e.__name || e.name;
|
|
8288
8292
|
if (!t) throw Error("Component must have a __name or name property");
|
|
8289
8293
|
let n = p(e, {
|
|
@@ -8291,7 +8295,7 @@ function js(e) {
|
|
|
8291
8295
|
...Ss.has(t) && { configureApp(e) {
|
|
8292
8296
|
e.use(ka, bs);
|
|
8293
8297
|
} }
|
|
8294
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
8298
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = Ns(e);
|
|
8295
8299
|
class o extends n {
|
|
8296
8300
|
_hiddenInput = null;
|
|
8297
8301
|
constructor() {
|
|
@@ -8304,28 +8308,31 @@ function js(e) {
|
|
|
8304
8308
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
8305
8309
|
}
|
|
8306
8310
|
_parseAttributes() {
|
|
8307
|
-
|
|
8308
|
-
this[e] = Ds(e, this.getAttribute(e));
|
|
8309
|
-
}), i.forEach((e) => {
|
|
8311
|
+
let e = (e) => {
|
|
8310
8312
|
let t = this.getAttribute(e);
|
|
8311
|
-
t !== null
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8313
|
+
if (t !== null) return t;
|
|
8314
|
+
let n = ks(e);
|
|
8315
|
+
return n === e ? null : this.getAttribute(n);
|
|
8316
|
+
};
|
|
8317
|
+
r.forEach((t) => {
|
|
8318
|
+
let n = e(t);
|
|
8319
|
+
n !== null && (this[t] = Ds(t, n));
|
|
8320
|
+
}), i.forEach((t) => {
|
|
8321
|
+
let n = e(t);
|
|
8322
|
+
n !== null && (this[t] = Os(t, n));
|
|
8323
|
+
}), a.forEach((t) => {
|
|
8324
|
+
let n = e(t);
|
|
8325
|
+
if (n !== null) {
|
|
8326
|
+
let e = Ps(t, n);
|
|
8327
|
+
e !== null && (this[t] = e);
|
|
8317
8328
|
}
|
|
8318
8329
|
});
|
|
8319
|
-
let
|
|
8320
|
-
|
|
8321
|
-
let
|
|
8322
|
-
if (
|
|
8323
|
-
let e =
|
|
8324
|
-
n =
|
|
8325
|
-
}
|
|
8326
|
-
if (n !== null && !this[t]) {
|
|
8327
|
-
let e = As(t, n);
|
|
8328
|
-
e !== null && (this[t] = e);
|
|
8330
|
+
let t = this.getAttribute("data-json-props");
|
|
8331
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
8332
|
+
let n = As(t), r = e(n);
|
|
8333
|
+
if (r !== null && !this[n]) {
|
|
8334
|
+
let e = Ps(n, r);
|
|
8335
|
+
e !== null && (this[n] = e);
|
|
8329
8336
|
}
|
|
8330
8337
|
});
|
|
8331
8338
|
}
|
|
@@ -8337,16 +8344,16 @@ function js(e) {
|
|
|
8337
8344
|
}
|
|
8338
8345
|
return o;
|
|
8339
8346
|
}
|
|
8340
|
-
function
|
|
8347
|
+
function Is(e) {
|
|
8341
8348
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
8342
8349
|
}
|
|
8343
|
-
function
|
|
8350
|
+
function Ls(e) {
|
|
8344
8351
|
let t = e.__name || e.name;
|
|
8345
8352
|
if (!t) throw Error("Component must have a __name or name property");
|
|
8346
|
-
let n =
|
|
8353
|
+
let n = Is(t), r = Fs(e);
|
|
8347
8354
|
customElements.get(n) || customElements.define(n, r);
|
|
8348
8355
|
}
|
|
8349
8356
|
//#endregion
|
|
8350
8357
|
//#region .build-temp-pv-menu.ts
|
|
8351
|
-
|
|
8358
|
+
Ls(Gr);
|
|
8352
8359
|
//#endregion
|
|
@@ -6140,24 +6140,28 @@ function pr(e, t) {
|
|
|
6140
6140
|
let n = Number(t);
|
|
6141
6141
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6142
6142
|
}
|
|
6143
|
-
|
|
6143
|
+
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) => {
|
|
6144
|
+
let n = gr(e);
|
|
6145
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6146
|
+
};
|
|
6147
|
+
function vr(e) {
|
|
6144
6148
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6145
6149
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6146
|
-
i
|
|
6150
|
+
_r(i, Boolean) ? t.add(e) : _r(i, Number) ? n.add(e) : (_r(i, Object) || _r(i, Array)) && r.add(e);
|
|
6147
6151
|
}), {
|
|
6148
6152
|
booleanProps: t,
|
|
6149
6153
|
numberProps: n,
|
|
6150
6154
|
jsonProps: r
|
|
6151
6155
|
};
|
|
6152
6156
|
}
|
|
6153
|
-
function
|
|
6157
|
+
function yr(e, t) {
|
|
6154
6158
|
try {
|
|
6155
6159
|
return JSON.parse(t);
|
|
6156
6160
|
} catch (n) {
|
|
6157
6161
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6158
6162
|
}
|
|
6159
6163
|
}
|
|
6160
|
-
function
|
|
6164
|
+
function br(e) {
|
|
6161
6165
|
let t = e.__name || e.name;
|
|
6162
6166
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6163
6167
|
let n = i(e, {
|
|
@@ -6165,7 +6169,7 @@ function gr(e) {
|
|
|
6165
6169
|
...sr.has(t) && { configureApp(e) {
|
|
6166
6170
|
e.use(mt, ar);
|
|
6167
6171
|
} }
|
|
6168
|
-
}), { booleanProps: r, numberProps: a, jsonProps: o } =
|
|
6172
|
+
}), { booleanProps: r, numberProps: a, jsonProps: o } = vr(e);
|
|
6169
6173
|
class s extends n {
|
|
6170
6174
|
_hiddenInput = null;
|
|
6171
6175
|
constructor() {
|
|
@@ -6178,28 +6182,31 @@ function gr(e) {
|
|
|
6178
6182
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6179
6183
|
}
|
|
6180
6184
|
_parseAttributes() {
|
|
6181
|
-
|
|
6182
|
-
this[e] = fr(e, this.getAttribute(e));
|
|
6183
|
-
}), a.forEach((e) => {
|
|
6185
|
+
let e = (e) => {
|
|
6184
6186
|
let t = this.getAttribute(e);
|
|
6185
|
-
t !== null
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6187
|
+
if (t !== null) return t;
|
|
6188
|
+
let n = mr(e);
|
|
6189
|
+
return n === e ? null : this.getAttribute(n);
|
|
6190
|
+
};
|
|
6191
|
+
r.forEach((t) => {
|
|
6192
|
+
let n = e(t);
|
|
6193
|
+
n !== null && (this[t] = fr(t, n));
|
|
6194
|
+
}), a.forEach((t) => {
|
|
6195
|
+
let n = e(t);
|
|
6196
|
+
n !== null && (this[t] = pr(t, n));
|
|
6197
|
+
}), o.forEach((t) => {
|
|
6198
|
+
let n = e(t);
|
|
6199
|
+
if (n !== null) {
|
|
6200
|
+
let e = yr(t, n);
|
|
6201
|
+
e !== null && (this[t] = e);
|
|
6191
6202
|
}
|
|
6192
6203
|
});
|
|
6193
|
-
let
|
|
6194
|
-
|
|
6195
|
-
let
|
|
6196
|
-
if (
|
|
6197
|
-
let e =
|
|
6198
|
-
n =
|
|
6199
|
-
}
|
|
6200
|
-
if (n !== null && !this[t]) {
|
|
6201
|
-
let e = hr(t, n);
|
|
6202
|
-
e !== null && (this[t] = e);
|
|
6204
|
+
let t = this.getAttribute("data-json-props");
|
|
6205
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6206
|
+
let n = hr(t), r = e(n);
|
|
6207
|
+
if (r !== null && !this[n]) {
|
|
6208
|
+
let e = yr(n, r);
|
|
6209
|
+
e !== null && (this[n] = e);
|
|
6203
6210
|
}
|
|
6204
6211
|
});
|
|
6205
6212
|
}
|
|
@@ -6211,16 +6218,16 @@ function gr(e) {
|
|
|
6211
6218
|
}
|
|
6212
6219
|
return s;
|
|
6213
6220
|
}
|
|
6214
|
-
function
|
|
6221
|
+
function xr(e) {
|
|
6215
6222
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6216
6223
|
}
|
|
6217
|
-
function
|
|
6224
|
+
function Sr(e) {
|
|
6218
6225
|
let t = e.__name || e.name;
|
|
6219
6226
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6220
|
-
let n =
|
|
6227
|
+
let n = xr(t), r = br(e);
|
|
6221
6228
|
customElements.get(n) || customElements.define(n, r);
|
|
6222
6229
|
}
|
|
6223
6230
|
//#endregion
|
|
6224
6231
|
//#region .build-temp-pv-modal.ts
|
|
6225
|
-
|
|
6232
|
+
Sr(S);
|
|
6226
6233
|
//#endregion
|