@effect-app/vue-components 2.7.4 → 2.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,162 +1,151 @@
1
- import { useForm as Y } from "@tanstack/vue-form";
2
- import { Data as C, S as v, Effect as S, Array as g, Fiber as j, Option as V } from "effect-app";
3
- import { runtimeFiberAsPromise as ee } from "./vue-components.es16.js";
4
- import { isObject as te } from "./vue-components.es17.js";
5
- import { computed as I, onUnmounted as J, onMounted as re, onBeforeUnmount as ne, watch as K, ref as se, h as Z } from "vue";
6
- import oe from "./vue-components.es18.js";
7
- import ie from "./vue-components.es19.js";
8
- import ae from "./vue-components.es20.js";
9
- import { generateMetaFromSchema as le } from "./vue-components.es12.js";
10
- import ce from "./vue-components.es6.js";
11
- import ue from "./vue-components.es8.js";
12
- import fe from "./vue-components.es21.js";
13
- import { trace as z } from "./vue-components.es22.js";
14
- import { context as T } from "./vue-components.es23.js";
15
- const k = (f) => {
16
- const c = f.ast;
17
- if (c._tag === "Union") {
18
- const o = c.types.map((d) => {
19
- const u = v.make(d);
20
- return k(u).ast;
21
- }), p = {
22
- ...c,
1
+ import { useForm as G } from "@tanstack/vue-form";
2
+ import { Data as z, S as p, Effect as h, Array as g, Fiber as L, Option as D } from "effect-app";
3
+ import { runtimeFiberAsPromise as Q } from "./vue-components.es16.js";
4
+ import { isObject as X } from "./vue-components.es17.js";
5
+ import { computed as j, onUnmounted as R, onMounted as Y, onBeforeUnmount as Z, watch as W, ref as C, h as J } from "vue";
6
+ import ee from "./vue-components.es18.js";
7
+ import te from "./vue-components.es19.js";
8
+ import re from "./vue-components.es20.js";
9
+ import { generateMetaFromSchema as ne } from "./vue-components.es12.js";
10
+ import se from "./vue-components.es6.js";
11
+ import oe from "./vue-components.es8.js";
12
+ import ie from "./vue-components.es21.js";
13
+ import { trace as H } from "./vue-components.es22.js";
14
+ import { context as V } from "./vue-components.es23.js";
15
+ const _ = (c) => {
16
+ const i = c.ast;
17
+ if (i._tag === "Union") {
18
+ const o = i.types.map((u) => {
19
+ const l = p.make(u);
20
+ return _(l).ast;
21
+ }), m = {
22
+ ...i,
23
23
  types: o
24
24
  };
25
- return v.make(p);
25
+ return p.make(m);
26
26
  }
27
- if (c._tag === "Transformation") {
28
- const o = v.make(c.from), p = v.make(c.to), d = k(o), u = k(p), m = {
29
- ...c,
30
- from: d.ast,
31
- to: u.ast
27
+ if (i._tag === "Transformation") {
28
+ const o = p.make(i.from), m = p.make(i.to), u = _(o), l = _(m), f = {
29
+ ...i,
30
+ from: u.ast,
31
+ to: l.ast
32
32
  };
33
- return v.make(m);
33
+ return p.make(f);
34
34
  }
35
- if (c._tag === "TypeLiteral") {
36
- const o = c.propertySignatures.map((d) => {
37
- const u = d.type;
38
- let m = u;
39
- if (u._tag === "TypeLiteral" || u._tag === "Union" || u._tag === "Transformation") {
40
- const A = v.make(u);
41
- m = k(A).ast;
35
+ if (i._tag === "TypeLiteral") {
36
+ const o = i.propertySignatures.map((u) => {
37
+ const l = u.type;
38
+ let f = l;
39
+ if (l._tag === "TypeLiteral" || l._tag === "Union" || l._tag === "Transformation") {
40
+ const k = p.make(l);
41
+ f = _(k).ast;
42
42
  }
43
43
  return {
44
- ...d,
45
- type: m,
44
+ ...u,
45
+ type: f,
46
46
  isOptional: !0
47
47
  };
48
- }), p = {
49
- ...c,
48
+ }), m = {
49
+ ...i,
50
50
  propertySignatures: o
51
51
  };
52
- return v.make(p);
52
+ return p.make(m);
53
53
  }
54
- return f;
54
+ return c;
55
55
  };
56
- class de extends C.TaggedError("FormErrors") {
56
+ class ae extends z.TaggedError("FormErrors") {
57
57
  }
58
- const D = (f) => function(o) {
58
+ const M = (c) => function(o) {
59
59
  return {
60
60
  render() {
61
- return Z(o, {
62
- form: f,
61
+ return J(o, {
62
+ form: c,
63
63
  ...this.$attrs
64
64
  }, this.$slots);
65
65
  }
66
66
  };
67
- }, me = (f) => function(o) {
67
+ }, ce = (c) => function(o) {
68
68
  return {
69
69
  setup() {
70
- const { fieldMap: p, form: d } = f, u = d.useStore((y) => y.errors), m = d.useStore((y) => y.fieldMeta), A = d.useStore((y) => y.errorMap), b = I(() => {
71
- const y = g.filterMap(
72
- Object.entries(m.value),
73
- ([U, h]) => {
74
- const _ = h.errors ?? [];
75
- if (!_.length) return V.none();
76
- const i = p.value.get(U);
77
- return i ? V.some({
78
- label: i.label,
79
- inputId: i.id,
70
+ const { fieldMap: m, form: u } = c, l = u.useStore((S) => S.errors), f = u.useStore((S) => S.fieldMeta), k = u.useStore((S) => S.errorMap), w = j(() => {
71
+ const S = g.filterMap(
72
+ Object.entries(f.value),
73
+ ([x, b]) => {
74
+ const a = b.errors ?? [];
75
+ if (!a.length) return D.none();
76
+ const v = m.value.get(x);
77
+ return v ? D.some({
78
+ label: v.label,
79
+ inputId: v.id,
80
80
  // Only show the first error
81
- errors: [_[0]?.message].filter(Boolean)
82
- }) : V.none();
81
+ errors: [a[0]?.message].filter(Boolean)
82
+ }) : D.none();
83
83
  }
84
84
  ), F = [];
85
- if (A.value.onSubmit) {
86
- for (const [U, h] of Object.entries(A.value.onSubmit))
87
- if (g.isArray(h) && h.length)
88
- for (const _ of h) {
89
- const i = _;
90
- if (i?.path && g.isArray(i.path) && i.path.length) {
91
- const M = i.path.join(".");
92
- if (!p.value.has(M)) {
85
+ if (k.value.onSubmit) {
86
+ for (const [x, b] of Object.entries(k.value.onSubmit))
87
+ if (g.isArray(b) && b.length)
88
+ for (const a of b) {
89
+ const v = a;
90
+ if (v?.path && g.isArray(v.path) && v.path.length) {
91
+ const A = v.path.join(".");
92
+ if (!m.value.has(A)) {
93
93
  F.push({
94
- label: M,
95
- inputId: M,
96
- errors: [i.message].filter(Boolean)
94
+ label: A,
95
+ inputId: A,
96
+ errors: [v.message].filter(Boolean)
97
97
  });
98
98
  break;
99
99
  }
100
100
  }
101
101
  }
102
102
  }
103
- return [...y, ...F];
103
+ return [...S, ...F];
104
104
  });
105
105
  return {
106
- generalErrors: u,
107
- errors: b
106
+ generalErrors: l,
107
+ errors: w
108
108
  };
109
109
  },
110
- render({ errors: p, generalErrors: d }) {
111
- return Z(o, {
112
- errors: p,
113
- generalErrors: d,
110
+ render({ errors: m, generalErrors: u }) {
111
+ return J(o, {
112
+ errors: m,
113
+ generalErrors: u,
114
114
  ...this.$attrs
115
115
  }, this.$slots);
116
116
  }
117
117
  };
118
- }, De = (f, c, o) => {
119
- if (!f) throw new Error("Schema is required");
120
- const p = v.standardSchemaV1(f), d = v.decode(f), { meta: u } = le(f), m = I(() => {
118
+ }, ke = (c, i, o) => {
119
+ if (!c) throw new Error("Schema is required");
120
+ const m = p.standardSchemaV1(c), u = p.decode(c), { meta: l } = ne(c), f = j(() => {
121
121
  if (o?.persistency?.id)
122
122
  return o.persistency.id;
123
- const e = window.location.pathname, t = Object.keys(u);
123
+ const e = window.location.pathname, t = Object.keys(l);
124
124
  return `${e}-${t.join("-")}`;
125
- }), A = () => {
125
+ }), k = () => {
126
126
  const e = new URLSearchParams(window.location.search);
127
- e.delete(m.value);
127
+ e.delete(f.value);
128
128
  const t = new URL(window.location.href);
129
129
  t.search = e.toString(), window.history.replaceState({}, "", t.toString());
130
130
  };
131
- function b(e, t) {
131
+ function w(e, t) {
132
132
  for (const r in t)
133
- g.isArray(t[r]) ? e[r] = t[r] : t[r] && te(t[r]) ? (e[r] || (e[r] = {}), b(e[r], t[r])) : e[r] = t[r];
133
+ g.isArray(t[r]) ? e[r] = t[r] : t[r] && X(t[r]) ? (e[r] || (e[r] = {}), w(e[r], t[r])) : e[r] = t[r];
134
134
  return e;
135
135
  }
136
- const y = (e) => {
137
- if (!e) return;
138
- const t = { ...e }, r = (s, a) => a.split(".").reduce((l, E) => l?.[E], s), n = (s, a, l) => {
139
- const E = a.split("."), N = E.pop(), X = E.reduce((L, O) => (L[O] || (L[O] = {}), L[O]), s);
140
- X[N] = l;
141
- };
142
- for (const s in u) {
143
- const a = u[s], l = r(t, s), N = (l == null || l === !1 || l === "" || Number.isNaN(l)) && l !== !1 && l !== 0;
144
- a && !a.required && a.nullableOrUndefined && a.type !== "boolean" && (l === void 0 || N) && n(t, s, a.nullableOrUndefined === "undefined" ? void 0 : null);
145
- }
146
- return t;
147
- }, F = (e) => {
136
+ const S = (e) => {
148
137
  const t = {};
149
138
  if (typeof e?.make == "function")
150
139
  try {
151
140
  return e.make({});
152
141
  } catch {
153
142
  }
154
- const r = e?.members || (e?.ast?._tag === "Union" && e.ast.types ? e.ast.types.map((n) => v.make(n)) : null);
143
+ const r = e?.members || (e?.ast?._tag === "Union" && e.ast.types ? e.ast.types.map((n) => p.make(n)) : null);
155
144
  if (r && g.isArray(r)) {
156
145
  for (const n of r) {
157
- const s = F(n);
146
+ const s = S(n);
158
147
  if (Object.keys(s).length > 0 && n?.fields && Object.entries(n.fields).some(
159
- ([l, E]) => l === "_tag" || l === "type" || l === "kind" ? E?.ast?.defaultValue !== void 0 : !1
148
+ ([y, K]) => y === "_tag" || y === "type" || y === "kind" ? K?.ast?.defaultValue !== void 0 : !1
160
149
  ))
161
150
  return s;
162
151
  }
@@ -166,30 +155,30 @@ const D = (f) => function(o) {
166
155
  for (const [n, s] of Object.entries(e.fields)) {
167
156
  if (s?.ast?.defaultValue)
168
157
  try {
169
- const l = s.ast.defaultValue();
170
- l !== void 0 && (t[n] = l);
158
+ const y = s.ast.defaultValue();
159
+ y !== void 0 && (t[n] = y);
171
160
  } catch {
172
161
  }
173
- const a = F(s);
174
- Object.keys(a).length > 0 && (t[n] && typeof t[n] == "object" ? Object.assign(t[n], a) : t[n] || (t[n] = a));
162
+ const d = S(s);
163
+ Object.keys(d).length > 0 && (t[n] && typeof t[n] == "object" ? Object.assign(t[n], d) : t[n] || (t[n] = d));
175
164
  }
176
165
  return t;
177
- }, U = (e = {}) => {
166
+ }, F = (e = {}) => {
178
167
  let t = {};
179
168
  try {
180
- const r = f.make(e);
181
- t = v.encodeSync(k(f))(r);
169
+ const r = c.make(e);
170
+ t = p.encodeSync(_(c))(r);
182
171
  } catch (r) {
183
172
  window.location.hostname === "localhost" && console.warn("schema.make() failed, extracting defaults from AST:", r);
184
173
  try {
185
- const n = F(f);
186
- t = v.encodeSync(k(f))(n);
174
+ const n = S(c);
175
+ t = p.encodeSync(_(c))(n);
187
176
  } catch (n) {
188
177
  window.location.hostname === "localhost" && console.warn("Could not extract defaults from AST:", n);
189
178
  }
190
179
  }
191
- return b(t, e);
192
- }, h = I(() => {
180
+ return w(t, e);
181
+ }, x = j(() => {
193
182
  let e;
194
183
  const t = o?.persistency;
195
184
  if (
@@ -200,132 +189,130 @@ const D = (f) => function(o) {
200
189
  if (r)
201
190
  try {
202
191
  const n = JSON.parse(
203
- r.getItem(m.value) || "{}"
192
+ r.getItem(f.value) || "{}"
204
193
  );
205
- r.removeItem(m.value), e = n;
194
+ r.removeItem(f.value), e = n;
206
195
  } catch (n) {
207
196
  console.error(n);
208
197
  }
209
198
  }
210
199
  if (t?.policies && t.policies.includes("querystring"))
211
200
  try {
212
- const n = new URLSearchParams(window.location.search).get(m.value);
213
- A(), n && (e = b(e || {}, JSON.parse(n)));
201
+ const n = new URLSearchParams(window.location.search).get(f.value);
202
+ k(), n && (e = w(e || {}, JSON.parse(n)));
214
203
  } catch (r) {
215
204
  console.error(r);
216
205
  }
217
- return e ??= {}, U(
218
- y(
219
- o?.persistency?.overrideDefaultValues ? b(c?.defaultValues || {}, e) : b(e, c?.defaultValues || {})
220
- )
206
+ return e ??= {}, F(
207
+ o?.persistency?.overrideDefaultValues ? w(i?.defaultValues || {}, e) : w(e, i?.defaultValues || {})
221
208
  );
222
- }), _ = (e, t) => e ? T.with(z.setSpan(T.active(), e), t) : t(), i = Y({
223
- ...c,
209
+ }), b = (e, t) => e ? V.with(H.setSpan(V.active(), e), t) : t(), a = G({
210
+ ...i,
224
211
  validators: {
225
- onSubmit: p,
226
- ...c?.validators || {}
212
+ onSubmit: m,
213
+ ...i?.validators || {}
227
214
  },
228
- onSubmit: c?.onSubmit ? ({ formApi: e, meta: t, value: r }) => _(t?.currentSpan, async () => {
229
- const n = await S.runPromise(d(r)), s = c.onSubmit({
215
+ onSubmit: i?.onSubmit ? ({ formApi: e, meta: t, value: r }) => b(t?.currentSpan, async () => {
216
+ const n = await h.runPromise(u(r)), s = i.onSubmit({
230
217
  formApi: e,
231
218
  meta: t,
232
219
  value: n
233
220
  });
234
- return j.isFiber(s) && j.isRuntimeFiber(s) ? await ee(s) : S.isEffect(s) ? await S.runPromise(
221
+ return L.isFiber(s) && L.isRuntimeFiber(s) ? await Q(s) : h.isEffect(s) ? await h.runPromise(
235
222
  s.pipe(
236
223
  // meta?.currentSpan
237
224
  // ? Effect.withParentSpan(meta.currentSpan)
238
225
  // : (_) => _,
239
- S.flatMap((a) => j.join(a))
226
+ h.flatMap((d) => L.join(d))
240
227
  )
241
228
  ) : s;
242
229
  }) : void 0,
243
- defaultValues: h.value
244
- }), M = () => {
245
- Object.keys(u).forEach((e) => {
246
- i.setFieldValue(e, void 0);
230
+ defaultValues: x.value
231
+ }), v = () => {
232
+ Object.keys(l).forEach((e) => {
233
+ a.setFieldValue(e, void 0);
247
234
  });
248
- }, $ = (e) => e.reduce((t, r) => {
235
+ }, A = (e) => e.reduce((t, r) => {
249
236
  const n = r.split(".");
250
- return n.reduce((s, a, l) => (l === n.length - 1 ? s[a] = i.getFieldValue(r) : s[a] = s[a] ?? {}, s[a]), t), t;
251
- }, {}), R = (e) => {
237
+ return n.reduce((s, d, y) => (y === n.length - 1 ? s[d] = a.getFieldValue(r) : s[d] = s[d] ?? {}, s[d]), t), t;
238
+ }, {}), T = (e) => {
252
239
  if (e) {
253
240
  if (g.isArray(e.keys))
254
- return $(e.keys);
241
+ return A(e.keys);
255
242
  if (g.isArray(e.banKeys)) {
256
- const t = Object.keys(u).filter((r) => e.banKeys?.includes(r));
257
- return $(t);
243
+ const t = Object.keys(l).filter((r) => e.banKeys?.includes(r));
244
+ return A(t);
258
245
  }
259
- return i.store.state.values;
246
+ return a.store.state.values;
260
247
  }
261
- }, x = () => {
248
+ }, P = () => {
262
249
  const e = o?.persistency;
263
250
  if (!(!e?.policies || e.policies.length === 0) && (e.policies.includes("local") || e.policies.includes("session"))) {
264
251
  const t = e.policies.includes("local") ? localStorage : sessionStorage;
265
252
  if (!t) return;
266
- const r = R(e);
267
- return t.setItem(m.value, JSON.stringify(r));
253
+ const r = T(e);
254
+ return t.setItem(f.value, JSON.stringify(r));
268
255
  }
269
- }, W = () => {
256
+ }, O = () => {
270
257
  const e = o?.persistency;
271
258
  if (!(!e?.policies || e.policies.length === 0) && e.policies.includes("querystring")) {
272
- const t = R(e), r = new URLSearchParams(window.location.search);
273
- r.set(m.value, JSON.stringify(t));
259
+ const t = T(e), r = new URLSearchParams(window.location.search);
260
+ r.set(f.value, JSON.stringify(t));
274
261
  const n = new URL(window.location.href);
275
262
  n.search = r.toString(), window.history.replaceState({}, "", n.toString());
276
263
  }
277
- }, B = (e) => {
278
- i.store.state.isDirty && e.preventDefault();
264
+ }, I = (e) => {
265
+ a.store.state.isDirty && e.preventDefault();
279
266
  };
280
- if (J(x), re(() => {
281
- window.addEventListener("beforeunload", x), window.addEventListener("blur", W), o?.preventWindowExit && o.preventWindowExit !== "nope" && window.addEventListener("beforeunload", B);
282
- }), ne(() => {
283
- window.removeEventListener("beforeunload", x), window.removeEventListener("blur", W), o?.preventWindowExit && o.preventWindowExit !== "nope" && window.removeEventListener("beforeunload", B);
267
+ if (R(P), Y(() => {
268
+ window.addEventListener("beforeunload", P), window.addEventListener("blur", O), o?.preventWindowExit && o.preventWindowExit !== "nope" && window.addEventListener("beforeunload", I);
269
+ }), Z(() => {
270
+ window.removeEventListener("beforeunload", P), window.removeEventListener("blur", O), o?.preventWindowExit && o.preventWindowExit !== "nope" && window.removeEventListener("beforeunload", I);
284
271
  }), o?.preventWindowExit === "prevent-and-reset") {
285
- const e = i.useStore((s) => s.isSubmitting), t = i.useStore((s) => s.submissionAttempts), r = i.useStore((s) => s.canSubmit), n = i.useStore((s) => s.values);
286
- K([e, t], ([s, a], [l]) => {
287
- l && !s && a > 0 && r.value && i.reset(n.value);
272
+ const e = a.useStore((s) => s.isSubmitting), t = a.useStore((s) => s.submissionAttempts), r = a.useStore((s) => s.canSubmit), n = a.useStore((s) => s.values);
273
+ W([e, t], ([s, d], [y]) => {
274
+ y && !s && d > 0 && r.value && a.reset(n.value);
288
275
  });
289
276
  }
290
- const q = (e) => S.currentSpan.pipe(
291
- S.option,
292
- S.flatMap(
293
- (t) => S.promise(() => i.handleSubmit(V.isSome(t) ? { currentSpan: t.value, ...e } : e))
277
+ const $ = (e) => h.currentSpan.pipe(
278
+ h.option,
279
+ h.flatMap(
280
+ (t) => h.promise(() => a.handleSubmit(D.isSome(t) ? { currentSpan: t.value, ...e } : e))
294
281
  )
295
- ), G = (e) => e?.checkErrors ? q(e?.meta).pipe(S.flatMap(S.fnUntraced(function* () {
296
- const t = i.getAllErrors();
282
+ ), q = (e) => e?.checkErrors ? $(e?.meta).pipe(h.flatMap(h.fnUntraced(function* () {
283
+ const t = a.getAllErrors();
297
284
  if (Object.keys(t.fields).length || t.form.errors.length)
298
- return yield* new de({ form: t.form, fields: t.fields });
299
- }))) : q(e?.meta), Q = i.handleSubmit, P = se(/* @__PURE__ */ new Map()), w = Object.assign(i, {
285
+ return yield* new ae({ form: t.form, fields: t.fields });
286
+ }))) : $(e?.meta), B = a.handleSubmit, U = C(/* @__PURE__ */ new Map()), E = Object.assign(a, {
300
287
  i18nNamespace: o?.i18nNamespace,
301
288
  ignorePreventCloseEvents: o?.ignorePreventCloseEvents,
302
- meta: u,
303
- clear: M,
289
+ meta: l,
290
+ clear: v,
304
291
  handleSubmit: (e) => {
305
- const t = z.getSpan(T.active());
306
- return Q({ currentSpan: t, ...e });
292
+ const t = H.getSpan(V.active());
293
+ return B({ currentSpan: t, ...e });
307
294
  },
308
295
  // /** @experimental */
309
- handleSubmitEffect: G,
296
+ handleSubmitEffect: q,
310
297
  registerField: (e) => {
311
- K(e, (t) => P.value.set(t.name, { label: t.label, id: t.id }), { immediate: !0 }), J(() => P.value.delete(e.value.name));
298
+ W(e, (t) => U.value.set(t.name, { label: t.label, id: t.id }), { immediate: !0 }), R(() => U.value.delete(e.value.name));
312
299
  }
313
- }), H = { form: w, fieldMap: P };
314
- return Object.assign(w, {
300
+ }), N = { form: E, fieldMap: U };
301
+ return Object.assign(E, {
315
302
  // Type-level properties for performance optimization (not used at runtime)
316
303
  _paths: void 0,
317
304
  _keys: void 0,
318
- errorContext: H,
319
- Form: D(w)(fe),
320
- Input: D(w)(o?.input ?? ce),
321
- TaggedUnion: D(w)(ue),
322
- Field: i.Field,
323
- Errors: me(H)(ae),
324
- Array: D(w)(oe),
325
- AutoGen: D(w)(ie)
305
+ errorContext: N,
306
+ Form: M(E)(ie),
307
+ Input: M(E)(o?.input ?? se),
308
+ TaggedUnion: M(E)(oe),
309
+ Field: a.Field,
310
+ Errors: ce(N)(re),
311
+ Array: M(E)(ee),
312
+ AutoGen: M(E)(te)
326
313
  });
327
314
  };
328
315
  export {
329
- de as FormErrors,
330
- De as useOmegaForm
316
+ ae as FormErrors,
317
+ ke as useOmegaForm
331
318
  };
@@ -1,5 +1,5 @@
1
1
  import { Exit as c, Runtime as u } from "effect";
2
- import { dual as n, isFunction as m } from "./vue-components.es32.js";
2
+ import { dual as n, isFunction as m } from "./vue-components.es30.js";
3
3
  const i = Symbol.for("clone-trait"), a = n(2, (e, t) => i in e ? e[i](t) : Object.setPrototypeOf(t, Object.getPrototypeOf(e)));
4
4
  n(2, (e, t) => a(e, { ...e, ...m(t) ? t(e) : t }));
5
5
  const p = (e, t) => new Promise((o, s) => e.addObserver((r) => {
@@ -1,4 +1,4 @@
1
- import { isFunction as c } from "./vue-components.es32.js";
1
+ import { isFunction as c } from "./vue-components.es30.js";
2
2
  const s = c, t = (o) => typeof o == "object" && o !== null, i = (o) => t(o) || s(o);
3
3
  export {
4
4
  s as isFunction,
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");if(a.appendChild(document.createTextNode(".v-enter-from[data-v-d4ffe76f],.v-leave-to[data-v-d4ffe76f]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-d4ffe76f],.v-leave-active[data-v-d4ffe76f]{display:grid;transition:all .15s}.v-enter-to[data-v-d4ffe76f],.v-leave-from[data-v-d4ffe76f]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-d4ffe76f]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-d4ffe76f]{min-height:0}.error-list[data-v-d4ffe76f]{list-style-position:inside}div.error-list[data-v-d4ffe76f]{container-type:inline-size;display:grid;grid-template-columns:auto 1fr auto;gap:1.5em;align-items:start}@container (max-width: 27.125rem){div.error-list[data-v-d4ffe76f]{grid-template-columns:auto 1fr}.error-link[data-v-d4ffe76f]{grid-column:1 / -1;justify-self:end}}@container (max-width: 17.75rem){div.error-list[data-v-d4ffe76f]{grid-template-columns:1fr}.error-message[data-v-d4ffe76f]{grid-column:1 / -1}}.error-item[data-v-d4ffe76f]{display:contents}a[data-v-d4ffe76f]{min-width:min-content}.error-link[data-v-d4ffe76f]{align-items:center;color:inherit;display:inline-flex;flex-wrap:wrap;gap:.25em;padding-bottom:1em;text-decoration:none}")),document.head.appendChild(a),window.customElements){const e=window.customElements.define;window.customElements.define=function(r,t){const i=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(i&&i.call(this),this.shadowRoot){const d=document.createElement("style");d.appendChild(document.createTextNode(".v-enter-from[data-v-d4ffe76f],.v-leave-to[data-v-d4ffe76f]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-d4ffe76f],.v-leave-active[data-v-d4ffe76f]{display:grid;transition:all .15s}.v-enter-to[data-v-d4ffe76f],.v-leave-from[data-v-d4ffe76f]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-d4ffe76f]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-d4ffe76f]{min-height:0}.error-list[data-v-d4ffe76f]{list-style-position:inside}div.error-list[data-v-d4ffe76f]{container-type:inline-size;display:grid;grid-template-columns:auto 1fr auto;gap:1.5em;align-items:start}@container (max-width: 27.125rem){div.error-list[data-v-d4ffe76f]{grid-template-columns:auto 1fr}.error-link[data-v-d4ffe76f]{grid-column:1 / -1;justify-self:end}}@container (max-width: 17.75rem){div.error-list[data-v-d4ffe76f]{grid-template-columns:1fr}.error-message[data-v-d4ffe76f]{grid-column:1 / -1}}.error-item[data-v-d4ffe76f]{display:contents}a[data-v-d4ffe76f]{min-width:min-content}.error-link[data-v-d4ffe76f]{align-items:center;color:inherit;display:inline-flex;flex-wrap:wrap;gap:.25em;padding-bottom:1em;text-decoration:none}")),this.shadowRoot.appendChild(d)}},e.call(window.customElements,r,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import r from "./vue-components.es35.js";
2
+ import r from "./vue-components.es33.js";
3
3
 
4
- import o from "./vue-components.es37.js";
4
+ import o from "./vue-components.es35.js";
5
5
  const e = /* @__PURE__ */ o(r, [["__scopeId", "data-v-d4ffe76f"]]);
6
6
  export {
7
7
  e as default
@@ -1,7 +1,7 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");if(n.appendChild(document.createTextNode("fieldset[data-v-05e510ab]{display:contents}fieldset[disabled][data-v-05e510ab]>*{pointer-events:none}")),document.head.appendChild(n),window.customElements){const e=window.customElements.define;window.customElements.define=function(i,t){const d=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(d&&d.call(this),this.shadowRoot){const o=document.createElement("style");o.appendChild(document.createTextNode("fieldset[data-v-05e510ab]{display:contents}fieldset[disabled][data-v-05e510ab]>*{pointer-events:none}")),this.shadowRoot.appendChild(o)}},e.call(window.customElements,i,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import o from "./vue-components.es38.js";
2
+ import o from "./vue-components.es36.js";
3
3
 
4
- import m from "./vue-components.es37.js";
4
+ import m from "./vue-components.es35.js";
5
5
  const e = /* @__PURE__ */ m(o, [["__scopeId", "data-v-05e510ab"]]);
6
6
  export {
7
7
  e as default