@turquoisehealth/pit-viper 2.227.0 → 2.229.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 +18 -1
- package/_site/assets/css/pit-viper-consumer.css +18 -1
- package/_site/assets/css/pit-viper-v2-scoped.css +17 -1
- package/_site/assets/css/pit-viper-v2.css +18 -1
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -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-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-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-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/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +6 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +43 -24
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +17 -4
- 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 +12 -2
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +489 -479
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +36 -23
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +641 -631
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +1154 -1144
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +4 -1
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +12 -2
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +68 -59
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +12 -2
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +235 -225
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +12 -2
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +18 -2
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +377 -368
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +451 -441
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +12 -2
- package/pv-components/dist/web/pv-components.iife.js +3 -3
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1711,6 +1711,10 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1711
1711
|
type: Boolean,
|
|
1712
1712
|
default: !1
|
|
1713
1713
|
},
|
|
1714
|
+
enableClickToggle: {
|
|
1715
|
+
type: Boolean,
|
|
1716
|
+
default: !1
|
|
1717
|
+
},
|
|
1714
1718
|
enableGroupSync: {
|
|
1715
1719
|
type: Boolean,
|
|
1716
1720
|
default: !1
|
|
@@ -1886,7 +1890,12 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1886
1890
|
D.value = !1;
|
|
1887
1891
|
}, Se = () => {
|
|
1888
1892
|
if (t.showOnHover) {
|
|
1889
|
-
t.disableClickOutsideToClose
|
|
1893
|
+
if (t.disableClickOutsideToClose) return;
|
|
1894
|
+
if (!c.value && !le && t.enableClickToggle) {
|
|
1895
|
+
A.value = !1, me(!0);
|
|
1896
|
+
return;
|
|
1897
|
+
}
|
|
1898
|
+
A.value = !0, he();
|
|
1890
1899
|
return;
|
|
1891
1900
|
}
|
|
1892
1901
|
me(le ? !1 : !c.value);
|
|
@@ -1959,7 +1968,7 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1959
1968
|
onFocusout: xe
|
|
1960
1969
|
}, [ne(r.$slots, "content")], 36), [[pe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1961
1970
|
}
|
|
1962
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1971
|
+
}), [["styles", [".pv-floating-native[data-v-0469d441]{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-0469d441]>.pv-popover,.pv-floating-native>slot[name=content][data-v-0469d441]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-0469d441"]]);
|
|
1963
1972
|
//#endregion
|
|
1964
1973
|
//#region src/components/base/PvMenu/cascadeUtils.ts
|
|
1965
1974
|
function Gr(e) {
|
|
@@ -2160,6 +2169,7 @@ var Jr = {
|
|
|
2160
2169
|
type: Boolean,
|
|
2161
2170
|
default: !1
|
|
2162
2171
|
},
|
|
2172
|
+
enableClickToggle: { type: Boolean },
|
|
2163
2173
|
enableGroupSync: { type: Boolean },
|
|
2164
2174
|
useTeleport: { type: Boolean },
|
|
2165
2175
|
disableClickOutsideToClose: { type: Boolean },
|
|
@@ -1381,6 +1381,10 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1381
1381
|
type: Boolean,
|
|
1382
1382
|
default: !1
|
|
1383
1383
|
},
|
|
1384
|
+
enableClickToggle: {
|
|
1385
|
+
type: Boolean,
|
|
1386
|
+
default: !1
|
|
1387
|
+
},
|
|
1384
1388
|
enableGroupSync: {
|
|
1385
1389
|
type: Boolean,
|
|
1386
1390
|
default: !1
|
|
@@ -1556,7 +1560,12 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1556
1560
|
O.value = !1;
|
|
1557
1561
|
}, ve = () => {
|
|
1558
1562
|
if (t.showOnHover) {
|
|
1559
|
-
t.disableClickOutsideToClose
|
|
1563
|
+
if (t.disableClickOutsideToClose) return;
|
|
1564
|
+
if (!c.value && !ue && t.enableClickToggle) {
|
|
1565
|
+
A.value = !1, R(!0);
|
|
1566
|
+
return;
|
|
1567
|
+
}
|
|
1568
|
+
A.value = !0, me();
|
|
1560
1569
|
return;
|
|
1561
1570
|
}
|
|
1562
1571
|
R(ue ? !1 : !c.value);
|
|
@@ -1629,7 +1638,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1629
1638
|
onFocusout: B
|
|
1630
1639
|
}, [j(r.$slots, "content")], 36), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1631
1640
|
}
|
|
1632
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1641
|
+
}), [["styles", [".pv-floating-native[data-v-0469d441]{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-0469d441]>.pv-popover,.pv-floating-native>slot[name=content][data-v-0469d441]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-0469d441"]]), Xn = ["data-variant"], Zn = /* @__PURE__ */ d({
|
|
1633
1642
|
__name: "PvTooltipV2",
|
|
1634
1643
|
props: {
|
|
1635
1644
|
variant: {
|
|
@@ -1656,6 +1665,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1656
1665
|
type: Boolean,
|
|
1657
1666
|
default: !1
|
|
1658
1667
|
},
|
|
1668
|
+
enableClickToggle: { type: Boolean },
|
|
1659
1669
|
enableGroupSync: { type: Boolean },
|
|
1660
1670
|
useTeleport: { type: Boolean },
|
|
1661
1671
|
disableClickOutsideToClose: { type: Boolean },
|
|
@@ -1903,6 +1913,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1903
1913
|
position: B.value ? "right-top" : "bottom-left",
|
|
1904
1914
|
"show-on-hover": B.value && !ve.value,
|
|
1905
1915
|
"enable-group-sync": "",
|
|
1916
|
+
"enable-click-toggle": "",
|
|
1906
1917
|
"use-teleport": !!T.value,
|
|
1907
1918
|
"teleport-location": T.value ?? "body",
|
|
1908
1919
|
"css-custom-properties": { width: "100%" }
|
|
@@ -1977,6 +1988,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1977
1988
|
"onUpdate:modelValue": (t) => D.value[e.value] = t,
|
|
1978
1989
|
"show-on-hover": "",
|
|
1979
1990
|
"enable-group-sync": "",
|
|
1991
|
+
"enable-click-toggle": "",
|
|
1980
1992
|
"use-teleport": !!T.value,
|
|
1981
1993
|
"teleport-location": T.value ?? "body",
|
|
1982
1994
|
position: "right-top",
|
|
@@ -2028,6 +2040,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
2028
2040
|
])) : !e.children || e.children.length === 0 ? (E(), o(t, { key: 1 }, [a(" Leaf item - direct link with a collapsed interactive flyout "), u(Yn, {
|
|
2029
2041
|
"show-on-hover": "",
|
|
2030
2042
|
"enable-group-sync": "",
|
|
2043
|
+
"enable-click-toggle": "",
|
|
2031
2044
|
"use-teleport": !!T.value,
|
|
2032
2045
|
"teleport-location": T.value ?? "body",
|
|
2033
2046
|
position: "right-top",
|
|
@@ -2054,6 +2067,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
2054
2067
|
])], 2112)) : (E(), o(t, { key: 2 }, [a(" Child items - accordion with a collapsed hover flyout "), u(Yn, {
|
|
2055
2068
|
"show-on-hover": "",
|
|
2056
2069
|
"enable-group-sync": "",
|
|
2070
|
+
"enable-click-toggle": "",
|
|
2057
2071
|
"use-teleport": !!T.value,
|
|
2058
2072
|
"teleport-location": T.value ?? "body",
|
|
2059
2073
|
position: "right-top",
|
|
@@ -2108,6 +2122,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
2108
2122
|
position: B.value ? "right-bottom" : "top-left",
|
|
2109
2123
|
"show-on-hover": B.value,
|
|
2110
2124
|
"enable-group-sync": "",
|
|
2125
|
+
"enable-click-toggle": "",
|
|
2111
2126
|
"use-teleport": !!T.value,
|
|
2112
2127
|
"teleport-location": T.value ?? "body",
|
|
2113
2128
|
offset: 4,
|
|
@@ -2138,6 +2153,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
2138
2153
|
position: B.value ? "right-bottom" : "top-left",
|
|
2139
2154
|
"show-on-hover": B.value,
|
|
2140
2155
|
"enable-group-sync": "",
|
|
2156
|
+
"enable-click-toggle": "",
|
|
2141
2157
|
"use-teleport": !!T.value,
|
|
2142
2158
|
"teleport-location": T.value ?? "body",
|
|
2143
2159
|
offset: 4,
|