vuiii 1.0.0-beta.7 → 1.0.0-beta.9

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.
@@ -1,52 +1,101 @@
1
- import { AsyncComponentLoader, Component, PropType } from 'vue';
2
- export declare type FormFieldValue = {
3
- getter: (modelValue: any) => unknown;
4
- setter: (value: unknown, modelValue: any) => void;
5
- };
6
- export declare type FormField = {
7
- label?: string;
8
- description?: string;
9
- hint?: string;
10
- required?: boolean;
11
- component: string | Component | AsyncComponentLoader;
12
- props?: Record<string, unknown>;
13
- value?: FormFieldValue;
14
- };
15
- export declare type FormFieldsStructure<T extends any = any> = Record<keyof T | string, FormField>;
16
- declare const _default: import("vue").DefineComponent<{
17
- fields: {
18
- type: PropType<FormFieldsStructure<any>>;
19
- default: () => {};
20
- };
21
- modelValue: {
22
- type: PropType<any>;
23
- default: () => {};
24
- };
25
- errors: {
26
- type: PropType<Record<string, string | boolean | string[]>>;
27
- default: () => {};
28
- };
29
- }, unknown, unknown, {}, {
30
- getFieldValue(name: string): unknown;
31
- setFieldValue(name: string, value: unknown): void;
32
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
- fields: {
34
- type: PropType<FormFieldsStructure<any>>;
35
- default: () => {};
36
- };
37
- modelValue: {
38
- type: PropType<any>;
39
- default: () => {};
40
- };
41
- errors: {
42
- type: PropType<Record<string, string | boolean | string[]>>;
43
- default: () => {};
44
- };
45
- }>> & {
46
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
47
- }, {
1
+ import { FormFieldsStructure } from '@/types';
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ errors: Record<string, any>;
8
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ fields: FormFieldsStructure;
10
+ modelValue: any;
11
+ errors?: Record<string, any> | undefined;
12
+ }>, {
13
+ errors: () => {};
14
+ }>>> & {
15
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "errors">;
17
+ $attrs: {
18
+ [x: string]: unknown;
19
+ };
20
+ $refs: {
21
+ [x: string]: unknown;
22
+ };
23
+ $slots: Readonly<{
24
+ [name: string]: import("vue").Slot | undefined;
25
+ }>;
26
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
27
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
28
+ $emit: (event: "update:modelValue", value: any) => void;
29
+ $el: any;
30
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
31
+ fields: FormFieldsStructure;
32
+ modelValue: any;
33
+ errors?: Record<string, any> | undefined;
34
+ }>, {
35
+ errors: () => {};
36
+ }>>> & {
37
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
38
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ "update:modelValue": (value: any) => void;
40
+ }, string, {
41
+ errors: Record<string, any>;
42
+ }, {}, string> & {
43
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
44
+ created?: ((() => void) | (() => void)[]) | undefined;
45
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
46
+ mounted?: ((() => void) | (() => void)[]) | undefined;
47
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
48
+ updated?: ((() => void) | (() => void)[]) | undefined;
49
+ activated?: ((() => void) | (() => void)[]) | undefined;
50
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
51
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
52
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
53
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
54
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
55
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
56
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
57
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
58
+ };
59
+ $forceUpdate: () => void;
60
+ $nextTick: typeof import("vue").nextTick;
61
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
62
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
63
+ fields: FormFieldsStructure;
64
+ modelValue: any;
65
+ errors?: Record<string, any> | undefined;
66
+ }>, {
67
+ errors: () => {};
68
+ }>>> & {
69
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
70
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
71
+ __isFragment?: undefined;
72
+ __isTeleport?: undefined;
73
+ __isSuspense?: undefined;
74
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
75
+ fields: FormFieldsStructure;
48
76
  modelValue: any;
49
- fields: FormFieldsStructure<any>;
50
- errors: Record<string, string | boolean | string[]>;
51
- }>;
77
+ errors?: Record<string, any> | undefined;
78
+ }>, {
79
+ errors: () => {};
80
+ }>>> & {
81
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
82
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ "update:modelValue": (value: any) => void;
84
+ }, string, {
85
+ errors: Record<string, any>;
86
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
52
87
  export default _default;
88
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
89
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
90
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
91
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
92
+ } : {
93
+ type: import('vue').PropType<T[K]>;
94
+ required: true;
95
+ };
96
+ };
97
+ declare type __VLS_WithDefaults<P, D> = {
98
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
99
+ default: D[K];
100
+ } : P[K];
101
+ };
@@ -1,9 +1,11 @@
1
+ import { InputSize } from '@/types';
1
2
  declare const _default: {
2
3
  new (...args: any[]): {
3
4
  $: import("vue").ComponentInternalInstance;
4
5
  $data: {};
5
6
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
7
  name: string;
8
+ size?: InputSize | undefined;
7
9
  }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
8
10
  $attrs: {
9
11
  [x: string]: unknown;
@@ -20,6 +22,7 @@ declare const _default: {
20
22
  $el: any;
21
23
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
22
24
  name: string;
25
+ size?: InputSize | undefined;
23
26
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
24
27
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
25
28
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -42,12 +45,14 @@ declare const _default: {
42
45
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
43
46
  } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
44
47
  name: string;
48
+ size?: InputSize | undefined;
45
49
  }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
46
50
  __isFragment?: undefined;
47
51
  __isTeleport?: undefined;
48
52
  __isSuspense?: undefined;
49
53
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
50
54
  name: string;
55
+ size?: InputSize | undefined;
51
56
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
52
57
  export default _default;
53
58
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,3 +1,4 @@
1
+ import '../assets/css/input.css';
1
2
  import { InputSize } from '../types';
2
3
  declare const _default: {
3
4
  new (...args: any[]): {
@@ -11,8 +12,8 @@ declare const _default: {
11
12
  invalid?: boolean | undefined;
12
13
  }>>> & {
13
14
  "onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
14
- "onPrefix-click"?: (() => any) | undefined;
15
- "onSuffix-click"?: (() => any) | undefined;
15
+ "onPrefix-icon-click"?: (() => any) | undefined;
16
+ "onSuffix-icon-click"?: (() => any) | undefined;
16
17
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
17
18
  $attrs: {
18
19
  [x: string]: unknown;
@@ -25,7 +26,7 @@ declare const _default: {
25
26
  }>;
26
27
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
27
28
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
28
- $emit: ((event: "update:modelValue", value: string | number | Date | null) => void) & ((event: "prefix-click") => void) & ((event: "suffix-click") => void);
29
+ $emit: ((event: "update:modelValue", value: string | number | Date | null) => void) & ((event: "prefix-icon-click") => void) & ((event: "suffix-icon-click") => void);
29
30
  $el: any;
30
31
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
31
32
  modelValue?: string | number | Date | null | undefined;
@@ -35,14 +36,14 @@ declare const _default: {
35
36
  invalid?: boolean | undefined;
36
37
  }>>> & {
37
38
  "onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
38
- "onPrefix-click"?: (() => any) | undefined;
39
- "onSuffix-click"?: (() => any) | undefined;
39
+ "onPrefix-icon-click"?: (() => any) | undefined;
40
+ "onSuffix-icon-click"?: (() => any) | undefined;
40
41
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
42
  "update:modelValue": (value: string | number | Date | null) => void;
42
43
  } & {
43
- "prefix-click": () => void;
44
+ "prefix-icon-click": () => void;
44
45
  } & {
45
- "suffix-click": () => void;
46
+ "suffix-icon-click": () => void;
46
47
  }, string, {}, {}, string> & {
47
48
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
48
49
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -71,8 +72,8 @@ declare const _default: {
71
72
  invalid?: boolean | undefined;
72
73
  }>>> & {
73
74
  "onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
74
- "onPrefix-click"?: (() => any) | undefined;
75
- "onSuffix-click"?: (() => any) | undefined;
75
+ "onPrefix-icon-click"?: (() => any) | undefined;
76
+ "onSuffix-icon-click"?: (() => any) | undefined;
76
77
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
77
78
  __isFragment?: undefined;
78
79
  __isTeleport?: undefined;
@@ -85,14 +86,14 @@ declare const _default: {
85
86
  invalid?: boolean | undefined;
86
87
  }>>> & {
87
88
  "onUpdate:modelValue"?: ((value: string | number | Date | null) => any) | undefined;
88
- "onPrefix-click"?: (() => any) | undefined;
89
- "onSuffix-click"?: (() => any) | undefined;
89
+ "onPrefix-icon-click"?: (() => any) | undefined;
90
+ "onSuffix-icon-click"?: (() => any) | undefined;
90
91
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
91
92
  "update:modelValue": (value: string | number | Date | null) => void;
92
93
  } & {
93
- "prefix-click": () => void;
94
+ "prefix-icon-click": () => void;
94
95
  } & {
95
- "suffix-click": () => void;
96
+ "suffix-icon-click": () => void;
96
97
  }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
97
98
  $slots: {
98
99
  prefix: (_: {}) => any;
@@ -1,14 +1,15 @@
1
- import { Extractor } from '../types';
1
+ import { Extractor, Option } from '../types';
2
2
  declare const _default: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- modelValue: string | number | undefined;
7
+ modelValue?: string | number | undefined;
8
8
  options: any[] | any;
9
9
  optionLabel?: Extractor | undefined;
10
10
  optionValue?: Extractor | undefined;
11
11
  optionDisabled?: Extractor | undefined;
12
+ optionDescription?: Extractor | undefined;
12
13
  }>>> & {
13
14
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
14
15
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
@@ -26,11 +27,12 @@ declare const _default: {
26
27
  $emit: (event: "update:modelValue", value: string | number) => void;
27
28
  $el: any;
28
29
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
29
- modelValue: string | number | undefined;
30
+ modelValue?: string | number | undefined;
30
31
  options: any[] | any;
31
32
  optionLabel?: Extractor | undefined;
32
33
  optionValue?: Extractor | undefined;
33
34
  optionDisabled?: Extractor | undefined;
35
+ optionDescription?: Extractor | undefined;
34
36
  }>>> & {
35
37
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
36
38
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -56,11 +58,12 @@ declare const _default: {
56
58
  $nextTick: typeof import("vue").nextTick;
57
59
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
58
60
  } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
59
- modelValue: string | number | undefined;
61
+ modelValue?: string | number | undefined;
60
62
  options: any[] | any;
61
63
  optionLabel?: Extractor | undefined;
62
64
  optionValue?: Extractor | undefined;
63
65
  optionDisabled?: Extractor | undefined;
66
+ optionDescription?: Extractor | undefined;
64
67
  }>>> & {
65
68
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
66
69
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
@@ -68,18 +71,21 @@ declare const _default: {
68
71
  __isTeleport?: undefined;
69
72
  __isSuspense?: undefined;
70
73
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
71
- modelValue: string | number | undefined;
74
+ modelValue?: string | number | undefined;
72
75
  options: any[] | any;
73
76
  optionLabel?: Extractor | undefined;
74
77
  optionValue?: Extractor | undefined;
75
78
  optionDisabled?: Extractor | undefined;
79
+ optionDescription?: Extractor | undefined;
76
80
  }>>> & {
77
81
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
78
82
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
79
83
  "update:modelValue": (value: string | number) => void;
80
84
  }, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
81
85
  $slots: {
82
- default: (_: {}) => any;
86
+ default: (_: {
87
+ option: Option<any>;
88
+ }) => any;
83
89
  };
84
90
  });
85
91
  export default _default;
@@ -1,30 +1,34 @@
1
- import { Extractor, InputSize } from '../types';
1
+ import { Extractor, InputSize, Option } from '../types';
2
2
  declare const _default: {
3
3
  new (...args: any[]): {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
7
  size: InputSize;
8
- placeholder: string;
8
+ modelValue: Option['value'];
9
9
  optionLabel: Extractor;
10
10
  optionValue: Extractor;
11
11
  optionDisabled: Extractor;
12
+ placeholder: string;
12
13
  }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- value: string | number | null;
14
+ modelValue?: string | number | undefined;
14
15
  options: any[] | any;
15
16
  optionLabel?: Extractor | undefined;
16
17
  optionValue?: Extractor | undefined;
17
18
  optionDisabled?: Extractor | undefined;
18
19
  placeholder?: string | undefined;
19
20
  size?: InputSize | undefined;
20
- allowEmpty?: boolean | undefined;
21
+ required?: boolean | undefined;
21
22
  }>, {
23
+ modelValue: undefined;
22
24
  size: string;
23
25
  optionLabel: undefined;
24
26
  optionValue: undefined;
25
27
  optionDisabled: undefined;
26
28
  placeholder: undefined;
27
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "placeholder" | "optionLabel" | "optionValue" | "optionDisabled">;
29
+ }>>> & {
30
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
31
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "modelValue" | "optionLabel" | "optionValue" | "optionDisabled" | "placeholder">;
28
32
  $attrs: {
29
33
  [x: string]: unknown;
30
34
  };
@@ -36,29 +40,35 @@ declare const _default: {
36
40
  }>;
37
41
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
38
42
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
39
- $emit: (event: string, ...args: any[]) => void;
43
+ $emit: (event: "update:modelValue", value: string | number) => void;
40
44
  $el: any;
41
45
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
42
- value: string | number | null;
46
+ modelValue?: string | number | undefined;
43
47
  options: any[] | any;
44
48
  optionLabel?: Extractor | undefined;
45
49
  optionValue?: Extractor | undefined;
46
50
  optionDisabled?: Extractor | undefined;
47
51
  placeholder?: string | undefined;
48
52
  size?: InputSize | undefined;
49
- allowEmpty?: boolean | undefined;
53
+ required?: boolean | undefined;
50
54
  }>, {
55
+ modelValue: undefined;
51
56
  size: string;
52
57
  optionLabel: undefined;
53
58
  optionValue: undefined;
54
59
  optionDisabled: undefined;
55
60
  placeholder: undefined;
56
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
61
+ }>>> & {
62
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
63
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
+ "update:modelValue": (value: string | number) => void;
65
+ }, string, {
57
66
  size: InputSize;
58
- placeholder: string;
67
+ modelValue: Option['value'];
59
68
  optionLabel: Extractor;
60
69
  optionValue: Extractor;
61
70
  optionDisabled: Extractor;
71
+ placeholder: string;
62
72
  }, {}, string> & {
63
73
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
64
74
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -80,45 +90,54 @@ declare const _default: {
80
90
  $nextTick: typeof import("vue").nextTick;
81
91
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
82
92
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
83
- value: string | number | null;
93
+ modelValue?: string | number | undefined;
84
94
  options: any[] | any;
85
95
  optionLabel?: Extractor | undefined;
86
96
  optionValue?: Extractor | undefined;
87
97
  optionDisabled?: Extractor | undefined;
88
98
  placeholder?: string | undefined;
89
99
  size?: InputSize | undefined;
90
- allowEmpty?: boolean | undefined;
100
+ required?: boolean | undefined;
91
101
  }>, {
102
+ modelValue: undefined;
92
103
  size: string;
93
104
  optionLabel: undefined;
94
105
  optionValue: undefined;
95
106
  optionDisabled: undefined;
96
107
  placeholder: undefined;
97
- }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
108
+ }>>> & {
109
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
110
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
98
111
  __isFragment?: undefined;
99
112
  __isTeleport?: undefined;
100
113
  __isSuspense?: undefined;
101
114
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
102
- value: string | number | null;
115
+ modelValue?: string | number | undefined;
103
116
  options: any[] | any;
104
117
  optionLabel?: Extractor | undefined;
105
118
  optionValue?: Extractor | undefined;
106
119
  optionDisabled?: Extractor | undefined;
107
120
  placeholder?: string | undefined;
108
121
  size?: InputSize | undefined;
109
- allowEmpty?: boolean | undefined;
122
+ required?: boolean | undefined;
110
123
  }>, {
124
+ modelValue: undefined;
111
125
  size: string;
112
126
  optionLabel: undefined;
113
127
  optionValue: undefined;
114
128
  optionDisabled: undefined;
115
129
  placeholder: undefined;
116
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
130
+ }>>> & {
131
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
132
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
133
+ "update:modelValue": (value: string | number) => void;
134
+ }, string, {
117
135
  size: InputSize;
118
- placeholder: string;
136
+ modelValue: Option['value'];
119
137
  optionLabel: Extractor;
120
138
  optionValue: Extractor;
121
139
  optionDisabled: Extractor;
140
+ placeholder: string;
122
141
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
123
142
  export default _default;
124
143
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -3,15 +3,13 @@ export { default as Breadcrumbs } from './components/Breadcrumbs.vue';
3
3
  export { default as Button } from './components/Button.vue';
4
4
  export { default as Checkbox } from './components/Checkbox.vue';
5
5
  export { default as CheckboxGroup } from './components/CheckboxGroup.vue';
6
- export type { FormStructure } from './components/Form.vue';
7
6
  export { default as Form } from './components/Form.vue';
8
- export type { FormFieldsStructure } from './components/FormFields.vue';
9
7
  export { default as FormFields } from './components/FormFields.vue';
10
8
  export { default as FormGroup } from './components/FormGroup.vue';
11
9
  export { default as Icon } from './components/Icon.vue';
12
10
  export { default as Input } from './components/Input.vue';
13
11
  export { default as ModalLayout } from './components/modal/ModalLayout.vue';
14
- export { default as Radio } from './components/Radio.vue';
12
+ export { default as RadioGroup } from './components/RadioGroup.vue';
15
13
  export { default as Select } from './components/Select.vue';
16
14
  export { default as Table } from './components/Table.vue';
17
15
  export { default as Textarea } from './components/Textarea.vue';
@@ -22,6 +20,6 @@ export { usePageFromRouteQuery, useRouteQuery } from './hooks/useRouteQuery';
22
20
  export { useSubmitAction } from './hooks/useSubmitAction';
23
21
  export { modal, useModal } from './modal';
24
22
  export { snackbar, useSnackbar } from './snackbar';
25
- export type { BreadcrumbItems, ButtonSize, ButtonVariant, TableColumns, ValidationErrors, ValidationResults } from './types';
23
+ export type { BreadcrumbItems, ButtonSize, ButtonVariant, FormFieldsStructure, FormStructure, TableColumns, ValidationErrors, ValidationResults } from './types';
26
24
  export { registerCustomIconResolver } from './utils/iconsResolver';
27
25
  export { ValidationError } from './validations/validator';