@effect-app/vue-components 3.1.0 → 4.0.0-beta.0

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 (111) hide show
  1. package/dist/types/components/CommandButton.vue.d.ts +12 -8
  2. package/dist/types/components/OmegaForm/OmegaArray.vue.d.ts +8 -4
  3. package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +10 -6
  4. package/dist/types/components/OmegaForm/OmegaErrorsInternal.vue.d.ts +4 -4
  5. package/dist/types/components/OmegaForm/OmegaFormInput.vue.d.ts +8 -4
  6. package/dist/types/components/OmegaForm/OmegaFormStuff.d.ts +11 -13
  7. package/dist/types/components/OmegaForm/OmegaInput.vue.d.ts +8 -4
  8. package/dist/types/components/OmegaForm/OmegaInputVuetify.vue.d.ts +9 -5
  9. package/dist/types/components/OmegaForm/OmegaInternalInput.vue.d.ts +9 -5
  10. package/dist/types/components/OmegaForm/OmegaTaggedUnion.vue.d.ts +9 -9
  11. package/dist/types/components/OmegaForm/OmegaTaggedUnionInternal.vue.d.ts +9 -5
  12. package/dist/types/components/OmegaForm/OmegaWrapper.vue.d.ts +9 -5
  13. package/dist/types/components/OmegaForm/useOmegaForm.d.ts +6 -4
  14. package/dist/types/utils/index.d.ts +4 -3
  15. package/dist/vue-components.es.js +13 -14
  16. package/dist/vue-components.es10.js +109 -115
  17. package/dist/vue-components.es11.js +3 -3
  18. package/dist/vue-components.es12.js +290 -341
  19. package/dist/vue-components.es16.js +11 -4
  20. package/dist/vue-components.es17.js +723 -10
  21. package/dist/vue-components.es18.js +138 -52
  22. package/dist/vue-components.es19.js +4 -68
  23. package/dist/vue-components.es2.js +17 -18
  24. package/dist/vue-components.es20.js +11 -6
  25. package/dist/vue-components.es21.js +3 -6
  26. package/dist/vue-components.es22.js +24 -3
  27. package/dist/vue-components.es23.js +4 -3
  28. package/dist/vue-components.es24.js +8 -2
  29. package/dist/vue-components.es25.js +55 -2
  30. package/dist/vue-components.es26.js +69 -2
  31. package/dist/vue-components.es27.js +6 -2
  32. package/dist/vue-components.es28.js +6 -17
  33. package/dist/vue-components.es29.js +3 -11
  34. package/dist/vue-components.es3.js +10 -10
  35. package/dist/vue-components.es30.js +3 -192
  36. package/dist/vue-components.es31.js +4 -0
  37. package/dist/vue-components.es32.js +2 -42
  38. package/dist/vue-components.es33.js +1 -1
  39. package/dist/vue-components.es34.js +1 -1
  40. package/dist/vue-components.es35.js +17 -111
  41. package/dist/vue-components.es36.js +40 -0
  42. package/dist/vue-components.es37.js +4 -7
  43. package/dist/vue-components.es38.js +82 -31
  44. package/dist/vue-components.es39.js +54 -0
  45. package/dist/vue-components.es40.js +561 -4
  46. package/dist/vue-components.es41.js +40 -22
  47. package/dist/vue-components.es42.js +27 -5
  48. package/dist/vue-components.es43.js +5 -21
  49. package/dist/vue-components.es44.js +39 -29
  50. package/dist/vue-components.es45.js +313 -21
  51. package/dist/vue-components.es46.js +31 -12
  52. package/dist/vue-components.es47.js +4 -5
  53. package/dist/vue-components.es48.js +23 -18
  54. package/dist/vue-components.es49.js +74 -8
  55. package/dist/vue-components.es5.js +1 -1
  56. package/dist/vue-components.es50.js +98 -30
  57. package/dist/vue-components.es51.js +2 -48
  58. package/dist/vue-components.es52.js +317 -25
  59. package/dist/vue-components.es53.js +64 -11
  60. package/dist/vue-components.es54.js +2 -65
  61. package/dist/vue-components.es55.js +2 -56
  62. package/dist/vue-components.es56.js +110 -16
  63. package/dist/vue-components.es58.js +7 -29
  64. package/dist/vue-components.es59.js +31 -41
  65. package/dist/vue-components.es61.js +190 -42
  66. package/dist/vue-components.es63.js +6 -0
  67. package/dist/vue-components.es64.js +103 -0
  68. package/dist/vue-components.es65.js +4 -0
  69. package/dist/vue-components.es66.js +23 -0
  70. package/dist/vue-components.es67.js +84 -0
  71. package/dist/vue-components.es68.js +14 -0
  72. package/dist/vue-components.es69.js +115 -0
  73. package/dist/vue-components.es7.js +1 -1
  74. package/dist/vue-components.es70.js +5 -0
  75. package/dist/vue-components.es71.js +34 -0
  76. package/dist/vue-components.es72.js +4 -0
  77. package/dist/vue-components.es73.js +4 -0
  78. package/dist/vue-components.es74.js +17 -0
  79. package/dist/vue-components.es75.js +72 -0
  80. package/dist/vue-components.es76.js +25 -0
  81. package/dist/vue-components.es77.js +7 -0
  82. package/dist/vue-components.es78.js +23 -0
  83. package/dist/vue-components.es79.js +32 -0
  84. package/dist/vue-components.es80.js +24 -0
  85. package/dist/vue-components.es81.js +14 -0
  86. package/dist/vue-components.es82.js +7 -0
  87. package/dist/vue-components.es83.js +21 -0
  88. package/dist/vue-components.es84.js +11 -0
  89. package/dist/vue-components.es85.js +33 -0
  90. package/dist/vue-components.es86.js +50 -0
  91. package/dist/vue-components.es87.js +28 -0
  92. package/dist/vue-components.es88.js +17 -0
  93. package/dist/vue-components.es89.js +18 -0
  94. package/dist/vue-components.es90.js +10 -0
  95. package/dist/vue-components.es91.js +13 -0
  96. package/dist/vue-components.es92.js +67 -0
  97. package/dist/vue-components.es93.js +58 -0
  98. package/dist/vue-components.es94.js +19 -0
  99. package/dist/{vue-components.es57.js → vue-components.es95.js} +4 -4
  100. package/dist/vue-components.es96.js +31 -0
  101. package/dist/vue-components.es97.js +44 -0
  102. package/dist/vue-components.es99.js +46 -0
  103. package/package.json +27 -26
  104. package/src/components/OmegaForm/OmegaAutoGen.vue +11 -10
  105. package/src/components/OmegaForm/OmegaErrorsInternal.vue +3 -2
  106. package/src/components/OmegaForm/OmegaFormStuff.ts +249 -274
  107. package/src/components/OmegaForm/OmegaInternalInput.vue +1 -1
  108. package/src/components/OmegaForm/useOmegaForm.ts +27 -28
  109. package/src/utils/index.ts +7 -7
  110. /package/dist/{vue-components.es62.js → vue-components.es100.js} +0 -0
  111. /package/dist/{vue-components.es60.js → vue-components.es98.js} +0 -0
@@ -1,60 +1,61 @@
1
- import { useForm as K } from "@tanstack/vue-form";
2
- import { Data as T, S as W, Effect as d, Fiber as $, Option as j, Array as F } from "effect-app";
3
- import { runtimeFiberAsPromise as z } from "./vue-components.es17.js";
4
- import { computed as x, onUnmounted as D, onMounted as G, onBeforeUnmount as Z, watch as R, ref as Q, h as J } from "vue";
5
- import { useIntl as X } from "./vue-components.es3.js";
6
- import Y from "./vue-components.es18.js";
7
- import C from "./vue-components.es19.js";
8
- import ee from "./vue-components.es20.js";
9
- import { generateMetaFromSchema as re, deepMerge as N, defaultsValueFromSchema as te } from "./vue-components.es12.js";
10
- import se from "./vue-components.es6.js";
11
- import ne from "./vue-components.es8.js";
12
- import oe from "./vue-components.es21.js";
13
- import { trace as H } from "./vue-components.es22.js";
14
- import { context as U } from "./vue-components.es23.js";
15
- class ie extends T.TaggedError("FormErrors") {
1
+ import { useForm as J } from "@tanstack/vue-form";
2
+ import { runtimeFiberAsPromise as q } from "./vue-components.es20.js";
3
+ import { TaggedError as B } from "./vue-components.es21.js";
4
+ import { currentSpan as K, runPromise as x, isEffect as T, flatMap as k, fnUntraced as z, option as G, promise as Z } from "./vue-components.es22.js";
5
+ import { isFiber as Q } from "./vue-components.es23.js";
6
+ import { isSome as X } from "./vue-components.es24.js";
7
+ import { toStandardSchemaV1 as Y, decodeEffect as C } from "./vue-components.es18.js";
8
+ import { computed as _, onUnmounted as I, onMounted as ee, onBeforeUnmount as re, watch as V, ref as te, h as N } from "vue";
9
+ import { useIntl as se } from "./vue-components.es3.js";
10
+ import ne from "./vue-components.es25.js";
11
+ import oe from "./vue-components.es26.js";
12
+ import ie from "./vue-components.es27.js";
13
+ import { generateMetaFromSchema as ae, deepMerge as W, defaultsValueFromSchema as ce } from "./vue-components.es12.js";
14
+ import le from "./vue-components.es6.js";
15
+ import ue from "./vue-components.es8.js";
16
+ import de from "./vue-components.es28.js";
17
+ import { trace as D } from "./vue-components.es29.js";
18
+ import { context as P } from "./vue-components.es30.js";
19
+ class me extends B("FormErrors") {
16
20
  }
17
- const M = (i) => function(s) {
21
+ const A = (i) => function(s) {
18
22
  return {
19
23
  render() {
20
- return J(s, {
24
+ return N(s, {
21
25
  form: i,
22
26
  ...this.$attrs
23
27
  }, this.$slots);
24
28
  }
25
29
  };
26
- }, ae = (i) => {
27
- const { formatMessage: l } = X(), s = (a) => a.replace(/([A-Z])/g, " $1").replace(/^./, (g) => g.toUpperCase()).trim(), f = (a) => l ? l({ id: `general.fields.${a}`, defaultMessage: s(a) }) : s(a);
28
- return (a) => i.i18nNamespace ? l({ id: `${i.i18nNamespace}.fields.${a}`, defaultMessage: f(a) }) : f(a);
29
- }, ce = (i) => function(s) {
30
+ }, fe = (i) => {
31
+ const { formatMessage: l } = se(), s = (a) => a.replace(/([A-Z])/g, " $1").replace(/^./, (g) => g.toUpperCase()).trim(), m = (a) => l ? l({ id: `general.fields.${a}`, defaultMessage: s(a) }) : s(a);
32
+ return (a) => i.i18nNamespace ? l({ id: `${i.i18nNamespace}.fields.${a}`, defaultMessage: m(a) }) : m(a);
33
+ }, pe = (i) => function(s) {
30
34
  return {
31
35
  setup() {
32
- const { fieldMap: f, form: m } = i, a = m.useStore((v) => v.errors), g = m.useStore((v) => v.fieldMeta), p = m.useStore((v) => v.errorMap), A = ae(m), L = x(() => {
33
- const v = F.filterMap(
34
- Object.entries(g.value),
35
- ([O, h]) => {
36
- const w = h.errors ?? [];
37
- if (!w.length) return j.none();
38
- const u = f.value.get(O);
39
- return u ? j.some({
40
- label: u.label,
41
- inputId: u.id,
42
- // Only show the first error
43
- errors: [w[0]?.message].filter(Boolean)
44
- }) : j.none();
45
- }
46
- ), o = [];
36
+ const { fieldMap: m, form: f } = i, a = f.useStore((v) => v.errors), g = f.useStore((v) => v.fieldMeta), p = f.useStore((v) => v.errorMap), M = fe(f), L = _(() => {
37
+ const v = Object.entries(g.value).reduce((b, [h, y]) => {
38
+ const u = y?.errors ?? [];
39
+ if (!u.length)
40
+ return b;
41
+ const d = m.value.get(h);
42
+ return d && b.push({
43
+ label: d.label,
44
+ inputId: d.id,
45
+ errors: [u[0]?.message].filter(Boolean)
46
+ }), b;
47
+ }, []), o = [];
47
48
  if (p.value.onSubmit) {
48
- for (const [O, h] of Object.entries(p.value.onSubmit))
49
- if (F.isArray(h) && h.length)
50
- for (const w of h) {
51
- const u = w;
52
- if (u?.path && F.isArray(u.path) && u.path.length) {
53
- const E = u.path.join(".");
54
- if (!f.value.has(E)) {
49
+ for (const [b, h] of Object.entries(p.value.onSubmit))
50
+ if (Array.isArray(h) && h.length)
51
+ for (const y of h) {
52
+ const u = y;
53
+ if (u?.path && Array.isArray(u.path) && u.path.length) {
54
+ const d = u.path.join(".");
55
+ if (!m.value.has(d)) {
55
56
  o.push({
56
- label: A(E),
57
- inputId: E,
57
+ label: M(d),
58
+ inputId: d,
58
59
  errors: [u.message].filter(Boolean)
59
60
  });
60
61
  break;
@@ -69,34 +70,34 @@ const M = (i) => function(s) {
69
70
  errors: L
70
71
  };
71
72
  },
72
- render({ errors: f, generalErrors: m }) {
73
- return J(s, {
74
- errors: f,
75
- generalErrors: m,
73
+ render({ errors: m, generalErrors: f }) {
74
+ return N(s, {
75
+ errors: m,
76
+ generalErrors: f,
76
77
  ...this.$attrs
77
78
  }, this.$slots);
78
79
  }
79
80
  };
80
- }, b = (i, l) => i.includes(l), Me = (i, l, s) => {
81
+ }, S = (i, l) => i.includes(l), xe = (i, l, s) => {
81
82
  if (!i) throw new Error("Schema is required");
82
- const f = W.standardSchemaV1(i), m = W.decode(i), { meta: a, unionMeta: g } = re(i), p = x(() => {
83
+ const m = Y(i), f = C(i), { meta: a, unionMeta: g } = ae(i), p = _(() => {
83
84
  if (s?.persistency?.id)
84
85
  return s.persistency.id;
85
86
  const e = window.location.pathname, r = Object.keys(a);
86
87
  return `${e}-${r.join("-")}`;
87
- }), A = () => {
88
+ }), M = () => {
88
89
  const e = new URLSearchParams(window.location.search);
89
90
  e.delete(p.value);
90
91
  const r = new URL(window.location.href);
91
92
  r.search = e.toString(), window.history.replaceState({}, "", r.toString());
92
- }, L = x(() => {
93
+ }, L = _(() => {
93
94
  let e;
94
95
  const r = s?.persistency;
95
96
  if (
96
97
  // query string has higher priority than local/session storage
97
- r?.policies && !e && (b(r.policies, "local") || b(r.policies, "session"))
98
+ r?.policies && !e && (S(r.policies, "local") || S(r.policies, "session"))
98
99
  ) {
99
- const n = b(r.policies, "local") ? localStorage : sessionStorage;
100
+ const n = S(r.policies, "local") ? localStorage : sessionStorage;
100
101
  if (n)
101
102
  try {
102
103
  const t = JSON.parse(
@@ -107,10 +108,10 @@ const M = (i) => function(s) {
107
108
  console.error(t);
108
109
  }
109
110
  }
110
- if (r?.policies && b(r.policies, "querystring"))
111
+ if (r?.policies && S(r.policies, "querystring"))
111
112
  try {
112
113
  const t = new URLSearchParams(window.location.search).get(p.value);
113
- A(), t && (e = N(e || {}, JSON.parse(t)));
114
+ M(), t && (e = W(e || {}, JSON.parse(t)));
114
115
  } catch (n) {
115
116
  console.error(n);
116
117
  }
@@ -118,46 +119,39 @@ const M = (i) => function(s) {
118
119
  const c = {
119
120
  tanstack: l?.defaultValues || {},
120
121
  persistency: e,
121
- schema: te(i)
122
+ schema: ce(i)
122
123
  };
123
124
  return (s?.defaultValuesPriority || ["tanstack", "persistency", "schema"]).reverse().reduce(
124
- (n, t) => Object.keys(n).length ? N(n, c[t]) : c[t],
125
+ (n, t) => Object.keys(n).length ? W(n, c[t]) : c[t],
125
126
  {}
126
127
  );
127
- }), v = (e, r) => e ? U.with(H.setSpan(U.active(), e), r) : r(), o = K({
128
+ }), v = (e, r) => e ? P.with(D.setSpan(P.active(), e), r) : r(), o = J({
128
129
  ...l,
129
130
  validators: {
130
- onSubmit: f,
131
+ onSubmit: m,
131
132
  ...l?.validators || {}
132
133
  },
133
134
  onSubmit: l?.onSubmit ? ({ formApi: e, meta: r, value: c }) => v(r?.currentSpan, async () => {
134
- const n = await d.runPromise(m(c)), t = l.onSubmit({
135
+ const n = await x(f(c)), t = l.onSubmit({
135
136
  formApi: e,
136
137
  meta: r,
137
138
  value: n
138
139
  });
139
- return $.isFiber(t) && $.isRuntimeFiber(t) ? await z(t) : d.isEffect(t) ? await d.runPromise(
140
- t.pipe(
141
- // meta?.currentSpan
142
- // ? Effect.withParentSpan(meta.currentSpan)
143
- // : (_) => _,
144
- d.flatMap((S) => $.join(S))
145
- )
146
- ) : t;
140
+ return Q(t) ? await q(t) : T(t) ? await x(t) : t;
147
141
  }) : void 0,
148
142
  defaultValues: L.value
149
- }), O = () => {
143
+ }), b = () => {
150
144
  Object.keys(a).forEach((e) => {
151
145
  o.setFieldValue(e, void 0);
152
146
  });
153
147
  }, h = (e) => e.reduce((r, c) => {
154
148
  const n = c.split(".");
155
- return n.reduce((t, S, _) => (_ === n.length - 1 ? t[S] = o.getFieldValue(c) : t[S] = t[S] ?? {}, t[S]), r), r;
156
- }, {}), w = (e) => {
149
+ return n.reduce((t, E, O) => (O === n.length - 1 ? t[E] = o.getFieldValue(c) : t[E] = t[E] ?? {}, t[E]), r), r;
150
+ }, {}), y = (e) => {
157
151
  if (e) {
158
- if (F.isArray(e.keys))
152
+ if (Array.isArray(e.keys))
159
153
  return h(e.keys);
160
- if (F.isArray(e.banKeys)) {
154
+ if (Array.isArray(e.banKeys)) {
161
155
  const r = Object.keys(a).filter((c) => e.banKeys?.includes(c));
162
156
  return h(r);
163
157
  }
@@ -165,79 +159,79 @@ const M = (i) => function(s) {
165
159
  }
166
160
  }, u = () => {
167
161
  const e = s?.persistency;
168
- if (!(!e?.policies || e.policies.length === 0) && (b(e.policies, "local") || b(e.policies, "session"))) {
169
- const r = b(e.policies, "local") ? localStorage : sessionStorage;
162
+ if (!(!e?.policies || e.policies.length === 0) && (S(e.policies, "local") || S(e.policies, "session"))) {
163
+ const r = S(e.policies, "local") ? localStorage : sessionStorage;
170
164
  if (!r) return;
171
- const c = w(e);
165
+ const c = y(e);
172
166
  return r.setItem(p.value, JSON.stringify(c));
173
167
  }
174
- }, E = () => {
168
+ }, d = () => {
175
169
  const e = s?.persistency;
176
- if (!(!e?.policies || e.policies.length === 0) && b(e.policies, "querystring")) {
177
- const r = w(e), c = new URLSearchParams(window.location.search);
170
+ if (!(!e?.policies || e.policies.length === 0) && S(e.policies, "querystring")) {
171
+ const r = y(e), c = new URLSearchParams(window.location.search);
178
172
  c.set(p.value, JSON.stringify(r));
179
173
  const n = new URL(window.location.href);
180
174
  n.search = c.toString(), window.history.replaceState({}, "", n.toString());
181
175
  }
182
- }, k = (e) => {
176
+ }, $ = (e) => {
183
177
  o.store.state.isDirty && e.preventDefault();
184
178
  };
185
- if (D(u), G(() => {
186
- window.addEventListener("beforeunload", u), window.addEventListener("blur", E), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.addEventListener("beforeunload", k);
187
- }), Z(() => {
188
- window.removeEventListener("beforeunload", u), window.removeEventListener("blur", E), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.removeEventListener("beforeunload", k);
179
+ if (I(u), ee(() => {
180
+ window.addEventListener("beforeunload", u), window.addEventListener("blur", d), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.addEventListener("beforeunload", $);
181
+ }), re(() => {
182
+ window.removeEventListener("beforeunload", u), window.removeEventListener("blur", d), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.removeEventListener("beforeunload", $);
189
183
  }), s?.preventWindowExit === "prevent-and-reset") {
190
184
  const e = o.useStore((t) => t.isSubmitting), r = o.useStore((t) => t.submissionAttempts), c = o.useStore((t) => t.canSubmit), n = o.useStore((t) => t.values);
191
- R([e, r], ([t, S], [_]) => {
192
- _ && !t && S > 0 && c.value && o.reset(n.value);
185
+ V([e, r], ([t, E], [O]) => {
186
+ O && !t && E > 0 && c.value && o.reset(n.value);
193
187
  });
194
188
  }
195
- const I = (e) => d.currentSpan.pipe(
196
- d.option,
197
- d.flatMap(
198
- (r) => d.promise(() => o.handleSubmit(j.isSome(r) ? { currentSpan: r.value, ...e } : e))
189
+ const j = (e) => K.pipe(
190
+ G,
191
+ k(
192
+ (r) => Z(() => o.handleSubmit(X(r) ? { currentSpan: r.value, ...e } : e))
199
193
  )
200
- ), q = (e) => e?.checkErrors ? I(e?.meta).pipe(d.flatMap(d.fnUntraced(function* () {
194
+ ), R = (e) => e?.checkErrors ? j(e?.meta).pipe(k(z(function* () {
201
195
  const r = o.getAllErrors();
202
196
  if (Object.keys(r.fields).length || r.form.errors.length)
203
- return yield* new ie({ form: r.form, fields: r.fields });
204
- }))) : I(e?.meta), B = o.handleSubmit, P = Q(/* @__PURE__ */ new Map()), y = Object.assign(o, {
197
+ return yield* new me({ form: r.form, fields: r.fields });
198
+ }))) : j(e?.meta), H = o.handleSubmit, F = te(/* @__PURE__ */ new Map()), w = Object.assign(o, {
205
199
  i18nNamespace: s?.i18nNamespace,
206
200
  ignorePreventCloseEvents: s?.ignorePreventCloseEvents,
207
201
  meta: a,
208
202
  unionMeta: g,
209
- clear: O,
203
+ clear: b,
210
204
  handleSubmit: (e) => {
211
- const r = H.getSpan(U.active());
212
- return B({ currentSpan: r, ...e });
205
+ const r = D.getSpan(P.active());
206
+ return H({ currentSpan: r, ...e });
213
207
  },
214
208
  // /** @experimental */
215
- handleSubmitEffect: q,
209
+ handleSubmitEffect: R,
216
210
  registerField: (e) => {
217
- R(e, (r) => {
218
- P.value.set(r.name, { label: r.label, id: r.id });
219
- }, { immediate: !0 }), D(() => {
220
- P.value.get(e.value.name)?.id === e.value.id && P.value.delete(e.value.name);
211
+ V(e, (r) => {
212
+ F.value.set(r.name, { label: r.label, id: r.id });
213
+ }, { immediate: !0 }), I(() => {
214
+ F.value.get(e.value.name)?.id === e.value.id && F.value.delete(e.value.name);
221
215
  });
222
216
  }
223
- }), V = { form: y, fieldMap: P };
224
- return Object.assign(y, {
217
+ }), U = { form: w, fieldMap: F };
218
+ return Object.assign(w, {
225
219
  // Type-level properties for performance optimization (not used at runtime)
226
220
  _paths: void 0,
227
221
  _keys: void 0,
228
222
  _schema: i,
229
- errorContext: V,
230
- Form: M(y)(oe),
231
- Input: M(y)(s?.input ?? se),
232
- TaggedUnion: M(y)(ne),
223
+ errorContext: U,
224
+ Form: A(w)(de),
225
+ Input: A(w)(s?.input ?? le),
226
+ TaggedUnion: A(w)(ue),
233
227
  Field: o.Field,
234
- Errors: ce(V)(ee),
235
- Array: M(y)(Y),
236
- AutoGen: M(y)(C)
228
+ Errors: pe(U)(ie),
229
+ Array: A(w)(ne),
230
+ AutoGen: A(w)(oe)
237
231
  });
238
232
  };
239
233
  export {
240
- ie as FormErrors,
241
- ae as useErrorLabel,
242
- Me as useOmegaForm
234
+ me as FormErrors,
235
+ fe as useErrorLabel,
236
+ xe as useOmegaForm
243
237
  };
@@ -1,7 +1,7 @@
1
- import l from "./vue-components.es28.js";
1
+ import l from "./vue-components.es35.js";
2
2
  import { inject as c, provide as u } from "vue";
3
- import { onMountedWithCleanup as f } from "./vue-components.es29.js";
4
- const p = () => l(), i = Symbol("DialogBus"), r = () => c(i, null), g = () => {
3
+ import { onMountedWithCleanup as f } from "./vue-components.es16.js";
4
+ const p = () => l(), i = /* @__PURE__ */ Symbol("DialogBus"), r = () => c(i, null), g = () => {
5
5
  const n = p();
6
6
  return u(i, n), n;
7
7
  }, d = (n) => {