@das-fed/upf-ui 6.4.0-dev.224 → 6.4.0-dev.226
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/front-end/i18n/front-end-page/dasui_en-US.js +1 -1
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +1 -1
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +1 -1
- package/package.json +3 -3
- package/packages/business-components/layout-breadcrumb/index.js +14 -14
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
|
@@ -719,9 +719,9 @@ export default {
|
|
|
719
719
|
"点击下载": "点击下载",
|
|
720
720
|
"仅支持上传": "仅支持上传",
|
|
721
721
|
"重复数据以最后一条为准": "重复数据以最后一条为准",
|
|
722
|
+
"请重新支付": "请重新支付",
|
|
722
723
|
"删除流程定义": "删除流程定义",
|
|
723
724
|
"对应的实例和任务会一起删除": "对应的实例和任务会一起删除",
|
|
724
|
-
"请重新支付": "请重新支付",
|
|
725
725
|
"添加组织": "添加组织",
|
|
726
726
|
"用户": "用户",
|
|
727
727
|
"预订上午": "预订上午",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/upf-ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.226",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"vue-tsc": "^2.0.29"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@das-fed/upf-cli": "6.4.0-dev.
|
|
59
|
-
"@das-fed/upf-utils": "6.4.0-dev.
|
|
58
|
+
"@das-fed/upf-cli": "6.4.0-dev.226",
|
|
59
|
+
"@das-fed/upf-utils": "6.4.0-dev.226",
|
|
60
60
|
"@types/markdown-it": "^14.1.2",
|
|
61
61
|
"@wangeditor-next/editor": "5.6.31",
|
|
62
62
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/business-components/layout-breadcrumb/style.css';
|
|
2
|
-
import { ref as k, computed as L, watch as C, nextTick as
|
|
2
|
+
import { ref as k, computed as L, watch as C, nextTick as B, defineComponent as S, openBlock as M, createElementBlock as v, createVNode as A, unref as y, createCommentVNode as N } from "vue";
|
|
3
3
|
import { withInstall as q } from "@das-fed/upf-utils/with-install/index";
|
|
4
4
|
import { DasBreadCrumb as R } from "@das-fed/upf-ui/packages/components/breadcrumb/index";
|
|
5
5
|
import { useRouter as T, useRoute as x } from "vue-router";
|
|
6
6
|
import { flatTree as D } from "@das-fed/upf-utils/common-tools";
|
|
7
|
-
import { getSubApps as g, getMenuItemInfo as
|
|
8
|
-
import { setThemeRule as
|
|
9
|
-
const
|
|
7
|
+
import { getSubApps as g, getMenuItemInfo as P, getMenuListnfo as O } from "@das-fed/upf-utils/common-info";
|
|
8
|
+
import { setThemeRule as U } from "@das-fed/upf-web/packages/theme/index";
|
|
9
|
+
const $ = (a, i) => {
|
|
10
10
|
const p = k([]), m = L(() => [...p.value, ...a.data || []]), f = () => new Promise((e) => {
|
|
11
11
|
const t = () => {
|
|
12
12
|
var r, o;
|
|
@@ -16,10 +16,10 @@ const E = (a, i) => {
|
|
|
16
16
|
};
|
|
17
17
|
t();
|
|
18
18
|
}), l = (...e) => {
|
|
19
|
-
const t =
|
|
19
|
+
const t = P(), n = O(), c = [], r = n.find((o) => o.appId === t.appId);
|
|
20
20
|
if (r && r.children && r.children.length)
|
|
21
21
|
if (t.parentId === r.id)
|
|
22
|
-
c.push({ name: t.showName || "", isMenu: !0 });
|
|
22
|
+
c.push({ name: t.showName || "", isMenu: !0, routerPath: (t == null ? void 0 : t.routeUrl) ?? "" });
|
|
23
23
|
else {
|
|
24
24
|
const o = r.children.find((s) => s.id === t.parentId);
|
|
25
25
|
o && (c.push({ name: o.showName || "", isMenu: !0, disabled: !0 }), c.push({ name: t.showName || "", isMenu: !0 }));
|
|
@@ -39,7 +39,7 @@ const E = (a, i) => {
|
|
|
39
39
|
return C(
|
|
40
40
|
() => a.data,
|
|
41
41
|
() => {
|
|
42
|
-
|
|
42
|
+
B(() => {
|
|
43
43
|
f().then(() => {
|
|
44
44
|
var o;
|
|
45
45
|
const e = g(), t = u.query.app || e.currentSubApp.code || "";
|
|
@@ -62,20 +62,20 @@ const E = (a, i) => {
|
|
|
62
62
|
breadcrumbList: m,
|
|
63
63
|
clickItem: h
|
|
64
64
|
};
|
|
65
|
-
},
|
|
65
|
+
}, E = {
|
|
66
66
|
key: 0,
|
|
67
67
|
class: "layout-breadcrumb"
|
|
68
|
-
},
|
|
68
|
+
}, J = {
|
|
69
69
|
name: "LayoutBreadCrumb"
|
|
70
|
-
}, j = /* @__PURE__ */
|
|
71
|
-
...
|
|
70
|
+
}, j = /* @__PURE__ */ S({
|
|
71
|
+
...J,
|
|
72
72
|
props: {
|
|
73
73
|
data: { default: () => [] }
|
|
74
74
|
},
|
|
75
75
|
emits: ["click-item"],
|
|
76
76
|
setup(a, { emit: i }) {
|
|
77
|
-
const p = a, m = i, { isShow: f, breadcrumbList: l, clickItem: h } =
|
|
78
|
-
return (b, u) => b.data && b.data.length ? (
|
|
77
|
+
const p = a, m = i, { isShow: f, breadcrumbList: l, clickItem: h } = $(p, m);
|
|
78
|
+
return (b, u) => b.data && b.data.length ? (M(), v("div", E, [
|
|
79
79
|
A(y(R), {
|
|
80
80
|
data: y(l),
|
|
81
81
|
onClickItem: y(h)
|
|
@@ -91,7 +91,7 @@ const E = (a, i) => {
|
|
|
91
91
|
"--das-layout-micro-container-bg-color": "#e2e7ef",
|
|
92
92
|
"--das-layout-breadcrumb-bg-color": "#ffffff"
|
|
93
93
|
};
|
|
94
|
-
|
|
94
|
+
U(F);
|
|
95
95
|
const Z = q(z), V = () => k(null);
|
|
96
96
|
export {
|
|
97
97
|
Z as DasLayoutBreadcrumb,
|
|
Binary file
|