cleek 2.10.41 → 2.10.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.
@@ -67,7 +67,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
67
67
  labelAlign: {
68
68
  type: import('vue').PropType<Align>;
69
69
  };
70
- autocomplete: {
70
+ preventAutocomplete: {
71
71
  type: import('vue').PropType<boolean>;
72
72
  };
73
73
  placeholder: {
@@ -179,7 +179,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
179
179
  labelAlign: {
180
180
  type: import('vue').PropType<Align>;
181
181
  };
182
- autocomplete: {
182
+ preventAutocomplete: {
183
183
  type: import('vue').PropType<boolean>;
184
184
  };
185
185
  placeholder: {
@@ -76,6 +76,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
76
76
  type: import('vue').PropType<number>;
77
77
  default: number;
78
78
  };
79
+ notReduce: {
80
+ type: import('vue').PropType<boolean>;
81
+ };
79
82
  reduceValueProp: {
80
83
  type: import('vue').PropType<string>;
81
84
  default: string;
@@ -86,6 +89,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
86
89
  reduceValueFunction: {
87
90
  type: import('vue').PropType<(option: Option) => OptionValue>;
88
91
  };
92
+ notReduceValue: {
93
+ type: import('vue').PropType<boolean>;
94
+ };
89
95
  reduceNameProp: {
90
96
  type: import('vue').PropType<string>;
91
97
  default: string;
@@ -96,10 +102,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
102
  reduceNameFunction: {
97
103
  type: import('vue').PropType<(option: Option) => string>;
98
104
  };
99
- notReduce: {
100
- type: import('vue').PropType<boolean>;
101
- };
102
- notReduceValue: {
105
+ notReduceName: {
103
106
  type: import('vue').PropType<boolean>;
104
107
  };
105
108
  notClearable: {
@@ -197,6 +200,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
197
200
  type: import('vue').PropType<number>;
198
201
  default: number;
199
202
  };
203
+ notReduce: {
204
+ type: import('vue').PropType<boolean>;
205
+ };
200
206
  reduceValueProp: {
201
207
  type: import('vue').PropType<string>;
202
208
  default: string;
@@ -207,6 +213,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
207
213
  reduceValueFunction: {
208
214
  type: import('vue').PropType<(option: Option) => OptionValue>;
209
215
  };
216
+ notReduceValue: {
217
+ type: import('vue').PropType<boolean>;
218
+ };
210
219
  reduceNameProp: {
211
220
  type: import('vue').PropType<string>;
212
221
  default: string;
@@ -217,10 +226,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
217
226
  reduceNameFunction: {
218
227
  type: import('vue').PropType<(option: Option) => string>;
219
228
  };
220
- notReduce: {
221
- type: import('vue').PropType<boolean>;
222
- };
223
- notReduceValue: {
229
+ notReduceName: {
224
230
  type: import('vue').PropType<boolean>;
225
231
  };
226
232
  notClearable: {
@@ -1,14 +1,11 @@
1
1
  import { Align } from '../cleek-options/cleek-options.types';
2
2
 
3
- type Option = {
4
- id: boolean | number | string;
5
- name: string;
6
- icon?: string;
7
- };
3
+ type OptionValue = any;
4
+ type Option = any;
8
5
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
6
  modelValue: {
10
7
  required: true;
11
- type: import('vue').PropType<Option["id"]>;
8
+ type: import('vue').PropType<OptionValue>;
12
9
  };
13
10
  label: {
14
11
  type: import('vue').PropType<string>;
@@ -26,27 +23,46 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
26
23
  type: import('vue').PropType<Align>;
27
24
  };
28
25
  options: {
29
- type: import('vue').PropType<Option[]>;
26
+ type: import('vue').PropType<any[]>;
30
27
  };
31
28
  notReduce: {
32
29
  type: import('vue').PropType<boolean>;
33
30
  };
34
- prop: {
31
+ reduceValueProp: {
35
32
  type: import('vue').PropType<string>;
36
33
  default: string;
37
34
  };
38
- reduceFunction: {
39
- type: import('vue').PropType<(option: Option) => any>;
35
+ reduceValueMethod: {
36
+ type: import('vue').PropType<string>;
37
+ };
38
+ reduceValueFunction: {
39
+ type: import('vue').PropType<(option: Option) => OptionValue>;
40
+ };
41
+ notReduceValue: {
42
+ type: import('vue').PropType<boolean>;
43
+ };
44
+ reduceNameProp: {
45
+ type: import('vue').PropType<string>;
46
+ default: string;
47
+ };
48
+ reduceNameMethod: {
49
+ type: import('vue').PropType<string>;
50
+ };
51
+ reduceNameFunction: {
52
+ type: import('vue').PropType<(option: Option) => string>;
53
+ };
54
+ notReduceName: {
55
+ type: import('vue').PropType<boolean>;
40
56
  };
41
57
  sameWidthOptions: {
42
58
  type: import('vue').PropType<boolean>;
43
59
  };
44
60
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
- change: (value: Option) => void;
61
+ change: (val: any) => void;
46
62
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
63
  modelValue: {
48
64
  required: true;
49
- type: import('vue').PropType<Option["id"]>;
65
+ type: import('vue').PropType<OptionValue>;
50
66
  };
51
67
  label: {
52
68
  type: import('vue').PropType<string>;
@@ -64,24 +80,44 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
64
80
  type: import('vue').PropType<Align>;
65
81
  };
66
82
  options: {
67
- type: import('vue').PropType<Option[]>;
83
+ type: import('vue').PropType<any[]>;
68
84
  };
69
85
  notReduce: {
70
86
  type: import('vue').PropType<boolean>;
71
87
  };
72
- prop: {
88
+ reduceValueProp: {
73
89
  type: import('vue').PropType<string>;
74
90
  default: string;
75
91
  };
76
- reduceFunction: {
77
- type: import('vue').PropType<(option: Option) => any>;
92
+ reduceValueMethod: {
93
+ type: import('vue').PropType<string>;
94
+ };
95
+ reduceValueFunction: {
96
+ type: import('vue').PropType<(option: Option) => OptionValue>;
97
+ };
98
+ notReduceValue: {
99
+ type: import('vue').PropType<boolean>;
100
+ };
101
+ reduceNameProp: {
102
+ type: import('vue').PropType<string>;
103
+ default: string;
104
+ };
105
+ reduceNameMethod: {
106
+ type: import('vue').PropType<string>;
107
+ };
108
+ reduceNameFunction: {
109
+ type: import('vue').PropType<(option: Option) => string>;
110
+ };
111
+ notReduceName: {
112
+ type: import('vue').PropType<boolean>;
78
113
  };
79
114
  sameWidthOptions: {
80
115
  type: import('vue').PropType<boolean>;
81
116
  };
82
117
  }>> & Readonly<{
83
- onChange?: (value: Option) => any;
118
+ onChange?: (val: any) => any;
84
119
  }>, {
85
- prop: string;
120
+ reduceValueProp: string;
121
+ reduceNameProp: string;
86
122
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
87
123
  export default _default;
@@ -1,9 +1,22 @@
1
1
  declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
3
  };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ type?: "outlined" | "flat";
6
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ type?: "outlined" | "flat";
8
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
9
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
10
  export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToRuntimeProps<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
7
20
  type __VLS_WithTemplateSlots<T, S> = T & {
8
21
  new (): {
9
22
  $slots: S;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cleek",
3
3
  "description": "Complete UX Vue library",
4
- "version": "2.10.41",
4
+ "version": "2.10.43",
5
5
  "author": "Quantic Onion",
6
6
  "license": "MIT",
7
7
  "repository": "",