@turquoisehealth/pit-viper 2.224.1-dev.1 → 2.224.1-dev.3
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 +80 -2
- package/_site/assets/css/pit-viper-consumer.css +80 -2
- package/_site/assets/css/pit-viper-v2-scoped.css +69 -2
- package/_site/assets/css/pit-viper-v2.css +119 -2
- package/_site/assets/css/pit-viper.css +79 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +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-drawer-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-reasoning-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-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-step-list-stats.html +4950 -0
- 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/ai/PvReasoning/PvReasoning.vue.d.ts +11 -3
- package/pv-components/dist/vue/ai/components/ai/PvReasoning/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/ai/PvStepList/PvStepList.vue.d.ts +7 -0
- package/pv-components/dist/vue/ai/components/ai/PvStepList/types.d.ts +42 -0
- package/pv-components/dist/vue/ai/components/ai/index.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +5 -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 +2 -0
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
- package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
- package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +490 -327
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +5 -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 +2 -0
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
- package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
- package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +1617 -1492
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/base/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +5 -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 +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
- package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +5 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2465 -2438
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/types.d.ts +2 -0
- package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +8 -4
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +554 -549
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +817 -797
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +640 -627
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +197 -193
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +29 -19
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1717 -1698
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +8 -4
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +37 -23
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +640 -466
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +17 -8
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +230 -226
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +90 -72
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +1431 -1322
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +213 -209
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +6309 -0
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +8 -4
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +8 -4
- package/pv-components/dist/web/pv-components.iife.js +39 -39
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1307,9 +1307,9 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1307
1307
|
!e && !t && !n && (ae.value = !1);
|
|
1308
1308
|
});
|
|
1309
1309
|
let ye = ({ target: e }) => {
|
|
1310
|
-
j.value = e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1310
|
+
j.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1311
1311
|
}, be = ({ target: e }) => {
|
|
1312
|
-
ie.value = e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1312
|
+
ie.value = !s.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1313
1313
|
}, xe = () => {
|
|
1314
1314
|
ie.value = !1;
|
|
1315
1315
|
}, Se = () => {
|
|
@@ -1347,7 +1347,11 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1347
1347
|
}), v(() => {
|
|
1348
1348
|
F(), he();
|
|
1349
1349
|
}), O(() => s.disabled, (e) => {
|
|
1350
|
-
|
|
1350
|
+
if (!e) {
|
|
1351
|
+
ve.value && I(!0);
|
|
1352
|
+
return;
|
|
1353
|
+
}
|
|
1354
|
+
j.value &&= !1, ie.value &&= !1, I(!1);
|
|
1351
1355
|
}), (n, l) => (y(), a("div", {
|
|
1352
1356
|
ref_key: "root",
|
|
1353
1357
|
ref: w,
|
|
@@ -1383,7 +1387,7 @@ var vn = /* @__PURE__ */ new Set(), yn = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1383
1387
|
onFocusout: xe
|
|
1384
1388
|
}, [C(n.$slots, "content")], 36), [[te, c.value]])], 8, ["to", "disabled"])) : i("v-if", !0)], 36));
|
|
1385
1389
|
}
|
|
1386
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1390
|
+
}), [["styles", [".pv-floating-native[data-v-e1e654f2]{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-e1e654f2]>.pv-popover,.pv-floating-native>slot[name=content][data-v-e1e654f2]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-e1e654f2"]]), wn = Object.defineProperty, Tn = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, On = (e, t, n) => t in e ? wn(e, t, {
|
|
1387
1391
|
enumerable: !0,
|
|
1388
1392
|
configurable: !0,
|
|
1389
1393
|
writable: !0,
|
|
@@ -1728,19 +1728,19 @@ var jr = {
|
|
|
1728
1728
|
config: { type: Object }
|
|
1729
1729
|
},
|
|
1730
1730
|
setup(e) {
|
|
1731
|
-
let n = e, c = M(null), l = M(null), u = r(() => n.subText || null),
|
|
1732
|
-
let r =
|
|
1731
|
+
let n = e, c = M(null), l = M(null), u = r(() => n.menuOptionConfig?.size === "lg" ? "sm" : "lg"), d = r(() => n.menuOptionConfig?.size === "xl" ? 20 : void 0), f = r(() => n.subText || null), p = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), m = (e, t, n) => {
|
|
1732
|
+
let r = p(n), i = RegExp(`(${r})`, "gi");
|
|
1733
1733
|
e.innerHTML = t.replace(i, "<span data-test-id=\"pv-matched-text\" style=\"font-weight: bold;\">$1</span>");
|
|
1734
|
-
},
|
|
1734
|
+
}, h = () => {
|
|
1735
1735
|
if (n.queryText) {
|
|
1736
|
-
let e = new RegExp(
|
|
1737
|
-
c.value &&
|
|
1738
|
-
} else c.value && (c.value.textContent = n.text), l.value &&
|
|
1736
|
+
let e = new RegExp(p(n.queryText), "gi").test(n.text);
|
|
1737
|
+
c.value && m(c.value, n.text, n.queryText), l.value && f.value && (e ? l.value.textContent = f.value : m(l.value, f.value, n.queryText));
|
|
1738
|
+
} else c.value && (c.value.textContent = n.text), l.value && f.value && (l.value.textContent = f.value);
|
|
1739
1739
|
};
|
|
1740
1740
|
return D(() => {
|
|
1741
|
-
|
|
1741
|
+
h();
|
|
1742
1742
|
}), F(() => n.queryText, () => {
|
|
1743
|
-
|
|
1743
|
+
h();
|
|
1744
1744
|
}), (n, r) => (A(), o(t, null, [
|
|
1745
1745
|
e.avatar ? (A(), i(Ir, {
|
|
1746
1746
|
key: 0,
|
|
@@ -1748,18 +1748,24 @@ var jr = {
|
|
|
1748
1748
|
image: e.avatar.image,
|
|
1749
1749
|
variant: e.avatar.variant,
|
|
1750
1750
|
shape: e.avatar.shape,
|
|
1751
|
-
size:
|
|
1751
|
+
size: u.value
|
|
1752
1752
|
}, null, 8, [
|
|
1753
1753
|
"initials",
|
|
1754
1754
|
"image",
|
|
1755
1755
|
"variant",
|
|
1756
|
-
"shape"
|
|
1756
|
+
"shape",
|
|
1757
|
+
"size"
|
|
1757
1758
|
])) : a("v-if", !0),
|
|
1758
1759
|
e.icon ? (A(), i(Dr, {
|
|
1759
1760
|
key: 1,
|
|
1760
1761
|
class: S({ "pv-text-subdued": !e.disabled }),
|
|
1761
|
-
name: e.icon
|
|
1762
|
-
|
|
1762
|
+
name: e.icon,
|
|
1763
|
+
size: d.value
|
|
1764
|
+
}, null, 8, [
|
|
1765
|
+
"class",
|
|
1766
|
+
"name",
|
|
1767
|
+
"size"
|
|
1768
|
+
])) : a("v-if", !0),
|
|
1763
1769
|
e.companyName ? (A(), i(Nr, {
|
|
1764
1770
|
key: 2,
|
|
1765
1771
|
name: e.companyName,
|
|
@@ -1775,7 +1781,7 @@ var jr = {
|
|
|
1775
1781
|
key: 0,
|
|
1776
1782
|
class: S({ "pv-text-subdued": !e.disabled }),
|
|
1777
1783
|
style: { "padding-left": "4px" }
|
|
1778
|
-
}, N(e.subduedText), 3)) : a("v-if", !0)], 8, zr),
|
|
1784
|
+
}, N(e.subduedText), 3)) : a("v-if", !0)], 8, zr), f.value ? (A(), o("span", {
|
|
1779
1785
|
key: 0,
|
|
1780
1786
|
ref_key: "subText",
|
|
1781
1787
|
ref: l,
|
|
@@ -1785,8 +1791,8 @@ var jr = {
|
|
|
1785
1791
|
"pv-truncate",
|
|
1786
1792
|
{ "pv-text-subdued": !e.disabled }
|
|
1787
1793
|
]),
|
|
1788
|
-
title: e.hoverTitle ??
|
|
1789
|
-
}, N(
|
|
1794
|
+
title: e.hoverTitle ?? f.value
|
|
1795
|
+
}, N(f.value), 11, Br)) : a("v-if", !0)]),
|
|
1790
1796
|
e.secondaryText && typeof e.secondaryText == "number" ? (A(), i(Lr, {
|
|
1791
1797
|
key: 3,
|
|
1792
1798
|
value: e.secondaryText,
|
|
@@ -2859,9 +2865,9 @@ var Va = /* @__PURE__ */ new Set(), Ha = (e, t) => !!t.root.value && !!e.root.va
|
|
|
2859
2865
|
!e && !t && !n && (O.value = !1);
|
|
2860
2866
|
});
|
|
2861
2867
|
let be = ({ target: e }) => {
|
|
2862
|
-
T.value = e instanceof HTMLElement && e.matches(":focus-visible");
|
|
2868
|
+
T.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
2863
2869
|
}, xe = ({ target: e }) => {
|
|
2864
|
-
E.value = e instanceof HTMLElement && e.matches(":focus-visible");
|
|
2870
|
+
E.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
2865
2871
|
}, Se = () => {
|
|
2866
2872
|
E.value = !1;
|
|
2867
2873
|
}, Ce = () => {
|
|
@@ -2899,7 +2905,11 @@ var Va = /* @__PURE__ */ new Set(), Ha = (e, t) => !!t.root.value && !!e.root.va
|
|
|
2899
2905
|
}), k(() => {
|
|
2900
2906
|
fe(), pe();
|
|
2901
2907
|
}), F(() => t.disabled, (e) => {
|
|
2902
|
-
|
|
2908
|
+
if (!e) {
|
|
2909
|
+
ye.value && me(!0);
|
|
2910
|
+
return;
|
|
2911
|
+
}
|
|
2912
|
+
T.value &&= !1, E.value &&= !1, me(!1);
|
|
2903
2913
|
}), (r, l) => (A(), o("div", {
|
|
2904
2914
|
ref_key: "root",
|
|
2905
2915
|
ref: _,
|
|
@@ -2935,7 +2945,7 @@ var Va = /* @__PURE__ */ new Set(), Ha = (e, t) => !!t.root.value && !!e.root.va
|
|
|
2935
2945
|
onFocusout: Se
|
|
2936
2946
|
}, [ne(r.$slots, "content")], 36), [[he, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
2937
2947
|
}
|
|
2938
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
2948
|
+
}), [["styles", [".pv-floating-native[data-v-e1e654f2]{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-e1e654f2]>.pv-popover,.pv-floating-native>slot[name=content][data-v-e1e654f2]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-e1e654f2"]]), qa = ["data-variant"], Ja = /* @__PURE__ */ f({
|
|
2939
2949
|
__name: "PvTooltipV2",
|
|
2940
2950
|
props: {
|
|
2941
2951
|
variant: {
|
|
@@ -3388,7 +3398,7 @@ var Va = /* @__PURE__ */ new Set(), Ha = (e, t) => !!t.root.value && !!e.root.va
|
|
|
3388
3398
|
avatar: { type: Object },
|
|
3389
3399
|
groupingLabel: { type: String },
|
|
3390
3400
|
disabled: { type: Boolean },
|
|
3391
|
-
context: { type:
|
|
3401
|
+
context: { type: Object },
|
|
3392
3402
|
classList: { type: Array },
|
|
3393
3403
|
action: { type: Object },
|
|
3394
3404
|
searchText: { type: String },
|
|
@@ -3922,6 +3932,10 @@ var Lo = { class: "pv-flex" }, Ro = { class: "pv-text-body-md" }, zo = ["textCon
|
|
|
3922
3932
|
type: Boolean,
|
|
3923
3933
|
default: !1
|
|
3924
3934
|
},
|
|
3935
|
+
size: {
|
|
3936
|
+
default: "xl",
|
|
3937
|
+
type: String
|
|
3938
|
+
},
|
|
3925
3939
|
enableCustomOptionsInput: {
|
|
3926
3940
|
type: Boolean,
|
|
3927
3941
|
default: !1
|
|
@@ -4029,7 +4043,7 @@ var Lo = { class: "pv-flex" }, Ro = { class: "pv-text-body-md" }, zo = ["textCon
|
|
|
4029
4043
|
};
|
|
4030
4044
|
return (n, r) => ve((A(), o("div", {
|
|
4031
4045
|
ref: "query-builder-input",
|
|
4032
|
-
class: "pv-relative pv-query-builder-input-wrapper",
|
|
4046
|
+
class: S(["pv-relative pv-query-builder-input-wrapper", { "pv-query-builder-input-small": e.size === "lg" }]),
|
|
4033
4047
|
onFocus: ne,
|
|
4034
4048
|
onClick: ee
|
|
4035
4049
|
}, [
|
|
@@ -4091,9 +4105,9 @@ var Lo = { class: "pv-flex" }, Ro = { class: "pv-text-body-md" }, zo = ["textCon
|
|
|
4091
4105
|
}), null, 16, ["onHandleSelected"]))), 128))]),
|
|
4092
4106
|
_: 1
|
|
4093
4107
|
}, 8, ["class"])) : a("v-if", !0)
|
|
4094
|
-
],
|
|
4108
|
+
], 34)), [[se(Ao), k]]);
|
|
4095
4109
|
}
|
|
4096
|
-
}), [["styles", [".pv-query-builder-input-wrapper[data-v-
|
|
4110
|
+
}), [["styles", [".pv-query-builder-input-wrapper[data-v-97679942]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-M,4px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;--button-small-icon-only-padding:.1875rem;align-items:center;width:100%;min-height:2rem;padding:.1875rem .25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input-small[data-v-97679942]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-97679942]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-97679942]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-97679942]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}"]], ["__scopeId", "data-v-97679942"]]), Zo = Object.defineProperty, Qo = Object.getOwnPropertySymbols, $o = Object.prototype.hasOwnProperty, es = Object.prototype.propertyIsEnumerable, ts = (e, t, n) => t in e ? Zo(e, t, {
|
|
4097
4111
|
enumerable: !0,
|
|
4098
4112
|
configurable: !0,
|
|
4099
4113
|
writable: !0,
|