@effect-app/vue-components 2.10.0 → 2.10.3

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,5 +1,6 @@
1
1
  import { type DeepKeys, DeepValue, StandardSchemaV1Issue, ValidationError, ValidationErrorMap } from "@tanstack/vue-form";
2
2
  import { Effect, Order, S } from "effect-app";
3
+ import { UnionToTuples } from "effect-app/utils";
3
4
  import { ComputedRef, type InjectionKey } from "vue";
4
5
  import { MergedInputProps } from "./InputProps";
5
6
  import { BaseProps, DefaultTypeProps, FieldPath, type FormProps, type MetaRecord, type NestedKeyOf, OmegaArrayProps, OmegaAutoGenMeta, OmegaError, type OmegaFormApi, OmegaFormState } from "./OmegaFormStuff";
@@ -24,6 +25,8 @@ export declare class FormErrors<From> extends FormErrors_base<{
24
25
  }>;
25
26
  }> {
26
27
  }
28
+ export type Policies = "local" | "session" | "querystring";
29
+ export type defaultValuesPriorityUnion = "tanstack" | "persistency" | "schema";
27
30
  export type OmegaConfig<T> = {
28
31
  i18nNamespace?: string;
29
32
  persistency?: {
@@ -31,8 +34,8 @@ export type OmegaConfig<T> = {
31
34
  * - "querystring": Highest priority when persisting
32
35
  * - "local" and then "session": Lower priority storage options
33
36
  */
34
- policies?: ("local" | "session" | "querystring")[];
35
- overrideDefaultValues?: boolean;
37
+ policies?: UnionToTuples<Policies>;
38
+ overrideDefaultValues?: "deprecated: use defaultValuesPriority";
36
39
  id?: string;
37
40
  } & keysRule<T>;
38
41
  ignorePreventCloseEvents?: boolean;
@@ -46,7 +49,14 @@ export type OmegaConfig<T> = {
46
49
  */
47
50
  preventWindowExit?: "prevent" | "prevent-and-reset" | "nope";
48
51
  input?: any;
49
- defaultFromSchema?: "only" | "nope" | "merge";
52
+ /**
53
+ * Default values order is: Tanstack default values passed as second parameter to useOmegaForm, then persistency
54
+ * default values from querystring or local/session storage, then defaults from schema
55
+ * You can customize the order and with omegaConfig.defaultValuesPriority
56
+ * default value = ['tanstack', 'persistency', 'schema']
57
+ */
58
+ defaultValuesPriority?: UnionToTuples<defaultValuesPriorityUnion>;
59
+ defaultFromSchema?: "deprecated: use defaultValuesPriority";
50
60
  };
51
61
  export interface OF<From, To> extends OmegaFormApi<From, To> {
52
62
  meta: MetaRecord<From>;
@@ -1,226 +1,233 @@
1
1
  import { useForm as B } from "@tanstack/vue-form";
2
- import { Data as K, S as N, Effect as c, Fiber as V, Option as _, Array as F } from "effect-app";
2
+ import { Data as K, S as $, Effect as l, Fiber as x, Option as P, Array as F } from "effect-app";
3
3
  import { runtimeFiberAsPromise as T } from "./vue-components.es17.js";
4
- import { computed as L, onUnmounted as W, onMounted as G, onBeforeUnmount as z, watch as D, ref as Q, h as H } from "vue";
4
+ import { computed as U, onUnmounted as N, onMounted as G, onBeforeUnmount as z, watch as W, ref as Q, h as H } from "vue";
5
5
  import X from "./vue-components.es18.js";
6
6
  import Y from "./vue-components.es19.js";
7
7
  import Z from "./vue-components.es20.js";
8
- import { generateMetaFromSchema as C, deepMerge as P, defaultsValueFromSchema as R } from "./vue-components.es12.js";
9
- import ee from "./vue-components.es6.js";
10
- import re from "./vue-components.es8.js";
11
- import te from "./vue-components.es21.js";
12
- import { trace as k } from "./vue-components.es22.js";
13
- import { context as x } from "./vue-components.es23.js";
14
- class se extends K.TaggedError("FormErrors") {
8
+ import { generateMetaFromSchema as C, deepMerge as D, defaultsValueFromSchema as ee } from "./vue-components.es12.js";
9
+ import re from "./vue-components.es6.js";
10
+ import te from "./vue-components.es8.js";
11
+ import se from "./vue-components.es21.js";
12
+ import { trace as R } from "./vue-components.es22.js";
13
+ import { context as L } from "./vue-components.es23.js";
14
+ class ne extends K.TaggedError("FormErrors") {
15
15
  }
16
- const E = (l) => function(s) {
16
+ const g = (a) => function(n) {
17
17
  return {
18
18
  render() {
19
- return H(s, {
20
- form: l,
19
+ return H(n, {
20
+ form: a,
21
21
  ...this.$attrs
22
22
  }, this.$slots);
23
23
  }
24
24
  };
25
- }, ne = (l) => function(s) {
25
+ }, oe = (a) => function(n) {
26
26
  return {
27
27
  setup() {
28
- const { fieldMap: w, form: v } = l, b = v.useStore((u) => u.errors), m = v.useStore((u) => u.fieldMeta), g = v.useStore((u) => u.errorMap), j = L(() => {
29
- const u = F.filterMap(
28
+ const { fieldMap: b, form: h } = a, y = h.useStore((d) => d.errors), m = h.useStore((d) => d.fieldMeta), M = h.useStore((d) => d.errorMap), j = U(() => {
29
+ const d = F.filterMap(
30
30
  Object.entries(m.value),
31
- ([M, f]) => {
31
+ ([O, f]) => {
32
32
  const S = f.errors ?? [];
33
- if (!S.length) return _.none();
34
- const a = w.value.get(M);
35
- return a ? _.some({
36
- label: a.label,
37
- inputId: a.id,
33
+ if (!S.length) return P.none();
34
+ const c = b.value.get(O);
35
+ return c ? P.some({
36
+ label: c.label,
37
+ inputId: c.id,
38
38
  // Only show the first error
39
39
  errors: [S[0]?.message].filter(Boolean)
40
- }) : _.none();
40
+ }) : P.none();
41
41
  }
42
- ), n = [];
43
- if (g.value.onSubmit) {
44
- for (const [M, f] of Object.entries(g.value.onSubmit))
42
+ ), o = [];
43
+ if (M.value.onSubmit) {
44
+ for (const [O, f] of Object.entries(M.value.onSubmit))
45
45
  if (F.isArray(f) && f.length)
46
46
  for (const S of f) {
47
- const a = S;
48
- if (a?.path && F.isArray(a.path) && a.path.length) {
49
- const y = a.path.join(".");
50
- if (!w.value.has(y)) {
51
- n.push({
52
- label: y,
53
- inputId: y,
54
- errors: [a.message].filter(Boolean)
47
+ const c = S;
48
+ if (c?.path && F.isArray(c.path) && c.path.length) {
49
+ const E = c.path.join(".");
50
+ if (!b.value.has(E)) {
51
+ o.push({
52
+ label: E,
53
+ inputId: E,
54
+ errors: [c.message].filter(Boolean)
55
55
  });
56
56
  break;
57
57
  }
58
58
  }
59
59
  }
60
60
  }
61
- return [...u, ...n];
61
+ return [...d, ...o];
62
62
  });
63
63
  return {
64
- generalErrors: b,
64
+ generalErrors: y,
65
65
  errors: j
66
66
  };
67
67
  },
68
- render({ errors: w, generalErrors: v }) {
69
- return H(s, {
70
- errors: w,
71
- generalErrors: v,
68
+ render({ errors: b, generalErrors: h }) {
69
+ return H(n, {
70
+ errors: b,
71
+ generalErrors: h,
72
72
  ...this.$attrs
73
73
  }, this.$slots);
74
74
  }
75
75
  };
76
- }, we = (l, d, s) => {
77
- if (!l) throw new Error("Schema is required");
78
- const w = N.standardSchemaV1(l), v = N.decode(l), { meta: b } = C(l), m = L(() => {
79
- if (s?.persistency?.id)
80
- return s.persistency.id;
81
- const e = window.location.pathname, r = Object.keys(b);
76
+ }, v = (a, u) => a.includes(u), be = (a, u, n) => {
77
+ if (!a) throw new Error("Schema is required");
78
+ const b = $.standardSchemaV1(a), h = $.decode(a), { meta: y } = C(a), m = U(() => {
79
+ if (n?.persistency?.id)
80
+ return n.persistency.id;
81
+ const e = window.location.pathname, r = Object.keys(y);
82
82
  return `${e}-${r.join("-")}`;
83
- }), g = () => {
83
+ }), M = () => {
84
84
  const e = new URLSearchParams(window.location.search);
85
85
  e.delete(m.value);
86
86
  const r = new URL(window.location.href);
87
87
  r.search = e.toString(), window.history.replaceState({}, "", r.toString());
88
- }, j = L(() => {
88
+ }, j = U(() => {
89
89
  let e;
90
- const r = s?.persistency;
90
+ const r = n?.persistency;
91
91
  if (
92
92
  // query string has higher priority than local/session storage
93
- r?.policies && !e && (r.policies.includes("local") || r.policies.includes("session"))
93
+ r?.policies && !e && (v(r.policies, "local") || v(r.policies, "session"))
94
94
  ) {
95
- const i = r.policies.includes("local") ? localStorage : sessionStorage;
96
- if (i)
95
+ const s = v(r.policies, "local") ? localStorage : sessionStorage;
96
+ if (s)
97
97
  try {
98
98
  const t = JSON.parse(
99
- i.getItem(m.value) || "{}"
99
+ s.getItem(m.value) || "{}"
100
100
  );
101
- i.removeItem(m.value), e = t;
101
+ s.removeItem(m.value), e = t;
102
102
  } catch (t) {
103
103
  console.error(t);
104
104
  }
105
105
  }
106
- if (r?.policies && r.policies.includes("querystring"))
106
+ if (r?.policies && v(r.policies, "querystring"))
107
107
  try {
108
108
  const t = new URLSearchParams(window.location.search).get(m.value);
109
- g(), t && (e = P(e || {}, JSON.parse(t)));
110
- } catch (i) {
111
- console.error(i);
109
+ M(), t && (e = D(e || {}, JSON.parse(t)));
110
+ } catch (s) {
111
+ console.error(s);
112
112
  }
113
113
  e ??= {};
114
- const o = s?.defaultFromSchema === "only" ? R(l) : s?.defaultFromSchema === "nope" ? d?.defaultValues || {} : P(R(l), d?.defaultValues || {});
115
- return s?.persistency?.overrideDefaultValues ? P(o, e) : P(e, o);
116
- }), u = (e, r) => e ? x.with(k.setSpan(x.active(), e), r) : r(), n = B({
117
- ...d,
114
+ const i = {
115
+ tanstack: u?.defaultValues || {},
116
+ persistency: e,
117
+ schema: ee(a)
118
+ };
119
+ return (n?.defaultValuesPriority || ["tanstack", "persistency", "schema"]).reverse().reduce(
120
+ (s, t) => Object.keys(s).length ? D(s, i[t]) : i[t],
121
+ {}
122
+ );
123
+ }), d = (e, r) => e ? L.with(R.setSpan(L.active(), e), r) : r(), o = B({
124
+ ...u,
118
125
  validators: {
119
- onSubmit: w,
120
- ...d?.validators || {}
126
+ onSubmit: b,
127
+ ...u?.validators || {}
121
128
  },
122
- onSubmit: d?.onSubmit ? ({ formApi: e, meta: r, value: o }) => u(r?.currentSpan, async () => {
123
- const i = await c.runPromise(v(o)), t = d.onSubmit({
129
+ onSubmit: u?.onSubmit ? ({ formApi: e, meta: r, value: i }) => d(r?.currentSpan, async () => {
130
+ const s = await l.runPromise(h(i)), t = u.onSubmit({
124
131
  formApi: e,
125
132
  meta: r,
126
- value: i
133
+ value: s
127
134
  });
128
- return V.isFiber(t) && V.isRuntimeFiber(t) ? await T(t) : c.isEffect(t) ? await c.runPromise(
135
+ return x.isFiber(t) && x.isRuntimeFiber(t) ? await T(t) : l.isEffect(t) ? await l.runPromise(
129
136
  t.pipe(
130
137
  // meta?.currentSpan
131
138
  // ? Effect.withParentSpan(meta.currentSpan)
132
139
  // : (_) => _,
133
- c.flatMap((p) => V.join(p))
140
+ l.flatMap((p) => x.join(p))
134
141
  )
135
142
  ) : t;
136
143
  }) : void 0,
137
144
  defaultValues: j.value
138
- }), M = () => {
139
- Object.keys(b).forEach((e) => {
140
- n.setFieldValue(e, void 0);
145
+ }), O = () => {
146
+ Object.keys(y).forEach((e) => {
147
+ o.setFieldValue(e, void 0);
141
148
  });
142
- }, f = (e) => e.reduce((r, o) => {
143
- const i = o.split(".");
144
- return i.reduce((t, p, O) => (O === i.length - 1 ? t[p] = n.getFieldValue(o) : t[p] = t[p] ?? {}, t[p]), r), r;
149
+ }, f = (e) => e.reduce((r, i) => {
150
+ const s = i.split(".");
151
+ return s.reduce((t, p, A) => (A === s.length - 1 ? t[p] = o.getFieldValue(i) : t[p] = t[p] ?? {}, t[p]), r), r;
145
152
  }, {}), S = (e) => {
146
153
  if (e) {
147
154
  if (F.isArray(e.keys))
148
155
  return f(e.keys);
149
156
  if (F.isArray(e.banKeys)) {
150
- const r = Object.keys(b).filter((o) => e.banKeys?.includes(o));
157
+ const r = Object.keys(y).filter((i) => e.banKeys?.includes(i));
151
158
  return f(r);
152
159
  }
153
- return n.store.state.values;
160
+ return o.store.state.values;
154
161
  }
155
- }, a = () => {
156
- const e = s?.persistency;
157
- if (!(!e?.policies || e.policies.length === 0) && (e.policies.includes("local") || e.policies.includes("session"))) {
158
- const r = e.policies.includes("local") ? localStorage : sessionStorage;
162
+ }, c = () => {
163
+ const e = n?.persistency;
164
+ if (!(!e?.policies || e.policies.length === 0) && (v(e.policies, "local") || v(e.policies, "session"))) {
165
+ const r = v(e.policies, "local") ? localStorage : sessionStorage;
159
166
  if (!r) return;
160
- const o = S(e);
161
- return r.setItem(m.value, JSON.stringify(o));
167
+ const i = S(e);
168
+ return r.setItem(m.value, JSON.stringify(i));
162
169
  }
163
- }, y = () => {
164
- const e = s?.persistency;
165
- if (!(!e?.policies || e.policies.length === 0) && e.policies.includes("querystring")) {
166
- const r = S(e), o = new URLSearchParams(window.location.search);
167
- o.set(m.value, JSON.stringify(r));
168
- const i = new URL(window.location.href);
169
- i.search = o.toString(), window.history.replaceState({}, "", i.toString());
170
+ }, E = () => {
171
+ const e = n?.persistency;
172
+ if (!(!e?.policies || e.policies.length === 0) && v(e.policies, "querystring")) {
173
+ const r = S(e), i = new URLSearchParams(window.location.search);
174
+ i.set(m.value, JSON.stringify(r));
175
+ const s = new URL(window.location.href);
176
+ s.search = i.toString(), window.history.replaceState({}, "", s.toString());
170
177
  }
171
- }, U = (e) => {
172
- n.store.state.isDirty && e.preventDefault();
178
+ }, V = (e) => {
179
+ o.store.state.isDirty && e.preventDefault();
173
180
  };
174
- if (W(a), G(() => {
175
- window.addEventListener("beforeunload", a), window.addEventListener("blur", y), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.addEventListener("beforeunload", U);
181
+ if (N(c), G(() => {
182
+ window.addEventListener("beforeunload", c), window.addEventListener("blur", E), n?.preventWindowExit && n.preventWindowExit !== "nope" && window.addEventListener("beforeunload", V);
176
183
  }), z(() => {
177
- window.removeEventListener("beforeunload", a), window.removeEventListener("blur", y), s?.preventWindowExit && s.preventWindowExit !== "nope" && window.removeEventListener("beforeunload", U);
178
- }), s?.preventWindowExit === "prevent-and-reset") {
179
- const e = n.useStore((t) => t.isSubmitting), r = n.useStore((t) => t.submissionAttempts), o = n.useStore((t) => t.canSubmit), i = n.useStore((t) => t.values);
180
- D([e, r], ([t, p], [O]) => {
181
- O && !t && p > 0 && o.value && n.reset(i.value);
184
+ window.removeEventListener("beforeunload", c), window.removeEventListener("blur", E), n?.preventWindowExit && n.preventWindowExit !== "nope" && window.removeEventListener("beforeunload", V);
185
+ }), n?.preventWindowExit === "prevent-and-reset") {
186
+ const e = o.useStore((t) => t.isSubmitting), r = o.useStore((t) => t.submissionAttempts), i = o.useStore((t) => t.canSubmit), s = o.useStore((t) => t.values);
187
+ W([e, r], ([t, p], [A]) => {
188
+ A && !t && p > 0 && i.value && o.reset(s.value);
182
189
  });
183
190
  }
184
- const I = (e) => c.currentSpan.pipe(
185
- c.option,
186
- c.flatMap(
187
- (r) => c.promise(() => n.handleSubmit(_.isSome(r) ? { currentSpan: r.value, ...e } : e))
191
+ const k = (e) => l.currentSpan.pipe(
192
+ l.option,
193
+ l.flatMap(
194
+ (r) => l.promise(() => o.handleSubmit(P.isSome(r) ? { currentSpan: r.value, ...e } : e))
188
195
  )
189
- ), J = (e) => e?.checkErrors ? I(e?.meta).pipe(c.flatMap(c.fnUntraced(function* () {
190
- const r = n.getAllErrors();
196
+ ), J = (e) => e?.checkErrors ? k(e?.meta).pipe(l.flatMap(l.fnUntraced(function* () {
197
+ const r = o.getAllErrors();
191
198
  if (Object.keys(r.fields).length || r.form.errors.length)
192
- return yield* new se({ form: r.form, fields: r.fields });
193
- }))) : I(e?.meta), q = n.handleSubmit, A = Q(/* @__PURE__ */ new Map()), h = Object.assign(n, {
194
- i18nNamespace: s?.i18nNamespace,
195
- ignorePreventCloseEvents: s?.ignorePreventCloseEvents,
196
- meta: b,
197
- clear: M,
199
+ return yield* new ne({ form: r.form, fields: r.fields });
200
+ }))) : k(e?.meta), q = o.handleSubmit, _ = Q(/* @__PURE__ */ new Map()), w = Object.assign(o, {
201
+ i18nNamespace: n?.i18nNamespace,
202
+ ignorePreventCloseEvents: n?.ignorePreventCloseEvents,
203
+ meta: y,
204
+ clear: O,
198
205
  handleSubmit: (e) => {
199
- const r = k.getSpan(x.active());
206
+ const r = R.getSpan(L.active());
200
207
  return q({ currentSpan: r, ...e });
201
208
  },
202
209
  // /** @experimental */
203
210
  handleSubmitEffect: J,
204
211
  registerField: (e) => {
205
- D(e, (r) => A.value.set(r.name, { label: r.label, id: r.id }), { immediate: !0 }), W(() => A.value.delete(e.value.name));
212
+ W(e, (r) => _.value.set(r.name, { label: r.label, id: r.id }), { immediate: !0 }), N(() => _.value.delete(e.value.name));
206
213
  }
207
- }), $ = { form: h, fieldMap: A };
208
- return Object.assign(h, {
214
+ }), I = { form: w, fieldMap: _ };
215
+ return Object.assign(w, {
209
216
  // Type-level properties for performance optimization (not used at runtime)
210
217
  _paths: void 0,
211
218
  _keys: void 0,
212
- _schema: l,
213
- errorContext: $,
214
- Form: E(h)(te),
215
- Input: E(h)(s?.input ?? ee),
216
- TaggedUnion: E(h)(re),
217
- Field: n.Field,
218
- Errors: ne($)(Z),
219
- Array: E(h)(X),
220
- AutoGen: E(h)(Y)
219
+ _schema: a,
220
+ errorContext: I,
221
+ Form: g(w)(se),
222
+ Input: g(w)(n?.input ?? re),
223
+ TaggedUnion: g(w)(te),
224
+ Field: o.Field,
225
+ Errors: oe(I)(Z),
226
+ Array: g(w)(X),
227
+ AutoGen: g(w)(Y)
221
228
  });
222
229
  };
223
230
  export {
224
- se as FormErrors,
225
- we as useOmegaForm
231
+ ne as FormErrors,
232
+ be as useOmegaForm
226
233
  };
@@ -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,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-6b2bf87e],.v-leave-to[data-v-6b2bf87e]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-6b2bf87e],.v-leave-active[data-v-6b2bf87e]{display:grid;transition:all .15s}.v-enter-to[data-v-6b2bf87e],.v-leave-from[data-v-6b2bf87e]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-6b2bf87e]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-6b2bf87e]{min-height:0}.error-list[data-v-6b2bf87e]{list-style-position:inside}.error-list [data-v-6b2bf87e]::marker{margin:0;padding:0}.error-alert-content[data-v-6b2bf87e]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-6b2bf87e]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-6b2bf87e]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-6b2bf87e]{font-weight:700;font-size:1.25em}.error-message[data-v-6b2bf87e]{font-style:italic}.error-item[data-v-6b2bf87e]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-6b2bf87e]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-6b2bf87e]{display:flex;gap:1.5em}.container svg[data-v-6b2bf87e]{width:3em}.container .single-error[data-v-6b2bf87e]{display:inline-block}')),document.head.appendChild(a),window.customElements){const e=window.customElements.define;window.customElements.define=function(i,t){const r=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){const o=document.createElement("style");o.appendChild(document.createTextNode('.v-enter-from[data-v-6b2bf87e],.v-leave-to[data-v-6b2bf87e]{max-height:0px;grid-template-rows:0fr;opacity:0}.v-enter-active[data-v-6b2bf87e],.v-leave-active[data-v-6b2bf87e]{display:grid;transition:all .15s}.v-enter-to[data-v-6b2bf87e],.v-leave-from[data-v-6b2bf87e]{grid-template-rows:1fr;max-height:50vh;opacity:1}.error-alert[data-v-6b2bf87e]{transition-behavior:allow-discrete;display:grid;overflow:hidden;min-height:0}.error-alert>*[data-v-6b2bf87e]{min-height:0}.error-list[data-v-6b2bf87e]{list-style-position:inside}.error-list [data-v-6b2bf87e]::marker{margin:0;padding:0}.error-alert-content[data-v-6b2bf87e]{background-color:var(--error-background, #fff5f5);color:var(--error-color, #c92a2a);padding:1em}.error-link[data-v-6b2bf87e]{font-weight:700;position:relative;color:var(--error-color, #c92a2a);cursor:pointer}.error-link[data-v-6b2bf87e]:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(from var(--error-color, #c92a2a) r g b / .5)}.text-h6[data-v-6b2bf87e]{font-weight:700;font-size:1.25em}.error-message[data-v-6b2bf87e]{font-style:italic}.error-item[data-v-6b2bf87e]{margin-bottom:.5em;overflow:hidden}.error-item>div[data-v-6b2bf87e]{float:right;width:100%;max-width:calc(100% - 1.5em)}.container[data-v-6b2bf87e]{display:flex;gap:1.5em}.container svg[data-v-6b2bf87e]{width:3em}.container .single-error[data-v-6b2bf87e]{display:inline-block}')),this.shadowRoot.appendChild(o)}},e.call(window.customElements,i,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 m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-6b2bf87e"]]);
6
6
  export {
7
7
  m 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-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),document.head.appendChild(n),window.customElements){const e=window.customElements.define;window.customElements.define=function(o,t){const d=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(d&&d.call(this),this.shadowRoot){const c=document.createElement("style");c.appendChild(document.createTextNode("fieldset[data-v-8c9cb27c]{display:contents}fieldset[disabled][data-v-8c9cb27c]>*{pointer-events:none}")),this.shadowRoot.appendChild(c)}},e.call(window.customElements,o,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 a = /* @__PURE__ */ m(o, [["__scopeId", "data-v-8c9cb27c"]]);
6
6
  export {
7
7
  a as default