@turquoisehealth/pit-viper 2.224.1-dev.0 → 2.224.1-dev.2
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 +1 -1
- package/_site/assets/css/pit-viper-consumer.css +1 -1
- package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
- package/_site/assets/css/pit-viper-v2.css +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-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-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-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvButton/types.d.ts +1 -1
- 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/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
- package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
- package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +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/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
- package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs +727 -689
- 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/PvButton/types.d.ts +1 -1
- 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/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/crosslineHelpers.d.ts +2 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +3 -2
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +1 -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 +2531 -2483
- 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-drawer/pv-drawer.js +554 -549
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +837 -800
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +632 -623
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +21 -15
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1732 -1696
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +21 -15
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +17 -8
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +110 -75
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +425 -404
- package/pv-components/dist/web/pv-components.iife.js +14 -14
- 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,
|