cleek 2.10.2 → 2.10.4

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,100 +1,230 @@
1
- import { Align, AlignVertical, Color, Icon, IconPack, InputType, Layout, SizeInCSS, WidthBreaks } from '../types/cleek-options';
1
+ import { Align, AlignVertical, Icon, IconPack, InputType, Layout, WidthBreaks } from '../types/cleek-options';
2
2
 
3
- declare function setFocus(): void;
4
- declare function setSelect(): void;
5
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
- modelValue: string | number;
7
- type?: InputType;
8
- autocomplete?: boolean;
9
- disabled?: boolean;
10
- placeholder?: string;
11
- plusMinusButtons?: boolean;
12
- min?: number;
13
- max?: number;
14
- label?: string;
15
- labelAlign?: Align;
16
- icon?: Icon;
17
- iconRight?: Icon;
18
- iconPack?: IconPack;
19
- iconColor?: Color;
20
- group?: Align;
21
- groupVertical?: AlignVertical;
22
- widthBreaks?: WidthBreaks;
23
- fontSize: SizeInCSS;
24
- size?: "s" | "m" | "l" | "xl";
25
- hideBorder?: boolean;
26
- width?: string;
27
- align?: Align;
28
- layout?: Layout;
29
- borderColor?: Color;
30
- textColor?: Color;
31
- optional?: boolean;
32
- autofocus?: boolean;
33
- capitalize?: boolean;
34
- toUpperCase?: boolean;
35
- autoSelect?: boolean;
36
- delayChangeTime?: number;
37
- justInteger?: boolean;
38
- }>, {
39
- setFocus: typeof setFocus;
40
- setSelect: typeof setSelect;
3
+ type Value = string | number;
4
+ declare function focus(): void;
5
+ declare function select(): void;
6
+ declare const _default: import('vue').DefineComponent<{
7
+ modelValue: {
8
+ required: true;
9
+ type: import('vue').PropType<Value>;
10
+ };
11
+ group: {
12
+ type: import('vue').PropType<Align>;
13
+ };
14
+ groupVertical: {
15
+ type: import('vue').PropType<AlignVertical>;
16
+ };
17
+ widthBreaks: {
18
+ type: import('vue').PropType<WidthBreaks>;
19
+ };
20
+ width: {
21
+ type: import('vue').PropType<string>;
22
+ };
23
+ icon: {
24
+ type: import('vue').PropType<Icon>;
25
+ };
26
+ iconPack: {
27
+ type: import('vue').PropType<IconPack>;
28
+ };
29
+ size: {
30
+ type: import('vue').PropType<"s" | "m" | "l" | "xl">;
31
+ default: string;
32
+ };
33
+ toUpperCase: {
34
+ type: import('vue').PropType<boolean>;
35
+ };
36
+ type: {
37
+ type: import('vue').PropType<InputType>;
38
+ default: string;
39
+ };
40
+ label: {
41
+ type: import('vue').PropType<string>;
42
+ };
43
+ disabled: {
44
+ type: import('vue').PropType<boolean>;
45
+ };
46
+ textColor: {
47
+ type: import('vue').PropType<string>;
48
+ };
49
+ align: {
50
+ type: import('vue').PropType<Align>;
51
+ };
52
+ layout: {
53
+ type: import('vue').PropType<Layout>;
54
+ };
55
+ iconRight: {
56
+ type: import('vue').PropType<Icon>;
57
+ };
58
+ labelAlign: {
59
+ type: import('vue').PropType<Align>;
60
+ };
61
+ borderColor: {
62
+ type: import('vue').PropType<string>;
63
+ };
64
+ autocomplete: {
65
+ type: import('vue').PropType<boolean>;
66
+ };
67
+ placeholder: {
68
+ type: import('vue').PropType<string>;
69
+ };
70
+ plusMinusButtons: {
71
+ type: import('vue').PropType<boolean>;
72
+ };
73
+ min: {
74
+ type: import('vue').PropType<number>;
75
+ };
76
+ max: {
77
+ type: import('vue').PropType<number>;
78
+ };
79
+ iconColor: {
80
+ type: import('vue').PropType<string>;
81
+ };
82
+ fontSize: {
83
+ type: import('vue').PropType<string>;
84
+ };
85
+ hideBorder: {
86
+ type: import('vue').PropType<boolean>;
87
+ };
88
+ optional: {
89
+ type: import('vue').PropType<boolean>;
90
+ };
91
+ autofocus: {
92
+ type: import('vue').PropType<boolean>;
93
+ };
94
+ capitalize: {
95
+ type: import('vue').PropType<boolean>;
96
+ };
97
+ autoSelect: {
98
+ type: import('vue').PropType<boolean>;
99
+ };
100
+ delayChangeTime: {
101
+ type: import('vue').PropType<number>;
102
+ default: number;
103
+ };
104
+ justInteger: {
105
+ type: import('vue').PropType<boolean>;
106
+ };
107
+ }, {
108
+ focus: typeof focus;
109
+ select: typeof select;
41
110
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
- "update:modelValue": (value: string | number) => void;
43
111
  click: (event: Event) => void;
44
112
  input: (event: Event) => void;
45
- change: (event: Event) => void;
46
- focus: (event: Event) => void;
47
113
  blur: (event: Event) => void;
48
- delayChange: (value: string | number) => void;
49
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
50
- modelValue: string | number;
51
- type?: InputType;
52
- autocomplete?: boolean;
53
- disabled?: boolean;
54
- placeholder?: string;
55
- plusMinusButtons?: boolean;
56
- min?: number;
57
- max?: number;
58
- label?: string;
59
- labelAlign?: Align;
60
- icon?: Icon;
61
- iconRight?: Icon;
62
- iconPack?: IconPack;
63
- iconColor?: Color;
64
- group?: Align;
65
- groupVertical?: AlignVertical;
66
- widthBreaks?: WidthBreaks;
67
- fontSize: SizeInCSS;
68
- size?: "s" | "m" | "l" | "xl";
69
- hideBorder?: boolean;
70
- width?: string;
71
- align?: Align;
72
- layout?: Layout;
73
- borderColor?: Color;
74
- textColor?: Color;
75
- optional?: boolean;
76
- autofocus?: boolean;
77
- capitalize?: boolean;
78
- toUpperCase?: boolean;
79
- autoSelect?: boolean;
80
- delayChangeTime?: number;
81
- justInteger?: boolean;
82
- }>>> & {
114
+ change: (value: Value) => void;
115
+ focus: (event: Event) => void;
116
+ changeDelayed: (value: Value) => void;
117
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
118
+ modelValue: {
119
+ required: true;
120
+ type: import('vue').PropType<Value>;
121
+ };
122
+ group: {
123
+ type: import('vue').PropType<Align>;
124
+ };
125
+ groupVertical: {
126
+ type: import('vue').PropType<AlignVertical>;
127
+ };
128
+ widthBreaks: {
129
+ type: import('vue').PropType<WidthBreaks>;
130
+ };
131
+ width: {
132
+ type: import('vue').PropType<string>;
133
+ };
134
+ icon: {
135
+ type: import('vue').PropType<Icon>;
136
+ };
137
+ iconPack: {
138
+ type: import('vue').PropType<IconPack>;
139
+ };
140
+ size: {
141
+ type: import('vue').PropType<"s" | "m" | "l" | "xl">;
142
+ default: string;
143
+ };
144
+ toUpperCase: {
145
+ type: import('vue').PropType<boolean>;
146
+ };
147
+ type: {
148
+ type: import('vue').PropType<InputType>;
149
+ default: string;
150
+ };
151
+ label: {
152
+ type: import('vue').PropType<string>;
153
+ };
154
+ disabled: {
155
+ type: import('vue').PropType<boolean>;
156
+ };
157
+ textColor: {
158
+ type: import('vue').PropType<string>;
159
+ };
160
+ align: {
161
+ type: import('vue').PropType<Align>;
162
+ };
163
+ layout: {
164
+ type: import('vue').PropType<Layout>;
165
+ };
166
+ iconRight: {
167
+ type: import('vue').PropType<Icon>;
168
+ };
169
+ labelAlign: {
170
+ type: import('vue').PropType<Align>;
171
+ };
172
+ borderColor: {
173
+ type: import('vue').PropType<string>;
174
+ };
175
+ autocomplete: {
176
+ type: import('vue').PropType<boolean>;
177
+ };
178
+ placeholder: {
179
+ type: import('vue').PropType<string>;
180
+ };
181
+ plusMinusButtons: {
182
+ type: import('vue').PropType<boolean>;
183
+ };
184
+ min: {
185
+ type: import('vue').PropType<number>;
186
+ };
187
+ max: {
188
+ type: import('vue').PropType<number>;
189
+ };
190
+ iconColor: {
191
+ type: import('vue').PropType<string>;
192
+ };
193
+ fontSize: {
194
+ type: import('vue').PropType<string>;
195
+ };
196
+ hideBorder: {
197
+ type: import('vue').PropType<boolean>;
198
+ };
199
+ optional: {
200
+ type: import('vue').PropType<boolean>;
201
+ };
202
+ autofocus: {
203
+ type: import('vue').PropType<boolean>;
204
+ };
205
+ capitalize: {
206
+ type: import('vue').PropType<boolean>;
207
+ };
208
+ autoSelect: {
209
+ type: import('vue').PropType<boolean>;
210
+ };
211
+ delayChangeTime: {
212
+ type: import('vue').PropType<number>;
213
+ default: number;
214
+ };
215
+ justInteger: {
216
+ type: import('vue').PropType<boolean>;
217
+ };
218
+ }>> & {
83
219
  onClick?: (event: Event) => any;
84
220
  onFocus?: (event: Event) => any;
85
221
  onBlur?: (event: Event) => any;
86
- onChange?: (event: Event) => any;
222
+ onChange?: (value: Value) => any;
87
223
  onInput?: (event: Event) => any;
88
- "onUpdate:modelValue"?: (value: string | number) => any;
89
- onDelayChange?: (value: string | number) => any;
90
- }, {}, {}>;
224
+ onChangeDelayed?: (value: Value) => any;
225
+ }, {
226
+ size: "s" | "m" | "l" | "xl";
227
+ type: InputType;
228
+ delayChangeTime: number;
229
+ }, {}>;
91
230
  export default _default;
92
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
93
- type __VLS_TypePropsToRuntimeProps<T> = {
94
- [K in keyof T]-?: {} extends Pick<T, K> ? {
95
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
96
- } : {
97
- type: import('vue').PropType<T[K]>;
98
- required: true;
99
- };
100
- };
@@ -1,6 +1,7 @@
1
1
  import { Align, Layout } from '../../../types/cleek-options';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ totalPages: number;
4
5
  currentPage: number;
5
6
  align: Align;
6
7
  itemsPerPage: number;
@@ -10,6 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimePr
10
11
  refreshList: () => void;
11
12
  "update:currentPage": (value: number) => void;
12
13
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ totalPages: number;
13
15
  currentPage: number;
14
16
  align: Align;
15
17
  itemsPerPage: number;
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.2",
4
+ "version": "2.10.4",
5
5
  "author": "Quantic Onion",
6
6
  "license": "MIT",
7
7
  "repository": "",