bmp-layout 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bmp-layout.es.js +62 -90
- package/bmp-layout.umd.js +2 -2
- package/package.json +1 -1
- package/style.css +1 -1
package/bmp-layout.es.js
CHANGED
|
@@ -2,7 +2,7 @@ import { openBlock, createBlock, unref, normalizeClass, nextTick, ref, computed,
|
|
|
2
2
|
import { createPinia, defineStore } from "pinia";
|
|
3
3
|
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
|
|
4
4
|
import { cloneDeep, omit } from "lodash-es";
|
|
5
|
-
import { ElBacktop, ElIcon, ElMenuItem, ElSubMenu, ElScrollbar, ElMenu, ElInput, ElBadge, ElDropdown, ElDropdownMenu, ElDropdownItem, ElAvatar, ElMessageBox, ElBreadcrumb, ElBreadcrumbItem, ElDrawer, ElMessage, ElConfigProvider, ElNotification, ElAffix } from "element-plus";
|
|
5
|
+
import { ElBacktop, ElIcon, ElMenuItem, ElSubMenu, ElScrollbar, ElMenu, ElInput, ElBadge, ElDropdown, ElDropdownMenu, ElDropdownItem, ElAvatar, ElMessageBox, ElBreadcrumb, ElBreadcrumbItem, ElDrawer, ElMessage, ElConfigProvider, ElCard, ElImageViewer, ElNotification, ElUpload, ElLink, ElButton, ElPagination, ElDialog, ElAlert, ElAffix } from "element-plus";
|
|
6
6
|
import { createRouter, createWebHashHistory, useRoute, useRouter } from "vue-router";
|
|
7
7
|
import "vue-i18n";
|
|
8
8
|
import { useClipboard, useWindowSize } from "@vueuse/core";
|
|
@@ -7849,10 +7849,6 @@ typeof process !== "undefined" ? (_a = process.env) === null || _a === void 0 ?
|
|
|
7849
7849
|
const { wsCache: wsCache$2 } = useCache();
|
|
7850
7850
|
const AccessTokenKey = "ACCESS_TOKEN";
|
|
7851
7851
|
const RefreshTokenKey = "REFRESH_TOKEN";
|
|
7852
|
-
const getAccessToken = () => {
|
|
7853
|
-
const accessToken = wsCache$2.get(AccessTokenKey);
|
|
7854
|
-
return accessToken ? accessToken : wsCache$2.get("ACCESS_TOKEN");
|
|
7855
|
-
};
|
|
7856
7852
|
const removeToken = () => {
|
|
7857
7853
|
wsCache$2.delete(AccessTokenKey);
|
|
7858
7854
|
wsCache$2.delete(RefreshTokenKey);
|
|
@@ -7893,12 +7889,7 @@ const useUserStore = defineStore("layout-user", {
|
|
|
7893
7889
|
},
|
|
7894
7890
|
actions: {
|
|
7895
7891
|
// 从缓存加载用户信息到state
|
|
7896
|
-
loadUserFromCacheAction() {
|
|
7897
|
-
if (!getAccessToken()) {
|
|
7898
|
-
this.resetState();
|
|
7899
|
-
return null;
|
|
7900
|
-
}
|
|
7901
|
-
const userInfo = wsCache$1.get(CACHE_KEY.USER);
|
|
7892
|
+
loadUserFromCacheAction(userInfo) {
|
|
7902
7893
|
this.permissions = new Set(userInfo.permissions);
|
|
7903
7894
|
this.roles = userInfo.roles;
|
|
7904
7895
|
this.user = userInfo.user;
|
|
@@ -7906,9 +7897,6 @@ const useUserStore = defineStore("layout-user", {
|
|
|
7906
7897
|
wsCache$1.set(CACHE_KEY.USER, userInfo);
|
|
7907
7898
|
wsCache$1.set(CACHE_KEY.ROLE_ROUTERS, userInfo.menus);
|
|
7908
7899
|
},
|
|
7909
|
-
setUserInfoAction(userInfo) {
|
|
7910
|
-
wsCache$1.set(CACHE_KEY.USER, userInfo);
|
|
7911
|
-
},
|
|
7912
7900
|
async setUserAvatarAction(avatar) {
|
|
7913
7901
|
const userInfo = wsCache$1.get(CACHE_KEY.USER);
|
|
7914
7902
|
this.user.avatar = avatar;
|
|
@@ -9377,7 +9365,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
9377
9365
|
}, [renderLayout(layout), createVNode(_sfc_main$w, null, null)]);
|
|
9378
9366
|
}
|
|
9379
9367
|
});
|
|
9380
|
-
const
|
|
9368
|
+
const BmpLayout = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-e261cf16"]]);
|
|
9381
9369
|
const _sfc_main$d = {
|
|
9382
9370
|
__name: "ConfigGlobal",
|
|
9383
9371
|
props: {
|
|
@@ -9455,8 +9443,7 @@ const _sfc_main$c = /* @__PURE__ */ Object.assign({ name: "PageCard" }, {
|
|
|
9455
9443
|
const { getPrefixCls: getPrefixCls2 } = useDesign();
|
|
9456
9444
|
const prefixCls2 = getPrefixCls2("page-card");
|
|
9457
9445
|
return (_ctx, _cache) => {
|
|
9458
|
-
|
|
9459
|
-
return openBlock(), createBlock(_component_ElCard, {
|
|
9446
|
+
return openBlock(), createBlock(unref(ElCard), {
|
|
9460
9447
|
"body-style": __props.bodyStyle,
|
|
9461
9448
|
header: __props.title,
|
|
9462
9449
|
class: normalizeClass([unref(prefixCls2), "m-16px"])
|
|
@@ -9469,7 +9456,7 @@ const _sfc_main$c = /* @__PURE__ */ Object.assign({ name: "PageCard" }, {
|
|
|
9469
9456
|
};
|
|
9470
9457
|
}
|
|
9471
9458
|
});
|
|
9472
|
-
const PageCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
9459
|
+
const PageCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-32ef0d97"]]);
|
|
9473
9460
|
const _hoisted_1$5 = { class: "ml-2px" };
|
|
9474
9461
|
const _hoisted_2$5 = { class: "flex items-center" };
|
|
9475
9462
|
const _sfc_main$b = /* @__PURE__ */ Object.assign({ name: "PageHeader" }, {
|
|
@@ -9580,8 +9567,7 @@ const _sfc_main$a = /* @__PURE__ */ Object.assign({ name: "ImageViewer" }, {
|
|
|
9580
9567
|
show.value = false;
|
|
9581
9568
|
};
|
|
9582
9569
|
return (_ctx, _cache) => {
|
|
9583
|
-
|
|
9584
|
-
return unref(show) ? (openBlock(), createBlock(_component_ElImageViewer, mergeProps({ key: 0 }, unref(getBindValue), { onClose: close }), null, 16)) : createCommentVNode("", true);
|
|
9570
|
+
return unref(show) ? (openBlock(), createBlock(unref(ElImageViewer), mergeProps({ key: 0 }, unref(getBindValue), { onClose: close }), null, 16)) : createCommentVNode("", true);
|
|
9585
9571
|
};
|
|
9586
9572
|
}
|
|
9587
9573
|
});
|
|
@@ -9791,9 +9777,9 @@ const _sfc_main$9 = /* @__PURE__ */ Object.assign({ name: "UploadImg", inheritAt
|
|
|
9791
9777
|
emits: ["update:modelValue"],
|
|
9792
9778
|
setup(__props, { emit: __emit }) {
|
|
9793
9779
|
useCssVars((_ctx) => ({
|
|
9794
|
-
"
|
|
9795
|
-
"
|
|
9796
|
-
"
|
|
9780
|
+
"3d8ea9da": __props.width,
|
|
9781
|
+
"2c0dbd7a": __props.height,
|
|
9782
|
+
"00ef71d1": __props.borderradius
|
|
9797
9783
|
}));
|
|
9798
9784
|
const props = __props;
|
|
9799
9785
|
const { t: t2 } = useI18n("layout");
|
|
@@ -9832,10 +9818,8 @@ const _sfc_main$9 = /* @__PURE__ */ Object.assign({ name: "UploadImg", inheritAt
|
|
|
9832
9818
|
message.notifyError("图片上传失败,请您重新上传!");
|
|
9833
9819
|
};
|
|
9834
9820
|
return (_ctx, _cache) => {
|
|
9835
|
-
const _component_Icon = resolveComponent("Icon");
|
|
9836
|
-
const _component_el_upload = resolveComponent("el-upload");
|
|
9837
9821
|
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
9838
|
-
createVNode(
|
|
9822
|
+
createVNode(unref(ElUpload), {
|
|
9839
9823
|
id: unref(uuid),
|
|
9840
9824
|
accept: __props.fileType.join(","),
|
|
9841
9825
|
"before-upload": beforeUpload,
|
|
@@ -9863,7 +9847,7 @@ const _sfc_main$9 = /* @__PURE__ */ Object.assign({ name: "UploadImg", inheritAt
|
|
|
9863
9847
|
class: "handle-icon",
|
|
9864
9848
|
onClick: _cache[0] || (_cache[0] = ($event) => imagePreview(__props.modelValue))
|
|
9865
9849
|
}, [
|
|
9866
|
-
createVNode(
|
|
9850
|
+
createVNode(unref(_sfc_main$v), { icon: "ant-design:zoom-in-outlined" }),
|
|
9867
9851
|
__props.showBtnText ? (openBlock(), createElementBlock("span", _hoisted_3$4, toDisplayString(unref(t2)("action.detail")), 1)) : createCommentVNode("", true)
|
|
9868
9852
|
]),
|
|
9869
9853
|
__props.showDelete && !__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
@@ -9871,13 +9855,13 @@ const _sfc_main$9 = /* @__PURE__ */ Object.assign({ name: "UploadImg", inheritAt
|
|
|
9871
9855
|
class: "handle-icon",
|
|
9872
9856
|
onClick: deleteImg
|
|
9873
9857
|
}, [
|
|
9874
|
-
createVNode(
|
|
9858
|
+
createVNode(unref(_sfc_main$v), { icon: "ant-design:delete-outlined" }),
|
|
9875
9859
|
__props.showBtnText ? (openBlock(), createElementBlock("span", _hoisted_4$4, toDisplayString(unref(t2)("action.del")), 1)) : createCommentVNode("", true)
|
|
9876
9860
|
])) : createCommentVNode("", true)
|
|
9877
9861
|
])
|
|
9878
9862
|
], 64)) : (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
9879
9863
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
9880
|
-
createVNode(
|
|
9864
|
+
createVNode(unref(_sfc_main$v), {
|
|
9881
9865
|
icon: "ep:plus",
|
|
9882
9866
|
size: 20
|
|
9883
9867
|
}),
|
|
@@ -9894,7 +9878,7 @@ const _sfc_main$9 = /* @__PURE__ */ Object.assign({ name: "UploadImg", inheritAt
|
|
|
9894
9878
|
};
|
|
9895
9879
|
}
|
|
9896
9880
|
});
|
|
9897
|
-
const UploadImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
9881
|
+
const UploadImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-4a1df97a"]]);
|
|
9898
9882
|
const _hoisted_1$3 = { class: "upload-box" };
|
|
9899
9883
|
const _hoisted_2$3 = { class: "upload-empty" };
|
|
9900
9884
|
const _hoisted_3$3 = ["src"];
|
|
@@ -9974,9 +9958,9 @@ const _sfc_main$8 = /* @__PURE__ */ Object.assign({ name: "UploadImgs", inheritA
|
|
|
9974
9958
|
emits: ["update:modelValue"],
|
|
9975
9959
|
setup(__props, { emit: __emit }) {
|
|
9976
9960
|
useCssVars((_ctx) => ({
|
|
9977
|
-
"
|
|
9978
|
-
"
|
|
9979
|
-
"
|
|
9961
|
+
"1238a60c": __props.borderradius,
|
|
9962
|
+
"c60c1990": __props.width,
|
|
9963
|
+
"2f150c16": __props.height
|
|
9980
9964
|
}));
|
|
9981
9965
|
const message = useMessage();
|
|
9982
9966
|
const imagePreview = (imgUrl) => {
|
|
@@ -10071,10 +10055,8 @@ const _sfc_main$8 = /* @__PURE__ */ Object.assign({ name: "UploadImgs", inheritA
|
|
|
10071
10055
|
});
|
|
10072
10056
|
};
|
|
10073
10057
|
return (_ctx, _cache) => {
|
|
10074
|
-
const _component_Icon = resolveComponent("Icon");
|
|
10075
|
-
const _component_el_upload = resolveComponent("el-upload");
|
|
10076
10058
|
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
10077
|
-
createVNode(
|
|
10059
|
+
createVNode(unref(ElUpload), {
|
|
10078
10060
|
"file-list": unref(fileList),
|
|
10079
10061
|
"onUpdate:fileList": _cache[1] || (_cache[1] = ($event) => isRef(fileList) ? fileList.value = $event : null),
|
|
10080
10062
|
accept: __props.fileType.join(","),
|
|
@@ -10104,7 +10086,7 @@ const _sfc_main$8 = /* @__PURE__ */ Object.assign({ name: "UploadImgs", inheritA
|
|
|
10104
10086
|
class: "handle-icon",
|
|
10105
10087
|
onClick: ($event) => imagePreview(file.url)
|
|
10106
10088
|
}, [
|
|
10107
|
-
createVNode(
|
|
10089
|
+
createVNode(unref(_sfc_main$v), { icon: "ant-design:zoom-in-outlined" }),
|
|
10108
10090
|
__props.showBtnText ? (openBlock(), createElementBlock("span", _hoisted_5$2, "查看")) : createCommentVNode("", true)
|
|
10109
10091
|
], 8, _hoisted_4$3),
|
|
10110
10092
|
!__props.disabled ? (openBlock(), createElementBlock("div", {
|
|
@@ -10112,7 +10094,7 @@ const _sfc_main$8 = /* @__PURE__ */ Object.assign({ name: "UploadImgs", inheritA
|
|
|
10112
10094
|
class: "handle-icon",
|
|
10113
10095
|
onClick: ($event) => handleRemove(file)
|
|
10114
10096
|
}, [
|
|
10115
|
-
createVNode(
|
|
10097
|
+
createVNode(unref(_sfc_main$v), { icon: "ant-design:delete-outlined" }),
|
|
10116
10098
|
__props.showBtnText ? (openBlock(), createElementBlock("span", _hoisted_7, "删除")) : createCommentVNode("", true)
|
|
10117
10099
|
], 8, _hoisted_6$1)) : createCommentVNode("", true)
|
|
10118
10100
|
])
|
|
@@ -10120,7 +10102,7 @@ const _sfc_main$8 = /* @__PURE__ */ Object.assign({ name: "UploadImgs", inheritA
|
|
|
10120
10102
|
default: withCtx(() => [
|
|
10121
10103
|
createElementVNode("div", _hoisted_2$3, [
|
|
10122
10104
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
10123
|
-
createVNode(
|
|
10105
|
+
createVNode(unref(_sfc_main$v), {
|
|
10124
10106
|
icon: "ep:plus",
|
|
10125
10107
|
size: 20
|
|
10126
10108
|
}),
|
|
@@ -10137,7 +10119,7 @@ const _sfc_main$8 = /* @__PURE__ */ Object.assign({ name: "UploadImgs", inheritA
|
|
|
10137
10119
|
};
|
|
10138
10120
|
}
|
|
10139
10121
|
});
|
|
10140
|
-
const UploadImgs = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
10122
|
+
const UploadImgs = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-92b67a34"]]);
|
|
10141
10123
|
const _hoisted_1$2 = { class: "mt-10px line-height-20px color-[var(--el-upload-tip-color)] text-12px" };
|
|
10142
10124
|
const _hoisted_2$2 = { class: "flex items-center" };
|
|
10143
10125
|
const _hoisted_3$2 = { class: "ml-10px" };
|
|
@@ -10301,14 +10283,10 @@ const _sfc_main$7 = /* @__PURE__ */ Object.assign({ name: "UploadFile", inheritA
|
|
|
10301
10283
|
emit("update:modelValue", result);
|
|
10302
10284
|
};
|
|
10303
10285
|
return (_ctx, _cache) => {
|
|
10304
|
-
const _component_Icon = resolveComponent("Icon");
|
|
10305
|
-
const _component_el_button = resolveComponent("el-button");
|
|
10306
|
-
const _component_el_link = resolveComponent("el-link");
|
|
10307
|
-
const _component_el_upload = resolveComponent("el-upload");
|
|
10308
10286
|
return openBlock(), createElementBlock("div", {
|
|
10309
10287
|
class: normalizeClass(["upload-file", _ctx.$attrs.class])
|
|
10310
10288
|
}, [
|
|
10311
|
-
!__props.disabled ? (openBlock(), createBlock(
|
|
10289
|
+
!__props.disabled ? (openBlock(), createBlock(unref(ElUpload), {
|
|
10312
10290
|
key: 0,
|
|
10313
10291
|
ref_key: "uploadRef",
|
|
10314
10292
|
ref: uploadRef,
|
|
@@ -10334,7 +10312,7 @@ const _sfc_main$7 = /* @__PURE__ */ Object.assign({ name: "UploadFile", inheritA
|
|
|
10334
10312
|
createElementVNode("div", _hoisted_2$2, [
|
|
10335
10313
|
createElementVNode("span", null, toDisplayString(row.file.name), 1),
|
|
10336
10314
|
createElementVNode("div", _hoisted_3$2, [
|
|
10337
|
-
createVNode(
|
|
10315
|
+
createVNode(unref(ElLink), {
|
|
10338
10316
|
href: row.file.url,
|
|
10339
10317
|
underline: "never",
|
|
10340
10318
|
download: "",
|
|
@@ -10349,7 +10327,7 @@ const _sfc_main$7 = /* @__PURE__ */ Object.assign({ name: "UploadFile", inheritA
|
|
|
10349
10327
|
}, 1032, ["href"])
|
|
10350
10328
|
]),
|
|
10351
10329
|
createElementVNode("div", _hoisted_4$2, [
|
|
10352
|
-
createVNode(
|
|
10330
|
+
createVNode(unref(ElLink), {
|
|
10353
10331
|
type: "danger",
|
|
10354
10332
|
onClick: ($event) => handleRemove(row.file)
|
|
10355
10333
|
}, {
|
|
@@ -10363,9 +10341,9 @@ const _sfc_main$7 = /* @__PURE__ */ Object.assign({ name: "UploadFile", inheritA
|
|
|
10363
10341
|
])
|
|
10364
10342
|
]),
|
|
10365
10343
|
default: withCtx(() => [
|
|
10366
|
-
createVNode(
|
|
10344
|
+
createVNode(unref(ElButton), { type: "primary" }, {
|
|
10367
10345
|
default: withCtx(() => [
|
|
10368
|
-
createVNode(
|
|
10346
|
+
createVNode(unref(_sfc_main$v), { icon: "ant-design:upload-outlined" }),
|
|
10369
10347
|
_cache[1] || (_cache[1] = createTextVNode(" 选取文件 ", -1))
|
|
10370
10348
|
]),
|
|
10371
10349
|
_: 1,
|
|
@@ -10391,7 +10369,7 @@ const _sfc_main$7 = /* @__PURE__ */ Object.assign({ name: "UploadFile", inheritA
|
|
|
10391
10369
|
}, [
|
|
10392
10370
|
createElementVNode("span", null, toDisplayString(file.name), 1),
|
|
10393
10371
|
createElementVNode("div", _hoisted_5$1, [
|
|
10394
|
-
createVNode(
|
|
10372
|
+
createVNode(unref(ElLink), {
|
|
10395
10373
|
href: file.url,
|
|
10396
10374
|
underline: "never",
|
|
10397
10375
|
download: "",
|
|
@@ -10411,7 +10389,7 @@ const _sfc_main$7 = /* @__PURE__ */ Object.assign({ name: "UploadFile", inheritA
|
|
|
10411
10389
|
};
|
|
10412
10390
|
}
|
|
10413
10391
|
});
|
|
10414
|
-
const UploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
10392
|
+
const UploadFile = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-f625d304"]]);
|
|
10415
10393
|
const _sfc_main$6 = /* @__PURE__ */ Object.assign({ name: "Badge" }, {
|
|
10416
10394
|
__name: "Badge",
|
|
10417
10395
|
props: {
|
|
@@ -10444,8 +10422,7 @@ const _sfc_main$6 = /* @__PURE__ */ Object.assign({ name: "Badge" }, {
|
|
|
10444
10422
|
const { getPrefixCls: getPrefixCls2 } = useDesign();
|
|
10445
10423
|
const prefixCls2 = getPrefixCls2("badge");
|
|
10446
10424
|
return (_ctx, _cache) => {
|
|
10447
|
-
|
|
10448
|
-
return openBlock(), createBlock(_component_el_badge, mergeProps(props, { class: unref(prefixCls2) }), {
|
|
10425
|
+
return openBlock(), createBlock(unref(ElBadge), mergeProps(props, { class: unref(prefixCls2) }), {
|
|
10449
10426
|
default: withCtx(() => [
|
|
10450
10427
|
renderSlot(_ctx.$slots, "default")
|
|
10451
10428
|
]),
|
|
@@ -10515,8 +10492,7 @@ const _sfc_main$5 = /* @__PURE__ */ Object.assign({ name: "Pagination" }, {
|
|
|
10515
10492
|
emit("pagination", { page: val, limit: pageSize.value });
|
|
10516
10493
|
};
|
|
10517
10494
|
return (_ctx, _cache) => {
|
|
10518
|
-
|
|
10519
|
-
return withDirectives((openBlock(), createBlock(_component_el_pagination, {
|
|
10495
|
+
return withDirectives((openBlock(), createBlock(unref(ElPagination), {
|
|
10520
10496
|
"current-page": currentPage.value,
|
|
10521
10497
|
"onUpdate:currentPage": _cache[0] || (_cache[0] = ($event) => currentPage.value = $event),
|
|
10522
10498
|
"page-size": pageSize.value,
|
|
@@ -10616,9 +10592,7 @@ const _sfc_main$4 = /* @__PURE__ */ Object.assign({ name: "Dialog" }, {
|
|
|
10616
10592
|
};
|
|
10617
10593
|
return (_ctx, _cache) => {
|
|
10618
10594
|
const _component_Icon = resolveComponent("Icon");
|
|
10619
|
-
|
|
10620
|
-
const _component_ElDialog = resolveComponent("ElDialog");
|
|
10621
|
-
return openBlock(), createBlock(_component_ElDialog, mergeProps(unref(getBindValue), {
|
|
10595
|
+
return openBlock(), createBlock(unref(ElDialog), mergeProps(unref(getBindValue), {
|
|
10622
10596
|
"close-on-click-modal": true,
|
|
10623
10597
|
fullscreen: __props.fullscreen,
|
|
10624
10598
|
width: unref(dialogWidth),
|
|
@@ -10648,7 +10622,7 @@ const _sfc_main$4 = /* @__PURE__ */ Object.assign({ name: "Dialog" }, {
|
|
|
10648
10622
|
])
|
|
10649
10623
|
]),
|
|
10650
10624
|
default: withCtx(() => [
|
|
10651
|
-
__props.scroll ? (openBlock(), createBlock(
|
|
10625
|
+
__props.scroll ? (openBlock(), createBlock(unref(ElScrollbar), {
|
|
10652
10626
|
key: 0,
|
|
10653
10627
|
style: normalizeStyle(unref(dialogStyle)),
|
|
10654
10628
|
always: __props.scrollbarAlways
|
|
@@ -10707,8 +10681,7 @@ const _sfc_main$3 = /* @__PURE__ */ Object.assign({ name: "Alert" }, {
|
|
|
10707
10681
|
const prefixCls2 = getPrefixCls2("alert");
|
|
10708
10682
|
const props = __props;
|
|
10709
10683
|
return (_ctx, _cache) => {
|
|
10710
|
-
|
|
10711
|
-
return openBlock(), createBlock(_component_el_alert, mergeProps(props, { class: unref(prefixCls2) }), null, 16, ["class"]);
|
|
10684
|
+
return openBlock(), createBlock(unref(ElAlert), mergeProps(props, { class: unref(prefixCls2) }), null, 16, ["class"]);
|
|
10712
10685
|
};
|
|
10713
10686
|
}
|
|
10714
10687
|
});
|
|
@@ -11274,7 +11247,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ name: "Steps" }, {
|
|
|
11274
11247
|
},
|
|
11275
11248
|
setup(__props) {
|
|
11276
11249
|
return (_ctx, _cache) => {
|
|
11277
|
-
const _component_Icon = resolveComponent("Icon");
|
|
11278
11250
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
11279
11251
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
|
|
11280
11252
|
return openBlock(), createElementBlock("div", {
|
|
@@ -11288,7 +11260,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ name: "Steps" }, {
|
|
|
11288
11260
|
createElementVNode("div", _hoisted_2, [
|
|
11289
11261
|
createElementVNode("div", _hoisted_3, [
|
|
11290
11262
|
createElementVNode("div", _hoisted_4, [
|
|
11291
|
-
__props.active > index ? (openBlock(), createBlock(
|
|
11263
|
+
__props.active > index ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
11292
11264
|
key: 0,
|
|
11293
11265
|
icon: "ant-design:check-outlined",
|
|
11294
11266
|
color: "#fff"
|
|
@@ -11307,7 +11279,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ name: "Steps" }, {
|
|
|
11307
11279
|
};
|
|
11308
11280
|
}
|
|
11309
11281
|
});
|
|
11310
|
-
const Steps = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
11282
|
+
const Steps = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eb3cf40f"]]);
|
|
11311
11283
|
function useLayout() {
|
|
11312
11284
|
const collapsed = ref(false);
|
|
11313
11285
|
const toggleCollapsed = () => {
|
|
@@ -11319,30 +11291,30 @@ function useLayout() {
|
|
|
11319
11291
|
};
|
|
11320
11292
|
}
|
|
11321
11293
|
export {
|
|
11322
|
-
_sfc_main$3 as
|
|
11323
|
-
_sfc_main$1 as
|
|
11324
|
-
_sfc_main$w as
|
|
11325
|
-
_sfc_main$6 as
|
|
11326
|
-
_sfc_main$d as
|
|
11327
|
-
createImageViewer as
|
|
11328
|
-
_sfc_main$4 as
|
|
11329
|
-
_sfc_main$v as
|
|
11330
|
-
|
|
11331
|
-
PageCard as
|
|
11332
|
-
PageHeader as
|
|
11333
|
-
_sfc_main$5 as
|
|
11334
|
-
setI18n as
|
|
11335
|
-
setPinia as
|
|
11336
|
-
Steps as
|
|
11337
|
-
UploadFile as
|
|
11338
|
-
UploadImg as
|
|
11339
|
-
UploadImgs as
|
|
11340
|
-
useAppStore as
|
|
11341
|
-
useAppStoreWithOut as
|
|
11342
|
-
useLayout as
|
|
11343
|
-
usePermissionStore as
|
|
11344
|
-
usePermissionStoreWithOut as
|
|
11345
|
-
useUserStore as
|
|
11346
|
-
useUserStoreWithOut as
|
|
11347
|
-
|
|
11294
|
+
_sfc_main$3 as BmpAlert,
|
|
11295
|
+
_sfc_main$1 as BmpAnchor,
|
|
11296
|
+
_sfc_main$w as BmpBacktop,
|
|
11297
|
+
_sfc_main$6 as BmpBadge,
|
|
11298
|
+
_sfc_main$d as BmpConfigGlobal,
|
|
11299
|
+
createImageViewer as BmpCreateImageViewer,
|
|
11300
|
+
_sfc_main$4 as BmpDialog,
|
|
11301
|
+
_sfc_main$v as BmpIcon,
|
|
11302
|
+
BmpLayout,
|
|
11303
|
+
PageCard as BmpPageCard,
|
|
11304
|
+
PageHeader as BmpPageHeader,
|
|
11305
|
+
_sfc_main$5 as BmpPagination,
|
|
11306
|
+
setI18n as BmpSetI18n,
|
|
11307
|
+
setPinia as BmpSetPinia,
|
|
11308
|
+
Steps as BmpSteps,
|
|
11309
|
+
UploadFile as BmpUploadFile,
|
|
11310
|
+
UploadImg as BmpUploadImg,
|
|
11311
|
+
UploadImgs as BmpUploadImgs,
|
|
11312
|
+
useAppStore as BmpUseAppStore,
|
|
11313
|
+
useAppStoreWithOut as BmpUseAppStoreWithOut,
|
|
11314
|
+
useLayout as BmpUseLayout,
|
|
11315
|
+
usePermissionStore as BmpUsePermissionStore,
|
|
11316
|
+
usePermissionStoreWithOut as BmpUsePermissionStoreWithOut,
|
|
11317
|
+
useUserStore as BmpUseUserStore,
|
|
11318
|
+
useUserStoreWithOut as BmpUseUserStoreWithOut,
|
|
11319
|
+
BmpLayout as default
|
|
11348
11320
|
};
|