@turquoisehealth/pit-viper 2.210.0 → 2.210.1
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/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-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-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/base/pv-components-base.mjs +19 -18
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +19 -18
- 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 +434 -433
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +131 -130
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +214 -213
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +115 -114
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +662 -661
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +607 -606
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +18 -17
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +18 -17
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +627 -626
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +34 -33
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +81 -80
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +465 -464
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +224 -223
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1105,7 +1105,7 @@ function gn(e, t = {}) {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
//#endregion
|
|
1107
1107
|
//#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
|
|
1108
|
-
var _n = ["popover"], vn =
|
|
1108
|
+
var _n = ["popover"], vn = "--pv-popover-v2-anchor", yn = /* @__PURE__ */ ((e, t) => {
|
|
1109
1109
|
let n = e.__vccOpts || e;
|
|
1110
1110
|
for (let [e, r] of t) n[e] = r;
|
|
1111
1111
|
return n;
|
|
@@ -1168,8 +1168,9 @@ var _n = ["popover"], vn = 0, yn = /* @__PURE__ */ ((e, t) => {
|
|
|
1168
1168
|
"anchor-name: --pv-anchor",
|
|
1169
1169
|
"position-area: bottom",
|
|
1170
1170
|
"position-try-fallbacks: flip-block",
|
|
1171
|
-
"position-visibility: anchors-visible"
|
|
1172
|
-
|
|
1171
|
+
"position-visibility: anchors-visible",
|
|
1172
|
+
`anchor-scope: ${vn}`
|
|
1173
|
+
].every((e) => CSS.supports(e)), x = S(!1), w = S(null), T = S(null), D = S(null), k = S(null), A = dn(T), re = dn(k), ie = S(!1), ae = {
|
|
1173
1174
|
"top-center": "top",
|
|
1174
1175
|
"bottom-center": "bottom",
|
|
1175
1176
|
"center-left": "left",
|
|
@@ -1178,7 +1179,7 @@ var _n = ["popover"], vn = 0, yn = /* @__PURE__ */ ((e, t) => {
|
|
|
1178
1179
|
"top-right": "top-end",
|
|
1179
1180
|
"bottom-left": "bottom-start",
|
|
1180
1181
|
"bottom-right": "bottom-end"
|
|
1181
|
-
},
|
|
1182
|
+
}, oe = {
|
|
1182
1183
|
"top-center": {
|
|
1183
1184
|
area: "top",
|
|
1184
1185
|
margin: "margin-block-end"
|
|
@@ -1211,10 +1212,10 @@ var _n = ["popover"], vn = 0, yn = /* @__PURE__ */ ((e, t) => {
|
|
|
1211
1212
|
area: "bottom span-left",
|
|
1212
1213
|
margin: "margin-block-start"
|
|
1213
1214
|
}
|
|
1214
|
-
},
|
|
1215
|
-
let e =
|
|
1215
|
+
}, se = n(() => s.showOnHover || s.disableClickOutsideToClose ? "manual" : "auto"), ce = n(() => b ? { "anchor-scope": vn } : void 0), le = n(() => b ? { "anchor-name": vn } : void 0), ue = n(() => {
|
|
1216
|
+
let e = oe[s.position];
|
|
1216
1217
|
return {
|
|
1217
|
-
"position-anchor":
|
|
1218
|
+
"position-anchor": vn,
|
|
1218
1219
|
"position-area": e.area,
|
|
1219
1220
|
"position-try-fallbacks": s.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
|
|
1220
1221
|
[e.margin]: `${s.offset ?? 0}px`
|
|
@@ -1224,7 +1225,7 @@ var _n = ["popover"], vn = 0, yn = /* @__PURE__ */ ((e, t) => {
|
|
|
1224
1225
|
let e = [];
|
|
1225
1226
|
s.disableAutoPlacement || e.push(Ot({ fallbackStrategy: "initialPlacement" })), s.offset && e.push(Dt(s.offset));
|
|
1226
1227
|
let t = zt(D, k, {
|
|
1227
|
-
placement:
|
|
1228
|
+
placement: ae[s.position],
|
|
1228
1229
|
strategy: s.positioningStrategy,
|
|
1229
1230
|
middleware: e
|
|
1230
1231
|
});
|
|
@@ -1259,13 +1260,13 @@ var _n = ["popover"], vn = 0, yn = /* @__PURE__ */ ((e, t) => {
|
|
|
1259
1260
|
}, L = () => {
|
|
1260
1261
|
let e = k.value;
|
|
1261
1262
|
!e || !x.value || !_.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1262
|
-
}, pe = n(() => s.showOnHover ? s.disableInteractive ?
|
|
1263
|
+
}, pe = n(() => s.showOnHover ? s.disableInteractive ? A.value || ie.value : A.value || re.value || ie.value : !1), me = () => {
|
|
1263
1264
|
s.showOnHover || I(N ? !1 : !c.value);
|
|
1264
1265
|
}, he = (e) => {
|
|
1265
1266
|
let t = e.newState === "open";
|
|
1266
1267
|
c.value !== t && (c.value = t);
|
|
1267
1268
|
}, ge = (e) => {
|
|
1268
|
-
b &&
|
|
1269
|
+
b && se.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), I(!1));
|
|
1269
1270
|
};
|
|
1270
1271
|
return O(c, async (e) => {
|
|
1271
1272
|
if (!b) {
|
|
@@ -1286,27 +1287,27 @@ var _n = ["popover"], vn = 0, yn = /* @__PURE__ */ ((e, t) => {
|
|
|
1286
1287
|
}), O(_, (e) => {
|
|
1287
1288
|
e ? b && c.value && f(L) : (F(), fe(), c.value = !1);
|
|
1288
1289
|
}), g(() => {
|
|
1289
|
-
D.value = T.value,
|
|
1290
|
+
D.value = T.value, x.value = !0, c.value && f(() => b ? L() : j());
|
|
1290
1291
|
}), v(() => {
|
|
1291
1292
|
F(), fe();
|
|
1292
1293
|
}), (n, l) => (y(), a("div", {
|
|
1293
1294
|
ref_key: "root",
|
|
1294
1295
|
ref: w,
|
|
1295
|
-
style: { width: "fit-content" },
|
|
1296
|
+
style: p([{ width: "fit-content" }, ce.value]),
|
|
1296
1297
|
onKeydown: ge
|
|
1297
1298
|
}, [o("div", {
|
|
1298
1299
|
ref_key: "triggerWrapper",
|
|
1299
1300
|
ref: T,
|
|
1300
1301
|
style: p(le.value),
|
|
1301
1302
|
onClick: me,
|
|
1302
|
-
onFocusin: l[0] ||= (e) =>
|
|
1303
|
-
onFocusout: l[1] ||= (e) =>
|
|
1303
|
+
onFocusin: l[0] ||= (e) => ie.value = !0,
|
|
1304
|
+
onFocusout: l[1] ||= (e) => ie.value = !1
|
|
1304
1305
|
}, [C(n.$slots, "trigger")], 36), x.value && E(b) && _.value ? (y(), a("div", {
|
|
1305
1306
|
key: 0,
|
|
1306
1307
|
ref_key: "floating",
|
|
1307
1308
|
ref: k,
|
|
1308
1309
|
class: "pv-floating pv-floating-native",
|
|
1309
|
-
popover:
|
|
1310
|
+
popover: se.value,
|
|
1310
1311
|
style: p(ue.value),
|
|
1311
1312
|
onToggle: he
|
|
1312
1313
|
}, [C(n.$slots, "content")], 44, _n)) : _.value ? (y(), r(t, {
|
|
@@ -1318,9 +1319,9 @@ var _n = ["popover"], vn = 0, yn = /* @__PURE__ */ ((e, t) => {
|
|
|
1318
1319
|
ref: k,
|
|
1319
1320
|
class: "pv-floating",
|
|
1320
1321
|
style: p(de.value)
|
|
1321
|
-
}, [C(n.$slots, "content")], 4), [[te, c.value]])], 8, ["to", "disabled"])) : i("v-if", !0)],
|
|
1322
|
+
}, [C(n.$slots, "content")], 4), [[te, c.value]])], 8, ["to", "disabled"])) : i("v-if", !0)], 36));
|
|
1322
1323
|
}
|
|
1323
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1324
|
+
}), [["styles", [".pv-floating-native[data-v-08e2d92a]{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-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]), bn = Object.defineProperty, xn = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, wn = (e, t, n) => t in e ? bn(e, t, {
|
|
1324
1325
|
enumerable: !0,
|
|
1325
1326
|
configurable: !0,
|
|
1326
1327
|
writable: !0,
|
|
@@ -2659,7 +2659,7 @@ function za(e, t = {}) {
|
|
|
2659
2659
|
}
|
|
2660
2660
|
//#endregion
|
|
2661
2661
|
//#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
|
|
2662
|
-
var Ba = ["popover"], Va =
|
|
2662
|
+
var Ba = ["popover"], Va = "--pv-popover-v2-anchor", Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
2663
2663
|
__name: "PvPopoverV2",
|
|
2664
2664
|
props: /* @__PURE__ */ y({
|
|
2665
2665
|
disableAutoPlacement: {
|
|
@@ -2718,8 +2718,9 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
|
2718
2718
|
"anchor-name: --pv-anchor",
|
|
2719
2719
|
"position-area: bottom",
|
|
2720
2720
|
"position-try-fallbacks: flip-block",
|
|
2721
|
-
"position-visibility: anchors-visible"
|
|
2722
|
-
|
|
2721
|
+
"position-visibility: anchors-visible",
|
|
2722
|
+
`anchor-scope: ${Va}`
|
|
2723
|
+
].every((e) => CSS.supports(e)), g = j(!1), _ = j(null), v = j(null), y = j(null), b = j(null), S = nt(v), C = nt(b), T = j(!1), E = {
|
|
2723
2724
|
"top-center": "top",
|
|
2724
2725
|
"bottom-center": "bottom",
|
|
2725
2726
|
"center-left": "left",
|
|
@@ -2728,7 +2729,7 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
|
2728
2729
|
"top-right": "top-end",
|
|
2729
2730
|
"bottom-left": "bottom-start",
|
|
2730
2731
|
"bottom-right": "bottom-end"
|
|
2731
|
-
},
|
|
2732
|
+
}, O = {
|
|
2732
2733
|
"top-center": {
|
|
2733
2734
|
area: "top",
|
|
2734
2735
|
margin: "margin-block-end"
|
|
@@ -2761,10 +2762,10 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
|
2761
2762
|
area: "bottom span-left",
|
|
2762
2763
|
margin: "margin-block-start"
|
|
2763
2764
|
}
|
|
2764
|
-
},
|
|
2765
|
-
let e =
|
|
2765
|
+
}, A = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), te = r(() => h ? { "anchor-scope": Va } : void 0), ne = r(() => h ? { "anchor-name": Va } : void 0), ie = r(() => {
|
|
2766
|
+
let e = O[t.position];
|
|
2766
2767
|
return {
|
|
2767
|
-
"position-anchor":
|
|
2768
|
+
"position-anchor": Va,
|
|
2768
2769
|
"position-area": e.area,
|
|
2769
2770
|
"position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
|
|
2770
2771
|
[e.margin]: `${t.offset ?? 0}px`
|
|
@@ -2774,7 +2775,7 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
|
2774
2775
|
let e = [];
|
|
2775
2776
|
t.disableAutoPlacement || e.push(wa({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(Ca(t.offset));
|
|
2776
2777
|
let n = Fa(y, b, {
|
|
2777
|
-
placement:
|
|
2778
|
+
placement: E[t.position],
|
|
2778
2779
|
strategy: t.positioningStrategy,
|
|
2779
2780
|
middleware: e
|
|
2780
2781
|
});
|
|
@@ -2809,13 +2810,13 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
|
2809
2810
|
}, fe = () => {
|
|
2810
2811
|
let e = b.value;
|
|
2811
2812
|
!e || !g.value || !p.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
2812
|
-
}, pe = r(() => t.showOnHover ? t.disableInteractive ?
|
|
2813
|
+
}, pe = r(() => t.showOnHover ? t.disableInteractive ? S.value || T.value : S.value || C.value || T.value : !1), he = () => {
|
|
2813
2814
|
t.showOnHover || de(oe ? !1 : !c.value);
|
|
2814
2815
|
}, ge = (e) => {
|
|
2815
2816
|
let t = e.newState === "open";
|
|
2816
2817
|
c.value !== t && (c.value = t);
|
|
2817
2818
|
}, ve = (e) => {
|
|
2818
|
-
h &&
|
|
2819
|
+
h && A.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), de(!1));
|
|
2819
2820
|
};
|
|
2820
2821
|
return F(c, async (e) => {
|
|
2821
2822
|
if (!h) {
|
|
@@ -2836,27 +2837,27 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
|
2836
2837
|
}), F(p, (e) => {
|
|
2837
2838
|
e ? h && c.value && x(fe) : (ce(), ue(), c.value = !1);
|
|
2838
2839
|
}), D(() => {
|
|
2839
|
-
y.value = v.value,
|
|
2840
|
+
y.value = v.value, g.value = !0, c.value && x(() => h ? fe() : ae());
|
|
2840
2841
|
}), ee(() => {
|
|
2841
2842
|
ce(), ue();
|
|
2842
2843
|
}), (r, l) => (k(), o("div", {
|
|
2843
2844
|
ref_key: "root",
|
|
2844
2845
|
ref: _,
|
|
2845
|
-
style: { width: "fit-content" },
|
|
2846
|
+
style: w([{ width: "fit-content" }, te.value]),
|
|
2846
2847
|
onKeydown: ve
|
|
2847
2848
|
}, [s("div", {
|
|
2848
2849
|
ref_key: "triggerWrapper",
|
|
2849
2850
|
ref: v,
|
|
2850
2851
|
style: w(ne.value),
|
|
2851
2852
|
onClick: he,
|
|
2852
|
-
onFocusin: l[0] ||= (e) =>
|
|
2853
|
-
onFocusout: l[1] ||= (e) =>
|
|
2853
|
+
onFocusin: l[0] ||= (e) => T.value = !0,
|
|
2854
|
+
onFocusout: l[1] ||= (e) => T.value = !1
|
|
2854
2855
|
}, [re(r.$slots, "trigger")], 36), g.value && se(h) && p.value ? (k(), o("div", {
|
|
2855
2856
|
key: 0,
|
|
2856
2857
|
ref_key: "floating",
|
|
2857
2858
|
ref: b,
|
|
2858
2859
|
class: "pv-floating pv-floating-native",
|
|
2859
|
-
popover:
|
|
2860
|
+
popover: A.value,
|
|
2860
2861
|
style: w(ie.value),
|
|
2861
2862
|
onToggle: ge
|
|
2862
2863
|
}, [re(r.$slots, "content")], 44, Ba)) : p.value ? (k(), i(n, {
|
|
@@ -2868,9 +2869,9 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
|
|
|
2868
2869
|
ref: b,
|
|
2869
2870
|
class: "pv-floating",
|
|
2870
2871
|
style: w(N.value)
|
|
2871
|
-
}, [re(r.$slots, "content")], 4), [[me, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)],
|
|
2872
|
+
}, [re(r.$slots, "content")], 4), [[me, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
2872
2873
|
}
|
|
2873
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
2874
|
+
}), [["styles", [".pv-floating-native[data-v-08e2d92a]{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-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]), Ua = ["data-variant"], Wa = /* @__PURE__ */ f({
|
|
2874
2875
|
__name: "PvTooltipV2",
|
|
2875
2876
|
props: {
|
|
2876
2877
|
variant: {
|