@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
|
@@ -1363,19 +1363,19 @@ var ar = ["xlink:href"], or = /* @__PURE__ */ d({
|
|
|
1363
1363
|
config: { type: Object }
|
|
1364
1364
|
},
|
|
1365
1365
|
setup(e) {
|
|
1366
|
-
let n = e, c = M(null), l = M(null), u = r(() => n.subText || null),
|
|
1367
|
-
let r =
|
|
1366
|
+
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) => {
|
|
1367
|
+
let r = p(n), i = RegExp(`(${r})`, "gi");
|
|
1368
1368
|
e.innerHTML = t.replace(i, "<span data-test-id=\"pv-matched-text\" style=\"font-weight: bold;\">$1</span>");
|
|
1369
|
-
},
|
|
1369
|
+
}, h = () => {
|
|
1370
1370
|
if (n.queryText) {
|
|
1371
|
-
let e = new RegExp(
|
|
1372
|
-
c.value &&
|
|
1373
|
-
} else c.value && (c.value.textContent = n.text), l.value &&
|
|
1371
|
+
let e = new RegExp(p(n.queryText), "gi").test(n.text);
|
|
1372
|
+
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));
|
|
1373
|
+
} else c.value && (c.value.textContent = n.text), l.value && f.value && (l.value.textContent = f.value);
|
|
1374
1374
|
};
|
|
1375
1375
|
return E(() => {
|
|
1376
|
-
|
|
1376
|
+
h();
|
|
1377
1377
|
}), I(() => n.queryText, () => {
|
|
1378
|
-
|
|
1378
|
+
h();
|
|
1379
1379
|
}), (n, r) => (k(), o(t, null, [
|
|
1380
1380
|
e.avatar ? (k(), i(lr, {
|
|
1381
1381
|
key: 0,
|
|
@@ -1383,18 +1383,24 @@ var ar = ["xlink:href"], or = /* @__PURE__ */ d({
|
|
|
1383
1383
|
image: e.avatar.image,
|
|
1384
1384
|
variant: e.avatar.variant,
|
|
1385
1385
|
shape: e.avatar.shape,
|
|
1386
|
-
size:
|
|
1386
|
+
size: u.value
|
|
1387
1387
|
}, null, 8, [
|
|
1388
1388
|
"initials",
|
|
1389
1389
|
"image",
|
|
1390
1390
|
"variant",
|
|
1391
|
-
"shape"
|
|
1391
|
+
"shape",
|
|
1392
|
+
"size"
|
|
1392
1393
|
])) : a("v-if", !0),
|
|
1393
1394
|
e.icon ? (k(), i(or, {
|
|
1394
1395
|
key: 1,
|
|
1395
1396
|
class: x({ "pv-text-subdued": !e.disabled }),
|
|
1396
|
-
name: e.icon
|
|
1397
|
-
|
|
1397
|
+
name: e.icon,
|
|
1398
|
+
size: d.value
|
|
1399
|
+
}, null, 8, [
|
|
1400
|
+
"class",
|
|
1401
|
+
"name",
|
|
1402
|
+
"size"
|
|
1403
|
+
])) : a("v-if", !0),
|
|
1398
1404
|
e.companyName ? (k(), i(rr, {
|
|
1399
1405
|
key: 2,
|
|
1400
1406
|
name: e.companyName,
|
|
@@ -1410,7 +1416,7 @@ var ar = ["xlink:href"], or = /* @__PURE__ */ d({
|
|
|
1410
1416
|
key: 0,
|
|
1411
1417
|
class: x({ "pv-text-subdued": !e.disabled }),
|
|
1412
1418
|
style: { "padding-left": "4px" }
|
|
1413
|
-
}, N(e.subduedText), 3)) : a("v-if", !0)], 8, hr),
|
|
1419
|
+
}, N(e.subduedText), 3)) : a("v-if", !0)], 8, hr), f.value ? (k(), o("span", {
|
|
1414
1420
|
key: 0,
|
|
1415
1421
|
ref_key: "subText",
|
|
1416
1422
|
ref: l,
|
|
@@ -1420,8 +1426,8 @@ var ar = ["xlink:href"], or = /* @__PURE__ */ d({
|
|
|
1420
1426
|
"pv-truncate",
|
|
1421
1427
|
{ "pv-text-subdued": !e.disabled }
|
|
1422
1428
|
]),
|
|
1423
|
-
title: e.hoverTitle ??
|
|
1424
|
-
}, N(
|
|
1429
|
+
title: e.hoverTitle ?? f.value
|
|
1430
|
+
}, N(f.value), 11, gr)) : a("v-if", !0)]),
|
|
1425
1431
|
e.secondaryText && typeof e.secondaryText == "number" ? (k(), i(pr, {
|
|
1426
1432
|
key: 3,
|
|
1427
1433
|
value: e.secondaryText,
|
|
@@ -1741,9 +1747,9 @@ var Dr = /* @__PURE__ */ new Set(), Or = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1741
1747
|
!e && !t && !n && (A.value = !1);
|
|
1742
1748
|
});
|
|
1743
1749
|
let ye = ({ target: e }) => {
|
|
1744
|
-
T.value = e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1750
|
+
T.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1745
1751
|
}, be = ({ target: e }) => {
|
|
1746
|
-
D.value = e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1752
|
+
D.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1747
1753
|
}, xe = () => {
|
|
1748
1754
|
D.value = !1;
|
|
1749
1755
|
}, Se = () => {
|
|
@@ -1781,7 +1787,11 @@ var Dr = /* @__PURE__ */ new Set(), Or = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1781
1787
|
}), O(() => {
|
|
1782
1788
|
de(), pe();
|
|
1783
1789
|
}), I(() => t.disabled, (e) => {
|
|
1784
|
-
|
|
1790
|
+
if (!e) {
|
|
1791
|
+
ve.value && me(!0);
|
|
1792
|
+
return;
|
|
1793
|
+
}
|
|
1794
|
+
T.value &&= !1, D.value &&= !1, me(!1);
|
|
1785
1795
|
}), (r, l) => (k(), o("div", {
|
|
1786
1796
|
ref_key: "root",
|
|
1787
1797
|
ref: _,
|
|
@@ -1817,7 +1827,7 @@ var Dr = /* @__PURE__ */ new Set(), Or = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1817
1827
|
onFocusout: xe
|
|
1818
1828
|
}, [ne(r.$slots, "content")], 36), [[fe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1819
1829
|
}
|
|
1820
|
-
}), [["styles", [".pv-floating-native[data-v-
|
|
1830
|
+
}), [["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"]]), Nr = ["data-variant"], Pr = /* @__PURE__ */ d({
|
|
1821
1831
|
__name: "PvTooltipV2",
|
|
1822
1832
|
props: {
|
|
1823
1833
|
variant: {
|