@arkyn/components 3.0.1-beta.91 → 3.0.1-beta.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -16,7 +16,7 @@ const al = ze({});
16
16
  function $f() {
17
17
  return Ae(al);
18
18
  }
19
- function Ob(t) {
19
+ function xb(t) {
20
20
  const { schema: e, children: r, className: n, ...i } = t, o = !((l) => {
21
21
  let c = !1;
22
22
  const d = (h) => {
@@ -26,15 +26,15 @@ function Ob(t) {
26
26
  })(r) ? "nonExistsAlertTitle" : "existsAlertTitle", u = `arkynAlertContainer ${e} ${o} ${n}`;
27
27
  return /* @__PURE__ */ C(al.Provider, { value: t, children: /* @__PURE__ */ C("div", { className: u.trim(), ...i, children: r }) });
28
28
  }
29
- function Lb(t) {
29
+ function Fb(t) {
30
30
  const { className: e, ...r } = t, n = `arkynAlertContent ${e}`;
31
31
  return /* @__PURE__ */ C("div", { className: n.trim(), ...r });
32
32
  }
33
- function xb(t) {
33
+ function Sb(t) {
34
34
  const { className: e, ...r } = t, n = `arkynAlertDescription ${e}`;
35
35
  return /* @__PURE__ */ C("div", { className: n.trim(), ...r });
36
36
  }
37
- function Fb(t) {
37
+ function Pb(t) {
38
38
  const { className: e, ...r } = t, { schema: n } = $f(), i = `arkynAlertIcon ${n} ${e}`;
39
39
  switch (n) {
40
40
  case "success":
@@ -161,7 +161,7 @@ function Uf(t) {
161
161
  ] });
162
162
  }
163
163
  const sl = ze({});
164
- function Sb(t) {
164
+ function Mb(t) {
165
165
  const { children: e, fieldErrors: r, form: n } = t;
166
166
  return /* @__PURE__ */ ne(sl.Provider, { value: { fieldErrors: r }, children: [
167
167
  !n && e,
@@ -386,7 +386,7 @@ function Hf(t) {
386
386
  /* @__PURE__ */ C("p", { children: e })
387
387
  ] });
388
388
  }
389
- function Pb(t) {
389
+ function kb(t) {
390
390
  const {
391
391
  name: e,
392
392
  label: r,
@@ -454,7 +454,7 @@ function Pb(t) {
454
454
  R && /* @__PURE__ */ C(ct, { children: R })
455
455
  ] });
456
456
  }
457
- function Mb(t) {
457
+ function Tb(t) {
458
458
  const {
459
459
  variant: e = "ghost",
460
460
  scheme: r = "primary",
@@ -478,7 +478,7 @@ function Vf() {
478
478
  function Gf(t) {
479
479
  return /* @__PURE__ */ C(ol.Provider, { value: t, children: t.children });
480
480
  }
481
- function kb(t) {
481
+ function Nb(t) {
482
482
  const {
483
483
  children: e,
484
484
  disabled: r = !1,
@@ -502,7 +502,7 @@ function kb(t) {
502
502
  }
503
503
  );
504
504
  }
505
- function Tb(t) {
505
+ function Ib(t) {
506
506
  const {
507
507
  children: e,
508
508
  onChange: r,
@@ -524,7 +524,7 @@ function Tb(t) {
524
524
  }
525
525
  );
526
526
  }
527
- function Nb(t) {
527
+ function Rb(t) {
528
528
  const {
529
529
  id: e,
530
530
  name: r,
@@ -581,7 +581,7 @@ function Zf() {
581
581
  () => !1
582
582
  );
583
583
  }
584
- function Ib(t) {
584
+ function jb(t) {
585
585
  const { children: e, fallback: r = null } = t;
586
586
  return Zf() ? /* @__PURE__ */ C(Ie, { children: e() }) : /* @__PURE__ */ C(Ie, { children: r });
587
587
  }
@@ -594,7 +594,7 @@ function hi(t, e) {
594
594
  const r = ul(t), n = Za(r, e);
595
595
  return [r, n];
596
596
  }
597
- function Rb(t) {
597
+ function $b(t) {
598
598
  const {
599
599
  name: e,
600
600
  disabled: r,
@@ -733,7 +733,7 @@ function Xf(t) {
733
733
  function Yf() {
734
734
  return Ae(ll);
735
735
  }
736
- function jb(t) {
736
+ function zb(t) {
737
737
  const {
738
738
  isVisible: e,
739
739
  makeInvisible: r,
@@ -769,7 +769,7 @@ function jb(t) {
769
769
  )
770
770
  ] }) }) });
771
771
  }
772
- function $b(t) {
772
+ function _b(t) {
773
773
  const {
774
774
  showCloseButton: e = !0,
775
775
  className: r,
@@ -888,7 +888,7 @@ function Qf(t) {
888
888
  /* @__PURE__ */ C("p", { children: e })
889
889
  ] });
890
890
  }
891
- function zb(t) {
891
+ function Ub(t) {
892
892
  const {
893
893
  name: e,
894
894
  label: r,
@@ -5836,7 +5836,7 @@ H(Ll, "defaultProps", {
5836
5836
  className: ""
5837
5837
  });
5838
5838
  H(Ll, "contextType", ge);
5839
- function _b(t) {
5839
+ function Wb(t) {
5840
5840
  const {
5841
5841
  coordinates: e,
5842
5842
  zoom: r = 18,
@@ -5859,7 +5859,7 @@ function _b(t) {
5859
5859
  ) }) : /* @__PURE__ */ C("div", { className: "arkynMapViewPinnedEmpty " + i, ...a, children: /* @__PURE__ */ C(Bf, {}) });
5860
5860
  }
5861
5861
  const Wh = Yr((t, e) => /* @__PURE__ */ C("input", { ref: e, ...t }));
5862
- function Ub(t) {
5862
+ function Hb(t) {
5863
5863
  const {
5864
5864
  name: e,
5865
5865
  disabled: r,
@@ -6147,7 +6147,7 @@ function rp(t) {
6147
6147
  }
6148
6148
  ) : /* @__PURE__ */ C(Ie, {});
6149
6149
  }
6150
- function Wb(t) {
6150
+ function Vb(t) {
6151
6151
  const {
6152
6152
  name: e,
6153
6153
  options: r,
@@ -6477,7 +6477,7 @@ const fp = Yr((t, e) => /* @__PURE__ */ C("input", { ref: e, ...t })), dp = Yr(
6477
6477
  );
6478
6478
  }
6479
6479
  );
6480
- function Hb(t) {
6480
+ function Gb(t) {
6481
6481
  const {
6482
6482
  defaultCountry: e,
6483
6483
  label: r,
@@ -6611,7 +6611,7 @@ function Hb(t) {
6611
6611
  N && /* @__PURE__ */ C(ct, { children: N })
6612
6612
  ] });
6613
6613
  }
6614
- function Vb(t) {
6614
+ function qb(t) {
6615
6615
  const {
6616
6616
  children: e,
6617
6617
  button: r,
@@ -6654,7 +6654,7 @@ function hp(t) {
6654
6654
  function pp() {
6655
6655
  return Ae(Ml);
6656
6656
  }
6657
- function Gb(t) {
6657
+ function Zb(t) {
6658
6658
  const {
6659
6659
  value: e,
6660
6660
  size: r,
@@ -6691,7 +6691,7 @@ function Gb(t) {
6691
6691
  i
6692
6692
  ] });
6693
6693
  }
6694
- function qb(t) {
6694
+ function Kb(t) {
6695
6695
  const {
6696
6696
  defaultValue: e = "",
6697
6697
  name: r,
@@ -14875,7 +14875,7 @@ function pD({ children: t }) {
14875
14875
  function Ru(t) {
14876
14876
  return t.map((e) => te.string(e)).join("");
14877
14877
  }
14878
- function Zb(t) {
14878
+ function Xb(t) {
14879
14879
  const {
14880
14880
  name: e,
14881
14881
  hiddenButtons: r,
@@ -14981,7 +14981,7 @@ function Zb(t) {
14981
14981
  /* @__PURE__ */ C(ct, { children: P })
14982
14982
  ] });
14983
14983
  }
14984
- function Kb(t) {
14984
+ function Yb(t) {
14985
14985
  const { onChange: e, onPlaceChanged: r, options: n, ...i } = t, [a, s] = F(null);
14986
14986
  return /* @__PURE__ */ C(
14987
14987
  Ol,
@@ -15115,7 +15115,7 @@ function bD(t) {
15115
15115
  const { iconSize: e, isLoading: r } = t;
15116
15116
  return r ? /* @__PURE__ */ C(wt, { className: "arkynSelectSpinner", size: e, strokeWidth: 2.5 }) : /* @__PURE__ */ C(Ie, {});
15117
15117
  }
15118
- function Xb(t) {
15118
+ function Jb(t) {
15119
15119
  const {
15120
15120
  name: e,
15121
15121
  options: r,
@@ -15236,7 +15236,7 @@ function Xb(t) {
15236
15236
  R && /* @__PURE__ */ C(ct, { children: R })
15237
15237
  ] });
15238
15238
  }
15239
- function Yb(t) {
15239
+ function Qb(t) {
15240
15240
  const {
15241
15241
  label: e,
15242
15242
  size: r = "lg",
@@ -15279,7 +15279,7 @@ function Yb(t) {
15279
15279
  )
15280
15280
  ] });
15281
15281
  }
15282
- function Jb(t) {
15282
+ function eE(t) {
15283
15283
  const {
15284
15284
  emptyMessage: e = "Nenhum dado adicionado.",
15285
15285
  className: r,
@@ -15288,29 +15288,29 @@ function Jb(t) {
15288
15288
  } = t, a = `arkynTableBody ${r}`, s = Bt.count(n) === 0;
15289
15289
  return /* @__PURE__ */ C("tbody", { className: a.trim(), ...i, children: s ? /* @__PURE__ */ C("tr", { className: "arkynTableBodyEmptyLine", children: /* @__PURE__ */ C("td", { colSpan: 100, children: /* @__PURE__ */ C("div", { children: e }) }) }) : n });
15290
15290
  }
15291
- function Qb(t) {
15291
+ function tE(t) {
15292
15292
  const { className: e, children: r, ...n } = t, i = `arkynTableCaption ${e}`;
15293
15293
  return /* @__PURE__ */ C("caption", { className: i.trim(), ...n, children: /* @__PURE__ */ C("div", { className: "arkynTableCaptionContent", children: r }) });
15294
15294
  }
15295
- function eE(t) {
15295
+ function rE(t) {
15296
15296
  const { children: e, className: r, ...n } = t, i = `arkynTableContainer ${r}`;
15297
15297
  return /* @__PURE__ */ C("div", { className: i.trim(), ...n, children: /* @__PURE__ */ C("table", { children: e }) });
15298
15298
  }
15299
- function tE(t) {
15299
+ function nE(t) {
15300
15300
  const { className: e, children: r, ...n } = t, i = `arkynTableFooter ${e}`;
15301
15301
  return /* @__PURE__ */ ne("tfoot", { className: i.trim(), ...n, children: [
15302
15302
  /* @__PURE__ */ C("tr", { className: "spacingRow" }),
15303
15303
  /* @__PURE__ */ C("tr", { children: /* @__PURE__ */ C("th", { colSpan: 100, children: /* @__PURE__ */ C("div", { className: "arkynTableFooterContent", children: r }) }) })
15304
15304
  ] });
15305
15305
  }
15306
- function rE(t) {
15306
+ function iE(t) {
15307
15307
  const { className: e, children: r, ...n } = t, i = `arkynTableHeader ${e}`;
15308
15308
  return /* @__PURE__ */ ne("thead", { className: i.trim(), ...n, children: [
15309
15309
  /* @__PURE__ */ C("tr", { children: r }),
15310
15310
  /* @__PURE__ */ C("tr", { className: "spacingRow" })
15311
15311
  ] });
15312
15312
  }
15313
- function nE(t) {
15313
+ function aE(t) {
15314
15314
  const {
15315
15315
  variant: e = "solid",
15316
15316
  size: r = "md",
@@ -15371,7 +15371,7 @@ function nE(t) {
15371
15371
  ] });
15372
15372
  }
15373
15373
  const Sc = ze({});
15374
- function iE(t) {
15374
+ function sE(t) {
15375
15375
  const { children: e = !1 } = t, [r, n] = F([]);
15376
15376
  function i(l) {
15377
15377
  return !!r.some((c) => c.key === l);
@@ -15805,7 +15805,7 @@ var oy = ({ id: t, className: e, style: r, onHeightUpdate: n, children: i }) =>
15805
15805
  }));
15806
15806
  }, $u = je;
15807
15807
  const jc = ze({});
15808
- function aE({ children: t }) {
15808
+ function oE({ children: t }) {
15809
15809
  function e(r) {
15810
15810
  switch (r.type) {
15811
15811
  case "success":
@@ -15855,14 +15855,25 @@ function fy() {
15855
15855
  throw new Error("useToast must be used within a Provider");
15856
15856
  return t;
15857
15857
  }
15858
- function sE(t) {
15859
- const { closeAll: e } = ED(), { showToast: r } = fy(), n = t == null ? void 0 : t.closeModal, i = t == null ? void 0 : t.message, a = t == null ? void 0 : t.type;
15858
+ const dy = [
15859
+ "BadGateway",
15860
+ "BadRequest",
15861
+ "Conflict",
15862
+ "Forbidden",
15863
+ "NotFound",
15864
+ "NotImplemented",
15865
+ "ServerError",
15866
+ "Unauthorized",
15867
+ "UnprocessableEntity"
15868
+ ], hy = ["Created", "Found", "Success", "Updated"];
15869
+ function uE(t) {
15870
+ const { closeAll: e } = ED(), { showToast: r } = fy(), n = t == null ? void 0 : t.closeModal, i = t == null ? void 0 : t.message, a = t == null ? void 0 : t.name, s = t == null ? void 0 : t.type;
15860
15871
  E(() => {
15861
- n && e(), i && a === "success" && r({ message: i, type: "success" }), i && a === "danger" && r({ message: i, type: "danger" });
15872
+ n && e(), i && (s === "success" && r({ message: i, type: "success" }), s === "danger" && r({ message: i, type: "danger" }), dy.includes(a) && r({ message: i, type: "danger" }), hy.includes(a) && r({ message: i, type: "success" }));
15862
15873
  }, [t]);
15863
15874
  }
15864
15875
  const $c = ze({});
15865
- function oE(t) {
15876
+ function lE(t) {
15866
15877
  const { children: e = !1 } = t, [r, n] = F([]);
15867
15878
  function i(u) {
15868
15879
  return !!r.some((l) => l.key === u);
@@ -15886,7 +15897,7 @@ function oE(t) {
15886
15897
  }
15887
15898
  );
15888
15899
  }
15889
- function uE(t) {
15900
+ function cE(t) {
15890
15901
  const e = Ae($c);
15891
15902
  if (Object.entries(e).length === 0)
15892
15903
  throw new Error("useDrawer must be used within a Provider");
@@ -15901,7 +15912,7 @@ function uE(t) {
15901
15912
  } else
15902
15913
  return e;
15903
15914
  }
15904
- function lE(t, e = "") {
15915
+ function fE(t, e = "") {
15905
15916
  const r = new URLSearchParams(t), n = e ? `${e}:` : "", i = (a) => {
15906
15917
  Object.entries(a).forEach(([s, o]) => {
15907
15918
  o === void 0 ? r.delete(`${n}${s}`) : r.set(`${n}${s}`, String(o));
@@ -15916,7 +15927,7 @@ function lE(t, e = "") {
15916
15927
  }
15917
15928
  };
15918
15929
  }
15919
- function cE(t) {
15930
+ function dE(t) {
15920
15931
  const { apiKey: e, children: r, preventFontsLoading: n = !0 } = t, { isLoaded: i } = vl({
15921
15932
  googleMapsApiKey: e,
15922
15933
  libraries: ["places", "marker", "maps"],
@@ -15993,7 +16004,7 @@ function Yi(t) {
15993
16004
  return { text: t.props.children || "" };
15994
16005
  }
15995
16006
  }
15996
- function fE(t) {
16007
+ function hE(t) {
15997
16008
  return t.map((e) => zc(e)).join("");
15998
16009
  }
15999
16010
  var _c = {}, Pa = {}, Ma = {}, or = {}, ka = {}, Ta = {};
@@ -16316,10 +16327,10 @@ function Qc(t) {
16316
16327
  return t.type === it.ElementType.Root;
16317
16328
  }
16318
16329
  De.isDocument = Qc;
16319
- function dy(t) {
16330
+ function py(t) {
16320
16331
  return Object.prototype.hasOwnProperty.call(t, "children");
16321
16332
  }
16322
- De.hasChildren = dy;
16333
+ De.hasChildren = py;
16323
16334
  function Ia(t, e) {
16324
16335
  e === void 0 && (e = !1);
16325
16336
  var r;
@@ -16475,11 +16486,11 @@ var ef = {};
16475
16486
  })(ef);
16476
16487
  Object.defineProperty(or, "__esModule", { value: !0 });
16477
16488
  or.formatAttributes = tf;
16478
- or.escapeSpecialCharacters = gy;
16489
+ or.escapeSpecialCharacters = my;
16479
16490
  or.revertEscapedCharacters = rf;
16480
16491
  or.formatDOM = nf;
16481
16492
  var bn = ka, Xr = ef;
16482
- function hy(t) {
16493
+ function gy(t) {
16483
16494
  return Xr.CASE_SENSITIVE_TAG_NAMES_MAP[t];
16484
16495
  }
16485
16496
  function tf(t) {
@@ -16489,12 +16500,12 @@ function tf(t) {
16489
16500
  }
16490
16501
  return e;
16491
16502
  }
16492
- function py(t) {
16503
+ function vy(t) {
16493
16504
  t = t.toLowerCase();
16494
- var e = hy(t);
16505
+ var e = gy(t);
16495
16506
  return e || t;
16496
16507
  }
16497
- function gy(t) {
16508
+ function my(t) {
16498
16509
  return t.replace(Xr.CARRIAGE_RETURN_REGEX, Xr.CARRIAGE_RETURN_PLACEHOLDER);
16499
16510
  }
16500
16511
  function rf(t) {
@@ -16506,7 +16517,7 @@ function nf(t, e, r) {
16506
16517
  var o = t[a];
16507
16518
  switch (o.nodeType) {
16508
16519
  case 1: {
16509
- var u = py(o.nodeName);
16520
+ var u = vy(o.nodeName);
16510
16521
  i = new bn.Element(u, tf(o.attributes)), i.children = nf(
16511
16522
  // template children are on content
16512
16523
  u === "template" ? o.content.childNodes : o.childNodes,
@@ -16529,16 +16540,16 @@ function nf(t, e, r) {
16529
16540
  return r && (i = new bn.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), i.next = n[0] || null, i.parent = e, n.unshift(i), n[1] && (n[1].prev = n[0])), n;
16530
16541
  }
16531
16542
  Object.defineProperty(Ma, "__esModule", { value: !0 });
16532
- Ma.default = yy;
16533
- var vy = or, zu = "html", _u = "head", En = "body", my = /<([a-zA-Z]+[0-9]?)/, Uu = /<head[^]*>/i, Wu = /<body[^]*>/i, qn = function(t, e) {
16543
+ Ma.default = Ey;
16544
+ var Cy = or, zu = "html", _u = "head", En = "body", Dy = /<([a-zA-Z]+[0-9]?)/, Uu = /<head[^]*>/i, Wu = /<body[^]*>/i, qn = function(t, e) {
16534
16545
  throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
16535
16546
  }, Ji = function(t, e) {
16536
16547
  throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
16537
16548
  }, Hu = typeof window == "object" && window.DOMParser;
16538
16549
  if (typeof Hu == "function") {
16539
- var Cy = new Hu(), Dy = "text/html";
16550
+ var yy = new Hu(), by = "text/html";
16540
16551
  Ji = function(t, e) {
16541
- return e && (t = "<".concat(e, ">").concat(t, "</").concat(e, ">")), Cy.parseFromString(t, Dy);
16552
+ return e && (t = "<".concat(e, ">").concat(t, "</").concat(e, ">")), yy.parseFromString(t, by);
16542
16553
  }, qn = Ji;
16543
16554
  }
16544
16555
  if (typeof document == "object" && document.implementation) {
@@ -16555,10 +16566,10 @@ var Bn = typeof document == "object" && document.createElement("template"), Qi;
16555
16566
  Bn && Bn.content && (Qi = function(t) {
16556
16567
  return Bn.innerHTML = t, Bn.content.childNodes;
16557
16568
  });
16558
- function yy(t) {
16569
+ function Ey(t) {
16559
16570
  var e, r;
16560
- t = (0, vy.escapeSpecialCharacters)(t);
16561
- var n = t.match(my), i = n && n[1] ? n[1].toLowerCase() : "";
16571
+ t = (0, Cy.escapeSpecialCharacters)(t);
16572
+ var n = t.match(Dy), i = n && n[1] ? n[1].toLowerCase() : "";
16562
16573
  switch (i) {
16563
16574
  case zu: {
16564
16575
  var a = Ji(t);
@@ -16585,24 +16596,24 @@ function yy(t) {
16585
16596
  }
16586
16597
  }
16587
16598
  }
16588
- var by = Me && Me.__importDefault || function(t) {
16599
+ var wy = Me && Me.__importDefault || function(t) {
16589
16600
  return t && t.__esModule ? t : { default: t };
16590
16601
  };
16591
16602
  Object.defineProperty(Pa, "__esModule", { value: !0 });
16592
- Pa.default = Ay;
16593
- var Ey = by(Ma), wy = or, By = /<(![a-zA-Z\s]+)>/;
16594
- function Ay(t) {
16603
+ Pa.default = Ly;
16604
+ var By = wy(Ma), Ay = or, Oy = /<(![a-zA-Z\s]+)>/;
16605
+ function Ly(t) {
16595
16606
  if (typeof t != "string")
16596
16607
  throw new TypeError("First argument must be a string");
16597
16608
  if (!t)
16598
16609
  return [];
16599
- var e = t.match(By), r = e ? e[1] : void 0;
16600
- return (0, wy.formatDOM)((0, Ey.default)(t), null, r);
16610
+ var e = t.match(Oy), r = e ? e[1] : void 0;
16611
+ return (0, Ay.formatDOM)((0, By.default)(t), null, r);
16601
16612
  }
16602
- var ui = {}, mt = {}, li = {}, Oy = 0;
16603
- li.SAME = Oy;
16604
- var Ly = 1;
16605
- li.CAMELCASE = Ly;
16613
+ var ui = {}, mt = {}, li = {}, xy = 0;
16614
+ li.SAME = xy;
16615
+ var Fy = 1;
16616
+ li.CAMELCASE = Fy;
16606
16617
  li.possibleStandardNames = {
16607
16618
  accept: 0,
16608
16619
  acceptCharset: 1,
@@ -17089,13 +17100,13 @@ li.possibleStandardNames = {
17089
17100
  zoomAndPan: 1
17090
17101
  };
17091
17102
  const af = 0, Gt = 1, ci = 2, fi = 3, Ra = 4, sf = 5, of = 6;
17092
- function xy(t) {
17103
+ function Sy(t) {
17093
17104
  return Ge.hasOwnProperty(t) ? Ge[t] : null;
17094
17105
  }
17095
17106
  function et(t, e, r, n, i, a, s) {
17096
17107
  this.acceptsBooleans = e === ci || e === fi || e === Ra, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = t, this.type = e, this.sanitizeURL = a, this.removeEmptyString = s;
17097
17108
  }
17098
- const Ge = {}, Fy = [
17109
+ const Ge = {}, Py = [
17099
17110
  "children",
17100
17111
  "dangerouslySetInnerHTML",
17101
17112
  // TODO: This prevents the assignment of defaultValue to regular
@@ -17108,7 +17119,7 @@ const Ge = {}, Fy = [
17108
17119
  "suppressHydrationWarning",
17109
17120
  "style"
17110
17121
  ];
17111
- Fy.forEach((t) => {
17122
+ Py.forEach((t) => {
17112
17123
  Ge[t] = new et(
17113
17124
  t,
17114
17125
  af,
@@ -17470,8 +17481,8 @@ const ja = /[\-\:]([a-z])/g, $a = (t) => t[1].toUpperCase();
17470
17481
  // removeEmptyString
17471
17482
  );
17472
17483
  });
17473
- const Sy = "xlinkHref";
17474
- Ge[Sy] = new et(
17484
+ const My = "xlinkHref";
17485
+ Ge[My] = new et(
17475
17486
  "xlinkHref",
17476
17487
  Gt,
17477
17488
  !1,
@@ -17500,17 +17511,17 @@ Ge[Sy] = new et(
17500
17511
  );
17501
17512
  });
17502
17513
  const {
17503
- CAMELCASE: Py,
17504
- SAME: My,
17514
+ CAMELCASE: ky,
17515
+ SAME: Ty,
17505
17516
  possibleStandardNames: Vu
17506
- } = li, ky = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Ty = ky + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Ny = RegExp.prototype.test.bind(
17517
+ } = li, Ny = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Iy = Ny + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Ry = RegExp.prototype.test.bind(
17507
17518
  // eslint-disable-next-line no-misleading-character-class
17508
- new RegExp("^(data|aria)-[" + Ty + "]*$")
17509
- ), Iy = Object.keys(
17519
+ new RegExp("^(data|aria)-[" + Iy + "]*$")
17520
+ ), jy = Object.keys(
17510
17521
  Vu
17511
17522
  ).reduce((t, e) => {
17512
17523
  const r = Vu[e];
17513
- return r === My ? t[e] = e : r === Py ? t[e.toLowerCase()] = e : t[e] = r, t;
17524
+ return r === Ty ? t[e] = e : r === ky ? t[e.toLowerCase()] = e : t[e] = r, t;
17514
17525
  }, {});
17515
17526
  mt.BOOLEAN = fi;
17516
17527
  mt.BOOLEANISH_STRING = ci;
@@ -17519,20 +17530,20 @@ mt.OVERLOADED_BOOLEAN = Ra;
17519
17530
  mt.POSITIVE_NUMERIC = of;
17520
17531
  mt.RESERVED = af;
17521
17532
  mt.STRING = Gt;
17522
- mt.getPropertyInfo = xy;
17523
- mt.isCustomAttribute = Ny;
17524
- mt.possibleStandardNames = Iy;
17525
- var za = {}, _a = {}, Gu = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Ry = /\n/g, jy = /^\s*/, $y = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, zy = /^:\s*/, _y = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Uy = /^[;\s]*/, Wy = /^\s+|\s+$/g, Hy = `
17526
- `, qu = "/", Zu = "*", Yt = "", Vy = "comment", Gy = "declaration", qy = function(t, e) {
17533
+ mt.getPropertyInfo = Sy;
17534
+ mt.isCustomAttribute = Ry;
17535
+ mt.possibleStandardNames = jy;
17536
+ var za = {}, _a = {}, Gu = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, $y = /\n/g, zy = /^\s*/, _y = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Uy = /^:\s*/, Wy = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Hy = /^[;\s]*/, Vy = /^\s+|\s+$/g, Gy = `
17537
+ `, qu = "/", Zu = "*", Yt = "", qy = "comment", Zy = "declaration", Ky = function(t, e) {
17527
17538
  if (typeof t != "string")
17528
17539
  throw new TypeError("First argument must be a string");
17529
17540
  if (!t) return [];
17530
17541
  e = e || {};
17531
17542
  var r = 1, n = 1;
17532
17543
  function i(p) {
17533
- var v = p.match(Ry);
17544
+ var v = p.match($y);
17534
17545
  v && (r += v.length);
17535
- var f = p.lastIndexOf(Hy);
17546
+ var f = p.lastIndexOf(Gy);
17536
17547
  n = ~f ? p.length - f : n + p.length;
17537
17548
  }
17538
17549
  function a() {
@@ -17559,7 +17570,7 @@ var za = {}, _a = {}, Gu = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Ry = /\n/g, jy = /
17559
17570
  }
17560
17571
  }
17561
17572
  function l() {
17562
- u(jy);
17573
+ u(zy);
17563
17574
  }
17564
17575
  function c(p) {
17565
17576
  var v;
@@ -17576,21 +17587,21 @@ var za = {}, _a = {}, Gu = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Ry = /\n/g, jy = /
17576
17587
  return o("End of comment missing");
17577
17588
  var f = t.slice(2, v - 2);
17578
17589
  return n += 2, i(f), t = t.slice(v), n += 2, p({
17579
- type: Vy,
17590
+ type: qy,
17580
17591
  comment: f
17581
17592
  });
17582
17593
  }
17583
17594
  }
17584
17595
  function h() {
17585
- var p = a(), v = u($y);
17596
+ var p = a(), v = u(_y);
17586
17597
  if (v) {
17587
- if (d(), !u(zy)) return o("property missing ':'");
17588
- var f = u(_y), y = p({
17589
- type: Gy,
17598
+ if (d(), !u(Uy)) return o("property missing ':'");
17599
+ var f = u(Wy), y = p({
17600
+ type: Zy,
17590
17601
  property: Ku(v[0].replace(Gu, Yt)),
17591
17602
  value: f ? Ku(f[0].replace(Gu, Yt)) : Yt
17592
17603
  });
17593
- return u(Uy), y;
17604
+ return u(Hy), y;
17594
17605
  }
17595
17606
  }
17596
17607
  function m() {
@@ -17603,19 +17614,19 @@ var za = {}, _a = {}, Gu = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Ry = /\n/g, jy = /
17603
17614
  return l(), m();
17604
17615
  };
17605
17616
  function Ku(t) {
17606
- return t ? t.replace(Wy, Yt) : Yt;
17617
+ return t ? t.replace(Vy, Yt) : Yt;
17607
17618
  }
17608
- var Zy = Me && Me.__importDefault || function(t) {
17619
+ var Xy = Me && Me.__importDefault || function(t) {
17609
17620
  return t && t.__esModule ? t : { default: t };
17610
17621
  };
17611
17622
  Object.defineProperty(_a, "__esModule", { value: !0 });
17612
- _a.default = Xy;
17613
- var Ky = Zy(qy);
17614
- function Xy(t, e) {
17623
+ _a.default = Jy;
17624
+ var Yy = Xy(Ky);
17625
+ function Jy(t, e) {
17615
17626
  var r = null;
17616
17627
  if (!t || typeof t != "string")
17617
17628
  return r;
17618
- var n = (0, Ky.default)(t), i = typeof e == "function";
17629
+ var n = (0, Yy.default)(t), i = typeof e == "function";
17619
17630
  return n.forEach(function(a) {
17620
17631
  if (a.type === "declaration") {
17621
17632
  var s = a.property, o = a.value;
@@ -17626,33 +17637,33 @@ function Xy(t, e) {
17626
17637
  var di = {};
17627
17638
  Object.defineProperty(di, "__esModule", { value: !0 });
17628
17639
  di.camelCase = void 0;
17629
- var Yy = /^--[a-zA-Z0-9_-]+$/, Jy = /-([a-z])/g, Qy = /^[^-]+$/, eb = /^-(webkit|moz|ms|o|khtml)-/, tb = /^-(ms)-/, rb = function(t) {
17630
- return !t || Qy.test(t) || Yy.test(t);
17631
- }, nb = function(t, e) {
17640
+ var Qy = /^--[a-zA-Z0-9_-]+$/, eb = /-([a-z])/g, tb = /^[^-]+$/, rb = /^-(webkit|moz|ms|o|khtml)-/, nb = /^-(ms)-/, ib = function(t) {
17641
+ return !t || tb.test(t) || Qy.test(t);
17642
+ }, ab = function(t, e) {
17632
17643
  return e.toUpperCase();
17633
17644
  }, Xu = function(t, e) {
17634
17645
  return "".concat(e, "-");
17635
- }, ib = function(t, e) {
17636
- return e === void 0 && (e = {}), rb(t) ? t : (t = t.toLowerCase(), e.reactCompat ? t = t.replace(tb, Xu) : t = t.replace(eb, Xu), t.replace(Jy, nb));
17646
+ }, sb = function(t, e) {
17647
+ return e === void 0 && (e = {}), ib(t) ? t : (t = t.toLowerCase(), e.reactCompat ? t = t.replace(nb, Xu) : t = t.replace(rb, Xu), t.replace(eb, ab));
17637
17648
  };
17638
- di.camelCase = ib;
17639
- var ab = Me && Me.__importDefault || function(t) {
17649
+ di.camelCase = sb;
17650
+ var ob = Me && Me.__importDefault || function(t) {
17640
17651
  return t && t.__esModule ? t : { default: t };
17641
- }, sb = ab(_a), ob = di;
17652
+ }, ub = ob(_a), lb = di;
17642
17653
  function ea(t, e) {
17643
17654
  var r = {};
17644
- return !t || typeof t != "string" || (0, sb.default)(t, function(n, i) {
17645
- n && i && (r[(0, ob.camelCase)(n, e)] = i);
17655
+ return !t || typeof t != "string" || (0, ub.default)(t, function(n, i) {
17656
+ n && i && (r[(0, lb.camelCase)(n, e)] = i);
17646
17657
  }), r;
17647
17658
  }
17648
17659
  ea.default = ea;
17649
- var ub = ea;
17660
+ var cb = ea;
17650
17661
  (function(t) {
17651
17662
  var e = Me && Me.__importDefault || function(c) {
17652
17663
  return c && c.__esModule ? c : { default: c };
17653
17664
  };
17654
17665
  Object.defineProperty(t, "__esModule", { value: !0 }), t.returnFirstArg = t.canTextBeChildOfNode = t.ELEMENTS_WITH_NO_TEXT_CHILDREN = t.PRESERVE_CUSTOM_ATTRIBUTES = void 0, t.isCustomComponent = a, t.setStyleProp = o;
17655
- var r = fe, n = e(ub), i = /* @__PURE__ */ new Set([
17666
+ var r = fe, n = e(cb), i = /* @__PURE__ */ new Set([
17656
17667
  "annotation-xml",
17657
17668
  "color-profile",
17658
17669
  "font-face",
@@ -17702,14 +17713,14 @@ var ub = ea;
17702
17713
  t.returnFirstArg = l;
17703
17714
  })(za);
17704
17715
  Object.defineProperty(ui, "__esModule", { value: !0 });
17705
- ui.default = db;
17706
- var Mr = mt, Yu = za, lb = ["checked", "value"], cb = ["input", "select", "textarea"], fb = {
17716
+ ui.default = pb;
17717
+ var Mr = mt, Yu = za, fb = ["checked", "value"], db = ["input", "select", "textarea"], hb = {
17707
17718
  reset: !0,
17708
17719
  submit: !0
17709
17720
  };
17710
- function db(t, e) {
17721
+ function pb(t, e) {
17711
17722
  t === void 0 && (t = {});
17712
- var r = {}, n = !!(t.type && fb[t.type]);
17723
+ var r = {}, n = !!(t.type && hb[t.type]);
17713
17724
  for (var i in t) {
17714
17725
  var a = t[i];
17715
17726
  if ((0, Mr.isCustomAttribute)(i)) {
@@ -17719,7 +17730,7 @@ function db(t, e) {
17719
17730
  var s = i.toLowerCase(), o = Ju(s);
17720
17731
  if (o) {
17721
17732
  var u = (0, Mr.getPropertyInfo)(o);
17722
- switch (lb.includes(o) && cb.includes(e) && !n && (o = Ju("default" + s)), r[o] = a, u && u.type) {
17733
+ switch (fb.includes(o) && db.includes(e) && !n && (o = Ju("default" + s)), r[o] = a, u && u.type) {
17723
17734
  case Mr.BOOLEAN:
17724
17735
  r[o] = !0;
17725
17736
  break;
@@ -17736,19 +17747,19 @@ function db(t, e) {
17736
17747
  function Ju(t) {
17737
17748
  return Mr.possibleStandardNames[t];
17738
17749
  }
17739
- var Ua = {}, hb = Me && Me.__importDefault || function(t) {
17750
+ var Ua = {}, gb = Me && Me.__importDefault || function(t) {
17740
17751
  return t && t.__esModule ? t : { default: t };
17741
17752
  };
17742
17753
  Object.defineProperty(Ua, "__esModule", { value: !0 });
17743
17754
  Ua.default = uf;
17744
- var Pi = fe, pb = hb(ui), $r = za, gb = {
17755
+ var Pi = fe, vb = gb(ui), $r = za, mb = {
17745
17756
  cloneElement: Pi.cloneElement,
17746
17757
  createElement: Pi.createElement,
17747
17758
  isValidElement: Pi.isValidElement
17748
17759
  };
17749
17760
  function uf(t, e) {
17750
17761
  e === void 0 && (e = {});
17751
- for (var r = [], n = typeof e.replace == "function", i = e.transform || $r.returnFirstArg, a = e.library || gb, s = a.cloneElement, o = a.createElement, u = a.isValidElement, l = t.length, c = 0; c < l; c++) {
17762
+ for (var r = [], n = typeof e.replace == "function", i = e.transform || $r.returnFirstArg, a = e.library || mb, s = a.cloneElement, o = a.createElement, u = a.isValidElement, l = t.length, c = 0; c < l; c++) {
17752
17763
  var d = t[c];
17753
17764
  if (n) {
17754
17765
  var h = e.replace(d, c);
@@ -17767,7 +17778,7 @@ function uf(t, e) {
17767
17778
  continue;
17768
17779
  }
17769
17780
  var p = d, v = {};
17770
- vb(p) ? ((0, $r.setStyleProp)(p.attribs.style, p.attribs), v = p.attribs) : p.attribs && (v = (0, pb.default)(p.attribs, p.name));
17781
+ Cb(p) ? ((0, $r.setStyleProp)(p.attribs.style, p.attribs), v = p.attribs) : p.attribs && (v = (0, vb.default)(p.attribs, p.name));
17771
17782
  var f = void 0;
17772
17783
  switch (d.type) {
17773
17784
  case "script":
@@ -17786,7 +17797,7 @@ function uf(t, e) {
17786
17797
  }
17787
17798
  return r.length === 1 ? r[0] : r;
17788
17799
  }
17789
- function vb(t) {
17800
+ function Cb(t) {
17790
17801
  return $r.PRESERVE_CUSTOM_ATTRIBUTES && t.type === "tag" && (0, $r.isCustomComponent)(t.name, t.attribs);
17791
17802
  }
17792
17803
  (function(t) {
@@ -17817,73 +17828,73 @@ function vb(t) {
17817
17828
  return u ? (0, i.default)((0, r.default)(u, (l == null ? void 0 : l.htmlparser2) || s), l) : [];
17818
17829
  }
17819
17830
  })(_c);
17820
- const Qu = /* @__PURE__ */ Yn(_c), mb = Qu.default || Qu;
17821
- function dE(t) {
17822
- const e = mb(t);
17831
+ const Qu = /* @__PURE__ */ Yn(_c), Db = Qu.default || Qu;
17832
+ function pE(t) {
17833
+ const e = Db(t);
17823
17834
  return Array.isArray(e) ? e.map((r) => typeof r == "string" ? { text: r } : Yi(r)) : typeof e == "string" ? [{ text: e }] : [Yi(e)];
17824
17835
  }
17825
17836
  export {
17826
- Ob as AlertContainer,
17827
- Lb as AlertContent,
17828
- xb as AlertDescription,
17829
- Fb as AlertIcon,
17837
+ xb as AlertContainer,
17838
+ Fb as AlertContent,
17839
+ Sb as AlertDescription,
17840
+ Pb as AlertIcon,
17830
17841
  jf as AlertTitle,
17831
17842
  Uf as AudioPlayer,
17832
- Pb as AudioUpload,
17833
- Mb as Badge,
17843
+ kb as AudioUpload,
17844
+ Tb as Badge,
17834
17845
  _t as Button,
17835
- kb as CardTabButton,
17836
- Tb as CardTabContainer,
17837
- Nb as Checkbox,
17838
- Ib as ClientOnly,
17839
- Rb as CurrencyInput,
17846
+ Nb as CardTabButton,
17847
+ Ib as CardTabContainer,
17848
+ Rb as Checkbox,
17849
+ jb as ClientOnly,
17850
+ $b as CurrencyInput,
17840
17851
  sa as Divider,
17841
- jb as DrawerContainer,
17842
- $b as DrawerHeader,
17843
- oE as DrawerProvider,
17852
+ zb as DrawerContainer,
17853
+ _b as DrawerHeader,
17854
+ lE as DrawerProvider,
17844
17855
  ct as FieldError,
17845
17856
  at as FieldLabel,
17846
17857
  st as FieldWrapper,
17847
- zb as FileUpload,
17848
- Sb as FormProvider,
17858
+ Ub as FileUpload,
17859
+ Mb as FormProvider,
17849
17860
  oa as IconButton,
17850
17861
  rd as ImageUpload,
17851
17862
  Xn as Input,
17852
- _b as MapView,
17853
- Ub as MaskedInput,
17863
+ Wb as MapView,
17864
+ Hb as MaskedInput,
17854
17865
  Gh as ModalContainer,
17855
17866
  qh as ModalFooter,
17856
17867
  Zh as ModalHeader,
17857
- iE as ModalProvider,
17858
- Wb as MultiSelect,
17859
- Hb as PhoneInput,
17860
- cE as PlacesProvider,
17861
- Vb as Popover,
17862
- Gb as RadioBox,
17863
- qb as RadioGroup,
17864
- Zb as RichText,
17865
- Kb as SearchPlaces,
17866
- Xb as Select,
17868
+ sE as ModalProvider,
17869
+ Vb as MultiSelect,
17870
+ Gb as PhoneInput,
17871
+ dE as PlacesProvider,
17872
+ qb as Popover,
17873
+ Zb as RadioBox,
17874
+ Kb as RadioGroup,
17875
+ Xb as RichText,
17876
+ Yb as SearchPlaces,
17877
+ Jb as Select,
17867
17878
  _f as Slider,
17868
- Yb as Switch,
17879
+ Qb as Switch,
17869
17880
  Iu as TabButton,
17870
17881
  fD as TabContainer,
17871
- Jb as TableBody,
17872
- Qb as TableCaption,
17873
- eE as TableContainer,
17874
- tE as TableFooter,
17875
- rE as TableHeader,
17876
- nE as Textarea,
17877
- aE as ToastProvider,
17882
+ eE as TableBody,
17883
+ tE as TableCaption,
17884
+ rE as TableContainer,
17885
+ nE as TableFooter,
17886
+ iE as TableHeader,
17887
+ aE as Textarea,
17888
+ oE as ToastProvider,
17878
17889
  ua as Tooltip,
17879
- fE as toHtml,
17880
- dE as toRichTextValue,
17881
- sE as useAutomation,
17882
- uE as useDrawer,
17890
+ hE as toHtml,
17891
+ pE as toRichTextValue,
17892
+ uE as useAutomation,
17893
+ cE as useDrawer,
17883
17894
  lt as useForm,
17884
17895
  Zf as useHydrated,
17885
17896
  ED as useModal,
17886
- lE as useScopedParams,
17897
+ fE as useScopedParams,
17887
17898
  Er as useScrollLock,
17888
17899
  zf as useSlider,
17889
17900
  fy as useToast