@codemonster-ru/vueforge 0.14.0 → 0.16.0
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/README.md +78 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.ts.mjs +1469 -902
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/autocomplete.test.d.ts +1 -0
- package/dist/package/components/__tests__/datepicker.test.d.ts +1 -0
- package/dist/package/components/autocomplete.vue.d.ts +55 -0
- package/dist/package/components/datepicker.vue.d.ts +41 -0
- package/dist/package/config/theme-core.d.ts +93 -0
- package/dist/package/themes/default/components/autocomplete.d.ts +41 -0
- package/dist/package/themes/default/components/datepicker.d.ts +52 -0
- package/dist/package/themes/default/index.d.ts +91 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
type Variant = 'filled' | 'outlined';
|
|
3
|
+
interface Props {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
min?: string;
|
|
9
|
+
max?: string;
|
|
10
|
+
locale?: string;
|
|
11
|
+
firstDayOfWeek?: number;
|
|
12
|
+
variant?: Variant;
|
|
13
|
+
size?: Size;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
blur: (...args: any[]) => void;
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
|
+
focus: (...args: any[]) => void;
|
|
19
|
+
"update:modelValue": (...args: any[]) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
size: Size;
|
|
28
|
+
variant: Variant;
|
|
29
|
+
modelValue: string;
|
|
30
|
+
placeholder: string;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
min: string;
|
|
33
|
+
max: string;
|
|
34
|
+
locale: string;
|
|
35
|
+
firstDayOfWeek: number;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
37
|
+
root: HTMLDivElement;
|
|
38
|
+
control: HTMLButtonElement;
|
|
39
|
+
panel: HTMLDivElement;
|
|
40
|
+
}, HTMLDivElement>;
|
|
41
|
+
export default _default;
|
|
@@ -194,6 +194,97 @@ export type SelectTokens = {
|
|
|
194
194
|
fontSize?: string;
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
|
+
export type AutocompleteTokens = {
|
|
198
|
+
minWidth?: string;
|
|
199
|
+
fontSize?: string;
|
|
200
|
+
controlGap?: string;
|
|
201
|
+
chevronSize?: string;
|
|
202
|
+
padding?: string;
|
|
203
|
+
borderRadius?: string;
|
|
204
|
+
borderColor?: string;
|
|
205
|
+
backgroundColor?: string;
|
|
206
|
+
textColor?: string;
|
|
207
|
+
placeholderColor?: string;
|
|
208
|
+
focusBorderColor?: string;
|
|
209
|
+
hoverBorderColor?: string;
|
|
210
|
+
disabledOpacity?: string;
|
|
211
|
+
panelBackgroundColor?: string;
|
|
212
|
+
panelBorderColor?: string;
|
|
213
|
+
panelPadding?: string;
|
|
214
|
+
panelMaxHeight?: string;
|
|
215
|
+
panelRadiusOffset?: string;
|
|
216
|
+
panelShadow?: string;
|
|
217
|
+
focusRingShadow?: string;
|
|
218
|
+
optionPadding?: string;
|
|
219
|
+
optionBorderRadius?: string;
|
|
220
|
+
optionHoverBackgroundColor?: string;
|
|
221
|
+
optionActiveBackgroundColor?: string;
|
|
222
|
+
optionActiveTextColor?: string;
|
|
223
|
+
optionHighlightedBackgroundColor?: string;
|
|
224
|
+
emptyPadding?: string;
|
|
225
|
+
emptyColor?: string;
|
|
226
|
+
loadingPadding?: string;
|
|
227
|
+
loadingColor?: string;
|
|
228
|
+
small?: {
|
|
229
|
+
padding?: string;
|
|
230
|
+
fontSize?: string;
|
|
231
|
+
};
|
|
232
|
+
large?: {
|
|
233
|
+
padding?: string;
|
|
234
|
+
fontSize?: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
export type DatePickerTokens = {
|
|
238
|
+
minWidth?: string;
|
|
239
|
+
fontSize?: string;
|
|
240
|
+
controlGap?: string;
|
|
241
|
+
chevronSize?: string;
|
|
242
|
+
padding?: string;
|
|
243
|
+
borderRadius?: string;
|
|
244
|
+
borderColor?: string;
|
|
245
|
+
backgroundColor?: string;
|
|
246
|
+
textColor?: string;
|
|
247
|
+
placeholderColor?: string;
|
|
248
|
+
focusBorderColor?: string;
|
|
249
|
+
hoverBorderColor?: string;
|
|
250
|
+
disabledOpacity?: string;
|
|
251
|
+
panelWidth?: string;
|
|
252
|
+
panelBackgroundColor?: string;
|
|
253
|
+
panelBorderColor?: string;
|
|
254
|
+
panelPadding?: string;
|
|
255
|
+
panelRadiusOffset?: string;
|
|
256
|
+
panelShadow?: string;
|
|
257
|
+
focusRingShadow?: string;
|
|
258
|
+
headerGap?: string;
|
|
259
|
+
headerPadding?: string;
|
|
260
|
+
monthLabelFontSize?: string;
|
|
261
|
+
monthLabelFontWeight?: string;
|
|
262
|
+
navButtonSize?: string;
|
|
263
|
+
navButtonRadius?: string;
|
|
264
|
+
navButtonFontSize?: string;
|
|
265
|
+
weekdayColor?: string;
|
|
266
|
+
weekdayFontSize?: string;
|
|
267
|
+
weekdaysMarginBottom?: string;
|
|
268
|
+
daysGap?: string;
|
|
269
|
+
daySize?: string;
|
|
270
|
+
dayFontSize?: string;
|
|
271
|
+
dayBorderRadius?: string;
|
|
272
|
+
dayHoverBackgroundColor?: string;
|
|
273
|
+
daySelectedBackgroundColor?: string;
|
|
274
|
+
daySelectedTextColor?: string;
|
|
275
|
+
dayMutedColor?: string;
|
|
276
|
+
dayTodayBorderColor?: string;
|
|
277
|
+
small?: {
|
|
278
|
+
padding?: string;
|
|
279
|
+
fontSize?: string;
|
|
280
|
+
daySize?: string;
|
|
281
|
+
};
|
|
282
|
+
large?: {
|
|
283
|
+
padding?: string;
|
|
284
|
+
fontSize?: string;
|
|
285
|
+
daySize?: string;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
197
288
|
export type SwitchTokens = {
|
|
198
289
|
width?: string;
|
|
199
290
|
height?: string;
|
|
@@ -294,6 +385,8 @@ export type ThemeComponentTokens = {
|
|
|
294
385
|
modal?: ModalTokens;
|
|
295
386
|
popover?: PopoverTokens;
|
|
296
387
|
select?: SelectTokens;
|
|
388
|
+
autocomplete?: AutocompleteTokens;
|
|
389
|
+
datepicker?: DatePickerTokens;
|
|
297
390
|
switch?: SwitchTokens;
|
|
298
391
|
tooltip?: TooltipTokens;
|
|
299
392
|
toast?: ToastTokens;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
minWidth: string;
|
|
3
|
+
fontSize: string;
|
|
4
|
+
controlGap: string;
|
|
5
|
+
chevronSize: string;
|
|
6
|
+
padding: string;
|
|
7
|
+
borderRadius: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
textColor: string;
|
|
11
|
+
placeholderColor: string;
|
|
12
|
+
focusBorderColor: string;
|
|
13
|
+
hoverBorderColor: string;
|
|
14
|
+
disabledOpacity: string;
|
|
15
|
+
panelBackgroundColor: string;
|
|
16
|
+
panelBorderColor: string;
|
|
17
|
+
panelPadding: string;
|
|
18
|
+
panelMaxHeight: string;
|
|
19
|
+
panelRadiusOffset: string;
|
|
20
|
+
panelShadow: string;
|
|
21
|
+
focusRingShadow: string;
|
|
22
|
+
optionPadding: string;
|
|
23
|
+
optionBorderRadius: string;
|
|
24
|
+
optionHoverBackgroundColor: string;
|
|
25
|
+
optionActiveBackgroundColor: string;
|
|
26
|
+
optionActiveTextColor: string;
|
|
27
|
+
optionHighlightedBackgroundColor: string;
|
|
28
|
+
emptyPadding: string;
|
|
29
|
+
emptyColor: string;
|
|
30
|
+
loadingPadding: string;
|
|
31
|
+
loadingColor: string;
|
|
32
|
+
small: {
|
|
33
|
+
padding: string;
|
|
34
|
+
fontSize: string;
|
|
35
|
+
};
|
|
36
|
+
large: {
|
|
37
|
+
padding: string;
|
|
38
|
+
fontSize: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
minWidth: string;
|
|
3
|
+
fontSize: string;
|
|
4
|
+
controlGap: string;
|
|
5
|
+
chevronSize: string;
|
|
6
|
+
padding: string;
|
|
7
|
+
borderRadius: string;
|
|
8
|
+
borderColor: string;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
textColor: string;
|
|
11
|
+
placeholderColor: string;
|
|
12
|
+
focusBorderColor: string;
|
|
13
|
+
hoverBorderColor: string;
|
|
14
|
+
disabledOpacity: string;
|
|
15
|
+
panelWidth: string;
|
|
16
|
+
panelBackgroundColor: string;
|
|
17
|
+
panelBorderColor: string;
|
|
18
|
+
panelPadding: string;
|
|
19
|
+
panelRadiusOffset: string;
|
|
20
|
+
panelShadow: string;
|
|
21
|
+
focusRingShadow: string;
|
|
22
|
+
headerGap: string;
|
|
23
|
+
headerPadding: string;
|
|
24
|
+
monthLabelFontSize: string;
|
|
25
|
+
monthLabelFontWeight: string;
|
|
26
|
+
navButtonSize: string;
|
|
27
|
+
navButtonRadius: string;
|
|
28
|
+
navButtonFontSize: string;
|
|
29
|
+
weekdayColor: string;
|
|
30
|
+
weekdayFontSize: string;
|
|
31
|
+
weekdaysMarginBottom: string;
|
|
32
|
+
daysGap: string;
|
|
33
|
+
daySize: string;
|
|
34
|
+
dayFontSize: string;
|
|
35
|
+
dayBorderRadius: string;
|
|
36
|
+
dayHoverBackgroundColor: string;
|
|
37
|
+
daySelectedBackgroundColor: string;
|
|
38
|
+
daySelectedTextColor: string;
|
|
39
|
+
dayMutedColor: string;
|
|
40
|
+
dayTodayBorderColor: string;
|
|
41
|
+
small: {
|
|
42
|
+
padding: string;
|
|
43
|
+
fontSize: string;
|
|
44
|
+
daySize: string;
|
|
45
|
+
};
|
|
46
|
+
large: {
|
|
47
|
+
padding: string;
|
|
48
|
+
fontSize: string;
|
|
49
|
+
daySize: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default _default;
|
|
@@ -348,6 +348,97 @@ declare const _default: {
|
|
|
348
348
|
fontSize: string;
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
|
+
autocomplete: {
|
|
352
|
+
minWidth: string;
|
|
353
|
+
fontSize: string;
|
|
354
|
+
controlGap: string;
|
|
355
|
+
chevronSize: string;
|
|
356
|
+
padding: string;
|
|
357
|
+
borderRadius: string;
|
|
358
|
+
borderColor: string;
|
|
359
|
+
backgroundColor: string;
|
|
360
|
+
textColor: string;
|
|
361
|
+
placeholderColor: string;
|
|
362
|
+
focusBorderColor: string;
|
|
363
|
+
hoverBorderColor: string;
|
|
364
|
+
disabledOpacity: string;
|
|
365
|
+
panelBackgroundColor: string;
|
|
366
|
+
panelBorderColor: string;
|
|
367
|
+
panelPadding: string;
|
|
368
|
+
panelMaxHeight: string;
|
|
369
|
+
panelRadiusOffset: string;
|
|
370
|
+
panelShadow: string;
|
|
371
|
+
focusRingShadow: string;
|
|
372
|
+
optionPadding: string;
|
|
373
|
+
optionBorderRadius: string;
|
|
374
|
+
optionHoverBackgroundColor: string;
|
|
375
|
+
optionActiveBackgroundColor: string;
|
|
376
|
+
optionActiveTextColor: string;
|
|
377
|
+
optionHighlightedBackgroundColor: string;
|
|
378
|
+
emptyPadding: string;
|
|
379
|
+
emptyColor: string;
|
|
380
|
+
loadingPadding: string;
|
|
381
|
+
loadingColor: string;
|
|
382
|
+
small: {
|
|
383
|
+
padding: string;
|
|
384
|
+
fontSize: string;
|
|
385
|
+
};
|
|
386
|
+
large: {
|
|
387
|
+
padding: string;
|
|
388
|
+
fontSize: string;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
datepicker: {
|
|
392
|
+
minWidth: string;
|
|
393
|
+
fontSize: string;
|
|
394
|
+
controlGap: string;
|
|
395
|
+
chevronSize: string;
|
|
396
|
+
padding: string;
|
|
397
|
+
borderRadius: string;
|
|
398
|
+
borderColor: string;
|
|
399
|
+
backgroundColor: string;
|
|
400
|
+
textColor: string;
|
|
401
|
+
placeholderColor: string;
|
|
402
|
+
focusBorderColor: string;
|
|
403
|
+
hoverBorderColor: string;
|
|
404
|
+
disabledOpacity: string;
|
|
405
|
+
panelWidth: string;
|
|
406
|
+
panelBackgroundColor: string;
|
|
407
|
+
panelBorderColor: string;
|
|
408
|
+
panelPadding: string;
|
|
409
|
+
panelRadiusOffset: string;
|
|
410
|
+
panelShadow: string;
|
|
411
|
+
focusRingShadow: string;
|
|
412
|
+
headerGap: string;
|
|
413
|
+
headerPadding: string;
|
|
414
|
+
monthLabelFontSize: string;
|
|
415
|
+
monthLabelFontWeight: string;
|
|
416
|
+
navButtonSize: string;
|
|
417
|
+
navButtonRadius: string;
|
|
418
|
+
navButtonFontSize: string;
|
|
419
|
+
weekdayColor: string;
|
|
420
|
+
weekdayFontSize: string;
|
|
421
|
+
weekdaysMarginBottom: string;
|
|
422
|
+
daysGap: string;
|
|
423
|
+
daySize: string;
|
|
424
|
+
dayFontSize: string;
|
|
425
|
+
dayBorderRadius: string;
|
|
426
|
+
dayHoverBackgroundColor: string;
|
|
427
|
+
daySelectedBackgroundColor: string;
|
|
428
|
+
daySelectedTextColor: string;
|
|
429
|
+
dayMutedColor: string;
|
|
430
|
+
dayTodayBorderColor: string;
|
|
431
|
+
small: {
|
|
432
|
+
padding: string;
|
|
433
|
+
fontSize: string;
|
|
434
|
+
daySize: string;
|
|
435
|
+
};
|
|
436
|
+
large: {
|
|
437
|
+
padding: string;
|
|
438
|
+
fontSize: string;
|
|
439
|
+
daySize: string;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
351
442
|
checkbox: {
|
|
352
443
|
size: string;
|
|
353
444
|
gap: string;
|