@turquoisehealth/pit-viper 2.266.1-dev.1 → 2.267.1
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-v3.css +12 -0
- package/_site/assets/css/pit-viper-a11y.css +12 -0
- package/_site/assets/css/pit-viper-consumer.css +12 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +10 -0
- package/_site/assets/css/pit-viper-v2.css +12 -0
- package/_site/assets/css/pit-viper-v3.css +12 -0
- package/_site/assets/css/pit-viper.css +12 -0
- package/_site/manifest.json +2 -2
- 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-file-input-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-header-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-prompt-input-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-question-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-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-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/ai/PvPromptInput/PvPromptInput.vue.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/ai/PvPromptInput/types.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/ai/PvQuestion/types.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +0 -2
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
- package/pv-components/dist/vue/ai/components/base/PvRange/PvRange.vue.d.ts +2 -2
- package/pv-components/dist/vue/ai/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
- package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +1 -1
- package/pv-components/dist/vue/ai/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +1 -1
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +494 -325
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +1115 -1120
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +0 -2
- package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +0 -7
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1020 -1064
- 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 +307 -323
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +158 -151
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +3 -20
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +877 -887
- package/pv-components/dist/web/components/pv-header/pv-header.js +38 -32
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +2 -18
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +2 -18
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +3 -20
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +406 -422
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +834 -572
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +2 -18
- package/pv-components/dist/web/components/pv-question/pv-question.js +387 -373
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +460 -476
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +330 -346
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +2 -18
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +2 -18
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +244 -260
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +573 -589
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +382 -376
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +672 -688
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +414 -430
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +608 -624
- package/pv-components/dist/web/pv-components.iife.js +39 -39
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1146,7 +1146,8 @@ function Re(e, n = {}) {
|
|
|
1146
1146
|
//#region src/components/base/PvHeader/PvHeader.vue?vue&type=script&setup=true&lang.ts
|
|
1147
1147
|
var ze = {
|
|
1148
1148
|
key: 0,
|
|
1149
|
-
class: "pv-heading-2"
|
|
1149
|
+
class: "pv-heading-2 pv-flex",
|
|
1150
|
+
style: { "min-height": "2rem" }
|
|
1150
1151
|
}, Be = ["id"], Ve = { class: "pv-flex" }, He = ["id"], Ue = /* @__PURE__ */ s({
|
|
1151
1152
|
__name: "PvHeader",
|
|
1152
1153
|
props: {
|
|
@@ -1208,37 +1209,42 @@ var ze = {
|
|
|
1208
1209
|
"background-color": "#fdfdfc"
|
|
1209
1210
|
}
|
|
1210
1211
|
}, {
|
|
1211
|
-
default: ee(() => [
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1212
|
+
default: ee(() => [
|
|
1213
|
+
r(" min-height matches a large button, so the header is the same height with or without actions "),
|
|
1214
|
+
e.title ? (_(), i("span", ze, C(e.title), 1)) : (_(), i("div", {
|
|
1215
|
+
key: 1,
|
|
1216
|
+
id: e.headerTitleId,
|
|
1217
|
+
class: "pv-flex",
|
|
1218
|
+
style: { "min-height": "2rem" }
|
|
1219
|
+
}, [x(t.$slots, "left")], 8, Be)),
|
|
1220
|
+
a("div", Ve, [a("div", {
|
|
1221
|
+
id: e.headerActionsId,
|
|
1222
|
+
class: "pv-flex"
|
|
1223
|
+
}, [x(t.$slots, "right")], 8, He), e.showAskTqButton ? (_(), i("div", {
|
|
1224
|
+
key: 0,
|
|
1225
|
+
class: f({ "pv-border-left": w(l) }),
|
|
1226
|
+
style: { "padding-inline-start": "0.5rem" }
|
|
1227
|
+
}, [o(je, {
|
|
1228
|
+
id: e.askTqButtonId,
|
|
1229
|
+
label: "AskTQ",
|
|
1230
|
+
size: "xl",
|
|
1231
|
+
buddy: e.askTqButtonBuddy,
|
|
1232
|
+
"buddy-animated": e.askTqButtonBuddyAnimated,
|
|
1233
|
+
"buddy-emote": e.askTqButtonBuddyEmote,
|
|
1234
|
+
"buddy-theme": e.askTqButtonBuddyTheme,
|
|
1235
|
+
"buddy-variant": e.askTqButtonBuddyVariant,
|
|
1236
|
+
"hide-icon": !e.askTqButtonBuddy,
|
|
1237
|
+
onClick: s[0] ||= (e) => u("ask-tq-click", e)
|
|
1238
|
+
}, null, 8, [
|
|
1239
|
+
"id",
|
|
1240
|
+
"buddy",
|
|
1241
|
+
"buddy-animated",
|
|
1242
|
+
"buddy-emote",
|
|
1243
|
+
"buddy-theme",
|
|
1244
|
+
"buddy-variant",
|
|
1245
|
+
"hide-icon"
|
|
1246
|
+
])], 2)) : r("v-if", !0)])
|
|
1247
|
+
]),
|
|
1242
1248
|
_: 3
|
|
1243
1249
|
}, 8, ["class"]));
|
|
1244
1250
|
}
|
|
@@ -1538,20 +1538,6 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
|
|
|
1538
1538
|
c.value !== t && (c.value = t);
|
|
1539
1539
|
}, Ee = (e) => {
|
|
1540
1540
|
h && oe.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), I(!1));
|
|
1541
|
-
}, De = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Oe = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), ke = (e) => {
|
|
1542
|
-
if (!Oe.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
1543
|
-
let [t] = De(S.value);
|
|
1544
|
-
t && (e.preventDefault(), j.value = !0, t.focus());
|
|
1545
|
-
}, Ae = (e) => {
|
|
1546
|
-
if (!Oe.value) return;
|
|
1547
|
-
let [t] = De(y.value);
|
|
1548
|
-
if (e.key === "Escape") {
|
|
1549
|
-
e.preventDefault(), e.stopPropagation(), M.value = !0, _e(), t?.focus();
|
|
1550
|
-
return;
|
|
1551
|
-
}
|
|
1552
|
-
if (e.key !== "Tab") return;
|
|
1553
|
-
let n = De(S.value);
|
|
1554
|
-
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, _e(), t?.focus());
|
|
1555
1541
|
};
|
|
1556
1542
|
return P(c, async (e) => {
|
|
1557
1543
|
if (t.showOnHover && t.enableGroupSync && N(!!e), !h) {
|
|
@@ -1592,8 +1578,7 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
|
|
|
1592
1578
|
style: b(le.value),
|
|
1593
1579
|
onClick: we,
|
|
1594
1580
|
onFocusin: xe,
|
|
1595
|
-
onFocusout: l[0] ||= (e) => k.value = !1
|
|
1596
|
-
onKeydown: ke
|
|
1581
|
+
onFocusout: l[0] ||= (e) => k.value = !1
|
|
1597
1582
|
}, [A(r.$slots, "trigger")], 36), g.value && te(h) && m.value ? (E(), o("div", {
|
|
1598
1583
|
key: 0,
|
|
1599
1584
|
ref_key: "floating",
|
|
@@ -1614,8 +1599,7 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
|
|
|
1614
1599
|
class: "pv-floating",
|
|
1615
1600
|
style: b(pe.value),
|
|
1616
1601
|
onFocusin: Se,
|
|
1617
|
-
onFocusout: Ce
|
|
1618
|
-
onKeydown: Ae
|
|
1602
|
+
onFocusout: Ce
|
|
1619
1603
|
}, [A(r.$slots, "content")], 36), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1620
1604
|
}
|
|
1621
1605
|
}), $n = ["data-variant"], er = /* @__PURE__ */ d({
|
|
@@ -1665,20 +1665,6 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
|
|
|
1665
1665
|
c.value !== t && (c.value = t);
|
|
1666
1666
|
}, Te = (e) => {
|
|
1667
1667
|
h && ie.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), L(!1));
|
|
1668
|
-
}, Ee = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], De = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Oe = (e) => {
|
|
1669
|
-
if (!De.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
1670
|
-
let [t] = Ee(x.value);
|
|
1671
|
-
t && (e.preventDefault(), A.value = !0, t.focus());
|
|
1672
|
-
}, ke = (e) => {
|
|
1673
|
-
if (!De.value) return;
|
|
1674
|
-
let [t] = Ee(v.value);
|
|
1675
|
-
if (e.key === "Escape") {
|
|
1676
|
-
e.preventDefault(), e.stopPropagation(), j.value = !0, ge(), t?.focus();
|
|
1677
|
-
return;
|
|
1678
|
-
}
|
|
1679
|
-
if (e.key !== "Tab") return;
|
|
1680
|
-
let n = Ee(x.value);
|
|
1681
|
-
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, ge(), t?.focus());
|
|
1682
1668
|
};
|
|
1683
1669
|
return I(c, async (e) => {
|
|
1684
1670
|
if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
|
|
@@ -1719,8 +1705,7 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
|
|
|
1719
1705
|
style: C(N.value),
|
|
1720
1706
|
onClick: Ce,
|
|
1721
1707
|
onFocusin: be,
|
|
1722
|
-
onFocusout: l[0] ||= (e) => D.value = !1
|
|
1723
|
-
onKeydown: Oe
|
|
1708
|
+
onFocusout: l[0] ||= (e) => D.value = !1
|
|
1724
1709
|
}, [ne(r.$slots, "trigger")], 36), g.value && F(h) && m.value ? (k(), o("div", {
|
|
1725
1710
|
key: 0,
|
|
1726
1711
|
ref_key: "floating",
|
|
@@ -1741,8 +1726,7 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
|
|
|
1741
1726
|
class: "pv-floating",
|
|
1742
1727
|
style: C(le.value),
|
|
1743
1728
|
onFocusin: xe,
|
|
1744
|
-
onFocusout: Se
|
|
1745
|
-
onKeydown: ke
|
|
1729
|
+
onFocusout: Se
|
|
1746
1730
|
}, [ne(r.$slots, "content")], 36), [[fe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
1747
1731
|
}
|
|
1748
1732
|
}), Dr = ["data-variant"], Or = /* @__PURE__ */ d({
|
|
@@ -2117,20 +2117,6 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
|
|
|
2117
2117
|
c.value !== t && (c.value = t);
|
|
2118
2118
|
}, Se = (e) => {
|
|
2119
2119
|
h && P.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), B(!1));
|
|
2120
|
-
}, Ce = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], we = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Te = (e) => {
|
|
2121
|
-
if (!we.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
2122
|
-
let [t] = Ce(x.value);
|
|
2123
|
-
t && (e.preventDefault(), A.value = !0, t.focus());
|
|
2124
|
-
}, Ee = (e) => {
|
|
2125
|
-
if (!we.value) return;
|
|
2126
|
-
let [t] = Ce(v.value);
|
|
2127
|
-
if (e.key === "Escape") {
|
|
2128
|
-
e.preventDefault(), e.stopPropagation(), j.value = !0, pe(), t?.focus();
|
|
2129
|
-
return;
|
|
2130
|
-
}
|
|
2131
|
-
if (e.key !== "Tab") return;
|
|
2132
|
-
let n = Ce(x.value);
|
|
2133
|
-
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, pe(), t?.focus());
|
|
2134
2120
|
};
|
|
2135
2121
|
return z(c, async (e) => {
|
|
2136
2122
|
if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
|
|
@@ -2171,8 +2157,7 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
|
|
|
2171
2157
|
style: C(F.value),
|
|
2172
2158
|
onClick: be,
|
|
2173
2159
|
onFocusin: _e,
|
|
2174
|
-
onFocusout: l[0] ||= (e) => D.value = !1
|
|
2175
|
-
onKeydown: Te
|
|
2160
|
+
onFocusout: l[0] ||= (e) => D.value = !1
|
|
2176
2161
|
}, [N(r.$slots, "trigger")], 36), g.value && L(h) && m.value ? (k(), o("div", {
|
|
2177
2162
|
key: 0,
|
|
2178
2163
|
ref_key: "floating",
|
|
@@ -2193,8 +2178,7 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
|
|
|
2193
2178
|
class: "pv-floating",
|
|
2194
2179
|
style: C(se.value),
|
|
2195
2180
|
onFocusin: ve,
|
|
2196
|
-
onFocusout: ye
|
|
2197
|
-
onKeydown: Ee
|
|
2181
|
+
onFocusout: ye
|
|
2198
2182
|
}, [N(r.$slots, "content")], 36), [[ue, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
2199
2183
|
}
|
|
2200
2184
|
}), ni = ["data-variant"], ri = /* @__PURE__ */ d({
|
|
@@ -4808,8 +4792,7 @@ var Zo = ["data-align"], Qo = ["id", "role"], $o = /* @__PURE__ */ lt(/* @__PURE
|
|
|
4808
4792
|
searchInput: P.value,
|
|
4809
4793
|
slotContext: c.slotContext,
|
|
4810
4794
|
isOpen: j.value,
|
|
4811
|
-
isLoading: c.isLoading
|
|
4812
|
-
filteredOptionCount: me.value.length
|
|
4795
|
+
isLoading: c.isLoading
|
|
4813
4796
|
})), Se = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), Ce = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), we = ce("popoverContentRef"), Te = r(() => {
|
|
4814
4797
|
let e = we.value?.getRootNode();
|
|
4815
4798
|
return e instanceof ShadowRoot ? e.host : null;
|