bm-admin-ui 1.2.34-alpha → 1.2.36-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 (79) hide show
  1. package/es/components/attachment/index.d.ts +7 -7
  2. package/es/components/attachment/index.js +4 -6
  3. package/es/components/attachment/src/attachment.vue.d.ts +7 -7
  4. package/es/components/breadcrumb/index.d.ts +7 -7
  5. package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  6. package/es/components/button/index.d.ts +6 -6
  7. package/es/components/button/src/button.vue.d.ts +6 -6
  8. package/es/components/cascader/index.js +77 -77
  9. package/es/components/edit-form/index.d.ts +4 -4
  10. package/es/components/edit-form/index.js +1 -1
  11. package/es/components/edit-form/src/edit-form.vue.d.ts +4 -4
  12. package/es/components/feedback/index.d.ts +12 -12
  13. package/es/components/feedback/src/bmAlert.vue.d.ts +6 -6
  14. package/es/components/feedback/src/bmModal.vue.d.ts +6 -6
  15. package/es/components/flow-designer/index.js +1 -1
  16. package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  17. package/es/components/form-create/index.js +5 -5
  18. package/es/components/form-designer/index.js +22 -4
  19. package/es/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  20. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  21. package/es/components/select-all/index.d.ts +6 -6
  22. package/es/components/select-all/src/selectAll.vue.d.ts +6 -6
  23. package/es/components/staffs-selector/index.d.ts +8 -8
  24. package/es/components/staffs-selector/src/autoTooltip.vue.d.ts +26 -0
  25. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  26. package/es/components/staffs-selector/src/virtualScroll.vue.d.ts +69 -0
  27. package/es/components/videoView/index.d.ts +1 -1
  28. package/es/components/videoView/src/videoView.vue.d.ts +1 -1
  29. package/lib/components/attachment/index.d.ts +7 -7
  30. package/lib/components/attachment/index.js +4 -6
  31. package/lib/components/attachment/src/attachment.vue.d.ts +7 -7
  32. package/lib/components/breadcrumb/index.d.ts +7 -7
  33. package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  34. package/lib/components/button/index.d.ts +6 -6
  35. package/lib/components/button/src/button.vue.d.ts +6 -6
  36. package/lib/components/cascader/index.js +77 -77
  37. package/lib/components/edit-form/index.d.ts +4 -4
  38. package/lib/components/edit-form/index.js +1 -1
  39. package/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
  40. package/lib/components/feedback/index.d.ts +12 -12
  41. package/lib/components/feedback/src/bmAlert.vue.d.ts +6 -6
  42. package/lib/components/feedback/src/bmModal.vue.d.ts +6 -6
  43. package/lib/components/flow-designer/index.js +1 -1
  44. package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  45. package/lib/components/form-create/index.js +5 -5
  46. package/lib/components/form-designer/index.js +22 -4
  47. package/lib/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  48. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  49. package/lib/components/select-all/index.d.ts +6 -6
  50. package/lib/components/select-all/src/selectAll.vue.d.ts +6 -6
  51. package/lib/components/staffs-selector/index.d.ts +8 -8
  52. package/lib/components/staffs-selector/src/autoTooltip.vue.d.ts +26 -0
  53. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  54. package/lib/components/staffs-selector/src/virtualScroll.vue.d.ts +69 -0
  55. package/lib/components/videoView/index.d.ts +1 -1
  56. package/lib/components/videoView/src/videoView.vue.d.ts +1 -1
  57. package/package.json +34 -34
  58. package/types/components/attachment/index.d.ts +7 -7
  59. package/types/components/attachment/src/attachment.vue.d.ts +7 -7
  60. package/types/components/breadcrumb/index.d.ts +7 -7
  61. package/types/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -7
  62. package/types/components/button/index.d.ts +6 -6
  63. package/types/components/button/src/button.vue.d.ts +6 -6
  64. package/types/components/edit-form/index.d.ts +4 -4
  65. package/types/components/edit-form/src/edit-form.vue.d.ts +4 -4
  66. package/types/components/feedback/index.d.ts +12 -12
  67. package/types/components/feedback/src/bmAlert.vue.d.ts +6 -6
  68. package/types/components/feedback/src/bmModal.vue.d.ts +6 -6
  69. package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +8 -8
  70. package/types/components/search-filter/src/form-select-all.vue.d.ts +6 -6
  71. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +3 -3
  72. package/types/components/select-all/index.d.ts +6 -6
  73. package/types/components/select-all/src/selectAll.vue.d.ts +6 -6
  74. package/types/components/staffs-selector/index.d.ts +8 -8
  75. package/types/components/staffs-selector/src/autoTooltip.vue.d.ts +26 -0
  76. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +8 -8
  77. package/types/components/staffs-selector/src/virtualScroll.vue.d.ts +69 -0
  78. package/types/components/videoView/index.d.ts +1 -1
  79. package/types/components/videoView/src/videoView.vue.d.ts +1 -1
@@ -1,14 +1,14 @@
1
1
  declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,9 +18,9 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
- BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
23
+ readonly BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
24
24
  name: string;
25
25
  props: {
26
26
  title: {
@@ -53,12 +53,12 @@ declare const BmAttachment: import("bm-admin-ui/es/utils/with-install").SFCWithI
53
53
  openShow: import("vue").Ref<boolean>;
54
54
  };
55
55
  }>;
56
- DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
- EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
56
+ readonly DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
+ readonly EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
58
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
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -145,8 +145,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
145
145
  props: {
146
146
  file: {
147
147
  type: Object,
148
- default: () => {
149
- }
148
+ default: () => ({})
150
149
  }
151
150
  },
152
151
  emits: ["preview", "download"],
@@ -202,9 +201,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
202
201
  if (data.pictureFileTypes.indexOf(data.fileType) > -1) {
203
202
  setVisible(true);
204
203
  data.openViewImage = item.filePath;
205
- return;
206
- }
207
- window.open(item.filePath);
204
+ return false;
205
+ } else
206
+ emit("preview", { file: item, fileType: data.fileType });
208
207
  };
209
208
  const download = (item) => {
210
209
  emit("download", { file: item });
@@ -240,7 +239,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
240
239
  onClick: download
241
240
  }, [
242
241
  createVNode(unref(DownloadOutlined)),
243
- createTextVNode(),
244
242
  createElementVNode("span", _hoisted_4, toDisplayString(renderSize(__props.file.fileSize)), 1)
245
243
  ])) : createCommentVNode("v-if", true),
246
244
  !data.nonsupportPreview ? (openBlock(), createElementBlock("div", {
@@ -1,14 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  file: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  }, {
7
7
  emit: (event: "preview" | "download", ...args: any[]) => void;
8
8
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9
9
  file: {
10
10
  type: ObjectConstructor;
11
- default: () => void;
11
+ default: () => {};
12
12
  };
13
13
  }>> & {
14
14
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -18,9 +18,9 @@ declare const _default: import("vue").DefineComponent<{
18
18
  data: any;
19
19
  renderSize: (size: any) => string;
20
20
  setVisible: (value: any) => void;
21
- preview: (item: any) => void;
21
+ preview: (item: any) => false | undefined;
22
22
  download: (item: any) => void;
23
- BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
23
+ readonly BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
24
24
  name: string;
25
25
  props: {
26
26
  title: {
@@ -53,12 +53,12 @@ declare const _default: import("vue").DefineComponent<{
53
53
  openShow: import("vue").Ref<boolean>;
54
54
  };
55
55
  }>;
56
- DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
- EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
56
+ readonly DownloadOutlined: import("@ant-design/icons-vue/lib/icons/DownloadOutlined").DownloadOutlinedIconType;
57
+ readonly EyeOutlined: import("@ant-design/icons-vue/lib/icons/EyeOutlined").EyeOutlinedIconType;
58
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
59
  file: {
60
60
  type: ObjectConstructor;
61
- default: () => void;
61
+ default: () => {};
62
62
  };
63
63
  }>> & {
64
64
  onPreview?: ((...args: any[]) => any) | undefined;
@@ -15,7 +15,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
15
15
  onBack?: ((...args: any[]) => any) | undefined;
16
16
  }>>;
17
17
  handleJump: (path: any, backFn: any) => void;
18
- ABreadcrumb: {
18
+ readonly ABreadcrumb: {
19
19
  new (...args: any[]): {
20
20
  $: import("vue").ComponentInternalInstance;
21
21
  $data: {};
@@ -44,8 +44,8 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
44
44
  $slots: Readonly<{
45
45
  [name: string]: import("vue").Slot;
46
46
  }>;
47
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
48
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
47
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
48
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
49
49
  $emit: (event: string, ...args: any[]) => void;
50
50
  $el: any;
51
51
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -63,7 +63,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
63
63
  paths: string[];
64
64
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
65
65
  };
66
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
66
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
67
67
  beforeCreate?: (() => void) | (() => void)[] | undefined;
68
68
  created?: (() => void) | (() => void)[] | undefined;
69
69
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -78,7 +78,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
78
78
  unmounted?: (() => void) | (() => void)[] | undefined;
79
79
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
80
80
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
81
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
81
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
82
82
  };
83
83
  $forceUpdate: () => void;
84
84
  $nextTick: typeof import("vue").nextTick;
@@ -117,7 +117,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
117
117
  paths: string[];
118
118
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
119
119
  };
120
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
120
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
121
121
  readonly Item: import("vue").DefineComponent<{
122
122
  prefixCls: StringConstructor;
123
123
  href: StringConstructor;
@@ -137,7 +137,7 @@ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithI
137
137
  prefixCls: StringConstructor;
138
138
  }>>, {}>;
139
139
  };
140
- ABreadcrumbItem: import("vue").DefineComponent<{
140
+ readonly ABreadcrumbItem: import("vue").DefineComponent<{
141
141
  prefixCls: StringConstructor;
142
142
  href: StringConstructor;
143
143
  separator: import("vue-types").VueTypeValidableDef<any>;
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  onBack?: ((...args: any[]) => any) | undefined;
16
16
  }>>;
17
17
  handleJump: (path: any, backFn: any) => void;
18
- ABreadcrumb: {
18
+ readonly ABreadcrumb: {
19
19
  new (...args: any[]): {
20
20
  $: import("vue").ComponentInternalInstance;
21
21
  $data: {};
@@ -44,8 +44,8 @@ declare const _default: import("vue").DefineComponent<{
44
44
  $slots: Readonly<{
45
45
  [name: string]: import("vue").Slot;
46
46
  }>;
47
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
48
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
47
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
48
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
49
49
  $emit: (event: string, ...args: any[]) => void;
50
50
  $el: any;
51
51
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
63
63
  paths: string[];
64
64
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
65
65
  };
66
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
66
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
67
67
  beforeCreate?: (() => void) | (() => void)[] | undefined;
68
68
  created?: (() => void) | (() => void)[] | undefined;
69
69
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
78
78
  unmounted?: (() => void) | (() => void)[] | undefined;
79
79
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
80
80
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
81
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
81
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
82
82
  };
83
83
  $forceUpdate: () => void;
84
84
  $nextTick: typeof import("vue").nextTick;
@@ -117,7 +117,7 @@ declare const _default: import("vue").DefineComponent<{
117
117
  paths: string[];
118
118
  }) => import("ant-design-vue/lib/_util/type").VueNode>;
119
119
  };
120
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
120
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
121
121
  readonly Item: import("vue").DefineComponent<{
122
122
  prefixCls: StringConstructor;
123
123
  href: StringConstructor;
@@ -137,7 +137,7 @@ declare const _default: import("vue").DefineComponent<{
137
137
  prefixCls: StringConstructor;
138
138
  }>>, {}>;
139
139
  };
140
- ABreadcrumbItem: import("vue").DefineComponent<{
140
+ readonly ABreadcrumbItem: import("vue").DefineComponent<{
141
141
  prefixCls: StringConstructor;
142
142
  href: StringConstructor;
143
143
  separator: import("vue-types").VueTypeValidableDef<any>;
@@ -18,7 +18,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
18
18
  default: string;
19
19
  };
20
20
  }>> & {}>>;
21
- AButton: {
21
+ readonly AButton: {
22
22
  new (...args: any[]): {
23
23
  $: import("vue").ComponentInternalInstance;
24
24
  $data: {};
@@ -88,8 +88,8 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
88
88
  $slots: Readonly<{
89
89
  [name: string]: import("vue").Slot;
90
90
  }>;
91
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
92
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
91
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
92
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
93
93
  $emit: (event: string, ...args: any[]) => void;
94
94
  $el: any;
95
95
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -148,7 +148,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
148
148
  ghost: boolean;
149
149
  danger: boolean;
150
150
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
151
- }> & {
151
+ }, {}, string> & {
152
152
  beforeCreate?: (() => void) | (() => void)[] | undefined;
153
153
  created?: (() => void) | (() => void)[] | undefined;
154
154
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -163,7 +163,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
163
163
  unmounted?: (() => void) | (() => void)[] | undefined;
164
164
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
165
165
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
166
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
166
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
167
167
  };
168
168
  $forceUpdate: () => void;
169
169
  $nextTick: typeof import("vue").nextTick;
@@ -275,7 +275,7 @@ declare const BmButton: import("bm-admin-ui/es/utils/with-install").SFCWithInsta
275
275
  ghost: boolean;
276
276
  danger: boolean;
277
277
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
278
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
278
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
279
279
  readonly Group: import("vue").DefineComponent<{
280
280
  prefixCls: StringConstructor;
281
281
  size: {
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  default: string;
21
21
  };
22
22
  }>> & {}>>;
23
- AButton: {
23
+ readonly AButton: {
24
24
  new (...args: any[]): {
25
25
  $: import("vue").ComponentInternalInstance;
26
26
  $data: {};
@@ -90,8 +90,8 @@ declare const _default: import("vue").DefineComponent<{
90
90
  $slots: Readonly<{
91
91
  [name: string]: import("vue").Slot;
92
92
  }>;
93
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
94
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
93
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
94
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
95
95
  $emit: (event: string, ...args: any[]) => void;
96
96
  $el: any;
97
97
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<{
150
150
  ghost: boolean;
151
151
  danger: boolean;
152
152
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
153
- }> & {
153
+ }, {}, string> & {
154
154
  beforeCreate?: (() => void) | (() => void)[] | undefined;
155
155
  created?: (() => void) | (() => void)[] | undefined;
156
156
  beforeMount?: (() => void) | (() => void)[] | undefined;
@@ -165,7 +165,7 @@ declare const _default: import("vue").DefineComponent<{
165
165
  unmounted?: (() => void) | (() => void)[] | undefined;
166
166
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
167
167
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
168
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[] | undefined;
168
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[] | undefined;
169
169
  };
170
170
  $forceUpdate: () => void;
171
171
  $nextTick: typeof import("vue").nextTick;
@@ -277,7 +277,7 @@ declare const _default: import("vue").DefineComponent<{
277
277
  ghost: boolean;
278
278
  danger: boolean;
279
279
  htmlType: import("ant-design-vue/lib/button/buttonTypes").ButtonHTMLType;
280
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
280
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
281
281
  readonly Group: import("vue").DefineComponent<{
282
282
  prefixCls: StringConstructor;
283
283
  size: {
@@ -10,71 +10,71 @@ var _export_sfc = (sfc, props) => {
10
10
  return target;
11
11
  };
12
12
 
13
- const _sfc_main = defineComponent({
14
- name: 'BmCascader',
15
- components: { DownOutlined },
16
- props: {
17
- tipType: {
18
- type: String,
19
- default: () => {
20
- return 'none'
21
- },
22
- },
23
- width: {
24
- type: Number,
25
- default: () => {
26
- return 200
27
- },
28
- },
29
- },
30
- setup(props, { emit, attrs }) {
31
- const nameArr = (arr) => {
32
- return arr.reduce(
33
- (acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
34
- []
35
- )
36
- };
37
- const state = reactive({
38
- labelNameList: '',
39
- visible: false,
40
- });
41
- const methods = {
42
- onmouseover() {
43
- state.labelNameList.length && (state.visible = true);
44
- },
45
- onmouseout() {
46
- state.labelNameList.length && (state.visible = false);
47
- },
48
- onchange(value, selectedOptions) {
49
- if (attrs.multiple === '' || attrs.multiple) {
50
- let res = selectedOptions.map((v, k) => {
51
- return v.map((e, i) => {
52
- return e.label
53
- })
54
- });
55
- state.labelNameList = nameArr(res).join(',');
56
- }
57
- },
58
- };
59
- watch(
60
- () => state.labelNameList.length,
61
- (val) => {
62
- if (!val) {
63
- state.visible = false;
64
- }
65
- },
66
- { deep: true }
67
- );
68
- onMounted(() => {
69
- attrs.value?.length &&
70
- (state.labelNameList = nameArr(attrs.value).join(','));
71
- });
72
- return {
73
- ...toRefs(state),
74
- ...methods,
75
- }
76
- },
77
- });
13
+ const _sfc_main = defineComponent({
14
+ name: 'BmCascader',
15
+ components: { DownOutlined },
16
+ props: {
17
+ tipType: {
18
+ type: String,
19
+ default: () => {
20
+ return 'none'
21
+ },
22
+ },
23
+ width: {
24
+ type: Number,
25
+ default: () => {
26
+ return 200
27
+ },
28
+ },
29
+ },
30
+ setup(props, { emit, attrs }) {
31
+ const nameArr = (arr) => {
32
+ return arr.reduce(
33
+ (acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
34
+ []
35
+ )
36
+ };
37
+ const state = reactive({
38
+ labelNameList: '',
39
+ visible: false,
40
+ });
41
+ const methods = {
42
+ onmouseover() {
43
+ state.labelNameList.length && (state.visible = true);
44
+ },
45
+ onmouseout() {
46
+ state.labelNameList.length && (state.visible = false);
47
+ },
48
+ onchange(value, selectedOptions) {
49
+ if (attrs.multiple === '' || attrs.multiple) {
50
+ let res = selectedOptions.map((v, k) => {
51
+ return v.map((e, i) => {
52
+ return e.label
53
+ })
54
+ });
55
+ state.labelNameList = nameArr(res).join(',');
56
+ }
57
+ },
58
+ };
59
+ watch(
60
+ () => state.labelNameList.length,
61
+ (val) => {
62
+ if (!val) {
63
+ state.visible = false;
64
+ }
65
+ },
66
+ { deep: true }
67
+ );
68
+ onMounted(() => {
69
+ attrs.value?.length &&
70
+ (state.labelNameList = nameArr(attrs.value).join(','));
71
+ });
72
+ return {
73
+ ...toRefs(state),
74
+ ...methods,
75
+ }
76
+ },
77
+ });
78
78
 
79
79
  const _hoisted_1 = {
80
80
  ref: "BmCascader",
@@ -95,18 +95,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
95
95
  ? (openBlock(), createBlock(_component_a_popover, {
96
96
  key: 0,
97
97
  visible: _ctx.visible,
98
- "get-popup-container":
99
- (triggerNode) => {
100
- return triggerNode.parentNode
101
- }
98
+ "get-popup-container":
99
+ (triggerNode) => {
100
+ return triggerNode.parentNode
101
+ }
102
102
 
103
103
  }, createSlots({
104
104
  default: withCtx(() => [
105
105
  createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
106
- style: {
107
- width:
108
- _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
109
- minWidth: _ctx.width + 'px',
106
+ style: {
107
+ width:
108
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
109
+ minWidth: _ctx.width + 'px',
110
110
  },
111
111
  "show-arrow": true,
112
112
  onMouseover: _ctx.onmouseover,
@@ -159,10 +159,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
159
  }, createSlots({
160
160
  default: withCtx(() => [
161
161
  createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
162
- style: {
163
- width:
164
- _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
165
- minWidth: _ctx.width + 'px',
162
+ style: {
163
+ width:
164
+ _ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
165
+ minWidth: _ctx.width + 'px',
166
166
  },
167
167
  "show-arrow": true,
168
168
  onMouseover: _ctx.onmouseover,
@@ -79,15 +79,15 @@ declare const BmEditForm: import("bm-admin-ui/es/utils/with-install").SFCWithIns
79
79
  [key: string]: any;
80
80
  }>;
81
81
  updateSlot: (key: string, value: any) => void;
82
- QuestionCircleOutlined: import("@ant-design/icons-vue/lib/icons/QuestionCircleOutlined").QuestionCircleOutlinedIconType;
83
- ClockCircleOutlined: import("@ant-design/icons-vue/lib/icons/ClockCircleOutlined").ClockCircleOutlinedIconType;
84
- CalendarOutlined: import("@ant-design/icons-vue/lib/icons/CalendarOutlined").CalendarOutlinedIconType;
82
+ readonly QuestionCircleOutlined: import("@ant-design/icons-vue/lib/icons/QuestionCircleOutlined").QuestionCircleOutlinedIconType;
83
+ readonly ClockCircleOutlined: import("@ant-design/icons-vue/lib/icons/ClockCircleOutlined").ClockCircleOutlinedIconType;
84
+ readonly CalendarOutlined: import("@ant-design/icons-vue/lib/icons/CalendarOutlined").CalendarOutlinedIconType;
85
85
  Group: import("vue").DefineComponent<{}, {
86
86
  formItemContext: import("ant-design-vue/lib/form/FormItemContext").FormItemContext;
87
87
  onFieldChange: () => void;
88
88
  onFieldBlur: () => void;
89
89
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
90
- BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
90
+ readonly BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
91
91
  name: string;
92
92
  props: {
93
93
  title: {
@@ -1070,7 +1070,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1070
1070
  createVNode(unref(BmOverTooltips), {
1071
1071
  title: unref(getShowValue)(item) || tmpForm.value[item.prop]
1072
1072
  }, null, 8, ["title"]),
1073
- createCommentVNode(' <AutoTooltip\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\n /> ')
1073
+ createCommentVNode(' <AutoTooltip\r\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\r\n /> ')
1074
1074
  ], 6)) : createCommentVNode("v-if", true),
1075
1075
  item.type === "multiText" ? (openBlock(), createElementBlock("div", {
1076
1076
  key: 15,
@@ -78,15 +78,15 @@ declare const _default: import("vue").DefineComponent<{
78
78
  [key: string]: any;
79
79
  }>;
80
80
  updateSlot: (key: string, value: any) => void;
81
- QuestionCircleOutlined: import("@ant-design/icons-vue/lib/icons/QuestionCircleOutlined").QuestionCircleOutlinedIconType;
82
- ClockCircleOutlined: import("@ant-design/icons-vue/lib/icons/ClockCircleOutlined").ClockCircleOutlinedIconType;
83
- CalendarOutlined: import("@ant-design/icons-vue/lib/icons/CalendarOutlined").CalendarOutlinedIconType;
81
+ readonly QuestionCircleOutlined: import("@ant-design/icons-vue/lib/icons/QuestionCircleOutlined").QuestionCircleOutlinedIconType;
82
+ readonly ClockCircleOutlined: import("@ant-design/icons-vue/lib/icons/ClockCircleOutlined").ClockCircleOutlinedIconType;
83
+ readonly CalendarOutlined: import("@ant-design/icons-vue/lib/icons/CalendarOutlined").CalendarOutlinedIconType;
84
84
  Group: import("vue").DefineComponent<{}, {
85
85
  formItemContext: import("ant-design-vue/lib/form/FormItemContext").FormItemContext;
86
86
  onFieldChange: () => void;
87
87
  onFieldBlur: () => void;
88
88
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
89
- BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
89
+ readonly BmOverTooltips: import("../../../utils/with-install").SFCWithInstall<{
90
90
  name: string;
91
91
  props: {
92
92
  title: {