@akad/design-system 1.0.0-alpha.8 → 1.1.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.
@@ -20,7 +20,7 @@ function Cn(t) {
20
20
  };
21
21
  globalThis.window.dataLayer.push(s);
22
22
  }
23
- function xn(t) {
23
+ function An(t) {
24
24
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
25
25
  }
26
26
  var Tt = { exports: {} }, st = { exports: {} }, H = {};
@@ -33,14 +33,14 @@ var Tt = { exports: {} }, st = { exports: {} }, H = {};
33
33
  * LICENSE file in the root directory of this source tree.
34
34
  */
35
35
  var jt;
36
- function wn() {
36
+ function xn() {
37
37
  if (jt) return H;
38
38
  jt = 1;
39
39
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, S = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, m = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, U = t ? Symbol.for("react.scope") : 60119;
40
40
  function T(p) {
41
41
  if (typeof p == "object" && p !== null) {
42
- var A = p.$$typeof;
43
- switch (A) {
42
+ var w = p.$$typeof;
43
+ switch (w) {
44
44
  case e:
45
45
  switch (p = p.type, p) {
46
46
  case u:
@@ -59,20 +59,20 @@ function wn() {
59
59
  case i:
60
60
  return p;
61
61
  default:
62
- return A;
62
+ return w;
63
63
  }
64
64
  }
65
65
  case s:
66
- return A;
66
+ return w;
67
67
  }
68
68
  }
69
69
  }
70
- function w(p) {
70
+ function x(p) {
71
71
  return T(p) === d;
72
72
  }
73
73
  return H.AsyncMode = u, H.ConcurrentMode = d, H.ContextConsumer = l, H.ContextProvider = i, H.Element = e, H.ForwardRef = h, H.Fragment = n, H.Lazy = S, H.Memo = y, H.Portal = s, H.Profiler = a, H.StrictMode = r, H.Suspense = f, H.isAsyncMode = function(p) {
74
- return w(p) || T(p) === u;
75
- }, H.isConcurrentMode = w, H.isContextConsumer = function(p) {
74
+ return x(p) || T(p) === u;
75
+ }, H.isConcurrentMode = x, H.isContextConsumer = function(p) {
76
76
  return T(p) === l;
77
77
  }, H.isContextProvider = function(p) {
78
78
  return T(p) === i;
@@ -108,17 +108,17 @@ var W = {};
108
108
  * LICENSE file in the root directory of this source tree.
109
109
  */
110
110
  var Pt;
111
- function An() {
111
+ function wn() {
112
112
  return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
113
113
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, S = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, m = t ? Symbol.for("react.fundamental") : 60117, C = t ? Symbol.for("react.responder") : 60118, U = t ? Symbol.for("react.scope") : 60119;
114
114
  function T(k) {
115
115
  return typeof k == "string" || typeof k == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
116
116
  k === n || k === d || k === a || k === r || k === f || k === _ || typeof k == "object" && k !== null && (k.$$typeof === S || k.$$typeof === y || k.$$typeof === i || k.$$typeof === l || k.$$typeof === h || k.$$typeof === m || k.$$typeof === C || k.$$typeof === U || k.$$typeof === v);
117
117
  }
118
- function w(k) {
118
+ function x(k) {
119
119
  if (typeof k == "object" && k !== null) {
120
- var xe = k.$$typeof;
121
- switch (xe) {
120
+ var Ae = k.$$typeof;
121
+ switch (Ae) {
122
122
  case e:
123
123
  var tt = k.type;
124
124
  switch (tt) {
@@ -139,60 +139,60 @@ function An() {
139
139
  case i:
140
140
  return Lt;
141
141
  default:
142
- return xe;
142
+ return Ae;
143
143
  }
144
144
  }
145
145
  case s:
146
- return xe;
146
+ return Ae;
147
147
  }
148
148
  }
149
149
  }
150
- var p = u, A = d, B = l, z = i, L = e, te = h, le = n, ue = S, ye = y, se = s, De = a, re = r, ce = f, ke = !1;
150
+ var p = u, w = d, B = l, z = i, L = e, te = h, le = n, ue = S, ye = y, se = s, De = a, re = r, ce = f, ke = !1;
151
151
  function Ce(k) {
152
- return ke || (ke = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(k) || w(k) === u;
152
+ return ke || (ke = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(k) || x(k) === u;
153
153
  }
154
154
  function g(k) {
155
- return w(k) === d;
155
+ return x(k) === d;
156
156
  }
157
157
  function E(k) {
158
- return w(k) === l;
158
+ return x(k) === l;
159
159
  }
160
160
  function $(k) {
161
- return w(k) === i;
161
+ return x(k) === i;
162
162
  }
163
163
  function N(k) {
164
164
  return typeof k == "object" && k !== null && k.$$typeof === e;
165
165
  }
166
166
  function I(k) {
167
- return w(k) === h;
167
+ return x(k) === h;
168
168
  }
169
169
  function b(k) {
170
- return w(k) === n;
170
+ return x(k) === n;
171
171
  }
172
172
  function D(k) {
173
- return w(k) === S;
173
+ return x(k) === S;
174
174
  }
175
175
  function V(k) {
176
- return w(k) === y;
176
+ return x(k) === y;
177
177
  }
178
178
  function q(k) {
179
- return w(k) === s;
179
+ return x(k) === s;
180
180
  }
181
181
  function F(k) {
182
- return w(k) === a;
182
+ return x(k) === a;
183
183
  }
184
184
  function P(k) {
185
- return w(k) === r;
185
+ return x(k) === r;
186
186
  }
187
187
  function J(k) {
188
- return w(k) === f;
188
+ return x(k) === f;
189
189
  }
190
- W.AsyncMode = p, W.ConcurrentMode = A, W.ContextConsumer = B, W.ContextProvider = z, W.Element = L, W.ForwardRef = te, W.Fragment = le, W.Lazy = ue, W.Memo = ye, W.Portal = se, W.Profiler = De, W.StrictMode = re, W.Suspense = ce, W.isAsyncMode = Ce, W.isConcurrentMode = g, W.isContextConsumer = E, W.isContextProvider = $, W.isElement = N, W.isForwardRef = I, W.isFragment = b, W.isLazy = D, W.isMemo = V, W.isPortal = q, W.isProfiler = F, W.isStrictMode = P, W.isSuspense = J, W.isValidElementType = T, W.typeOf = w;
190
+ W.AsyncMode = p, W.ConcurrentMode = w, W.ContextConsumer = B, W.ContextProvider = z, W.Element = L, W.ForwardRef = te, W.Fragment = le, W.Lazy = ue, W.Memo = ye, W.Portal = se, W.Profiler = De, W.StrictMode = re, W.Suspense = ce, W.isAsyncMode = Ce, W.isConcurrentMode = g, W.isContextConsumer = E, W.isContextProvider = $, W.isElement = N, W.isForwardRef = I, W.isFragment = b, W.isLazy = D, W.isMemo = V, W.isPortal = q, W.isProfiler = F, W.isStrictMode = P, W.isSuspense = J, W.isValidElementType = T, W.typeOf = x;
191
191
  }()), W;
192
192
  }
193
193
  var qt;
194
194
  function ss() {
195
- return qt || (qt = 1, process.env.NODE_ENV === "production" ? st.exports = wn() : st.exports = An()), st.exports;
195
+ return qt || (qt = 1, process.env.NODE_ENV === "production" ? st.exports = xn() : st.exports = wn()), st.exports;
196
196
  }
197
197
  /*
198
198
  object-assign
@@ -340,9 +340,9 @@ function Dn() {
340
340
  symbol: C("symbol"),
341
341
  any: U(),
342
342
  arrayOf: T,
343
- element: w(),
343
+ element: x(),
344
344
  elementType: p(),
345
- instanceOf: A,
345
+ instanceOf: w,
346
346
  node: te(),
347
347
  objectOf: z,
348
348
  oneOf: B,
@@ -368,11 +368,11 @@ function Dn() {
368
368
  );
369
369
  throw k.name = "Invariant Violation", k;
370
370
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
371
- var xe = q + ":" + V;
372
- !E[xe] && // Avoid spamming the console because they are often not actionable except for lib authors
371
+ var Ae = q + ":" + V;
372
+ !E[Ae] && // Avoid spamming the console because they are often not actionable except for lib authors
373
373
  $ < 3 && (a(
374
374
  "You are manually calling a React.PropTypes validation function for the `" + P + "` prop on `" + q + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
375
- ), E[xe] = !0, $++);
375
+ ), E[Ae] = !0, $++);
376
376
  }
377
377
  }
378
378
  return D[V] == null ? b ? D[V] === null ? new v("The " + F + " `" + P + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new v("The " + F + " `" + P + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : g(D, V, q, F, P);
@@ -415,7 +415,7 @@ function Dn() {
415
415
  }
416
416
  return m(E);
417
417
  }
418
- function w() {
418
+ function x() {
419
419
  function g(E, $, N, I, b) {
420
420
  var D = E[$];
421
421
  if (!l(D)) {
@@ -437,7 +437,7 @@ function Dn() {
437
437
  }
438
438
  return m(g);
439
439
  }
440
- function A(g) {
440
+ function w(g) {
441
441
  function E($, N, I, b, D) {
442
442
  if (!($[N] instanceof g)) {
443
443
  var V = g.name || _, q = Ce($[N]);
@@ -457,8 +457,8 @@ function Dn() {
457
457
  if (S(V, g[q]))
458
458
  return null;
459
459
  var F = JSON.stringify(g, function(J, k) {
460
- var xe = ce(k);
461
- return xe === "symbol" ? String(k) : k;
460
+ var Ae = ce(k);
461
+ return Ae === "symbol" ? String(k) : k;
462
462
  });
463
463
  return new v("Invalid " + b + " `" + D + "` of value `" + String(V) + "` " + ("supplied to `" + I + "`, expected one of " + F + "."));
464
464
  }
@@ -498,8 +498,8 @@ function Dn() {
498
498
  return null;
499
499
  k.data && n(k.data, "expectedType") && F.push(k.data.expectedType);
500
500
  }
501
- var xe = F.length > 0 ? ", expected one of type [" + F.join(", ") + "]" : "";
502
- return new v("Invalid " + V + " `" + q + "` supplied to " + ("`" + D + "`" + xe + "."));
501
+ var Ae = F.length > 0 ? ", expected one of type [" + F.join(", ") + "]" : "";
502
+ return new v("Invalid " + V + " `" + q + "` supplied to " + ("`" + D + "`" + Ae + "."));
503
503
  }
504
504
  return m(N);
505
505
  }
@@ -680,7 +680,7 @@ if (process.env.NODE_ENV !== "production") {
680
680
  } else
681
681
  Tt.exports = On()();
682
682
  var Nn = Tt.exports;
683
- const o = /* @__PURE__ */ xn(Nn);
683
+ const o = /* @__PURE__ */ An(Nn);
684
684
  var rs = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Info = "info", t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Neutral = "neutral", t))(rs || {}), as = /* @__PURE__ */ ((t) => (t.Solid = "solid", t.Outline = "outline", t.Text = "text", t))(as || {}), is = /* @__PURE__ */ ((t) => (t.Large = "lg", t.Medium = "md", t.Small = "sm", t))(is || {}), os = /* @__PURE__ */ ((t) => (t.Right = "right", t.Left = "left", t))(os || {}), Bn = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(Bn || {});
685
685
  const X = {
686
686
  name: "Button",
@@ -860,7 +860,7 @@ const ut = ({
860
860
  fullSize: y = X.props.fullSize.default,
861
861
  trackingData: S
862
862
  }) => {
863
- const v = n && X.props.size.options.find((z) => z === n) ? `${X.class}--${n}` : `${X.class}__${X.props.size.default}`, m = r && `${X.class}--disabled`, C = `${X.class}__${h}--${d}`, U = u && `${X.class}--elevation-${u}`, T = a && `${X.class}--with-icon`, w = y ? `${X.class}--full-size` : "", p = _ === "right" ? `${X.class}__icon` : `${X.class}__icon--left`, A = _ === "right" ? `${X.class}__text` : `${X.class}__text--reversed`, B = (z) => {
863
+ const v = n && X.props.size.options.find((z) => z === n) ? `${X.class}--${n}` : `${X.class}__${X.props.size.default}`, m = r && `${X.class}--disabled`, C = `${X.class}__${h}--${d}`, U = u && `${X.class}--elevation-${u}`, T = a && `${X.class}--with-icon`, x = y ? `${X.class}--full-size` : "", p = _ === "right" ? `${X.class}__icon` : `${X.class}__icon--left`, w = _ === "right" ? `${X.class}__text` : `${X.class}__text--reversed`, B = (z) => {
864
864
  S && Cn(S), s && s(z);
865
865
  };
866
866
  return /* @__PURE__ */ c(
@@ -868,7 +868,7 @@ const ut = ({
868
868
  {
869
869
  className: [
870
870
  X.class,
871
- w,
871
+ x,
872
872
  m,
873
873
  v,
874
874
  C,
@@ -880,7 +880,7 @@ const ut = ({
880
880
  disabled: r,
881
881
  id: i,
882
882
  onClick: r ? void 0 : B,
883
- children: /* @__PURE__ */ R("span", { className: ["ds-button__text", A].join(" "), children: [
883
+ children: /* @__PURE__ */ R("span", { className: ["ds-button__text", w].join(" "), children: [
884
884
  t,
885
885
  a && /* @__PURE__ */ c(
886
886
  Z,
@@ -1214,7 +1214,7 @@ function ys(t, e) {
1214
1214
  return e(a, r) && (s[r] = a), s;
1215
1215
  }, {});
1216
1216
  }
1217
- const x = {
1217
+ const A = {
1218
1218
  NONE: "NONE",
1219
1219
  LEFT: "LEFT",
1220
1220
  FORCE_LEFT: "FORCE_LEFT",
@@ -1223,10 +1223,10 @@ const x = {
1223
1223
  };
1224
1224
  function Ln(t) {
1225
1225
  switch (t) {
1226
- case x.LEFT:
1227
- return x.FORCE_LEFT;
1228
- case x.RIGHT:
1229
- return x.FORCE_RIGHT;
1226
+ case A.LEFT:
1227
+ return A.FORCE_LEFT;
1228
+ case A.RIGHT:
1229
+ return A.FORCE_RIGHT;
1230
1230
  default:
1231
1231
  return t;
1232
1232
  }
@@ -1302,8 +1302,8 @@ class jn {
1302
1302
  }
1303
1303
  /** Remove direction */
1304
1304
  get removeDirection() {
1305
- return !this.removedCount || this.insertedCount ? x.NONE : (this.oldSelection.end === this.cursorPos || this.oldSelection.start === this.cursorPos) && // if not range removed (event with backspace)
1306
- this.oldSelection.end === this.oldSelection.start ? x.RIGHT : x.LEFT;
1305
+ return !this.removedCount || this.insertedCount ? A.NONE : (this.oldSelection.end === this.cursorPos || this.oldSelection.start === this.cursorPos) && // if not range removed (event with backspace)
1306
+ this.oldSelection.end === this.oldSelection.start ? A.RIGHT : A.LEFT;
1307
1307
  }
1308
1308
  }
1309
1309
  function O(t, e) {
@@ -1654,7 +1654,7 @@ class Un {
1654
1654
  }
1655
1655
  /** Aligns cursor to nearest available position */
1656
1656
  alignCursor() {
1657
- this.cursorPos = this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos, x.LEFT));
1657
+ this.cursorPos = this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos, A.LEFT));
1658
1658
  }
1659
1659
  /** Aligns cursor only if selection is empty */
1660
1660
  alignCursorFriendly() {
@@ -1685,9 +1685,9 @@ class Un {
1685
1685
  }), n = this.masked.rawInputValue, r = this.masked.splice(s.startChangePos, s.removed.length, s.inserted, s.removeDirection, {
1686
1686
  input: !0,
1687
1687
  raw: !0
1688
- }).offset, a = n === this.masked.rawInputValue ? s.removeDirection : x.NONE;
1688
+ }).offset, a = n === this.masked.rawInputValue ? s.removeDirection : A.NONE;
1689
1689
  let i = this.masked.nearestInputPos(s.startChangePos + r, a);
1690
- a !== x.NONE && (i = this.masked.nearestInputPos(i, x.NONE)), this.updateControl(i), delete this._inputEvent;
1690
+ a !== A.NONE && (i = this.masked.nearestInputPos(i, A.NONE)), this.updateControl(i), delete this._inputEvent;
1691
1691
  }
1692
1692
  /** Handles view change event and commits model value */
1693
1693
  _onChange() {
@@ -1997,7 +1997,7 @@ class ie {
1997
1997
  this.commit && this.commit(this.value, this);
1998
1998
  }
1999
1999
  splice(e, s, n, r, a) {
2000
- n === void 0 && (n = ""), r === void 0 && (r = x.NONE), a === void 0 && (a = {
2000
+ n === void 0 && (n = ""), r === void 0 && (r = A.NONE), a === void 0 && (a = {
2001
2001
  input: !0
2002
2002
  });
2003
2003
  const i = e + s, l = this.extractTail(i), u = this.eager === !0 || this.eager === "remove";
@@ -2007,14 +2007,14 @@ class ie {
2007
2007
  }));
2008
2008
  let h = e;
2009
2009
  const f = new M();
2010
- if (r !== x.NONE && (h = this.nearestInputPos(e, s > 1 && e !== 0 && !u ? x.NONE : r), f.tailShift = h - e), f.aggregate(this.remove(h)), u && r !== x.NONE && d === this.rawInputValue)
2011
- if (r === x.FORCE_LEFT) {
2010
+ if (r !== A.NONE && (h = this.nearestInputPos(e, s > 1 && e !== 0 && !u ? A.NONE : r), f.tailShift = h - e), f.aggregate(this.remove(h)), u && r !== A.NONE && d === this.rawInputValue)
2011
+ if (r === A.FORCE_LEFT) {
2012
2012
  let _;
2013
2013
  for (; d === this.rawInputValue && (_ = this.displayValue.length); )
2014
2014
  f.aggregate(new M({
2015
2015
  tailShift: -1
2016
2016
  })).aggregate(this.remove(_ - 1));
2017
- } else r === x.FORCE_RIGHT && l.unshift();
2017
+ } else r === A.FORCE_RIGHT && l.unshift();
2018
2018
  return f.aggregate(this.append(n, a, l));
2019
2019
  }
2020
2020
  maskEquals(e) {
@@ -2193,38 +2193,38 @@ class zn {
2193
2193
  }
2194
2194
  pushLeftBeforeFilled() {
2195
2195
  return this._pushLeft(() => {
2196
- if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, x.FORCE_LEFT), this.offset !== 0))
2196
+ if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, A.FORCE_LEFT), this.offset !== 0))
2197
2197
  return !0;
2198
2198
  });
2199
2199
  }
2200
2200
  pushLeftBeforeInput() {
2201
2201
  return this._pushLeft(() => {
2202
2202
  if (!this.block.isFixed)
2203
- return this.offset = this.block.nearestInputPos(this.offset, x.LEFT), !0;
2203
+ return this.offset = this.block.nearestInputPos(this.offset, A.LEFT), !0;
2204
2204
  });
2205
2205
  }
2206
2206
  pushLeftBeforeRequired() {
2207
2207
  return this._pushLeft(() => {
2208
2208
  if (!(this.block.isFixed || this.block.isOptional && !this.block.value))
2209
- return this.offset = this.block.nearestInputPos(this.offset, x.LEFT), !0;
2209
+ return this.offset = this.block.nearestInputPos(this.offset, A.LEFT), !0;
2210
2210
  });
2211
2211
  }
2212
2212
  pushRightBeforeFilled() {
2213
2213
  return this._pushRight(() => {
2214
- if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, x.FORCE_RIGHT), this.offset !== this.block.value.length))
2214
+ if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, A.FORCE_RIGHT), this.offset !== this.block.value.length))
2215
2215
  return !0;
2216
2216
  });
2217
2217
  }
2218
2218
  pushRightBeforeInput() {
2219
2219
  return this._pushRight(() => {
2220
2220
  if (!this.block.isFixed)
2221
- return this.offset = this.block.nearestInputPos(this.offset, x.NONE), !0;
2221
+ return this.offset = this.block.nearestInputPos(this.offset, A.NONE), !0;
2222
2222
  });
2223
2223
  }
2224
2224
  pushRightBeforeRequired() {
2225
2225
  return this._pushRight(() => {
2226
2226
  if (!(this.block.isFixed || this.block.isOptional && !this.block.value))
2227
- return this.offset = this.block.nearestInputPos(this.offset, x.NONE), !0;
2227
+ return this.offset = this.block.nearestInputPos(this.offset, A.NONE), !0;
2228
2228
  });
2229
2229
  }
2230
2230
  }
@@ -2257,15 +2257,15 @@ class Es {
2257
2257
  return e === void 0 && (e = 0), s === void 0 && (s = this._value.length), this._value = this._value.slice(0, e) + this._value.slice(s), this._value || (this._isRawInput = !1), new M();
2258
2258
  }
2259
2259
  nearestInputPos(e, s) {
2260
- s === void 0 && (s = x.NONE);
2260
+ s === void 0 && (s = A.NONE);
2261
2261
  const n = 0, r = this._value.length;
2262
2262
  switch (s) {
2263
- case x.LEFT:
2264
- case x.FORCE_LEFT:
2263
+ case A.LEFT:
2264
+ case A.FORCE_LEFT:
2265
2265
  return n;
2266
- case x.NONE:
2267
- case x.RIGHT:
2268
- case x.FORCE_RIGHT:
2266
+ case A.NONE:
2267
+ case A.RIGHT:
2268
+ case A.FORCE_RIGHT:
2269
2269
  default:
2270
2270
  return r;
2271
2271
  }
@@ -2400,16 +2400,16 @@ class dt {
2400
2400
  return e === void 0 && (e = 0), s === void 0 && (s = this.value.length), this.masked.extractInput(e, s, n);
2401
2401
  }
2402
2402
  nearestInputPos(e, s) {
2403
- s === void 0 && (s = x.NONE);
2403
+ s === void 0 && (s = A.NONE);
2404
2404
  const n = 0, r = this.value.length, a = Math.min(Math.max(e, n), r);
2405
2405
  switch (s) {
2406
- case x.LEFT:
2407
- case x.FORCE_LEFT:
2406
+ case A.LEFT:
2407
+ case A.FORCE_LEFT:
2408
2408
  return this.isComplete ? a : n;
2409
- case x.RIGHT:
2410
- case x.FORCE_RIGHT:
2409
+ case A.RIGHT:
2410
+ case A.FORCE_RIGHT:
2411
2411
  return this.isComplete ? a : r;
2412
- case x.NONE:
2412
+ case A.NONE:
2413
2413
  default:
2414
2414
  return a;
2415
2415
  }
@@ -2727,22 +2727,22 @@ class oe extends ie {
2727
2727
  }), n;
2728
2728
  }
2729
2729
  nearestInputPos(e, s) {
2730
- if (s === void 0 && (s = x.NONE), !this._blocks.length) return 0;
2730
+ if (s === void 0 && (s = A.NONE), !this._blocks.length) return 0;
2731
2731
  const n = new zn(this, e);
2732
- if (s === x.NONE)
2732
+ if (s === A.NONE)
2733
2733
  return n.pushRightBeforeInput() || (n.popState(), n.pushLeftBeforeInput()) ? n.pos : this.displayValue.length;
2734
- if (s === x.LEFT || s === x.FORCE_LEFT) {
2735
- if (s === x.LEFT) {
2734
+ if (s === A.LEFT || s === A.FORCE_LEFT) {
2735
+ if (s === A.LEFT) {
2736
2736
  if (n.pushRightBeforeFilled(), n.ok && n.pos === e) return e;
2737
2737
  n.popState();
2738
2738
  }
2739
- if (n.pushLeftBeforeInput(), n.pushLeftBeforeRequired(), n.pushLeftBeforeFilled(), s === x.LEFT) {
2739
+ if (n.pushLeftBeforeInput(), n.pushLeftBeforeRequired(), n.pushLeftBeforeFilled(), s === A.LEFT) {
2740
2740
  if (n.pushRightBeforeInput(), n.pushRightBeforeRequired(), n.ok && n.pos <= e || (n.popState(), n.ok && n.pos <= e)) return n.pos;
2741
2741
  n.popState();
2742
2742
  }
2743
- return n.ok ? n.pos : s === x.FORCE_LEFT ? 0 : (n.popState(), n.ok || (n.popState(), n.ok) ? n.pos : 0);
2743
+ return n.ok ? n.pos : s === A.FORCE_LEFT ? 0 : (n.popState(), n.ok || (n.popState(), n.ok) ? n.pos : 0);
2744
2744
  }
2745
- return s === x.RIGHT || s === x.FORCE_RIGHT ? (n.pushRightBeforeInput(), n.pushRightBeforeRequired(), n.pushRightBeforeFilled() ? n.pos : s === x.FORCE_RIGHT ? this.displayValue.length : (n.popState(), n.ok || (n.popState(), n.ok) ? n.pos : this.nearestInputPos(e, x.LEFT))) : e;
2745
+ return s === A.RIGHT || s === A.FORCE_RIGHT ? (n.pushRightBeforeInput(), n.pushRightBeforeRequired(), n.pushRightBeforeFilled() ? n.pos : s === A.FORCE_RIGHT ? this.displayValue.length : (n.popState(), n.ok || (n.popState(), n.ok) ? n.pos : this.nearestInputPos(e, A.LEFT))) : e;
2746
2746
  }
2747
2747
  totalInputPositions(e, s) {
2748
2748
  e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length);
@@ -3149,13 +3149,13 @@ gt.DEFAULTS = {
3149
3149
  dispatch: (t, e, s, n) => {
3150
3150
  if (!e.compiledMasks.length) return;
3151
3151
  const r = e.rawInputValue, a = e.compiledMasks.map((i, l) => {
3152
- const u = e.currentMask === i, d = u ? i.displayValue.length : i.nearestInputPos(i.displayValue.length, x.FORCE_LEFT);
3152
+ const u = e.currentMask === i, d = u ? i.displayValue.length : i.nearestInputPos(i.displayValue.length, A.FORCE_LEFT);
3153
3153
  return i.rawInputValue !== r ? (i.reset(), i.append(r, {
3154
3154
  raw: !0
3155
3155
  })) : u || i.remove(d), i.append(t, e.currentMaskFlags(s)), i.appendTail(n), {
3156
3156
  index: l,
3157
3157
  weight: i.rawInputValue.length,
3158
- totalInputPositions: i.totalInputPositions(0, Math.max(d, i.nearestInputPos(i.displayValue.length, x.FORCE_LEFT)))
3158
+ totalInputPositions: i.totalInputPositions(0, Math.max(d, i.nearestInputPos(i.displayValue.length, A.FORCE_LEFT)))
3159
3159
  };
3160
3160
  });
3161
3161
  return a.sort((i, l) => l.weight - i.weight || l.totalInputPositions - i.totalInputPositions), e.compiledMasks[a[0].index];
@@ -3185,7 +3185,7 @@ class mt extends oe {
3185
3185
  }
3186
3186
  _appendCharRaw(e, s) {
3187
3187
  s === void 0 && (s = {});
3188
- const n = Math.min(this.nearestInputPos(0, x.FORCE_RIGHT), this.value.length), r = this.enum.filter((a) => this.matchValue(a, this.unmaskedValue + e, n));
3188
+ const n = Math.min(this.nearestInputPos(0, A.FORCE_RIGHT), this.value.length), r = this.enum.filter((a) => this.matchValue(a, this.unmaskedValue + e, n));
3189
3189
  if (r.length) {
3190
3190
  r.length === 1 && this._forEachBlocksInRange(0, this.value.length, (i, l) => {
3191
3191
  const u = r[0][l];
@@ -3203,7 +3203,7 @@ class mt extends oe {
3203
3203
  }
3204
3204
  remove(e, s) {
3205
3205
  if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), e === s) return new M();
3206
- const n = Math.min(super.nearestInputPos(0, x.FORCE_RIGHT), this.value.length);
3206
+ const n = Math.min(super.nearestInputPos(0, A.FORCE_RIGHT), this.value.length);
3207
3207
  let r;
3208
3208
  for (r = e; r >= 0 && !(this.enum.filter((l) => this.matchValue(l, this.value.slice(n, r), n)).length > 1); --r)
3209
3209
  ;
@@ -3347,19 +3347,19 @@ class ge extends ie {
3347
3347
  nearestInputPos(e, s) {
3348
3348
  if (!this.thousandsSeparator) return e;
3349
3349
  switch (s) {
3350
- case x.NONE:
3351
- case x.LEFT:
3352
- case x.FORCE_LEFT: {
3350
+ case A.NONE:
3351
+ case A.LEFT:
3352
+ case A.FORCE_LEFT: {
3353
3353
  const n = this._findSeparatorAround(e - 1);
3354
3354
  if (n >= 0) {
3355
3355
  const r = n + this.thousandsSeparator.length;
3356
- if (e < r || this.value.length <= r || s === x.FORCE_LEFT)
3356
+ if (e < r || this.value.length <= r || s === A.FORCE_LEFT)
3357
3357
  return n;
3358
3358
  }
3359
3359
  break;
3360
3360
  }
3361
- case x.RIGHT:
3362
- case x.FORCE_RIGHT: {
3361
+ case A.RIGHT:
3362
+ case A.FORCE_RIGHT: {
3363
3363
  const n = this._findSeparatorAround(e);
3364
3364
  if (n >= 0)
3365
3365
  return n + this.thousandsSeparator.length;
@@ -3555,7 +3555,7 @@ try {
3555
3555
  globalThis.IMask = O;
3556
3556
  } catch {
3557
3557
  }
3558
- const xs = {
3558
+ const As = {
3559
3559
  // common
3560
3560
  mask: o.oneOfType([o.array, o.func, o.string, o.instanceOf(RegExp), o.oneOf([Date, Number, O.Masked]), o.instanceOf(O.Masked)]),
3561
3561
  value: o.any,
@@ -3602,7 +3602,7 @@ const xs = {
3602
3602
  inputRef: o.oneOfType([o.func, o.shape({
3603
3603
  current: o.object
3604
3604
  })])
3605
- }, ws = Object.keys(xs).filter((t) => t !== "value"), Gn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Zn = ws.filter((t) => Gn.indexOf(t) < 0);
3605
+ }, xs = Object.keys(As).filter((t) => t !== "value"), Gn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Zn = xs.filter((t) => Gn.indexOf(t) < 0);
3606
3606
  function Qn(t) {
3607
3607
  var e;
3608
3608
  const s = (e = class extends Se.Component {
@@ -3645,7 +3645,7 @@ function Qn(t) {
3645
3645
  const {
3646
3646
  ...i
3647
3647
  } = a;
3648
- return ws.forEach((l) => {
3648
+ return xs.forEach((l) => {
3649
3649
  l !== "maxLength" && delete i[l];
3650
3650
  }), "defaultValue" in i || (i.defaultValue = a.mask ? "" : i.value), delete i.value, i;
3651
3651
  }
@@ -3668,7 +3668,7 @@ function Qn(t) {
3668
3668
  });
3669
3669
  }
3670
3670
  }, e.displayName = void 0, e.propTypes = void 0, e), n = t.displayName || t.name || "Component";
3671
- return s.displayName = "IMask(" + n + ")", s.propTypes = xs, Se.forwardRef((r, a) => Se.createElement(s, {
3671
+ return s.displayName = "IMask(" + n + ")", s.propTypes = As, Se.forwardRef((r, a) => Se.createElement(s, {
3672
3672
  ...r,
3673
3673
  ref: a
3674
3674
  }));
@@ -3707,39 +3707,39 @@ function tr(t, e) {
3707
3707
  typedValue: p.typedValue
3708
3708
  }), m(p.typedValue), S(p.unmaskedValue), _(p.value));
3709
3709
  }, []), T = Te((p) => {
3710
- const A = u.current;
3711
- A && (U(), s == null || s(A.value, A, p));
3712
- }, [s]), w = Te((p) => u.current && (n == null ? void 0 : n(u.current.value, u.current, p)), [n]);
3710
+ const w = u.current;
3711
+ w && (U(), s == null || s(w.value, w, p));
3712
+ }, [s]), x = Te((p) => u.current && (n == null ? void 0 : n(u.current.value, u.current, p)), [n]);
3713
3713
  return G(() => {
3714
3714
  const {
3715
3715
  value: p,
3716
- ...A
3716
+ ...w
3717
3717
  } = d, B = u.current;
3718
- !B || f === void 0 || (p !== f && (B.value = f, B.value !== f && T()), h(A));
3718
+ !B || f === void 0 || (p !== f && (B.value = f, B.value !== f && T()), h(w));
3719
3719
  }, [f]), G(() => {
3720
3720
  const {
3721
3721
  unmaskedValue: p,
3722
- ...A
3722
+ ...w
3723
3723
  } = d, B = u.current;
3724
- !B || y === void 0 || (p !== y && (B.unmaskedValue = y, B.unmaskedValue !== y && T()), h(A));
3724
+ !B || y === void 0 || (p !== y && (B.unmaskedValue = y, B.unmaskedValue !== y && T()), h(w));
3725
3725
  }, [y]), G(() => {
3726
3726
  const {
3727
3727
  typedValue: p,
3728
- ...A
3728
+ ...w
3729
3729
  } = d, B = u.current;
3730
- !B || v === void 0 || (p !== v && (B.typedValue = v, B.masked.typedValueEquals(v) || T()), h(A));
3730
+ !B || v === void 0 || (p !== v && (B.typedValue = v, B.masked.typedValueEquals(v) || T()), h(w));
3731
3731
  }, [v]), G(() => {
3732
3732
  const p = r.current;
3733
3733
  if (!p || !(t != null && t.mask)) return C();
3734
- const A = u.current;
3735
- A ? A == null || A.updateOptions(t) : p && t != null && t.mask && (u.current = O(p, t), U(), a !== void 0 && _(a), i !== void 0 && S(i), l !== void 0 && m(l));
3734
+ const w = u.current;
3735
+ w ? w == null || w.updateOptions(t) : p && t != null && t.mask && (u.current = O(p, t), U(), a !== void 0 && _(a), i !== void 0 && S(i), l !== void 0 && m(l));
3736
3736
  }, [t, C, T]), G(() => {
3737
3737
  if (!u.current) return;
3738
3738
  const p = u.current;
3739
- return p.on("accept", T), p.on("complete", w), () => {
3740
- p.off("accept", T), p.off("complete", w);
3739
+ return p.on("accept", T), p.on("complete", x), () => {
3740
+ p.off("accept", T), p.off("complete", x);
3741
3741
  };
3742
- }, [T, w]), G(() => C, [C]), {
3742
+ }, [T, x]), G(() => C, [C]), {
3743
3743
  ref: r,
3744
3744
  maskRef: u,
3745
3745
  value: f,
@@ -3750,7 +3750,7 @@ function tr(t, e) {
3750
3750
  setTypedValue: m
3751
3751
  };
3752
3752
  }
3753
- var As = /* @__PURE__ */ ((t) => (t.Text = "text", t.Password = "password", t.Email = "email", t.Date = "date", t.Number = "number", t))(As || {}), Ts = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(Ts || {}), Fs = /* @__PURE__ */ ((t) => (t.Default = "", t.Error = "error", t.Success = "success", t))(Fs || {}), Ds = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Initial = "initial", t))(Ds || {}), Os = /* @__PURE__ */ ((t) => (t.Top = "top", t.Right = "right", t.Bottom = "bottom", t.Left = "left", t))(Os || {});
3753
+ var ws = /* @__PURE__ */ ((t) => (t.Text = "text", t.Password = "password", t.Email = "email", t.Date = "date", t.Number = "number", t))(ws || {}), Ts = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(Ts || {}), Fs = /* @__PURE__ */ ((t) => (t.Default = "", t.Error = "error", t.Success = "success", t))(Fs || {}), Ds = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Initial = "initial", t))(Ds || {}), Os = /* @__PURE__ */ ((t) => (t.Top = "top", t.Right = "right", t.Bottom = "bottom", t.Left = "left", t))(Os || {});
3754
3754
  const K = {
3755
3755
  name: "Input",
3756
3756
  class: "ds-input",
@@ -3766,7 +3766,7 @@ const K = {
3766
3766
  type: {
3767
3767
  type: String,
3768
3768
  default: "text",
3769
- options: Object.values(As)
3769
+ options: Object.values(ws)
3770
3770
  },
3771
3771
  animated: {
3772
3772
  type: Boolean,
@@ -3875,8 +3875,12 @@ const K = {
3875
3875
  // Tamanho máximo do CPF
3876
3876
  },
3877
3877
  {
3878
- mask: "00.000.000/0000-00",
3879
- startsWith: /[0-9]/,
3878
+ mask: "AA.AAA.AAA/AAAA-AA",
3879
+ definitions: {
3880
+ A: /[0-9A-Z]/
3881
+ },
3882
+ prepareChar: (t) => t.toUpperCase(),
3883
+ startsWith: /[A-Z0-9]/,
3880
3884
  maxLength: 18
3881
3885
  // Tamanho máximo do CNPJ
3882
3886
  }
@@ -3888,7 +3892,7 @@ const K = {
3888
3892
  }
3889
3893
  };
3890
3894
  var Is = /* @__PURE__ */ ((t) => (t.Top = "top", t.Right = "right", t.Bottom = "bottom", t.Left = "left", t))(Is || {}), Rs = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Initial = "initial", t))(Rs || {});
3891
- const we = {
3895
+ const xe = {
3892
3896
  name: "Tooltip",
3893
3897
  class: "ds-tooltip",
3894
3898
  props: {
@@ -3913,17 +3917,17 @@ const we = {
3913
3917
  }
3914
3918
  }, We = ({
3915
3919
  children: t,
3916
- position: e = we.props.position.default,
3917
- placement: s = we.props.placement.default,
3918
- text: n = we.props.text.default,
3919
- testId: r = we.props.testId.default,
3920
+ position: e = xe.props.position.default,
3921
+ placement: s = xe.props.placement.default,
3922
+ text: n = xe.props.text.default,
3923
+ testId: r = xe.props.testId.default,
3920
3924
  className: a
3921
3925
  }) => {
3922
- const i = He(null), [l, u] = j(0), [d, h] = j(0), [f, _] = j(!1), y = e && we.props.position.options.find(
3926
+ const i = He(null), [l, u] = j(0), [d, h] = j(0), [f, _] = j(!1), y = e && xe.props.position.options.find(
3923
3927
  (C) => C === e
3924
- ) && `${we.class}--${e}`, S = s && we.props.placement.options.find(
3928
+ ) && `${xe.class}--${e}`, S = s && xe.props.placement.options.find(
3925
3929
  (C) => C === s
3926
- ) && `${we.class}--${s}`;
3930
+ ) && `${xe.class}--${s}`;
3927
3931
  let v;
3928
3932
  kn(() => {
3929
3933
  var C, U;
@@ -3987,7 +3991,7 @@ const we = {
3987
3991
  return /* @__PURE__ */ R(
3988
3992
  "div",
3989
3993
  {
3990
- className: [we.class, a].join(" "),
3994
+ className: [xe.class, a].join(" "),
3991
3995
  "data-testid": r,
3992
3996
  onMouseEnter: () => _(!0),
3993
3997
  onMouseLeave: () => _(!1),
@@ -4002,7 +4006,7 @@ const we = {
4002
4006
  children: /* @__PURE__ */ c(
4003
4007
  "span",
4004
4008
  {
4005
- className: `${we.class}__wrapper`,
4009
+ className: `${xe.class}__wrapper`,
4006
4010
  "data-testid": "ds-tooltip-wrapper",
4007
4011
  style: v,
4008
4012
  children: n
@@ -4043,13 +4047,13 @@ const et = Se.forwardRef(
4043
4047
  noMargin: C = K.props.noMargin.default,
4044
4048
  disabled: U = K.props.disabled.default,
4045
4049
  className: T,
4046
- mask: w,
4050
+ mask: x,
4047
4051
  onChangeHandler: p = K.props.onChangeHandler.default,
4048
- onBlurHandler: A,
4052
+ onBlurHandler: w,
4049
4053
  onKeyDownHandler: B,
4050
4054
  onFocusHandler: z
4051
4055
  }, L) => {
4052
- const [te, le] = j(!1), [ue, ye] = j(!1), se = !!p && !!w, De = (F, P, J) => {
4056
+ const [te, le] = j(!1), [ue, ye] = j(!1), se = !!p && !!x, De = (F, P, J) => {
4053
4057
  if (se && J) {
4054
4058
  const k = {
4055
4059
  ...J,
@@ -4063,12 +4067,12 @@ const et = Se.forwardRef(
4063
4067
  };
4064
4068
  p(k);
4065
4069
  }
4066
- }, re = ve(() => typeof w == "object" ? { lazy: !0, ...w } : Qt[w] ? {
4067
- ...Qt[w],
4070
+ }, re = ve(() => typeof x == "object" ? { lazy: !0, ...x } : Qt[x] ? {
4071
+ ...Qt[x],
4068
4072
  min: u,
4069
4073
  max: d,
4070
4074
  lazy: !0
4071
- } : { mask: w ?? "", min: u, max: d, lazy: !0 }, [w]), { ref: ce, setUnmaskedValue: ke } = tr(
4075
+ } : { mask: x ?? "", min: u, max: d, lazy: !0 }, [x]), { ref: ce, setUnmaskedValue: ke } = tr(
4072
4076
  re,
4073
4077
  {
4074
4078
  onAccept: De
@@ -4078,7 +4082,7 @@ const et = Se.forwardRef(
4078
4082
  }, g = (F) => {
4079
4083
  B && B(F);
4080
4084
  }, E = (F) => {
4081
- le(!1), A && A(F);
4085
+ le(!1), w && w(F);
4082
4086
  }, $ = (F) => {
4083
4087
  le(!0), z && z(F);
4084
4088
  }, N = () => {
@@ -4091,8 +4095,8 @@ const et = Se.forwardRef(
4091
4095
  return (te || l) && F.push(`${K.class}__label--active`), F.join(" ");
4092
4096
  }, [l, te]), V = () => !n && i ? i : "", q = () => S && S === "error" ? "info" : "check_circle";
4093
4097
  return G(() => {
4094
- w && ke(l ?? "");
4095
- }, [l, w, ke]), /* @__PURE__ */ R("div", { className: b(), ref: L, children: [
4098
+ x && ke(l ?? "");
4099
+ }, [l, x, ke]), /* @__PURE__ */ R("div", { className: b(), ref: L, children: [
4096
4100
  m && /* @__PURE__ */ c("div", { className: "ds-input__feedback", children: v && /* @__PURE__ */ R(pt, { children: [
4097
4101
  /* @__PURE__ */ c(Z, { image: q() }),
4098
4102
  v
@@ -4115,7 +4119,7 @@ const et = Se.forwardRef(
4115
4119
  placeholder: V(),
4116
4120
  ref: ce,
4117
4121
  type: I,
4118
- ...!w && { value: l ?? "" }
4122
+ ...!x && { value: l ?? "" }
4119
4123
  }
4120
4124
  ),
4121
4125
  /* @__PURE__ */ R("label", { className: D, htmlFor: t, children: [
@@ -4708,11 +4712,11 @@ const Q = {
4708
4712
  feedback: C,
4709
4713
  ...U
4710
4714
  }, T) => {
4711
- const [w, p] = j(!1), A = (L) => {
4715
+ const [x, p] = j(!1), w = (L) => {
4712
4716
  p(!1), h && h(L, L.target.value), f && f(L, L.target.value);
4713
4717
  }, B = () => {
4714
4718
  const L = [Q.class, "select-placeholder"];
4715
- return L.push(`${Q.class}--${_}`), y && L.push(`${Q.class}--${y}`), w && L.push(`${Q.class}--active`), s && L.push(`${Q.class}--disabled`), e && L.push(e), L.join(" ");
4719
+ return L.push(`${Q.class}--${_}`), y && L.push(`${Q.class}--${y}`), x && L.push(`${Q.class}--active`), s && L.push(`${Q.class}--disabled`), e && L.push(e), L.join(" ");
4716
4720
  }, z = ve(() => {
4717
4721
  const L = [`${Q.class}__label`];
4718
4722
  return !n && L.push(`${Q.class}__label--not-animated`), u && L.push(`${Q.class}__label--has-value`), n && !u && !S && L.push(`${Q.class}__label--hidden`), L.join(" ");
@@ -4754,7 +4758,7 @@ const Q = {
4754
4758
  multiple: r,
4755
4759
  name: i,
4756
4760
  onBlur: () => p(!1),
4757
- onChange: (L) => A(L),
4761
+ onChange: (L) => w(L),
4758
4762
  onFocus: () => p(!0),
4759
4763
  ref: T,
4760
4764
  value: u ?? "",
@@ -4819,7 +4823,7 @@ Ks.propTypes = {
4819
4823
  };
4820
4824
  Ks.displayName = "DsSelect";
4821
4825
  var Gs = /* @__PURE__ */ ((t) => (t.Large = "large", t.Small = "small", t))(Gs || {});
4822
- const xt = {
4826
+ const At = {
4823
4827
  name: "Subtitle",
4824
4828
  class: "ds-subtitle",
4825
4829
  props: {
@@ -4835,11 +4839,11 @@ const xt = {
4835
4839
  testId: s = "ds-subtitle-test",
4836
4840
  type: n
4837
4841
  }) => {
4838
- const r = xt.props.type.options.find((a) => a === n) && `${xt.class}--${n}`;
4842
+ const r = At.props.type.options.find((a) => a === n) && `${At.class}--${n}`;
4839
4843
  return /* @__PURE__ */ c(
4840
4844
  "p",
4841
4845
  {
4842
- className: [xt.class, r, e].filter((a) => a).join(" "),
4846
+ className: [At.class, r, e].filter((a) => a).join(" "),
4843
4847
  "data-testid": s,
4844
4848
  children: t
4845
4849
  }
@@ -4955,9 +4959,9 @@ const ne = {
4955
4959
  onChangeHandler: C,
4956
4960
  onBlurHandler: U,
4957
4961
  onKeyDownHandler: T,
4958
- onFocusHandler: w,
4962
+ onFocusHandler: x,
4959
4963
  rows: p = ne.props.rows.default,
4960
- cols: A,
4964
+ cols: w,
4961
4965
  description: B,
4962
4966
  style: z
4963
4967
  }, L) => {
@@ -4972,7 +4976,7 @@ const ne = {
4972
4976
  }, ke = (b) => {
4973
4977
  le(!1), U && U(b);
4974
4978
  }, Ce = (b) => {
4975
- le(!0), w && w(b);
4979
+ le(!0), x && x(b);
4976
4980
  }, g = () => {
4977
4981
  const b = [`${ne.class}`];
4978
4982
  return n && b.push(`${ne.class}--${n}`), s && b.push(`${ne.class}--animated`), d && b.push(`${ne.class}--with-icon`), f && b.push(`${ne.class}--${f}`), v && b.push(v), b.join(" ");
@@ -4993,7 +4997,7 @@ const ne = {
4993
4997
  "textarea",
4994
4998
  {
4995
4999
  className: "ds-textarea__textarea",
4996
- cols: A,
5000
+ cols: w,
4997
5001
  "data-testid": e,
4998
5002
  defaultValue: i ?? "",
4999
5003
  disabled: y,
@@ -5176,7 +5180,7 @@ const nn = ({
5176
5180
  G(() => {
5177
5181
  y <= 768 ? v("6") : v("12");
5178
5182
  }, [y]);
5179
- const m = (T) => /^[+-]?\d+$/.test(T), C = () => e.split(",").map((w) => (w = w.trim(), w === "0" || w === "*" || w === "auto" ? "auto" : m(w) ? w + "fr" : w)).join(" "), U = () => `repeat(${S}, minmax(0, 1fr))`;
5183
+ const m = (T) => /^[+-]?\d+$/.test(T), C = () => e.split(",").map((x) => (x = x.trim(), x === "0" || x === "*" || x === "auto" ? "auto" : m(x) ? x + "fr" : x)).join(" "), U = () => `repeat(${S}, minmax(0, 1fr))`;
5180
5184
  return /* @__PURE__ */ c(
5181
5185
  "div",
5182
5186
  {
@@ -5303,7 +5307,7 @@ const be = {
5303
5307
  );
5304
5308
  };
5305
5309
  Qe.displayName = "DsWrapper";
5306
- const wt = {
5310
+ const xt = {
5307
5311
  name: "Accordion",
5308
5312
  class: "ds-accordion",
5309
5313
  props: {
@@ -5387,8 +5391,8 @@ Vt.propTypes = {
5387
5391
  };
5388
5392
  Vt.displayName = "DsAccordionItem";
5389
5393
  const rn = ({
5390
- items: t = wt.props.items.default,
5391
- activeItem: e = wt.props.activeItem.default,
5394
+ items: t = xt.props.items.default,
5395
+ activeItem: e = xt.props.activeItem.default,
5392
5396
  onClick: s
5393
5397
  }) => {
5394
5398
  const [n, r] = j(-1);
@@ -5404,7 +5408,7 @@ const rn = ({
5404
5408
  return s && s(-1), r(-1);
5405
5409
  r(i), s && s(i);
5406
5410
  };
5407
- return /* @__PURE__ */ c("ul", { className: wt.class, children: t.map((i, l) => /* @__PURE__ */ c(
5411
+ return /* @__PURE__ */ c("ul", { className: xt.class, children: t.map((i, l) => /* @__PURE__ */ c(
5408
5412
  Vt,
5409
5413
  {
5410
5414
  active: n === l,
@@ -5676,9 +5680,9 @@ const Y = {
5676
5680
  showOptionsOnFocus: C = !1,
5677
5681
  inputType: U,
5678
5682
  inputMin: T,
5679
- inputMax: w,
5683
+ inputMax: x,
5680
5684
  inputTooltip: p,
5681
- inputTooltipPosition: A,
5685
+ inputTooltipPosition: w,
5682
5686
  inputTooltipPlacement: B,
5683
5687
  inputFeedback: z,
5684
5688
  inputHasFeedback: L,
@@ -5741,7 +5745,7 @@ const Y = {
5741
5745
  hasFeedback: L,
5742
5746
  label: t,
5743
5747
  mask: le,
5744
- max: w,
5748
+ max: x,
5745
5749
  min: T,
5746
5750
  name: e,
5747
5751
  noMargin: te,
@@ -5755,7 +5759,7 @@ const Y = {
5755
5759
  testId: s,
5756
5760
  tooltip: p,
5757
5761
  tooltipPlacement: B,
5758
- tooltipPosition: A,
5762
+ tooltipPosition: w,
5759
5763
  type: U,
5760
5764
  value: n
5761
5765
  },
@@ -6106,17 +6110,17 @@ const hn = ({
6106
6110
  s && `${pe.class}--${s}`,
6107
6111
  d && `${pe.class}--elevation-${d}`,
6108
6112
  t
6109
- ].join(" "), w = () => S((z) => (z === 0 && U(!1), z - 100));
6113
+ ].join(" "), x = () => S((z) => (z === 0 && U(!1), z - 100));
6110
6114
  G(() => {
6111
6115
  !i && !u && U(!0);
6112
6116
  let z;
6113
- return !v && i && (z = setInterval(w, 100)), () => {
6117
+ return !v && i && (z = setInterval(x, 100)), () => {
6114
6118
  clearInterval(z);
6115
6119
  };
6116
6120
  }, [v, i, l, C, u]);
6117
6121
  const p = () => {
6118
6122
  m(!0);
6119
- }, A = () => {
6123
+ }, w = () => {
6120
6124
  m(!1);
6121
6125
  }, B = (z) => {
6122
6126
  U(!1), f && f(z);
@@ -6128,7 +6132,7 @@ const hn = ({
6128
6132
  "data-testid": _,
6129
6133
  id: n,
6130
6134
  onMouseEnter: p,
6131
- onMouseLeave: A,
6135
+ onMouseLeave: w,
6132
6136
  children: [
6133
6137
  /* @__PURE__ */ c(Qe, { bottom: "nano", top: "nano", children: /* @__PURE__ */ R(Ve, { alignItems: "center", flexWrap: "nowrap", gap: "xxxs", children: [
6134
6138
  /* @__PURE__ */ c(ae, { children: /* @__PURE__ */ c(
@@ -6165,7 +6169,7 @@ const hn = ({
6165
6169
  ) : null;
6166
6170
  };
6167
6171
  hn.displayName = "DsNotification";
6168
- const At = {
6172
+ const wt = {
6169
6173
  name: "DsPasswordConfirmation",
6170
6174
  class: "ds-password-confirmation",
6171
6175
  props: {
@@ -6211,9 +6215,9 @@ const At = {
6211
6215
  weak: "Fraco"
6212
6216
  }, fn = ({
6213
6217
  onChange: t,
6214
- validationList: e = At.props.validationList.default,
6215
- instructionLabel: s = At.props.instructionLabel.default,
6216
- testId: n = At.props.testId.default
6218
+ validationList: e = wt.props.validationList.default,
6219
+ instructionLabel: s = wt.props.instructionLabel.default,
6220
+ testId: n = wt.props.testId.default
6217
6221
  }) => {
6218
6222
  const [r, a] = j(""), [i, l] = j(""), [u, d] = j([]), [h, f] = j({
6219
6223
  score: 0,
@@ -6221,16 +6225,16 @@ const At = {
6221
6225
  label: "Fraco"
6222
6226
  }), [_, y] = j(!1), S = Te(
6223
6227
  (p) => {
6224
- const A = e.map(
6228
+ const w = e.map(
6225
6229
  (B) => B == null ? void 0 : B.rule(p)
6226
6230
  );
6227
- return d(A), A;
6231
+ return d(w), w;
6228
6232
  },
6229
6233
  [e]
6230
6234
  ), v = Te(
6231
6235
  (p) => {
6232
6236
  a(p.currentTarget.value);
6233
- const A = S(p.currentTarget.value), B = T(A);
6237
+ const w = S(p.currentTarget.value), B = T(w);
6234
6238
  t({
6235
6239
  password: p.currentTarget.value,
6236
6240
  confirmationPassword: i,
@@ -6242,7 +6246,7 @@ const At = {
6242
6246
  ), m = Te(
6243
6247
  (p) => {
6244
6248
  l(p.currentTarget.value);
6245
- const A = S(r), B = T(A);
6249
+ const w = S(r), B = T(w);
6246
6250
  t({
6247
6251
  password: r,
6248
6252
  confirmationPassword: p.currentTarget.value,
@@ -6253,32 +6257,32 @@ const At = {
6253
6257
  [r, t, S]
6254
6258
  ), C = ve(() => r !== i && _ ? { status: "error", feedback: "As senhas são diferentes" } : { status: "", feedback: "" }, [r, i, _]), U = Te(
6255
6259
  (p) => {
6256
- const A = {
6260
+ const w = {
6257
6261
  score: p,
6258
6262
  color: "danger",
6259
6263
  label: rt.weak
6260
6264
  };
6261
- return p > 30 && p < 75 ? (A.color = "warning", A.label = rt.medium) : p >= 75 && p < 100 ? (A.color = "success", A.label = rt.good) : p === 100 && (A.color = "success-dark", A.label = rt.strong), A;
6265
+ return p > 30 && p < 75 ? (w.color = "warning", w.label = rt.medium) : p >= 75 && p < 100 ? (w.color = "success", w.label = rt.good) : p === 100 && (w.color = "success-dark", w.label = rt.strong), w;
6262
6266
  },
6263
6267
  []
6264
6268
  ), T = Te(
6265
6269
  (p) => {
6266
- const A = p.reduce(
6270
+ const w = p.reduce(
6267
6271
  (z, L) => {
6268
6272
  let te = z;
6269
6273
  return L ? (te++, te) : z;
6270
6274
  },
6271
6275
  0
6272
6276
  ), B = U(
6273
- A * 100 / p.length
6277
+ w * 100 / p.length
6274
6278
  );
6275
6279
  return f(B), B;
6276
6280
  },
6277
6281
  [U]
6278
- ), w = () => /* @__PURE__ */ c("ul", { children: e.map((p, A) => {
6279
- const B = u[A] ? "ds-password-confirmation__list" : "ds-password-confirmation__list--disc";
6282
+ ), x = () => /* @__PURE__ */ c("ul", { children: e.map((p, w) => {
6283
+ const B = u[w] ? "ds-password-confirmation__list" : "ds-password-confirmation__list--disc";
6280
6284
  return /* @__PURE__ */ R("li", { className: B, children: [
6281
- u[A] ? /* @__PURE__ */ c(
6285
+ u[w] ? /* @__PURE__ */ c(
6282
6286
  Z,
6283
6287
  {
6284
6288
  color: "success-dark",
@@ -6288,7 +6292,7 @@ const At = {
6288
6292
  ) : null,
6289
6293
  /* @__PURE__ */ c(_e, { horizontal: "quark" }),
6290
6294
  /* @__PURE__ */ c(Ne, { children: p.title })
6291
- ] }, A + p.title);
6295
+ ] }, w + p.title);
6292
6296
  }) });
6293
6297
  return /* @__PURE__ */ R(Ve, { className: "ds-password-confirmation", flexDirection: "column", children: [
6294
6298
  /* @__PURE__ */ c(ae, { children: /* @__PURE__ */ c(
@@ -6311,7 +6315,7 @@ const At = {
6311
6315
  }
6312
6316
  ) }),
6313
6317
  /* @__PURE__ */ c(ae, { children: /* @__PURE__ */ c(Ne, { children: s }) }),
6314
- /* @__PURE__ */ c(ae, { children: w() }),
6318
+ /* @__PURE__ */ c(ae, { children: x() }),
6315
6319
  /* @__PURE__ */ c(_e, { vertical: "xxs" }),
6316
6320
  /* @__PURE__ */ c(ae, { children: /* @__PURE__ */ c(
6317
6321
  et,
@@ -6409,7 +6413,7 @@ const Ee = {
6409
6413
  ] });
6410
6414
  };
6411
6415
  pr.displayName = "DsStepper";
6412
- const Ae = {
6416
+ const we = {
6413
6417
  name: "Table",
6414
6418
  class: "ds-table",
6415
6419
  props: {
@@ -6426,13 +6430,13 @@ const Ae = {
6426
6430
  default: []
6427
6431
  }
6428
6432
  }
6429
- }, gn = ({ item: t, columns: e }) => /* @__PURE__ */ c("tr", { className: `${Ae.class}__row`, children: e.map((s, n) => {
6430
- const r = s.align && `${Ae.class}__cell--align-${s.align}`;
6433
+ }, gn = ({ item: t, columns: e }) => /* @__PURE__ */ c("tr", { className: `${we.class}__row`, children: e.map((s, n) => {
6434
+ const r = s.align && `${we.class}__cell--align-${s.align}`;
6431
6435
  return /* @__PURE__ */ c("td", { children: /* @__PURE__ */ c(
6432
6436
  "div",
6433
6437
  {
6434
6438
  className: [
6435
- `${Ae.class}__cell`,
6439
+ `${we.class}__cell`,
6436
6440
  r,
6437
6441
  s.className
6438
6442
  ].filter((a) => a).join(" "),
@@ -6441,22 +6445,22 @@ const Ae = {
6441
6445
  ) }, n);
6442
6446
  }) });
6443
6447
  gn.displayName = "DsTableRow";
6444
- const hr = ({ columns: t, data: e, className: s }) => /* @__PURE__ */ c("div", { className: `${Ae.class}__wrapper`, children: /* @__PURE__ */ R(
6448
+ const hr = ({ columns: t, data: e, className: s }) => /* @__PURE__ */ c("div", { className: `${we.class}__wrapper`, children: /* @__PURE__ */ R(
6445
6449
  "table",
6446
6450
  {
6447
- className: [`${Ae.class}`, s].filter((n) => n).join(" "),
6451
+ className: [`${we.class}`, s].filter((n) => n).join(" "),
6448
6452
  children: [
6449
- /* @__PURE__ */ c("thead", { className: `${Ae.class}__head`, children: /* @__PURE__ */ c("tr", { className: `${Ae.class}__row`, children: t == null ? void 0 : t.map((n, r) => /* @__PURE__ */ c("th", { style: { width: n.size }, children: /* @__PURE__ */ c(
6453
+ /* @__PURE__ */ c("thead", { className: `${we.class}__head`, children: /* @__PURE__ */ c("tr", { className: `${we.class}__row`, children: t == null ? void 0 : t.map((n, r) => /* @__PURE__ */ c("th", { style: { width: n.size }, children: /* @__PURE__ */ c(
6450
6454
  "div",
6451
6455
  {
6452
6456
  className: [
6453
- `${Ae.class}__cell`,
6454
- n.align && `${Ae.class}__cell--align-${n.align}`
6457
+ `${we.class}__cell`,
6458
+ n.align && `${we.class}__cell--align-${n.align}`
6455
6459
  ].filter((a) => a).join(" "),
6456
6460
  children: n.label
6457
6461
  }
6458
6462
  ) }, r)) }) }),
6459
- /* @__PURE__ */ c("tbody", { className: `${Ae.class}__body`, children: e && e.map((n, r) => /* @__PURE__ */ c(gn, { columns: t, item: n }, r)) })
6463
+ /* @__PURE__ */ c("tbody", { className: `${we.class}__body`, children: e && e.map((n, r) => /* @__PURE__ */ c(gn, { columns: t, item: n }, r)) })
6460
6464
  ]
6461
6465
  }
6462
6466
  ) });
@@ -6735,7 +6739,7 @@ export {
6735
6739
  Fs as InputStatus,
6736
6740
  Ds as InputTooltipPlacement,
6737
6741
  Os as InputTooltipPosition,
6738
- As as InputType,
6742
+ ws as InputType,
6739
6743
  Bs as LoadingBackgroundColor,
6740
6744
  Ns as LoadingSize,
6741
6745
  dr as ModalElevation,
@@ -6760,7 +6764,7 @@ export {
6760
6764
  Rs as TooltipPlacement,
6761
6765
  Is as TooltipPosition,
6762
6766
  ze as WrapperSpace,
6763
- wt as accordionConfig,
6767
+ xt as accordionConfig,
6764
6768
  Ue as accordionItemConfig,
6765
6769
  br as activeTagsConfig,
6766
6770
  X as buttonConfig,
@@ -6786,16 +6790,16 @@ export {
6786
6790
  je as notificationListConfig,
6787
6791
  Oe as optionConfig,
6788
6792
  ot as paragraphConfig,
6789
- At as passwordConfirmationConfig,
6793
+ wt as passwordConfirmationConfig,
6790
6794
  Jt as progressConfig,
6791
6795
  Q as selectConfig,
6792
6796
  Ze as spacerConfig,
6793
6797
  Ee as stepperConfig,
6794
- xt as subtitleConfig,
6795
- Ae as tableConfig,
6798
+ At as subtitleConfig,
6799
+ we as tableConfig,
6796
6800
  $e as tabsConfig,
6797
6801
  ne as textAreaConfig,
6798
- we as tooltipConfig,
6802
+ xe as tooltipConfig,
6799
6803
  at as twoColumnsConfig,
6800
6804
  be as wrapperConfig
6801
6805
  };