@golemui/gui-lit 0.14.0 → 0.15.1

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 (27) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/{button.element-ATNRRDN3.js → button.element-DxwYDdu6.js} +49 -45
  3. package/{currency.element-C7SZkoPP.js → currency.element-ybKzwXEh.js} +11 -10
  4. package/{date-input-e0k3oBof.js → date-input-D_Swskk4.js} +5 -5
  5. package/{date-picker.element-D6v6aHR5.js → date-picker.element-CP2_u_ZE.js} +1 -1
  6. package/{date.element-COU_mEUt.js → date.element-p6aB6OGd.js} +1 -1
  7. package/{dropdown.element-DCUI5Y7I.js → dropdown.element-8OaBgk7F.js} +1 -0
  8. package/index.js +271 -279
  9. package/index.umd.cjs +268 -195
  10. package/lib/components/range-date-picker.element.d.ts +3 -0
  11. package/lib/components/tags.element.d.ts +17 -0
  12. package/{markdown.element-CT1JOOM3.js → markdown.element-1IF3G5KX.js} +1 -0
  13. package/{number.element-HaXEg_7U.js → number.element-zgd4L5hn.js} +7 -6
  14. package/package.json +6 -6
  15. package/{password.element-B4-0SCe4.js → password.element-BT65mDsp.js} +1 -0
  16. package/pills-D0yyi-op.js +323 -0
  17. package/range-calendar-CZGBBOzO.js +258 -0
  18. package/{range-calendar.element-C-4qqRGK.js → range-calendar.element-DQZXvd-L.js} +1 -1
  19. package/range-date-input-CcPYH7P3.js +398 -0
  20. package/{range-date-input.element-D3xRMAaY.js → range-date-input.element-v71P-oUp.js} +1 -1
  21. package/{range-date-picker.element-Vgj3tFlQ.js → range-date-picker.element-CA-KcQhA.js} +60 -51
  22. package/{select.element-DuGZjlZY.js → select.element-CjWqp9dd.js} +1 -1
  23. package/tags.element-ed1_51GA.js +365 -0
  24. package/{textarea.element-C8yx2u0o.js → textarea.element-BTJLqnnI.js} +6 -5
  25. package/{textinput.element-DKuplF1A.js → textinput.element-zI0iG-Cq.js} +4 -3
  26. package/range-calendar-qpakwAba.js +0 -326
  27. package/range-date-input-DFnvo-KK.js +0 -507
package/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { filterTap as Pt, standardValidate as Ke, isStandardValidateSuccess as qe } from "@golemui/core";
2
2
  import "@golemui/gui-shared";
3
3
  import "@golemui/lit";
4
- import { LitElement as Zt, html as Ct } from "lit";
5
- import { property as Xe, query as It, customElement as Nt } from "lit/decorators.js";
4
+ import { LitElement as Zt, html as It } from "lit";
5
+ import { property as Xe, query as Ct, customElement as Nt } from "lit/decorators.js";
6
6
  const He = {
7
7
  LAYOUTS: "LAYOUTS",
8
8
  DISPLAYS: "DISPLAYS"
@@ -34,7 +34,7 @@ function H(e) {
34
34
  function et(e) {
35
35
  return q.has(e);
36
36
  }
37
- function y(e) {
37
+ function g(e) {
38
38
  const t = (a) => {
39
39
  if (!e.sensibleDefaults)
40
40
  return {};
@@ -76,7 +76,7 @@ function y(e) {
76
76
  function Mt(e) {
77
77
  return e ? e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (t) => t.toUpperCase()) : "";
78
78
  }
79
- function k(e, t) {
79
+ function S(e, t) {
80
80
  return e.label != null || t.suppressAutomaticLabels || !e.path ? e : { ...e, label: Mt(e.path) };
81
81
  }
82
82
  function N(e, t) {
@@ -106,7 +106,8 @@ const Dt = (e, t) => ({
106
106
  "MARKDOWN",
107
107
  "LIST",
108
108
  "CUSTOM_INPUT",
109
- "REPEATER"
109
+ "REPEATER",
110
+ "TAGS"
110
111
  ]),
111
112
  ACTIONS: /* @__PURE__ */ new Set(["ACTIONS", "CUSTOM_ACTION"]),
112
113
  DISPLAYS: /* @__PURE__ */ new Set(["DISPLAYS", "ALERTS", "CUSTOM_DISPLAY"]),
@@ -301,8 +302,7 @@ class Yt {
301
302
  }
302
303
  extractFormConfig() {
303
304
  return {
304
- suppressAutomaticStack: !1,
305
- onSubmit: (t) => console.log("Form submitted:", t)
305
+ suppressAutomaticStack: !1
306
306
  };
307
307
  }
308
308
  }
@@ -313,34 +313,25 @@ const Gt = new Yt(), nt = {
313
313
  onBlur: "blur"
314
314
  }, Kt = Object.keys(nt);
315
315
  class qt {
316
- // ── Action-specific: onClick + submit ─────────────────────────
317
- extractOnClickFromMergeResult(t, n, r, o) {
316
+ // ── Action-specific: onClick ───────────────────────────────────
317
+ extractOnClickFromMergeResult(t, n, r) {
318
318
  if (t.kind === "dynamic") {
319
- const a = t.fn;
320
- return { kind: "dynamic", fn: (c) => {
321
- const p = a(c);
322
- return this.wireOnClick(p, n, r, o);
319
+ const i = t.fn;
320
+ return { kind: "dynamic", fn: (u) => {
321
+ const c = i(u);
322
+ return this.wireOnClick(c, n, r);
323
323
  } };
324
324
  }
325
- const s = t.def;
326
- return { kind: "static", def: this.wireOnClick(s, n, r, o) };
327
- }
328
- wireOnClick(t, n, r, o) {
329
- const s = t.uid === "#submit" || t.onClick === "submit", i = s ? "#submit" : o.next(), a = s ? "submit" : i, u = t.onClick, p = (typeof u == "function" ? u : void 0) ?? (s ? r.onSubmit : void 0);
330
- if (p) {
331
- n.set(a, (f) => p(f.data));
332
- const { onClick: d, ...m } = t;
333
- return { ...m, uid: i, on: { click: a } };
334
- }
335
- if (s) {
336
- const { onClick: d, ...m } = t;
337
- return { ...m, uid: i, on: { click: "submit" } };
338
- }
339
- if (typeof u == "string") {
340
- const { onClick: d, ...m } = t;
341
- return { ...m, uid: i, on: { click: u } };
325
+ const o = t.def;
326
+ return { kind: "static", def: this.wireOnClick(o, n, r) };
327
+ }
328
+ wireOnClick(t, n, r) {
329
+ const o = r.next(), s = t.onClick;
330
+ if (typeof s == "function") {
331
+ const { onClick: i, ...a } = t, u = s(void 0);
332
+ return typeof u == "string" ? { ...a, uid: o, on: { click: u } } : (n.set(o, (c) => s(c.data)), { ...a, uid: o, on: { click: o } });
342
333
  }
343
- return { ...t, uid: i };
334
+ return { ...t, uid: o };
344
335
  }
345
336
  // ── Universal: onLoad, onChange, onFilter ──────────────────────
346
337
  wireInputLayoutEvents(t, n, r) {
@@ -370,7 +361,7 @@ class qt {
370
361
  return s && (i.on = o), i;
371
362
  }
372
363
  }
373
- const ge = new qt(), Xt = {
364
+ const ye = new qt(), Xt = {
374
365
  input: /* @__PURE__ */ new Set(["disabled", "readonly", "label", "validator", "size"]),
375
366
  action: /* @__PURE__ */ new Set(["disabled", "label", "size"]),
376
367
  layout: /* @__PURE__ */ new Set(["size"]),
@@ -499,11 +490,11 @@ class tn {
499
490
  });
500
491
  }
501
492
  processItem(t, n, r, o, s, i, a, u, c) {
502
- const p = n, d = H(n), m = d.parseEntry(t), f = this.buildBaseDef(m), C = this.buildDecoratorForMatching(f, p, r), S = this.resolver.resolve(C, o), Se = S.leafSelectors.filter((T) => T.targetState != null), Te = {
503
- leafSelectors: S.leafSelectors.filter((T) => T.targetState == null),
504
- sensibleDefaults: S.sensibleDefaults
493
+ const p = n, d = H(n), m = d.parseEntry(t), h = this.buildBaseDef(m), P = this.buildDecoratorForMatching(h, p, r), k = this.resolver.resolve(P, o), ke = k.leafSelectors.filter((T) => T.targetState != null), Te = {
494
+ leafSelectors: k.leafSelectors.filter((T) => T.targetState == null),
495
+ sensibleDefaults: k.sensibleDefaults
505
496
  };
506
- let L = this.merger.merge(f, p, Te);
497
+ let L = this.merger.merge(h, p, Te);
507
498
  d.afterMerge && (L = d.afterMerge(L, {
508
499
  eventRegistry: s,
509
500
  formConfig: i,
@@ -515,9 +506,9 @@ class tn {
515
506
  );
516
507
  const { cleanedResult: ze, stateData: ue } = this.stateExpansion.extractFromMergeResult(
517
508
  L,
518
- Se
509
+ ke
519
510
  );
520
- let I;
511
+ let C;
521
512
  if (d.buildCustomWidget) {
522
513
  const T = this.buildCustomWidgetContext(
523
514
  m.children,
@@ -528,17 +519,17 @@ class tn {
528
519
  u,
529
520
  c
530
521
  );
531
- I = this.buildCustomWidget(d, ze, T);
522
+ C = this.buildCustomWidget(d, ze, T);
532
523
  } else
533
- I = this.mapper.mapToWidget(ze, p);
534
- if (typeof I != "function") {
535
- const T = I;
524
+ C = this.mapper.mapToWidget(ze, p);
525
+ if (typeof C != "function") {
526
+ const T = C;
536
527
  T.uid || (T.path && !c.has(T.path) ? (T.uid = T.path, c.add(T.path)) : T.uid = `dx_${u.value++}`);
537
528
  }
538
529
  if (this.stateExpansion.hasStateData(ue))
539
- if (typeof I == "function") {
540
- const T = I;
541
- I = ((Et) => {
530
+ if (typeof C == "function") {
531
+ const T = C;
532
+ C = ((Et) => {
542
533
  const $t = T(Et);
543
534
  return this.stateExpansion.applyToWidget(
544
535
  $t,
@@ -548,13 +539,13 @@ class tn {
548
539
  );
549
540
  });
550
541
  } else
551
- I = this.stateExpansion.applyToWidget(
552
- I,
542
+ C = this.stateExpansion.applyToWidget(
543
+ C,
553
544
  ue,
554
545
  s,
555
546
  a
556
547
  );
557
- return I;
548
+ return C;
558
549
  }
559
550
  buildCustomWidgetContext(t, n, r, o, s, i, a) {
560
551
  return {
@@ -606,10 +597,10 @@ function v(e) {
606
597
  onLoad: p,
607
598
  onChange: d,
608
599
  onFilter: m,
609
- on: f,
610
- states: C,
611
- include: S,
612
- exclude: Se,
600
+ on: h,
601
+ states: P,
602
+ include: k,
603
+ exclude: ke,
613
604
  validator: Te,
614
605
  ...L
615
606
  } = e;
@@ -678,7 +669,7 @@ function sn(e) {
678
669
  validator: O(e.validator, "number")
679
670
  };
680
671
  }
681
- y({
672
+ g({
682
673
  itemType: "INPUTS",
683
674
  entryShape: "keyed",
684
675
  sensibleDefaults: {
@@ -688,7 +679,7 @@ y({
688
679
  },
689
680
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
690
681
  apply: (e, t) => {
691
- let n = k(e, t);
682
+ let n = S(e, t);
692
683
  return n = N(n, t), n;
693
684
  }
694
685
  },
@@ -698,36 +689,37 @@ function an(e) {
698
689
  const {
699
690
  uid: t,
700
691
  label: n,
701
- disabled: r,
702
- on: o,
703
- onClick: s,
704
- data: i,
705
- type: a,
706
- tags: u,
707
- size: c,
708
- include: p,
709
- exclude: d,
710
- states: m,
711
- ...f
692
+ actionType: r,
693
+ disabled: o,
694
+ on: s,
695
+ onClick: i,
696
+ data: a,
697
+ type: u,
698
+ tags: c,
699
+ size: p,
700
+ include: d,
701
+ exclude: m,
702
+ states: h,
703
+ ...P
712
704
  } = e;
713
705
  return {
714
706
  uid: t ?? "",
715
707
  kind: "action",
716
708
  type: "button",
717
- disabled: r,
709
+ disabled: o,
710
+ actionType: r,
718
711
  label: n,
719
- ...o != null ? { on: o } : {},
720
- props: f
712
+ ...s != null ? { on: s } : {},
713
+ props: P
721
714
  };
722
715
  }
723
- y({
716
+ g({
724
717
  itemType: "ACTIONS",
725
718
  entryShape: "bare",
726
719
  mapToWidget: an,
727
- afterMerge: (e, t) => ge.extractOnClickFromMergeResult(
720
+ afterMerge: (e, t) => ye.extractOnClickFromMergeResult(
728
721
  e,
729
722
  t.eventRegistry,
730
- t.formConfig,
731
723
  t.eventIdGenerator
732
724
  )
733
725
  });
@@ -766,7 +758,7 @@ function cn(e, t) {
766
758
  function ln(e) {
767
759
  return e.children;
768
760
  }
769
- y({
761
+ g({
770
762
  itemType: "LAYOUTS",
771
763
  entryShape: "compound",
772
764
  mapToWidget: un,
@@ -806,19 +798,19 @@ function dn(e, t) {
806
798
  };
807
799
  });
808
800
  }
809
- y({
801
+ g({
810
802
  itemType: "DISPLAYS",
811
803
  entryShape: "bare",
812
804
  mapToWidget: pn,
813
805
  buildCustomWidget: dn
814
806
  });
815
- y({
807
+ g({
816
808
  itemType: "CALENDAR",
817
809
  entryShape: "bare",
818
810
  sensibleDefaults: {
819
811
  base: { suppressAutomaticLabels: !1 },
820
812
  fields: ["suppressAutomaticLabels"],
821
- apply: (e, t) => k(e, t)
813
+ apply: (e, t) => S(e, t)
822
814
  },
823
815
  mapToWidget: (e) => ({
824
816
  uid: e.uid ?? "",
@@ -832,13 +824,13 @@ y({
832
824
  props: v(e)
833
825
  })
834
826
  });
835
- y({
827
+ g({
836
828
  itemType: "TEXTAREA",
837
829
  entryShape: "keyed",
838
830
  sensibleDefaults: {
839
831
  base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
840
832
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
841
- apply: (e, t) => N(k(e, t), t)
833
+ apply: (e, t) => N(S(e, t), t)
842
834
  },
843
835
  mapToWidget: (e) => ({
844
836
  uid: e.uid ?? "",
@@ -852,13 +844,13 @@ y({
852
844
  props: v(e)
853
845
  })
854
846
  });
855
- y({
847
+ g({
856
848
  itemType: "PASSWORD",
857
849
  entryShape: "keyed",
858
850
  sensibleDefaults: {
859
851
  base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
860
852
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
861
- apply: (e, t) => N(k(e, t), t)
853
+ apply: (e, t) => N(S(e, t), t)
862
854
  },
863
855
  mapToWidget: (e) => ({
864
856
  uid: e.uid ?? "",
@@ -872,13 +864,13 @@ y({
872
864
  props: v(e)
873
865
  })
874
866
  });
875
- y({
867
+ g({
876
868
  itemType: "CHECKBOX",
877
869
  entryShape: "keyed",
878
870
  sensibleDefaults: {
879
871
  base: { suppressAutomaticLabels: !1 },
880
872
  fields: ["suppressAutomaticLabels"],
881
- apply: (e, t) => k(e, t)
873
+ apply: (e, t) => S(e, t)
882
874
  },
883
875
  mapToWidget: (e) => ({
884
876
  uid: e.uid ?? "",
@@ -892,13 +884,13 @@ y({
892
884
  props: v(e)
893
885
  })
894
886
  });
895
- y({
887
+ g({
896
888
  itemType: "DATE_INPUT",
897
889
  entryShape: "keyed",
898
890
  sensibleDefaults: {
899
891
  base: { suppressAutomaticLabels: !1 },
900
892
  fields: ["suppressAutomaticLabels"],
901
- apply: (e, t) => k(e, t)
893
+ apply: (e, t) => S(e, t)
902
894
  },
903
895
  mapToWidget: (e) => ({
904
896
  uid: e.uid ?? "",
@@ -912,13 +904,13 @@ y({
912
904
  props: v(e)
913
905
  })
914
906
  });
915
- y({
907
+ g({
916
908
  itemType: "CURRENCY",
917
909
  entryShape: "keyed",
918
910
  sensibleDefaults: {
919
911
  base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
920
912
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
921
- apply: (e, t) => N(k(e, t), t)
913
+ apply: (e, t) => N(S(e, t), t)
922
914
  },
923
915
  mapToWidget: (e) => ({
924
916
  uid: e.uid ?? "",
@@ -932,13 +924,13 @@ y({
932
924
  props: v(e)
933
925
  })
934
926
  });
935
- y({
927
+ g({
936
928
  itemType: "RANGE_CALENDAR",
937
929
  entryShape: "keyed",
938
930
  sensibleDefaults: {
939
931
  base: { suppressAutomaticLabels: !1 },
940
932
  fields: ["suppressAutomaticLabels"],
941
- apply: (e, t) => k(e, t)
933
+ apply: (e, t) => S(e, t)
942
934
  },
943
935
  mapToWidget: (e) => ({
944
936
  uid: e.uid ?? "",
@@ -952,13 +944,13 @@ y({
952
944
  props: v(e)
953
945
  })
954
946
  });
955
- y({
947
+ g({
956
948
  itemType: "SELECT",
957
949
  entryShape: "keyed",
958
950
  sensibleDefaults: {
959
951
  base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
960
952
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
961
- apply: (e, t) => N(k(e, t), t)
953
+ apply: (e, t) => N(S(e, t), t)
962
954
  },
963
955
  mapToWidget: (e) => ({
964
956
  uid: e.uid ?? "",
@@ -972,13 +964,13 @@ y({
972
964
  props: v(e)
973
965
  })
974
966
  });
975
- y({
967
+ g({
976
968
  itemType: "RADIOGROUP",
977
969
  entryShape: "keyed",
978
970
  sensibleDefaults: {
979
971
  base: { suppressAutomaticLabels: !1 },
980
972
  fields: ["suppressAutomaticLabels"],
981
- apply: (e, t) => k(e, t)
973
+ apply: (e, t) => S(e, t)
982
974
  },
983
975
  mapToWidget: (e) => ({
984
976
  uid: e.uid ?? "",
@@ -1018,20 +1010,20 @@ function fn(e, t) {
1018
1010
  function hn(e) {
1019
1011
  return e.children;
1020
1012
  }
1021
- y({
1013
+ g({
1022
1014
  itemType: "TABS",
1023
1015
  entryShape: "compound",
1024
1016
  mapToWidget: mn,
1025
1017
  buildCustomWidget: fn,
1026
1018
  getChildren: hn
1027
1019
  });
1028
- y({
1020
+ g({
1029
1021
  itemType: "LIST",
1030
1022
  entryShape: "keyed",
1031
1023
  sensibleDefaults: {
1032
1024
  base: { suppressAutomaticLabels: !1 },
1033
1025
  fields: ["suppressAutomaticLabels"],
1034
- apply: (e, t) => k(e, t)
1026
+ apply: (e, t) => S(e, t)
1035
1027
  },
1036
1028
  mapToWidget: (e) => ({
1037
1029
  uid: e.uid ?? "",
@@ -1045,7 +1037,7 @@ y({
1045
1037
  props: v(e)
1046
1038
  })
1047
1039
  });
1048
- y({
1040
+ g({
1049
1041
  itemType: "ALERTS",
1050
1042
  entryShape: "bare",
1051
1043
  mapToWidget: (e) => ({
@@ -1058,7 +1050,7 @@ y({
1058
1050
  }
1059
1051
  })
1060
1052
  });
1061
- y({
1053
+ g({
1062
1054
  itemType: "DATE_PICKER",
1063
1055
  entryShape: "keyed",
1064
1056
  sensibleDefaults: {
@@ -1067,7 +1059,7 @@ y({
1067
1059
  suppressAutomaticPlaceholders: !1
1068
1060
  },
1069
1061
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
1070
- apply: (e, t) => N(k(e, t), t)
1062
+ apply: (e, t) => N(S(e, t), t)
1071
1063
  },
1072
1064
  mapToWidget: (e) => ({
1073
1065
  uid: e.uid ?? "",
@@ -1081,7 +1073,7 @@ y({
1081
1073
  props: v(e)
1082
1074
  })
1083
1075
  });
1084
- y({
1076
+ g({
1085
1077
  itemType: "DROPDOWN",
1086
1078
  entryShape: "keyed",
1087
1079
  sensibleDefaults: {
@@ -1090,7 +1082,7 @@ y({
1090
1082
  suppressAutomaticPlaceholders: !1
1091
1083
  },
1092
1084
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
1093
- apply: (e, t) => N(k(e, t), t)
1085
+ apply: (e, t) => N(S(e, t), t)
1094
1086
  },
1095
1087
  mapToWidget: (e) => ({
1096
1088
  uid: e.uid ?? "",
@@ -1104,7 +1096,7 @@ y({
1104
1096
  props: v(e)
1105
1097
  })
1106
1098
  });
1107
- function gn(e) {
1099
+ function yn(e) {
1108
1100
  return {
1109
1101
  uid: e.uid ?? "",
1110
1102
  kind: "layout",
@@ -1118,7 +1110,7 @@ function gn(e) {
1118
1110
  children: []
1119
1111
  };
1120
1112
  }
1121
- function yn(e, t) {
1113
+ function gn(e, t) {
1122
1114
  const n = t.walkChildren(t.children ?? []);
1123
1115
  if (e.kind === "static")
1124
1116
  return { ...t.mapStaticDef(e.def, "ACCORDION"), children: n };
@@ -1131,11 +1123,11 @@ function yn(e, t) {
1131
1123
  function bn(e) {
1132
1124
  return e.children;
1133
1125
  }
1134
- y({
1126
+ g({
1135
1127
  itemType: "ACCORDION",
1136
1128
  entryShape: "compound",
1137
- mapToWidget: gn,
1138
- buildCustomWidget: yn,
1129
+ mapToWidget: yn,
1130
+ buildCustomWidget: gn,
1139
1131
  getChildren: bn
1140
1132
  });
1141
1133
  function _n(e) {
@@ -1193,32 +1185,32 @@ function wn(e, t) {
1193
1185
  };
1194
1186
  });
1195
1187
  }
1196
- function kn(e) {
1188
+ function Sn(e) {
1197
1189
  return {
1198
1190
  baseDef: e.def,
1199
1191
  path: e.key,
1200
1192
  children: e.children
1201
1193
  };
1202
1194
  }
1203
- function Sn(e) {
1195
+ function kn(e) {
1204
1196
  return e.children;
1205
1197
  }
1206
1198
  const Tn = {
1207
- parseEntry: kn,
1199
+ parseEntry: Sn,
1208
1200
  rollUpSensibleDefaults: () => ({}),
1209
1201
  applySensibleDefaults: (e) => e,
1210
1202
  mapToWidget: vn,
1211
1203
  buildCustomWidget: wn,
1212
- getChildren: Sn
1204
+ getChildren: kn
1213
1205
  };
1214
1206
  Qe("REPEATER", Tn);
1215
- y({
1207
+ g({
1216
1208
  itemType: "MARKDOWN",
1217
1209
  entryShape: "keyed",
1218
1210
  sensibleDefaults: {
1219
1211
  base: { suppressAutomaticLabels: !1, suppressAutomaticPlaceholders: !1 },
1220
1212
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
1221
- apply: (e, t) => N(k(e, t), t)
1213
+ apply: (e, t) => N(S(e, t), t)
1222
1214
  },
1223
1215
  mapToWidget: (e) => ({
1224
1216
  uid: e.uid ?? "",
@@ -1232,13 +1224,13 @@ y({
1232
1224
  props: v(e)
1233
1225
  })
1234
1226
  });
1235
- y({
1227
+ g({
1236
1228
  itemType: "RANGE_DATE_INPUT",
1237
1229
  entryShape: "keyed",
1238
1230
  sensibleDefaults: {
1239
1231
  base: { suppressAutomaticLabels: !1 },
1240
1232
  fields: ["suppressAutomaticLabels"],
1241
- apply: (e, t) => k(e, t)
1233
+ apply: (e, t) => S(e, t)
1242
1234
  },
1243
1235
  mapToWidget: (e) => ({
1244
1236
  uid: e.uid ?? "",
@@ -1252,7 +1244,7 @@ y({
1252
1244
  props: v(e)
1253
1245
  })
1254
1246
  });
1255
- y({
1247
+ g({
1256
1248
  itemType: "RANGE_DATE_PICKER",
1257
1249
  entryShape: "keyed",
1258
1250
  sensibleDefaults: {
@@ -1261,7 +1253,7 @@ y({
1261
1253
  suppressAutomaticPlaceholders: !1
1262
1254
  },
1263
1255
  fields: ["suppressAutomaticLabels", "suppressAutomaticPlaceholders"],
1264
- apply: (e, t) => N(k(e, t), t)
1256
+ apply: (e, t) => N(S(e, t), t)
1265
1257
  },
1266
1258
  mapToWidget: (e) => ({
1267
1259
  uid: e.uid ?? "",
@@ -1275,7 +1267,7 @@ y({
1275
1267
  props: v(e)
1276
1268
  })
1277
1269
  });
1278
- y({
1270
+ g({
1279
1271
  itemType: "CUSTOM_DISPLAY",
1280
1272
  entryShape: "bare",
1281
1273
  mapToWidget: (e) => ({
@@ -1285,7 +1277,7 @@ y({
1285
1277
  props: e.props ?? {}
1286
1278
  })
1287
1279
  });
1288
- y({
1280
+ g({
1289
1281
  itemType: "CUSTOM_INPUT",
1290
1282
  entryShape: "keyed",
1291
1283
  sensibleDefaults: {
@@ -1293,7 +1285,7 @@ y({
1293
1285
  suppressAutomaticLabels: !1
1294
1286
  },
1295
1287
  fields: ["suppressAutomaticLabels"],
1296
- apply: (e, t) => k(e, t)
1288
+ apply: (e, t) => S(e, t)
1297
1289
  },
1298
1290
  mapToWidget: (e) => ({
1299
1291
  uid: e.uid ?? "",
@@ -1308,7 +1300,7 @@ y({
1308
1300
  props: e.props ?? {}
1309
1301
  })
1310
1302
  });
1311
- y({
1303
+ g({
1312
1304
  itemType: "CUSTOM_ACTION",
1313
1305
  entryShape: "bare",
1314
1306
  mapToWidget: (e) => {
@@ -1325,8 +1317,8 @@ y({
1325
1317
  include: p,
1326
1318
  exclude: d,
1327
1319
  states: m,
1328
- props: f,
1329
- ...C
1320
+ props: h,
1321
+ ...P
1330
1322
  } = e;
1331
1323
  return {
1332
1324
  uid: t ?? "",
@@ -1335,13 +1327,12 @@ y({
1335
1327
  label: n,
1336
1328
  disabled: r,
1337
1329
  ...o != null ? { on: o } : {},
1338
- props: { ...f, ...C }
1330
+ props: { ...h, ...P }
1339
1331
  };
1340
1332
  },
1341
- afterMerge: (e, t) => ge.extractOnClickFromMergeResult(
1333
+ afterMerge: (e, t) => ye.extractOnClickFromMergeResult(
1342
1334
  e,
1343
1335
  t.eventRegistry,
1344
- t.formConfig,
1345
1336
  t.eventIdGenerator
1346
1337
  )
1347
1338
  });
@@ -1367,7 +1358,7 @@ function An(e, t) {
1367
1358
  function On(e) {
1368
1359
  return e.children;
1369
1360
  }
1370
- y({
1361
+ g({
1371
1362
  itemType: "CUSTOM_LAYOUT",
1372
1363
  entryShape: "compound",
1373
1364
  mapToWidget: zn,
@@ -1442,10 +1433,10 @@ class En {
1442
1433
  const a = (c) => {
1443
1434
  if (c && typeof c == "object" && "path" in c && !("type" in c)) {
1444
1435
  const { path: p, ...d } = c;
1445
- for (const [m, f] of Object.entries(d))
1436
+ for (const [m, h] of Object.entries(d))
1446
1437
  s.callback({
1447
1438
  type: "OVERRIDE_WIDGET_PROP",
1448
- payload: { path: p, prop: m, value: f }
1439
+ payload: { path: p, prop: m, value: h }
1449
1440
  });
1450
1441
  } else
1451
1442
  s.callback(c);
@@ -1463,7 +1454,7 @@ const $n = new tn(
1463
1454
  jt,
1464
1455
  Vt,
1465
1456
  Bt,
1466
- ge,
1457
+ ye,
1467
1458
  Qt
1468
1459
  ), Pn = new En(Gt, $n);
1469
1460
  function Zn(e) {
@@ -1475,14 +1466,14 @@ function Oe(e) {
1475
1466
  const t = e;
1476
1467
  return t.type === "ITEMS" && typeof t.itemType == "string";
1477
1468
  }
1478
- const Ee = Object.freeze({}), Cn = Object.freeze({}), $e = /* @__PURE__ */ new WeakMap();
1469
+ const Ee = Object.freeze({}), In = Object.freeze({}), $e = /* @__PURE__ */ new WeakMap();
1479
1470
  function ce(e, t) {
1480
1471
  return e == null ? t : typeof e == "object" ? e : {};
1481
1472
  }
1482
- function In(e, t, n) {
1473
+ function Cn(e, t, n) {
1483
1474
  if (!Zn(e))
1484
1475
  return { formDef: e };
1485
- const r = ce(e, Ee), o = ce(t, Ee), s = ce(n, Cn);
1476
+ const r = ce(e, Ee), o = ce(t, Ee), s = ce(n, In);
1486
1477
  let i = $e.get(r);
1487
1478
  i || (i = /* @__PURE__ */ new WeakMap(), $e.set(r, i));
1488
1479
  let a = i.get(o);
@@ -1554,7 +1545,7 @@ function M(e) {
1554
1545
  function pe(e, t) {
1555
1546
  return typeof t == "bigint" ? t.toString() : t;
1556
1547
  }
1557
- function ye(e) {
1548
+ function ge(e) {
1558
1549
  return e == null;
1559
1550
  }
1560
1551
  function be(e) {
@@ -1562,7 +1553,7 @@ function be(e) {
1562
1553
  return e.slice(t, n);
1563
1554
  }
1564
1555
  const Pe = Symbol("evaluating");
1565
- function g(e, t, n) {
1556
+ function y(e, t, n) {
1566
1557
  let r;
1567
1558
  Object.defineProperty(e, t, {
1568
1559
  get() {
@@ -1613,7 +1604,7 @@ function it(e, t, n) {
1613
1604
  const r = new e._zod.constr(t ?? e._zod.def);
1614
1605
  return (!t || n?.parent) && (r._zod.parent = e), r;
1615
1606
  }
1616
- function h(e) {
1607
+ function f(e) {
1617
1608
  const t = e;
1618
1609
  if (!t)
1619
1610
  return {};
@@ -1753,7 +1744,7 @@ const ee = (e) => (t, n, r, o) => {
1753
1744
  }, Gn = (e) => (t, n, r) => ne(e)(t, n, r), Kn = (e) => async (t, n, r) => {
1754
1745
  const o = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
1755
1746
  return re(e)(t, n, o);
1756
- }, qn = (e) => async (t, n, r) => re(e)(t, n, r), Xn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Ce = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Hn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Qn = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, er = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, tr = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/, pt = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", nr = /* @__PURE__ */ new RegExp(`^${pt}$`);
1747
+ }, qn = (e) => async (t, n, r) => re(e)(t, n, r), Xn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Ie = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Hn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Qn = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, er = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, tr = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/, pt = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", nr = /* @__PURE__ */ new RegExp(`^${pt}$`);
1757
1748
  function dt(e) {
1758
1749
  const t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
1759
1750
  return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
@@ -1876,7 +1867,7 @@ const sr = (e) => {
1876
1867
  var n;
1877
1868
  $.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
1878
1869
  const o = r.value;
1879
- return !ye(o) && o.length !== void 0;
1870
+ return !ge(o) && o.length !== void 0;
1880
1871
  }), e._zod.onattach.push((r) => {
1881
1872
  const o = r._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
1882
1873
  t.maximum < o && (r._zod.bag.maximum = t.maximum);
@@ -1899,7 +1890,7 @@ const sr = (e) => {
1899
1890
  var n;
1900
1891
  $.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
1901
1892
  const o = r.value;
1902
- return !ye(o) && o.length !== void 0;
1893
+ return !ge(o) && o.length !== void 0;
1903
1894
  }), e._zod.onattach.push((r) => {
1904
1895
  const o = r._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
1905
1896
  t.minimum > o && (r._zod.bag.minimum = t.minimum);
@@ -1918,11 +1909,11 @@ const sr = (e) => {
1918
1909
  continue: !t.abort
1919
1910
  });
1920
1911
  };
1921
- }), gr = /* @__PURE__ */ l("$ZodCheckLengthEquals", (e, t) => {
1912
+ }), yr = /* @__PURE__ */ l("$ZodCheckLengthEquals", (e, t) => {
1922
1913
  var n;
1923
1914
  $.init(e, t), (n = e._zod.def).when ?? (n.when = (r) => {
1924
1915
  const o = r.value;
1925
- return !ye(o) && o.length !== void 0;
1916
+ return !ge(o) && o.length !== void 0;
1926
1917
  }), e._zod.onattach.push((r) => {
1927
1918
  const o = r._zod.bag;
1928
1919
  o.minimum = t.length, o.maximum = t.length, o.length = t.length;
@@ -1958,7 +1949,7 @@ const sr = (e) => {
1958
1949
  });
1959
1950
  }) : (r = e._zod).check ?? (r.check = () => {
1960
1951
  });
1961
- }), yr = /* @__PURE__ */ l("$ZodCheckRegex", (e, t) => {
1952
+ }), gr = /* @__PURE__ */ l("$ZodCheckRegex", (e, t) => {
1962
1953
  oe.init(e, t), e._zod.check = (n) => {
1963
1954
  t.pattern.lastIndex = 0, !t.pattern.test(n.value) && n.issues.push({
1964
1955
  origin: "string",
@@ -2008,7 +1999,7 @@ const sr = (e) => {
2008
1999
  continue: !t.abort
2009
2000
  });
2010
2001
  };
2011
- }), kr = /* @__PURE__ */ l("$ZodCheckEndsWith", (e, t) => {
2002
+ }), Sr = /* @__PURE__ */ l("$ZodCheckEndsWith", (e, t) => {
2012
2003
  $.init(e, t);
2013
2004
  const n = new RegExp(`.*${_e(t.suffix)}$`);
2014
2005
  t.pattern ?? (t.pattern = n), e._zod.onattach.push((r) => {
@@ -2025,7 +2016,7 @@ const sr = (e) => {
2025
2016
  continue: !t.abort
2026
2017
  });
2027
2018
  };
2028
- }), Sr = /* @__PURE__ */ l("$ZodCheckOverwrite", (e, t) => {
2019
+ }), kr = /* @__PURE__ */ l("$ZodCheckOverwrite", (e, t) => {
2029
2020
  $.init(e, t), e._zod.check = (n) => {
2030
2021
  n.value = t.tx(n.value);
2031
2022
  };
@@ -2054,12 +2045,12 @@ const sr = (e) => {
2054
2045
  continue;
2055
2046
  } else if (c)
2056
2047
  continue;
2057
- const m = i.issues.length, f = d._zod.check(i);
2058
- if (f instanceof Promise && u?.async === !1)
2048
+ const m = i.issues.length, h = d._zod.check(i);
2049
+ if (h instanceof Promise && u?.async === !1)
2059
2050
  throw new j();
2060
- if (p || f instanceof Promise)
2051
+ if (p || h instanceof Promise)
2061
2052
  p = (p ?? Promise.resolve()).then(async () => {
2062
- await f, i.issues.length !== m && (c || (c = F(i, m)));
2053
+ await h, i.issues.length !== m && (c || (c = F(i, m)));
2063
2054
  });
2064
2055
  else {
2065
2056
  if (i.issues.length === m)
@@ -2095,7 +2086,7 @@ const sr = (e) => {
2095
2086
  return o(u, r, a);
2096
2087
  };
2097
2088
  }
2098
- g(e, "~standard", () => ({
2089
+ y(e, "~standard", () => ({
2099
2090
  validate: (o) => {
2100
2091
  try {
2101
2092
  const s = ct(e, o);
@@ -2121,7 +2112,7 @@ const sr = (e) => {
2121
2112
  inst: e
2122
2113
  }), n;
2123
2114
  };
2124
- }), P = /* @__PURE__ */ l("$ZodStringFormat", (e, t) => {
2115
+ }), Z = /* @__PURE__ */ l("$ZodStringFormat", (e, t) => {
2125
2116
  oe.init(e, t), we.init(e, t);
2126
2117
  }), zr = /* @__PURE__ */ l("$ZodUUID", (e, t) => {
2127
2118
  if (t.version) {
@@ -2137,14 +2128,14 @@ const sr = (e) => {
2137
2128
  }[t.version];
2138
2129
  if (r === void 0)
2139
2130
  throw new Error(`Invalid UUID version: "${t.version}"`);
2140
- t.pattern ?? (t.pattern = Ce(r));
2131
+ t.pattern ?? (t.pattern = Ie(r));
2141
2132
  } else
2142
- t.pattern ?? (t.pattern = Ce());
2143
- P.init(e, t);
2133
+ t.pattern ?? (t.pattern = Ie());
2134
+ Z.init(e, t);
2144
2135
  }), Ar = /* @__PURE__ */ l("$ZodEmail", (e, t) => {
2145
- t.pattern ?? (t.pattern = Hn), P.init(e, t);
2136
+ t.pattern ?? (t.pattern = Hn), Z.init(e, t);
2146
2137
  }), Or = /* @__PURE__ */ l("$ZodURL", (e, t) => {
2147
- P.init(e, t), e._zod.check = (n) => {
2138
+ Z.init(e, t), e._zod.check = (n) => {
2148
2139
  try {
2149
2140
  const r = n.value.trim(), o = new URL(r);
2150
2141
  t.hostname && (t.hostname.lastIndex = 0, t.hostname.test(o.hostname) || n.issues.push({
@@ -2176,17 +2167,17 @@ const sr = (e) => {
2176
2167
  }
2177
2168
  };
2178
2169
  }), Er = /* @__PURE__ */ l("$ZodISODateTime", (e, t) => {
2179
- t.pattern ?? (t.pattern = or(t)), P.init(e, t);
2170
+ t.pattern ?? (t.pattern = or(t)), Z.init(e, t);
2180
2171
  }), $r = /* @__PURE__ */ l("$ZodISODate", (e, t) => {
2181
- t.pattern ?? (t.pattern = nr), P.init(e, t);
2172
+ t.pattern ?? (t.pattern = nr), Z.init(e, t);
2182
2173
  }), Pr = /* @__PURE__ */ l("$ZodISOTime", (e, t) => {
2183
- t.pattern ?? (t.pattern = rr(t)), P.init(e, t);
2174
+ t.pattern ?? (t.pattern = rr(t)), Z.init(e, t);
2184
2175
  }), Zr = /* @__PURE__ */ l("$ZodISODuration", (e, t) => {
2185
- t.pattern ?? (t.pattern = Xn), P.init(e, t);
2186
- }), Cr = /* @__PURE__ */ l("$ZodIPv4", (e, t) => {
2187
- t.pattern ?? (t.pattern = Qn), P.init(e, t), e._zod.bag.format = "ipv4";
2188
- }), Ir = /* @__PURE__ */ l("$ZodIPv6", (e, t) => {
2189
- t.pattern ?? (t.pattern = er), P.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
2176
+ t.pattern ?? (t.pattern = Xn), Z.init(e, t);
2177
+ }), Ir = /* @__PURE__ */ l("$ZodIPv4", (e, t) => {
2178
+ t.pattern ?? (t.pattern = Qn), Z.init(e, t), e._zod.bag.format = "ipv4";
2179
+ }), Cr = /* @__PURE__ */ l("$ZodIPv6", (e, t) => {
2180
+ t.pattern ?? (t.pattern = er), Z.init(e, t), e._zod.bag.format = "ipv6", e._zod.check = (n) => {
2190
2181
  try {
2191
2182
  new URL(`http://[${n.value}]`);
2192
2183
  } catch {
@@ -2200,7 +2191,7 @@ const sr = (e) => {
2200
2191
  }
2201
2192
  };
2202
2193
  }), Nr = /* @__PURE__ */ l("$ZodCustomStringFormat", (e, t) => {
2203
- P.init(e, t), e._zod.check = (n) => {
2194
+ Z.init(e, t), e._zod.check = (n) => {
2204
2195
  t.fn(n.value) || n.issues.push({
2205
2196
  code: "invalid_format",
2206
2197
  format: t.format,
@@ -2248,7 +2239,7 @@ const sr = (e) => {
2248
2239
  }), Dr = /* @__PURE__ */ l("$ZodAny", (e, t) => {
2249
2240
  _.init(e, t), e._zod.parse = (n) => n;
2250
2241
  });
2251
- function Ie(e, t, n) {
2242
+ function Ce(e, t, n) {
2252
2243
  e.issues.length && t.issues.push(...Rn(n, e.issues)), t.value[n] = e.value;
2253
2244
  }
2254
2245
  const ht = /* @__PURE__ */ l("$ZodArray", (e, t) => {
@@ -2268,7 +2259,7 @@ const ht = /* @__PURE__ */ l("$ZodArray", (e, t) => {
2268
2259
  value: a,
2269
2260
  issues: []
2270
2261
  }, r);
2271
- u instanceof Promise ? s.push(u.then((c) => Ie(c, n, i))) : Ie(u, n, i);
2262
+ u instanceof Promise ? s.push(u.then((c) => Ce(c, n, i))) : Ce(u, n, i);
2272
2263
  }
2273
2264
  return s.length ? Promise.all(s).then(() => n) : n;
2274
2265
  };
@@ -2286,10 +2277,10 @@ function Ne(e, t, n, r) {
2286
2277
  }), t);
2287
2278
  }
2288
2279
  const Rr = /* @__PURE__ */ l("$ZodUnion", (e, t) => {
2289
- _.init(e, t), g(e._zod, "optin", () => t.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0), g(e._zod, "optout", () => t.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0), g(e._zod, "values", () => {
2280
+ _.init(e, t), y(e._zod, "optin", () => t.options.some((o) => o._zod.optin === "optional") ? "optional" : void 0), y(e._zod, "optout", () => t.options.some((o) => o._zod.optout === "optional") ? "optional" : void 0), y(e._zod, "values", () => {
2290
2281
  if (t.options.every((o) => o._zod.values))
2291
2282
  return new Set(t.options.flatMap((o) => Array.from(o._zod.values)));
2292
- }), g(e._zod, "pattern", () => {
2283
+ }), y(e._zod, "pattern", () => {
2293
2284
  if (t.options.every((o) => o._zod.pattern)) {
2294
2285
  const o = t.options.map((s) => s._zod.pattern);
2295
2286
  return new RegExp(`^(${o.map((s) => be(s.source)).join("|")})$`);
@@ -2396,8 +2387,8 @@ const jr = /* @__PURE__ */ l("$ZodTransform", (e, t) => {
2396
2387
  function Me(e, t) {
2397
2388
  return e.issues.length && t === void 0 ? { issues: [], value: void 0 } : e;
2398
2389
  }
2399
- const ke = /* @__PURE__ */ l("$ZodOptional", (e, t) => {
2400
- _.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", g(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), g(e._zod, "pattern", () => {
2390
+ const Se = /* @__PURE__ */ l("$ZodOptional", (e, t) => {
2391
+ _.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", y(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), y(e._zod, "pattern", () => {
2401
2392
  const n = t.innerType._zod.pattern;
2402
2393
  return n ? new RegExp(`^(${be(n.source)})?$`) : void 0;
2403
2394
  }), e._zod.parse = (n, r) => {
@@ -2408,14 +2399,14 @@ const ke = /* @__PURE__ */ l("$ZodOptional", (e, t) => {
2408
2399
  return n.value === void 0 ? n : t.innerType._zod.run(n, r);
2409
2400
  };
2410
2401
  }), Wr = /* @__PURE__ */ l("$ZodExactOptional", (e, t) => {
2411
- ke.init(e, t), g(e._zod, "values", () => t.innerType._zod.values), g(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (n, r) => t.innerType._zod.run(n, r);
2402
+ Se.init(e, t), y(e._zod, "values", () => t.innerType._zod.values), y(e._zod, "pattern", () => t.innerType._zod.pattern), e._zod.parse = (n, r) => t.innerType._zod.run(n, r);
2412
2403
  }), xr = /* @__PURE__ */ l("$ZodNullable", (e, t) => {
2413
- _.init(e, t), g(e._zod, "optin", () => t.innerType._zod.optin), g(e._zod, "optout", () => t.innerType._zod.optout), g(e._zod, "pattern", () => {
2404
+ _.init(e, t), y(e._zod, "optin", () => t.innerType._zod.optin), y(e._zod, "optout", () => t.innerType._zod.optout), y(e._zod, "pattern", () => {
2414
2405
  const n = t.innerType._zod.pattern;
2415
2406
  return n ? new RegExp(`^(${be(n.source)}|null)$`) : void 0;
2416
- }), g(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (n, r) => n.value === null ? n : t.innerType._zod.run(n, r);
2407
+ }), y(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (n, r) => n.value === null ? n : t.innerType._zod.run(n, r);
2417
2408
  }), Ur = /* @__PURE__ */ l("$ZodDefault", (e, t) => {
2418
- _.init(e, t), e._zod.optin = "optional", g(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
2409
+ _.init(e, t), e._zod.optin = "optional", y(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
2419
2410
  if (r.direction === "backward")
2420
2411
  return t.innerType._zod.run(n, r);
2421
2412
  if (n.value === void 0)
@@ -2428,9 +2419,9 @@ function De(e, t) {
2428
2419
  return e.value === void 0 && (e.value = t.defaultValue), e;
2429
2420
  }
2430
2421
  const Vr = /* @__PURE__ */ l("$ZodPrefault", (e, t) => {
2431
- _.init(e, t), e._zod.optin = "optional", g(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => (r.direction === "backward" || n.value === void 0 && (n.value = t.defaultValue), t.innerType._zod.run(n, r));
2422
+ _.init(e, t), e._zod.optin = "optional", y(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => (r.direction === "backward" || n.value === void 0 && (n.value = t.defaultValue), t.innerType._zod.run(n, r));
2432
2423
  }), Jr = /* @__PURE__ */ l("$ZodNonOptional", (e, t) => {
2433
- _.init(e, t), g(e._zod, "values", () => {
2424
+ _.init(e, t), y(e._zod, "values", () => {
2434
2425
  const n = t.innerType._zod.values;
2435
2426
  return n ? new Set([...n].filter((r) => r !== void 0)) : void 0;
2436
2427
  }), e._zod.parse = (n, r) => {
@@ -2447,7 +2438,7 @@ function Re(e, t) {
2447
2438
  }), e;
2448
2439
  }
2449
2440
  const Br = /* @__PURE__ */ l("$ZodCatch", (e, t) => {
2450
- _.init(e, t), g(e._zod, "optin", () => t.innerType._zod.optin), g(e._zod, "optout", () => t.innerType._zod.optout), g(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
2441
+ _.init(e, t), y(e._zod, "optin", () => t.innerType._zod.optin), y(e._zod, "optout", () => t.innerType._zod.optout), y(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (n, r) => {
2451
2442
  if (r.direction === "backward")
2452
2443
  return t.innerType._zod.run(n, r);
2453
2444
  const o = t.innerType._zod.run(n, r);
@@ -2466,7 +2457,7 @@ const Br = /* @__PURE__ */ l("$ZodCatch", (e, t) => {
2466
2457
  }), n.issues = []), n);
2467
2458
  };
2468
2459
  }), Yr = /* @__PURE__ */ l("$ZodPipe", (e, t) => {
2469
- _.init(e, t), g(e._zod, "values", () => t.in._zod.values), g(e._zod, "optin", () => t.in._zod.optin), g(e._zod, "optout", () => t.out._zod.optout), g(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (n, r) => {
2460
+ _.init(e, t), y(e._zod, "values", () => t.in._zod.values), y(e._zod, "optin", () => t.in._zod.optin), y(e._zod, "optout", () => t.out._zod.optout), y(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (n, r) => {
2470
2461
  if (r.direction === "backward") {
2471
2462
  const s = t.out._zod.run(n, r);
2472
2463
  return s instanceof Promise ? s.then((i) => K(i, t.in, r)) : K(s, t.in, r);
@@ -2479,7 +2470,7 @@ function K(e, t, n) {
2479
2470
  return e.issues.length ? (e.aborted = !0, e) : t._zod.run({ value: e.value, issues: e.issues }, n);
2480
2471
  }
2481
2472
  const Gr = /* @__PURE__ */ l("$ZodReadonly", (e, t) => {
2482
- _.init(e, t), g(e._zod, "propValues", () => t.innerType._zod.propValues), g(e._zod, "values", () => t.innerType._zod.values), g(e._zod, "optin", () => t.innerType?._zod?.optin), g(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (n, r) => {
2473
+ _.init(e, t), y(e._zod, "propValues", () => t.innerType._zod.propValues), y(e._zod, "values", () => t.innerType._zod.values), y(e._zod, "optin", () => t.innerType?._zod?.optin), y(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (n, r) => {
2483
2474
  if (r.direction === "backward")
2484
2475
  return t.innerType._zod.run(n, r);
2485
2476
  const o = t.innerType._zod.run(n, r);
@@ -2489,7 +2480,7 @@ const Gr = /* @__PURE__ */ l("$ZodReadonly", (e, t) => {
2489
2480
  function Fe(e) {
2490
2481
  return e.value = Object.freeze(e.value), e;
2491
2482
  }
2492
- const gt = /* @__PURE__ */ l("$ZodCustom", (e, t) => {
2483
+ const yt = /* @__PURE__ */ l("$ZodCustom", (e, t) => {
2493
2484
  $.init(e, t), _.init(e, t), e._zod.parse = (n, r) => n, e._zod.check = (n) => {
2494
2485
  const r = n.value, o = t.fn(r);
2495
2486
  if (o instanceof Promise)
@@ -2551,7 +2542,7 @@ const V = globalThis.__zod_globalRegistry;
2551
2542
  function Xr(e, t) {
2552
2543
  return new e({
2553
2544
  type: "string",
2554
- ...h(t)
2545
+ ...f(t)
2555
2546
  });
2556
2547
  }
2557
2548
  // @__NO_SIDE_EFFECTS__
@@ -2561,7 +2552,7 @@ function Hr(e, t) {
2561
2552
  format: "email",
2562
2553
  check: "string_format",
2563
2554
  abort: !1,
2564
- ...h(t)
2555
+ ...f(t)
2565
2556
  });
2566
2557
  }
2567
2558
  // @__NO_SIDE_EFFECTS__
@@ -2571,7 +2562,7 @@ function Qr(e, t) {
2571
2562
  format: "uuid",
2572
2563
  check: "string_format",
2573
2564
  abort: !1,
2574
- ...h(t)
2565
+ ...f(t)
2575
2566
  });
2576
2567
  }
2577
2568
  // @__NO_SIDE_EFFECTS__
@@ -2581,7 +2572,7 @@ function eo(e, t) {
2581
2572
  format: "url",
2582
2573
  check: "string_format",
2583
2574
  abort: !1,
2584
- ...h(t)
2575
+ ...f(t)
2585
2576
  });
2586
2577
  }
2587
2578
  // @__NO_SIDE_EFFECTS__
@@ -2591,7 +2582,7 @@ function to(e, t) {
2591
2582
  format: "ipv4",
2592
2583
  check: "string_format",
2593
2584
  abort: !1,
2594
- ...h(t)
2585
+ ...f(t)
2595
2586
  });
2596
2587
  }
2597
2588
  // @__NO_SIDE_EFFECTS__
@@ -2601,7 +2592,7 @@ function no(e, t) {
2601
2592
  format: "ipv6",
2602
2593
  check: "string_format",
2603
2594
  abort: !1,
2604
- ...h(t)
2595
+ ...f(t)
2605
2596
  });
2606
2597
  }
2607
2598
  // @__NO_SIDE_EFFECTS__
@@ -2613,7 +2604,7 @@ function ro(e, t) {
2613
2604
  offset: !1,
2614
2605
  local: !1,
2615
2606
  precision: null,
2616
- ...h(t)
2607
+ ...f(t)
2617
2608
  });
2618
2609
  }
2619
2610
  // @__NO_SIDE_EFFECTS__
@@ -2622,7 +2613,7 @@ function oo(e, t) {
2622
2613
  type: "string",
2623
2614
  format: "date",
2624
2615
  check: "string_format",
2625
- ...h(t)
2616
+ ...f(t)
2626
2617
  });
2627
2618
  }
2628
2619
  // @__NO_SIDE_EFFECTS__
@@ -2632,7 +2623,7 @@ function so(e, t) {
2632
2623
  format: "time",
2633
2624
  check: "string_format",
2634
2625
  precision: null,
2635
- ...h(t)
2626
+ ...f(t)
2636
2627
  });
2637
2628
  }
2638
2629
  // @__NO_SIDE_EFFECTS__
@@ -2641,7 +2632,7 @@ function io(e, t) {
2641
2632
  type: "string",
2642
2633
  format: "duration",
2643
2634
  check: "string_format",
2644
- ...h(t)
2635
+ ...f(t)
2645
2636
  });
2646
2637
  }
2647
2638
  // @__NO_SIDE_EFFECTS__
@@ -2649,7 +2640,7 @@ function ao(e, t) {
2649
2640
  return new e({
2650
2641
  type: "number",
2651
2642
  checks: [],
2652
- ...h(t)
2643
+ ...f(t)
2653
2644
  });
2654
2645
  }
2655
2646
  // @__NO_SIDE_EFFECTS__
@@ -2659,14 +2650,14 @@ function uo(e, t) {
2659
2650
  check: "number_format",
2660
2651
  abort: !1,
2661
2652
  format: "safeint",
2662
- ...h(t)
2653
+ ...f(t)
2663
2654
  });
2664
2655
  }
2665
2656
  // @__NO_SIDE_EFFECTS__
2666
2657
  function co(e, t) {
2667
2658
  return new e({
2668
2659
  type: "boolean",
2669
- ...h(t)
2660
+ ...f(t)
2670
2661
  });
2671
2662
  }
2672
2663
  // @__NO_SIDE_EFFECTS__
@@ -2679,7 +2670,7 @@ function lo(e) {
2679
2670
  function po(e, t) {
2680
2671
  return new pr({
2681
2672
  check: "less_than",
2682
- ...h(t),
2673
+ ...f(t),
2683
2674
  value: e,
2684
2675
  inclusive: !0
2685
2676
  });
@@ -2688,7 +2679,7 @@ function po(e, t) {
2688
2679
  function mo(e, t) {
2689
2680
  return new dr({
2690
2681
  check: "greater_than",
2691
- ...h(t),
2682
+ ...f(t),
2692
2683
  value: e,
2693
2684
  inclusive: !0
2694
2685
  });
@@ -2697,7 +2688,7 @@ function mo(e, t) {
2697
2688
  function se(e, t) {
2698
2689
  return new fr({
2699
2690
  check: "max_length",
2700
- ...h(t),
2691
+ ...f(t),
2701
2692
  maximum: e
2702
2693
  });
2703
2694
  }
@@ -2705,24 +2696,24 @@ function se(e, t) {
2705
2696
  function W(e, t) {
2706
2697
  return new hr({
2707
2698
  check: "min_length",
2708
- ...h(t),
2699
+ ...f(t),
2709
2700
  minimum: e
2710
2701
  });
2711
2702
  }
2712
2703
  // @__NO_SIDE_EFFECTS__
2713
- function yt(e, t) {
2714
- return new gr({
2704
+ function gt(e, t) {
2705
+ return new yr({
2715
2706
  check: "length_equals",
2716
- ...h(t),
2707
+ ...f(t),
2717
2708
  length: e
2718
2709
  });
2719
2710
  }
2720
2711
  // @__NO_SIDE_EFFECTS__
2721
2712
  function bt(e, t) {
2722
- return new yr({
2713
+ return new gr({
2723
2714
  check: "string_format",
2724
2715
  format: "regex",
2725
- ...h(t),
2716
+ ...f(t),
2726
2717
  pattern: e
2727
2718
  });
2728
2719
  }
@@ -2731,7 +2722,7 @@ function fo(e) {
2731
2722
  return new br({
2732
2723
  check: "string_format",
2733
2724
  format: "lowercase",
2734
- ...h(e)
2725
+ ...f(e)
2735
2726
  });
2736
2727
  }
2737
2728
  // @__NO_SIDE_EFFECTS__
@@ -2739,39 +2730,39 @@ function ho(e) {
2739
2730
  return new _r({
2740
2731
  check: "string_format",
2741
2732
  format: "uppercase",
2742
- ...h(e)
2733
+ ...f(e)
2743
2734
  });
2744
2735
  }
2745
2736
  // @__NO_SIDE_EFFECTS__
2746
- function go(e, t) {
2737
+ function yo(e, t) {
2747
2738
  return new vr({
2748
2739
  check: "string_format",
2749
2740
  format: "includes",
2750
- ...h(t),
2741
+ ...f(t),
2751
2742
  includes: e
2752
2743
  });
2753
2744
  }
2754
2745
  // @__NO_SIDE_EFFECTS__
2755
- function yo(e, t) {
2746
+ function go(e, t) {
2756
2747
  return new wr({
2757
2748
  check: "string_format",
2758
2749
  format: "starts_with",
2759
- ...h(t),
2750
+ ...f(t),
2760
2751
  prefix: e
2761
2752
  });
2762
2753
  }
2763
2754
  // @__NO_SIDE_EFFECTS__
2764
2755
  function bo(e, t) {
2765
- return new kr({
2756
+ return new Sr({
2766
2757
  check: "string_format",
2767
2758
  format: "ends_with",
2768
- ...h(t),
2759
+ ...f(t),
2769
2760
  suffix: e
2770
2761
  });
2771
2762
  }
2772
2763
  // @__NO_SIDE_EFFECTS__
2773
2764
  function x(e) {
2774
- return new Sr({
2765
+ return new kr({
2775
2766
  check: "overwrite",
2776
2767
  tx: e
2777
2768
  });
@@ -2789,11 +2780,11 @@ function wo() {
2789
2780
  return /* @__PURE__ */ x((e) => e.toLowerCase());
2790
2781
  }
2791
2782
  // @__NO_SIDE_EFFECTS__
2792
- function ko() {
2783
+ function So() {
2793
2784
  return /* @__PURE__ */ x((e) => e.toUpperCase());
2794
2785
  }
2795
2786
  // @__NO_SIDE_EFFECTS__
2796
- function So() {
2787
+ function ko() {
2797
2788
  return /* @__PURE__ */ x((e) => Mn(e));
2798
2789
  }
2799
2790
  // @__NO_SIDE_EFFECTS__
@@ -2804,7 +2795,7 @@ function To(e, t, n) {
2804
2795
  // get element() {
2805
2796
  // return element;
2806
2797
  // },
2807
- ...h(n)
2798
+ ...f(n)
2808
2799
  });
2809
2800
  }
2810
2801
  // @__NO_SIDE_EFFECTS__
@@ -2813,7 +2804,7 @@ function _t(e, t, n) {
2813
2804
  type: "custom",
2814
2805
  check: "custom",
2815
2806
  fn: t,
2816
- ...h(n)
2807
+ ...f(n)
2817
2808
  });
2818
2809
  }
2819
2810
  // @__NO_SIDE_EFFECTS__
@@ -2832,14 +2823,14 @@ function vt(e) {
2832
2823
  function zo(e, t) {
2833
2824
  const n = new $({
2834
2825
  check: "custom",
2835
- ...h(t)
2826
+ ...f(t)
2836
2827
  });
2837
2828
  return n._zod.check = e, n;
2838
2829
  }
2839
2830
  // @__NO_SIDE_EFFECTS__
2840
2831
  function Ao(e, t, n, r = {}) {
2841
- const o = h(r), s = {
2842
- ...h(r),
2832
+ const o = f(r), s = {
2833
+ ...f(r),
2843
2834
  check: "string_format",
2844
2835
  type: "string",
2845
2836
  format: t,
@@ -2884,10 +2875,10 @@ function A(e, t, n = { path: [], schemaPath: [] }) {
2884
2875
  if (e._zod.processJSONSchema)
2885
2876
  e._zod.processJSONSchema(t, i.schema, p);
2886
2877
  else {
2887
- const m = i.schema, f = t.processors[o.type];
2888
- if (!f)
2878
+ const m = i.schema, h = t.processors[o.type];
2879
+ if (!h)
2889
2880
  throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);
2890
- f(e, t, m, p);
2881
+ h(e, t, m, p);
2891
2882
  }
2892
2883
  const d = e._zod.parent;
2893
2884
  d && (i.ref || (i.ref = d), A(d, t, p), t.seen.get(d).isParent = !0);
@@ -2895,7 +2886,7 @@ function A(e, t, n = { path: [], schemaPath: [] }) {
2895
2886
  const u = t.metadataRegistry.get(e);
2896
2887
  return u && Object.assign(i.schema, u), t.io === "input" && z(e) && (delete i.schema.examples, delete i.schema.default), t.io === "input" && i.schema._prefault && ((r = i.schema).default ?? (r.default = i.schema._prefault)), delete i.schema._prefault, t.seen.get(e).schema;
2897
2888
  }
2898
- function kt(e, t) {
2889
+ function St(e, t) {
2899
2890
  const n = e.seen.get(t);
2900
2891
  if (!n)
2901
2892
  throw new Error("Unprocessed schema. This is a bug in Zod.");
@@ -2912,11 +2903,11 @@ function kt(e, t) {
2912
2903
  const o = (i) => {
2913
2904
  const a = e.target === "draft-2020-12" ? "$defs" : "definitions";
2914
2905
  if (e.external) {
2915
- const d = e.external.registry.get(i[0])?.id, m = e.external.uri ?? ((C) => C);
2906
+ const d = e.external.registry.get(i[0])?.id, m = e.external.uri ?? ((P) => P);
2916
2907
  if (d)
2917
2908
  return { ref: m(d) };
2918
- const f = i[1].defId ?? i[1].schema.id ?? `schema${e.counter++}`;
2919
- return i[1].defId = f, { defId: f, ref: `${m("__shared")}#/${a}/${f}` };
2909
+ const h = i[1].defId ?? i[1].schema.id ?? `schema${e.counter++}`;
2910
+ return i[1].defId = h, { defId: h, ref: `${m("__shared")}#/${a}/${h}` };
2920
2911
  }
2921
2912
  if (i[1] === n)
2922
2913
  return { ref: "#" };
@@ -2967,7 +2958,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
2967
2958
  }
2968
2959
  }
2969
2960
  }
2970
- function St(e, t) {
2961
+ function kt(e, t) {
2971
2962
  const n = e.seen.get(t);
2972
2963
  if (!n)
2973
2964
  throw new Error("Unprocessed schema. This is a bug in Zod.");
@@ -2978,21 +2969,21 @@ function St(e, t) {
2978
2969
  const u = a.def ?? a.schema, c = { ...u }, p = a.ref;
2979
2970
  if (a.ref = null, p) {
2980
2971
  r(p);
2981
- const m = e.seen.get(p), f = m.schema;
2982
- if (f.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (u.allOf = u.allOf ?? [], u.allOf.push(f)) : Object.assign(u, f), Object.assign(u, c), i._zod.parent === p)
2983
- for (const S in u)
2984
- S === "$ref" || S === "allOf" || S in c || delete u[S];
2985
- if (f.$ref && m.def)
2986
- for (const S in u)
2987
- S === "$ref" || S === "allOf" || S in m.def && JSON.stringify(u[S]) === JSON.stringify(m.def[S]) && delete u[S];
2972
+ const m = e.seen.get(p), h = m.schema;
2973
+ if (h.$ref && (e.target === "draft-07" || e.target === "draft-04" || e.target === "openapi-3.0") ? (u.allOf = u.allOf ?? [], u.allOf.push(h)) : Object.assign(u, h), Object.assign(u, c), i._zod.parent === p)
2974
+ for (const k in u)
2975
+ k === "$ref" || k === "allOf" || k in c || delete u[k];
2976
+ if (h.$ref && m.def)
2977
+ for (const k in u)
2978
+ k === "$ref" || k === "allOf" || k in m.def && JSON.stringify(u[k]) === JSON.stringify(m.def[k]) && delete u[k];
2988
2979
  }
2989
2980
  const d = i._zod.parent;
2990
2981
  if (d && d !== p) {
2991
2982
  r(d);
2992
2983
  const m = e.seen.get(d);
2993
2984
  if (m?.schema.$ref && (u.$ref = m.schema.$ref, m.def))
2994
- for (const f in u)
2995
- f === "$ref" || f === "allOf" || f in m.def && JSON.stringify(u[f]) === JSON.stringify(m.def[f]) && delete u[f];
2985
+ for (const h in u)
2986
+ h === "$ref" || h === "allOf" || h in m.def && JSON.stringify(u[h]) === JSON.stringify(m.def[h]) && delete u[h];
2996
2987
  }
2997
2988
  e.override({
2998
2989
  zodSchema: i,
@@ -3077,10 +3068,10 @@ function z(e, t) {
3077
3068
  }
3078
3069
  const Oo = (e, t = {}) => (n) => {
3079
3070
  const r = wt({ ...n, processors: t });
3080
- return A(e, r), kt(r, e), St(r, e);
3071
+ return A(e, r), St(r, e), kt(r, e);
3081
3072
  }, X = (e, t, n = {}) => (r) => {
3082
3073
  const { libraryOptions: o, target: s } = r ?? {}, i = wt({ ...o ?? {}, target: s, io: t, processors: n });
3083
- return A(e, i), kt(i, e), St(i, e);
3074
+ return A(e, i), St(i, e), kt(i, e);
3084
3075
  }, Eo = {
3085
3076
  guid: "uuid",
3086
3077
  url: "uri",
@@ -3107,10 +3098,10 @@ const Oo = (e, t = {}) => (n) => {
3107
3098
  }, Zo = (e, t, n, r) => {
3108
3099
  if (t.unrepresentable === "throw")
3109
3100
  throw new Error("Transforms cannot be represented in JSON Schema");
3110
- }, Co = (e, t, n, r) => {
3101
+ }, Io = (e, t, n, r) => {
3111
3102
  const o = n, s = e._zod.def, { minimum: i, maximum: a } = e._zod.bag;
3112
3103
  typeof i == "number" && (o.minItems = i), typeof a == "number" && (o.maxItems = a), o.type = "array", o.items = A(s.element, t, { ...r, path: [...r.path, "items"] });
3113
- }, Io = (e, t, n, r) => {
3104
+ }, Co = (e, t, n, r) => {
3114
3105
  const o = e._zod.def, s = o.inclusive === !1, i = o.options.map((a, u) => A(a, t, {
3115
3106
  ...r,
3116
3107
  path: [...r.path, s ? "oneOf" : "anyOf", u]
@@ -3226,9 +3217,9 @@ const qo = (e, t) => {
3226
3217
  // enumerable: false,
3227
3218
  }
3228
3219
  });
3229
- }, Z = l("ZodError", qo, {
3220
+ }, I = l("ZodError", qo, {
3230
3221
  Parent: Error
3231
- }), Xo = /* @__PURE__ */ ee(Z), Ho = /* @__PURE__ */ te(Z), Qo = /* @__PURE__ */ ne(Z), es = /* @__PURE__ */ re(Z), ts = /* @__PURE__ */ Un(Z), ns = /* @__PURE__ */ Vn(Z), rs = /* @__PURE__ */ Jn(Z), os = /* @__PURE__ */ Bn(Z), ss = /* @__PURE__ */ Yn(Z), is = /* @__PURE__ */ Gn(Z), as = /* @__PURE__ */ Kn(Z), us = /* @__PURE__ */ qn(Z), E = /* @__PURE__ */ l("ZodType", (e, t) => (_.init(e, t), Object.assign(e["~standard"], {
3222
+ }), Xo = /* @__PURE__ */ ee(I), Ho = /* @__PURE__ */ te(I), Qo = /* @__PURE__ */ ne(I), es = /* @__PURE__ */ re(I), ts = /* @__PURE__ */ Un(I), ns = /* @__PURE__ */ Vn(I), rs = /* @__PURE__ */ Jn(I), os = /* @__PURE__ */ Bn(I), ss = /* @__PURE__ */ Yn(I), is = /* @__PURE__ */ Gn(I), as = /* @__PURE__ */ Kn(I), us = /* @__PURE__ */ qn(I), E = /* @__PURE__ */ l("ZodType", (e, t) => (_.init(e, t), Object.assign(e["~standard"], {
3232
3223
  jsonSchema: {
3233
3224
  input: X(e, "input"),
3234
3225
  output: X(e, "output")
@@ -3240,7 +3231,7 @@ const qo = (e, t) => {
3240
3231
  ]
3241
3232
  }), {
3242
3233
  parent: !0
3243
- }), e.with = e.check, e.clone = (n, r) => it(e, n, r), e.brand = () => e, e.register = ((n, r) => (n.add(e, r), e)), e.parse = (n, r) => Xo(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => Qo(e, n, r), e.parseAsync = async (n, r) => Ho(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => es(e, n, r), e.spa = e.safeParseAsync, e.encode = (n, r) => ts(e, n, r), e.decode = (n, r) => ns(e, n, r), e.encodeAsync = async (n, r) => rs(e, n, r), e.decodeAsync = async (n, r) => os(e, n, r), e.safeEncode = (n, r) => ss(e, n, r), e.safeDecode = (n, r) => is(e, n, r), e.safeEncodeAsync = async (n, r) => as(e, n, r), e.safeDecodeAsync = async (n, r) => us(e, n, r), e.refine = (n, r) => e.check(Ns(n, r)), e.superRefine = (n) => e.check(Ls(n)), e.overwrite = (n) => e.check(/* @__PURE__ */ x(n)), e.optional = () => xe(e), e.exactOptional = () => vs(e), e.nullable = () => Ue(e), e.nullish = () => xe(Ue(e)), e.nonoptional = (n) => Os(e, n), e.array = () => ps(e), e.or = (n) => ms([e, n]), e.and = (n) => hs(e, n), e.transform = (n) => Ve(e, ys(n)), e.default = (n) => Ss(e, n), e.prefault = (n) => zs(e, n), e.catch = (n) => $s(e, n), e.pipe = (n) => Ve(e, n), e.readonly = () => Cs(e), e.describe = (n) => {
3234
+ }), e.with = e.check, e.clone = (n, r) => it(e, n, r), e.brand = () => e, e.register = ((n, r) => (n.add(e, r), e)), e.parse = (n, r) => Xo(e, n, r, { callee: e.parse }), e.safeParse = (n, r) => Qo(e, n, r), e.parseAsync = async (n, r) => Ho(e, n, r, { callee: e.parseAsync }), e.safeParseAsync = async (n, r) => es(e, n, r), e.spa = e.safeParseAsync, e.encode = (n, r) => ts(e, n, r), e.decode = (n, r) => ns(e, n, r), e.encodeAsync = async (n, r) => rs(e, n, r), e.decodeAsync = async (n, r) => os(e, n, r), e.safeEncode = (n, r) => ss(e, n, r), e.safeDecode = (n, r) => is(e, n, r), e.safeEncodeAsync = async (n, r) => as(e, n, r), e.safeDecodeAsync = async (n, r) => us(e, n, r), e.refine = (n, r) => e.check(Ns(n, r)), e.superRefine = (n) => e.check(Ls(n)), e.overwrite = (n) => e.check(/* @__PURE__ */ x(n)), e.optional = () => xe(e), e.exactOptional = () => vs(e), e.nullable = () => Ue(e), e.nullish = () => xe(Ue(e)), e.nonoptional = (n) => Os(e, n), e.array = () => ps(e), e.or = (n) => ms([e, n]), e.and = (n) => hs(e, n), e.transform = (n) => Ve(e, gs(n)), e.default = (n) => ks(e, n), e.prefault = (n) => zs(e, n), e.catch = (n) => $s(e, n), e.pipe = (n) => Ve(e, n), e.readonly = () => Is(e), e.describe = (n) => {
3244
3235
  const r = e.clone();
3245
3236
  return V.add(r, { description: n }), r;
3246
3237
  }, Object.defineProperty(e, "description", {
@@ -3256,23 +3247,23 @@ const qo = (e, t) => {
3256
3247
  }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e.apply = (n) => n(e), e)), cs = /* @__PURE__ */ l("_ZodString", (e, t) => {
3257
3248
  we.init(e, t), E.init(e, t), e._zod.processJSONSchema = (r, o, s) => $o(e, r, o);
3258
3249
  const n = e._zod.bag;
3259
- e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, e.regex = (...r) => e.check(/* @__PURE__ */ bt(...r)), e.includes = (...r) => e.check(/* @__PURE__ */ go(...r)), e.startsWith = (...r) => e.check(/* @__PURE__ */ yo(...r)), e.endsWith = (...r) => e.check(/* @__PURE__ */ bo(...r)), e.min = (...r) => e.check(/* @__PURE__ */ W(...r)), e.max = (...r) => e.check(/* @__PURE__ */ se(...r)), e.length = (...r) => e.check(/* @__PURE__ */ yt(...r)), e.nonempty = (...r) => e.check(/* @__PURE__ */ W(1, ...r)), e.lowercase = (r) => e.check(/* @__PURE__ */ fo(r)), e.uppercase = (r) => e.check(/* @__PURE__ */ ho(r)), e.trim = () => e.check(/* @__PURE__ */ vo()), e.normalize = (...r) => e.check(/* @__PURE__ */ _o(...r)), e.toLowerCase = () => e.check(/* @__PURE__ */ wo()), e.toUpperCase = () => e.check(/* @__PURE__ */ ko()), e.slugify = () => e.check(/* @__PURE__ */ So());
3250
+ e.format = n.format ?? null, e.minLength = n.minimum ?? null, e.maxLength = n.maximum ?? null, e.regex = (...r) => e.check(/* @__PURE__ */ bt(...r)), e.includes = (...r) => e.check(/* @__PURE__ */ yo(...r)), e.startsWith = (...r) => e.check(/* @__PURE__ */ go(...r)), e.endsWith = (...r) => e.check(/* @__PURE__ */ bo(...r)), e.min = (...r) => e.check(/* @__PURE__ */ W(...r)), e.max = (...r) => e.check(/* @__PURE__ */ se(...r)), e.length = (...r) => e.check(/* @__PURE__ */ gt(...r)), e.nonempty = (...r) => e.check(/* @__PURE__ */ W(1, ...r)), e.lowercase = (r) => e.check(/* @__PURE__ */ fo(r)), e.uppercase = (r) => e.check(/* @__PURE__ */ ho(r)), e.trim = () => e.check(/* @__PURE__ */ vo()), e.normalize = (...r) => e.check(/* @__PURE__ */ _o(...r)), e.toLowerCase = () => e.check(/* @__PURE__ */ wo()), e.toUpperCase = () => e.check(/* @__PURE__ */ So()), e.slugify = () => e.check(/* @__PURE__ */ ko());
3260
3251
  }), ie = /* @__PURE__ */ l("ZodStringFormat", (e, t) => {
3261
- P.init(e, t), cs.init(e, t);
3252
+ Z.init(e, t), cs.init(e, t);
3262
3253
  }), ls = /* @__PURE__ */ l("ZodArray", (e, t) => {
3263
- ht.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Co(e, n, r, o), e.element = t.element, e.min = (n, r) => e.check(/* @__PURE__ */ W(n, r)), e.nonempty = (n) => e.check(/* @__PURE__ */ W(1, n)), e.max = (n, r) => e.check(/* @__PURE__ */ se(n, r)), e.length = (n, r) => e.check(/* @__PURE__ */ yt(n, r)), e.unwrap = () => e.element;
3254
+ ht.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Io(e, n, r, o), e.element = t.element, e.min = (n, r) => e.check(/* @__PURE__ */ W(n, r)), e.nonempty = (n) => e.check(/* @__PURE__ */ W(1, n)), e.max = (n, r) => e.check(/* @__PURE__ */ se(n, r)), e.length = (n, r) => e.check(/* @__PURE__ */ gt(n, r)), e.unwrap = () => e.element;
3264
3255
  });
3265
3256
  function ps(e, t) {
3266
3257
  return /* @__PURE__ */ To(ls, e, t);
3267
3258
  }
3268
3259
  const ds = /* @__PURE__ */ l("ZodUnion", (e, t) => {
3269
- Rr.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Io(e, n, r, o), e.options = t.options;
3260
+ Rr.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Co(e, n, r, o), e.options = t.options;
3270
3261
  });
3271
3262
  function ms(e, t) {
3272
3263
  return new ds({
3273
3264
  type: "union",
3274
3265
  options: e,
3275
- ...h(t)
3266
+ ...f(t)
3276
3267
  });
3277
3268
  }
3278
3269
  const fs = /* @__PURE__ */ l("ZodIntersection", (e, t) => {
@@ -3285,7 +3276,7 @@ function hs(e, t) {
3285
3276
  right: t
3286
3277
  });
3287
3278
  }
3288
- const gs = /* @__PURE__ */ l("ZodTransform", (e, t) => {
3279
+ const ys = /* @__PURE__ */ l("ZodTransform", (e, t) => {
3289
3280
  jr.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Zo(e, n), e._zod.parse = (n, r) => {
3290
3281
  if (r.direction === "backward")
3291
3282
  throw new rt(e.constructor.name);
@@ -3301,14 +3292,14 @@ const gs = /* @__PURE__ */ l("ZodTransform", (e, t) => {
3301
3292
  return o instanceof Promise ? o.then((s) => (n.value = s, n)) : (n.value = o, n);
3302
3293
  };
3303
3294
  });
3304
- function ys(e) {
3305
- return new gs({
3295
+ function gs(e) {
3296
+ return new ys({
3306
3297
  type: "transform",
3307
3298
  transform: e
3308
3299
  });
3309
3300
  }
3310
3301
  const bs = /* @__PURE__ */ l("ZodOptional", (e, t) => {
3311
- ke.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Tt(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
3302
+ Se.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Tt(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
3312
3303
  });
3313
3304
  function xe(e) {
3314
3305
  return new bs({
@@ -3334,11 +3325,11 @@ function Ue(e) {
3334
3325
  innerType: e
3335
3326
  });
3336
3327
  }
3337
- const ks = /* @__PURE__ */ l("ZodDefault", (e, t) => {
3328
+ const Ss = /* @__PURE__ */ l("ZodDefault", (e, t) => {
3338
3329
  Ur.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Do(e, n, r, o), e.unwrap = () => e._zod.def.innerType, e.removeDefault = e.unwrap;
3339
3330
  });
3340
- function Ss(e, t) {
3341
- return new ks({
3331
+ function ks(e, t) {
3332
+ return new Ss({
3342
3333
  type: "default",
3343
3334
  innerType: e,
3344
3335
  get defaultValue() {
@@ -3365,7 +3356,7 @@ function Os(e, t) {
3365
3356
  return new As({
3366
3357
  type: "nonoptional",
3367
3358
  innerType: e,
3368
- ...h(t)
3359
+ ...f(t)
3369
3360
  });
3370
3361
  }
3371
3362
  const Es = /* @__PURE__ */ l("ZodCatch", (e, t) => {
@@ -3392,17 +3383,17 @@ function Ve(e, t) {
3392
3383
  const Zs = /* @__PURE__ */ l("ZodReadonly", (e, t) => {
3393
3384
  Gr.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Wo(e, n, r, o), e.unwrap = () => e._zod.def.innerType;
3394
3385
  });
3395
- function Cs(e) {
3386
+ function Is(e) {
3396
3387
  return new Zs({
3397
3388
  type: "readonly",
3398
3389
  innerType: e
3399
3390
  });
3400
3391
  }
3401
- const Is = /* @__PURE__ */ l("ZodCustom", (e, t) => {
3402
- gt.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Po(e, n);
3392
+ const Cs = /* @__PURE__ */ l("ZodCustom", (e, t) => {
3393
+ yt.init(e, t), E.init(e, t), e._zod.processJSONSchema = (n, r, o) => Po(e, n);
3403
3394
  });
3404
3395
  function Ns(e, t = {}) {
3405
- return /* @__PURE__ */ _t(Is, e, t);
3396
+ return /* @__PURE__ */ _t(Cs, e, t);
3406
3397
  }
3407
3398
  function Ls(e) {
3408
3399
  return /* @__PURE__ */ vt(e);
@@ -3425,7 +3416,7 @@ function Je(e) {
3425
3416
  return /* @__PURE__ */ Xr(zt, e);
3426
3417
  }
3427
3418
  const U = /* @__PURE__ */ l("ZodMiniStringFormat", (e, t) => {
3428
- P.init(e, t), zt.init(e, t);
3419
+ Z.init(e, t), zt.init(e, t);
3429
3420
  }), Ms = /* @__PURE__ */ l("ZodMiniEmail", (e, t) => {
3430
3421
  Ar.init(e, t), U.init(e, t);
3431
3422
  });
@@ -3448,14 +3439,14 @@ function Ws(e) {
3448
3439
  return /* @__PURE__ */ eo(js, e);
3449
3440
  }
3450
3441
  const xs = /* @__PURE__ */ l("ZodMiniIPv4", (e, t) => {
3451
- Cr.init(e, t), U.init(e, t);
3442
+ Ir.init(e, t), U.init(e, t);
3452
3443
  });
3453
3444
  // @__NO_SIDE_EFFECTS__
3454
3445
  function Us(e) {
3455
3446
  return /* @__PURE__ */ to(xs, e);
3456
3447
  }
3457
3448
  const Vs = /* @__PURE__ */ l("ZodMiniIPv6", (e, t) => {
3458
- Ir.init(e, t), U.init(e, t);
3449
+ Cr.init(e, t), U.init(e, t);
3459
3450
  });
3460
3451
  // @__NO_SIDE_EFFECTS__
3461
3452
  function Js(e) {
@@ -3504,11 +3495,11 @@ function Ge(e, t) {
3504
3495
  return new Hs({
3505
3496
  type: "array",
3506
3497
  element: e,
3507
- ...h(t)
3498
+ ...f(t)
3508
3499
  });
3509
3500
  }
3510
3501
  const Qs = /* @__PURE__ */ l("ZodMiniOptional", (e, t) => {
3511
- ke.init(e, t), R.init(e, t);
3502
+ Se.init(e, t), R.init(e, t);
3512
3503
  });
3513
3504
  // @__NO_SIDE_EFFECTS__
3514
3505
  function ei(e) {
@@ -3518,7 +3509,7 @@ function ei(e) {
3518
3509
  });
3519
3510
  }
3520
3511
  const ti = /* @__PURE__ */ l("ZodMiniCustom", (e, t) => {
3521
- gt.init(e, t), R.init(e, t);
3512
+ yt.init(e, t), R.init(e, t);
3522
3513
  });
3523
3514
  // @__NO_SIDE_EFFECTS__
3524
3515
  function w(e, t = {}) {
@@ -3726,26 +3717,27 @@ function Y(e, t) {
3726
3717
  }
3727
3718
  const li = {
3728
3719
  // ACTION
3729
- button: async () => (await import("./button.element-ATNRRDN3.js")).ButtonElement,
3720
+ button: async () => (await import("./button.element-DxwYDdu6.js")).ButtonElement,
3730
3721
  // INPUTS
3731
3722
  calendar: async () => (await import("./calendar.element-O2of7VBr.js")).CalendarElement,
3732
- rangeCalendar: async () => (await import("./range-calendar.element-C-4qqRGK.js")).RangeCalendarElement,
3733
- rangeDateInput: async () => (await import("./range-date-input.element-D3xRMAaY.js")).RangeDateInputElement,
3734
- rangeDatePicker: async () => (await import("./range-date-picker.element-Vgj3tFlQ.js")).RangeDatePickerElement,
3735
- currency: async () => (await import("./currency.element-C7SZkoPP.js")).CurrencyElement,
3736
- dateInput: async () => (await import("./date.element-COU_mEUt.js")).DateElement,
3737
- datePicker: async () => (await import("./date-picker.element-D6v6aHR5.js")).DatePickerElement,
3738
- dropdown: async () => (await import("./dropdown.element-DCUI5Y7I.js")).DropdownElement,
3723
+ rangeCalendar: async () => (await import("./range-calendar.element-DQZXvd-L.js")).RangeCalendarElement,
3724
+ rangeDateInput: async () => (await import("./range-date-input.element-v71P-oUp.js")).RangeDateInputElement,
3725
+ rangeDatePicker: async () => (await import("./range-date-picker.element-CA-KcQhA.js")).RangeDatePickerElement,
3726
+ currency: async () => (await import("./currency.element-ybKzwXEh.js")).CurrencyElement,
3727
+ dateInput: async () => (await import("./date.element-p6aB6OGd.js")).DateElement,
3728
+ datePicker: async () => (await import("./date-picker.element-CP2_u_ZE.js")).DatePickerElement,
3729
+ dropdown: async () => (await import("./dropdown.element-8OaBgk7F.js")).DropdownElement,
3739
3730
  list: async () => (await import("./list.element-G8RNRZXU.js")).ListElement,
3740
- markdown: async () => (await import("./markdown.element-CT1JOOM3.js")).MarkdownElement,
3741
- password: async () => (await import("./password.element-B4-0SCe4.js")).PasswordElement,
3742
- textinput: async () => (await import("./textinput.element-DKuplF1A.js")).TextinputElement,
3743
- textarea: async () => (await import("./textarea.element-C8yx2u0o.js")).TextareaElement,
3731
+ markdown: async () => (await import("./markdown.element-1IF3G5KX.js")).MarkdownElement,
3732
+ password: async () => (await import("./password.element-BT65mDsp.js")).PasswordElement,
3733
+ textinput: async () => (await import("./textinput.element-zI0iG-Cq.js")).TextinputElement,
3734
+ textarea: async () => (await import("./textarea.element-BTJLqnnI.js")).TextareaElement,
3744
3735
  toggle: async () => (await import("./toggle.element-NXRrhALB.js")).ToggleElement,
3745
3736
  checkbox: async () => (await import("./checkbox.element-DMmer4Jw.js")).CheckboxElement,
3746
- number: async () => (await import("./number.element-HaXEg_7U.js")).NumberElement,
3737
+ number: async () => (await import("./number.element-zgd4L5hn.js")).NumberElement,
3747
3738
  radiogroup: async () => (await import("./radiogroup.element-DzHLgRh1.js")).RadiogroupElement,
3748
- select: async () => (await import("./select.element-DuGZjlZY.js")).SelectElement,
3739
+ select: async () => (await import("./select.element-CjWqp9dd.js")).SelectElement,
3740
+ tags: async () => (await import("./tags.element-ed1_51GA.js")).TagsElement,
3749
3741
  // REPEATER
3750
3742
  repeater: async () => (await import("./repeater.element-Ry8HyMfW.js")).RepeaterElement,
3751
3743
  // LAYOUTS
@@ -3777,7 +3769,7 @@ let B = class extends Zt {
3777
3769
  return this;
3778
3770
  }
3779
3771
  render() {
3780
- const e = this.config, t = In(e.formDef, e.formSelectors, e.formConfig), n = {
3772
+ const e = this.config, t = Cn(e.formDef, e.formSelectors, e.formConfig), n = {
3781
3773
  formDef: t.formDef,
3782
3774
  widgetLoaders: {
3783
3775
  ...li,
@@ -3798,7 +3790,7 @@ let B = class extends Zt {
3798
3790
  }, r = ri({
3799
3791
  ...e.customValidators ?? {}
3800
3792
  }), o = t.formEvent, s = o ? (i) => o(i.detail) : void 0;
3801
- return Ct`
3793
+ return It`
3802
3794
  <gui-core-form
3803
3795
  .config=${n}
3804
3796
  .validators=${r}
@@ -3815,7 +3807,7 @@ ae([
3815
3807
  Xe({ type: String })
3816
3808
  ], B.prototype, "autocomplete", 2);
3817
3809
  ae([
3818
- It("gui-core-form")
3810
+ Ct("gui-core-form")
3819
3811
  ], B.prototype, "coreForm", 2);
3820
3812
  B = ae([
3821
3813
  Nt("gui-form")