straw-ui-vue 0.1.14 → 0.1.15
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/dist/components/st-button/types.d.ts +2 -0
- package/dist/components/st-cascade/index.d.ts +24 -24
- package/dist/components/st-cascade/st-cascade.d.ts +8 -8
- package/dist/components/st-cascade/types.d.ts +1 -0
- package/dist/components/st-checkbox/types.d.ts +2 -0
- package/dist/components/st-color-picker/index.d.ts +18 -22
- package/dist/components/st-color-picker/st-color-picker-panel.d.ts +0 -2
- package/dist/components/st-color-picker/st-color-picker.d.ts +6 -6
- package/dist/components/st-color-picker/types.d.ts +2 -0
- package/dist/components/st-date-picker/index.d.ts +20 -20
- package/dist/components/st-date-picker/st-date-picker-panel.d.ts +1 -1
- package/dist/components/st-date-picker/st-date-picker.d.ts +6 -6
- package/dist/components/st-date-picker/types.d.ts +8 -2
- package/dist/components/st-datetime-picker/index.d.ts +20 -20
- package/dist/components/st-datetime-picker/st-datetime-picker-panel.d.ts +1 -1
- package/dist/components/st-datetime-picker/st-datetime-picker.d.ts +6 -6
- package/dist/components/st-datetime-picker/types.d.ts +4 -2
- package/dist/components/st-dialog/index.d.ts +42 -164
- package/dist/components/st-dialog/st-dialog-body.d.ts +1 -4
- package/dist/components/st-dialog/st-dialog-close.d.ts +1 -3
- package/dist/components/st-dialog/st-dialog-container.d.ts +2 -3
- package/dist/components/st-dialog/st-dialog-footer.d.ts +1 -4
- package/dist/components/st-dialog/st-dialog-fullscreen.d.ts +1 -3
- package/dist/components/st-dialog/st-dialog-header.d.ts +1 -4
- package/dist/components/st-dialog/st-dialog-overlay.d.ts +1 -4
- package/dist/components/st-dialog/st-dialog-title.d.ts +0 -2
- package/dist/components/st-dialog/st-dialog.d.ts +2 -14
- package/dist/components/st-dialog/types.d.ts +13 -11
- package/dist/components/st-divider/types.d.ts +2 -0
- package/dist/components/st-drawer/index.d.ts +36 -36
- package/dist/components/st-drawer/st-drawer.d.ts +12 -12
- package/dist/components/st-drawer/types.d.ts +13 -11
- package/dist/components/st-empty/types.d.ts +2 -0
- package/dist/components/st-form-control/types.d.ts +2 -2
- package/dist/components/st-form-description/types.d.ts +2 -0
- package/dist/components/st-form-field/index.d.ts +6 -6
- package/dist/components/st-form-field/st-form-field.d.ts +2 -2
- package/dist/components/st-form-field/types.d.ts +2 -0
- package/dist/components/st-form-item/types.d.ts +2 -0
- package/dist/components/st-form-message/types.d.ts +2 -0
- package/dist/components/st-image/index.d.ts +38 -23
- package/dist/components/st-image/st-image.d.ts +14 -8
- package/dist/components/st-image/types.d.ts +5 -3
- package/dist/components/st-input/types.d.ts +1 -1
- package/dist/components/st-menu/types.d.ts +13 -11
- package/dist/components/st-pagination/types.d.ts +2 -0
- package/dist/components/st-popover/index.d.ts +9 -27
- package/dist/components/st-popover/st-popover-container.d.ts +1 -1
- package/dist/components/st-popover/st-popover.d.ts +1 -7
- package/dist/components/st-popover/types.d.ts +8 -6
- package/dist/components/st-radio/index.d.ts +6 -6
- package/dist/components/st-radio/st-radio-group.d.ts +1 -1
- package/dist/components/st-radio/types.d.ts +2 -0
- package/dist/components/st-scrollbar/types.d.ts +2 -0
- package/dist/components/st-segmented/types.d.ts +2 -0
- package/dist/components/st-select/index.d.ts +45 -45
- package/dist/components/st-select/st-select.d.ts +15 -15
- package/dist/components/st-select/types.d.ts +12 -10
- package/dist/components/st-sidebar/types.d.ts +1 -1
- package/dist/components/st-sidebar-item/types.d.ts +2 -0
- package/dist/components/st-skeleton/types.d.ts +2 -0
- package/dist/components/st-slider/index.d.ts +6 -6
- package/dist/components/st-slider/st-slider.d.ts +5 -5
- package/dist/components/st-slider/types.d.ts +3 -1
- package/dist/components/st-splitter/types.d.ts +1 -1
- package/dist/components/st-splitter-panel/types.d.ts +2 -0
- package/dist/components/st-switch/types.d.ts +2 -0
- package/dist/components/st-tabs/index.d.ts +30 -30
- package/dist/components/st-tabs/st-tabs-pane.d.ts +2 -2
- package/dist/components/st-tabs/st-tabs.d.ts +6 -6
- package/dist/components/st-tabs/types.d.ts +1 -1
- package/dist/components/st-tag/index.d.ts +6 -6
- package/dist/components/st-tag/st-tag.d.ts +2 -2
- package/dist/components/st-tag/types.d.ts +2 -0
- package/dist/components/st-time-picker/index.d.ts +18 -22
- package/dist/components/st-time-picker/st-time-picker-panel.d.ts +0 -2
- package/dist/components/st-time-picker/st-time-picker.d.ts +6 -6
- package/dist/components/st-time-picker/types.d.ts +4 -2
- package/dist/components/st-toggle/index.d.ts +24 -24
- package/dist/components/st-toggle/st-toggle.d.ts +8 -8
- package/dist/components/st-toggle/types.d.ts +2 -0
- package/dist/components/st-tooltip/index.d.ts +9 -9
- package/dist/components/st-tooltip/st-tooltip.d.ts +3 -3
- package/dist/components/st-tooltip/types.d.ts +11 -10
- package/dist/components/st-tree/index.d.ts +27 -27
- package/dist/components/st-tree/st-tree.d.ts +1 -0
- package/dist/components/st-tree/types.d.ts +2 -0
- package/dist/index.d.ts +0 -1
- package/dist/straw-ui.js +3326 -1383
- package/package.json +1 -1
- package/dist/components/types.d.ts +0 -4
- package/dist/utils/mergeStyles.d.ts +0 -11
|
@@ -18,8 +18,8 @@ export declare const StCascade: {
|
|
|
18
18
|
"update:multipleValue": (value: (string | number)[][]) => any;
|
|
19
19
|
}, import('vue').PublicProps, {
|
|
20
20
|
disabled: boolean;
|
|
21
|
-
triggerClass:
|
|
22
|
-
triggerStyle: StyleValue;
|
|
21
|
+
triggerClass: string;
|
|
22
|
+
triggerStyle: import('vue').StyleValue;
|
|
23
23
|
placeholder: string;
|
|
24
24
|
clearable: boolean;
|
|
25
25
|
labelKey: string;
|
|
@@ -28,12 +28,12 @@ export declare const StCascade: {
|
|
|
28
28
|
separator: string;
|
|
29
29
|
multiple: boolean;
|
|
30
30
|
options: import('./types.d.ts').StCascadeOption[];
|
|
31
|
-
panelClass:
|
|
32
|
-
panelStyle: StyleValue;
|
|
33
|
-
menuItemClass:
|
|
34
|
-
menuItemStyle: StyleValue;
|
|
35
|
-
popoverClass:
|
|
36
|
-
popoverStyle: StyleValue;
|
|
31
|
+
panelClass: string;
|
|
32
|
+
panelStyle: import('vue').StyleValue;
|
|
33
|
+
menuItemClass: string;
|
|
34
|
+
menuItemStyle: import('vue').StyleValue;
|
|
35
|
+
popoverClass: string;
|
|
36
|
+
popoverStyle: import('vue').StyleValue;
|
|
37
37
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
38
38
|
P: {};
|
|
39
39
|
B: {};
|
|
@@ -53,8 +53,8 @@ export declare const StCascade: {
|
|
|
53
53
|
"onUpdate:multipleValue"?: (value: (string | number)[][]) => any;
|
|
54
54
|
}>, import('./types.d.ts').StCascadeExpose, {}, {}, {}, {
|
|
55
55
|
disabled: boolean;
|
|
56
|
-
triggerClass:
|
|
57
|
-
triggerStyle: StyleValue;
|
|
56
|
+
triggerClass: string;
|
|
57
|
+
triggerStyle: import('vue').StyleValue;
|
|
58
58
|
placeholder: string;
|
|
59
59
|
clearable: boolean;
|
|
60
60
|
labelKey: string;
|
|
@@ -63,12 +63,12 @@ export declare const StCascade: {
|
|
|
63
63
|
separator: string;
|
|
64
64
|
multiple: boolean;
|
|
65
65
|
options: import('./types.d.ts').StCascadeOption[];
|
|
66
|
-
panelClass:
|
|
67
|
-
panelStyle: StyleValue;
|
|
68
|
-
menuItemClass:
|
|
69
|
-
menuItemStyle: StyleValue;
|
|
70
|
-
popoverClass:
|
|
71
|
-
popoverStyle: StyleValue;
|
|
66
|
+
panelClass: string;
|
|
67
|
+
panelStyle: import('vue').StyleValue;
|
|
68
|
+
menuItemClass: string;
|
|
69
|
+
menuItemStyle: import('vue').StyleValue;
|
|
70
|
+
popoverClass: string;
|
|
71
|
+
popoverStyle: import('vue').StyleValue;
|
|
72
72
|
}>;
|
|
73
73
|
__isFragment?: never;
|
|
74
74
|
__isTeleport?: never;
|
|
@@ -92,8 +92,8 @@ export declare const StCascade: {
|
|
|
92
92
|
"update:multipleValue": (value: (string | number)[][]) => any;
|
|
93
93
|
}, string, {
|
|
94
94
|
disabled: boolean;
|
|
95
|
-
triggerClass:
|
|
96
|
-
triggerStyle: StyleValue;
|
|
95
|
+
triggerClass: string;
|
|
96
|
+
triggerStyle: import('vue').StyleValue;
|
|
97
97
|
placeholder: string;
|
|
98
98
|
clearable: boolean;
|
|
99
99
|
labelKey: string;
|
|
@@ -102,12 +102,12 @@ export declare const StCascade: {
|
|
|
102
102
|
separator: string;
|
|
103
103
|
multiple: boolean;
|
|
104
104
|
options: import('./types.d.ts').StCascadeOption[];
|
|
105
|
-
panelClass:
|
|
106
|
-
panelStyle: StyleValue;
|
|
107
|
-
menuItemClass:
|
|
108
|
-
menuItemStyle: StyleValue;
|
|
109
|
-
popoverClass:
|
|
110
|
-
popoverStyle: StyleValue;
|
|
105
|
+
panelClass: string;
|
|
106
|
+
panelStyle: import('vue').StyleValue;
|
|
107
|
+
menuItemClass: string;
|
|
108
|
+
menuItemStyle: import('vue').StyleValue;
|
|
109
|
+
popoverClass: string;
|
|
110
|
+
popoverStyle: import('vue').StyleValue;
|
|
111
111
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
112
112
|
$slots: {
|
|
113
113
|
prefix?: (props: {}) => any;
|
|
@@ -33,8 +33,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCas
|
|
|
33
33
|
"onUpdate:multipleValue"?: (value: (string | number)[][]) => any;
|
|
34
34
|
}>, {
|
|
35
35
|
disabled: boolean;
|
|
36
|
-
triggerClass:
|
|
37
|
-
triggerStyle: StyleValue;
|
|
36
|
+
triggerClass: string;
|
|
37
|
+
triggerStyle: import('vue').StyleValue;
|
|
38
38
|
placeholder: string;
|
|
39
39
|
clearable: boolean;
|
|
40
40
|
labelKey: string;
|
|
@@ -43,12 +43,12 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCas
|
|
|
43
43
|
separator: string;
|
|
44
44
|
multiple: boolean;
|
|
45
45
|
options: StCascadeOption[];
|
|
46
|
-
panelClass:
|
|
47
|
-
panelStyle: StyleValue;
|
|
48
|
-
menuItemClass:
|
|
49
|
-
menuItemStyle: StyleValue;
|
|
50
|
-
popoverClass:
|
|
51
|
-
popoverStyle: StyleValue;
|
|
46
|
+
panelClass: string;
|
|
47
|
+
panelStyle: import('vue').StyleValue;
|
|
48
|
+
menuItemClass: string;
|
|
49
|
+
menuItemStyle: import('vue').StyleValue;
|
|
50
|
+
popoverClass: string;
|
|
51
|
+
popoverStyle: import('vue').StyleValue;
|
|
52
52
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
54
54
|
declare const _default: typeof __VLS_export;
|
|
@@ -15,15 +15,15 @@ export declare const StColorPicker: {
|
|
|
15
15
|
activeChange: (value: import('./types.d.ts').StColorObject) => any;
|
|
16
16
|
}, import('vue').PublicProps, {
|
|
17
17
|
disabled: boolean;
|
|
18
|
-
triggerClass:
|
|
19
|
-
triggerStyle: StyleValue;
|
|
18
|
+
triggerClass: string;
|
|
19
|
+
triggerStyle: import('vue').StyleValue;
|
|
20
20
|
placeholder: string;
|
|
21
21
|
modelValue: string;
|
|
22
22
|
clearable: boolean;
|
|
23
|
-
panelClass:
|
|
24
|
-
panelStyle: StyleValue;
|
|
25
|
-
popoverClass:
|
|
26
|
-
popoverStyle: StyleValue;
|
|
23
|
+
panelClass: string;
|
|
24
|
+
panelStyle: import('vue').StyleValue;
|
|
25
|
+
popoverClass: string;
|
|
26
|
+
popoverStyle: import('vue').StyleValue;
|
|
27
27
|
format: import('./types.d.ts').StColorFormat;
|
|
28
28
|
presetColors: import('./types.d.ts').StPresetColor[];
|
|
29
29
|
showAlpha: boolean;
|
|
@@ -44,15 +44,15 @@ export declare const StColorPicker: {
|
|
|
44
44
|
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
45
45
|
}>, import('./types.d.ts').StColorPickerExpose, {}, {}, {}, {
|
|
46
46
|
disabled: boolean;
|
|
47
|
-
triggerClass:
|
|
48
|
-
triggerStyle: StyleValue;
|
|
47
|
+
triggerClass: string;
|
|
48
|
+
triggerStyle: import('vue').StyleValue;
|
|
49
49
|
placeholder: string;
|
|
50
50
|
modelValue: string;
|
|
51
51
|
clearable: boolean;
|
|
52
|
-
panelClass:
|
|
53
|
-
panelStyle: StyleValue;
|
|
54
|
-
popoverClass:
|
|
55
|
-
popoverStyle: StyleValue;
|
|
52
|
+
panelClass: string;
|
|
53
|
+
panelStyle: import('vue').StyleValue;
|
|
54
|
+
popoverClass: string;
|
|
55
|
+
popoverStyle: import('vue').StyleValue;
|
|
56
56
|
format: import('./types.d.ts').StColorFormat;
|
|
57
57
|
presetColors: import('./types.d.ts').StPresetColor[];
|
|
58
58
|
showAlpha: boolean;
|
|
@@ -76,15 +76,15 @@ export declare const StColorPicker: {
|
|
|
76
76
|
activeChange: (value: import('./types.d.ts').StColorObject) => any;
|
|
77
77
|
}, string, {
|
|
78
78
|
disabled: boolean;
|
|
79
|
-
triggerClass:
|
|
80
|
-
triggerStyle: StyleValue;
|
|
79
|
+
triggerClass: string;
|
|
80
|
+
triggerStyle: import('vue').StyleValue;
|
|
81
81
|
placeholder: string;
|
|
82
82
|
modelValue: string;
|
|
83
83
|
clearable: boolean;
|
|
84
|
-
panelClass:
|
|
85
|
-
panelStyle: StyleValue;
|
|
86
|
-
popoverClass:
|
|
87
|
-
popoverStyle: StyleValue;
|
|
84
|
+
panelClass: string;
|
|
85
|
+
panelStyle: import('vue').StyleValue;
|
|
86
|
+
popoverClass: string;
|
|
87
|
+
popoverStyle: import('vue').StyleValue;
|
|
88
88
|
format: import('./types.d.ts').StColorFormat;
|
|
89
89
|
presetColors: import('./types.d.ts').StPresetColor[];
|
|
90
90
|
showAlpha: boolean;
|
|
@@ -101,8 +101,6 @@ export declare const StColorPicker: {
|
|
|
101
101
|
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
102
102
|
}>, {
|
|
103
103
|
modelValue: string;
|
|
104
|
-
panelClass: ClassValue;
|
|
105
|
-
panelStyle: StyleValue;
|
|
106
104
|
format: import('./types.d.ts').StColorFormat;
|
|
107
105
|
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
108
106
|
showAlpha: boolean;
|
|
@@ -120,8 +118,6 @@ export declare const StColorPickerPanel: import('vue').DefineComponent<import('.
|
|
|
120
118
|
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
121
119
|
}>, {
|
|
122
120
|
modelValue: string;
|
|
123
|
-
panelClass: ClassValue;
|
|
124
|
-
panelStyle: StyleValue;
|
|
125
121
|
format: import('./types.d.ts').StColorFormat;
|
|
126
122
|
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
127
123
|
showAlpha: boolean;
|
|
@@ -11,8 +11,6 @@ declare const __VLS_export: import('vue').DefineComponent<StColorPickerPanelProp
|
|
|
11
11
|
onActiveChange?: (value: StColorObject) => any;
|
|
12
12
|
}>, {
|
|
13
13
|
modelValue: string;
|
|
14
|
-
panelClass: ClassValue;
|
|
15
|
-
panelStyle: StyleValue;
|
|
16
14
|
format: import('./types.d.ts').StColorFormat;
|
|
17
15
|
presetColors: (StPresetColor | string)[];
|
|
18
16
|
showAlpha: boolean;
|
|
@@ -18,15 +18,15 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, StC
|
|
|
18
18
|
onActiveChange?: (value: StColorObject) => any;
|
|
19
19
|
}>, {
|
|
20
20
|
disabled: boolean;
|
|
21
|
-
triggerClass:
|
|
22
|
-
triggerStyle: StyleValue;
|
|
21
|
+
triggerClass: string;
|
|
22
|
+
triggerStyle: import('vue').StyleValue;
|
|
23
23
|
placeholder: string;
|
|
24
24
|
modelValue: string;
|
|
25
25
|
clearable: boolean;
|
|
26
|
-
panelClass:
|
|
27
|
-
panelStyle: StyleValue;
|
|
28
|
-
popoverClass:
|
|
29
|
-
popoverStyle: StyleValue;
|
|
26
|
+
panelClass: string;
|
|
27
|
+
panelStyle: import('vue').StyleValue;
|
|
28
|
+
popoverClass: string;
|
|
29
|
+
popoverStyle: import('vue').StyleValue;
|
|
30
30
|
format: import('./types.d.ts').StColorFormat;
|
|
31
31
|
presetColors: import('./types.d.ts').StPresetColor[];
|
|
32
32
|
showAlpha: boolean;
|
|
@@ -14,14 +14,14 @@ export declare const StDatePicker: {
|
|
|
14
14
|
}, import('vue').PublicProps, {
|
|
15
15
|
type: import('./types.d.ts').StDatePickerType;
|
|
16
16
|
disabled: boolean;
|
|
17
|
-
triggerClass:
|
|
18
|
-
triggerStyle: StyleValue;
|
|
17
|
+
triggerClass: string;
|
|
18
|
+
triggerStyle: import('vue').StyleValue;
|
|
19
19
|
placeholder: string;
|
|
20
20
|
clearable: boolean;
|
|
21
|
-
panelClass:
|
|
22
|
-
panelStyle: StyleValue;
|
|
23
|
-
popoverClass:
|
|
24
|
-
popoverStyle: StyleValue;
|
|
21
|
+
panelClass: string;
|
|
22
|
+
panelStyle: import('vue').StyleValue;
|
|
23
|
+
popoverClass: string;
|
|
24
|
+
popoverStyle: import('vue').StyleValue;
|
|
25
25
|
format: string;
|
|
26
26
|
disabledDate: (date: Date) => boolean;
|
|
27
27
|
startPlaceholder: string;
|
|
@@ -44,14 +44,14 @@ export declare const StDatePicker: {
|
|
|
44
44
|
}>, import('./types.d.ts').StDatePickerExpose, {}, {}, {}, {
|
|
45
45
|
type: import('./types.d.ts').StDatePickerType;
|
|
46
46
|
disabled: boolean;
|
|
47
|
-
triggerClass:
|
|
48
|
-
triggerStyle: StyleValue;
|
|
47
|
+
triggerClass: string;
|
|
48
|
+
triggerStyle: import('vue').StyleValue;
|
|
49
49
|
placeholder: string;
|
|
50
50
|
clearable: boolean;
|
|
51
|
-
panelClass:
|
|
52
|
-
panelStyle: StyleValue;
|
|
53
|
-
popoverClass:
|
|
54
|
-
popoverStyle: StyleValue;
|
|
51
|
+
panelClass: string;
|
|
52
|
+
panelStyle: import('vue').StyleValue;
|
|
53
|
+
popoverClass: string;
|
|
54
|
+
popoverStyle: import('vue').StyleValue;
|
|
55
55
|
format: string;
|
|
56
56
|
disabledDate: (date: Date) => boolean;
|
|
57
57
|
startPlaceholder: string;
|
|
@@ -76,14 +76,14 @@ export declare const StDatePicker: {
|
|
|
76
76
|
}, string, {
|
|
77
77
|
type: import('./types.d.ts').StDatePickerType;
|
|
78
78
|
disabled: boolean;
|
|
79
|
-
triggerClass:
|
|
80
|
-
triggerStyle: StyleValue;
|
|
79
|
+
triggerClass: string;
|
|
80
|
+
triggerStyle: import('vue').StyleValue;
|
|
81
81
|
placeholder: string;
|
|
82
82
|
clearable: boolean;
|
|
83
|
-
panelClass:
|
|
84
|
-
panelStyle: StyleValue;
|
|
85
|
-
popoverClass:
|
|
86
|
-
popoverStyle: StyleValue;
|
|
83
|
+
panelClass: string;
|
|
84
|
+
panelStyle: import('vue').StyleValue;
|
|
85
|
+
popoverClass: string;
|
|
86
|
+
popoverStyle: import('vue').StyleValue;
|
|
87
87
|
format: string;
|
|
88
88
|
disabledDate: (date: Date) => boolean;
|
|
89
89
|
startPlaceholder: string;
|
|
@@ -104,7 +104,7 @@ export declare const StDatePicker: {
|
|
|
104
104
|
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
105
105
|
}>, {
|
|
106
106
|
type: import('./types.d.ts').StDatePickerType;
|
|
107
|
-
style:
|
|
107
|
+
style: import('vue').StyleValue;
|
|
108
108
|
class: any;
|
|
109
109
|
selectedDate: Date | null;
|
|
110
110
|
selectedRange: import('./types.d.ts').StDateRange;
|
|
@@ -121,7 +121,7 @@ export declare const StDatePickerPanel: import('vue').DefineComponent<import('./
|
|
|
121
121
|
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
122
122
|
}>, {
|
|
123
123
|
type: import('./types.d.ts').StDatePickerType;
|
|
124
|
-
style:
|
|
124
|
+
style: import('vue').StyleValue;
|
|
125
125
|
class: any;
|
|
126
126
|
selectedDate: Date | null;
|
|
127
127
|
selectedRange: import('./types.d.ts').StDateRange;
|
|
@@ -9,7 +9,7 @@ declare const __VLS_export: import('vue').DefineComponent<StDatePickerPanelProps
|
|
|
9
9
|
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
10
10
|
}>, {
|
|
11
11
|
type: import('./types.d.ts').StDatePickerType;
|
|
12
|
-
style:
|
|
12
|
+
style: import('vue').StyleValue;
|
|
13
13
|
class: any;
|
|
14
14
|
selectedDate: Date | null;
|
|
15
15
|
selectedRange: import('./types.d.ts').StDateRange;
|
|
@@ -21,14 +21,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StDat
|
|
|
21
21
|
}>, {
|
|
22
22
|
type: import('./types.d.ts').StDatePickerType;
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
triggerClass:
|
|
25
|
-
triggerStyle: StyleValue;
|
|
24
|
+
triggerClass: string;
|
|
25
|
+
triggerStyle: import('vue').StyleValue;
|
|
26
26
|
placeholder: string;
|
|
27
27
|
clearable: boolean;
|
|
28
|
-
panelClass:
|
|
29
|
-
panelStyle: StyleValue;
|
|
30
|
-
popoverClass:
|
|
31
|
-
popoverStyle: StyleValue;
|
|
28
|
+
panelClass: string;
|
|
29
|
+
panelStyle: import('vue').StyleValue;
|
|
30
|
+
popoverClass: string;
|
|
31
|
+
popoverStyle: import('vue').StyleValue;
|
|
32
32
|
format: string;
|
|
33
33
|
disabledDate: (date: Date) => boolean;
|
|
34
34
|
startPlaceholder: string;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import type { ClassValue, StyleValue } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* DatePicker 类型定义
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
/**
|
|
2
8
|
* DatePicker 类型定义
|
|
3
9
|
*/
|
|
@@ -107,9 +113,9 @@ export interface StDatePickerPanelProps {
|
|
|
107
113
|
/** 禁用特定日期的函数 */
|
|
108
114
|
disabledDate?: (date: Date) => boolean;
|
|
109
115
|
/** 自定义类名 */
|
|
110
|
-
class?:
|
|
116
|
+
class?: ClassValue;
|
|
111
117
|
/** 自定义样式 */
|
|
112
|
-
style?:
|
|
118
|
+
style?: StyleValue;
|
|
113
119
|
}
|
|
114
120
|
|
|
115
121
|
/**
|
|
@@ -14,14 +14,14 @@ export declare const StDateTimePicker: {
|
|
|
14
14
|
}, import('vue').PublicProps, {
|
|
15
15
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
16
16
|
disabled: boolean;
|
|
17
|
-
triggerClass:
|
|
18
|
-
triggerStyle: StyleValue;
|
|
17
|
+
triggerClass: string;
|
|
18
|
+
triggerStyle: import('vue').StyleValue;
|
|
19
19
|
placeholder: string;
|
|
20
20
|
clearable: boolean;
|
|
21
|
-
panelClass:
|
|
22
|
-
panelStyle: StyleValue;
|
|
23
|
-
popoverClass:
|
|
24
|
-
popoverStyle: StyleValue;
|
|
21
|
+
panelClass: string;
|
|
22
|
+
panelStyle: import('vue').StyleValue;
|
|
23
|
+
popoverClass: string;
|
|
24
|
+
popoverStyle: import('vue').StyleValue;
|
|
25
25
|
format: string;
|
|
26
26
|
disabledDate: (date: Date) => boolean;
|
|
27
27
|
startPlaceholder: string;
|
|
@@ -45,14 +45,14 @@ export declare const StDateTimePicker: {
|
|
|
45
45
|
}>, import('./types.d.ts').StDateTimePickerExpose, {}, {}, {}, {
|
|
46
46
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
47
47
|
disabled: boolean;
|
|
48
|
-
triggerClass:
|
|
49
|
-
triggerStyle: StyleValue;
|
|
48
|
+
triggerClass: string;
|
|
49
|
+
triggerStyle: import('vue').StyleValue;
|
|
50
50
|
placeholder: string;
|
|
51
51
|
clearable: boolean;
|
|
52
|
-
panelClass:
|
|
53
|
-
panelStyle: StyleValue;
|
|
54
|
-
popoverClass:
|
|
55
|
-
popoverStyle: StyleValue;
|
|
52
|
+
panelClass: string;
|
|
53
|
+
panelStyle: import('vue').StyleValue;
|
|
54
|
+
popoverClass: string;
|
|
55
|
+
popoverStyle: import('vue').StyleValue;
|
|
56
56
|
format: string;
|
|
57
57
|
disabledDate: (date: Date) => boolean;
|
|
58
58
|
startPlaceholder: string;
|
|
@@ -78,14 +78,14 @@ export declare const StDateTimePicker: {
|
|
|
78
78
|
}, string, {
|
|
79
79
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
80
80
|
disabled: boolean;
|
|
81
|
-
triggerClass:
|
|
82
|
-
triggerStyle: StyleValue;
|
|
81
|
+
triggerClass: string;
|
|
82
|
+
triggerStyle: import('vue').StyleValue;
|
|
83
83
|
placeholder: string;
|
|
84
84
|
clearable: boolean;
|
|
85
|
-
panelClass:
|
|
86
|
-
panelStyle: StyleValue;
|
|
87
|
-
popoverClass:
|
|
88
|
-
popoverStyle: StyleValue;
|
|
85
|
+
panelClass: string;
|
|
86
|
+
panelStyle: import('vue').StyleValue;
|
|
87
|
+
popoverClass: string;
|
|
88
|
+
popoverStyle: import('vue').StyleValue;
|
|
89
89
|
format: string;
|
|
90
90
|
disabledDate: (date: Date) => boolean;
|
|
91
91
|
startPlaceholder: string;
|
|
@@ -107,7 +107,7 @@ export declare const StDateTimePicker: {
|
|
|
107
107
|
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
108
108
|
}>, {
|
|
109
109
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
110
|
-
style:
|
|
110
|
+
style: import('vue').StyleValue;
|
|
111
111
|
class: any;
|
|
112
112
|
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
113
113
|
disabledDate: (date: Date) => boolean;
|
|
@@ -125,7 +125,7 @@ export declare const StDateTimePickerPanel: import('vue').DefineComponent<import
|
|
|
125
125
|
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
126
126
|
}>, {
|
|
127
127
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
128
|
-
style:
|
|
128
|
+
style: import('vue').StyleValue;
|
|
129
129
|
class: any;
|
|
130
130
|
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
131
131
|
disabledDate: (date: Date) => boolean;
|
|
@@ -9,7 +9,7 @@ declare const __VLS_export: import('vue').DefineComponent<StDateTimePickerPanelP
|
|
|
9
9
|
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
10
10
|
}>, {
|
|
11
11
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
12
|
-
style:
|
|
12
|
+
style: import('vue').StyleValue;
|
|
13
13
|
class: any;
|
|
14
14
|
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
15
15
|
disabledDate: (date: Date) => boolean;
|
|
@@ -21,14 +21,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StDat
|
|
|
21
21
|
}>, {
|
|
22
22
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
triggerClass:
|
|
25
|
-
triggerStyle: StyleValue;
|
|
24
|
+
triggerClass: string;
|
|
25
|
+
triggerStyle: import('vue').StyleValue;
|
|
26
26
|
placeholder: string;
|
|
27
27
|
clearable: boolean;
|
|
28
|
-
panelClass:
|
|
29
|
-
panelStyle: StyleValue;
|
|
30
|
-
popoverClass:
|
|
31
|
-
popoverStyle: StyleValue;
|
|
28
|
+
panelClass: string;
|
|
29
|
+
panelStyle: import('vue').StyleValue;
|
|
30
|
+
popoverClass: string;
|
|
31
|
+
popoverStyle: import('vue').StyleValue;
|
|
32
32
|
format: string;
|
|
33
33
|
disabledDate: (date: Date) => boolean;
|
|
34
34
|
startPlaceholder: string;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ClassValue, StyleValue } from 'vue';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* DateTimePicker 类型定义
|
|
3
5
|
*/
|
|
@@ -110,9 +112,9 @@ export interface StDateTimePickerPanelProps {
|
|
|
110
112
|
/** 是否显示秒 */
|
|
111
113
|
showSeconds?: boolean;
|
|
112
114
|
/** 自定义类名 */
|
|
113
|
-
class?:
|
|
115
|
+
class?: ClassValue;
|
|
114
116
|
/** 自定义样式 */
|
|
115
|
-
style?:
|
|
117
|
+
style?: StyleValue;
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
/**
|