@useinsider/ab-components 0.0.74 → 0.0.76

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, computed as L, createElementBlock as b, openBlock as f, normalizeClass as x, createBlock as Z, createCommentVNode as R, unref as p, toDisplayString as F, createElementVNode as M, renderSlot as le, ref as E, watch as G, onMounted as Fe, nextTick as qe, normalizeStyle as te, createVNode as pe, Fragment as se, renderList as Ve, reactive as It, withDirectives as nt, withModifiers as st, vModelText as nn, vShow as zt, withCtx as ot, useCssVars as on, onBeforeUnmount as Nt, Transition as an, shallowRef as ln, getCurrentScope as rn, onScopeDispose as sn, shallowReadonly as Oe, onBeforeMount as un, Teleport as cn } from "vue";
1
+ import { defineComponent as Y, computed as L, createElementBlock as b, openBlock as f, normalizeClass as w, createBlock as Z, createCommentVNode as R, unref as p, toDisplayString as F, createElementVNode as M, renderSlot as le, ref as E, watch as G, onMounted as Fe, nextTick as qe, normalizeStyle as te, createVNode as pe, Fragment as se, renderList as Ve, reactive as It, withDirectives as nt, withModifiers as st, vModelText as nn, vShow as zt, withCtx as ot, useCssVars as on, onBeforeUnmount as Nt, Transition as an, shallowRef as ln, getCurrentScope as rn, onScopeDispose as sn, shallowReadonly as Oe, onBeforeMount as un, Teleport as cn } from "vue";
2
2
  const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8", _n = "_button_12xg6_1", fn = "_button__label_12xg6_60", mn = "_button__solid_12xg6_72", hn = "_fill_12xg6_1147", Ie = {
3
3
  button__size_default: dn,
4
4
  button__size_small: pn,
@@ -69,7 +69,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
69
69
  return t.fill && i.push(Ie.fill), t.selected && i.push(Ie["button--selected"]), t.customClass && i.push(t.customClass), i;
70
70
  });
71
71
  return (i, r) => (f(), b("button", {
72
- class: x(l.value),
72
+ class: w(l.value),
73
73
  disabled: t.disabled,
74
74
  onClick: a
75
75
  }, [
@@ -81,7 +81,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
81
81
  }, null, 8, ["name", "size", "color"])) : R("", !0),
82
82
  i.label ? (f(), b("span", {
83
83
  key: 1,
84
- class: x(p(Ie).button__label)
84
+ class: w(p(Ie).button__label)
85
85
  }, F(i.label), 3)) : R("", !0),
86
86
  i.rightIconName ? (f(), Z(p(ne), {
87
87
  key: 2,
@@ -91,7 +91,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
91
91
  }, null, 8, ["name", "size", "color"])) : R("", !0)
92
92
  ], 10, gn));
93
93
  }
94
- }), vn = "_checkbox__label_1cxkl_1", bn = "_checkbox_1cxkl_1", wn = "_checkbox__input_1cxkl_57", yn = "_checkbox__box_1cxkl_65", xn = "_checkbox__disabled_1cxkl_87", An = "_checkbox__checked_1cxkl_87", De = {
94
+ }), vn = "_checkbox__label_wgkvb_1", bn = "_checkbox_wgkvb_1", wn = "_checkbox__input_wgkvb_57", yn = "_checkbox__box_wgkvb_65", xn = "_checkbox__disabled_wgkvb_87", An = "_checkbox__checked_wgkvb_87", De = {
95
95
  checkbox__label: vn,
96
96
  checkbox: bn,
97
97
  checkbox__input: wn,
@@ -121,7 +121,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
121
121
  n("update:modelValue", r), n("change", r);
122
122
  }
123
123
  return (l, i) => (f(), b("label", {
124
- class: x([
124
+ class: w([
125
125
  p(De).checkbox,
126
126
  {
127
127
  [p(De).checkbox__checked]: a.value,
@@ -134,14 +134,14 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
134
134
  id: l.id,
135
135
  type: "checkbox",
136
136
  checked: a.value,
137
- class: x(p(De).checkbox__input),
137
+ class: w(p(De).checkbox__input),
138
138
  disabled: l.disabled,
139
139
  name: l.name,
140
140
  value: l.value,
141
141
  onChange: s
142
142
  }, null, 42, kn),
143
143
  M("span", {
144
- class: x(p(De).checkbox__box)
144
+ class: w(p(De).checkbox__box)
145
145
  }, [
146
146
  a.value ? (f(), Z(p(ne), {
147
147
  key: 0,
@@ -151,7 +151,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
151
151
  ], 2),
152
152
  l.label ? (f(), b("span", {
153
153
  key: 0,
154
- class: x(p(De).checkbox__label)
154
+ class: w(p(De).checkbox__label)
155
155
  }, F(l.label), 3)) : R("", !0),
156
156
  le(l.$slots, "default")
157
157
  ], 10, Cn));
@@ -232,15 +232,15 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
232
232
  if (!(d != null && d.target)) return;
233
233
  const _ = d.target, k = _.selectionStart;
234
234
  if (k === null) return;
235
- const w = k - 1, y = d.target.value, V = C(), z = [...y.matchAll(V)].map((N) => N.index);
236
- d.target.value = y.replace(V, ""), z.length > 0 && w >= 0 && _.setSelectionRange(w, w);
235
+ const y = k - 1, x = d.target.value, V = C(), z = [...x.matchAll(V)].map((N) => N.index);
236
+ d.target.value = x.replace(V, ""), z.length > 0 && y >= 0 && _.setSelectionRange(y, y);
237
237
  }, S = (d) => {
238
238
  if (!(d != null && d.target)) return;
239
- const _ = d.target.value, k = d.target, w = k.selectionStart;
240
- if (w === null) return;
241
- let y = w - 1;
239
+ const _ = d.target.value, k = d.target, y = k.selectionStart;
240
+ if (y === null) return;
241
+ let x = y - 1;
242
242
  const V = B(), z = [..._.matchAll(V)].map((q) => q.index), N = _.split("");
243
- z.length > 1 && y >= 0 && (N[y] = ""), d.target.value = N.join(""), z.length > 1 && y >= 0 && k.setSelectionRange(y, y);
243
+ z.length > 1 && x >= 0 && (N[x] = ""), d.target.value = N.join(""), z.length > 1 && x >= 0 && k.setSelectionRange(x, x);
244
244
  }, B = () => {
245
245
  let d = "";
246
246
  return t.allowDecimal && (d += "."), t.allowComma && (d += ","), new RegExp(`[${d}]`, "g");
@@ -258,16 +258,16 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
258
258
  }, P = (d) => {
259
259
  n("click", d);
260
260
  }, U = (d) => {
261
- var w;
261
+ var y;
262
262
  const _ = d;
263
263
  u.value && (m(_), S(_)), A(_);
264
- const k = ((w = _ == null ? void 0 : _.target) == null ? void 0 : w.value) || "";
264
+ const k = ((y = _ == null ? void 0 : _.target) == null ? void 0 : y.value) || "";
265
265
  a.value = k, n("input", k), n("update:modelValue", k);
266
266
  }, O = (d) => {
267
- var w;
267
+ var y;
268
268
  const _ = d;
269
269
  u.value && (m(_), S(_)), A(_);
270
- const k = ((w = _ == null ? void 0 : _.target) == null ? void 0 : w.value) || "";
270
+ const k = ((y = _ == null ? void 0 : _.target) == null ? void 0 : y.value) || "";
271
271
  a.value = k, n("change", k), n("update:modelValue", k);
272
272
  }, D = (d) => {
273
273
  var et, ve;
@@ -292,9 +292,9 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
292
292
  if (!u.value)
293
293
  return;
294
294
  d.preventDefault();
295
- const _ = d.target, k = _.selectionStart, w = _.selectionEnd;
296
- if (k === null || w === null) return;
297
- const y = _.value, V = y.includes(".") || y.includes(","), z = ((ve = d.clipboardData) == null ? void 0 : ve.getData("text/plain")) || "", N = B(), q = C();
295
+ const _ = d.target, k = _.selectionStart, y = _.selectionEnd;
296
+ if (k === null || y === null) return;
297
+ const x = _.value, V = x.includes(".") || x.includes(","), z = ((ve = d.clipboardData) == null ? void 0 : ve.getData("text/plain")) || "", N = B(), q = C();
298
298
  let K = z.replace(q, "");
299
299
  const _t = [...K.matchAll(N)], ge = [];
300
300
  _t.forEach((X) => {
@@ -304,7 +304,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
304
304
  V || ge.shift(), ge.forEach((X) => {
305
305
  ke[X] = "";
306
306
  }), K = ke.join("");
307
- const Je = k + K.length, Le = y.slice(0, k) + K + y.slice(w);
307
+ const Je = k + K.length, Le = x.slice(0, k) + K + x.slice(y);
308
308
  _.value = Le, _.setSelectionRange(Je, Je), a.value = Le, n("input", Le), n("update:modelValue", Le);
309
309
  }, T = (d) => {
310
310
  n("leftIconClick", d);
@@ -332,7 +332,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
332
332
  }), (d, _) => (f(), b("fieldset", {
333
333
  ref_key: "componentRoot",
334
334
  ref: oe,
335
- class: x(["in-basic-text-input-wrapper qa-text-input", [
335
+ class: w(["in-basic-text-input-wrapper qa-text-input", [
336
336
  `in-basic-text-input-wrapper__${d.states}`,
337
337
  `in-basic-text-input-wrapper__${d.theme}`,
338
338
  { "in-basic-text-input-wrapper__disable": d.disabledStatus }
@@ -479,22 +479,22 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
479
479
  emits: ["color-change", "close"],
480
480
  setup(e, { emit: o }) {
481
481
  const t = e, n = o, a = E(0), s = E(0), l = E(0.4), i = E(1), r = E("666666"), u = E([]), c = E(!1), g = E(null), A = E(null), m = E(null), S = L(() => {
482
- const _ = t.presetColors || [], k = [], w = 8;
482
+ const _ = t.presetColors || [], k = [], y = 8;
483
483
  if (_.length === 0)
484
484
  return k;
485
- const y = _.slice(0, w - 1);
486
- k.push(y);
487
- for (let V = w - 1; V < _.length; V += w)
488
- k.push(_.slice(V, V + w));
485
+ const x = _.slice(0, y - 1);
486
+ k.push(x);
487
+ for (let V = y - 1; V < _.length; V += y)
488
+ k.push(_.slice(V, V + y));
489
489
  return k;
490
490
  }), B = L(() => {
491
491
  const _ = a.value, k = 1 - Math.abs(_ * 6 % 2 - 1);
492
- let w = 0, y = 0, V = 0;
493
- return _ < 1 / 6 ? (w = 1, y = k) : _ < 2 / 6 ? (w = k, y = 1) : _ < 3 / 6 ? (y = 1, V = k) : _ < 4 / 6 ? (y = k, V = 1) : _ < 5 / 6 ? (w = k, V = 1) : (w = 1, V = k), `rgb(${Math.round(w * 255)}, ${Math.round(y * 255)}, ${Math.round(V * 255)})`;
492
+ let y = 0, x = 0, V = 0;
493
+ return _ < 1 / 6 ? (y = 1, x = k) : _ < 2 / 6 ? (y = k, x = 1) : _ < 3 / 6 ? (x = 1, V = k) : _ < 4 / 6 ? (x = k, V = 1) : _ < 5 / 6 ? (y = k, V = 1) : (y = 1, V = k), `rgb(${Math.round(y * 255)}, ${Math.round(x * 255)}, ${Math.round(V * 255)})`;
494
494
  }), C = L(() => {
495
- const _ = a.value, k = s.value, w = l.value, y = w * k, V = y * (1 - Math.abs(_ * 6 % 2 - 1)), z = w - y;
495
+ const _ = a.value, k = s.value, y = l.value, x = y * k, V = x * (1 - Math.abs(_ * 6 % 2 - 1)), z = y - x;
496
496
  let N = 0, q = 0, K = 0;
497
- return _ < 1 / 6 ? (N = y, q = V) : _ < 2 / 6 ? (N = V, q = y) : _ < 3 / 6 ? (q = y, K = V) : _ < 4 / 6 ? (q = V, K = y) : _ < 5 / 6 ? (N = V, K = y) : (N = y, K = V), N = Math.round((N + z) * 255), q = Math.round((q + z) * 255), K = Math.round((K + z) * 255), `rgb(${N}, ${q}, ${K})`;
497
+ return _ < 1 / 6 ? (N = x, q = V) : _ < 2 / 6 ? (N = V, q = x) : _ < 3 / 6 ? (q = x, K = V) : _ < 4 / 6 ? (q = V, K = x) : _ < 5 / 6 ? (N = V, K = x) : (N = x, K = V), N = Math.round((N + z) * 255), q = Math.round((q + z) * 255), K = Math.round((K + z) * 255), `rgb(${N}, ${q}, ${K})`;
498
498
  }), h = L(() => {
499
499
  const _ = C.value.match(/\d+/g);
500
500
  return _ ? i.value < 1 ? `rgba(${_[0]}, ${_[1]}, ${_[2]}, ${i.value})` : `rgb(${_[0]}, ${_[1]}, ${_[2]})` : C.value;
@@ -518,10 +518,10 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
518
518
  const _ = C.value.match(/\d+/g);
519
519
  if (!_)
520
520
  return;
521
- const k = _.map((w) => parseInt(w).toString(16).padStart(2, "0")).join("").toUpperCase();
521
+ const k = _.map((y) => parseInt(y).toString(16).padStart(2, "0")).join("").toUpperCase();
522
522
  if (t.showOpacityInHex) {
523
- const w = Math.round(i.value * 255).toString(16).padStart(2, "0").toUpperCase();
524
- r.value = k + w;
523
+ const y = Math.round(i.value * 255).toString(16).padStart(2, "0").toUpperCase();
524
+ r.value = k + y;
525
525
  } else
526
526
  r.value = k;
527
527
  }
@@ -533,12 +533,12 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
533
533
  s.value = N, l.value = 1 - q;
534
534
  };
535
535
  k(_);
536
- const w = (V) => {
536
+ const y = (V) => {
537
537
  k(V);
538
- }, y = () => {
539
- document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", y);
538
+ }, x = () => {
539
+ document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", x);
540
540
  };
541
- document.addEventListener("mousemove", w), document.addEventListener("mouseup", y);
541
+ document.addEventListener("mousemove", y), document.addEventListener("mouseup", x);
542
542
  }
543
543
  function $(_) {
544
544
  const k = (V) => {
@@ -548,12 +548,12 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
548
548
  a.value = N;
549
549
  };
550
550
  k(_);
551
- const w = (V) => {
551
+ const y = (V) => {
552
552
  k(V);
553
- }, y = () => {
554
- document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", y);
553
+ }, x = () => {
554
+ document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", x);
555
555
  };
556
- document.addEventListener("mousemove", w), document.addEventListener("mouseup", y);
556
+ document.addEventListener("mousemove", y), document.addEventListener("mouseup", x);
557
557
  }
558
558
  function P(_) {
559
559
  const k = (V) => {
@@ -563,28 +563,28 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
563
563
  i.value = 1 - N;
564
564
  };
565
565
  k(_);
566
- const w = (V) => {
566
+ const y = (V) => {
567
567
  k(V);
568
- }, y = () => {
569
- document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", y);
568
+ }, x = () => {
569
+ document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", x);
570
570
  };
571
- document.addEventListener("mousemove", w), document.addEventListener("mouseup", y);
571
+ document.addEventListener("mousemove", y), document.addEventListener("mouseup", x);
572
572
  }
573
573
  function U(_) {
574
- const k = t.showOpacityInHex ? 8 : 6, w = String(_).replace(/[^0-9A-Fa-f]/g, "").slice(0, k).toUpperCase();
575
- r.value = w, t.showOpacityInHex ? (w.length === 6 || w.length === 8) && T(w) : w.length === 6 && T(w);
574
+ const k = t.showOpacityInHex ? 8 : 6, y = String(_).replace(/[^0-9A-Fa-f]/g, "").slice(0, k).toUpperCase();
575
+ r.value = y, t.showOpacityInHex ? (y.length === 6 || y.length === 8) && T(y) : y.length === 6 && T(y);
576
576
  }
577
577
  function O(_) {
578
578
  var V;
579
- const k = ((V = _.clipboardData) == null ? void 0 : V.getData("text")) || "", w = t.showOpacityInHex ? 8 : 6, y = k.replace(/^#/, "").replace(/[^0-9A-Fa-f]/g, "").slice(0, w).toUpperCase();
580
- t.showOpacityInHex ? y.length === 6 || y.length === 8 ? (r.value = y, T(y), _.preventDefault()) : y.length > 0 && (r.value = y, _.preventDefault()) : y.length === 6 ? (r.value = y, T(y), _.preventDefault()) : y.length > 0 && (r.value = y, _.preventDefault());
579
+ const k = ((V = _.clipboardData) == null ? void 0 : V.getData("text")) || "", y = t.showOpacityInHex ? 8 : 6, x = k.replace(/^#/, "").replace(/[^0-9A-Fa-f]/g, "").slice(0, y).toUpperCase();
580
+ t.showOpacityInHex ? x.length === 6 || x.length === 8 ? (r.value = x, T(x), _.preventDefault()) : x.length > 0 && (r.value = x, _.preventDefault()) : x.length === 6 ? (r.value = x, T(x), _.preventDefault()) : x.length > 0 && (r.value = x, _.preventDefault());
581
581
  }
582
582
  function D() {
583
583
  const _ = t.showOpacityInHex ? 8 : 6;
584
584
  r.value.length !== _ && v();
585
585
  }
586
586
  function T(_) {
587
- const k = _.startsWith("#") ? _.slice(1) : _, w = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(k), y = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(k), V = y || w;
587
+ const k = _.startsWith("#") ? _.slice(1) : _, y = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(k), x = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(k), V = x || y;
588
588
  if (!V) {
589
589
  const ve = /rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/.exec(_);
590
590
  if (ve) {
@@ -598,7 +598,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
598
598
  return;
599
599
  }
600
600
  const z = parseInt(V[1], 16) / 255, N = parseInt(V[2], 16) / 255, q = parseInt(V[3], 16) / 255;
601
- y && V[4] ? i.value = parseInt(V[4], 16) / 255 : i.value = 1;
601
+ x && V[4] ? i.value = parseInt(V[4], 16) / 255 : i.value = 1;
602
602
  const K = Math.max(z, N, q), _t = Math.min(z, N, q), ge = K - _t;
603
603
  let ke = 0;
604
604
  ge !== 0 && (K === z ? ke = ((N - q) / ge + (N < q ? 6 : 0)) / 6 : K === N ? ke = ((q - z) / ge + 2) / 6 : ke = ((z - N) / ge + 4) / 6);
@@ -614,8 +614,8 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
614
614
  const _ = C.value.match(/\d+/g);
615
615
  if (!_)
616
616
  return "ffffff";
617
- const k = _.map((y) => parseInt(y).toString(16).padStart(2, "0")).join("").toUpperCase(), w = Math.round(i.value * 255).toString(16).padStart(2, "0").toUpperCase();
618
- return `#${k}${w}`;
617
+ const k = _.map((x) => parseInt(x).toString(16).padStart(2, "0")).join("").toUpperCase(), y = Math.round(i.value * 255).toString(16).padStart(2, "0").toUpperCase();
618
+ return `#${k}${y}`;
619
619
  }
620
620
  function Q() {
621
621
  const _ = W();
@@ -695,7 +695,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
695
695
  pe(Wt, {
696
696
  id: "color-picker-hex-input",
697
697
  modelValue: r.value,
698
- "onUpdate:modelValue": k[0] || (k[0] = (w) => r.value = w),
698
+ "onUpdate:modelValue": k[0] || (k[0] = (y) => r.value = y),
699
699
  name: "hex-input",
700
700
  "placeholder-text": "",
701
701
  "label-status": !1,
@@ -706,11 +706,11 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
706
706
  onBlur: D
707
707
  }, null, 8, ["modelValue"])
708
708
  ]),
709
- (f(!0), b(se, null, Ve(S.value, (w, y) => (f(), b("div", {
710
- key: `preset-row-${y}`,
709
+ (f(!0), b(se, null, Ve(S.value, (y, x) => (f(), b("div", {
710
+ key: `preset-row-${x}`,
711
711
  class: "color-picker__preset-row"
712
712
  }, [
713
- y === 0 ? (f(), b("div", {
713
+ x === 0 ? (f(), b("div", {
714
714
  key: 0,
715
715
  class: "color-picker__no-color",
716
716
  onClick: d
@@ -720,8 +720,8 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
720
720
  size: 14
721
721
  })
722
722
  ])) : R("", !0),
723
- (f(!0), b(se, null, Ve(w, (V, z) => (f(), Z(Vt, {
724
- key: `preset-${y}-${z}`,
723
+ (f(!0), b(se, null, Ve(y, (V, z) => (f(), Z(Vt, {
724
+ key: `preset-${x}-${z}`,
725
725
  color: V,
726
726
  "is-transparent": V === "transparent",
727
727
  onClick: (N) => V === "transparent" ? H(0) : T(V)
@@ -739,10 +739,10 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
739
739
  ])
740
740
  ])) : R("", !0),
741
741
  _.showSaveButton && u.value.length > 0 ? (f(), b("div", Zn, [
742
- (f(!0), b(se, null, Ve(u.value, (w, y) => (f(), Z(Vt, {
743
- key: `saved-${y}`,
744
- color: w,
745
- onClick: (V) => oe(w)
742
+ (f(!0), b(se, null, Ve(u.value, (y, x) => (f(), Z(Vt, {
743
+ key: `saved-${x}`,
744
+ color: y,
745
+ onClick: (V) => oe(y)
746
746
  }, null, 8, ["color", "onClick"]))), 128)),
747
747
  M("button", {
748
748
  onClick: Q,
@@ -893,15 +893,15 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
893
893
  M("div", {
894
894
  ref_key: "dropdownRef",
895
895
  ref: s,
896
- class: x(p(j).dropdown)
896
+ class: w(p(j).dropdown)
897
897
  }, [
898
898
  T.label ? (f(), b("label", {
899
899
  key: 0,
900
- class: x(p(j).dropdown__label),
900
+ class: w(p(j).dropdown__label),
901
901
  for: T.id
902
902
  }, F(T.label), 11, go)) : R("", !0),
903
903
  M("button", {
904
- class: x([
904
+ class: w([
905
905
  p(j).dropdown__valueContent,
906
906
  {
907
907
  [p(j)["dropdown__valueContent--open"]]: i.value
@@ -910,11 +910,11 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
910
910
  onClick: B
911
911
  }, [
912
912
  M("span", {
913
- class: x(p(j).dropdown__value)
913
+ class: w(p(j).dropdown__value)
914
914
  }, F(O.value), 3),
915
915
  T.placeholder && !O.value ? (f(), b("span", {
916
916
  key: 0,
917
- class: x(p(j).dropdown__placeholder)
917
+ class: w(p(j).dropdown__placeholder)
918
918
  }, F(T.placeholder), 3)) : R("", !0),
919
919
  (f(), b("svg", {
920
920
  fill: "none",
@@ -922,7 +922,7 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
922
922
  viewBox: "0 0 16 17",
923
923
  width: "16",
924
924
  xmlns: "http://www.w3.org/2000/svg",
925
- class: x(p(j).dropdown__arrowIcon)
925
+ class: w(p(j).dropdown__arrowIcon)
926
926
  }, H[2] || (H[2] = [
927
927
  M("path", {
928
928
  d: "M8 11.2021L4.5359 6.70215L11.4641 6.70215L8 11.2021Z",
@@ -934,21 +934,21 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
934
934
  nt((f(), b("div", {
935
935
  ref_key: "menuRef",
936
936
  ref: l,
937
- class: x(p(j).menu),
937
+ class: w(p(j).menu),
938
938
  style: te(U.value),
939
939
  onClick: H[1] || (H[1] = st(() => {
940
940
  }, ["prevent"]))
941
941
  }, [
942
942
  n.searchable ? (f(), b("div", {
943
943
  key: 0,
944
- class: x(p(j).menu__searchContainer)
944
+ class: w(p(j).menu__searchContainer)
945
945
  }, [
946
946
  M("div", {
947
- class: x(p(j).menu__searchInputWrap)
947
+ class: w(p(j).menu__searchInputWrap)
948
948
  }, [
949
949
  nt(M("input", {
950
950
  type: "text",
951
- class: x([
951
+ class: w([
952
952
  p(j).menu__searchInput,
953
953
  {
954
954
  [p(j)["menu__searchInput--error"]]: c.value
@@ -963,21 +963,21 @@ const dn = "_button__size_default_12xg6_1", pn = "_button__size_small_12xg6_8",
963
963
  ]),
964
964
  c.value ? (f(), b("p", {
965
965
  key: 0,
966
- class: x(p(j).menu__errorMessage)
966
+ class: w(p(j).menu__errorMessage)
967
967
  }, F(c.value), 3)) : R("", !0)
968
968
  ], 2),
969
969
  n.addable ? (f(), b("button", {
970
970
  key: 0,
971
- class: x(p(j).menu__addButton),
971
+ class: w(p(j).menu__addButton),
972
972
  onClick: I
973
973
  }, F(T.addButtonText), 3)) : R("", !0)
974
974
  ], 2)) : R("", !0),
975
975
  M("ul", {
976
- class: x(p(j).menu__itemContainer)
976
+ class: w(p(j).menu__itemContainer)
977
977
  }, [
978
978
  (f(!0), b(se, null, Ve(A, (W, Q) => (f(), b("li", {
979
979
  key: `${W.value}-${Q}`,
980
- class: x([
980
+ class: w([
981
981
  p(j).menu__item,
982
982
  {
983
983
  [p(j)["menu__item--active"]]: r.value && W.value === r.value.value
@@ -1152,7 +1152,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1152
1152
  return o.border && n.push(o.border), o.borderRadius && n.push(o.borderRadius), o.borderTriangle && o.borderTrianglePosition && o.borderTriangleAlign && n.push(`in-box_${o.borderTrianglePosition}-${o.borderTriangleAlign}`), n.join(" ");
1153
1153
  });
1154
1154
  return (n, a) => (f(), b("div", {
1155
- class: x(["in-box", t.value])
1155
+ class: w(["in-box", t.value])
1156
1156
  }, [
1157
1157
  le(n.$slots, "default", {}, void 0, !0)
1158
1158
  ], 2));
@@ -1197,7 +1197,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1197
1197
  setup(e) {
1198
1198
  const o = e, t = L(() => o.theme === "dark"), n = L(() => `in-info-box__${o.variant}`), a = L(() => `in-info-box__size-${o.size}`), s = L(() => t.value ? "inverse" : "default");
1199
1199
  return (l, i) => (f(), b("div", {
1200
- class: x([
1200
+ class: w([
1201
1201
  p(J)["in-info-box"],
1202
1202
  t.value ? p(J)["in-info-box__background-inverse"] : p(J)["in-info-box__background-default"],
1203
1203
  p(J)[a.value],
@@ -1205,20 +1205,20 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1205
1205
  ])
1206
1206
  }, [
1207
1207
  M("div", {
1208
- class: x([
1208
+ class: w([
1209
1209
  p(J)["in-info-box__container"],
1210
1210
  { [p(J)["in-info-box__container-full-width"]]: l.fullWidthContentStatus }
1211
1211
  ])
1212
1212
  }, [
1213
1213
  l.titleStatus ? (f(), b("div", {
1214
1214
  key: 0,
1215
- class: x([
1215
+ class: w([
1216
1216
  p(J)["in-info-box__heading-wrapper"],
1217
1217
  { [p(J)["in-info-box__heading-wrapper-full-width"]]: l.fullWidthContentStatus }
1218
1218
  ])
1219
1219
  }, [
1220
1220
  M("div", {
1221
- class: x([
1221
+ class: w([
1222
1222
  p(J)["in-info-box__heading"],
1223
1223
  p(J)[`in-info-box__heading-${s.value}`],
1224
1224
  { [p(J)["in-info-box__heading-full-width"]]: l.fullWidthContentStatus }
@@ -1227,7 +1227,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1227
1227
  }, null, 10, So),
1228
1228
  l.titleStatus && l.descriptionStatus ? (f(), b("div", {
1229
1229
  key: 0,
1230
- class: x([
1230
+ class: w([
1231
1231
  p(J)["in-info-box__heading-details"],
1232
1232
  p(J)[`in-info-box__heading-details-${s.value}`]
1233
1233
  ]),
@@ -1235,7 +1235,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1235
1235
  }, null, 10, Io)) : R("", !0)
1236
1236
  ], 2)) : R("", !0),
1237
1237
  M("div", {
1238
- class: x(p(J)["in-info-box__content"])
1238
+ class: w(p(J)["in-info-box__content"])
1239
1239
  }, [
1240
1240
  le(l.$slots, "default")
1241
1241
  ], 2)
@@ -1314,7 +1314,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1314
1314
  key: 0,
1315
1315
  ref_key: "contentRef",
1316
1316
  ref: i,
1317
- class: x(["popover__content", { "popover__content--visible": r.value }]),
1317
+ class: w(["popover__content", { "popover__content--visible": r.value }]),
1318
1318
  style: te(u.value),
1319
1319
  onClick: C[0] || (C[0] = st(() => {
1320
1320
  }, ["prevent"]))
@@ -1345,12 +1345,13 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1345
1345
  validateAddItem: { type: Function, default: () => null },
1346
1346
  showSelectedIcon: { type: Boolean, default: !1 },
1347
1347
  menuHeight: { default: 154 },
1348
- width: {}
1348
+ width: {},
1349
+ mode: { default: "primary" }
1349
1350
  },
1350
1351
  emits: ["update:modelValue", "add-error", "item-added", "select-item"],
1351
1352
  setup(e, { expose: o, emit: t }) {
1352
1353
  on((v) => ({
1353
- "19b881e9": `${n.menuHeight}px`
1354
+ "23ba40ce": `${n.menuHeight}px`
1354
1355
  }));
1355
1356
  const n = e, a = t, s = E(!1), l = E(null), i = E(""), r = E(null), u = E([...n.items]), c = E([...n.items]), g = () => {
1356
1357
  s.value = !s.value;
@@ -1424,7 +1425,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1424
1425
  ]),
1425
1426
  default: ot(() => [
1426
1427
  M("div", {
1427
- class: "in-dropdown-menu__menu",
1428
+ class: w(["in-dropdown-menu__menu", [`in-dropdown-menu__menu--${n.mode}`]]),
1428
1429
  onClick: I[1] || (I[1] = st(() => {
1429
1430
  }, ["prevent"]))
1430
1431
  }, [
@@ -1463,7 +1464,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1463
1464
  }, [
1464
1465
  v.$slots.item ? (f(), b("div", {
1465
1466
  key: 0,
1466
- class: x(["in-dropdown-menu__item-content", [
1467
+ class: w(["in-dropdown-menu__item-content", [
1467
1468
  {
1468
1469
  "in-dropdown-menu__item--active": l.value && $.value === l.value.value
1469
1470
  }
@@ -1477,7 +1478,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1477
1478
  ], 10, $o)) : (f(), Z(p(at), {
1478
1479
  key: 1,
1479
1480
  fill: "",
1480
- class: x(["in-dropdown-menu__item-button", [
1481
+ class: w(["in-dropdown-menu__item-button", [
1481
1482
  {
1482
1483
  "in-dropdown-menu__item-button--active": l.value && $.value === l.value.value
1483
1484
  }
@@ -1492,12 +1493,12 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1492
1493
  ]);
1493
1494
  }), 128))
1494
1495
  ])
1495
- ])
1496
+ ], 2)
1496
1497
  ]),
1497
1498
  _: 3
1498
1499
  }, 8, ["width", "modelValue"]));
1499
1500
  }
1500
- }), ai = /* @__PURE__ */ me(Lo, [["__scopeId", "data-v-4a084e0a"]]), Ro = { class: "in-tabs" }, Oo = ["disabled", "onClick"], Do = /* @__PURE__ */ Y({
1501
+ }), ai = /* @__PURE__ */ me(Lo, [["__scopeId", "data-v-24275cb4"]]), Ro = { class: "in-tabs" }, Oo = ["disabled", "onClick"], Do = /* @__PURE__ */ Y({
1501
1502
  __name: "InTabs",
1502
1503
  props: {
1503
1504
  tabs: {},
@@ -1523,7 +1524,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1523
1524
  ), (l, i) => (f(), b("div", Ro, [
1524
1525
  (f(!0), b(se, null, Ve(l.tabs, (r, u) => (f(), b("button", {
1525
1526
  key: `${r.value}-${u}`,
1526
- class: x([
1527
+ class: w([
1527
1528
  "in-tabs__tab",
1528
1529
  {
1529
1530
  "in-tabs__tab--active": a.value === r.value
@@ -1592,7 +1593,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1592
1593
  return o({
1593
1594
  textareaRef: l
1594
1595
  }), (h, v) => (f(), b("fieldset", {
1595
- class: x([
1596
+ class: w([
1596
1597
  p(de)["in-form-item"],
1597
1598
  p(de)["in-textarea-wrapper"],
1598
1599
  { [p(de)["in-form-item_invalid"]]: h.invalid }
@@ -1601,7 +1602,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1601
1602
  h.withLabel ? (f(), b("label", {
1602
1603
  key: 0,
1603
1604
  for: h.id,
1604
- class: x([
1605
+ class: w([
1605
1606
  p(de)["in-textarea-wrapper__label"],
1606
1607
  { [p(de)["in-textarea-wrapper__label_disable"]]: h.disabled }
1607
1608
  ])
@@ -1610,7 +1611,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1610
1611
  id: h.id,
1611
1612
  ref_key: "textareaRef",
1612
1613
  ref: l,
1613
- class: x([
1614
+ class: w([
1614
1615
  p(de)["in-textarea-wrapper__textarea"],
1615
1616
  { [p(de)["in-textarea-wrapper__textarea_disable"]]: h.disabled },
1616
1617
  { [p(de)["in-textarea-wrapper__textarea_smart"]]: h.type === "smart" },
@@ -1633,7 +1634,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1633
1634
  }, " ", 46, Ho),
1634
1635
  h.invalid ? (f(), b("p", {
1635
1636
  key: 1,
1636
- class: x([
1637
+ class: w([
1637
1638
  p(de)["in-textarea-wrapper__error-message"]
1638
1639
  ])
1639
1640
  }, F(h.invalidMessage), 3)) : R("", !0)
@@ -1664,7 +1665,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1664
1665
  a.value && !a.value.disabled && (a.value.checked = !a.value.checked, a.value.dispatchEvent(new Event("change", { bubbles: !0 })));
1665
1666
  };
1666
1667
  return (r, u) => (f(), b("fieldset", {
1667
- class: x(["in-form-item in-toggle-wrapper", [
1668
+ class: w(["in-form-item in-toggle-wrapper", [
1668
1669
  {
1669
1670
  "in-toggle-wrapper_disable": r.disabled,
1670
1671
  "in-toggle-wrapper_checked": r.checked
@@ -1773,7 +1774,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1773
1774
  return t.fill && u.push(Pe.fill), t.customClass && u.push(t.customClass), u;
1774
1775
  });
1775
1776
  return (u, c) => (f(), b("button", {
1776
- class: x(r.value),
1777
+ class: w(r.value),
1777
1778
  disabled: t.disabled,
1778
1779
  onClick: a
1779
1780
  }, [
@@ -1783,7 +1784,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1783
1784
  size: u.iconSize
1784
1785
  }, null, 8, ["name", "size"])) : R("", !0),
1785
1786
  M("input", {
1786
- class: x(p(Pe).inputButton__input),
1787
+ class: w(p(Pe).inputButton__input),
1787
1788
  value: u.inputValue,
1788
1789
  placeholder: u.inputPlaceholder,
1789
1790
  disabled: t.disabled,
@@ -1836,33 +1837,33 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1836
1837
  }), (r, u) => (f(), b(se, null, [
1837
1838
  r.hasOverlay ? (f(), b("div", {
1838
1839
  key: 0,
1839
- class: x(p(ye).modalOverlay),
1840
+ class: w(p(ye).modalOverlay),
1840
1841
  onClick: s
1841
1842
  }, null, 2)) : R("", !0),
1842
1843
  pe(an, { name: "modal-transition" }, {
1843
1844
  default: ot(() => [
1844
1845
  nt(M("div", {
1845
- class: x([p(ye).modalWrapper, p(ye)[t.size]])
1846
+ class: w([p(ye).modalWrapper, p(ye)[t.size]])
1846
1847
  }, [
1847
1848
  M("div", {
1848
- class: x([p(ye).modal, p(ye)[t.size]])
1849
+ class: w([p(ye).modal, p(ye)[t.size]])
1849
1850
  }, [
1850
1851
  M("button", {
1851
- class: x(p(ye).close),
1852
+ class: w(p(ye).close),
1852
1853
  onClick: s
1853
1854
  }, " × ", 2),
1854
1855
  M("div", {
1855
- class: x(p(ye).header)
1856
+ class: w(p(ye).header)
1856
1857
  }, [
1857
1858
  M("p", null, F(r.title), 1)
1858
1859
  ], 2),
1859
1860
  M("div", {
1860
- class: x(p(ye).section)
1861
+ class: w(p(ye).section)
1861
1862
  }, [
1862
1863
  le(r.$slots, "section", {}, void 0, !0)
1863
1864
  ], 2),
1864
1865
  M("div", {
1865
- class: x(p(ye).footer)
1866
+ class: w(p(ye).footer)
1866
1867
  }, [
1867
1868
  pe(p(at), {
1868
1869
  color: "secondary",
@@ -1929,17 +1930,17 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1929
1930
  return (i, r) => {
1930
1931
  var u;
1931
1932
  return f(), b("div", {
1932
- class: x([p(xe).wrapper, p(xe)[`wrapper__size_${i.size}`]])
1933
+ class: w([p(xe).wrapper, p(xe)[`wrapper__size_${i.size}`]])
1933
1934
  }, [
1934
1935
  i.label ? (f(), b("label", {
1935
1936
  key: 0,
1936
- class: x(p(xe).wrapper__label),
1937
+ class: w(p(xe).wrapper__label),
1937
1938
  for: i.id
1938
1939
  }, F(i.label), 11, ga)) : R("", !0),
1939
1940
  M("input", {
1940
1941
  id: i.id,
1941
1942
  type: "number",
1942
- class: x([
1943
+ class: w([
1943
1944
  p(xe).wrapper__field,
1944
1945
  {
1945
1946
  [p(xe)["wrapper--error"]]: i.error || i.errorStatus
@@ -1959,15 +1960,15 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
1959
1960
  }, null, 42, va),
1960
1961
  i.counter || i.error ? (f(), b("div", {
1961
1962
  key: 1,
1962
- class: x(p(xe).wrapper__bottom)
1963
+ class: w(p(xe).wrapper__bottom)
1963
1964
  }, [
1964
1965
  i.error ? (f(), b("div", {
1965
1966
  key: 0,
1966
- class: x(p(xe).wrapper__errorMessage)
1967
+ class: w(p(xe).wrapper__errorMessage)
1967
1968
  }, F(i.error), 3)) : R("", !0),
1968
1969
  i.counter ? (f(), b("div", {
1969
1970
  key: 1,
1970
- class: x(p(xe).wrapper__counter)
1971
+ class: w(p(xe).wrapper__counter)
1971
1972
  }, F(((u = i.modelValue) == null ? void 0 : u.toString().length) || 0), 3)) : R("", !0)
1972
1973
  ], 2)) : R("", !0)
1973
1974
  ], 2);
@@ -2000,7 +2001,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2000
2001
  }
2001
2002
  });
2002
2003
  return (n, a) => (f(), b("div", {
2003
- class: x([
2004
+ class: w([
2004
2005
  p(mt).container,
2005
2006
  p(mt)[`container__${n.variant}`]
2006
2007
  ])
@@ -2010,25 +2011,25 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2010
2011
  size: 24
2011
2012
  }, null, 8, ["name"]),
2012
2013
  M("span", {
2013
- class: x(p(mt).container__text)
2014
+ class: w(p(mt).container__text)
2014
2015
  }, F(n.text), 3)
2015
2016
  ], 2));
2016
2017
  }
2017
- }), ka = "_wrapper_1kgon_36", Ba = "_button_1kgon_43", Sa = "_button__label_1kgon_72", Ia = "_button__icon_1kgon_75", ee = {
2018
+ }), ka = "_wrapper_1i7bu_36", Ba = "_button_1i7bu_43", Sa = "_button__label_1i7bu_72", Ia = "_button__icon_1i7bu_75", ee = {
2018
2019
  wrapper: ka,
2019
- "wrapper--horizontal": "_wrapper--horizontal_1kgon_40",
2020
+ "wrapper--horizontal": "_wrapper--horizontal_1i7bu_40",
2020
2021
  button: Ba,
2021
- "button--first": "_button--first_1kgon_46",
2022
- "button--last": "_button--last_1kgon_49",
2023
- "wrapper--vertical": "_wrapper--vertical_1kgon_52",
2024
- "wrapper--disabled": "_wrapper--disabled_1kgon_64",
2025
- "wrapper--icon-only": "_wrapper--icon-only_1kgon_68",
2022
+ "button--first": "_button--first_1i7bu_46",
2023
+ "button--last": "_button--last_1i7bu_49",
2024
+ "wrapper--vertical": "_wrapper--vertical_1i7bu_52",
2025
+ "wrapper--disabled": "_wrapper--disabled_1i7bu_64",
2026
+ "wrapper--icon-only": "_wrapper--icon-only_1i7bu_68",
2026
2027
  button__label: Sa,
2027
2028
  button__icon: Ia,
2028
- "wrapper--label-only": "_wrapper--label-only_1kgon_78",
2029
- "button--selected": "_button--selected_1kgon_101",
2030
- "button--disabled": "_button--disabled_1kgon_121",
2031
- "wrapper--small": "_wrapper--small_1kgon_134"
2029
+ "wrapper--label-only": "_wrapper--label-only_1i7bu_78",
2030
+ "button--selected": "_button--selected_1i7bu_101",
2031
+ "button--disabled": "_button--disabled_1i7bu_121",
2032
+ "wrapper--small": "_wrapper--small_1i7bu_134"
2032
2033
  }, Va = ["data-mode", "disabled", "onClick"], pi = /* @__PURE__ */ Y({
2033
2034
  __name: "SegmentButton",
2034
2035
  props: {
@@ -2043,14 +2044,14 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2043
2044
  emits: ["update:modelValue", "click"],
2044
2045
  setup(e, { emit: o }) {
2045
2046
  const t = e, n = o, a = E(t.modelValue || ""), s = (l) => {
2046
- t.disabled || l.disabled || (a.value = l.value, n("update:modelValue", l.value), n("click", l.value));
2047
+ t.disabled || l.disabled || (n("update:modelValue", l.value), n("click", l.value));
2047
2048
  };
2048
2049
  return G(() => t.modelValue, (l) => {
2049
2050
  a.value !== l && (a.value = l || "");
2050
2051
  }), G(() => t.segments, (l) => {
2051
2052
  l.some((i) => i.value === a.value) || (a.value = "", n("update:modelValue", ""));
2052
2053
  }, { deep: !0 }), (l, i) => (f(), b("div", {
2053
- class: x([
2054
+ class: w([
2054
2055
  p(ee).wrapper,
2055
2056
  p(ee)[`wrapper--${l.orientation}`],
2056
2057
  p(ee)[`wrapper--${l.size}`],
@@ -2063,7 +2064,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2063
2064
  key: `${r.value}-${u}`,
2064
2065
  type: "button",
2065
2066
  "data-mode": r.mode,
2066
- class: x([
2067
+ class: w([
2067
2068
  p(ee).button,
2068
2069
  {
2069
2070
  [p(ee)["button--selected"]]: r.value === a.value,
@@ -2077,23 +2078,23 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2077
2078
  }, [
2078
2079
  l.iconOnly && r.icon ? (f(), Z(p(ne), {
2079
2080
  key: 0,
2080
- class: x(p(ee).button__icon),
2081
+ class: w(p(ee).button__icon),
2081
2082
  name: r.icon,
2082
2083
  size: 24
2083
2084
  }, null, 8, ["class", "name"])) : R("", !0),
2084
2085
  l.labelOnly && r.label ? (f(), b("span", {
2085
2086
  key: 1,
2086
- class: x(p(ee).button__label)
2087
+ class: w(p(ee).button__label)
2087
2088
  }, F(r.label), 3)) : R("", !0),
2088
2089
  !l.iconOnly && !l.labelOnly ? (f(), b(se, { key: 2 }, [
2089
2090
  r.icon ? (f(), Z(p(ne), {
2090
2091
  key: 0,
2091
- class: x(p(ee).button__icon),
2092
+ class: w(p(ee).button__icon),
2092
2093
  name: r.icon
2093
2094
  }, null, 8, ["class", "name"])) : R("", !0),
2094
2095
  r.label ? (f(), b("span", {
2095
2096
  key: 1,
2096
- class: x(p(ee).button__label)
2097
+ class: w(p(ee).button__label)
2097
2098
  }, F(r.label), 3)) : R("", !0)
2098
2099
  ], 64)) : R("", !0)
2099
2100
  ], 10, Va))), 128))
@@ -2142,11 +2143,11 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2142
2143
  }), (i, r) => {
2143
2144
  var u;
2144
2145
  return f(), b("div", {
2145
- class: x([p(re).wrapper, i.mode === "smart" ? p(re)["wrapper--smart"] : p(re)["wrapper--primary"]])
2146
+ class: w([p(re).wrapper, i.mode === "smart" ? p(re)["wrapper--smart"] : p(re)["wrapper--primary"]])
2146
2147
  }, [
2147
2148
  i.label ? (f(), b("label", {
2148
2149
  key: 0,
2149
- class: x(p(re).wrapper__label),
2150
+ class: w(p(re).wrapper__label),
2150
2151
  for: i.id
2151
2152
  }, F(i.label), 11, Oa)) : R("", !0),
2152
2153
  i.multiline ? (f(), b("textarea", {
@@ -2154,7 +2155,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2154
2155
  id: i.id,
2155
2156
  ref_key: "textareaRef",
2156
2157
  ref: a,
2157
- class: x([
2158
+ class: w([
2158
2159
  p(re).wrapper__field,
2159
2160
  {
2160
2161
  [p(re)["wrapper--error"]]: i.error
@@ -2174,7 +2175,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2174
2175
  key: 2,
2175
2176
  id: i.id,
2176
2177
  type: "text",
2177
- class: x([
2178
+ class: w([
2178
2179
  p(re).wrapper__field,
2179
2180
  {
2180
2181
  [p(re)["wrapper--error"]]: i.error
@@ -2191,15 +2192,15 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2191
2192
  onPaste: r[7] || (r[7] = (c) => n("paste", c))
2192
2193
  }, null, 42, Pa)),
2193
2194
  M("div", {
2194
- class: x(p(re).wrapper__bottom)
2195
+ class: w(p(re).wrapper__bottom)
2195
2196
  }, [
2196
2197
  i.error ? (f(), b("div", {
2197
2198
  key: 0,
2198
- class: x(p(re).wrapper__errorMessage)
2199
+ class: w(p(re).wrapper__errorMessage)
2199
2200
  }, F(i.error), 3)) : R("", !0),
2200
2201
  i.counter ? (f(), b("div", {
2201
2202
  key: 1,
2202
- class: x(p(re).wrapper__counter)
2203
+ class: w(p(re).wrapper__counter)
2203
2204
  }, F(((u = i.modelValue) == null ? void 0 : u.toString().length) || 0), 3)) : R("", !0)
2204
2205
  ], 2)
2205
2206
  ], 2);
@@ -2225,7 +2226,7 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2225
2226
  n("click", !t.checked);
2226
2227
  };
2227
2228
  return (s, l) => (f(), b("fieldset", {
2228
- class: x([
2229
+ class: w([
2229
2230
  p(Ke).wrapper,
2230
2231
  {
2231
2232
  [p(Ke).wrapper_checked]: s.checked,
@@ -2237,13 +2238,13 @@ const yo = ["fill", "height", "width"], xo = ["xlink:href"], Ao = ["viewBox", "w
2237
2238
  id: s.id,
2238
2239
  type: "checkbox",
2239
2240
  checked: s.checked,
2240
- class: x(p(Ke).wrapper__input),
2241
+ class: w(p(Ke).wrapper__input),
2241
2242
  disabled: s.disabled,
2242
2243
  name: s.name,
2243
2244
  onClick: a
2244
2245
  }, null, 10, Ua),
2245
2246
  M("label", {
2246
- class: x(p(Ke).wrapper__label),
2247
+ class: w(p(Ke).wrapper__label),
2247
2248
  for: s.id
2248
2249
  }, null, 10, Ya)
2249
2250
  ], 2));
@@ -2532,14 +2533,14 @@ const ol = (e) => ({
2532
2533
  }, m = xt(a), S = yt(m), B = await l.getDimensions(u), C = m === "y", h = C ? "top" : "left", v = C ? "bottom" : "right", I = C ? "clientHeight" : "clientWidth", $ = s.reference[S] + s.reference[m] - A[m] - s.floating[S], P = A[m] - s.reference[m], U = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(u));
2533
2534
  let O = U ? U[I] : 0;
2534
2535
  (!O || !await (l.isElement == null ? void 0 : l.isElement(U))) && (O = i.floating[I] || s.floating[S]);
2535
- const D = $ / 2 - P / 2, T = O / 2 - B[S] / 2 - 1, H = Ne(g[h], T), W = Ne(g[v], T), Q = H, oe = O - B[S] - W, d = O / 2 - B[S] / 2 + D, _ = gt(Q, d, oe), k = !r.arrow && Xe(a) != null && d !== _ && s.reference[S] / 2 - (d < Q ? H : W) - B[S] / 2 < 0, w = k ? d < Q ? d - Q : d - oe : 0;
2536
+ const D = $ / 2 - P / 2, T = O / 2 - B[S] / 2 - 1, H = Ne(g[h], T), W = Ne(g[v], T), Q = H, oe = O - B[S] - W, d = O / 2 - B[S] / 2 + D, _ = gt(Q, d, oe), k = !r.arrow && Xe(a) != null && d !== _ && s.reference[S] / 2 - (d < Q ? H : W) - B[S] / 2 < 0, y = k ? d < Q ? d - Q : d - oe : 0;
2536
2537
  return {
2537
- [m]: A[m] + w,
2538
+ [m]: A[m] + y,
2538
2539
  data: {
2539
2540
  [m]: _,
2540
- centerOffset: d - _ - w,
2541
+ centerOffset: d - _ - y,
2541
2542
  ...k && {
2542
- alignmentOffset: w
2543
+ alignmentOffset: y
2543
2544
  }
2544
2545
  },
2545
2546
  reset: k
@@ -2585,7 +2586,7 @@ const ol = (e) => ({
2585
2586
  const d = (((W = s.flip) == null ? void 0 : W.index) || 0) + 1, _ = O[d];
2586
2587
  if (_ && (!(g === "alignment" ? v !== Ae(_) : !1) || // We leave the current main axis only if every placement on that axis
2587
2588
  // overflows the main axis.
2588
- H.every((y) => Ae(y.placement) === v ? y.overflows[0] > 0 : !0)))
2589
+ H.every((x) => Ae(x.placement) === v ? x.overflows[0] > 0 : !0)))
2589
2590
  return {
2590
2591
  data: {
2591
2592
  index: d,
@@ -2595,21 +2596,21 @@ const ol = (e) => ({
2595
2596
  placement: _
2596
2597
  }
2597
2598
  };
2598
- let k = (Q = H.filter((w) => w.overflows[0] <= 0).sort((w, y) => w.overflows[1] - y.overflows[1])[0]) == null ? void 0 : Q.placement;
2599
+ let k = (Q = H.filter((y) => y.overflows[0] <= 0).sort((y, x) => y.overflows[1] - x.overflows[1])[0]) == null ? void 0 : Q.placement;
2599
2600
  if (!k)
2600
2601
  switch (m) {
2601
2602
  case "bestFit": {
2602
2603
  var oe;
2603
- const w = (oe = H.filter((y) => {
2604
+ const y = (oe = H.filter((x) => {
2604
2605
  if (U) {
2605
- const V = Ae(y.placement);
2606
+ const V = Ae(x.placement);
2606
2607
  return V === v || // Create a bias to the `y` side axis due to horizontal
2607
2608
  // reading directions favoring greater width.
2608
2609
  V === "y";
2609
2610
  }
2610
2611
  return !0;
2611
- }).map((y) => [y.placement, y.overflows.filter((V) => V > 0).reduce((V, z) => V + z, 0)]).sort((y, V) => y[1] - V[1])[0]) == null ? void 0 : oe[0];
2612
- w && (k = w);
2612
+ }).map((x) => [x.placement, x.overflows.filter((V) => V > 0).reduce((V, z) => V + z, 0)]).sort((x, V) => x[1] - V[1])[0]) == null ? void 0 : oe[0];
2613
+ y && (k = y);
2613
2614
  break;
2614
2615
  }
2615
2616
  case "initialPlacement":
@@ -3459,7 +3460,7 @@ const Yl = "_bubble_6zub9_1", Kl = "_trigger_6zub9_43", Ql = "_trigger__icon_6zu
3459
3460
  id: D.id,
3460
3461
  ref_key: "triggerRef",
3461
3462
  ref: i,
3462
- class: x(p(Qe).trigger),
3463
+ class: w(p(Qe).trigger),
3463
3464
  onMouseenter: h,
3464
3465
  onMouseleave: v
3465
3466
  }, [
@@ -3473,13 +3474,13 @@ const Yl = "_bubble_6zub9_1", Kl = "_trigger_6zub9_43", Ql = "_trigger__icon_6zu
3473
3474
  M("div", {
3474
3475
  ref_key: "tooltipRef",
3475
3476
  ref: l,
3476
- class: x(["qa-tooltip", p(Qe).bubble]),
3477
+ class: w(["qa-tooltip", p(Qe).bubble]),
3477
3478
  style: te(P.value),
3478
3479
  onMouseenter: h,
3479
3480
  onMouseleave: v
3480
3481
  }, [
3481
3482
  M("div", {
3482
- class: x(p(Qe).bubble__content)
3483
+ class: w(p(Qe).bubble__content)
3483
3484
  }, [
3484
3485
  M("div", { innerHTML: c.value }, null, 8, Xl),
3485
3486
  le(D.$slots, "contentSlot")
@@ -3487,7 +3488,7 @@ const Yl = "_bubble_6zub9_1", Kl = "_trigger_6zub9_43", Ql = "_trigger__icon_6zu
3487
3488
  M("div", {
3488
3489
  ref_key: "floatingArrowRef",
3489
3490
  ref: r,
3490
- class: x(p(Qe).arrow),
3491
+ class: w(p(Qe).arrow),
3491
3492
  style: te(O.value)
3492
3493
  }, null, 6)
3493
3494
  ], 38)