@codemonster-ru/vueforge 0.33.0 → 0.35.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 +94 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.ts.mjs +2644 -2274
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/stepper.test.d.ts +1 -0
- package/dist/package/components/__tests__/timepicker.test.d.ts +1 -0
- package/dist/package/components/stepper.vue.d.ts +68 -0
- package/dist/package/components/timepicker.vue.d.ts +42 -0
- package/dist/package/config/theme-core.d.ts +81 -0
- package/dist/package/themes/default/components/stepper.d.ts +45 -0
- package/dist/package/themes/default/components/timepicker.d.ts +36 -0
- package/dist/package/themes/default/index.d.ts +79 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
type StepperOrientation = 'horizontal' | 'vertical';
|
|
2
|
+
type StepperSize = 'small' | 'normal' | 'large';
|
|
3
|
+
type StepperStatus = 'completed' | 'active' | 'upcoming' | 'error';
|
|
4
|
+
type StepperValue = string | number;
|
|
5
|
+
export interface StepperStep {
|
|
6
|
+
label?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
value?: StepperValue;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
status?: StepperStatus;
|
|
11
|
+
}
|
|
12
|
+
interface Props {
|
|
13
|
+
modelValue?: StepperValue;
|
|
14
|
+
steps?: Array<StepperStep>;
|
|
15
|
+
orientation?: StepperOrientation;
|
|
16
|
+
size?: StepperSize;
|
|
17
|
+
clickable?: boolean;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
ariaLabelledby?: string;
|
|
20
|
+
}
|
|
21
|
+
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
23
|
+
slots: {
|
|
24
|
+
indicator?(_: {
|
|
25
|
+
step: StepperStep;
|
|
26
|
+
index: number;
|
|
27
|
+
status: StepperStatus;
|
|
28
|
+
active: boolean;
|
|
29
|
+
completed: boolean;
|
|
30
|
+
upcoming: boolean;
|
|
31
|
+
error: boolean;
|
|
32
|
+
}): any;
|
|
33
|
+
step?(_: {
|
|
34
|
+
step: StepperStep;
|
|
35
|
+
index: number;
|
|
36
|
+
status: StepperStatus;
|
|
37
|
+
active: boolean;
|
|
38
|
+
completed: boolean;
|
|
39
|
+
upcoming: boolean;
|
|
40
|
+
error: boolean;
|
|
41
|
+
}): any;
|
|
42
|
+
};
|
|
43
|
+
refs: {};
|
|
44
|
+
rootEl: HTMLElement;
|
|
45
|
+
};
|
|
46
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
47
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
change: (...args: any[]) => void;
|
|
49
|
+
"update:modelValue": (...args: any[]) => void;
|
|
50
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
51
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
orientation: StepperOrientation;
|
|
55
|
+
size: StepperSize;
|
|
56
|
+
modelValue: StepperValue;
|
|
57
|
+
ariaLabel: string;
|
|
58
|
+
ariaLabelledby: string;
|
|
59
|
+
steps: Array<StepperStep>;
|
|
60
|
+
clickable: boolean;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
62
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
63
|
+
export default _default;
|
|
64
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
65
|
+
new (): {
|
|
66
|
+
$slots: S;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
type Variant = 'filled' | 'outlined';
|
|
3
|
+
type TimeFormat = '24h' | '12h';
|
|
4
|
+
interface Props {
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
min?: string;
|
|
10
|
+
max?: string;
|
|
11
|
+
step?: number;
|
|
12
|
+
format?: TimeFormat;
|
|
13
|
+
variant?: Variant;
|
|
14
|
+
size?: Size;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
blur: (...args: any[]) => void;
|
|
18
|
+
change: (...args: any[]) => void;
|
|
19
|
+
focus: (...args: any[]) => void;
|
|
20
|
+
"update:modelValue": (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
size: Size;
|
|
29
|
+
variant: Variant;
|
|
30
|
+
modelValue: string;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
readonly: boolean;
|
|
33
|
+
min: string;
|
|
34
|
+
max: string;
|
|
35
|
+
step: number;
|
|
36
|
+
format: TimeFormat;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
|
+
root: HTMLDivElement;
|
|
39
|
+
control: HTMLButtonElement;
|
|
40
|
+
panel: HTMLDivElement;
|
|
41
|
+
}, HTMLDivElement>;
|
|
42
|
+
export default _default;
|
|
@@ -485,6 +485,41 @@ export type DateRangePickerTokens = {
|
|
|
485
485
|
daySize?: string;
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
|
+
export type TimePickerTokens = {
|
|
489
|
+
minWidth?: string;
|
|
490
|
+
fontSize?: string;
|
|
491
|
+
controlGap?: string;
|
|
492
|
+
chevronSize?: string;
|
|
493
|
+
padding?: string;
|
|
494
|
+
borderRadius?: string;
|
|
495
|
+
borderColor?: string;
|
|
496
|
+
backgroundColor?: string;
|
|
497
|
+
textColor?: string;
|
|
498
|
+
placeholderColor?: string;
|
|
499
|
+
focusBorderColor?: string;
|
|
500
|
+
hoverBorderColor?: string;
|
|
501
|
+
disabledOpacity?: string;
|
|
502
|
+
panelBackgroundColor?: string;
|
|
503
|
+
panelBorderColor?: string;
|
|
504
|
+
panelPadding?: string;
|
|
505
|
+
panelMaxHeight?: string;
|
|
506
|
+
panelRadiusOffset?: string;
|
|
507
|
+
panelShadow?: string;
|
|
508
|
+
focusRingShadow?: string;
|
|
509
|
+
optionPadding?: string;
|
|
510
|
+
optionBorderRadius?: string;
|
|
511
|
+
optionHoverBackgroundColor?: string;
|
|
512
|
+
optionActiveBackgroundColor?: string;
|
|
513
|
+
optionActiveTextColor?: string;
|
|
514
|
+
small?: {
|
|
515
|
+
padding?: string;
|
|
516
|
+
fontSize?: string;
|
|
517
|
+
};
|
|
518
|
+
large?: {
|
|
519
|
+
padding?: string;
|
|
520
|
+
fontSize?: string;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
488
523
|
export type PaginationTokens = {
|
|
489
524
|
gap?: string;
|
|
490
525
|
itemMinWidth?: string;
|
|
@@ -669,6 +704,50 @@ export type SliderTokens = {
|
|
|
669
704
|
valueFontSize?: string;
|
|
670
705
|
};
|
|
671
706
|
};
|
|
707
|
+
export type StepperTokens = {
|
|
708
|
+
gap?: string;
|
|
709
|
+
itemGap?: string;
|
|
710
|
+
lineThickness?: string;
|
|
711
|
+
lineLength?: string;
|
|
712
|
+
lineColor?: string;
|
|
713
|
+
indicatorSize?: string;
|
|
714
|
+
indicatorBorderRadius?: string;
|
|
715
|
+
indicatorBorderWidth?: string;
|
|
716
|
+
indicatorFontSize?: string;
|
|
717
|
+
indicatorBackgroundColor?: string;
|
|
718
|
+
indicatorTextColor?: string;
|
|
719
|
+
indicatorBorderColor?: string;
|
|
720
|
+
activeIndicatorBackgroundColor?: string;
|
|
721
|
+
activeIndicatorTextColor?: string;
|
|
722
|
+
activeIndicatorBorderColor?: string;
|
|
723
|
+
completedIndicatorBackgroundColor?: string;
|
|
724
|
+
completedIndicatorTextColor?: string;
|
|
725
|
+
completedIndicatorBorderColor?: string;
|
|
726
|
+
errorIndicatorBackgroundColor?: string;
|
|
727
|
+
errorIndicatorTextColor?: string;
|
|
728
|
+
errorIndicatorBorderColor?: string;
|
|
729
|
+
labelFontSize?: string;
|
|
730
|
+
labelColor?: string;
|
|
731
|
+
descriptionFontSize?: string;
|
|
732
|
+
descriptionColor?: string;
|
|
733
|
+
disabledOpacity?: string;
|
|
734
|
+
small?: {
|
|
735
|
+
indicatorSize?: string;
|
|
736
|
+
indicatorFontSize?: string;
|
|
737
|
+
labelFontSize?: string;
|
|
738
|
+
descriptionFontSize?: string;
|
|
739
|
+
lineLength?: string;
|
|
740
|
+
itemGap?: string;
|
|
741
|
+
};
|
|
742
|
+
large?: {
|
|
743
|
+
indicatorSize?: string;
|
|
744
|
+
indicatorFontSize?: string;
|
|
745
|
+
labelFontSize?: string;
|
|
746
|
+
descriptionFontSize?: string;
|
|
747
|
+
lineLength?: string;
|
|
748
|
+
itemGap?: string;
|
|
749
|
+
};
|
|
750
|
+
};
|
|
672
751
|
export type DataTableTokens = {
|
|
673
752
|
borderColor?: string;
|
|
674
753
|
borderRadius?: string;
|
|
@@ -917,12 +996,14 @@ export type ThemeComponentTokens = {
|
|
|
917
996
|
multiselect?: MultiSelectTokens;
|
|
918
997
|
datepicker?: DatePickerTokens;
|
|
919
998
|
daterangepicker?: DateRangePickerTokens;
|
|
999
|
+
timepicker?: TimePickerTokens;
|
|
920
1000
|
pagination?: PaginationTokens;
|
|
921
1001
|
switch?: SwitchTokens;
|
|
922
1002
|
tooltip?: TooltipTokens;
|
|
923
1003
|
skeleton?: SkeletonTokens;
|
|
924
1004
|
progress?: ProgressTokens;
|
|
925
1005
|
slider?: SliderTokens;
|
|
1006
|
+
stepper?: StepperTokens;
|
|
926
1007
|
datatable?: DataTableTokens;
|
|
927
1008
|
toast?: ToastTokens;
|
|
928
1009
|
alert?: AlertTokens;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
gap: string;
|
|
3
|
+
itemGap: string;
|
|
4
|
+
lineThickness: string;
|
|
5
|
+
lineLength: string;
|
|
6
|
+
lineColor: string;
|
|
7
|
+
indicatorSize: string;
|
|
8
|
+
indicatorBorderRadius: string;
|
|
9
|
+
indicatorBorderWidth: string;
|
|
10
|
+
indicatorFontSize: string;
|
|
11
|
+
indicatorBackgroundColor: string;
|
|
12
|
+
indicatorTextColor: string;
|
|
13
|
+
indicatorBorderColor: string;
|
|
14
|
+
activeIndicatorBackgroundColor: string;
|
|
15
|
+
activeIndicatorTextColor: string;
|
|
16
|
+
activeIndicatorBorderColor: string;
|
|
17
|
+
completedIndicatorBackgroundColor: string;
|
|
18
|
+
completedIndicatorTextColor: string;
|
|
19
|
+
completedIndicatorBorderColor: string;
|
|
20
|
+
errorIndicatorBackgroundColor: string;
|
|
21
|
+
errorIndicatorTextColor: string;
|
|
22
|
+
errorIndicatorBorderColor: string;
|
|
23
|
+
labelFontSize: string;
|
|
24
|
+
labelColor: string;
|
|
25
|
+
descriptionFontSize: string;
|
|
26
|
+
descriptionColor: string;
|
|
27
|
+
disabledOpacity: string;
|
|
28
|
+
small: {
|
|
29
|
+
indicatorSize: string;
|
|
30
|
+
indicatorFontSize: string;
|
|
31
|
+
labelFontSize: string;
|
|
32
|
+
descriptionFontSize: string;
|
|
33
|
+
lineLength: string;
|
|
34
|
+
itemGap: string;
|
|
35
|
+
};
|
|
36
|
+
large: {
|
|
37
|
+
indicatorSize: string;
|
|
38
|
+
indicatorFontSize: string;
|
|
39
|
+
labelFontSize: string;
|
|
40
|
+
descriptionFontSize: string;
|
|
41
|
+
lineLength: string;
|
|
42
|
+
itemGap: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
small: {
|
|
28
|
+
padding: string;
|
|
29
|
+
fontSize: string;
|
|
30
|
+
};
|
|
31
|
+
large: {
|
|
32
|
+
padding: string;
|
|
33
|
+
fontSize: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
@@ -639,6 +639,41 @@ declare const _default: {
|
|
|
639
639
|
daySize: string;
|
|
640
640
|
};
|
|
641
641
|
};
|
|
642
|
+
timepicker: {
|
|
643
|
+
minWidth: string;
|
|
644
|
+
fontSize: string;
|
|
645
|
+
controlGap: string;
|
|
646
|
+
chevronSize: string;
|
|
647
|
+
padding: string;
|
|
648
|
+
borderRadius: string;
|
|
649
|
+
borderColor: string;
|
|
650
|
+
backgroundColor: string;
|
|
651
|
+
textColor: string;
|
|
652
|
+
placeholderColor: string;
|
|
653
|
+
focusBorderColor: string;
|
|
654
|
+
hoverBorderColor: string;
|
|
655
|
+
disabledOpacity: string;
|
|
656
|
+
panelBackgroundColor: string;
|
|
657
|
+
panelBorderColor: string;
|
|
658
|
+
panelPadding: string;
|
|
659
|
+
panelMaxHeight: string;
|
|
660
|
+
panelRadiusOffset: string;
|
|
661
|
+
panelShadow: string;
|
|
662
|
+
focusRingShadow: string;
|
|
663
|
+
optionPadding: string;
|
|
664
|
+
optionBorderRadius: string;
|
|
665
|
+
optionHoverBackgroundColor: string;
|
|
666
|
+
optionActiveBackgroundColor: string;
|
|
667
|
+
optionActiveTextColor: string;
|
|
668
|
+
small: {
|
|
669
|
+
padding: string;
|
|
670
|
+
fontSize: string;
|
|
671
|
+
};
|
|
672
|
+
large: {
|
|
673
|
+
padding: string;
|
|
674
|
+
fontSize: string;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
642
677
|
pagination: {
|
|
643
678
|
gap: string;
|
|
644
679
|
itemMinWidth: string;
|
|
@@ -1128,6 +1163,50 @@ declare const _default: {
|
|
|
1128
1163
|
valueFontSize: string;
|
|
1129
1164
|
};
|
|
1130
1165
|
};
|
|
1166
|
+
stepper: {
|
|
1167
|
+
gap: string;
|
|
1168
|
+
itemGap: string;
|
|
1169
|
+
lineThickness: string;
|
|
1170
|
+
lineLength: string;
|
|
1171
|
+
lineColor: string;
|
|
1172
|
+
indicatorSize: string;
|
|
1173
|
+
indicatorBorderRadius: string;
|
|
1174
|
+
indicatorBorderWidth: string;
|
|
1175
|
+
indicatorFontSize: string;
|
|
1176
|
+
indicatorBackgroundColor: string;
|
|
1177
|
+
indicatorTextColor: string;
|
|
1178
|
+
indicatorBorderColor: string;
|
|
1179
|
+
activeIndicatorBackgroundColor: string;
|
|
1180
|
+
activeIndicatorTextColor: string;
|
|
1181
|
+
activeIndicatorBorderColor: string;
|
|
1182
|
+
completedIndicatorBackgroundColor: string;
|
|
1183
|
+
completedIndicatorTextColor: string;
|
|
1184
|
+
completedIndicatorBorderColor: string;
|
|
1185
|
+
errorIndicatorBackgroundColor: string;
|
|
1186
|
+
errorIndicatorTextColor: string;
|
|
1187
|
+
errorIndicatorBorderColor: string;
|
|
1188
|
+
labelFontSize: string;
|
|
1189
|
+
labelColor: string;
|
|
1190
|
+
descriptionFontSize: string;
|
|
1191
|
+
descriptionColor: string;
|
|
1192
|
+
disabledOpacity: string;
|
|
1193
|
+
small: {
|
|
1194
|
+
indicatorSize: string;
|
|
1195
|
+
indicatorFontSize: string;
|
|
1196
|
+
labelFontSize: string;
|
|
1197
|
+
descriptionFontSize: string;
|
|
1198
|
+
lineLength: string;
|
|
1199
|
+
itemGap: string;
|
|
1200
|
+
};
|
|
1201
|
+
large: {
|
|
1202
|
+
indicatorSize: string;
|
|
1203
|
+
indicatorFontSize: string;
|
|
1204
|
+
labelFontSize: string;
|
|
1205
|
+
descriptionFontSize: string;
|
|
1206
|
+
lineLength: string;
|
|
1207
|
+
itemGap: string;
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1131
1210
|
};
|
|
1132
1211
|
colors: {
|
|
1133
1212
|
white: string;
|