straw-ui-vue 0.1.46 → 0.1.47
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/st-button.d.ts +1 -5
- package/dist/components/st-cascade/desktop/st-cascade-desktop.d.ts +4 -4
- package/dist/components/st-cascade/index.d.ts +25 -25
- package/dist/components/st-cascade/phone/st-cascade-phone.d.ts +2 -2
- package/dist/components/st-cascade/st-cascade.d.ts +2 -2
- package/dist/components/st-cascade/types/st-cascade.d.ts +39 -43
- package/dist/components/st-color-picker/index.d.ts +5 -5
- package/dist/components/st-color-picker/st-color-picker.d.ts +2 -2
- package/dist/components/st-confirm/index.d.ts +6 -0
- package/dist/components/st-confirm/st-confirm-group-footer.d.ts +1 -0
- package/dist/components/st-confirm/types/st-confirm-group-footer.d.ts +3 -0
- package/dist/components/st-date-picker/desktop/st-date-picker-desktop.d.ts +2 -2
- package/dist/components/st-date-picker/desktop/st-datetime-picker-desktop.d.ts +2 -2
- package/dist/components/st-date-picker/desktop/st-time-picker-desktop.d.ts +2 -2
- package/dist/components/st-date-picker/desktop/types/st-datetime-picker-desktop.d.ts +1 -8
- package/dist/components/st-date-picker/desktop/types/st-datetime-picker-panel.d.ts +113 -113
- package/dist/components/st-date-picker/index.d.ts +77 -77
- package/dist/components/st-date-picker/phone/st-date-picker-phone.d.ts +2 -2
- package/dist/components/st-date-picker/phone/st-datetime-picker-phone.d.ts +2 -2
- package/dist/components/st-date-picker/phone/st-time-picker-phone.d.ts +2 -2
- package/dist/components/st-date-picker/phone/types/st-datetime-picker-phone.d.ts +1 -5
- package/dist/components/st-date-picker/phone/types/st-time-picker-phone.d.ts +1 -5
- package/dist/components/st-date-picker/st-date-picker.d.ts +2 -2
- package/dist/components/st-date-picker/st-datetime-picker.d.ts +2 -2
- package/dist/components/st-date-picker/st-picker-header.d.ts +1 -1
- package/dist/components/st-date-picker/st-time-picker.d.ts +2 -2
- package/dist/components/st-date-picker/types/st-date-picker.d.ts +2 -12
- package/dist/components/st-date-picker/types/st-datetime-picker.d.ts +2 -12
- package/dist/components/st-date-picker/types/st-time-picker.d.ts +2 -12
- package/dist/components/st-dialog/desktop/st-dialog-desktop-group.d.ts +1 -1
- package/dist/components/st-dialog/st-dialog-group.d.ts +1 -1
- package/dist/components/st-dialog/types/st-dialog.d.ts +1 -5
- package/dist/components/st-drawer/types/st-drawer.d.ts +1 -5
- package/dist/components/st-input/index.d.ts +105 -105
- package/dist/components/st-input/st-input-group-input.d.ts +2 -2
- package/dist/components/st-input/st-input-group-textarea.d.ts +2 -2
- package/dist/components/st-input/st-input-number.d.ts +2 -2
- package/dist/components/st-input/st-input.d.ts +9 -9
- package/dist/components/st-input/st-textarea.d.ts +9 -9
- package/dist/components/st-menu/st-menu-container.d.ts +2 -2
- package/dist/components/st-message/types/st-message-api.d.ts +3 -2
- package/dist/components/st-panel/types/index.d.ts +1 -1
- package/dist/components/st-popover/st-popover-container.d.ts +2 -2
- package/dist/components/st-scrollbar/desktop/types/st-scrollbar-desktop-group.d.ts +18 -18
- package/dist/components/st-scrollbar/phone/types/st-scrollbar-phone.d.ts +60 -60
- package/dist/components/st-segmented/index.d.ts +2 -2
- package/dist/components/st-segmented/st-segmented-group-indicator.d.ts +1 -1
- package/dist/components/st-select/desktop/st-select-desktop.d.ts +2 -2
- package/dist/components/st-select/index.d.ts +35 -35
- package/dist/components/st-select/phone/st-select-phone.d.ts +2 -2
- package/dist/components/st-select/st-select-container.d.ts +2 -2
- package/dist/components/st-select/st-select.d.ts +2 -2
- package/dist/components/st-select/types/st-select-trigger.d.ts +0 -1
- package/dist/components/st-select/types/st-select.d.ts +2 -12
- package/dist/components/st-splitter/types/st-splitter-context.d.ts +1 -6
- package/dist/components/st-table/st-table.d.ts +1 -1
- package/dist/components/st-table/useTableDrag.d.ts +1 -1
- package/dist/components/st-tabs/types/st-tabs-panel.d.ts +43 -43
- package/dist/components/st-tree/types/st-tree-context.d.ts +0 -1
- package/dist/components/st-upload/index.d.ts +15 -15
- package/dist/components/st-upload/st-upload-group.d.ts +2 -2
- package/dist/components/st-upload/st-upload.d.ts +2 -2
- package/dist/constants/config.d.ts +16 -0
- package/dist/{forward-props-DQZYww3g.js → forward-props-DLHaqlfq.js} +718 -709
- package/dist/index.d.ts +9 -2
- package/dist/straw-ui.js +248 -246
- package/dist/types/config.d.ts +29 -4
- package/dist/utils/config.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +1 -1
|
@@ -2,11 +2,7 @@ import type { ClassValue, StyleValue, VNodeChild } from 'vue';
|
|
|
2
2
|
import type { StColor } from '../../../types/color.d.ts';
|
|
3
3
|
import type { DeviceType } from '../../../types/device.d.ts';
|
|
4
4
|
import type { StSize } from '../../../types/size.d.ts';
|
|
5
|
-
import type {
|
|
6
|
-
StButtonDesktopEmits,
|
|
7
|
-
StButtonDesktopProps,
|
|
8
|
-
StButtonDesktopSlots,
|
|
9
|
-
} from '../desktop/types/st-button-desktop.d.ts';
|
|
5
|
+
import type { StButtonDesktopEmits, StButtonDesktopProps, StButtonDesktopSlots, } from '../desktop/types/st-button-desktop.d.ts';
|
|
10
6
|
import type { StButtonPhoneEmits, StButtonPhoneProps, StButtonPhoneSlots } from '../phone/types/st-button-phone.d.ts';
|
|
11
7
|
|
|
12
8
|
/** 按钮填充层次 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StCascadeDesktopExpose, StCascadeDesktopProps, StCascadeDesktopSlots } from './types/st-cascade-desktop.d.ts';
|
|
2
|
-
import {
|
|
2
|
+
import { StCascadePath } from '../types/st-cascade-context.d.ts';
|
|
3
3
|
type __VLS_Slots = StCascadeDesktopSlots;
|
|
4
4
|
type __VLS_Props = StCascadeDesktopProps;
|
|
5
5
|
type __VLS_ModelProps = {
|
|
@@ -10,21 +10,21 @@ type __VLS_ModelProps = {
|
|
|
10
10
|
};
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
-
change: (value: StCascadePath | StCascadePath[]) => any;
|
|
14
13
|
clear: () => any;
|
|
14
|
+
change: (value: StCascadePath | StCascadePath[]) => any;
|
|
15
15
|
visibleChange: (visible: boolean) => any;
|
|
16
16
|
"update:modelValue": (value: StCascadePath) => any;
|
|
17
17
|
"update:multipleValue": (value: StCascadePath[]) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
onChange?: (value: StCascadePath | StCascadePath[]) => any;
|
|
20
19
|
onClear?: () => any;
|
|
20
|
+
onChange?: (value: StCascadePath | StCascadePath[]) => any;
|
|
21
21
|
onVisibleChange?: (visible: boolean) => any;
|
|
22
22
|
"onUpdate:modelValue"?: (value: StCascadePath) => any;
|
|
23
23
|
"onUpdate:multipleValue"?: (value: StCascadePath[]) => any;
|
|
24
24
|
}>, {
|
|
25
25
|
size: import('../../../types.ts').StSize;
|
|
26
26
|
disabled: boolean;
|
|
27
|
-
list: StCascadeOption[];
|
|
27
|
+
list: import('../index.ts').StCascadeOption[];
|
|
28
28
|
labelKey: string;
|
|
29
29
|
valueKey: string;
|
|
30
30
|
childrenKey: string;
|
|
@@ -4,17 +4,17 @@ export declare const StCascade: {
|
|
|
4
4
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
5
5
|
}> & Readonly<{
|
|
6
6
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
7
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
8
7
|
onClear?: () => any;
|
|
9
8
|
onCancel?: () => any;
|
|
9
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
10
10
|
onVisibleChange?: (visible: boolean) => any;
|
|
11
11
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
12
12
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
13
13
|
}>, import('./index.ts').StCascadeExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
14
|
confirm: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
15
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
16
15
|
clear: () => any;
|
|
17
16
|
cancel: () => any;
|
|
17
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
18
18
|
visibleChange: (visible: boolean) => any;
|
|
19
19
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
20
20
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -33,9 +33,9 @@ export declare const StCascade: {
|
|
|
33
33
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
34
34
|
}> & Readonly<{
|
|
35
35
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
36
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
37
36
|
onClear?: () => any;
|
|
38
37
|
onCancel?: () => any;
|
|
38
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
39
39
|
onVisibleChange?: (visible: boolean) => any;
|
|
40
40
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
41
41
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -51,17 +51,17 @@ export declare const StCascade: {
|
|
|
51
51
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
52
52
|
}> & Readonly<{
|
|
53
53
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
54
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
55
54
|
onClear?: () => any;
|
|
56
55
|
onCancel?: () => any;
|
|
56
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
57
57
|
onVisibleChange?: (visible: boolean) => any;
|
|
58
58
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
59
59
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
60
60
|
}>, import('./index.ts').StCascadeExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
61
|
confirm: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
62
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
63
62
|
clear: () => any;
|
|
64
63
|
cancel: () => any;
|
|
64
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
65
65
|
visibleChange: (visible: boolean) => any;
|
|
66
66
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
67
67
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -214,14 +214,14 @@ export declare const StCascade: {
|
|
|
214
214
|
modelValue?: import('./index.ts').StCascadePath;
|
|
215
215
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
216
216
|
}> & Readonly<{
|
|
217
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
218
217
|
onClear?: () => any;
|
|
218
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
219
219
|
onVisibleChange?: (visible: boolean) => any;
|
|
220
220
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
221
221
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
222
222
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
223
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
224
223
|
clear: () => any;
|
|
224
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
225
225
|
visibleChange: (visible: boolean) => any;
|
|
226
226
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
227
227
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -249,8 +249,8 @@ export declare const StCascade: {
|
|
|
249
249
|
modelValue?: import('./index.ts').StCascadePath;
|
|
250
250
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
251
251
|
}> & Readonly<{
|
|
252
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
253
252
|
onClear?: () => any;
|
|
253
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
254
254
|
onVisibleChange?: (visible: boolean) => any;
|
|
255
255
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
256
256
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -275,14 +275,14 @@ export declare const StCascade: {
|
|
|
275
275
|
modelValue?: import('./index.ts').StCascadePath;
|
|
276
276
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
277
277
|
}> & Readonly<{
|
|
278
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
279
278
|
onClear?: () => any;
|
|
279
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
280
280
|
onVisibleChange?: (visible: boolean) => any;
|
|
281
281
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
282
282
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
283
283
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
284
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
285
284
|
clear: () => any;
|
|
285
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
286
286
|
visibleChange: (visible: boolean) => any;
|
|
287
287
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
288
288
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -308,17 +308,17 @@ export declare const StCascade: {
|
|
|
308
308
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
309
309
|
}> & Readonly<{
|
|
310
310
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
311
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
312
311
|
onClear?: () => any;
|
|
313
312
|
onCancel?: () => any;
|
|
313
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
314
314
|
onVisibleChange?: (visible: boolean) => any;
|
|
315
315
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
316
316
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
317
317
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
318
318
|
confirm: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
319
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
320
319
|
clear: () => any;
|
|
321
320
|
cancel: () => any;
|
|
321
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
322
322
|
visibleChange: (visible: boolean) => any;
|
|
323
323
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
324
324
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -351,9 +351,9 @@ export declare const StCascade: {
|
|
|
351
351
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
352
352
|
}> & Readonly<{
|
|
353
353
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
354
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
355
354
|
onClear?: () => any;
|
|
356
355
|
onCancel?: () => any;
|
|
356
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
357
357
|
onVisibleChange?: (visible: boolean) => any;
|
|
358
358
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
359
359
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -383,17 +383,17 @@ export declare const StCascade: {
|
|
|
383
383
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
384
384
|
}> & Readonly<{
|
|
385
385
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
386
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
387
386
|
onClear?: () => any;
|
|
388
387
|
onCancel?: () => any;
|
|
388
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
389
389
|
onVisibleChange?: (visible: boolean) => any;
|
|
390
390
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
391
391
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
392
392
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
393
393
|
confirm: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
394
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
395
394
|
clear: () => any;
|
|
396
395
|
cancel: () => any;
|
|
396
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
397
397
|
visibleChange: (visible: boolean) => any;
|
|
398
398
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
399
399
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -565,14 +565,14 @@ export declare const StCascadeDesktop: {
|
|
|
565
565
|
modelValue?: import('./index.ts').StCascadePath;
|
|
566
566
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
567
567
|
}> & Readonly<{
|
|
568
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
569
568
|
onClear?: () => any;
|
|
569
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
570
570
|
onVisibleChange?: (visible: boolean) => any;
|
|
571
571
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
572
572
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
573
573
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
574
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
575
574
|
clear: () => any;
|
|
575
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
576
576
|
visibleChange: (visible: boolean) => any;
|
|
577
577
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
578
578
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -600,8 +600,8 @@ export declare const StCascadeDesktop: {
|
|
|
600
600
|
modelValue?: import('./index.ts').StCascadePath;
|
|
601
601
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
602
602
|
}> & Readonly<{
|
|
603
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
604
603
|
onClear?: () => any;
|
|
604
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
605
605
|
onVisibleChange?: (visible: boolean) => any;
|
|
606
606
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
607
607
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -626,14 +626,14 @@ export declare const StCascadeDesktop: {
|
|
|
626
626
|
modelValue?: import('./index.ts').StCascadePath;
|
|
627
627
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
628
628
|
}> & Readonly<{
|
|
629
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
630
629
|
onClear?: () => any;
|
|
630
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
631
631
|
onVisibleChange?: (visible: boolean) => any;
|
|
632
632
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
633
633
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
634
634
|
}>, import('./index.ts').StCascadeDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
635
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
636
635
|
clear: () => any;
|
|
636
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
637
637
|
visibleChange: (visible: boolean) => any;
|
|
638
638
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
639
639
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -660,17 +660,17 @@ export declare const StCascadePhone: {
|
|
|
660
660
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
661
661
|
}> & Readonly<{
|
|
662
662
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
663
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
664
663
|
onClear?: () => any;
|
|
665
664
|
onCancel?: () => any;
|
|
665
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
666
666
|
onVisibleChange?: (visible: boolean) => any;
|
|
667
667
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
668
668
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
669
669
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
670
670
|
confirm: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
671
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
672
671
|
clear: () => any;
|
|
673
672
|
cancel: () => any;
|
|
673
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
674
674
|
visibleChange: (visible: boolean) => any;
|
|
675
675
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
676
676
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -703,9 +703,9 @@ export declare const StCascadePhone: {
|
|
|
703
703
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
704
704
|
}> & Readonly<{
|
|
705
705
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
706
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
707
706
|
onClear?: () => any;
|
|
708
707
|
onCancel?: () => any;
|
|
708
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
709
709
|
onVisibleChange?: (visible: boolean) => any;
|
|
710
710
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
711
711
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -735,17 +735,17 @@ export declare const StCascadePhone: {
|
|
|
735
735
|
multipleValue?: import('./index.ts').StCascadePath[];
|
|
736
736
|
}> & Readonly<{
|
|
737
737
|
onConfirm?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
738
|
-
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
739
738
|
onClear?: () => any;
|
|
740
739
|
onCancel?: () => any;
|
|
740
|
+
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
741
741
|
onVisibleChange?: (visible: boolean) => any;
|
|
742
742
|
"onUpdate:modelValue"?: (value: import('./index.ts').StCascadePath) => any;
|
|
743
743
|
"onUpdate:multipleValue"?: (value: import('./index.ts').StCascadePath[]) => any;
|
|
744
744
|
}>, import('./index.ts').StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
745
745
|
confirm: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
746
|
-
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
747
746
|
clear: () => any;
|
|
748
747
|
cancel: () => any;
|
|
748
|
+
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
749
749
|
visibleChange: (visible: boolean) => any;
|
|
750
750
|
"update:modelValue": (value: import('./index.ts').StCascadePath) => any;
|
|
751
751
|
"update:multipleValue": (value: import('./index.ts').StCascadePath[]) => any;
|
|
@@ -11,17 +11,17 @@ type __VLS_ModelProps = {
|
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCascadePhoneExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
confirm: (value: StCascadePath | StCascadePath[]) => any;
|
|
14
|
-
change: (value: StCascadePath | StCascadePath[]) => any;
|
|
15
14
|
clear: () => any;
|
|
16
15
|
cancel: () => any;
|
|
16
|
+
change: (value: StCascadePath | StCascadePath[]) => any;
|
|
17
17
|
visibleChange: (visible: boolean) => any;
|
|
18
18
|
"update:modelValue": (value: StCascadePath) => any;
|
|
19
19
|
"update:multipleValue": (value: StCascadePath[]) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
21
|
onConfirm?: (value: StCascadePath | StCascadePath[]) => any;
|
|
22
|
-
onChange?: (value: StCascadePath | StCascadePath[]) => any;
|
|
23
22
|
onClear?: () => any;
|
|
24
23
|
onCancel?: () => any;
|
|
24
|
+
onChange?: (value: StCascadePath | StCascadePath[]) => any;
|
|
25
25
|
onVisibleChange?: (visible: boolean) => any;
|
|
26
26
|
"onUpdate:modelValue"?: (value: StCascadePath) => any;
|
|
27
27
|
"onUpdate:multipleValue"?: (value: StCascadePath[]) => any;
|
|
@@ -11,17 +11,17 @@ type __VLS_ModelProps = {
|
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCascadeExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
13
|
confirm: (value: StCascadePath | StCascadePath[]) => any;
|
|
14
|
-
change: (value: StCascadePath | StCascadePath[]) => any;
|
|
15
14
|
clear: () => any;
|
|
16
15
|
cancel: () => any;
|
|
16
|
+
change: (value: StCascadePath | StCascadePath[]) => any;
|
|
17
17
|
visibleChange: (visible: boolean) => any;
|
|
18
18
|
"update:modelValue": (value: StCascadePath) => any;
|
|
19
19
|
"update:multipleValue": (value: StCascadePath[]) => any;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
21
|
onConfirm?: (value: StCascadePath | StCascadePath[]) => any;
|
|
22
|
-
onChange?: (value: StCascadePath | StCascadePath[]) => any;
|
|
23
22
|
onClear?: () => any;
|
|
24
23
|
onCancel?: () => any;
|
|
24
|
+
onChange?: (value: StCascadePath | StCascadePath[]) => any;
|
|
25
25
|
onVisibleChange?: (visible: boolean) => any;
|
|
26
26
|
"onUpdate:modelValue"?: (value: StCascadePath) => any;
|
|
27
27
|
"onUpdate:multipleValue"?: (value: StCascadePath[]) => any;
|
|
@@ -1,43 +1,39 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
close: () => void;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export {};
|
|
1
|
+
import type { StCascadeDesktopEmits, StCascadeDesktopProps, StCascadeDesktopSlots, } from '../desktop/types/st-cascade-desktop.d.ts';
|
|
2
|
+
import type { StCascadePhoneEmits, StCascadePhoneProps, StCascadePhoneSlots } from '../phone/types/st-cascade-phone.d.ts';
|
|
3
|
+
import type { DeviceType } from '../../../types/device.d.ts';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* StCascade 组件属性接口(简易入口:按设备端分发至桌面端/移动端预封装组件)
|
|
7
|
+
* */
|
|
8
|
+
export interface StCascadeProps extends StCascadeDesktopProps, StCascadePhoneProps {
|
|
9
|
+
/** 设备类型 */
|
|
10
|
+
deviceType?: DeviceType | 'auto';
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* StCascade 组件插槽接口
|
|
15
|
+
* */
|
|
16
|
+
export interface StCascadeSlots extends StCascadeDesktopSlots, StCascadePhoneSlots {}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* StCascade 组件事件接口
|
|
20
|
+
* */
|
|
21
|
+
export interface StCascadeEmits extends StCascadeDesktopEmits, StCascadePhoneEmits {}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* StCascade 组件暴露的方法接口
|
|
25
|
+
* */
|
|
26
|
+
export interface StCascadeExpose {
|
|
27
|
+
/** 聚焦触发输入框 */
|
|
28
|
+
focus: () => void;
|
|
29
|
+
/** 失焦触发输入框 */
|
|
30
|
+
blur: () => void;
|
|
31
|
+
/** 清空选中值 */
|
|
32
|
+
clear: () => void;
|
|
33
|
+
/** 打开面板/抽屉 */
|
|
34
|
+
open: () => void;
|
|
35
|
+
/** 关闭面板/抽屉 */
|
|
36
|
+
close: () => void;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export {};
|
|
@@ -2,14 +2,14 @@ export declare const StColorPicker: {
|
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StColorPickerProps & {
|
|
3
3
|
modelValue?: string;
|
|
4
4
|
}> & Readonly<{
|
|
5
|
-
onChange?: (value: string) => any;
|
|
6
5
|
onClear?: () => any;
|
|
6
|
+
onChange?: (value: string) => any;
|
|
7
7
|
onVisibleChange?: (visible: boolean) => any;
|
|
8
8
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
9
9
|
onActiveChange?: (value: import('./index.ts').StColorObject) => any;
|
|
10
10
|
}>, import('./index.ts').StColorPickerExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
change: (value: string) => any;
|
|
12
11
|
clear: () => any;
|
|
12
|
+
change: (value: string) => any;
|
|
13
13
|
visibleChange: (visible: boolean) => any;
|
|
14
14
|
"update:modelValue": (value: string) => any;
|
|
15
15
|
activeChange: (value: import('./index.ts').StColorObject) => any;
|
|
@@ -37,8 +37,8 @@ export declare const StColorPicker: {
|
|
|
37
37
|
}, Readonly<import('./index.ts').StColorPickerProps & {
|
|
38
38
|
modelValue?: string;
|
|
39
39
|
}> & Readonly<{
|
|
40
|
-
onChange?: (value: string) => any;
|
|
41
40
|
onClear?: () => any;
|
|
41
|
+
onChange?: (value: string) => any;
|
|
42
42
|
onVisibleChange?: (visible: boolean) => any;
|
|
43
43
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
44
44
|
onActiveChange?: (value: import('./index.ts').StColorObject) => any;
|
|
@@ -63,14 +63,14 @@ export declare const StColorPicker: {
|
|
|
63
63
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StColorPickerProps & {
|
|
64
64
|
modelValue?: string;
|
|
65
65
|
}> & Readonly<{
|
|
66
|
-
onChange?: (value: string) => any;
|
|
67
66
|
onClear?: () => any;
|
|
67
|
+
onChange?: (value: string) => any;
|
|
68
68
|
onVisibleChange?: (visible: boolean) => any;
|
|
69
69
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
70
70
|
onActiveChange?: (value: import('./index.ts').StColorObject) => any;
|
|
71
71
|
}>, import('./index.ts').StColorPickerExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
-
change: (value: string) => any;
|
|
73
72
|
clear: () => any;
|
|
73
|
+
change: (value: string) => any;
|
|
74
74
|
visibleChange: (visible: boolean) => any;
|
|
75
75
|
"update:modelValue": (value: string) => any;
|
|
76
76
|
activeChange: (value: import('./index.ts').StColorObject) => any;
|
|
@@ -6,14 +6,14 @@ type __VLS_ModelProps = {
|
|
|
6
6
|
};
|
|
7
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
8
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StColorPickerExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
-
change: (value: string) => any;
|
|
10
9
|
clear: () => any;
|
|
10
|
+
change: (value: string) => any;
|
|
11
11
|
visibleChange: (visible: boolean) => any;
|
|
12
12
|
"update:modelValue": (value: string) => any;
|
|
13
13
|
activeChange: (value: StColorObject) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
onChange?: (value: string) => any;
|
|
16
15
|
onClear?: () => any;
|
|
16
|
+
onChange?: (value: string) => any;
|
|
17
17
|
onVisibleChange?: (visible: boolean) => any;
|
|
18
18
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
19
19
|
onActiveChange?: (value: StColorObject) => any;
|
|
@@ -124,6 +124,7 @@ export declare const StConfirm: {
|
|
|
124
124
|
confirm: () => any;
|
|
125
125
|
cancel: () => any;
|
|
126
126
|
}, import('vue').PublicProps, {
|
|
127
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
127
128
|
confirmText: string;
|
|
128
129
|
cancelText: string;
|
|
129
130
|
confirmColor: import('../../types.ts').StColor;
|
|
@@ -140,6 +141,7 @@ export declare const StConfirm: {
|
|
|
140
141
|
onConfirm?: () => any;
|
|
141
142
|
onCancel?: () => any;
|
|
142
143
|
}>, {}, {}, {}, {}, {
|
|
144
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
143
145
|
confirmText: string;
|
|
144
146
|
cancelText: string;
|
|
145
147
|
confirmColor: import('../../types.ts').StColor;
|
|
@@ -156,6 +158,7 @@ export declare const StConfirm: {
|
|
|
156
158
|
confirm: () => any;
|
|
157
159
|
cancel: () => any;
|
|
158
160
|
}, string, {
|
|
161
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
159
162
|
confirmText: string;
|
|
160
163
|
cancelText: string;
|
|
161
164
|
confirmColor: import('../../types.ts').StColor;
|
|
@@ -188,6 +191,7 @@ export declare const StConfirmGroupFooter: {
|
|
|
188
191
|
confirm: () => any;
|
|
189
192
|
cancel: () => any;
|
|
190
193
|
}, import('vue').PublicProps, {
|
|
194
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
191
195
|
confirmText: string;
|
|
192
196
|
cancelText: string;
|
|
193
197
|
confirmColor: import('../../types.ts').StColor;
|
|
@@ -204,6 +208,7 @@ export declare const StConfirmGroupFooter: {
|
|
|
204
208
|
onConfirm?: () => any;
|
|
205
209
|
onCancel?: () => any;
|
|
206
210
|
}>, {}, {}, {}, {}, {
|
|
211
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
207
212
|
confirmText: string;
|
|
208
213
|
cancelText: string;
|
|
209
214
|
confirmColor: import('../../types.ts').StColor;
|
|
@@ -220,6 +225,7 @@ export declare const StConfirmGroupFooter: {
|
|
|
220
225
|
confirm: () => any;
|
|
221
226
|
cancel: () => any;
|
|
222
227
|
}, string, {
|
|
228
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
223
229
|
confirmText: string;
|
|
224
230
|
cancelText: string;
|
|
225
231
|
confirmColor: import('../../types.ts').StColor;
|
|
@@ -7,6 +7,7 @@ declare const __VLS_base: import('vue').DefineComponent<StConfirmGroupFooterProp
|
|
|
7
7
|
onConfirm?: () => any;
|
|
8
8
|
onCancel?: () => any;
|
|
9
9
|
}>, {
|
|
10
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
10
11
|
confirmText: string;
|
|
11
12
|
cancelText: string;
|
|
12
13
|
confirmColor: import('../../types.ts').StColor;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { StColor } from '../../../types/color.d.ts';
|
|
2
|
+
import type { DeviceType } from '../../../types/device.d.ts';
|
|
2
3
|
|
|
3
4
|
/** StConfirmGroupFooter 按钮组原子属性 */
|
|
4
5
|
export interface StConfirmGroupFooterProps {
|
|
@@ -12,6 +13,8 @@ export interface StConfirmGroupFooterProps {
|
|
|
12
13
|
showCancelButton?: boolean;
|
|
13
14
|
/** 是否显示确定按钮 */
|
|
14
15
|
showConfirmButton?: boolean;
|
|
16
|
+
/** 设备端:auto 按设备检测判定,tablet 归入手机端;手机端时两按钮等分撑满整行 */
|
|
17
|
+
deviceType?: DeviceType | 'auto';
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
/** StConfirmGroupFooter 按钮组原子插槽 */
|
|
@@ -7,13 +7,13 @@ type __VLS_ModelProps = {
|
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
9
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StDatePickerDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
change: (value: StPickerValue | StPickerRangeValue) => any;
|
|
11
10
|
clear: () => any;
|
|
11
|
+
change: (value: StPickerValue | StPickerRangeValue) => any;
|
|
12
12
|
visibleChange: (visible: boolean) => any;
|
|
13
13
|
"update:modelValue": (value: StPickerValue | StPickerRangeValue) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
onChange?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
16
15
|
onClear?: () => any;
|
|
16
|
+
onChange?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
17
17
|
onVisibleChange?: (visible: boolean) => any;
|
|
18
18
|
"onUpdate:modelValue"?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
19
19
|
}>, {
|
|
@@ -7,13 +7,13 @@ type __VLS_ModelProps = {
|
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
9
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StDateTimePickerDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
change: (value: StPickerValue | StPickerRangeValue) => any;
|
|
11
10
|
clear: () => any;
|
|
11
|
+
change: (value: StPickerValue | StPickerRangeValue) => any;
|
|
12
12
|
visibleChange: (visible: boolean) => any;
|
|
13
13
|
"update:modelValue": (value: StPickerValue | StPickerRangeValue) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
onChange?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
16
15
|
onClear?: () => any;
|
|
16
|
+
onChange?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
17
17
|
onVisibleChange?: (visible: boolean) => any;
|
|
18
18
|
"onUpdate:modelValue"?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
19
19
|
}>, {
|
|
@@ -7,13 +7,13 @@ type __VLS_ModelProps = {
|
|
|
7
7
|
};
|
|
8
8
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
9
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StTimePickerDesktopExpose, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
change: (value: string | Date | [string | Date, string | Date]) => any;
|
|
11
10
|
clear: () => any;
|
|
11
|
+
change: (value: string | Date | [string | Date, string | Date]) => any;
|
|
12
12
|
visibleChange: (visible: boolean) => any;
|
|
13
13
|
"update:modelValue": (value: StPickerValue | StPickerRangeValue) => any;
|
|
14
14
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
onChange?: (value: string | Date | [string | Date, string | Date]) => any;
|
|
16
15
|
onClear?: () => any;
|
|
16
|
+
onChange?: (value: string | Date | [string | Date, string | Date]) => any;
|
|
17
17
|
onVisibleChange?: (visible: boolean) => any;
|
|
18
18
|
"onUpdate:modelValue"?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
19
19
|
}>, {
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import type { ClassValue, StyleValue, VNodeChild } from 'vue';
|
|
2
2
|
import type { StSize } from '../../../types/size.d.ts';
|
|
3
|
-
import type {
|
|
4
|
-
StPickerClassNames,
|
|
5
|
-
StPickerDateAxisConfig,
|
|
6
|
-
StPickerShortcut,
|
|
7
|
-
StPickerTimeAxisConfig,
|
|
8
|
-
StPickerRangeValue,
|
|
9
|
-
StPickerValue,
|
|
10
|
-
} from '../../types/st-picker-shared.d.ts';
|
|
3
|
+
import type { StPickerClassNames, StPickerDateAxisConfig, StPickerRangeValue, StPickerShortcut, StPickerTimeAxisConfig, StPickerValue, } from '../../types/st-picker-shared.d.ts';
|
|
11
4
|
|
|
12
5
|
/** StDateTimePickerDesktop 桌面端属性 */
|
|
13
6
|
export interface StDateTimePickerDesktopProps extends StPickerClassNames {
|