@turquoisehealth/pit-viper 2.244.0 → 2.244.2
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 +56 -2
- package/_site/assets/css/pit-viper-consumer.css +56 -2
- package/_site/assets/css/pit-viper-v2-scoped.css +50 -2
- package/_site/assets/css/pit-viper-v2.css +56 -2
- package/_site/assets/css/pit-viper.css +56 -2
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- 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-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-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-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-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-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-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-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-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-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-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/ai/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +6 -4
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/base/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +182 -85
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +6 -4
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +6 -4
- package/pv-components/dist/web/components/pv-button/pv-button.js +5 -3
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +6 -4
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +5 -3
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +5 -3
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +6 -4
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +18 -8
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +6 -4
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +6 -4
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +5 -3
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +5 -3
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +6 -4
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +6 -4
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +6 -4
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +6 -4
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +6 -4
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +6 -4
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +5 -3
- package/pv-components/dist/web/components/pv-question/pv-question.js +6 -4
- package/pv-components/dist/web/components/pv-range/pv-range.js +5 -3
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +6 -4
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +5 -3
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +6 -4
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +6 -4
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +649 -485
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +5 -3
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +5 -3
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +5 -3
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +6 -4
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +533 -521
- package/pv-components/dist/web/pv-components.iife.js +4 -4
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -88,7 +88,8 @@ var te = [
|
|
|
88
88
|
variant: {
|
|
89
89
|
default: "primary",
|
|
90
90
|
type: null
|
|
91
|
-
}
|
|
91
|
+
},
|
|
92
|
+
rounded: { type: Boolean }
|
|
92
93
|
},
|
|
93
94
|
setup(e) {
|
|
94
95
|
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,18 +100,19 @@ var te = [
|
|
|
99
100
|
"pv-badge-secondary": n.variant == "secondary",
|
|
100
101
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
101
102
|
"pv-text-tertiary": n.variant == "ghost" || n.variant == "tertiary",
|
|
102
|
-
"pv-surface": n.variant == "ghost"
|
|
103
|
+
"pv-surface": n.variant == "ghost",
|
|
104
|
+
"pv-rounded": n.rounded
|
|
103
105
|
}));
|
|
104
106
|
return (e, t) => (g(), i("div", {
|
|
105
107
|
class: p(a.value),
|
|
106
108
|
"data-testid": "pv-counter-badge"
|
|
107
109
|
}, S(r.value), 3));
|
|
108
110
|
}
|
|
109
|
-
}), ie = ".pv-badge-md[data-v-
|
|
111
|
+
}), ie = ".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}", ae = (e, t) => {
|
|
110
112
|
let n = e.__vccOpts || e;
|
|
111
113
|
for (let [e, r] of t) n[e] = r;
|
|
112
114
|
return n;
|
|
113
|
-
}, oe = /* @__PURE__ */ ae(re, [["styles", [ie]], ["__scopeId", "data-v-
|
|
115
|
+
}, oe = /* @__PURE__ */ ae(re, [["styles", [ie]], ["__scopeId", "data-v-c578e86e"]]), se = ["disabled", "aria-label"], ce = {
|
|
114
116
|
key: 2,
|
|
115
117
|
"data-testid": "pv-button-label"
|
|
116
118
|
}, le = /* @__PURE__ */ s({
|
|
@@ -92,7 +92,8 @@ var D = [
|
|
|
92
92
|
variant: {
|
|
93
93
|
default: "primary",
|
|
94
94
|
type: null
|
|
95
|
-
}
|
|
95
|
+
},
|
|
96
|
+
rounded: { type: Boolean }
|
|
96
97
|
},
|
|
97
98
|
setup(e) {
|
|
98
99
|
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
@@ -103,14 +104,15 @@ var D = [
|
|
|
103
104
|
"pv-badge-secondary": n.variant == "secondary",
|
|
104
105
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
105
106
|
"pv-text-tertiary": n.variant == "ghost" || n.variant == "tertiary",
|
|
106
|
-
"pv-surface": n.variant == "ghost"
|
|
107
|
+
"pv-surface": n.variant == "ghost",
|
|
108
|
+
"pv-rounded": n.rounded
|
|
107
109
|
}));
|
|
108
110
|
return (e, t) => (h(), i("div", {
|
|
109
111
|
class: f(a.value),
|
|
110
112
|
"data-testid": "pv-counter-badge"
|
|
111
113
|
}, v(r.value), 3));
|
|
112
114
|
}
|
|
113
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
115
|
+
}), [["styles", [".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}"]], ["__scopeId", "data-v-c578e86e"]]), k = ["disabled", "aria-label"], se = {
|
|
114
116
|
key: 2,
|
|
115
117
|
"data-testid": "pv-button-label"
|
|
116
118
|
}, ce = /* @__PURE__ */ o({
|
|
@@ -19,7 +19,8 @@ var P = /* @__PURE__ */ u({
|
|
|
19
19
|
variant: {
|
|
20
20
|
default: "primary",
|
|
21
21
|
type: null
|
|
22
|
-
}
|
|
22
|
+
},
|
|
23
|
+
rounded: { type: Boolean }
|
|
23
24
|
},
|
|
24
25
|
setup(e) {
|
|
25
26
|
let t = e, n = i(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), r = i(() => ({
|
|
@@ -30,18 +31,19 @@ var P = /* @__PURE__ */ u({
|
|
|
30
31
|
"pv-badge-secondary": t.variant == "secondary",
|
|
31
32
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
32
33
|
"pv-text-tertiary": t.variant == "ghost" || t.variant == "tertiary",
|
|
33
|
-
"pv-surface": t.variant == "ghost"
|
|
34
|
+
"pv-surface": t.variant == "ghost",
|
|
35
|
+
"pv-rounded": t.rounded
|
|
34
36
|
}));
|
|
35
37
|
return (e, t) => (x(), s("div", {
|
|
36
38
|
class: g(r.value),
|
|
37
39
|
"data-testid": "pv-counter-badge"
|
|
38
40
|
}, D(n.value), 3));
|
|
39
41
|
}
|
|
40
|
-
}), ee = ".pv-badge-md[data-v-
|
|
42
|
+
}), ee = ".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}", F = (e, t) => {
|
|
41
43
|
let n = e.__vccOpts || e;
|
|
42
44
|
for (let [e, r] of t) n[e] = r;
|
|
43
45
|
return n;
|
|
44
|
-
}, te = /* @__PURE__ */ F(P, [["styles", [ee]], ["__scopeId", "data-v-
|
|
46
|
+
}, te = /* @__PURE__ */ F(P, [["styles", [ee]], ["__scopeId", "data-v-c578e86e"]]);
|
|
45
47
|
//#endregion
|
|
46
48
|
//#region src/web-components/utils.ts
|
|
47
49
|
function ne() {
|
|
@@ -105,7 +105,8 @@ var ve = [
|
|
|
105
105
|
variant: {
|
|
106
106
|
default: "primary",
|
|
107
107
|
type: null
|
|
108
|
-
}
|
|
108
|
+
},
|
|
109
|
+
rounded: { type: Boolean }
|
|
109
110
|
},
|
|
110
111
|
setup(e) {
|
|
111
112
|
let t = e, n = r(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), i = r(() => ({
|
|
@@ -116,14 +117,15 @@ var ve = [
|
|
|
116
117
|
"pv-badge-secondary": t.variant == "secondary",
|
|
117
118
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
118
119
|
"pv-text-tertiary": t.variant == "ghost" || t.variant == "tertiary",
|
|
119
|
-
"pv-surface": t.variant == "ghost"
|
|
120
|
+
"pv-surface": t.variant == "ghost",
|
|
121
|
+
"pv-rounded": t.rounded
|
|
120
122
|
}));
|
|
121
123
|
return (e, t) => (E(), o("div", {
|
|
122
124
|
class: v(i.value),
|
|
123
125
|
"data-testid": "pv-counter-badge"
|
|
124
126
|
}, M(n.value), 3));
|
|
125
127
|
}
|
|
126
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
128
|
+
}), [["styles", [".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}"]], ["__scopeId", "data-v-c578e86e"]]), Se = ["disabled", "aria-label"], Ce = {
|
|
127
129
|
key: 2,
|
|
128
130
|
"data-testid": "pv-button-label"
|
|
129
131
|
}, we = /* @__PURE__ */ d({
|
|
@@ -420,7 +420,8 @@ var ct = {
|
|
|
420
420
|
variant: {
|
|
421
421
|
default: "primary",
|
|
422
422
|
type: null
|
|
423
|
-
}
|
|
423
|
+
},
|
|
424
|
+
rounded: { type: Boolean }
|
|
424
425
|
},
|
|
425
426
|
setup(e) {
|
|
426
427
|
let t = e, n = r(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), i = r(() => ({
|
|
@@ -431,14 +432,15 @@ var ct = {
|
|
|
431
432
|
"pv-badge-secondary": t.variant == "secondary",
|
|
432
433
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
433
434
|
"pv-text-tertiary": t.variant == "ghost" || t.variant == "tertiary",
|
|
434
|
-
"pv-surface": t.variant == "ghost"
|
|
435
|
+
"pv-surface": t.variant == "ghost",
|
|
436
|
+
"pv-rounded": t.rounded
|
|
435
437
|
}));
|
|
436
438
|
return (e, t) => (k(), o("div", {
|
|
437
439
|
class: x(i.value),
|
|
438
440
|
"data-testid": "pv-counter-badge"
|
|
439
441
|
}, P(n.value), 3));
|
|
440
442
|
}
|
|
441
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
443
|
+
}), [["styles", [".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}"]], ["__scopeId", "data-v-c578e86e"]]), pt = {
|
|
442
444
|
class: "pv-flex",
|
|
443
445
|
"data-testid": "pv-company-logo"
|
|
444
446
|
}, mt = ["src"], ht = /* @__PURE__ */ d({
|
|
@@ -92,7 +92,8 @@ var E = [
|
|
|
92
92
|
variant: {
|
|
93
93
|
default: "primary",
|
|
94
94
|
type: null
|
|
95
|
-
}
|
|
95
|
+
},
|
|
96
|
+
rounded: { type: Boolean }
|
|
96
97
|
},
|
|
97
98
|
setup(e) {
|
|
98
99
|
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
@@ -103,14 +104,15 @@ var E = [
|
|
|
103
104
|
"pv-badge-secondary": n.variant == "secondary",
|
|
104
105
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
105
106
|
"pv-text-tertiary": n.variant == "ghost" || n.variant == "tertiary",
|
|
106
|
-
"pv-surface": n.variant == "ghost"
|
|
107
|
+
"pv-surface": n.variant == "ghost",
|
|
108
|
+
"pv-rounded": n.rounded
|
|
107
109
|
}));
|
|
108
110
|
return (e, t) => (m(), i("div", {
|
|
109
111
|
class: d(a.value),
|
|
110
112
|
"data-testid": "pv-counter-badge"
|
|
111
113
|
}, v(r.value), 3));
|
|
112
114
|
}
|
|
113
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
115
|
+
}), [["styles", [".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}"]], ["__scopeId", "data-v-c578e86e"]]), A = ["disabled", "aria-label"], j = {
|
|
114
116
|
key: 2,
|
|
115
117
|
"data-testid": "pv-button-label"
|
|
116
118
|
}, M = /* @__PURE__ */ o({
|
|
@@ -302,7 +302,8 @@ var Fe = /* @__PURE__ */ d({
|
|
|
302
302
|
variant: {
|
|
303
303
|
default: "primary",
|
|
304
304
|
type: null
|
|
305
|
-
}
|
|
305
|
+
},
|
|
306
|
+
rounded: { type: Boolean }
|
|
306
307
|
},
|
|
307
308
|
setup(e) {
|
|
308
309
|
let t = e, n = r(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), i = r(() => ({
|
|
@@ -313,18 +314,19 @@ var Fe = /* @__PURE__ */ d({
|
|
|
313
314
|
"pv-badge-secondary": t.variant == "secondary",
|
|
314
315
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
315
316
|
"pv-text-tertiary": t.variant == "ghost" || t.variant == "tertiary",
|
|
316
|
-
"pv-surface": t.variant == "ghost"
|
|
317
|
+
"pv-surface": t.variant == "ghost",
|
|
318
|
+
"pv-rounded": t.rounded
|
|
317
319
|
}));
|
|
318
320
|
return (e, t) => (E(), o("div", {
|
|
319
321
|
class: y(i.value),
|
|
320
322
|
"data-testid": "pv-counter-badge"
|
|
321
323
|
}, N(n.value), 3));
|
|
322
324
|
}
|
|
323
|
-
}), Ie = ".pv-badge-md[data-v-
|
|
325
|
+
}), Ie = ".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}", Le = (e, t) => {
|
|
324
326
|
let n = e.__vccOpts || e;
|
|
325
327
|
for (let [e, r] of t) n[e] = r;
|
|
326
328
|
return n;
|
|
327
|
-
}, Re = /* @__PURE__ */ Le(Fe, [["styles", [Ie]], ["__scopeId", "data-v-
|
|
329
|
+
}, Re = /* @__PURE__ */ Le(Fe, [["styles", [Ie]], ["__scopeId", "data-v-c578e86e"]]);
|
|
328
330
|
//#endregion
|
|
329
331
|
//#region src/web-components/utils.ts
|
|
330
332
|
function ze() {
|
|
@@ -101,7 +101,8 @@ var ge = [
|
|
|
101
101
|
variant: {
|
|
102
102
|
default: "primary",
|
|
103
103
|
type: null
|
|
104
|
-
}
|
|
104
|
+
},
|
|
105
|
+
rounded: { type: Boolean }
|
|
105
106
|
},
|
|
106
107
|
setup(e) {
|
|
107
108
|
let t = e, n = r(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), i = r(() => ({
|
|
@@ -112,18 +113,19 @@ var ge = [
|
|
|
112
113
|
"pv-badge-secondary": t.variant == "secondary",
|
|
113
114
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
114
115
|
"pv-text-tertiary": t.variant == "ghost" || t.variant == "tertiary",
|
|
115
|
-
"pv-surface": t.variant == "ghost"
|
|
116
|
+
"pv-surface": t.variant == "ghost",
|
|
117
|
+
"pv-rounded": t.rounded
|
|
116
118
|
}));
|
|
117
119
|
return (e, t) => (S(), o("div", {
|
|
118
120
|
class: h(i.value),
|
|
119
121
|
"data-testid": "pv-counter-badge"
|
|
120
122
|
}, O(n.value), 3));
|
|
121
123
|
}
|
|
122
|
-
}), ye = ".pv-badge-md[data-v-
|
|
124
|
+
}), ye = ".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}", be = (e, t) => {
|
|
123
125
|
let n = e.__vccOpts || e;
|
|
124
126
|
for (let [e, r] of t) n[e] = r;
|
|
125
127
|
return n;
|
|
126
|
-
}, xe = /* @__PURE__ */ be(ve, [["styles", [ye]], ["__scopeId", "data-v-
|
|
128
|
+
}, xe = /* @__PURE__ */ be(ve, [["styles", [ye]], ["__scopeId", "data-v-c578e86e"]]), Se = ["disabled", "aria-label"], Ce = {
|
|
127
129
|
key: 2,
|
|
128
130
|
"data-testid": "pv-button-label"
|
|
129
131
|
}, we = /* @__PURE__ */ l({
|