abckit 0.0.30 → 0.0.31
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/runtime/components/ui/auto-form/AutoForm.d.vue.ts +7 -7
- package/dist/runtime/components/ui/auto-form/AutoForm.vue.d.ts +7 -7
- package/dist/runtime/components/ui/auto-form/AutoFormField.d.vue.ts +2 -2
- package/dist/runtime/components/ui/auto-form/AutoFormField.vue.d.ts +2 -2
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.d.vue.ts +0 -34
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue.d.ts +0 -34
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.d.vue.ts +0 -34
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue.d.ts +0 -34
- package/dist/runtime/components/ui/auto-form/dependencies.d.ts +1 -25
- package/dist/runtime/components/ui/auto-form/utils.d.ts +1 -1
- package/dist/runtime/components/ui/country-select/CountrySelect.d.vue.ts +1 -1
- package/dist/runtime/components/ui/country-select/CountrySelect.vue.d.ts +1 -1
- package/dist/runtime/components/ui/currency-select/CurrencySelect.d.vue.ts +1 -1
- package/dist/runtime/components/ui/currency-select/CurrencySelect.vue.d.ts +1 -1
- package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +3 -1
- package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +3 -1
- package/dist/runtime/components/ui/language-select/LanguageSelect.d.vue.ts +1 -1
- package/dist/runtime/components/ui/language-select/LanguageSelect.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pin-input/PinInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/pin-input/PinInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/timezone-select/TimezoneSelect.d.vue.ts +1 -1
- package/dist/runtime/components/ui/timezone-select/TimezoneSelect.vue.d.ts +1 -1
- package/dist/runtime/composables/useAuth.d.ts +2 -2
- package/package.json +42 -41
|
@@ -3,26 +3,26 @@ import type { z } from 'zod';
|
|
|
3
3
|
import type { Config, ConfigItem, Dependency, Shape } from './interface.js';
|
|
4
4
|
import { type ZodObjectOrWrapped } from './utils.js';
|
|
5
5
|
declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: __VLS_PrettifyLocal<{
|
|
6
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
7
7
|
schema: T;
|
|
8
8
|
form?: FormContext<GenericObject>;
|
|
9
9
|
fieldConfig?: Config<z.infer<T>>;
|
|
10
10
|
dependencies?: Dependency<z.infer<T>>[];
|
|
11
11
|
initialValues?: Partial<z.infer<T>>;
|
|
12
12
|
} & {
|
|
13
|
-
onSubmit?: ((event: z.
|
|
14
|
-
}> &
|
|
13
|
+
onSubmit?: ((event: z.core.output<T>) => any) | undefined;
|
|
14
|
+
}> & (typeof globalThis extends {
|
|
15
15
|
__VLS_PROPS_FALLBACK: infer P;
|
|
16
16
|
} ? P : {});
|
|
17
17
|
expose: (exposed: {}) => void;
|
|
18
18
|
attrs: any;
|
|
19
|
-
slots: { [K in NonNullable<keyof z.
|
|
20
|
-
shape: { [key in keyof T]: Shape; }[keyof T];
|
|
19
|
+
slots: { [K in NonNullable<keyof z.core.output<T>>]?: ((props: {
|
|
20
|
+
shape: (any[] & { [key in keyof T]: Shape; })[number] | { [key in keyof T]: Shape; }[keyof T];
|
|
21
21
|
fieldName: string;
|
|
22
22
|
config: ConfigItem;
|
|
23
23
|
}) => any) | undefined; } & {
|
|
24
24
|
customAutoForm?: (props: {
|
|
25
|
-
fields: { [key in keyof z.
|
|
25
|
+
fields: { [key in keyof z.core.output<T>]: {
|
|
26
26
|
shape: Shape;
|
|
27
27
|
fieldName: string;
|
|
28
28
|
config: ConfigItem;
|
|
@@ -33,7 +33,7 @@ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNulla
|
|
|
33
33
|
shapes: { [key in keyof T]: Shape; };
|
|
34
34
|
}) => any;
|
|
35
35
|
};
|
|
36
|
-
emit: (evt: "submit", event: z.
|
|
36
|
+
emit: (evt: "submit", event: z.core.output<T>) => void;
|
|
37
37
|
}>) => import("vue").VNode & {
|
|
38
38
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
39
39
|
};
|
|
@@ -3,26 +3,26 @@ import type { z } from 'zod';
|
|
|
3
3
|
import type { Config, ConfigItem, Dependency, Shape } from './interface.js';
|
|
4
4
|
import { type ZodObjectOrWrapped } from './utils.js';
|
|
5
5
|
declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: __VLS_PrettifyLocal<{
|
|
6
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
7
7
|
schema: T;
|
|
8
8
|
form?: FormContext<GenericObject>;
|
|
9
9
|
fieldConfig?: Config<z.infer<T>>;
|
|
10
10
|
dependencies?: Dependency<z.infer<T>>[];
|
|
11
11
|
initialValues?: Partial<z.infer<T>>;
|
|
12
12
|
} & {
|
|
13
|
-
onSubmit?: ((event: z.
|
|
14
|
-
}> &
|
|
13
|
+
onSubmit?: ((event: z.core.output<T>) => any) | undefined;
|
|
14
|
+
}> & (typeof globalThis extends {
|
|
15
15
|
__VLS_PROPS_FALLBACK: infer P;
|
|
16
16
|
} ? P : {});
|
|
17
17
|
expose: (exposed: {}) => void;
|
|
18
18
|
attrs: any;
|
|
19
|
-
slots: { [K in NonNullable<keyof z.
|
|
20
|
-
shape: { [key in keyof T]: Shape; }[keyof T];
|
|
19
|
+
slots: { [K in NonNullable<keyof z.core.output<T>>]?: ((props: {
|
|
20
|
+
shape: (any[] & { [key in keyof T]: Shape; })[number] | { [key in keyof T]: Shape; }[keyof T];
|
|
21
21
|
fieldName: string;
|
|
22
22
|
config: ConfigItem;
|
|
23
23
|
}) => any) | undefined; } & {
|
|
24
24
|
customAutoForm?: (props: {
|
|
25
|
-
fields: { [key in keyof z.
|
|
25
|
+
fields: { [key in keyof z.core.output<T>]: {
|
|
26
26
|
shape: Shape;
|
|
27
27
|
fieldName: string;
|
|
28
28
|
config: ConfigItem;
|
|
@@ -33,7 +33,7 @@ declare const __VLS_export: <T extends ZodObjectOrWrapped>(__VLS_props: NonNulla
|
|
|
33
33
|
shapes: { [key in keyof T]: Shape; };
|
|
34
34
|
}) => any;
|
|
35
35
|
};
|
|
36
|
-
emit: (evt: "submit", event: z.
|
|
36
|
+
emit: (evt: "submit", event: z.core.output<T>) => void;
|
|
37
37
|
}>) => import("vue").VNode & {
|
|
38
38
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
39
39
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ZodAny } from 'zod';
|
|
2
2
|
import type { Config, ConfigItem, Shape } from './interface.js';
|
|
3
3
|
declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
5
5
|
fieldName: string;
|
|
6
6
|
shape: Shape;
|
|
7
7
|
config?: ConfigItem | Config<U>;
|
|
8
|
-
}> &
|
|
8
|
+
}> & (typeof globalThis extends {
|
|
9
9
|
__VLS_PROPS_FALLBACK: infer P;
|
|
10
10
|
} ? P : {});
|
|
11
11
|
expose: (exposed: {}) => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ZodAny } from 'zod';
|
|
2
2
|
import type { Config, ConfigItem, Shape } from './interface.js';
|
|
3
3
|
declare const __VLS_export: <U extends ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
5
5
|
fieldName: string;
|
|
6
6
|
shape: Shape;
|
|
7
7
|
config?: ConfigItem | Config<U>;
|
|
8
|
-
}> &
|
|
8
|
+
}> & (typeof globalThis extends {
|
|
9
9
|
__VLS_PROPS_FALLBACK: infer P;
|
|
10
10
|
} ? P : {});
|
|
11
11
|
expose: (exposed: {}) => void;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Config } from './interface.js';
|
|
2
|
-
import * as z from 'zod';
|
|
3
|
-
declare const __VLS_export: <T extends z.ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<{
|
|
5
|
-
fieldName: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
config?: Config<T>;
|
|
8
|
-
schema?: z.ZodArray<T>;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
11
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
-
} ? P : {});
|
|
13
|
-
expose: (exposed: {}) => void;
|
|
14
|
-
attrs: any;
|
|
15
|
-
slots: {
|
|
16
|
-
default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
|
|
17
|
-
fieldName: string;
|
|
18
|
-
required?: boolean;
|
|
19
|
-
config?: Config<T>;
|
|
20
|
-
schema?: z.ZodArray<T>;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
}>, "required" | "disabled" | ([Config<T> | undefined] extends [boolean | undefined] ? "config" : never)>) => any;
|
|
23
|
-
};
|
|
24
|
-
emit: {};
|
|
25
|
-
}>) => import("vue").VNode & {
|
|
26
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
|
-
};
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} : {
|
|
33
|
-
[K in keyof T as K]: T[K];
|
|
34
|
-
}) & {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { Config } from './interface.js';
|
|
2
|
-
import * as z from 'zod';
|
|
3
|
-
declare const __VLS_export: <T extends z.ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<{
|
|
5
|
-
fieldName: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
config?: Config<T>;
|
|
8
|
-
schema?: z.ZodArray<T>;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
11
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
-
} ? P : {});
|
|
13
|
-
expose: (exposed: {}) => void;
|
|
14
|
-
attrs: any;
|
|
15
|
-
slots: {
|
|
16
|
-
default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
|
|
17
|
-
fieldName: string;
|
|
18
|
-
required?: boolean;
|
|
19
|
-
config?: Config<T>;
|
|
20
|
-
schema?: z.ZodArray<T>;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
}>, "required" | "disabled" | ([Config<T> | undefined] extends [boolean | undefined] ? "config" : never)>) => any;
|
|
23
|
-
};
|
|
24
|
-
emit: {};
|
|
25
|
-
}>) => import("vue").VNode & {
|
|
26
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
|
-
};
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} : {
|
|
33
|
-
[K in keyof T as K]: T[K];
|
|
34
|
-
}) & {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { ZodObject, ZodRawShape } from 'zod';
|
|
2
|
-
import type { Config } from './interface.js';
|
|
3
|
-
declare const __VLS_export: <T extends ZodRawShape>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<{
|
|
5
|
-
fieldName: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
config?: Config<T>;
|
|
8
|
-
schema?: ZodObject<T>;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
11
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
-
} ? P : {});
|
|
13
|
-
expose: (exposed: {}) => void;
|
|
14
|
-
attrs: any;
|
|
15
|
-
slots: {
|
|
16
|
-
default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
|
|
17
|
-
fieldName: string;
|
|
18
|
-
required?: boolean;
|
|
19
|
-
config?: Config<T>;
|
|
20
|
-
schema?: ZodObject<T>;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
}>, "required" | "disabled" | ([Config<T> | undefined] extends [boolean | undefined] ? "config" : never)>) => any;
|
|
23
|
-
};
|
|
24
|
-
emit: {};
|
|
25
|
-
}>) => import("vue").VNode & {
|
|
26
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
|
-
};
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} : {
|
|
33
|
-
[K in keyof T as K]: T[K];
|
|
34
|
-
}) & {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { ZodObject, ZodRawShape } from 'zod';
|
|
2
|
-
import type { Config } from './interface.js';
|
|
3
|
-
declare const __VLS_export: <T extends ZodRawShape>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<{
|
|
5
|
-
fieldName: string;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
config?: Config<T>;
|
|
8
|
-
schema?: ZodObject<T>;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}> & import("vue").PublicProps & (typeof globalThis extends {
|
|
11
|
-
__VLS_PROPS_FALLBACK: infer P;
|
|
12
|
-
} ? P : {});
|
|
13
|
-
expose: (exposed: {}) => void;
|
|
14
|
-
attrs: any;
|
|
15
|
-
slots: {
|
|
16
|
-
default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
|
|
17
|
-
fieldName: string;
|
|
18
|
-
required?: boolean;
|
|
19
|
-
config?: Config<T>;
|
|
20
|
-
schema?: ZodObject<T>;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
}>, "required" | "disabled" | ([Config<T> | undefined] extends [boolean | undefined] ? "config" : never)>) => any;
|
|
23
|
-
};
|
|
24
|
-
emit: {};
|
|
25
|
-
}>) => import("vue").VNode & {
|
|
26
|
-
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
|
-
};
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} : {
|
|
33
|
-
[K in keyof T as K]: T[K];
|
|
34
|
-
}) & {};
|
|
@@ -1,30 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import { type Dependency, type EnumValues } from './interface.js';
|
|
3
|
-
export declare const injectDependencies: <T extends Ref<Dependency<
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
}>[] | undefined, Dependency<{
|
|
6
|
-
[x: string]: any;
|
|
7
|
-
}>[] | undefined> | null | undefined = Ref<Dependency<{
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
}>[] | undefined, Dependency<{
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}>[] | undefined>>(fallback?: T | undefined) => T extends null ? Ref<Dependency<{
|
|
12
|
-
[x: string]: any;
|
|
13
|
-
}>[] | undefined, Dependency<{
|
|
14
|
-
[x: string]: any;
|
|
15
|
-
}>[] | undefined> | null : Ref<Dependency<{
|
|
16
|
-
[x: string]: any;
|
|
17
|
-
}>[] | undefined, Dependency<{
|
|
18
|
-
[x: string]: any;
|
|
19
|
-
}>[] | undefined>, provideDependencies: (contextValue: Ref<Dependency<{
|
|
20
|
-
[x: string]: any;
|
|
21
|
-
}>[] | undefined, Dependency<{
|
|
22
|
-
[x: string]: any;
|
|
23
|
-
}>[] | undefined>) => Ref<Dependency<{
|
|
24
|
-
[x: string]: any;
|
|
25
|
-
}>[] | undefined, Dependency<{
|
|
26
|
-
[x: string]: any;
|
|
27
|
-
}>[] | undefined>;
|
|
3
|
+
export declare const injectDependencies: <T extends Ref<Dependency<Record<string, unknown>>[] | undefined, Dependency<Record<string, unknown>>[] | undefined> | null | undefined = Ref<Dependency<Record<string, unknown>>[] | undefined, Dependency<Record<string, unknown>>[] | undefined>>(fallback?: T | undefined) => T extends null ? Ref<Dependency<Record<string, unknown>>[] | undefined, Dependency<Record<string, unknown>>[] | undefined> | null : Ref<Dependency<Record<string, unknown>>[] | undefined, Dependency<Record<string, unknown>>[] | undefined>, provideDependencies: (contextValue: Ref<Dependency<Record<string, unknown>>[] | undefined, Dependency<Record<string, unknown>>[] | undefined>) => Ref<Dependency<Record<string, unknown>>[] | undefined, Dependency<Record<string, unknown>>[] | undefined>;
|
|
28
4
|
export default function useDependencies(fieldName: string): {
|
|
29
5
|
isDisabled: Ref<boolean, boolean>;
|
|
30
6
|
isHidden: Ref<boolean, boolean>;
|
|
@@ -21,7 +21,7 @@ z.ZodEffects<ChildType>): ChildType | null;
|
|
|
21
21
|
* Get the type name of the lowest level Zod type.
|
|
22
22
|
* This will unpack optionals, refinements, etc.
|
|
23
23
|
*/
|
|
24
|
-
export declare function getBaseType(schema: z.ZodAny):
|
|
24
|
+
export declare function getBaseType(schema: z.ZodAny): any;
|
|
25
25
|
/**
|
|
26
26
|
* Search for a "ZodDefault" in the Zod stack and return its value.
|
|
27
27
|
*/
|
|
@@ -9,10 +9,10 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
placeholder: string;
|
|
13
12
|
disabled: boolean;
|
|
14
13
|
locale: string;
|
|
15
14
|
modelValue: string;
|
|
15
|
+
placeholder: string;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
export default _default;
|
|
@@ -9,10 +9,10 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
placeholder: string;
|
|
13
12
|
disabled: boolean;
|
|
14
13
|
locale: string;
|
|
15
14
|
modelValue: string;
|
|
15
|
+
placeholder: string;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
export default _default;
|
|
@@ -9,9 +9,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
placeholder: string;
|
|
13
12
|
disabled: boolean;
|
|
14
13
|
modelValue: string;
|
|
14
|
+
placeholder: string;
|
|
15
15
|
displayLocale: string;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -9,9 +9,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
placeholder: string;
|
|
13
12
|
disabled: boolean;
|
|
14
13
|
modelValue: string;
|
|
14
|
+
placeholder: string;
|
|
15
15
|
displayLocale: string;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,9 +10,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
placeholder: string;
|
|
14
13
|
disabled: boolean;
|
|
15
14
|
modelValue: string;
|
|
15
|
+
placeholder: string;
|
|
16
16
|
displayLocale: string;
|
|
17
17
|
showAllLanguages: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -10,9 +10,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
placeholder: string;
|
|
14
13
|
disabled: boolean;
|
|
15
14
|
modelValue: string;
|
|
15
|
+
placeholder: string;
|
|
16
16
|
displayLocale: string;
|
|
17
17
|
showAllLanguages: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { PinInputRootProps } from "reka-ui";
|
|
2
2
|
import type { HTMLAttributes } from "vue";
|
|
3
3
|
declare const __VLS_export: <Type extends "text" | "number" = "text">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<(PinInputRootProps<Type> & {
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(PinInputRootProps<Type> & {
|
|
5
5
|
class?: HTMLAttributes["class"];
|
|
6
6
|
}) & {
|
|
7
7
|
"onUpdate:modelValue"?: ((value: [Type] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
8
8
|
onComplete?: ((value: [Type] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
9
|
-
}> &
|
|
9
|
+
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
11
11
|
} ? P : {});
|
|
12
12
|
expose: (exposed: {}) => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { PinInputRootProps } from "reka-ui";
|
|
2
2
|
import type { HTMLAttributes } from "vue";
|
|
3
3
|
declare const __VLS_export: <Type extends "text" | "number" = "text">(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<(PinInputRootProps<Type> & {
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(PinInputRootProps<Type> & {
|
|
5
5
|
class?: HTMLAttributes["class"];
|
|
6
6
|
}) & {
|
|
7
7
|
"onUpdate:modelValue"?: ((value: [Type] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
8
8
|
onComplete?: ((value: [Type] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
9
|
-
}> &
|
|
9
|
+
}> & (typeof globalThis extends {
|
|
10
10
|
__VLS_PROPS_FALLBACK: infer P;
|
|
11
11
|
} ? P : {});
|
|
12
12
|
expose: (exposed: {}) => void;
|
|
@@ -8,9 +8,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
placeholder: string;
|
|
12
11
|
disabled: boolean;
|
|
13
12
|
modelValue: string;
|
|
13
|
+
placeholder: string;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
export default _default;
|
|
@@ -8,9 +8,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
|
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
placeholder: string;
|
|
12
11
|
disabled: boolean;
|
|
13
12
|
modelValue: string;
|
|
13
|
+
placeholder: string;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
export default _default;
|
|
@@ -749,7 +749,7 @@ export declare function useAuth(): {
|
|
|
749
749
|
};
|
|
750
750
|
};
|
|
751
751
|
$fetch: import("@better-fetch/fetch").BetterFetch<{
|
|
752
|
-
plugins: (import("@better-fetch/fetch").BetterFetchPlugin | {
|
|
752
|
+
plugins: (import("@better-fetch/fetch").BetterFetchPlugin<Record<string, any>> | {
|
|
753
753
|
id: string;
|
|
754
754
|
name: string;
|
|
755
755
|
hooks: {
|
|
@@ -1780,7 +1780,7 @@ export declare function getAuthClientExports(): {
|
|
|
1780
1780
|
};
|
|
1781
1781
|
};
|
|
1782
1782
|
$fetch: import("@better-fetch/fetch").BetterFetch<{
|
|
1783
|
-
plugins: (import("@better-fetch/fetch").BetterFetchPlugin | {
|
|
1783
|
+
plugins: (import("@better-fetch/fetch").BetterFetchPlugin<Record<string, any>> | {
|
|
1784
1784
|
id: string;
|
|
1785
1785
|
name: string;
|
|
1786
1786
|
hooks: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abckit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.31",
|
|
5
5
|
"description": "Nuxt 4 module — UI components, auth, storage, GraphQL",
|
|
6
6
|
"author": "productdevbook",
|
|
7
7
|
"license": "MIT",
|
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
],
|
|
29
29
|
"private": false,
|
|
30
30
|
"sideEffects": false,
|
|
31
|
-
"workspaces": [
|
|
31
|
+
"workspaces": [
|
|
32
|
+
"playground/*"
|
|
33
|
+
],
|
|
32
34
|
"exports": {
|
|
33
35
|
".": {
|
|
34
36
|
"types": "./dist/module.d.mts",
|
|
@@ -69,48 +71,37 @@
|
|
|
69
71
|
"files": [
|
|
70
72
|
"dist"
|
|
71
73
|
],
|
|
72
|
-
"scripts": {
|
|
73
|
-
"build": "nuxt-module-build build",
|
|
74
|
-
"prepack": "nuxt-module-build build",
|
|
75
|
-
"dev": "nuxt dev playground",
|
|
76
|
-
"dev:build": "nuxi build playground",
|
|
77
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
78
|
-
"lint": "eslint .",
|
|
79
|
-
"lint:fix": "eslint . --fix",
|
|
80
|
-
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
|
|
81
|
-
"release": "pnpm publish --no-git-checks --access public"
|
|
82
|
-
},
|
|
83
74
|
"dependencies": {
|
|
84
75
|
"@capacitor/android": "7.4.4",
|
|
85
|
-
"@capacitor/app": "^
|
|
86
|
-
"@capacitor/browser": "^
|
|
76
|
+
"@capacitor/app": "^8.0.0",
|
|
77
|
+
"@capacitor/browser": "^8.0.0",
|
|
87
78
|
"@capacitor/cli": "7.4.4",
|
|
88
|
-
"@capacitor/core": "^
|
|
89
|
-
"@capacitor/device": "^
|
|
90
|
-
"@capacitor/geolocation": "^7.1.
|
|
91
|
-
"@capacitor/haptics": "^
|
|
79
|
+
"@capacitor/core": "^8.0.0",
|
|
80
|
+
"@capacitor/device": "^8.0.0",
|
|
81
|
+
"@capacitor/geolocation": "^7.1.7",
|
|
82
|
+
"@capacitor/haptics": "^8.0.0",
|
|
92
83
|
"@capacitor/ios": "7.4.4",
|
|
93
|
-
"@capacitor/network": "^
|
|
94
|
-
"@capacitor/preferences": "^
|
|
95
|
-
"@capacitor/push-notifications": "^
|
|
96
|
-
"@capacitor/splash-screen": "^
|
|
97
|
-
"@capacitor/status-bar": "^
|
|
98
|
-
"@capgo/capacitor-social-login": "^
|
|
84
|
+
"@capacitor/network": "^8.0.0",
|
|
85
|
+
"@capacitor/preferences": "^8.0.0",
|
|
86
|
+
"@capacitor/push-notifications": "^8.0.0",
|
|
87
|
+
"@capacitor/splash-screen": "^8.0.0",
|
|
88
|
+
"@capacitor/status-bar": "^8.0.0",
|
|
89
|
+
"@capgo/capacitor-social-login": "^8.2.5",
|
|
99
90
|
"@graphql-tools/utils": "^10.11.0",
|
|
100
|
-
"@ionic/vue": "^8.7.
|
|
101
|
-
"@nuxt/icon": "^2.1.
|
|
102
|
-
"@nuxt/scripts": "^0.13.
|
|
91
|
+
"@ionic/vue": "^8.7.14",
|
|
92
|
+
"@nuxt/icon": "^2.1.1",
|
|
93
|
+
"@nuxt/scripts": "^0.13.2",
|
|
103
94
|
"@nuxtjs/color-mode": "^4.0.0",
|
|
104
95
|
"@nuxtjs/i18n": "^10.2.1",
|
|
105
96
|
"@nuxtjs/ionic": "^1.0.2",
|
|
106
97
|
"@nuxtjs/tailwindcss": "7.0.0-beta.1",
|
|
107
98
|
"@openfga/sdk": "^0.9.1",
|
|
108
|
-
"@pinia/colada": "^0.
|
|
109
|
-
"@pinia/colada-nuxt": "^0.2.
|
|
99
|
+
"@pinia/colada": "^0.19.1",
|
|
100
|
+
"@pinia/colada-nuxt": "^0.2.6",
|
|
110
101
|
"@pinia/colada-plugin-auto-refetch": "^0.2.4",
|
|
111
102
|
"@pinia/nuxt": "^0.11.3",
|
|
112
|
-
"@polar-sh/sdk": "^0.
|
|
113
|
-
"@sentry/nuxt": "^10.
|
|
103
|
+
"@polar-sh/sdk": "^0.42.1",
|
|
104
|
+
"@sentry/nuxt": "^10.32.1",
|
|
114
105
|
"@sindresorhus/slugify": "^3.0.0",
|
|
115
106
|
"@tailwindcss/typography": "^0.5.19",
|
|
116
107
|
"@tanstack/vue-table": "^8.21.3",
|
|
@@ -122,7 +113,7 @@
|
|
|
122
113
|
"@vueuse/sound": "^2.1.3",
|
|
123
114
|
"apiful": "^4.0.0",
|
|
124
115
|
"aws4fetch": "^1.0.20",
|
|
125
|
-
"better-auth": "^1.4.
|
|
116
|
+
"better-auth": "^1.4.7",
|
|
126
117
|
"capacitor-native-settings": "^7.0.2",
|
|
127
118
|
"class-variance-authority": "^0.7.1",
|
|
128
119
|
"clsx": "^2.1.1",
|
|
@@ -137,9 +128,9 @@
|
|
|
137
128
|
"graphql": "^16.12.0",
|
|
138
129
|
"graphql-config": "^5.1.5",
|
|
139
130
|
"graphql-scalars": "^1.25.0",
|
|
140
|
-
"graphql-yoga": "^5.
|
|
131
|
+
"graphql-yoga": "^5.18.0",
|
|
141
132
|
"md-editor-v3": "^6.2.1",
|
|
142
|
-
"nitro-graphql": "^1.
|
|
133
|
+
"nitro-graphql": "^1.7.0",
|
|
143
134
|
"nitropack": "^2.12.9",
|
|
144
135
|
"notivue": "^2.4.5",
|
|
145
136
|
"pg": "^8.16.3",
|
|
@@ -153,26 +144,26 @@
|
|
|
153
144
|
"uuid": "^13.0.0",
|
|
154
145
|
"vaul-vue": "^0.4.1",
|
|
155
146
|
"vee-validate": "5.0.0-beta.0",
|
|
156
|
-
"vite-tsconfig-paths": "^
|
|
147
|
+
"vite-tsconfig-paths": "^6.0.3",
|
|
157
148
|
"vue-input-otp": "^0.3.2",
|
|
158
149
|
"vue-router": "^4.6.4",
|
|
159
150
|
"vue-sonner": "^2.0.9",
|
|
160
|
-
"vue-tsc": "^3.
|
|
161
|
-
"zod": "
|
|
151
|
+
"vue-tsc": "^3.2.0",
|
|
152
|
+
"zod": "^4.2.1"
|
|
162
153
|
},
|
|
163
154
|
"devDependencies": {
|
|
164
|
-
"@antfu/eslint-config": "^6.
|
|
155
|
+
"@antfu/eslint-config": "^6.7.2",
|
|
165
156
|
"@nuxt/eslint": "latest",
|
|
166
157
|
"@nuxt/module-builder": "^1.0.2",
|
|
167
158
|
"@nuxt/schema": "^4.2.2",
|
|
168
|
-
"@types/node": "^25.0.
|
|
159
|
+
"@types/node": "^25.0.3",
|
|
169
160
|
"@types/pg": "^8.16.0",
|
|
170
161
|
"eslint": "^9.39.2",
|
|
171
162
|
"h3": "^1.15.4",
|
|
172
163
|
"nuxt": "^4.2.2",
|
|
173
164
|
"shadcn-vue": "^2.4.3",
|
|
174
165
|
"typescript": "^5.9.3",
|
|
175
|
-
"vue": "^3.5.
|
|
166
|
+
"vue": "^3.5.26"
|
|
176
167
|
},
|
|
177
168
|
"resolutions": {
|
|
178
169
|
"abckit": "workspace:*"
|
|
@@ -183,5 +174,15 @@
|
|
|
183
174
|
"patchedDependencies": {
|
|
184
175
|
"entities@7.0.0": "patches/entities@7.0.0.patch",
|
|
185
176
|
"entities@7.0.0@7.0.0": "patches/entities@7.0.0.patch"
|
|
177
|
+
},
|
|
178
|
+
"scripts": {
|
|
179
|
+
"build": "nuxt-module-build build",
|
|
180
|
+
"dev": "nuxt dev playground",
|
|
181
|
+
"dev:build": "nuxi build playground",
|
|
182
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
183
|
+
"lint": "eslint .",
|
|
184
|
+
"lint:fix": "eslint . --fix",
|
|
185
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
|
|
186
|
+
"release": "pnpm publish --no-git-checks --access public"
|
|
186
187
|
}
|
|
187
188
|
}
|