@useinsider/ab-components 0.0.105 → 0.0.106-beta.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/dist/ab-components.cjs.js +2 -2
- package/dist/ab-components.cjs.js.map +1 -1
- package/dist/ab-components.css +1 -1
- package/dist/ab-components.es.js +131 -127
- package/dist/ab-components.es.js.map +1 -1
- package/dist/ab-components.iife.js +2 -2
- package/dist/ab-components.iife.js.map +1 -1
- package/dist/ab-components.umd.js +2 -2
- package/dist/ab-components.umd.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/ab-components.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, computed as k, openBlock as p, createElementBlock as f, normalizeClass as g, createBlock as J, unref as c, createCommentVNode as V, toDisplayString as H, createElementVNode as
|
|
1
|
+
import { defineComponent as G, computed as k, openBlock as p, createElementBlock as f, normalizeClass as g, createBlock as J, unref as c, createCommentVNode as V, toDisplayString as H, createElementVNode as C, createVNode as Z, renderSlot as ce, Fragment as ie, renderList as me, normalizeStyle as se, ref as P, watch as le, onMounted as Ge, nextTick as lt, reactive as Ut, withDirectives as ft, withModifiers as rt, vModelText as wn, vShow as an, shallowRef as yn, getCurrentScope as xn, onScopeDispose as kn, shallowReadonly as We, onBeforeUnmount as ut, Teleport as ln, resolveDynamicComponent as An, withCtx as he, createTextVNode as ot, useCssVars as Cn, Transition as sn, onBeforeMount as Bn } from "vue";
|
|
2
2
|
const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8", $n = "_button_1lulf_1", Mn = "_button__label_1lulf_60", Tn = "_button__solid_1lulf_72", Vn = "_fill_1lulf_1335", De = {
|
|
3
3
|
button__size_default: Sn,
|
|
4
4
|
button__size_small: In,
|
|
@@ -152,7 +152,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
152
152
|
size: 24
|
|
153
153
|
}, null, 8, ["class", "name"])) : V("", !0)
|
|
154
154
|
], 2)) : V("", !0),
|
|
155
|
-
|
|
155
|
+
C("span", {
|
|
156
156
|
class: g(c(Ve).chip__label)
|
|
157
157
|
}, H(i.label), 3),
|
|
158
158
|
i.removable ? (p(), f("button", {
|
|
@@ -207,7 +207,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
207
207
|
]),
|
|
208
208
|
for: a.id
|
|
209
209
|
}, [
|
|
210
|
-
|
|
210
|
+
C("input", {
|
|
211
211
|
id: a.id,
|
|
212
212
|
type: "checkbox",
|
|
213
213
|
checked: l.value,
|
|
@@ -217,7 +217,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
217
217
|
value: a.value,
|
|
218
218
|
onChange: r
|
|
219
219
|
}, null, 42, Yn),
|
|
220
|
-
|
|
220
|
+
C("span", {
|
|
221
221
|
class: g(c(Ue).checkbox__box)
|
|
222
222
|
}, [
|
|
223
223
|
l.value ? (p(), J(c(X), {
|
|
@@ -254,7 +254,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
254
254
|
return (n, l) => (p(), f("div", {
|
|
255
255
|
class: g(t.value)
|
|
256
256
|
}, [
|
|
257
|
-
|
|
257
|
+
C("div", {
|
|
258
258
|
class: g(c(dt).colorPreview__container)
|
|
259
259
|
}, [
|
|
260
260
|
(p(!0), f(ie, null, me(n.colors, (r, a) => (p(), f("div", {
|
|
@@ -346,16 +346,16 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
346
346
|
const m = _.target, { selectionStart: M } = m;
|
|
347
347
|
if (M === null)
|
|
348
348
|
return;
|
|
349
|
-
const I = M - 1, { value:
|
|
350
|
-
_.target.value =
|
|
349
|
+
const I = M - 1, { value: A } = _.target, O = $(), U = [...A.matchAll(O)].map((Q) => Q.index);
|
|
350
|
+
_.target.value = A.replace(O, ""), U.length > 0 && I >= 0 && m.setSelectionRange(I, I);
|
|
351
351
|
}, S = (_) => {
|
|
352
352
|
if (!(_ != null && _.target))
|
|
353
353
|
return;
|
|
354
354
|
const { value: m } = _.target, M = _.target, { selectionStart: I } = M;
|
|
355
355
|
if (I === null)
|
|
356
356
|
return;
|
|
357
|
-
const
|
|
358
|
-
U.length > 1 &&
|
|
357
|
+
const A = I - 1, O = b(), U = [...m.matchAll(O)].map((ae) => ae.index), Q = m.split("");
|
|
358
|
+
U.length > 1 && A >= 0 && (Q[A] = ""), _.target.value = Q.join(""), U.length > 1 && A >= 0 && M.setSelectionRange(A, A);
|
|
359
359
|
}, w = (_) => {
|
|
360
360
|
n("keyup", _);
|
|
361
361
|
}, y = (_) => {
|
|
@@ -405,7 +405,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
405
405
|
const m = _.target, M = m.selectionStart, I = m.selectionEnd;
|
|
406
406
|
if (M === null || I === null)
|
|
407
407
|
return;
|
|
408
|
-
const { value:
|
|
408
|
+
const { value: A } = m, O = A.includes(".") || A.includes(","), U = ((Y = _.clipboardData) == null ? void 0 : Y.getData("text/plain")) || "", Q = b(), ae = $();
|
|
409
409
|
let ne = U.replace(ae, "");
|
|
410
410
|
const Ze = [...ne.matchAll(Q)], de = [];
|
|
411
411
|
Ze.forEach((oe) => {
|
|
@@ -415,7 +415,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
415
415
|
O || de.shift(), de.forEach((oe) => {
|
|
416
416
|
ve[oe] = "";
|
|
417
417
|
}), ne = ve.join("");
|
|
418
|
-
const B = M + ne.length, K =
|
|
418
|
+
const B = M + ne.length, K = A.slice(0, M) + ne + A.slice(I);
|
|
419
419
|
m.value = K, m.setSelectionRange(B, B), l.value = K, n("input", K), n("update:modelValue", K);
|
|
420
420
|
}, h = (_) => {
|
|
421
421
|
n("leftIconClick", _);
|
|
@@ -454,9 +454,9 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
454
454
|
class: "in-basic-text-input-wrapper__label",
|
|
455
455
|
for: _.id
|
|
456
456
|
}, [
|
|
457
|
-
|
|
457
|
+
C("span", { innerHTML: r.value }, null, 8, Jn)
|
|
458
458
|
], 8, Zn)) : V("", !0),
|
|
459
|
-
|
|
459
|
+
C("div", eo, [
|
|
460
460
|
_.$slots.leftSlot ? (p(), f("div", to, [
|
|
461
461
|
ce(_.$slots, "leftSlot", {}, void 0, !0)
|
|
462
462
|
])) : V("", !0),
|
|
@@ -467,7 +467,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
467
467
|
size: 24,
|
|
468
468
|
onClick: h
|
|
469
469
|
}, null, 8, ["name"])) : V("", !0),
|
|
470
|
-
|
|
470
|
+
C("input", {
|
|
471
471
|
id: _.id,
|
|
472
472
|
ref_key: "textInput",
|
|
473
473
|
ref: N,
|
|
@@ -542,7 +542,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
542
542
|
onClick: l[0] || (l[0] = (r) => n.$emit("click"))
|
|
543
543
|
}, [
|
|
544
544
|
n.isTransparent || t.value ? (p(), f("div", co, [
|
|
545
|
-
l[1] || (l[1] =
|
|
545
|
+
l[1] || (l[1] = C("div", { class: "color-swatch__checkerboard" }, null, -1)),
|
|
546
546
|
t.value ? (p(), f("div", {
|
|
547
547
|
key: 0,
|
|
548
548
|
class: "color-swatch__color-overlay",
|
|
@@ -599,21 +599,21 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
599
599
|
emits: ["color-change", "close"],
|
|
600
600
|
setup(e, { emit: o }) {
|
|
601
601
|
const t = e, n = o, l = P(0), r = P(0), a = P(0.4), i = P(1), s = P("666666"), u = P([]), d = P(!1), v = P(null), x = P(null), b = P(null), $ = k(() => {
|
|
602
|
-
const m = t.presetColors || [], M = [], I = 11,
|
|
602
|
+
const m = t.presetColors || [], M = [], I = 11, A = t.firstRowCount;
|
|
603
603
|
if (m.length === 0)
|
|
604
604
|
return M;
|
|
605
|
-
M.push(m.slice(0,
|
|
606
|
-
for (let O =
|
|
605
|
+
M.push(m.slice(0, A));
|
|
606
|
+
for (let O = A; O < m.length; O += I)
|
|
607
607
|
M.push(m.slice(O, O + I));
|
|
608
608
|
return M;
|
|
609
609
|
}), T = k(() => {
|
|
610
610
|
const m = l.value, M = 1 - Math.abs(m * 6 % 2 - 1);
|
|
611
|
-
let I = 0,
|
|
612
|
-
return m < 1 / 6 ? (I = 1,
|
|
611
|
+
let I = 0, A = 0, O = 0;
|
|
612
|
+
return m < 1 / 6 ? (I = 1, A = M) : m < 2 / 6 ? (I = M, A = 1) : m < 3 / 6 ? (A = 1, O = M) : m < 4 / 6 ? (A = M, O = 1) : m < 5 / 6 ? (I = M, O = 1) : (I = 1, O = M), `rgb(${Math.round(I * 255)}, ${Math.round(A * 255)}, ${Math.round(O * 255)})`;
|
|
613
613
|
}), S = k(() => {
|
|
614
|
-
const m = l.value, M = r.value, I = a.value,
|
|
614
|
+
const m = l.value, M = r.value, I = a.value, A = I * M, O = A * (1 - Math.abs(m * 6 % 2 - 1)), U = I - A;
|
|
615
615
|
let Q = 0, ae = 0, ne = 0;
|
|
616
|
-
return m < 1 / 6 ? (Q =
|
|
616
|
+
return m < 1 / 6 ? (Q = A, ae = O) : m < 2 / 6 ? (Q = O, ae = A) : m < 3 / 6 ? (ae = A, ne = O) : m < 4 / 6 ? (ae = O, ne = A) : m < 5 / 6 ? (Q = O, ne = A) : (Q = A, ne = O), Q = Math.round((Q + U) * 255), ae = Math.round((ae + U) * 255), ne = Math.round((ne + U) * 255), `rgb(${Q}, ${ae}, ${ne})`;
|
|
617
617
|
}), w = k(() => {
|
|
618
618
|
const m = S.value.match(/\d+/g);
|
|
619
619
|
return m ? i.value < 1 ? `rgba(${m[0]}, ${m[1]}, ${m[2]}, ${i.value})` : `rgb(${m[0]}, ${m[1]}, ${m[2]})` : S.value;
|
|
@@ -654,10 +654,10 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
654
654
|
M(m);
|
|
655
655
|
const I = (O) => {
|
|
656
656
|
M(O);
|
|
657
|
-
},
|
|
658
|
-
document.removeEventListener("mousemove", I), document.removeEventListener("mouseup",
|
|
657
|
+
}, A = () => {
|
|
658
|
+
document.removeEventListener("mousemove", I), document.removeEventListener("mouseup", A);
|
|
659
659
|
};
|
|
660
|
-
document.addEventListener("mousemove", I), document.addEventListener("mouseup",
|
|
660
|
+
document.addEventListener("mousemove", I), document.addEventListener("mouseup", A);
|
|
661
661
|
}
|
|
662
662
|
function R(m) {
|
|
663
663
|
const M = (O) => {
|
|
@@ -669,10 +669,10 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
669
669
|
M(m);
|
|
670
670
|
const I = (O) => {
|
|
671
671
|
M(O);
|
|
672
|
-
},
|
|
673
|
-
document.removeEventListener("mousemove", I), document.removeEventListener("mouseup",
|
|
672
|
+
}, A = () => {
|
|
673
|
+
document.removeEventListener("mousemove", I), document.removeEventListener("mouseup", A);
|
|
674
674
|
};
|
|
675
|
-
document.addEventListener("mousemove", I), document.addEventListener("mouseup",
|
|
675
|
+
document.addEventListener("mousemove", I), document.addEventListener("mouseup", A);
|
|
676
676
|
}
|
|
677
677
|
function F(m) {
|
|
678
678
|
const M = (O) => {
|
|
@@ -684,10 +684,10 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
684
684
|
M(m);
|
|
685
685
|
const I = (O) => {
|
|
686
686
|
M(O);
|
|
687
|
-
},
|
|
688
|
-
document.removeEventListener("mousemove", I), document.removeEventListener("mouseup",
|
|
687
|
+
}, A = () => {
|
|
688
|
+
document.removeEventListener("mousemove", I), document.removeEventListener("mouseup", A);
|
|
689
689
|
};
|
|
690
|
-
document.addEventListener("mousemove", I), document.addEventListener("mouseup",
|
|
690
|
+
document.addEventListener("mousemove", I), document.addEventListener("mouseup", A);
|
|
691
691
|
}
|
|
692
692
|
function j(m) {
|
|
693
693
|
const M = t.showOpacityInHex ? 8 : 6, I = String(m).replace(/[^0-9A-Fa-f]/g, "").slice(0, M).toUpperCase();
|
|
@@ -695,15 +695,15 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
695
695
|
}
|
|
696
696
|
function z(m) {
|
|
697
697
|
var O;
|
|
698
|
-
const M = ((O = m.clipboardData) == null ? void 0 : O.getData("text")) || "", I = t.showOpacityInHex ? 8 : 6,
|
|
699
|
-
t.showOpacityInHex ?
|
|
698
|
+
const M = ((O = m.clipboardData) == null ? void 0 : O.getData("text")) || "", I = t.showOpacityInHex ? 8 : 6, A = M.replace(/^#/, "").replace(/[^0-9A-Fa-f]/g, "").slice(0, I).toUpperCase();
|
|
699
|
+
t.showOpacityInHex ? A.length === 6 || A.length === 8 ? (s.value = A, h(A), m.preventDefault()) : A.length > 0 && (s.value = A, m.preventDefault()) : A.length === 6 ? (s.value = A, h(A), m.preventDefault()) : A.length > 0 && (s.value = A, m.preventDefault());
|
|
700
700
|
}
|
|
701
701
|
function q() {
|
|
702
702
|
const m = t.showOpacityInHex ? 8 : 6;
|
|
703
703
|
s.value.length !== m && y();
|
|
704
704
|
}
|
|
705
705
|
function h(m) {
|
|
706
|
-
const M = m.startsWith("#") ? m.slice(1) : m, I = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(M),
|
|
706
|
+
const M = m.startsWith("#") ? m.slice(1) : m, I = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(M), A = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(M), O = A || I;
|
|
707
707
|
if (!O) {
|
|
708
708
|
const Y = /rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/.exec(m);
|
|
709
709
|
if (Y) {
|
|
@@ -717,7 +717,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
717
717
|
return;
|
|
718
718
|
}
|
|
719
719
|
const U = parseInt(O[1], 16) / 255, Q = parseInt(O[2], 16) / 255, ae = parseInt(O[3], 16) / 255;
|
|
720
|
-
|
|
720
|
+
A && O[4] ? i.value = parseInt(O[4], 16) / 255 : i.value = 1;
|
|
721
721
|
const ne = Math.max(U, Q, ae), Ze = Math.min(U, Q, ae), de = ne - Ze;
|
|
722
722
|
let ve = 0;
|
|
723
723
|
de !== 0 && (ne === U ? ve = ((Q - ae) / de + (Q < ae ? 6 : 0)) / 6 : ne === Q ? ve = ((ae - U) / de + 2) / 6 : ve = ((U - Q) / de + 4) / 6);
|
|
@@ -733,7 +733,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
733
733
|
const m = S.value.match(/\d+/g);
|
|
734
734
|
if (!m)
|
|
735
735
|
return "ffffff";
|
|
736
|
-
const M = m.map((
|
|
736
|
+
const M = m.map((A) => parseInt(A).toString(16).padStart(2, "0")).join("").toUpperCase(), I = Math.round(i.value * 255).toString(16).padStart(2, "0").toUpperCase();
|
|
737
737
|
return `#${M}${I}`;
|
|
738
738
|
}
|
|
739
739
|
function W() {
|
|
@@ -747,18 +747,18 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
747
747
|
s.value = "", i.value = 0, l.value = 0, r.value = 0, a.value = 0.4, n("color-change", "transparent");
|
|
748
748
|
}
|
|
749
749
|
return (m, M) => (p(), f("div", _o, [
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
750
|
+
C("div", fo, [
|
|
751
|
+
C("div", mo, [
|
|
752
|
+
C("h3", ho, H(m.title), 1)
|
|
753
753
|
]),
|
|
754
754
|
m.$slots.tabs ? (p(), f("div", vo, [
|
|
755
755
|
ce(m.$slots, "tabs", {}, void 0, !0)
|
|
756
756
|
])) : V("", !0)
|
|
757
757
|
]),
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
758
|
+
C("div", go, [
|
|
759
|
+
C("div", bo, [
|
|
760
|
+
C("div", wo, [
|
|
761
|
+
C("div", {
|
|
762
762
|
ref_key: "colorPickerRef",
|
|
763
763
|
ref: v,
|
|
764
764
|
class: "color-picker__color-canvas",
|
|
@@ -768,41 +768,41 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
768
768
|
}),
|
|
769
769
|
onMousedown: E
|
|
770
770
|
}, [
|
|
771
|
-
|
|
771
|
+
C("div", {
|
|
772
772
|
class: "color-picker__color-indicator",
|
|
773
773
|
style: se({ left: `${r.value * 100}%`, top: `${(1 - a.value) * 100}%` })
|
|
774
774
|
}, null, 4)
|
|
775
775
|
], 36)
|
|
776
776
|
]),
|
|
777
|
-
|
|
778
|
-
|
|
777
|
+
C("div", yo, [
|
|
778
|
+
C("div", {
|
|
779
779
|
ref_key: "hueSliderRef",
|
|
780
780
|
ref: x,
|
|
781
781
|
class: "color-picker__hue-slider",
|
|
782
782
|
onMousedown: R
|
|
783
783
|
}, [
|
|
784
|
-
|
|
784
|
+
C("div", {
|
|
785
785
|
class: "color-picker__hue-indicator",
|
|
786
786
|
style: se({ top: `${l.value * 100}%` })
|
|
787
787
|
}, null, 4)
|
|
788
788
|
], 544)
|
|
789
789
|
])
|
|
790
790
|
]),
|
|
791
|
-
|
|
792
|
-
|
|
791
|
+
C("div", xo, [
|
|
792
|
+
C("div", {
|
|
793
793
|
ref_key: "opacitySliderRef",
|
|
794
794
|
ref: b,
|
|
795
795
|
class: "color-picker__opacity-slider",
|
|
796
796
|
onMousedown: F
|
|
797
797
|
}, [
|
|
798
|
-
M[1] || (M[1] =
|
|
799
|
-
|
|
798
|
+
M[1] || (M[1] = C("div", { class: "color-picker__opacity-checkerboard" }, null, -1)),
|
|
799
|
+
C("div", {
|
|
800
800
|
class: "color-picker__opacity-gradient",
|
|
801
801
|
style: se({
|
|
802
802
|
background: `linear-gradient(to right, ${S.value}, transparent)`
|
|
803
803
|
})
|
|
804
804
|
}, null, 4),
|
|
805
|
-
|
|
805
|
+
C("div", {
|
|
806
806
|
class: "color-picker__opacity-handle",
|
|
807
807
|
style: se({
|
|
808
808
|
left: `${(1 - i.value) * 100}%`
|
|
@@ -810,7 +810,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
810
810
|
}, null, 4)
|
|
811
811
|
], 544)
|
|
812
812
|
]),
|
|
813
|
-
|
|
813
|
+
C("div", ko, [
|
|
814
814
|
Z(it, {
|
|
815
815
|
id: "color-picker-hex-input",
|
|
816
816
|
name: "hex-input",
|
|
@@ -825,11 +825,11 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
825
825
|
onPaste: z
|
|
826
826
|
}, null, 8, ["modelValue"])
|
|
827
827
|
]),
|
|
828
|
-
(p(!0), f(ie, null, me($.value, (I,
|
|
829
|
-
key: `preset-row-${
|
|
828
|
+
(p(!0), f(ie, null, me($.value, (I, A) => (p(), f("div", {
|
|
829
|
+
key: `preset-row-${A}`,
|
|
830
830
|
class: "color-picker__preset-row"
|
|
831
831
|
}, [
|
|
832
|
-
|
|
832
|
+
A === 0 ? (p(), f("div", {
|
|
833
833
|
key: 0,
|
|
834
834
|
class: "color-picker__no-color",
|
|
835
835
|
onClick: _
|
|
@@ -840,14 +840,14 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
840
840
|
})
|
|
841
841
|
])) : V("", !0),
|
|
842
842
|
(p(!0), f(ie, null, me(I, (O, U) => (p(), J(qt, {
|
|
843
|
-
key: `preset-${
|
|
843
|
+
key: `preset-${A}-${U}`,
|
|
844
844
|
color: O,
|
|
845
845
|
"is-transparent": O === "transparent",
|
|
846
846
|
onClick: (Q) => O === "transparent" ? L(0) : h(O)
|
|
847
847
|
}, null, 8, ["color", "is-transparent", "onClick"]))), 128))
|
|
848
848
|
]))), 128)),
|
|
849
849
|
$.value.length === 0 ? (p(), f("div", Ao, [
|
|
850
|
-
|
|
850
|
+
C("div", {
|
|
851
851
|
class: "color-picker__no-color",
|
|
852
852
|
onClick: _
|
|
853
853
|
}, [
|
|
@@ -858,18 +858,18 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
858
858
|
])
|
|
859
859
|
])) : V("", !0),
|
|
860
860
|
m.showSaveButton && u.value.length > 0 ? (p(), f("div", Co, [
|
|
861
|
-
(p(!0), f(ie, null, me(u.value, (I,
|
|
862
|
-
key: `saved-${
|
|
861
|
+
(p(!0), f(ie, null, me(u.value, (I, A) => (p(), J(qt, {
|
|
862
|
+
key: `saved-${A}`,
|
|
863
863
|
color: I,
|
|
864
864
|
onClick: (O) => te(I)
|
|
865
865
|
}, null, 8, ["color", "onClick"]))), 128)),
|
|
866
|
-
|
|
866
|
+
C("button", {
|
|
867
867
|
class: "color-picker__save-button",
|
|
868
868
|
title: "Save current color",
|
|
869
869
|
onClick: W
|
|
870
870
|
})
|
|
871
871
|
])) : m.showSaveButton ? (p(), f("div", Bo, [
|
|
872
|
-
|
|
872
|
+
C("button", {
|
|
873
873
|
class: "color-picker__save-button",
|
|
874
874
|
title: "Save current color",
|
|
875
875
|
onClick: W
|
|
@@ -878,7 +878,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
878
878
|
])
|
|
879
879
|
]));
|
|
880
880
|
}
|
|
881
|
-
}), Hs = /* @__PURE__ */ fe(So, [["__scopeId", "data-v-
|
|
881
|
+
}), Hs = /* @__PURE__ */ fe(So, [["__scopeId", "data-v-8af9dd2c"]]), rn = {
|
|
882
882
|
mounted(e, o) {
|
|
883
883
|
e.clickOutsideEvent = (n) => {
|
|
884
884
|
const l = (o.value.exclude || []).filter((a) => a.value).map((a) => a.value);
|
|
@@ -1009,7 +1009,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
1009
1009
|
);
|
|
1010
1010
|
const q = P({ handler: w, exclude: [r, a] });
|
|
1011
1011
|
return (h, L) => (p(), f(ie, null, [
|
|
1012
|
-
|
|
1012
|
+
C("div", {
|
|
1013
1013
|
ref_key: "dropdownRef",
|
|
1014
1014
|
ref: r,
|
|
1015
1015
|
class: g(c(re).dropdown)
|
|
@@ -1019,7 +1019,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
1019
1019
|
class: g(c(re).dropdown__label),
|
|
1020
1020
|
for: h.id
|
|
1021
1021
|
}, H(h.label), 11, Wo)) : V("", !0),
|
|
1022
|
-
|
|
1022
|
+
C("button", {
|
|
1023
1023
|
class: g([
|
|
1024
1024
|
c(re).dropdown__valueContent,
|
|
1025
1025
|
{
|
|
@@ -1028,7 +1028,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
1028
1028
|
]),
|
|
1029
1029
|
onClick: T
|
|
1030
1030
|
}, [
|
|
1031
|
-
|
|
1031
|
+
C("span", {
|
|
1032
1032
|
class: g(c(re).dropdown__value)
|
|
1033
1033
|
}, H(z.value), 3),
|
|
1034
1034
|
h.placeholder && !z.value ? (p(), f("span", {
|
|
@@ -1043,7 +1043,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
1043
1043
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1044
1044
|
class: g(c(re).dropdown__arrowIcon)
|
|
1045
1045
|
}, L[2] || (L[2] = [
|
|
1046
|
-
|
|
1046
|
+
C("path", {
|
|
1047
1047
|
d: "M8 11.2021L4.5359 6.70215L11.4641 6.70215L8 11.2021Z",
|
|
1048
1048
|
fill: "#91949F"
|
|
1049
1049
|
}, null, -1)
|
|
@@ -1062,10 +1062,10 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
1062
1062
|
key: 0,
|
|
1063
1063
|
class: g(c(re).menu__searchContainer)
|
|
1064
1064
|
}, [
|
|
1065
|
-
|
|
1065
|
+
C("div", {
|
|
1066
1066
|
class: g(c(re).menu__searchInputWrap)
|
|
1067
1067
|
}, [
|
|
1068
|
-
ft(
|
|
1068
|
+
ft(C("input", {
|
|
1069
1069
|
type: "text",
|
|
1070
1070
|
class: g([
|
|
1071
1071
|
c(re).menu__searchInput,
|
|
@@ -1091,7 +1091,7 @@ const Sn = "_button__size_default_1lulf_1", In = "_button__size_small_1lulf_8",
|
|
|
1091
1091
|
onClick: E
|
|
1092
1092
|
}, H(h.addButtonText), 3)) : V("", !0)
|
|
1093
1093
|
], 2)) : V("", !0),
|
|
1094
|
-
|
|
1094
|
+
C("ul", {
|
|
1095
1095
|
class: g(c(re).menu__itemContainer)
|
|
1096
1096
|
}, [
|
|
1097
1097
|
(p(!0), f(ie, null, me(x, (N, W) => (p(), f("li", {
|
|
@@ -1251,7 +1251,7 @@ const Qo = ["fill", "height", "width"], Yo = ["xlink:href"], Go = ["fill", "heig
|
|
|
1251
1251
|
style: se({ color: a.value }),
|
|
1252
1252
|
width: t.value
|
|
1253
1253
|
}, [
|
|
1254
|
-
|
|
1254
|
+
C("use", {
|
|
1255
1255
|
"xlink:href": `#${s.name}`
|
|
1256
1256
|
}, null, 8, Yo)
|
|
1257
1257
|
], 12, Qo));
|
|
@@ -1325,7 +1325,7 @@ const Qo = ["fill", "height", "width"], Yo = ["xlink:href"], Go = ["fill", "heig
|
|
|
1325
1325
|
c(ue)[n.value]
|
|
1326
1326
|
])
|
|
1327
1327
|
}, [
|
|
1328
|
-
|
|
1328
|
+
C("div", {
|
|
1329
1329
|
class: g([
|
|
1330
1330
|
c(ue)["in-info-box__container"],
|
|
1331
1331
|
{ [c(ue)["in-info-box__container-full-width"]]: a.fullWidthContentStatus }
|
|
@@ -1338,7 +1338,7 @@ const Qo = ["fill", "height", "width"], Yo = ["xlink:href"], Go = ["fill", "heig
|
|
|
1338
1338
|
{ [c(ue)["in-info-box__heading-wrapper-full-width"]]: a.fullWidthContentStatus }
|
|
1339
1339
|
])
|
|
1340
1340
|
}, [
|
|
1341
|
-
|
|
1341
|
+
C("div", {
|
|
1342
1342
|
class: g([
|
|
1343
1343
|
c(ue)["in-info-box__heading"],
|
|
1344
1344
|
c(ue)[`in-info-box__heading-${r.value}`],
|
|
@@ -1355,7 +1355,7 @@ const Qo = ["fill", "height", "width"], Yo = ["xlink:href"], Go = ["fill", "heig
|
|
|
1355
1355
|
innerHTML: a.descriptionText
|
|
1356
1356
|
}, null, 10, ea)) : V("", !0)
|
|
1357
1357
|
], 2)) : V("", !0),
|
|
1358
|
-
|
|
1358
|
+
C("div", {
|
|
1359
1359
|
class: g(c(ue)["in-info-box__content"])
|
|
1360
1360
|
}, [
|
|
1361
1361
|
ce(a.$slots, "default")
|
|
@@ -1700,7 +1700,7 @@ const pa = (e) => ({
|
|
|
1700
1700
|
const _ = (((N = r.flip) == null ? void 0 : N.index) || 0) + 1, m = z[_];
|
|
1701
1701
|
if (m && (!(v === "alignment" ? y !== Te(m) : !1) || // We leave the current main axis only if every placement on that axis
|
|
1702
1702
|
// overflows the main axis.
|
|
1703
|
-
L.every((
|
|
1703
|
+
L.every((A) => Te(A.placement) === y ? A.overflows[0] > 0 : !0)))
|
|
1704
1704
|
return {
|
|
1705
1705
|
data: {
|
|
1706
1706
|
index: _,
|
|
@@ -1710,20 +1710,20 @@ const pa = (e) => ({
|
|
|
1710
1710
|
placement: m
|
|
1711
1711
|
}
|
|
1712
1712
|
};
|
|
1713
|
-
let M = (W = L.filter((I) => I.overflows[0] <= 0).sort((I,
|
|
1713
|
+
let M = (W = L.filter((I) => I.overflows[0] <= 0).sort((I, A) => I.overflows[1] - A.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
1714
1714
|
if (!M)
|
|
1715
1715
|
switch (b) {
|
|
1716
1716
|
case "bestFit": {
|
|
1717
1717
|
var te;
|
|
1718
|
-
const I = (te = L.filter((
|
|
1718
|
+
const I = (te = L.filter((A) => {
|
|
1719
1719
|
if (j) {
|
|
1720
|
-
const O = Te(
|
|
1720
|
+
const O = Te(A.placement);
|
|
1721
1721
|
return O === y || // Create a bias to the `y` side axis due to horizontal
|
|
1722
1722
|
// reading directions favoring greater width.
|
|
1723
1723
|
O === "y";
|
|
1724
1724
|
}
|
|
1725
1725
|
return !0;
|
|
1726
|
-
}).map((
|
|
1726
|
+
}).map((A) => [A.placement, A.overflows.filter((O) => O > 0).reduce((O, U) => O + U, 0)]).sort((A, O) => A[1] - O[1])[0]) == null ? void 0 : te[0];
|
|
1727
1727
|
I && (M = I);
|
|
1728
1728
|
break;
|
|
1729
1729
|
}
|
|
@@ -2631,7 +2631,7 @@ const Ga = ["data-testid"], ja = {
|
|
|
2631
2631
|
function I(B, K) {
|
|
2632
2632
|
K instanceof HTMLElement ? u.set(B, K) : u.delete(B);
|
|
2633
2633
|
}
|
|
2634
|
-
function
|
|
2634
|
+
function A(B) {
|
|
2635
2635
|
if (S.value)
|
|
2636
2636
|
return;
|
|
2637
2637
|
const K = a.value === B.id;
|
|
@@ -2706,7 +2706,7 @@ const Ga = ["data-testid"], ja = {
|
|
|
2706
2706
|
"onUpdate:modelValue": ae
|
|
2707
2707
|
}, null, 8, ["id", "model-value", "placeholder-text"])
|
|
2708
2708
|
])) : V("", !0),
|
|
2709
|
-
|
|
2709
|
+
C("div", {
|
|
2710
2710
|
class: g(["in-cascading-menu__body", { "is-flat-search": S.value }])
|
|
2711
2711
|
}, [
|
|
2712
2712
|
B.loading ? (p(), f("div", Xa, [
|
|
@@ -2722,13 +2722,13 @@ const Ga = ["data-testid"], ja = {
|
|
|
2722
2722
|
name: "line-no-search-result",
|
|
2723
2723
|
size: 40
|
|
2724
2724
|
}),
|
|
2725
|
-
|
|
2725
|
+
C("span", el, H(B.emptySearchText), 1)
|
|
2726
2726
|
])) : (p(), f("div", tl, [
|
|
2727
2727
|
(p(!0), f(ie, null, me(m.value, (D) => (p(), f("section", {
|
|
2728
2728
|
key: D.parentId,
|
|
2729
2729
|
class: "in-cascading-menu__flat-group"
|
|
2730
2730
|
}, [
|
|
2731
|
-
|
|
2731
|
+
C("h4", nl, H(D.parentLabel), 1),
|
|
2732
2732
|
(p(!0), f(ie, null, me(D.items, (Y) => (p(), f("button", {
|
|
2733
2733
|
key: `${D.parentId}-${Y.id}`,
|
|
2734
2734
|
class: g(["in-cascading-menu__list-item", {
|
|
@@ -2741,8 +2741,8 @@ const Ga = ["data-testid"], ja = {
|
|
|
2741
2741
|
disabled: Y.disabled,
|
|
2742
2742
|
onClick: (oe) => U(D.parentId, Y)
|
|
2743
2743
|
}, [
|
|
2744
|
-
|
|
2745
|
-
|
|
2744
|
+
C("span", al, [
|
|
2745
|
+
C("span", ll, H(Y.label), 1),
|
|
2746
2746
|
Y.subtitle ? (p(), f("span", il, H(Y.subtitle), 1)) : V("", !0)
|
|
2747
2747
|
]),
|
|
2748
2748
|
Y.meta ? (p(), f("span", sl, H(Y.meta), 1)) : V("", !0)
|
|
@@ -2765,10 +2765,10 @@ const Ga = ["data-testid"], ja = {
|
|
|
2765
2765
|
"data-item-id": D.item.id,
|
|
2766
2766
|
"data-testid": D.item.testId,
|
|
2767
2767
|
onClick: (oe) => O(D.item),
|
|
2768
|
-
onFocus: (oe) =>
|
|
2769
|
-
onMouseenter: (oe) =>
|
|
2768
|
+
onFocus: (oe) => A(D.item),
|
|
2769
|
+
onMouseenter: (oe) => A(D.item)
|
|
2770
2770
|
}, [
|
|
2771
|
-
|
|
2771
|
+
C("span", cl, H(D.item.label), 1),
|
|
2772
2772
|
D.item.hasChildren || D.item.subList ? (p(), J(X, {
|
|
2773
2773
|
key: 0,
|
|
2774
2774
|
class: "in-cascading-menu__item-chevron",
|
|
@@ -2802,7 +2802,7 @@ const Ga = ["data-testid"], ja = {
|
|
|
2802
2802
|
"onUpdate:modelValue": ne
|
|
2803
2803
|
}, null, 8, ["id", "model-value", "placeholder-text"])
|
|
2804
2804
|
])) : V("", !0),
|
|
2805
|
-
|
|
2805
|
+
C("div", _l, [
|
|
2806
2806
|
R.value.loading ? (p(), f("div", fl, [
|
|
2807
2807
|
Z(X, {
|
|
2808
2808
|
class: "in-cascading-menu__spinner-icon",
|
|
@@ -2811,13 +2811,13 @@ const Ga = ["data-testid"], ja = {
|
|
|
2811
2811
|
}),
|
|
2812
2812
|
B.loadingText ? (p(), f("span", ml, H(B.loadingText), 1)) : V("", !0)
|
|
2813
2813
|
])) : R.value.error ? (p(), f("div", hl, [
|
|
2814
|
-
|
|
2814
|
+
C("span", vl, H(R.value.error), 1)
|
|
2815
2815
|
])) : _.value.length === 0 && i.value ? (p(), f("div", gl, [
|
|
2816
2816
|
Z(X, {
|
|
2817
2817
|
name: "line-no-search-result",
|
|
2818
2818
|
size: 40
|
|
2819
2819
|
}),
|
|
2820
|
-
|
|
2820
|
+
C("span", bl, H(R.value.noResultText || "No Search Result"), 1)
|
|
2821
2821
|
])) : _.value.length === 0 ? (p(), f("div", wl, [
|
|
2822
2822
|
Z(X, {
|
|
2823
2823
|
name: "line-empty-box",
|
|
@@ -2837,8 +2837,8 @@ const Ga = ["data-testid"], ja = {
|
|
|
2837
2837
|
onMousedown: K[0] || (K[0] = rt(() => {
|
|
2838
2838
|
}, ["prevent"]))
|
|
2839
2839
|
}, [
|
|
2840
|
-
|
|
2841
|
-
|
|
2840
|
+
C("span", Al, [
|
|
2841
|
+
C("span", Cl, H(D.label), 1),
|
|
2842
2842
|
D.subtitle ? (p(), f("span", Bl, H(D.subtitle), 1)) : V("", !0)
|
|
2843
2843
|
]),
|
|
2844
2844
|
D.meta ? (p(), f("span", Sl, H(D.meta), 1)) : V("", !0)
|
|
@@ -2988,7 +2988,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
2988
2988
|
]),
|
|
2989
2989
|
_: 1
|
|
2990
2990
|
}, 8, ["for"])) : V("", !0),
|
|
2991
|
-
|
|
2991
|
+
C("button", {
|
|
2992
2992
|
id: `${c(r)}-trigger`,
|
|
2993
2993
|
ref_key: "triggerRef",
|
|
2994
2994
|
ref: a,
|
|
@@ -3016,7 +3016,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3016
3016
|
]),
|
|
3017
3017
|
_: 1
|
|
3018
3018
|
}, 8, ["class", "variant"]),
|
|
3019
|
-
|
|
3019
|
+
C("span", {
|
|
3020
3020
|
class: g([c(xe).chevron, { [c(xe).isOpen]: v.isOpen }])
|
|
3021
3021
|
}, [
|
|
3022
3022
|
Z(X, {
|
|
@@ -3193,7 +3193,10 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3193
3193
|
}), ei = /* @__PURE__ */ fe(Jl, [["__scopeId", "data-v-33ef0f6d"]]), ti = {
|
|
3194
3194
|
key: 0,
|
|
3195
3195
|
class: "in-dropdown-menu__search-container"
|
|
3196
|
-
}, ni = {
|
|
3196
|
+
}, ni = {
|
|
3197
|
+
key: 2,
|
|
3198
|
+
class: "in-dropdown-menu__item-container"
|
|
3199
|
+
}, oi = ["onClick"], ai = /* @__PURE__ */ G({
|
|
3197
3200
|
__name: "InDropdownMenu",
|
|
3198
3201
|
props: {
|
|
3199
3202
|
modelValue: { default: "" },
|
|
@@ -3213,7 +3216,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3213
3216
|
emits: ["update:modelValue", "add-error", "item-added", "select-item"],
|
|
3214
3217
|
setup(e, { expose: o, emit: t }) {
|
|
3215
3218
|
Cn((y) => ({
|
|
3216
|
-
|
|
3219
|
+
ed307462: `${n.menuHeight}px`
|
|
3217
3220
|
}));
|
|
3218
3221
|
const n = e, l = t, r = P(!1), a = P(null), i = P(""), s = P(null), u = P([...n.items]), d = P([...n.items]), v = () => {
|
|
3219
3222
|
r.value = !r.value;
|
|
@@ -3292,7 +3295,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3292
3295
|
}, void 0, !0)
|
|
3293
3296
|
]),
|
|
3294
3297
|
default: he(() => [
|
|
3295
|
-
|
|
3298
|
+
C("div", {
|
|
3296
3299
|
class: g(["in-dropdown-menu__menu", [`in-dropdown-menu__menu--${n.mode}`]]),
|
|
3297
3300
|
onClick: E[1] || (E[1] = rt(() => {
|
|
3298
3301
|
}, ["prevent"]))
|
|
@@ -3323,7 +3326,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3323
3326
|
onClick: T
|
|
3324
3327
|
}, null, 8, ["label"])) : V("", !0)
|
|
3325
3328
|
])) : V("", !0),
|
|
3326
|
-
|
|
3329
|
+
u.value.length === 0 && y.searchable ? ce(y.$slots, "no-results", { key: 1 }, void 0, !0) : (p(), f("ul", ni, [
|
|
3327
3330
|
(p(!0), f(ie, null, me(u.value, (R, F) => {
|
|
3328
3331
|
var j, z;
|
|
3329
3332
|
return p(), f("li", {
|
|
@@ -3360,13 +3363,13 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3360
3363
|
}, null, 8, ["class", "label", "right-icon-name", "onClick"]))
|
|
3361
3364
|
]);
|
|
3362
3365
|
}), 128))
|
|
3363
|
-
])
|
|
3366
|
+
]))
|
|
3364
3367
|
], 2)
|
|
3365
3368
|
]),
|
|
3366
3369
|
_: 3
|
|
3367
3370
|
}, 8, ["anchor-selector", "class", "width", "modelValue"]));
|
|
3368
3371
|
}
|
|
3369
|
-
}), Ks = /* @__PURE__ */ fe(ai, [["__scopeId", "data-v-
|
|
3372
|
+
}), Ks = /* @__PURE__ */ fe(ai, [["__scopeId", "data-v-c5a43b41"]]), li = { class: "in-tabs" }, ii = ["data-value", "disabled", "onClick"], si = /* @__PURE__ */ G({
|
|
3370
3373
|
__name: "InTabs",
|
|
3371
3374
|
props: {
|
|
3372
3375
|
tabs: {},
|
|
@@ -3397,12 +3400,13 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3397
3400
|
"in-tabs__tab--active": l.value === s.value
|
|
3398
3401
|
}
|
|
3399
3402
|
]]),
|
|
3403
|
+
"data-value": s.value,
|
|
3400
3404
|
disabled: a.disabled || s.disabled,
|
|
3401
3405
|
onClick: (d) => r(s)
|
|
3402
3406
|
}, H(s.label), 11, ii))), 128))
|
|
3403
3407
|
]));
|
|
3404
3408
|
}
|
|
3405
|
-
}), Qs = /* @__PURE__ */ fe(si, [["__scopeId", "data-v-
|
|
3409
|
+
}), Qs = /* @__PURE__ */ fe(si, [["__scopeId", "data-v-87c70348"]]), ke = {
|
|
3406
3410
|
"in-textarea-wrapper__textarea": "_in-textarea-wrapper__textarea_1tftp_1",
|
|
3407
3411
|
"in-textarea-wrapper__error-message": "_in-textarea-wrapper__error-message_1tftp_8",
|
|
3408
3412
|
"in-textarea-wrapper__label": "_in-textarea-wrapper__label_1tftp_8",
|
|
@@ -3474,7 +3478,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3474
3478
|
]),
|
|
3475
3479
|
for: w.id
|
|
3476
3480
|
}, H(w.label), 11, ri)) : V("", !0),
|
|
3477
|
-
|
|
3481
|
+
C("textarea", {
|
|
3478
3482
|
id: w.id,
|
|
3479
3483
|
ref_key: "textareaRef",
|
|
3480
3484
|
ref: a,
|
|
@@ -3521,7 +3525,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3521
3525
|
t.disabled || n("click", t.value);
|
|
3522
3526
|
};
|
|
3523
3527
|
return (r, a) => (p(), f("fieldset", ci, [
|
|
3524
|
-
|
|
3528
|
+
C("input", {
|
|
3525
3529
|
id: r.id,
|
|
3526
3530
|
class: "in-radio-button-wrapper__input",
|
|
3527
3531
|
type: "radio",
|
|
@@ -3531,7 +3535,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3531
3535
|
value: r.value,
|
|
3532
3536
|
onClick: l
|
|
3533
3537
|
}, null, 8, di),
|
|
3534
|
-
|
|
3538
|
+
C("label", {
|
|
3535
3539
|
class: g(["in-radio-button-wrapper__label", { "in-radio-button-wrapper__label_disable": r.disabled }]),
|
|
3536
3540
|
for: r.id
|
|
3537
3541
|
}, H(r.label), 11, pi)
|
|
@@ -3569,7 +3573,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3569
3573
|
}
|
|
3570
3574
|
]])
|
|
3571
3575
|
}, [
|
|
3572
|
-
|
|
3576
|
+
C("input", {
|
|
3573
3577
|
id: s.id,
|
|
3574
3578
|
ref_key: "inputRef",
|
|
3575
3579
|
ref: l,
|
|
@@ -3580,7 +3584,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3580
3584
|
name: s.name,
|
|
3581
3585
|
onChange: a
|
|
3582
3586
|
}, null, 40, fi),
|
|
3583
|
-
|
|
3587
|
+
C("label", {
|
|
3584
3588
|
class: "in-toggle-wrapper__label",
|
|
3585
3589
|
for: s.id,
|
|
3586
3590
|
onClick: i
|
|
@@ -3680,7 +3684,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3680
3684
|
name: i.value,
|
|
3681
3685
|
size: u.iconSize
|
|
3682
3686
|
}, null, 8, ["name", "size"])) : V("", !0),
|
|
3683
|
-
|
|
3687
|
+
C("input", {
|
|
3684
3688
|
class: g(c(qe).inputButton__input),
|
|
3685
3689
|
disabled: t.disabled,
|
|
3686
3690
|
placeholder: u.inputPlaceholder,
|
|
@@ -3739,27 +3743,27 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3739
3743
|
}, null, 2)) : V("", !0),
|
|
3740
3744
|
Z(sn, { name: "modal-transition" }, {
|
|
3741
3745
|
default: he(() => [
|
|
3742
|
-
ft(
|
|
3746
|
+
ft(C("div", {
|
|
3743
3747
|
class: g([c(Me).modalWrapper, c(Me)[t.size]])
|
|
3744
3748
|
}, [
|
|
3745
|
-
|
|
3749
|
+
C("div", {
|
|
3746
3750
|
class: g([c(Me).modal, c(Me)[t.size]])
|
|
3747
3751
|
}, [
|
|
3748
|
-
|
|
3752
|
+
C("button", {
|
|
3749
3753
|
class: g(c(Me).close),
|
|
3750
3754
|
onClick: r
|
|
3751
3755
|
}, " × ", 2),
|
|
3752
|
-
|
|
3756
|
+
C("div", {
|
|
3753
3757
|
class: g(c(Me).header)
|
|
3754
3758
|
}, [
|
|
3755
|
-
|
|
3759
|
+
C("p", null, H(s.title), 1)
|
|
3756
3760
|
], 2),
|
|
3757
|
-
|
|
3761
|
+
C("div", {
|
|
3758
3762
|
class: g(c(Me).section)
|
|
3759
3763
|
}, [
|
|
3760
3764
|
ce(s.$slots, "section", {}, void 0, !0)
|
|
3761
3765
|
], 2),
|
|
3762
|
-
|
|
3766
|
+
C("div", {
|
|
3763
3767
|
class: g(c(Me).footer)
|
|
3764
3768
|
}, [
|
|
3765
3769
|
Z(c(mt), {
|
|
@@ -3834,7 +3838,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3834
3838
|
class: g(c(Re).wrapper__label),
|
|
3835
3839
|
for: i.id
|
|
3836
3840
|
}, H(i.label), 11, qi)) : V("", !0),
|
|
3837
|
-
|
|
3841
|
+
C("input", {
|
|
3838
3842
|
id: i.id,
|
|
3839
3843
|
type: "number",
|
|
3840
3844
|
class: g([
|
|
@@ -3993,7 +3997,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
3993
3997
|
text: s.tooltip
|
|
3994
3998
|
}, {
|
|
3995
3999
|
default: he(() => [
|
|
3996
|
-
|
|
4000
|
+
C("button", {
|
|
3997
4001
|
type: "button",
|
|
3998
4002
|
class: g([
|
|
3999
4003
|
c(ee).button,
|
|
@@ -4164,7 +4168,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
4164
4168
|
onInput: a,
|
|
4165
4169
|
onPaste: s[7] || (s[7] = (d) => n("paste", d))
|
|
4166
4170
|
}, null, 42, fs)),
|
|
4167
|
-
|
|
4171
|
+
C("div", {
|
|
4168
4172
|
class: g(c(Ae).wrapper__bottom)
|
|
4169
4173
|
}, [
|
|
4170
4174
|
i.error ? (p(), f("div", {
|
|
@@ -4207,7 +4211,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
4207
4211
|
}
|
|
4208
4212
|
])
|
|
4209
4213
|
}, [
|
|
4210
|
-
|
|
4214
|
+
C("input", {
|
|
4211
4215
|
id: r.id,
|
|
4212
4216
|
type: "checkbox",
|
|
4213
4217
|
checked: r.checked,
|
|
@@ -4216,7 +4220,7 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
4216
4220
|
name: r.name,
|
|
4217
4221
|
onClick: l
|
|
4218
4222
|
}, null, 10, ws),
|
|
4219
|
-
|
|
4223
|
+
C("label", {
|
|
4220
4224
|
class: g(c(tt).wrapper__label),
|
|
4221
4225
|
for: r.id
|
|
4222
4226
|
}, null, 10, ys)
|
|
@@ -4270,8 +4274,8 @@ const $l = "_root_avx14_36", Ml = "_sizeMedium_avx14_44", tn = {
|
|
|
4270
4274
|
name: r.value,
|
|
4271
4275
|
size: 24
|
|
4272
4276
|
}, null, 8, ["name"]),
|
|
4273
|
-
|
|
4274
|
-
|
|
4277
|
+
C("span", xs, H(d.text), 1),
|
|
4278
|
+
C("button", {
|
|
4275
4279
|
class: "ab-toast__close",
|
|
4276
4280
|
type: "button",
|
|
4277
4281
|
"aria-label": d.closeAriaLabel,
|
|
@@ -4412,7 +4416,7 @@ const Ss = "_bubble_6zub9_1", Is = "_trigger_6zub9_43", $s = "_trigger__icon_6zu
|
|
|
4412
4416
|
} : {};
|
|
4413
4417
|
});
|
|
4414
4418
|
return (h, L) => (p(), f(ie, null, [
|
|
4415
|
-
|
|
4419
|
+
C("div", {
|
|
4416
4420
|
id: h.id,
|
|
4417
4421
|
ref_key: "triggerRef",
|
|
4418
4422
|
ref: i,
|
|
@@ -4427,7 +4431,7 @@ const Ss = "_bubble_6zub9_1", Is = "_trigger_6zub9_43", $s = "_trigger__icon_6zu
|
|
|
4427
4431
|
}, null, 8, ["color", "name"])) : ce(h.$slots, "default", { key: 1 })
|
|
4428
4432
|
], 42, Vs),
|
|
4429
4433
|
(p(), J(ln, { to: "body" }, [
|
|
4430
|
-
|
|
4434
|
+
C("div", {
|
|
4431
4435
|
ref_key: "tooltipRef",
|
|
4432
4436
|
ref: a,
|
|
4433
4437
|
class: g(["qa-tooltip", c(nt).bubble]),
|
|
@@ -4435,13 +4439,13 @@ const Ss = "_bubble_6zub9_1", Is = "_trigger_6zub9_43", $s = "_trigger__icon_6zu
|
|
|
4435
4439
|
onMouseenter: w,
|
|
4436
4440
|
onMouseleave: y
|
|
4437
4441
|
}, [
|
|
4438
|
-
|
|
4442
|
+
C("div", {
|
|
4439
4443
|
class: g(c(nt).bubble__content)
|
|
4440
4444
|
}, [
|
|
4441
|
-
|
|
4445
|
+
C("div", { innerHTML: d.value }, null, 8, Rs),
|
|
4442
4446
|
ce(h.$slots, "contentSlot")
|
|
4443
4447
|
], 2),
|
|
4444
|
-
|
|
4448
|
+
C("div", {
|
|
4445
4449
|
ref_key: "floatingArrowRef",
|
|
4446
4450
|
ref: s,
|
|
4447
4451
|
class: g(c(nt).arrow),
|