@akad/design-system 0.2.0-beta.6 → 0.2.0-beta.7

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,5 +1,5 @@
1
1
  import { jsx as c, jsxs as O, Fragment as Je } from "react/jsx-runtime";
2
- import ke, { useMemo as be, useState as U, useEffect as J, useRef as lt, useCallback as xe, useLayoutEffect as gn, createElement as mn } from "react";
2
+ import ke, { useMemo as be, useState as U, useEffect as J, useRef as ut, useCallback as xe, useLayoutEffect as gn, createElement as mn } from "react";
3
3
  function yn(a) {
4
4
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
5
5
  }
@@ -180,10 +180,10 @@ object-assign
180
180
  (c) Sindre Sorhus
181
181
  @license MIT
182
182
  */
183
- var mt, Lt;
183
+ var yt, Lt;
184
184
  function kn() {
185
185
  if (Lt)
186
- return mt;
186
+ return yt;
187
187
  Lt = 1;
188
188
  var a = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
189
189
  function s(i) {
@@ -213,7 +213,7 @@ function kn() {
213
213
  return !1;
214
214
  }
215
215
  }
216
- return mt = n() ? Object.assign : function(i, r) {
216
+ return yt = n() ? Object.assign : function(i, r) {
217
217
  for (var l, u = s(i), d, h = 1; h < arguments.length; h++) {
218
218
  l = Object(arguments[h]);
219
219
  for (var f in l)
@@ -225,24 +225,24 @@ function kn() {
225
225
  }
226
226
  }
227
227
  return u;
228
- }, mt;
228
+ }, yt;
229
229
  }
230
- var yt, Pt;
230
+ var _t, Pt;
231
231
  function It() {
232
232
  if (Pt)
233
- return yt;
233
+ return _t;
234
234
  Pt = 1;
235
235
  var a = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
236
- return yt = a, yt;
236
+ return _t = a, _t;
237
237
  }
238
- var _t, jt;
238
+ var vt, jt;
239
239
  function js() {
240
- return jt || (jt = 1, _t = Function.call.bind(Object.prototype.hasOwnProperty)), _t;
240
+ return jt || (jt = 1, vt = Function.call.bind(Object.prototype.hasOwnProperty)), vt;
241
241
  }
242
- var vt, zt;
242
+ var kt, zt;
243
243
  function bn() {
244
244
  if (zt)
245
- return vt;
245
+ return kt;
246
246
  zt = 1;
247
247
  var a = function() {
248
248
  };
@@ -287,12 +287,12 @@ function bn() {
287
287
  }
288
288
  return n.resetWarningCache = function() {
289
289
  process.env.NODE_ENV !== "production" && (t = {});
290
- }, vt = n, vt;
290
+ }, kt = n, kt;
291
291
  }
292
- var kt, qt;
292
+ var bt, qt;
293
293
  function Sn() {
294
294
  if (qt)
295
- return kt;
295
+ return bt;
296
296
  qt = 1;
297
297
  var a = Ps(), e = kn(), t = It(), s = js(), n = bn(), i = function() {
298
298
  };
@@ -307,7 +307,7 @@ function Sn() {
307
307
  function r() {
308
308
  return null;
309
309
  }
310
- return kt = function(l, u) {
310
+ return bt = function(l, u) {
311
311
  var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
312
312
  function f(g) {
313
313
  var b = g && (d && g[d] || g[h]);
@@ -609,19 +609,19 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
609
609
  return !g.constructor || !g.constructor.name ? _ : g.constructor.name;
610
610
  }
611
611
  return S.checkPropTypes = n, S.resetWarningCache = n.resetWarningCache, S.PropTypes = S, S;
612
- }, kt;
612
+ }, bt;
613
613
  }
614
- var bt, Ut;
614
+ var St, Ut;
615
615
  function Cn() {
616
616
  if (Ut)
617
- return bt;
617
+ return St;
618
618
  Ut = 1;
619
619
  var a = It();
620
620
  function e() {
621
621
  }
622
622
  function t() {
623
623
  }
624
- return t.resetWarningCache = e, bt = function() {
624
+ return t.resetWarningCache = e, St = function() {
625
625
  function s(r, l, u, d, h, f) {
626
626
  if (f !== a) {
627
627
  var _ = new Error(
@@ -658,7 +658,7 @@ function Cn() {
658
658
  resetWarningCache: e
659
659
  };
660
660
  return i.PropTypes = i, i;
661
- }, bt;
661
+ }, St;
662
662
  }
663
663
  if (process.env.NODE_ENV !== "production") {
664
664
  var En = Ps(), xn = !0;
@@ -894,7 +894,7 @@ K.propTypes = {
894
894
  onClick: o.func
895
895
  };
896
896
  K.displayName = "DsIcon";
897
- const ut = ({
897
+ const ct = ({
898
898
  children: a,
899
899
  className: e,
900
900
  onClick: t,
@@ -944,7 +944,7 @@ const ut = ({
944
944
  }
945
945
  );
946
946
  };
947
- ut.propTypes = {
947
+ ct.propTypes = {
948
948
  color: o.oneOf(Y.props.color.options),
949
949
  variant: o.oneOf(Y.props.variant.options),
950
950
  size: o.oneOf(Y.props.size.options),
@@ -956,7 +956,7 @@ ut.propTypes = {
956
956
  id: o.string,
957
957
  fullSize: o.bool
958
958
  };
959
- ut.displayName = "DsButton";
959
+ ct.displayName = "DsButton";
960
960
  const wn = {
961
961
  name: "Caption",
962
962
  class: "ds-caption"
@@ -1323,10 +1323,10 @@ function Fn(a) {
1323
1323
  return a;
1324
1324
  }
1325
1325
  }
1326
- function St(a) {
1326
+ function Ct(a) {
1327
1327
  return a.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1");
1328
1328
  }
1329
- function ct(a, e) {
1329
+ function dt(a, e) {
1330
1330
  if (e === a)
1331
1331
  return !0;
1332
1332
  const t = Array.isArray(e), s = Array.isArray(a);
@@ -1335,7 +1335,7 @@ function ct(a, e) {
1335
1335
  if (e.length != a.length)
1336
1336
  return !1;
1337
1337
  for (n = 0; n < e.length; n++)
1338
- if (!ct(e[n], a[n]))
1338
+ if (!dt(e[n], a[n]))
1339
1339
  return !1;
1340
1340
  return !0;
1341
1341
  }
@@ -1357,7 +1357,7 @@ function ct(a, e) {
1357
1357
  if (!Object.prototype.hasOwnProperty.call(a, d[n]))
1358
1358
  return !1;
1359
1359
  for (n = 0; n < d.length; n++)
1360
- if (!ct(a[d[n]], e[d[n]]))
1360
+ if (!dt(a[d[n]], e[d[n]]))
1361
1361
  return !1;
1362
1362
  return !0;
1363
1363
  } else if (e && a && typeof e == "function" && typeof a == "function")
@@ -1498,7 +1498,7 @@ class Dt {
1498
1498
  }
1499
1499
  I.MaskElement = Dt;
1500
1500
  const is = 90, Dn = 89;
1501
- class pt extends Dt {
1501
+ class ht extends Dt {
1502
1502
  /** HTMLElement to use mask on */
1503
1503
  constructor(e) {
1504
1504
  super(), this.input = e, this._onKeydown = this._onKeydown.bind(this), this._onInput = this._onInput.bind(this), this._onBeforeinput = this._onBeforeinput.bind(this), this._onCompositionEnd = this._onCompositionEnd.bind(this);
@@ -1539,8 +1539,8 @@ class pt extends Dt {
1539
1539
  this.input.removeEventListener("keydown", this._onKeydown), this.input.removeEventListener("input", this._onInput), this.input.removeEventListener("beforeinput", this._onBeforeinput), this.input.removeEventListener("compositionend", this._onCompositionEnd), this.input.removeEventListener("drop", this._handlers.drop), this.input.removeEventListener("click", this._handlers.click), this.input.removeEventListener("focus", this._handlers.focus), this.input.removeEventListener("blur", this._handlers.commit), this._handlers = {};
1540
1540
  }
1541
1541
  }
1542
- I.HTMLMaskElement = pt;
1543
- class On extends pt {
1542
+ I.HTMLMaskElement = ht;
1543
+ class On extends ht {
1544
1544
  /** InputElement to use mask on */
1545
1545
  constructor(e) {
1546
1546
  super(e), this.input = e;
@@ -1564,8 +1564,8 @@ class On extends pt {
1564
1564
  this.input.value = e;
1565
1565
  }
1566
1566
  }
1567
- I.HTMLMaskElement = pt;
1568
- class Xs extends pt {
1567
+ I.HTMLMaskElement = ht;
1568
+ class Xs extends ht {
1569
1569
  /** Returns HTMLElement selection start */
1570
1570
  get _unsafeSelectionStart() {
1571
1571
  const e = this.rootElement, t = e.getSelection && e.getSelection(), s = t && t.anchorOffset, n = t && t.focusOffset;
@@ -1594,7 +1594,7 @@ class Xs extends pt {
1594
1594
  }
1595
1595
  }
1596
1596
  I.HTMLContenteditableMaskElement = Xs;
1597
- class ht {
1597
+ class ft {
1598
1598
  constructor() {
1599
1599
  this.states = [], this.currentIndex = 0;
1600
1600
  }
@@ -1605,7 +1605,7 @@ class ht {
1605
1605
  return this.states.length === 0;
1606
1606
  }
1607
1607
  push(e) {
1608
- this.currentIndex < this.states.length - 1 && (this.states.length = this.currentIndex + 1), this.states.push(e), this.states.length > ht.MAX_LENGTH && this.states.shift(), this.currentIndex = this.states.length - 1;
1608
+ this.currentIndex < this.states.length - 1 && (this.states.length = this.currentIndex + 1), this.states.push(e), this.states.length > ft.MAX_LENGTH && this.states.shift(), this.currentIndex = this.states.length - 1;
1609
1609
  }
1610
1610
  go(e) {
1611
1611
  return this.currentIndex = Math.min(Math.max(this.currentIndex + e, 0), this.states.length - 1), this.currentState;
@@ -1620,14 +1620,14 @@ class ht {
1620
1620
  this.states.length = 0, this.currentIndex = 0;
1621
1621
  }
1622
1622
  }
1623
- ht.MAX_LENGTH = 100;
1623
+ ft.MAX_LENGTH = 100;
1624
1624
  class Bn {
1625
1625
  /**
1626
1626
  View element
1627
1627
  */
1628
1628
  /** Internal {@link Masked} model */
1629
1629
  constructor(e, t) {
1630
- this.el = e instanceof Dt ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new Xs(e) : new On(e), this.masked = Be(t), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ht(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this._onChange();
1630
+ this.el = e instanceof Dt ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new Xs(e) : new On(e), this.masked = Be(t), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ft(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this._onChange();
1631
1631
  }
1632
1632
  maskEquals(e) {
1633
1633
  var t;
@@ -2141,7 +2141,7 @@ class ne {
2141
2141
  return this.mask === e;
2142
2142
  }
2143
2143
  optionsIsChanged(e) {
2144
- return !ct(this, e);
2144
+ return !dt(this, e);
2145
2145
  }
2146
2146
  typedValueEquals(e) {
2147
2147
  const t = this.typedValue;
@@ -2454,7 +2454,7 @@ class Ks {
2454
2454
  return this._appendPlaceholder();
2455
2455
  }
2456
2456
  }
2457
- class dt {
2457
+ class pt {
2458
2458
  /** */
2459
2459
  /** */
2460
2460
  /** */
@@ -2576,7 +2576,7 @@ class dt {
2576
2576
  return new M();
2577
2577
  }
2578
2578
  }
2579
- dt.DEFAULT_DEFINITIONS = {
2579
+ pt.DEFAULT_DEFINITIONS = {
2580
2580
  0: /\d/,
2581
2581
  a: /[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,
2582
2582
  // http://stackoverflow.com/a/22075070
@@ -2611,7 +2611,7 @@ class ie extends ne {
2611
2611
  super({
2612
2612
  ...ie.DEFAULTS,
2613
2613
  ...e,
2614
- definitions: Object.assign({}, dt.DEFAULT_DEFINITIONS, e == null ? void 0 : e.definitions)
2614
+ definitions: Object.assign({}, pt.DEFAULT_DEFINITIONS, e == null ? void 0 : e.definitions)
2615
2615
  });
2616
2616
  }
2617
2617
  updateOptions(e) {
@@ -2673,7 +2673,7 @@ class ie extends ne {
2673
2673
  break;
2674
2674
  l = !1;
2675
2675
  }
2676
- const u = l ? new dt({
2676
+ const u = l ? new pt({
2677
2677
  isOptional: n,
2678
2678
  lazy: this.lazy,
2679
2679
  eager: this.eager,
@@ -2920,10 +2920,10 @@ ie.DEFAULTS = {
2920
2920
  };
2921
2921
  ie.STOP_CHAR = "`";
2922
2922
  ie.ESCAPE_CHAR = "\\";
2923
- ie.InputDefinition = dt;
2923
+ ie.InputDefinition = pt;
2924
2924
  ie.FixedDefinition = Ks;
2925
2925
  I.MaskedPattern = ie;
2926
- class rt extends ie {
2926
+ class ot extends ie {
2927
2927
  /**
2928
2928
  Optionally sets max length of pattern.
2929
2929
  Used when pattern length is longer then `to` param length. Pads zeros at start in this case.
@@ -2994,7 +2994,7 @@ class rt extends ie {
2994
2994
  return t;
2995
2995
  }
2996
2996
  }
2997
- I.MaskedRange = rt;
2997
+ I.MaskedRange = ot;
2998
2998
  class Oe extends ie {
2999
2999
  static extractPatternOptions(e) {
3000
3000
  const {
@@ -3067,19 +3067,19 @@ class Oe extends ie {
3067
3067
  }
3068
3068
  Oe.GET_DEFAULT_BLOCKS = () => ({
3069
3069
  d: {
3070
- mask: rt,
3070
+ mask: ot,
3071
3071
  from: 1,
3072
3072
  to: 31,
3073
3073
  maxLength: 2
3074
3074
  },
3075
3075
  m: {
3076
- mask: rt,
3076
+ mask: ot,
3077
3077
  from: 1,
3078
3078
  to: 12,
3079
3079
  maxLength: 2
3080
3080
  },
3081
3081
  Y: {
3082
- mask: rt,
3082
+ mask: ot,
3083
3083
  from: 1900,
3084
3084
  to: 9999
3085
3085
  }
@@ -3100,10 +3100,10 @@ Oe.DEFAULTS = {
3100
3100
  }
3101
3101
  };
3102
3102
  I.MaskedDate = Oe;
3103
- class ft extends ne {
3103
+ class gt extends ne {
3104
3104
  constructor(e) {
3105
3105
  super({
3106
- ...ft.DEFAULTS,
3106
+ ...gt.DEFAULTS,
3107
3107
  ...e
3108
3108
  }), this.currentMask = void 0;
3109
3109
  }
@@ -3289,7 +3289,7 @@ class ft extends ne {
3289
3289
  mask: n,
3290
3290
  ...i
3291
3291
  } = e[s];
3292
- return ct(t, i) && t.maskEquals(n);
3292
+ return dt(t, i) && t.maskEquals(n);
3293
3293
  }) : super.maskEquals(e);
3294
3294
  }
3295
3295
  typedValueEquals(e) {
@@ -3297,7 +3297,7 @@ class ft extends ne {
3297
3297
  return !!((t = this.currentMask) != null && t.typedValueEquals(e));
3298
3298
  }
3299
3299
  }
3300
- ft.DEFAULTS = {
3300
+ gt.DEFAULTS = {
3301
3301
  ...ne.DEFAULTS,
3302
3302
  dispatch: (a, e, t, s) => {
3303
3303
  if (!e.compiledMasks.length)
@@ -3315,11 +3315,11 @@ ft.DEFAULTS = {
3315
3315
  return i.sort((r, l) => l.weight - r.weight || l.totalInputPositions - r.totalInputPositions), e.compiledMasks[i[0].index];
3316
3316
  }
3317
3317
  };
3318
- I.MaskedDynamic = ft;
3319
- class gt extends ie {
3318
+ I.MaskedDynamic = gt;
3319
+ class mt extends ie {
3320
3320
  constructor(e) {
3321
3321
  super({
3322
- ...gt.DEFAULTS,
3322
+ ...mt.DEFAULTS,
3323
3323
  ...e
3324
3324
  });
3325
3325
  }
@@ -3369,11 +3369,11 @@ class gt extends ie {
3369
3369
  return this.enum.indexOf(this.value) >= 0;
3370
3370
  }
3371
3371
  }
3372
- gt.DEFAULTS = {
3372
+ mt.DEFAULTS = {
3373
3373
  ...ie.DEFAULTS,
3374
3374
  matchValue: (a, e, t) => a.indexOf(e, t) === t
3375
3375
  };
3376
- I.MaskedEnum = gt;
3376
+ I.MaskedEnum = mt;
3377
3377
  class Mn extends ne {
3378
3378
  /** */
3379
3379
  /** Enable characters overwriting */
@@ -3420,8 +3420,8 @@ class he extends ne {
3420
3420
  super._update(e), this._updateRegExps();
3421
3421
  }
3422
3422
  _updateRegExps() {
3423
- const e = "^" + (this.allowNegative ? "[+|\\-]?" : ""), t = "\\d*", s = (this.scale ? "(" + St(this.radix) + "\\d{0," + this.scale + "})?" : "") + "$";
3424
- this._numberRegExp = new RegExp(e + t + s), this._mapToRadixRegExp = new RegExp("[" + this.mapToRadix.map(St).join("") + "]", "g"), this._thousandsSeparatorRegExp = new RegExp(St(this.thousandsSeparator), "g");
3423
+ const e = "^" + (this.allowNegative ? "[+|\\-]?" : ""), t = "\\d*", s = (this.scale ? "(" + Ct(this.radix) + "\\d{0," + this.scale + "})?" : "") + "$";
3424
+ this._numberRegExp = new RegExp(e + t + s), this._mapToRadixRegExp = new RegExp("[" + this.mapToRadix.map(Ct).join("") + "]", "g"), this._thousandsSeparatorRegExp = new RegExp(Ct(this.thousandsSeparator), "g");
3425
3425
  }
3426
3426
  _removeThousandsSeparators(e) {
3427
3427
  return e.replace(this._thousandsSeparatorRegExp, "");
@@ -3851,12 +3851,12 @@ function Un(a, e) {
3851
3851
  let {
3852
3852
  onAccept: t,
3853
3853
  onComplete: s,
3854
- ref: n = lt(null),
3854
+ ref: n = ut(null),
3855
3855
  defaultValue: i,
3856
3856
  defaultUnmaskedValue: r,
3857
3857
  defaultTypedValue: l
3858
3858
  } = e === void 0 ? {} : e;
3859
- const u = lt(null), [d, h] = U({}), [f, _] = U(""), [S, v] = U(""), [m, k] = U(), F = xe(() => {
3859
+ const u = ut(null), [d, h] = U({}), [f, _] = U(""), [S, v] = U(""), [m, k] = U(), F = xe(() => {
3860
3860
  var p;
3861
3861
  (p = u.current) == null || p.destroy(), u.current = null;
3862
3862
  }, []), P = xe(() => {
@@ -4105,7 +4105,7 @@ const as = {
4105
4105
  text: s = Ie.props.text.default,
4106
4106
  className: n
4107
4107
  }) => {
4108
- const i = lt(null), [r, l] = U(0), [u, d] = U(0), [h, f] = U(!1), _ = e && Ie.props.position.options.find(
4108
+ const i = ut(null), [r, l] = U(0), [u, d] = U(0), [h, f] = U(!1), _ = e && Ie.props.position.options.find(
4109
4109
  (F) => F === e
4110
4110
  ) && `${Ie.class}--${e}`, S = t && Ie.props.placement.options.find(
4111
4111
  (F) => F === t
@@ -4561,7 +4561,7 @@ const gs = {
4561
4561
  Default: "",
4562
4562
  Large: "large",
4563
4563
  Small: "small"
4564
- }, ot = {
4564
+ }, lt = {
4565
4565
  name: "Paragraph",
4566
4566
  class: "ds-paragraph",
4567
4567
  props: {
@@ -4575,13 +4575,13 @@ const gs = {
4575
4575
  children: a,
4576
4576
  className: e,
4577
4577
  testId: t = "ds-paragraph-test",
4578
- type: s = ot.props.type.default
4578
+ type: s = lt.props.type.default
4579
4579
  }) => {
4580
- const n = s && `${ot.class}--${s}`;
4580
+ const n = s && `${lt.class}--${s}`;
4581
4581
  return /* @__PURE__ */ c(
4582
4582
  "p",
4583
4583
  {
4584
- className: [ot.class, n, e && e].filter((i) => i).join(" "),
4584
+ className: [lt.class, n, e && e].filter((i) => i).join(" "),
4585
4585
  "data-testid": t,
4586
4586
  children: a
4587
4587
  }
@@ -4590,7 +4590,7 @@ const gs = {
4590
4590
  $e.propTypes = {
4591
4591
  className: o.string,
4592
4592
  testId: o.string,
4593
- type: o.oneOf(ot.props.type.options)
4593
+ type: o.oneOf(lt.props.type.options)
4594
4594
  };
4595
4595
  $e.displayName = "DsParagraph";
4596
4596
  const ms = {
@@ -4616,7 +4616,7 @@ const ms = {
4616
4616
  options: Object.values(ms)
4617
4617
  }
4618
4618
  }
4619
- }, Ct = {
4619
+ }, Et = {
4620
4620
  name: "Flex-Element",
4621
4621
  class: "ds-flex-element",
4622
4622
  props: {
@@ -4633,10 +4633,10 @@ const ms = {
4633
4633
  }
4634
4634
  }, se = ({
4635
4635
  children: a,
4636
- flex: e = Ct.props.flex.default,
4637
- className: t = Ct.props.className.default
4636
+ flex: e = Et.props.flex.default,
4637
+ className: t = Et.props.className.default
4638
4638
  }) => {
4639
- const s = () => [Ct.class, t].join(" "), n = () => ({
4639
+ const s = () => [Et.class, t].join(" "), n = () => ({
4640
4640
  flex: e
4641
4641
  });
4642
4642
  return /* @__PURE__ */ c("div", { className: s(), style: n(), children: a });
@@ -5073,7 +5073,7 @@ nn.displayName = "DsSelect";
5073
5073
  const As = {
5074
5074
  Large: "large",
5075
5075
  Small: "small"
5076
- }, Et = {
5076
+ }, xt = {
5077
5077
  name: "Subtitle",
5078
5078
  class: "ds-subtitle",
5079
5079
  props: {
@@ -5089,11 +5089,11 @@ const As = {
5089
5089
  testId: t = "ds-subtitle-test",
5090
5090
  type: s
5091
5091
  }) => {
5092
- const n = Et.props.type.options.find((i) => i === s) && `${Et.class}--${s}`;
5092
+ const n = xt.props.type.options.find((i) => i === s) && `${xt.class}--${s}`;
5093
5093
  return /* @__PURE__ */ c(
5094
5094
  "p",
5095
5095
  {
5096
- className: [Et.class, n, e && e].filter((i) => i).join(" "),
5096
+ className: [xt.class, n, e && e].filter((i) => i).join(" "),
5097
5097
  "data-testid": t,
5098
5098
  children: a
5099
5099
  }
@@ -5328,26 +5328,32 @@ an.propTypes = {
5328
5328
  style: o.object
5329
5329
  };
5330
5330
  an.displayName = "DsTextArea";
5331
- const xt = {
5331
+ const nt = {
5332
5332
  name: "Container",
5333
5333
  class: "ds-container",
5334
5334
  props: {
5335
5335
  fluid: {
5336
5336
  type: Boolean,
5337
5337
  default: !1
5338
+ },
5339
+ testId: {
5340
+ type: String,
5341
+ default: "ds-container-test"
5338
5342
  }
5339
5343
  }
5340
5344
  }, Bt = ({
5341
5345
  children: a,
5342
- fluid: e = xt.props.fluid.default,
5346
+ fluid: e = nt.props.fluid.default,
5343
5347
  className: t,
5344
- style: s
5348
+ style: s,
5349
+ testId: n = nt.props.testId.default
5345
5350
  }) => {
5346
- const n = e ? `${xt.class}--fluid` : xt.class;
5351
+ const i = e ? `${nt.class}--fluid` : nt.class;
5347
5352
  return /* @__PURE__ */ c(
5348
5353
  "div",
5349
5354
  {
5350
- className: [n, t].filter((i) => i).join(" "),
5355
+ className: [i, t].filter((r) => r).join(" "),
5356
+ "data-testid": n,
5351
5357
  style: s,
5352
5358
  children: a
5353
5359
  }
@@ -5357,7 +5363,8 @@ Bt.propTypes = {
5357
5363
  children: o.node,
5358
5364
  fluid: o.bool,
5359
5365
  className: o.string,
5360
- style: o.object
5366
+ style: o.object,
5367
+ testId: o.string
5361
5368
  };
5362
5369
  Bt.displayName = "DsContainer";
5363
5370
  const Ds = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, Yn = ({ children: a, grid: e }) => {
@@ -5386,7 +5393,7 @@ const Os = {
5386
5393
  Small: "sm",
5387
5394
  Medium: "md",
5388
5395
  Large: "lg"
5389
- }, nt = {
5396
+ }, it = {
5390
5397
  Start: "start",
5391
5398
  End: "end",
5392
5399
  Center: "center",
@@ -5426,13 +5433,13 @@ const Os = {
5426
5433
  },
5427
5434
  horizontalAlign: {
5428
5435
  type: String,
5429
- default: nt.Start,
5430
- options: Object.values(nt)
5436
+ default: it.Start,
5437
+ options: Object.values(it)
5431
5438
  },
5432
5439
  verticalAlign: {
5433
5440
  type: String,
5434
- default: nt.Start,
5435
- options: Object.values(nt)
5441
+ default: it.Start,
5442
+ options: Object.values(it)
5436
5443
  }
5437
5444
  }
5438
5445
  };
@@ -5735,7 +5742,7 @@ const Xn = ({
5735
5742
  n
5736
5743
  )
5737
5744
  },
5738
- `ds-tooltip-key-${s.id}`
5745
+ `ds-tooltip-key-${s.id}-${s.text}`
5739
5746
  )) })
5740
5747
  ] }) });
5741
5748
  Xn.displayName = "DsActiveTags";
@@ -5987,7 +5994,7 @@ const We = {
5987
5994
  max: i,
5988
5995
  onChangeHandler: r
5989
5996
  }) => {
5990
- const l = lt(null), [u, d] = U(!1), [h, f] = U("");
5997
+ const l = ut(null), [u, d] = U(!1), [h, f] = U("");
5991
5998
  J(() => {
5992
5999
  f(e ?? "");
5993
6000
  }, [e]);
@@ -6129,7 +6136,7 @@ const Jn = [1, 2, 3, 4], Ns = {
6129
6136
  !v && /* @__PURE__ */ c(Te, { vertical: "xxs" }),
6130
6137
  /* @__PURE__ */ O("div", { className: "ds-modal__cta", children: [
6131
6138
  d && /* @__PURE__ */ c(
6132
- ut,
6139
+ ct,
6133
6140
  {
6134
6141
  onClick: () => {
6135
6142
  u(), d();
@@ -6138,7 +6145,7 @@ const Jn = [1, 2, 3, 4], Ns = {
6138
6145
  }
6139
6146
  ),
6140
6147
  h && /* @__PURE__ */ c(
6141
- ut,
6148
+ ct,
6142
6149
  {
6143
6150
  onClick: () => {
6144
6151
  u(), h();
@@ -6337,7 +6344,7 @@ const Tt = {
6337
6344
  default: "ds-password-confirmation"
6338
6345
  }
6339
6346
  }
6340
- }, it = {
6347
+ }, at = {
6341
6348
  strong: "Forte",
6342
6349
  good: "Boa",
6343
6350
  medium: "Médio",
@@ -6389,9 +6396,9 @@ const Tt = {
6389
6396
  const C = {
6390
6397
  score: p,
6391
6398
  color: "danger",
6392
- label: it.weak
6399
+ label: at.weak
6393
6400
  };
6394
- return p > 30 && p < 75 ? (C.color = "warning", C.label = it.medium) : p >= 75 && p < 100 ? (C.color = "success", C.label = it.good) : p === 100 && (C.color = "success-dark", C.label = it.strong), C;
6401
+ return p > 30 && p < 75 ? (C.color = "warning", C.label = at.medium) : p >= 75 && p < 100 ? (C.color = "success", C.label = at.good) : p === 100 && (C.color = "success-dark", C.label = at.strong), C;
6395
6402
  },
6396
6403
  []
6397
6404
  ), T = xe(
@@ -6758,7 +6765,7 @@ hn.propTypes = {
6758
6765
  removeNotification: o.func
6759
6766
  };
6760
6767
  hn.displayName = "DsNotificationList";
6761
- const at = {
6768
+ const rt = {
6762
6769
  name: "TwoColumns",
6763
6770
  class: "ds-two-columns",
6764
6771
  props: {}
@@ -6770,15 +6777,15 @@ const at = {
6770
6777
  }) => /* @__PURE__ */ O(Bt, { children: [
6771
6778
  /* @__PURE__ */ O("div", { className: "ds-grid", children: [
6772
6779
  /* @__PURE__ */ c("div", { className: "ds-grid__row", children: /* @__PURE__ */ c("div", { className: "ds-grid__col ds-grid__col-12", children: s }) }),
6773
- /* @__PURE__ */ O("div", { className: `${at.class}__content ds-grid__row`, children: [
6780
+ /* @__PURE__ */ O("div", { className: `${rt.class}__content ds-grid__row`, children: [
6774
6781
  /* @__PURE__ */ c("div", { className: "ds-grid__col ds-grid__col--lg-8 ds-grid__col--sm-12 ds-grid__col-12", children: /* @__PURE__ */ O(Je, { children: [
6775
- /* @__PURE__ */ c("div", { className: `${at.class}__header`, children: a }),
6776
- /* @__PURE__ */ c("div", { className: `${at.class}__main`, children: e })
6782
+ /* @__PURE__ */ c("div", { className: `${rt.class}__header`, children: a }),
6783
+ /* @__PURE__ */ c("div", { className: `${rt.class}__main`, children: e })
6777
6784
  ] }) }),
6778
6785
  /* @__PURE__ */ c(
6779
6786
  "div",
6780
6787
  {
6781
- className: `${at.class}__sidebar ds-grid__col ds-grid__col--lg-4 ds-grid__col--sm-12 ds-grid__col-12`,
6788
+ className: `${rt.class}__sidebar ds-grid__col ds-grid__col--lg-4 ds-grid__col--sm-12 ds-grid__col-12`,
6782
6789
  children: t
6783
6790
  }
6784
6791
  )
@@ -6796,7 +6803,7 @@ fn.displayName = "DsTwoColumns";
6796
6803
  export {
6797
6804
  on as DsAccordion,
6798
6805
  Xn as DsActiveTags,
6799
- ut as DsButton,
6806
+ ct as DsButton,
6800
6807
  zs as DsCaption,
6801
6808
  qs as DsCard,
6802
6809
  Us as DsCheckbox,