loon-bulma-react 2025.1.3 → 2025.1.5

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 (74) hide show
  1. package/dist/components/Box/BorderBox.d.ts +1 -1
  2. package/dist/components/Button/Button.d.ts +1 -1
  3. package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  4. package/dist/components/Calendar/DayContainer.d.ts +1 -1
  5. package/dist/components/Calendar/Fourweeks/FourweeksView.d.ts +1 -1
  6. package/dist/components/Calendar/Mini/MiniView.d.ts +1 -1
  7. package/dist/components/Calendar/Month/MonthView.d.ts +1 -1
  8. package/dist/components/Calendar/Planning/PlanningView.d.ts +1 -1
  9. package/dist/components/Calendar/Props.d.ts +2 -2
  10. package/dist/components/Calendar/Week/AlldayContainer.d.ts +1 -1
  11. package/dist/components/Calendar/Week/HourRow.d.ts +1 -1
  12. package/dist/components/Calendar/Week/WeekView.d.ts +1 -1
  13. package/dist/components/Calendar/calendar.functions.d.ts +1 -1
  14. package/dist/components/Container/Container.d.ts +1 -1
  15. package/dist/components/Content/Content.d.ts +1 -1
  16. package/dist/components/DataTable/DataTable.d.ts +1 -1
  17. package/dist/components/Divider/Divider.d.ts +1 -1
  18. package/dist/components/Footer/Footer.d.ts +1 -1
  19. package/dist/components/Help/Help.d.ts +1 -1
  20. package/dist/components/Hero/Hero.d.ts +1 -1
  21. package/dist/components/Icon/Icon.d.ts +1 -1
  22. package/dist/components/Indicator/Indicator.d.ts +1 -1
  23. package/dist/components/Link/Link.d.ts +1 -1
  24. package/dist/components/Message/Message.d.ts +1 -1
  25. package/dist/components/Modal/Modal.d.ts +1 -1
  26. package/dist/components/Notification/Notification.d.ts +1 -1
  27. package/dist/components/Pagination/Pagination.d.ts +1 -1
  28. package/dist/components/Panel/Panel.d.ts +2 -2
  29. package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
  30. package/dist/components/QuickView/QuickView.d.ts +1 -1
  31. package/dist/components/ScrollArea/ScrollArea.d.ts +1 -1
  32. package/dist/components/Section/Section.d.ts +1 -1
  33. package/dist/components/SimpleTable/SimpleTable.d.ts +1 -1
  34. package/dist/components/Steps/Steps.d.ts +1 -1
  35. package/dist/components/TabBar/TabBar.d.ts +1 -1
  36. package/dist/components/Tag/Tag.d.ts +1 -1
  37. package/dist/components/TimeLine/TimeLine.d.ts +1 -1
  38. package/dist/components/ToggleBar/ToggleBar.d.ts +1 -1
  39. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  40. package/dist/components/TreeView/TreeView.d.ts +1 -1
  41. package/dist/contexts/ActionSheet/ActionSheetContextProvider.d.ts +1 -1
  42. package/dist/contexts/AppProvider/AppProviders.d.ts +1 -1
  43. package/dist/contexts/ColorSchemeProvider/ColorSchemeProvider.d.ts +1 -1
  44. package/dist/contexts/DefaultsProvider/DefaultsProvider.d.ts +1 -1
  45. package/dist/contexts/Notifier/Notifier.d.ts +1 -1
  46. package/dist/contexts/Prompt/PromptContextProvider.d.ts +2 -2
  47. package/dist/forms/Checkbox/Checkbox.d.ts +1 -1
  48. package/dist/forms/ComboBox/ComboBox.d.ts +1 -1
  49. package/dist/forms/ComboBox/MultiComboBox.d.ts +1 -1
  50. package/dist/forms/Currency/CurrencyInput.d.ts +1 -1
  51. package/dist/forms/Datetimes/DateInput.d.ts +2 -2
  52. package/dist/forms/Datetimes/DateTimeInput.d.ts +2 -2
  53. package/dist/forms/Datetimes/TimeInput.d.ts +2 -2
  54. package/dist/forms/File/FileInput.d.ts +1 -1
  55. package/dist/forms/Input.d.ts +1 -1
  56. package/dist/forms/Numeric/NumberInput.d.ts +1 -1
  57. package/dist/forms/Numeric/RangeInput.d.ts +1 -1
  58. package/dist/forms/Others/ColorInput.d.ts +1 -1
  59. package/dist/forms/Others/TelephoneInput.d.ts +1 -1
  60. package/dist/forms/Others/URLInput.d.ts +1 -1
  61. package/dist/forms/Periodes/MonthInput.d.ts +1 -1
  62. package/dist/forms/Periodes/WeekInput.d.ts +1 -1
  63. package/dist/forms/Radio/Radio.d.ts +1 -1
  64. package/dist/forms/Select/Select.d.ts +1 -1
  65. package/dist/forms/TagsInput/TagsInput.d.ts +1 -1
  66. package/dist/forms/Text/EmailInput.d.ts +1 -1
  67. package/dist/forms/Text/FormattedInput.d.ts +1 -1
  68. package/dist/forms/Text/PasswordInput.d.ts +1 -1
  69. package/dist/forms/Text/TextArea.d.ts +1 -1
  70. package/dist/forms/Text/TextEditor.d.ts +1 -1
  71. package/dist/forms/Text/TextInput.d.ts +1 -1
  72. package/dist/index.js +130 -127
  73. package/dist/internal_functions/getColorClass.d.ts +3 -3
  74. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4569,11 +4569,11 @@ function jw(t, e, n, r, i, s, o, a, l) {
4569
4569
  value: "".concat(O)
4570
4570
  };
4571
4571
  if (H) {
4572
- var L = qs({
4572
+ var P = qs({
4573
4573
  children: [j],
4574
4574
  className: w.properties.className
4575
4575
  });
4576
- u.splice(h + 1, 0, L);
4576
+ u.splice(h + 1, 0, P);
4577
4577
  } else {
4578
4578
  var B = [j], _ = y(B, D, w.properties.className);
4579
4579
  f.push(_);
@@ -4636,9 +4636,9 @@ function Uw(t, e) {
4636
4636
  var i, s, o = r.language, a = r.children, l = r.style, c = l === void 0 ? e : l, u = r.customStyle, f = u === void 0 ? {} : u, d = r.codeTagProps, h = d === void 0 ? {
4637
4637
  className: o ? "language-".concat(o) : void 0,
4638
4638
  style: Jn(Jn({}, c['code[class*="language-"]']), c['code[class*="language-'.concat(o, '"]')])
4639
- } : d, p = r.useInlineStyles, g = p === void 0 ? !0 : p, y = r.showLineNumbers, b = y === void 0 ? !1 : y, S = r.showInlineLineNumbers, k = S === void 0 ? !0 : S, x = r.startingLineNumber, E = x === void 0 ? 1 : x, w = r.lineNumberContainerStyle, C = r.lineNumberStyle, N = C === void 0 ? {} : C, T = r.wrapLines, O = r.wrapLongLines, M = O === void 0 ? !1 : O, D = r.lineProps, R = D === void 0 ? {} : D, W = r.renderer, K = r.PreTag, H = K === void 0 ? "pre" : K, j = r.CodeTag, L = j === void 0 ? "code" : j, B = r.code, _ = B === void 0 ? (Array.isArray(a) ? a[0] : a) || "" : B, $ = r.astGenerator, G = xw(r, $w);
4639
+ } : d, p = r.useInlineStyles, g = p === void 0 ? !0 : p, y = r.showLineNumbers, b = y === void 0 ? !1 : y, S = r.showInlineLineNumbers, k = S === void 0 ? !0 : S, x = r.startingLineNumber, E = x === void 0 ? 1 : x, w = r.lineNumberContainerStyle, C = r.lineNumberStyle, N = C === void 0 ? {} : C, T = r.wrapLines, O = r.wrapLongLines, M = O === void 0 ? !1 : O, D = r.lineProps, R = D === void 0 ? {} : D, W = r.renderer, K = r.PreTag, H = K === void 0 ? "pre" : K, j = r.CodeTag, P = j === void 0 ? "code" : j, B = r.code, _ = B === void 0 ? (Array.isArray(a) ? a[0] : a) || "" : B, $ = r.astGenerator, G = xw(r, $w);
4640
4640
  $ = $ || t;
4641
- var P = b ? /* @__PURE__ */ v.createElement(_w, {
4641
+ var L = b ? /* @__PURE__ */ v.createElement(_w, {
4642
4642
  containerStyle: w,
4643
4643
  codeStyle: h.style || {},
4644
4644
  numberStyle: N,
@@ -4657,7 +4657,7 @@ function Uw(t, e) {
4657
4657
  }, h.style) : h.style = Jn({
4658
4658
  whiteSpace: "pre"
4659
4659
  }, h.style), !$)
4660
- return /* @__PURE__ */ v.createElement(H, q, P, /* @__PURE__ */ v.createElement(L, h, _));
4660
+ return /* @__PURE__ */ v.createElement(H, q, L, /* @__PURE__ */ v.createElement(P, h, _));
4661
4661
  (T === void 0 && W || M) && (T = !0), W = W || Ww;
4662
4662
  var J = [{
4663
4663
  type: "text",
@@ -4670,7 +4670,7 @@ function Uw(t, e) {
4670
4670
  });
4671
4671
  ne.language === null && (ne.value = J);
4672
4672
  var X = (i = (s = _.match(/\n/g)) === null || s === void 0 ? void 0 : s.length) !== null && i !== void 0 ? i : 0, re = E + X, ye = jw(ne, T, R, b, k, E, re, N, M);
4673
- return /* @__PURE__ */ v.createElement(H, q, /* @__PURE__ */ v.createElement(L, h, !k && P, W({
4673
+ return /* @__PURE__ */ v.createElement(H, q, /* @__PURE__ */ v.createElement(P, h, !k && L, W({
4674
4674
  rows: ye,
4675
4675
  stylesheet: c,
4676
4676
  useInlineStyles: g
@@ -5662,31 +5662,31 @@ function dx() {
5662
5662
  T[C] = 16, T[N] = 10;
5663
5663
  var O = {};
5664
5664
  O[w] = i, O[N] = n, O[C] = r;
5665
- var M = 1, D = 2, R = 3, W = 4, K = 5, H = 6, j = 7, L = {};
5666
- L[M] = "Named character references must be terminated by a semicolon", L[D] = "Numeric character references must be terminated by a semicolon", L[R] = "Named character references cannot be empty", L[W] = "Numeric character references cannot be empty", L[K] = "Named character references must be known", L[H] = "Numeric character references cannot be disallowed", L[j] = "Numeric character references cannot be outside the permissible Unicode range";
5667
- function B(P, V) {
5665
+ var M = 1, D = 2, R = 3, W = 4, K = 5, H = 6, j = 7, P = {};
5666
+ P[M] = "Named character references must be terminated by a semicolon", P[D] = "Numeric character references must be terminated by a semicolon", P[R] = "Named character references cannot be empty", P[W] = "Numeric character references cannot be empty", P[K] = "Named character references must be known", P[H] = "Numeric character references cannot be disallowed", P[j] = "Numeric character references cannot be outside the permissible Unicode range";
5667
+ function B(L, V) {
5668
5668
  var Y = {}, q, J;
5669
5669
  V || (V = {});
5670
5670
  for (J in c)
5671
5671
  q = V[J], Y[J] = q ?? c[J];
5672
- return (Y.position.indent || Y.position.start) && (Y.indent = Y.position.indent || [], Y.position = Y.position.start), _(P, Y);
5672
+ return (Y.position.indent || Y.position.start) && (Y.indent = Y.position.indent || [], Y.position = Y.position.start), _(L, Y);
5673
5673
  }
5674
- function _(P, V) {
5675
- var Y = V.additional, q = V.nonTerminated, J = V.text, ne = V.reference, X = V.warning, re = V.textContext, ye = V.referenceContext, le = V.warningContext, we = V.position, he = V.indent || [], ke = P.length, Ee = 0, Oe = -1, Ne = we.column || 1, Ye = we.line || 1, me = "", ge = [], Ie, Te, ce, ee, ue, de, oe, Ae, et, wn, jt, kn, ve, Ve, be, Ce, Je, Wt, st;
5674
+ function _(L, V) {
5675
+ var Y = V.additional, q = V.nonTerminated, J = V.text, ne = V.reference, X = V.warning, re = V.textContext, ye = V.referenceContext, le = V.warningContext, we = V.position, he = V.indent || [], ke = L.length, Ee = 0, Oe = -1, Ne = we.column || 1, Ye = we.line || 1, me = "", ge = [], Ie, Te, ce, ee, ue, de, oe, Ae, et, wn, jt, kn, ve, Ve, be, Ce, Je, Wt, st;
5676
5676
  for (typeof Y == "string" && (Y = Y.charCodeAt(0)), Ce = wi(), Ae = X ? L2 : l, Ee--, ke++; ++Ee < ke; )
5677
- if (ue === f && (Ne = he[Oe] || 1), ue = P.charCodeAt(Ee), ue === p) {
5678
- if (oe = P.charCodeAt(Ee + 1), oe === u || oe === f || oe === d || oe === h || oe === p || oe === y || oe !== oe || Y && oe === Y) {
5677
+ if (ue === f && (Ne = he[Oe] || 1), ue = L.charCodeAt(Ee), ue === p) {
5678
+ if (oe = L.charCodeAt(Ee + 1), oe === u || oe === f || oe === d || oe === h || oe === p || oe === y || oe !== oe || Y && oe === Y) {
5679
5679
  me += a(ue), Ne++;
5680
5680
  continue;
5681
5681
  }
5682
- for (ve = Ee + 1, kn = ve, st = ve, oe === S ? (st = ++kn, oe = P.charCodeAt(st), oe === k || oe === x ? (Ve = C, st = ++kn) : Ve = N) : Ve = w, Ie = "", jt = "", ee = "", be = O[Ve], st--; ++st < ke && (oe = P.charCodeAt(st), !!be(oe)); )
5682
+ for (ve = Ee + 1, kn = ve, st = ve, oe === S ? (st = ++kn, oe = L.charCodeAt(st), oe === k || oe === x ? (Ve = C, st = ++kn) : Ve = N) : Ve = w, Ie = "", jt = "", ee = "", be = O[Ve], st--; ++st < ke && (oe = L.charCodeAt(st), !!be(oe)); )
5683
5683
  ee += a(oe), Ve === w && o.call(t, ee) && (Ie = ee, jt = t[ee]);
5684
- ce = P.charCodeAt(st) === g, ce && (st++, Te = Ve === w ? s(ee) : !1, Te && (Ie = ee, jt = Te)), Wt = 1 + st - ve, !ce && !q || (ee ? Ve === w ? (ce && !jt ? Ae(K, 1) : (Ie !== ee && (st = kn + Ie.length, Wt = 1 + st - kn, ce = !1), ce || (et = Ie ? M : R, V.attribute ? (oe = P.charCodeAt(st), oe === b ? (Ae(et, Wt), jt = null) : i(oe) ? jt = null : Ae(et, Wt)) : Ae(et, Wt))), de = jt) : (ce || Ae(D, Wt), de = parseInt(ee, T[Ve]), $(de) ? (Ae(j, Wt), de = a(E)) : de in e ? (Ae(H, Wt), de = e[de]) : (wn = "", G(de) && Ae(H, Wt), de > 65535 && (de -= 65536, wn += a(de >>> 10 | 55296), de = 56320 | de & 1023), de = wn + a(de))) : Ve !== w && Ae(W, Wt)), de ? (Rf(), Ce = wi(), Ee = st - 1, Ne += st - ve + 1, ge.push(de), Je = wi(), Je.offset++, ne && ne.call(
5684
+ ce = L.charCodeAt(st) === g, ce && (st++, Te = Ve === w ? s(ee) : !1, Te && (Ie = ee, jt = Te)), Wt = 1 + st - ve, !ce && !q || (ee ? Ve === w ? (ce && !jt ? Ae(K, 1) : (Ie !== ee && (st = kn + Ie.length, Wt = 1 + st - kn, ce = !1), ce || (et = Ie ? M : R, V.attribute ? (oe = L.charCodeAt(st), oe === b ? (Ae(et, Wt), jt = null) : i(oe) ? jt = null : Ae(et, Wt)) : Ae(et, Wt))), de = jt) : (ce || Ae(D, Wt), de = parseInt(ee, T[Ve]), $(de) ? (Ae(j, Wt), de = a(E)) : de in e ? (Ae(H, Wt), de = e[de]) : (wn = "", G(de) && Ae(H, Wt), de > 65535 && (de -= 65536, wn += a(de >>> 10 | 55296), de = 56320 | de & 1023), de = wn + a(de))) : Ve !== w && Ae(W, Wt)), de ? (Rf(), Ce = wi(), Ee = st - 1, Ne += st - ve + 1, ge.push(de), Je = wi(), Je.offset++, ne && ne.call(
5685
5685
  ye,
5686
5686
  de,
5687
5687
  { start: Ce, end: Je },
5688
- P.slice(ve - 1, st)
5689
- ), Ce = Je) : (ee = P.slice(ve - 1, st), me += ee, Ne += ee.length, Ee = st - 1);
5688
+ L.slice(ve - 1, st)
5689
+ ), Ce = Je) : (ee = L.slice(ve - 1, st), me += ee, Ne += ee.length, Ee = st - 1);
5690
5690
  } else
5691
5691
  ue === 10 && (Ye++, Oe++, Ne = 0), ue === ue ? (me += a(ue), Ne++) : Rf();
5692
5692
  return ge.join("");
@@ -5699,17 +5699,17 @@ function dx() {
5699
5699
  }
5700
5700
  function L2(Df, Lf) {
5701
5701
  var Aa = wi();
5702
- Aa.column += Lf, Aa.offset += Lf, X.call(le, L[Df], Aa, Df);
5702
+ Aa.column += Lf, Aa.offset += Lf, X.call(le, P[Df], Aa, Df);
5703
5703
  }
5704
5704
  function Rf() {
5705
5705
  me && (ge.push(me), J && J.call(re, me, { start: Ce, end: wi() }), me = "");
5706
5706
  }
5707
5707
  }
5708
- function $(P) {
5709
- return P >= 55296 && P <= 57343 || P > 1114111;
5708
+ function $(L) {
5709
+ return L >= 55296 && L <= 57343 || L > 1114111;
5710
5710
  }
5711
- function G(P) {
5712
- return P >= 1 && P <= 8 || P === 11 || P >= 13 && P <= 31 || P >= 127 && P <= 159 || P >= 64976 && P <= 65007 || (P & 65535) === 65535 || (P & 65535) === 65534;
5711
+ function G(L) {
5712
+ return L >= 1 && L <= 8 || L === 11 || L >= 13 && L <= 31 || L >= 127 && L <= 159 || L >= 64976 && L <= 65007 || (L & 65535) === 65535 || (L & 65535) === 65534;
5713
5713
  }
5714
5714
  return cl;
5715
5715
  }
@@ -6343,8 +6343,8 @@ function hx() {
6343
6343
  var H = M.pattern.toString().match(/[imsuy]*$/)[0];
6344
6344
  M.pattern = RegExp(M.pattern.source, H + "g");
6345
6345
  }
6346
- for (var j = M.pattern || M, L = E.next, B = w; L !== k.tail && !(C && B >= C.reach); B += L.value.length, L = L.next) {
6347
- var _ = L.value;
6346
+ for (var j = M.pattern || M, P = E.next, B = w; P !== k.tail && !(C && B >= C.reach); B += P.value.length, P = P.next) {
6347
+ var _ = P.value;
6348
6348
  if (k.length > S.length)
6349
6349
  return;
6350
6350
  if (!(_ instanceof l)) {
@@ -6352,27 +6352,27 @@ function hx() {
6352
6352
  if (W) {
6353
6353
  if (G = c(j, B, S, R), !G || G.index >= S.length)
6354
6354
  break;
6355
- var q = G.index, P = G.index + G[0].length, V = B;
6356
- for (V += L.value.length; q >= V; )
6357
- L = L.next, V += L.value.length;
6358
- if (V -= L.value.length, B = V, L.value instanceof l)
6355
+ var q = G.index, L = G.index + G[0].length, V = B;
6356
+ for (V += P.value.length; q >= V; )
6357
+ P = P.next, V += P.value.length;
6358
+ if (V -= P.value.length, B = V, P.value instanceof l)
6359
6359
  continue;
6360
- for (var Y = L; Y !== k.tail && (V < P || typeof Y.value == "string"); Y = Y.next)
6360
+ for (var Y = P; Y !== k.tail && (V < L || typeof Y.value == "string"); Y = Y.next)
6361
6361
  $++, V += Y.value.length;
6362
6362
  $--, _ = S.slice(B, V), G.index -= B;
6363
6363
  } else if (G = c(j, 0, _, R), !G)
6364
6364
  continue;
6365
6365
  var q = G.index, J = G[0], ne = _.slice(0, q), X = _.slice(q + J.length), re = B + _.length;
6366
6366
  C && re > C.reach && (C.reach = re);
6367
- var ye = L.prev;
6367
+ var ye = P.prev;
6368
6368
  ne && (ye = d(k, ye, ne), B += ne.length), h(k, ye, $);
6369
6369
  var le = new l(N, D ? a.tokenize(J, D) : J, K, J);
6370
- if (L = d(k, ye, le), X && d(k, L, X), $ > 1) {
6370
+ if (P = d(k, ye, le), X && d(k, P, X), $ > 1) {
6371
6371
  var we = {
6372
6372
  cause: N + "," + O,
6373
6373
  reach: re
6374
6374
  };
6375
- u(S, k, x, L.prev, B, we), C && we.reach > C.reach && (C.reach = we.reach);
6375
+ u(S, k, x, P.prev, B, we), C && we.reach > C.reach && (C.reach = we.reach);
6376
6376
  }
6377
6377
  }
6378
6378
  }
@@ -6976,15 +6976,15 @@ function bx() {
6976
6976
  function t(e) {
6977
6977
  (function(n) {
6978
6978
  function r($, G) {
6979
- return $.replace(/<<(\d+)>>/g, function(P, V) {
6979
+ return $.replace(/<<(\d+)>>/g, function(L, V) {
6980
6980
  return "(?:" + G[+V] + ")";
6981
6981
  });
6982
6982
  }
6983
- function i($, G, P) {
6983
+ function i($, G, L) {
6984
6984
  return RegExp(r($, G), "");
6985
6985
  }
6986
6986
  function s($, G) {
6987
- for (var P = 0; P < G; P++)
6987
+ for (var L = 0; L < G; L++)
6988
6988
  $ = $.replace(/<<self>>/g, function() {
6989
6989
  return "(?:" + $ + ")";
6990
6990
  });
@@ -7288,14 +7288,14 @@ function bx() {
7288
7288
  ), j = r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
7289
7289
  H,
7290
7290
  K
7291
- ]), L = s(
7291
+ ]), P = s(
7292
7292
  r(
7293
7293
  /[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,
7294
7294
  [O]
7295
7295
  ),
7296
7296
  2
7297
7297
  ), B = r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source, [
7298
- L,
7298
+ P,
7299
7299
  K
7300
7300
  ]);
7301
7301
  function _($, G) {
@@ -7342,7 +7342,7 @@ function bx() {
7342
7342
  ]),
7343
7343
  lookbehind: !0,
7344
7344
  greedy: !0,
7345
- inside: _(B, L)
7345
+ inside: _(B, P)
7346
7346
  }
7347
7347
  ],
7348
7348
  char: {
@@ -9219,16 +9219,16 @@ function oa({
9219
9219
  onKeyUp: K,
9220
9220
  onValueChanged: H
9221
9221
  }) {
9222
- let [j, L] = v.useState(!1), [B, _] = v.useState(!1), { defaults: $ } = v.useContext($e), G = k ?? $.input.size, P = t ?? $.input.alignment, V = typeof s == "string" ? s : s({ value: N, touched: B, focused: j, required: S, disabled: i, readonly: b }), Y = typeof o == "string" ? o : o(N), q = V.length > 0 ? "input is-danger" : "input";
9223
- q += _e(G), q += xt(P), b && (q += " is-static"), T && (q += ` ${T.trim()}`);
9222
+ let [j, P] = v.useState(!1), [B, _] = v.useState(!1), { defaults: $ } = v.useContext($e), G = k ?? $.input.size, L = t ?? $.input.alignment, V = typeof s == "string" ? s : s({ value: N, touched: B, focused: j, required: S, disabled: i, readonly: b }), Y = typeof o == "string" ? o : o(N), q = V.length > 0 ? "input is-danger" : "input";
9223
+ q += _e(G), q += xt(L), b && (q += " is-static"), T && (q += ` ${T.trim()}`);
9224
9224
  function J(re) {
9225
9225
  i || (H && H(re.target.value), D && D(re));
9226
9226
  }
9227
9227
  function ne(re) {
9228
- L(!0), R && R(re, l);
9228
+ P(!0), R && R(re, l);
9229
9229
  }
9230
9230
  function X(re) {
9231
- L(!1), M && M(re), B || _(!0);
9231
+ P(!1), M && M(re), B || _(!0);
9232
9232
  }
9233
9233
  return /* @__PURE__ */ A(v.Fragment, { children: [
9234
9234
  /* @__PURE__ */ m(
@@ -9293,7 +9293,7 @@ function bn({
9293
9293
  onFocus: x,
9294
9294
  ...E
9295
9295
  }) {
9296
- let [w, C] = v.useState(!1), [N, T] = v.useState(!1), [O, M] = v.useState(!1), D = S && S.length > 0 ? `${o ?? c}-option-list-id` : void 0, R = typeof e == "string" ? e : e({ value: g, touched: w, focused: N, required: u, disabled: d, readonly: h }), W = typeof n == "string" ? n : n(g), { defaults: K } = v.useContext($e), H = p ?? K.input.size, j = t ?? K.input.direction, [L, B, _] = yn({
9296
+ let [w, C] = v.useState(!1), [N, T] = v.useState(!1), [O, M] = v.useState(!1), D = S && S.length > 0 ? `${o ?? c}-option-list-id` : void 0, R = typeof e == "string" ? e : e({ value: g, touched: w, focused: N, required: u, disabled: d, readonly: h }), W = typeof n == "string" ? n : n(g), { defaults: K } = v.useContext($e), H = p ?? K.input.size, j = t ?? K.input.direction, [P, B, _] = yn({
9297
9297
  icon: s,
9298
9298
  error: R,
9299
9299
  showInfo: it(N, O),
@@ -9302,14 +9302,14 @@ function bn({
9302
9302
  helpTag: b,
9303
9303
  hideIconRight: i
9304
9304
  });
9305
- function $(P) {
9305
+ function $(L) {
9306
9306
  C(!0), y ? setTimeout(() => {
9307
9307
  const V = document.getElementById(o ?? c);
9308
- document.activeElement !== V && (T(!1), k && k(P));
9309
- }, Pt) : (k && k(P), T(!1));
9308
+ document.activeElement !== V && (T(!1), k && k(L));
9309
+ }, Pt) : (k && k(L), T(!1));
9310
9310
  }
9311
- function G(P) {
9312
- T(!0), x && x(P);
9311
+ function G(L) {
9312
+ T(!0), x && x(L);
9313
9313
  }
9314
9314
  return /* @__PURE__ */ A(
9315
9315
  $t,
@@ -9321,7 +9321,7 @@ function bn({
9321
9321
  required: u,
9322
9322
  labelHidden: l,
9323
9323
  showRequiredOnLabel: r,
9324
- controlClassName: L,
9324
+ controlClassName: P,
9325
9325
  loading: f,
9326
9326
  setHovered: M,
9327
9327
  children: [
@@ -9345,7 +9345,7 @@ function bn({
9345
9345
  }
9346
9346
  ),
9347
9347
  S && S.length > 0 && /* @__PURE__ */ m("datalist", { id: D, children: S.map(
9348
- (P) => typeof P == "string" ? /* @__PURE__ */ m("option", { value: P }, P) : /* @__PURE__ */ m("option", { value: P.value, children: P.label }, P.value)
9348
+ (L) => typeof L == "string" ? /* @__PURE__ */ m("option", { value: L }, L) : /* @__PURE__ */ m("option", { value: L.value, children: L.label }, L.value)
9349
9349
  ) }),
9350
9350
  B,
9351
9351
  _
@@ -9431,14 +9431,14 @@ function Kt({
9431
9431
  onChange: K,
9432
9432
  onKeyDown: H,
9433
9433
  onKeyUp: j,
9434
- onValueChanged: L
9434
+ onValueChanged: P
9435
9435
  }) {
9436
- let [B, _] = v.useState(!1), [$, G] = v.useState(!1), [P, V] = v.useState(!1), Y = Ye(p), { defaults: q } = v.useContext($e), J = f ?? q.input.size, ne = d ?? q.input.direction, X = u ?? q.input.alignment, re = typeof a == "string" ? a : a({ value: t, touched: $, focused: B, required: s, disabled: b, readonly: !1 }), ye = typeof l == "string" ? l : l(t), le = re.length > 0 ? "select is-danger" : "select";
9436
+ let [B, _] = v.useState(!1), [$, G] = v.useState(!1), [L, V] = v.useState(!1), Y = Ye(p), { defaults: q } = v.useContext($e), J = f ?? q.input.size, ne = d ?? q.input.direction, X = u ?? q.input.alignment, re = typeof a == "string" ? a : a({ value: t, touched: $, focused: B, required: s, disabled: b, readonly: !1 }), ye = typeof l == "string" ? l : l(t), le = re.length > 0 ? "select is-danger" : "select";
9437
9437
  le += _e(J), le += xt(X), c !== !1 && (le += " is-multiple"), E && (le += " is-loading");
9438
9438
  let [we, he, ke] = yn({
9439
9439
  icon: M,
9440
9440
  error: re,
9441
- showInfo: it(B, P),
9441
+ showInfo: it(B, L),
9442
9442
  inputId: e ?? n,
9443
9443
  infoData: D,
9444
9444
  helpTag: y,
@@ -9457,8 +9457,8 @@ function Kt({
9457
9457
  if ($ || G(!0), K && K(me), c) {
9458
9458
  let ge = me.target.selectedOptions, Ie = [];
9459
9459
  for (let Te of ge) Ie.push(Te.value);
9460
- L && L(Ie);
9461
- } else typeof t == "number" && L ? L(+me.target.value) : L && L(me.target.value);
9460
+ P && P(Ie);
9461
+ } else typeof t == "number" && P ? P(+me.target.value) : P && P(me.target.value);
9462
9462
  }
9463
9463
  function Ye(me) {
9464
9464
  if (!me.some((ge) => typeof ge != "string" && typeof ge != "number"))
@@ -12017,12 +12017,12 @@ function o7({
12017
12017
  let { defaults: M } = v.useContext($e), D = v.useMemo(
12018
12018
  () => ({ ...M.datatablePagination, ...O }),
12019
12019
  [O, M]
12020
- ), R = e.sort((le, we) => WN(le.order ?? 0, we.order ?? 0)), W = N ?? Jt(0, 999999999999).toString(), [K, H] = v.useState(""), [j] = aC(K, { delay: 200 }), [L, B] = v.useState(() => n || R.findIndex((le) => le.sort !== void 0) + 1), [_, $] = cC(D.initialPage), [G, P] = c0({
12020
+ ), R = e.sort((le, we) => WN(le.order ?? 0, we.order ?? 0)), W = N ?? Jt(0, 999999999999).toString(), [K, H] = v.useState(""), [j] = aC(K, { delay: 200 }), [P, B] = v.useState(() => n || R.findIndex((le) => le.sort !== void 0) + 1), [_, $] = cC(D.initialPage), [G, L] = c0({
12021
12021
  key: `${N}-rows-per-page`,
12022
12022
  initialValue: D.defaultRowsPerPage
12023
12023
  }), { visibleData: V, pagination: Y } = v.useMemo(() => {
12024
12024
  let le = [...j === "" ? t : S(j, t)];
12025
- le.sort(R[Math.abs(L) - 1]?.sort ?? (() => 0)), L < 0 && le.reverse();
12025
+ le.sort(R[Math.abs(P) - 1]?.sort ?? (() => 0)), P < 0 && le.reverse();
12026
12026
  let we = G;
12027
12027
  D.threshold >= le.length && (we = le.length);
12028
12028
  let he = D.threshold > le.length || we < 1 ? 1 : Math.ceil(le.length / we), ke = {
@@ -12033,11 +12033,11 @@ function o7({
12033
12033
  rowsPerPageOptions: D.rowsPerPageOptions,
12034
12034
  rowsPerPage: G,
12035
12035
  setPage: $,
12036
- setRowsPerPage: P
12036
+ setRowsPerPage: L
12037
12037
  }, Ee = le.slice((_ - 1) * we, _ * we);
12038
12038
  return { filteredData: le, visibleData: Ee, pagination: ke };
12039
- }, [R, t, _, D, G, j, L, $, P, S]), q = [...j === "" ? t : S(j, t)];
12040
- q.sort(R[Math.abs(L) - 1]?.sort ?? (() => 0)), L < 0 && q.reverse();
12039
+ }, [R, t, _, D, G, j, P, $, L, S]), q = [...j === "" ? t : S(j, t)];
12040
+ q.sort(R[Math.abs(P) - 1]?.sort ?? (() => 0)), P < 0 && q.reverse();
12041
12041
  let J = g === 0 ? q.length : g, ne = Math.ceil(q.length / J), X = u0({
12042
12042
  total: ne,
12043
12043
  initialPage: ne < u ? ne : u < 1 ? 1 : u
@@ -12061,7 +12061,7 @@ function o7({
12061
12061
  onSearchValueChanged: H,
12062
12062
  searchPlaceholder: y,
12063
12063
  infoMessage: C,
12064
- sortColNum: L,
12064
+ sortColNum: P,
12065
12065
  onSortIndexChanged: B,
12066
12066
  tableID: W,
12067
12067
  children: d
@@ -14146,10 +14146,10 @@ function n4({
14146
14146
  color: T = void 0,
14147
14147
  infoDataEl: O
14148
14148
  }) {
14149
- let [M, D] = v.useState(!1), [R, W] = v.useState(!1), [K, H] = v.useState(!1), { defaults: j } = v.useContext($e), { scheme: L } = pr();
14150
- T === void 0 && L === "dark" && (T = "light"), T === void 0 && L === "light" && (T = "dark");
14151
- let B = C ?? j.input.size, _ = N ?? j.input.alignment, $ = typeof e == "string" ? e : e({ value: l, touched: M, focused: K, required: c, disabled: i, readonly: h }), G = typeof n == "string" ? n : n(l), P = "is-checkradio";
14152
- P += _e(B), P += xt(_), P += Nt(T), h && (P += " is-static");
14149
+ let [M, D] = v.useState(!1), [R, W] = v.useState(!1), [K, H] = v.useState(!1), { defaults: j } = v.useContext($e), { scheme: P } = pr();
14150
+ T === void 0 && P === "dark" && (T = "light"), T === void 0 && P === "light" && (T = "dark");
14151
+ let B = C ?? j.input.size, _ = N ?? j.input.alignment, $ = typeof e == "string" ? e : e({ value: l, touched: M, focused: K, required: c, disabled: i, readonly: h }), G = typeof n == "string" ? n : n(l), L = "is-checkradio";
14152
+ L += _e(B), L += xt(_), L += Nt(T), h && (L += " is-static");
14153
14153
  function V(J) {
14154
14154
  M || D(!0), b && b(J), H(!1);
14155
14155
  }
@@ -14164,7 +14164,7 @@ function n4({
14164
14164
  "input",
14165
14165
  {
14166
14166
  type: "checkbox",
14167
- className: P,
14167
+ className: L,
14168
14168
  id: f ?? a,
14169
14169
  ref: y,
14170
14170
  name: a,
@@ -14254,7 +14254,7 @@ function v7({
14254
14254
  formatValue: W = (H) => /* @__PURE__ */ m(kt, { children: typeof H == "string" || typeof H == "number" || typeof H == "boolean" ? `${H}` : JSON.stringify(H) }),
14255
14255
  formatOption: K = (H, j) => /* @__PURE__ */ m(kt, { children: typeof H == "string" || typeof H == "number" || typeof H == "boolean" ? `${H}` : JSON.stringify(H) })
14256
14256
  }) {
14257
- let [H, j] = v.useState(ue(e)), [L, B] = v.useState(R(t)), [_, $] = v.useReducer(s4, i4), [G, P] = v.useState(!1), [V, Y] = v.useState(!1), [q, J] = v.useState(-1), [ne, X] = v.useState(!1), [re, ye] = v.useState(!1), { defaults: le } = v.useContext($e), we = u ?? le.input.size, he = f ?? le.input.direction, ke = c ?? le.input.alignment, Ee = typeof a == "string" ? a : a({ value: L, touched: ne, focused: _.focused, required: s, disabled: p, readonly: !1 }), Oe = typeof l == "string" ? l : l(L), Ne = v.useRef(null), Ye = v.useRef(null);
14257
+ let [H, j] = v.useState(ue(e)), [P, B] = v.useState(R(t)), [_, $] = v.useReducer(s4, i4), [G, L] = v.useState(!1), [V, Y] = v.useState(!1), [q, J] = v.useState(-1), [ne, X] = v.useState(!1), [re, ye] = v.useState(!1), { defaults: le } = v.useContext($e), we = u ?? le.input.size, he = f ?? le.input.direction, ke = c ?? le.input.alignment, Ee = typeof a == "string" ? a : a({ value: P, touched: ne, focused: _.focused, required: s, disabled: p, readonly: !1 }), Oe = typeof l == "string" ? l : l(P), Ne = v.useRef(null), Ye = v.useRef(null);
14258
14258
  r4(_.focusIndex, Ne, Ye);
14259
14259
  let me = a ? "input is-danger is-fullwidth" : "input is-fullwidth";
14260
14260
  me += _e(we), me += xt(ke), E && (me += ` ${E}`), g && (me += " is-loading");
@@ -14360,7 +14360,7 @@ function v7({
14360
14360
  isFocused: !0
14361
14361
  }), $({
14362
14362
  type: "setFocusIndex",
14363
- focusIndex: H.findIndex((be) => be.key === L.toString())
14363
+ focusIndex: H.findIndex((be) => be.key === P.toString())
14364
14364
  });
14365
14365
  }
14366
14366
  function Ve(be) {
@@ -14388,7 +14388,7 @@ function v7({
14388
14388
  },
14389
14389
  role: "combobox",
14390
14390
  placeholder: d,
14391
- value: L,
14391
+ value: P,
14392
14392
  className: me,
14393
14393
  name: r,
14394
14394
  id: n ?? r,
@@ -14418,8 +14418,8 @@ function v7({
14418
14418
  className: "bulma-box",
14419
14419
  style: ee,
14420
14420
  ref: Ne,
14421
- onMouseEnter: () => P(!0),
14422
- onMouseLeave: () => P(!1),
14421
+ onMouseEnter: () => L(!0),
14422
+ onMouseLeave: () => L(!1),
14423
14423
  children: /* @__PURE__ */ m("ul", { ref: Ye, className: "combobox-list", children: H.map((be, Ce) => {
14424
14424
  let Je = "combobox-listitem";
14425
14425
  return Ce === q && (Je += " is-selected"), /* @__PURE__ */ m(
@@ -14492,7 +14492,7 @@ function S7({
14492
14492
  formatLabel: M = (R) => typeof R == "string" || typeof R == "number" || typeof R == "boolean" ? `${R}` : JSON.stringify(R),
14493
14493
  formatValue: D = (R) => R.join(", ")
14494
14494
  }) {
14495
- let [R, W] = v.useState(""), [K, H] = v.useState(!1), [j, L] = v.useState(!1), [B, _] = v.useState(!1), [$, G] = v.useState(me(t, e)), [P, V] = v.useState(!1), [Y, q] = v.useState(!1), J = v.useRef(null), ne = v.useRef(null), X = { right: "1.5em" }, re = typeof a == "string" ? a : a({ value: t, touched: j, focused: K, required: s, disabled: p, readonly: !1 }), ye = typeof l == "string" ? l : l(D(t)), { defaults: le } = v.useContext($e), we = u ?? le.input.size, he = f ?? le.input.direction, ke = c ?? le.input.alignment, Ee = a ? "input is-danger is-fullwidth" : "input is-fullwidth";
14495
+ let [R, W] = v.useState(""), [K, H] = v.useState(!1), [j, P] = v.useState(!1), [B, _] = v.useState(!1), [$, G] = v.useState(me(t, e)), [L, V] = v.useState(!1), [Y, q] = v.useState(!1), J = v.useRef(null), ne = v.useRef(null), X = { right: "1.5em" }, re = typeof a == "string" ? a : a({ value: t, touched: j, focused: K, required: s, disabled: p, readonly: !1 }), ye = typeof l == "string" ? l : l(D(t)), { defaults: le } = v.useContext($e), we = u ?? le.input.size, he = f ?? le.input.direction, ke = c ?? le.input.alignment, Ee = a ? "input is-danger is-fullwidth" : "input is-fullwidth";
14496
14496
  Ee += _e(we), Ee += xt(ke), g && (Ee += " is-loading");
14497
14497
  let [Oe, Ne, Ye] = yn({
14498
14498
  icon: S,
@@ -14517,10 +14517,10 @@ function S7({
14517
14517
  }), oe;
14518
14518
  }
14519
14519
  function ge(ue) {
14520
- x && !P ? setTimeout(() => {
14520
+ x && !L ? setTimeout(() => {
14521
14521
  let de = document.getElementById(n ?? r);
14522
14522
  document.activeElement !== de && (H(!1), C && C(ue));
14523
- }, Pt) : P || (C && C(ue), H(!1));
14523
+ }, Pt) : L || (C && C(ue), H(!1));
14524
14524
  }
14525
14525
  function Ie(ue) {
14526
14526
  let de = [];
@@ -14533,7 +14533,7 @@ function S7({
14533
14533
  H(!0);
14534
14534
  }
14535
14535
  function ee(ue) {
14536
- j || L(!0), w && w(ue, h), H(!0);
14536
+ j || P(!0), w && w(ue, h), H(!0);
14537
14537
  }
14538
14538
  return /* @__PURE__ */ A(
14539
14539
  $t,
@@ -14676,7 +14676,7 @@ function F0({
14676
14676
  }) {
14677
14677
  let { defaults: M } = v.useContext($e), [D, R] = v.useState(!1), W = E ?? M.input.size, K = w ?? M.input.alignment, H = C ?? M.input.rbDirection, j = "is-checkradio";
14678
14678
  j += _e(W), j += xt(K), j += Nt(N), f && (j += " is-static"), c || (c = i + "-" + s);
14679
- function L(G) {
14679
+ function P(G) {
14680
14680
  x && x(s), y && y(G);
14681
14681
  }
14682
14682
  function B() {
@@ -14709,7 +14709,7 @@ function F0({
14709
14709
  onKeyDown: S,
14710
14710
  onKeyUp: k,
14711
14711
  onBlur: g,
14712
- onChange: L,
14712
+ onChange: P,
14713
14713
  onFocus: (G) => b && b(G, t)
14714
14714
  }
14715
14715
  ),
@@ -14745,7 +14745,7 @@ function a4({
14745
14745
  onKeyDown: E,
14746
14746
  onKeyUp: w
14747
14747
  }) {
14748
- let [C, N] = v.useState(!1), [T, O] = v.useState(!1), [M, D] = v.useState(!1), { defaults: R } = v.useContext($e), W = c ?? R.input.size, K = u ?? R.input.direction, H = d ?? R.input.alignment, j = f ?? R.input.rbDirection, L = G(t), B = typeof h == "string" ? h : h({ value: o, touched: C, focused: T, required: a, disabled: r, readonly: !1 }), _ = typeof p == "string" ? p : p(o), $ = ur(g, it(T, M)) ? /* @__PURE__ */ m("span", { className: "mx-1", onClick: (q) => q.preventDefault(), children: Hr(g, () => {
14748
+ let [C, N] = v.useState(!1), [T, O] = v.useState(!1), [M, D] = v.useState(!1), { defaults: R } = v.useContext($e), W = c ?? R.input.size, K = u ?? R.input.direction, H = d ?? R.input.alignment, j = f ?? R.input.rbDirection, P = G(t), B = typeof h == "string" ? h : h({ value: o, touched: C, focused: T, required: a, disabled: r, readonly: !1 }), _ = typeof p == "string" ? p : p(o), $ = ur(g, it(T, M)) ? /* @__PURE__ */ m("span", { className: "mx-1", onClick: (q) => q.preventDefault(), children: Hr(g, () => {
14749
14749
  }, y) }) : void 0;
14750
14750
  function G(q) {
14751
14751
  return v.Children.map(q, (J, ne) => {
@@ -14765,7 +14765,7 @@ function a4({
14765
14765
  name: s,
14766
14766
  helpTag: re.helpTag ?? y,
14767
14767
  onValueChanged: Y,
14768
- onBlur: P,
14768
+ onBlur: L,
14769
14769
  onKeyDown: E,
14770
14770
  onKeyUp: w,
14771
14771
  onChange: k,
@@ -14777,7 +14777,7 @@ function a4({
14777
14777
  return J;
14778
14778
  });
14779
14779
  }
14780
- function P(q) {
14780
+ function L(q) {
14781
14781
  O(!1), S && S(q);
14782
14782
  }
14783
14783
  function V(q, J) {
@@ -14800,7 +14800,7 @@ function a4({
14800
14800
  infoData: $,
14801
14801
  setHovered: D,
14802
14802
  children: [
14803
- L,
14803
+ P,
14804
14804
  B.length > 0 && /* @__PURE__ */ m("p", { className: "help is-danger", children: B }),
14805
14805
  _.length > 0 && /* @__PURE__ */ m("p", { className: "help is-info", children: _ })
14806
14806
  ]
@@ -14852,18 +14852,18 @@ function k7({
14852
14852
  title: K,
14853
14853
  className: H = "",
14854
14854
  styles: j = {},
14855
- randomColors: L = void 0,
14855
+ randomColors: P = void 0,
14856
14856
  maxTags: B = -1,
14857
14857
  infoData: _,
14858
14858
  onBlur: $,
14859
14859
  onFocus: G,
14860
- onValueChanged: P,
14860
+ onValueChanged: L,
14861
14861
  onKeyDown: V,
14862
14862
  onKeyUp: Y
14863
14863
  //...props
14864
14864
  }) {
14865
14865
  let q = v.useRef(null), { defaults: J } = v.useContext($e), [ne, X] = v.useState(!1), [re, ye] = v.useState(!1), [le, we] = v.useState(!1), [he, ke] = v.useState(t), [Ee, Oe] = v.useState(""), [Ne, Ye] = v.useState(
14866
- t.map((ve) => a === "random" ? Mh(L) : a)
14866
+ t.map((ve) => a === "random" ? Mh(P) : a)
14867
14867
  ), me = y ?? J.input.size, ge = l ?? J.input.direction, Ie = b ?? J.input.alignment, Te = "input";
14868
14868
  Te += _e(me), Te += xt(Ie, !1), Te += H;
14869
14869
  let ce = typeof c == "string" ? c : c({ value: t, touched: ne, focused: re, required: p, disabled: r, readonly: D }), ee = typeof u == "string" ? u : u(t), [ue, de, oe] = yn({
@@ -14888,7 +14888,7 @@ function k7({
14888
14888
  if (!r && !(B > 0 && he.length >= B) && (ve = ve.trim(), ve !== "")) {
14889
14889
  if (e || !he.includes(ve)) {
14890
14890
  let Ve = [...he, ve];
14891
- ke(Ve), Ye([...Ne, a === "random" ? Mh() : a]), P && P(Ve);
14891
+ ke(Ve), Ye([...Ne, a === "random" ? Mh() : a]), L && L(Ve);
14892
14892
  }
14893
14893
  q?.current?.focus();
14894
14894
  }
@@ -14897,7 +14897,7 @@ function k7({
14897
14897
  if (!r) {
14898
14898
  if (!n) {
14899
14899
  let Ve = he.indexOf(ve), be = he.filter((Ce) => Ce !== ve);
14900
- ke(be), Ne.splice(Ve, 1), Ye([...Ne]), P && P(be);
14900
+ ke(be), Ne.splice(Ve, 1), Ye([...Ne]), L && L(be);
14901
14901
  }
14902
14902
  q?.current?.focus();
14903
14903
  }
@@ -15044,7 +15044,7 @@ function N7({
15044
15044
  onFocus: C,
15045
15045
  ...N
15046
15046
  }) {
15047
- let [T, O] = v.useState(!1), [M, D] = v.useState(!1), [R, W] = v.useState(!1), [K, H] = v.useState(!1), { defaults: j } = v.useContext($e), L = c ?? j.input.size, B = u ?? j.input.direction, _ = typeof b == "string" ? b : b({ value: t, touched: M, focused: R, required: o, disabled: d, readonly: h }), $ = typeof S == "string" ? S : S(t), [G, P, V] = yn({
15047
+ let [T, O] = v.useState(!1), [M, D] = v.useState(!1), [R, W] = v.useState(!1), [K, H] = v.useState(!1), { defaults: j } = v.useContext($e), P = c ?? j.input.size, B = u ?? j.input.direction, _ = typeof b == "string" ? b : b({ value: t, touched: M, focused: R, required: o, disabled: d, readonly: h }), $ = typeof S == "string" ? S : S(t), [G, L, V] = yn({
15048
15048
  icon: n,
15049
15049
  error: _,
15050
15050
  showInfo: it(R, K),
@@ -15072,7 +15072,7 @@ function N7({
15072
15072
  label: s ?? r ?? i,
15073
15073
  direction: B,
15074
15074
  required: o,
15075
- size: L,
15075
+ size: P,
15076
15076
  labelHidden: l,
15077
15077
  showRequiredOnLabel: a,
15078
15078
  controlClassName: G,
@@ -15081,7 +15081,7 @@ function N7({
15081
15081
  /* @__PURE__ */ m(
15082
15082
  oa,
15083
15083
  {
15084
- size: L,
15084
+ size: P,
15085
15085
  name: r,
15086
15086
  id: i,
15087
15087
  required: o,
@@ -15098,12 +15098,12 @@ function N7({
15098
15098
  ...N
15099
15099
  }
15100
15100
  ),
15101
- P,
15101
+ L,
15102
15102
  V,
15103
15103
  f && /* @__PURE__ */ m(
15104
15104
  t4,
15105
15105
  {
15106
- size: L,
15106
+ size: P,
15107
15107
  direction: B,
15108
15108
  value: T,
15109
15109
  onValueChanged: O,
@@ -34145,7 +34145,7 @@ function O7({
34145
34145
  onKeyDown: H,
34146
34146
  onKeyUp: j
34147
34147
  }) {
34148
- let [L, B] = v.useState(!1), [_, $] = v.useState(!1), [G, P] = v.useState(!1), { defaults: V } = v.useContext($e), Y = x ?? V.input.size, q = w ?? V.input.direction, J = E ?? V.input.alignment, ne = `textarea ${_e(Y)} ${xt(J)}`.trim(), X = S ? typeof S == "number" ? S : +S : void 0, re = b ? typeof b == "number" ? b : +b : void 0, ye = typeof n == "string" ? n : n({ value: t, touched: L, focused: _, required: l, disabled: d, readonly: p }), le = typeof r == "string" ? r : r(t), we = ur(M, it(G, _)) ? /* @__PURE__ */ m("span", { className: "mx-1", children: Hr(M, () => {
34148
+ let [P, B] = v.useState(!1), [_, $] = v.useState(!1), [G, L] = v.useState(!1), { defaults: V } = v.useContext($e), Y = x ?? V.input.size, q = w ?? V.input.direction, J = E ?? V.input.alignment, ne = `textarea ${_e(Y)} ${xt(J)}`.trim(), X = S ? typeof S == "number" ? S : +S : void 0, re = b ? typeof b == "number" ? b : +b : void 0, ye = typeof n == "string" ? n : n({ value: t, touched: P, focused: _, required: l, disabled: d, readonly: p }), le = typeof r == "string" ? r : r(t), we = ur(M, it(G, _)) ? /* @__PURE__ */ m("span", { className: "mx-1", children: Hr(M, () => {
34149
34149
  }, i) }) : void 0;
34150
34150
  function he(Oe) {
34151
34151
  W && W(Oe), M ? setTimeout(() => {
@@ -34157,7 +34157,7 @@ function O7({
34157
34157
  B(!0), K && K(Oe, i), $(!0);
34158
34158
  }
34159
34159
  function Ee(Oe) {
34160
- L || B(!0), R && R(Oe), D && D(Oe.target.value);
34160
+ P || B(!0), R && R(Oe), D && D(Oe.target.value);
34161
34161
  }
34162
34162
  return /* @__PURE__ */ A(
34163
34163
  $t,
@@ -34171,7 +34171,7 @@ function O7({
34171
34171
  loading: O,
34172
34172
  showRequiredOnLabel: c,
34173
34173
  infoData: we,
34174
- setHovered: P,
34174
+ setHovered: L,
34175
34175
  controlClassName: "control",
34176
34176
  children: [
34177
34177
  /* @__PURE__ */ m(
@@ -34274,17 +34274,17 @@ function M7({
34274
34274
  name: K,
34275
34275
  label: H,
34276
34276
  id: j,
34277
- casing: L = "default",
34277
+ casing: P = "default",
34278
34278
  onValueChanged: B,
34279
34279
  onFormat: _ = ($) => $
34280
34280
  //...props
34281
34281
  }) {
34282
- let [$, G] = v.useState(!1), [P, V] = v.useState(!1), [Y, q] = v.useState(!1), [J, ne] = v.useState(""), { defaults: X } = v.useContext($e), re = typeof n == "string" ? n : n({ value: M, touched: $, focused: P, required: o, disabled: i, readonly: d }), ye = typeof r == "string" ? r : r(M), le = E ?? X.input.size, we = C ?? X.input.direction, he = w ?? X.input.alignment, ke = n ? "input is-danger" : "input";
34283
- ke += _e(le), ke += xt(he), P && (ke += " is-focused"), d && (ke += " is-static");
34282
+ let [$, G] = v.useState(!1), [L, V] = v.useState(!1), [Y, q] = v.useState(!1), [J, ne] = v.useState(""), { defaults: X } = v.useContext($e), re = typeof n == "string" ? n : n({ value: M, touched: $, focused: L, required: o, disabled: i, readonly: d }), ye = typeof r == "string" ? r : r(M), le = E ?? X.input.size, we = C ?? X.input.direction, he = w ?? X.input.alignment, ke = n ? "input is-danger" : "input";
34283
+ ke += _e(le), ke += xt(he), L && (ke += " is-focused"), d && (ke += " is-static");
34284
34284
  let [Ee, Oe, Ne] = yn({
34285
34285
  icon: D,
34286
34286
  error: re,
34287
- showInfo: it(P, Y),
34287
+ showInfo: it(L, Y),
34288
34288
  inputId: j ?? K,
34289
34289
  infoData: p,
34290
34290
  helpTag: e,
@@ -34315,7 +34315,7 @@ function M7({
34315
34315
  return Ae === void 0 ? oe : de < Ae - 1 ? (de++, oe) : (ue++, de = 0, oe + W);
34316
34316
  }).join("");
34317
34317
  }
34318
- return ee.endsWith(W) && (ee = ee.slice(0, W.length * -1)), L === "uppercase" || L === "upper" ? ee = ee.toLocaleUpperCase() : L === "lowercase" || L === "lower" ? ee = ee.toLocaleLowerCase() : L === "capitalize" && (ee = ee.charAt(0).toUpperCase() + ee.slice(1).toLowerCase()), _(ee);
34318
+ return ee.endsWith(W) && (ee = ee.slice(0, W.length * -1)), P === "uppercase" || P === "upper" ? ee = ee.toLocaleUpperCase() : P === "lowercase" || P === "lower" ? ee = ee.toLocaleLowerCase() : P === "capitalize" && (ee = ee.charAt(0).toUpperCase() + ee.slice(1).toLowerCase()), _(ee);
34319
34319
  }
34320
34320
  function ge(ce) {
34321
34321
  V(!0), S && S(ce, e);
@@ -34405,7 +34405,7 @@ function I7({
34405
34405
  onFocus: N,
34406
34406
  ...T
34407
34407
  }) {
34408
- let [O, M] = v.useState(t?.toString() ?? ""), [D, R] = v.useState(!1), [W, K] = v.useState(!1), [H, j] = v.useState(!1), { defaults: L } = v.useContext($e), B = typeof x == "string" ? x : x({ value: t, touched: D, focused: W, required: u, disabled: f, readonly: d }), _ = typeof E == "string" ? E : E(t), $ = l ?? L.input.size, G = a ?? L.input.direction, P = c ?? L.input.alignment, V = s ?? i + "-id", [Y, q, J] = yn({
34408
+ let [O, M] = v.useState(t?.toString() ?? ""), [D, R] = v.useState(!1), [W, K] = v.useState(!1), [H, j] = v.useState(!1), { defaults: P } = v.useContext($e), B = typeof x == "string" ? x : x({ value: t, touched: D, focused: W, required: u, disabled: f, readonly: d }), _ = typeof E == "string" ? E : E(t), $ = l ?? P.input.size, G = a ?? P.input.direction, L = c ?? P.input.alignment, V = s ?? i + "-id", [Y, q, J] = yn({
34409
34409
  icon: r,
34410
34410
  error: B,
34411
34411
  showInfo: it(W, H),
@@ -34414,9 +34414,9 @@ function I7({
34414
34414
  helpTag: k,
34415
34415
  hideIconRight: y
34416
34416
  }), ne = B.length > 0 ? "input is-fake is-danger" : "input is-fake";
34417
- ne += _e($), ne += xt(P), d && (ne += " is-static"), b && (ne += ` ${b.trim()}`), f && (ne += " is-disabled");
34417
+ ne += _e($), ne += xt(L), d && (ne += " is-static"), b && (ne += ` ${b.trim()}`), f && (ne += " is-disabled");
34418
34418
  let X = "transparent-input";
34419
- X += _e($), X += xt(P), v.useEffect(() => {
34419
+ X += _e($), X += xt(L), v.useEffect(() => {
34420
34420
  t && !isNaN(+t) ? M(t.toString()) : t === 0 ? M("0") : t && isNaN(+t) ? M("") : t || M("");
34421
34421
  }, [t]);
34422
34422
  function re(he) {
@@ -34510,7 +34510,7 @@ function R7({
34510
34510
  labelHidden: M = !1,
34511
34511
  infoData: D
34512
34512
  }) {
34513
- let [R, W] = v.useState(!1), [K, H] = v.useState(!1), [j, L] = v.useState(!1), { defaults: B } = v.useContext($e), _ = h ?? B.input.size, $ = O ?? B.input.direction, G = typeof a == "string" ? a : a({ value: t, touched: R, focused: j, required: p, disabled: u, readonly: b }), P = typeof l == "string" ? l : l(t), V = ur(D, it(j, K)) ? /* @__PURE__ */ m("span", { className: "mx-1", children: Hr(D, () => {
34513
+ let [R, W] = v.useState(!1), [K, H] = v.useState(!1), [j, P] = v.useState(!1), { defaults: B } = v.useContext($e), _ = h ?? B.input.size, $ = O ?? B.input.direction, G = typeof a == "string" ? a : a({ value: t, touched: R, focused: j, required: p, disabled: u, readonly: b }), L = typeof l == "string" ? l : l(t), V = ur(D, it(j, K)) ? /* @__PURE__ */ m("span", { className: "mx-1", children: Hr(D, () => {
34514
34514
  }, o) }) : void 0, Y = v.useMemo(
34515
34515
  () => ({
34516
34516
  width: "100%",
@@ -34527,11 +34527,11 @@ function R7({
34527
34527
  function q(X) {
34528
34528
  D ? setTimeout(() => {
34529
34529
  const re = document.getElementById(y ?? d);
34530
- document.activeElement !== re && (L(!1), x && x(X));
34531
- }, Pt) : (x && x(X), L(!1));
34530
+ document.activeElement !== re && (P(!1), x && x(X));
34531
+ }, Pt) : (x && x(X), P(!1));
34532
34532
  }
34533
34533
  function J(X) {
34534
- W(!0), w && w(X, o), L(!0);
34534
+ W(!0), w && w(X, o), P(!0);
34535
34535
  }
34536
34536
  function ne(X) {
34537
34537
  u || (R || W(!0), E && E(X), T && T(X.target.valueAsNumber));
@@ -34582,7 +34582,7 @@ function R7({
34582
34582
  /* @__PURE__ */ m("div", { className: "range-slider__progress" })
34583
34583
  ] }),
34584
34584
  G.length > 0 && /* @__PURE__ */ m("p", { className: "help is-danger", children: G }),
34585
- P.length > 0 && /* @__PURE__ */ m("p", { className: "help is-info", children: P })
34585
+ L.length > 0 && /* @__PURE__ */ m("p", { className: "help is-info", children: L })
34586
34586
  ]
34587
34587
  }
34588
34588
  );
@@ -34698,21 +34698,21 @@ function $7({
34698
34698
  direction: K,
34699
34699
  value: H = { files: [], path: "" },
34700
34700
  icon: j = pd,
34701
- boxed: L = !1,
34701
+ boxed: P = !1,
34702
34702
  accept: B,
34703
34703
  capture: _ = !1,
34704
34704
  noFilesTxt: $ = "Geen bestand(en) geselecteerd",
34705
34705
  chooseFileTxt: G = "Kies een bestand",
34706
- infoData: P,
34706
+ infoData: L,
34707
34707
  formatter: V = (Y) => Y.files.length > 0 ? Y.files.map((q) => q.name).join(", ") : $
34708
34708
  }) {
34709
34709
  let [Y, q] = v.useState(!1), [J, ne] = v.useState(!1), [X, re] = v.useState(!1), { defaults: ye } = v.useContext($e), le = R ?? ye.input.size, we = K ?? ye.input.direction, he = W ?? ye.input.alignment, ke = "file has-name";
34710
- L ? ke += " is-boxed" : ke += " is-fullwidth", ke += _e(le), ke += xt(he);
34711
- let Ee = V(H), Oe, Ne = ur(P, it(J, X)) ? /* @__PURE__ */ m("span", { className: "mx-1", children: Hr(P, () => {
34710
+ P ? ke += " is-boxed" : ke += " is-fullwidth", ke += _e(le), ke += xt(he);
34711
+ let Ee = V(H), Oe, Ne = ur(L, it(J, X)) ? /* @__PURE__ */ m("span", { className: "mx-1", children: Hr(L, () => {
34712
34712
  }, r) }) : void 0, Ye = typeof i == "string" ? i : i({ value: H, touched: Y, focused: J, required: f, disabled: a, readonly: S }), me = typeof s == "string" ? s : s(Ee);
34713
34713
  j && typeof j == "string" ? Oe = /* @__PURE__ */ m("i", { className: j }) : j && typeof j != "string" && (Oe = /* @__PURE__ */ m(pe, { icon: j }));
34714
34714
  function ge(ce) {
34715
- Y || q(!0), P ? setTimeout(() => {
34715
+ Y || q(!0), L ? setTimeout(() => {
34716
34716
  const ee = document.getElementById(p ?? u);
34717
34717
  document.activeElement !== ee && (ne(!1), C && C(ce));
34718
34718
  }, Pt) : (C && C(ce), ne(!1));
@@ -34842,10 +34842,10 @@ function Q5({
34842
34842
  x = N[N.length - 1];
34843
34843
  let T = e.substring(0, N.length).split(Ge).filter((B) => B !== s).length, M = o.substring(0, N.length).split(Ge).filter((B) => B !== s).length !== T, D = e[N.length - 1] !== void 0 && o[N.length - 2] !== void 0 && e[N.length - 1] !== s && e[N.length - 1] !== o[N.length - 1] && e[N.length - 1] === o[N.length - 2];
34844
34844
  !p && (M || D) && T > 0 && (o ?? "").indexOf(x ?? "") > -1 && i[n] !== void 0 && (k = !0, x = i[n]);
34845
- let W = a.map((B) => E[B]).filter((B) => B === x).length, K = N.filter((B) => B === x).length, j = o.substring(0, o.indexOf(s)).split(Ge).filter((B, _) => B === x && i[_] !== B).length + K + W + (k ? 1 : 0), L = 0;
34845
+ let W = a.map((B) => E[B]).filter((B) => B === x).length, K = N.filter((B) => B === x).length, j = o.substring(0, o.indexOf(s)).split(Ge).filter((B, _) => B === x && i[_] !== B).length + K + W + (k ? 1 : 0), P = 0;
34846
34846
  for (let B = 0; B < d; B++) {
34847
34847
  let _ = E[B];
34848
- if (S = B + 1, _ === x && L++, L >= j) break;
34848
+ if (S = B + 1, _ === x && P++, P >= j) break;
34849
34849
  }
34850
34850
  }
34851
34851
  if (p) {
@@ -35108,24 +35108,27 @@ function F7({
35108
35108
  size: K,
35109
35109
  alignment: H,
35110
35110
  direction: j,
35111
- labelHidden: L = !1,
35111
+ labelHidden: P = !1,
35112
35112
  loading: B = !1,
35113
35113
  icon: _ = $3,
35114
35114
  suffix: $ = "",
35115
35115
  prefix: G = "",
35116
- decimalScale: P = 2,
35116
+ decimalScale: L = 2,
35117
35117
  decimalSeparator: V = ",",
35118
35118
  groupSeparator: Y = "."
35119
35119
  }) {
35120
- let [q, J] = v.useState(!1), [ne, X] = v.useState(!1), [re, ye] = v.useState(!1), [le, we] = v.useState(c?.toString() ?? ""), he = nL({
35121
- prefix: G,
35122
- suffix: $,
35123
- decimalLimit: P,
35124
- decimalSymbol: V,
35125
- allowNegative: t,
35126
- allowDecimal: !0,
35127
- thousandsSeparatorSymbol: Y
35128
- }), { defaults: ke } = v.useContext($e), Ee = K ?? ke.input.size, Oe = j ?? ke.input.direction, Ne = H ?? ke.input.alignment, Ye = typeof r == "string" ? r : r({ value: c, touched: q, focused: ne, required: u, disabled: o, readonly: S }), me = typeof i == "string" ? i : i(c), ge = Ye.length > 0 ? "input is-danger" : "input";
35120
+ let [q, J] = v.useState(!1), [ne, X] = v.useState(!1), [re, ye] = v.useState(!1), [le, we] = v.useState(c?.toString() ?? ""), he = v.useMemo(
35121
+ () => nL({
35122
+ prefix: G,
35123
+ suffix: $,
35124
+ decimalLimit: L,
35125
+ decimalSymbol: V,
35126
+ allowNegative: t,
35127
+ allowDecimal: L !== 0,
35128
+ thousandsSeparatorSymbol: Y
35129
+ }),
35130
+ [L, V, t, Y, G, $]
35131
+ ), { defaults: ke } = v.useContext($e), Ee = K ?? ke.input.size, Oe = j ?? ke.input.direction, Ne = H ?? ke.input.alignment, Ye = typeof r == "string" ? r : r({ value: c, touched: q, focused: ne, required: u, disabled: o, readonly: S }), me = typeof i == "string" ? i : i(c), ge = Ye.length > 0 ? "input is-danger" : "input";
35129
35132
  ge += _e(Ee), ge += xt(Ne), S && (ge += " is-static");
35130
35133
  let [Ie, Te, ce] = yn({
35131
35134
  icon: _,
@@ -35163,7 +35166,7 @@ function F7({
35163
35166
  inputId: h ?? l,
35164
35167
  label: s ?? l ?? h,
35165
35168
  size: Ee,
35166
- labelHidden: L,
35169
+ labelHidden: P,
35167
35170
  loading: B,
35168
35171
  direction: Oe,
35169
35172
  required: u,