@kvell-group/ui 1.11.0 → 1.11.2

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.
Files changed (58) hide show
  1. package/dist/assets/CvvInput.css +1 -0
  2. package/dist/assets/PasswordInput.css +1 -0
  3. package/dist/assets/clsx.css +1 -0
  4. package/dist/clsx-BvFBxcni.js +23 -0
  5. package/dist/components/Button/constants.d.ts +4 -0
  6. package/dist/components/Button/constants.js +11 -0
  7. package/dist/components/Button/types.d.ts +5 -0
  8. package/dist/components/Button/types.js +1 -0
  9. package/dist/components/Inputs/CardInput/CardInput.d.ts +4 -0
  10. package/dist/components/Inputs/CardInput/CardInput.js +27 -0
  11. package/dist/components/Inputs/CardInput/index.d.ts +1 -0
  12. package/dist/components/Inputs/CardInput/index.js +4 -0
  13. package/dist/components/Inputs/CvvInput/CvvInput.d.ts +4 -0
  14. package/dist/components/Inputs/CvvInput/CvvInput.js +19 -0
  15. package/dist/components/Inputs/CvvInput/index.d.ts +1 -0
  16. package/dist/components/Inputs/CvvInput/index.js +4 -0
  17. package/dist/components/Inputs/Input.js +10 -0
  18. package/dist/components/Inputs/MaskedInput/MaskedInput.d.ts +4 -0
  19. package/dist/{input-CT_F2u-Q.js → components/Inputs/MaskedInput/MaskedInput.js} +98 -89
  20. package/dist/components/Inputs/MaskedInput/index.d.ts +1 -0
  21. package/dist/components/Inputs/MaskedInput/index.js +4 -0
  22. package/dist/components/Inputs/PasswordInput/PasswordInput.d.ts +4 -0
  23. package/dist/components/Inputs/PasswordInput/PasswordInput.js +17 -0
  24. package/dist/components/Inputs/PasswordInput/index.d.ts +1 -0
  25. package/dist/components/Inputs/PasswordInput/index.js +4 -0
  26. package/dist/components/Inputs/types.d.ts +5 -0
  27. package/dist/components/Inputs/types.js +1 -0
  28. package/dist/components/Text/Text.d.ts +2 -3
  29. package/dist/components/Text/Text.js +1 -1
  30. package/dist/components/Text/types.d.ts +5 -0
  31. package/dist/components/Text/types.js +1 -0
  32. package/dist/components/theme.js +3 -1
  33. package/dist/constants/font-variants.d.ts +4 -0
  34. package/dist/constants/font-variants.js +11 -0
  35. package/dist/constants/masks.d.ts +4 -0
  36. package/dist/constants/masks.js +7 -0
  37. package/dist/main.d.ts +5 -3
  38. package/dist/main.js +14 -10
  39. package/dist/{Text.module-D3VLOIGk.js → typography.module-D5hr9RHB.js} +1 -1
  40. package/package.json +1 -1
  41. package/dist/assets/Input.css +0 -1
  42. package/dist/assets/InputMasked.css +0 -1
  43. package/dist/clsx-OuTLNxxd.js +0 -16
  44. package/dist/components/Input/Input.js +0 -11
  45. package/dist/components/InputCard/InputCard.d.ts +0 -145
  46. package/dist/components/InputCard/InputCard.js +0 -34
  47. package/dist/components/InputCard/index.d.ts +0 -1
  48. package/dist/components/InputCard/index.js +0 -4
  49. package/dist/components/InputMasked/InputMasked.d.ts +0 -139
  50. package/dist/components/InputMasked/InputMasked.js +0 -15
  51. package/dist/components/InputMasked/index.d.ts +0 -1
  52. package/dist/components/InputMasked/index.js +0 -4
  53. /package/dist/assets/{Text.css → typography.css} +0 -0
  54. /package/dist/components/{InputCard → Inputs/CardInput}/useCardLogo.d.ts +0 -0
  55. /package/dist/components/{InputCard → Inputs/CardInput}/useCardLogo.js +0 -0
  56. /package/dist/components/{Input → Inputs}/Input.d.ts +0 -0
  57. /package/dist/components/{Input → Inputs}/index.d.ts +0 -0
  58. /package/dist/components/{Input → Inputs}/index.js +0 -0
@@ -1,8 +1,10 @@
1
- import X from "react";
1
+ import { jsx as ee } from "react/jsx-runtime";
2
+ import X, { forwardRef as se } from "react";
3
+ import { Input as ie } from "../Input.js";
2
4
  function G(a) {
3
5
  return typeof a == "string" || a instanceof String;
4
6
  }
5
- function Mt(a) {
7
+ function Bt(a) {
6
8
  var t;
7
9
  return typeof a == "object" && a != null && (a == null || (t = a.constructor) == null ? void 0 : t.name) === "Object";
8
10
  }
@@ -19,7 +21,7 @@ const m = {
19
21
  RIGHT: "RIGHT",
20
22
  FORCE_RIGHT: "FORCE_RIGHT"
21
23
  };
22
- function ee(a) {
24
+ function re(a) {
23
25
  switch (a) {
24
26
  case m.LEFT:
25
27
  return m.FORCE_LEFT;
@@ -57,7 +59,7 @@ function ot(a, t) {
57
59
  return t.toString() === a.toString();
58
60
  return !1;
59
61
  }
60
- class se {
62
+ class ne {
61
63
  /** Current input value */
62
64
  /** Current cursor position */
63
65
  /** Old input value */
@@ -122,7 +124,7 @@ function et(a) {
122
124
  ...e
123
125
  } = a instanceof g.Masked ? {
124
126
  mask: a
125
- } : Mt(a) && a.mask instanceof g.Masked ? a : {};
127
+ } : Bt(a) && a.mask instanceof g.Masked ? a : {};
126
128
  if (t) {
127
129
  const s = t.mask;
128
130
  return {
@@ -133,7 +135,7 @@ function et(a) {
133
135
  };
134
136
  }
135
137
  }
136
- return Mt(a) ? {
138
+ return Bt(a) ? {
137
139
  ...a
138
140
  } : {
139
141
  mask: a
@@ -185,7 +187,7 @@ class Rt {
185
187
  /** */
186
188
  }
187
189
  g.MaskElement = Rt;
188
- const Ot = 90, ie = 89;
190
+ const Ot = 90, ae = 89;
189
191
  class ht extends Rt {
190
192
  /** HTMLElement to use mask on */
191
193
  constructor(t) {
@@ -204,7 +206,7 @@ class ht extends Rt {
204
206
  this.input.addEventListener("keydown", this._onKeydown), this.input.addEventListener("input", this._onInput), this.input.addEventListener("beforeinput", this._onBeforeinput), this.input.addEventListener("compositionend", this._onCompositionEnd), this.input.addEventListener("drop", t.drop), this.input.addEventListener("click", t.click), this.input.addEventListener("focus", t.focus), this.input.addEventListener("blur", t.commit), this._handlers = t;
205
207
  }
206
208
  _onKeydown(t) {
207
- if (this._handlers.redo && (t.keyCode === Ot && t.shiftKey && (t.metaKey || t.ctrlKey) || t.keyCode === ie && t.ctrlKey))
209
+ if (this._handlers.redo && (t.keyCode === Ot && t.shiftKey && (t.metaKey || t.ctrlKey) || t.keyCode === ae && t.ctrlKey))
208
210
  return t.preventDefault(), this._handlers.redo(t);
209
211
  if (this._handlers.undo && t.keyCode === Ot && (t.metaKey || t.ctrlKey))
210
212
  return t.preventDefault(), this._handlers.undo(t);
@@ -228,7 +230,7 @@ class ht extends Rt {
228
230
  }
229
231
  }
230
232
  g.HTMLMaskElement = ht;
231
- class re extends ht {
233
+ class ue extends ht {
232
234
  /** InputElement to use mask on */
233
235
  constructor(t) {
234
236
  super(t), this.input = t;
@@ -308,13 +310,13 @@ class pt {
308
310
  }
309
311
  }
310
312
  pt.MAX_LENGTH = 100;
311
- class ne {
313
+ class oe {
312
314
  /**
313
315
  View element
314
316
  */
315
317
  /** Internal {@link Masked} model */
316
318
  constructor(t, e) {
317
- this.el = t instanceof Rt ? t : t.isContentEditable && t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" ? new Kt(t) : new re(t), this.masked = K(e), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new pt(), 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.updateValue(), this._onChange();
319
+ this.el = t instanceof Rt ? t : t.isContentEditable && t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" ? new Kt(t) : new ue(t), this.masked = K(e), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new pt(), 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.updateValue(), this._onChange();
318
320
  }
319
321
  maskEquals(t) {
320
322
  var e;
@@ -473,7 +475,7 @@ class ne {
473
475
  /** Handles view input event */
474
476
  _onInput(t) {
475
477
  this._inputEvent = t, this._abortUpdateCursor();
476
- const e = new se({
478
+ const e = new ne({
477
479
  // new state
478
480
  value: this.el.value,
479
481
  cursorPos: this.cursorPos,
@@ -517,7 +519,7 @@ class ne {
517
519
  this._unbindEvents(), this._listeners.length = 0, delete this.el;
518
520
  }
519
521
  }
520
- g.InputMask = ne;
522
+ g.InputMask = oe;
521
523
  class E {
522
524
  /** Inserted symbols */
523
525
  /** Additional offset if any changes occurred before tail */
@@ -800,7 +802,7 @@ class P {
800
802
  });
801
803
  const n = t + e, u = this.extractTail(n), l = this.eager === !0 || this.eager === "remove";
802
804
  let h;
803
- l && (i = ee(i), h = this.extractInput(0, n, {
805
+ l && (i = re(i), h = this.extractInput(0, n, {
804
806
  raw: !0
805
807
  }));
806
808
  let v = t;
@@ -930,7 +932,7 @@ class J {
930
932
  return "";
931
933
  }
932
934
  }
933
- class ae {
935
+ class le {
934
936
  constructor(t, e) {
935
937
  this.masked = t, this._log = [];
936
938
  const {
@@ -1249,7 +1251,7 @@ lt.DEFAULT_DEFINITIONS = {
1249
1251
  // http://stackoverflow.com/a/22075070
1250
1252
  "*": /./
1251
1253
  };
1252
- class ue extends P {
1254
+ class he extends P {
1253
1255
  /** */
1254
1256
  /** Enable characters overwriting */
1255
1257
  /** */
@@ -1263,7 +1265,7 @@ class ue extends P {
1263
1265
  e && (t.validate = (s) => s.search(e) >= 0), super._update(t);
1264
1266
  }
1265
1267
  }
1266
- g.MaskedRegExp = ue;
1268
+ g.MaskedRegExp = he;
1267
1269
  class L extends P {
1268
1270
  /** */
1269
1271
  /** */
@@ -1296,14 +1298,14 @@ class L extends P {
1296
1298
  for (let r = 0; r < e.length; ++r) {
1297
1299
  if (this.blocks) {
1298
1300
  const h = e.slice(r), v = Object.keys(this.blocks).filter((F) => h.indexOf(F) === 0);
1299
- v.sort((F, M) => M.length - F.length);
1301
+ v.sort((F, B) => B.length - F.length);
1300
1302
  const k = v[0];
1301
1303
  if (k) {
1302
1304
  const {
1303
1305
  expose: F,
1304
- repeat: M,
1306
+ repeat: B,
1305
1307
  ...N
1306
- } = et(this.blocks[k]), B = {
1308
+ } = et(this.blocks[k]), M = {
1307
1309
  lazy: this.lazy,
1308
1310
  eager: this.eager,
1309
1311
  placeholderChar: this.placeholderChar,
@@ -1311,12 +1313,12 @@ class L extends P {
1311
1313
  overwrite: this.overwrite,
1312
1314
  autofix: this.autofix,
1313
1315
  ...N,
1314
- repeat: M,
1316
+ repeat: B,
1315
1317
  parent: this
1316
- }, O = M != null ? new g.RepeatBlock(
1317
- B
1318
+ }, O = B != null ? new g.RepeatBlock(
1319
+ M
1318
1320
  /* TODO */
1319
- ) : K(B);
1321
+ ) : K(M);
1320
1322
  O && (this._blocks.push(O), F && (this.exposeBlock = O), this._maskedBlocks[k] || (this._maskedBlocks[k] = []), this._maskedBlocks[k].push(this._blocks.length - 1)), r += k.length - 1;
1321
1323
  continue;
1322
1324
  }
@@ -1526,7 +1528,7 @@ class L extends P {
1526
1528
  }
1527
1529
  nearestInputPos(t, e) {
1528
1530
  if (e === void 0 && (e = m.NONE), !this._blocks.length) return 0;
1529
- const s = new ae(this, t);
1531
+ const s = new le(this, t);
1530
1532
  if (e === m.NONE)
1531
1533
  return s.pushRightBeforeInput() || (s.popState(), s.pushLeftBeforeInput()) ? s.pos : this.displayValue.length;
1532
1534
  if (e === m.LEFT || e === m.FORCE_LEFT) {
@@ -1641,7 +1643,7 @@ class ut extends L {
1641
1643
  }
1642
1644
  }
1643
1645
  g.MaskedRange = ut;
1644
- const oe = "d{.}`m{.}`Y";
1646
+ const pe = "d{.}`m{.}`Y";
1645
1647
  class H extends L {
1646
1648
  static extractPatternOptions(t) {
1647
1649
  const {
@@ -1734,7 +1736,7 @@ H.GET_DEFAULT_BLOCKS = () => ({
1734
1736
  H.DEFAULTS = {
1735
1737
  ...L.DEFAULTS,
1736
1738
  mask: Date,
1737
- pattern: oe,
1739
+ pattern: pe,
1738
1740
  format: (a, t) => {
1739
1741
  if (!a) return "";
1740
1742
  const e = String(a.getDate()).padStart(2, "0"), s = String(a.getMonth() + 1).padStart(2, "0"), i = a.getFullYear();
@@ -2017,7 +2019,7 @@ dt.DEFAULTS = {
2017
2019
  matchValue: (a, t, e) => a.indexOf(t, e) === e
2018
2020
  };
2019
2021
  g.MaskedEnum = dt;
2020
- class le extends P {
2022
+ class ce extends P {
2021
2023
  /** */
2022
2024
  /** Enable characters overwriting */
2023
2025
  /** */
@@ -2033,7 +2035,7 @@ class le extends P {
2033
2035
  });
2034
2036
  }
2035
2037
  }
2036
- g.MaskedFunction = le;
2038
+ g.MaskedFunction = ce;
2037
2039
  var Wt;
2038
2040
  class U extends P {
2039
2041
  /** Single char */
@@ -2249,13 +2251,13 @@ function Zt(a, t, e) {
2249
2251
  const s = K(a);
2250
2252
  return (i) => s.runIsolated((r) => (r[t] = i, r[e]));
2251
2253
  }
2252
- function he(a, t, e, s) {
2254
+ function de(a, t, e, s) {
2253
2255
  return Zt(t, e, s)(a);
2254
2256
  }
2255
2257
  g.PIPE_TYPE = It;
2256
2258
  g.createPipe = Zt;
2257
- g.pipe = he;
2258
- class pe extends L {
2259
+ g.pipe = de;
2260
+ class fe extends L {
2259
2261
  get repeatFrom() {
2260
2262
  var t;
2261
2263
  return (t = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? t : 0;
@@ -2348,12 +2350,12 @@ class pe extends L {
2348
2350
  this._blocks.length = t._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = t;
2349
2351
  }
2350
2352
  }
2351
- g.RepeatBlock = pe;
2353
+ g.RepeatBlock = fe;
2352
2354
  try {
2353
2355
  globalThis.IMask = g;
2354
2356
  } catch {
2355
2357
  }
2356
- function ce(a) {
2358
+ function me(a) {
2357
2359
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
2358
2360
  }
2359
2361
  var nt = { exports: {} }, at = { exports: {} }, I = {};
@@ -2366,10 +2368,10 @@ var nt = { exports: {} }, at = { exports: {} }, I = {};
2366
2368
  * LICENSE file in the root directory of this source tree.
2367
2369
  */
2368
2370
  var Dt;
2369
- function de() {
2371
+ function ve() {
2370
2372
  if (Dt) return I;
2371
2373
  Dt = 1;
2372
- var a = typeof Symbol == "function" && Symbol.for, t = a ? Symbol.for("react.element") : 60103, e = a ? Symbol.for("react.portal") : 60106, s = a ? Symbol.for("react.fragment") : 60107, i = a ? Symbol.for("react.strict_mode") : 60108, r = a ? Symbol.for("react.profiler") : 60114, n = a ? Symbol.for("react.provider") : 60109, u = a ? Symbol.for("react.context") : 60110, l = a ? Symbol.for("react.async_mode") : 60111, h = a ? Symbol.for("react.concurrent_mode") : 60111, v = a ? Symbol.for("react.forward_ref") : 60112, k = a ? Symbol.for("react.suspense") : 60113, F = a ? Symbol.for("react.suspense_list") : 60120, M = a ? Symbol.for("react.memo") : 60115, N = a ? Symbol.for("react.lazy") : 60116, B = a ? Symbol.for("react.block") : 60121, O = a ? Symbol.for("react.fundamental") : 60117, $ = a ? Symbol.for("react.responder") : 60118, tt = a ? Symbol.for("react.scope") : 60119;
2374
+ var a = typeof Symbol == "function" && Symbol.for, t = a ? Symbol.for("react.element") : 60103, e = a ? Symbol.for("react.portal") : 60106, s = a ? Symbol.for("react.fragment") : 60107, i = a ? Symbol.for("react.strict_mode") : 60108, r = a ? Symbol.for("react.profiler") : 60114, n = a ? Symbol.for("react.provider") : 60109, u = a ? Symbol.for("react.context") : 60110, l = a ? Symbol.for("react.async_mode") : 60111, h = a ? Symbol.for("react.concurrent_mode") : 60111, v = a ? Symbol.for("react.forward_ref") : 60112, k = a ? Symbol.for("react.suspense") : 60113, F = a ? Symbol.for("react.suspense_list") : 60120, B = a ? Symbol.for("react.memo") : 60115, N = a ? Symbol.for("react.lazy") : 60116, M = a ? Symbol.for("react.block") : 60121, O = a ? Symbol.for("react.fundamental") : 60117, $ = a ? Symbol.for("react.responder") : 60118, tt = a ? Symbol.for("react.scope") : 60119;
2373
2375
  function V(c) {
2374
2376
  if (typeof c == "object" && c !== null) {
2375
2377
  var W = c.$$typeof;
@@ -2388,7 +2390,7 @@ function de() {
2388
2390
  case u:
2389
2391
  case v:
2390
2392
  case N:
2391
- case M:
2393
+ case B:
2392
2394
  case n:
2393
2395
  return c;
2394
2396
  default:
@@ -2403,7 +2405,7 @@ function de() {
2403
2405
  function D(c) {
2404
2406
  return V(c) === h;
2405
2407
  }
2406
- return I.AsyncMode = l, I.ConcurrentMode = h, I.ContextConsumer = u, I.ContextProvider = n, I.Element = t, I.ForwardRef = v, I.Fragment = s, I.Lazy = N, I.Memo = M, I.Portal = e, I.Profiler = r, I.StrictMode = i, I.Suspense = k, I.isAsyncMode = function(c) {
2408
+ return I.AsyncMode = l, I.ConcurrentMode = h, I.ContextConsumer = u, I.ContextProvider = n, I.Element = t, I.ForwardRef = v, I.Fragment = s, I.Lazy = N, I.Memo = B, I.Portal = e, I.Profiler = r, I.StrictMode = i, I.Suspense = k, I.isAsyncMode = function(c) {
2407
2409
  return D(c) || V(c) === l;
2408
2410
  }, I.isConcurrentMode = D, I.isContextConsumer = function(c) {
2409
2411
  return V(c) === u;
@@ -2418,7 +2420,7 @@ function de() {
2418
2420
  }, I.isLazy = function(c) {
2419
2421
  return V(c) === N;
2420
2422
  }, I.isMemo = function(c) {
2421
- return V(c) === M;
2423
+ return V(c) === B;
2422
2424
  }, I.isPortal = function(c) {
2423
2425
  return V(c) === e;
2424
2426
  }, I.isProfiler = function(c) {
@@ -2428,7 +2430,7 @@ function de() {
2428
2430
  }, I.isSuspense = function(c) {
2429
2431
  return V(c) === k;
2430
2432
  }, I.isValidElementType = function(c) {
2431
- return typeof c == "string" || typeof c == "function" || c === s || c === h || c === r || c === i || c === k || c === F || typeof c == "object" && c !== null && (c.$$typeof === N || c.$$typeof === M || c.$$typeof === n || c.$$typeof === u || c.$$typeof === v || c.$$typeof === O || c.$$typeof === $ || c.$$typeof === tt || c.$$typeof === B);
2433
+ return typeof c == "string" || typeof c == "function" || c === s || c === h || c === r || c === i || c === k || c === F || typeof c == "object" && c !== null && (c.$$typeof === N || c.$$typeof === B || c.$$typeof === n || c.$$typeof === u || c.$$typeof === v || c.$$typeof === O || c.$$typeof === $ || c.$$typeof === tt || c.$$typeof === M);
2432
2434
  }, I.typeOf = V, I;
2433
2435
  }
2434
2436
  var R = {};
@@ -2441,12 +2443,12 @@ var R = {};
2441
2443
  * LICENSE file in the root directory of this source tree.
2442
2444
  */
2443
2445
  var Vt;
2444
- function fe() {
2446
+ function ge() {
2445
2447
  return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
2446
- var a = typeof Symbol == "function" && Symbol.for, t = a ? Symbol.for("react.element") : 60103, e = a ? Symbol.for("react.portal") : 60106, s = a ? Symbol.for("react.fragment") : 60107, i = a ? Symbol.for("react.strict_mode") : 60108, r = a ? Symbol.for("react.profiler") : 60114, n = a ? Symbol.for("react.provider") : 60109, u = a ? Symbol.for("react.context") : 60110, l = a ? Symbol.for("react.async_mode") : 60111, h = a ? Symbol.for("react.concurrent_mode") : 60111, v = a ? Symbol.for("react.forward_ref") : 60112, k = a ? Symbol.for("react.suspense") : 60113, F = a ? Symbol.for("react.suspense_list") : 60120, M = a ? Symbol.for("react.memo") : 60115, N = a ? Symbol.for("react.lazy") : 60116, B = a ? Symbol.for("react.block") : 60121, O = a ? Symbol.for("react.fundamental") : 60117, $ = a ? Symbol.for("react.responder") : 60118, tt = a ? Symbol.for("react.scope") : 60119;
2448
+ var a = typeof Symbol == "function" && Symbol.for, t = a ? Symbol.for("react.element") : 60103, e = a ? Symbol.for("react.portal") : 60106, s = a ? Symbol.for("react.fragment") : 60107, i = a ? Symbol.for("react.strict_mode") : 60108, r = a ? Symbol.for("react.profiler") : 60114, n = a ? Symbol.for("react.provider") : 60109, u = a ? Symbol.for("react.context") : 60110, l = a ? Symbol.for("react.async_mode") : 60111, h = a ? Symbol.for("react.concurrent_mode") : 60111, v = a ? Symbol.for("react.forward_ref") : 60112, k = a ? Symbol.for("react.suspense") : 60113, F = a ? Symbol.for("react.suspense_list") : 60120, B = a ? Symbol.for("react.memo") : 60115, N = a ? Symbol.for("react.lazy") : 60116, M = a ? Symbol.for("react.block") : 60121, O = a ? Symbol.for("react.fundamental") : 60117, $ = a ? Symbol.for("react.responder") : 60118, tt = a ? Symbol.for("react.scope") : 60119;
2447
2449
  function V(p) {
2448
2450
  return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2449
- p === s || p === h || p === r || p === i || p === k || p === F || typeof p == "object" && p !== null && (p.$$typeof === N || p.$$typeof === M || p.$$typeof === n || p.$$typeof === u || p.$$typeof === v || p.$$typeof === O || p.$$typeof === $ || p.$$typeof === tt || p.$$typeof === B);
2451
+ p === s || p === h || p === r || p === i || p === k || p === F || typeof p == "object" && p !== null && (p.$$typeof === N || p.$$typeof === B || p.$$typeof === n || p.$$typeof === u || p.$$typeof === v || p.$$typeof === O || p.$$typeof === $ || p.$$typeof === tt || p.$$typeof === M);
2450
2452
  }
2451
2453
  function D(p) {
2452
2454
  if (typeof p == "object" && p !== null) {
@@ -2463,14 +2465,14 @@ function fe() {
2463
2465
  case k:
2464
2466
  return rt;
2465
2467
  default:
2466
- var Bt = rt && rt.$$typeof;
2467
- switch (Bt) {
2468
+ var Mt = rt && rt.$$typeof;
2469
+ switch (Mt) {
2468
2470
  case u:
2469
2471
  case v:
2470
2472
  case N:
2471
- case M:
2473
+ case B:
2472
2474
  case n:
2473
- return Bt;
2475
+ return Mt;
2474
2476
  default:
2475
2477
  return Y;
2476
2478
  }
@@ -2480,7 +2482,7 @@ function fe() {
2480
2482
  }
2481
2483
  }
2482
2484
  }
2483
- var c = l, W = h, ft = u, mt = n, vt = t, gt = v, st = s, kt = N, _t = M, Q = e, Et = r, q = i, Z = k, it = !1;
2485
+ var c = l, W = h, ft = u, mt = n, vt = t, gt = v, st = s, kt = N, _t = B, Q = e, Et = r, q = i, Z = k, it = !1;
2484
2486
  function yt(p) {
2485
2487
  return it || (it = !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.")), o(p) || D(p) === l;
2486
2488
  }
@@ -2506,7 +2508,7 @@ function fe() {
2506
2508
  return D(p) === N;
2507
2509
  }
2508
2510
  function A(p) {
2509
- return D(p) === M;
2511
+ return D(p) === B;
2510
2512
  }
2511
2513
  function x(p) {
2512
2514
  return D(p) === e;
@@ -2525,7 +2527,7 @@ function fe() {
2525
2527
  }
2526
2528
  var Pt;
2527
2529
  function Xt() {
2528
- return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? at.exports = de() : at.exports = fe()), at.exports;
2530
+ return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? at.exports = ve() : at.exports = ge()), at.exports;
2529
2531
  }
2530
2532
  /*
2531
2533
  object-assign
@@ -2533,7 +2535,7 @@ object-assign
2533
2535
  @license MIT
2534
2536
  */
2535
2537
  var At, Lt;
2536
- function me() {
2538
+ function ke() {
2537
2539
  if (Lt) return At;
2538
2540
  Lt = 1;
2539
2541
  var a = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, e = Object.prototype.propertyIsEnumerable;
@@ -2590,7 +2592,7 @@ function Jt() {
2590
2592
  return jt || (jt = 1, Ft = Function.call.bind(Object.prototype.hasOwnProperty)), Ft;
2591
2593
  }
2592
2594
  var St, Ut;
2593
- function ve() {
2595
+ function _e() {
2594
2596
  if (Ut) return St;
2595
2597
  Ut = 1;
2596
2598
  var a = function() {
@@ -2626,9 +2628,9 @@ function ve() {
2626
2628
  (l || "React class") + ": type specification of " + u + " `" + v + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof k + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2627
2629
  ), k instanceof Error && !(k.message in e)) {
2628
2630
  e[k.message] = !0;
2629
- var M = h ? h() : "";
2631
+ var B = h ? h() : "";
2630
2632
  a(
2631
- "Failed " + u + " type: " + k.message + (M ?? "")
2633
+ "Failed " + u + " type: " + k.message + (B ?? "")
2632
2634
  );
2633
2635
  }
2634
2636
  }
@@ -2639,10 +2641,10 @@ function ve() {
2639
2641
  }, St = i, St;
2640
2642
  }
2641
2643
  var xt, $t;
2642
- function ge() {
2644
+ function Ee() {
2643
2645
  if ($t) return xt;
2644
2646
  $t = 1;
2645
- var a = Xt(), t = me(), e = /* @__PURE__ */ wt(), s = /* @__PURE__ */ Jt(), i = /* @__PURE__ */ ve(), r = function() {
2647
+ var a = Xt(), t = ke(), e = /* @__PURE__ */ wt(), s = /* @__PURE__ */ Jt(), i = /* @__PURE__ */ _e(), r = function() {
2646
2648
  };
2647
2649
  process.env.NODE_ENV !== "production" && (r = function(u) {
2648
2650
  var l = "Warning: " + u;
@@ -2662,7 +2664,7 @@ function ge() {
2662
2664
  if (typeof d == "function")
2663
2665
  return d;
2664
2666
  }
2665
- var F = "<<anonymous>>", M = {
2667
+ var F = "<<anonymous>>", B = {
2666
2668
  array: $("array"),
2667
2669
  bigint: $("bigint"),
2668
2670
  bool: $("boolean"),
@@ -2686,10 +2688,10 @@ function ge() {
2686
2688
  function N(o, d) {
2687
2689
  return o === d ? o !== 0 || 1 / o === 1 / d : o !== o && d !== d;
2688
2690
  }
2689
- function B(o, d) {
2691
+ function M(o, d) {
2690
2692
  this.message = o, this.data = d && typeof d == "object" ? d : {}, this.stack = "";
2691
2693
  }
2692
- B.prototype = Error.prototype;
2694
+ M.prototype = Error.prototype;
2693
2695
  function O(o) {
2694
2696
  if (process.env.NODE_ENV !== "production")
2695
2697
  var d = {}, b = 0;
@@ -2708,7 +2710,7 @@ function ge() {
2708
2710
  ), d[Y] = !0, b++);
2709
2711
  }
2710
2712
  }
2711
- return y[A] == null ? S ? y[A] === null ? new B("The " + w + " `" + T + "` is marked as required " + ("in `" + x + "`, but its value is `null`.")) : new B("The " + w + " `" + T + "` is marked as required in " + ("`" + x + "`, but its value is `undefined`.")) : null : o(y, A, x, w, T);
2713
+ return y[A] == null ? S ? y[A] === null ? new M("The " + w + " `" + T + "` is marked as required " + ("in `" + x + "`, but its value is `null`.")) : new M("The " + w + " `" + T + "` is marked as required in " + ("`" + x + "`, but its value is `undefined`.")) : null : o(y, A, x, w, T);
2712
2714
  }
2713
2715
  var _ = C.bind(null, !1);
2714
2716
  return _.isRequired = C.bind(null, !0), _;
@@ -2718,7 +2720,7 @@ function ge() {
2718
2720
  var x = b[C], w = q(x);
2719
2721
  if (w !== o) {
2720
2722
  var T = Z(x);
2721
- return new B(
2723
+ return new M(
2722
2724
  "Invalid " + S + " `" + y + "` of type " + ("`" + T + "` supplied to `" + _ + "`, expected ") + ("`" + o + "`."),
2723
2725
  { expectedType: o }
2724
2726
  );
@@ -2733,11 +2735,11 @@ function ge() {
2733
2735
  function V(o) {
2734
2736
  function d(b, C, _, S, y) {
2735
2737
  if (typeof o != "function")
2736
- return new B("Property `" + y + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
2738
+ return new M("Property `" + y + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
2737
2739
  var A = b[C];
2738
2740
  if (!Array.isArray(A)) {
2739
2741
  var x = q(A);
2740
- return new B("Invalid " + S + " `" + y + "` of type " + ("`" + x + "` supplied to `" + _ + "`, expected an array."));
2742
+ return new M("Invalid " + S + " `" + y + "` of type " + ("`" + x + "` supplied to `" + _ + "`, expected an array."));
2741
2743
  }
2742
2744
  for (var w = 0; w < A.length; w++) {
2743
2745
  var T = o(A, w, _, S, y + "[" + w + "]", e);
@@ -2753,7 +2755,7 @@ function ge() {
2753
2755
  var y = d[b];
2754
2756
  if (!u(y)) {
2755
2757
  var A = q(y);
2756
- return new B("Invalid " + _ + " `" + S + "` of type " + ("`" + A + "` supplied to `" + C + "`, expected a single ReactElement."));
2758
+ return new M("Invalid " + _ + " `" + S + "` of type " + ("`" + A + "` supplied to `" + C + "`, expected a single ReactElement."));
2757
2759
  }
2758
2760
  return null;
2759
2761
  }
@@ -2764,7 +2766,7 @@ function ge() {
2764
2766
  var y = d[b];
2765
2767
  if (!a.isValidElementType(y)) {
2766
2768
  var A = q(y);
2767
- return new B("Invalid " + _ + " `" + S + "` of type " + ("`" + A + "` supplied to `" + C + "`, expected a single ReactElement type."));
2769
+ return new M("Invalid " + _ + " `" + S + "` of type " + ("`" + A + "` supplied to `" + C + "`, expected a single ReactElement type."));
2768
2770
  }
2769
2771
  return null;
2770
2772
  }
@@ -2774,7 +2776,7 @@ function ge() {
2774
2776
  function d(b, C, _, S, y) {
2775
2777
  if (!(b[C] instanceof o)) {
2776
2778
  var A = o.name || F, x = yt(b[C]);
2777
- return new B("Invalid " + S + " `" + y + "` of type " + ("`" + x + "` supplied to `" + _ + "`, expected ") + ("instance of `" + A + "`."));
2779
+ return new M("Invalid " + S + " `" + y + "` of type " + ("`" + x + "` supplied to `" + _ + "`, expected ") + ("instance of `" + A + "`."));
2778
2780
  }
2779
2781
  return null;
2780
2782
  }
@@ -2793,17 +2795,17 @@ function ge() {
2793
2795
  var Y = Z(p);
2794
2796
  return Y === "symbol" ? String(p) : p;
2795
2797
  });
2796
- return new B("Invalid " + S + " `" + y + "` of value `" + String(A) + "` " + ("supplied to `" + _ + "`, expected one of " + w + "."));
2798
+ return new M("Invalid " + S + " `" + y + "` of value `" + String(A) + "` " + ("supplied to `" + _ + "`, expected one of " + w + "."));
2797
2799
  }
2798
2800
  return O(d);
2799
2801
  }
2800
2802
  function mt(o) {
2801
2803
  function d(b, C, _, S, y) {
2802
2804
  if (typeof o != "function")
2803
- return new B("Property `" + y + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
2805
+ return new M("Property `" + y + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
2804
2806
  var A = b[C], x = q(A);
2805
2807
  if (x !== "object")
2806
- return new B("Invalid " + S + " `" + y + "` of type " + ("`" + x + "` supplied to `" + _ + "`, expected an object."));
2808
+ return new M("Invalid " + S + " `" + y + "` of type " + ("`" + x + "` supplied to `" + _ + "`, expected an object."));
2807
2809
  for (var w in A)
2808
2810
  if (s(A, w)) {
2809
2811
  var T = o(A, w, _, S, y + "." + w, e);
@@ -2832,18 +2834,18 @@ function ge() {
2832
2834
  p.data && s(p.data, "expectedType") && w.push(p.data.expectedType);
2833
2835
  }
2834
2836
  var Y = w.length > 0 ? ", expected one of type [" + w.join(", ") + "]" : "";
2835
- return new B("Invalid " + A + " `" + x + "` supplied to " + ("`" + y + "`" + Y + "."));
2837
+ return new M("Invalid " + A + " `" + x + "` supplied to " + ("`" + y + "`" + Y + "."));
2836
2838
  }
2837
2839
  return O(C);
2838
2840
  }
2839
2841
  function gt() {
2840
2842
  function o(d, b, C, _, S) {
2841
- return Q(d[b]) ? null : new B("Invalid " + _ + " `" + S + "` supplied to " + ("`" + C + "`, expected a ReactNode."));
2843
+ return Q(d[b]) ? null : new M("Invalid " + _ + " `" + S + "` supplied to " + ("`" + C + "`, expected a ReactNode."));
2842
2844
  }
2843
2845
  return O(o);
2844
2846
  }
2845
2847
  function st(o, d, b, C, _) {
2846
- return new B(
2848
+ return new M(
2847
2849
  (o || "React class") + ": " + d + " type `" + b + "." + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
2848
2850
  );
2849
2851
  }
@@ -2851,7 +2853,7 @@ function ge() {
2851
2853
  function d(b, C, _, S, y) {
2852
2854
  var A = b[C], x = q(A);
2853
2855
  if (x !== "object")
2854
- return new B("Invalid " + S + " `" + y + "` of type `" + x + "` " + ("supplied to `" + _ + "`, expected `object`."));
2856
+ return new M("Invalid " + S + " `" + y + "` of type `" + x + "` " + ("supplied to `" + _ + "`, expected `object`."));
2855
2857
  for (var w in o) {
2856
2858
  var T = o[w];
2857
2859
  if (typeof T != "function")
@@ -2868,14 +2870,14 @@ function ge() {
2868
2870
  function d(b, C, _, S, y) {
2869
2871
  var A = b[C], x = q(A);
2870
2872
  if (x !== "object")
2871
- return new B("Invalid " + S + " `" + y + "` of type `" + x + "` " + ("supplied to `" + _ + "`, expected `object`."));
2873
+ return new M("Invalid " + S + " `" + y + "` of type `" + x + "` " + ("supplied to `" + _ + "`, expected `object`."));
2872
2874
  var w = t({}, b[C], o);
2873
2875
  for (var T in w) {
2874
2876
  var j = o[T];
2875
2877
  if (s(o, T) && typeof j != "function")
2876
2878
  return st(_, S, y, T, Z(j));
2877
2879
  if (!j)
2878
- return new B(
2880
+ return new M(
2879
2881
  "Invalid " + S + " `" + y + "` key `" + T + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(b[C], null, " ") + `
2880
2882
  Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
2881
2883
  );
@@ -2956,11 +2958,11 @@ Valid keys: ` + JSON.stringify(Object.keys(o), null, " ")
2956
2958
  function yt(o) {
2957
2959
  return !o.constructor || !o.constructor.name ? F : o.constructor.name;
2958
2960
  }
2959
- return M.checkPropTypes = i, M.resetWarningCache = i.resetWarningCache, M.PropTypes = M, M;
2961
+ return B.checkPropTypes = i, B.resetWarningCache = i.resetWarningCache, B.PropTypes = B, B;
2960
2962
  }, xt;
2961
2963
  }
2962
2964
  var Tt, qt;
2963
- function ke() {
2965
+ function ye() {
2964
2966
  if (qt) return Tt;
2965
2967
  qt = 1;
2966
2968
  var a = /* @__PURE__ */ wt();
@@ -3008,17 +3010,17 @@ function ke() {
3008
3010
  }, Tt;
3009
3011
  }
3010
3012
  var Yt;
3011
- function _e() {
3013
+ function Ce() {
3012
3014
  if (Yt) return nt.exports;
3013
3015
  if (Yt = 1, process.env.NODE_ENV !== "production") {
3014
3016
  var a = Xt(), t = !0;
3015
- nt.exports = /* @__PURE__ */ ge()(a.isElement, t);
3017
+ nt.exports = /* @__PURE__ */ Ee()(a.isElement, t);
3016
3018
  } else
3017
- nt.exports = /* @__PURE__ */ ke()();
3019
+ nt.exports = /* @__PURE__ */ ye()();
3018
3020
  return nt.exports;
3019
3021
  }
3020
- var Ee = /* @__PURE__ */ _e();
3021
- const f = /* @__PURE__ */ ce(Ee), Qt = {
3022
+ var Ae = /* @__PURE__ */ Ce();
3023
+ const f = /* @__PURE__ */ me(Ae), Qt = {
3022
3024
  // common
3023
3025
  mask: f.oneOfType([f.array, f.func, f.string, f.instanceOf(RegExp), f.oneOf([Date, Number, g.Masked]), f.instanceOf(g.Masked)]),
3024
3026
  value: f.any,
@@ -3065,8 +3067,8 @@ const f = /* @__PURE__ */ ce(Ee), Qt = {
3065
3067
  inputRef: f.oneOfType([f.func, f.shape({
3066
3068
  current: f.object
3067
3069
  })])
3068
- }, te = Object.keys(Qt).filter((a) => a !== "value"), ye = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Ce = te.filter((a) => ye.indexOf(a) < 0);
3069
- function Ae(a) {
3070
+ }, te = Object.keys(Qt).filter((a) => a !== "value"), be = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Fe = te.filter((a) => be.indexOf(a) < 0);
3071
+ function Se(a) {
3070
3072
  var t;
3071
3073
  const e = (t = class extends X.Component {
3072
3074
  constructor(r) {
@@ -3100,7 +3102,7 @@ function Ae(a) {
3100
3102
  const {
3101
3103
  ...n
3102
3104
  } = r;
3103
- return Object.keys(n).filter((u) => Ce.indexOf(u) < 0).forEach((u) => {
3105
+ return Object.keys(n).filter((u) => Fe.indexOf(u) < 0).forEach((u) => {
3104
3106
  delete n[u];
3105
3107
  }), n;
3106
3108
  }
@@ -3136,7 +3138,7 @@ function Ae(a) {
3136
3138
  ref: r
3137
3139
  }));
3138
3140
  }
3139
- const be = Ae((a) => {
3141
+ const xe = Se((a) => {
3140
3142
  let {
3141
3143
  inputRef: t,
3142
3144
  ...e
@@ -3145,10 +3147,17 @@ const be = Ae((a) => {
3145
3147
  ...e,
3146
3148
  ref: t
3147
3149
  });
3148
- }), Fe = (a, t) => X.createElement(be, {
3150
+ }), Te = (a, t) => X.createElement(xe, {
3149
3151
  ...a,
3150
3152
  ref: t
3151
- }), Te = X.forwardRef(Fe);
3153
+ }), Ie = X.forwardRef(Te), Oe = se((a, t) => /* @__PURE__ */ ee(
3154
+ ie,
3155
+ {
3156
+ ref: t,
3157
+ component: Ie,
3158
+ ...a
3159
+ }
3160
+ ));
3152
3161
  export {
3153
- Te as I
3162
+ Oe as MaskedInput
3154
3163
  };
@@ -0,0 +1 @@
1
+ export { MaskedInput } from './MaskedInput';
@@ -0,0 +1,4 @@
1
+ import { MaskedInput as p } from "./MaskedInput.js";
2
+ export {
3
+ p as MaskedInput
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare const PasswordInput: import('react').ForwardRefExoticComponent<import('@mantine/core').PasswordInputProps & import('react').RefAttributes<HTMLInputElement> & {
2
+ component?: any;
3
+ renderRoot?: (props: Record<string, any>) => React.ReactNode;
4
+ }>;