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,273 @@
1
+ import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
+ import { reactive, onBeforeUnmount, ref, watch, nextTick, toRefs, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementVNode, normalizeStyle, normalizeClass, createTextVNode, toDisplayString, defineComponent, computed, createElementBlock, Fragment, createVNode, unref, createCommentVNode } from 'vue';
3
+ import { DownloadOutlined, EyeOutlined } from '@ant-design/icons-vue';
4
+
5
+ var _export_sfc = (sfc, props) => {
6
+ const target = sfc.__vccOpts || sfc;
7
+ for (const [key, val] of props) {
8
+ target[key] = val;
9
+ }
10
+ return target;
11
+ };
12
+
13
+ const _sfc_main$1 = {
14
+ name: "BmOverTooltips",
15
+ props: {
16
+ title: {
17
+ type: String,
18
+ default: void 0
19
+ },
20
+ labelTitle: {
21
+ type: String,
22
+ default: void 0
23
+ },
24
+ line: {
25
+ type: Number,
26
+ default: 1
27
+ },
28
+ width: {
29
+ type: [Number, String],
30
+ default: 0
31
+ },
32
+ showAlways: {
33
+ type: Boolean,
34
+ default: false
35
+ }
36
+ },
37
+ setup(props, context) {
38
+ const state = reactive({
39
+ mSlots: {},
40
+ isShow: false,
41
+ openShow: false
42
+ });
43
+ const observer = new IntersectionObserver(
44
+ (entries) => {
45
+ entries.forEach((item) => {
46
+ if (item.intersectionRatio > 0.3) {
47
+ observerDom();
48
+ observer.disconnect();
49
+ }
50
+ });
51
+ },
52
+ {
53
+ threshold: 0.3
54
+ }
55
+ );
56
+ function observerDom() {
57
+ if (props.line === 1) {
58
+ if (mySelf.value.scrollWidth > mySelf.value.clientWidth) {
59
+ state.openShow = true;
60
+ }
61
+ } else if (props.line > 1) {
62
+ if (mySelf.value.scrollHeight > mySelf.value.clientHeight) {
63
+ state.openShow = true;
64
+ }
65
+ }
66
+ }
67
+ onBeforeUnmount(function() {
68
+ observer.disconnect();
69
+ });
70
+ let mySelf = ref();
71
+ watch(
72
+ () => props.showAlways,
73
+ function(showAlways) {
74
+ if (showAlways)
75
+ state.openShow = showAlways;
76
+ mySelf.value && observer.unobserve(mySelf.value);
77
+ nextTick(function() {
78
+ mySelf.value && observer.observe(mySelf.value);
79
+ });
80
+ },
81
+ {
82
+ immediate: true
83
+ }
84
+ );
85
+ const handleVisibleChange = (val) => {
86
+ state.isShow = !state.openShow ? false : val;
87
+ };
88
+ const getPopupContainer = () => {
89
+ return document.body;
90
+ };
91
+ return {
92
+ ...toRefs(state),
93
+ mySelf,
94
+ handleVisibleChange,
95
+ getPopupContainer
96
+ };
97
+ }
98
+ };
99
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
100
+ const _component_a_tooltip = resolveComponent("a-tooltip");
101
+ return openBlock(), createBlock(_component_a_tooltip, {
102
+ visible: _ctx.isShow,
103
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.isShow = $event),
104
+ title: $props.labelTitle || $props.title,
105
+ "get-popup-container": $setup.getPopupContainer,
106
+ onVisibleChange: $setup.handleVisibleChange
107
+ }, {
108
+ title: withCtx(() => [
109
+ renderSlot(_ctx.$slots, "title")
110
+ ]),
111
+ default: withCtx(() => [
112
+ createElementVNode("div", {
113
+ ref: "mySelf",
114
+ style: normalizeStyle({
115
+ width: $props.width ? $props.width + "px" : "100%",
116
+ WebkitLineClamp: $props.line
117
+ }),
118
+ class: normalizeClass($props.line === 1 ? `bm-over-tooltip` : `bm-over-tooltip-multi`)
119
+ }, [
120
+ renderSlot(_ctx.$slots, "default", {}, () => [
121
+ renderSlot(_ctx.$slots, "title", {}, () => [
122
+ createTextVNode(toDisplayString($props.title), 1)
123
+ ])
124
+ ])
125
+ ], 6)
126
+ ]),
127
+ _: 3
128
+ }, 8, ["visible", "title", "get-popup-container", "onVisibleChange"]);
129
+ }
130
+ var OverTooltips = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "over-tooltips.vue"]]);
131
+
132
+ const BmOverTooltips = withInstall(OverTooltips);
133
+ var BmOverTooltips$1 = BmOverTooltips;
134
+
135
+ const _hoisted_1 = { class: "file_block" };
136
+ const _hoisted_2 = { class: "file_name" };
137
+ const _hoisted_3 = { class: "file_info" };
138
+ const _hoisted_4 = { class: "icon_text" };
139
+ const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", { class: "icon_text" }, "\u5728\u7EBF\u67E5\u770B", -1);
140
+ const __default__ = {
141
+ name: "BmAttachment"
142
+ };
143
+ const _sfc_main = /* @__PURE__ */ defineComponent({
144
+ ...__default__,
145
+ props: {
146
+ file: {
147
+ type: Object,
148
+ default: () => {
149
+ }
150
+ }
151
+ },
152
+ emits: ["preview", "download"],
153
+ setup(__props, { emit }) {
154
+ const props = __props;
155
+ const visible = ref(false);
156
+ const data = reactive({
157
+ fileType: computed(() => {
158
+ const getFileType = (file) => {
159
+ const index = file.lastIndexOf(".");
160
+ return file.substr(index + 1);
161
+ };
162
+ return getFileType(props.file.fileName);
163
+ }),
164
+ nonsupportPreview: computed(() => {
165
+ return ["zip", "rar"].includes(data.fileType);
166
+ }),
167
+ pictureFileTypes: [
168
+ "img",
169
+ "image",
170
+ "png",
171
+ "PNG",
172
+ "image/png",
173
+ "jpg",
174
+ "JPG",
175
+ "jpeg",
176
+ "JPEG",
177
+ "image/jpeg",
178
+ "gif",
179
+ "GIF",
180
+ "image/gif"
181
+ ],
182
+ openViewImage: ""
183
+ });
184
+ const renderSize = (size) => {
185
+ const pow1024 = (num) => {
186
+ return Math.pow(1024, num);
187
+ };
188
+ if (!size)
189
+ return "0KB";
190
+ if (size < pow1024(1))
191
+ return `${size.toFixed(2)}KB`;
192
+ if (size < pow1024(2))
193
+ return `${(size / pow1024(1)).toFixed(2)}MB`;
194
+ if (size < pow1024(3))
195
+ return `${(size / pow1024(2)).toFixed(2)}GB`;
196
+ return `${(size / pow1024(3)).toFixed(2)}TB`;
197
+ };
198
+ const setVisible = (value) => {
199
+ visible.value = value;
200
+ };
201
+ const preview = (item) => {
202
+ if (data.pictureFileTypes.indexOf(data.fileType) > -1) {
203
+ setVisible(true);
204
+ data.openViewImage = item.filePath;
205
+ return;
206
+ }
207
+ window.open(item.filePath);
208
+ };
209
+ const download = (item) => {
210
+ emit("download", { file: item });
211
+ };
212
+ return (_ctx, _cache) => {
213
+ const _component_a_image = resolveComponent("a-image");
214
+ return openBlock(), createElementBlock(Fragment, null, [
215
+ createElementVNode("div", _hoisted_1, [
216
+ createElementVNode("i", {
217
+ class: normalizeClass({
218
+ file_icon: true,
219
+ icon_excel: data.fileType === "xlsx",
220
+ icon_ppt: ["ppt", "pptx"].indexOf(data.fileType) > -1,
221
+ icon_word: ["docx", "doc"].indexOf(data.fileType) > -1,
222
+ icon_image: ["png", "jpg", "jpeg", "gif"].indexOf(data.fileType) > -1,
223
+ icon_video: data.fileType === "mp4",
224
+ icon_pdf: data.fileType === "pdf",
225
+ icon_compress: ["rar", "zip"].indexOf(data.fileType) > -1,
226
+ icon_others: true
227
+ })
228
+ }, null, 2),
229
+ createElementVNode("div", null, [
230
+ createElementVNode("div", _hoisted_2, [
231
+ createVNode(unref(BmOverTooltips$1), {
232
+ placement: "topLeft",
233
+ title: __props.file.fileName || ""
234
+ }, null, 8, ["title"])
235
+ ]),
236
+ createElementVNode("div", _hoisted_3, [
237
+ __props.file.isAllowDownload ? (openBlock(), createElementBlock("div", {
238
+ key: 0,
239
+ class: "file_size",
240
+ onClick: download
241
+ }, [
242
+ createVNode(unref(DownloadOutlined)),
243
+ createTextVNode(),
244
+ createElementVNode("span", _hoisted_4, toDisplayString(renderSize(__props.file.fileSize)), 1)
245
+ ])) : createCommentVNode("v-if", true),
246
+ !data.nonsupportPreview ? (openBlock(), createElementBlock("div", {
247
+ key: 1,
248
+ class: "file_preview",
249
+ onClick: _cache[0] || (_cache[0] = ($event) => preview(__props.file))
250
+ }, [
251
+ createVNode(unref(EyeOutlined)),
252
+ _hoisted_5
253
+ ])) : createCommentVNode("v-if", true)
254
+ ])
255
+ ])
256
+ ]),
257
+ createVNode(_component_a_image, {
258
+ style: { display: "none" },
259
+ preview: {
260
+ visible: visible.value,
261
+ onVisibleChange: setVisible
262
+ },
263
+ src: data.openViewImage
264
+ }, null, 8, ["preview", "src"])
265
+ ], 64);
266
+ };
267
+ }
268
+ });
269
+ var Attachment = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "attachment.vue"]]);
270
+
271
+ const BmAttachment = withInstall(Attachment);
272
+
273
+ export { BmAttachment, BmAttachment as default };
@@ -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;