@solfacil/girassol 0.3.3 → 0.3.5

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,4 +1,3 @@
1
- import type { ParentValidation } from '../../../../composables/use-validate-field/types';
2
1
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
2
  id: string;
4
3
  class?: string | undefined;
@@ -11,9 +10,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
11
10
  error?: string | null | undefined;
12
11
  placeholder?: string | undefined;
13
12
  modelValue?: string | undefined;
14
- useField?: ParentValidation['useFieldParent'];
15
- rules?: ParentValidation['rules'];
16
- opts?: ParentValidation['opts'];
13
+ useField?: typeof import("vee-validate").useField | undefined;
14
+ rules?: (string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
15
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
16
+ } | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
17
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
18
+ } | undefined>;
19
+ opts?: Partial<import("vee-validate").FieldOptions<string>> | undefined;
17
20
  }>, {
18
21
  size: string;
19
22
  resize: string;
@@ -32,9 +35,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
32
35
  error?: string | null | undefined;
33
36
  placeholder?: string | undefined;
34
37
  modelValue?: string | undefined;
35
- useField?: ParentValidation['useFieldParent'];
36
- rules?: ParentValidation['rules'];
37
- opts?: ParentValidation['opts'];
38
+ useField?: typeof import("vee-validate").useField | undefined;
39
+ rules?: (string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
40
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
41
+ } | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
42
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
43
+ } | undefined>;
44
+ opts?: Partial<import("vee-validate").FieldOptions<string>> | undefined;
38
45
  }>, {
39
46
  size: string;
40
47
  resize: string;
@@ -42,8 +49,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
42
49
  }>>> & {
43
50
  "onUpdate:modelValue"?: ((event: string) => any) | undefined;
44
51
  }, {
45
- error: string | null;
46
52
  size: 'sm' | 'md';
53
+ error: string | null;
47
54
  resize: 'both' | 'horizontal' | 'vertical' | 'none';
48
55
  }>;
49
56
  export default _default;
@@ -4,24 +4,34 @@ declare const _default: {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
+ error: string | null;
7
8
  hideTitle: boolean;
8
9
  direction: 'row' | 'column';
9
10
  }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
11
  id: string;
11
12
  title: string;
13
+ name: string;
12
14
  hideTitle?: boolean | undefined;
13
- hint?: string | undefined;
14
- error?: string | undefined;
15
+ helperText?: string | undefined;
16
+ error?: string | null | undefined;
15
17
  radios: RadioType[];
16
- modelValue: RadioType['value'];
18
+ modelValue?: import("../types").RadioValue | undefined;
17
19
  direction?: "row" | "column" | undefined;
20
+ useField?: typeof import("vee-validate").useField | undefined;
21
+ rules?: (string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
22
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
23
+ } | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
24
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
25
+ } | undefined>;
26
+ opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
18
27
  }>, {
28
+ error: null;
19
29
  direction: string;
20
30
  hideTitle: boolean;
21
31
  }>>> & {
22
32
  onChange?: ((value: import("../types").RadioValue) => any) | undefined;
23
33
  "onUpdate:modelValue"?: ((value: import("../types").RadioValue) => any) | undefined;
24
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideTitle" | "direction">;
34
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "hideTitle" | "direction">;
25
35
  $attrs: {
26
36
  [x: string]: unknown;
27
37
  };
@@ -33,18 +43,27 @@ declare const _default: {
33
43
  }>;
34
44
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
35
45
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
36
- $emit: ((event: "update:modelValue", value: import("../types").RadioValue) => void) & ((event: "change", value: import("../types").RadioValue) => void);
46
+ $emit: ((event: "change", value: import("../types").RadioValue) => void) & ((event: "update:modelValue", value: import("../types").RadioValue) => void);
37
47
  $el: any;
38
48
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
39
49
  id: string;
40
50
  title: string;
51
+ name: string;
41
52
  hideTitle?: boolean | undefined;
42
- hint?: string | undefined;
43
- error?: string | undefined;
53
+ helperText?: string | undefined;
54
+ error?: string | null | undefined;
44
55
  radios: RadioType[];
45
- modelValue: RadioType['value'];
56
+ modelValue?: import("../types").RadioValue | undefined;
46
57
  direction?: "row" | "column" | undefined;
58
+ useField?: typeof import("vee-validate").useField | undefined;
59
+ rules?: (string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
60
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
61
+ } | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
62
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
63
+ } | undefined>;
64
+ opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
47
65
  }>, {
66
+ error: null;
48
67
  direction: string;
49
68
  hideTitle: boolean;
50
69
  }>>> & {
@@ -55,6 +74,7 @@ declare const _default: {
55
74
  } & {
56
75
  "update:modelValue": (value: import("../types").RadioValue) => void;
57
76
  }, string, {
77
+ error: string | null;
58
78
  hideTitle: boolean;
59
79
  direction: 'row' | 'column';
60
80
  }> & {
@@ -80,13 +100,22 @@ declare const _default: {
80
100
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
81
101
  id: string;
82
102
  title: string;
103
+ name: string;
83
104
  hideTitle?: boolean | undefined;
84
- hint?: string | undefined;
85
- error?: string | undefined;
105
+ helperText?: string | undefined;
106
+ error?: string | null | undefined;
86
107
  radios: RadioType[];
87
- modelValue: RadioType['value'];
108
+ modelValue?: import("../types").RadioValue | undefined;
88
109
  direction?: "row" | "column" | undefined;
110
+ useField?: typeof import("vee-validate").useField | undefined;
111
+ rules?: (string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
112
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
113
+ } | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
114
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
115
+ } | undefined>;
116
+ opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
89
117
  }>, {
118
+ error: null;
90
119
  direction: string;
91
120
  hideTitle: boolean;
92
121
  }>>> & {
@@ -99,13 +128,22 @@ declare const _default: {
99
128
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
100
129
  id: string;
101
130
  title: string;
131
+ name: string;
102
132
  hideTitle?: boolean | undefined;
103
- hint?: string | undefined;
104
- error?: string | undefined;
133
+ helperText?: string | undefined;
134
+ error?: string | null | undefined;
105
135
  radios: RadioType[];
106
- modelValue: RadioType['value'];
136
+ modelValue?: import("../types").RadioValue | undefined;
107
137
  direction?: "row" | "column" | undefined;
138
+ useField?: typeof import("vee-validate").useField | undefined;
139
+ rules?: (string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
140
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
141
+ } | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
142
+ validate(value: unknown, options: Record<string, any>): Promise<unknown>;
143
+ } | undefined>;
144
+ opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
108
145
  }>, {
146
+ error: null;
109
147
  direction: string;
110
148
  hideTitle: boolean;
111
149
  }>>> & {
@@ -116,6 +154,7 @@ declare const _default: {
116
154
  } & {
117
155
  "update:modelValue": (value: import("../types").RadioValue) => void;
118
156
  }, string, {
157
+ error: string | null;
119
158
  hideTitle: boolean;
120
159
  direction: 'row' | 'column';
121
160
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  $data: {};
5
5
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
6
  id: string;
7
+ name: string;
7
8
  options: {
8
9
  name: string;
9
10
  value: string;
@@ -37,6 +38,7 @@ declare const _default: {
37
38
  $el: any;
38
39
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
39
40
  id: string;
41
+ name: string;
40
42
  options: {
41
43
  name: string;
42
44
  value: string;
@@ -80,6 +82,7 @@ declare const _default: {
80
82
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
81
83
  } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
82
84
  id: string;
85
+ name: string;
83
86
  options: {
84
87
  name: string;
85
88
  value: string;
@@ -102,6 +105,7 @@ declare const _default: {
102
105
  __isSuspense?: undefined;
103
106
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
104
107
  id: string;
108
+ name: string;
105
109
  options: {
106
110
  name: string;
107
111
  value: string;
@@ -125,15 +129,6 @@ declare const _default: {
125
129
  }) => void;
126
130
  }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
127
131
  $slots: {
128
- 'item-list': (_: {
129
- text: string;
130
- value: string;
131
- option: {
132
- name: string;
133
- value: string;
134
- };
135
- isSelected: boolean;
136
- }) => any;
137
132
  'no-data': (_: {}) => any;
138
133
  };
139
134
  });