@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
|
@@ -1081,10 +1081,10 @@ function ht(e, t) {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
return (t === "string" ? String : Number)(e);
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function gt(e, t) {
|
|
1085
1085
|
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
|
|
1086
1086
|
}
|
|
1087
|
-
var
|
|
1087
|
+
var X = {
|
|
1088
1088
|
name: "base",
|
|
1089
1089
|
css: function(e) {
|
|
1090
1090
|
var t = e.dt;
|
|
@@ -1115,7 +1115,7 @@ var Z = {
|
|
|
1115
1115
|
load: function(e) {
|
|
1116
1116
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(e) {
|
|
1117
1117
|
return e;
|
|
1118
|
-
})(We(tt ||=
|
|
1118
|
+
})(We(tt ||= gt(["", ""]), e));
|
|
1119
1119
|
return N(n) ? et(R(n), ft({ name: this.name }, t)) : {};
|
|
1120
1120
|
},
|
|
1121
1121
|
loadCSS: function() {
|
|
@@ -1126,7 +1126,7 @@ var Z = {
|
|
|
1126
1126
|
var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
1127
1127
|
return this.load(this.style, t, function() {
|
|
1128
1128
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
1129
|
-
return q.transformCSS(t.name || e.name, `${r}${We(nt ||=
|
|
1129
|
+
return q.transformCSS(t.name || e.name, `${r}${We(nt ||= gt(["", ""]), n)}`);
|
|
1130
1130
|
});
|
|
1131
1131
|
},
|
|
1132
1132
|
getCommonTheme: function(e) {
|
|
@@ -1147,7 +1147,7 @@ var Z = {
|
|
|
1147
1147
|
getStyleSheet: function() {
|
|
1148
1148
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1149
1149
|
if (this.css) {
|
|
1150
|
-
var n = F(this.css, { dt: G }) || "", r = R(We(rt ||=
|
|
1150
|
+
var n = F(this.css, { dt: G }) || "", r = R(We(rt ||= gt([
|
|
1151
1151
|
"",
|
|
1152
1152
|
"",
|
|
1153
1153
|
""
|
|
@@ -1166,7 +1166,7 @@ var Z = {
|
|
|
1166
1166
|
getThemeStyleSheet: function(e) {
|
|
1167
1167
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [q.getStyleSheet(this.name, e, t)];
|
|
1168
1168
|
if (this.style) {
|
|
1169
|
-
var r = this.name === "base" ? "global-style" : `${this.name}-style`, i = We(it ||=
|
|
1169
|
+
var r = this.name === "base" ? "global-style" : `${this.name}-style`, i = We(it ||= gt(["", ""]), F(this.style, { dt: G })), a = R(q.transformCSS(r, i)), o = Object.entries(t).reduce(function(e, t) {
|
|
1170
1170
|
var n = at(t, 2), r = n[0], i = n[1];
|
|
1171
1171
|
return e.push(`${r}="${i}"`) && e;
|
|
1172
1172
|
}, []).join(" ");
|
|
@@ -1181,10 +1181,10 @@ var Z = {
|
|
|
1181
1181
|
}, e);
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
|
-
|
|
1184
|
+
X.extend({ name: "common" }), X.extend({ name: "common" });
|
|
1185
1185
|
//#endregion
|
|
1186
1186
|
//#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/service/index.mjs
|
|
1187
|
-
var
|
|
1187
|
+
var Z = _e();
|
|
1188
1188
|
//#endregion
|
|
1189
1189
|
//#region ../node_modules/.pnpm/@primevue+core@4.5.4_vue@3.5.32_typescript@5.9.3_/node_modules/@primevue/core/config/index.mjs
|
|
1190
1190
|
function Q(e) {
|
|
@@ -1475,15 +1475,15 @@ function Tt() {
|
|
|
1475
1475
|
function Et(e, t) {
|
|
1476
1476
|
var n = g(!1), r = function() {
|
|
1477
1477
|
if (t.config?.theme !== "none" && !q.isStyleNameLoaded("common")) {
|
|
1478
|
-
var e, n =
|
|
1479
|
-
|
|
1478
|
+
var e, n = X.getCommonTheme?.call(X) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
|
|
1479
|
+
X.load(r?.css, vt({ name: "primitive-variables" }, s)), X.load(i?.css, vt({ name: "semantic-variables" }, s)), X.load(a?.css, vt({ name: "global-variables" }, s)), X.loadStyle(vt({ name: "global-style" }, s), o), q.setLoadedStyleName("common");
|
|
1480
1480
|
}
|
|
1481
1481
|
};
|
|
1482
1482
|
H.on("theme:change", function(t) {
|
|
1483
1483
|
n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
|
|
1484
1484
|
});
|
|
1485
1485
|
var i = y(t.config, function(e, t) {
|
|
1486
|
-
|
|
1486
|
+
Z.emit("config:change", {
|
|
1487
1487
|
newValue: e,
|
|
1488
1488
|
oldValue: t
|
|
1489
1489
|
});
|
|
@@ -1493,7 +1493,7 @@ function Et(e, t) {
|
|
|
1493
1493
|
}), a = y(function() {
|
|
1494
1494
|
return t.config.ripple;
|
|
1495
1495
|
}, function(e, t) {
|
|
1496
|
-
|
|
1496
|
+
Z.emit("config:ripple:change", {
|
|
1497
1497
|
newValue: e,
|
|
1498
1498
|
oldValue: t
|
|
1499
1499
|
});
|
|
@@ -1503,7 +1503,7 @@ function Et(e, t) {
|
|
|
1503
1503
|
}), o = y(function() {
|
|
1504
1504
|
return t.config.theme;
|
|
1505
1505
|
}, function(e, i) {
|
|
1506
|
-
n.value || q.setTheme(e), t.config.unstyled || r(), n.value = !1,
|
|
1506
|
+
n.value || q.setTheme(e), t.config.unstyled || r(), n.value = !1, Z.emit("config:theme:change", {
|
|
1507
1507
|
newValue: e,
|
|
1508
1508
|
oldValue: i
|
|
1509
1509
|
});
|
|
@@ -1513,7 +1513,7 @@ function Et(e, t) {
|
|
|
1513
1513
|
}), s = y(function() {
|
|
1514
1514
|
return t.config.unstyled;
|
|
1515
1515
|
}, function(e, n) {
|
|
1516
|
-
!e && t.config.theme && r(),
|
|
1516
|
+
!e && t.config.theme && r(), Z.emit("config:unstyled:change", {
|
|
1517
1517
|
newValue: e,
|
|
1518
1518
|
oldValue: n
|
|
1519
1519
|
});
|
|
@@ -6321,24 +6321,28 @@ function Er(e, t) {
|
|
|
6321
6321
|
let n = Number(t);
|
|
6322
6322
|
return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
|
|
6323
6323
|
}
|
|
6324
|
-
|
|
6324
|
+
var Dr = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase(), Or = (e) => e.replace(/-([a-z])/g, (e) => e[1].toUpperCase()), kr = (e) => typeof e == "object" && e && "type" in e ? e.type : e, Ar = (e, t) => {
|
|
6325
|
+
let n = kr(e);
|
|
6326
|
+
return Array.isArray(n) ? n.includes(t) : n === t;
|
|
6327
|
+
};
|
|
6328
|
+
function jr(e) {
|
|
6325
6329
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (e.__vccOpts || e).props;
|
|
6326
6330
|
return i && typeof i == "object" && Object.entries(i).forEach(([e, i]) => {
|
|
6327
|
-
i
|
|
6331
|
+
Ar(i, Boolean) ? t.add(e) : Ar(i, Number) ? n.add(e) : (Ar(i, Object) || Ar(i, Array)) && r.add(e);
|
|
6328
6332
|
}), {
|
|
6329
6333
|
booleanProps: t,
|
|
6330
6334
|
numberProps: n,
|
|
6331
6335
|
jsonProps: r
|
|
6332
6336
|
};
|
|
6333
6337
|
}
|
|
6334
|
-
function
|
|
6338
|
+
function Mr(e, t) {
|
|
6335
6339
|
try {
|
|
6336
6340
|
return JSON.parse(t);
|
|
6337
6341
|
} catch (n) {
|
|
6338
6342
|
return console.warn(`Invalid JSON attribute value for "${e}": "${t}". Error: ${n instanceof Error ? n.message : String(n)}`), null;
|
|
6339
6343
|
}
|
|
6340
6344
|
}
|
|
6341
|
-
function
|
|
6345
|
+
function Nr(e) {
|
|
6342
6346
|
let t = e.__name || e.name;
|
|
6343
6347
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6344
6348
|
let n = c(e, {
|
|
@@ -6346,7 +6350,7 @@ function kr(e) {
|
|
|
6346
6350
|
...br.has(t) && { configureApp(e) {
|
|
6347
6351
|
e.use(Dt, vr);
|
|
6348
6352
|
} }
|
|
6349
|
-
}), { booleanProps: r, numberProps: i, jsonProps: a } =
|
|
6353
|
+
}), { booleanProps: r, numberProps: i, jsonProps: a } = jr(e);
|
|
6350
6354
|
class o extends n {
|
|
6351
6355
|
_hiddenInput = null;
|
|
6352
6356
|
constructor() {
|
|
@@ -6359,28 +6363,31 @@ function kr(e) {
|
|
|
6359
6363
|
this._hiddenInput && (this._hiddenInput.value = e ?? "");
|
|
6360
6364
|
}
|
|
6361
6365
|
_parseAttributes() {
|
|
6362
|
-
|
|
6363
|
-
this[e] = Tr(e, this.getAttribute(e));
|
|
6364
|
-
}), i.forEach((e) => {
|
|
6366
|
+
let e = (e) => {
|
|
6365
6367
|
let t = this.getAttribute(e);
|
|
6366
|
-
t !== null
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6368
|
+
if (t !== null) return t;
|
|
6369
|
+
let n = Dr(e);
|
|
6370
|
+
return n === e ? null : this.getAttribute(n);
|
|
6371
|
+
};
|
|
6372
|
+
r.forEach((t) => {
|
|
6373
|
+
let n = e(t);
|
|
6374
|
+
n !== null && (this[t] = Tr(t, n));
|
|
6375
|
+
}), i.forEach((t) => {
|
|
6376
|
+
let n = e(t);
|
|
6377
|
+
n !== null && (this[t] = Er(t, n));
|
|
6378
|
+
}), a.forEach((t) => {
|
|
6379
|
+
let n = e(t);
|
|
6380
|
+
if (n !== null) {
|
|
6381
|
+
let e = Mr(t, n);
|
|
6382
|
+
e !== null && (this[t] = e);
|
|
6372
6383
|
}
|
|
6373
6384
|
});
|
|
6374
|
-
let
|
|
6375
|
-
|
|
6376
|
-
let
|
|
6377
|
-
if (
|
|
6378
|
-
let e =
|
|
6379
|
-
n =
|
|
6380
|
-
}
|
|
6381
|
-
if (n !== null && !this[t]) {
|
|
6382
|
-
let e = Or(t, n);
|
|
6383
|
-
e !== null && (this[t] = e);
|
|
6385
|
+
let t = this.getAttribute("data-json-props");
|
|
6386
|
+
t && t.split(",").map((e) => e.trim()).filter(Boolean).forEach((t) => {
|
|
6387
|
+
let n = Or(t), r = e(n);
|
|
6388
|
+
if (r !== null && !this[n]) {
|
|
6389
|
+
let e = Mr(n, r);
|
|
6390
|
+
e !== null && (this[n] = e);
|
|
6384
6391
|
}
|
|
6385
6392
|
});
|
|
6386
6393
|
}
|
|
@@ -6392,16 +6399,16 @@ function kr(e) {
|
|
|
6392
6399
|
}
|
|
6393
6400
|
return o;
|
|
6394
6401
|
}
|
|
6395
|
-
function
|
|
6402
|
+
function Pr(e) {
|
|
6396
6403
|
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
6397
6404
|
}
|
|
6398
|
-
function
|
|
6405
|
+
function Fr(e) {
|
|
6399
6406
|
let t = e.__name || e.name;
|
|
6400
6407
|
if (!t) throw Error("Component must have a __name or name property");
|
|
6401
|
-
let n =
|
|
6408
|
+
let n = Pr(t), r = Nr(e);
|
|
6402
6409
|
customElements.get(n) || customElements.define(n, r);
|
|
6403
6410
|
}
|
|
6404
6411
|
//#endregion
|
|
6405
6412
|
//#region .build-temp-pv-expandable-content.ts
|
|
6406
|
-
|
|
6413
|
+
Fr(re);
|
|
6407
6414
|
//#endregion
|