straw-ui-vue 0.1.21 → 0.1.22
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-cascade/index.d.ts +3 -11
- package/dist/components/st-cascade/st-cascade-panel.d.ts +2 -5
- package/dist/components/st-cascade/st-cascade.d.ts +2 -7
- package/dist/components/st-cascade/types.d.ts +10 -0
- package/dist/components/st-checkbox/useCheckboxGroupState.d.ts +2 -0
- package/dist/components/st-color-picker/index.d.ts +94 -12
- package/dist/components/st-color-picker/st-color-picker-panel.d.ts +9 -2
- package/dist/components/st-color-picker/st-color-picker.d.ts +9 -2
- package/dist/components/st-color-picker/types.d.ts +16 -0
- package/dist/components/st-date-picker/index.d.ts +85 -19
- package/dist/components/st-date-picker/st-date-picker-panel.d.ts +9 -4
- package/dist/components/st-date-picker/st-date-picker.d.ts +2 -5
- package/dist/components/st-date-picker/types.d.ts +18 -4
- package/dist/components/st-datetime-picker/index.d.ts +89 -19
- package/dist/components/st-datetime-picker/st-datetime-picker-panel.d.ts +9 -4
- package/dist/components/st-datetime-picker/st-datetime-picker.d.ts +2 -5
- package/dist/components/st-datetime-picker/types.d.ts +18 -4
- package/dist/components/st-dialog/useDialogState.d.ts +2 -0
- package/dist/components/st-divider/useDividerState.d.ts +2 -0
- package/dist/components/st-drawer/useDrawerState.d.ts +2 -0
- package/dist/components/st-empty/types.d.ts +5 -0
- package/dist/components/st-form-control/types.d.ts +6 -8
- package/dist/components/st-form-description/index.d.ts +1 -3
- package/dist/components/st-form-description/st-form-description.d.ts +2 -5
- package/dist/components/st-form-description/types.d.ts +5 -0
- package/dist/components/st-form-field/index.d.ts +1 -11
- package/dist/components/st-form-field/st-form-field.d.ts +2 -9
- package/dist/components/st-form-field/types.d.ts +5 -6
- package/dist/components/st-form-item/index.d.ts +1 -3
- package/dist/components/st-form-item/st-form-item.d.ts +2 -5
- package/dist/components/st-form-item/types.d.ts +6 -8
- package/dist/components/st-form-label/index.d.ts +1 -3
- package/dist/components/st-form-label/st-form-label.d.ts +2 -5
- package/dist/components/st-form-label/types.d.ts +5 -0
- package/dist/components/st-form-message/index.d.ts +1 -3
- package/dist/components/st-form-message/st-form-message.d.ts +2 -5
- package/dist/components/st-form-message/types.d.ts +5 -0
- package/dist/components/st-input/index.d.ts +1863 -607
- package/dist/components/st-input/st-input-group-input.d.ts +9 -2
- package/dist/components/st-input/st-input-group-textarea.d.ts +9 -2
- package/dist/components/st-input/st-input-number.d.ts +10 -3
- package/dist/components/st-input/st-input.d.ts +165 -57
- package/dist/components/st-input/st-textarea.d.ts +167 -57
- package/dist/components/st-input/types.d.ts +50 -0
- package/dist/components/st-label/index.d.ts +1 -3
- package/dist/components/st-label/st-label.d.ts +2 -5
- package/dist/components/st-label/types.d.ts +5 -0
- package/dist/components/st-menu/index.d.ts +14 -82
- package/dist/components/st-menu/st-menu-content.d.ts +1 -6
- package/dist/components/st-menu/st-menu-divider.d.ts +1 -4
- package/dist/components/st-menu/st-menu-group.d.ts +0 -4
- package/dist/components/st-menu/st-menu-item.d.ts +0 -4
- package/dist/components/st-menu/st-menu-trigger.d.ts +1 -6
- package/dist/components/st-menu/types.d.ts +54 -0
- package/dist/components/st-menu/useMenuState.d.ts +60 -0
- package/dist/components/st-pagination/index.d.ts +1 -7
- package/dist/components/st-pagination/st-pagination.d.ts +2 -9
- package/dist/components/st-popover/index.d.ts +17 -47
- package/dist/components/st-popover/st-popover-arrow.d.ts +1 -8
- package/dist/components/st-popover/st-popover-content.d.ts +0 -6
- package/dist/components/st-popover/st-popover-trigger.d.ts +0 -6
- package/dist/components/st-popover/st-popover.d.ts +11 -12
- package/dist/components/st-popover/types.d.ts +45 -14
- package/dist/components/st-popover/usePopoverState.d.ts +62 -0
- package/dist/components/st-progress/index.d.ts +1 -5
- package/dist/components/st-progress/st-progress.d.ts +2 -7
- package/dist/components/st-progress/types.d.ts +5 -0
- package/dist/components/st-radio/useRadioGroupState.d.ts +2 -0
- package/dist/components/st-scrollbar/index.d.ts +1 -3
- package/dist/components/st-scrollbar/st-scrollbar.d.ts +2 -5
- package/dist/components/st-scrollbar/types.d.ts +0 -6
- package/dist/components/st-segmented/index.d.ts +43 -8
- package/dist/components/st-segmented/st-segmented.d.ts +9 -2
- package/dist/components/st-select/index.d.ts +19 -93
- package/dist/components/st-select/st-select-content.d.ts +1 -8
- package/dist/components/st-select/st-select-empty.d.ts +1 -8
- package/dist/components/st-select/st-select-group.d.ts +1 -8
- package/dist/components/st-select/st-select-item.d.ts +0 -6
- package/dist/components/st-select/st-select-trigger.d.ts +6 -12
- package/dist/components/st-select/st-select.d.ts +2 -7
- package/dist/components/st-select/types.d.ts +68 -0
- package/dist/components/st-select/useSelectState.d.ts +55 -0
- package/dist/components/st-sidebar/index.d.ts +13 -3
- package/dist/components/st-sidebar/st-sidebar.d.ts +5 -1
- package/dist/components/st-sidebar/useSidebarState.d.ts +2 -0
- package/dist/components/st-sidebar-item/index.d.ts +13 -3
- package/dist/components/st-sidebar-item/st-sidebar-item.d.ts +5 -1
- package/dist/components/st-skeleton/index.d.ts +3 -11
- package/dist/components/st-skeleton/st-skeleton-item.d.ts +2 -5
- package/dist/components/st-skeleton/st-skeleton.d.ts +2 -7
- package/dist/components/st-skeleton/types.d.ts +10 -6
- package/dist/components/st-slider/index.d.ts +1 -17
- package/dist/components/st-slider/st-slider.d.ts +2 -19
- package/dist/components/st-slider/types.d.ts +8 -0
- package/dist/components/st-splitter/index.d.ts +14 -6
- package/dist/components/st-splitter/st-splitter.d.ts +7 -6
- package/dist/components/st-splitter/useSplitter.d.ts +0 -8
- package/dist/components/st-splitter/useSplitterState.d.ts +2 -0
- package/dist/components/st-splitter-panel/index.d.ts +6 -3
- package/dist/components/st-splitter-panel/st-splitter-panel.d.ts +4 -5
- package/dist/components/st-tabs/index.d.ts +26 -6
- package/dist/components/st-tabs/st-tabs-pane.d.ts +5 -1
- package/dist/components/st-tabs/useTabsState.d.ts +12 -0
- package/dist/components/st-tag/index.d.ts +1 -20
- package/dist/components/st-tag/st-tag.d.ts +3 -13
- package/dist/components/st-tag/types.d.ts +40 -51
- package/dist/components/st-time-picker/index.d.ts +102 -14
- package/dist/components/st-time-picker/st-time-picker-panel.d.ts +9 -2
- package/dist/components/st-time-picker/st-time-picker.d.ts +9 -2
- package/dist/components/st-time-picker/types.d.ts +18 -6
- package/dist/components/st-toggle/index.d.ts +15 -13
- package/dist/components/st-toggle/st-toggle.d.ts +11 -10
- package/dist/components/st-tooltip/index.d.ts +27 -352
- package/dist/components/st-tooltip/st-tooltip.d.ts +14 -10
- package/dist/components/st-tooltip/types.d.ts +10 -97
- package/dist/components/st-tree/index.d.ts +48 -73
- package/dist/components/st-tree/st-tree-node.d.ts +9 -2
- package/dist/components/st-tree/st-tree.d.ts +15 -69
- package/dist/components/st-tree/types.d.ts +6 -1
- package/dist/components/st-tree/useTreeStyleState.d.ts +2 -0
- package/dist/directive/v-intersection.d.ts +3 -15
- package/dist/directive/v-resize.d.ts +3 -15
- package/dist/dist--ubF9h1Q.js +335 -0
- package/dist/global.d.ts +0 -3
- package/dist/index.d.ts +2 -8
- package/dist/straw-ui.js +3767 -4269
- package/dist/useDialogState-Cs1mp3-Y.js +5 -0
- package/dist/utils/device.d.ts +20 -21
- package/dist/utils/z-index.d.ts +9 -39
- package/package.json +5 -5
- package/dist/components/st-tooltip/st-tooltip-container.d.ts +0 -44
- package/dist/components/st-tooltip/st-tooltip-content.d.ts +0 -30
- package/dist/components/st-tooltip/st-tooltip-trigger.d.ts +0 -23
- package/dist/context-B_FwxbY6.js +0 -4
- package/dist/utils/id.d.ts +0 -4
|
@@ -109,11 +109,7 @@ export declare const StCascade: {
|
|
|
109
109
|
popoverClass: string;
|
|
110
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
|
-
$slots:
|
|
113
|
-
prefix?: (props: {}) => any;
|
|
114
|
-
} & {
|
|
115
|
-
empty?: (props: {}) => any;
|
|
116
|
-
};
|
|
112
|
+
$slots: import('./types.d.ts').StCascadeSlots;
|
|
117
113
|
}) & {
|
|
118
114
|
StCascadePanel: {
|
|
119
115
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StCascadePanelProps> & Readonly<{
|
|
@@ -169,9 +165,7 @@ export declare const StCascade: {
|
|
|
169
165
|
childrenKey: string;
|
|
170
166
|
options: import('./types.d.ts').StCascadeOption[];
|
|
171
167
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
172
|
-
$slots:
|
|
173
|
-
empty?: (props: {}) => any;
|
|
174
|
-
};
|
|
168
|
+
$slots: import('./types.d.ts').StCascadePanelSlots;
|
|
175
169
|
});
|
|
176
170
|
};
|
|
177
171
|
export declare const StCascadePanel: {
|
|
@@ -228,9 +222,7 @@ export declare const StCascadePanel: {
|
|
|
228
222
|
childrenKey: string;
|
|
229
223
|
options: import('./types.d.ts').StCascadeOption[];
|
|
230
224
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
231
|
-
$slots:
|
|
232
|
-
empty?: (props: {}) => any;
|
|
233
|
-
};
|
|
225
|
+
$slots: import('./types.d.ts').StCascadePanelSlots;
|
|
234
226
|
});
|
|
235
227
|
export default StCascade;
|
|
236
228
|
export type * from './types.d.ts';
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { StCascadeOption, StCascadePanelProps } from './types.d.ts';
|
|
2
|
-
|
|
3
|
-
type __VLS_Slots = {} & {
|
|
4
|
-
empty?: (props: typeof __VLS_8) => any;
|
|
5
|
-
};
|
|
1
|
+
import { StCascadeOption, StCascadePanelProps, StCascadePanelSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StCascadePanelSlots;
|
|
6
3
|
declare const __VLS_base: import('vue').DefineComponent<StCascadePanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
4
|
select: (value: (string | number)[], option: StCascadeOption) => any;
|
|
8
5
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { StCascadeExpose, StCascadeOption, StCascadeProps } from './types.d.ts';
|
|
1
|
+
import { StCascadeExpose, StCascadeOption, StCascadeProps, StCascadeSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StCascadeSlots;
|
|
2
3
|
type __VLS_Props = StCascadeProps;
|
|
3
4
|
type __VLS_ModelProps = {
|
|
4
5
|
/**
|
|
@@ -11,12 +12,6 @@ type __VLS_ModelProps = {
|
|
|
11
12
|
'multipleValue'?: (string | number)[][];
|
|
12
13
|
};
|
|
13
14
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
|
-
declare var __VLS_25: {}, __VLS_41: {};
|
|
15
|
-
type __VLS_Slots = {} & {
|
|
16
|
-
prefix?: (props: typeof __VLS_25) => any;
|
|
17
|
-
} & {
|
|
18
|
-
empty?: (props: typeof __VLS_41) => any;
|
|
19
|
-
};
|
|
20
15
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCascadeExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
16
|
clear: () => any;
|
|
22
17
|
change: (value: (string | number)[] | (string | number)[][]) => any;
|
|
@@ -41,6 +41,16 @@ export interface StCascadePanelProps {
|
|
|
41
41
|
menuItemStyle?: StyleValue;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* 级联选择面板组件插槽接口
|
|
46
|
+
* */
|
|
47
|
+
export interface StCascadePanelSlots {
|
|
48
|
+
/** 默认插槽 */
|
|
49
|
+
default?: () => unknown;
|
|
50
|
+
/** 空状态插槽 */
|
|
51
|
+
empty?: () => unknown;
|
|
52
|
+
}
|
|
53
|
+
|
|
44
54
|
/**
|
|
45
55
|
* 级联选择面板事件接口
|
|
46
56
|
* */
|
|
@@ -88,39 +88,121 @@ export declare const StColorPicker: {
|
|
|
88
88
|
format: import('./types.d.ts').StColorFormat;
|
|
89
89
|
presetColors: import('./types.d.ts').StPresetColor[];
|
|
90
90
|
showAlpha: boolean;
|
|
91
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
92
|
-
|
|
91
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
92
|
+
$slots: import('./types.d.ts').StColorPickerSlots;
|
|
93
|
+
}) & {
|
|
94
|
+
StColorPickerPanel: {
|
|
95
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StColorPickerPanelProps> & Readonly<{
|
|
96
|
+
onChange?: (value: string) => any;
|
|
97
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
98
|
+
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
99
|
+
}>, {
|
|
100
|
+
color: import('./types.d.ts').StColorObject;
|
|
101
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
102
|
+
change: (value: string) => any;
|
|
103
|
+
"update:modelValue": (value: string) => any;
|
|
104
|
+
activeChange: (value: import('./types.d.ts').StColorObject) => any;
|
|
105
|
+
}, import('vue').PublicProps, {
|
|
106
|
+
modelValue: string;
|
|
107
|
+
format: import('./types.d.ts').StColorFormat;
|
|
108
|
+
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
109
|
+
showAlpha: boolean;
|
|
110
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
111
|
+
P: {};
|
|
112
|
+
B: {};
|
|
113
|
+
D: {};
|
|
114
|
+
C: {};
|
|
115
|
+
M: {};
|
|
116
|
+
Defaults: {};
|
|
117
|
+
}, Readonly<import('./types.d.ts').StColorPickerPanelProps> & Readonly<{
|
|
118
|
+
onChange?: (value: string) => any;
|
|
119
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
120
|
+
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
121
|
+
}>, {
|
|
122
|
+
color: import('./types.d.ts').StColorObject;
|
|
123
|
+
}, {}, {}, {}, {
|
|
124
|
+
modelValue: string;
|
|
125
|
+
format: import('./types.d.ts').StColorFormat;
|
|
126
|
+
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
127
|
+
showAlpha: boolean;
|
|
128
|
+
}>;
|
|
129
|
+
__isFragment?: never;
|
|
130
|
+
__isTeleport?: never;
|
|
131
|
+
__isSuspense?: never;
|
|
132
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StColorPickerPanelProps> & Readonly<{
|
|
133
|
+
onChange?: (value: string) => any;
|
|
134
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
135
|
+
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
136
|
+
}>, {
|
|
93
137
|
color: import('./types.d.ts').StColorObject;
|
|
94
138
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
95
139
|
change: (value: string) => any;
|
|
96
140
|
"update:modelValue": (value: string) => any;
|
|
97
141
|
activeChange: (value: import('./types.d.ts').StColorObject) => any;
|
|
98
|
-
}, string,
|
|
142
|
+
}, string, {
|
|
143
|
+
modelValue: string;
|
|
144
|
+
format: import('./types.d.ts').StColorFormat;
|
|
145
|
+
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
146
|
+
showAlpha: boolean;
|
|
147
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
148
|
+
$slots: import('./types.d.ts').StColorPickerPanelSlots;
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
export declare const StColorPickerPanel: {
|
|
152
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StColorPickerPanelProps> & Readonly<{
|
|
99
153
|
onChange?: (value: string) => any;
|
|
100
154
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
101
155
|
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
102
156
|
}>, {
|
|
157
|
+
color: import('./types.d.ts').StColorObject;
|
|
158
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
159
|
+
change: (value: string) => any;
|
|
160
|
+
"update:modelValue": (value: string) => any;
|
|
161
|
+
activeChange: (value: import('./types.d.ts').StColorObject) => any;
|
|
162
|
+
}, import('vue').PublicProps, {
|
|
103
163
|
modelValue: string;
|
|
104
164
|
format: import('./types.d.ts').StColorFormat;
|
|
105
165
|
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
106
166
|
showAlpha: boolean;
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
|
|
167
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
168
|
+
P: {};
|
|
169
|
+
B: {};
|
|
170
|
+
D: {};
|
|
171
|
+
C: {};
|
|
172
|
+
M: {};
|
|
173
|
+
Defaults: {};
|
|
174
|
+
}, Readonly<import('./types.d.ts').StColorPickerPanelProps> & Readonly<{
|
|
175
|
+
onChange?: (value: string) => any;
|
|
176
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
177
|
+
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
178
|
+
}>, {
|
|
179
|
+
color: import('./types.d.ts').StColorObject;
|
|
180
|
+
}, {}, {}, {}, {
|
|
181
|
+
modelValue: string;
|
|
182
|
+
format: import('./types.d.ts').StColorFormat;
|
|
183
|
+
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
184
|
+
showAlpha: boolean;
|
|
185
|
+
}>;
|
|
186
|
+
__isFragment?: never;
|
|
187
|
+
__isTeleport?: never;
|
|
188
|
+
__isSuspense?: never;
|
|
189
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StColorPickerPanelProps> & Readonly<{
|
|
190
|
+
onChange?: (value: string) => any;
|
|
191
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
192
|
+
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
193
|
+
}>, {
|
|
110
194
|
color: import('./types.d.ts').StColorObject;
|
|
111
195
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
112
196
|
change: (value: string) => any;
|
|
113
197
|
"update:modelValue": (value: string) => any;
|
|
114
198
|
activeChange: (value: import('./types.d.ts').StColorObject) => any;
|
|
115
|
-
}, string,
|
|
116
|
-
onChange?: (value: string) => any;
|
|
117
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
118
|
-
onActiveChange?: (value: import('./types.d.ts').StColorObject) => any;
|
|
119
|
-
}>, {
|
|
199
|
+
}, string, {
|
|
120
200
|
modelValue: string;
|
|
121
201
|
format: import('./types.d.ts').StColorFormat;
|
|
122
202
|
presetColors: (import('./types.d.ts').StPresetColor | string)[];
|
|
123
203
|
showAlpha: boolean;
|
|
124
|
-
}, {},
|
|
204
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
205
|
+
$slots: import('./types.d.ts').StColorPickerPanelSlots;
|
|
206
|
+
});
|
|
125
207
|
export default StColorPicker;
|
|
126
208
|
export type * from './types.d.ts';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { StColorObject, StColorPickerPanelProps, StPresetColor } from './types.d.ts';
|
|
2
|
-
|
|
1
|
+
import { StColorObject, StColorPickerPanelProps, StColorPickerPanelSlots, StPresetColor } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StColorPickerPanelSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<StColorPickerPanelProps, {
|
|
3
4
|
color: StColorObject;
|
|
4
5
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
6
|
change: (value: string) => any;
|
|
@@ -15,5 +16,11 @@ declare const __VLS_export: import('vue').DefineComponent<StColorPickerPanelProp
|
|
|
15
16
|
presetColors: (StPresetColor | string)[];
|
|
16
17
|
showAlpha: boolean;
|
|
17
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
20
|
declare const _default: typeof __VLS_export;
|
|
19
21
|
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { StColorObject, StColorPickerExpose, StColorPickerProps } from './types.d.ts';
|
|
1
|
+
import { StColorObject, StColorPickerExpose, StColorPickerProps, StColorPickerSlots } from './types.d.ts';
|
|
2
2
|
type __VLS_Props = StColorPickerProps;
|
|
3
|
+
type __VLS_Slots = StColorPickerSlots;
|
|
3
4
|
type __VLS_ModelProps = {
|
|
4
5
|
modelValue?: string;
|
|
5
6
|
};
|
|
6
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StColorPickerExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
clear: () => any;
|
|
9
10
|
change: (value: string) => any;
|
|
10
11
|
visibleChange: (visible: boolean) => any;
|
|
@@ -31,5 +32,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, StC
|
|
|
31
32
|
presetColors: import('./types.d.ts').StPresetColor[];
|
|
32
33
|
showAlpha: boolean;
|
|
33
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
36
|
declare const _default: typeof __VLS_export;
|
|
35
37
|
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -89,6 +89,14 @@ export interface StColorPickerProps {
|
|
|
89
89
|
panelStyle?: StyleValue;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
/**
|
|
93
|
+
* StColorPicker 组件插槽接口
|
|
94
|
+
* */
|
|
95
|
+
export interface StColorPickerSlots {
|
|
96
|
+
/** 默认插槽(触发元素) */
|
|
97
|
+
default?: () => unknown;
|
|
98
|
+
}
|
|
99
|
+
|
|
92
100
|
/**
|
|
93
101
|
* StColorPicker 组件事件接口
|
|
94
102
|
* */
|
|
@@ -137,6 +145,14 @@ export interface StColorPickerPanelProps {
|
|
|
137
145
|
panelStyle?: StyleValue;
|
|
138
146
|
}
|
|
139
147
|
|
|
148
|
+
/**
|
|
149
|
+
* StColorPickerPanel 组件插槽接口
|
|
150
|
+
* */
|
|
151
|
+
export interface StColorPickerPanelSlots {
|
|
152
|
+
/** 默认插槽 */
|
|
153
|
+
default?: () => unknown;
|
|
154
|
+
}
|
|
155
|
+
|
|
140
156
|
/**
|
|
141
157
|
* StColorPickerPanel 组件事件接口
|
|
142
158
|
* */
|
|
@@ -90,42 +90,108 @@ export declare const StDatePicker: {
|
|
|
90
90
|
endPlaceholder: string;
|
|
91
91
|
valueFormat: string;
|
|
92
92
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
93
|
-
$slots:
|
|
94
|
-
prefix?: (props: {}) => any;
|
|
95
|
-
};
|
|
93
|
+
$slots: import('./types.d.ts').StDatePickerSlots;
|
|
96
94
|
}) & {
|
|
97
|
-
StDatePickerPanel:
|
|
95
|
+
StDatePickerPanel: {
|
|
96
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StDatePickerPanelProps> & Readonly<{
|
|
97
|
+
onSelect?: (date: Date) => any;
|
|
98
|
+
onClose?: () => any;
|
|
99
|
+
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
100
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
101
|
+
select: (date: Date) => any;
|
|
102
|
+
close: () => any;
|
|
103
|
+
selectRange: (range: import('./types.d.ts').StDateRange) => any;
|
|
104
|
+
}, import('vue').PublicProps, {
|
|
105
|
+
type: import('./types.d.ts').StDatePickerType;
|
|
106
|
+
selectedDate: Date | null;
|
|
107
|
+
selectedRange: import('./types.d.ts').StDateRange;
|
|
108
|
+
disabledDate: (date: Date) => boolean;
|
|
109
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
110
|
+
P: {};
|
|
111
|
+
B: {};
|
|
112
|
+
D: {};
|
|
113
|
+
C: {};
|
|
114
|
+
M: {};
|
|
115
|
+
Defaults: {};
|
|
116
|
+
}, Readonly<import('./types.d.ts').StDatePickerPanelProps> & Readonly<{
|
|
117
|
+
onSelect?: (date: Date) => any;
|
|
118
|
+
onClose?: () => any;
|
|
119
|
+
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
120
|
+
}>, {}, {}, {}, {}, {
|
|
121
|
+
type: import('./types.d.ts').StDatePickerType;
|
|
122
|
+
selectedDate: Date | null;
|
|
123
|
+
selectedRange: import('./types.d.ts').StDateRange;
|
|
124
|
+
disabledDate: (date: Date) => boolean;
|
|
125
|
+
}>;
|
|
126
|
+
__isFragment?: never;
|
|
127
|
+
__isTeleport?: never;
|
|
128
|
+
__isSuspense?: never;
|
|
129
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StDatePickerPanelProps> & Readonly<{
|
|
130
|
+
onSelect?: (date: Date) => any;
|
|
131
|
+
onClose?: () => any;
|
|
132
|
+
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
133
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
98
134
|
select: (date: Date) => any;
|
|
99
135
|
close: () => any;
|
|
100
136
|
selectRange: (range: import('./types.d.ts').StDateRange) => any;
|
|
101
|
-
}, string,
|
|
137
|
+
}, string, {
|
|
138
|
+
type: import('./types.d.ts').StDatePickerType;
|
|
139
|
+
selectedDate: Date | null;
|
|
140
|
+
selectedRange: import('./types.d.ts').StDateRange;
|
|
141
|
+
disabledDate: (date: Date) => boolean;
|
|
142
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
143
|
+
$slots: import('./types.d.ts').StDatePickerPanelSlots;
|
|
144
|
+
});
|
|
145
|
+
};
|
|
146
|
+
export declare const StDatePickerPanel: {
|
|
147
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StDatePickerPanelProps> & Readonly<{
|
|
102
148
|
onSelect?: (date: Date) => any;
|
|
103
149
|
onClose?: () => any;
|
|
104
150
|
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
105
|
-
}>, {
|
|
151
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
152
|
+
select: (date: Date) => any;
|
|
153
|
+
close: () => any;
|
|
154
|
+
selectRange: (range: import('./types.d.ts').StDateRange) => any;
|
|
155
|
+
}, import('vue').PublicProps, {
|
|
106
156
|
type: import('./types.d.ts').StDatePickerType;
|
|
107
|
-
style: import('vue').StyleValue;
|
|
108
|
-
class: any;
|
|
109
157
|
selectedDate: Date | null;
|
|
110
158
|
selectedRange: import('./types.d.ts').StDateRange;
|
|
111
159
|
disabledDate: (date: Date) => boolean;
|
|
112
|
-
},
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
160
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
161
|
+
P: {};
|
|
162
|
+
B: {};
|
|
163
|
+
D: {};
|
|
164
|
+
C: {};
|
|
165
|
+
M: {};
|
|
166
|
+
Defaults: {};
|
|
167
|
+
}, Readonly<import('./types.d.ts').StDatePickerPanelProps> & Readonly<{
|
|
168
|
+
onSelect?: (date: Date) => any;
|
|
169
|
+
onClose?: () => any;
|
|
170
|
+
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
171
|
+
}>, {}, {}, {}, {}, {
|
|
172
|
+
type: import('./types.d.ts').StDatePickerType;
|
|
173
|
+
selectedDate: Date | null;
|
|
174
|
+
selectedRange: import('./types.d.ts').StDateRange;
|
|
175
|
+
disabledDate: (date: Date) => boolean;
|
|
176
|
+
}>;
|
|
177
|
+
__isFragment?: never;
|
|
178
|
+
__isTeleport?: never;
|
|
179
|
+
__isSuspense?: never;
|
|
180
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StDatePickerPanelProps> & Readonly<{
|
|
119
181
|
onSelect?: (date: Date) => any;
|
|
120
182
|
onClose?: () => any;
|
|
121
183
|
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
122
|
-
}>, {
|
|
184
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
185
|
+
select: (date: Date) => any;
|
|
186
|
+
close: () => any;
|
|
187
|
+
selectRange: (range: import('./types.d.ts').StDateRange) => any;
|
|
188
|
+
}, string, {
|
|
123
189
|
type: import('./types.d.ts').StDatePickerType;
|
|
124
|
-
style: import('vue').StyleValue;
|
|
125
|
-
class: any;
|
|
126
190
|
selectedDate: Date | null;
|
|
127
191
|
selectedRange: import('./types.d.ts').StDateRange;
|
|
128
192
|
disabledDate: (date: Date) => boolean;
|
|
129
|
-
}, {},
|
|
193
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
194
|
+
$slots: import('./types.d.ts').StDatePickerPanelSlots;
|
|
195
|
+
});
|
|
130
196
|
export default StDatePicker;
|
|
131
197
|
export type * from './types.d.ts';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { StDatePickerPanelProps } from './types.d.ts';
|
|
2
|
-
|
|
1
|
+
import { StDatePickerPanelProps, StDatePickerPanelSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StDatePickerPanelSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<StDatePickerPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
4
|
select: (date: Date) => any;
|
|
4
5
|
close: () => any;
|
|
5
6
|
selectRange: (range: import('./types.d.ts').StDateRange) => any;
|
|
@@ -9,11 +10,15 @@ declare const __VLS_export: import('vue').DefineComponent<StDatePickerPanelProps
|
|
|
9
10
|
onSelectRange?: (range: import('./types.d.ts').StDateRange) => any;
|
|
10
11
|
}>, {
|
|
11
12
|
type: import('./types.d.ts').StDatePickerType;
|
|
12
|
-
style: import('vue').StyleValue;
|
|
13
|
-
class: any;
|
|
14
13
|
selectedDate: Date | null;
|
|
15
14
|
selectedRange: import('./types.d.ts').StDateRange;
|
|
16
15
|
disabledDate: (date: Date) => boolean;
|
|
17
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { StDatePickerExpose, StDatePickerProps, StDateRangeValue } from './types.d.ts';
|
|
1
|
+
import { StDatePickerExpose, StDatePickerProps, StDatePickerSlots, StDateRangeValue } from './types.d.ts';
|
|
2
2
|
type __VLS_Props = StDatePickerProps;
|
|
3
|
+
type __VLS_Slots = StDatePickerSlots;
|
|
3
4
|
type __VLS_ModelProps = {
|
|
4
5
|
modelValue?: string | Date | StDateRangeValue | null;
|
|
5
6
|
};
|
|
6
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare var __VLS_25: {};
|
|
8
|
-
type __VLS_Slots = {} & {
|
|
9
|
-
prefix?: (props: typeof __VLS_25) => any;
|
|
10
|
-
};
|
|
11
8
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StDatePickerExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
9
|
clear: () => any;
|
|
13
10
|
change: (value: string | Date | StDateRangeValue) => any;
|
|
@@ -74,6 +74,16 @@ export interface StDatePickerProps {
|
|
|
74
74
|
panelStyle?: StyleValue;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
/**
|
|
78
|
+
* StDatePicker 主组件插槽接口
|
|
79
|
+
*/
|
|
80
|
+
export interface StDatePickerSlots {
|
|
81
|
+
/** 默认插槽(触发元素) */
|
|
82
|
+
default?: () => unknown;
|
|
83
|
+
/** 前缀插槽 */
|
|
84
|
+
prefix?: () => unknown;
|
|
85
|
+
}
|
|
86
|
+
|
|
77
87
|
/**
|
|
78
88
|
* StDatePicker 主组件事件接口
|
|
79
89
|
*/
|
|
@@ -112,10 +122,14 @@ export interface StDatePickerPanelProps {
|
|
|
112
122
|
type?: StDatePickerType;
|
|
113
123
|
/** 禁用特定日期的函数 */
|
|
114
124
|
disabledDate?: (date: Date) => boolean;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* DatePickerPanel 面板组件插槽接口
|
|
129
|
+
*/
|
|
130
|
+
export interface StDatePickerPanelSlots {
|
|
131
|
+
/** 默认插槽 */
|
|
132
|
+
default?: () => unknown;
|
|
119
133
|
}
|
|
120
134
|
|
|
121
135
|
/**
|
|
@@ -93,44 +93,114 @@ export declare const StDateTimePicker: {
|
|
|
93
93
|
valueFormat: string;
|
|
94
94
|
showSeconds: boolean;
|
|
95
95
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
96
|
-
$slots:
|
|
97
|
-
prefix?: (props: {}) => any;
|
|
98
|
-
};
|
|
96
|
+
$slots: import('./types.d.ts').StDateTimePickerSlots;
|
|
99
97
|
}) & {
|
|
100
|
-
StDateTimePickerPanel:
|
|
98
|
+
StDateTimePickerPanel: {
|
|
99
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StDateTimePickerPanelProps> & Readonly<{
|
|
100
|
+
onSelect?: (dateTime: Date) => any;
|
|
101
|
+
onClose?: () => any;
|
|
102
|
+
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
103
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
104
|
+
select: (dateTime: Date) => any;
|
|
105
|
+
close: () => any;
|
|
106
|
+
selectRange: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
107
|
+
}, import('vue').PublicProps, {
|
|
108
|
+
type: import('./types.d.ts').StDateTimePickerType;
|
|
109
|
+
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
110
|
+
disabledDate: (date: Date) => boolean;
|
|
111
|
+
showSeconds: boolean;
|
|
112
|
+
selectedDateTime: Date | null;
|
|
113
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
114
|
+
P: {};
|
|
115
|
+
B: {};
|
|
116
|
+
D: {};
|
|
117
|
+
C: {};
|
|
118
|
+
M: {};
|
|
119
|
+
Defaults: {};
|
|
120
|
+
}, Readonly<import('./types.d.ts').StDateTimePickerPanelProps> & Readonly<{
|
|
121
|
+
onSelect?: (dateTime: Date) => any;
|
|
122
|
+
onClose?: () => any;
|
|
123
|
+
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
124
|
+
}>, {}, {}, {}, {}, {
|
|
125
|
+
type: import('./types.d.ts').StDateTimePickerType;
|
|
126
|
+
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
127
|
+
disabledDate: (date: Date) => boolean;
|
|
128
|
+
showSeconds: boolean;
|
|
129
|
+
selectedDateTime: Date | null;
|
|
130
|
+
}>;
|
|
131
|
+
__isFragment?: never;
|
|
132
|
+
__isTeleport?: never;
|
|
133
|
+
__isSuspense?: never;
|
|
134
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StDateTimePickerPanelProps> & Readonly<{
|
|
135
|
+
onSelect?: (dateTime: Date) => any;
|
|
136
|
+
onClose?: () => any;
|
|
137
|
+
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
138
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
101
139
|
select: (dateTime: Date) => any;
|
|
102
140
|
close: () => any;
|
|
103
141
|
selectRange: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
104
|
-
}, string,
|
|
142
|
+
}, string, {
|
|
143
|
+
type: import('./types.d.ts').StDateTimePickerType;
|
|
144
|
+
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
145
|
+
disabledDate: (date: Date) => boolean;
|
|
146
|
+
showSeconds: boolean;
|
|
147
|
+
selectedDateTime: Date | null;
|
|
148
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
149
|
+
$slots: import('./types.d.ts').StDateTimePickerPanelSlots;
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
export declare const StDateTimePickerPanel: {
|
|
153
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StDateTimePickerPanelProps> & Readonly<{
|
|
105
154
|
onSelect?: (dateTime: Date) => any;
|
|
106
155
|
onClose?: () => any;
|
|
107
156
|
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
108
|
-
}>, {
|
|
157
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
158
|
+
select: (dateTime: Date) => any;
|
|
159
|
+
close: () => any;
|
|
160
|
+
selectRange: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
161
|
+
}, import('vue').PublicProps, {
|
|
109
162
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
110
|
-
style: import('vue').StyleValue;
|
|
111
|
-
class: any;
|
|
112
163
|
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
113
164
|
disabledDate: (date: Date) => boolean;
|
|
114
165
|
showSeconds: boolean;
|
|
115
166
|
selectedDateTime: Date | null;
|
|
116
|
-
},
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
167
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
168
|
+
P: {};
|
|
169
|
+
B: {};
|
|
170
|
+
D: {};
|
|
171
|
+
C: {};
|
|
172
|
+
M: {};
|
|
173
|
+
Defaults: {};
|
|
174
|
+
}, Readonly<import('./types.d.ts').StDateTimePickerPanelProps> & Readonly<{
|
|
175
|
+
onSelect?: (dateTime: Date) => any;
|
|
176
|
+
onClose?: () => any;
|
|
177
|
+
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
178
|
+
}>, {}, {}, {}, {}, {
|
|
179
|
+
type: import('./types.d.ts').StDateTimePickerType;
|
|
180
|
+
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
181
|
+
disabledDate: (date: Date) => boolean;
|
|
182
|
+
showSeconds: boolean;
|
|
183
|
+
selectedDateTime: Date | null;
|
|
184
|
+
}>;
|
|
185
|
+
__isFragment?: never;
|
|
186
|
+
__isTeleport?: never;
|
|
187
|
+
__isSuspense?: never;
|
|
188
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StDateTimePickerPanelProps> & Readonly<{
|
|
123
189
|
onSelect?: (dateTime: Date) => any;
|
|
124
190
|
onClose?: () => any;
|
|
125
191
|
onSelectRange?: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
126
|
-
}>, {
|
|
192
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
193
|
+
select: (dateTime: Date) => any;
|
|
194
|
+
close: () => any;
|
|
195
|
+
selectRange: (range: import('./types.d.ts').StDateTimeRange) => any;
|
|
196
|
+
}, string, {
|
|
127
197
|
type: import('./types.d.ts').StDateTimePickerType;
|
|
128
|
-
style: import('vue').StyleValue;
|
|
129
|
-
class: any;
|
|
130
198
|
selectedRange: import('./types.d.ts').StDateTimeRange;
|
|
131
199
|
disabledDate: (date: Date) => boolean;
|
|
132
200
|
showSeconds: boolean;
|
|
133
201
|
selectedDateTime: Date | null;
|
|
134
|
-
}, {},
|
|
202
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
203
|
+
$slots: import('./types.d.ts').StDateTimePickerPanelSlots;
|
|
204
|
+
});
|
|
135
205
|
export default StDateTimePicker;
|
|
136
206
|
export type * from './types.d.ts';
|