@turquoisehealth/pit-viper 2.238.1-dev.0 → 2.239.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 +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/_site/assets/css/pit-viper.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-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-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-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-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-tabs-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvDropdown/PvDropdown.vue.d.ts +1 -9
- package/pv-components/dist/vue/ai/components/base/PvPopover/PvPopover.vue.d.ts +0 -8
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +1 -21
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +1 -1
- package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvTabs/types.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +1 -9
- package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +0 -8
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +1 -21
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +5 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +1901 -1945
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/base/types.d.ts +0 -4
- package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +1 -9
- package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +0 -8
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +1 -21
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +1 -9
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +1 -9
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1632 -1685
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/types.d.ts +0 -4
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +933 -947
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +841 -888
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +1458 -1505
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1710 -1757
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +938 -952
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +930 -944
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1641 -1702
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1649 -1696
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +22 -12
- package/pv-components/dist/web/pv-components.iife.js +36 -36
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -76,7 +76,12 @@ var C = [
|
|
|
76
76
|
class: f(s.value)
|
|
77
77
|
}, [a("use", { "xlink:href": c.value }, null, 8, w)], 2));
|
|
78
78
|
}
|
|
79
|
-
}), E = [
|
|
79
|
+
}), E = [
|
|
80
|
+
"data-active",
|
|
81
|
+
"data-type",
|
|
82
|
+
"data-testid",
|
|
83
|
+
"onClick"
|
|
84
|
+
], D = { type: "button" }, O = /* @__PURE__ */ s({
|
|
80
85
|
__name: "PvTabs",
|
|
81
86
|
props: /* @__PURE__ */ u({
|
|
82
87
|
tabs: { type: Array },
|
|
@@ -88,12 +93,16 @@ var C = [
|
|
|
88
93
|
modelValue: { required: !0 },
|
|
89
94
|
modelModifiers: {}
|
|
90
95
|
}),
|
|
91
|
-
emits: ["update:modelValue"],
|
|
92
|
-
setup(t) {
|
|
93
|
-
let s = y(t, "modelValue"),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
emits: /* @__PURE__ */ u(["add-button-click"], ["update:modelValue"]),
|
|
97
|
+
setup(t, { emit: s }) {
|
|
98
|
+
let c = s, l = y(t, "modelValue"), u = (e) => e.value ?? e.label, d = (e) => {
|
|
99
|
+
if (e.type === "addButton") {
|
|
100
|
+
c("add-button-click", u(e));
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
l.value = u(e);
|
|
104
|
+
}, p = (e) => e.type !== "addButton" && u(e) === l.value ? !0 : null;
|
|
105
|
+
return (s, c) => (m(), i("ul", {
|
|
97
106
|
"data-testid": "pv-tabs",
|
|
98
107
|
role: "list",
|
|
99
108
|
class: f({
|
|
@@ -101,11 +110,12 @@ var C = [
|
|
|
101
110
|
"pv-tab-list": t.size === "xl"
|
|
102
111
|
})
|
|
103
112
|
}, [(m(!0), i(e, null, _(t.tabs, (e) => (m(), i("li", {
|
|
104
|
-
key: e
|
|
105
|
-
"data-active":
|
|
106
|
-
"data-
|
|
113
|
+
key: u(e),
|
|
114
|
+
"data-active": p(e),
|
|
115
|
+
"data-type": e.type === "addButton" ? "add-button" : null,
|
|
116
|
+
"data-testid": e.type === "addButton" ? "pv-tab-add-button" : "pv-tab",
|
|
107
117
|
type: "button",
|
|
108
|
-
onClick: () =>
|
|
118
|
+
onClick: () => d(e)
|
|
109
119
|
}, [a("button", D, [
|
|
110
120
|
e.icon ? (m(), n(T, {
|
|
111
121
|
key: 0,
|
|
@@ -115,7 +125,7 @@ var C = [
|
|
|
115
125
|
e.counter ? (m(), n(x, {
|
|
116
126
|
key: 1,
|
|
117
127
|
value: e.counter,
|
|
118
|
-
variant:
|
|
128
|
+
variant: p(e) ? "primary" : "tertiary",
|
|
119
129
|
size: "sm"
|
|
120
130
|
}, null, 8, ["value", "variant"])) : r("v-if", !0)
|
|
121
131
|
])], 8, E))), 128))], 2));
|