@opentiny/tiny-engine-plugin-page 2.7.1-alpha.0 → 2.7.1-alpha.1
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/index.js +518 -520
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./style.css";
|
|
2
|
-
import { callEntry as g, getMetaApi as p, META_SERVICE as P, usePage as A, useBlock as Ya, useModal as
|
|
2
|
+
import { callEntry as g, getMetaApi as p, META_SERVICE as P, usePage as A, useBlock as Ya, useModal as x, useNotify as f, useMessage as se, getMergeMeta as he, useCanvas as I, useLayout as H, useCompile as Wa, getOptions as Y, useHelp as Ra, useBreadcrumb as Te, HOOK_NAME as _t } from "@opentiny/tiny-engine-meta-register";
|
|
3
3
|
import { ref as Sa, watchEffect as st, resolveComponent as ce, createBlock as ma, openBlock as ue, computed as Ma, createElementBlock as fa, createVNode as ee, createElementVNode as ea, withCtx as de, onActivated as ht, reactive as Ga, onDeactivated as St, createCommentVNode as ya, resolveDynamicComponent as pt, createTextVNode as at, defineComponent as Pt, Fragment as za, renderList as tt, watch as ct, unref as Da, normalizeClass as nt, withDirectives as vt, renderSlot as Ct, toDisplayString as Xa, vShow as Nt, onMounted as xt, onUnmounted as ut, provide as dt } from "vue";
|
|
4
4
|
import { BlockHistoryList as Za, MetaCodeEditor as $a, LifeCycles as ra, SvgButton as W, ButtonGroup as Se, PluginSetting as ve, PluginPanel as Ba } from "@opentiny/tiny-engine-common";
|
|
5
|
-
import { isEqual as O, extend as
|
|
5
|
+
import { isEqual as O, extend as J } from "@opentiny/vue-renderless/common/object";
|
|
6
6
|
import { Checkbox as bt, CollapseItem as ot, Collapse as rt, Button as mt, Input as ft, Popover as wt, Search as Et, Radio as Tt, Select as It, FormItem as Ot, Form as Mt } from "@opentiny/vue";
|
|
7
7
|
import { constants as R } from "@opentiny/tiny-engine-utils";
|
|
8
8
|
import { isVsCodeEnv as la } from "@opentiny/tiny-engine-common/js/environments";
|
|
@@ -230,7 +230,7 @@ const Q = {
|
|
|
230
230
|
getDateFromNow: s
|
|
231
231
|
} = Ya(), {
|
|
232
232
|
confirm: i
|
|
233
|
-
} =
|
|
233
|
+
} = x(), o = Sa([]), r = g((d) => {
|
|
234
234
|
const {
|
|
235
235
|
id: D,
|
|
236
236
|
version: c
|
|
@@ -259,7 +259,7 @@ const Q = {
|
|
|
259
259
|
previewPage: et,
|
|
260
260
|
usePage: A,
|
|
261
261
|
useBlock: Ya,
|
|
262
|
-
useModal:
|
|
262
|
+
useModal: x,
|
|
263
263
|
getMetaApi: p,
|
|
264
264
|
META_SERVICE: P,
|
|
265
265
|
fetchPageHistory: va
|
|
@@ -298,7 +298,7 @@ const Q = {
|
|
|
298
298
|
previewPage: et,
|
|
299
299
|
usePage: A,
|
|
300
300
|
useBlock: Ya,
|
|
301
|
-
useModal:
|
|
301
|
+
useModal: x,
|
|
302
302
|
getMetaApi: p,
|
|
303
303
|
META_SERVICE: P,
|
|
304
304
|
fetchPageHistory: va
|
|
@@ -330,7 +330,7 @@ const Q = {
|
|
|
330
330
|
previewPage: et,
|
|
331
331
|
usePage: A,
|
|
332
332
|
useBlock: Ya,
|
|
333
|
-
useModal:
|
|
333
|
+
useModal: x,
|
|
334
334
|
getMetaApi: p,
|
|
335
335
|
META_SERVICE: P,
|
|
336
336
|
fetchPageHistory: va
|
|
@@ -519,13 +519,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
519
519
|
useLayout: H,
|
|
520
520
|
usePage: A,
|
|
521
521
|
useCanvas: I,
|
|
522
|
-
useModal:
|
|
522
|
+
useModal: x,
|
|
523
523
|
useNotify: f,
|
|
524
524
|
getMergeMeta: he,
|
|
525
525
|
getMetaApi: p,
|
|
526
526
|
META_SERVICE: P,
|
|
527
527
|
useMessage: se,
|
|
528
|
-
extend:
|
|
528
|
+
extend: J,
|
|
529
529
|
isEqual: O,
|
|
530
530
|
constants: R,
|
|
531
531
|
isVsCodeEnv: la,
|
|
@@ -559,13 +559,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
559
559
|
useLayout: H,
|
|
560
560
|
usePage: A,
|
|
561
561
|
useCanvas: I,
|
|
562
|
-
useModal:
|
|
562
|
+
useModal: x,
|
|
563
563
|
useNotify: f,
|
|
564
564
|
getMergeMeta: he,
|
|
565
565
|
getMetaApi: p,
|
|
566
566
|
META_SERVICE: P,
|
|
567
567
|
useMessage: se,
|
|
568
|
-
extend:
|
|
568
|
+
extend: J,
|
|
569
569
|
isEqual: O,
|
|
570
570
|
constants: R,
|
|
571
571
|
isVsCodeEnv: la,
|
|
@@ -626,16 +626,16 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
626
626
|
initData: y
|
|
627
627
|
} = I(), {
|
|
628
628
|
confirm: h
|
|
629
|
-
} =
|
|
629
|
+
} = x(), _ = he(Q.id), C = _.components.PageGeneral, T = (Ze = _ == null ? void 0 : _.options) == null ? void 0 : Ze.beforeCreatePage, N = Sa(null), {
|
|
630
630
|
PLUGIN_NAME: u,
|
|
631
631
|
getPluginByLayout: E
|
|
632
632
|
} = H(), b = Ma(() => E(u.AppManage)), {
|
|
633
|
-
subscribe:
|
|
633
|
+
subscribe: F,
|
|
634
634
|
unsubscribe: G
|
|
635
635
|
} = se();
|
|
636
636
|
let L = null;
|
|
637
637
|
ht(g(g(() => {
|
|
638
|
-
L =
|
|
638
|
+
L = F({
|
|
639
639
|
topic: "page-saved",
|
|
640
640
|
callback: () => {
|
|
641
641
|
D();
|
|
@@ -662,13 +662,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
662
662
|
initData: y,
|
|
663
663
|
confirm: h,
|
|
664
664
|
registry: _,
|
|
665
|
-
pageGeneral:
|
|
665
|
+
pageGeneral: C,
|
|
666
666
|
beforeCreatePage: T,
|
|
667
|
-
pageGeneralRef:
|
|
667
|
+
pageGeneralRef: N,
|
|
668
668
|
PLUGIN_NAME: u,
|
|
669
669
|
getPluginByLayout: E,
|
|
670
670
|
align: b,
|
|
671
|
-
subscribe:
|
|
671
|
+
subscribe: F,
|
|
672
672
|
unsubscribe: G,
|
|
673
673
|
subscriber: L,
|
|
674
674
|
state: B,
|
|
@@ -692,13 +692,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
692
692
|
useLayout: H,
|
|
693
693
|
usePage: A,
|
|
694
694
|
useCanvas: I,
|
|
695
|
-
useModal:
|
|
695
|
+
useModal: x,
|
|
696
696
|
useNotify: f,
|
|
697
697
|
getMergeMeta: he,
|
|
698
698
|
getMetaApi: p,
|
|
699
699
|
META_SERVICE: P,
|
|
700
700
|
useMessage: se,
|
|
701
|
-
extend:
|
|
701
|
+
extend: J,
|
|
702
702
|
isEqual: O,
|
|
703
703
|
constants: R,
|
|
704
704
|
isVsCodeEnv: la,
|
|
@@ -735,13 +735,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
735
735
|
initData: y,
|
|
736
736
|
confirm: h,
|
|
737
737
|
registry: _,
|
|
738
|
-
pageGeneral:
|
|
738
|
+
pageGeneral: C,
|
|
739
739
|
beforeCreatePage: T,
|
|
740
|
-
pageGeneralRef:
|
|
740
|
+
pageGeneralRef: N,
|
|
741
741
|
PLUGIN_NAME: u,
|
|
742
742
|
getPluginByLayout: E,
|
|
743
743
|
align: b,
|
|
744
|
-
subscribe:
|
|
744
|
+
subscribe: F,
|
|
745
745
|
unsubscribe: G,
|
|
746
746
|
subscriber: L,
|
|
747
747
|
state: B,
|
|
@@ -768,13 +768,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
768
768
|
useLayout: H,
|
|
769
769
|
usePage: A,
|
|
770
770
|
useCanvas: I,
|
|
771
|
-
useModal:
|
|
771
|
+
useModal: x,
|
|
772
772
|
useNotify: f,
|
|
773
773
|
getMergeMeta: he,
|
|
774
774
|
getMetaApi: p,
|
|
775
775
|
META_SERVICE: P,
|
|
776
776
|
useMessage: se,
|
|
777
|
-
extend:
|
|
777
|
+
extend: J,
|
|
778
778
|
isEqual: O,
|
|
779
779
|
constants: R,
|
|
780
780
|
isVsCodeEnv: la,
|
|
@@ -813,13 +813,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
813
813
|
initData: y,
|
|
814
814
|
confirm: h,
|
|
815
815
|
registry: _,
|
|
816
|
-
pageGeneral:
|
|
816
|
+
pageGeneral: C,
|
|
817
817
|
beforeCreatePage: T,
|
|
818
|
-
pageGeneralRef:
|
|
818
|
+
pageGeneralRef: N,
|
|
819
819
|
PLUGIN_NAME: u,
|
|
820
820
|
getPluginByLayout: E,
|
|
821
821
|
align: b,
|
|
822
|
-
subscribe:
|
|
822
|
+
subscribe: F,
|
|
823
823
|
unsubscribe: G,
|
|
824
824
|
subscriber: L,
|
|
825
825
|
state: B,
|
|
@@ -843,13 +843,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
843
843
|
useLayout: H,
|
|
844
844
|
usePage: A,
|
|
845
845
|
useCanvas: I,
|
|
846
|
-
useModal:
|
|
846
|
+
useModal: x,
|
|
847
847
|
useNotify: f,
|
|
848
848
|
getMergeMeta: he,
|
|
849
849
|
getMetaApi: p,
|
|
850
850
|
META_SERVICE: P,
|
|
851
851
|
useMessage: se,
|
|
852
|
-
extend:
|
|
852
|
+
extend: J,
|
|
853
853
|
isEqual: O,
|
|
854
854
|
constants: R,
|
|
855
855
|
isVsCodeEnv: la,
|
|
@@ -886,13 +886,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
886
886
|
initData: y,
|
|
887
887
|
confirm: h,
|
|
888
888
|
registry: _,
|
|
889
|
-
pageGeneral:
|
|
889
|
+
pageGeneral: C,
|
|
890
890
|
beforeCreatePage: T,
|
|
891
|
-
pageGeneralRef:
|
|
891
|
+
pageGeneralRef: N,
|
|
892
892
|
PLUGIN_NAME: u,
|
|
893
893
|
getPluginByLayout: E,
|
|
894
894
|
align: b,
|
|
895
|
-
subscribe:
|
|
895
|
+
subscribe: F,
|
|
896
896
|
unsubscribe: G,
|
|
897
897
|
subscriber: L,
|
|
898
898
|
state: B,
|
|
@@ -919,13 +919,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
919
919
|
useLayout: H,
|
|
920
920
|
usePage: A,
|
|
921
921
|
useCanvas: I,
|
|
922
|
-
useModal:
|
|
922
|
+
useModal: x,
|
|
923
923
|
useNotify: f,
|
|
924
924
|
getMergeMeta: he,
|
|
925
925
|
getMetaApi: p,
|
|
926
926
|
META_SERVICE: P,
|
|
927
927
|
useMessage: se,
|
|
928
|
-
extend:
|
|
928
|
+
extend: J,
|
|
929
929
|
isEqual: O,
|
|
930
930
|
constants: R,
|
|
931
931
|
isVsCodeEnv: la,
|
|
@@ -975,13 +975,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
975
975
|
initData: y,
|
|
976
976
|
confirm: h,
|
|
977
977
|
registry: _,
|
|
978
|
-
pageGeneral:
|
|
978
|
+
pageGeneral: C,
|
|
979
979
|
beforeCreatePage: T,
|
|
980
|
-
pageGeneralRef:
|
|
980
|
+
pageGeneralRef: N,
|
|
981
981
|
PLUGIN_NAME: u,
|
|
982
982
|
getPluginByLayout: E,
|
|
983
983
|
align: b,
|
|
984
|
-
subscribe:
|
|
984
|
+
subscribe: F,
|
|
985
985
|
unsubscribe: G,
|
|
986
986
|
subscriber: L,
|
|
987
987
|
state: B,
|
|
@@ -1005,13 +1005,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1005
1005
|
useLayout: H,
|
|
1006
1006
|
usePage: A,
|
|
1007
1007
|
useCanvas: I,
|
|
1008
|
-
useModal:
|
|
1008
|
+
useModal: x,
|
|
1009
1009
|
useNotify: f,
|
|
1010
1010
|
getMergeMeta: he,
|
|
1011
1011
|
getMetaApi: p,
|
|
1012
1012
|
META_SERVICE: P,
|
|
1013
1013
|
useMessage: se,
|
|
1014
|
-
extend:
|
|
1014
|
+
extend: J,
|
|
1015
1015
|
isEqual: O,
|
|
1016
1016
|
constants: R,
|
|
1017
1017
|
isVsCodeEnv: la,
|
|
@@ -1029,16 +1029,16 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1029
1029
|
})
|
|
1030
1030
|
}), v = g(async () => {
|
|
1031
1031
|
const {
|
|
1032
|
-
page_content:
|
|
1033
|
-
...
|
|
1032
|
+
page_content: k,
|
|
1033
|
+
...j
|
|
1034
1034
|
} = s(), {
|
|
1035
1035
|
page_content: z,
|
|
1036
1036
|
...me
|
|
1037
1037
|
} = i.currentPageData, fe = {
|
|
1038
|
-
...
|
|
1038
|
+
...j,
|
|
1039
1039
|
...me,
|
|
1040
1040
|
page_content: {
|
|
1041
|
-
...
|
|
1041
|
+
...k,
|
|
1042
1042
|
...z,
|
|
1043
1043
|
fileName: i.currentPageData.name
|
|
1044
1044
|
},
|
|
@@ -1080,13 +1080,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1080
1080
|
initData: y,
|
|
1081
1081
|
confirm: h,
|
|
1082
1082
|
registry: _,
|
|
1083
|
-
pageGeneral:
|
|
1083
|
+
pageGeneral: C,
|
|
1084
1084
|
beforeCreatePage: T,
|
|
1085
|
-
pageGeneralRef:
|
|
1085
|
+
pageGeneralRef: N,
|
|
1086
1086
|
PLUGIN_NAME: u,
|
|
1087
1087
|
getPluginByLayout: E,
|
|
1088
1088
|
align: b,
|
|
1089
|
-
subscribe:
|
|
1089
|
+
subscribe: F,
|
|
1090
1090
|
unsubscribe: G,
|
|
1091
1091
|
subscriber: L,
|
|
1092
1092
|
state: B,
|
|
@@ -1110,13 +1110,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1110
1110
|
useLayout: H,
|
|
1111
1111
|
usePage: A,
|
|
1112
1112
|
useCanvas: I,
|
|
1113
|
-
useModal:
|
|
1113
|
+
useModal: x,
|
|
1114
1114
|
useNotify: f,
|
|
1115
1115
|
getMergeMeta: he,
|
|
1116
1116
|
getMetaApi: p,
|
|
1117
1117
|
META_SERVICE: P,
|
|
1118
1118
|
useMessage: se,
|
|
1119
|
-
extend:
|
|
1119
|
+
extend: J,
|
|
1120
1120
|
isEqual: O,
|
|
1121
1121
|
constants: R,
|
|
1122
1122
|
isVsCodeEnv: la,
|
|
@@ -1132,12 +1132,12 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1132
1132
|
closePageSettingPanel: K,
|
|
1133
1133
|
PAGE_SETTING_SESSION: aa
|
|
1134
1134
|
})
|
|
1135
|
-
}), V = g((
|
|
1135
|
+
}), V = g((k, j, z = !0) => {
|
|
1136
1136
|
var ka;
|
|
1137
|
-
const me = i.currentPageDataCopy.route !== i.currentPageData.route, fe = ((ka = c == null ? void 0 : c.currentPage) == null ? void 0 : ka.id) ===
|
|
1137
|
+
const me = i.currentPageDataCopy.route !== i.currentPageData.route, fe = ((ka = c == null ? void 0 : c.currentPage) == null ? void 0 : ka.id) === k;
|
|
1138
1138
|
return le({
|
|
1139
|
-
id:
|
|
1140
|
-
params:
|
|
1139
|
+
id: k,
|
|
1140
|
+
params: j,
|
|
1141
1141
|
routerChange: me,
|
|
1142
1142
|
isCurEditPage: fe,
|
|
1143
1143
|
isUpdateTree: z
|
|
@@ -1163,13 +1163,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1163
1163
|
initData: y,
|
|
1164
1164
|
confirm: h,
|
|
1165
1165
|
registry: _,
|
|
1166
|
-
pageGeneral:
|
|
1166
|
+
pageGeneral: C,
|
|
1167
1167
|
beforeCreatePage: T,
|
|
1168
|
-
pageGeneralRef:
|
|
1168
|
+
pageGeneralRef: N,
|
|
1169
1169
|
PLUGIN_NAME: u,
|
|
1170
1170
|
getPluginByLayout: E,
|
|
1171
1171
|
align: b,
|
|
1172
|
-
subscribe:
|
|
1172
|
+
subscribe: F,
|
|
1173
1173
|
unsubscribe: G,
|
|
1174
1174
|
subscriber: L,
|
|
1175
1175
|
state: B,
|
|
@@ -1193,13 +1193,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1193
1193
|
useLayout: H,
|
|
1194
1194
|
usePage: A,
|
|
1195
1195
|
useCanvas: I,
|
|
1196
|
-
useModal:
|
|
1196
|
+
useModal: x,
|
|
1197
1197
|
useNotify: f,
|
|
1198
1198
|
getMergeMeta: he,
|
|
1199
1199
|
getMetaApi: p,
|
|
1200
1200
|
META_SERVICE: P,
|
|
1201
1201
|
useMessage: se,
|
|
1202
|
-
extend:
|
|
1202
|
+
extend: J,
|
|
1203
1203
|
isEqual: O,
|
|
1204
1204
|
constants: R,
|
|
1205
1205
|
isVsCodeEnv: la,
|
|
@@ -1215,18 +1215,18 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1215
1215
|
closePageSettingPanel: K,
|
|
1216
1216
|
PAGE_SETTING_SESSION: aa
|
|
1217
1217
|
})
|
|
1218
|
-
}), w = g((
|
|
1219
|
-
const
|
|
1220
|
-
...
|
|
1221
|
-
id:
|
|
1218
|
+
}), w = g((k) => {
|
|
1219
|
+
const j = {
|
|
1220
|
+
...k,
|
|
1221
|
+
id: k.page
|
|
1222
1222
|
};
|
|
1223
|
-
["page", "backupTime", "backupTitle", "time"].forEach((fe) => delete
|
|
1223
|
+
["page", "backupTime", "backupTitle", "time"].forEach((fe) => delete j[fe]);
|
|
1224
1224
|
const me = {
|
|
1225
1225
|
...i.currentPageData,
|
|
1226
|
-
...
|
|
1226
|
+
...j,
|
|
1227
1227
|
message: "还原页面"
|
|
1228
1228
|
};
|
|
1229
|
-
V(
|
|
1229
|
+
V(j.id, me).then((fe) => {
|
|
1230
1230
|
var _a;
|
|
1231
1231
|
((_a = c == null ? void 0 : c.currentPage) == null ? void 0 : _a.id) === (fe == null ? void 0 : fe.id) && y(fe.page_content, fe), l(fe);
|
|
1232
1232
|
});
|
|
@@ -1251,13 +1251,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1251
1251
|
initData: y,
|
|
1252
1252
|
confirm: h,
|
|
1253
1253
|
registry: _,
|
|
1254
|
-
pageGeneral:
|
|
1254
|
+
pageGeneral: C,
|
|
1255
1255
|
beforeCreatePage: T,
|
|
1256
|
-
pageGeneralRef:
|
|
1256
|
+
pageGeneralRef: N,
|
|
1257
1257
|
PLUGIN_NAME: u,
|
|
1258
1258
|
getPluginByLayout: E,
|
|
1259
1259
|
align: b,
|
|
1260
|
-
subscribe:
|
|
1260
|
+
subscribe: F,
|
|
1261
1261
|
unsubscribe: G,
|
|
1262
1262
|
subscriber: L,
|
|
1263
1263
|
state: B,
|
|
@@ -1281,13 +1281,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1281
1281
|
useLayout: H,
|
|
1282
1282
|
usePage: A,
|
|
1283
1283
|
useCanvas: I,
|
|
1284
|
-
useModal:
|
|
1284
|
+
useModal: x,
|
|
1285
1285
|
useNotify: f,
|
|
1286
1286
|
getMergeMeta: he,
|
|
1287
1287
|
getMetaApi: p,
|
|
1288
1288
|
META_SERVICE: P,
|
|
1289
1289
|
useMessage: se,
|
|
1290
|
-
extend:
|
|
1290
|
+
extend: J,
|
|
1291
1291
|
isEqual: O,
|
|
1292
1292
|
constants: R,
|
|
1293
1293
|
isVsCodeEnv: la,
|
|
@@ -1305,16 +1305,16 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1305
1305
|
})
|
|
1306
1306
|
}), X = g(async () => {
|
|
1307
1307
|
const {
|
|
1308
|
-
id:
|
|
1309
|
-
name:
|
|
1308
|
+
id: k,
|
|
1309
|
+
name: j,
|
|
1310
1310
|
page_content: z
|
|
1311
1311
|
} = i.currentPageData, me = {
|
|
1312
1312
|
...i.currentPageData,
|
|
1313
1313
|
page_content: {
|
|
1314
1314
|
...z,
|
|
1315
|
-
fileName:
|
|
1315
|
+
fileName: j
|
|
1316
1316
|
}
|
|
1317
|
-
}, fe = await V(
|
|
1317
|
+
}, fe = await V(k, me);
|
|
1318
1318
|
l(fe);
|
|
1319
1319
|
}, {
|
|
1320
1320
|
metaData: {
|
|
@@ -1337,13 +1337,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1337
1337
|
initData: y,
|
|
1338
1338
|
confirm: h,
|
|
1339
1339
|
registry: _,
|
|
1340
|
-
pageGeneral:
|
|
1340
|
+
pageGeneral: C,
|
|
1341
1341
|
beforeCreatePage: T,
|
|
1342
|
-
pageGeneralRef:
|
|
1342
|
+
pageGeneralRef: N,
|
|
1343
1343
|
PLUGIN_NAME: u,
|
|
1344
1344
|
getPluginByLayout: E,
|
|
1345
1345
|
align: b,
|
|
1346
|
-
subscribe:
|
|
1346
|
+
subscribe: F,
|
|
1347
1347
|
unsubscribe: G,
|
|
1348
1348
|
subscriber: L,
|
|
1349
1349
|
state: B,
|
|
@@ -1367,13 +1367,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1367
1367
|
useLayout: H,
|
|
1368
1368
|
usePage: A,
|
|
1369
1369
|
useCanvas: I,
|
|
1370
|
-
useModal:
|
|
1370
|
+
useModal: x,
|
|
1371
1371
|
useNotify: f,
|
|
1372
1372
|
getMergeMeta: he,
|
|
1373
1373
|
getMetaApi: p,
|
|
1374
1374
|
META_SERVICE: P,
|
|
1375
1375
|
useMessage: se,
|
|
1376
|
-
extend:
|
|
1376
|
+
extend: J,
|
|
1377
1377
|
isEqual: O,
|
|
1378
1378
|
constants: R,
|
|
1379
1379
|
isVsCodeEnv: la,
|
|
@@ -1389,13 +1389,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1389
1389
|
closePageSettingPanel: K,
|
|
1390
1390
|
PAGE_SETTING_SESSION: aa
|
|
1391
1391
|
})
|
|
1392
|
-
}), q = g((
|
|
1393
|
-
if (!
|
|
1392
|
+
}), q = g((k) => {
|
|
1393
|
+
if (!k)
|
|
1394
1394
|
return;
|
|
1395
|
-
const
|
|
1396
|
-
|
|
1397
|
-
...
|
|
1398
|
-
...
|
|
1395
|
+
const j = i.currentPageData.page_content;
|
|
1396
|
+
j.lifeCycles = {
|
|
1397
|
+
...j.lifeCycles || {},
|
|
1398
|
+
...k
|
|
1399
1399
|
};
|
|
1400
1400
|
}, {
|
|
1401
1401
|
metaData: {
|
|
@@ -1418,13 +1418,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1418
1418
|
initData: y,
|
|
1419
1419
|
confirm: h,
|
|
1420
1420
|
registry: _,
|
|
1421
|
-
pageGeneral:
|
|
1421
|
+
pageGeneral: C,
|
|
1422
1422
|
beforeCreatePage: T,
|
|
1423
|
-
pageGeneralRef:
|
|
1423
|
+
pageGeneralRef: N,
|
|
1424
1424
|
PLUGIN_NAME: u,
|
|
1425
1425
|
getPluginByLayout: E,
|
|
1426
1426
|
align: b,
|
|
1427
|
-
subscribe:
|
|
1427
|
+
subscribe: F,
|
|
1428
1428
|
unsubscribe: G,
|
|
1429
1429
|
subscriber: L,
|
|
1430
1430
|
state: B,
|
|
@@ -1448,13 +1448,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1448
1448
|
useLayout: H,
|
|
1449
1449
|
usePage: A,
|
|
1450
1450
|
useCanvas: I,
|
|
1451
|
-
useModal:
|
|
1451
|
+
useModal: x,
|
|
1452
1452
|
useNotify: f,
|
|
1453
1453
|
getMergeMeta: he,
|
|
1454
1454
|
getMetaApi: p,
|
|
1455
1455
|
META_SERVICE: P,
|
|
1456
1456
|
useMessage: se,
|
|
1457
|
-
extend:
|
|
1457
|
+
extend: J,
|
|
1458
1458
|
isEqual: O,
|
|
1459
1459
|
constants: R,
|
|
1460
1460
|
isVsCodeEnv: la,
|
|
@@ -1471,8 +1471,8 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1471
1471
|
PAGE_SETTING_SESSION: aa
|
|
1472
1472
|
})
|
|
1473
1473
|
}), te = g(() => {
|
|
1474
|
-
const
|
|
1475
|
-
i.isNew = !0,
|
|
1474
|
+
const k = i.currentPageData, j = J(!0, {}, k);
|
|
1475
|
+
i.isNew = !0, j.name = `${j.name}Copy`, j.route = `${j.route}Copy`, i.currentPageData = j, i.currentPageDataCopy = J(!0, {}, j), i.defaultPage = null;
|
|
1476
1476
|
}, {
|
|
1477
1477
|
metaData: {
|
|
1478
1478
|
id: "engine.plugins.appmanage.PageSetting.copyPageData"
|
|
@@ -1494,13 +1494,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1494
1494
|
initData: y,
|
|
1495
1495
|
confirm: h,
|
|
1496
1496
|
registry: _,
|
|
1497
|
-
pageGeneral:
|
|
1497
|
+
pageGeneral: C,
|
|
1498
1498
|
beforeCreatePage: T,
|
|
1499
|
-
pageGeneralRef:
|
|
1499
|
+
pageGeneralRef: N,
|
|
1500
1500
|
PLUGIN_NAME: u,
|
|
1501
1501
|
getPluginByLayout: E,
|
|
1502
1502
|
align: b,
|
|
1503
|
-
subscribe:
|
|
1503
|
+
subscribe: F,
|
|
1504
1504
|
unsubscribe: G,
|
|
1505
1505
|
subscriber: L,
|
|
1506
1506
|
state: B,
|
|
@@ -1524,13 +1524,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1524
1524
|
useLayout: H,
|
|
1525
1525
|
usePage: A,
|
|
1526
1526
|
useCanvas: I,
|
|
1527
|
-
useModal:
|
|
1527
|
+
useModal: x,
|
|
1528
1528
|
useNotify: f,
|
|
1529
1529
|
getMergeMeta: he,
|
|
1530
1530
|
getMetaApi: p,
|
|
1531
1531
|
META_SERVICE: P,
|
|
1532
1532
|
useMessage: se,
|
|
1533
|
-
extend:
|
|
1533
|
+
extend: J,
|
|
1534
1534
|
isEqual: O,
|
|
1535
1535
|
constants: R,
|
|
1536
1536
|
isVsCodeEnv: la,
|
|
@@ -1575,13 +1575,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1575
1575
|
initData: y,
|
|
1576
1576
|
confirm: h,
|
|
1577
1577
|
registry: _,
|
|
1578
|
-
pageGeneral:
|
|
1578
|
+
pageGeneral: C,
|
|
1579
1579
|
beforeCreatePage: T,
|
|
1580
|
-
pageGeneralRef:
|
|
1580
|
+
pageGeneralRef: N,
|
|
1581
1581
|
PLUGIN_NAME: u,
|
|
1582
1582
|
getPluginByLayout: E,
|
|
1583
1583
|
align: b,
|
|
1584
|
-
subscribe:
|
|
1584
|
+
subscribe: F,
|
|
1585
1585
|
unsubscribe: G,
|
|
1586
1586
|
subscriber: L,
|
|
1587
1587
|
state: B,
|
|
@@ -1605,13 +1605,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1605
1605
|
useLayout: H,
|
|
1606
1606
|
usePage: A,
|
|
1607
1607
|
useCanvas: I,
|
|
1608
|
-
useModal:
|
|
1608
|
+
useModal: x,
|
|
1609
1609
|
useNotify: f,
|
|
1610
1610
|
getMergeMeta: he,
|
|
1611
1611
|
getMetaApi: p,
|
|
1612
1612
|
META_SERVICE: P,
|
|
1613
1613
|
useMessage: se,
|
|
1614
|
-
extend:
|
|
1614
|
+
extend: J,
|
|
1615
1615
|
isEqual: O,
|
|
1616
1616
|
constants: R,
|
|
1617
1617
|
isVsCodeEnv: la,
|
|
@@ -1628,12 +1628,12 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1628
1628
|
PAGE_SETTING_SESSION: aa
|
|
1629
1629
|
})
|
|
1630
1630
|
}), $ = g(async () => {
|
|
1631
|
-
var
|
|
1632
|
-
const
|
|
1631
|
+
var j;
|
|
1632
|
+
const k = {
|
|
1633
1633
|
...i.defaultPage,
|
|
1634
1634
|
isDefault: !0
|
|
1635
1635
|
};
|
|
1636
|
-
V((
|
|
1636
|
+
V((j = i.defaultPage) == null ? void 0 : j.id, k, !1).then((z) => {
|
|
1637
1637
|
z && X();
|
|
1638
1638
|
});
|
|
1639
1639
|
}, {
|
|
@@ -1657,13 +1657,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1657
1657
|
initData: y,
|
|
1658
1658
|
confirm: h,
|
|
1659
1659
|
registry: _,
|
|
1660
|
-
pageGeneral:
|
|
1660
|
+
pageGeneral: C,
|
|
1661
1661
|
beforeCreatePage: T,
|
|
1662
|
-
pageGeneralRef:
|
|
1662
|
+
pageGeneralRef: N,
|
|
1663
1663
|
PLUGIN_NAME: u,
|
|
1664
1664
|
getPluginByLayout: E,
|
|
1665
1665
|
align: b,
|
|
1666
|
-
subscribe:
|
|
1666
|
+
subscribe: F,
|
|
1667
1667
|
unsubscribe: G,
|
|
1668
1668
|
subscriber: L,
|
|
1669
1669
|
state: B,
|
|
@@ -1687,13 +1687,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1687
1687
|
useLayout: H,
|
|
1688
1688
|
usePage: A,
|
|
1689
1689
|
useCanvas: I,
|
|
1690
|
-
useModal:
|
|
1690
|
+
useModal: x,
|
|
1691
1691
|
useNotify: f,
|
|
1692
1692
|
getMergeMeta: he,
|
|
1693
1693
|
getMetaApi: p,
|
|
1694
1694
|
META_SERVICE: P,
|
|
1695
1695
|
useMessage: se,
|
|
1696
|
-
extend:
|
|
1696
|
+
extend: J,
|
|
1697
1697
|
isEqual: O,
|
|
1698
1698
|
constants: R,
|
|
1699
1699
|
isVsCodeEnv: la,
|
|
@@ -1713,7 +1713,7 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1713
1713
|
if (i.isNew)
|
|
1714
1714
|
i.currentPageData.message = "Page auto save", v();
|
|
1715
1715
|
else {
|
|
1716
|
-
const
|
|
1716
|
+
const k = "创建历史备份信息", j = {
|
|
1717
1717
|
render: () => ee(ft, {
|
|
1718
1718
|
placeholder: "历史备份信息",
|
|
1719
1719
|
modelValue: B.historyMessage,
|
|
@@ -1727,8 +1727,8 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1727
1727
|
id: "engine.plugins.appmanage.PageSetting.exec"
|
|
1728
1728
|
},
|
|
1729
1729
|
ctx: () => ({
|
|
1730
|
-
title:
|
|
1731
|
-
messageRender:
|
|
1730
|
+
title: k,
|
|
1731
|
+
messageRender: j,
|
|
1732
1732
|
exec: z,
|
|
1733
1733
|
props: a,
|
|
1734
1734
|
emit: t,
|
|
@@ -1746,13 +1746,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1746
1746
|
initData: y,
|
|
1747
1747
|
confirm: h,
|
|
1748
1748
|
registry: _,
|
|
1749
|
-
pageGeneral:
|
|
1749
|
+
pageGeneral: C,
|
|
1750
1750
|
beforeCreatePage: T,
|
|
1751
|
-
pageGeneralRef:
|
|
1751
|
+
pageGeneralRef: N,
|
|
1752
1752
|
PLUGIN_NAME: u,
|
|
1753
1753
|
getPluginByLayout: E,
|
|
1754
1754
|
align: b,
|
|
1755
|
-
subscribe:
|
|
1755
|
+
subscribe: F,
|
|
1756
1756
|
unsubscribe: G,
|
|
1757
1757
|
subscriber: L,
|
|
1758
1758
|
state: B,
|
|
@@ -1776,13 +1776,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1776
1776
|
useLayout: H,
|
|
1777
1777
|
usePage: A,
|
|
1778
1778
|
useCanvas: I,
|
|
1779
|
-
useModal:
|
|
1779
|
+
useModal: x,
|
|
1780
1780
|
useNotify: f,
|
|
1781
1781
|
getMergeMeta: he,
|
|
1782
1782
|
getMetaApi: p,
|
|
1783
1783
|
META_SERVICE: P,
|
|
1784
1784
|
useMessage: se,
|
|
1785
|
-
extend:
|
|
1785
|
+
extend: J,
|
|
1786
1786
|
isEqual: O,
|
|
1787
1787
|
constants: R,
|
|
1788
1788
|
isVsCodeEnv: la,
|
|
@@ -1800,8 +1800,8 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1800
1800
|
})
|
|
1801
1801
|
});
|
|
1802
1802
|
h({
|
|
1803
|
-
title:
|
|
1804
|
-
message:
|
|
1803
|
+
title: k,
|
|
1804
|
+
message: j,
|
|
1805
1805
|
exec: z
|
|
1806
1806
|
});
|
|
1807
1807
|
}
|
|
@@ -1826,13 +1826,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1826
1826
|
initData: y,
|
|
1827
1827
|
confirm: h,
|
|
1828
1828
|
registry: _,
|
|
1829
|
-
pageGeneral:
|
|
1829
|
+
pageGeneral: C,
|
|
1830
1830
|
beforeCreatePage: T,
|
|
1831
|
-
pageGeneralRef:
|
|
1831
|
+
pageGeneralRef: N,
|
|
1832
1832
|
PLUGIN_NAME: u,
|
|
1833
1833
|
getPluginByLayout: E,
|
|
1834
1834
|
align: b,
|
|
1835
|
-
subscribe:
|
|
1835
|
+
subscribe: F,
|
|
1836
1836
|
unsubscribe: G,
|
|
1837
1837
|
subscriber: L,
|
|
1838
1838
|
state: B,
|
|
@@ -1856,13 +1856,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1856
1856
|
useLayout: H,
|
|
1857
1857
|
usePage: A,
|
|
1858
1858
|
useCanvas: I,
|
|
1859
|
-
useModal:
|
|
1859
|
+
useModal: x,
|
|
1860
1860
|
useNotify: f,
|
|
1861
1861
|
getMergeMeta: he,
|
|
1862
1862
|
getMetaApi: p,
|
|
1863
1863
|
META_SERVICE: P,
|
|
1864
1864
|
useMessage: se,
|
|
1865
|
-
extend:
|
|
1865
|
+
extend: J,
|
|
1866
1866
|
isEqual: O,
|
|
1867
1867
|
constants: R,
|
|
1868
1868
|
isVsCodeEnv: la,
|
|
@@ -1879,7 +1879,7 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1879
1879
|
PAGE_SETTING_SESSION: aa
|
|
1880
1880
|
})
|
|
1881
1881
|
}), oe = g(() => {
|
|
1882
|
-
|
|
1882
|
+
N.value.validGeneralForm().then(ne);
|
|
1883
1883
|
}, {
|
|
1884
1884
|
metaData: {
|
|
1885
1885
|
id: "engine.plugins.appmanage.PageSetting.savePageSetting"
|
|
@@ -1901,13 +1901,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1901
1901
|
initData: y,
|
|
1902
1902
|
confirm: h,
|
|
1903
1903
|
registry: _,
|
|
1904
|
-
pageGeneral:
|
|
1904
|
+
pageGeneral: C,
|
|
1905
1905
|
beforeCreatePage: T,
|
|
1906
|
-
pageGeneralRef:
|
|
1906
|
+
pageGeneralRef: N,
|
|
1907
1907
|
PLUGIN_NAME: u,
|
|
1908
1908
|
getPluginByLayout: E,
|
|
1909
1909
|
align: b,
|
|
1910
|
-
subscribe:
|
|
1910
|
+
subscribe: F,
|
|
1911
1911
|
unsubscribe: G,
|
|
1912
1912
|
subscriber: L,
|
|
1913
1913
|
state: B,
|
|
@@ -1931,13 +1931,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1931
1931
|
useLayout: H,
|
|
1932
1932
|
usePage: A,
|
|
1933
1933
|
useCanvas: I,
|
|
1934
|
-
useModal:
|
|
1934
|
+
useModal: x,
|
|
1935
1935
|
useNotify: f,
|
|
1936
1936
|
getMergeMeta: he,
|
|
1937
1937
|
getMetaApi: p,
|
|
1938
1938
|
META_SERVICE: P,
|
|
1939
1939
|
useMessage: se,
|
|
1940
|
-
extend:
|
|
1940
|
+
extend: J,
|
|
1941
1941
|
isEqual: O,
|
|
1942
1942
|
constants: R,
|
|
1943
1943
|
isVsCodeEnv: la,
|
|
@@ -1953,18 +1953,18 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1953
1953
|
closePageSettingPanel: K,
|
|
1954
1954
|
PAGE_SETTING_SESSION: aa
|
|
1955
1955
|
})
|
|
1956
|
-
}), re = g((
|
|
1957
|
-
if (!Array.isArray(
|
|
1956
|
+
}), re = g((k = []) => {
|
|
1957
|
+
if (!Array.isArray(k))
|
|
1958
1958
|
return [];
|
|
1959
|
-
const
|
|
1960
|
-
return
|
|
1959
|
+
const j = [];
|
|
1960
|
+
return k.forEach((z) => {
|
|
1961
1961
|
var me;
|
|
1962
1962
|
if (z != null && z.isPage) {
|
|
1963
|
-
|
|
1963
|
+
j.push(z);
|
|
1964
1964
|
return;
|
|
1965
1965
|
}
|
|
1966
|
-
!(z != null && z.isPage) && ((me = z == null ? void 0 : z.children) != null && me.length) &&
|
|
1967
|
-
}),
|
|
1966
|
+
!(z != null && z.isPage) && ((me = z == null ? void 0 : z.children) != null && me.length) && j.push(...re(z.children));
|
|
1967
|
+
}), j;
|
|
1968
1968
|
}, {
|
|
1969
1969
|
metaData: {
|
|
1970
1970
|
id: "engine.plugins.appmanage.PageSetting.collectAllPage"
|
|
@@ -1986,13 +1986,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
1986
1986
|
initData: y,
|
|
1987
1987
|
confirm: h,
|
|
1988
1988
|
registry: _,
|
|
1989
|
-
pageGeneral:
|
|
1989
|
+
pageGeneral: C,
|
|
1990
1990
|
beforeCreatePage: T,
|
|
1991
|
-
pageGeneralRef:
|
|
1991
|
+
pageGeneralRef: N,
|
|
1992
1992
|
PLUGIN_NAME: u,
|
|
1993
1993
|
getPluginByLayout: E,
|
|
1994
1994
|
align: b,
|
|
1995
|
-
subscribe:
|
|
1995
|
+
subscribe: F,
|
|
1996
1996
|
unsubscribe: G,
|
|
1997
1997
|
subscriber: L,
|
|
1998
1998
|
state: B,
|
|
@@ -2016,13 +2016,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
2016
2016
|
useLayout: H,
|
|
2017
2017
|
usePage: A,
|
|
2018
2018
|
useCanvas: I,
|
|
2019
|
-
useModal:
|
|
2019
|
+
useModal: x,
|
|
2020
2020
|
useNotify: f,
|
|
2021
2021
|
getMergeMeta: he,
|
|
2022
2022
|
getMetaApi: p,
|
|
2023
2023
|
META_SERVICE: P,
|
|
2024
2024
|
useMessage: se,
|
|
2025
|
-
extend:
|
|
2025
|
+
extend: J,
|
|
2026
2026
|
isEqual: O,
|
|
2027
2027
|
constants: R,
|
|
2028
2028
|
isVsCodeEnv: la,
|
|
@@ -2039,8 +2039,8 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
2039
2039
|
PAGE_SETTING_SESSION: aa
|
|
2040
2040
|
})
|
|
2041
2041
|
}), ge = g(() => {
|
|
2042
|
-
var
|
|
2043
|
-
if ((
|
|
2042
|
+
var k, j;
|
|
2043
|
+
if ((j = (k = i.treeDataMapping[i.currentPageData.id]) == null ? void 0 : k.children) != null && j.length) {
|
|
2044
2044
|
f({
|
|
2045
2045
|
type: "error",
|
|
2046
2046
|
message: "此页面存在子页面或子文件夹,不能删除!"
|
|
@@ -2097,13 +2097,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
2097
2097
|
initData: y,
|
|
2098
2098
|
confirm: h,
|
|
2099
2099
|
registry: _,
|
|
2100
|
-
pageGeneral:
|
|
2100
|
+
pageGeneral: C,
|
|
2101
2101
|
beforeCreatePage: T,
|
|
2102
|
-
pageGeneralRef:
|
|
2102
|
+
pageGeneralRef: N,
|
|
2103
2103
|
PLUGIN_NAME: u,
|
|
2104
2104
|
getPluginByLayout: E,
|
|
2105
2105
|
align: b,
|
|
2106
|
-
subscribe:
|
|
2106
|
+
subscribe: F,
|
|
2107
2107
|
unsubscribe: G,
|
|
2108
2108
|
subscriber: L,
|
|
2109
2109
|
state: B,
|
|
@@ -2127,13 +2127,13 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
2127
2127
|
useLayout: H,
|
|
2128
2128
|
usePage: A,
|
|
2129
2129
|
useCanvas: I,
|
|
2130
|
-
useModal:
|
|
2130
|
+
useModal: x,
|
|
2131
2131
|
useNotify: f,
|
|
2132
2132
|
getMergeMeta: he,
|
|
2133
2133
|
getMetaApi: p,
|
|
2134
2134
|
META_SERVICE: P,
|
|
2135
2135
|
useMessage: se,
|
|
2136
|
-
extend:
|
|
2136
|
+
extend: J,
|
|
2137
2137
|
isEqual: O,
|
|
2138
2138
|
constants: R,
|
|
2139
2139
|
isVsCodeEnv: la,
|
|
@@ -2158,8 +2158,8 @@ const ua = /* @__PURE__ */ Fa(Vt, [["render", Gt], ["__scopeId", "data-v-94581fb
|
|
|
2158
2158
|
savePageSetting: oe,
|
|
2159
2159
|
copyPage: ae,
|
|
2160
2160
|
pageSettingState: i,
|
|
2161
|
-
pageGeneral:
|
|
2162
|
-
pageGeneralRef:
|
|
2161
|
+
pageGeneral: C,
|
|
2162
|
+
pageGeneralRef: N,
|
|
2163
2163
|
deletePage: ge,
|
|
2164
2164
|
cancelPageSetting: S,
|
|
2165
2165
|
closePageSettingPanel: K,
|
|
@@ -2292,7 +2292,7 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2292
2292
|
ButtonGroup: Se,
|
|
2293
2293
|
usePage: A,
|
|
2294
2294
|
useLayout: H,
|
|
2295
|
-
useModal:
|
|
2295
|
+
useModal: x,
|
|
2296
2296
|
useNotify: f,
|
|
2297
2297
|
getMergeMeta: he,
|
|
2298
2298
|
getMetaApi: p,
|
|
@@ -2321,7 +2321,7 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2321
2321
|
ButtonGroup: Se,
|
|
2322
2322
|
usePage: A,
|
|
2323
2323
|
useLayout: H,
|
|
2324
|
-
useModal:
|
|
2324
|
+
useModal: x,
|
|
2325
2325
|
useNotify: f,
|
|
2326
2326
|
getMergeMeta: he,
|
|
2327
2327
|
getMetaApi: p,
|
|
@@ -2362,7 +2362,7 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2362
2362
|
changeTreeData: i
|
|
2363
2363
|
} = A(), {
|
|
2364
2364
|
confirm: o
|
|
2365
|
-
} =
|
|
2365
|
+
} = x(), r = he(Q.id), l = r.components.PageGeneral, m = Sa(null), {
|
|
2366
2366
|
PLUGIN_NAME: d,
|
|
2367
2367
|
getPluginByLayout: D
|
|
2368
2368
|
} = H(), c = Ma(() => D(d.AppManage)), y = g(() => {
|
|
@@ -2394,14 +2394,14 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2394
2394
|
closeFolderSetting: y,
|
|
2395
2395
|
createFolder: h,
|
|
2396
2396
|
updateFolder: _,
|
|
2397
|
-
saveFolderSetting:
|
|
2397
|
+
saveFolderSetting: C,
|
|
2398
2398
|
deleteFolder: T,
|
|
2399
2399
|
PluginSetting: ve,
|
|
2400
2400
|
SvgButton: W,
|
|
2401
2401
|
ButtonGroup: Se,
|
|
2402
2402
|
usePage: A,
|
|
2403
2403
|
useLayout: H,
|
|
2404
|
-
useModal:
|
|
2404
|
+
useModal: x,
|
|
2405
2405
|
useNotify: f,
|
|
2406
2406
|
getMergeMeta: he,
|
|
2407
2407
|
getMetaApi: p,
|
|
@@ -2453,14 +2453,14 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2453
2453
|
closeFolderSetting: y,
|
|
2454
2454
|
createFolder: h,
|
|
2455
2455
|
updateFolder: _,
|
|
2456
|
-
saveFolderSetting:
|
|
2456
|
+
saveFolderSetting: C,
|
|
2457
2457
|
deleteFolder: T,
|
|
2458
2458
|
PluginSetting: ve,
|
|
2459
2459
|
SvgButton: W,
|
|
2460
2460
|
ButtonGroup: Se,
|
|
2461
2461
|
usePage: A,
|
|
2462
2462
|
useLayout: H,
|
|
2463
|
-
useModal:
|
|
2463
|
+
useModal: x,
|
|
2464
2464
|
useNotify: f,
|
|
2465
2465
|
getMergeMeta: he,
|
|
2466
2466
|
getMetaApi: p,
|
|
@@ -2475,9 +2475,9 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2475
2475
|
})
|
|
2476
2476
|
}), _ = g(() => {
|
|
2477
2477
|
const {
|
|
2478
|
-
id:
|
|
2478
|
+
id: N
|
|
2479
2479
|
} = s.currentPageData;
|
|
2480
|
-
n(
|
|
2480
|
+
n(N, {
|
|
2481
2481
|
...s.currentPageData,
|
|
2482
2482
|
page_content: null
|
|
2483
2483
|
}).then(() => {
|
|
@@ -2513,14 +2513,14 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2513
2513
|
closeFolderSetting: y,
|
|
2514
2514
|
createFolder: h,
|
|
2515
2515
|
updateFolder: _,
|
|
2516
|
-
saveFolderSetting:
|
|
2516
|
+
saveFolderSetting: C,
|
|
2517
2517
|
deleteFolder: T,
|
|
2518
2518
|
PluginSetting: ve,
|
|
2519
2519
|
SvgButton: W,
|
|
2520
2520
|
ButtonGroup: Se,
|
|
2521
2521
|
usePage: A,
|
|
2522
2522
|
useLayout: H,
|
|
2523
|
-
useModal:
|
|
2523
|
+
useModal: x,
|
|
2524
2524
|
useNotify: f,
|
|
2525
2525
|
getMergeMeta: he,
|
|
2526
2526
|
getMetaApi: p,
|
|
@@ -2533,7 +2533,7 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2533
2533
|
openFolderSettingPanel: ha,
|
|
2534
2534
|
closeFolderSettingPanel: ie
|
|
2535
2535
|
})
|
|
2536
|
-
}),
|
|
2536
|
+
}), C = g(() => {
|
|
2537
2537
|
m.value.validGeneralForm().then(() => {
|
|
2538
2538
|
s.isNew ? h() : _();
|
|
2539
2539
|
});
|
|
@@ -2558,14 +2558,14 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2558
2558
|
closeFolderSetting: y,
|
|
2559
2559
|
createFolder: h,
|
|
2560
2560
|
updateFolder: _,
|
|
2561
|
-
saveFolderSetting:
|
|
2561
|
+
saveFolderSetting: C,
|
|
2562
2562
|
deleteFolder: T,
|
|
2563
2563
|
PluginSetting: ve,
|
|
2564
2564
|
SvgButton: W,
|
|
2565
2565
|
ButtonGroup: Se,
|
|
2566
2566
|
usePage: A,
|
|
2567
2567
|
useLayout: H,
|
|
2568
|
-
useModal:
|
|
2568
|
+
useModal: x,
|
|
2569
2569
|
useNotify: f,
|
|
2570
2570
|
getMergeMeta: he,
|
|
2571
2571
|
getMetaApi: p,
|
|
@@ -2579,8 +2579,8 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2579
2579
|
closeFolderSettingPanel: ie
|
|
2580
2580
|
})
|
|
2581
2581
|
}), T = g(() => {
|
|
2582
|
-
var
|
|
2583
|
-
if ((u = (
|
|
2582
|
+
var N, u;
|
|
2583
|
+
if ((u = (N = s.treeDataMapping[s.currentPageData.id]) == null ? void 0 : N.children) != null && u.length) {
|
|
2584
2584
|
f({
|
|
2585
2585
|
type: "error",
|
|
2586
2586
|
message: "此文件夹不是空文件夹,不能删除!"
|
|
@@ -2598,11 +2598,11 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2598
2598
|
type: "success",
|
|
2599
2599
|
message: "删除文件夹成功!"
|
|
2600
2600
|
});
|
|
2601
|
-
}).catch((
|
|
2601
|
+
}).catch((F) => {
|
|
2602
2602
|
f({
|
|
2603
2603
|
type: "success",
|
|
2604
2604
|
title: "删除文件夹失败!",
|
|
2605
|
-
message: JSON.stringify((
|
|
2605
|
+
message: JSON.stringify((F == null ? void 0 : F.message) || F)
|
|
2606
2606
|
});
|
|
2607
2607
|
});
|
|
2608
2608
|
}
|
|
@@ -2628,14 +2628,14 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2628
2628
|
closeFolderSetting: y,
|
|
2629
2629
|
createFolder: h,
|
|
2630
2630
|
updateFolder: _,
|
|
2631
|
-
saveFolderSetting:
|
|
2631
|
+
saveFolderSetting: C,
|
|
2632
2632
|
deleteFolder: T,
|
|
2633
2633
|
PluginSetting: ve,
|
|
2634
2634
|
SvgButton: W,
|
|
2635
2635
|
ButtonGroup: Se,
|
|
2636
2636
|
usePage: A,
|
|
2637
2637
|
useLayout: H,
|
|
2638
|
-
useModal:
|
|
2638
|
+
useModal: x,
|
|
2639
2639
|
useNotify: f,
|
|
2640
2640
|
getMergeMeta: he,
|
|
2641
2641
|
getMetaApi: p,
|
|
@@ -2652,7 +2652,7 @@ const Ua = /* @__PURE__ */ Fa(Rt, [["render", Lt], ["__scopeId", "data-v-1bd8622
|
|
|
2652
2652
|
return {
|
|
2653
2653
|
align: c,
|
|
2654
2654
|
PLUGIN_NAME: d,
|
|
2655
|
-
saveFolderSetting:
|
|
2655
|
+
saveFolderSetting: C,
|
|
2656
2656
|
deleteFolder: Aa(5e3, !0, T),
|
|
2657
2657
|
pageGeneral: l,
|
|
2658
2658
|
folderGeneralRef: m,
|
|
@@ -2838,13 +2838,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
2838
2838
|
filteredNodes: y,
|
|
2839
2839
|
filteredNodesWithAncestors: h,
|
|
2840
2840
|
lines: _,
|
|
2841
|
-
layerLine:
|
|
2841
|
+
layerLine: C,
|
|
2842
2842
|
handleClickRow: T,
|
|
2843
|
-
draggedNode:
|
|
2843
|
+
draggedNode: N,
|
|
2844
2844
|
hoveringNodeId: u,
|
|
2845
2845
|
handleDragStart: E,
|
|
2846
2846
|
handleDragOver: b,
|
|
2847
|
-
handleDrop:
|
|
2847
|
+
handleDrop: F,
|
|
2848
2848
|
handleDragEnd: G,
|
|
2849
2849
|
handleContainerDragOver: L,
|
|
2850
2850
|
handleContainerDragLeave: B
|
|
@@ -2871,13 +2871,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
2871
2871
|
filteredNodes: y,
|
|
2872
2872
|
filteredNodesWithAncestors: h,
|
|
2873
2873
|
lines: _,
|
|
2874
|
-
layerLine:
|
|
2874
|
+
layerLine: C,
|
|
2875
2875
|
handleClickRow: T,
|
|
2876
|
-
draggedNode:
|
|
2876
|
+
draggedNode: N,
|
|
2877
2877
|
hoveringNodeId: u,
|
|
2878
2878
|
handleDragStart: E,
|
|
2879
2879
|
handleDragOver: b,
|
|
2880
|
-
handleDrop:
|
|
2880
|
+
handleDrop: F,
|
|
2881
2881
|
handleDragEnd: G,
|
|
2882
2882
|
handleContainerDragOver: L,
|
|
2883
2883
|
handleContainerDragLeave: B
|
|
@@ -2905,13 +2905,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
2905
2905
|
filteredNodes: y,
|
|
2906
2906
|
filteredNodesWithAncestors: h,
|
|
2907
2907
|
lines: _,
|
|
2908
|
-
layerLine:
|
|
2908
|
+
layerLine: C,
|
|
2909
2909
|
handleClickRow: T,
|
|
2910
|
-
draggedNode:
|
|
2910
|
+
draggedNode: N,
|
|
2911
2911
|
hoveringNodeId: u,
|
|
2912
2912
|
handleDragStart: E,
|
|
2913
2913
|
handleDragOver: b,
|
|
2914
|
-
handleDrop:
|
|
2914
|
+
handleDrop: F,
|
|
2915
2915
|
handleDragEnd: G,
|
|
2916
2916
|
handleContainerDragOver: L,
|
|
2917
2917
|
handleContainerDragLeave: B
|
|
@@ -2943,13 +2943,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
2943
2943
|
filteredNodes: y,
|
|
2944
2944
|
filteredNodesWithAncestors: h,
|
|
2945
2945
|
lines: _,
|
|
2946
|
-
layerLine:
|
|
2946
|
+
layerLine: C,
|
|
2947
2947
|
handleClickRow: T,
|
|
2948
|
-
draggedNode:
|
|
2948
|
+
draggedNode: N,
|
|
2949
2949
|
hoveringNodeId: u,
|
|
2950
2950
|
handleDragStart: E,
|
|
2951
2951
|
handleDragOver: b,
|
|
2952
|
-
handleDrop:
|
|
2952
|
+
handleDrop: F,
|
|
2953
2953
|
handleDragEnd: G,
|
|
2954
2954
|
handleContainerDragOver: L,
|
|
2955
2955
|
handleContainerDragLeave: B
|
|
@@ -2991,13 +2991,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
2991
2991
|
filteredNodes: y,
|
|
2992
2992
|
filteredNodesWithAncestors: h,
|
|
2993
2993
|
lines: _,
|
|
2994
|
-
layerLine:
|
|
2994
|
+
layerLine: C,
|
|
2995
2995
|
handleClickRow: T,
|
|
2996
|
-
draggedNode:
|
|
2996
|
+
draggedNode: N,
|
|
2997
2997
|
hoveringNodeId: u,
|
|
2998
2998
|
handleDragStart: E,
|
|
2999
2999
|
handleDragOver: b,
|
|
3000
|
-
handleDrop:
|
|
3000
|
+
handleDrop: F,
|
|
3001
3001
|
handleDragEnd: G,
|
|
3002
3002
|
handleContainerDragOver: L,
|
|
3003
3003
|
handleContainerDragLeave: B
|
|
@@ -3031,13 +3031,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3031
3031
|
filteredNodes: y,
|
|
3032
3032
|
filteredNodesWithAncestors: h,
|
|
3033
3033
|
lines: _,
|
|
3034
|
-
layerLine:
|
|
3034
|
+
layerLine: C,
|
|
3035
3035
|
handleClickRow: T,
|
|
3036
|
-
draggedNode:
|
|
3036
|
+
draggedNode: N,
|
|
3037
3037
|
hoveringNodeId: u,
|
|
3038
3038
|
handleDragStart: E,
|
|
3039
3039
|
handleDragOver: b,
|
|
3040
|
-
handleDrop:
|
|
3040
|
+
handleDrop: F,
|
|
3041
3041
|
handleDragEnd: G,
|
|
3042
3042
|
handleContainerDragOver: L,
|
|
3043
3043
|
handleContainerDragLeave: B
|
|
@@ -3068,7 +3068,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3068
3068
|
// │
|
|
3069
3069
|
layerNode: 3
|
|
3070
3070
|
// ├
|
|
3071
|
-
},
|
|
3071
|
+
}, C = Ma(() => {
|
|
3072
3072
|
const S = {}, v = h.value;
|
|
3073
3073
|
for (const [V, w] of v.entries())
|
|
3074
3074
|
if (S[V] = S[V] || {}, S[V][w.level - 1] = _.node, w.parentId !== n.rootId) {
|
|
@@ -3100,19 +3100,19 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3100
3100
|
filteredNodes: y,
|
|
3101
3101
|
filteredNodesWithAncestors: h,
|
|
3102
3102
|
lines: _,
|
|
3103
|
-
layerLine:
|
|
3103
|
+
layerLine: C,
|
|
3104
3104
|
handleClickRow: T,
|
|
3105
|
-
draggedNode:
|
|
3105
|
+
draggedNode: N,
|
|
3106
3106
|
hoveringNodeId: u,
|
|
3107
3107
|
handleDragStart: E,
|
|
3108
3108
|
handleDragOver: b,
|
|
3109
|
-
handleDrop:
|
|
3109
|
+
handleDrop: F,
|
|
3110
3110
|
handleDragEnd: G,
|
|
3111
3111
|
handleContainerDragOver: L,
|
|
3112
3112
|
handleContainerDragLeave: B
|
|
3113
3113
|
})
|
|
3114
|
-
}),
|
|
3115
|
-
n.draggable && (
|
|
3114
|
+
}), N = Sa(null), u = Sa(null), E = g((S, v) => {
|
|
3115
|
+
n.draggable && (N.value = v);
|
|
3116
3116
|
}, {
|
|
3117
3117
|
metaData: {
|
|
3118
3118
|
id: "engine.plugins.appmanage.Tree.handleDragStart"
|
|
@@ -3133,13 +3133,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3133
3133
|
filteredNodes: y,
|
|
3134
3134
|
filteredNodesWithAncestors: h,
|
|
3135
3135
|
lines: _,
|
|
3136
|
-
layerLine:
|
|
3136
|
+
layerLine: C,
|
|
3137
3137
|
handleClickRow: T,
|
|
3138
|
-
draggedNode:
|
|
3138
|
+
draggedNode: N,
|
|
3139
3139
|
hoveringNodeId: u,
|
|
3140
3140
|
handleDragStart: E,
|
|
3141
3141
|
handleDragOver: b,
|
|
3142
|
-
handleDrop:
|
|
3142
|
+
handleDrop: F,
|
|
3143
3143
|
handleDragEnd: G,
|
|
3144
3144
|
handleContainerDragOver: L,
|
|
3145
3145
|
handleContainerDragLeave: B
|
|
@@ -3147,7 +3147,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3147
3147
|
}), b = g((S, v) => {
|
|
3148
3148
|
if (!n.draggable)
|
|
3149
3149
|
return;
|
|
3150
|
-
c(v.id).includes(
|
|
3150
|
+
c(v.id).includes(N.value.id) ? u.value = null : (S.preventDefault(), u.value = v.id);
|
|
3151
3151
|
}, {
|
|
3152
3152
|
metaData: {
|
|
3153
3153
|
id: "engine.plugins.appmanage.Tree.handleDragOver"
|
|
@@ -3168,21 +3168,21 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3168
3168
|
filteredNodes: y,
|
|
3169
3169
|
filteredNodesWithAncestors: h,
|
|
3170
3170
|
lines: _,
|
|
3171
|
-
layerLine:
|
|
3171
|
+
layerLine: C,
|
|
3172
3172
|
handleClickRow: T,
|
|
3173
|
-
draggedNode:
|
|
3173
|
+
draggedNode: N,
|
|
3174
3174
|
hoveringNodeId: u,
|
|
3175
3175
|
handleDragStart: E,
|
|
3176
3176
|
handleDragOver: b,
|
|
3177
|
-
handleDrop:
|
|
3177
|
+
handleDrop: F,
|
|
3178
3178
|
handleDragEnd: G,
|
|
3179
3179
|
handleContainerDragOver: L,
|
|
3180
3180
|
handleContainerDragLeave: B
|
|
3181
3181
|
})
|
|
3182
|
-
}),
|
|
3182
|
+
}), F = g((S, v) => {
|
|
3183
3183
|
S.preventDefault();
|
|
3184
|
-
const V =
|
|
3185
|
-
if (
|
|
3184
|
+
const V = N.value;
|
|
3185
|
+
if (N.value = null, !V)
|
|
3186
3186
|
return;
|
|
3187
3187
|
!c(v.id).includes(V.id) && V.id !== v.id && V.parentId !== v.id && e("moveNode", V, v);
|
|
3188
3188
|
}, {
|
|
@@ -3205,13 +3205,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3205
3205
|
filteredNodes: y,
|
|
3206
3206
|
filteredNodesWithAncestors: h,
|
|
3207
3207
|
lines: _,
|
|
3208
|
-
layerLine:
|
|
3208
|
+
layerLine: C,
|
|
3209
3209
|
handleClickRow: T,
|
|
3210
|
-
draggedNode:
|
|
3210
|
+
draggedNode: N,
|
|
3211
3211
|
hoveringNodeId: u,
|
|
3212
3212
|
handleDragStart: E,
|
|
3213
3213
|
handleDragOver: b,
|
|
3214
|
-
handleDrop:
|
|
3214
|
+
handleDrop: F,
|
|
3215
3215
|
handleDragEnd: G,
|
|
3216
3216
|
handleContainerDragOver: L,
|
|
3217
3217
|
handleContainerDragLeave: B
|
|
@@ -3238,13 +3238,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3238
3238
|
filteredNodes: y,
|
|
3239
3239
|
filteredNodesWithAncestors: h,
|
|
3240
3240
|
lines: _,
|
|
3241
|
-
layerLine:
|
|
3241
|
+
layerLine: C,
|
|
3242
3242
|
handleClickRow: T,
|
|
3243
|
-
draggedNode:
|
|
3243
|
+
draggedNode: N,
|
|
3244
3244
|
hoveringNodeId: u,
|
|
3245
3245
|
handleDragStart: E,
|
|
3246
3246
|
handleDragOver: b,
|
|
3247
|
-
handleDrop:
|
|
3247
|
+
handleDrop: F,
|
|
3248
3248
|
handleDragEnd: G,
|
|
3249
3249
|
handleContainerDragOver: L,
|
|
3250
3250
|
handleContainerDragLeave: B
|
|
@@ -3271,13 +3271,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3271
3271
|
filteredNodes: y,
|
|
3272
3272
|
filteredNodesWithAncestors: h,
|
|
3273
3273
|
lines: _,
|
|
3274
|
-
layerLine:
|
|
3274
|
+
layerLine: C,
|
|
3275
3275
|
handleClickRow: T,
|
|
3276
|
-
draggedNode:
|
|
3276
|
+
draggedNode: N,
|
|
3277
3277
|
hoveringNodeId: u,
|
|
3278
3278
|
handleDragStart: E,
|
|
3279
3279
|
handleDragOver: b,
|
|
3280
|
-
handleDrop:
|
|
3280
|
+
handleDrop: F,
|
|
3281
3281
|
handleDragEnd: G,
|
|
3282
3282
|
handleContainerDragOver: L,
|
|
3283
3283
|
handleContainerDragLeave: B
|
|
@@ -3304,13 +3304,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3304
3304
|
filteredNodes: y,
|
|
3305
3305
|
filteredNodesWithAncestors: h,
|
|
3306
3306
|
lines: _,
|
|
3307
|
-
layerLine:
|
|
3307
|
+
layerLine: C,
|
|
3308
3308
|
handleClickRow: T,
|
|
3309
|
-
draggedNode:
|
|
3309
|
+
draggedNode: N,
|
|
3310
3310
|
hoveringNodeId: u,
|
|
3311
3311
|
handleDragStart: E,
|
|
3312
3312
|
handleDragOver: b,
|
|
3313
|
-
handleDrop:
|
|
3313
|
+
handleDrop: F,
|
|
3314
3314
|
handleDragEnd: G,
|
|
3315
3315
|
handleContainerDragOver: L,
|
|
3316
3316
|
handleContainerDragLeave: B
|
|
@@ -3328,7 +3328,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3328
3328
|
(...w) => Da(L) && Da(L)(...w)),
|
|
3329
3329
|
onDragleave: v[3] || (v[3] = //@ts-ignore
|
|
3330
3330
|
(...w) => Da(B) && Da(B)(...w)),
|
|
3331
|
-
onDrop: v[4] || (v[4] = (w) => Da(
|
|
3331
|
+
onDrop: v[4] || (v[4] = (w) => Da(F)(w, {
|
|
3332
3332
|
id: a.rootId
|
|
3333
3333
|
}))
|
|
3334
3334
|
}, [(ue(!0), fa(za, null, tt(h.value, (w, X) => vt((ue(), fa("div", {
|
|
@@ -3341,14 +3341,14 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3341
3341
|
onDragstart: (q) => Da(E)(q, w),
|
|
3342
3342
|
onDragover: (q) => Da(b)(q, w),
|
|
3343
3343
|
onDragenter: (q) => Da(b)(q, w),
|
|
3344
|
-
onDrop: (q) => Da(
|
|
3344
|
+
onDrop: (q) => Da(F)(q, w),
|
|
3345
3345
|
onDragend: v[0] || (v[0] = //@ts-ignore
|
|
3346
3346
|
(...q) => Da(G) && Da(G)(...q))
|
|
3347
3347
|
}, [ea("div", {
|
|
3348
3348
|
class: "content",
|
|
3349
3349
|
onClick: (q) => Da(T)(q, w)
|
|
3350
3350
|
}, [ee(Ca, {
|
|
3351
|
-
"line-data":
|
|
3351
|
+
"line-data": C.value[X],
|
|
3352
3352
|
level: w.level
|
|
3353
3353
|
}, null, 8, ["line-data", "level"]), ea("div", {
|
|
3354
3354
|
class: "prefix-icon",
|
|
@@ -3388,7 +3388,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3388
3388
|
}) {
|
|
3389
3389
|
const {
|
|
3390
3390
|
confirm: n
|
|
3391
|
-
} =
|
|
3391
|
+
} = x(), {
|
|
3392
3392
|
pageState: e,
|
|
3393
3393
|
isBlock: s,
|
|
3394
3394
|
isSaved: i
|
|
@@ -3404,7 +3404,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3404
3404
|
} = A(), {
|
|
3405
3405
|
fetchPageDetail: h,
|
|
3406
3406
|
requestUpdatePage: _
|
|
3407
|
-
} = M,
|
|
3407
|
+
} = M, C = g(() => p(P.GlobalService).getBaseInfo().id, {
|
|
3408
3408
|
metaData: {
|
|
3409
3409
|
id: "engine.plugins.appmanage.PageTree.getAppId"
|
|
3410
3410
|
},
|
|
@@ -3425,13 +3425,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3425
3425
|
switchPageById: y,
|
|
3426
3426
|
fetchPageDetail: h,
|
|
3427
3427
|
requestUpdatePage: _,
|
|
3428
|
-
getAppId:
|
|
3428
|
+
getAppId: C,
|
|
3429
3429
|
customPageOperations: T,
|
|
3430
|
-
state:
|
|
3430
|
+
state: N,
|
|
3431
3431
|
subscribe: u,
|
|
3432
3432
|
unsubscribe: E,
|
|
3433
|
-
|
|
3434
|
-
|
|
3433
|
+
refreshPageList: b,
|
|
3434
|
+
subscriber: F,
|
|
3435
3435
|
switchPage: G,
|
|
3436
3436
|
nodeClick: L,
|
|
3437
3437
|
openSettingPanel: B,
|
|
@@ -3453,7 +3453,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3453
3453
|
IconFolderClosed: na,
|
|
3454
3454
|
IconSearch: ta,
|
|
3455
3455
|
useCanvas: I,
|
|
3456
|
-
useModal:
|
|
3456
|
+
useModal: x,
|
|
3457
3457
|
usePage: A,
|
|
3458
3458
|
useNotify: f,
|
|
3459
3459
|
useMessage: se,
|
|
@@ -3474,7 +3474,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3474
3474
|
})
|
|
3475
3475
|
}), {
|
|
3476
3476
|
customPageOperations: T = []
|
|
3477
|
-
} = Y(Q.id),
|
|
3477
|
+
} = Y(Q.id), N = Ga({
|
|
3478
3478
|
pageSearchValue: "",
|
|
3479
3479
|
collapseValue: [D, c],
|
|
3480
3480
|
currentNodeData: {
|
|
@@ -3483,21 +3483,9 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3483
3483
|
}), {
|
|
3484
3484
|
subscribe: u,
|
|
3485
3485
|
unsubscribe: E
|
|
3486
|
-
} = se()
|
|
3487
|
-
let b = null;
|
|
3488
|
-
xt(g(() => {
|
|
3489
|
-
b = u({
|
|
3490
|
-
topic: "locationHistoryChanged",
|
|
3491
|
-
callback: (F) => {
|
|
3492
|
-
F.pageId ? C.currentNodeData = {
|
|
3493
|
-
id: F.pageId
|
|
3494
|
-
} : s() && (C.currentNodeData = {});
|
|
3495
|
-
},
|
|
3496
|
-
subscriber: "pageTree"
|
|
3497
|
-
});
|
|
3498
|
-
}, {
|
|
3486
|
+
} = se(), b = g(async (k) => await m(k), {
|
|
3499
3487
|
metaData: {
|
|
3500
|
-
id: "engine.plugins.appmanage.PageTree.
|
|
3488
|
+
id: "engine.plugins.appmanage.PageTree.refreshPageList"
|
|
3501
3489
|
},
|
|
3502
3490
|
ctx: () => ({
|
|
3503
3491
|
props: a,
|
|
@@ -3516,13 +3504,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3516
3504
|
switchPageById: y,
|
|
3517
3505
|
fetchPageDetail: h,
|
|
3518
3506
|
requestUpdatePage: _,
|
|
3519
|
-
getAppId:
|
|
3507
|
+
getAppId: C,
|
|
3520
3508
|
customPageOperations: T,
|
|
3521
|
-
state:
|
|
3509
|
+
state: N,
|
|
3522
3510
|
subscribe: u,
|
|
3523
3511
|
unsubscribe: E,
|
|
3524
|
-
|
|
3525
|
-
|
|
3512
|
+
refreshPageList: b,
|
|
3513
|
+
subscriber: F,
|
|
3526
3514
|
switchPage: G,
|
|
3527
3515
|
nodeClick: L,
|
|
3528
3516
|
openSettingPanel: B,
|
|
@@ -3544,7 +3532,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3544
3532
|
IconFolderClosed: na,
|
|
3545
3533
|
IconSearch: ta,
|
|
3546
3534
|
useCanvas: I,
|
|
3547
|
-
useModal:
|
|
3535
|
+
useModal: x,
|
|
3548
3536
|
usePage: A,
|
|
3549
3537
|
useNotify: f,
|
|
3550
3538
|
useMessage: se,
|
|
@@ -3563,11 +3551,21 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3563
3551
|
meta: Q,
|
|
3564
3552
|
PAGE_STATUS: oa
|
|
3565
3553
|
})
|
|
3566
|
-
})
|
|
3567
|
-
|
|
3554
|
+
});
|
|
3555
|
+
let F = null;
|
|
3556
|
+
xt(g(() => {
|
|
3557
|
+
b(C()), F = u({
|
|
3558
|
+
topic: "locationHistoryChanged",
|
|
3559
|
+
callback: (k) => {
|
|
3560
|
+
k.pageId ? N.currentNodeData = {
|
|
3561
|
+
id: k.pageId
|
|
3562
|
+
} : s() && (N.currentNodeData = {});
|
|
3563
|
+
},
|
|
3564
|
+
subscriber: "pageTree"
|
|
3565
|
+
});
|
|
3568
3566
|
}, {
|
|
3569
3567
|
metaData: {
|
|
3570
|
-
id: "engine.plugins.appmanage.PageTree.
|
|
3568
|
+
id: "engine.plugins.appmanage.PageTree.onMounted[0]"
|
|
3571
3569
|
},
|
|
3572
3570
|
ctx: () => ({
|
|
3573
3571
|
props: a,
|
|
@@ -3586,13 +3584,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3586
3584
|
switchPageById: y,
|
|
3587
3585
|
fetchPageDetail: h,
|
|
3588
3586
|
requestUpdatePage: _,
|
|
3589
|
-
getAppId:
|
|
3587
|
+
getAppId: C,
|
|
3590
3588
|
customPageOperations: T,
|
|
3591
|
-
state:
|
|
3589
|
+
state: N,
|
|
3592
3590
|
subscribe: u,
|
|
3593
3591
|
unsubscribe: E,
|
|
3594
|
-
|
|
3595
|
-
|
|
3592
|
+
refreshPageList: b,
|
|
3593
|
+
subscriber: F,
|
|
3596
3594
|
switchPage: G,
|
|
3597
3595
|
nodeClick: L,
|
|
3598
3596
|
openSettingPanel: B,
|
|
@@ -3614,7 +3612,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3614
3612
|
IconFolderClosed: na,
|
|
3615
3613
|
IconSearch: ta,
|
|
3616
3614
|
useCanvas: I,
|
|
3617
|
-
useModal:
|
|
3615
|
+
useModal: x,
|
|
3618
3616
|
usePage: A,
|
|
3619
3617
|
useNotify: f,
|
|
3620
3618
|
useMessage: se,
|
|
@@ -3633,10 +3631,11 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3633
3631
|
meta: Q,
|
|
3634
3632
|
PAGE_STATUS: oa
|
|
3635
3633
|
})
|
|
3636
|
-
}))
|
|
3637
|
-
|
|
3634
|
+
})), ut(g(() => {
|
|
3635
|
+
F && E(F);
|
|
3636
|
+
}, {
|
|
3638
3637
|
metaData: {
|
|
3639
|
-
id: "engine.plugins.appmanage.PageTree.
|
|
3638
|
+
id: "engine.plugins.appmanage.PageTree.onUnmounted[0]"
|
|
3640
3639
|
},
|
|
3641
3640
|
ctx: () => ({
|
|
3642
3641
|
props: a,
|
|
@@ -3655,13 +3654,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3655
3654
|
switchPageById: y,
|
|
3656
3655
|
fetchPageDetail: h,
|
|
3657
3656
|
requestUpdatePage: _,
|
|
3658
|
-
getAppId:
|
|
3657
|
+
getAppId: C,
|
|
3659
3658
|
customPageOperations: T,
|
|
3660
|
-
state:
|
|
3659
|
+
state: N,
|
|
3661
3660
|
subscribe: u,
|
|
3662
3661
|
unsubscribe: E,
|
|
3663
|
-
|
|
3664
|
-
|
|
3662
|
+
refreshPageList: b,
|
|
3663
|
+
subscriber: F,
|
|
3665
3664
|
switchPage: G,
|
|
3666
3665
|
nodeClick: L,
|
|
3667
3666
|
openSettingPanel: B,
|
|
@@ -3683,7 +3682,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3683
3682
|
IconFolderClosed: na,
|
|
3684
3683
|
IconSearch: ta,
|
|
3685
3684
|
useCanvas: I,
|
|
3686
|
-
useModal:
|
|
3685
|
+
useModal: x,
|
|
3687
3686
|
usePage: A,
|
|
3688
3687
|
useNotify: f,
|
|
3689
3688
|
useMessage: se,
|
|
@@ -3702,10 +3701,9 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3702
3701
|
meta: Q,
|
|
3703
3702
|
PAGE_STATUS: oa
|
|
3704
3703
|
})
|
|
3705
|
-
});
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
C.currentNodeData = F, y(F.id).then(() => {
|
|
3704
|
+
})), o.updateTreeData = async () => await b(C());
|
|
3705
|
+
const G = g((k) => {
|
|
3706
|
+
N.currentNodeData = k, y(k.id).then(() => {
|
|
3709
3707
|
K(), ie();
|
|
3710
3708
|
});
|
|
3711
3709
|
}, {
|
|
@@ -3729,13 +3727,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3729
3727
|
switchPageById: y,
|
|
3730
3728
|
fetchPageDetail: h,
|
|
3731
3729
|
requestUpdatePage: _,
|
|
3732
|
-
getAppId:
|
|
3730
|
+
getAppId: C,
|
|
3733
3731
|
customPageOperations: T,
|
|
3734
|
-
state:
|
|
3732
|
+
state: N,
|
|
3735
3733
|
subscribe: u,
|
|
3736
3734
|
unsubscribe: E,
|
|
3737
|
-
|
|
3738
|
-
|
|
3735
|
+
refreshPageList: b,
|
|
3736
|
+
subscriber: F,
|
|
3739
3737
|
switchPage: G,
|
|
3740
3738
|
nodeClick: L,
|
|
3741
3739
|
openSettingPanel: B,
|
|
@@ -3757,7 +3755,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3757
3755
|
IconFolderClosed: na,
|
|
3758
3756
|
IconSearch: ta,
|
|
3759
3757
|
useCanvas: I,
|
|
3760
|
-
useModal:
|
|
3758
|
+
useModal: x,
|
|
3761
3759
|
usePage: A,
|
|
3762
3760
|
useNotify: f,
|
|
3763
3761
|
useMessage: se,
|
|
@@ -3776,18 +3774,18 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3776
3774
|
meta: Q,
|
|
3777
3775
|
PAGE_STATUS: oa
|
|
3778
3776
|
})
|
|
3779
|
-
}), L = g((
|
|
3777
|
+
}), L = g((k, j) => {
|
|
3780
3778
|
var fe;
|
|
3781
|
-
|
|
3779
|
+
k == null || k.stopPropagation();
|
|
3782
3780
|
const {
|
|
3783
3781
|
id: z,
|
|
3784
3782
|
isPage: me
|
|
3785
|
-
} =
|
|
3786
|
-
!s() && z === ((fe =
|
|
3783
|
+
} = j;
|
|
3784
|
+
!s() && z === ((fe = N == null ? void 0 : N.currentNodeData) == null ? void 0 : fe.id) || !me || (i() && l() ? G(j) : n({
|
|
3787
3785
|
title: "提示",
|
|
3788
3786
|
message: `${s() ? "区块" : "页面"}尚未保存,是否要继续切换?`,
|
|
3789
3787
|
exec: () => {
|
|
3790
|
-
r(o.oldParentId, o.currentPageData.parentId), Object.assign(o.currentPageData, o.currentPageDataCopy), G(
|
|
3788
|
+
r(o.oldParentId, o.currentPageData.parentId), Object.assign(o.currentPageData, o.currentPageDataCopy), G(j);
|
|
3791
3789
|
}
|
|
3792
3790
|
}));
|
|
3793
3791
|
}, {
|
|
@@ -3811,13 +3809,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3811
3809
|
switchPageById: y,
|
|
3812
3810
|
fetchPageDetail: h,
|
|
3813
3811
|
requestUpdatePage: _,
|
|
3814
|
-
getAppId:
|
|
3812
|
+
getAppId: C,
|
|
3815
3813
|
customPageOperations: T,
|
|
3816
|
-
state:
|
|
3814
|
+
state: N,
|
|
3817
3815
|
subscribe: u,
|
|
3818
3816
|
unsubscribe: E,
|
|
3819
|
-
|
|
3820
|
-
|
|
3817
|
+
refreshPageList: b,
|
|
3818
|
+
subscriber: F,
|
|
3821
3819
|
switchPage: G,
|
|
3822
3820
|
nodeClick: L,
|
|
3823
3821
|
openSettingPanel: B,
|
|
@@ -3839,7 +3837,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3839
3837
|
IconFolderClosed: na,
|
|
3840
3838
|
IconSearch: ta,
|
|
3841
3839
|
useCanvas: I,
|
|
3842
|
-
useModal:
|
|
3840
|
+
useModal: x,
|
|
3843
3841
|
usePage: A,
|
|
3844
3842
|
useNotify: f,
|
|
3845
3843
|
useMessage: se,
|
|
@@ -3858,20 +3856,20 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3858
3856
|
meta: Q,
|
|
3859
3857
|
PAGE_STATUS: oa
|
|
3860
3858
|
})
|
|
3861
|
-
}), B = g((
|
|
3859
|
+
}), B = g((k, j, z) => {
|
|
3862
3860
|
var me;
|
|
3863
|
-
if (
|
|
3864
|
-
const fe = ((me =
|
|
3865
|
-
|
|
3861
|
+
if (k == null || k.stopPropagation(), z && j.isPage) {
|
|
3862
|
+
const fe = ((me = j.occupier) == null ? void 0 : me.username) || "";
|
|
3863
|
+
x().message({
|
|
3866
3864
|
message: `您点击的页面被${fe}锁定,暂时无法编辑,请联系解锁`
|
|
3867
3865
|
});
|
|
3868
3866
|
return;
|
|
3869
3867
|
}
|
|
3870
|
-
O(o.currentPageData, o.currentPageDataCopy) ? t("openSettingPanel",
|
|
3868
|
+
O(o.currentPageData, o.currentPageDataCopy) ? t("openSettingPanel", j) : n({
|
|
3871
3869
|
title: "提示",
|
|
3872
3870
|
message: `当前页面或文件夹${o.currentPageData.name}尚未保存,是否要继续切换?`,
|
|
3873
3871
|
exec: () => {
|
|
3874
|
-
r(o.oldParentId, o.currentPageData.parentId), Object.assign(o.currentPageData, o.currentPageDataCopy), t("openSettingPanel",
|
|
3872
|
+
r(o.oldParentId, o.currentPageData.parentId), Object.assign(o.currentPageData, o.currentPageDataCopy), t("openSettingPanel", j);
|
|
3875
3873
|
}
|
|
3876
3874
|
});
|
|
3877
3875
|
}, {
|
|
@@ -3895,13 +3893,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3895
3893
|
switchPageById: y,
|
|
3896
3894
|
fetchPageDetail: h,
|
|
3897
3895
|
requestUpdatePage: _,
|
|
3898
|
-
getAppId:
|
|
3896
|
+
getAppId: C,
|
|
3899
3897
|
customPageOperations: T,
|
|
3900
|
-
state:
|
|
3898
|
+
state: N,
|
|
3901
3899
|
subscribe: u,
|
|
3902
3900
|
unsubscribe: E,
|
|
3903
|
-
|
|
3904
|
-
|
|
3901
|
+
refreshPageList: b,
|
|
3902
|
+
subscriber: F,
|
|
3905
3903
|
switchPage: G,
|
|
3906
3904
|
nodeClick: L,
|
|
3907
3905
|
openSettingPanel: B,
|
|
@@ -3922,7 +3920,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3922
3920
|
IconFolderClosed: na,
|
|
3923
3921
|
IconSearch: ta,
|
|
3924
3922
|
useCanvas: I,
|
|
3925
|
-
useModal:
|
|
3923
|
+
useModal: x,
|
|
3926
3924
|
usePage: A,
|
|
3927
3925
|
useNotify: f,
|
|
3928
3926
|
useMessage: se,
|
|
@@ -3941,8 +3939,8 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3941
3939
|
meta: Q,
|
|
3942
3940
|
PAGE_STATUS: oa
|
|
3943
3941
|
})
|
|
3944
|
-
}), S = {}, v = g((
|
|
3945
|
-
S[
|
|
3942
|
+
}), S = {}, v = g((k, j) => {
|
|
3943
|
+
S[j] = k;
|
|
3946
3944
|
}, {
|
|
3947
3945
|
metaData: {
|
|
3948
3946
|
id: "engine.plugins.appmanage.PageTree.setPopoverRef"
|
|
@@ -3964,13 +3962,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3964
3962
|
switchPageById: y,
|
|
3965
3963
|
fetchPageDetail: h,
|
|
3966
3964
|
requestUpdatePage: _,
|
|
3967
|
-
getAppId:
|
|
3965
|
+
getAppId: C,
|
|
3968
3966
|
customPageOperations: T,
|
|
3969
|
-
state:
|
|
3967
|
+
state: N,
|
|
3970
3968
|
subscribe: u,
|
|
3971
3969
|
unsubscribe: E,
|
|
3972
|
-
|
|
3973
|
-
|
|
3970
|
+
refreshPageList: b,
|
|
3971
|
+
subscriber: F,
|
|
3974
3972
|
switchPage: G,
|
|
3975
3973
|
nodeClick: L,
|
|
3976
3974
|
openSettingPanel: B,
|
|
@@ -3992,7 +3990,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
3992
3990
|
IconFolderClosed: na,
|
|
3993
3991
|
IconSearch: ta,
|
|
3994
3992
|
useCanvas: I,
|
|
3995
|
-
useModal:
|
|
3993
|
+
useModal: x,
|
|
3996
3994
|
usePage: A,
|
|
3997
3995
|
useNotify: f,
|
|
3998
3996
|
useMessage: se,
|
|
@@ -4011,8 +4009,8 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4011
4009
|
meta: Q,
|
|
4012
4010
|
PAGE_STATUS: oa
|
|
4013
4011
|
})
|
|
4014
|
-
}), V = g((
|
|
4015
|
-
L(null,
|
|
4012
|
+
}), V = g((k) => {
|
|
4013
|
+
L(null, k.rawData);
|
|
4016
4014
|
}, {
|
|
4017
4015
|
metaData: {
|
|
4018
4016
|
id: "engine.plugins.appmanage.PageTree.handleClickRow"
|
|
@@ -4034,13 +4032,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4034
4032
|
switchPageById: y,
|
|
4035
4033
|
fetchPageDetail: h,
|
|
4036
4034
|
requestUpdatePage: _,
|
|
4037
|
-
getAppId:
|
|
4035
|
+
getAppId: C,
|
|
4038
4036
|
customPageOperations: T,
|
|
4039
|
-
state:
|
|
4037
|
+
state: N,
|
|
4040
4038
|
subscribe: u,
|
|
4041
4039
|
unsubscribe: E,
|
|
4042
|
-
|
|
4043
|
-
|
|
4040
|
+
refreshPageList: b,
|
|
4041
|
+
subscriber: F,
|
|
4044
4042
|
switchPage: G,
|
|
4045
4043
|
nodeClick: L,
|
|
4046
4044
|
openSettingPanel: B,
|
|
@@ -4062,7 +4060,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4062
4060
|
IconFolderClosed: na,
|
|
4063
4061
|
IconSearch: ta,
|
|
4064
4062
|
useCanvas: I,
|
|
4065
|
-
useModal:
|
|
4063
|
+
useModal: x,
|
|
4066
4064
|
usePage: A,
|
|
4067
4065
|
useNotify: f,
|
|
4068
4066
|
useMessage: se,
|
|
@@ -4081,7 +4079,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4081
4079
|
meta: Q,
|
|
4082
4080
|
PAGE_STATUS: oa
|
|
4083
4081
|
})
|
|
4084
|
-
}), w = g((
|
|
4082
|
+
}), w = g((k) => Z(k.occupier).state === oa.Lock, {
|
|
4085
4083
|
metaData: {
|
|
4086
4084
|
id: "engine.plugins.appmanage.PageTree.isPageLocked"
|
|
4087
4085
|
},
|
|
@@ -4102,13 +4100,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4102
4100
|
switchPageById: y,
|
|
4103
4101
|
fetchPageDetail: h,
|
|
4104
4102
|
requestUpdatePage: _,
|
|
4105
|
-
getAppId:
|
|
4103
|
+
getAppId: C,
|
|
4106
4104
|
customPageOperations: T,
|
|
4107
|
-
state:
|
|
4105
|
+
state: N,
|
|
4108
4106
|
subscribe: u,
|
|
4109
4107
|
unsubscribe: E,
|
|
4110
|
-
|
|
4111
|
-
|
|
4108
|
+
refreshPageList: b,
|
|
4109
|
+
subscriber: F,
|
|
4112
4110
|
switchPage: G,
|
|
4113
4111
|
nodeClick: L,
|
|
4114
4112
|
openSettingPanel: B,
|
|
@@ -4130,7 +4128,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4130
4128
|
IconFolderClosed: na,
|
|
4131
4129
|
IconSearch: ta,
|
|
4132
4130
|
useCanvas: I,
|
|
4133
|
-
useModal:
|
|
4131
|
+
useModal: x,
|
|
4134
4132
|
usePage: A,
|
|
4135
4133
|
useNotify: f,
|
|
4136
4134
|
useMessage: se,
|
|
@@ -4149,8 +4147,8 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4149
4147
|
meta: Q,
|
|
4150
4148
|
PAGE_STATUS: oa
|
|
4151
4149
|
})
|
|
4152
|
-
}), X = g((
|
|
4153
|
-
B(null,
|
|
4150
|
+
}), X = g((k) => {
|
|
4151
|
+
B(null, k.rawData, w(k.rawData));
|
|
4154
4152
|
}, {
|
|
4155
4153
|
metaData: {
|
|
4156
4154
|
id: "engine.plugins.appmanage.PageTree.handleClickPageSettings"
|
|
@@ -4172,13 +4170,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4172
4170
|
switchPageById: y,
|
|
4173
4171
|
fetchPageDetail: h,
|
|
4174
4172
|
requestUpdatePage: _,
|
|
4175
|
-
getAppId:
|
|
4173
|
+
getAppId: C,
|
|
4176
4174
|
customPageOperations: T,
|
|
4177
|
-
state:
|
|
4175
|
+
state: N,
|
|
4178
4176
|
subscribe: u,
|
|
4179
4177
|
unsubscribe: E,
|
|
4180
|
-
|
|
4181
|
-
|
|
4178
|
+
refreshPageList: b,
|
|
4179
|
+
subscriber: F,
|
|
4182
4180
|
switchPage: G,
|
|
4183
4181
|
nodeClick: L,
|
|
4184
4182
|
openSettingPanel: B,
|
|
@@ -4200,7 +4198,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4200
4198
|
IconFolderClosed: na,
|
|
4201
4199
|
IconSearch: ta,
|
|
4202
4200
|
useCanvas: I,
|
|
4203
|
-
useModal:
|
|
4201
|
+
useModal: x,
|
|
4204
4202
|
usePage: A,
|
|
4205
4203
|
useNotify: f,
|
|
4206
4204
|
useMessage: se,
|
|
@@ -4219,8 +4217,8 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4219
4217
|
meta: Q,
|
|
4220
4218
|
PAGE_STATUS: oa
|
|
4221
4219
|
})
|
|
4222
|
-
}), q = g((
|
|
4223
|
-
t("createPage", "staticPages",
|
|
4220
|
+
}), q = g((k) => {
|
|
4221
|
+
t("createPage", "staticPages", k.id);
|
|
4224
4222
|
}, {
|
|
4225
4223
|
metaData: {
|
|
4226
4224
|
id: "engine.plugins.appmanage.PageTree.createPage"
|
|
@@ -4242,13 +4240,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4242
4240
|
switchPageById: y,
|
|
4243
4241
|
fetchPageDetail: h,
|
|
4244
4242
|
requestUpdatePage: _,
|
|
4245
|
-
getAppId:
|
|
4243
|
+
getAppId: C,
|
|
4246
4244
|
customPageOperations: T,
|
|
4247
|
-
state:
|
|
4245
|
+
state: N,
|
|
4248
4246
|
subscribe: u,
|
|
4249
4247
|
unsubscribe: E,
|
|
4250
|
-
|
|
4251
|
-
|
|
4248
|
+
refreshPageList: b,
|
|
4249
|
+
subscriber: F,
|
|
4252
4250
|
switchPage: G,
|
|
4253
4251
|
nodeClick: L,
|
|
4254
4252
|
openSettingPanel: B,
|
|
@@ -4270,7 +4268,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4270
4268
|
IconFolderClosed: na,
|
|
4271
4269
|
IconSearch: ta,
|
|
4272
4270
|
useCanvas: I,
|
|
4273
|
-
useModal:
|
|
4271
|
+
useModal: x,
|
|
4274
4272
|
usePage: A,
|
|
4275
4273
|
useNotify: f,
|
|
4276
4274
|
useMessage: se,
|
|
@@ -4289,8 +4287,8 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4289
4287
|
meta: Q,
|
|
4290
4288
|
PAGE_STATUS: oa
|
|
4291
4289
|
})
|
|
4292
|
-
}), te = g((
|
|
4293
|
-
t("createFolder",
|
|
4290
|
+
}), te = g((k) => {
|
|
4291
|
+
t("createFolder", k.id);
|
|
4294
4292
|
}, {
|
|
4295
4293
|
metaData: {
|
|
4296
4294
|
id: "engine.plugins.appmanage.PageTree.createFolder"
|
|
@@ -4312,13 +4310,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4312
4310
|
switchPageById: y,
|
|
4313
4311
|
fetchPageDetail: h,
|
|
4314
4312
|
requestUpdatePage: _,
|
|
4315
|
-
getAppId:
|
|
4313
|
+
getAppId: C,
|
|
4316
4314
|
customPageOperations: T,
|
|
4317
|
-
state:
|
|
4315
|
+
state: N,
|
|
4318
4316
|
subscribe: u,
|
|
4319
4317
|
unsubscribe: E,
|
|
4320
|
-
|
|
4321
|
-
|
|
4318
|
+
refreshPageList: b,
|
|
4319
|
+
subscriber: F,
|
|
4322
4320
|
switchPage: G,
|
|
4323
4321
|
nodeClick: L,
|
|
4324
4322
|
openSettingPanel: B,
|
|
@@ -4340,7 +4338,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4340
4338
|
IconFolderClosed: na,
|
|
4341
4339
|
IconSearch: ta,
|
|
4342
4340
|
useCanvas: I,
|
|
4343
|
-
useModal:
|
|
4341
|
+
useModal: x,
|
|
4344
4342
|
usePage: A,
|
|
4345
4343
|
useNotify: f,
|
|
4346
4344
|
useMessage: se,
|
|
@@ -4359,8 +4357,8 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4359
4357
|
meta: Q,
|
|
4360
4358
|
PAGE_STATUS: oa
|
|
4361
4359
|
})
|
|
4362
|
-
}), ae = g((
|
|
4363
|
-
t("settingHome",
|
|
4360
|
+
}), ae = g((k) => {
|
|
4361
|
+
t("settingHome", k);
|
|
4364
4362
|
}, {
|
|
4365
4363
|
metaData: {
|
|
4366
4364
|
id: "engine.plugins.appmanage.PageTree.settingHome"
|
|
@@ -4382,13 +4380,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4382
4380
|
switchPageById: y,
|
|
4383
4381
|
fetchPageDetail: h,
|
|
4384
4382
|
requestUpdatePage: _,
|
|
4385
|
-
getAppId:
|
|
4383
|
+
getAppId: C,
|
|
4386
4384
|
customPageOperations: T,
|
|
4387
|
-
state:
|
|
4385
|
+
state: N,
|
|
4388
4386
|
subscribe: u,
|
|
4389
4387
|
unsubscribe: E,
|
|
4390
|
-
|
|
4391
|
-
|
|
4388
|
+
refreshPageList: b,
|
|
4389
|
+
subscriber: F,
|
|
4392
4390
|
switchPage: G,
|
|
4393
4391
|
nodeClick: L,
|
|
4394
4392
|
openSettingPanel: B,
|
|
@@ -4410,7 +4408,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4410
4408
|
IconFolderClosed: na,
|
|
4411
4409
|
IconSearch: ta,
|
|
4412
4410
|
useCanvas: I,
|
|
4413
|
-
useModal:
|
|
4411
|
+
useModal: x,
|
|
4414
4412
|
usePage: A,
|
|
4415
4413
|
useNotify: f,
|
|
4416
4414
|
useMessage: se,
|
|
@@ -4458,13 +4456,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4458
4456
|
// { type: 'divider' },
|
|
4459
4457
|
// { type: 'copy', label: '复制页面', action: copyPage },
|
|
4460
4458
|
// { type: 'delete', label: '删除', class: ['danger'], action: deleteNode }
|
|
4461
|
-
].map((
|
|
4462
|
-
...
|
|
4463
|
-
action: (
|
|
4459
|
+
].map((k) => ({
|
|
4460
|
+
...k,
|
|
4461
|
+
action: (j) => {
|
|
4464
4462
|
var z, me, fe;
|
|
4465
|
-
(z =
|
|
4463
|
+
(z = k.action) == null || z.call(k, j, t), (fe = (me = S[j.id]) == null ? void 0 : me.doClose) == null || fe.call(me);
|
|
4466
4464
|
}
|
|
4467
|
-
})), ne = g((
|
|
4465
|
+
})), ne = g((k, j) => k === c ? $.slice(0, 1) : !j.rawData.isPage || j.rawData.group === "public" || String(j.parentId) !== "0" ? $.filter((z) => z.type !== "settingHome") : $, {
|
|
4468
4466
|
metaData: {
|
|
4469
4467
|
id: "engine.plugins.appmanage.PageTree.getRowOperations"
|
|
4470
4468
|
},
|
|
@@ -4485,13 +4483,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4485
4483
|
switchPageById: y,
|
|
4486
4484
|
fetchPageDetail: h,
|
|
4487
4485
|
requestUpdatePage: _,
|
|
4488
|
-
getAppId:
|
|
4486
|
+
getAppId: C,
|
|
4489
4487
|
customPageOperations: T,
|
|
4490
|
-
state:
|
|
4488
|
+
state: N,
|
|
4491
4489
|
subscribe: u,
|
|
4492
4490
|
unsubscribe: E,
|
|
4493
|
-
|
|
4494
|
-
|
|
4491
|
+
refreshPageList: b,
|
|
4492
|
+
subscriber: F,
|
|
4495
4493
|
switchPage: G,
|
|
4496
4494
|
nodeClick: L,
|
|
4497
4495
|
openSettingPanel: B,
|
|
@@ -4513,7 +4511,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4513
4511
|
IconFolderClosed: na,
|
|
4514
4512
|
IconSearch: ta,
|
|
4515
4513
|
useCanvas: I,
|
|
4516
|
-
useModal:
|
|
4514
|
+
useModal: x,
|
|
4517
4515
|
usePage: A,
|
|
4518
4516
|
useNotify: f,
|
|
4519
4517
|
useMessage: se,
|
|
@@ -4532,21 +4530,21 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4532
4530
|
meta: Q,
|
|
4533
4531
|
PAGE_STATUS: oa
|
|
4534
4532
|
})
|
|
4535
|
-
}), oe = g((
|
|
4533
|
+
}), oe = g((k) => {
|
|
4536
4534
|
var Qa;
|
|
4537
4535
|
const {
|
|
4538
|
-
id:
|
|
4536
|
+
id: j,
|
|
4539
4537
|
name: z,
|
|
4540
4538
|
page_content: me
|
|
4541
|
-
} =
|
|
4542
|
-
...
|
|
4539
|
+
} = k, fe = {
|
|
4540
|
+
...k,
|
|
4543
4541
|
page_content: {
|
|
4544
4542
|
...me,
|
|
4545
4543
|
fileName: z
|
|
4546
4544
|
}
|
|
4547
|
-
}, _a = ((Qa = e == null ? void 0 : e.currentPage) == null ? void 0 : Qa.id) ===
|
|
4545
|
+
}, _a = ((Qa = e == null ? void 0 : e.currentPage) == null ? void 0 : Qa.id) === j;
|
|
4548
4546
|
return le({
|
|
4549
|
-
id:
|
|
4547
|
+
id: j,
|
|
4550
4548
|
params: fe,
|
|
4551
4549
|
isCurEditPage: _a
|
|
4552
4550
|
});
|
|
@@ -4571,13 +4569,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4571
4569
|
switchPageById: y,
|
|
4572
4570
|
fetchPageDetail: h,
|
|
4573
4571
|
requestUpdatePage: _,
|
|
4574
|
-
getAppId:
|
|
4572
|
+
getAppId: C,
|
|
4575
4573
|
customPageOperations: T,
|
|
4576
|
-
state:
|
|
4574
|
+
state: N,
|
|
4577
4575
|
subscribe: u,
|
|
4578
4576
|
unsubscribe: E,
|
|
4579
|
-
|
|
4580
|
-
|
|
4577
|
+
refreshPageList: b,
|
|
4578
|
+
subscriber: F,
|
|
4581
4579
|
switchPage: G,
|
|
4582
4580
|
nodeClick: L,
|
|
4583
4581
|
openSettingPanel: B,
|
|
@@ -4599,7 +4597,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4599
4597
|
IconFolderClosed: na,
|
|
4600
4598
|
IconSearch: ta,
|
|
4601
4599
|
useCanvas: I,
|
|
4602
|
-
useModal:
|
|
4600
|
+
useModal: x,
|
|
4603
4601
|
usePage: A,
|
|
4604
4602
|
useNotify: f,
|
|
4605
4603
|
useMessage: se,
|
|
@@ -4618,12 +4616,12 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4618
4616
|
meta: Q,
|
|
4619
4617
|
PAGE_STATUS: oa
|
|
4620
4618
|
})
|
|
4621
|
-
}), re = g((
|
|
4619
|
+
}), re = g((k) => {
|
|
4622
4620
|
const {
|
|
4623
|
-
id:
|
|
4624
|
-
} =
|
|
4625
|
-
return _(
|
|
4626
|
-
...
|
|
4621
|
+
id: j
|
|
4622
|
+
} = k;
|
|
4623
|
+
return _(j, {
|
|
4624
|
+
...k,
|
|
4627
4625
|
page_content: null
|
|
4628
4626
|
}).then(() => {
|
|
4629
4627
|
f({
|
|
@@ -4660,13 +4658,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4660
4658
|
switchPageById: y,
|
|
4661
4659
|
fetchPageDetail: h,
|
|
4662
4660
|
requestUpdatePage: _,
|
|
4663
|
-
getAppId:
|
|
4661
|
+
getAppId: C,
|
|
4664
4662
|
customPageOperations: T,
|
|
4665
|
-
state:
|
|
4663
|
+
state: N,
|
|
4666
4664
|
subscribe: u,
|
|
4667
4665
|
unsubscribe: E,
|
|
4668
|
-
|
|
4669
|
-
|
|
4666
|
+
refreshPageList: b,
|
|
4667
|
+
subscriber: F,
|
|
4670
4668
|
switchPage: G,
|
|
4671
4669
|
nodeClick: L,
|
|
4672
4670
|
openSettingPanel: B,
|
|
@@ -4688,7 +4686,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4688
4686
|
IconFolderClosed: na,
|
|
4689
4687
|
IconSearch: ta,
|
|
4690
4688
|
useCanvas: I,
|
|
4691
|
-
useModal:
|
|
4689
|
+
useModal: x,
|
|
4692
4690
|
usePage: A,
|
|
4693
4691
|
useNotify: f,
|
|
4694
4692
|
useMessage: se,
|
|
@@ -4707,9 +4705,9 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4707
4705
|
meta: Q,
|
|
4708
4706
|
PAGE_STATUS: oa
|
|
4709
4707
|
})
|
|
4710
|
-
}), ge = g((
|
|
4711
|
-
O(o.currentPageData, o.currentPageDataCopy) ? (K(), ie(), o.currentPageData.id =
|
|
4712
|
-
z.parentId =
|
|
4708
|
+
}), ge = g((k, j) => {
|
|
4709
|
+
O(o.currentPageData, o.currentPageDataCopy) ? (K(), ie(), o.currentPageData.id = k.id, r(j.id, k.parentId), d(), h(k.id).then((z) => {
|
|
4710
|
+
z.parentId = j.id, z.isPage ? (z.isDefault = !1, oe(z)) : re(z);
|
|
4713
4711
|
}).catch((z) => {
|
|
4714
4712
|
f({
|
|
4715
4713
|
type: "error",
|
|
@@ -4744,13 +4742,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4744
4742
|
switchPageById: y,
|
|
4745
4743
|
fetchPageDetail: h,
|
|
4746
4744
|
requestUpdatePage: _,
|
|
4747
|
-
getAppId:
|
|
4745
|
+
getAppId: C,
|
|
4748
4746
|
customPageOperations: T,
|
|
4749
|
-
state:
|
|
4747
|
+
state: N,
|
|
4750
4748
|
subscribe: u,
|
|
4751
4749
|
unsubscribe: E,
|
|
4752
|
-
|
|
4753
|
-
|
|
4750
|
+
refreshPageList: b,
|
|
4751
|
+
subscriber: F,
|
|
4754
4752
|
switchPage: G,
|
|
4755
4753
|
nodeClick: L,
|
|
4756
4754
|
openSettingPanel: B,
|
|
@@ -4772,7 +4770,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4772
4770
|
IconFolderClosed: na,
|
|
4773
4771
|
IconSearch: ta,
|
|
4774
4772
|
useCanvas: I,
|
|
4775
|
-
useModal:
|
|
4773
|
+
useModal: x,
|
|
4776
4774
|
usePage: A,
|
|
4777
4775
|
useNotify: f,
|
|
4778
4776
|
useMessage: se,
|
|
@@ -4795,12 +4793,12 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4795
4793
|
se().subscribe({
|
|
4796
4794
|
topic: "app_id_changed",
|
|
4797
4795
|
subscriber: "page_tree_app_id_changed",
|
|
4798
|
-
callback: (
|
|
4799
|
-
k
|
|
4796
|
+
callback: (k) => {
|
|
4797
|
+
b(k);
|
|
4800
4798
|
}
|
|
4801
4799
|
});
|
|
4802
|
-
const Ze = g((
|
|
4803
|
-
|
|
4800
|
+
const Ze = g((k) => {
|
|
4801
|
+
k.stopPropagation(), k.preventDefault(), t("add");
|
|
4804
4802
|
}, {
|
|
4805
4803
|
metaData: {
|
|
4806
4804
|
id: "engine.plugins.appmanage.PageTree.createPublicPage"
|
|
@@ -4822,13 +4820,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4822
4820
|
switchPageById: y,
|
|
4823
4821
|
fetchPageDetail: h,
|
|
4824
4822
|
requestUpdatePage: _,
|
|
4825
|
-
getAppId:
|
|
4823
|
+
getAppId: C,
|
|
4826
4824
|
customPageOperations: T,
|
|
4827
|
-
state:
|
|
4825
|
+
state: N,
|
|
4828
4826
|
subscribe: u,
|
|
4829
4827
|
unsubscribe: E,
|
|
4830
|
-
|
|
4831
|
-
|
|
4828
|
+
refreshPageList: b,
|
|
4829
|
+
subscriber: F,
|
|
4832
4830
|
switchPage: G,
|
|
4833
4831
|
nodeClick: L,
|
|
4834
4832
|
openSettingPanel: B,
|
|
@@ -4850,7 +4848,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4850
4848
|
IconFolderClosed: na,
|
|
4851
4849
|
IconSearch: ta,
|
|
4852
4850
|
useCanvas: I,
|
|
4853
|
-
useModal:
|
|
4851
|
+
useModal: x,
|
|
4854
4852
|
usePage: A,
|
|
4855
4853
|
useNotify: f,
|
|
4856
4854
|
useMessage: se,
|
|
@@ -4896,13 +4894,13 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4896
4894
|
switchPageById: y,
|
|
4897
4895
|
fetchPageDetail: h,
|
|
4898
4896
|
requestUpdatePage: _,
|
|
4899
|
-
getAppId:
|
|
4897
|
+
getAppId: C,
|
|
4900
4898
|
customPageOperations: T,
|
|
4901
|
-
state:
|
|
4899
|
+
state: N,
|
|
4902
4900
|
subscribe: u,
|
|
4903
4901
|
unsubscribe: E,
|
|
4904
|
-
|
|
4905
|
-
|
|
4902
|
+
refreshPageList: b,
|
|
4903
|
+
subscriber: F,
|
|
4906
4904
|
switchPage: G,
|
|
4907
4905
|
nodeClick: L,
|
|
4908
4906
|
openSettingPanel: B,
|
|
@@ -4924,7 +4922,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4924
4922
|
IconFolderClosed: na,
|
|
4925
4923
|
IconSearch: ta,
|
|
4926
4924
|
useCanvas: I,
|
|
4927
|
-
useModal:
|
|
4925
|
+
useModal: x,
|
|
4928
4926
|
usePage: A,
|
|
4929
4927
|
useNotify: f,
|
|
4930
4928
|
useMessage: se,
|
|
@@ -4945,7 +4943,7 @@ const ja = /* @__PURE__ */ Fa(qt, [["render", jt], ["__scopeId", "data-v-79e10f7
|
|
|
4945
4943
|
})
|
|
4946
4944
|
})), {
|
|
4947
4945
|
createPublicPage: Ze,
|
|
4948
|
-
state:
|
|
4946
|
+
state: N,
|
|
4949
4947
|
switchPage: G,
|
|
4950
4948
|
pageSettingState: o,
|
|
4951
4949
|
setPopoverRef: v,
|
|
@@ -5017,7 +5015,7 @@ function rn(a, t, n, e, s, i) {
|
|
|
5017
5015
|
})) : ya("", !0),
|
|
5018
5016
|
ee(m, {
|
|
5019
5017
|
ref_for: !0,
|
|
5020
|
-
ref: (
|
|
5018
|
+
ref: (C) => e.setPopoverRef(C, _.id),
|
|
5021
5019
|
placement: "bottom-start",
|
|
5022
5020
|
"visible-arrow": !1,
|
|
5023
5021
|
"popper-class": "page-tree-row-operation-list"
|
|
@@ -5031,14 +5029,14 @@ function rn(a, t, n, e, s, i) {
|
|
|
5031
5029
|
]),
|
|
5032
5030
|
default: de(() => [
|
|
5033
5031
|
ea("div", sn, [
|
|
5034
|
-
(ue(!0), fa(za, null, tt(e.getRowOperations(y.groupId, _), (
|
|
5032
|
+
(ue(!0), fa(za, null, tt(e.getRowOperations(y.groupId, _), (C, T) => (ue(), fa("div", {
|
|
5035
5033
|
key: T,
|
|
5036
|
-
class: nt([
|
|
5037
|
-
onClick: (
|
|
5034
|
+
class: nt([C.type === "divider" ? "divider" : "item"].concat(C.class || [])),
|
|
5035
|
+
onClick: (N) => {
|
|
5038
5036
|
var u;
|
|
5039
|
-
return (u =
|
|
5037
|
+
return (u = C.action) == null ? void 0 : u.call(C, _);
|
|
5040
5038
|
}
|
|
5041
|
-
}, Xa(
|
|
5039
|
+
}, Xa(C.label), 11, on))), 128))
|
|
5042
5040
|
])
|
|
5043
5041
|
]),
|
|
5044
5042
|
_: 2
|
|
@@ -5056,7 +5054,7 @@ function rn(a, t, n, e, s, i) {
|
|
|
5056
5054
|
}, 8, ["modelValue"])
|
|
5057
5055
|
], 64);
|
|
5058
5056
|
}
|
|
5059
|
-
const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-
|
|
5057
|
+
const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-f6d0faff"]]), Ka = {
|
|
5060
5058
|
getPageById: async (a) => {
|
|
5061
5059
|
if (a)
|
|
5062
5060
|
return pa(a);
|
|
@@ -5110,7 +5108,7 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5110
5108
|
}) {
|
|
5111
5109
|
const {
|
|
5112
5110
|
confirm: n
|
|
5113
|
-
} =
|
|
5111
|
+
} = x(), {
|
|
5114
5112
|
pageState: e
|
|
5115
5113
|
} = I(), {
|
|
5116
5114
|
pageSettingState: s,
|
|
@@ -5125,7 +5123,7 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5125
5123
|
dt("panelState", m);
|
|
5126
5124
|
const d = Sa(null), D = s.ROOT_ID, c = Ra().getDocsUrl("page"), y = "在这里新增页面/文件夹,还可以对已有的页面进行生命周期管理。", h = Ga({
|
|
5127
5125
|
isFolder: !1
|
|
5128
|
-
}), _ = g((b,
|
|
5126
|
+
}), _ = g((b, F = D) => {
|
|
5129
5127
|
ie(), s.isNew = !0;
|
|
5130
5128
|
try {
|
|
5131
5129
|
const G = i();
|
|
@@ -5134,7 +5132,7 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5134
5132
|
s.currentPageData = {
|
|
5135
5133
|
...i(),
|
|
5136
5134
|
...G,
|
|
5137
|
-
parentId:
|
|
5135
|
+
parentId: F,
|
|
5138
5136
|
route: "",
|
|
5139
5137
|
name: "Untitled",
|
|
5140
5138
|
page_content: {
|
|
@@ -5145,7 +5143,7 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5145
5143
|
} catch (G) {
|
|
5146
5144
|
throw new Error(G);
|
|
5147
5145
|
}
|
|
5148
|
-
s.currentPageDataCopy =
|
|
5146
|
+
s.currentPageDataCopy = J(!0, {}, s.currentPageData), h.isFolder = !1, De();
|
|
5149
5147
|
}, {
|
|
5150
5148
|
metaData: {
|
|
5151
5149
|
id: "engine.plugins.appmanage.Main.createNewPage"
|
|
@@ -5167,20 +5165,20 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5167
5165
|
docsContent: y,
|
|
5168
5166
|
state: h,
|
|
5169
5167
|
createNewPage: _,
|
|
5170
|
-
createNewFolder:
|
|
5168
|
+
createNewFolder: C,
|
|
5171
5169
|
settingHome: T,
|
|
5172
|
-
openSettingPanel:
|
|
5170
|
+
openSettingPanel: N,
|
|
5173
5171
|
pluginPanelClosed: u,
|
|
5174
5172
|
openNewPage: E,
|
|
5175
5173
|
useCanvas: I,
|
|
5176
5174
|
usePage: A,
|
|
5177
5175
|
useHelp: Ra,
|
|
5178
|
-
useModal:
|
|
5176
|
+
useModal: x,
|
|
5179
5177
|
useNotify: f,
|
|
5180
5178
|
useLayout: H,
|
|
5181
5179
|
PluginPanel: Ba,
|
|
5182
5180
|
SvgButton: W,
|
|
5183
|
-
extend:
|
|
5181
|
+
extend: J,
|
|
5184
5182
|
PageSetting: Ua,
|
|
5185
5183
|
openPageSettingPanel: De,
|
|
5186
5184
|
closePageSettingPanel: K,
|
|
@@ -5192,12 +5190,12 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5192
5190
|
handleRouteHomeUpdate: Pa,
|
|
5193
5191
|
api: Ka
|
|
5194
5192
|
})
|
|
5195
|
-
}),
|
|
5193
|
+
}), C = g((b = D) => {
|
|
5196
5194
|
K(), s.isNew = !0, s.currentPageData = {
|
|
5197
5195
|
parentId: b,
|
|
5198
5196
|
route: "",
|
|
5199
5197
|
name: "untitled"
|
|
5200
|
-
}, s.currentPageDataCopy =
|
|
5198
|
+
}, s.currentPageDataCopy = J(!0, {}, s.currentPageData), h.isFolder = !0, ha();
|
|
5201
5199
|
}, {
|
|
5202
5200
|
metaData: {
|
|
5203
5201
|
id: "engine.plugins.appmanage.Main.createNewFolder"
|
|
@@ -5219,20 +5217,20 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5219
5217
|
docsContent: y,
|
|
5220
5218
|
state: h,
|
|
5221
5219
|
createNewPage: _,
|
|
5222
|
-
createNewFolder:
|
|
5220
|
+
createNewFolder: C,
|
|
5223
5221
|
settingHome: T,
|
|
5224
|
-
openSettingPanel:
|
|
5222
|
+
openSettingPanel: N,
|
|
5225
5223
|
pluginPanelClosed: u,
|
|
5226
5224
|
openNewPage: E,
|
|
5227
5225
|
useCanvas: I,
|
|
5228
5226
|
usePage: A,
|
|
5229
5227
|
useHelp: Ra,
|
|
5230
|
-
useModal:
|
|
5228
|
+
useModal: x,
|
|
5231
5229
|
useNotify: f,
|
|
5232
5230
|
useLayout: H,
|
|
5233
5231
|
PluginPanel: Ba,
|
|
5234
5232
|
SvgButton: W,
|
|
5235
|
-
extend:
|
|
5233
|
+
extend: J,
|
|
5236
5234
|
PageSetting: Ua,
|
|
5237
5235
|
openPageSettingPanel: De,
|
|
5238
5236
|
closePageSettingPanel: K,
|
|
@@ -5250,11 +5248,11 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5250
5248
|
type: "warning ",
|
|
5251
5249
|
message: "是否确定要将此页面设置为主页?",
|
|
5252
5250
|
exec: () => {
|
|
5253
|
-
const
|
|
5251
|
+
const F = {
|
|
5254
5252
|
...b.rawData,
|
|
5255
5253
|
isHome: !0
|
|
5256
5254
|
};
|
|
5257
|
-
Pa(b.id,
|
|
5255
|
+
Pa(b.id, F).then(() => {
|
|
5258
5256
|
s.updateTreeData(), s.isNew = !1, f({
|
|
5259
5257
|
message: "主页设置成功!",
|
|
5260
5258
|
type: "success"
|
|
@@ -5288,20 +5286,20 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5288
5286
|
docsContent: y,
|
|
5289
5287
|
state: h,
|
|
5290
5288
|
createNewPage: _,
|
|
5291
|
-
createNewFolder:
|
|
5289
|
+
createNewFolder: C,
|
|
5292
5290
|
settingHome: T,
|
|
5293
|
-
openSettingPanel:
|
|
5291
|
+
openSettingPanel: N,
|
|
5294
5292
|
pluginPanelClosed: u,
|
|
5295
5293
|
openNewPage: E,
|
|
5296
5294
|
useCanvas: I,
|
|
5297
5295
|
usePage: A,
|
|
5298
5296
|
useHelp: Ra,
|
|
5299
|
-
useModal:
|
|
5297
|
+
useModal: x,
|
|
5300
5298
|
useNotify: f,
|
|
5301
5299
|
useLayout: H,
|
|
5302
5300
|
PluginPanel: Ba,
|
|
5303
5301
|
SvgButton: W,
|
|
5304
|
-
extend:
|
|
5302
|
+
extend: J,
|
|
5305
5303
|
PageSetting: Ua,
|
|
5306
5304
|
openPageSettingPanel: De,
|
|
5307
5305
|
closePageSettingPanel: K,
|
|
@@ -5317,10 +5315,10 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5317
5315
|
st(() => {
|
|
5318
5316
|
o.saved && De();
|
|
5319
5317
|
});
|
|
5320
|
-
const
|
|
5318
|
+
const N = g(async (b) => {
|
|
5321
5319
|
h.isFolder = !b.isPage, s.isNew = !1;
|
|
5322
|
-
const
|
|
5323
|
-
h.isFolder ? (
|
|
5320
|
+
const F = b.id !== s.currentPageData.id;
|
|
5321
|
+
h.isFolder ? (F && K(), ha()) : (F && ie(), De());
|
|
5324
5322
|
const G = await pa(b == null ? void 0 : b.id);
|
|
5325
5323
|
r(G);
|
|
5326
5324
|
}, {
|
|
@@ -5344,20 +5342,20 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5344
5342
|
docsContent: y,
|
|
5345
5343
|
state: h,
|
|
5346
5344
|
createNewPage: _,
|
|
5347
|
-
createNewFolder:
|
|
5345
|
+
createNewFolder: C,
|
|
5348
5346
|
settingHome: T,
|
|
5349
|
-
openSettingPanel:
|
|
5347
|
+
openSettingPanel: N,
|
|
5350
5348
|
pluginPanelClosed: u,
|
|
5351
5349
|
openNewPage: E,
|
|
5352
5350
|
useCanvas: I,
|
|
5353
5351
|
usePage: A,
|
|
5354
5352
|
useHelp: Ra,
|
|
5355
|
-
useModal:
|
|
5353
|
+
useModal: x,
|
|
5356
5354
|
useNotify: f,
|
|
5357
5355
|
useLayout: H,
|
|
5358
5356
|
PluginPanel: Ba,
|
|
5359
5357
|
SvgButton: W,
|
|
5360
|
-
extend:
|
|
5358
|
+
extend: J,
|
|
5361
5359
|
PageSetting: Ua,
|
|
5362
5360
|
openPageSettingPanel: De,
|
|
5363
5361
|
closePageSettingPanel: K,
|
|
@@ -5370,7 +5368,7 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5370
5368
|
api: Ka
|
|
5371
5369
|
})
|
|
5372
5370
|
});
|
|
5373
|
-
dt("openSettingPanel",
|
|
5371
|
+
dt("openSettingPanel", N);
|
|
5374
5372
|
const u = g(() => {
|
|
5375
5373
|
t("close"), K(), ie();
|
|
5376
5374
|
}, {
|
|
@@ -5394,20 +5392,20 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5394
5392
|
docsContent: y,
|
|
5395
5393
|
state: h,
|
|
5396
5394
|
createNewPage: _,
|
|
5397
|
-
createNewFolder:
|
|
5395
|
+
createNewFolder: C,
|
|
5398
5396
|
settingHome: T,
|
|
5399
|
-
openSettingPanel:
|
|
5397
|
+
openSettingPanel: N,
|
|
5400
5398
|
pluginPanelClosed: u,
|
|
5401
5399
|
openNewPage: E,
|
|
5402
5400
|
useCanvas: I,
|
|
5403
5401
|
usePage: A,
|
|
5404
5402
|
useHelp: Ra,
|
|
5405
|
-
useModal:
|
|
5403
|
+
useModal: x,
|
|
5406
5404
|
useNotify: f,
|
|
5407
5405
|
useLayout: H,
|
|
5408
5406
|
PluginPanel: Ba,
|
|
5409
5407
|
SvgButton: W,
|
|
5410
|
-
extend:
|
|
5408
|
+
extend: J,
|
|
5411
5409
|
PageSetting: Ua,
|
|
5412
5410
|
openPageSettingPanel: De,
|
|
5413
5411
|
closePageSettingPanel: K,
|
|
@@ -5442,20 +5440,20 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5442
5440
|
docsContent: y,
|
|
5443
5441
|
state: h,
|
|
5444
5442
|
createNewPage: _,
|
|
5445
|
-
createNewFolder:
|
|
5443
|
+
createNewFolder: C,
|
|
5446
5444
|
settingHome: T,
|
|
5447
|
-
openSettingPanel:
|
|
5445
|
+
openSettingPanel: N,
|
|
5448
5446
|
pluginPanelClosed: u,
|
|
5449
5447
|
openNewPage: E,
|
|
5450
5448
|
useCanvas: I,
|
|
5451
5449
|
usePage: A,
|
|
5452
5450
|
useHelp: Ra,
|
|
5453
|
-
useModal:
|
|
5451
|
+
useModal: x,
|
|
5454
5452
|
useNotify: f,
|
|
5455
5453
|
useLayout: H,
|
|
5456
5454
|
PluginPanel: Ba,
|
|
5457
5455
|
SvgButton: W,
|
|
5458
|
-
extend:
|
|
5456
|
+
extend: J,
|
|
5459
5457
|
PageSetting: Ua,
|
|
5460
5458
|
openPageSettingPanel: De,
|
|
5461
5459
|
closePageSettingPanel: K,
|
|
@@ -5475,8 +5473,8 @@ const Ja = /* @__PURE__ */ Fa($t, [["render", rn], ["__scopeId", "data-v-d1bdd9c
|
|
|
5475
5473
|
openNewPage: E,
|
|
5476
5474
|
pageTreeRef: d,
|
|
5477
5475
|
pluginPanelClosed: u,
|
|
5478
|
-
openSettingPanel:
|
|
5479
|
-
createNewFolder:
|
|
5476
|
+
openSettingPanel: N,
|
|
5477
|
+
createNewFolder: C,
|
|
5480
5478
|
createNewPage: _,
|
|
5481
5479
|
docsUrl: c,
|
|
5482
5480
|
docsContent: y,
|
|
@@ -5593,14 +5591,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
5593
5591
|
materialsOptions: t,
|
|
5594
5592
|
formatCssRule: n,
|
|
5595
5593
|
baseStyle: e,
|
|
5596
|
-
extend:
|
|
5594
|
+
extend: J,
|
|
5597
5595
|
isValuesEqual: O,
|
|
5598
5596
|
constants: R,
|
|
5599
5597
|
getCanvasStatus: Z,
|
|
5600
5598
|
useCanvas: I,
|
|
5601
5599
|
useLayout: H,
|
|
5602
5600
|
useBreadcrumb: Te,
|
|
5603
|
-
useModal:
|
|
5601
|
+
useModal: x,
|
|
5604
5602
|
useNotify: f,
|
|
5605
5603
|
getMetaApi: p,
|
|
5606
5604
|
META_SERVICE: P,
|
|
@@ -5651,14 +5649,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
5651
5649
|
id: "engine.service.page.usePage.generateCssString"
|
|
5652
5650
|
},
|
|
5653
5651
|
ctx: () => ({
|
|
5654
|
-
extend:
|
|
5652
|
+
extend: J,
|
|
5655
5653
|
isValuesEqual: O,
|
|
5656
5654
|
constants: R,
|
|
5657
5655
|
getCanvasStatus: Z,
|
|
5658
5656
|
useCanvas: I,
|
|
5659
5657
|
useLayout: H,
|
|
5660
5658
|
useBreadcrumb: Te,
|
|
5661
|
-
useModal:
|
|
5659
|
+
useModal: x,
|
|
5662
5660
|
useNotify: f,
|
|
5663
5661
|
getMetaApi: p,
|
|
5664
5662
|
META_SERVICE: P,
|
|
@@ -5718,14 +5716,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
5718
5716
|
id: "engine.service.page.usePage.getDefaultPage"
|
|
5719
5717
|
},
|
|
5720
5718
|
ctx: () => ({
|
|
5721
|
-
extend:
|
|
5719
|
+
extend: J,
|
|
5722
5720
|
isValuesEqual: O,
|
|
5723
5721
|
constants: R,
|
|
5724
5722
|
getCanvasStatus: Z,
|
|
5725
5723
|
useCanvas: I,
|
|
5726
5724
|
useLayout: H,
|
|
5727
5725
|
useBreadcrumb: Te,
|
|
5728
|
-
useModal:
|
|
5726
|
+
useModal: x,
|
|
5729
5727
|
useNotify: f,
|
|
5730
5728
|
getMetaApi: p,
|
|
5731
5729
|
META_SERVICE: P,
|
|
@@ -5778,14 +5776,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
5778
5776
|
id: "engine.service.page.usePage.syncPageContent"
|
|
5779
5777
|
},
|
|
5780
5778
|
ctx: () => ({
|
|
5781
|
-
extend:
|
|
5779
|
+
extend: J,
|
|
5782
5780
|
isValuesEqual: O,
|
|
5783
5781
|
constants: R,
|
|
5784
5782
|
getCanvasStatus: Z,
|
|
5785
5783
|
useCanvas: I,
|
|
5786
5784
|
useLayout: H,
|
|
5787
5785
|
useBreadcrumb: Te,
|
|
5788
|
-
useModal:
|
|
5786
|
+
useModal: x,
|
|
5789
5787
|
useNotify: f,
|
|
5790
5788
|
getMetaApi: p,
|
|
5791
5789
|
META_SERVICE: P,
|
|
@@ -5826,20 +5824,20 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
5826
5824
|
getFamily: Ye
|
|
5827
5825
|
})
|
|
5828
5826
|
}), Ae = g(() => {
|
|
5829
|
-
we(), U.currentPageDataCopy =
|
|
5827
|
+
we(), U.currentPageDataCopy = J(!0, {}, U.currentPageData);
|
|
5830
5828
|
}, {
|
|
5831
5829
|
metaData: {
|
|
5832
5830
|
id: "engine.service.page.usePage.updatePageSettingAfterSave"
|
|
5833
5831
|
},
|
|
5834
5832
|
ctx: () => ({
|
|
5835
|
-
extend:
|
|
5833
|
+
extend: J,
|
|
5836
5834
|
isValuesEqual: O,
|
|
5837
5835
|
constants: R,
|
|
5838
5836
|
getCanvasStatus: Z,
|
|
5839
5837
|
useCanvas: I,
|
|
5840
5838
|
useLayout: H,
|
|
5841
5839
|
useBreadcrumb: Te,
|
|
5842
|
-
useModal:
|
|
5840
|
+
useModal: x,
|
|
5843
5841
|
useNotify: f,
|
|
5844
5842
|
getMetaApi: p,
|
|
5845
5843
|
META_SERVICE: P,
|
|
@@ -5908,14 +5906,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
5908
5906
|
id: "engine.service.page.usePage.isCurrentDataSame"
|
|
5909
5907
|
},
|
|
5910
5908
|
ctx: () => ({
|
|
5911
|
-
extend:
|
|
5909
|
+
extend: J,
|
|
5912
5910
|
isValuesEqual: O,
|
|
5913
5911
|
constants: R,
|
|
5914
5912
|
getCanvasStatus: Z,
|
|
5915
5913
|
useCanvas: I,
|
|
5916
5914
|
useLayout: H,
|
|
5917
5915
|
useBreadcrumb: Te,
|
|
5918
|
-
useModal:
|
|
5916
|
+
useModal: x,
|
|
5919
5917
|
useNotify: f,
|
|
5920
5918
|
getMetaApi: p,
|
|
5921
5919
|
META_SERVICE: P,
|
|
@@ -5963,14 +5961,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
5963
5961
|
id: "engine.service.page.usePage.getParentNode"
|
|
5964
5962
|
},
|
|
5965
5963
|
ctx: () => ({
|
|
5966
|
-
extend:
|
|
5964
|
+
extend: J,
|
|
5967
5965
|
isValuesEqual: O,
|
|
5968
5966
|
constants: R,
|
|
5969
5967
|
getCanvasStatus: Z,
|
|
5970
5968
|
useCanvas: I,
|
|
5971
5969
|
useLayout: H,
|
|
5972
5970
|
useBreadcrumb: Te,
|
|
5973
|
-
useModal:
|
|
5971
|
+
useModal: x,
|
|
5974
5972
|
useNotify: f,
|
|
5975
5973
|
getMetaApi: p,
|
|
5976
5974
|
META_SERVICE: P,
|
|
@@ -6029,14 +6027,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6029
6027
|
id: "engine.service.page.usePage.changeTreeData"
|
|
6030
6028
|
},
|
|
6031
6029
|
ctx: () => ({
|
|
6032
|
-
extend:
|
|
6030
|
+
extend: J,
|
|
6033
6031
|
isValuesEqual: O,
|
|
6034
6032
|
constants: R,
|
|
6035
6033
|
getCanvasStatus: Z,
|
|
6036
6034
|
useCanvas: I,
|
|
6037
6035
|
useLayout: H,
|
|
6038
6036
|
useBreadcrumb: Te,
|
|
6039
|
-
useModal:
|
|
6037
|
+
useModal: x,
|
|
6040
6038
|
useNotify: f,
|
|
6041
6039
|
getMetaApi: p,
|
|
6042
6040
|
META_SERVICE: P,
|
|
@@ -6081,14 +6079,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6081
6079
|
id: "engine.service.page.usePage.getPageContent"
|
|
6082
6080
|
},
|
|
6083
6081
|
ctx: () => ({
|
|
6084
|
-
extend:
|
|
6082
|
+
extend: J,
|
|
6085
6083
|
isValuesEqual: O,
|
|
6086
6084
|
constants: R,
|
|
6087
6085
|
getCanvasStatus: Z,
|
|
6088
6086
|
useCanvas: I,
|
|
6089
6087
|
useLayout: H,
|
|
6090
6088
|
useBreadcrumb: Te,
|
|
6091
|
-
useModal:
|
|
6089
|
+
useModal: x,
|
|
6092
6090
|
useNotify: f,
|
|
6093
6091
|
getMetaApi: p,
|
|
6094
6092
|
META_SERVICE: P,
|
|
@@ -6129,20 +6127,20 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6129
6127
|
getFamily: Ye
|
|
6130
6128
|
})
|
|
6131
6129
|
}), He = g((a) => {
|
|
6132
|
-
U.currentPageData = a, U.currentPageDataCopy =
|
|
6130
|
+
U.currentPageData = a, U.currentPageDataCopy = J(!0, {}, a), U.oldParentId = a.parentId;
|
|
6133
6131
|
}, {
|
|
6134
6132
|
metaData: {
|
|
6135
6133
|
id: "engine.service.page.usePage.initCurrentPageData"
|
|
6136
6134
|
},
|
|
6137
6135
|
ctx: () => ({
|
|
6138
|
-
extend:
|
|
6136
|
+
extend: J,
|
|
6139
6137
|
isValuesEqual: O,
|
|
6140
6138
|
constants: R,
|
|
6141
6139
|
getCanvasStatus: Z,
|
|
6142
6140
|
useCanvas: I,
|
|
6143
6141
|
useLayout: H,
|
|
6144
6142
|
useBreadcrumb: Te,
|
|
6145
|
-
useModal:
|
|
6143
|
+
useModal: x,
|
|
6146
6144
|
useNotify: f,
|
|
6147
6145
|
getMetaApi: p,
|
|
6148
6146
|
META_SERVICE: P,
|
|
@@ -6189,14 +6187,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6189
6187
|
id: "engine.service.page.usePage.resetPageData"
|
|
6190
6188
|
},
|
|
6191
6189
|
ctx: () => ({
|
|
6192
|
-
extend:
|
|
6190
|
+
extend: J,
|
|
6193
6191
|
isValuesEqual: O,
|
|
6194
6192
|
constants: R,
|
|
6195
6193
|
getCanvasStatus: Z,
|
|
6196
6194
|
useCanvas: I,
|
|
6197
6195
|
useLayout: H,
|
|
6198
6196
|
useBreadcrumb: Te,
|
|
6199
|
-
useModal:
|
|
6197
|
+
useModal: x,
|
|
6200
6198
|
useNotify: f,
|
|
6201
6199
|
getMetaApi: p,
|
|
6202
6200
|
META_SERVICE: P,
|
|
@@ -6241,14 +6239,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6241
6239
|
id: "engine.service.page.usePage.isChangePageData"
|
|
6242
6240
|
},
|
|
6243
6241
|
ctx: () => ({
|
|
6244
|
-
extend:
|
|
6242
|
+
extend: J,
|
|
6245
6243
|
isValuesEqual: O,
|
|
6246
6244
|
constants: R,
|
|
6247
6245
|
getCanvasStatus: Z,
|
|
6248
6246
|
useCanvas: I,
|
|
6249
6247
|
useLayout: H,
|
|
6250
6248
|
useBreadcrumb: Te,
|
|
6251
|
-
useModal:
|
|
6249
|
+
useModal: x,
|
|
6252
6250
|
useNotify: f,
|
|
6253
6251
|
getMetaApi: p,
|
|
6254
6252
|
META_SERVICE: P,
|
|
@@ -6308,14 +6306,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6308
6306
|
id: "engine.service.page.usePage.generateTree"
|
|
6309
6307
|
},
|
|
6310
6308
|
ctx: () => ({
|
|
6311
|
-
extend:
|
|
6309
|
+
extend: J,
|
|
6312
6310
|
isValuesEqual: O,
|
|
6313
6311
|
constants: R,
|
|
6314
6312
|
getCanvasStatus: Z,
|
|
6315
6313
|
useCanvas: I,
|
|
6316
6314
|
useLayout: H,
|
|
6317
6315
|
useBreadcrumb: Te,
|
|
6318
|
-
useModal:
|
|
6316
|
+
useModal: x,
|
|
6319
6317
|
useNotify: f,
|
|
6320
6318
|
getMetaApi: p,
|
|
6321
6319
|
META_SERVICE: P,
|
|
@@ -6392,14 +6390,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6392
6390
|
id: "engine.service.page.usePage.getPageList"
|
|
6393
6391
|
},
|
|
6394
6392
|
ctx: () => ({
|
|
6395
|
-
extend:
|
|
6393
|
+
extend: J,
|
|
6396
6394
|
isValuesEqual: O,
|
|
6397
6395
|
constants: R,
|
|
6398
6396
|
getCanvasStatus: Z,
|
|
6399
6397
|
useCanvas: I,
|
|
6400
6398
|
useLayout: H,
|
|
6401
6399
|
useBreadcrumb: Te,
|
|
6402
|
-
useModal:
|
|
6400
|
+
useModal: x,
|
|
6403
6401
|
useNotify: f,
|
|
6404
6402
|
getMetaApi: p,
|
|
6405
6403
|
META_SERVICE: P,
|
|
@@ -6449,14 +6447,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6449
6447
|
id: "engine.service.page.usePage.getAncestorsRecursively"
|
|
6450
6448
|
},
|
|
6451
6449
|
ctx: () => ({
|
|
6452
|
-
extend:
|
|
6450
|
+
extend: J,
|
|
6453
6451
|
isValuesEqual: O,
|
|
6454
6452
|
constants: R,
|
|
6455
6453
|
getCanvasStatus: Z,
|
|
6456
6454
|
useCanvas: I,
|
|
6457
6455
|
useLayout: H,
|
|
6458
6456
|
useBreadcrumb: Te,
|
|
6459
|
-
useModal:
|
|
6457
|
+
useModal: x,
|
|
6460
6458
|
useNotify: f,
|
|
6461
6459
|
getMetaApi: p,
|
|
6462
6460
|
META_SERVICE: P,
|
|
@@ -6506,14 +6504,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6506
6504
|
id: "engine.service.page.usePage.getAncestors"
|
|
6507
6505
|
},
|
|
6508
6506
|
ctx: () => ({
|
|
6509
|
-
extend:
|
|
6507
|
+
extend: J,
|
|
6510
6508
|
isValuesEqual: O,
|
|
6511
6509
|
constants: R,
|
|
6512
6510
|
getCanvasStatus: Z,
|
|
6513
6511
|
useCanvas: I,
|
|
6514
6512
|
useLayout: H,
|
|
6515
6513
|
useBreadcrumb: Te,
|
|
6516
|
-
useModal:
|
|
6514
|
+
useModal: x,
|
|
6517
6515
|
useNotify: f,
|
|
6518
6516
|
getMetaApi: p,
|
|
6519
6517
|
META_SERVICE: P,
|
|
@@ -6566,14 +6564,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6566
6564
|
id: "engine.service.page.usePage.flatternFolder"
|
|
6567
6565
|
},
|
|
6568
6566
|
ctx: () => ({
|
|
6569
|
-
extend:
|
|
6567
|
+
extend: J,
|
|
6570
6568
|
isValuesEqual: O,
|
|
6571
6569
|
constants: R,
|
|
6572
6570
|
getCanvasStatus: Z,
|
|
6573
6571
|
useCanvas: I,
|
|
6574
6572
|
useLayout: H,
|
|
6575
6573
|
useBreadcrumb: Te,
|
|
6576
|
-
useModal:
|
|
6574
|
+
useModal: x,
|
|
6577
6575
|
useNotify: f,
|
|
6578
6576
|
getMetaApi: p,
|
|
6579
6577
|
META_SERVICE: P,
|
|
@@ -6622,14 +6620,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6622
6620
|
id: "engine.service.page.usePage.getPageChildren"
|
|
6623
6621
|
},
|
|
6624
6622
|
ctx: () => ({
|
|
6625
|
-
extend:
|
|
6623
|
+
extend: J,
|
|
6626
6624
|
isValuesEqual: O,
|
|
6627
6625
|
constants: R,
|
|
6628
6626
|
getCanvasStatus: Z,
|
|
6629
6627
|
useCanvas: I,
|
|
6630
6628
|
useLayout: H,
|
|
6631
6629
|
useBreadcrumb: Te,
|
|
6632
|
-
useModal:
|
|
6630
|
+
useModal: x,
|
|
6633
6631
|
useNotify: f,
|
|
6634
6632
|
getMetaApi: p,
|
|
6635
6633
|
META_SERVICE: P,
|
|
@@ -6679,14 +6677,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6679
6677
|
id: "engine.service.page.usePage.clearCurrentState"
|
|
6680
6678
|
},
|
|
6681
6679
|
ctx: () => ({
|
|
6682
|
-
extend:
|
|
6680
|
+
extend: J,
|
|
6683
6681
|
isValuesEqual: O,
|
|
6684
6682
|
constants: R,
|
|
6685
6683
|
getCanvasStatus: Z,
|
|
6686
6684
|
useCanvas: I,
|
|
6687
6685
|
useLayout: H,
|
|
6688
6686
|
useBreadcrumb: Te,
|
|
6689
|
-
useModal:
|
|
6687
|
+
useModal: x,
|
|
6690
6688
|
useNotify: f,
|
|
6691
6689
|
getMetaApi: p,
|
|
6692
6690
|
META_SERVICE: P,
|
|
@@ -6756,14 +6754,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6756
6754
|
id: "engine.service.page.usePage.switchPage"
|
|
6757
6755
|
},
|
|
6758
6756
|
ctx: () => ({
|
|
6759
|
-
extend:
|
|
6757
|
+
extend: J,
|
|
6760
6758
|
isValuesEqual: O,
|
|
6761
6759
|
constants: R,
|
|
6762
6760
|
getCanvasStatus: Z,
|
|
6763
6761
|
useCanvas: I,
|
|
6764
6762
|
useLayout: H,
|
|
6765
6763
|
useBreadcrumb: Te,
|
|
6766
|
-
useModal:
|
|
6764
|
+
useModal: x,
|
|
6767
6765
|
useNotify: f,
|
|
6768
6766
|
getMetaApi: p,
|
|
6769
6767
|
META_SERVICE: P,
|
|
@@ -6814,7 +6812,7 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6814
6812
|
i(!0);
|
|
6815
6813
|
return;
|
|
6816
6814
|
}
|
|
6817
|
-
|
|
6815
|
+
x().confirm({
|
|
6818
6816
|
title: "提示",
|
|
6819
6817
|
message: `${s() ? "区块" : "页面"}尚未保存,是否要继续切换?`,
|
|
6820
6818
|
exec: () => {
|
|
@@ -6833,14 +6831,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6833
6831
|
pageId: a,
|
|
6834
6832
|
clearPreview: t,
|
|
6835
6833
|
checkPageSaved: n,
|
|
6836
|
-
extend:
|
|
6834
|
+
extend: J,
|
|
6837
6835
|
isValuesEqual: O,
|
|
6838
6836
|
constants: R,
|
|
6839
6837
|
getCanvasStatus: Z,
|
|
6840
6838
|
useCanvas: I,
|
|
6841
6839
|
useLayout: H,
|
|
6842
6840
|
useBreadcrumb: Te,
|
|
6843
|
-
useModal:
|
|
6841
|
+
useModal: x,
|
|
6844
6842
|
useNotify: f,
|
|
6845
6843
|
getMetaApi: p,
|
|
6846
6844
|
META_SERVICE: P,
|
|
@@ -6889,14 +6887,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6889
6887
|
id: "engine.service.page.usePage.switchPageWithConfirm"
|
|
6890
6888
|
},
|
|
6891
6889
|
ctx: () => ({
|
|
6892
|
-
extend:
|
|
6890
|
+
extend: J,
|
|
6893
6891
|
isValuesEqual: O,
|
|
6894
6892
|
constants: R,
|
|
6895
6893
|
getCanvasStatus: Z,
|
|
6896
6894
|
useCanvas: I,
|
|
6897
6895
|
useLayout: H,
|
|
6898
6896
|
useBreadcrumb: Te,
|
|
6899
|
-
useModal:
|
|
6897
|
+
useModal: x,
|
|
6900
6898
|
useNotify: f,
|
|
6901
6899
|
getMetaApi: p,
|
|
6902
6900
|
META_SERVICE: P,
|
|
@@ -6944,14 +6942,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
6944
6942
|
id: "engine.service.page.usePage.updatePageContent"
|
|
6945
6943
|
},
|
|
6946
6944
|
ctx: () => ({
|
|
6947
|
-
extend:
|
|
6945
|
+
extend: J,
|
|
6948
6946
|
isValuesEqual: O,
|
|
6949
6947
|
constants: R,
|
|
6950
6948
|
getCanvasStatus: Z,
|
|
6951
6949
|
useCanvas: I,
|
|
6952
6950
|
useLayout: H,
|
|
6953
6951
|
useBreadcrumb: Te,
|
|
6954
|
-
useModal:
|
|
6952
|
+
useModal: x,
|
|
6955
6953
|
useNotify: f,
|
|
6956
6954
|
getMetaApi: p,
|
|
6957
6955
|
META_SERVICE: P,
|
|
@@ -7004,14 +7002,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7004
7002
|
id: "engine.service.page.usePage.fetchPageDetailIfNeeded"
|
|
7005
7003
|
},
|
|
7006
7004
|
ctx: () => ({
|
|
7007
|
-
extend:
|
|
7005
|
+
extend: J,
|
|
7008
7006
|
isValuesEqual: O,
|
|
7009
7007
|
constants: R,
|
|
7010
7008
|
getCanvasStatus: Z,
|
|
7011
7009
|
useCanvas: I,
|
|
7012
7010
|
useLayout: H,
|
|
7013
7011
|
useBreadcrumb: Te,
|
|
7014
|
-
useModal:
|
|
7012
|
+
useModal: x,
|
|
7015
7013
|
useNotify: f,
|
|
7016
7014
|
getMetaApi: p,
|
|
7017
7015
|
META_SERVICE: P,
|
|
@@ -7059,14 +7057,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7059
7057
|
id: "engine.service.page.usePage.updateParentId"
|
|
7060
7058
|
},
|
|
7061
7059
|
ctx: () => ({
|
|
7062
|
-
extend:
|
|
7060
|
+
extend: J,
|
|
7063
7061
|
isValuesEqual: O,
|
|
7064
7062
|
constants: R,
|
|
7065
7063
|
getCanvasStatus: Z,
|
|
7066
7064
|
useCanvas: I,
|
|
7067
7065
|
useLayout: H,
|
|
7068
7066
|
useBreadcrumb: Te,
|
|
7069
|
-
useModal:
|
|
7067
|
+
useModal: x,
|
|
7070
7068
|
useNotify: f,
|
|
7071
7069
|
getMetaApi: p,
|
|
7072
7070
|
META_SERVICE: P,
|
|
@@ -7118,14 +7116,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7118
7116
|
id: "engine.service.page.usePage.handlePageDetail"
|
|
7119
7117
|
},
|
|
7120
7118
|
ctx: () => ({
|
|
7121
|
-
extend:
|
|
7119
|
+
extend: J,
|
|
7122
7120
|
isValuesEqual: O,
|
|
7123
7121
|
constants: R,
|
|
7124
7122
|
getCanvasStatus: Z,
|
|
7125
7123
|
useCanvas: I,
|
|
7126
7124
|
useLayout: H,
|
|
7127
7125
|
useBreadcrumb: Te,
|
|
7128
|
-
useModal:
|
|
7126
|
+
useModal: x,
|
|
7129
7127
|
useNotify: f,
|
|
7130
7128
|
getMetaApi: p,
|
|
7131
7129
|
META_SERVICE: P,
|
|
@@ -7186,14 +7184,14 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7186
7184
|
id: "engine.service.page.usePage.getFamily"
|
|
7187
7185
|
},
|
|
7188
7186
|
ctx: () => ({
|
|
7189
|
-
extend:
|
|
7187
|
+
extend: J,
|
|
7190
7188
|
isValuesEqual: O,
|
|
7191
7189
|
constants: R,
|
|
7192
7190
|
getCanvasStatus: Z,
|
|
7193
7191
|
useCanvas: I,
|
|
7194
7192
|
useLayout: H,
|
|
7195
7193
|
useBreadcrumb: Te,
|
|
7196
|
-
useModal:
|
|
7194
|
+
useModal: x,
|
|
7197
7195
|
useNotify: f,
|
|
7198
7196
|
getMetaApi: p,
|
|
7199
7197
|
META_SERVICE: P,
|
|
@@ -7301,10 +7299,10 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7301
7299
|
r.childPageList = [], r.childPageOp = [], r.defaultPageId = "";
|
|
7302
7300
|
else {
|
|
7303
7301
|
r.childPageList = await e(u);
|
|
7304
|
-
const b = (E = r.childPageList) == null ? void 0 : E.find((
|
|
7305
|
-
a.defaultPage = b || null, r.defaultPageId = b ? b.id : "", r.childPageOp = r.childPageList.map((
|
|
7306
|
-
value:
|
|
7307
|
-
label:
|
|
7302
|
+
const b = (E = r.childPageList) == null ? void 0 : E.find((F) => F.isDefault);
|
|
7303
|
+
a.defaultPage = b || null, r.defaultPageId = b ? b.id : "", r.childPageOp = r.childPageList.map((F) => ({
|
|
7304
|
+
value: F.id,
|
|
7305
|
+
label: F.name,
|
|
7308
7306
|
icon: Ha()
|
|
7309
7307
|
}));
|
|
7310
7308
|
}
|
|
@@ -7329,9 +7327,9 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7329
7327
|
pageToTreeData: y,
|
|
7330
7328
|
getNodeIcon: h,
|
|
7331
7329
|
treeFolderOp: _,
|
|
7332
|
-
generalForm:
|
|
7330
|
+
generalForm: C,
|
|
7333
7331
|
validGeneralForm: T,
|
|
7334
|
-
changeParentForderId:
|
|
7332
|
+
changeParentForderId: N,
|
|
7335
7333
|
iconFile: Ha,
|
|
7336
7334
|
usePage: A,
|
|
7337
7335
|
REGEXP_PAGE_NAME: qa,
|
|
@@ -7361,9 +7359,9 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7361
7359
|
pageToTreeData: y,
|
|
7362
7360
|
getNodeIcon: h,
|
|
7363
7361
|
treeFolderOp: _,
|
|
7364
|
-
generalForm:
|
|
7362
|
+
generalForm: C,
|
|
7365
7363
|
validGeneralForm: T,
|
|
7366
|
-
changeParentForderId:
|
|
7364
|
+
changeParentForderId: N,
|
|
7367
7365
|
iconFile: Ha,
|
|
7368
7366
|
usePage: A,
|
|
7369
7367
|
REGEXP_PAGE_NAME: qa,
|
|
@@ -7430,12 +7428,12 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7430
7428
|
const {
|
|
7431
7429
|
id: E,
|
|
7432
7430
|
name: b,
|
|
7433
|
-
isPage:
|
|
7431
|
+
isPage: F,
|
|
7434
7432
|
children: G
|
|
7435
7433
|
} = u, L = {
|
|
7436
7434
|
id: String(E),
|
|
7437
7435
|
name: b,
|
|
7438
|
-
isPage:
|
|
7436
|
+
isPage: F
|
|
7439
7437
|
};
|
|
7440
7438
|
return Array.isArray(G) && (L.children = G.filter((B) => B.id !== a.currentPageData.id).map((B) => y(B))), L;
|
|
7441
7439
|
}, {
|
|
@@ -7459,9 +7457,9 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7459
7457
|
pageToTreeData: y,
|
|
7460
7458
|
getNodeIcon: h,
|
|
7461
7459
|
treeFolderOp: _,
|
|
7462
|
-
generalForm:
|
|
7460
|
+
generalForm: C,
|
|
7463
7461
|
validGeneralForm: T,
|
|
7464
|
-
changeParentForderId:
|
|
7462
|
+
changeParentForderId: N,
|
|
7465
7463
|
iconFile: Ha,
|
|
7466
7464
|
usePage: A,
|
|
7467
7465
|
REGEXP_PAGE_NAME: qa,
|
|
@@ -7493,9 +7491,9 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7493
7491
|
pageToTreeData: y,
|
|
7494
7492
|
getNodeIcon: h,
|
|
7495
7493
|
treeFolderOp: _,
|
|
7496
|
-
generalForm:
|
|
7494
|
+
generalForm: C,
|
|
7497
7495
|
validGeneralForm: T,
|
|
7498
|
-
changeParentForderId:
|
|
7496
|
+
changeParentForderId: N,
|
|
7499
7497
|
iconFile: Ha,
|
|
7500
7498
|
usePage: A,
|
|
7501
7499
|
REGEXP_PAGE_NAME: qa,
|
|
@@ -7519,8 +7517,8 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7519
7517
|
data: S
|
|
7520
7518
|
}) => ee(za, null, [h(S), ee("div", null, [B.label])])
|
|
7521
7519
|
};
|
|
7522
|
-
}),
|
|
7523
|
-
|
|
7520
|
+
}), C = Sa(null), T = g(() => new Promise((u) => {
|
|
7521
|
+
C.value.validate((E) => {
|
|
7524
7522
|
E && u(E);
|
|
7525
7523
|
});
|
|
7526
7524
|
}), {
|
|
@@ -7544,16 +7542,16 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7544
7542
|
pageToTreeData: y,
|
|
7545
7543
|
getNodeIcon: h,
|
|
7546
7544
|
treeFolderOp: _,
|
|
7547
|
-
generalForm:
|
|
7545
|
+
generalForm: C,
|
|
7548
7546
|
validGeneralForm: T,
|
|
7549
|
-
changeParentForderId:
|
|
7547
|
+
changeParentForderId: N,
|
|
7550
7548
|
iconFile: Ha,
|
|
7551
7549
|
usePage: A,
|
|
7552
7550
|
REGEXP_PAGE_NAME: qa,
|
|
7553
7551
|
REGEXP_FOLDER_NAME: La,
|
|
7554
7552
|
REGEXP_ROUTE: Va
|
|
7555
7553
|
})
|
|
7556
|
-
}),
|
|
7554
|
+
}), N = g((u) => {
|
|
7557
7555
|
t(u.id, o.value), o.value = u.id;
|
|
7558
7556
|
}, {
|
|
7559
7557
|
metaData: {
|
|
@@ -7576,9 +7574,9 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7576
7574
|
pageToTreeData: y,
|
|
7577
7575
|
getNodeIcon: h,
|
|
7578
7576
|
treeFolderOp: _,
|
|
7579
|
-
generalForm:
|
|
7577
|
+
generalForm: C,
|
|
7580
7578
|
validGeneralForm: T,
|
|
7581
|
-
changeParentForderId:
|
|
7579
|
+
changeParentForderId: N,
|
|
7582
7580
|
iconFile: Ha,
|
|
7583
7581
|
usePage: A,
|
|
7584
7582
|
REGEXP_PAGE_NAME: qa,
|
|
@@ -7591,11 +7589,11 @@ const un = /* @__PURE__ */ Fa(ln, [["render", cn], ["__scopeId", "data-v-db4f4cc
|
|
|
7591
7589
|
folderRules: c,
|
|
7592
7590
|
pageSettingState: a,
|
|
7593
7591
|
pageParentId: i,
|
|
7594
|
-
generalForm:
|
|
7592
|
+
generalForm: C,
|
|
7595
7593
|
validGeneralForm: T,
|
|
7596
7594
|
treeFolderOp: _,
|
|
7597
7595
|
currentRoute: d,
|
|
7598
|
-
changeParentForderId:
|
|
7596
|
+
changeParentForderId: N,
|
|
7599
7597
|
state: r,
|
|
7600
7598
|
changeDefaultPage: m
|
|
7601
7599
|
};
|