@codemonster-ru/vueforge 0.49.0 → 0.50.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 +64 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.ts.mjs +3211 -2804
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/datetimepicker.test.d.ts +1 -0
- package/dist/package/components/datetimepicker.vue.d.ts +46 -0
- package/dist/package/config/theme-core.d.ts +63 -0
- package/dist/package/themes/default/components/datetimepicker.d.ts +63 -0
- package/dist/package/themes/default/index.d.ts +62 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
locale?: string;
|
|
12
|
+
firstDayOfWeek?: number;
|
|
13
|
+
minuteStep?: number;
|
|
14
|
+
format?: TimeFormat;
|
|
15
|
+
variant?: Variant;
|
|
16
|
+
size?: Size;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
blur: (...args: any[]) => void;
|
|
20
|
+
change: (...args: any[]) => void;
|
|
21
|
+
focus: (...args: any[]) => void;
|
|
22
|
+
"update:modelValue": (...args: any[]) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
24
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
size: Size;
|
|
31
|
+
variant: Variant;
|
|
32
|
+
modelValue: string;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
readonly: boolean;
|
|
35
|
+
format: TimeFormat;
|
|
36
|
+
min: string;
|
|
37
|
+
max: string;
|
|
38
|
+
locale: string;
|
|
39
|
+
firstDayOfWeek: number;
|
|
40
|
+
minuteStep: number;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
|
+
root: HTMLDivElement;
|
|
43
|
+
control: HTMLButtonElement;
|
|
44
|
+
panel: HTMLDivElement;
|
|
45
|
+
}, HTMLDivElement>;
|
|
46
|
+
export default _default;
|
|
@@ -814,6 +814,68 @@ export type TimePickerTokens = {
|
|
|
814
814
|
fontSize?: string;
|
|
815
815
|
};
|
|
816
816
|
};
|
|
817
|
+
export type DateTimePickerTokens = {
|
|
818
|
+
minWidth?: string;
|
|
819
|
+
fontSize?: string;
|
|
820
|
+
controlGap?: string;
|
|
821
|
+
chevronSize?: string;
|
|
822
|
+
padding?: string;
|
|
823
|
+
borderRadius?: string;
|
|
824
|
+
borderColor?: string;
|
|
825
|
+
backgroundColor?: string;
|
|
826
|
+
textColor?: string;
|
|
827
|
+
placeholderColor?: string;
|
|
828
|
+
focusBorderColor?: string;
|
|
829
|
+
hoverBorderColor?: string;
|
|
830
|
+
disabledOpacity?: string;
|
|
831
|
+
panelWidth?: string;
|
|
832
|
+
panelBackgroundColor?: string;
|
|
833
|
+
panelBorderColor?: string;
|
|
834
|
+
panelPadding?: string;
|
|
835
|
+
panelRadiusOffset?: string;
|
|
836
|
+
panelShadow?: string;
|
|
837
|
+
panelGap?: string;
|
|
838
|
+
focusRingShadow?: string;
|
|
839
|
+
headerGap?: string;
|
|
840
|
+
headerPadding?: string;
|
|
841
|
+
monthLabelFontSize?: string;
|
|
842
|
+
monthLabelFontWeight?: string;
|
|
843
|
+
navButtonSize?: string;
|
|
844
|
+
navButtonRadius?: string;
|
|
845
|
+
navButtonFontSize?: string;
|
|
846
|
+
weekdayColor?: string;
|
|
847
|
+
weekdayFontSize?: string;
|
|
848
|
+
weekdaysMarginBottom?: string;
|
|
849
|
+
daysGap?: string;
|
|
850
|
+
daySize?: string;
|
|
851
|
+
dayFontSize?: string;
|
|
852
|
+
dayBorderRadius?: string;
|
|
853
|
+
dayHoverBackgroundColor?: string;
|
|
854
|
+
daySelectedBackgroundColor?: string;
|
|
855
|
+
daySelectedTextColor?: string;
|
|
856
|
+
dayMutedColor?: string;
|
|
857
|
+
dayTodayBorderColor?: string;
|
|
858
|
+
timesWidth?: string;
|
|
859
|
+
timesMaxHeight?: string;
|
|
860
|
+
timesPaddingLeft?: string;
|
|
861
|
+
timesBorderColor?: string;
|
|
862
|
+
timeOptionPadding?: string;
|
|
863
|
+
timeOptionBorderRadius?: string;
|
|
864
|
+
timeOptionFontSize?: string;
|
|
865
|
+
timeOptionHoverBackgroundColor?: string;
|
|
866
|
+
timeOptionActiveBackgroundColor?: string;
|
|
867
|
+
timeOptionActiveTextColor?: string;
|
|
868
|
+
small?: {
|
|
869
|
+
padding?: string;
|
|
870
|
+
fontSize?: string;
|
|
871
|
+
daySize?: string;
|
|
872
|
+
};
|
|
873
|
+
large?: {
|
|
874
|
+
padding?: string;
|
|
875
|
+
fontSize?: string;
|
|
876
|
+
daySize?: string;
|
|
877
|
+
};
|
|
878
|
+
};
|
|
817
879
|
export type PaginationTokens = {
|
|
818
880
|
gap?: string;
|
|
819
881
|
itemMinWidth?: string;
|
|
@@ -1404,6 +1466,7 @@ export type ThemeComponentTokens = {
|
|
|
1404
1466
|
datepicker?: DatePickerTokens;
|
|
1405
1467
|
daterangepicker?: DateRangePickerTokens;
|
|
1406
1468
|
timepicker?: TimePickerTokens;
|
|
1469
|
+
datetimepicker?: DateTimePickerTokens;
|
|
1407
1470
|
pagination?: PaginationTokens;
|
|
1408
1471
|
switch?: SwitchTokens;
|
|
1409
1472
|
tooltip?: TooltipTokens;
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
panelGap: string;
|
|
22
|
+
focusRingShadow: string;
|
|
23
|
+
headerGap: string;
|
|
24
|
+
headerPadding: string;
|
|
25
|
+
monthLabelFontSize: string;
|
|
26
|
+
monthLabelFontWeight: string;
|
|
27
|
+
navButtonSize: string;
|
|
28
|
+
navButtonRadius: string;
|
|
29
|
+
navButtonFontSize: string;
|
|
30
|
+
weekdayColor: string;
|
|
31
|
+
weekdayFontSize: string;
|
|
32
|
+
weekdaysMarginBottom: string;
|
|
33
|
+
daysGap: string;
|
|
34
|
+
daySize: string;
|
|
35
|
+
dayFontSize: string;
|
|
36
|
+
dayBorderRadius: string;
|
|
37
|
+
dayHoverBackgroundColor: string;
|
|
38
|
+
daySelectedBackgroundColor: string;
|
|
39
|
+
daySelectedTextColor: string;
|
|
40
|
+
dayMutedColor: string;
|
|
41
|
+
dayTodayBorderColor: string;
|
|
42
|
+
timesWidth: string;
|
|
43
|
+
timesMaxHeight: string;
|
|
44
|
+
timesPaddingLeft: string;
|
|
45
|
+
timesBorderColor: string;
|
|
46
|
+
timeOptionPadding: string;
|
|
47
|
+
timeOptionBorderRadius: string;
|
|
48
|
+
timeOptionFontSize: string;
|
|
49
|
+
timeOptionHoverBackgroundColor: string;
|
|
50
|
+
timeOptionActiveBackgroundColor: string;
|
|
51
|
+
timeOptionActiveTextColor: string;
|
|
52
|
+
small: {
|
|
53
|
+
padding: string;
|
|
54
|
+
fontSize: string;
|
|
55
|
+
daySize: string;
|
|
56
|
+
};
|
|
57
|
+
large: {
|
|
58
|
+
padding: string;
|
|
59
|
+
fontSize: string;
|
|
60
|
+
daySize: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export default _default;
|
|
@@ -968,6 +968,68 @@ declare const _default: {
|
|
|
968
968
|
fontSize: string;
|
|
969
969
|
};
|
|
970
970
|
};
|
|
971
|
+
datetimepicker: {
|
|
972
|
+
minWidth: string;
|
|
973
|
+
fontSize: string;
|
|
974
|
+
controlGap: string;
|
|
975
|
+
chevronSize: string;
|
|
976
|
+
padding: string;
|
|
977
|
+
borderRadius: string;
|
|
978
|
+
borderColor: string;
|
|
979
|
+
backgroundColor: string;
|
|
980
|
+
textColor: string;
|
|
981
|
+
placeholderColor: string;
|
|
982
|
+
focusBorderColor: string;
|
|
983
|
+
hoverBorderColor: string;
|
|
984
|
+
disabledOpacity: string;
|
|
985
|
+
panelWidth: string;
|
|
986
|
+
panelBackgroundColor: string;
|
|
987
|
+
panelBorderColor: string;
|
|
988
|
+
panelPadding: string;
|
|
989
|
+
panelRadiusOffset: string;
|
|
990
|
+
panelShadow: string;
|
|
991
|
+
panelGap: string;
|
|
992
|
+
focusRingShadow: string;
|
|
993
|
+
headerGap: string;
|
|
994
|
+
headerPadding: string;
|
|
995
|
+
monthLabelFontSize: string;
|
|
996
|
+
monthLabelFontWeight: string;
|
|
997
|
+
navButtonSize: string;
|
|
998
|
+
navButtonRadius: string;
|
|
999
|
+
navButtonFontSize: string;
|
|
1000
|
+
weekdayColor: string;
|
|
1001
|
+
weekdayFontSize: string;
|
|
1002
|
+
weekdaysMarginBottom: string;
|
|
1003
|
+
daysGap: string;
|
|
1004
|
+
daySize: string;
|
|
1005
|
+
dayFontSize: string;
|
|
1006
|
+
dayBorderRadius: string;
|
|
1007
|
+
dayHoverBackgroundColor: string;
|
|
1008
|
+
daySelectedBackgroundColor: string;
|
|
1009
|
+
daySelectedTextColor: string;
|
|
1010
|
+
dayMutedColor: string;
|
|
1011
|
+
dayTodayBorderColor: string;
|
|
1012
|
+
timesWidth: string;
|
|
1013
|
+
timesMaxHeight: string;
|
|
1014
|
+
timesPaddingLeft: string;
|
|
1015
|
+
timesBorderColor: string;
|
|
1016
|
+
timeOptionPadding: string;
|
|
1017
|
+
timeOptionBorderRadius: string;
|
|
1018
|
+
timeOptionFontSize: string;
|
|
1019
|
+
timeOptionHoverBackgroundColor: string;
|
|
1020
|
+
timeOptionActiveBackgroundColor: string;
|
|
1021
|
+
timeOptionActiveTextColor: string;
|
|
1022
|
+
small: {
|
|
1023
|
+
padding: string;
|
|
1024
|
+
fontSize: string;
|
|
1025
|
+
daySize: string;
|
|
1026
|
+
};
|
|
1027
|
+
large: {
|
|
1028
|
+
padding: string;
|
|
1029
|
+
fontSize: string;
|
|
1030
|
+
daySize: string;
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
971
1033
|
pagination: {
|
|
972
1034
|
gap: string;
|
|
973
1035
|
itemMinWidth: string;
|