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.
Files changed (35) hide show
  1. package/es/components/attachment/index.d.ts +70 -0
  2. package/es/components/attachment/index.js +273 -0
  3. package/es/components/attachment/src/attachment.vue.d.ts +69 -0
  4. package/es/components/editor/index.js +12 -6
  5. package/es/components/float-table/__test__/index.test.d.ts +1 -0
  6. package/es/components/form-create/index.js +211 -100
  7. package/es/components/form-designer/index.js +173 -42
  8. package/es/components/index.d.ts +1 -0
  9. package/es/components/index.js +1 -0
  10. package/es/components/upload/index.js +12 -6
  11. package/es/utils/bm-admin-ui-resolver.d.ts +3 -1
  12. package/es/utils/bm-admin-ui-resolver.js +1 -1
  13. package/index.esm.js +1225 -818
  14. package/index.js +1225 -817
  15. package/lib/components/attachment/index.d.ts +70 -0
  16. package/lib/components/attachment/index.js +278 -0
  17. package/lib/components/attachment/src/attachment.vue.d.ts +69 -0
  18. package/lib/components/editor/index.js +12 -6
  19. package/lib/components/float-table/__test__/index.test.d.ts +1 -0
  20. package/lib/components/form-create/index.js +210 -99
  21. package/lib/components/form-designer/index.js +172 -41
  22. package/lib/components/index.d.ts +1 -0
  23. package/lib/components/index.js +7 -0
  24. package/lib/components/upload/index.js +12 -6
  25. package/lib/utils/bm-admin-ui-resolver.d.ts +3 -1
  26. package/lib/utils/bm-admin-ui-resolver.js +1 -1
  27. package/package.json +2 -2
  28. package/theme-chalk/attachment.css +1 -0
  29. package/theme-chalk/form-create.css +1 -1
  30. package/theme-chalk/index.css +1 -1
  31. package/types/components/attachment/index.d.ts +70 -0
  32. package/types/components/attachment/src/attachment.vue.d.ts +69 -0
  33. package/types/components/float-table/__test__/index.test.d.ts +1 -0
  34. package/types/components/index.d.ts +1 -0
  35. 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;
@@ -12,3 +12,4 @@ export * from './input-tags-display';
12
12
  export * from './select-all';
13
13
  export * from './breadcrumb';
14
14
  export * from './editor';
15
+ export * from './attachment';
@@ -1,4 +1,6 @@
1
- export declare function BmAdminUiResolver(options: any): {
1
+ export declare function BmAdminUiResolver(options?: {
2
+ importStyle: boolean;
3
+ }): {
2
4
  type: string;
3
5
  resolve: (name: string) => {
4
6
  name: string;