@turquoisehealth/pit-viper 2.201.1-dev.2 → 2.202.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.css +50 -0
- package/_site/assets/css/pit-viper-consumer.css +50 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +45 -0
- package/_site/assets/css/pit-viper-v2.css +50 -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-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-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-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-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-insight-card-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-pagination-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-range-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-skeleton-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +3 -5
- package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +5 -5
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +7 -7
- package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.vue.d.ts +9 -5
- package/pv-components/dist/vue/base/components/base/PvSkeleton/types.d.ts +7 -2
- package/pv-components/dist/vue/base/pv-components-base.mjs +27 -21
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvCheckbox/PvCheckbox.vue.d.ts +3 -5
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +5 -5
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +7 -7
- package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.vue.d.ts +9 -5
- package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/types.d.ts +7 -2
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +10 -10
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +15 -15
- package/pv-components/dist/web/components/pv-button/pv-button.js +14 -14
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +2 -3
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +5 -5
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +14 -14
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +14 -14
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +15 -15
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +17 -18
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +17 -18
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +14 -14
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +14 -14
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +15 -15
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +15 -15
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +15 -15
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +15 -15
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +15 -15
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +14 -14
- package/pv-components/dist/web/components/pv-range/pv-range.js +14 -14
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +14 -14
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +15 -15
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +14 -14
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +599 -592
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +15 -15
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +14 -14
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +14 -14
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +14 -14
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +17 -18
- package/pv-components/dist/web/pv-components.iife.js +3 -3
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -3,29 +3,29 @@ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r
|
|
|
3
3
|
var x = /* @__PURE__ */ o({
|
|
4
4
|
__name: "PvCounterBadge",
|
|
5
5
|
props: {
|
|
6
|
-
|
|
6
|
+
maxValue: {
|
|
7
|
+
default: 99,
|
|
8
|
+
type: Number
|
|
9
|
+
},
|
|
7
10
|
prefix: {
|
|
8
11
|
default: "",
|
|
9
12
|
type: String
|
|
10
13
|
},
|
|
11
|
-
variant: {
|
|
12
|
-
default: "primary",
|
|
13
|
-
type: null
|
|
14
|
-
},
|
|
15
14
|
size: {
|
|
16
15
|
default: "sm",
|
|
17
16
|
type: String
|
|
18
17
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
value: { type: Number },
|
|
19
|
+
variant: {
|
|
20
|
+
default: "primary",
|
|
21
|
+
type: null
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
setup(e) {
|
|
25
|
-
let n = e, r = t(() => n.
|
|
25
|
+
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
26
26
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
27
|
-
"pv-badge-md pv-text-body-md":
|
|
28
|
-
"pv-badge-sm pv-text-body-sm":
|
|
27
|
+
"pv-badge-md pv-text-body-md": n.size == "md",
|
|
28
|
+
"pv-badge-sm pv-text-body-sm": n.size == "sm",
|
|
29
29
|
"pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
|
|
30
30
|
"pv-badge-secondary": n.variant == "secondary",
|
|
31
31
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
@@ -33,15 +33,15 @@ var x = /* @__PURE__ */ o({
|
|
|
33
33
|
"pv-surface": n.variant == "ghost"
|
|
34
34
|
}));
|
|
35
35
|
return (e, t) => (m(), i("div", {
|
|
36
|
-
class: d(
|
|
36
|
+
class: d(a.value),
|
|
37
37
|
"data-testid": "pv-counter-badge"
|
|
38
|
-
}, v(
|
|
38
|
+
}, v(r.value), 3));
|
|
39
39
|
}
|
|
40
|
-
}), S = ".pv-badge-md[data-v-
|
|
40
|
+
}), S = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", C = (e, t) => {
|
|
41
41
|
let n = e.__vccOpts || e;
|
|
42
42
|
for (let [e, r] of t) n[e] = r;
|
|
43
43
|
return n;
|
|
44
|
-
}, w = /* @__PURE__ */ C(x, [["styles", [S]], ["__scopeId", "data-v-
|
|
44
|
+
}, w = /* @__PURE__ */ C(x, [["styles", [S]], ["__scopeId", "data-v-6a07eeec"]]);
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/web-components/utils.ts
|
|
47
47
|
function T() {
|
|
@@ -76,29 +76,29 @@ var w = [
|
|
|
76
76
|
})(/* @__PURE__ */ o({
|
|
77
77
|
__name: "PvCounterBadge",
|
|
78
78
|
props: {
|
|
79
|
-
|
|
79
|
+
maxValue: {
|
|
80
|
+
default: 99,
|
|
81
|
+
type: Number
|
|
82
|
+
},
|
|
80
83
|
prefix: {
|
|
81
84
|
default: "",
|
|
82
85
|
type: String
|
|
83
86
|
},
|
|
84
|
-
variant: {
|
|
85
|
-
default: "primary",
|
|
86
|
-
type: null
|
|
87
|
-
},
|
|
88
87
|
size: {
|
|
89
88
|
default: "sm",
|
|
90
89
|
type: String
|
|
91
90
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
value: { type: Number },
|
|
92
|
+
variant: {
|
|
93
|
+
default: "primary",
|
|
94
|
+
type: null
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
setup(e) {
|
|
98
|
-
let n = e, r = t(() => n.
|
|
98
|
+
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
99
99
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
100
|
-
"pv-badge-md pv-text-body-md":
|
|
101
|
-
"pv-badge-sm pv-text-body-sm":
|
|
100
|
+
"pv-badge-md pv-text-body-md": n.size == "md",
|
|
101
|
+
"pv-badge-sm pv-text-body-sm": n.size == "sm",
|
|
102
102
|
"pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
|
|
103
103
|
"pv-badge-secondary": n.variant == "secondary",
|
|
104
104
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
@@ -106,11 +106,11 @@ var w = [
|
|
|
106
106
|
"pv-surface": n.variant == "ghost"
|
|
107
107
|
}));
|
|
108
108
|
return (e, t) => (p(), i("div", {
|
|
109
|
-
class: u(
|
|
109
|
+
class: u(a.value),
|
|
110
110
|
"data-testid": "pv-counter-badge"
|
|
111
|
-
}, _(
|
|
111
|
+
}, _(r.value), 3));
|
|
112
112
|
}
|
|
113
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
113
|
+
}), [["styles", [".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}"]], ["__scopeId", "data-v-6a07eeec"]]), O = ["disabled", "aria-label"], k = {
|
|
114
114
|
key: 2,
|
|
115
115
|
"data-testid": "pv-button-label"
|
|
116
116
|
}, A = /* @__PURE__ */ o({
|
|
@@ -7,9 +7,9 @@ var h = [
|
|
|
7
7
|
], g = /* @__PURE__ */ t({
|
|
8
8
|
__name: "PvCheckbox",
|
|
9
9
|
props: /* @__PURE__ */ i({
|
|
10
|
+
ariaLabel: { type: String },
|
|
10
11
|
disabled: { type: Boolean },
|
|
11
|
-
indeterminate: { type: Boolean }
|
|
12
|
-
ariaLabel: { type: String }
|
|
12
|
+
indeterminate: { type: Boolean }
|
|
13
13
|
}, {
|
|
14
14
|
modelValue: { type: Boolean },
|
|
15
15
|
modelModifiers: {}
|
|
@@ -18,7 +18,6 @@ var h = [
|
|
|
18
18
|
setup(t) {
|
|
19
19
|
let n = d(t, "modelValue");
|
|
20
20
|
return (r, i) => m((s(), e("input", {
|
|
21
|
-
ref: "checkbox-ref",
|
|
22
21
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
23
22
|
class: "pv-checkbox",
|
|
24
23
|
type: "checkbox",
|
|
@@ -82,14 +82,14 @@ var E = ["xlink:href"], D = /* @__PURE__ */ o({
|
|
|
82
82
|
__name: "PvCompanyTag",
|
|
83
83
|
props: {
|
|
84
84
|
companyName: { type: String },
|
|
85
|
-
size: {
|
|
86
|
-
default: "md",
|
|
87
|
-
type: String
|
|
88
|
-
},
|
|
89
85
|
showClear: {
|
|
90
86
|
type: Boolean,
|
|
91
87
|
default: !1
|
|
92
88
|
},
|
|
89
|
+
size: {
|
|
90
|
+
default: "md",
|
|
91
|
+
type: String
|
|
92
|
+
},
|
|
93
93
|
spine: { type: Boolean }
|
|
94
94
|
},
|
|
95
95
|
emits: ["handle-close", "handle-click"],
|
|
@@ -116,7 +116,7 @@ var E = ["xlink:href"], D = /* @__PURE__ */ o({
|
|
|
116
116
|
"size",
|
|
117
117
|
"name"
|
|
118
118
|
]),
|
|
119
|
-
i("span", { class: u(
|
|
119
|
+
i("span", { class: u({ "pv-underline-dotted": o.spine }) }, _(o.companyName), 3),
|
|
120
120
|
o.showClear ? (p(), t(D, {
|
|
121
121
|
key: 0,
|
|
122
122
|
"data-testid": "pv-company-tag-close-icon",
|
|
@@ -8,29 +8,29 @@ var m = /* @__PURE__ */ ((e, t) => {
|
|
|
8
8
|
})(/* @__PURE__ */ n({
|
|
9
9
|
__name: "PvCounterBadge",
|
|
10
10
|
props: {
|
|
11
|
-
|
|
11
|
+
maxValue: {
|
|
12
|
+
default: 99,
|
|
13
|
+
type: Number
|
|
14
|
+
},
|
|
12
15
|
prefix: {
|
|
13
16
|
default: "",
|
|
14
17
|
type: String
|
|
15
18
|
},
|
|
16
|
-
variant: {
|
|
17
|
-
default: "primary",
|
|
18
|
-
type: null
|
|
19
|
-
},
|
|
20
19
|
size: {
|
|
21
20
|
default: "sm",
|
|
22
21
|
type: String
|
|
23
22
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
value: { type: Number },
|
|
24
|
+
variant: {
|
|
25
|
+
default: "primary",
|
|
26
|
+
type: null
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(n) {
|
|
30
|
-
let r = n, i = e(() => r.
|
|
30
|
+
let r = n, i = e(() => r.maxValue && r.value && r.value > r.maxValue ? `${r.maxValue}+` : r.value == null ? "-" : `${r.prefix}${r.value}`), a = e(() => ({
|
|
31
31
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
32
|
-
"pv-badge-md pv-text-body-md":
|
|
33
|
-
"pv-badge-sm pv-text-body-sm":
|
|
32
|
+
"pv-badge-md pv-text-body-md": r.size == "md",
|
|
33
|
+
"pv-badge-sm pv-text-body-sm": r.size == "sm",
|
|
34
34
|
"pv-surface-brand-inverse pv-text-inverse": r.variant == "primary",
|
|
35
35
|
"pv-badge-secondary": r.variant == "secondary",
|
|
36
36
|
"pv-surface-lighten-5": r.variant == "tertiary",
|
|
@@ -38,11 +38,11 @@ var m = /* @__PURE__ */ ((e, t) => {
|
|
|
38
38
|
"pv-surface": r.variant == "ghost"
|
|
39
39
|
}));
|
|
40
40
|
return (e, n) => (c(), t("div", {
|
|
41
|
-
class: o(
|
|
41
|
+
class: o(a.value),
|
|
42
42
|
"data-testid": "pv-counter-badge"
|
|
43
|
-
}, f(
|
|
43
|
+
}, f(i.value), 3));
|
|
44
44
|
}
|
|
45
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
45
|
+
}), [["styles", [".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}"]], ["__scopeId", "data-v-6a07eeec"]]), h = Object.defineProperty, g = Object.getOwnPropertySymbols, _ = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable, y = (e, t, n) => t in e ? h(e, t, {
|
|
46
46
|
enumerable: !0,
|
|
47
47
|
configurable: !0,
|
|
48
48
|
writable: !0,
|
|
@@ -246,29 +246,29 @@ var Se = [
|
|
|
246
246
|
})(/* @__PURE__ */ s({
|
|
247
247
|
__name: "PvCounterBadge",
|
|
248
248
|
props: {
|
|
249
|
-
|
|
249
|
+
maxValue: {
|
|
250
|
+
default: 99,
|
|
251
|
+
type: Number
|
|
252
|
+
},
|
|
250
253
|
prefix: {
|
|
251
254
|
default: "",
|
|
252
255
|
type: String
|
|
253
256
|
},
|
|
254
|
-
variant: {
|
|
255
|
-
default: "primary",
|
|
256
|
-
type: null
|
|
257
|
-
},
|
|
258
257
|
size: {
|
|
259
258
|
default: "sm",
|
|
260
259
|
type: String
|
|
261
260
|
},
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
261
|
+
value: { type: Number },
|
|
262
|
+
variant: {
|
|
263
|
+
default: "primary",
|
|
264
|
+
type: null
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
setup(e) {
|
|
268
|
-
let n = e, r = t(() => n.
|
|
268
|
+
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
269
269
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
270
|
-
"pv-badge-md pv-text-body-md":
|
|
271
|
-
"pv-badge-sm pv-text-body-sm":
|
|
270
|
+
"pv-badge-md pv-text-body-md": n.size == "md",
|
|
271
|
+
"pv-badge-sm pv-text-body-sm": n.size == "sm",
|
|
272
272
|
"pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
|
|
273
273
|
"pv-badge-secondary": n.variant == "secondary",
|
|
274
274
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
@@ -276,11 +276,11 @@ var Se = [
|
|
|
276
276
|
"pv-surface": n.variant == "ghost"
|
|
277
277
|
}));
|
|
278
278
|
return (e, t) => (v(), i("div", {
|
|
279
|
-
class: m(
|
|
279
|
+
class: m(a.value),
|
|
280
280
|
"data-testid": "pv-counter-badge"
|
|
281
|
-
}, C(
|
|
281
|
+
}, C(r.value), 3));
|
|
282
282
|
}
|
|
283
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
283
|
+
}), [["styles", [".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}"]], ["__scopeId", "data-v-6a07eeec"]]), Ee = ["disabled", "aria-label"], De = {
|
|
284
284
|
key: 2,
|
|
285
285
|
"data-testid": "pv-button-label"
|
|
286
286
|
}, Oe = /* @__PURE__ */ s({
|
|
@@ -72,29 +72,29 @@ var T = [
|
|
|
72
72
|
}), O = /* @__PURE__ */ s({
|
|
73
73
|
__name: "PvCounterBadge",
|
|
74
74
|
props: {
|
|
75
|
-
|
|
75
|
+
maxValue: {
|
|
76
|
+
default: 99,
|
|
77
|
+
type: Number
|
|
78
|
+
},
|
|
76
79
|
prefix: {
|
|
77
80
|
default: "",
|
|
78
81
|
type: String
|
|
79
82
|
},
|
|
80
|
-
variant: {
|
|
81
|
-
default: "primary",
|
|
82
|
-
type: null
|
|
83
|
-
},
|
|
84
83
|
size: {
|
|
85
84
|
default: "sm",
|
|
86
85
|
type: String
|
|
87
86
|
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
value: { type: Number },
|
|
88
|
+
variant: {
|
|
89
|
+
default: "primary",
|
|
90
|
+
type: null
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
setup(e) {
|
|
94
|
-
let n = e, r = t(() => n.
|
|
94
|
+
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
95
95
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
96
|
-
"pv-badge-md pv-text-body-md":
|
|
97
|
-
"pv-badge-sm pv-text-body-sm":
|
|
96
|
+
"pv-badge-md pv-text-body-md": n.size == "md",
|
|
97
|
+
"pv-badge-sm pv-text-body-sm": n.size == "sm",
|
|
98
98
|
"pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
|
|
99
99
|
"pv-badge-secondary": n.variant == "secondary",
|
|
100
100
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
@@ -102,15 +102,15 @@ var T = [
|
|
|
102
102
|
"pv-surface": n.variant == "ghost"
|
|
103
103
|
}));
|
|
104
104
|
return (e, t) => (m(), i("div", {
|
|
105
|
-
class: d(
|
|
105
|
+
class: d(a.value),
|
|
106
106
|
"data-testid": "pv-counter-badge"
|
|
107
|
-
}, v(
|
|
107
|
+
}, v(r.value), 3));
|
|
108
108
|
}
|
|
109
|
-
}), k = ".pv-badge-md[data-v-
|
|
109
|
+
}), k = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", A = (e, t) => {
|
|
110
110
|
let n = e.__vccOpts || e;
|
|
111
111
|
for (let [e, r] of t) n[e] = r;
|
|
112
112
|
return n;
|
|
113
|
-
}, j = /* @__PURE__ */ A(O, [["styles", [k]], ["__scopeId", "data-v-
|
|
113
|
+
}, j = /* @__PURE__ */ A(O, [["styles", [k]], ["__scopeId", "data-v-6a07eeec"]]), M = ["disabled", "aria-label"], te = {
|
|
114
114
|
key: 2,
|
|
115
115
|
"data-testid": "pv-button-label"
|
|
116
116
|
}, ne = /* @__PURE__ */ s({
|
|
@@ -318,29 +318,29 @@ var Qe = [
|
|
|
318
318
|
}), tt = /* @__PURE__ */ d({
|
|
319
319
|
__name: "PvCounterBadge",
|
|
320
320
|
props: {
|
|
321
|
-
|
|
321
|
+
maxValue: {
|
|
322
|
+
default: 99,
|
|
323
|
+
type: Number
|
|
324
|
+
},
|
|
322
325
|
prefix: {
|
|
323
326
|
default: "",
|
|
324
327
|
type: String
|
|
325
328
|
},
|
|
326
|
-
variant: {
|
|
327
|
-
default: "primary",
|
|
328
|
-
type: null
|
|
329
|
-
},
|
|
330
329
|
size: {
|
|
331
330
|
default: "sm",
|
|
332
331
|
type: String
|
|
333
332
|
},
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
333
|
+
value: { type: Number },
|
|
334
|
+
variant: {
|
|
335
|
+
default: "primary",
|
|
336
|
+
type: null
|
|
337
337
|
}
|
|
338
338
|
},
|
|
339
339
|
setup(e) {
|
|
340
|
-
let t = e, n = r(() => t.
|
|
340
|
+
let t = e, n = r(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), i = r(() => ({
|
|
341
341
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
342
|
-
"pv-badge-md pv-text-body-md":
|
|
343
|
-
"pv-badge-sm pv-text-body-sm":
|
|
342
|
+
"pv-badge-md pv-text-body-md": t.size == "md",
|
|
343
|
+
"pv-badge-sm pv-text-body-sm": t.size == "sm",
|
|
344
344
|
"pv-surface-brand-inverse pv-text-inverse": t.variant == "primary",
|
|
345
345
|
"pv-badge-secondary": t.variant == "secondary",
|
|
346
346
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
@@ -348,15 +348,15 @@ var Qe = [
|
|
|
348
348
|
"pv-surface": t.variant == "ghost"
|
|
349
349
|
}));
|
|
350
350
|
return (e, t) => (E(), o("div", {
|
|
351
|
-
class: y(
|
|
351
|
+
class: y(i.value),
|
|
352
352
|
"data-testid": "pv-counter-badge"
|
|
353
|
-
}, P(
|
|
353
|
+
}, P(n.value), 3));
|
|
354
354
|
}
|
|
355
|
-
}), nt = ".pv-badge-md[data-v-
|
|
355
|
+
}), nt = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", rt = (e, t) => {
|
|
356
356
|
let n = e.__vccOpts || e;
|
|
357
357
|
for (let [e, r] of t) n[e] = r;
|
|
358
358
|
return n;
|
|
359
|
-
}, it = /* @__PURE__ */ rt(tt, [["styles", [nt]], ["__scopeId", "data-v-
|
|
359
|
+
}, it = /* @__PURE__ */ rt(tt, [["styles", [nt]], ["__scopeId", "data-v-6a07eeec"]]), at = ["disabled", "aria-label"], ot = {
|
|
360
360
|
key: 2,
|
|
361
361
|
"data-testid": "pv-button-label"
|
|
362
362
|
}, st = /* @__PURE__ */ d({
|
|
@@ -1523,9 +1523,9 @@ var cr = { style: { width: "fit-content" } }, lr = /* @__PURE__ */ d({
|
|
|
1523
1523
|
], gr = /* @__PURE__ */ d({
|
|
1524
1524
|
__name: "PvCheckbox",
|
|
1525
1525
|
props: /* @__PURE__ */ g({
|
|
1526
|
+
ariaLabel: { type: String },
|
|
1526
1527
|
disabled: { type: Boolean },
|
|
1527
|
-
indeterminate: { type: Boolean }
|
|
1528
|
-
ariaLabel: { type: String }
|
|
1528
|
+
indeterminate: { type: Boolean }
|
|
1529
1529
|
}, {
|
|
1530
1530
|
modelValue: { type: Boolean },
|
|
1531
1531
|
modelModifiers: {}
|
|
@@ -1534,7 +1534,6 @@ var cr = { style: { width: "fit-content" } }, lr = /* @__PURE__ */ d({
|
|
|
1534
1534
|
setup(e) {
|
|
1535
1535
|
let t = ne(e, "modelValue");
|
|
1536
1536
|
return (n, r) => de((E(), o("input", {
|
|
1537
|
-
ref: "checkbox-ref",
|
|
1538
1537
|
"onUpdate:modelValue": r[0] ||= (e) => t.value = e,
|
|
1539
1538
|
class: "pv-checkbox",
|
|
1540
1539
|
type: "checkbox",
|
|
@@ -85,29 +85,29 @@ var be = [
|
|
|
85
85
|
}), Ce = /* @__PURE__ */ f({
|
|
86
86
|
__name: "PvCounterBadge",
|
|
87
87
|
props: {
|
|
88
|
-
|
|
88
|
+
maxValue: {
|
|
89
|
+
default: 99,
|
|
90
|
+
type: Number
|
|
91
|
+
},
|
|
89
92
|
prefix: {
|
|
90
93
|
default: "",
|
|
91
94
|
type: String
|
|
92
95
|
},
|
|
93
|
-
variant: {
|
|
94
|
-
default: "primary",
|
|
95
|
-
type: null
|
|
96
|
-
},
|
|
97
96
|
size: {
|
|
98
97
|
default: "sm",
|
|
99
98
|
type: String
|
|
100
99
|
},
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
value: { type: Number },
|
|
101
|
+
variant: {
|
|
102
|
+
default: "primary",
|
|
103
|
+
type: null
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
setup(e) {
|
|
107
|
-
let t = e, n = r(() => t.
|
|
107
|
+
let t = e, n = r(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), i = r(() => ({
|
|
108
108
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
109
|
-
"pv-badge-md pv-text-body-md":
|
|
110
|
-
"pv-badge-sm pv-text-body-sm":
|
|
109
|
+
"pv-badge-md pv-text-body-md": t.size == "md",
|
|
110
|
+
"pv-badge-sm pv-text-body-sm": t.size == "sm",
|
|
111
111
|
"pv-surface-brand-inverse pv-text-inverse": t.variant == "primary",
|
|
112
112
|
"pv-badge-secondary": t.variant == "secondary",
|
|
113
113
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
@@ -115,15 +115,15 @@ var be = [
|
|
|
115
115
|
"pv-surface": t.variant == "ghost"
|
|
116
116
|
}));
|
|
117
117
|
return (e, t) => (k(), o("div", {
|
|
118
|
-
class: x(
|
|
118
|
+
class: x(i.value),
|
|
119
119
|
"data-testid": "pv-counter-badge"
|
|
120
|
-
}, L(
|
|
120
|
+
}, L(n.value), 3));
|
|
121
121
|
}
|
|
122
|
-
}), we = ".pv-badge-md[data-v-
|
|
122
|
+
}), we = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", Te = (e, t) => {
|
|
123
123
|
let n = e.__vccOpts || e;
|
|
124
124
|
for (let [e, r] of t) n[e] = r;
|
|
125
125
|
return n;
|
|
126
|
-
}, Ee = /* @__PURE__ */ Te(Ce, [["styles", [we]], ["__scopeId", "data-v-
|
|
126
|
+
}, Ee = /* @__PURE__ */ Te(Ce, [["styles", [we]], ["__scopeId", "data-v-6a07eeec"]]), De = ["disabled", "aria-label"], q = {
|
|
127
127
|
key: 2,
|
|
128
128
|
"data-testid": "pv-button-label"
|
|
129
129
|
}, J = /* @__PURE__ */ f({
|
|
@@ -1676,9 +1676,9 @@ var mr = { style: { width: "fit-content" } }, hr = /* @__PURE__ */ f({
|
|
|
1676
1676
|
], Cr = /* @__PURE__ */ f({
|
|
1677
1677
|
__name: "PvCheckbox",
|
|
1678
1678
|
props: /* @__PURE__ */ v({
|
|
1679
|
+
ariaLabel: { type: String },
|
|
1679
1680
|
disabled: { type: Boolean },
|
|
1680
|
-
indeterminate: { type: Boolean }
|
|
1681
|
-
ariaLabel: { type: String }
|
|
1681
|
+
indeterminate: { type: Boolean }
|
|
1682
1682
|
}, {
|
|
1683
1683
|
modelValue: { type: Boolean },
|
|
1684
1684
|
modelModifiers: {}
|
|
@@ -1687,7 +1687,6 @@ var mr = { style: { width: "fit-content" } }, hr = /* @__PURE__ */ f({
|
|
|
1687
1687
|
setup(e) {
|
|
1688
1688
|
let t = B(e, "modelValue");
|
|
1689
1689
|
return (n, r) => ce((k(), o("input", {
|
|
1690
|
-
ref: "checkbox-ref",
|
|
1691
1690
|
"onUpdate:modelValue": r[0] ||= (e) => t.value = e,
|
|
1692
1691
|
class: "pv-checkbox",
|
|
1693
1692
|
type: "checkbox",
|
|
@@ -76,29 +76,29 @@ var A = [
|
|
|
76
76
|
})(/* @__PURE__ */ o({
|
|
77
77
|
__name: "PvCounterBadge",
|
|
78
78
|
props: {
|
|
79
|
-
|
|
79
|
+
maxValue: {
|
|
80
|
+
default: 99,
|
|
81
|
+
type: Number
|
|
82
|
+
},
|
|
80
83
|
prefix: {
|
|
81
84
|
default: "",
|
|
82
85
|
type: String
|
|
83
86
|
},
|
|
84
|
-
variant: {
|
|
85
|
-
default: "primary",
|
|
86
|
-
type: null
|
|
87
|
-
},
|
|
88
87
|
size: {
|
|
89
88
|
default: "sm",
|
|
90
89
|
type: String
|
|
91
90
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
value: { type: Number },
|
|
92
|
+
variant: {
|
|
93
|
+
default: "primary",
|
|
94
|
+
type: null
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
setup(e) {
|
|
98
|
-
let n = e, r = t(() => n.
|
|
98
|
+
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
99
99
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
100
|
-
"pv-badge-md pv-text-body-md":
|
|
101
|
-
"pv-badge-sm pv-text-body-sm":
|
|
100
|
+
"pv-badge-md pv-text-body-md": n.size == "md",
|
|
101
|
+
"pv-badge-sm pv-text-body-sm": n.size == "sm",
|
|
102
102
|
"pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
|
|
103
103
|
"pv-badge-secondary": n.variant == "secondary",
|
|
104
104
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
@@ -106,11 +106,11 @@ var A = [
|
|
|
106
106
|
"pv-surface": n.variant == "ghost"
|
|
107
107
|
}));
|
|
108
108
|
return (e, t) => (h(), i("div", {
|
|
109
|
-
class: f(
|
|
109
|
+
class: f(a.value),
|
|
110
110
|
"data-testid": "pv-counter-badge"
|
|
111
|
-
}, y(
|
|
111
|
+
}, y(r.value), 3));
|
|
112
112
|
}
|
|
113
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
113
|
+
}), [["styles", [".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}"]], ["__scopeId", "data-v-6a07eeec"]]), te = ["disabled", "aria-label"], ne = {
|
|
114
114
|
key: 2,
|
|
115
115
|
"data-testid": "pv-button-label"
|
|
116
116
|
}, re = /* @__PURE__ */ o({
|
|
@@ -76,29 +76,29 @@ var D = [
|
|
|
76
76
|
})(/* @__PURE__ */ o({
|
|
77
77
|
__name: "PvCounterBadge",
|
|
78
78
|
props: {
|
|
79
|
-
|
|
79
|
+
maxValue: {
|
|
80
|
+
default: 99,
|
|
81
|
+
type: Number
|
|
82
|
+
},
|
|
80
83
|
prefix: {
|
|
81
84
|
default: "",
|
|
82
85
|
type: String
|
|
83
86
|
},
|
|
84
|
-
variant: {
|
|
85
|
-
default: "primary",
|
|
86
|
-
type: null
|
|
87
|
-
},
|
|
88
87
|
size: {
|
|
89
88
|
default: "sm",
|
|
90
89
|
type: String
|
|
91
90
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
value: { type: Number },
|
|
92
|
+
variant: {
|
|
93
|
+
default: "primary",
|
|
94
|
+
type: null
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
setup(e) {
|
|
98
|
-
let n = e, r = t(() => n.
|
|
98
|
+
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
99
99
|
"pv-inline-block pv-inset-square pv-radius pv-text-center": !0,
|
|
100
|
-
"pv-badge-md pv-text-body-md":
|
|
101
|
-
"pv-badge-sm pv-text-body-sm":
|
|
100
|
+
"pv-badge-md pv-text-body-md": n.size == "md",
|
|
101
|
+
"pv-badge-sm pv-text-body-sm": n.size == "sm",
|
|
102
102
|
"pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
|
|
103
103
|
"pv-badge-secondary": n.variant == "secondary",
|
|
104
104
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
@@ -106,11 +106,11 @@ var D = [
|
|
|
106
106
|
"pv-surface": n.variant == "ghost"
|
|
107
107
|
}));
|
|
108
108
|
return (e, t) => (h(), i("div", {
|
|
109
|
-
class: u(
|
|
109
|
+
class: u(a.value),
|
|
110
110
|
"data-testid": "pv-counter-badge"
|
|
111
|
-
}, b(
|
|
111
|
+
}, b(r.value), 3));
|
|
112
112
|
}
|
|
113
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
113
|
+
}), [["styles", [".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}"]], ["__scopeId", "data-v-6a07eeec"]]), j = ["disabled", "aria-label"], M = {
|
|
114
114
|
key: 2,
|
|
115
115
|
"data-testid": "pv-button-label"
|
|
116
116
|
}, N = /* @__PURE__ */ o({
|