@turquoisehealth/pit-viper 2.231.0 → 2.232.0
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 +29 -1
- package/_site/assets/css/pit-viper-consumer.css +29 -1
- package/_site/assets/css/pit-viper-v2-scoped.css +25 -1
- package/_site/assets/css/pit-viper-v2.css +29 -1
- package/_site/assets/css/pit-viper.css +29 -1
- package/package.json +1 -1
- 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-action-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-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-popover-v2-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-range-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-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-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-v2-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +5 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +1 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +33 -1
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/usePvFilterPanel.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvRange/PvRange.vue.d.ts +3 -1
- package/pv-components/dist/vue/ai/components/base/PvRange/types.d.ts +9 -1
- package/pv-components/dist/vue/base/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +33 -1
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/usePvFilterPanel.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +3 -1
- package/pv-components/dist/vue/base/components/base/PvRange/types.d.ts +9 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +2390 -2283
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +33 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/usePvFilterPanel.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +3 -1
- package/pv-components/dist/vue/visualizations/components/base/PvRange/types.d.ts +9 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +18 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/tables/symbols.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +991 -925
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +395 -395
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +2174 -2007
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +2166 -1946
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +633 -633
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +19 -19
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +2 -2
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +27 -19
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +19 -19
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +573 -573
- package/pv-components/dist/web/components/pv-range/pv-range.js +720 -675
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +208 -208
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +19 -19
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +267 -267
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +19 -19
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +307 -307
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +19 -19
- package/pv-components/dist/web/pv-components.iife.js +14 -14
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1742,7 +1742,7 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1742
1742
|
}, ge = () => {
|
|
1743
1743
|
let e = x.value;
|
|
1744
1744
|
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1745
|
-
}, _e = r(() => !t.showOnHover || A.value ? !1 : t.disableInteractive ? S.value || T.value : S.value ||
|
|
1745
|
+
}, _e = r(() => !!c.value && (w.value || D.value)), ve = r(() => !t.showOnHover || A.value ? !1 : t.disableInteractive ? S.value || T.value : S.value || T.value || _e.value);
|
|
1746
1746
|
I([
|
|
1747
1747
|
S,
|
|
1748
1748
|
T,
|
|
@@ -1750,13 +1750,13 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1750
1750
|
], ([e, t, n]) => {
|
|
1751
1751
|
!e && !t && !n && (A.value = !1);
|
|
1752
1752
|
});
|
|
1753
|
-
let
|
|
1753
|
+
let ye = ({ target: e }) => {
|
|
1754
1754
|
T.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1755
|
-
},
|
|
1755
|
+
}, be = ({ target: e }) => {
|
|
1756
1756
|
D.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1757
|
-
}, be = () => {
|
|
1758
|
-
D.value = !1;
|
|
1759
1757
|
}, xe = () => {
|
|
1758
|
+
D.value = !1;
|
|
1759
|
+
}, Se = () => {
|
|
1760
1760
|
if (t.showOnHover) {
|
|
1761
1761
|
if (t.disableClickOutsideToClose) return;
|
|
1762
1762
|
if (!c.value && !le && t.enableClickToggle) {
|
|
@@ -1767,10 +1767,10 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1767
1767
|
return;
|
|
1768
1768
|
}
|
|
1769
1769
|
L(le ? !1 : !c.value);
|
|
1770
|
-
},
|
|
1770
|
+
}, Ce = (e) => {
|
|
1771
1771
|
let t = e.newState === "open";
|
|
1772
1772
|
c.value !== t && (c.value = t);
|
|
1773
|
-
},
|
|
1773
|
+
}, we = (e) => {
|
|
1774
1774
|
h && re.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), L(!1));
|
|
1775
1775
|
};
|
|
1776
1776
|
return I(c, async (e) => {
|
|
@@ -1779,14 +1779,14 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1779
1779
|
return;
|
|
1780
1780
|
}
|
|
1781
1781
|
await b(), ge();
|
|
1782
|
-
}), I(
|
|
1782
|
+
}), I(ve, (e) => {
|
|
1783
1783
|
if (t.showOnHover) {
|
|
1784
1784
|
if (e) {
|
|
1785
1785
|
L(!0);
|
|
1786
1786
|
return;
|
|
1787
1787
|
}
|
|
1788
1788
|
de(), t.closeDelay > 0 ? (pe(), ue = setTimeout(() => {
|
|
1789
|
-
ue = void 0,
|
|
1789
|
+
ue = void 0, ve.value || L(!1);
|
|
1790
1790
|
}, t.closeDelay)) : L(!1);
|
|
1791
1791
|
}
|
|
1792
1792
|
}), I(m, (e) => {
|
|
@@ -1797,7 +1797,7 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1797
1797
|
de(), pe();
|
|
1798
1798
|
}), I(() => t.disabled, (e) => {
|
|
1799
1799
|
if (!e) {
|
|
1800
|
-
|
|
1800
|
+
ve.value && L(!0);
|
|
1801
1801
|
return;
|
|
1802
1802
|
}
|
|
1803
1803
|
T.value &&= !1, D.value &&= !1, L(!1);
|
|
@@ -1805,13 +1805,13 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1805
1805
|
ref_key: "root",
|
|
1806
1806
|
ref: _,
|
|
1807
1807
|
style: C(ie.value),
|
|
1808
|
-
onKeydown:
|
|
1808
|
+
onKeydown: we
|
|
1809
1809
|
}, [s("div", {
|
|
1810
1810
|
ref_key: "triggerWrapper",
|
|
1811
1811
|
ref: v,
|
|
1812
1812
|
style: C(ae.value),
|
|
1813
|
-
onClick:
|
|
1814
|
-
onFocusin:
|
|
1813
|
+
onClick: Se,
|
|
1814
|
+
onFocusin: ye,
|
|
1815
1815
|
onFocusout: l[0] ||= (e) => T.value = !1
|
|
1816
1816
|
}, [ne(r.$slots, "trigger")], 36), g.value && F(h) && m.value ? (k(), o("div", {
|
|
1817
1817
|
key: 0,
|
|
@@ -1820,9 +1820,9 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1820
1820
|
class: "pv-floating pv-floating-native",
|
|
1821
1821
|
popover: re.value,
|
|
1822
1822
|
style: C(N.value),
|
|
1823
|
-
onToggle:
|
|
1824
|
-
onFocusin:
|
|
1825
|
-
onFocusout:
|
|
1823
|
+
onToggle: Ce,
|
|
1824
|
+
onFocusin: be,
|
|
1825
|
+
onFocusout: xe
|
|
1826
1826
|
}, [e.disabled ? a("v-if", !0) : ne(r.$slots, "content", { key: 0 })], 44, kr)) : m.value ? (k(), i(n, {
|
|
1827
1827
|
key: 1,
|
|
1828
1828
|
to: e.teleportLocation,
|
|
@@ -1832,11 +1832,11 @@ var Er = /* @__PURE__ */ new Set(), Dr = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1832
1832
|
ref: x,
|
|
1833
1833
|
class: "pv-floating",
|
|
1834
1834
|
style: C(se.value),
|
|
1835
|
-
onFocusin:
|
|
1836
|
-
onFocusout:
|
|
1835
|
+
onFocusin: be,
|
|
1836
|
+
onFocusout: xe
|
|
1837
1837
|
}, [ne(r.$slots, "content")], 36), [[fe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1838
1838
|
}
|
|
1839
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1839
|
+
}), [["styles", [".pv-floating-native[data-v-2b80f35f]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-2b80f35f]>.pv-popover,.pv-floating-native>slot[name=content][data-v-2b80f35f]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-2b80f35f"]]), Mr = ["data-variant"], Nr = /* @__PURE__ */ d({
|
|
1840
1840
|
__name: "PvTooltipV2",
|
|
1841
1841
|
props: {
|
|
1842
1842
|
variant: {
|
|
@@ -2224,7 +2224,7 @@ var Jr = {
|
|
|
2224
2224
|
}, me = () => {
|
|
2225
2225
|
let e = x.value;
|
|
2226
2226
|
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
2227
|
-
}, he = r(() => !t.showOnHover || k.value ? !1 : t.disableInteractive ? S.value || T.value : S.value ||
|
|
2227
|
+
}, he = r(() => !!c.value && (w.value || ee.value)), ge = r(() => !t.showOnHover || k.value ? !1 : t.disableInteractive ? S.value || T.value : S.value || T.value || he.value);
|
|
2228
2228
|
z([
|
|
2229
2229
|
S,
|
|
2230
2230
|
T,
|
|
@@ -2232,13 +2232,13 @@ var Jr = {
|
|
|
2232
2232
|
], ([e, t, n]) => {
|
|
2233
2233
|
!e && !t && !n && (k.value = !1);
|
|
2234
2234
|
});
|
|
2235
|
-
let
|
|
2235
|
+
let _e = ({ target: e }) => {
|
|
2236
2236
|
T.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
2237
|
-
},
|
|
2237
|
+
}, ve = ({ target: e }) => {
|
|
2238
2238
|
ee.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
2239
|
-
}, ve = () => {
|
|
2240
|
-
ee.value = !1;
|
|
2241
2239
|
}, ye = () => {
|
|
2240
|
+
ee.value = !1;
|
|
2241
|
+
}, be = () => {
|
|
2242
2242
|
if (t.showOnHover) {
|
|
2243
2243
|
if (t.disableClickOutsideToClose) return;
|
|
2244
2244
|
if (!c.value && !R && t.enableClickToggle) {
|
|
@@ -2249,10 +2249,10 @@ var Jr = {
|
|
|
2249
2249
|
return;
|
|
2250
2250
|
}
|
|
2251
2251
|
de(R ? !1 : !c.value);
|
|
2252
|
-
},
|
|
2252
|
+
}, xe = (e) => {
|
|
2253
2253
|
let t = e.newState === "open";
|
|
2254
2254
|
c.value !== t && (c.value = t);
|
|
2255
|
-
},
|
|
2255
|
+
}, Se = (e) => {
|
|
2256
2256
|
h && ne.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), de(!1));
|
|
2257
2257
|
};
|
|
2258
2258
|
return z(c, async (e) => {
|
|
@@ -2261,14 +2261,14 @@ var Jr = {
|
|
|
2261
2261
|
return;
|
|
2262
2262
|
}
|
|
2263
2263
|
await b(), me();
|
|
2264
|
-
}), z(
|
|
2264
|
+
}), z(ge, (e) => {
|
|
2265
2265
|
if (t.showOnHover) {
|
|
2266
2266
|
if (e) {
|
|
2267
2267
|
de(!0);
|
|
2268
2268
|
return;
|
|
2269
2269
|
}
|
|
2270
2270
|
ce(), t.closeDelay > 0 ? (le(), se = setTimeout(() => {
|
|
2271
|
-
se = void 0,
|
|
2271
|
+
se = void 0, ge.value || de(!1);
|
|
2272
2272
|
}, t.closeDelay)) : de(!1);
|
|
2273
2273
|
}
|
|
2274
2274
|
}), z(m, (e) => {
|
|
@@ -2279,7 +2279,7 @@ var Jr = {
|
|
|
2279
2279
|
ce(), le();
|
|
2280
2280
|
}), z(() => t.disabled, (e) => {
|
|
2281
2281
|
if (!e) {
|
|
2282
|
-
|
|
2282
|
+
ge.value && de(!0);
|
|
2283
2283
|
return;
|
|
2284
2284
|
}
|
|
2285
2285
|
T.value &&= !1, ee.value &&= !1, de(!1);
|
|
@@ -2287,13 +2287,13 @@ var Jr = {
|
|
|
2287
2287
|
ref_key: "root",
|
|
2288
2288
|
ref: _,
|
|
2289
2289
|
style: C(re.value),
|
|
2290
|
-
onKeydown:
|
|
2290
|
+
onKeydown: Se
|
|
2291
2291
|
}, [s("div", {
|
|
2292
2292
|
ref_key: "triggerWrapper",
|
|
2293
2293
|
ref: v,
|
|
2294
2294
|
style: C(P.value),
|
|
2295
|
-
onClick:
|
|
2296
|
-
onFocusin:
|
|
2295
|
+
onClick: be,
|
|
2296
|
+
onFocusin: _e,
|
|
2297
2297
|
onFocusout: l[0] ||= (e) => T.value = !1
|
|
2298
2298
|
}, [N(r.$slots, "trigger")], 36), g.value && L(h) && m.value ? (O(), o("div", {
|
|
2299
2299
|
key: 0,
|
|
@@ -2302,9 +2302,9 @@ var Jr = {
|
|
|
2302
2302
|
class: "pv-floating pv-floating-native",
|
|
2303
2303
|
popover: ne.value,
|
|
2304
2304
|
style: C(F.value),
|
|
2305
|
-
onToggle:
|
|
2306
|
-
onFocusin:
|
|
2307
|
-
onFocusout:
|
|
2305
|
+
onToggle: xe,
|
|
2306
|
+
onFocusin: ve,
|
|
2307
|
+
onFocusout: ye
|
|
2308
2308
|
}, [e.disabled ? a("v-if", !0) : N(r.$slots, "content", { key: 0 })], 44, oi)) : m.value ? (O(), i(n, {
|
|
2309
2309
|
key: 1,
|
|
2310
2310
|
to: e.teleportLocation,
|
|
@@ -2314,11 +2314,11 @@ var Jr = {
|
|
|
2314
2314
|
ref: x,
|
|
2315
2315
|
class: "pv-floating",
|
|
2316
2316
|
style: C(ae.value),
|
|
2317
|
-
onFocusin:
|
|
2318
|
-
onFocusout:
|
|
2317
|
+
onFocusin: ve,
|
|
2318
|
+
onFocusout: ye
|
|
2319
2319
|
}, [N(r.$slots, "content")], 36), [[ue, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
2320
2320
|
}
|
|
2321
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
2321
|
+
}), [["styles", [".pv-floating-native[data-v-2b80f35f]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-2b80f35f]>.pv-popover,.pv-floating-native>slot[name=content][data-v-2b80f35f]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-2b80f35f"]]), li = ["data-variant"], ui = /* @__PURE__ */ d({
|
|
2322
2322
|
__name: "PvTooltipV2",
|
|
2323
2323
|
props: {
|
|
2324
2324
|
variant: {
|
|
@@ -4474,6 +4474,10 @@ var Jo = ["data-align"], Yo = /* @__PURE__ */ ut(/* @__PURE__ */ d({
|
|
|
4474
4474
|
type: null
|
|
4475
4475
|
},
|
|
4476
4476
|
overlayTrigger: { type: Boolean },
|
|
4477
|
+
singleSelect: {
|
|
4478
|
+
type: Boolean,
|
|
4479
|
+
default: !1
|
|
4480
|
+
},
|
|
4477
4481
|
parentSelectsAllChildren: { type: Boolean },
|
|
4478
4482
|
popoverCssProperties: { type: Object },
|
|
4479
4483
|
popoverProperties: { type: Object },
|
|
@@ -4735,6 +4739,7 @@ var Jo = ["data-align"], Yo = /* @__PURE__ */ ut(/* @__PURE__ */ d({
|
|
|
4735
4739
|
"onUpdate:selectedItems": r[2] ||= (e) => ue.value = e,
|
|
4736
4740
|
options: i,
|
|
4737
4741
|
config: l.value,
|
|
4742
|
+
singleSelect: e.singleSelect,
|
|
4738
4743
|
queryText: e.highlightSearchText ? ne.value : null,
|
|
4739
4744
|
itemTestId: `pv-multiselect-${t}-item`,
|
|
4740
4745
|
itemClass: "pv-stack-4",
|
|
@@ -4747,6 +4752,7 @@ var Jo = ["data-align"], Yo = /* @__PURE__ */ ut(/* @__PURE__ */ d({
|
|
|
4747
4752
|
"selectedItems",
|
|
4748
4753
|
"options",
|
|
4749
4754
|
"config",
|
|
4755
|
+
"singleSelect",
|
|
4750
4756
|
"queryText",
|
|
4751
4757
|
"itemTestId",
|
|
4752
4758
|
"isLoading",
|
|
@@ -4761,6 +4767,7 @@ var Jo = ["data-align"], Yo = /* @__PURE__ */ ut(/* @__PURE__ */ d({
|
|
|
4761
4767
|
"onUpdate:selectedItems": r[3] ||= (e) => ue.value = e,
|
|
4762
4768
|
options: me.value,
|
|
4763
4769
|
config: l.value,
|
|
4770
|
+
singleSelect: e.singleSelect,
|
|
4764
4771
|
queryText: e.highlightSearchText ? ne.value : null,
|
|
4765
4772
|
itemTestId: `pv-multiselect-${e.label}-item`,
|
|
4766
4773
|
itemClass: "pv-stack-4",
|
|
@@ -4772,6 +4779,7 @@ var Jo = ["data-align"], Yo = /* @__PURE__ */ ut(/* @__PURE__ */ d({
|
|
|
4772
4779
|
"selectedItems",
|
|
4773
4780
|
"options",
|
|
4774
4781
|
"config",
|
|
4782
|
+
"singleSelect",
|
|
4775
4783
|
"queryText",
|
|
4776
4784
|
"itemTestId",
|
|
4777
4785
|
"enableCascadeSelection",
|
|
@@ -1302,7 +1302,7 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1302
1302
|
}, _e = () => {
|
|
1303
1303
|
let e = k.value;
|
|
1304
1304
|
!e || !x.value || !_.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1305
|
-
}, ve = n(() => !s.showOnHover || ae.value ? !1 : s.disableInteractive ? A.value || j.value : A.value ||
|
|
1305
|
+
}, ve = n(() => !!c.value && (re.value || ie.value)), ye = n(() => !s.showOnHover || ae.value ? !1 : s.disableInteractive ? A.value || j.value : A.value || j.value || ve.value);
|
|
1306
1306
|
O([
|
|
1307
1307
|
A,
|
|
1308
1308
|
j,
|
|
@@ -1310,13 +1310,13 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1310
1310
|
], ([e, t, n]) => {
|
|
1311
1311
|
!e && !t && !n && (ae.value = !1);
|
|
1312
1312
|
});
|
|
1313
|
-
let
|
|
1313
|
+
let be = ({ target: e }) => {
|
|
1314
1314
|
j.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1315
|
-
},
|
|
1315
|
+
}, xe = ({ target: e }) => {
|
|
1316
1316
|
ie.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1317
|
-
}, xe = () => {
|
|
1318
|
-
ie.value = !1;
|
|
1319
1317
|
}, Se = () => {
|
|
1318
|
+
ie.value = !1;
|
|
1319
|
+
}, Ce = () => {
|
|
1320
1320
|
if (s.showOnHover) {
|
|
1321
1321
|
if (s.disableClickOutsideToClose) return;
|
|
1322
1322
|
if (!c.value && !P && s.enableClickToggle) {
|
|
@@ -1327,10 +1327,10 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1327
1327
|
return;
|
|
1328
1328
|
}
|
|
1329
1329
|
I(P ? !1 : !c.value);
|
|
1330
|
-
},
|
|
1330
|
+
}, we = (e) => {
|
|
1331
1331
|
let t = e.newState === "open";
|
|
1332
1332
|
c.value !== t && (c.value = t);
|
|
1333
|
-
},
|
|
1333
|
+
}, Te = (e) => {
|
|
1334
1334
|
b && le.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), I(!1));
|
|
1335
1335
|
};
|
|
1336
1336
|
return O(c, async (e) => {
|
|
@@ -1339,14 +1339,14 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1339
1339
|
return;
|
|
1340
1340
|
}
|
|
1341
1341
|
await f(), _e();
|
|
1342
|
-
}), O(
|
|
1342
|
+
}), O(ye, (e) => {
|
|
1343
1343
|
if (s.showOnHover) {
|
|
1344
1344
|
if (e) {
|
|
1345
1345
|
I(!0);
|
|
1346
1346
|
return;
|
|
1347
1347
|
}
|
|
1348
1348
|
F(), s.closeDelay > 0 ? (he(), me = setTimeout(() => {
|
|
1349
|
-
me = void 0,
|
|
1349
|
+
me = void 0, ye.value || I(!1);
|
|
1350
1350
|
}, s.closeDelay)) : I(!1);
|
|
1351
1351
|
}
|
|
1352
1352
|
}), O(_, (e) => {
|
|
@@ -1357,7 +1357,7 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1357
1357
|
F(), he();
|
|
1358
1358
|
}), O(() => s.disabled, (e) => {
|
|
1359
1359
|
if (!e) {
|
|
1360
|
-
|
|
1360
|
+
ye.value && I(!0);
|
|
1361
1361
|
return;
|
|
1362
1362
|
}
|
|
1363
1363
|
j.value &&= !1, ie.value &&= !1, I(!1);
|
|
@@ -1365,13 +1365,13 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1365
1365
|
ref_key: "root",
|
|
1366
1366
|
ref: w,
|
|
1367
1367
|
style: p(ue.value),
|
|
1368
|
-
onKeydown:
|
|
1368
|
+
onKeydown: Te
|
|
1369
1369
|
}, [o("div", {
|
|
1370
1370
|
ref_key: "triggerWrapper",
|
|
1371
1371
|
ref: T,
|
|
1372
1372
|
style: p(M.value),
|
|
1373
|
-
onClick:
|
|
1374
|
-
onFocusin:
|
|
1373
|
+
onClick: Ce,
|
|
1374
|
+
onFocusin: be,
|
|
1375
1375
|
onFocusout: l[0] ||= (e) => j.value = !1
|
|
1376
1376
|
}, [C(n.$slots, "trigger")], 36), x.value && E(b) && _.value ? (y(), a("div", {
|
|
1377
1377
|
key: 0,
|
|
@@ -1380,9 +1380,9 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1380
1380
|
class: "pv-floating pv-floating-native",
|
|
1381
1381
|
popover: le.value,
|
|
1382
1382
|
style: p(de.value),
|
|
1383
|
-
onToggle:
|
|
1384
|
-
onFocusin:
|
|
1385
|
-
onFocusout:
|
|
1383
|
+
onToggle: we,
|
|
1384
|
+
onFocusin: xe,
|
|
1385
|
+
onFocusout: Se
|
|
1386
1386
|
}, [e.disabled ? i("v-if", !0) : C(n.$slots, "content", { key: 0 })], 44, xn)) : _.value ? (y(), r(t, {
|
|
1387
1387
|
key: 1,
|
|
1388
1388
|
to: e.teleportLocation,
|
|
@@ -1392,11 +1392,11 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1392
1392
|
ref: k,
|
|
1393
1393
|
class: "pv-floating",
|
|
1394
1394
|
style: p(pe.value),
|
|
1395
|
-
onFocusin:
|
|
1396
|
-
onFocusout:
|
|
1395
|
+
onFocusin: xe,
|
|
1396
|
+
onFocusout: Se
|
|
1397
1397
|
}, [C(n.$slots, "content")], 36), [[te, c.value]])], 8, ["to", "disabled"])) : i("v-if", !0)], 36));
|
|
1398
1398
|
}
|
|
1399
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1399
|
+
}), [["styles", [".pv-floating-native[data-v-2b80f35f]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-2b80f35f]>.pv-popover,.pv-floating-native>slot[name=content][data-v-2b80f35f]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-2b80f35f"]]), wn = Object.defineProperty, Tn = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, On = (e, t, n) => t in e ? wn(e, t, {
|
|
1400
1400
|
enumerable: !0,
|
|
1401
1401
|
configurable: !0,
|
|
1402
1402
|
writable: !0,
|