@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.2
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/es/src/base-button/button.vue.d.ts +5 -5
- package/es/src/base-button/index.d.ts +45 -40
- package/es/src/base-button/modal-button.vue.d.ts +8 -6
- package/es/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/es/src/basic/arrow.vue.d.ts +4 -3
- package/es/src/basic/help.vue.d.ts +5 -5
- package/es/src/basic/index.d.ts +196 -70
- package/es/src/basic/title.vue.d.ts +5 -4
- package/es/src/button/index.d.ts +20 -15
- package/es/src/config-provider/config-provider-props.d.ts +21 -15
- package/es/src/config-provider/config-provider.d.ts +78 -67
- package/es/src/config-provider/hooks/use-global-config.d.ts +41 -32
- package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/es/src/config-provider/index.d.ts +504 -155
- package/es/src/constants/component-setting.d.ts +2 -2
- package/es/src/container/collapse/header.vue.d.ts +3 -3
- package/es/src/container/collapse/index.vue.d.ts +3 -3
- package/es/src/container/index.d.ts +118 -37
- package/es/src/container/scroll-container.vue.d.ts +5 -4
- package/es/src/count-down/button.vue.d.ts +5 -4
- package/es/src/count-down/index.d.ts +88 -41
- package/es/src/count-down/input.vue.d.ts +5 -4
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/es/src/cropper/cropper-image.vue.d.ts +6 -6
- package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +307 -92
- package/es/src/description/description.vue.d.ts +3 -3
- package/es/src/description/index.d.ts +167 -46
- package/es/src/dropdown/dropdown.vue.d.ts +6 -5
- package/es/src/dropdown/index.d.ts +35 -28
- package/es/src/hooks/useMessage.d.ts +9 -7
- package/es/src/icon/icon.vue.d.ts +5 -4
- package/es/src/icon/index.d.ts +175 -52
- package/es/src/icon/svg-icon.vue.d.ts +5 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +6 -5
- package/es/src/icon-picker/index.d.ts +155 -46
- package/es/src/modal/basic.vue.d.ts +68 -62
- package/es/src/modal/components/modal-close.vue.d.ts +6 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +67 -62
- package/es/src/modal/components/modal-header.vue.d.ts +4 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +4 -3
- package/es/src/modal/components/modal.d.ts +67 -61
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/es/src/modal/index.d.ts +138 -128
- package/es/src/modal/props.d.ts +19 -16
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/es/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/es/src/pro-form/hooks/use-label-width.d.ts +42 -41
- package/es/src/pro-form/pro-form.vue.d.ts +15 -12
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/es/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/es/src/pro-table/components/editable/index.d.ts +2 -2
- package/es/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/es/src/pro-table/pro-table.vue.d.ts +42 -36
- package/es/src/prompt/dialog.vue.d.ts +4 -3
- package/es/src/prompt/index.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +4 -3
- package/es/src/scroll-bar/index.d.ts +52 -46
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
- package/es/src/strength-meter/index.d.ts +26 -21
- package/es/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/es/src/transition/collapse-transition.vue.d.ts +2 -1
- package/es/src/transition/create-transition.d.ts +5 -5
- package/es/src/transition/index.d.ts +97 -96
- package/es/src/utils/slot.d.ts +2 -2
- package/lib/src/base-button/button.vue.d.ts +5 -5
- package/lib/src/base-button/index.d.ts +45 -40
- package/lib/src/base-button/modal-button.vue.d.ts +8 -6
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/lib/src/basic/arrow.vue.d.ts +4 -3
- package/lib/src/basic/help.vue.d.ts +5 -5
- package/lib/src/basic/index.d.ts +196 -70
- package/lib/src/basic/title.vue.d.ts +5 -4
- package/lib/src/button/index.d.ts +20 -15
- package/lib/src/config-provider/config-provider-props.d.ts +21 -15
- package/lib/src/config-provider/config-provider.d.ts +78 -67
- package/lib/src/config-provider/hooks/use-global-config.d.ts +41 -32
- package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/lib/src/config-provider/index.d.ts +504 -155
- package/lib/src/constants/component-setting.d.ts +2 -2
- package/lib/src/container/collapse/header.vue.d.ts +3 -3
- package/lib/src/container/collapse/index.vue.d.ts +3 -3
- package/lib/src/container/index.d.ts +118 -37
- package/lib/src/container/scroll-container.vue.d.ts +5 -4
- package/lib/src/count-down/button.vue.d.ts +5 -4
- package/lib/src/count-down/index.d.ts +88 -41
- package/lib/src/count-down/input.vue.d.ts +5 -4
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/lib/src/cropper/cropper-image.vue.d.ts +6 -6
- package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +307 -92
- package/lib/src/description/description.vue.d.ts +3 -3
- package/lib/src/description/index.d.ts +167 -46
- package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
- package/lib/src/dropdown/index.d.ts +35 -28
- package/lib/src/hooks/useMessage.d.ts +9 -7
- package/lib/src/icon/icon.vue.d.ts +5 -4
- package/lib/src/icon/index.d.ts +175 -52
- package/lib/src/icon/svg-icon.vue.d.ts +5 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +6 -5
- package/lib/src/icon-picker/index.d.ts +155 -46
- package/lib/src/modal/basic.vue.d.ts +68 -62
- package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +67 -62
- package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +4 -3
- package/lib/src/modal/components/modal.d.ts +67 -61
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/lib/src/modal/index.d.ts +138 -128
- package/lib/src/modal/props.d.ts +19 -16
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/lib/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/lib/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/lib/src/pro-form/hooks/use-label-width.d.ts +42 -41
- package/lib/src/pro-form/pro-form.vue.d.ts +15 -12
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/lib/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/lib/src/pro-table/components/editable/index.d.ts +2 -2
- package/lib/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/lib/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +42 -36
- package/lib/src/prompt/dialog.vue.d.ts +4 -3
- package/lib/src/prompt/index.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +4 -3
- package/lib/src/scroll-bar/index.d.ts +52 -46
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
- package/lib/src/strength-meter/index.d.ts +26 -21
- package/lib/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -1
- package/lib/src/transition/create-transition.d.ts +5 -5
- package/lib/src/transition/index.d.ts +97 -96
- package/lib/src/utils/slot.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentOptionsMixin } from 'vue';
|
|
1
|
+
import { ComponentOptionsMixin, DefineComponent, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { ButtonProps } from './interface';
|
|
3
3
|
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
5
5
|
iconSize: number;
|
|
6
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string,
|
|
6
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
7
7
|
iconSize: number;
|
|
8
8
|
}>>>, {
|
|
9
9
|
iconSize: number;
|
|
@@ -15,9 +15,9 @@ export default _default;
|
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
17
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type:
|
|
18
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
19
|
} : {
|
|
20
|
-
type:
|
|
20
|
+
type: PropType<T[K]>;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -1,58 +1,59 @@
|
|
|
1
1
|
import { default as ModalButton } from './modal-button.vue';
|
|
2
2
|
import { default as PopConfirmButton } from './pop-confirm-button.vue';
|
|
3
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
3
4
|
export * from './interface';
|
|
4
5
|
export { ModalButton, PopConfirmButton };
|
|
5
|
-
export declare const BaseButton:
|
|
6
|
-
new (...args: any[]):
|
|
6
|
+
export declare const BaseButton: {
|
|
7
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
8
|
loading: {
|
|
8
|
-
type:
|
|
9
|
+
type: PropType<boolean>;
|
|
9
10
|
};
|
|
10
11
|
disabled: {
|
|
11
|
-
type:
|
|
12
|
+
type: PropType<boolean>;
|
|
12
13
|
};
|
|
13
14
|
onClick: {
|
|
14
|
-
type:
|
|
15
|
+
type: PropType<() => void>;
|
|
15
16
|
};
|
|
16
17
|
text: {
|
|
17
|
-
type:
|
|
18
|
+
type: PropType<string>;
|
|
18
19
|
};
|
|
19
20
|
color: {
|
|
20
|
-
type:
|
|
21
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
21
22
|
};
|
|
22
23
|
preIcon: {
|
|
23
|
-
type:
|
|
24
|
+
type: PropType<string>;
|
|
24
25
|
};
|
|
25
26
|
postIcon: {
|
|
26
|
-
type:
|
|
27
|
+
type: PropType<string>;
|
|
27
28
|
};
|
|
28
29
|
iconSize: {
|
|
29
|
-
type:
|
|
30
|
+
type: PropType<number>;
|
|
30
31
|
default: number;
|
|
31
32
|
};
|
|
32
|
-
}>>, {}, unknown, {}, {},
|
|
33
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
33
34
|
loading: {
|
|
34
|
-
type:
|
|
35
|
+
type: PropType<boolean>;
|
|
35
36
|
};
|
|
36
37
|
disabled: {
|
|
37
|
-
type:
|
|
38
|
+
type: PropType<boolean>;
|
|
38
39
|
};
|
|
39
40
|
onClick: {
|
|
40
|
-
type:
|
|
41
|
+
type: PropType<() => void>;
|
|
41
42
|
};
|
|
42
43
|
text: {
|
|
43
|
-
type:
|
|
44
|
+
type: PropType<string>;
|
|
44
45
|
};
|
|
45
46
|
color: {
|
|
46
|
-
type:
|
|
47
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
47
48
|
};
|
|
48
49
|
preIcon: {
|
|
49
|
-
type:
|
|
50
|
+
type: PropType<string>;
|
|
50
51
|
};
|
|
51
52
|
postIcon: {
|
|
52
|
-
type:
|
|
53
|
+
type: PropType<string>;
|
|
53
54
|
};
|
|
54
55
|
iconSize: {
|
|
55
|
-
type:
|
|
56
|
+
type: PropType<number>;
|
|
56
57
|
default: number;
|
|
57
58
|
};
|
|
58
59
|
}>>, {
|
|
@@ -64,30 +65,30 @@ export declare const BaseButton: import('@aplus-frontend/utils/src/vue/install')
|
|
|
64
65
|
C: {};
|
|
65
66
|
M: {};
|
|
66
67
|
Defaults: {};
|
|
67
|
-
}, Readonly<
|
|
68
|
+
}, Readonly< ExtractPropTypes<{
|
|
68
69
|
loading: {
|
|
69
|
-
type:
|
|
70
|
+
type: PropType<boolean>;
|
|
70
71
|
};
|
|
71
72
|
disabled: {
|
|
72
|
-
type:
|
|
73
|
+
type: PropType<boolean>;
|
|
73
74
|
};
|
|
74
75
|
onClick: {
|
|
75
|
-
type:
|
|
76
|
+
type: PropType<() => void>;
|
|
76
77
|
};
|
|
77
78
|
text: {
|
|
78
|
-
type:
|
|
79
|
+
type: PropType<string>;
|
|
79
80
|
};
|
|
80
81
|
color: {
|
|
81
|
-
type:
|
|
82
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
82
83
|
};
|
|
83
84
|
preIcon: {
|
|
84
|
-
type:
|
|
85
|
+
type: PropType<string>;
|
|
85
86
|
};
|
|
86
87
|
postIcon: {
|
|
87
|
-
type:
|
|
88
|
+
type: PropType<string>;
|
|
88
89
|
};
|
|
89
90
|
iconSize: {
|
|
90
|
-
type:
|
|
91
|
+
type: PropType<number>;
|
|
91
92
|
default: number;
|
|
92
93
|
};
|
|
93
94
|
}>>, {}, {}, {}, {}, {
|
|
@@ -96,37 +97,41 @@ export declare const BaseButton: import('@aplus-frontend/utils/src/vue/install')
|
|
|
96
97
|
__isFragment?: undefined;
|
|
97
98
|
__isTeleport?: undefined;
|
|
98
99
|
__isSuspense?: undefined;
|
|
99
|
-
} &
|
|
100
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
100
101
|
loading: {
|
|
101
|
-
type:
|
|
102
|
+
type: PropType<boolean>;
|
|
102
103
|
};
|
|
103
104
|
disabled: {
|
|
104
|
-
type:
|
|
105
|
+
type: PropType<boolean>;
|
|
105
106
|
};
|
|
106
107
|
onClick: {
|
|
107
|
-
type:
|
|
108
|
+
type: PropType<() => void>;
|
|
108
109
|
};
|
|
109
110
|
text: {
|
|
110
|
-
type:
|
|
111
|
+
type: PropType<string>;
|
|
111
112
|
};
|
|
112
113
|
color: {
|
|
113
|
-
type:
|
|
114
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
114
115
|
};
|
|
115
116
|
preIcon: {
|
|
116
|
-
type:
|
|
117
|
+
type: PropType<string>;
|
|
117
118
|
};
|
|
118
119
|
postIcon: {
|
|
119
|
-
type:
|
|
120
|
+
type: PropType<string>;
|
|
120
121
|
};
|
|
121
122
|
iconSize: {
|
|
122
|
-
type:
|
|
123
|
+
type: PropType<number>;
|
|
123
124
|
default: number;
|
|
124
125
|
};
|
|
125
|
-
}>>, {}, unknown, {}, {},
|
|
126
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
126
127
|
iconSize: number;
|
|
127
|
-
}, {}, string, {}> &
|
|
128
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
128
129
|
$slots: {
|
|
129
130
|
icon?(_: {}): any;
|
|
130
131
|
default?(_: any): any;
|
|
131
132
|
};
|
|
132
|
-
})
|
|
133
|
+
}) & Plugin<any[]> & (new (...args: any[]) => {
|
|
134
|
+
$props: {
|
|
135
|
+
onClick?: (() => void) | undefined;
|
|
136
|
+
};
|
|
137
|
+
});
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefineComponent, PropType, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ModalOptionsEx } from '../hooks/useMessage';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
2
4
|
enable: {
|
|
3
5
|
type: BooleanConstructor;
|
|
4
6
|
default: boolean;
|
|
5
7
|
};
|
|
6
8
|
modalConfig: {
|
|
7
|
-
type:
|
|
9
|
+
type: PropType<Partial< ModalOptionsEx>>;
|
|
8
10
|
default: () => {};
|
|
9
11
|
};
|
|
10
|
-
}, () =>
|
|
12
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
11
13
|
[key: string]: any;
|
|
12
|
-
}>, unknown, {}, {},
|
|
14
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
13
15
|
enable: {
|
|
14
16
|
type: BooleanConstructor;
|
|
15
17
|
default: boolean;
|
|
16
18
|
};
|
|
17
19
|
modalConfig: {
|
|
18
|
-
type:
|
|
20
|
+
type: PropType<Partial< ModalOptionsEx>>;
|
|
19
21
|
default: () => {};
|
|
20
22
|
};
|
|
21
23
|
}>>, {
|
|
22
24
|
enable: boolean;
|
|
23
|
-
modalConfig: Partial<
|
|
25
|
+
modalConfig: Partial< ModalOptionsEx>;
|
|
24
26
|
}, {}>;
|
|
25
27
|
export default _default;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
2
3
|
enable: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
default: boolean;
|
|
5
6
|
};
|
|
6
|
-
}, () =>
|
|
7
|
+
}, () => VNode<RendererNode, RendererElement, {
|
|
7
8
|
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {},
|
|
9
|
+
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
9
10
|
enable: {
|
|
10
11
|
type: BooleanConstructor;
|
|
11
12
|
default: boolean;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { BasicArrowProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<BasicArrowProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BasicArrowProps>>>, {}, {}>;
|
|
4
5
|
export default _default;
|
|
5
6
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
7
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
7
8
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type:
|
|
9
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
10
|
} : {
|
|
10
|
-
type:
|
|
11
|
+
type: PropType<T[K]>;
|
|
11
12
|
required: true;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PropType, VNode, VNodeChild } from 'vue';
|
|
1
|
+
import { PropType, VNode, VNodeChild, DefineComponent, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
3
3
|
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<{
|
|
5
5
|
/**
|
|
6
6
|
* Help text max-width
|
|
7
7
|
* @default: 600px
|
|
@@ -44,11 +44,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
44
44
|
* Help text list
|
|
45
45
|
*/
|
|
46
46
|
text: {
|
|
47
|
-
type: PropType<string[] | VNode<
|
|
47
|
+
type: PropType<string[] | VNode< RendererNode, RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
49
49
|
}> | VNodeChild>;
|
|
50
50
|
};
|
|
51
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {},
|
|
51
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
52
52
|
/**
|
|
53
53
|
* Help text max-width
|
|
54
54
|
* @default: 600px
|
|
@@ -91,7 +91,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
91
91
|
* Help text list
|
|
92
92
|
*/
|
|
93
93
|
text: {
|
|
94
|
-
type: PropType<string[] | VNode<
|
|
94
|
+
type: PropType<string[] | VNode< RendererNode, RendererElement, {
|
|
95
95
|
[key: string]: any;
|
|
96
96
|
}> | VNodeChild>;
|
|
97
97
|
};
|
package/es/src/basic/index.d.ts
CHANGED
|
@@ -1,30 +1,106 @@
|
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, VNodeChild, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
+
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
1
3
|
export * from './interface';
|
|
2
|
-
export declare const BasicHelp:
|
|
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
|
-
}
|
|
4
|
+
export declare const BasicHelp: {
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
|
+
maxWidth: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
showIndex: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
};
|
|
13
|
+
color: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
fontSize: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
placement: {
|
|
22
|
+
type: PropType<TooltipPlacement>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
text: {
|
|
26
|
+
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}> | VNodeChild>;
|
|
29
|
+
};
|
|
30
|
+
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
31
|
+
maxWidth: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
showIndex: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
};
|
|
38
|
+
color: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
fontSize: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
placement: {
|
|
47
|
+
type: PropType<TooltipPlacement>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
text: {
|
|
51
|
+
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
}> | VNodeChild>;
|
|
54
|
+
};
|
|
55
|
+
}>>, {
|
|
56
|
+
color: string;
|
|
57
|
+
placement: TooltipPlacement;
|
|
58
|
+
fontSize: string;
|
|
59
|
+
maxWidth: string;
|
|
60
|
+
showIndex: boolean;
|
|
61
|
+
}, true, {}, {}, {
|
|
62
|
+
P: {};
|
|
63
|
+
B: {};
|
|
64
|
+
D: {};
|
|
65
|
+
C: {};
|
|
66
|
+
M: {};
|
|
67
|
+
Defaults: {};
|
|
68
|
+
}, Readonly< ExtractPropTypes<{
|
|
69
|
+
maxWidth: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
showIndex: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
};
|
|
76
|
+
color: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
fontSize: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
placement: {
|
|
85
|
+
type: PropType<TooltipPlacement>;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
text: {
|
|
89
|
+
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
}> | VNodeChild>;
|
|
92
|
+
};
|
|
93
|
+
}>>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
94
|
+
color: string;
|
|
95
|
+
placement: TooltipPlacement;
|
|
96
|
+
fontSize: string;
|
|
97
|
+
maxWidth: string;
|
|
98
|
+
showIndex: boolean;
|
|
99
|
+
}>;
|
|
100
|
+
__isFragment?: undefined;
|
|
101
|
+
__isTeleport?: undefined;
|
|
102
|
+
__isSuspense?: undefined;
|
|
103
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
28
104
|
maxWidth: {
|
|
29
105
|
type: StringConstructor;
|
|
30
106
|
default: string;
|
|
@@ -41,42 +117,46 @@ export declare const BasicHelp: import('@aplus-frontend/utils/src/vue/install').
|
|
|
41
117
|
default: string;
|
|
42
118
|
};
|
|
43
119
|
placement: {
|
|
44
|
-
type:
|
|
120
|
+
type: PropType<TooltipPlacement>;
|
|
45
121
|
default: string;
|
|
46
122
|
};
|
|
47
123
|
text: {
|
|
48
|
-
type:
|
|
124
|
+
type: PropType<string[] | VNode<RendererNode, RendererElement, {
|
|
49
125
|
[key: string]: any;
|
|
50
|
-
}> |
|
|
126
|
+
}> | VNodeChild>;
|
|
51
127
|
};
|
|
52
|
-
}>>, {
|
|
128
|
+
}>>, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
53
129
|
color: string;
|
|
54
|
-
placement:
|
|
130
|
+
placement: TooltipPlacement;
|
|
55
131
|
fontSize: string;
|
|
56
132
|
maxWidth: string;
|
|
57
133
|
showIndex: boolean;
|
|
58
|
-
}, {}
|
|
59
|
-
|
|
60
|
-
|
|
134
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
135
|
+
$props: {
|
|
136
|
+
onClick?: (() => void) | undefined;
|
|
137
|
+
};
|
|
138
|
+
});
|
|
139
|
+
export declare const BasicTitle: {
|
|
140
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
61
141
|
span: {
|
|
62
|
-
type:
|
|
142
|
+
type: PropType<boolean>;
|
|
63
143
|
};
|
|
64
144
|
normal: {
|
|
65
|
-
type:
|
|
145
|
+
type: PropType<boolean>;
|
|
66
146
|
};
|
|
67
147
|
helpMessage: {
|
|
68
|
-
type:
|
|
148
|
+
type: PropType<string | string[]>;
|
|
69
149
|
default: string;
|
|
70
150
|
};
|
|
71
|
-
}>>, {}, unknown, {}, {},
|
|
151
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
72
152
|
span: {
|
|
73
|
-
type:
|
|
153
|
+
type: PropType<boolean>;
|
|
74
154
|
};
|
|
75
155
|
normal: {
|
|
76
|
-
type:
|
|
156
|
+
type: PropType<boolean>;
|
|
77
157
|
};
|
|
78
158
|
helpMessage: {
|
|
79
|
-
type:
|
|
159
|
+
type: PropType<string | string[]>;
|
|
80
160
|
default: string;
|
|
81
161
|
};
|
|
82
162
|
}>>, {
|
|
@@ -88,15 +168,15 @@ export declare const BasicTitle: import('@aplus-frontend/utils/src/vue/install')
|
|
|
88
168
|
C: {};
|
|
89
169
|
M: {};
|
|
90
170
|
Defaults: {};
|
|
91
|
-
}, Readonly<
|
|
171
|
+
}, Readonly< ExtractPropTypes<{
|
|
92
172
|
span: {
|
|
93
|
-
type:
|
|
173
|
+
type: PropType<boolean>;
|
|
94
174
|
};
|
|
95
175
|
normal: {
|
|
96
|
-
type:
|
|
176
|
+
type: PropType<boolean>;
|
|
97
177
|
};
|
|
98
178
|
helpMessage: {
|
|
99
|
-
type:
|
|
179
|
+
type: PropType<string | string[]>;
|
|
100
180
|
default: string;
|
|
101
181
|
};
|
|
102
182
|
}>>, {}, {}, {}, {}, {
|
|
@@ -105,48 +185,94 @@ export declare const BasicTitle: import('@aplus-frontend/utils/src/vue/install')
|
|
|
105
185
|
__isFragment?: undefined;
|
|
106
186
|
__isTeleport?: undefined;
|
|
107
187
|
__isSuspense?: undefined;
|
|
108
|
-
} &
|
|
188
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
109
189
|
span: {
|
|
110
|
-
type:
|
|
190
|
+
type: PropType<boolean>;
|
|
111
191
|
};
|
|
112
192
|
normal: {
|
|
113
|
-
type:
|
|
193
|
+
type: PropType<boolean>;
|
|
114
194
|
};
|
|
115
195
|
helpMessage: {
|
|
116
|
-
type:
|
|
196
|
+
type: PropType<string | string[]>;
|
|
117
197
|
default: string;
|
|
118
198
|
};
|
|
119
|
-
}>>, {}, unknown, {}, {},
|
|
199
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
120
200
|
helpMessage: string | string[];
|
|
121
|
-
}, {}, string, {}> &
|
|
201
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
122
202
|
$slots: {
|
|
123
203
|
default?(_: {}): any;
|
|
124
204
|
};
|
|
125
|
-
})
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
type: import('vue').PropType<boolean>;
|
|
129
|
-
};
|
|
130
|
-
up: {
|
|
131
|
-
type: import('vue').PropType<boolean>;
|
|
132
|
-
};
|
|
133
|
-
down: {
|
|
134
|
-
type: import('vue').PropType<boolean>;
|
|
135
|
-
};
|
|
136
|
-
inset: {
|
|
137
|
-
type: import('vue').PropType<boolean>;
|
|
205
|
+
}) & Plugin<any[]> & (new (...args: any[]) => {
|
|
206
|
+
$props: {
|
|
207
|
+
onClick?: (() => void) | undefined;
|
|
138
208
|
};
|
|
139
|
-
}
|
|
209
|
+
});
|
|
210
|
+
export declare const BasicArrow: {
|
|
211
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
212
|
+
expand: {
|
|
213
|
+
type: PropType<boolean>;
|
|
214
|
+
};
|
|
215
|
+
up: {
|
|
216
|
+
type: PropType<boolean>;
|
|
217
|
+
};
|
|
218
|
+
down: {
|
|
219
|
+
type: PropType<boolean>;
|
|
220
|
+
};
|
|
221
|
+
inset: {
|
|
222
|
+
type: PropType<boolean>;
|
|
223
|
+
};
|
|
224
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
225
|
+
expand: {
|
|
226
|
+
type: PropType<boolean>;
|
|
227
|
+
};
|
|
228
|
+
up: {
|
|
229
|
+
type: PropType<boolean>;
|
|
230
|
+
};
|
|
231
|
+
down: {
|
|
232
|
+
type: PropType<boolean>;
|
|
233
|
+
};
|
|
234
|
+
inset: {
|
|
235
|
+
type: PropType<boolean>;
|
|
236
|
+
};
|
|
237
|
+
}>>, {}, true, {}, {}, {
|
|
238
|
+
P: {};
|
|
239
|
+
B: {};
|
|
240
|
+
D: {};
|
|
241
|
+
C: {};
|
|
242
|
+
M: {};
|
|
243
|
+
Defaults: {};
|
|
244
|
+
}, Readonly< ExtractPropTypes<{
|
|
245
|
+
expand: {
|
|
246
|
+
type: PropType<boolean>;
|
|
247
|
+
};
|
|
248
|
+
up: {
|
|
249
|
+
type: PropType<boolean>;
|
|
250
|
+
};
|
|
251
|
+
down: {
|
|
252
|
+
type: PropType<boolean>;
|
|
253
|
+
};
|
|
254
|
+
inset: {
|
|
255
|
+
type: PropType<boolean>;
|
|
256
|
+
};
|
|
257
|
+
}>>, {}, {}, {}, {}, {}>;
|
|
258
|
+
__isFragment?: undefined;
|
|
259
|
+
__isTeleport?: undefined;
|
|
260
|
+
__isSuspense?: undefined;
|
|
261
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
140
262
|
expand: {
|
|
141
|
-
type:
|
|
263
|
+
type: PropType<boolean>;
|
|
142
264
|
};
|
|
143
265
|
up: {
|
|
144
|
-
type:
|
|
266
|
+
type: PropType<boolean>;
|
|
145
267
|
};
|
|
146
268
|
down: {
|
|
147
|
-
type:
|
|
269
|
+
type: PropType<boolean>;
|
|
148
270
|
};
|
|
149
271
|
inset: {
|
|
150
|
-
type:
|
|
272
|
+
type: PropType<boolean>;
|
|
273
|
+
};
|
|
274
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin<any[]> & (new (...args: any[]) => {
|
|
275
|
+
$props: {
|
|
276
|
+
onClick?: (() => void) | undefined;
|
|
151
277
|
};
|
|
152
|
-
}
|
|
278
|
+
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { BasicTitleProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BasicTitleProps>, {
|
|
4
5
|
helpMessage: string;
|
|
5
|
-
}>, {}, unknown, {}, {},
|
|
6
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BasicTitleProps>, {
|
|
6
7
|
helpMessage: string;
|
|
7
8
|
}>>>, {
|
|
8
9
|
helpMessage: string | string[];
|
|
@@ -13,9 +14,9 @@ export default _default;
|
|
|
13
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
15
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type:
|
|
17
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
18
|
} : {
|
|
18
|
-
type:
|
|
19
|
+
type: PropType<T[K]>;
|
|
19
20
|
required: true;
|
|
20
21
|
};
|
|
21
22
|
};
|