abckit 0.0.41 → 0.0.43

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/module.mjs CHANGED
@@ -168,7 +168,7 @@ function getLocalIP() {
168
168
  const localIP = isMobileDev ? getLocalIP() : null;
169
169
  const mobileBaseURL = isMobileDev ? `http://${localIP}:3000` : "https://e.sayfa.app";
170
170
 
171
- function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
171
+ async function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
172
172
  nuxt.options.runtimeConfig.public.abckit = {
173
173
  sentry: isSentryEnabled,
174
174
  auth: {
@@ -186,8 +186,14 @@ function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
186
186
  debug: nuxt.options.dev,
187
187
  imgproxy: IMGPROXY_DEFAULTS
188
188
  });
189
- updateRuntimeConfig({
190
- modules: options.modules
189
+ await updateRuntimeConfig({
190
+ modules: defu(options.modules, {
191
+ s3: false,
192
+ graphql: false,
193
+ redis: false,
194
+ disk: false,
195
+ ionic: false
196
+ })
191
197
  });
192
198
  }
193
199
  function setupAppHead(nuxt) {
@@ -353,7 +359,7 @@ const module$1 = defineNuxtModule({
353
359
  const isSentryEnabled = isEnabled("sentry", "sentry");
354
360
  const isGraphqlEnabled = isEnabled("graphql", "graphql");
355
361
  setupDevtools(nuxt);
356
- setupRuntimeConfig(nuxt, options, isSentryEnabled);
362
+ await setupRuntimeConfig(nuxt, options, isSentryEnabled);
357
363
  setupAppHead(nuxt);
358
364
  setupTypes();
359
365
  setupHooks(nuxt, resolve);
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_20: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_20) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_20: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_20) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_26: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_26) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_26: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_26) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,33 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- type __VLS_Props = FieldProps & {
3
- options?: string[];
4
- };
5
- declare var __VLS_26: {
6
- field: import("vee-validate").FieldBindingObject<any>;
7
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
8
- value: any;
9
- meta: import("vee-validate").FieldMeta<any>;
10
- errors: string[];
11
- errorMessage: string | undefined;
12
- handleInput: import("vee-validate").FieldContext["handleChange"];
13
- validate: import("vee-validate").FieldValidator<unknown>;
14
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
15
- handleReset: () => void;
16
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
17
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
18
- setTouched: (isTouched: boolean) => void;
19
- setErrors: (message: string | string[]) => void;
20
- setValue: (value: unknown, shouldValidate?: boolean) => void;
21
- };
22
- type __VLS_Slots = {} & {
23
- default?: (props: typeof __VLS_26) => any;
24
- };
25
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
- declare const _default: typeof __VLS_export;
28
- export default _default;
29
- type __VLS_WithSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
@@ -1,33 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- type __VLS_Props = FieldProps & {
3
- options?: string[];
4
- };
5
- declare var __VLS_26: {
6
- field: import("vee-validate").FieldBindingObject<any>;
7
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
8
- value: any;
9
- meta: import("vee-validate").FieldMeta<any>;
10
- errors: string[];
11
- errorMessage: string | undefined;
12
- handleInput: import("vee-validate").FieldContext["handleChange"];
13
- validate: import("vee-validate").FieldValidator<unknown>;
14
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
15
- handleReset: () => void;
16
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
17
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
18
- setTouched: (isTouched: boolean) => void;
19
- setErrors: (message: string | string[]) => void;
20
- setValue: (value: unknown, shouldValidate?: boolean) => void;
21
- };
22
- type __VLS_Slots = {} & {
23
- default?: (props: typeof __VLS_26) => any;
24
- };
25
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
- declare const _default: typeof __VLS_export;
28
- export default _default;
29
- type __VLS_WithSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_26: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_26) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_26: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_26) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,33 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- type __VLS_Props = FieldProps & {
3
- id?: string;
4
- };
5
- declare var __VLS_26: {
6
- field: import("vee-validate").FieldBindingObject<any>;
7
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
8
- value: any;
9
- meta: import("vee-validate").FieldMeta<any>;
10
- errors: string[];
11
- errorMessage: string | undefined;
12
- handleInput: import("vee-validate").FieldContext["handleChange"];
13
- validate: import("vee-validate").FieldValidator<unknown>;
14
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
15
- handleReset: () => void;
16
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
17
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
18
- setTouched: (isTouched: boolean) => void;
19
- setErrors: (message: string | string[]) => void;
20
- setValue: (value: unknown, shouldValidate?: boolean) => void;
21
- };
22
- type __VLS_Slots = {} & {
23
- default?: (props: typeof __VLS_26) => any;
24
- };
25
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
- declare const _default: typeof __VLS_export;
28
- export default _default;
29
- type __VLS_WithSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
@@ -1,33 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- type __VLS_Props = FieldProps & {
3
- id?: string;
4
- };
5
- declare var __VLS_26: {
6
- field: import("vee-validate").FieldBindingObject<any>;
7
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
8
- value: any;
9
- meta: import("vee-validate").FieldMeta<any>;
10
- errors: string[];
11
- errorMessage: string | undefined;
12
- handleInput: import("vee-validate").FieldContext["handleChange"];
13
- validate: import("vee-validate").FieldValidator<unknown>;
14
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
15
- handleReset: () => void;
16
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
17
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
18
- setTouched: (isTouched: boolean) => void;
19
- setErrors: (message: string | string[]) => void;
20
- setValue: (value: unknown, shouldValidate?: boolean) => void;
21
- };
22
- type __VLS_Slots = {} & {
23
- default?: (props: typeof __VLS_26) => any;
24
- };
25
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
- declare const _default: typeof __VLS_export;
28
- export default _default;
29
- type __VLS_WithSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_26: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_26) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
@@ -1,30 +0,0 @@
1
- import type { FieldProps } from './interface.js';
2
- declare var __VLS_26: {
3
- field: import("vee-validate").FieldBindingObject<any>;
4
- componentField: import("vee-validate").ComponentFieldBindingObject<any>;
5
- value: any;
6
- meta: import("vee-validate").FieldMeta<any>;
7
- errors: string[];
8
- errorMessage: string | undefined;
9
- handleInput: import("vee-validate").FieldContext["handleChange"];
10
- validate: import("vee-validate").FieldValidator<unknown>;
11
- resetField: (state?: Partial<import("vee-validate").FieldState<unknown>> | undefined) => void;
12
- handleReset: () => void;
13
- handleChange: (e: Event | unknown, shouldValidate?: boolean) => void;
14
- handleBlur: (e?: Event, shouldValidate?: boolean) => void;
15
- setTouched: (isTouched: boolean) => void;
16
- setErrors: (message: string | string[]) => void;
17
- setValue: (value: unknown, shouldValidate?: boolean) => void;
18
- };
19
- type __VLS_Slots = {} & {
20
- default?: (props: typeof __VLS_26) => any;
21
- };
22
- declare const __VLS_base: import("vue").DefineComponent<FieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- type __VLS_WithSlots<T, S> = T & {
27
- new (): {
28
- $slots: S;
29
- };
30
- };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "abckit",
3
3
  "type": "module",
4
- "version": "0.0.41",
4
+ "version": "0.0.43",
5
5
  "description": "Nuxt 4 module — UI components, auth, storage, GraphQL",
6
6
  "author": "productdevbook",
7
7
  "license": "MIT",