@turquoisehealth/pit-viper 2.266.1-dev.1 → 2.267.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-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-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 +1111 -1118
- 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-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
|
@@ -2145,20 +2145,6 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
|
|
|
2145
2145
|
c.value !== t && (c.value = t);
|
|
2146
2146
|
}, H = (e) => {
|
|
2147
2147
|
h && P.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), le(!1));
|
|
2148
|
-
}, xe = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Se = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Ce = (e) => {
|
|
2149
|
-
if (!Se.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
|
|
2150
|
-
let [t] = xe(x.value);
|
|
2151
|
-
t && (e.preventDefault(), A.value = !0, t.focus());
|
|
2152
|
-
}, we = (e) => {
|
|
2153
|
-
if (!Se.value) return;
|
|
2154
|
-
let [t] = xe(v.value);
|
|
2155
|
-
if (e.key === "Escape") {
|
|
2156
|
-
e.preventDefault(), e.stopPropagation(), j.value = !0, de(), t?.focus();
|
|
2157
|
-
return;
|
|
2158
|
-
}
|
|
2159
|
-
if (e.key !== "Tab") return;
|
|
2160
|
-
let n = xe(x.value);
|
|
2161
|
-
e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, de(), t?.focus());
|
|
2162
2148
|
};
|
|
2163
2149
|
return V(c, async (e) => {
|
|
2164
2150
|
if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
|
|
@@ -2199,8 +2185,7 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
|
|
|
2199
2185
|
style: C(F.value),
|
|
2200
2186
|
onClick: ye,
|
|
2201
2187
|
onFocusin: ge,
|
|
2202
|
-
onFocusout: l[0] ||= (e) => D.value = !1
|
|
2203
|
-
onKeydown: Ce
|
|
2188
|
+
onFocusout: l[0] ||= (e) => D.value = !1
|
|
2204
2189
|
}, [N(r.$slots, "trigger")], 36), g.value && R(h) && m.value ? (k(), o("div", {
|
|
2205
2190
|
key: 0,
|
|
2206
2191
|
ref_key: "floating",
|
|
@@ -2221,8 +2206,7 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
|
|
|
2221
2206
|
class: "pv-floating",
|
|
2222
2207
|
style: C(ae.value),
|
|
2223
2208
|
onFocusin: _e,
|
|
2224
|
-
onFocusout: ve
|
|
2225
|
-
onKeydown: we
|
|
2209
|
+
onFocusout: ve
|
|
2226
2210
|
}, [N(r.$slots, "content")], 36), [[ue, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
|
|
2227
2211
|
}
|
|
2228
2212
|
}), ci = ["data-variant"], li = /* @__PURE__ */ d({
|
|
@@ -4836,8 +4820,7 @@ var as = ["data-align"], os = ["id", "role"], ss = /* @__PURE__ */ ht(/* @__PURE
|
|
|
4836
4820
|
searchInput: P.value,
|
|
4837
4821
|
slotContext: c.slotContext,
|
|
4838
4822
|
isOpen: j.value,
|
|
4839
|
-
isLoading: c.isLoading
|
|
4840
|
-
filteredOptionCount: pe.value.length
|
|
4823
|
+
isLoading: c.isLoading
|
|
4841
4824
|
})), H = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), xe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), Se = B("popoverContentRef"), Ce = r(() => {
|
|
4842
4825
|
let e = Se.value?.getRootNode();
|
|
4843
4826
|
return e instanceof ShadowRoot ? e.host : null;
|