bm-admin-ui 1.0.40-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 (123) 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/breadcrumb/index.d.ts +162 -0
  5. package/es/components/breadcrumb/index.js +158 -0
  6. package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +161 -0
  7. package/es/components/button/index.d.ts +303 -1
  8. package/es/components/editor/index.d.ts +305 -0
  9. package/es/components/editor/index.js +12549 -0
  10. package/es/components/editor/src/editor.vue.d.ts +304 -0
  11. package/es/components/editor/src/props.d.ts +31 -0
  12. package/es/components/feedback/index.d.ts +1028 -2
  13. package/es/components/float-table/__test__/index.test.d.ts +1 -0
  14. package/es/components/float-table/index.d.ts +68 -1
  15. package/es/components/flow-designer/index.d.ts +5 -1
  16. package/es/components/form-create/index.js +59 -27
  17. package/es/components/form-designer/index.js +42 -9
  18. package/es/components/index.d.ts +3 -0
  19. package/es/components/index.js +3 -0
  20. package/es/components/input-tags-display/index.d.ts +138 -1
  21. package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
  22. package/es/components/over-tooltips/index.d.ts +33 -1
  23. package/es/components/search-filter/index.d.ts +233 -1
  24. package/es/components/search-filter/src/search-filter.vue.d.ts +3 -3
  25. package/es/components/select-all/index.d.ts +752 -1
  26. package/es/components/select-all/src/selectAll.vue.d.ts +5 -5
  27. package/es/components/shops-filter/index.d.ts +97 -1
  28. package/es/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  29. package/es/components/staffs-selector/index.d.ts +1095 -1
  30. package/es/components/staffs-selector/index.js +535 -505
  31. package/es/components/staffs-selector/src/action.d.ts +66 -0
  32. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +11 -49
  33. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +998 -10
  34. package/es/components/staffs-selector/src/variedCmp.vue.d.ts +18 -11
  35. package/es/components/timeline/index.d.ts +111 -2
  36. package/es/components/upload/index.d.ts +139 -2
  37. package/es/components/upload/index.js +212 -169
  38. package/es/components/upload/src/props.d.ts +50 -0
  39. package/es/components/upload/src/upload.vue.d.ts +44 -11
  40. package/es/utils/with-install.d.ts +7 -1
  41. package/es/utils/with-install.js +1 -0
  42. package/index.esm.js +81686 -71590
  43. package/index.js +81685 -71586
  44. package/lib/components/attachment/index.d.ts +70 -0
  45. package/lib/components/attachment/index.js +278 -0
  46. package/lib/components/attachment/src/attachment.vue.d.ts +69 -0
  47. package/lib/components/breadcrumb/index.d.ts +162 -0
  48. package/lib/components/breadcrumb/index.js +168 -0
  49. package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +161 -0
  50. package/lib/components/button/index.d.ts +303 -1
  51. package/lib/components/editor/index.d.ts +305 -0
  52. package/lib/components/editor/index.js +12554 -0
  53. package/lib/components/editor/src/editor.vue.d.ts +304 -0
  54. package/lib/components/editor/src/props.d.ts +31 -0
  55. package/lib/components/feedback/index.d.ts +1028 -2
  56. package/lib/components/float-table/__test__/index.test.d.ts +1 -0
  57. package/lib/components/float-table/index.d.ts +68 -1
  58. package/lib/components/flow-designer/index.d.ts +5 -1
  59. package/lib/components/form-create/index.js +59 -27
  60. package/lib/components/form-designer/index.js +42 -9
  61. package/lib/components/index.d.ts +3 -0
  62. package/lib/components/index.js +21 -0
  63. package/lib/components/input-tags-display/index.d.ts +138 -1
  64. package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
  65. package/lib/components/over-tooltips/index.d.ts +33 -1
  66. package/lib/components/search-filter/index.d.ts +233 -1
  67. package/lib/components/search-filter/src/search-filter.vue.d.ts +3 -3
  68. package/lib/components/select-all/index.d.ts +752 -1
  69. package/lib/components/select-all/src/selectAll.vue.d.ts +5 -5
  70. package/lib/components/shops-filter/index.d.ts +97 -1
  71. package/lib/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  72. package/lib/components/staffs-selector/index.d.ts +1095 -1
  73. package/lib/components/staffs-selector/index.js +536 -506
  74. package/lib/components/staffs-selector/src/action.d.ts +66 -0
  75. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +11 -49
  76. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +998 -10
  77. package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +18 -11
  78. package/lib/components/timeline/index.d.ts +111 -2
  79. package/lib/components/upload/index.d.ts +139 -2
  80. package/lib/components/upload/index.js +210 -167
  81. package/lib/components/upload/src/props.d.ts +50 -0
  82. package/lib/components/upload/src/upload.vue.d.ts +44 -11
  83. package/lib/utils/with-install.d.ts +7 -1
  84. package/lib/utils/with-install.js +1 -0
  85. package/package.json +1 -1
  86. package/theme-chalk/attachment.css +1 -0
  87. package/theme-chalk/breadcrumb.css +1 -0
  88. package/theme-chalk/editor.css +16 -0
  89. package/theme-chalk/index.css +16 -1
  90. package/theme-chalk/staffs-selector.css +1 -1
  91. package/theme-chalk/upload.css +1 -1
  92. package/types/components/attachment/index.d.ts +70 -0
  93. package/types/components/attachment/src/attachment.vue.d.ts +69 -0
  94. package/types/components/breadcrumb/index.d.ts +162 -0
  95. package/types/components/breadcrumb/src/breadcrumb.vue.d.ts +161 -0
  96. package/types/components/button/index.d.ts +303 -1
  97. package/types/components/editor/index.d.ts +305 -0
  98. package/types/components/editor/src/editor.vue.d.ts +304 -0
  99. package/types/components/editor/src/props.d.ts +31 -0
  100. package/types/components/feedback/index.d.ts +1028 -2
  101. package/types/components/float-table/__test__/index.test.d.ts +1 -0
  102. package/types/components/float-table/index.d.ts +68 -1
  103. package/types/components/flow-designer/index.d.ts +5 -1
  104. package/types/components/index.d.ts +3 -0
  105. package/types/components/input-tags-display/index.d.ts +138 -1
  106. package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +1 -1
  107. package/types/components/over-tooltips/index.d.ts +33 -1
  108. package/types/components/search-filter/index.d.ts +233 -1
  109. package/types/components/search-filter/src/search-filter.vue.d.ts +3 -3
  110. package/types/components/select-all/index.d.ts +752 -1
  111. package/types/components/select-all/src/selectAll.vue.d.ts +5 -5
  112. package/types/components/shops-filter/index.d.ts +97 -1
  113. package/types/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  114. package/types/components/staffs-selector/index.d.ts +1095 -1
  115. package/types/components/staffs-selector/src/action.d.ts +66 -0
  116. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +11 -49
  117. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +998 -10
  118. package/types/components/staffs-selector/src/variedCmp.vue.d.ts +18 -11
  119. package/types/components/timeline/index.d.ts +111 -2
  120. package/types/components/upload/index.d.ts +139 -2
  121. package/types/components/upload/src/props.d.ts +50 -0
  122. package/types/components/upload/src/upload.vue.d.ts +44 -11
  123. package/types/utils/with-install.d.ts +7 -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,278 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var withInstall = require('bm-admin-ui/lib/utils/with-install');
6
+ var vue = require('vue');
7
+ var iconsVue = require('@ant-design/icons-vue');
8
+
9
+ var _export_sfc = (sfc, props) => {
10
+ const target = sfc.__vccOpts || sfc;
11
+ for (const [key, val] of props) {
12
+ target[key] = val;
13
+ }
14
+ return target;
15
+ };
16
+
17
+ const _sfc_main$1 = {
18
+ name: "BmOverTooltips",
19
+ props: {
20
+ title: {
21
+ type: String,
22
+ default: void 0
23
+ },
24
+ labelTitle: {
25
+ type: String,
26
+ default: void 0
27
+ },
28
+ line: {
29
+ type: Number,
30
+ default: 1
31
+ },
32
+ width: {
33
+ type: [Number, String],
34
+ default: 0
35
+ },
36
+ showAlways: {
37
+ type: Boolean,
38
+ default: false
39
+ }
40
+ },
41
+ setup(props, context) {
42
+ const state = vue.reactive({
43
+ mSlots: {},
44
+ isShow: false,
45
+ openShow: false
46
+ });
47
+ const observer = new IntersectionObserver(
48
+ (entries) => {
49
+ entries.forEach((item) => {
50
+ if (item.intersectionRatio > 0.3) {
51
+ observerDom();
52
+ observer.disconnect();
53
+ }
54
+ });
55
+ },
56
+ {
57
+ threshold: 0.3
58
+ }
59
+ );
60
+ function observerDom() {
61
+ if (props.line === 1) {
62
+ if (mySelf.value.scrollWidth > mySelf.value.clientWidth) {
63
+ state.openShow = true;
64
+ }
65
+ } else if (props.line > 1) {
66
+ if (mySelf.value.scrollHeight > mySelf.value.clientHeight) {
67
+ state.openShow = true;
68
+ }
69
+ }
70
+ }
71
+ vue.onBeforeUnmount(function() {
72
+ observer.disconnect();
73
+ });
74
+ let mySelf = vue.ref();
75
+ vue.watch(
76
+ () => props.showAlways,
77
+ function(showAlways) {
78
+ if (showAlways)
79
+ state.openShow = showAlways;
80
+ mySelf.value && observer.unobserve(mySelf.value);
81
+ vue.nextTick(function() {
82
+ mySelf.value && observer.observe(mySelf.value);
83
+ });
84
+ },
85
+ {
86
+ immediate: true
87
+ }
88
+ );
89
+ const handleVisibleChange = (val) => {
90
+ state.isShow = !state.openShow ? false : val;
91
+ };
92
+ const getPopupContainer = () => {
93
+ return document.body;
94
+ };
95
+ return {
96
+ ...vue.toRefs(state),
97
+ mySelf,
98
+ handleVisibleChange,
99
+ getPopupContainer
100
+ };
101
+ }
102
+ };
103
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
104
+ const _component_a_tooltip = vue.resolveComponent("a-tooltip");
105
+ return vue.openBlock(), vue.createBlock(_component_a_tooltip, {
106
+ visible: _ctx.isShow,
107
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.isShow = $event),
108
+ title: $props.labelTitle || $props.title,
109
+ "get-popup-container": $setup.getPopupContainer,
110
+ onVisibleChange: $setup.handleVisibleChange
111
+ }, {
112
+ title: vue.withCtx(() => [
113
+ vue.renderSlot(_ctx.$slots, "title")
114
+ ]),
115
+ default: vue.withCtx(() => [
116
+ vue.createElementVNode("div", {
117
+ ref: "mySelf",
118
+ style: vue.normalizeStyle({
119
+ width: $props.width ? $props.width + "px" : "100%",
120
+ WebkitLineClamp: $props.line
121
+ }),
122
+ class: vue.normalizeClass($props.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
123
+ }, [
124
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
125
+ vue.renderSlot(_ctx.$slots, "title", {}, () => [
126
+ vue.createTextVNode(vue.toDisplayString($props.title), 1)
127
+ ])
128
+ ])
129
+ ], 6)
130
+ ]),
131
+ _: 3
132
+ }, 8, ["visible", "title", "get-popup-container", "onVisibleChange"]);
133
+ }
134
+ var OverTooltips = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "over-tooltips.vue"]]);
135
+
136
+ const BmOverTooltips = withInstall.withInstall(OverTooltips);
137
+ var BmOverTooltips$1 = BmOverTooltips;
138
+
139
+ const _hoisted_1 = { class: "file_block" };
140
+ const _hoisted_2 = { class: "file_name" };
141
+ const _hoisted_3 = { class: "file_info" };
142
+ const _hoisted_4 = { class: "icon_text" };
143
+ const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("span", { class: "icon_text" }, "\u5728\u7EBF\u67E5\u770B", -1);
144
+ const __default__ = {
145
+ name: "BmAttachment"
146
+ };
147
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
148
+ ...__default__,
149
+ props: {
150
+ file: {
151
+ type: Object,
152
+ default: () => {
153
+ }
154
+ }
155
+ },
156
+ emits: ["preview", "download"],
157
+ setup(__props, { emit }) {
158
+ const props = __props;
159
+ const visible = vue.ref(false);
160
+ const data = vue.reactive({
161
+ fileType: vue.computed(() => {
162
+ const getFileType = (file) => {
163
+ const index = file.lastIndexOf(".");
164
+ return file.substr(index + 1);
165
+ };
166
+ return getFileType(props.file.fileName);
167
+ }),
168
+ nonsupportPreview: vue.computed(() => {
169
+ return ["zip", "rar"].includes(data.fileType);
170
+ }),
171
+ pictureFileTypes: [
172
+ "img",
173
+ "image",
174
+ "png",
175
+ "PNG",
176
+ "image/png",
177
+ "jpg",
178
+ "JPG",
179
+ "jpeg",
180
+ "JPEG",
181
+ "image/jpeg",
182
+ "gif",
183
+ "GIF",
184
+ "image/gif"
185
+ ],
186
+ openViewImage: ""
187
+ });
188
+ const renderSize = (size) => {
189
+ const pow1024 = (num) => {
190
+ return Math.pow(1024, num);
191
+ };
192
+ if (!size)
193
+ return "0KB";
194
+ if (size < pow1024(1))
195
+ return `${size.toFixed(2)}KB`;
196
+ if (size < pow1024(2))
197
+ return `${(size / pow1024(1)).toFixed(2)}MB`;
198
+ if (size < pow1024(3))
199
+ return `${(size / pow1024(2)).toFixed(2)}GB`;
200
+ return `${(size / pow1024(3)).toFixed(2)}TB`;
201
+ };
202
+ const setVisible = (value) => {
203
+ visible.value = value;
204
+ };
205
+ const preview = (item) => {
206
+ if (data.pictureFileTypes.indexOf(data.fileType) > -1) {
207
+ setVisible(true);
208
+ data.openViewImage = item.filePath;
209
+ return;
210
+ }
211
+ window.open(item.filePath);
212
+ };
213
+ const download = (item) => {
214
+ emit("download", { file: item });
215
+ };
216
+ return (_ctx, _cache) => {
217
+ const _component_a_image = vue.resolveComponent("a-image");
218
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
219
+ vue.createElementVNode("div", _hoisted_1, [
220
+ vue.createElementVNode("i", {
221
+ class: vue.normalizeClass({
222
+ file_icon: true,
223
+ icon_excel: data.fileType === "xlsx",
224
+ icon_ppt: ["ppt", "pptx"].indexOf(data.fileType) > -1,
225
+ icon_word: ["docx", "doc"].indexOf(data.fileType) > -1,
226
+ icon_image: ["png", "jpg", "jpeg", "gif"].indexOf(data.fileType) > -1,
227
+ icon_video: data.fileType === "mp4",
228
+ icon_pdf: data.fileType === "pdf",
229
+ icon_compress: ["rar", "zip"].indexOf(data.fileType) > -1,
230
+ icon_others: true
231
+ })
232
+ }, null, 2),
233
+ vue.createElementVNode("div", null, [
234
+ vue.createElementVNode("div", _hoisted_2, [
235
+ vue.createVNode(vue.unref(BmOverTooltips$1), {
236
+ placement: "topLeft",
237
+ title: __props.file.fileName || ""
238
+ }, null, 8, ["title"])
239
+ ]),
240
+ vue.createElementVNode("div", _hoisted_3, [
241
+ __props.file.isAllowDownload ? (vue.openBlock(), vue.createElementBlock("div", {
242
+ key: 0,
243
+ class: "file_size",
244
+ onClick: download
245
+ }, [
246
+ vue.createVNode(vue.unref(iconsVue.DownloadOutlined)),
247
+ vue.createTextVNode(),
248
+ vue.createElementVNode("span", _hoisted_4, vue.toDisplayString(renderSize(__props.file.fileSize)), 1)
249
+ ])) : vue.createCommentVNode("v-if", true),
250
+ !data.nonsupportPreview ? (vue.openBlock(), vue.createElementBlock("div", {
251
+ key: 1,
252
+ class: "file_preview",
253
+ onClick: _cache[0] || (_cache[0] = ($event) => preview(__props.file))
254
+ }, [
255
+ vue.createVNode(vue.unref(iconsVue.EyeOutlined)),
256
+ _hoisted_5
257
+ ])) : vue.createCommentVNode("v-if", true)
258
+ ])
259
+ ])
260
+ ]),
261
+ vue.createVNode(_component_a_image, {
262
+ style: { display: "none" },
263
+ preview: {
264
+ visible: visible.value,
265
+ onVisibleChange: setVisible
266
+ },
267
+ src: data.openViewImage
268
+ }, null, 8, ["preview", "src"])
269
+ ], 64);
270
+ };
271
+ }
272
+ });
273
+ var Attachment = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "attachment.vue"]]);
274
+
275
+ const BmAttachment = withInstall.withInstall(Attachment);
276
+
277
+ exports.BmAttachment = BmAttachment;
278
+ exports["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,162 @@
1
+ declare const BmBreadcrumb: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
+ path: {
3
+ type: any;
4
+ required: true;
5
+ };
6
+ }, {
7
+ emit: (event: "back", ...args: any[]) => void;
8
+ router: import("vue-router").Router;
9
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
10
+ path: {
11
+ type: any;
12
+ required: true;
13
+ };
14
+ }>> & {
15
+ onBack?: ((...args: any[]) => any) | undefined;
16
+ }>>;
17
+ handleJump: (path: any, backFn: any) => void;
18
+ ABreadcrumb: {
19
+ new (...args: any[]): {
20
+ $: import("vue").ComponentInternalInstance;
21
+ $data: {};
22
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
23
+ prefixCls: StringConstructor;
24
+ routes: {
25
+ type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
26
+ };
27
+ params: import("vue-types").VueTypeValidableDef<any>;
28
+ separator: import("vue-types").VueTypeValidableDef<any>;
29
+ itemRender: {
30
+ type: import("vue").PropType<(opt: {
31
+ route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
32
+ params: unknown;
33
+ routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
34
+ paths: string[];
35
+ }) => import("ant-design-vue/lib/_util/type").VueNode>;
36
+ };
37
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
38
+ $attrs: {
39
+ [x: string]: unknown;
40
+ };
41
+ $refs: {
42
+ [x: string]: unknown;
43
+ };
44
+ $slots: Readonly<{
45
+ [name: string]: import("vue").Slot;
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, {}>>;
49
+ $emit: (event: string, ...args: any[]) => void;
50
+ $el: any;
51
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
52
+ prefixCls: StringConstructor;
53
+ routes: {
54
+ type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
55
+ };
56
+ params: import("vue-types").VueTypeValidableDef<any>;
57
+ separator: import("vue-types").VueTypeValidableDef<any>;
58
+ itemRender: {
59
+ type: import("vue").PropType<(opt: {
60
+ route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
61
+ params: unknown;
62
+ routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
63
+ paths: string[];
64
+ }) => import("ant-design-vue/lib/_util/type").VueNode>;
65
+ };
66
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
67
+ beforeCreate?: (() => void) | (() => void)[] | undefined;
68
+ created?: (() => void) | (() => void)[] | undefined;
69
+ beforeMount?: (() => void) | (() => void)[] | undefined;
70
+ mounted?: (() => void) | (() => void)[] | undefined;
71
+ beforeUpdate?: (() => void) | (() => void)[] | undefined;
72
+ updated?: (() => void) | (() => void)[] | undefined;
73
+ activated?: (() => void) | (() => void)[] | undefined;
74
+ deactivated?: (() => void) | (() => void)[] | undefined;
75
+ beforeDestroy?: (() => void) | (() => void)[] | undefined;
76
+ beforeUnmount?: (() => void) | (() => void)[] | undefined;
77
+ destroyed?: (() => void) | (() => void)[] | undefined;
78
+ unmounted?: (() => void) | (() => void)[] | undefined;
79
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined;
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;
82
+ };
83
+ $forceUpdate: () => void;
84
+ $nextTick: typeof import("vue").nextTick;
85
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
86
+ } & Readonly<import("vue").ExtractPropTypes<{
87
+ prefixCls: StringConstructor;
88
+ routes: {
89
+ type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
90
+ };
91
+ params: import("vue-types").VueTypeValidableDef<any>;
92
+ separator: import("vue-types").VueTypeValidableDef<any>;
93
+ itemRender: {
94
+ type: import("vue").PropType<(opt: {
95
+ route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
96
+ params: unknown;
97
+ routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
98
+ paths: string[];
99
+ }) => import("ant-design-vue/lib/_util/type").VueNode>;
100
+ };
101
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
102
+ __isFragment?: undefined;
103
+ __isTeleport?: undefined;
104
+ __isSuspense?: undefined;
105
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
106
+ prefixCls: StringConstructor;
107
+ routes: {
108
+ type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
109
+ };
110
+ params: import("vue-types").VueTypeValidableDef<any>;
111
+ separator: import("vue-types").VueTypeValidableDef<any>;
112
+ itemRender: {
113
+ type: import("vue").PropType<(opt: {
114
+ route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
115
+ params: unknown;
116
+ routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
117
+ paths: string[];
118
+ }) => import("ant-design-vue/lib/_util/type").VueNode>;
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 & {
121
+ readonly Item: import("vue").DefineComponent<{
122
+ prefixCls: StringConstructor;
123
+ href: StringConstructor;
124
+ separator: import("vue-types").VueTypeValidableDef<any>;
125
+ overlay: import("vue-types").VueTypeValidableDef<any>;
126
+ onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
127
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
128
+ prefixCls: StringConstructor;
129
+ href: StringConstructor;
130
+ separator: import("vue-types").VueTypeValidableDef<any>;
131
+ overlay: import("vue-types").VueTypeValidableDef<any>;
132
+ onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
133
+ }>>, {}>;
134
+ readonly Separator: import("vue").DefineComponent<{
135
+ prefixCls: StringConstructor;
136
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
137
+ prefixCls: StringConstructor;
138
+ }>>, {}>;
139
+ };
140
+ ABreadcrumbItem: import("vue").DefineComponent<{
141
+ prefixCls: StringConstructor;
142
+ href: StringConstructor;
143
+ separator: import("vue-types").VueTypeValidableDef<any>;
144
+ overlay: import("vue-types").VueTypeValidableDef<any>;
145
+ onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
146
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
147
+ prefixCls: StringConstructor;
148
+ href: StringConstructor;
149
+ separator: import("vue-types").VueTypeValidableDef<any>;
150
+ overlay: import("vue-types").VueTypeValidableDef<any>;
151
+ onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
152
+ }>>, {}>;
153
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "back"[], "back", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
154
+ path: {
155
+ type: any;
156
+ required: true;
157
+ };
158
+ }>> & {
159
+ onBack?: ((...args: any[]) => any) | undefined;
160
+ }, {}>>;
161
+ export { BmBreadcrumb };
162
+ export default BmBreadcrumb;