@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.3
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/index.mjs +124 -118
- package/es/src/ap-field/checkbox/helper.d.ts +6 -0
- package/es/src/ap-field/date/constant.d.ts +1 -0
- package/es/src/ap-field/index.d.ts +5 -0
- package/es/src/ap-field/interface.d.ts +29 -0
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +14 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +58 -0
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/es/src/ap-form/ap-form-item.vue.mjs +76 -0
- package/es/src/ap-form/ap-form-item.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form.d.ts +1681 -0
- package/es/src/ap-form/ap-form.mjs +5 -0
- package/es/src/ap-form/constant.d.ts +3 -0
- package/es/src/ap-form/constant.mjs +17 -0
- package/es/src/ap-form/index.d.ts +2593 -0
- package/es/src/ap-form/index.mjs +10 -0
- package/es/src/ap-form/interface.d.ts +7 -0
- package/es/src/ap-form/style/ap-form-item-group.css +9 -0
- package/es/src/base-button/button.vue.d.ts +5 -5
- package/es/src/base-button/index.d.ts +53 -48
- 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 +6 -6
- 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 +28 -16
- package/es/src/config-provider/config-provider-props.mjs +8 -4
- package/es/src/config-provider/config-provider.d.ts +92 -68
- package/es/src/config-provider/constants.d.ts +3 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/es/src/config-provider/index.d.ts +532 -156
- package/es/src/container/collapse/header.vue.d.ts +3 -3
- package/es/src/container/collapse/index.vue.d.ts +4 -4
- package/es/src/container/index.d.ts +119 -38
- 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 +7 -7
- package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +308 -93
- package/es/src/description/description.vue.d.ts +6 -6
- package/es/src/description/index.d.ts +169 -48
- package/es/src/dropdown/dropdown.vue.d.ts +6 -5
- package/es/src/dropdown/index.d.ts +35 -28
- package/es/src/hooks/index.d.ts +1 -0
- package/es/src/hooks/useControllableValue.d.ts +13 -0
- package/es/src/hooks/useControllableValue.mjs +24 -0
- 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 +9 -8
- package/es/src/icon-picker/index.d.ts +160 -51
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +79 -75
- package/es/src/modal/basic.vue.d.ts +70 -64
- package/es/src/modal/components/modal-close.vue.d.ts +6 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/es/src/modal/components/modal-header.vue.d.ts +4 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/es/src/modal/components/modal.d.ts +69 -63
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/es/src/modal/index.d.ts +144 -134
- 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 +7 -6
- package/es/src/pro-form/components/api-select.vue.d.ts +8 -7
- 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 +7 -6
- 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 +51 -50
- package/es/src/pro-form/pro-form.vue.d.ts +16 -13
- 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/const.d.ts +3 -0
- package/es/src/pro-table/const.mjs +10 -4
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/es/src/pro-table/interface.d.ts +4 -0
- package/es/src/pro-table/pro-table.vue.d.ts +45 -36
- package/es/src/pro-table/pro-table.vue.mjs +221 -211
- package/es/src/pro-table/style/pro-table.css +10 -5
- 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 -53
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/es/src/scroll-bar/scroll-bar.vue.mjs +44 -44
- 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/theme/ap-form/ap-form-item-group.css +9 -0
- package/es/src/theme/pro-table/pro-table.css +10 -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/index.js +1 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +6 -0
- package/lib/src/ap-field/date/constant.d.ts +1 -0
- package/lib/src/ap-field/index.d.ts +5 -0
- package/lib/src/ap-field/interface.d.ts +29 -0
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +8 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue.d.ts +47 -0
- package/lib/src/ap-form/ap-form-item.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -0
- package/lib/src/ap-form/ap-form.d.ts +1681 -0
- package/lib/src/ap-form/ap-form.js +1 -0
- package/lib/src/ap-form/constant.d.ts +3 -0
- package/lib/src/ap-form/constant.js +1 -0
- package/lib/src/ap-form/index.d.ts +2593 -0
- package/lib/src/ap-form/index.js +1 -0
- package/lib/src/ap-form/interface.d.ts +7 -0
- package/lib/src/ap-form/style/ap-form-item-group.css +9 -0
- package/lib/src/base-button/button.vue.d.ts +5 -5
- package/lib/src/base-button/index.d.ts +53 -48
- 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 +6 -6
- 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 +28 -16
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +92 -68
- package/lib/src/config-provider/constants.d.ts +3 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +47 -32
- package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/lib/src/config-provider/index.d.ts +532 -156
- package/lib/src/container/collapse/header.vue.d.ts +3 -3
- package/lib/src/container/collapse/index.vue.d.ts +4 -4
- package/lib/src/container/index.d.ts +119 -38
- 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 +7 -7
- package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +308 -93
- package/lib/src/description/description.vue.d.ts +6 -6
- package/lib/src/description/index.d.ts +169 -48
- package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
- package/lib/src/dropdown/index.d.ts +35 -28
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/useControllableValue.d.ts +13 -0
- package/lib/src/hooks/useControllableValue.js +1 -0
- 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 +9 -8
- package/lib/src/icon-picker/index.d.ts +160 -51
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +70 -64
- package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +69 -64
- package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +5 -4
- package/lib/src/modal/components/modal.d.ts +69 -63
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/lib/src/modal/index.d.ts +144 -134
- 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 +7 -6
- package/lib/src/pro-form/components/api-select.vue.d.ts +8 -7
- 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 +7 -6
- 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 +51 -50
- package/lib/src/pro-form/pro-form.vue.d.ts +16 -13
- 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/const.d.ts +3 -0
- package/lib/src/pro-table/const.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/lib/src/pro-table/interface.d.ts +4 -0
- package/lib/src/pro-table/pro-table.vue.d.ts +45 -36
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/style/pro-table.css +10 -5
- 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 -53
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -9
- package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
- 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/theme/ap-form/ap-form-item-group.css +9 -0
- package/lib/src/theme/pro-table/pro-table.css +10 -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
- package/es/src/constants/component-setting.d.ts +0 -74
- package/es/src/constants/component-setting.mjs +0 -90
- package/lib/src/constants/component-setting.d.ts +0 -74
- package/lib/src/constants/component-setting.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ap-form.js"),r=require("./ap-form-item.vue.js"),o=require("./ap-form-item-group/index.vue.js"),t=require("@aplus-frontend/utils"),u=t.withInstall(e.default),p=t.withInstall(r.default),s=t.withInstall(o.default);exports.ApForm=u;exports.ApFormItem=p;exports.ApFormItemGroup=s;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ColProps, FormItemProps, RowProps } from 'ant-design-vue';
|
|
2
|
+
|
|
3
|
+
export type ApFormColProps = Omit<ColProps, 'prefixCls'>;
|
|
4
|
+
export type ApFormItemProps = FormItemProps & Partial<ApFormColProps>;
|
|
5
|
+
export type ApFormItemGroupProps = RowProps & {
|
|
6
|
+
countPerRow?: number;
|
|
7
|
+
};
|
|
@@ -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
|
-
};
|
|
13
|
-
onClick: {
|
|
14
|
-
type: import('vue').PropType<() => void>;
|
|
12
|
+
type: PropType<boolean>;
|
|
15
13
|
};
|
|
16
14
|
text: {
|
|
17
|
-
type:
|
|
15
|
+
type: PropType<string>;
|
|
18
16
|
};
|
|
19
17
|
color: {
|
|
20
|
-
type:
|
|
18
|
+
type: PropType<"error" | "warning" | "primary" | "success">;
|
|
19
|
+
};
|
|
20
|
+
onClick: {
|
|
21
|
+
type: PropType<() => void>;
|
|
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
|
-
};
|
|
39
|
-
onClick: {
|
|
40
|
-
type: import('vue').PropType<() => void>;
|
|
38
|
+
type: PropType<boolean>;
|
|
41
39
|
};
|
|
42
40
|
text: {
|
|
43
|
-
type:
|
|
41
|
+
type: PropType<string>;
|
|
44
42
|
};
|
|
45
43
|
color: {
|
|
46
|
-
type:
|
|
44
|
+
type: PropType<"error" | "warning" | "primary" | "success">;
|
|
45
|
+
};
|
|
46
|
+
onClick: {
|
|
47
|
+
type: PropType<() => void>;
|
|
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
|
-
};
|
|
74
|
-
onClick: {
|
|
75
|
-
type: import('vue').PropType<() => void>;
|
|
73
|
+
type: PropType<boolean>;
|
|
76
74
|
};
|
|
77
75
|
text: {
|
|
78
|
-
type:
|
|
76
|
+
type: PropType<string>;
|
|
79
77
|
};
|
|
80
78
|
color: {
|
|
81
|
-
type:
|
|
79
|
+
type: PropType<"error" | "warning" | "primary" | "success">;
|
|
80
|
+
};
|
|
81
|
+
onClick: {
|
|
82
|
+
type: PropType<() => void>;
|
|
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
|
-
};
|
|
106
|
-
onClick: {
|
|
107
|
-
type: import('vue').PropType<() => void>;
|
|
105
|
+
type: PropType<boolean>;
|
|
108
106
|
};
|
|
109
107
|
text: {
|
|
110
|
-
type:
|
|
108
|
+
type: PropType<string>;
|
|
111
109
|
};
|
|
112
110
|
color: {
|
|
113
|
-
type:
|
|
111
|
+
type: PropType<"error" | "warning" | "primary" | "success">;
|
|
112
|
+
};
|
|
113
|
+
onClick: {
|
|
114
|
+
type: PropType<() => void>;
|
|
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,14 +91,14 @@ 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
|
};
|
|
98
98
|
}>>, {
|
|
99
99
|
color: string;
|
|
100
|
-
placement: TooltipPlacement;
|
|
101
100
|
fontSize: string;
|
|
101
|
+
placement: TooltipPlacement;
|
|
102
102
|
maxWidth: string;
|
|
103
103
|
showIndex: boolean;
|
|
104
104
|
}, {}>;
|