@effect-app/vue-components 2.9.1 → 2.9.2
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.
- package/dist/types/components/OmegaForm/OmegaAutoGen.vue.d.ts +2 -1
- package/dist/vue-components.es21.js +3 -3
- package/package.json +3 -3
- package/src/components/OmegaForm/OmegaArray.vue +1 -6
- package/src/components/OmegaForm/OmegaAutoGen.vue +2 -3
- package/src/components/OmegaForm/OmegaFormInput.vue +1 -5
- package/src/components/OmegaForm/OmegaInput.vue +1 -6
- package/src/components/OmegaForm/OmegaTaggedUnion.vue +2 -4
- package/src/components/OmegaForm/OmegaTaggedUnionInternal.vue +1 -5
- package/src/components/OmegaForm/OmegaWrapper.vue +2 -4
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type DeepKeys } from "@tanstack/vue-form";
|
|
2
2
|
import { Order } from "effect-app";
|
|
3
3
|
import { type OmegaAutoGenMeta, type OmegaInputProps } from "./OmegaFormStuff";
|
|
4
|
-
declare const __VLS_export:
|
|
4
|
+
declare const __VLS_export: <// dprint-ignore
|
|
5
|
+
From extends Record<PropertyKey, string>, To extends Record<PropertyKey, string>, Name extends DeepKeys<From>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
6
|
props: __VLS_PrettifyLocal<{
|
|
6
7
|
form: OmegaInputProps<From, To, Name>["form"];
|
|
7
8
|
pick?: DeepKeys<From>[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var n=document.createElement("style");if(n.appendChild(document.createTextNode("fieldset[data-v-
|
|
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
2
|
import o from "./vue-components.es37.js";
|
|
3
3
|
|
|
4
4
|
import m from "./vue-components.es36.js";
|
|
5
|
-
const
|
|
5
|
+
const a = /* @__PURE__ */ m(o, [["__scopeId", "data-v-8c9cb27c"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/vue-components",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@mdi/js": "^7.4.47",
|
|
6
6
|
"effect": "^3.19.3",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"highlight.js": "^11.11.1",
|
|
54
54
|
"mitt": "^3.0.1",
|
|
55
55
|
"vue3-highlightjs": "^1.0.5",
|
|
56
|
-
"@effect-app/vue": "2.93.
|
|
57
|
-
"effect-app": "3.14.
|
|
56
|
+
"@effect-app/vue": "2.93.2",
|
|
57
|
+
"effect-app": "3.14.1"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "pnpm build:run",
|
|
@@ -42,12 +42,7 @@
|
|
|
42
42
|
<script
|
|
43
43
|
setup
|
|
44
44
|
lang="ts"
|
|
45
|
-
generic="
|
|
46
|
-
// dprint ignore - somehow with 120 chars, this becomes a mess. should report it.
|
|
47
|
-
From extends Record<PropertyKey, any>,
|
|
48
|
-
To extends Record<PropertyKey, any>,
|
|
49
|
-
Name extends DeepKeys<From>
|
|
50
|
-
"
|
|
45
|
+
generic="From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>"
|
|
51
46
|
>
|
|
52
47
|
import { type DeepKeys } from "@tanstack/vue-form"
|
|
53
48
|
import { computed, onMounted, provide } from "vue"
|
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
<script
|
|
15
15
|
setup
|
|
16
16
|
lang="ts"
|
|
17
|
-
generic="
|
|
17
|
+
generic="// dprint-ignore
|
|
18
18
|
From extends Record<PropertyKey, string>,
|
|
19
19
|
To extends Record<PropertyKey, string>,
|
|
20
|
-
Name extends DeepKeys<From>
|
|
21
|
-
"
|
|
20
|
+
Name extends DeepKeys<From>"
|
|
22
21
|
>
|
|
23
22
|
import { type DeepKeys } from "@tanstack/vue-form"
|
|
24
23
|
import { Array as A, Order, pipe } from "effect-app"
|
|
@@ -12,11 +12,7 @@
|
|
|
12
12
|
<script
|
|
13
13
|
setup
|
|
14
14
|
lang="ts"
|
|
15
|
-
generic="
|
|
16
|
-
From extends Record<PropertyKey, any>,
|
|
17
|
-
To extends Record<PropertyKey, any>,
|
|
18
|
-
Name extends DeepKeys<From>
|
|
19
|
-
"
|
|
15
|
+
generic="From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>"
|
|
20
16
|
>
|
|
21
17
|
import { type DeepKeys } from "@tanstack/vue-form"
|
|
22
18
|
import { inject } from "vue"
|
|
@@ -37,12 +37,7 @@
|
|
|
37
37
|
<script
|
|
38
38
|
setup
|
|
39
39
|
lang="ts"
|
|
40
|
-
generic="
|
|
41
|
-
// dprint ignore - somehow with 120 chars, this becomes a mess. should report it.
|
|
42
|
-
From extends Record<PropertyKey, any>,
|
|
43
|
-
To extends Record<PropertyKey, any>,
|
|
44
|
-
Name extends DeepKeys<From>
|
|
45
|
-
"
|
|
40
|
+
generic="From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>"
|
|
46
41
|
>
|
|
47
42
|
import { type DeepKeys } from "@tanstack/vue-form"
|
|
48
43
|
import { computed, inject, type Ref, useAttrs } from "vue"
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
<script
|
|
2
2
|
setup
|
|
3
3
|
lang="ts"
|
|
4
|
-
generic="
|
|
5
|
-
From extends Record<PropertyKey, any>,
|
|
4
|
+
generic="From extends Record<PropertyKey, any>,
|
|
6
5
|
To extends Record<PropertyKey, any>,
|
|
7
|
-
Name extends DeepKeys<From> | undefined = DeepKeys<From>
|
|
8
|
-
"
|
|
6
|
+
Name extends DeepKeys<From> | undefined = DeepKeys<From>"
|
|
9
7
|
>
|
|
10
8
|
import { type DeepKeys } from "@tanstack/vue-form"
|
|
11
9
|
import { type TaggedUnionOption } from "./InputProps"
|
|
@@ -9,11 +9,7 @@
|
|
|
9
9
|
<script
|
|
10
10
|
setup
|
|
11
11
|
lang="ts"
|
|
12
|
-
generic="
|
|
13
|
-
From extends Record<PropertyKey, any>,
|
|
14
|
-
To extends Record<PropertyKey, any>,
|
|
15
|
-
Name extends DeepKeys<From>
|
|
16
|
-
"
|
|
12
|
+
generic="From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, Name extends DeepKeys<From>"
|
|
17
13
|
>
|
|
18
14
|
import { type DeepKeys, type DeepValue } from "@tanstack/vue-form"
|
|
19
15
|
import { S } from "effect-app"
|
|
@@ -12,12 +12,10 @@
|
|
|
12
12
|
<script
|
|
13
13
|
setup
|
|
14
14
|
lang="ts"
|
|
15
|
-
generic="
|
|
16
|
-
From extends Record<PropertyKey, any>,
|
|
15
|
+
generic="From extends Record<PropertyKey, any>,
|
|
17
16
|
To extends Record<PropertyKey, any>,
|
|
18
17
|
K extends keyof OmegaFormState<From, To> = keyof OmegaFormState<From, To>,
|
|
19
|
-
Props = DefaultTypeProps
|
|
20
|
-
"
|
|
18
|
+
Props = DefaultTypeProps"
|
|
21
19
|
>
|
|
22
20
|
/**
|
|
23
21
|
* Form component that wraps TanStack Form's useForm hook
|