@codemonster-ru/vueforge 0.34.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 +47 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.ts.mjs +2281 -2056
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/timepicker.test.d.ts +1 -0
- package/dist/package/components/timepicker.vue.d.ts +42 -0
- package/dist/package/config/theme-core.d.ts +36 -0
- package/dist/package/themes/default/components/timepicker.d.ts +36 -0
- package/dist/package/themes/default/index.d.ts +35 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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;
|
|
@@ -961,6 +996,7 @@ export type ThemeComponentTokens = {
|
|
|
961
996
|
multiselect?: MultiSelectTokens;
|
|
962
997
|
datepicker?: DatePickerTokens;
|
|
963
998
|
daterangepicker?: DateRangePickerTokens;
|
|
999
|
+
timepicker?: TimePickerTokens;
|
|
964
1000
|
pagination?: PaginationTokens;
|
|
965
1001
|
switch?: SwitchTokens;
|
|
966
1002
|
tooltip?: TooltipTokens;
|
|
@@ -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;
|