@effect-app/vue-components 1.1.1 → 1.3.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 (67) hide show
  1. package/dist/types/components/OmegaForm/OmegaArray.vue.d.ts +6 -4
  2. package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +5 -4
  3. package/dist/types/components/OmegaForm/OmegaErrorsContext.d.ts +3 -3
  4. package/dist/types/components/OmegaForm/OmegaErrorsInternal.vue.d.ts +3 -2
  5. package/dist/types/components/OmegaForm/OmegaFormInput.vue.d.ts +5 -4
  6. package/dist/types/components/OmegaForm/OmegaInput.vue.d.ts +5 -3
  7. package/dist/types/components/OmegaForm/OmegaInputVuetify.vue.d.ts +8 -7
  8. package/dist/types/components/OmegaForm/OmegaInternalInput.vue.d.ts +5 -4
  9. package/dist/types/components/OmegaForm/OmegaWrapper.vue.d.ts +5 -4
  10. package/dist/types/components/OmegaForm/createUseFormWithCustomInput.d.ts +3 -0
  11. package/dist/types/components/OmegaForm/index.d.ts +2 -2
  12. package/dist/vue-components.es.js +13 -11
  13. package/dist/vue-components.es10.js +1 -1
  14. package/dist/vue-components.es11.js +1 -1
  15. package/dist/vue-components.es12.js +15 -15
  16. package/dist/vue-components.es13.js +36 -39
  17. package/dist/vue-components.es14.js +2 -2
  18. package/dist/vue-components.es15.js +5 -5
  19. package/dist/vue-components.es16.js +1 -1
  20. package/dist/vue-components.es17.js +1 -1
  21. package/dist/vue-components.es19.js +2 -135
  22. package/dist/vue-components.es2.js +14 -12
  23. package/dist/vue-components.es20.js +137 -0
  24. package/dist/vue-components.es22.js +42 -2
  25. package/dist/vue-components.es23.js +1 -1
  26. package/dist/vue-components.es24.js +2 -90
  27. package/dist/vue-components.es25.js +92 -0
  28. package/dist/vue-components.es27.js +7 -31
  29. package/dist/vue-components.es28.js +33 -0
  30. package/dist/vue-components.es30.js +4 -23
  31. package/dist/vue-components.es31.js +23 -5
  32. package/dist/vue-components.es32.js +5 -21
  33. package/dist/vue-components.es33.js +16 -25
  34. package/dist/vue-components.es34.js +23 -15
  35. package/dist/vue-components.es35.js +17 -7
  36. package/dist/vue-components.es36.js +12 -5
  37. package/dist/vue-components.es37.js +5 -19
  38. package/dist/vue-components.es38.js +19 -9
  39. package/dist/vue-components.es39.js +9 -31
  40. package/dist/vue-components.es4.js +42 -80
  41. package/dist/vue-components.es40.js +25 -42
  42. package/dist/vue-components.es41.js +38 -16
  43. package/dist/vue-components.es42.js +26 -11
  44. package/dist/vue-components.es43.js +11 -65
  45. package/dist/vue-components.es44.js +54 -45
  46. package/dist/vue-components.es45.js +54 -15
  47. package/dist/vue-components.es46.js +15 -31
  48. package/dist/vue-components.es47.js +30 -26
  49. package/dist/vue-components.es48.js +29 -42
  50. package/dist/vue-components.es49.js +42 -2
  51. package/dist/vue-components.es5.js +82 -42
  52. package/dist/vue-components.es50.js +2 -44
  53. package/dist/vue-components.es51.js +44 -2
  54. package/dist/vue-components.es52.js +4 -0
  55. package/dist/vue-components.es6.js +6 -6
  56. package/dist/vue-components.es7.js +3 -5
  57. package/dist/vue-components.es8.js +3 -3
  58. package/dist/vue-components.es9.js +30 -2
  59. package/package.json +15 -15
  60. package/src/components/OmegaForm/OmegaErrorsContext.ts +3 -3
  61. package/src/components/OmegaForm/OmegaInternalInput.vue +6 -3
  62. package/src/components/OmegaForm/createUseFormWithCustomInput.ts +53 -0
  63. package/src/components/OmegaForm/index.ts +2 -3
  64. package/src/components/OmegaForm/useOmegaForm.ts +2 -4
  65. package/dist/vue-components.es21.js +0 -44
  66. package/dist/vue-components.es26.js +0 -9
  67. package/dist/vue-components.es29.js +0 -6
@@ -1,46 +1,4 @@
1
- import { VERSION as d } from "./vue-components.es49.js";
2
- var h = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
3
- function s(c) {
4
- var m = /* @__PURE__ */ new Set([c]), f = /* @__PURE__ */ new Set(), t = c.match(h);
5
- if (!t)
6
- return function() {
7
- return !1;
8
- };
9
- var e = {
10
- major: +t[1],
11
- minor: +t[2],
12
- patch: +t[3],
13
- prerelease: t[4]
14
- };
15
- if (e.prerelease != null)
16
- return function(r) {
17
- return r === c;
18
- };
19
- function a(n) {
20
- return f.add(n), !1;
21
- }
22
- function p(n) {
23
- return m.add(n), !0;
24
- }
25
- return function(r) {
26
- if (m.has(r))
27
- return !0;
28
- if (f.has(r))
29
- return !1;
30
- var i = r.match(h);
31
- if (!i)
32
- return a(r);
33
- var u = {
34
- major: +i[1],
35
- minor: +i[2],
36
- patch: +i[3],
37
- prerelease: i[4]
38
- };
39
- return u.prerelease != null || e.major !== u.major ? a(r) : e.major === 0 ? e.minor === u.minor && e.patch <= u.patch ? p(r) : a(r) : e.minor <= u.minor ? p(r) : a(r);
40
- };
41
- }
42
- var v = s(d);
1
+ var r = "1.9.0";
43
2
  export {
44
- s as _makeCompatibilityCheck,
45
- v as isCompatible
3
+ r as VERSION
46
4
  };
@@ -1,4 +1,46 @@
1
- var o = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
1
+ import { VERSION as d } from "./vue-components.es50.js";
2
+ var h = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
3
+ function s(c) {
4
+ var m = /* @__PURE__ */ new Set([c]), f = /* @__PURE__ */ new Set(), t = c.match(h);
5
+ if (!t)
6
+ return function() {
7
+ return !1;
8
+ };
9
+ var e = {
10
+ major: +t[1],
11
+ minor: +t[2],
12
+ patch: +t[3],
13
+ prerelease: t[4]
14
+ };
15
+ if (e.prerelease != null)
16
+ return function(r) {
17
+ return r === c;
18
+ };
19
+ function a(n) {
20
+ return f.add(n), !1;
21
+ }
22
+ function p(n) {
23
+ return m.add(n), !0;
24
+ }
25
+ return function(r) {
26
+ if (m.has(r))
27
+ return !0;
28
+ if (f.has(r))
29
+ return !1;
30
+ var i = r.match(h);
31
+ if (!i)
32
+ return a(r);
33
+ var u = {
34
+ major: +i[1],
35
+ minor: +i[2],
36
+ patch: +i[3],
37
+ prerelease: i[4]
38
+ };
39
+ return u.prerelease != null || e.major !== u.major ? a(r) : e.major === 0 ? e.minor === u.minor && e.patch <= u.patch ? p(r) : a(r) : e.minor <= u.minor ? p(r) : a(r);
40
+ };
41
+ }
42
+ var v = s(d);
2
43
  export {
3
- o as _globalThis
44
+ s as _makeCompatibilityCheck,
45
+ v as isCompatible
4
46
  };
@@ -0,0 +1,4 @@
1
+ var o = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
2
+ export {
3
+ o as _globalThis
4
+ };
@@ -1,5 +1,5 @@
1
- import { ref as a, computed as l, readonly as d, inject as E } from "vue";
2
- const f = Symbol();
1
+ import { ref as a, computed as l, readonly as E, inject as p } from "vue";
2
+ const d = Symbol();
3
3
  function b(o, u, t = "onSubmit") {
4
4
  const r = a([]), n = (e) => {
5
5
  r.value = r.value.filter((m) => m.inputId !== e);
@@ -9,8 +9,8 @@ function b(o, u, t = "onSubmit") {
9
9
  r.value = [];
10
10
  }, i = l(() => t === "onSubmit" ? o.value > 0 : !0);
11
11
  return {
12
- errors: d(r),
13
- addError: s,
12
+ errors: E(r),
13
+ mapError: s,
14
14
  removeError: n,
15
15
  clearErrors: c,
16
16
  showErrors: i,
@@ -19,13 +19,13 @@ function b(o, u, t = "onSubmit") {
19
19
  };
20
20
  }
21
21
  function g() {
22
- const o = E(f);
22
+ const o = p(d);
23
23
  if (!o)
24
24
  throw new Error("useOmegaErrors must be used within an OmegaForm provider");
25
25
  return o;
26
26
  }
27
27
  export {
28
- f as OmegaErrorsKey,
28
+ d as OmegaErrorsKey,
29
29
  b as buildOmegaErrors,
30
30
  g as useOmegaErrors
31
31
  };
@@ -8,7 +8,7 @@ import Y from "./vue-components.es13.js";
8
8
  import { buildOmegaErrors as Z } from "./vue-components.es6.js";
9
9
  import C from "./vue-components.es14.js";
10
10
  import { generateMetaFromSchema as ee } from "./vue-components.es8.js";
11
- import re from "./vue-components.es5.js";
11
+ import re from "./vue-components.es4.js";
12
12
  import te from "./vue-components.es15.js";
13
13
  import { trace as M } from "./vue-components.es16.js";
14
14
  import { context as E } from "./vue-components.es17.js";
@@ -19,8 +19,7 @@ const p = (l) => function(o) {
19
19
  render() {
20
20
  return P(o, {
21
21
  form: l,
22
- on: this.$listeners,
23
- attrs: this.$attrs
22
+ ...this.$attrs
24
23
  }, this.$slots);
25
24
  }
26
25
  };
@@ -36,8 +35,7 @@ const p = (l) => function(o) {
36
35
  errors: h,
37
36
  generalErrors: S,
38
37
  showErrors: w,
39
- on: this.$listeners,
40
- attrs: this.$attrs
38
+ ...this.$attrs
41
39
  }, this.$slots);
42
40
  }
43
41
  };
@@ -1,5 +1,5 @@
1
1
  import { S as n, Option as c, pipe as L } from "effect-app";
2
- import { getTransformationFrom as U, useIntl as _ } from "./vue-components.es3.js";
2
+ import { useIntl as U, getTransformationFrom as _ } from "./vue-components.es3.js";
3
3
  const N = n.NonEmptyArray(n.String), E = (e) => n.AST.isUnion(e) && e.types.find((i) => i._tag === "UndefinedKeyword" || i === n.Null.ast), g = (e) => !e || !n.AST.isUnion(e) ? !1 : e.types.find((i) => i._tag === "UndefinedKeyword") ? "undefined" : e.types.find((i) => i === n.Null.ast) ? "null" : !1, m = ({ meta: e = {}, parent: i = "", property: t, propertySignatures: p }, o = {}) => {
4
4
  if (t && t._tag === "Transformation")
5
5
  return m({
@@ -18,7 +18,7 @@ const N = n.NonEmptyArray(n.String), E = (e) => n.AST.isUnion(e) && e.types.find
18
18
  if (n.AST.isUnion(r.type)) {
19
19
  const T = r.type.types.filter(
20
20
  (s) => s._tag !== "UndefinedKeyword" && s !== n.Null.ast
21
- ).map(U);
21
+ ).map(_);
22
22
  if (T.some(
23
23
  (s) => "propertySignatures" in s
24
24
  )) {
@@ -238,7 +238,7 @@ const N = n.NonEmptyArray(n.String), E = (e) => n.AST.isUnion(e) && e.types.find
238
238
  );
239
239
  return { schema: e, meta: i, filterItems: t };
240
240
  }, P = (e) => {
241
- const { trans: i } = _();
241
+ const { trans: i } = U();
242
242
  let t;
243
243
  switch (e.type) {
244
244
  case "string":
@@ -1,4 +1,32 @@
1
- import f from "./vue-components.es5.js";
1
+ import { h as e } from "vue";
2
+ import s from "./vue-components.es4.js";
3
+ import { useOmegaForm as p } from "./vue-components.es7.js";
4
+ const W = (r) => (...a) => {
5
+ const [m, n, o] = a;
6
+ return p(
7
+ m,
8
+ n,
9
+ {
10
+ ...o,
11
+ input: {
12
+ name: "WrappedInput",
13
+ inheritAttrs: !1,
14
+ setup(f, { attrs: u, slots: i }) {
15
+ return () => e(s, {
16
+ ...f,
17
+ ...u
18
+ }, {
19
+ // Override the default slot that OmegaInternalInput provides
20
+ default: (t) => t && "field" in t ? e(r, {
21
+ inputProps: t,
22
+ vuetifyValue: t.field.state.value
23
+ }) : i.default?.(t)
24
+ });
25
+ }
26
+ }
27
+ }
28
+ );
29
+ };
2
30
  export {
3
- f as default
31
+ W as createUseFormWithCustomInput
4
32
  };
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
1
  {
2
2
  "name": "@effect-app/vue-components",
3
- "version": "1.1.1",
3
+ "version": "1.3.0",
4
4
  "peerDependencies": {
5
5
  "@mdi/js": "^7.4.47",
6
- "effect": "^3.17.13",
6
+ "effect": "^3.18.0",
7
7
  "intl-messageformat": "^10.7.16",
8
8
  "mdi-js": "^1.0.1",
9
9
  "primeflex": "^4.0.0",
10
10
  "primeicons": "^7.0.0",
11
11
  "primevue": "^4.3.9",
12
- "vue": "^3.5.21",
13
- "vuetify": "^3.10.1"
12
+ "vue": "^3.5.22",
13
+ "vuetify": "^3.10.3"
14
14
  },
15
15
  "devDependencies": {
16
- "@storybook/vue3": "^9.1.6",
17
- "@storybook/vue3-vite": "^9.1.6",
18
- "@types/node": "^24.5.1",
16
+ "@storybook/vue3": "^9.1.9",
17
+ "@storybook/vue3-vite": "^9.1.9",
18
+ "@types/node": "^24.6.0",
19
19
  "@vitejs/plugin-vue": "^6.0.1",
20
20
  "@vue/test-utils": "^2.4.6",
21
21
  "dprint": "^0.50.2",
22
22
  "jsdom": "^27.0.0",
23
23
  "rimraf": "^6.0.1",
24
- "sass": "^1.92.1",
25
- "storybook": "^9.1.6",
24
+ "sass": "^1.93.2",
25
+ "storybook": "^9.1.9",
26
26
  "typescript": "~5.9.2",
27
- "vite": "^7.1.5",
27
+ "vite": "^7.1.7",
28
28
  "vite-plugin-css-injected-by-js": "^3.5.2",
29
29
  "vitepress": "^1.6.4",
30
30
  "vitest": "^3.2.4",
31
- "vue-router": "^4.2.2",
32
- "vue-tsc": "^3.0.7",
33
- "@effect-app/eslint-shared-config": "0.2.1"
31
+ "vue-router": "^4.5.1",
32
+ "vue-tsc": "^3.1.0",
33
+ "@effect-app/eslint-shared-config": "0.3.0"
34
34
  },
35
35
  "files": [
36
36
  "src",
@@ -49,8 +49,8 @@
49
49
  "@tanstack/vue-form": "^1.23.4",
50
50
  "highlight.js": "^11.11.1",
51
51
  "vue3-highlightjs": "^1.0.5",
52
- "@effect-app/vue": "2.81.0",
53
- "effect-app": "3.8.1"
52
+ "effect-app": "3.9.0",
53
+ "@effect-app/vue": "2.82.0"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "pnpm build:run",
@@ -4,7 +4,7 @@ import { type OmegaError, type ShowErrorsOn } from "./OmegaFormStuff"
4
4
 
5
5
  export const OmegaErrorsKey = Symbol() as InjectionKey<{
6
6
  errors: Ref<readonly OmegaError[]>
7
- addError: (error: OmegaError) => void
7
+ mapError: (error: OmegaError) => void
8
8
  removeError: (inputId: string) => void
9
9
  clearErrors: () => void
10
10
  showErrors: Ref<boolean>
@@ -31,7 +31,7 @@ export function buildOmegaErrors(
31
31
  errors.value = errors.value.filter((error) => error.inputId !== inputId)
32
32
  }
33
33
 
34
- const addError = (error: OmegaError) => {
34
+ const mapError = (error: OmegaError) => {
35
35
  removeError(error.inputId)
36
36
  errors.value.push(error)
37
37
  }
@@ -47,7 +47,7 @@ export function buildOmegaErrors(
47
47
 
48
48
  const context = {
49
49
  errors: readonly(errors),
50
- addError,
50
+ mapError,
51
51
  removeError,
52
52
  clearErrors,
53
53
  showErrors,
@@ -92,7 +92,7 @@ onMounted(() => {
92
92
  fieldApi.setValue(null as any)
93
93
  }
94
94
  })
95
- const { addError, removeError, showErrors, showErrorsOn } = (props.field.form as any).errorContext // todo; update types to include extended Omega Form props
95
+ const { mapError, removeError, showErrors, showErrorsOn } = (props.field.form as any).errorContext // todo; update types to include extended Omega Form props
96
96
 
97
97
  const realDirty = ref(false)
98
98
 
@@ -122,7 +122,7 @@ watch(
122
122
  () => fieldState.value.meta.errors,
123
123
  () => {
124
124
  if (fieldState.value.meta.errors.length) {
125
- addError({
125
+ mapError({
126
126
  inputId: id,
127
127
  errors: fieldState
128
128
  .value
@@ -139,7 +139,10 @@ watch(
139
139
  }
140
140
  )
141
141
 
142
- onUnmounted(() => removeError(id))
142
+ onUnmounted(() => {
143
+ removeError(id)
144
+ props.field.form.deleteField(props.field.name)
145
+ })
143
146
 
144
147
  const inputProps: ComputedRef<InputProps<From, Name>> = computed(() => ({
145
148
  id,
@@ -0,0 +1,53 @@
1
+ import type { DeepKeys } from "@tanstack/vue-form"
2
+ import { type Component, h } from "vue"
3
+ import type { InputProps } from "./InputProps"
4
+ import OmegaInput from "./OmegaInput.vue"
5
+ import { useOmegaForm } from "./useOmegaForm"
6
+
7
+ export const createUseFormWithCustomInput = (CustomInputComponent: Component) => {
8
+ return <
9
+ From extends Record<PropertyKey, any>,
10
+ To extends Record<PropertyKey, any>
11
+ >(
12
+ ...args: Parameters<typeof useOmegaForm<From, To>>
13
+ ) => {
14
+ const [schema, tanstackFormOptions, omegaConfig] = args
15
+
16
+ // Create a wrapper that extends OmegaInput and overrides its default slot
17
+ const WrappedInput = {
18
+ name: "WrappedInput",
19
+ inheritAttrs: false,
20
+ setup(props: any, { attrs, slots }: any) {
21
+ return () =>
22
+ h(OmegaInput, {
23
+ ...props,
24
+ ...attrs
25
+ }, {
26
+ // Override the default slot that OmegaInternalInput provides
27
+ default: <TName extends DeepKeys<From>>(inputProps: InputProps<From, TName>) => {
28
+ // If we receive inputProps from OmegaInternalInput, use our custom component
29
+ if (inputProps && "field" in inputProps) {
30
+ return h(CustomInputComponent, {
31
+ inputProps,
32
+ vuetifyValue: inputProps.field.state.value
33
+ })
34
+ }
35
+ // Otherwise, pass through the slot content
36
+ return slots.default?.(inputProps)
37
+ }
38
+ })
39
+ }
40
+ }
41
+
42
+ const form = useOmegaForm<From, To>(
43
+ schema,
44
+ tanstackFormOptions,
45
+ {
46
+ ...omegaConfig,
47
+ input: WrappedInput
48
+ }
49
+ )
50
+
51
+ return form
52
+ }
53
+ }
@@ -1,11 +1,10 @@
1
- import { default as OmegaInput } from "./OmegaInput.vue"
2
-
3
1
  export * as OmegaErrorsContext from "./OmegaErrorsContext"
4
2
  export * from "./OmegaFormStuff"
5
3
  export { type OmegaFormReturn, useOmegaForm } from "./useOmegaForm"
6
4
 
5
+ export { default as OmegaInput } from "./OmegaInput.vue"
7
6
  export { default as OmegaVuetifyInput } from "./OmegaInternalInput.vue"
8
7
 
9
8
  export { getInputType } from "./OmegaFormStuff"
10
9
 
11
- export { OmegaInput }
10
+ export { createUseFormWithCustomInput } from "./createUseFormWithCustomInput"
@@ -57,8 +57,7 @@ const fHoc = (form: OF<any, any>) => {
57
57
  render() {
58
58
  return h(WrappedComponent, {
59
59
  form,
60
- on: this.$listeners,
61
- attrs: this.$attrs
60
+ ...this.$attrs
62
61
  } as any, this.$slots)
63
62
  }
64
63
  }
@@ -80,8 +79,7 @@ const eHoc = (errorProps: ReturnType<typeof buildOmegaErrors>) => {
80
79
  errors,
81
80
  generalErrors,
82
81
  showErrors,
83
- on: this.$listeners,
84
- attrs: this.$attrs
82
+ ...this.$attrs
85
83
  } as any, this.$slots)
86
84
  }
87
85
  }
@@ -1,44 +0,0 @@
1
- const f = (c) => typeof c == "function", a = function(c, r) {
2
- switch (c) {
3
- case 0:
4
- case 1:
5
- throw new RangeError(`Invalid arity ${c}`);
6
- case 2:
7
- return function(n, t) {
8
- return arguments.length >= 2 ? r(n, t) : function(e) {
9
- return r(e, n);
10
- };
11
- };
12
- case 3:
13
- return function(n, t, e) {
14
- return arguments.length >= 3 ? r(n, t, e) : function(u) {
15
- return r(u, n, t);
16
- };
17
- };
18
- case 4:
19
- return function(n, t, e, u) {
20
- return arguments.length >= 4 ? r(n, t, e, u) : function(i) {
21
- return r(i, n, t, e);
22
- };
23
- };
24
- case 5:
25
- return function(n, t, e, u, i) {
26
- return arguments.length >= 5 ? r(n, t, e, u, i) : function(s) {
27
- return r(s, n, t, e, u);
28
- };
29
- };
30
- default:
31
- return function() {
32
- if (arguments.length >= c)
33
- return r.apply(this, arguments);
34
- const n = arguments;
35
- return function(t) {
36
- return r(t, ...n);
37
- };
38
- };
39
- }
40
- };
41
- export {
42
- a as dual,
43
- f as isFunction
44
- };
@@ -1,9 +0,0 @@
1
- const s = (t, e) => {
2
- const o = t.__vccOpts || t;
3
- for (const [r, c] of e)
4
- o[r] = c;
5
- return o;
6
- };
7
- export {
8
- s as default
9
- };
@@ -1,6 +0,0 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");if(i.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){transition:all .2s;overflow:hidden;min-height:0;display:grid;grid-template-rows:1fr}.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;width:auto;appearance:none;box-shadow:none;display:block;min-width:auto;height:auto;padding:.5em .5em .5em 1em}")),document.head.appendChild(i),window.customElements){const e=window.customElements.define;window.customElements.define=function(s,t){const n=t.prototype.connectedCallback;return t.prototype.connectedCallback=function(){if(n&&n.call(this),this.shadowRoot){const a=document.createElement("style");a.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){transition:all .2s;overflow:hidden;min-height:0;display:grid;grid-template-rows:1fr}.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;width:auto;appearance:none;box-shadow:none;display:block;min-width:auto;height:auto;padding:.5em .5em .5em 1em}")),this.shadowRoot.appendChild(a)}},e.call(window.customElements,s,t)}}}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import o from "./vue-components.es19.js";
3
-
4
- export {
5
- o as default
6
- };