@effect-app/vue-components 4.0.0-beta.282 → 4.0.0-beta.284

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 (59) hide show
  1. package/dist/types/components/OmegaForm/OmegaInputVuetify.vue.d.ts +6 -0
  2. package/dist/types/components/OmegaForm/OmegaInternalInput.vue.d.ts +5 -9
  3. package/dist/types/components/OmegaForm/createUseFormWithCustomInput.d.ts +4 -2
  4. package/dist/types/components/OmegaForm/index.d.ts +1 -0
  5. package/dist/types/components/OmegaForm/types.d.ts +26 -3
  6. package/dist/types/components/OmegaForm/useOmegaForm.d.ts +4 -2
  7. package/dist/vue-components.es.js +9 -9
  8. package/dist/vue-components22.es.js +1 -0
  9. package/dist/vue-components30.es.js +23 -265
  10. package/dist/vue-components31.es.js +300 -0
  11. package/dist/vue-components33.es.js +7 -72
  12. package/dist/vue-components34.es.js +71 -3
  13. package/dist/vue-components35.es.js +4 -54
  14. package/dist/vue-components36.es.js +60 -4
  15. package/dist/vue-components37.es.js +4 -23
  16. package/dist/vue-components38.es.js +23 -4
  17. package/dist/vue-components39.es.js +3 -57
  18. package/dist/vue-components40.es.js +57 -3
  19. package/dist/vue-components41.es.js +4 -11
  20. package/dist/vue-components42.es.js +11 -21
  21. package/dist/vue-components43.es.js +22 -0
  22. package/dist/vue-components45.es.js +8 -3
  23. package/dist/vue-components46.es.js +3 -37
  24. package/dist/vue-components47.es.js +34 -23
  25. package/dist/vue-components48.es.js +23 -24
  26. package/dist/vue-components49.es.js +27 -6
  27. package/dist/vue-components50.es.js +6 -17
  28. package/dist/vue-components51.es.js +16 -34
  29. package/dist/vue-components52.es.js +34 -16
  30. package/dist/vue-components53.es.js +16 -19
  31. package/dist/vue-components54.es.js +10 -19
  32. package/dist/vue-components55.es.js +29 -6
  33. package/dist/vue-components56.es.js +6 -8
  34. package/dist/vue-components57.es.js +7 -36
  35. package/dist/vue-components58.es.js +37 -24
  36. package/dist/vue-components59.es.js +19 -122
  37. package/dist/vue-components60.es.js +126 -22
  38. package/dist/vue-components61.es.js +20 -17
  39. package/dist/vue-components62.es.js +18 -6
  40. package/dist/vue-components63.es.js +5 -15
  41. package/dist/vue-components64.es.js +18 -4
  42. package/dist/vue-components65.es.js +4 -28
  43. package/dist/vue-components66.es.js +28 -4
  44. package/dist/vue-components67.es.js +4 -42
  45. package/dist/vue-components68.es.js +38 -95
  46. package/dist/vue-components69.es.js +95 -27
  47. package/dist/vue-components70.es.js +35 -18
  48. package/dist/vue-components71.es.js +18 -47
  49. package/dist/vue-components72.es.js +48 -0
  50. package/package.json +3 -3
  51. package/src/components/OmegaForm/OmegaInput.vue +4 -1
  52. package/src/components/OmegaForm/OmegaInputVuetify.vue +49 -2
  53. package/src/components/OmegaForm/OmegaInternalInput.vue +16 -9
  54. package/src/components/OmegaForm/createUseFormWithCustomInput.ts +15 -14
  55. package/src/components/OmegaForm/index.ts +1 -0
  56. package/src/components/OmegaForm/types.ts +63 -21
  57. package/src/components/OmegaForm/useOmegaForm.ts +7 -6
  58. package/dist/vue-components32.es.js +0 -8
  59. package/dist/vue-components44.es.js +0 -9
@@ -1,8 +1,9 @@
1
1
  <template>
2
2
  <slot v-bind="{ ...inputProps.inputProps, field: inputProps.field, state: inputProps.state }">
3
3
  <div :class="rootClass">
4
- <OmegaInputVuetify
5
- v-if="vuetified"
4
+ <component
5
+ :is="renderComponent"
6
+ v-if="renderComponent"
6
7
  v-bind="{ ...attrsWithoutClass, ...inputProps, class: props.inputClass }"
7
8
  >
8
9
  <template
@@ -14,7 +15,7 @@
14
15
  v-bind="labelProps"
15
16
  />
16
17
  </template>
17
- </OmegaInputVuetify>
18
+ </component>
18
19
  </div>
19
20
  </slot>
20
21
  </template>
@@ -26,11 +27,11 @@
26
27
  >
27
28
  /* eslint-disable @typescript-eslint/no-explicit-any -- TanStack Form / Vue attrs interop */
28
29
  import { type DeepKeys, useStore } from "@tanstack/vue-form"
29
- import { computed, type ComputedRef, getCurrentInstance, useAttrs, useId, useSlots } from "vue"
30
+ import { type Component, computed, type ComputedRef, getCurrentInstance, useAttrs, useId, useSlots } from "vue"
30
31
  import type { InputProps, OmegaFieldInternalApi } from "./InputProps"
31
32
  import type { MetaRecord, NestedKeyOf } from "./meta/types"
32
33
  import OmegaInputVuetify from "./OmegaInputVuetify.vue"
33
- import type { FieldValidators, TypeOverride } from "./types"
34
+ import type { TypeOverride } from "./types"
34
35
 
35
36
  defineOptions({
36
37
  inheritAttrs: false
@@ -43,7 +44,6 @@ const props = withDefaults(
43
44
  meta: MetaRecord<From>[NestedKeyOf<From>]
44
45
  label: string
45
46
  type?: TypeOverride
46
- validators?: FieldValidators<From>
47
47
  required?: boolean
48
48
  inputClass?: string | null
49
49
 
@@ -56,14 +56,16 @@ const props = withDefaults(
56
56
  ) => void
57
57
 
58
58
  // TODO: these should really be optional, depending on the input type (and the custom input type for custom inputs :s)
59
- options?: { title: string; value: string }[]
59
+ options?: { title: string; value: unknown }[]
60
+
61
+ inputs?: Record<string, Component>
60
62
  }>(),
61
63
  {
62
64
  required: undefined,
63
65
  type: undefined,
64
66
  options: undefined,
65
- validators: undefined,
66
- inputClass: undefined
67
+ inputClass: undefined,
68
+ inputs: undefined
67
69
  }
68
70
  )
69
71
 
@@ -101,6 +103,11 @@ const fieldType = computed(() => {
101
103
  return props.meta?.type || "unknown"
102
104
  })
103
105
 
106
+ const renderComponent = computed(() =>
107
+ props.inputs?.[fieldType.value]
108
+ ?? (vuetified ? OmegaInputVuetify : undefined)
109
+ )
110
+
104
111
  props.register(computed(() => ({ name: props.field.name, label: props.label, id })))
105
112
 
106
113
  // Get errors from form-level fieldMeta instead of field-level state
@@ -3,20 +3,19 @@ import type { DeepKeys } from "@tanstack/vue-form"
3
3
  import { type Component, h } from "vue"
4
4
  import type { MergedInputProps } from "./InputProps"
5
5
  import OmegaInput from "./OmegaInput.vue"
6
- import { type DefaultTypeProps } from "./types"
6
+ import type { OmegaConfig } from "./types"
7
7
  import { useOmegaForm } from "./useOmegaForm"
8
8
 
9
- export const createUseFormWithCustomInput = <
10
- TypeProps = DefaultTypeProps
11
- >(CustomInputComponent: Component) => {
9
+ export const createUseFormWithCustomInput = (CustomInputComponent: Component) => {
12
10
  return <
13
11
  From extends Record<PropertyKey, any>,
14
- To extends Record<PropertyKey, any>
12
+ To extends Record<PropertyKey, any>,
13
+ const Cfg extends OmegaConfig<To> = OmegaConfig<To>
15
14
  >(
16
- ...args: Parameters<typeof useOmegaForm<From, To>>
15
+ schema: Parameters<typeof useOmegaForm<From, To>>[0],
16
+ tanstackFormOptions?: Parameters<typeof useOmegaForm<From, To>>[1],
17
+ omegaConfig?: Cfg
17
18
  ) => {
18
- const [schema, tanstackFormOptions, omegaConfig] = args
19
-
20
19
  // Create a wrapper that extends OmegaInput and overrides its default slot
21
20
  const WrappedInput = {
22
21
  name: "WrappedInput",
@@ -36,7 +35,10 @@ export const createUseFormWithCustomInput = <
36
35
  && key !== "form"
37
36
  )
38
37
  )
39
- return h(CustomInputComponent, { ...filteredAttrs, field, state, inputProps }, {
38
+ // A per-type registration (omegaConfig.inputs) wins over the
39
+ // universal CustomInputComponent; otherwise fall back to it.
40
+ const LeafComponent = omegaConfig?.inputs?.[inputProps.type] ?? CustomInputComponent
41
+ return h(LeafComponent, { ...filteredAttrs, field, state, inputProps }, {
40
42
  // Pass through label slot if it exists
41
43
  ...(slots.label && {
42
44
  label: (labelProps: any) => slots.label(labelProps)
@@ -55,13 +57,12 @@ export const createUseFormWithCustomInput = <
55
57
  }
56
58
  }
57
59
 
58
- const form = useOmegaForm<From, To, TypeProps>(
60
+ // Thread `Cfg` so `omegaConfig.inputs` keys are inferred into the `type`
61
+ // union (`<form.Input type="...">`), exactly like a bare `useOmegaForm`.
62
+ const form = useOmegaForm<From, To, Cfg>(
59
63
  schema,
60
64
  tanstackFormOptions,
61
- {
62
- ...omegaConfig,
63
- input: WrappedInput
64
- }
65
+ { ...omegaConfig, input: WrappedInput } as Cfg
65
66
  )
66
67
 
67
68
  return form
@@ -14,6 +14,7 @@ export { FormErrors, OmegaFormKey, useErrorLabel, useOmegaForm } from "./useOmeg
14
14
  export type { defaultValuesPriorityUnion, OF, OmegaConfig, OmegaFormReturn, Policies } from "./useOmegaForm"
15
15
 
16
16
  export { type ExtractTagValue, type ExtractUnionBranch, type InputProps, type MergedInputProps, type TaggedUnionOption, type TaggedUnionOptionsArray, type TaggedUnionProps } from "./InputProps"
17
+ export type { VuetifyInputProps, VuetifyInputProps as OmegaRendererProps } from "./InputProps"
17
18
  export { default as OmegaInput } from "./OmegaInput.vue"
18
19
  export { default as OmegaVuetifyInput } from "./OmegaInternalInput.vue"
19
20
  export { default as OmegaTaggedUnion } from "./OmegaTaggedUnion.vue"
@@ -6,7 +6,7 @@ import type { UnionToTuples } from "effect-app/utils"
6
6
  import type { Fiber as EffectFiber } from "effect/Fiber"
7
7
  import type * as Order from "effect/Order"
8
8
  import type { Redacted } from "effect/Redacted"
9
- import type { AllowedComponentProps, ComponentCustomProps, ComputedRef, PublicProps, ShallowUnwrapRef, VNode, VNodeProps } from "vue"
9
+ import type { AllowedComponentProps, Component, ComponentCustomProps, ComputedRef, PublicProps, ShallowUnwrapRef, VNode, VNodeProps } from "vue"
10
10
  import type { MergedInputProps, OmegaFieldInternalApi, TaggedUnionOptionsArray } from "./InputProps"
11
11
  import type { MetaRecord, NestedKeyOf } from "./meta/types"
12
12
  import type { defaultValuesPriorityUnion as PersistencyPriority, Policies as PersistencyPolicies } from "./persistency"
@@ -36,6 +36,11 @@ export type BaseProps<From, TName extends FieldPath<From>> = {
36
36
  */
37
37
  label?: string
38
38
  validators?: FieldValidators<From>
39
+ /**
40
+ * Overrides the schema-derived `meta.required`.
41
+ * When omitted, requiredness is inferred from the schema.
42
+ */
43
+ required?: boolean
39
44
  // Use FlexibleArrayPath: if name contains [], just use TName; otherwise intersect with Leaves<From>
40
45
  name: TName
41
46
  /**
@@ -61,16 +66,33 @@ export type DefaultTypeProps = {
61
66
  }[]
62
67
  }
63
68
 
69
+ /** Registered `omegaConfig.inputs` keys as valid `type` values; `never` when nothing is registered. */
70
+ export type CustomTypeProps<TInputs> =
71
+ // `string extends keyof` collapses the wide `Record<string, Component>` fallback
72
+ // (no `inputs` registered) so `type` can't widen to any string.
73
+ string extends keyof TInputs ? never
74
+ : keyof TInputs extends never ? never
75
+ : {
76
+ type: keyof TInputs & string
77
+ options?: { title: string; value: unknown }[]
78
+ }
79
+
80
+ /** `form.Input` `type`/`options`: built-ins plus types registered via `omegaConfig.inputs`. */
81
+ export type TypePropsFor<TInputs> = DefaultTypeProps | CustomTypeProps<TInputs>
82
+
64
83
  export type OmegaInputPropsBase<
65
84
  From extends Record<PropertyKey, any>,
66
85
  To extends Record<PropertyKey, any>,
67
86
  Name extends DeepKeys<From>
68
- > = {
69
- form: OF<From, To> & {
70
- meta: MetaRecord<From>
71
- i18nNamespace?: string
87
+ > =
88
+ & {
89
+ form: OF<From, To> & {
90
+ meta: MetaRecord<From>
91
+ i18nNamespace?: string
92
+ }
72
93
  }
73
- } & BaseProps<From, Name>
94
+ & BaseProps<From, Name>
95
+ & DefaultTypeProps
74
96
 
75
97
  export type OmegaInputProps<
76
98
  From extends Record<PropertyKey, any>,
@@ -100,21 +122,33 @@ export type OmegaArrayProps<
100
122
  items?: "please use `defaultItems` instead"
101
123
  }
102
124
 
103
- export type TypeOverride =
104
- | "string"
105
- | "text"
106
- | "number"
107
- | "select"
108
- | "multiple"
109
- | "boolean"
110
- | "radio"
111
- | "autocomplete"
112
- | "autocompletemultiple"
113
- | "switch"
114
- | "range"
115
- | "password"
116
- | "email"
117
- | "date"
125
+ // Single source of truth for the built-in input types: the runtime array drives
126
+ // both the `TypeOverride` union and the renderer's "is this type handled?" check,
127
+ // so the two cannot drift apart.
128
+ export const typeOverrides = [
129
+ "string",
130
+ "text",
131
+ "number",
132
+ "select",
133
+ "multiple",
134
+ "boolean",
135
+ "radio",
136
+ "autocomplete",
137
+ "autocompletemultiple",
138
+ "switch",
139
+ "range",
140
+ "password",
141
+ "email",
142
+ "date",
143
+ // native HTML input types that `getInputType` already maps 1:1
144
+ "tel",
145
+ "url",
146
+ "color",
147
+ "time",
148
+ "search"
149
+ ] as const
150
+
151
+ export type TypeOverride = typeof typeOverrides[number]
118
152
 
119
153
  export interface OmegaError {
120
154
  label: string
@@ -280,6 +314,13 @@ export type OmegaConfig<T> = {
280
314
 
281
315
  input?: any
282
316
 
317
+ /**
318
+ * Register a custom input component per `type` (new types or overrides). Each
319
+ * key becomes a valid `<form.Input type="...">` value; components receive the
320
+ * `OmegaRendererProps` contract (`{ inputProps, field, state }`).
321
+ */
322
+ inputs?: Record<string, Component>
323
+
283
324
  /**
284
325
  * Default values order is: Tanstack default values passed as second parameter to useOmegaForm, then persistency
285
326
  * default values from querystring or local/session storage, then defaults from schema
@@ -294,6 +335,7 @@ export type OmegaConfig<T> = {
294
335
  export interface OF<From, To> extends OmegaFormApi<From, To> {
295
336
  meta: MetaRecord<From>
296
337
  unionMeta: Record<string, MetaRecord<From>>
338
+ inputs?: Record<string, Component>
297
339
  clear: () => void
298
340
  /**
299
341
  * Backfills the untouched children of any materialised nullable struct with
@@ -18,7 +18,7 @@ import OmegaTaggedUnion from "./OmegaTaggedUnion.vue"
18
18
  import OmegaForm from "./OmegaWrapper.vue"
19
19
  import { usePersistency } from "./persistency"
20
20
  import { makeSubmitHandlers, wrapOnSubmit } from "./submit"
21
- import type { DefaultTypeProps, FormProps, OF, OmegaConfig, OmegaFormApi, OmegaFormReturn } from "./types"
21
+ import type { FormProps, OF, OmegaConfig, OmegaFormApi, OmegaFormReturn, TypePropsFor } from "./types"
22
22
  import { annotateLiteralUnionMessages, toLocalizedStandardSchemaV1 } from "./validation/localized"
23
23
 
24
24
  import { makeRunPromise } from "@effect-app/vue/runtime"
@@ -37,12 +37,12 @@ export const useOmegaForm = <
37
37
  From extends Record<PropertyKey, any>,
38
38
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
39
39
  To extends Record<PropertyKey, any>,
40
- TypeProps = DefaultTypeProps
40
+ const Cfg extends OmegaConfig<To> = OmegaConfig<To>
41
41
  >(
42
42
  schema: S.Codec<To, From>,
43
43
  tanstackFormOptions?: NoInfer<FormProps<From, To>>,
44
- omegaConfig?: OmegaConfig<To>
45
- ): OmegaFormReturn<From, To, TypeProps> => {
44
+ omegaConfig?: Cfg
45
+ ): OmegaFormReturn<From, To, TypePropsFor<Cfg extends { inputs?: infer I } ? I : {}>> => {
46
46
  if (!schema) throw new Error("Schema is required")
47
47
  const { trans } = useIntl()
48
48
  const formCompatibleSchema = toFormSchema(schema)
@@ -61,7 +61,7 @@ export const useOmegaForm = <
61
61
  const normalizeFormValue = (value: unknown) => fillNestedDefaults(formAst, value)
62
62
 
63
63
  const baseStandardSchema = toLocalizedStandardSchemaV1(
64
- localizedSchema as any,
64
+ localizedSchema,
65
65
  trans
66
66
  )
67
67
  const standardSchema: typeof baseStandardSchema = {
@@ -110,7 +110,7 @@ export const useOmegaForm = <
110
110
  validationLogic: revalidateLogic(),
111
111
  validators: {
112
112
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
113
- onDynamic: standardSchema as any,
113
+ onDynamic: standardSchema,
114
114
  ...tanstackFormOptions?.validators
115
115
  },
116
116
  onSubmit: wrapOnSubmit<From, To>(tanstackFormOptions?.onSubmit, decode, runPromise),
@@ -170,6 +170,7 @@ export const useOmegaForm = <
170
170
  const formWithExtras: OF<From, To> = Object.assign(form, {
171
171
  i18nNamespace: omegaConfig?.i18nNamespace,
172
172
  ignorePreventCloseEvents: omegaConfig?.ignorePreventCloseEvents,
173
+ inputs: omegaConfig?.inputs,
173
174
  meta,
174
175
  unionMeta,
175
176
  clear,
@@ -1,8 +0,0 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);if(e.appendChild(document.createTextNode(`.omega-input .v-input__details:has(.v-messages:empty){grid-template-rows:0fr;transition:all .2s}.omega-input .v-messages:empty{min-height:0}.omega-input .v-input__details:has(.v-messages){grid-template-rows:1fr;min-height:0;transition:all .2s;display:grid;overflow:hidden}.omega-input .v-messages{transition:all .2s}.omega-input .v-messages>*{transition-duration:0s!important}.omega-input [role=alert]:has(.v-messages:empty){padding:0}.omega-input .v-btn{cursor:pointer;appearance:none;width:auto;box-shadow:none;min-width:auto;height:auto;padding:.5em .5em .5em 1em;display:block}`)),document.head.appendChild(e),window.customElements){let e=window.customElements.define;window.customElements.define=function(t,n){let r=n.prototype.connectedCallback;return n.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){let e=document.createElement(`style`);e.appendChild(document.createTextNode(`.omega-input .v-input__details:has(.v-messages:empty){grid-template-rows:0fr;transition:all .2s}.omega-input .v-messages:empty{min-height:0}.omega-input .v-input__details:has(.v-messages){grid-template-rows:1fr;min-height:0;transition:all .2s;display:grid;overflow:hidden}.omega-input .v-messages{transition:all .2s}.omega-input .v-messages>*{transition-duration:0s!important}.omega-input [role=alert]:has(.v-messages:empty){padding:0}.omega-input .v-btn{cursor:pointer;appearance:none;width:auto;box-shadow:none;min-width:auto;height:auto;padding:.5em .5em .5em 1em;display:block}`)),this.shadowRoot.appendChild(e)}},e.call(window.customElements,t,n)}}}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);if(e.appendChild(document.createTextNode(`.omega-input .v-input__details:has(.v-messages:empty){grid-template-rows:0fr;transition:all .2s}.omega-input .v-messages:empty{min-height:0}.omega-input .v-input__details:has(.v-messages){grid-template-rows:1fr;min-height:0;transition:all .2s;display:grid;overflow:hidden}.omega-input .v-messages{transition:all .2s}.omega-input .v-messages>*{transition-duration:0s!important}.omega-input [role=alert]:has(.v-messages:empty){padding:0}.omega-input .v-btn{cursor:pointer;appearance:none;width:auto;box-shadow:none;min-width:auto;height:auto;padding:.5em .5em .5em 1em;display:block}`)),document.head.appendChild(e),window.customElements){let e=window.customElements.define;window.customElements.define=function(t,n){let r=n.prototype.connectedCallback;return n.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){let e=document.createElement(`style`);e.appendChild(document.createTextNode(`.omega-input .v-input__details:has(.v-messages:empty){grid-template-rows:0fr;transition:all .2s}.omega-input .v-messages:empty{min-height:0}.omega-input .v-input__details:has(.v-messages){grid-template-rows:1fr;min-height:0;transition:all .2s;display:grid;overflow:hidden}.omega-input .v-messages{transition:all .2s}.omega-input .v-messages>*{transition-duration:0s!important}.omega-input [role=alert]:has(.v-messages:empty){padding:0}.omega-input .v-btn{cursor:pointer;appearance:none;width:auto;box-shadow:none;min-width:auto;height:auto;padding:.5em .5em .5em 1em;display:block}`)),this.shadowRoot.appendChild(e)}},e.call(window.customElements,t,n)}}}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
3
- import e from "./vue-components30.es.js";
4
-
5
- //#region src/components/OmegaForm/OmegaInputVuetify.vue
6
- var t = e;
7
- //#endregion
8
- export { t as default };
@@ -1,9 +0,0 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);if(e.appendChild(document.createTextNode(`fieldset[data-v-13a7a1b6]{display:contents}fieldset[disabled][data-v-13a7a1b6]>*{pointer-events:none}`)),document.head.appendChild(e),window.customElements){let e=window.customElements.define;window.customElements.define=function(t,n){let r=n.prototype.connectedCallback;return n.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){let e=document.createElement(`style`);e.appendChild(document.createTextNode(`fieldset[data-v-13a7a1b6]{display:contents}fieldset[disabled][data-v-13a7a1b6]>*{pointer-events:none}`)),this.shadowRoot.appendChild(e)}},e.call(window.customElements,t,n)}}}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
2
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);if(e.appendChild(document.createTextNode(`fieldset[data-v-13a7a1b6]{display:contents}fieldset[disabled][data-v-13a7a1b6]>*{pointer-events:none}`)),document.head.appendChild(e),window.customElements){let e=window.customElements.define;window.customElements.define=function(t,n){let r=n.prototype.connectedCallback;return n.prototype.connectedCallback=function(){if(r&&r.call(this),this.shadowRoot){let e=document.createElement(`style`);e.appendChild(document.createTextNode(`fieldset[data-v-13a7a1b6]{display:contents}fieldset[disabled][data-v-13a7a1b6]>*{pointer-events:none}`)),this.shadowRoot.appendChild(e)}},e.call(window.customElements,t,n)}}}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
3
- import e from "./vue-components28.es.js";
4
- import t from "./vue-components42.es.js";
5
-
6
- //#region src/components/OmegaForm/OmegaWrapper.vue
7
- var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-13a7a1b6"]]);
8
- //#endregion
9
- export { n as default };