@turquoisehealth/pit-viper 2.207.0 → 2.208.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.css +5 -0
- package/_site/assets/css/pit-viper-v2.css +5 -0
- 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-distribution-bar-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-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +11 -5
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +702 -686
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/base/types.d.ts +11 -5
- package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +11 -5
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +792 -773
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/types.d.ts +11 -5
- package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +177 -177
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +13 -15
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1141 -1144
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +885 -866
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +911 -892
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +506 -486
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +861 -842
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +359 -359
- package/pv-components/dist/web/pv-components.iife.js +13 -13
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -379,14 +379,14 @@ var Se = [
|
|
|
379
379
|
}, Le = /* @__PURE__ */ s({
|
|
380
380
|
__name: "PvDrawer",
|
|
381
381
|
props: /* @__PURE__ */ d({
|
|
382
|
-
header: { type: String },
|
|
383
|
-
subheader: { type: String },
|
|
384
|
-
showSearchbar: { type: Boolean },
|
|
385
382
|
closeOnClickOutside: {
|
|
386
383
|
type: Boolean,
|
|
387
384
|
default: !1
|
|
388
385
|
},
|
|
389
|
-
|
|
386
|
+
header: { type: String },
|
|
387
|
+
searchInputProps: { type: Object },
|
|
388
|
+
showSearchbar: { type: Boolean },
|
|
389
|
+
subheader: { type: String }
|
|
390
390
|
}, {
|
|
391
391
|
searchInput: { required: !1 },
|
|
392
392
|
searchInputModifiers: {},
|
|
@@ -398,21 +398,19 @@ var Se = [
|
|
|
398
398
|
}),
|
|
399
399
|
emits: /* @__PURE__ */ d(["click-outside"], ["update:searchInput", "update:modelValue"]),
|
|
400
400
|
setup(t, { emit: n }) {
|
|
401
|
-
let s = t, c = n, l = D("sidePanel"), u = E(t, "searchInput"), d = E(t, "modelValue")
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
});
|
|
405
|
-
let p = () => {
|
|
401
|
+
let s = t, c = n, l = D("sidePanel"), u = E(t, "searchInput"), d = E(t, "modelValue"), p = () => {
|
|
402
|
+
l?.value?.removeAttribute("open"), d.value = !1;
|
|
403
|
+
}, m = () => {
|
|
406
404
|
l.value && le(l.value, () => {
|
|
407
|
-
d.value && (c("click-outside"),
|
|
405
|
+
d.value && (c("click-outside"), p());
|
|
408
406
|
}, { ignore: [".pv-click-outside-ignore"] });
|
|
409
|
-
}, m = () => {
|
|
410
|
-
l?.value?.removeAttribute("open"), d.value = !1;
|
|
411
407
|
};
|
|
412
|
-
return
|
|
408
|
+
return g(() => {
|
|
409
|
+
d.value && l?.value?.setAttribute("open", "true"), s.closeOnClickOutside && m();
|
|
410
|
+
}), k(() => d.value, () => {
|
|
413
411
|
d.value ? l?.value?.setAttribute("open", "true") : l?.value?.removeAttribute("open");
|
|
414
412
|
}), de("Escape", () => {
|
|
415
|
-
l.value && d.value &&
|
|
413
|
+
l.value && d.value && p();
|
|
416
414
|
}), (n, c) => (v(), i("div", {
|
|
417
415
|
class: "pv-drawer pv-surface",
|
|
418
416
|
ref_key: "sidePanel",
|
|
@@ -429,7 +427,7 @@ var Se = [
|
|
|
429
427
|
"left-icon": "close",
|
|
430
428
|
ariaLabel: "Close",
|
|
431
429
|
size: "md",
|
|
432
|
-
onClick:
|
|
430
|
+
onClick: p,
|
|
433
431
|
"data-testid": "pv-side-panel-close-button",
|
|
434
432
|
variant: "ghost"
|
|
435
433
|
})]), t.subheader ? (v(), i("span", Ne, C(t.subheader), 1)) : r("v-if", !0)]), t.showSearchbar && u.value !== void 0 ? (v(), i("div", Pe, [o(ge, f({
|