@avenirs-esr/avenirs-dsav 0.1.81 → 0.1.82
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/dist/index.es.js
CHANGED
|
@@ -50,12 +50,12 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
50
50
|
speed: {},
|
|
51
51
|
flip: {},
|
|
52
52
|
title: {},
|
|
53
|
-
color: { default: "
|
|
53
|
+
color: { default: "currentColor" }
|
|
54
54
|
},
|
|
55
55
|
setup(e) {
|
|
56
56
|
se((i) => ({
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
v45e97e25: l(t),
|
|
58
|
+
v7f7f664e: i.color
|
|
59
59
|
}));
|
|
60
60
|
const t = y(() => `${e.size}rem`), a = y(() => e.name.replace(":", "-")), n = y(() => `--icon-${a.value}`);
|
|
61
61
|
return (i, r) => (u(), m("div", {
|
|
@@ -81,7 +81,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
81
81
|
}, null, 4)
|
|
82
82
|
], 14, Wa));
|
|
83
83
|
}
|
|
84
|
-
}), ne = /* @__PURE__ */ j(Ua, [["__scopeId", "data-v-
|
|
84
|
+
}), ne = /* @__PURE__ */ j(Ua, [["__scopeId", "data-v-23d1357f"]]), R = {
|
|
85
85
|
ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
|
|
86
86
|
ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
|
|
87
87
|
ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
|
|
@@ -243,7 +243,7 @@ const Ba = ["title"], Pa = /* @__PURE__ */ Q({
|
|
|
243
243
|
_: 1
|
|
244
244
|
}, 16, ["disabled", "class", "aria-pressed", "style"]));
|
|
245
245
|
}
|
|
246
|
-
}), Ha = /* @__PURE__ */ j(Va, [["__scopeId", "data-v-
|
|
246
|
+
}), Ha = /* @__PURE__ */ j(Va, [["__scopeId", "data-v-e2fe874d"]]), Za = /* @__PURE__ */ Q({
|
|
247
247
|
__name: "AvIconText",
|
|
248
248
|
props: {
|
|
249
249
|
textColor: { default: "var(--text1)" },
|
|
@@ -546,7 +546,7 @@ const An = ["title", "disabled", "aria-disabled", "aria-label"], un = /* @__PURE
|
|
|
546
546
|
], 14, An);
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
|
-
}), oe = /* @__PURE__ */ j(un, [["__scopeId", "data-v-
|
|
549
|
+
}), oe = /* @__PURE__ */ j(un, [["__scopeId", "data-v-031c6d29"]]), dn = ["id", "role"], fn = { class: "av-alert__container" }, vn = { class: "av-alert__content" }, In = { class: "av-alert__title" }, mn = {
|
|
550
550
|
key: 0,
|
|
551
551
|
class: "s2-bold"
|
|
552
552
|
}, gn = { class: "b1-regular" }, bn = /* @__PURE__ */ Q({
|
|
@@ -3651,7 +3651,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3651
3651
|
emits: ["update:modelValue"],
|
|
3652
3652
|
setup(e, { expose: t, emit: a }) {
|
|
3653
3653
|
se((g) => ({
|
|
3654
|
-
|
|
3654
|
+
v1a9de3ee: g.width
|
|
3655
3655
|
}));
|
|
3656
3656
|
const n = a, i = y(() => e.id ?? `input-${crypto.randomUUID()}`), r = y(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), o = y(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), s = y(() => !!e.errorMessage), c = y(() => d(e.minDate)), A = y(() => d(e.maxDate));
|
|
3657
3657
|
function d(g) {
|
|
@@ -3742,7 +3742,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3742
3742
|
], 2);
|
|
3743
3743
|
};
|
|
3744
3744
|
}
|
|
3745
|
-
}), Nt = /* @__PURE__ */ j(Tr, [["__scopeId", "data-v-
|
|
3745
|
+
}), Nt = /* @__PURE__ */ j(Tr, [["__scopeId", "data-v-372e86b4"]]), Dr = {
|
|
3746
3746
|
class: "av-search-bar",
|
|
3747
3747
|
role: "search"
|
|
3748
3748
|
}, Lr = /* @__PURE__ */ Q({
|
|
@@ -3925,7 +3925,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3925
3925
|
},
|
|
3926
3926
|
setup(e) {
|
|
3927
3927
|
se((g) => ({
|
|
3928
|
-
|
|
3928
|
+
v67603a32: l(n)
|
|
3929
3929
|
}));
|
|
3930
3930
|
const t = e, {
|
|
3931
3931
|
label: a,
|
|
@@ -3979,7 +3979,7 @@ const gr = { class: "av-input__wrapper" }, br = {
|
|
|
3979
3979
|
]))), 128))
|
|
3980
3980
|
]));
|
|
3981
3981
|
}
|
|
3982
|
-
}), Wr = /* @__PURE__ */ j(Pr, [["__scopeId", "data-v-
|
|
3982
|
+
}), Wr = /* @__PURE__ */ j(Pr, [["__scopeId", "data-v-f6ec3112"]]);
|
|
3983
3983
|
var ga = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(ga || {});
|
|
3984
3984
|
const DA = [
|
|
3985
3985
|
4,
|
|
@@ -5158,7 +5158,7 @@ const ts = ["id", "aria-labelledby", "tabindex"], as = /* @__PURE__ */ Q({
|
|
|
5158
5158
|
], 2);
|
|
5159
5159
|
};
|
|
5160
5160
|
}
|
|
5161
|
-
}), rs = /* @__PURE__ */ j(ls, [["__scopeId", "data-v-
|
|
5161
|
+
}), rs = /* @__PURE__ */ j(ls, [["__scopeId", "data-v-e92501ec"]]);
|
|
5162
5162
|
function os(e, t, a) {
|
|
5163
5163
|
const n = U({ "--tabs-height": "100px" });
|
|
5164
5164
|
function i() {
|
|
@@ -6094,7 +6094,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6094
6094
|
], 8, Mc);
|
|
6095
6095
|
};
|
|
6096
6096
|
}
|
|
6097
|
-
}), WA = /* @__PURE__ */ j(Bc, [["__scopeId", "data-v-
|
|
6097
|
+
}), WA = /* @__PURE__ */ j(Bc, [["__scopeId", "data-v-3cc7cb33"]]);
|
|
6098
6098
|
function UA(e) {
|
|
6099
6099
|
return Array.from({ length: e.value }, (t, a) => {
|
|
6100
6100
|
const n = a + 1;
|
|
@@ -6580,7 +6580,7 @@ const nA = {
|
|
|
6580
6580
|
]);
|
|
6581
6581
|
};
|
|
6582
6582
|
}
|
|
6583
|
-
}), RA = /* @__PURE__ */ j(dA, [["__scopeId", "data-v-
|
|
6583
|
+
}), RA = /* @__PURE__ */ j(dA, [["__scopeId", "data-v-ee582c9f"]]);
|
|
6584
6584
|
export {
|
|
6585
6585
|
ai as AV_BREAKPOINTS,
|
|
6586
6586
|
CA as AvAccordion,
|
package/dist/test-utils.cjs.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<slot />
|
|
16
16
|
</button>
|
|
17
17
|
</div>
|
|
18
|
-
`,setup(n){const t=e.inject(l.registerAccordionKey);if(!t){const o=e.ref(!1);return{isActive:o,expand:()=>{o.value=!o.value}}}const{isActive:i,expand:a}=t(e.toRef(n,"title"));return{isActive:i,expand:a}}}),v=e.defineComponent({name:"AvButton",props:["label","variant","type","disabled","isLoading","small"],emits:["click"],template:`
|
|
18
|
+
`,setup(n){const t=e.inject(l.registerAccordionKey);if(!t){const o=e.ref(!1);return{isActive:o,expand:()=>{o.value=!o.value}}}const{isActive:i,expand:a}=t(e.toRef(n,"title"));return{isActive:i,expand:a}}}),v=e.defineComponent({name:"AvButton",props:["label","icon","variant","type","disabled","isLoading","small"],emits:["click"],template:`
|
|
19
19
|
<button
|
|
20
20
|
class="av-button-stub"
|
|
21
21
|
:disabled="disabled"
|
package/dist/test-utils.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, inject as
|
|
1
|
+
import { defineComponent as e, inject as l, ref as s, toRef as c } from "vue";
|
|
2
2
|
import { r } from "./injection-key.es.js";
|
|
3
3
|
import "@vue/test-utils";
|
|
4
4
|
const m = e({
|
|
@@ -68,19 +68,19 @@ const m = e({
|
|
|
68
68
|
</div>
|
|
69
69
|
`,
|
|
70
70
|
setup(a) {
|
|
71
|
-
const t =
|
|
71
|
+
const t = l(r);
|
|
72
72
|
if (!t) {
|
|
73
73
|
const i = s(!1);
|
|
74
74
|
return { isActive: i, expand: () => {
|
|
75
75
|
i.value = !i.value;
|
|
76
76
|
} };
|
|
77
77
|
}
|
|
78
|
-
const { isActive: o, expand:
|
|
79
|
-
return { isActive: o, expand:
|
|
78
|
+
const { isActive: o, expand: n } = t(c(a, "title"));
|
|
79
|
+
return { isActive: o, expand: n };
|
|
80
80
|
}
|
|
81
81
|
}), h = e({
|
|
82
82
|
name: "AvButton",
|
|
83
|
-
props: ["label", "variant", "type", "disabled", "isLoading", "small"],
|
|
83
|
+
props: ["label", "icon", "variant", "type", "disabled", "isLoading", "small"],
|
|
84
84
|
emits: ["click"],
|
|
85
85
|
template: `
|
|
86
86
|
<button
|