bm-admin-ui 1.0.41-alpha → 1.0.42-alpha
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/components/attachment/index.d.ts +70 -0
- package/es/components/attachment/index.js +273 -0
- package/es/components/attachment/src/attachment.vue.d.ts +69 -0
- package/es/components/editor/index.js +12 -6
- package/es/components/float-table/__test__/index.test.d.ts +1 -0
- package/es/components/form-create/index.js +211 -100
- package/es/components/form-designer/index.js +173 -42
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -0
- package/es/components/upload/index.js +12 -6
- package/es/utils/bm-admin-ui-resolver.d.ts +3 -1
- package/es/utils/bm-admin-ui-resolver.js +1 -1
- package/index.esm.js +1225 -818
- package/index.js +1225 -817
- package/lib/components/attachment/index.d.ts +70 -0
- package/lib/components/attachment/index.js +278 -0
- package/lib/components/attachment/src/attachment.vue.d.ts +69 -0
- package/lib/components/editor/index.js +12 -6
- package/lib/components/float-table/__test__/index.test.d.ts +1 -0
- package/lib/components/form-create/index.js +210 -99
- package/lib/components/form-designer/index.js +172 -41
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +7 -0
- package/lib/components/upload/index.js +12 -6
- package/lib/utils/bm-admin-ui-resolver.d.ts +3 -1
- package/lib/utils/bm-admin-ui-resolver.js +1 -1
- package/package.json +2 -2
- package/theme-chalk/attachment.css +1 -0
- package/theme-chalk/form-create.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/types/components/attachment/index.d.ts +70 -0
- package/types/components/attachment/src/attachment.vue.d.ts +69 -0
- package/types/components/float-table/__test__/index.test.d.ts +1 -0
- package/types/components/index.d.ts +1 -0
- package/types/utils/bm-admin-ui-resolver.d.ts +3 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
file: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => void;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
emit: (event: "preview" | "download", ...args: any[]) => void;
|
|
8
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
file: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: () => void;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onPreview?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
onDownload?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>>;
|
|
17
|
+
visible: import("vue").Ref<boolean>;
|
|
18
|
+
data: any;
|
|
19
|
+
renderSize: (size: any) => string;
|
|
20
|
+
setVisible: (value: any) => void;
|
|
21
|
+
preview: (item: any) => void;
|
|
22
|
+
download: (item: any) => void;
|
|
23
|
+
BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
|
|
24
|
+
name: string;
|
|
25
|
+
props: {
|
|
26
|
+
title: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
labelTitle: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
line: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
showAlways: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
setup(props: any, context: any): {
|
|
48
|
+
mySelf: import("vue").Ref<any>;
|
|
49
|
+
handleVisibleChange: (val: any) => void;
|
|
50
|
+
getPopupContainer: () => HTMLElement;
|
|
51
|
+
mSlots: import("vue").Ref<{}>;
|
|
52
|
+
isShow: import("vue").Ref<boolean>;
|
|
53
|
+
openShow: import("vue").Ref<boolean>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
|
|
57
|
+
EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
|
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
file: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: () => void;
|
|
62
|
+
};
|
|
63
|
+
}>> & {
|
|
64
|
+
onPreview?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onDownload?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
file: Record<string, any>;
|
|
68
|
+
}>>;
|
|
69
|
+
export { BmAttachment };
|
|
70
|
+
export default BmAttachment;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
file: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => void;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
emit: (event: "preview" | "download", ...args: any[]) => void;
|
|
8
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
file: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
default: () => void;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onPreview?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
onDownload?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>>;
|
|
17
|
+
visible: import("vue").Ref<boolean>;
|
|
18
|
+
data: any;
|
|
19
|
+
renderSize: (size: any) => string;
|
|
20
|
+
setVisible: (value: any) => void;
|
|
21
|
+
preview: (item: any) => void;
|
|
22
|
+
download: (item: any) => void;
|
|
23
|
+
BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
|
|
24
|
+
name: string;
|
|
25
|
+
props: {
|
|
26
|
+
title: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
labelTitle: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
line: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
showAlways: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
setup(props: any, context: any): {
|
|
48
|
+
mySelf: import("vue").Ref<any>;
|
|
49
|
+
handleVisibleChange: (val: any) => void;
|
|
50
|
+
getPopupContainer: () => HTMLElement;
|
|
51
|
+
mSlots: import("vue").Ref<{}>;
|
|
52
|
+
isShow: import("vue").Ref<boolean>;
|
|
53
|
+
openShow: import("vue").Ref<boolean>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
|
|
57
|
+
EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
|
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("preview" | "download")[], "preview" | "download", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
file: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: () => void;
|
|
62
|
+
};
|
|
63
|
+
}>> & {
|
|
64
|
+
onPreview?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onDownload?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
file: Record<string, any>;
|
|
68
|
+
}>;
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|