super-page-designer 2.3.16-sit2-design1 → 2.3.17-sit1-design1
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/dist/es/assets/images/data/file.png.js +4 -0
- package/dist/es/assets/images/data/folder.png.js +4 -0
- package/dist/es/components/design/utils/ucr-element-filter.d.ts +2 -0
- package/dist/es/components/design/utils/ucr-element-filter.js +11 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +13 -13
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +66 -66
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/design/page-design.vue.d.ts +9 -0
- package/dist/es/components/design/views/design/page-design.vue2.js +42 -42
- package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +12 -11
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +16 -2
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +8 -8
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.d.ts +16 -2
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.js +23 -20
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +11 -12
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.d.ts +38 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.js +7 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js +111 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.d.ts +6 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.js +27 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +34 -30
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +14 -14
- package/dist/es/style.css +33 -5
- package/package.json +5 -5
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
|
@@ -1,8 +1,22 @@
|
|
|
1
|
+
import { PageDesign } from '../../../utils/interfaces/page-design-types';
|
|
2
|
+
|
|
3
|
+
interface MyProps {
|
|
4
|
+
configure: PageDesign;
|
|
5
|
+
}
|
|
1
6
|
/**
|
|
2
7
|
* 重新设置尺寸
|
|
3
8
|
*/
|
|
4
9
|
declare function resize(): void;
|
|
5
|
-
declare const _default: import('vue').DefineComponent<
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {
|
|
6
11
|
resize: typeof resize;
|
|
7
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
13
|
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as e, ref as n, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as n, resolveComponent as o, createBlock as r, openBlock as t, withCtx as a, createVNode as u } from "vue";
|
|
2
2
|
import i from "./page-event-container.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
3
|
+
import c from "./page-event-content.vue.js";
|
|
4
|
+
import f from "../view/components/el-aside-expand-component.vue.js";
|
|
5
|
+
const l = e({ __name: "page-event-view", props: { configure: {} }, setup(e2, { expose: l2 }) {
|
|
6
6
|
const s = n(null);
|
|
7
|
-
return
|
|
7
|
+
return l2({ resize: function() {
|
|
8
8
|
s.value && s.value.resize && s.value.resize();
|
|
9
9
|
} }), (e3, n2) => {
|
|
10
|
-
const
|
|
11
|
-
return
|
|
10
|
+
const l3 = o("el-main"), m = o("el-container");
|
|
11
|
+
return t(), r(m, { class: "amb-container" }, { default: a(() => [u(f, null, { default: a(() => [u(i, { ref: "pageEventContainerRef", configure: e3.configure }, null, 8, ["configure"])]), _: 1 }), u(l3, { class: "amb-container-main" }, { default: a(() => [u(c, { configure: e3.configure, eventForm: {}, ref_key: "contentRef", ref: s }, null, 8, ["configure"])]), _: 1 })]), _: 1 });
|
|
12
12
|
};
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
l as default
|
|
16
16
|
};
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import { PageDesign } from '../../../utils/interfaces/page-design-types';
|
|
2
|
+
|
|
3
|
+
interface MyProps {
|
|
4
|
+
configure: PageDesign;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
7
|
handleMoveEnd: (...args: any[]) => void;
|
|
3
8
|
handleMoveStart: (...args: any[]) => void;
|
|
4
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{
|
|
5
10
|
onHandleMoveEnd?: (...args: any[]) => any;
|
|
6
11
|
onHandleMoveStart?: (...args: any[]) => any;
|
|
7
12
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
13
|
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, computed as a, resolveComponent as t, createElementBlock as s, openBlock as n, createElementVNode as o, createVNode as u, unref as
|
|
1
|
+
import { defineComponent as e, ref as l, computed as a, resolveComponent as t, createElementBlock as s, openBlock as n, createElementVNode as o, createVNode as u, unref as i, withCtx as m, Fragment as r, renderList as c, createBlock as d, createTextVNode as p, toDisplayString as f, reactive as v } from "vue";
|
|
2
2
|
import { Search as b, HelpFilled as h } from "@element-plus/icons";
|
|
3
3
|
import { assemblyGroups as g } from "../../../utils/assemblys-config.js";
|
|
4
4
|
import { deepCopy as y, getUuidv4 as x } from "../../../utils/common-util.js";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const E = l([]);
|
|
5
|
+
import { ucrExcludeElements as V, filterUcrElements as _ } from "../../../utils/ucr-element-filter.js";
|
|
6
|
+
import { VueDraggable as w } from "vue-draggable-plus";
|
|
7
|
+
const k = { class: "amb-assembly-header-search" }, U = ["src"], C = ["title"], O = ["src"], j = e({ __name: "assemblys-container-list", props: { configure: {} }, emits: ["handleMoveEnd", "handleMoveEnd", "handleMoveStart"], setup(e2, { emit: j2 }) {
|
|
8
|
+
var _a;
|
|
9
|
+
const M = e2, D = l(""), E = l(""), S = l([]);
|
|
10
|
+
S.value.length = 0;
|
|
11
|
+
const I = l([]);
|
|
10
12
|
for (let e3 in g) {
|
|
11
13
|
let l2 = g[e3];
|
|
12
|
-
|
|
14
|
+
S.value.push(l2.name), ((_a = M.configure) == null ? void 0 : _a.ucrDesign) && V.includes(l2.name) || I.value.push({ name: l2.name, label: l2.label });
|
|
13
15
|
}
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
const q = a(() => {
|
|
17
|
+
var _a2;
|
|
18
|
+
if (D.value || E.value) {
|
|
19
|
+
S.value.length = 0;
|
|
17
20
|
const e3 = [];
|
|
18
21
|
for (let l2 = 0; l2 < g.length; l2++) {
|
|
19
22
|
let a2 = g[l2];
|
|
20
|
-
if (
|
|
23
|
+
if (D.value) {
|
|
21
24
|
let e4 = a2.name, l3 = a2.label;
|
|
22
|
-
if (e4 && -1 == e4.indexOf(
|
|
25
|
+
if (e4 && -1 == e4.indexOf(D.value) && l3 && -1 == l3.indexOf(D.value)) continue;
|
|
23
26
|
}
|
|
24
27
|
let t2 = a2.items, s2 = [];
|
|
25
|
-
if (
|
|
28
|
+
if (E.value) for (let e4 = 0; e4 < t2.length; e4++) {
|
|
26
29
|
let l3 = t2[e4], a3 = l3.name, n2 = l3.label;
|
|
27
|
-
a3 && -1 == a3.indexOf(
|
|
30
|
+
a3 && -1 == a3.indexOf(E.value) && n2 && -1 == n2.indexOf(E.value) || s2.push(l3);
|
|
28
31
|
}
|
|
29
32
|
else s2 = t2;
|
|
30
33
|
if (s2.length > 0) {
|
|
31
34
|
let l3 = { name: a2.name, label: a2.label, icon: a2.icon, items: s2 };
|
|
32
|
-
e3.push(l3),
|
|
35
|
+
e3.push(l3), S.value.push(l3.name);
|
|
33
36
|
}
|
|
34
37
|
}
|
|
35
38
|
return e3;
|
|
36
39
|
}
|
|
37
|
-
return g;
|
|
40
|
+
return ((_a2 = M.configure) == null ? void 0 : _a2.ucrDesign) ? _(g) : g;
|
|
38
41
|
});
|
|
39
|
-
function
|
|
42
|
+
function z(e3) {
|
|
40
43
|
const l2 = v(y(e3));
|
|
41
44
|
return delete l2.designComponent, delete l2.attrComponent, delete l2.renderComponent, l2.props || (l2.props = {}), l2.uuid = x(), l2.items && l2.items.length > 0 && (l2.items = l2.items.map((e4) => (e4.uuid || (e4.uuid = x()), e4))), l2.props.isInit = true, l2;
|
|
42
45
|
}
|
|
43
46
|
return (e3, l2) => {
|
|
44
|
-
const a2 = t("el-option"), v2 = t("el-select"), g2 = t("el-input"), y2 = t("el-icon"), x2 = t("el-col"),
|
|
45
|
-
return n(), s("div", null, [o("div",
|
|
47
|
+
const a2 = t("el-option"), v2 = t("el-select"), g2 = t("el-input"), y2 = t("el-icon"), x2 = t("el-col"), V2 = t("el-row"), _2 = t("el-collapse-item"), j3 = t("el-collapse");
|
|
48
|
+
return n(), s("div", null, [o("div", k, [u(g2, { modelValue: E.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => E.value = e4), style: { height: "36px" }, placeholder: "Search...", clearable: "", class: "input-with-select", "suffix-icon": i(b) }, { prepend: m(() => [u(v2, { class: "amb-assembly-search-select", style: { width: "90px" }, clearable: "", modelValue: D.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => D.value = e4), placeholder: "全部" }, { default: m(() => [(n(true), s(r, null, c(I.value, (e4) => (n(), d(a2, { label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue", "suffix-icon"])]), u(j3, { modelValue: S.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => S.value = e4), style: { "margin-top": "45px" } }, { default: m(() => [(n(true), s(r, null, c(q.value, (e4, l3) => (n(), d(_2, { class: "amb-assembly-collapse-header", name: e4.name }, { title: m(() => [e4.icon ? (n(), s("img", { key: 0, class: "amb-assembly-group-img", src: e4.icon }, null, 8, U)) : (n(), d(y2, { key: 1, style: { width: "16px", height: "16px", color: "#5893ef" } }, { default: m(() => [u(i(h))]), _: 1 })), p(" " + f(e4.label), 1)]), default: m(() => [u(V2, { gutter: 14 }, { default: m(() => [u(i(w), { group: { name: "amb-assembly-item", pull: "clone", put: false, revertClone: true }, modelValue: e4.items, "onUpdate:modelValue": (l4) => e4.items = l4, "force-fallback": true, sort: false, animation: 300, style: { width: "100%" }, clone: z, "fallback-class": true, class: "el-row" }, { default: m(() => [(n(true), s(r, null, c(e4.items, (e5, l4) => (n(), d(x2, { span: 8 }, { default: m(() => [o("div", { class: "amb-assembly-item", title: e5.name }, [o("div", null, [e5.icon ? (n(), s("img", { key: 0, class: "amb-assembly-item-img", src: e5.icon }, null, 8, O)) : (n(), d(y2, { key: 1, style: { width: "16px", height: "16px", color: "#5893ef" } }, { default: m(() => [u(i(h))]), _: 1 }))]), p(" " + f(e5.label), 1)], 8, C)]), _: 2 }, 1024))), 256))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue"])]);
|
|
46
49
|
};
|
|
47
50
|
} });
|
|
48
51
|
export {
|
|
49
|
-
|
|
52
|
+
j as default
|
|
50
53
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, createElementBlock as s, openBlock as t, createElementVNode as a, normalizeClass as n, withDirectives as
|
|
1
|
+
import { defineComponent as e, ref as l, createElementBlock as s, openBlock as t, createElementVNode as a, normalizeClass as n, withDirectives as i, createVNode as u, unref as o, vShow as c } from "vue";
|
|
2
2
|
import m from "./assemblys-container-list.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import r from "./assemblys-container-explore.vue.js";
|
|
4
4
|
import v from "./assemblys-container-template.vue.js";
|
|
5
5
|
import "@element-plus/icons-vue";
|
|
6
6
|
import "element-plus";
|
|
@@ -8,18 +8,17 @@ import "../../../utils/assemblys-config.js";
|
|
|
8
8
|
import "uuid";
|
|
9
9
|
import "../../../utils/eventBus.js";
|
|
10
10
|
import "../../../../../stores/page-store.js";
|
|
11
|
-
const
|
|
12
|
-
const f =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"assembly" == e3 ? (j.value = "selected", W.value = "", x.value = "", E.value = "") : "pageEvent" == e3 ? (W.value = "", j.value = "", x.value = "", E.value = "selected") : "explorer" == e3 ? (W.value = "selected", j.value = "", x.value = "", E.value = "") : (W.value = "", j.value = "", x.value = "selected", E.value = "");
|
|
11
|
+
const d = { class: "amb-design-assembly-content" }, p = { class: "amb-assembly-header" }, b = { class: "amb-assembly-header-type" }, g = { class: "amb-design-assembly-list" }, y = e({ __name: "assemblys-container", props: { designItems: Array, selectWidget: Object, configure: Object }, emits: ["onSelectWidget", "addEvent", "changeEvent", "onSelectEvent"], setup(e2, { expose: y2, emit: f }) {
|
|
12
|
+
const j = f, W = e2.configure;
|
|
13
|
+
const x = l("selected"), E = l(""), I = l(""), S = l("");
|
|
14
|
+
function h(e3) {
|
|
15
|
+
"assembly" == e3 ? (x.value = "selected", E.value = "", I.value = "", S.value = "") : "pageEvent" == e3 ? (E.value = "", x.value = "", I.value = "", S.value = "selected") : "explorer" == e3 ? (E.value = "selected", x.value = "", I.value = "", S.value = "") : (E.value = "", x.value = "", I.value = "selected", S.value = "");
|
|
17
16
|
}
|
|
18
|
-
function
|
|
19
|
-
|
|
17
|
+
function k(e3, l2) {
|
|
18
|
+
j("onSelectWidget", e3, l2);
|
|
20
19
|
}
|
|
21
|
-
return l(null), l(null),
|
|
20
|
+
return l(null), l(null), y2({ selAsselbyType: "assembly" }), (l2, y3) => (t(), s("div", d, [a("div", p, [a("div", b, [a("label", { class: n(x.value), onClick: y3[0] || (y3[0] = (e3) => h("assembly")) }, "组件", 2), a("label", { class: n(E.value), onClick: y3[1] || (y3[1] = (e3) => h("explorer")) }, "大纲", 2), a("label", { class: n(I.value), onClick: y3[2] || (y3[2] = (e3) => h("template")) }, "模板库", 2)])]), a("div", g, [i(u(m, { configure: o(W) }, null, 8, ["configure"]), [[c, x.value]]), i(u(r, { onOnSelectWidget: k, designItems: e2.designItems, selectWidget: e2.selectWidget }, null, 8, ["designItems", "selectWidget"]), [[c, E.value]]), i(u(v, null, null, 512), [[c, I.value]])])]));
|
|
22
21
|
} });
|
|
23
22
|
export {
|
|
24
|
-
|
|
23
|
+
y as default
|
|
25
24
|
};
|
package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
pageId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
pageDesign: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {};
|
|
9
|
+
};
|
|
10
|
+
ucrDesign: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"change-page": (...args: any[]) => void;
|
|
16
|
+
"init-loaded": (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
pageId: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
pageDesign: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default: () => {};
|
|
25
|
+
};
|
|
26
|
+
ucrDesign: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
"onChange-page"?: (...args: any[]) => any;
|
|
32
|
+
"onInit-loaded"?: (...args: any[]) => any;
|
|
33
|
+
}>, {
|
|
34
|
+
pageDesign: Record<string, any>;
|
|
35
|
+
ucrDesign: boolean;
|
|
36
|
+
pageId: number;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export default _default;
|
package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, resolveDirective as o, createElementBlock as r, openBlock as n, Fragment as u, withDirectives as d, createBlock as i, withCtx as p, createVNode as s, createElementVNode as m, toDisplayString as c, createCommentVNode as f, unref as v, createTextVNode as g } from "vue";
|
|
2
|
+
import y from "../../../../../../../assets/images/data/folder.png.js";
|
|
3
|
+
import h from "../../../../../../../assets/images/data/file.png.js";
|
|
4
|
+
import { Plus as R, Edit as x, Delete as b, Operation as T } from "@element-plus/icons-vue";
|
|
5
|
+
import { ElMessageBox as _, ElMessage as w } from "element-plus";
|
|
6
|
+
import { getUcrReportTree as N, findPageIdByReportCode as D, updateDisplayOrder as E, getUcrReportDetail as O, deleteUcrReport as k, saveUcrReportData as C } from "./util.js";
|
|
7
|
+
import { getUuidv4 as U, deepCopy as V } from "../../../../../utils/common-util.js";
|
|
8
|
+
import { checkPermission as L } from "agilebuilder-ui/src/utils/permission";
|
|
9
|
+
const B = { key: 0, class: "item-row" }, I = { class: "item-side" }, P = { key: 1, class: "item-side", style: { display: "flex", "align-items": "center" } }, j = { class: "dialog-footer" }, F = e({ __name: "index", props: { pageId: { type: Number, default: null }, pageDesign: { type: Object, default: () => ({}) }, ucrDesign: { type: Boolean, default: false } }, emits: ["change-page", "init-loaded"], setup(e2, { emit: F2 }) {
|
|
10
|
+
const z = { children: "children", label: "label" }, $ = F2, S = l(null), X = l(false), H = l(false), M = l(), Y = l(""), q = l(), A = l(false), G = l(), J = l("card"), K = l({}), Q = l([]), W = l({ top: 0, left: 0, bottom: 0, right: 0 }), Z = l({ getBoundingClientRect: () => W.value });
|
|
11
|
+
async function ee() {
|
|
12
|
+
try {
|
|
13
|
+
if (L("ucr.ucrReport.configUcrReport", null)) {
|
|
14
|
+
H.value = true, A.value = true;
|
|
15
|
+
const e3 = await N();
|
|
16
|
+
e3 && (Q.value = e3);
|
|
17
|
+
}
|
|
18
|
+
} finally {
|
|
19
|
+
A.value = false;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function le() {
|
|
23
|
+
H.value = true;
|
|
24
|
+
}
|
|
25
|
+
function ae() {
|
|
26
|
+
H.value = false;
|
|
27
|
+
}
|
|
28
|
+
a(() => {
|
|
29
|
+
ee();
|
|
30
|
+
});
|
|
31
|
+
const te = () => {
|
|
32
|
+
var _a;
|
|
33
|
+
(_a = G.value) == null ? void 0 : _a.handleClose();
|
|
34
|
+
}, oe = (e3) => {
|
|
35
|
+
J.value = "card", re(e3);
|
|
36
|
+
}, re = (e3) => {
|
|
37
|
+
var _a;
|
|
38
|
+
const { clientX: l2, clientY: a2 } = e3;
|
|
39
|
+
W.value = DOMRect.fromRect({ x: l2, y: a2 }), e3.preventDefault(), (_a = G.value) == null ? void 0 : _a.handleOpen();
|
|
40
|
+
}, ne = (e3, l2, a2, t2) => {
|
|
41
|
+
J.value = "tree", S.value = l2, re(e3);
|
|
42
|
+
};
|
|
43
|
+
let ue = null;
|
|
44
|
+
const de = (e3, l2, a2) => {
|
|
45
|
+
if ("REPORT" === e3.type) {
|
|
46
|
+
if (ue && ue === e3) return;
|
|
47
|
+
_.confirm(`确认切换到报表:${e3.label}?`, "提示", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
48
|
+
A.value = true, ue = e3, D(e3.reportCode).then((e4) => {
|
|
49
|
+
$("change-page", e4);
|
|
50
|
+
}).finally(() => {
|
|
51
|
+
H.value = false, A.value = false;
|
|
52
|
+
});
|
|
53
|
+
}).catch(() => {
|
|
54
|
+
w({ type: "info", message: "已取消切换", duration: 1e3 });
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}, ie = (e3, l2) => {
|
|
58
|
+
}, pe = (e3, l2, a2) => {
|
|
59
|
+
}, se = (e3, l2, a2) => {
|
|
60
|
+
}, me = (e3, l2, a2) => {
|
|
61
|
+
"REPORT" === l2.data.type && (a2.dataTransfer.dropEffect = "none");
|
|
62
|
+
}, ce = (e3, l2, a2, t2) => {
|
|
63
|
+
const o2 = "inner" === a2 ? "INNER" : "after" === a2 ? "NEXT" : "PREV";
|
|
64
|
+
E({ currentIds: [e3.data.id], targetId: l2 ? l2.data.id : null, moveType: o2 }).then(() => {
|
|
65
|
+
w({ message: "排序更新成功", type: "success", duration: 1e3 }), ee();
|
|
66
|
+
});
|
|
67
|
+
}, fe = (e3, l2, a2, t2) => {
|
|
68
|
+
}, ve = (e3, l2, a2) => "REPORT" !== l2.data.type || "inner" !== a2, ge = (e3) => {
|
|
69
|
+
if (Y.value = e3, "add" === e3) {
|
|
70
|
+
if ("card" === J.value) K.value = { reportType: "FOLDER", reportName: "", reportCode: U() };
|
|
71
|
+
else if ("tree" === J.value) {
|
|
72
|
+
if ("FOLDER" !== S.value.type) return void w({ message: "只能在文件夹下添加子节点", type: "warning", duration: 1e3 });
|
|
73
|
+
K.value = { parentId: S.value.id, reportType: "FOLDER", reportName: "", reportCode: U() };
|
|
74
|
+
}
|
|
75
|
+
X.value = true;
|
|
76
|
+
} else if ("update" === e3) A.value = true, O(S.value.id).then((e4) => {
|
|
77
|
+
K.value = V(e4), X.value = true;
|
|
78
|
+
}).finally(() => {
|
|
79
|
+
A.value = false;
|
|
80
|
+
});
|
|
81
|
+
else if ("delete" === e3) {
|
|
82
|
+
const e4 = S.value.children > 0 ? `节点:${S.value.label} 下有子节点,确认删除?` : `确认删除节点:${S.value.label}?`;
|
|
83
|
+
_.confirm(e4, "提示", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
84
|
+
k(S.value.id).then(() => {
|
|
85
|
+
w({ type: "success", message: "删除成功!", duration: 1e3 }), ee();
|
|
86
|
+
});
|
|
87
|
+
}).catch(() => {
|
|
88
|
+
w({ type: "info", message: "已取消删除", duration: 1e3 });
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
}, ye = (e3) => {
|
|
92
|
+
e3();
|
|
93
|
+
}, he = () => {
|
|
94
|
+
C(K.value).then((e3) => {
|
|
95
|
+
w({ message: "保存成功", type: "success", duration: 1e3 }), X.value = false, ee(), H.value = true;
|
|
96
|
+
});
|
|
97
|
+
};
|
|
98
|
+
return (e3, l2) => {
|
|
99
|
+
const a2 = t("el-button"), _2 = t("el-tree"), w2 = t("el-card"), N2 = t("el-dropdown-item"), D2 = t("el-dropdown-menu"), E2 = t("el-dropdown"), O2 = t("el-popover"), k2 = t("el-radio"), C2 = t("el-radio-group"), U2 = t("el-form-item"), V2 = t("el-input"), L2 = t("OrganizationInput"), F3 = t("el-form"), $2 = t("el-dialog"), W2 = o("permission"), ee2 = o("loading");
|
|
100
|
+
return n(), r(u, null, [d((n(), i(O2, { visible: H.value, "onUpdate:visible": l2[1] || (l2[1] = (e4) => H.value = e4), persistent: "", trigger: "manual", onShow: le, onHide: ae, ref_key: "popoverRef", ref: M, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; " }, { reference: p(() => [d((n(), i(a2, { type: "default", icon: v(T), style: { "font-size": "14px", "font-weight": "600" }, onClick: l2[0] || (l2[0] = (e4) => H.value = true) }, { default: p(() => l2[6] || (l2[6] = [g(" 配置报表 ")])), _: 1 }, 8, ["icon"])), [[W2, "ucr.ucrReport.configUcrReport"]])]), default: p(() => [s(w2, { style: { width: "400px" }, onClick: te, onContextmenu: oe }, { default: p(() => [s(_2, { ref_key: "treeRef", ref: q, style: { "max-width": "600px" }, "allow-drop": ve, data: Q.value, props: z, draggable: "", "default-expand-all": "", "node-key": "id", onNodeDragStart: ie, onNodeDragEnter: pe, onNodeDragLeave: se, onNodeDragOver: me, onNodeDragEnd: ce, onNodeDrop: fe, onNodeContextmenu: ne, onNodeClick: de }, { default: p(({ node: e4, data: a3 }) => ["FOLDER" === a3.type ? (n(), r("div", B, [m("div", I, [l2[7] || (l2[7] = m("img", { src: y, class: "file" }, null, -1)), m("span", null, c(a3.label), 1)])])) : (n(), r("div", P, [l2[8] || (l2[8] = m("img", { src: h, class: "file" }, null, -1)), m("span", null, c(a3.label), 1)]))]), empty: p(() => l2[9] || (l2[9] = [m("div", { style: { "text-align": "center", padding: "20px", color: "#999" } }, "暂无报表数据,请在当前区域右键添加", -1)])), _: 1 }, 8, ["data"])]), _: 1 }), d((n(), i(E2, { ref_key: "dropdownRef", ref: G, "virtual-ref": Z.value, teleported: false, "show-arrow": false, "popper-options": { modifiers: [{ name: "offset", options: { offset: [0, 0] } }] }, style: { "z-index": "100" }, "virtual-triggering": "", trigger: "contextmenu", onCommand: ge, placement: "bottom-start" }, { dropdown: p(() => [s(D2, null, { default: p(() => {
|
|
101
|
+
var _a;
|
|
102
|
+
return ["REPORT" !== ((_a = S.value) == null ? void 0 : _a.type) ? (n(), i(N2, { key: 0, icon: v(R), command: "add" }, { default: p(() => l2[10] || (l2[10] = [g(" 添加 ")])), _: 1 }, 8, ["icon"])) : f("", true), "card" !== J.value ? (n(), i(N2, { key: 1, icon: v(x), command: "update" }, { default: p(() => l2[11] || (l2[11] = [g(" 修改 ")])), _: 1 }, 8, ["icon"])) : f("", true), "card" !== J.value ? (n(), i(N2, { key: 2, icon: v(b), command: "delete" }, { default: p(() => l2[12] || (l2[12] = [g(" 删除 ")])), _: 1 }, 8, ["icon"])) : f("", true)];
|
|
103
|
+
}), _: 1 })]), _: 1 }, 8, ["virtual-ref"])), [[W2, "ucr.ucrReport.configUcrReport"]])]), _: 1 }, 8, ["visible"])), [[ee2, A.value]]), d((n(), i($2, { modelValue: X.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => X.value = e4), title: "提示", width: "600", "append-to-body": "", "before-close": ye }, { footer: p(() => [m("div", j, [s(a2, { onClick: l2[4] || (l2[4] = (e4) => X.value = false) }, { default: p(() => l2[15] || (l2[15] = [g("取消")])), _: 1 }), s(a2, { type: "primary", onClick: he }, { default: p(() => l2[16] || (l2[16] = [g(" 保存 ")])), _: 1 })])]), default: p(() => [s(F3, { model: K.value, "label-width": "auto", style: { "max-width": "600px" } }, { default: p(() => [s(U2, { label: "类型" }, { default: p(() => {
|
|
104
|
+
var _a;
|
|
105
|
+
return [s(C2, { disabled: ((_a = S.value) == null ? void 0 : _a.id) && "add" !== Y.value, modelValue: K.value.reportType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => K.value.reportType = e4) }, { default: p(() => [s(k2, { value: "FOLDER" }, { default: p(() => l2[13] || (l2[13] = [g("文件夹")])), _: 1 }), s(k2, { value: "REPORT" }, { default: p(() => l2[14] || (l2[14] = [g("报表")])), _: 1 })]), _: 1 }, 8, ["disabled", "modelValue"])];
|
|
106
|
+
}), _: 1 }), s(U2, { label: "名称" }, { default: p(() => [s(V2, { modelValue: K.value.reportName, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => K.value.reportName = e4) }, null, 8, ["modelValue"])]), _: 1 }), s(U2, { label: "分享给部门" }, { default: p(() => [s(L2, { ref: "componentRef", multiple: true, treeType: "DeptTree", value: K.value.shareToDeptName, models: K.value, fields: [{ type: "name", model: "shareToDeptName" }, { type: "code", model: "shareToDeptCode" }] }, null, 8, ["value", "models"])]), _: 1 }), s(U2, { label: "分享给用户" }, { default: p(() => [s(L2, { ref: "componentRef", multiple: true, treeType: "DeptUserTree", value: K.value.shareToUserName, models: K.value, fields: [{ type: "name", model: "shareToUserName" }, { type: "loginName", model: "shareToUserLoginName" }] }, null, 8, ["value", "models"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["modelValue"])), [[ee2, A.value]])], 64);
|
|
107
|
+
};
|
|
108
|
+
} });
|
|
109
|
+
export {
|
|
110
|
+
F as default
|
|
111
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function getUcrReportTree(): any;
|
|
2
|
+
export declare function getUcrReportDetail(id: number): any;
|
|
3
|
+
export declare function deleteUcrReport(id: number): any;
|
|
4
|
+
export declare function saveUcrReportData(data: any): any;
|
|
5
|
+
export declare function updateDisplayOrder(dragNode: any): any;
|
|
6
|
+
export declare function findPageIdByReportCode(reportCode: string): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import e from "agilebuilder-ui/src/utils/request";
|
|
2
|
+
function r() {
|
|
3
|
+
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/ucr/my-created-report/tree");
|
|
4
|
+
}
|
|
5
|
+
function o(r2) {
|
|
6
|
+
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/ucr/ucr-report/detail/" + r2);
|
|
7
|
+
}
|
|
8
|
+
function t(r2) {
|
|
9
|
+
return e.delete(window.$vueApp.config.globalProperties.baseAPI + "/ucr/ucr-report/" + r2);
|
|
10
|
+
}
|
|
11
|
+
function n(r2) {
|
|
12
|
+
return e.post(window.$vueApp.config.globalProperties.baseAPI + "/ucr/ucr-report", r2);
|
|
13
|
+
}
|
|
14
|
+
function p(r2) {
|
|
15
|
+
return e.post(window.$vueApp.config.globalProperties.baseAPI + "/ucr/ucr-report/display-order", r2);
|
|
16
|
+
}
|
|
17
|
+
function u(r2) {
|
|
18
|
+
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/ucr/ucr-report/page-id/" + r2);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
t as deleteUcrReport,
|
|
22
|
+
u as findPageIdByReportCode,
|
|
23
|
+
o as getUcrReportDetail,
|
|
24
|
+
r as getUcrReportTree,
|
|
25
|
+
n as saveUcrReportData,
|
|
26
|
+
p as updateDisplayOrder
|
|
27
|
+
};
|
|
@@ -1,20 +1,38 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
pageId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
2
6
|
pageDesign: {
|
|
3
7
|
type: ObjectConstructor;
|
|
4
8
|
default: () => {};
|
|
5
9
|
};
|
|
10
|
+
ucrDesign: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
6
14
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
15
|
"change-page": (...args: any[]) => void;
|
|
8
16
|
"init-loaded": (...args: any[]) => void;
|
|
9
17
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
pageId: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
10
22
|
pageDesign: {
|
|
11
23
|
type: ObjectConstructor;
|
|
12
24
|
default: () => {};
|
|
13
25
|
};
|
|
26
|
+
ucrDesign: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
14
30
|
}>> & Readonly<{
|
|
15
31
|
"onChange-page"?: (...args: any[]) => any;
|
|
16
32
|
"onInit-loaded"?: (...args: any[]) => any;
|
|
17
33
|
}>, {
|
|
18
34
|
pageDesign: Record<string, any>;
|
|
35
|
+
ucrDesign: boolean;
|
|
36
|
+
pageId: number;
|
|
19
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
38
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./page-switch.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const p = t(e, [["__scopeId", "data-v-e79c563b"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,58 +1,62 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
1
|
+
import { defineComponent as e, ref as a, computed as t, onMounted as l, resolveComponent as n, createElementBlock as o, openBlock as i, createBlock as s, withCtx as p, createElementVNode as u, createVNode as d, unref as r, toDisplayString as g, createTextVNode as c } from "vue";
|
|
2
2
|
import { Menu as m, Tickets as f, Folder as y, Operation as v, ArrowUp as h, ArrowDown as x } from "@element-plus/icons-vue";
|
|
3
3
|
import { ElMessageBox as w } from "element-plus";
|
|
4
4
|
import b from "agilebuilder-ui/src/utils/request";
|
|
5
5
|
import _ from "agilebuilder-ui/src/utils/i18n-util";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import k from "./components/ucr-report-swtich/index.vue.js";
|
|
7
|
+
const I = { style: { display: "flex", "min-width": "60px", height: "60px", "margin-left": "15px", "align-items": "center", cursor: "pointer" } }, C = { style: { "overflow-y": "auto" } }, D = { style: { "vertical-align": "middle" } }, N = { key: 3, style: { "margin-left": "5px" } }, P = { key: 4, style: { "margin-left": "5px" } }, T = e({ __name: "page-switch", props: { pageId: { type: Number, default: null }, pageDesign: { type: Object, default: () => ({}) }, ucrDesign: { type: Boolean, default: false } }, emits: ["change-page", "init-loaded"], setup(e2, { emit: T2 }) {
|
|
8
|
+
const A = e2, S = T2, z = a(false), B = a(""), L = a(), $ = a(), V = a({ value: "id", label: "name", leaf: "leaf", emitPath: false, lazy: true, lazyLoad: async function(e3, a2) {
|
|
9
|
+
-1 === j.value && await b.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/systems/getByCode/" + A.pageDesign.systemCode).then((e4) => {
|
|
9
10
|
if (e4) {
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
b.post(window.$vueApp.config.globalProperties.baseAPI + "/acs/user/i18n-languages",
|
|
13
|
-
const
|
|
14
|
-
_.loadLangFile(
|
|
11
|
+
S("init-loaded", { system: e4 }), _.setEnableI18nState(e4.code, e4.enableI18n), j.value = e4.id;
|
|
12
|
+
const a3 = e4.code, t3 = { systemCode: a3 };
|
|
13
|
+
b.post(window.$vueApp.config.globalProperties.baseAPI + "/acs/user/i18n-languages", t3).then((e5) => {
|
|
14
|
+
const t4 = e5.i18nFileUrls[e5.language] + "?_t_=" + (/* @__PURE__ */ new Date()).getTime();
|
|
15
|
+
_.loadLangFile(a3, t4, "zh_CN").catch(() => {
|
|
15
16
|
});
|
|
16
17
|
});
|
|
17
18
|
}
|
|
18
19
|
});
|
|
19
|
-
let
|
|
20
|
-
if (0 === e3.level)
|
|
20
|
+
let t2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/menu-trees?isShowNoNode=false&isShowSystemNode=false&";
|
|
21
|
+
if (0 === e3.level) t2 += "systemId=system-" + j.value;
|
|
21
22
|
else {
|
|
22
|
-
let
|
|
23
|
-
|
|
23
|
+
let a3 = e3.data.menuId;
|
|
24
|
+
t2 += "systemId=" + j.value + "&parentMenuId=" + a3;
|
|
24
25
|
}
|
|
25
|
-
b.get(
|
|
26
|
-
|
|
26
|
+
b.get(t2).then((e4) => {
|
|
27
|
+
a2(e4);
|
|
27
28
|
});
|
|
28
|
-
}, expandTrigger: "hover" }),
|
|
29
|
+
}, expandTrigger: "hover" }), j = a(-1), F = a("");
|
|
29
30
|
function R() {
|
|
30
|
-
|
|
31
|
+
z.value = true;
|
|
31
32
|
}
|
|
32
33
|
function U() {
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
function j(e3) {
|
|
36
|
-
const t2 = e3.data.id.split("_")[2];
|
|
37
|
-
return e3.label + " (" + t2 + ")";
|
|
34
|
+
z.value = false;
|
|
38
35
|
}
|
|
39
36
|
function q(e3) {
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
const a2 = e3.data.id.split("_")[2];
|
|
38
|
+
return e3.label + " (" + a2 + ")";
|
|
39
|
+
}
|
|
40
|
+
function E(e3) {
|
|
41
|
+
const a2 = L.value.getCheckedNodes();
|
|
42
|
+
if (e3 && "page" === a2[0].data.menuType) {
|
|
43
|
+
const e4 = a2[0].data.name + " (" + a2[0].data.id.split("_")[2] + ")", t2 = a2[0].data.id.split("_")[0];
|
|
43
44
|
w.confirm(`确认切换到页面:${e4}?`, "切换页面", { confirmButtonText: "切换", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
44
|
-
$.value.hide(),
|
|
45
|
+
$.value.hide(), S("change-page", t2);
|
|
45
46
|
}).catch(() => {
|
|
46
47
|
L.value.clearCheckedNodes();
|
|
47
48
|
});
|
|
48
49
|
} else L.value.clearCheckedNodes();
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
function H(e3) {
|
|
52
|
+
S("change-page", e3);
|
|
53
|
+
}
|
|
54
|
+
return t(() => options.value.filter((e3) => !F.value || e3.name.toLowerCase().includes(F.value.toLowerCase()))), l(() => {
|
|
55
|
+
}), (a2, t2) => {
|
|
52
56
|
const l2 = n("el-icon"), w2 = n("el-button"), b2 = n("el-cascader-panel"), _2 = n("el-popover");
|
|
53
|
-
return i(), o("div", k, [s(_2, { onShow: R, onHide: U, ref_key: "popoverRef", ref: $, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;" }, { reference: p(() => [
|
|
57
|
+
return i(), o("div", I, [e2.ucrDesign ? (i(), s(k, { key: 0, pageDesign: e2.pageDesign, pageId: e2.pageId, onChangePage: H }, null, 8, ["pageDesign", "pageId"])) : (i(), s(_2, { key: 1, onShow: R, onHide: U, ref_key: "popoverRef", ref: $, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;" }, { reference: p(() => [d(w2, { type: "default", icon: r(v), style: { "font-size": "14px", "font-weight": "600" } }, { default: p(() => [c(g(e2.pageDesign.label + "(" + e2.pageDesign.version + ")") + " ", 1), z.value ? (i(), s(l2, { key: 0, class: "el-icon--right" }, { default: p(() => [d(r(h))]), _: 1 })) : (i(), s(l2, { key: 1, class: "el-icon--right" }, { default: p(() => [d(r(x))]), _: 1 }))]), _: 1 }, 8, ["icon"])]), default: p(() => [u("div", C, [d(b2, { ref_key: "cascaderRef", ref: L, style: { width: "fit-content", "margin-top": "6px" }, props: V.value, modelValue: B.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => B.value = e3), onChange: E }, { default: p(({ node: e3, data: a3 }) => [u("div", D, ["menu" === a3.menuType ? (i(), s(l2, { key: 0 }, { default: p(() => [d(r(m))]), _: 1 })) : "page" === a3.menuType ? (i(), s(l2, { key: 1 }, { default: p(() => [d(r(f))]), _: 1 })) : (i(), s(l2, { key: 2 }, { default: p(() => [d(r(y))]), _: 1 })), "page" === a3.menuType ? (i(), o("span", N, g(q(e3)), 1)) : (i(), o("span", P, g(e3.label), 1))])]), _: 1 }, 8, ["props", "modelValue"])])]), _: 1 }, 512))]);
|
|
54
58
|
};
|
|
55
59
|
} });
|
|
56
60
|
export {
|
|
57
|
-
|
|
61
|
+
T as default
|
|
58
62
|
};
|