@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
|
@@ -1874,7 +1874,7 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1874
1874
|
}, _e = () => {
|
|
1875
1875
|
let e = x.value;
|
|
1876
1876
|
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1877
|
-
}, ve = r(() => !t.showOnHover || A.value ? !1 : t.disableInteractive ? S.value || T.value : S.value ||
|
|
1877
|
+
}, ve = r(() => !!c.value && (w.value || D.value)), ye = r(() => !t.showOnHover || A.value ? !1 : t.disableInteractive ? S.value || T.value : S.value || T.value || ve.value);
|
|
1878
1878
|
I([
|
|
1879
1879
|
S,
|
|
1880
1880
|
T,
|
|
@@ -1882,13 +1882,13 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1882
1882
|
], ([e, t, n]) => {
|
|
1883
1883
|
!e && !t && !n && (A.value = !1);
|
|
1884
1884
|
});
|
|
1885
|
-
let
|
|
1885
|
+
let be = ({ target: e }) => {
|
|
1886
1886
|
T.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1887
|
-
},
|
|
1887
|
+
}, xe = ({ target: e }) => {
|
|
1888
1888
|
D.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1889
|
-
}, xe = () => {
|
|
1890
|
-
D.value = !1;
|
|
1891
1889
|
}, Se = () => {
|
|
1890
|
+
D.value = !1;
|
|
1891
|
+
}, Ce = () => {
|
|
1892
1892
|
if (t.showOnHover) {
|
|
1893
1893
|
if (t.disableClickOutsideToClose) return;
|
|
1894
1894
|
if (!c.value && !le && t.enableClickToggle) {
|
|
@@ -1899,10 +1899,10 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1899
1899
|
return;
|
|
1900
1900
|
}
|
|
1901
1901
|
me(le ? !1 : !c.value);
|
|
1902
|
-
},
|
|
1902
|
+
}, we = (e) => {
|
|
1903
1903
|
let t = e.newState === "open";
|
|
1904
1904
|
c.value !== t && (c.value = t);
|
|
1905
|
-
},
|
|
1905
|
+
}, Te = (e) => {
|
|
1906
1906
|
h && re.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), me(!1));
|
|
1907
1907
|
};
|
|
1908
1908
|
return I(c, async (e) => {
|
|
@@ -1911,14 +1911,14 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1911
1911
|
return;
|
|
1912
1912
|
}
|
|
1913
1913
|
await b(), _e();
|
|
1914
|
-
}), I(
|
|
1914
|
+
}), I(ye, (e) => {
|
|
1915
1915
|
if (t.showOnHover) {
|
|
1916
1916
|
if (e) {
|
|
1917
1917
|
me(!0);
|
|
1918
1918
|
return;
|
|
1919
1919
|
}
|
|
1920
1920
|
de(), t.closeDelay > 0 ? (fe(), ue = setTimeout(() => {
|
|
1921
|
-
ue = void 0,
|
|
1921
|
+
ue = void 0, ye.value || me(!1);
|
|
1922
1922
|
}, t.closeDelay)) : me(!1);
|
|
1923
1923
|
}
|
|
1924
1924
|
}), I(m, (e) => {
|
|
@@ -1929,7 +1929,7 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1929
1929
|
de(), fe();
|
|
1930
1930
|
}), I(() => t.disabled, (e) => {
|
|
1931
1931
|
if (!e) {
|
|
1932
|
-
|
|
1932
|
+
ye.value && me(!0);
|
|
1933
1933
|
return;
|
|
1934
1934
|
}
|
|
1935
1935
|
T.value &&= !1, D.value &&= !1, me(!1);
|
|
@@ -1937,13 +1937,13 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1937
1937
|
ref_key: "root",
|
|
1938
1938
|
ref: _,
|
|
1939
1939
|
style: C(ie.value),
|
|
1940
|
-
onKeydown:
|
|
1940
|
+
onKeydown: Te
|
|
1941
1941
|
}, [s("div", {
|
|
1942
1942
|
ref_key: "triggerWrapper",
|
|
1943
1943
|
ref: v,
|
|
1944
1944
|
style: C(ae.value),
|
|
1945
|
-
onClick:
|
|
1946
|
-
onFocusin:
|
|
1945
|
+
onClick: Ce,
|
|
1946
|
+
onFocusin: be,
|
|
1947
1947
|
onFocusout: l[0] ||= (e) => T.value = !1
|
|
1948
1948
|
}, [ne(r.$slots, "trigger")], 36), g.value && F(h) && m.value ? (k(), o("div", {
|
|
1949
1949
|
key: 0,
|
|
@@ -1952,9 +1952,9 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1952
1952
|
class: "pv-floating pv-floating-native",
|
|
1953
1953
|
popover: re.value,
|
|
1954
1954
|
style: C(N.value),
|
|
1955
|
-
onToggle:
|
|
1956
|
-
onFocusin:
|
|
1957
|
-
onFocusout:
|
|
1955
|
+
onToggle: we,
|
|
1956
|
+
onFocusin: xe,
|
|
1957
|
+
onFocusout: Se
|
|
1958
1958
|
}, [e.disabled ? a("v-if", !0) : ne(r.$slots, "content", { key: 0 })], 44, Hr)) : m.value ? (k(), i(n, {
|
|
1959
1959
|
key: 1,
|
|
1960
1960
|
to: e.teleportLocation,
|
|
@@ -1964,11 +1964,11 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1964
1964
|
ref: x,
|
|
1965
1965
|
class: "pv-floating",
|
|
1966
1966
|
style: C(se.value),
|
|
1967
|
-
onFocusin:
|
|
1968
|
-
onFocusout:
|
|
1967
|
+
onFocusin: xe,
|
|
1968
|
+
onFocusout: Se
|
|
1969
1969
|
}, [ne(r.$slots, "content")], 36), [[pe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1970
1970
|
}
|
|
1971
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1971
|
+
}), [["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"]]);
|
|
1972
1972
|
//#endregion
|
|
1973
1973
|
//#region src/components/base/PvMenu/cascadeUtils.ts
|
|
1974
1974
|
function Gr(e) {
|