straw-ui-vue 0.1.45 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/st-cascade/desktop/st-cascade-desktop.d.ts +2 -2
- 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-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/types/st-confirm.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/index.d.ts +79 -79
- 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/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-grid.d.ts +2 -2
- package/dist/components/st-date-picker/st-time-picker.d.ts +2 -2
- package/dist/components/st-dialog/desktop/st-dialog-desktop-group.d.ts +8 -4
- package/dist/components/st-dialog/desktop/types/st-dialog-desktop-group.d.ts +5 -1
- package/dist/components/st-dialog/index.d.ts +30 -12
- package/dist/components/st-dialog/phone/st-dialog-phone-group.d.ts +1 -0
- package/dist/components/st-dialog/phone/types/st-dialog-phone-group.d.ts +3 -0
- package/dist/components/st-dialog/types/st-dialog.d.ts +3 -0
- package/dist/components/st-drawer/desktop/st-drawer-desktop-group.d.ts +1 -0
- package/dist/components/st-drawer/desktop/types/st-drawer-desktop-group.d.ts +3 -0
- package/dist/components/st-drawer/index.d.ts +12 -0
- package/dist/components/st-drawer/phone/st-drawer-phone-group.d.ts +1 -0
- package/dist/components/st-drawer/phone/types/st-drawer-phone-group.d.ts +3 -0
- package/dist/components/st-drawer/types/st-drawer.d.ts +3 -0
- package/dist/components/st-form/constants.d.ts +24 -0
- package/dist/components/st-form/field-path.d.ts +26 -0
- package/dist/components/st-form/index.d.ts +137 -124
- package/dist/components/st-form/st-form-item.d.ts +12 -1
- package/dist/components/st-form/st-form-label.d.ts +2 -0
- package/dist/components/st-form/st-form-message.d.ts +4 -1
- package/dist/components/st-form/st-form.d.ts +15 -5
- package/dist/components/st-form/types/index.d.ts +9 -7
- package/dist/components/st-form/types/st-form-context.d.ts +63 -0
- package/dist/components/st-form/types/st-form-control.d.ts +24 -21
- package/dist/components/st-form/types/st-form-description.d.ts +23 -26
- package/dist/components/st-form/types/st-form-item-context.d.ts +54 -0
- package/dist/components/st-form/types/st-form-item.d.ts +52 -21
- package/dist/components/st-form/types/st-form-label.d.ts +31 -25
- package/dist/components/st-form/types/st-form-message.d.ts +27 -28
- package/dist/components/st-form/types/st-form-rules.d.ts +40 -0
- package/dist/components/st-form/types/st-form.d.ts +65 -29
- package/dist/components/st-form/useFormItemState.d.ts +3 -0
- package/dist/components/st-form/useFormState.d.ts +3 -0
- package/dist/components/st-form/validator.d.ts +45 -0
- package/dist/components/st-input/index.d.ts +171 -171
- package/dist/components/st-input/st-input-group-input.d.ts +4 -4
- package/dist/components/st-input/st-input-group-textarea.d.ts +4 -4
- package/dist/components/st-input/st-input-number.d.ts +4 -4
- package/dist/components/st-input/st-input.d.ts +13 -13
- package/dist/components/st-input/st-textarea.d.ts +13 -13
- package/dist/components/st-message/index.d.ts +10 -10
- package/dist/components/st-message/st-message-group.d.ts +2 -2
- package/dist/components/st-message/st-message-host.d.ts +4 -2
- package/dist/components/st-message/store.d.ts +4 -3
- package/dist/components/st-message/types/st-message-record.d.ts +3 -0
- package/dist/components/st-message/types/st-message.d.ts +3 -0
- 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-sidebar/index.d.ts +256 -21
- package/dist/components/st-sidebar/st-sidebar-content.d.ts +11 -0
- package/dist/components/st-sidebar/st-sidebar-group.d.ts +23 -0
- package/dist/components/st-sidebar/st-sidebar-item.d.ts +3 -6
- package/dist/components/st-sidebar/st-sidebar-nav-item.d.ts +17 -0
- package/dist/components/st-sidebar/st-sidebar-nav.d.ts +13 -0
- package/dist/components/st-sidebar/st-sidebar-section.d.ts +11 -0
- package/dist/components/st-sidebar/st-sidebar.d.ts +4 -2
- package/dist/components/st-sidebar/types/index.d.ts +8 -2
- package/dist/components/st-sidebar/types/st-sidebar-content.d.ts +9 -0
- package/dist/components/st-sidebar/types/st-sidebar-context.d.ts +37 -0
- package/dist/components/st-sidebar/types/st-sidebar-group.d.ts +30 -0
- package/dist/components/st-sidebar/types/st-sidebar-item.d.ts +23 -43
- package/dist/components/st-sidebar/types/st-sidebar-nav-item.d.ts +31 -0
- package/dist/components/st-sidebar/types/st-sidebar-nav.d.ts +17 -0
- package/dist/components/st-sidebar/types/st-sidebar-section.d.ts +23 -0
- package/dist/components/st-sidebar/types/st-sidebar.d.ts +37 -83
- package/dist/components/st-sidebar/useSidebarState.d.ts +1 -1
- package/dist/constants/choice-row.d.ts +1 -1
- package/dist/{forward-props-kqtcqOsj.js → forward-props-DQZYww3g.js} +280 -256
- package/dist/global.d.ts +5 -2
- package/dist/index.d.ts +12 -6
- package/dist/straw-ui.js +4599 -4227
- package/dist/types/teleport.d.ts +8 -0
- package/dist/types.d.ts +1 -0
- package/dist/utils/z-index.d.ts +3 -1
- package/dist/utils.js +2 -2
- package/package.json +5 -5
- package/dist/components/st-form/st-form-field.d.ts +0 -28
- package/dist/components/st-form/types/st-form-field.d.ts +0 -65
- package/dist/components/st-sidebar/st-sidebar-group-nav-item.d.ts +0 -8
- package/dist/components/st-sidebar/types/st-sidebar-group-nav-item.d.ts +0 -19
package/README.md
CHANGED
|
@@ -99,7 +99,7 @@ Straw UI 提供完整的 TypeScript 类型支持。
|
|
|
99
99
|
| `StDivider` | 分割线组件 |
|
|
100
100
|
| `StDrawer` | 抽屉组件(含 StDrawerGroup、StDrawerGroupHeader、StDrawerGroupTitle、StDrawerGroupBody、StDrawerGroupContent、StDrawerGroupFooter、StDrawerGroupAction、StDrawerGroupOverlay 子组件) |
|
|
101
101
|
| `StEmpty` | 空状态组件 |
|
|
102
|
-
| `StFormControl` / `StFormDescription` / `
|
|
102
|
+
| `StFormControl` / `StFormDescription` / `StFormItem` / `StFormLabel` / `StFormMessage` | 表单字段系列组件 |
|
|
103
103
|
| `StImage` | 图片组件 |
|
|
104
104
|
| `StInput` / `StInputGroup` / `StInputGroupAddon` / `StInputGroupButton` / `StInputGroupInput` / `StInputGroupText` / `StInputGroupTextarea` / `StInputNumber` / `StTextarea` | 输入框系列组件 |
|
|
105
105
|
| `StLabel` | 标签组件 |
|
|
@@ -10,14 +10,14 @@ 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
|
-
clear: () => any;
|
|
14
13
|
change: (value: StCascadePath | StCascadePath[]) => any;
|
|
14
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
20
19
|
onChange?: (value: StCascadePath | StCascadePath[]) => any;
|
|
20
|
+
onClear?: () => any;
|
|
21
21
|
onVisibleChange?: (visible: boolean) => any;
|
|
22
22
|
"onUpdate:modelValue"?: (value: StCascadePath) => any;
|
|
23
23
|
"onUpdate:multipleValue"?: (value: StCascadePath[]) => any;
|
|
@@ -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;
|
|
7
8
|
onClear?: () => any;
|
|
8
9
|
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;
|
|
15
16
|
clear: () => any;
|
|
16
17
|
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;
|
|
36
37
|
onClear?: () => any;
|
|
37
38
|
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;
|
|
54
55
|
onClear?: () => any;
|
|
55
56
|
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;
|
|
62
63
|
clear: () => any;
|
|
63
64
|
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
|
-
onClear?: () => any;
|
|
218
217
|
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
218
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
224
223
|
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
224
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
253
252
|
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
253
|
+
onClear?: () => 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
|
-
onClear?: () => any;
|
|
279
278
|
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
279
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
285
284
|
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
285
|
+
clear: () => 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;
|
|
311
312
|
onClear?: () => any;
|
|
312
313
|
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;
|
|
319
320
|
clear: () => any;
|
|
320
321
|
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;
|
|
354
355
|
onClear?: () => any;
|
|
355
356
|
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;
|
|
386
387
|
onClear?: () => any;
|
|
387
388
|
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;
|
|
394
395
|
clear: () => any;
|
|
395
396
|
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
|
-
onClear?: () => any;
|
|
569
568
|
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
569
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
575
574
|
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
575
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
604
603
|
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
604
|
+
onClear?: () => 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
|
-
onClear?: () => any;
|
|
630
629
|
onChange?: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
630
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
636
635
|
change: (value: import('./index.ts').StCascadePath | import('./index.ts').StCascadePath[]) => any;
|
|
636
|
+
clear: () => 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;
|
|
663
664
|
onClear?: () => any;
|
|
664
665
|
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;
|
|
671
672
|
clear: () => any;
|
|
672
673
|
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;
|
|
706
707
|
onClear?: () => any;
|
|
707
708
|
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;
|
|
738
739
|
onClear?: () => any;
|
|
739
740
|
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;
|
|
746
747
|
clear: () => any;
|
|
747
748
|
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;
|
|
14
15
|
clear: () => any;
|
|
15
16
|
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;
|
|
22
23
|
onClear?: () => any;
|
|
23
24
|
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;
|
|
14
15
|
clear: () => any;
|
|
15
16
|
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;
|
|
22
23
|
onClear?: () => any;
|
|
23
24
|
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;
|
|
@@ -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
|
-
onClear?: () => any;
|
|
6
5
|
onChange?: (value: string) => any;
|
|
6
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
12
11
|
change: (value: string) => any;
|
|
12
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
41
40
|
onChange?: (value: string) => any;
|
|
41
|
+
onClear?: () => 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
|
-
onClear?: () => any;
|
|
67
66
|
onChange?: (value: string) => any;
|
|
67
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
73
72
|
change: (value: string) => any;
|
|
73
|
+
clear: () => 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
|
-
clear: () => any;
|
|
10
9
|
change: (value: string) => any;
|
|
10
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
16
15
|
onChange?: (value: string) => any;
|
|
16
|
+
onClear?: () => any;
|
|
17
17
|
onVisibleChange?: (visible: boolean) => any;
|
|
18
18
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
19
19
|
onActiveChange?: (value: StColorObject) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
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
|
+
import type { StTeleportTarget } from '../../../types/teleport.d.ts';
|
|
4
5
|
import type { StMessageType } from '../../st-message/types/index.d.ts';
|
|
5
6
|
|
|
6
7
|
/** 消息框结果动作:确定、取消、因关闭(遮罩 / 关闭按钮 / 返回键 / Esc)而结束 */
|
|
@@ -43,6 +44,8 @@ export interface StConfirmProps {
|
|
|
43
44
|
distinguishCancelAndClose?: boolean;
|
|
44
45
|
/** 设备端:auto 按设备检测判定,tablet 归入手机端 */
|
|
45
46
|
deviceType?: DeviceType | 'auto';
|
|
47
|
+
/** Teleport 落点,CSS 选择器或容器元素 */
|
|
48
|
+
to?: StTeleportTarget;
|
|
46
49
|
|
|
47
50
|
/** 遮罩层自定义类名 */
|
|
48
51
|
overlayClass?: ClassValue;
|
|
@@ -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
|
-
clear: () => any;
|
|
11
10
|
change: (value: StPickerValue | StPickerRangeValue) => any;
|
|
11
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
16
15
|
onChange?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
16
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
11
10
|
change: (value: StPickerValue | StPickerRangeValue) => any;
|
|
11
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
16
15
|
onChange?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
16
|
+
onClear?: () => 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
|
-
clear: () => any;
|
|
11
10
|
change: (value: string | Date | [string | Date, string | Date]) => any;
|
|
11
|
+
clear: () => 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
|
-
onClear?: () => any;
|
|
16
15
|
onChange?: (value: string | Date | [string | Date, string | Date]) => any;
|
|
16
|
+
onClear?: () => any;
|
|
17
17
|
onVisibleChange?: (visible: boolean) => any;
|
|
18
18
|
"onUpdate:modelValue"?: (value: StPickerValue | StPickerRangeValue) => any;
|
|
19
19
|
}>, {
|