sera-components 1.1.5 → 1.1.8

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 (43) hide show
  1. package/dist/{components/src/basic → basic}/Language.d.ts +1 -1
  2. package/dist/{components/src/basic → basic}/Menu.d.ts +1 -1
  3. package/dist/data/display/EnumDisplay.d.ts +2 -0
  4. package/dist/{components/src/data → data}/display/index.d.ts +2 -2
  5. package/dist/{components/src/data → data}/inputs/ForeignKeyInput.d.ts +1 -1
  6. package/dist/{components/src/data → data}/inputs/index.d.ts +1 -1
  7. package/dist/{components/src/form → form}/Form.d.ts +1 -1
  8. package/dist/{components/src/form → form}/FormItem.d.ts +1 -1
  9. package/dist/index.js +293 -282
  10. package/dist/index.umd.cjs +5 -5
  11. package/dist/{components/src/table → table}/Table.d.ts +1 -1
  12. package/dist/{components/src/table → table}/makeColumns.d.ts +1 -1
  13. package/dist/{components/src/view → view}/View.d.ts +1 -1
  14. package/dist/{components/src/view → view}/ViewItem.d.ts +1 -1
  15. package/dist/{components/src/view → view}/ViewNestedPropertyItem.d.ts +1 -1
  16. package/dist/{components/src/view → view}/ViewTab.d.ts +1 -1
  17. package/package.json +7 -7
  18. /package/dist/{components/src/basic → basic}/CountryFlag.d.ts +0 -0
  19. /package/dist/{components/src/basic → basic}/Locale.d.ts +0 -0
  20. /package/dist/{components/src/basic → basic}/Transition.d.ts +0 -0
  21. /package/dist/{components/src/basic → basic}/index.d.ts +0 -0
  22. /package/dist/{components/src/data → data}/display/BooleanDisplay.d.ts +0 -0
  23. /package/dist/{components/src/data → data}/display/DateTimeDisplay.d.ts +0 -0
  24. /package/dist/{components/src/data → data}/display/ForeignKeyDisplay.d.ts +0 -0
  25. /package/dist/{components/src/data → data}/display/TextDisplay.d.ts +0 -0
  26. /package/dist/{components/src/data → data}/index.d.ts +0 -0
  27. /package/dist/{components/src/data → data}/inputs/BooleanInput.d.ts +0 -0
  28. /package/dist/{components/src/data → data}/inputs/NumberInput.d.ts +0 -0
  29. /package/dist/{components/src/data → data}/inputs/PhoneNumberInput.d.ts +0 -0
  30. /package/dist/{components/src/data → data}/inputs/TextInput.d.ts +0 -0
  31. /package/dist/{components/src/form → form}/FormItemLabel.d.ts +0 -0
  32. /package/dist/{components/src/form → form}/index.d.ts +0 -0
  33. /package/dist/{components/src/index.d.ts → index.d.ts} +0 -0
  34. /package/dist/{components/src/misc → misc}/index.d.ts +0 -0
  35. /package/dist/{components/src/misc → misc}/trie.d.ts +0 -0
  36. /package/dist/{components/src/misc → misc}/utils.d.ts +0 -0
  37. /package/dist/{components/src/table → table}/EmbeddedTable.d.ts +0 -0
  38. /package/dist/{components/src/table → table}/TableAction.d.ts +0 -0
  39. /package/dist/{components/src/table → table}/TableContent.d.ts +0 -0
  40. /package/dist/{components/src/table → table}/TablePagination.d.ts +0 -0
  41. /package/dist/{components/src/table → table}/index.d.ts +0 -0
  42. /package/dist/{components/src/view → view}/MultiTabView.d.ts +0 -0
  43. /package/dist/{components/src/view → view}/index.d.ts +0 -0
package/dist/index.js CHANGED
@@ -2,15 +2,15 @@ var on = Object.defineProperty;
2
2
  var ln = (e, n, t) => n in e ? on(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var X = (e, n, t) => ln(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import * as f from "react";
5
- import sn, { createContext as un, useContext as ke, useMemo as E, useState as _, useEffect as Te } from "react";
6
- import { Paper as re, Image as cn, Text as k, Menu as ie, Button as q, Container as dn, Alert as qe, Stack as ge, Flex as B, Loader as Re, NavLink as it, Checkbox as me, Group as D, Input as W, useCombobox as St, Combobox as F, Grid as A, InputBase as fn, PasswordInput as hn, CloseButton as mn, Divider as gn, Tooltip as Ct, Fieldset as pn, Table as Rt, rem as ue, Pagination as xn, MenuTarget as vn, MenuDropdown as yn, MenuItem as bn, Tabs as ye } from "@mantine/core";
5
+ import sn, { createContext as un, useContext as ke, useMemo as k, useState as $, useEffect as Te } from "react";
6
+ import { Paper as re, Image as cn, Text as E, Menu as ie, Button as q, Container as dn, Alert as qe, Stack as ge, Flex as B, Loader as Re, NavLink as it, Checkbox as me, Group as _, Input as W, useCombobox as St, Combobox as F, Grid as A, InputBase as fn, PasswordInput as hn, CloseButton as mn, Divider as gn, Tooltip as Ct, Fieldset as pn, Table as Rt, rem as ce, Pagination as xn, MenuTarget as vn, MenuDropdown as yn, MenuItem as bn, Tabs as ve } from "@mantine/core";
7
7
  import { IconCheck as wn, IconInfoCircle as We, IconChevronRight as jn, IconSearch as Et, IconHelpOctagonFilled as kt, IconPlus as Sn, IconPencil as Cn, IconReload as Rn, IconDatabaseImport as En, IconDownload as kn, IconSelector as Tn } from "@tabler/icons-react";
8
8
  import { observer as ee } from "mobx-react-lite";
9
- import { InternalLink as Tt } from "sera-route";
9
+ import { isObjectProperty as se, isDraftRecord as Tt } from "sera-db";
10
+ import { InternalLink as Nt } from "sera-route";
10
11
  import { IMaskInput as Nn } from "react-imask";
11
- import { isDraftRecord as Nt, isObjectProperty as pe } from "sera-db";
12
12
  import { flexRender as lt, useReactTable as Pt, getCoreRowModel as It, getPaginationRowModel as Pn } from "@tanstack/react-table";
13
- var be = { exports: {} }, ce = {};
13
+ var ye = { exports: {} }, de = {};
14
14
  /**
15
15
  * @license React
16
16
  * react-jsx-runtime.production.js
@@ -22,7 +22,7 @@ var be = { exports: {} }, ce = {};
22
22
  */
23
23
  var st;
24
24
  function In() {
25
- if (st) return ce;
25
+ if (st) return de;
26
26
  st = 1;
27
27
  var e = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
28
28
  function t(a, r, o) {
@@ -40,9 +40,9 @@ function In() {
40
40
  props: o
41
41
  };
42
42
  }
43
- return ce.Fragment = n, ce.jsx = t, ce.jsxs = t, ce;
43
+ return de.Fragment = n, de.jsx = t, de.jsxs = t, de;
44
44
  }
45
- var de = {};
45
+ var fe = {};
46
46
  /**
47
47
  * @license React
48
48
  * react-jsx-runtime.development.js
@@ -71,7 +71,7 @@ function Ln() {
71
71
  return "Suspense";
72
72
  case U:
73
73
  return "SuspenseList";
74
- case $:
74
+ case O:
75
75
  return "Activity";
76
76
  }
77
77
  if (typeof m == "object")
@@ -161,7 +161,7 @@ function Ln() {
161
161
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
162
162
  )), m = this.props.ref, m !== void 0 ? m : null;
163
163
  }
164
- function c(m, S, T, I, J, z, _e, $e) {
164
+ function c(m, S, T, I, J, z, $e, Oe) {
165
165
  return T = z.ref, m = {
166
166
  $$typeof: p,
167
167
  type: m,
@@ -185,15 +185,15 @@ function Ln() {
185
185
  configurable: !1,
186
186
  enumerable: !1,
187
187
  writable: !0,
188
- value: _e
188
+ value: $e
189
189
  }), Object.defineProperty(m, "_debugTask", {
190
190
  configurable: !1,
191
191
  enumerable: !1,
192
192
  writable: !0,
193
- value: $e
193
+ value: Oe
194
194
  }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
195
195
  }
196
- function d(m, S, T, I, J, z, _e, $e) {
196
+ function d(m, S, T, I, J, z, $e, Oe) {
197
197
  var L = S.children;
198
198
  if (L !== void 0)
199
199
  if (I)
@@ -226,8 +226,8 @@ React keys must be passed directly to JSX without using spread:
226
226
  }
227
227
  if (L = null, T !== void 0 && (t(T), L = "" + T), l(S) && (t(S.key), L = "" + S.key), "key" in S) {
228
228
  T = {};
229
- for (var Oe in S)
230
- Oe !== "key" && (T[Oe] = S[Oe]);
229
+ for (var De in S)
230
+ De !== "key" && (T[De] = S[De]);
231
231
  } else T = S;
232
232
  return L && s(
233
233
  T,
@@ -239,26 +239,26 @@ React keys must be passed directly to JSX without using spread:
239
239
  J,
240
240
  r(),
241
241
  T,
242
- _e,
243
- $e
242
+ $e,
243
+ Oe
244
244
  );
245
245
  }
246
246
  function x(m) {
247
247
  typeof m == "object" && m !== null && m.$$typeof === p && m._store && (m._store.validated = 1);
248
248
  }
249
- var g = sn, p = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), y = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), ae = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, et = Object.prototype.hasOwnProperty, rn = Array.isArray, Ae = console.createTask ? console.createTask : function() {
249
+ var g = sn, p = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), y = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), M = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), ae = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, et = Object.prototype.hasOwnProperty, rn = Array.isArray, Ae = console.createTask ? console.createTask : function() {
250
250
  return null;
251
251
  };
252
252
  g = {
253
- react_stack_bottom_frame: function(m) {
253
+ "react-stack-bottom-frame": function(m) {
254
254
  return m();
255
255
  }
256
256
  };
257
- var tt, nt = {}, rt = g.react_stack_bottom_frame.bind(
257
+ var tt, nt = {}, rt = g["react-stack-bottom-frame"].bind(
258
258
  g,
259
259
  o
260
260
  )(), at = Ae(a(o)), ot = {};
261
- de.Fragment = h, de.jsx = function(m, S, T, I, J) {
261
+ fe.Fragment = h, fe.jsx = function(m, S, T, I, J) {
262
262
  var z = 1e4 > ae.recentlyCreatedOwnerStacks++;
263
263
  return d(
264
264
  m,
@@ -270,7 +270,7 @@ React keys must be passed directly to JSX without using spread:
270
270
  z ? Error("react-stack-top-frame") : rt,
271
271
  z ? Ae(a(m)) : at
272
272
  );
273
- }, de.jsxs = function(m, S, T, I, J) {
273
+ }, fe.jsxs = function(m, S, T, I, J) {
274
274
  var z = 1e4 > ae.recentlyCreatedOwnerStacks++;
275
275
  return d(
276
276
  m,
@@ -283,11 +283,11 @@ React keys must be passed directly to JSX without using spread:
283
283
  z ? Ae(a(m)) : at
284
284
  );
285
285
  };
286
- }()), de;
286
+ }()), fe;
287
287
  }
288
288
  var ct;
289
289
  function Fn() {
290
- return ct || (ct = 1, process.env.NODE_ENV === "production" ? be.exports = In() : be.exports = Ln()), be.exports;
290
+ return ct || (ct = 1, process.env.NODE_ENV === "production" ? ye.exports = In() : ye.exports = Ln()), ye.exports;
291
291
  }
292
292
  var i = Fn();
293
293
  const N = {
@@ -351,24 +351,24 @@ const N = {
351
351
  svgFlag: "https://flagcdn.com/in.svg",
352
352
  emojiFlag: "🇮🇳"
353
353
  }
354
- }, An = ({ flag: e }) => /* @__PURE__ */ i.jsx(re, { shadow: "xs", w: 20, h: 14, children: /* @__PURE__ */ i.jsx(cn, { src: e.svgFlag, w: 20, h: 14, fit: "cover" }) }), _n = ({ flag: e }) => /* @__PURE__ */ i.jsx(
355
- k,
354
+ }, An = ({ flag: e }) => /* @__PURE__ */ i.jsx(re, { shadow: "xs", w: 20, h: 14, children: /* @__PURE__ */ i.jsx(cn, { src: e.svgFlag, w: 20, h: 14, fit: "cover" }) }), $n = ({ flag: e }) => /* @__PURE__ */ i.jsx(
355
+ E,
356
356
  {
357
357
  component: "span",
358
358
  style: (n) => ({ textShadow: n.shadows.xs }),
359
359
  children: e.emojiFlag
360
360
  }
361
- ), Be = navigator.userAgent.includes("Windows") ? An : _n, xe = un(new Intl.Locale("en-US")), Ja = ee(
361
+ ), Be = navigator.userAgent.includes("Windows") ? An : $n, pe = un(new Intl.Locale("en-US")), Xa = ee(
362
362
  ({
363
363
  value: e,
364
364
  children: n
365
- }) => /* @__PURE__ */ i.jsx(xe.Provider, { value: e.locale, children: n })
366
- ), $n = {
365
+ }) => /* @__PURE__ */ i.jsx(pe.Provider, { value: e.locale, children: n })
366
+ ), On = {
367
367
  lang2value: {
368
368
  en: "Choose Language",
369
369
  vi: "Chọn ngôn ngữ"
370
370
  }
371
- }, we = {
371
+ }, be = {
372
372
  en: {
373
373
  name: "English",
374
374
  flag: N.US,
@@ -379,39 +379,39 @@ const N = {
379
379
  flag: N.VN,
380
380
  locale: new Intl.Locale("vi-VN")
381
381
  }
382
- }, Xa = ({
382
+ }, Za = ({
383
383
  locale: e,
384
384
  setLocale: n
385
385
  }) => {
386
- const t = E(() => Object.entries(we).map(
386
+ const t = k(() => Object.entries(be).map(
387
387
  ([a, { flag: r, name: o, locale: l }]) => /* @__PURE__ */ i.jsx(
388
388
  ie.Item,
389
389
  {
390
390
  onClick: () => n(l),
391
391
  leftSection: /* @__PURE__ */ i.jsx(Be, { flag: r }),
392
392
  rightSection: e.language === a && /* @__PURE__ */ i.jsx(wn, { size: "15", color: "#2986cc", stroke: 2 }),
393
- children: /* @__PURE__ */ i.jsx(k, { size: "sm", children: o })
393
+ children: /* @__PURE__ */ i.jsx(E, { size: "sm", children: o })
394
394
  },
395
395
  a
396
396
  )
397
- ), [we, e]);
397
+ ), [be, e]);
398
398
  return /* @__PURE__ */ i.jsxs(ie, { width: 170, children: [
399
399
  /* @__PURE__ */ i.jsx(ie.Target, { children: /* @__PURE__ */ i.jsx(
400
400
  q,
401
401
  {
402
402
  variant: "subtle",
403
403
  size: "sm",
404
- leftSection: /* @__PURE__ */ i.jsx(Be, { flag: we[e.language].flag }),
405
- children: /* @__PURE__ */ i.jsx(k, { size: "sm", children: we[e.language].name })
404
+ leftSection: /* @__PURE__ */ i.jsx(Be, { flag: be[e.language].flag }),
405
+ children: /* @__PURE__ */ i.jsx(E, { size: "sm", children: be[e.language].name })
406
406
  }
407
407
  ) }),
408
408
  /* @__PURE__ */ i.jsxs(ie.Dropdown, { children: [
409
- /* @__PURE__ */ i.jsx(ie.Label, { children: /* @__PURE__ */ i.jsx(k, { size: "sm", children: $n.lang2value[e.language] }) }),
409
+ /* @__PURE__ */ i.jsx(ie.Label, { children: /* @__PURE__ */ i.jsx(E, { size: "sm", children: On.lang2value[e.language] }) }),
410
410
  t
411
411
  ] })
412
412
  ] });
413
- }, O = ({ value: e }) => {
414
- const n = ke(xe);
413
+ }, D = ({ value: e }) => {
414
+ const n = ke(pe);
415
415
  return e.lang2value[n.language] || e.lang2value[e.lang];
416
416
  };
417
417
  /**
@@ -455,14 +455,14 @@ function Ke(e) {
455
455
  return n;
456
456
  }
457
457
  function Lt(e, n, t = "/") {
458
- return On(e, n, t, !1);
458
+ return Dn(e, n, t, !1);
459
459
  }
460
- function On(e, n, t, a) {
460
+ function Dn(e, n, t, a) {
461
461
  let r = typeof n == "string" ? Ke(n) : n, o = Z(r.pathname || "/", t);
462
462
  if (o == null)
463
463
  return null;
464
464
  let l = Ft(e);
465
- Dn(l);
465
+ _n(l);
466
466
  let s = null;
467
467
  for (let u = 0; s == null && u < l.length; ++u) {
468
468
  let c = Gn(o);
@@ -522,7 +522,7 @@ function At(e) {
522
522
  (u) => e.startsWith("/") && u === "" ? "/" : u
523
523
  );
524
524
  }
525
- function Dn(e) {
525
+ function _n(e) {
526
526
  e.sort(
527
527
  (n, t) => n.score !== t.score ? t.score - n.score : Vn(
528
528
  n.routesMeta.map((a) => a.childrenIndex),
@@ -651,7 +651,7 @@ function Xn(e, n) {
651
651
  r === ".." ? t.length > 1 && t.pop() : r !== "." && t.push(r);
652
652
  }), t.length > 1 ? t.join("/") : "/";
653
653
  }
654
- function De(e, n, t, a) {
654
+ function _e(e, n, t, a) {
655
655
  return `Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(
656
656
  a
657
657
  )}]. Please separate it out to the \`to.${t}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
@@ -661,23 +661,23 @@ function Zn(e) {
661
661
  (n, t) => t === 0 || n.route.path && n.route.path.length > 0
662
662
  );
663
663
  }
664
- function _t(e) {
664
+ function $t(e) {
665
665
  let n = Zn(e);
666
666
  return n.map(
667
667
  (t, a) => a === n.length - 1 ? t.pathname : t.pathnameBase
668
668
  );
669
669
  }
670
- function $t(e, n, t, a = !1) {
670
+ function Ot(e, n, t, a = !1) {
671
671
  let r;
672
672
  typeof e == "string" ? r = Ke(e) : (r = { ...e }, P(
673
673
  !r.pathname || !r.pathname.includes("?"),
674
- De("?", "pathname", "search", r)
674
+ _e("?", "pathname", "search", r)
675
675
  ), P(
676
676
  !r.pathname || !r.pathname.includes("#"),
677
- De("#", "pathname", "hash", r)
677
+ _e("#", "pathname", "hash", r)
678
678
  ), P(
679
679
  !r.search || !r.search.includes("#"),
680
- De("#", "search", "hash", r)
680
+ _e("#", "search", "hash", r)
681
681
  ));
682
682
  let o = e === "" || r.pathname === "", l = o ? "/" : r.pathname, s;
683
683
  if (l == null)
@@ -699,29 +699,29 @@ var K = (e) => e.join("/").replace(/\/\/+/g, "/"), Qn = (e) => e.replace(/\/+$/,
699
699
  function nr(e) {
700
700
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
701
701
  }
702
- var Ot = [
702
+ var Dt = [
703
703
  "POST",
704
704
  "PUT",
705
705
  "PATCH",
706
706
  "DELETE"
707
707
  ];
708
708
  new Set(
709
- Ot
709
+ Dt
710
710
  );
711
711
  var rr = [
712
712
  "GET",
713
- ...Ot
713
+ ...Dt
714
714
  ];
715
715
  new Set(rr);
716
- var se = f.createContext(null);
717
- se.displayName = "DataRouter";
716
+ var ue = f.createContext(null);
717
+ ue.displayName = "DataRouter";
718
718
  var Ne = f.createContext(null);
719
719
  Ne.displayName = "DataRouterState";
720
720
  f.createContext(!1);
721
- var Dt = f.createContext({
721
+ var _t = f.createContext({
722
722
  isTransitioning: !1
723
723
  });
724
- Dt.displayName = "ViewTransition";
724
+ _t.displayName = "ViewTransition";
725
725
  var ar = f.createContext(
726
726
  /* @__PURE__ */ new Map()
727
727
  );
@@ -751,7 +751,7 @@ function ir(e, { relative: n } = {}) {
751
751
  // router loaded. We can help them understand how to avoid that.
752
752
  "useHref() may be used only in the context of a <Router> component."
753
753
  );
754
- let { basename: t, navigator: a } = f.useContext(H), { hash: r, pathname: o, search: l } = ve(e, { relative: n }), s = o;
754
+ let { basename: t, navigator: a } = f.useContext(H), { hash: r, pathname: o, search: l } = xe(e, { relative: n }), s = o;
755
755
  return t !== "/" && (s = o === "/" ? t : K([t, o])), a.createHref({ pathname: s, search: l, hash: r });
756
756
  }
757
757
  function Pe() {
@@ -780,7 +780,7 @@ function lr() {
780
780
  // router loaded. We can help them understand how to avoid that.
781
781
  "useNavigate() may be used only in the context of a <Router> component."
782
782
  );
783
- let e = f.useContext(se), { basename: n, navigator: t } = f.useContext(H), { matches: a } = f.useContext(Y), { pathname: r } = te(), o = JSON.stringify(_t(a)), l = f.useRef(!1);
783
+ let e = f.useContext(ue), { basename: n, navigator: t } = f.useContext(H), { matches: a } = f.useContext(Y), { pathname: r } = te(), o = JSON.stringify($t(a)), l = f.useRef(!1);
784
784
  return zt(() => {
785
785
  l.current = !0;
786
786
  }), f.useCallback(
@@ -790,7 +790,7 @@ function lr() {
790
790
  t.go(u);
791
791
  return;
792
792
  }
793
- let d = $t(
793
+ let d = Ot(
794
794
  u,
795
795
  JSON.parse(o),
796
796
  r,
@@ -812,10 +812,10 @@ function lr() {
812
812
  );
813
813
  }
814
814
  f.createContext(null);
815
- function ve(e, { relative: n } = {}) {
816
- let { matches: t } = f.useContext(Y), { pathname: a } = te(), r = JSON.stringify(_t(t));
815
+ function xe(e, { relative: n } = {}) {
816
+ let { matches: t } = f.useContext(Y), { pathname: a } = te(), r = JSON.stringify($t(t));
817
817
  return f.useMemo(
818
- () => $t(
818
+ () => Ot(
819
819
  e,
820
820
  JSON.parse(r),
821
821
  a,
@@ -924,7 +924,7 @@ var cr = /* @__PURE__ */ f.createElement(ur, null), dr = class extends f.Compone
924
924
  }
925
925
  };
926
926
  function fr({ routeContext: e, match: n, children: t }) {
927
- let a = f.useContext(se);
927
+ let a = f.useContext(ue);
928
928
  return a && a.static && a.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (a.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ f.createElement(Y.Provider, { value: e }, t);
929
929
  }
930
930
  function hr(e, n = [], t = null, a = null) {
@@ -1007,7 +1007,7 @@ function Ge(e) {
1007
1007
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1008
1008
  }
1009
1009
  function mr(e) {
1010
- let n = f.useContext(se);
1010
+ let n = f.useContext(ue);
1011
1011
  return P(n, Ge(e)), n;
1012
1012
  }
1013
1013
  function gr(e) {
@@ -1092,19 +1092,19 @@ function Rr(e, n) {
1092
1092
  (!n || n === "_self") && // Let browser handle "target=_blank" etc.
1093
1093
  !Cr(e);
1094
1094
  }
1095
- var je = null;
1095
+ var we = null;
1096
1096
  function Er() {
1097
- if (je === null)
1097
+ if (we === null)
1098
1098
  try {
1099
1099
  new FormData(
1100
1100
  document.createElement("form"),
1101
1101
  // @ts-expect-error if FormData supports the submitter parameter, this will throw
1102
1102
  0
1103
- ), je = !1;
1103
+ ), we = !1;
1104
1104
  } catch {
1105
- je = !0;
1105
+ we = !0;
1106
1106
  }
1107
- return je;
1107
+ return we;
1108
1108
  }
1109
1109
  var kr = /* @__PURE__ */ new Set([
1110
1110
  "application/x-www-form-urlencoded",
@@ -1190,7 +1190,7 @@ async function Lr(e, n, t) {
1190
1190
  return [];
1191
1191
  })
1192
1192
  );
1193
- return $r(
1193
+ return Or(
1194
1194
  a.flat(1).filter(Ir).filter((r) => r.rel === "stylesheet" || r.rel === "preload").map(
1195
1195
  (r) => r.rel === "stylesheet" ? { ...r, rel: "prefetch", as: "style" } : { ...r, rel: "prefetch" }
1196
1196
  )
@@ -1245,27 +1245,27 @@ function Fr(e, n, { includeHydrateFallback: t } = {}) {
1245
1245
  function Ar(e) {
1246
1246
  return [...new Set(e)];
1247
1247
  }
1248
- function _r(e) {
1248
+ function $r(e) {
1249
1249
  let n = {}, t = Object.keys(e).sort();
1250
1250
  for (let a of t)
1251
1251
  n[a] = e[a];
1252
1252
  return n;
1253
1253
  }
1254
- function $r(e, n) {
1254
+ function Or(e, n) {
1255
1255
  let t = /* @__PURE__ */ new Set();
1256
1256
  return new Set(n), e.reduce((a, r) => {
1257
- let o = JSON.stringify(_r(r));
1257
+ let o = JSON.stringify($r(r));
1258
1258
  return t.has(o) || (t.add(o), a.push({ key: o, link: r })), a;
1259
1259
  }, []);
1260
1260
  }
1261
1261
  function Ut() {
1262
- let e = f.useContext(se);
1262
+ let e = f.useContext(ue);
1263
1263
  return Xe(
1264
1264
  e,
1265
1265
  "You must render this element inside a <DataRouterContext.Provider> element"
1266
1266
  ), e;
1267
1267
  }
1268
- function Or() {
1268
+ function Dr() {
1269
1269
  let e = f.useContext(Ne);
1270
1270
  return Xe(
1271
1271
  e,
@@ -1281,7 +1281,7 @@ function qt() {
1281
1281
  "You must render this element inside a <HydratedRouter> element"
1282
1282
  ), e;
1283
1283
  }
1284
- function Dr(e, n) {
1284
+ function _r(e, n) {
1285
1285
  let t = f.useContext(Ze), [a, r] = f.useState(!1), [o, l] = f.useState(!1), { onFocus: s, onBlur: u, onMouseEnter: c, onMouseLeave: d, onTouchStart: x } = n, g = f.useRef(null);
1286
1286
  f.useEffect(() => {
1287
1287
  if (e === "render" && l(!0), e === "viewport") {
@@ -1313,15 +1313,15 @@ function Dr(e, n) {
1313
1313
  o,
1314
1314
  g,
1315
1315
  {
1316
- onFocus: fe(s, p),
1317
- onBlur: fe(u, v),
1318
- onMouseEnter: fe(c, p),
1319
- onMouseLeave: fe(d, v),
1320
- onTouchStart: fe(x, p)
1316
+ onFocus: he(s, p),
1317
+ onBlur: he(u, v),
1318
+ onMouseEnter: he(c, p),
1319
+ onMouseLeave: he(d, v),
1320
+ onTouchStart: he(x, p)
1321
1321
  }
1322
1322
  ] : [!1, g, {}];
1323
1323
  }
1324
- function fe(e, n) {
1324
+ function he(e, n) {
1325
1325
  return (t) => {
1326
1326
  e && e(t), t.defaultPrevented || n(t);
1327
1327
  };
@@ -1351,7 +1351,7 @@ function Br({
1351
1351
  matches: n,
1352
1352
  ...t
1353
1353
  }) {
1354
- let a = te(), { manifest: r, routeModules: o } = qt(), { basename: l } = Ut(), { loaderData: s, matches: u } = Or(), c = f.useMemo(
1354
+ let a = te(), { manifest: r, routeModules: o } = qt(), { basename: l } = Ut(), { loaderData: s, matches: u } = Dr(), c = f.useMemo(
1355
1355
  () => ht(
1356
1356
  e,
1357
1357
  n,
@@ -1436,15 +1436,15 @@ var Kt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Vt = f.forwardRef(
1436
1436
  let { basename: v } = f.useContext(H), h = typeof c == "string" && Kt.test(c), j, b = !1;
1437
1437
  if (typeof c == "string" && h && (j = c, Wt))
1438
1438
  try {
1439
- let $ = new URL(window.location.href), G = c.startsWith("//") ? new URL($.protocol + c) : new URL(c), ae = Z(G.pathname, v);
1440
- G.origin === $.origin && ae != null ? c = ae + G.search + G.hash : b = !0;
1439
+ let O = new URL(window.location.href), G = c.startsWith("//") ? new URL(O.protocol + c) : new URL(c), ae = Z(G.pathname, v);
1440
+ G.origin === O.origin && ae != null ? c = ae + G.search + G.hash : b = !0;
1441
1441
  } catch {
1442
1442
  V(
1443
1443
  !1,
1444
1444
  `<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1445
1445
  );
1446
1446
  }
1447
- let C = ir(c, { relative: r }), [y, w, R] = Dr(
1447
+ let C = ir(c, { relative: r }), [y, w, R] = _r(
1448
1448
  a,
1449
1449
  g
1450
1450
  ), U = Vr(c, {
@@ -1455,8 +1455,8 @@ var Kt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Vt = f.forwardRef(
1455
1455
  relative: r,
1456
1456
  viewTransition: x
1457
1457
  });
1458
- function M($) {
1459
- n && n($), $.defaultPrevented || U($);
1458
+ function M(O) {
1459
+ n && n(O), O.defaultPrevented || U(O);
1460
1460
  }
1461
1461
  let ne = (
1462
1462
  // eslint-disable-next-line jsx-a11y/anchor-has-content
@@ -1489,7 +1489,7 @@ var qr = f.forwardRef(
1489
1489
  children: u,
1490
1490
  ...c
1491
1491
  }, d) {
1492
- let x = ve(l, { relative: c.relative }), g = te(), p = f.useContext(Ne), { navigator: v, basename: h } = f.useContext(H), j = p != null && // Conditional usage is OK here because the usage of a data router is static
1492
+ let x = xe(l, { relative: c.relative }), g = te(), p = f.useContext(Ne), { navigator: v, basename: h } = f.useContext(H), j = p != null && // Conditional usage is OK here because the usage of a data router is static
1493
1493
  // eslint-disable-next-line react-hooks/rules-of-hooks
1494
1494
  Xr(x) && s === !0, b = v.encodeLocation ? v.encodeLocation(x).pathname : x.pathname, C = g.pathname, y = p && p.navigation && p.navigation.location ? p.navigation.location.pathname : null;
1495
1495
  t || (C = C.toLowerCase(), y = y ? y.toLowerCase() : null, b = b.toLowerCase()), y && h && (y = Z(y, h) || y);
@@ -1498,8 +1498,8 @@ var qr = f.forwardRef(
1498
1498
  isActive: R,
1499
1499
  isPending: U,
1500
1500
  isTransitioning: j
1501
- }, ne = R ? n : void 0, $;
1502
- typeof a == "function" ? $ = a(M) : $ = [
1501
+ }, ne = R ? n : void 0, O;
1502
+ typeof a == "function" ? O = a(M) : O = [
1503
1503
  a,
1504
1504
  R ? "active" : null,
1505
1505
  U ? "pending" : null,
@@ -1511,7 +1511,7 @@ var qr = f.forwardRef(
1511
1511
  {
1512
1512
  ...c,
1513
1513
  "aria-current": ne,
1514
- className: $,
1514
+ className: O,
1515
1515
  ref: d,
1516
1516
  style: G,
1517
1517
  to: l,
@@ -1571,7 +1571,7 @@ function Kr(e) {
1571
1571
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1572
1572
  }
1573
1573
  function Ht(e) {
1574
- let n = f.useContext(se);
1574
+ let n = f.useContext(ue);
1575
1575
  return P(n, Kr(e)), n;
1576
1576
  }
1577
1577
  function Vr(e, {
@@ -1582,7 +1582,7 @@ function Vr(e, {
1582
1582
  relative: o,
1583
1583
  viewTransition: l
1584
1584
  } = {}) {
1585
- let s = Ye(), u = te(), c = ve(e, { relative: o });
1585
+ let s = Ye(), u = te(), c = xe(e, { relative: o });
1586
1586
  return f.useCallback(
1587
1587
  (d) => {
1588
1588
  if (Rr(d, n)) {
@@ -1653,7 +1653,7 @@ function Gr() {
1653
1653
  function Jr(e, { relative: n } = {}) {
1654
1654
  let { basename: t } = f.useContext(H), a = f.useContext(Y);
1655
1655
  P(a, "useFormAction must be used inside a RouteContext");
1656
- let [r] = a.matches.slice(-1), o = { ...ve(e || ".", { relative: n }) }, l = te();
1656
+ let [r] = a.matches.slice(-1), o = { ...xe(e || ".", { relative: n }) }, l = te();
1657
1657
  if (e == null) {
1658
1658
  o.search = l.search;
1659
1659
  let s = new URLSearchParams(o.search), u = s.getAll("index");
@@ -1666,7 +1666,7 @@ function Jr(e, { relative: n } = {}) {
1666
1666
  return (!e || e === ".") && r.route.index && (o.search = o.search ? o.search.replace(/^\?/, "?index&") : "?index"), t !== "/" && (o.pathname = o.pathname === "/" ? t : K([t, o.pathname])), Ue(o);
1667
1667
  }
1668
1668
  function Xr(e, { relative: n } = {}) {
1669
- let t = f.useContext(Dt);
1669
+ let t = f.useContext(_t);
1670
1670
  P(
1671
1671
  t != null,
1672
1672
  "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
@@ -1674,13 +1674,13 @@ function Xr(e, { relative: n } = {}) {
1674
1674
  let { basename: a } = Ht(
1675
1675
  "useViewTransitionState"
1676
1676
  /* useViewTransitionState */
1677
- ), r = ve(e, { relative: n });
1677
+ ), r = xe(e, { relative: n });
1678
1678
  if (!t.isTransitioning)
1679
1679
  return !1;
1680
1680
  let o = Z(t.currentLocation.pathname, a) || t.currentLocation.pathname, l = Z(t.nextLocation.pathname, a) || t.nextLocation.pathname;
1681
1681
  return Ee(r.pathname, l) != null || Ee(r.pathname, o) != null;
1682
1682
  }
1683
- const Za = ({ message: e }) => {
1683
+ const Qa = ({ message: e }) => {
1684
1684
  const n = Ye();
1685
1685
  return /* @__PURE__ */ i.jsx(
1686
1686
  dn,
@@ -1707,7 +1707,7 @@ const Za = ({ message: e }) => {
1707
1707
  )
1708
1708
  }
1709
1709
  );
1710
- }, Qa = ({ message: e }) => /* @__PURE__ */ i.jsx(
1710
+ }, eo = ({ message: e }) => /* @__PURE__ */ i.jsx(
1711
1711
  qe,
1712
1712
  {
1713
1713
  color: "red",
@@ -1716,7 +1716,7 @@ const Za = ({ message: e }) => {
1716
1716
  icon: /* @__PURE__ */ i.jsx(We, { size: 12, stroke: 1.5 }),
1717
1717
  children: e || "Sorry, the page you are looking for does not exist."
1718
1718
  }
1719
- ), Yt = ({ message: e }) => /* @__PURE__ */ i.jsx(k, { c: "red", size: "sm", children: e || "Not Found" }), eo = ({ tip: e }) => e === void 0 ? /* @__PURE__ */ i.jsx(B, { justify: "center", align: "center", children: /* @__PURE__ */ i.jsx(Re, { color: "blue", size: "md" }) }) : /* @__PURE__ */ i.jsxs(
1719
+ ), Yt = ({ message: e }) => /* @__PURE__ */ i.jsx(E, { c: "red", size: "sm", children: e || "Not Found" }), to = ({ tip: e }) => e === void 0 ? /* @__PURE__ */ i.jsx(B, { justify: "center", align: "center", children: /* @__PURE__ */ i.jsx(Re, { color: "blue", size: "md" }) }) : /* @__PURE__ */ i.jsxs(
1720
1720
  B,
1721
1721
  {
1722
1722
  gap: "md",
@@ -1729,10 +1729,10 @@ const Za = ({ message: e }) => {
1729
1729
  e
1730
1730
  ]
1731
1731
  }
1732
- ), to = ({ tip: e }) => e === void 0 ? /* @__PURE__ */ i.jsx(Re, { color: "blue", size: "xs" }) : /* @__PURE__ */ i.jsxs(B, { gap: "md", direction: "column", justify: "center", align: "center", children: [
1732
+ ), no = ({ tip: e }) => e === void 0 ? /* @__PURE__ */ i.jsx(Re, { color: "blue", size: "xs" }) : /* @__PURE__ */ i.jsxs(B, { gap: "md", direction: "column", justify: "center", align: "center", children: [
1733
1733
  /* @__PURE__ */ i.jsx(Re, { color: "blue", size: "xs" }),
1734
1734
  e
1735
- ] }), no = ({ message: e }) => /* @__PURE__ */ i.jsx(
1735
+ ] }), ro = ({ message: e }) => /* @__PURE__ */ i.jsx(
1736
1736
  qe,
1737
1737
  {
1738
1738
  color: "red",
@@ -1742,13 +1742,13 @@ const Za = ({ message: e }) => {
1742
1742
  children: e || "Sorry, you are not authorized to access this page."
1743
1743
  }
1744
1744
  );
1745
- function ro(e, n) {
1745
+ function ao(e, n) {
1746
1746
  return e.reduce((t, a) => {
1747
1747
  const r = n(a);
1748
1748
  return t[r] || (t[r] = []), t[r].push(a), t;
1749
1749
  }, {});
1750
1750
  }
1751
- function ao(e, n) {
1751
+ function oo(e, n) {
1752
1752
  const t = [];
1753
1753
  let a;
1754
1754
  return e.reduce((r, o) => {
@@ -1756,14 +1756,14 @@ function ao(e, n) {
1756
1756
  return l === void 0 ? (a === void 0 && (a = t.length, t.push([])), t[a].push(o)) : (r[l] === void 0 && (r[l] = t.length, t.push([])), t[r[l]].push(o)), r;
1757
1757
  }, {}), t;
1758
1758
  }
1759
- function oo(e, n) {
1759
+ function io(e, n) {
1760
1760
  const t = /* @__PURE__ */ new Set();
1761
1761
  return e.filter((a) => {
1762
1762
  const r = n(a);
1763
1763
  return t.has(r) ? !1 : (t.add(r), !0);
1764
1764
  });
1765
1765
  }
1766
- class io {
1766
+ class lo {
1767
1767
  constructor() {
1768
1768
  X(this, "items", []);
1769
1769
  X(this, "seen", /* @__PURE__ */ new Set());
@@ -1891,8 +1891,8 @@ function na(e, n) {
1891
1891
  return t;
1892
1892
  }).filter((t) => t !== null);
1893
1893
  }
1894
- const lo = (e) => {
1895
- const n = Ye(), t = te(), [a, r] = _(/* @__PURE__ */ new Set()), [o, l] = _(/* @__PURE__ */ new Set()), [s, u] = _(), c = E(() => na(e.items, e.checkPermission), [e.items, e.checkPermission]), d = E(() => ta(e.items), [e.items]), { key2fullpath: x, key2route: g } = E(
1894
+ const so = (e) => {
1895
+ const n = Ye(), t = te(), [a, r] = $(/* @__PURE__ */ new Set()), [o, l] = $(/* @__PURE__ */ new Set()), [s, u] = $(), c = k(() => na(e.items, e.checkPermission), [e.items, e.checkPermission]), d = k(() => ta(e.items), [e.items]), { key2fullpath: x, key2route: g } = k(
1896
1896
  () => ea(c),
1897
1897
  [c]
1898
1898
  );
@@ -1900,7 +1900,7 @@ const lo = (e) => {
1900
1900
  const v = t.pathname, h = d.findMatchingKey(v);
1901
1901
  h !== void 0 && (l(new Set(x[h])), u(h));
1902
1902
  }, [t, g]);
1903
- const p = E(() => {
1903
+ const p = k(() => {
1904
1904
  function v(h, j) {
1905
1905
  var C, y;
1906
1906
  const b = h.children !== void 0 && h.children.length > 0;
@@ -1982,26 +1982,26 @@ const lo = (e) => {
1982
1982
  return c.map((h) => v(h, 0));
1983
1983
  }, [c, s, o, a, n]);
1984
1984
  return /* @__PURE__ */ i.jsx(i.Fragment, { children: p });
1985
- }, he = ({ value: e }) => /* @__PURE__ */ i.jsx(k, { size: "sm", children: e });
1985
+ }, je = ({ value: e }) => /* @__PURE__ */ i.jsx(E, { size: "sm", children: e });
1986
1986
  function Qe(e, n) {
1987
1987
  const t = n.getDate().toString().padStart(2, "0"), a = (n.getMonth() + 1).toString().padStart(2, "0"), r = n.getFullYear();
1988
1988
  return e.baseName === "en-US" ? `${a}/${t}/${r}` : e.baseName === "vi-VN" ? `${t}/${a}/${r}` : `${a}/${t}/${r}`;
1989
1989
  }
1990
1990
  const ra = ({ value: e }) => {
1991
- const n = ke(xe), t = E(() => {
1991
+ const n = ke(pe), t = k(() => {
1992
1992
  const a = e.getHours().toString().padStart(2, "0"), r = e.getMinutes().toString().padStart(2, "0"), o = e.getSeconds().toString().padStart(2, "0");
1993
1993
  return Qe(n, e) + `${a}:${r}:${o}`;
1994
1994
  }, [n, e]);
1995
- return /* @__PURE__ */ i.jsx(k, { size: "sm", children: t });
1995
+ return /* @__PURE__ */ i.jsx(E, { size: "sm", children: t });
1996
1996
  }, aa = ({ value: e }) => {
1997
- const n = ke(xe), t = E(() => Qe(n, e), [n, e]);
1998
- return /* @__PURE__ */ i.jsx(k, { size: "sm", children: t });
1999
- }, so = ({ value: e }) => {
2000
- const n = ke(xe), [t, a] = E(() => {
1997
+ const n = ke(pe), t = k(() => Qe(n, e), [n, e]);
1998
+ return /* @__PURE__ */ i.jsx(E, { size: "sm", children: t });
1999
+ }, uo = ({ value: e }) => {
2000
+ const n = ke(pe), [t, a] = k(() => {
2001
2001
  const r = Qe(n, e), o = e.getHours().toString().padStart(2, "0"), l = e.getMinutes().toString().padStart(2, "0"), s = e.getSeconds().toString().padStart(2, "0");
2002
2002
  return [r, `${o}:${l}:${s}`];
2003
2003
  }, [n, e]);
2004
- return /* @__PURE__ */ i.jsx(k, { size: "sm", title: a, children: t });
2004
+ return /* @__PURE__ */ i.jsx(E, { size: "sm", title: a, children: t });
2005
2005
  }, oa = {
2006
2006
  yes: {
2007
2007
  lang2value: {
@@ -2021,10 +2021,21 @@ const ra = ({ value: e }) => {
2021
2021
  me,
2022
2022
  {
2023
2023
  checked: e,
2024
- label: /* @__PURE__ */ i.jsx(O, { value: oa[e ? "yes" : "no"] }),
2024
+ label: /* @__PURE__ */ i.jsx(D, { value: oa[e ? "yes" : "no"] }),
2025
2025
  readOnly: !0
2026
2026
  }
2027
- );
2027
+ ), la = ({
2028
+ nestedProperty: e,
2029
+ property: n,
2030
+ value: t
2031
+ }) => {
2032
+ const a = e || n;
2033
+ if (se(a) || a.enumType === void 0)
2034
+ throw new Error(
2035
+ "Invalid usage of EnumDisplay. Expect a property of type enum"
2036
+ );
2037
+ return /* @__PURE__ */ i.jsx(E, { size: "sm", children: /* @__PURE__ */ i.jsx(D, { value: a.enumType.label[t] }) });
2038
+ };
2028
2039
  function Jt(e, n, t, a) {
2029
2040
  const r = e.getByName(n.targetClass), o = a[n.targetClass];
2030
2041
  Te(() => {
@@ -2042,14 +2053,14 @@ const Le = ee(
2042
2053
  value: t,
2043
2054
  entityRoutes: a
2044
2055
  }) => {
2045
- const r = E(() => [t], [t]), [o, l] = Jt(
2056
+ const r = k(() => [t], [t]), [o, l] = Jt(
2046
2057
  e,
2047
2058
  n,
2048
2059
  r,
2049
2060
  a
2050
2061
  ), s = o[t];
2051
- return s === void 0 ? /* @__PURE__ */ i.jsx(k, { size: "sm", children: t }) : s === null ? /* @__PURE__ */ i.jsx(Yt, {}) : l === void 0 ? /* @__PURE__ */ i.jsx(k, { size: "sm", children: s.name }) : /* @__PURE__ */ i.jsx(
2052
- Tt,
2062
+ return s === void 0 ? /* @__PURE__ */ i.jsx(E, { size: "sm", children: t }) : s === null ? /* @__PURE__ */ i.jsx(Yt, {}) : l === void 0 ? /* @__PURE__ */ i.jsx(E, { size: "sm", children: s.name }) : /* @__PURE__ */ i.jsx(
2063
+ Nt,
2053
2064
  {
2054
2065
  path: l,
2055
2066
  openInNewPage: !1,
@@ -2072,10 +2083,10 @@ const Le = ee(
2072
2083
  t,
2073
2084
  a
2074
2085
  );
2075
- return /* @__PURE__ */ i.jsx(D, { gap: "xs", children: t.map((l, s) => {
2086
+ return /* @__PURE__ */ i.jsx(_, { gap: "xs", children: t.map((l, s) => {
2076
2087
  const u = r[l];
2077
- return u === void 0 ? /* @__PURE__ */ i.jsx(k, { size: "sm", children: t }, l) : u === null ? /* @__PURE__ */ i.jsx(Yt, {}, l) : o === void 0 ? /* @__PURE__ */ i.jsx(k, { size: "sm", children: u.name }, s) : /* @__PURE__ */ i.jsx(
2078
- Tt,
2088
+ return u === void 0 ? /* @__PURE__ */ i.jsx(E, { size: "sm", children: t }, l) : u === null ? /* @__PURE__ */ i.jsx(Yt, {}, l) : o === void 0 ? /* @__PURE__ */ i.jsx(E, { size: "sm", children: u.name }, s) : /* @__PURE__ */ i.jsx(
2089
+ Nt,
2079
2090
  {
2080
2091
  path: o,
2081
2092
  openInNewPage: !1,
@@ -2088,15 +2099,15 @@ const Le = ee(
2088
2099
  }) });
2089
2100
  }
2090
2101
  ), Q = {
2091
- string: he,
2092
- integer: he,
2093
- float: he,
2102
+ string: je,
2103
+ integer: je,
2104
+ float: je,
2094
2105
  boolean: ia,
2095
- "string[]": he,
2096
- enum: he,
2106
+ "string[]": je,
2107
+ enum: la,
2097
2108
  datetime: ra,
2098
2109
  date: aa
2099
- }, la = ({ property: e, value: n, onChange: t }) => /* @__PURE__ */ i.jsx(
2110
+ }, sa = ({ property: e, value: n, onChange: t }) => /* @__PURE__ */ i.jsx(
2100
2111
  W,
2101
2112
  {
2102
2113
  id: e.name,
@@ -2122,13 +2133,13 @@ const Le = ee(
2122
2133
  t(r === "" ? void 0 : Number(r));
2123
2134
  }
2124
2135
  }
2125
- ), sa = {
2136
+ ), ua = {
2126
2137
  lang2value: {
2127
2138
  en: "The leading zero is not necessary in international phone number format. For example, if your phone number is 0123456789, you should enter it as 123-456-789.",
2128
2139
  vi: "Số 0 đầu tiên không cần thiết trong định dạng điện thoại quốc tế. Ví dụ, nếu số điện thoại của bạn là 0123456789, bạn nên nhập nó là 123-456-789."
2129
2140
  },
2130
2141
  lang: "en"
2131
- }, ua = {
2142
+ }, ca = {
2132
2143
  lang2value: {
2133
2144
  en: "No valid country code found.",
2134
2145
  vi: "Không tìm thấy mã quốc gia hợp lệ. "
@@ -2191,7 +2202,7 @@ const Le = ee(
2191
2202
  name: "China",
2192
2203
  flags: [N.CN]
2193
2204
  }
2194
- }, ca = (e, n) => {
2205
+ }, da = (e, n) => {
2195
2206
  if (e === "")
2196
2207
  return { match: "84", remaining: "" };
2197
2208
  const t = e.replace(/[^\d]/g, ""), a = n.findLongestPrefix(t);
@@ -2201,27 +2212,27 @@ const Le = ee(
2201
2212
  }, pt = ({ value: e }) => {
2202
2213
  const n = le[e];
2203
2214
  if (n !== void 0)
2204
- return /* @__PURE__ */ i.jsxs(D, { gap: "sm", wrap: "nowrap", align: "center", children: [
2205
- /* @__PURE__ */ i.jsxs(k, { size: "sm", children: [
2215
+ return /* @__PURE__ */ i.jsxs(_, { gap: "sm", wrap: "nowrap", align: "center", children: [
2216
+ /* @__PURE__ */ i.jsxs(E, { size: "sm", children: [
2206
2217
  "+",
2207
2218
  e
2208
2219
  ] }),
2209
- /* @__PURE__ */ i.jsx(D, { gap: 4, wrap: "nowrap", children: n.flags.map((t, a) => /* @__PURE__ */ i.jsx(Be, { flag: t }, a)) })
2220
+ /* @__PURE__ */ i.jsx(_, { gap: 4, wrap: "nowrap", children: n.flags.map((t, a) => /* @__PURE__ */ i.jsx(Be, { flag: t }, a)) })
2210
2221
  ] });
2211
- }, da = ({
2222
+ }, fa = ({
2212
2223
  value: e,
2213
2224
  onChange: n,
2214
2225
  error: t,
2215
2226
  id: a
2216
2227
  }) => {
2217
- const [r, o] = _(""), [l, s] = _(!1), [u, c] = _(""), [d, x] = _(!1), g = E(() => {
2228
+ const [r, o] = $(""), [l, s] = $(!1), [u, c] = $(""), [d, x] = $(!1), g = k(() => {
2218
2229
  const y = new Gt();
2219
2230
  return Object.keys(le).forEach((w) => {
2220
2231
  y.insert(w);
2221
2232
  }), y;
2222
- }, [le]), { rawInput: p } = E(() => {
2233
+ }, [le]), { rawInput: p } = k(() => {
2223
2234
  try {
2224
- const { match: y, remaining: w } = ca(
2235
+ const { match: y, remaining: w } = da(
2225
2236
  e,
2226
2237
  g
2227
2238
  );
@@ -2240,12 +2251,12 @@ const Le = ee(
2240
2251
  onDropdownOpen: () => {
2241
2252
  v.updateSelectedOptionIndex("active");
2242
2253
  }
2243
- }), h = E(() => Object.keys(le), [le]), j = (y, w) => {
2254
+ }), h = k(() => Object.keys(le), [le]), j = (y, w) => {
2244
2255
  const R = y.replace(/[^\d]/g, "");
2245
2256
  return R.length === 0 ? `+${w}` : R.startsWith("0") ? (s(!0), `+${w}${R}`) : (s(!1), `+${w}${R}`);
2246
- }, b = E(() => h.filter((y) => le[y].name.toLowerCase().includes(r.toLowerCase()) || y.includes(r)), [r, h]), C = E(() => b.map((y, w) => /* @__PURE__ */ i.jsx(F.Option, { value: y, children: /* @__PURE__ */ i.jsx(pt, { value: y }) }, w)), [b]);
2257
+ }, b = k(() => h.filter((y) => le[y].name.toLowerCase().includes(r.toLowerCase()) || y.includes(r)), [r, h]), C = k(() => b.map((y, w) => /* @__PURE__ */ i.jsx(F.Option, { value: y, children: /* @__PURE__ */ i.jsx(pt, { value: y }) }, w)), [b]);
2247
2258
  return /* @__PURE__ */ i.jsxs("div", { children: [
2248
- /* @__PURE__ */ i.jsx(A, { gutter: "xs", children: /* @__PURE__ */ i.jsx(A.Col, { children: /* @__PURE__ */ i.jsxs(D, { gap: 5, children: [
2259
+ /* @__PURE__ */ i.jsx(A, { gutter: "xs", children: /* @__PURE__ */ i.jsx(A.Col, { children: /* @__PURE__ */ i.jsxs(_, { gap: 5, children: [
2249
2260
  /* @__PURE__ */ i.jsxs(
2250
2261
  F,
2251
2262
  {
@@ -2280,7 +2291,7 @@ const Le = ee(
2280
2291
  onChange: (y) => o(y.currentTarget.value)
2281
2292
  }
2282
2293
  ),
2283
- /* @__PURE__ */ i.jsx(F.Options, { children: C.length > 0 ? C : /* @__PURE__ */ i.jsx(F.Empty, { children: /* @__PURE__ */ i.jsx(k, { size: "sm", children: "Nothing found" }) }) })
2294
+ /* @__PURE__ */ i.jsx(F.Options, { children: C.length > 0 ? C : /* @__PURE__ */ i.jsx(F.Empty, { children: /* @__PURE__ */ i.jsx(E, { size: "sm", children: "Nothing found" }) }) })
2284
2295
  ] })
2285
2296
  ]
2286
2297
  }
@@ -2316,7 +2327,7 @@ const Le = ee(
2316
2327
  }
2317
2328
  )
2318
2329
  ] }) }) }),
2319
- (l || d || t && typeof t == "string") && /* @__PURE__ */ i.jsx(A, { gutter: "xs", children: /* @__PURE__ */ i.jsx(A.Col, { children: /* @__PURE__ */ i.jsx(W.Error, { children: l ? /* @__PURE__ */ i.jsx(O, { value: sa }) : d ? /* @__PURE__ */ i.jsx(O, { value: ua }) : t }) }) })
2330
+ (l || d || t && typeof t == "string") && /* @__PURE__ */ i.jsx(A, { gutter: "xs", children: /* @__PURE__ */ i.jsx(A.Col, { children: /* @__PURE__ */ i.jsx(W.Error, { children: l ? /* @__PURE__ */ i.jsx(D, { value: ua }) : d ? /* @__PURE__ */ i.jsx(D, { value: ca }) : t }) }) })
2320
2331
  ] });
2321
2332
  }, ze = ({
2322
2333
  property: e,
@@ -2324,7 +2335,7 @@ const Le = ee(
2324
2335
  value: t,
2325
2336
  onChange: a
2326
2337
  }) => {
2327
- const [r, o] = E(() => e.constraints.includes("password") ? ["password", hn] : e.constraints.includes("phone_number") ? ["phone_number", da] : [e.constraints.includes("email") ? "email" : e.constraints.includes("url") ? "url" : "text", W], [e.constraints]);
2338
+ const [r, o] = k(() => e.constraints.includes("password") ? ["password", hn] : e.constraints.includes("phone_number") ? ["phone_number", fa] : [e.constraints.includes("email") ? "email" : e.constraints.includes("url") ? "url" : "text", W], [e.constraints]);
2328
2339
  return /* @__PURE__ */ i.jsx(
2329
2340
  o,
2330
2341
  {
@@ -2339,12 +2350,12 @@ const Le = ee(
2339
2350
  integer: gt,
2340
2351
  float: gt,
2341
2352
  string: ze,
2342
- boolean: la,
2353
+ boolean: sa,
2343
2354
  "string[]": ze,
2344
2355
  enum: ze
2345
2356
  };
2346
- function fa(e, n) {
2347
- const [t, a] = _(""), [r, o] = _([]);
2357
+ function ha(e, n) {
2358
+ const [t, a] = $(""), [r, o] = $([]);
2348
2359
  return Te(() => {
2349
2360
  e.getByName(n.targetClass).fetch({ limit: 100, offset: 0 }).then((s) => o(s.records));
2350
2361
  }, [n.name]), {
@@ -2362,22 +2373,22 @@ function fa(e, n) {
2362
2373
  table: e.getByName(n.targetClass)
2363
2374
  };
2364
2375
  }
2365
- const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", children: e.name }), ga = ee(
2376
+ const ma = (e) => e.name, ga = (e) => /* @__PURE__ */ i.jsx(E, { size: "sm", children: e.name }), pa = ee(
2366
2377
  (e) => /* @__PURE__ */ i.jsx("h1", { children: "SingleForeignKey" })
2367
- ), pa = ee(
2378
+ ), xa = ee(
2368
2379
  ({
2369
2380
  db: e,
2370
2381
  property: n,
2371
2382
  value: t,
2372
2383
  onChange: a
2373
2384
  }) => {
2374
- const { table: r, data: o, query: l, setQuery: s } = fa(
2385
+ const { table: r, data: o, query: l, setQuery: s } = ha(
2375
2386
  e,
2376
2387
  n
2377
2388
  );
2378
2389
  return /* @__PURE__ */ i.jsxs(ge, { gap: "sm", children: [
2379
2390
  /* @__PURE__ */ i.jsx(
2380
- xa,
2391
+ va,
2381
2392
  {
2382
2393
  name: n.name,
2383
2394
  query: l,
@@ -2386,23 +2397,23 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2386
2397
  onSelect: (u) => {
2387
2398
  t.includes(u) || a([...t, u]);
2388
2399
  },
2389
- renderOption: ha,
2400
+ renderOption: ma,
2390
2401
  isIdInteger: n.datatype === "integer"
2391
2402
  }
2392
2403
  ),
2393
2404
  /* @__PURE__ */ i.jsx(
2394
- va,
2405
+ ya,
2395
2406
  {
2396
2407
  items: t.map((u) => r.get(u)),
2397
2408
  onDelete: (u) => {
2398
2409
  a(t.filter((c) => c !== u.id));
2399
2410
  },
2400
- render: ma
2411
+ render: ga
2401
2412
  }
2402
2413
  )
2403
2414
  ] });
2404
2415
  }
2405
- ), xa = ({
2416
+ ), va = ({
2406
2417
  name: e,
2407
2418
  data: n,
2408
2419
  onSelect: t,
@@ -2413,7 +2424,7 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2413
2424
  }) => {
2414
2425
  const s = St({
2415
2426
  onDropdownClose: () => s.resetSelectedOption()
2416
- }), u = E(() => n.map((c) => (
2427
+ }), u = k(() => n.map((c) => (
2417
2428
  // value has to be a string
2418
2429
  /* @__PURE__ */ i.jsx(F.Option, { value: c.id.toString(), children: a(c) }, c.id)
2419
2430
  )), [n]);
@@ -2446,17 +2457,17 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2446
2457
  ]
2447
2458
  }
2448
2459
  );
2449
- }, va = ({
2460
+ }, ya = ({
2450
2461
  items: e,
2451
2462
  onDelete: n,
2452
2463
  render: t
2453
2464
  }) => {
2454
- const a = E(() => {
2465
+ const a = k(() => {
2455
2466
  const r = [];
2456
2467
  for (let o = 0; o < e.length; o++) {
2457
2468
  const l = e[o];
2458
2469
  r.push(
2459
- /* @__PURE__ */ i.jsxs(D, { justify: "space-between", p: "sm", children: [
2470
+ /* @__PURE__ */ i.jsxs(_, { justify: "space-between", p: "sm", children: [
2460
2471
  t(l),
2461
2472
  /* @__PURE__ */ i.jsx(mn, { size: "sm", onClick: () => n(l) })
2462
2473
  ] }, o)
@@ -2466,10 +2477,10 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2466
2477
  }, [e]);
2467
2478
  if (a.length !== 0)
2468
2479
  return /* @__PURE__ */ i.jsx(re, { bd: "1px solid #ddd", children: a });
2469
- }, ya = "_requiredLabelLeft_l5p83_1", ba = "_requiredLabelRight_l5p83_11", vt = {
2470
- requiredLabelLeft: ya,
2471
- requiredLabelRight: ba
2472
- }, wa = ({
2480
+ }, ba = "_requiredLabelLeft_l5p83_1", wa = "_requiredLabelRight_l5p83_11", vt = {
2481
+ requiredLabelLeft: ba,
2482
+ requiredLabelRight: wa
2483
+ }, ja = ({
2473
2484
  label: e,
2474
2485
  name: n,
2475
2486
  required: t = !1,
@@ -2478,8 +2489,8 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2478
2489
  align: o = "left"
2479
2490
  }) => {
2480
2491
  const l = t ? o === "left" ? vt.requiredLabelRight : vt.requiredLabelLeft : "";
2481
- return /* @__PURE__ */ i.jsx(B, { align: "center", h: 36, children: /* @__PURE__ */ i.jsx("label", { htmlFor: n, style: r, children: /* @__PURE__ */ i.jsxs(D, { gap: 4, children: [
2482
- /* @__PURE__ */ i.jsx(k, { size: "sm", className: l, children: e }),
2492
+ return /* @__PURE__ */ i.jsx(B, { align: "center", h: 36, children: /* @__PURE__ */ i.jsx("label", { htmlFor: n, style: r, children: /* @__PURE__ */ i.jsxs(_, { gap: 4, children: [
2493
+ /* @__PURE__ */ i.jsx(E, { size: "sm", className: l, children: e }),
2483
2494
  a !== void 0 && /* @__PURE__ */ i.jsx(Ct, { label: a, withArrow: !0, children: /* @__PURE__ */ i.jsx(
2484
2495
  kt,
2485
2496
  {
@@ -2489,21 +2500,21 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2489
2500
  }
2490
2501
  ) })
2491
2502
  ] }) }) });
2492
- }, ja = {
2503
+ }, Sa = {
2493
2504
  type: "vertical",
2494
2505
  helpAlwaysVisible: !1
2495
- }, Sa = ee(
2506
+ }, Ca = ee(
2496
2507
  ({
2497
2508
  store: e,
2498
2509
  record: n,
2499
2510
  property: t,
2500
- layout: a = ja,
2511
+ layout: a = Sa,
2501
2512
  InputComponent: r,
2502
2513
  validator: o
2503
2514
  }) => {
2504
- const [l, s] = _(void 0), u = n[t.tsName], c = (x) => {
2515
+ const [l, s] = $(void 0), u = n[t.tsName], c = (x) => {
2505
2516
  var p;
2506
- if (Nt(n))
2517
+ if (Tt(n))
2507
2518
  n[t.updateFuncName](x);
2508
2519
  else {
2509
2520
  const v = n.toDraft();
@@ -2514,7 +2525,7 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2514
2525
  (p = g.errorMessage) == null ? void 0 : p.t({ args: { name: t.label } })
2515
2526
  );
2516
2527
  };
2517
- if (Ca(a))
2528
+ if (Ra(a))
2518
2529
  return /* @__PURE__ */ i.jsxs(ge, { gap: 5, children: [
2519
2530
  /* @__PURE__ */ i.jsxs(A, { gutter: "sm", children: [
2520
2531
  /* @__PURE__ */ i.jsx(
@@ -2526,12 +2537,12 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2526
2537
  justifyContent: a.align || "left"
2527
2538
  },
2528
2539
  children: /* @__PURE__ */ i.jsx(
2529
- wa,
2540
+ ja,
2530
2541
  {
2531
- label: /* @__PURE__ */ i.jsx(O, { value: t.label }),
2542
+ label: /* @__PURE__ */ i.jsx(D, { value: t.label }),
2532
2543
  name: t.name,
2533
2544
  required: t.isRequired,
2534
- tooltip: t.description !== void 0 ? /* @__PURE__ */ i.jsx(O, { value: t.description }) : void 0,
2545
+ tooltip: t.description !== void 0 ? /* @__PURE__ */ i.jsx(D, { value: t.description }) : void 0,
2535
2546
  align: a.align
2536
2547
  }
2537
2548
  )
@@ -2553,13 +2564,13 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2553
2564
  /* @__PURE__ */ i.jsx(A.Col, { span: a.itemCol, children: /* @__PURE__ */ i.jsx(W.Error, { children: l }) })
2554
2565
  ] })
2555
2566
  ] });
2556
- let d = /* @__PURE__ */ i.jsx(O, { value: t.label });
2557
- return !a.helpAlwaysVisible && t.description !== void 0 && (d = /* @__PURE__ */ i.jsxs(D, { gap: 4, style: { display: "inline-flex" }, children: [
2567
+ let d = /* @__PURE__ */ i.jsx(D, { value: t.label });
2568
+ return !a.helpAlwaysVisible && t.description !== void 0 && (d = /* @__PURE__ */ i.jsxs(_, { gap: 4, style: { display: "inline-flex" }, children: [
2558
2569
  d,
2559
2570
  /* @__PURE__ */ i.jsx(
2560
2571
  Ct,
2561
2572
  {
2562
- label: /* @__PURE__ */ i.jsx(O, { value: t.description }),
2573
+ label: /* @__PURE__ */ i.jsx(D, { value: t.description }),
2563
2574
  withArrow: !0,
2564
2575
  children: /* @__PURE__ */ i.jsx(
2565
2576
  kt,
@@ -2575,7 +2586,7 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2575
2586
  W.Wrapper,
2576
2587
  {
2577
2588
  label: d,
2578
- description: a.helpAlwaysVisible && t.description !== void 0 ? /* @__PURE__ */ i.jsx(O, { value: t.description }) : void 0,
2589
+ description: a.helpAlwaysVisible && t.description !== void 0 ? /* @__PURE__ */ i.jsx(D, { value: t.description }) : void 0,
2579
2590
  required: t.isRequired,
2580
2591
  children: /* @__PURE__ */ i.jsx(
2581
2592
  r,
@@ -2591,15 +2602,15 @@ const ha = (e) => e.name, ma = (e) => /* @__PURE__ */ i.jsx(k, { size: "sm", chi
2591
2602
  );
2592
2603
  }
2593
2604
  );
2594
- function Ca(e) {
2605
+ function Ra(e) {
2595
2606
  return e.type === "horizontal";
2596
2607
  }
2597
- const yt = 12, uo = (e) => {
2598
- const n = e.schema, t = E(() => {
2608
+ const yt = 12, co = (e) => {
2609
+ const n = e.schema, t = k(() => {
2599
2610
  const a = Math.max(
2600
2611
  ...e.fieldGroups.map((r) => Math.max(...r.fields.map((o) => o.length)))
2601
2612
  );
2602
- return e.fieldGroups.map((r, o) => Ra(
2613
+ return e.fieldGroups.map((r, o) => Ea(
2603
2614
  n,
2604
2615
  e.store,
2605
2616
  e.record,
@@ -2613,11 +2624,11 @@ const yt = 12, uo = (e) => {
2613
2624
  "form",
2614
2625
  {
2615
2626
  onSubmit: e.onSubmit === void 0 ? void 0 : (a) => {
2616
- a.preventDefault(), e.onSubmit !== void 0 && Nt(e.record) && e.onSubmit(e.record);
2627
+ a.preventDefault(), e.onSubmit !== void 0 && Tt(e.record) && e.onSubmit(e.record);
2617
2628
  },
2618
2629
  children: /* @__PURE__ */ i.jsxs(ge, { gap: "sm", className: e.className, style: e.styles, children: [
2619
2630
  t,
2620
- /* @__PURE__ */ i.jsx(D, { gap: "sm", children: e.actions.map((a, r) => /* @__PURE__ */ i.jsx(
2631
+ /* @__PURE__ */ i.jsx(_, { gap: "sm", children: e.actions.map((a, r) => /* @__PURE__ */ i.jsx(
2621
2632
  q,
2622
2633
  {
2623
2634
  variant: a.variant,
@@ -2633,7 +2644,7 @@ const yt = 12, uo = (e) => {
2633
2644
  }
2634
2645
  );
2635
2646
  };
2636
- function Ra(e, n, t, a, r, o, l) {
2647
+ function Ea(e, n, t, a, r, o, l) {
2637
2648
  const s = r.fields, u = [];
2638
2649
  for (let d = 0; d < s.length; d++) {
2639
2650
  const x = yt / s[d].length;
@@ -2653,8 +2664,8 @@ function Ra(e, n, t, a, r, o, l) {
2653
2664
  for (let p = 0; p < s[d].length; p++) {
2654
2665
  const v = s[d][p], h = e.allProperties[v];
2655
2666
  let j;
2656
- if (pe(h))
2657
- j = h.cardinality === "N:N" || h.cardinality === "1:N" ? pa : ga;
2667
+ if (se(h))
2668
+ j = h.cardinality === "N:N" || h.cardinality === "1:N" ? xa : pa;
2658
2669
  else {
2659
2670
  if (xt[h.datatype] === void 0)
2660
2671
  throw new Error(
@@ -2664,7 +2675,7 @@ function Ra(e, n, t, a, r, o, l) {
2664
2675
  }
2665
2676
  u.push(
2666
2677
  /* @__PURE__ */ i.jsx(A.Col, { span: x, children: /* @__PURE__ */ i.jsx(
2667
- Sa,
2678
+ Ca,
2668
2679
  {
2669
2680
  store: n,
2670
2681
  record: t,
@@ -2685,7 +2696,7 @@ const Xt = ({
2685
2696
  reloadData: n,
2686
2697
  selectedRowKeys: t,
2687
2698
  size: a = "xs"
2688
- }) => /* @__PURE__ */ i.jsxs(D, { gap: a, children: [
2699
+ }) => /* @__PURE__ */ i.jsxs(_, { gap: a, children: [
2689
2700
  (e == null ? void 0 : e.add) && /* @__PURE__ */ i.jsx(
2690
2701
  q,
2691
2702
  {
@@ -2737,7 +2748,7 @@ const Xt = ({
2737
2748
  children: "Export"
2738
2749
  }
2739
2750
  )
2740
- ] }), Zt = (e) => e !== void 0 && (e.add !== void 0 || e.edit !== void 0 || e.delete !== void 0 || e.export !== void 0 || e.reload === !0 || e.import !== void 0), Ea = "__selectcol__", { Thead: ka, Tr: bt, Th: Ta, Tbody: Na, Td: Pa } = Rt, Qt = (e) => {
2751
+ ] }), Zt = (e) => e !== void 0 && (e.add !== void 0 || e.edit !== void 0 || e.delete !== void 0 || e.export !== void 0 || e.reload === !0 || e.import !== void 0), ka = "__selectcol__", { Thead: Ta, Tr: bt, Th: Na, Tbody: Pa, Td: Ia } = Rt, Qt = (e) => {
2741
2752
  const n = /* @__PURE__ */ i.jsxs(
2742
2753
  Rt,
2743
2754
  {
@@ -2746,10 +2757,10 @@ const Xt = ({
2746
2757
  verticalSpacing: "xs",
2747
2758
  tabularNums: !0,
2748
2759
  children: [
2749
- /* @__PURE__ */ i.jsx(ka, { children: e.table.getHeaderGroups().map((a) => /* @__PURE__ */ i.jsx(bt, { children: a.headers.map((r) => /* @__PURE__ */ i.jsx(
2750
- Ta,
2760
+ /* @__PURE__ */ i.jsx(Ta, { children: e.table.getHeaderGroups().map((a) => /* @__PURE__ */ i.jsx(bt, { children: a.headers.map((r) => /* @__PURE__ */ i.jsx(
2761
+ Na,
2751
2762
  {
2752
- w: r.id === Ea ? "1%" : void 0,
2763
+ w: r.id === ka ? "1%" : void 0,
2753
2764
  children: r.isPlaceholder ? null : lt(
2754
2765
  r.column.columnDef.header,
2755
2766
  r.getContext()
@@ -2757,11 +2768,11 @@ const Xt = ({
2757
2768
  },
2758
2769
  r.id
2759
2770
  )) }, a.id)) }),
2760
- /* @__PURE__ */ i.jsx(Na, { pos: "relative", children: e.table.getRowModel().rows.map((a) => /* @__PURE__ */ i.jsx(
2771
+ /* @__PURE__ */ i.jsx(Pa, { pos: "relative", children: e.table.getRowModel().rows.map((a) => /* @__PURE__ */ i.jsx(
2761
2772
  bt,
2762
2773
  {
2763
2774
  bg: e.selectedRowKeys[a.id] ? "var(--mantine-color-blue-light)" : void 0,
2764
- children: a.getVisibleCells().map((r) => /* @__PURE__ */ i.jsx(Pa, { children: lt(r.column.columnDef.cell, r.getContext()) }, r.id))
2775
+ children: a.getVisibleCells().map((r) => /* @__PURE__ */ i.jsx(Ia, { children: lt(r.column.columnDef.cell, r.getContext()) }, r.id))
2765
2776
  },
2766
2777
  a.id
2767
2778
  )) })
@@ -2771,8 +2782,8 @@ const Xt = ({
2771
2782
  if (!e.bordered) return n;
2772
2783
  const t = {};
2773
2784
  return e.hasTopSection && (t.borderTopLeftRadius = 0, t.borderTopRightRadius = 0), e.hasBottomSection && (t.borderBottomLeftRadius = 0, t.borderBottomRightRadius = 0), /* @__PURE__ */ i.jsx(re, { withBorder: !0, p: 0, style: t, children: n });
2774
- }, Ia = "_pageSizeSelectorActive_1wv6j_1", La = {
2775
- pageSizeSelectorActive: Ia
2785
+ }, La = "_pageSizeSelectorActive_1wv6j_1", Fa = {
2786
+ pageSizeSelectorActive: La
2776
2787
  }, en = ({
2777
2788
  total: e,
2778
2789
  pageIndex: n,
@@ -2789,11 +2800,11 @@ const Xt = ({
2789
2800
  onChange: (l) => r(l - 1, t)
2790
2801
  }
2791
2802
  );
2792
- return a ? /* @__PURE__ */ i.jsxs(D, { gap: "sm", children: [
2803
+ return a ? /* @__PURE__ */ i.jsxs(_, { gap: "sm", children: [
2793
2804
  /* @__PURE__ */ i.jsxs("div", { children: [
2794
- /* @__PURE__ */ i.jsx(k, { size: "sm", component: "span", pr: "xs", c: "dimmed", children: "Records per page" }),
2805
+ /* @__PURE__ */ i.jsx(E, { size: "sm", component: "span", pr: "xs", c: "dimmed", children: "Records per page" }),
2795
2806
  /* @__PURE__ */ i.jsx(
2796
- Fa,
2807
+ Aa,
2797
2808
  {
2798
2809
  size: "sm",
2799
2810
  values: ["10", "20", "50", "100"],
@@ -2807,13 +2818,13 @@ const Xt = ({
2807
2818
  o
2808
2819
  ] }) : o;
2809
2820
  }, wt = {
2810
- xs: ue(22),
2811
- sm: ue(26),
2812
- md: ue(32),
2813
- lg: ue(38),
2814
- xl: ue(44)
2821
+ xs: ce(22),
2822
+ sm: ce(26),
2823
+ md: ce(32),
2824
+ lg: ce(38),
2825
+ xl: ce(44)
2815
2826
  };
2816
- function Fa({
2827
+ function Aa({
2817
2828
  size: e,
2818
2829
  values: n,
2819
2830
  value: t,
@@ -2847,7 +2858,7 @@ function Fa({
2847
2858
  return /* @__PURE__ */ i.jsx(
2848
2859
  bn,
2849
2860
  {
2850
- className: o ? La.pageSizeSelectorActive : void 0,
2861
+ className: o ? Fa.pageSizeSelectorActive : void 0,
2851
2862
  style: [
2852
2863
  { height: wt[e] }
2853
2864
  // isCurrent
@@ -2860,19 +2871,19 @@ function Fa({
2860
2871
  ],
2861
2872
  disabled: o,
2862
2873
  onClick: () => a(r),
2863
- children: /* @__PURE__ */ i.jsx(k, { component: "div", size: e, children: r })
2874
+ children: /* @__PURE__ */ i.jsx(E, { component: "div", size: e, children: r })
2864
2875
  },
2865
2876
  r
2866
2877
  );
2867
2878
  }) })
2868
2879
  ] });
2869
2880
  }
2870
- const Aa = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), co = (e) => {
2881
+ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), fo = (e) => {
2871
2882
  var b, C;
2872
- const [n, t] = _({
2883
+ const [n, t] = $({
2873
2884
  records: [],
2874
2885
  total: 0
2875
- }), [a, r] = _(!1), [o, l] = _(
2886
+ }), [a, r] = $(!1), [o, l] = $(
2876
2887
  {}
2877
2888
  ), s = (y) => {
2878
2889
  r(!0), e.getData(y).then((w) => {
@@ -2885,14 +2896,14 @@ const Aa = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), co = (e) => {
2885
2896
  offset: y * w
2886
2897
  };
2887
2898
  e.query.update(R);
2888
- }, [c, d, x] = E(() => {
2899
+ }, [c, d, x] = k(() => {
2889
2900
  const y = e.query.query.limit, w = Math.floor(
2890
2901
  (e.query.query.offset || 0) / e.query.query.limit
2891
2902
  ), R = Math.ceil(n.total / e.query.query.limit);
2892
2903
  return [y, w, R];
2893
2904
  }, [e.query.query.limit, e.query.query.offset, n.total]);
2894
2905
  Te(() => (n.total == 0 && s(e.query.query), e.query.subscribe(s)), [e.query]);
2895
- const g = E(() => Object.keys(o).filter((y) => o[y]).map((y) => e.normalizeRowId(y)), [o]);
2906
+ const g = k(() => Object.keys(o).filter((y) => o[y]).map((y) => e.normalizeRowId(y)), [o]);
2896
2907
  let p, v;
2897
2908
  Zt(e.actions) && (p = /* @__PURE__ */ i.jsx(
2898
2909
  Xt,
@@ -2902,7 +2913,7 @@ const Aa = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), co = (e) => {
2902
2913
  selectedRowKeys: g
2903
2914
  }
2904
2915
  ));
2905
- const h = ((b = e.pagination) == null ? void 0 : b.positions) || Aa;
2916
+ const h = ((b = e.pagination) == null ? void 0 : b.positions) || $a;
2906
2917
  if (h.size > 0) {
2907
2918
  const y = /* @__PURE__ */ i.jsx(
2908
2919
  en,
@@ -2914,12 +2925,12 @@ const Aa = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), co = (e) => {
2914
2925
  allowPageSizeChange: (C = e.pagination) == null ? void 0 : C.showSizeChanger
2915
2926
  }
2916
2927
  );
2917
- h.has("topRight") && (p !== void 0 ? p = /* @__PURE__ */ i.jsxs(D, { justify: "space-between", gap: "sm", children: [
2928
+ h.has("topRight") && (p !== void 0 ? p = /* @__PURE__ */ i.jsxs(_, { justify: "space-between", gap: "sm", children: [
2918
2929
  p,
2919
2930
  y
2920
2931
  ] }) : p = /* @__PURE__ */ i.jsx(B, { justify: "flex-end", children: y })), (h.has("bottomRight") || h.has("bottomLeft") || h.has("bottomCenter")) && (h.has("bottomLeft") ? v = /* @__PURE__ */ i.jsxs(B, { justify: "space-between", align: "center", children: [
2921
2932
  y,
2922
- /* @__PURE__ */ i.jsxs(k, { size: "sm", c: "dimmed", children: [
2933
+ /* @__PURE__ */ i.jsxs(E, { size: "sm", c: "dimmed", children: [
2923
2934
  "Showing ",
2924
2935
  d * c + 1,
2925
2936
  " to",
@@ -2931,7 +2942,7 @@ const Aa = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), co = (e) => {
2931
2942
  "records"
2932
2943
  ] })
2933
2944
  ] }) : v = /* @__PURE__ */ i.jsxs(B, { justify: "space-between", align: "center", children: [
2934
- /* @__PURE__ */ i.jsxs(k, { size: "sm", c: "dimmed", children: [
2945
+ /* @__PURE__ */ i.jsxs(E, { size: "sm", c: "dimmed", children: [
2935
2946
  "Showing ",
2936
2947
  d * c + 1,
2937
2948
  " to",
@@ -2945,8 +2956,8 @@ const Aa = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), co = (e) => {
2945
2956
  y
2946
2957
  ] }));
2947
2958
  }
2948
- const j = E(() => /* @__PURE__ */ i.jsx(
2949
- _a,
2959
+ const j = k(() => /* @__PURE__ */ i.jsx(
2960
+ Oa,
2950
2961
  {
2951
2962
  data: n,
2952
2963
  loading: a,
@@ -2996,8 +3007,8 @@ const Aa = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), co = (e) => {
2996
3007
  }
2997
3008
  )
2998
3009
  ] });
2999
- }, _a = (e) => {
3000
- const n = E(() => {
3010
+ }, Oa = (e) => {
3011
+ const n = k(() => {
3001
3012
  const a = [
3002
3013
  {
3003
3014
  id: "selection",
@@ -3058,7 +3069,7 @@ function tn(e, n, t, {
3058
3069
  let l;
3059
3070
  if (o !== void 0)
3060
3071
  l = o;
3061
- else if (pe(t))
3072
+ else if (se(t))
3062
3073
  t.cardinality === "1:N" || t.cardinality === "N:N" ? l = Fe : l = Le;
3063
3074
  else {
3064
3075
  if (Q[t.datatype] === void 0)
@@ -3069,7 +3080,7 @@ function tn(e, n, t, {
3069
3080
  }
3070
3081
  const s = {
3071
3082
  key: t.name,
3072
- title: a || /* @__PURE__ */ i.jsx(O, { value: t.label }),
3083
+ title: a || /* @__PURE__ */ i.jsx(D, { value: t.label }),
3073
3084
  accessorFn: (u) => u[t.tsName],
3074
3085
  render: (u) => {
3075
3086
  const c = u[t.tsName];
@@ -3097,7 +3108,7 @@ function tn(e, n, t, {
3097
3108
  );
3098
3109
  }), s;
3099
3110
  }
3100
- function fo(e, n, t, a, {
3111
+ function ho(e, n, t, a, {
3101
3112
  title: r,
3102
3113
  nestedKey: o,
3103
3114
  component: l
@@ -3105,7 +3116,7 @@ function fo(e, n, t, a, {
3105
3116
  let s;
3106
3117
  if (l !== void 0)
3107
3118
  s = l;
3108
- else if (pe(a))
3119
+ else if (se(a))
3109
3120
  a.cardinality === "1:N" || a.cardinality === "N:N" ? s = Fe : s = Le;
3110
3121
  else {
3111
3122
  if (Q[a.datatype] === void 0)
@@ -3116,7 +3127,7 @@ function fo(e, n, t, a, {
3116
3127
  }
3117
3128
  const u = {
3118
3129
  key: t + "." + a.name,
3119
- title: r || /* @__PURE__ */ i.jsx(O, { value: a.label }),
3130
+ title: r || /* @__PURE__ */ i.jsx(D, { value: a.label }),
3120
3131
  accessorFn: (c) => c[t.tsName][a.tsName],
3121
3132
  render: (c) => {
3122
3133
  const d = c[t.tsName][a.tsName];
@@ -3144,7 +3155,7 @@ function fo(e, n, t, a, {
3144
3155
  );
3145
3156
  }), u;
3146
3157
  }
3147
- function ho(e, n, t, a, r = {}) {
3158
+ function mo(e, n, t, a, r = {}) {
3148
3159
  return a.map((o) => nn(o) ? o : tn(
3149
3160
  e,
3150
3161
  t,
@@ -3152,7 +3163,7 @@ function ho(e, n, t, a, r = {}) {
3152
3163
  r
3153
3164
  ));
3154
3165
  }
3155
- function mo(e, n, t, a = [], r = {}) {
3166
+ function go(e, n, t, a = [], r = {}) {
3156
3167
  return a.map((o) => nn(o) ? o : tn(
3157
3168
  e,
3158
3169
  t,
@@ -3163,11 +3174,11 @@ function mo(e, n, t, a = [], r = {}) {
3163
3174
  function nn(e) {
3164
3175
  return typeof e == "object" && "key" in e && "title" in e;
3165
3176
  }
3166
- const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3177
+ const Da = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), po = (e) => {
3167
3178
  var d, x;
3168
- const [n, t] = _(
3179
+ const [n, t] = $(
3169
3180
  {}
3170
- ), a = E(() => {
3181
+ ), a = k(() => {
3171
3182
  const g = [
3172
3183
  {
3173
3184
  id: "selection",
@@ -3206,7 +3217,7 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3206
3217
  rowSelection: n
3207
3218
  },
3208
3219
  onRowSelectionChange: t
3209
- }), o = E(() => Object.keys(n).filter((g) => n[g]).map(Number), [n]);
3220
+ }), o = k(() => Object.keys(n).filter((g) => n[g]).map(Number), [n]);
3210
3221
  let l, s;
3211
3222
  Zt(e.actions) && (l = /* @__PURE__ */ i.jsx(
3212
3223
  Xt,
@@ -3215,7 +3226,7 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3215
3226
  selectedRowKeys: o
3216
3227
  }
3217
3228
  ));
3218
- const u = ((d = e.pagination) == null ? void 0 : d.positions) || $a;
3229
+ const u = ((d = e.pagination) == null ? void 0 : d.positions) || Da;
3219
3230
  if (u.size > 0) {
3220
3231
  const g = r.getState().pagination, p = /* @__PURE__ */ i.jsx(
3221
3232
  en,
@@ -3227,12 +3238,12 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3227
3238
  allowPageSizeChange: (x = e.pagination) == null ? void 0 : x.showSizeChanger
3228
3239
  }
3229
3240
  );
3230
- u.has("topRight") && (l !== void 0 ? l = /* @__PURE__ */ i.jsxs(D, { justify: "space-between", gap: "sm", children: [
3241
+ u.has("topRight") && (l !== void 0 ? l = /* @__PURE__ */ i.jsxs(_, { justify: "space-between", gap: "sm", children: [
3231
3242
  l,
3232
3243
  p
3233
3244
  ] }) : l = /* @__PURE__ */ i.jsx(B, { justify: "flex-end", children: p })), (u.has("bottomRight") || u.has("bottomLeft") || u.has("bottomCenter")) && (u.has("bottomLeft") ? s = /* @__PURE__ */ i.jsxs(B, { justify: "space-between", align: "center", children: [
3234
3245
  p,
3235
- /* @__PURE__ */ i.jsxs(k, { size: "sm", c: "dimmed", children: [
3246
+ /* @__PURE__ */ i.jsxs(E, { size: "sm", c: "dimmed", children: [
3236
3247
  "Showing ",
3237
3248
  g.pageIndex * g.pageSize + 1,
3238
3249
  " to",
@@ -3247,7 +3258,7 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3247
3258
  " records"
3248
3259
  ] })
3249
3260
  ] }) : s = /* @__PURE__ */ i.jsxs(B, { justify: "space-between", align: "center", children: [
3250
- /* @__PURE__ */ i.jsxs(k, { size: "sm", c: "dimmed", children: [
3261
+ /* @__PURE__ */ i.jsxs(E, { size: "sm", c: "dimmed", children: [
3251
3262
  "Showing ",
3252
3263
  g.pageIndex * g.pageSize + 1,
3253
3264
  " to",
@@ -3313,7 +3324,7 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3313
3324
  }) => {
3314
3325
  const o = n[t.tsName];
3315
3326
  return /* @__PURE__ */ i.jsxs("div", { children: [
3316
- /* @__PURE__ */ i.jsx(k, { size: "sm", fw: 500, children: /* @__PURE__ */ i.jsx(O, { value: t.label }) }),
3327
+ /* @__PURE__ */ i.jsx(E, { size: "sm", fw: 550, children: /* @__PURE__ */ i.jsx(D, { value: t.label }) }),
3317
3328
  /* @__PURE__ */ i.jsx(
3318
3329
  a,
3319
3330
  {
@@ -3325,7 +3336,7 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3325
3336
  )
3326
3337
  ] });
3327
3338
  }
3328
- ), Oa = ee(
3339
+ ), _a = ee(
3329
3340
  ({
3330
3341
  store: e,
3331
3342
  record: n,
@@ -3338,7 +3349,7 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3338
3349
  return s[u.tsName];
3339
3350
  }, n);
3340
3351
  return /* @__PURE__ */ i.jsxs("div", { children: [
3341
- /* @__PURE__ */ i.jsx(k, { size: "sm", fw: 500, children: /* @__PURE__ */ i.jsx(O, { value: o.label }) }),
3352
+ /* @__PURE__ */ i.jsx(E, { size: "sm", fw: 550, children: /* @__PURE__ */ i.jsx(D, { value: o.label }) }),
3342
3353
  l !== void 0 && /* @__PURE__ */ i.jsx(
3343
3354
  a,
3344
3355
  {
@@ -3350,8 +3361,8 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3350
3361
  )
3351
3362
  ] });
3352
3363
  }
3353
- ), Da = 12, Ma = (e) => {
3354
- const n = e.schema, t = E(() => e.fieldGroups.map((a, r) => za(
3364
+ ), Ma = 12, za = (e) => {
3365
+ const n = e.schema, t = k(() => e.fieldGroups.map((a, r) => Ba(
3355
3366
  n,
3356
3367
  e.store,
3357
3368
  e.record,
@@ -3361,10 +3372,10 @@ const $a = /* @__PURE__ */ new Set(["topRight", "bottomRight"]), go = (e) => {
3361
3372
  )), [n, e.store, e.record, e.fieldGroups]);
3362
3373
  return /* @__PURE__ */ i.jsx(ge, { gap: "sm", className: e.className, style: e.styles, children: t });
3363
3374
  };
3364
- function za(e, n, t, a, r, o) {
3375
+ function Ba(e, n, t, a, r, o) {
3365
3376
  const l = r.fields, s = [];
3366
3377
  for (let u = 0; u < l.length; u++) {
3367
- const c = Da / l[u].length;
3378
+ const c = Ma / l[u].length;
3368
3379
  if (!Number.isInteger(c))
3369
3380
  throw new Error(`Span must be an integer, but got ${c} for row ${u}`);
3370
3381
  for (let d = 0; d < l[u].length; d++) {
@@ -3387,7 +3398,7 @@ function za(e, n, t, a, r, o) {
3387
3398
  } else {
3388
3399
  const p = e.allProperties[x];
3389
3400
  let v;
3390
- if (pe(p))
3401
+ if (se(p))
3391
3402
  v = p.cardinality === "N:N" || p.cardinality === "1:N" ? Fe : Le;
3392
3403
  else {
3393
3404
  if (Q[p.datatype] === void 0)
@@ -3414,12 +3425,12 @@ function za(e, n, t, a, r, o) {
3414
3425
  }
3415
3426
  return /* @__PURE__ */ i.jsx(A, { gutter: "sm", children: s }, a);
3416
3427
  }
3417
- function po(e, n, t) {
3428
+ function xo(e, n, t) {
3418
3429
  const a = e[e.length - 1];
3419
3430
  let r;
3420
3431
  if (t !== void 0)
3421
3432
  r = t;
3422
- else if (pe(a))
3433
+ else if (se(a))
3423
3434
  r = a.cardinality === "N:N" || a.cardinality === "1:N" ? Fe : Le;
3424
3435
  else {
3425
3436
  if (Q[a.datatype] === void 0)
@@ -3429,7 +3440,7 @@ function po(e, n, t) {
3429
3440
  r = Q[a.datatype];
3430
3441
  }
3431
3442
  return (o, l) => /* @__PURE__ */ i.jsx(
3432
- Oa,
3443
+ _a,
3433
3444
  {
3434
3445
  store: o,
3435
3446
  record: l,
@@ -3439,10 +3450,10 @@ function po(e, n, t) {
3439
3450
  }
3440
3451
  );
3441
3452
  }
3442
- const xo = (e) => /* @__PURE__ */ i.jsxs(ye, { defaultValue: e.fieldTabs[0].tabName, children: [
3443
- /* @__PURE__ */ i.jsx(ye.List, { children: e.fieldTabs.map((n, t) => /* @__PURE__ */ i.jsx(ye.Tab, { value: n.tabName, children: n.tabName }, t)) }),
3444
- e.fieldTabs.map((n, t) => /* @__PURE__ */ i.jsx(ye.Panel, { value: n.tabName, pt: "sm", children: /* @__PURE__ */ i.jsx(
3445
- Ma,
3453
+ const vo = (e) => /* @__PURE__ */ i.jsxs(ve, { defaultValue: e.fieldTabs[0].tabName, children: [
3454
+ /* @__PURE__ */ i.jsx(ve.List, { children: e.fieldTabs.map((n, t) => /* @__PURE__ */ i.jsx(ve.Tab, { value: n.tabName, children: n.tabName }, t)) }),
3455
+ e.fieldTabs.map((n, t) => /* @__PURE__ */ i.jsx(ve.Panel, { value: n.tabName, pt: "sm", children: /* @__PURE__ */ i.jsx(
3456
+ za,
3446
3457
  {
3447
3458
  schema: e.schema,
3448
3459
  store: e.store,
@@ -3456,49 +3467,49 @@ const xo = (e) => /* @__PURE__ */ i.jsxs(ye, { defaultValue: e.fieldTabs[0].tabN
3456
3467
  ] });
3457
3468
  export {
3458
3469
  Be as CountryFlagComponent,
3459
- Aa as DEFAULT_PAGINATION_POSITIONS,
3470
+ $a as DEFAULT_PAGINATION_POSITIONS,
3460
3471
  xt as DataType2Component,
3461
3472
  Q as DataType2DisplayComponent,
3462
3473
  aa as DateDisplay,
3463
3474
  ra as DateTimeDisplay,
3464
- so as DateTimeHideTimeDisplay,
3465
- _n as EmojiCountryFlag,
3466
- Sa as FormItem,
3467
- wa as FormItemLabel,
3468
- Xa as LanguageSelector,
3469
- eo as Loading,
3470
- to as LoadingInline,
3471
- xe as LocaleContext,
3472
- Ja as LocaleProvider,
3475
+ uo as DateTimeHideTimeDisplay,
3476
+ $n as EmojiCountryFlag,
3477
+ Ca as FormItem,
3478
+ ja as FormItemLabel,
3479
+ Za as LanguageSelector,
3480
+ to as Loading,
3481
+ no as LoadingInline,
3482
+ pe as LocaleContext,
3483
+ Xa as LocaleProvider,
3473
3484
  Qr as MenuTrie,
3474
3485
  Fe as MultiForeignKeyDisplay,
3475
- O as MultiLingualString,
3476
- no as NotAuthorized,
3477
- Za as NotFound,
3486
+ D as MultiLingualString,
3487
+ ro as NotAuthorized,
3488
+ Qa as NotFound,
3478
3489
  Yt as NotFoundInline,
3479
- Qa as NotFoundSubPage,
3480
- io as OrderedUniqueList,
3490
+ eo as NotFoundSubPage,
3491
+ lo as OrderedUniqueList,
3481
3492
  Zr as Permission,
3482
3493
  An as SVGCountryFlag,
3483
- go as SeraEmbeddedTable,
3484
- uo as SeraForm,
3485
- co as SeraTable,
3486
- lo as SeraVerticalMenu,
3487
- Ma as SeraView,
3488
- xo as SeraViewTab,
3494
+ po as SeraEmbeddedTable,
3495
+ co as SeraForm,
3496
+ fo as SeraTable,
3497
+ so as SeraVerticalMenu,
3498
+ za as SeraView,
3499
+ vo as SeraViewTab,
3489
3500
  Le as SingleForeignKeyDisplay,
3490
3501
  Gt as Trie,
3491
3502
  mt as TrieNode,
3492
3503
  ea as buildMenuItemIndex,
3493
3504
  N as countryFlags,
3494
3505
  na as filterAllowedItems,
3495
- ro as groupBy,
3496
- ao as groupByAsList,
3506
+ ao as groupBy,
3507
+ oo as groupByAsList,
3497
3508
  nn as isSeraColumn,
3498
- mo as makeEmbeddedTableColumns,
3499
- po as makeFieldDisplay,
3509
+ go as makeEmbeddedTableColumns,
3510
+ xo as makeFieldDisplay,
3500
3511
  tn as makeTableColumn,
3501
- fo as makeTableColumnFromNestedProperty,
3502
- ho as makeTableColumns,
3503
- oo as uniqueList
3512
+ ho as makeTableColumnFromNestedProperty,
3513
+ mo as makeTableColumns,
3514
+ io as uniqueList
3504
3515
  };