gds-plus-design-vue 1.3.2 → 1.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/lib/{btnGroup.868c8549.js → btnGroup.2304f2f4.js} +1 -1
  2. package/lib/{btnGroup.bbf14548.mjs → btnGroup.cbaa6e6b.mjs} +14 -14
  3. package/lib/{components.form.9c850f56.mjs → components.form.082d9c9b.mjs} +1 -1
  4. package/lib/{components.form.column.bb178c13.mjs → components.form.column.cab0072e.mjs} +1 -1
  5. package/lib/{components.form.column.bbdd2b3a.js → components.form.column.ee06d8bb.js} +1 -1
  6. package/lib/{components.form.218c5703.js → components.form.f4bb9c4c.js} +1 -1
  7. package/lib/{components.globalheader.87083065.js → components.globalheader.5db21e71.js} +1 -1
  8. package/lib/{components.globalheader.c7309694.mjs → components.globalheader.c5ce924d.mjs} +1 -1
  9. package/lib/components.iconselector.831f847e.js +1 -0
  10. package/lib/{components.iconselector.d7c731b8.mjs → components.iconselector.ded60514.mjs} +20 -17
  11. package/lib/{components.sidenavmenu.8a971489.js → components.sidenavmenu.90170635.js} +1 -1
  12. package/lib/{components.sidenavmenu.d4d48a2e.mjs → components.sidenavmenu.c7b6729b.mjs} +7 -7
  13. package/lib/{components.table.queriesfield.0c9da7cd.mjs → components.table.queriesfield.84733bb7.mjs} +32 -32
  14. package/lib/components.table.queriesfield.a50919ee.js +1 -0
  15. package/lib/{fonticon.9adf1203.mjs → fonticon.0d9a2e23.mjs} +14 -14
  16. package/lib/{fonticon.1b451e1a.js → fonticon.a1263225.js} +1 -1
  17. package/lib/{form.designer.build.44a222b7.mjs → form.designer.build.136e3cdd.mjs} +10 -4
  18. package/lib/form.designer.build.7c94450d.js +1 -0
  19. package/lib/gd-initial.js +1 -1
  20. package/lib/gd-initial.mjs +14 -14
  21. package/lib/{http.filedocument.a10d6b67.mjs → http.filedocument.0219751b.mjs} +14 -14
  22. package/lib/{index.50e04b35.js → index.3a9b2d69.js} +1 -1
  23. package/lib/{index.08591f92.mjs → index.459a27d0.mjs} +22 -22
  24. package/lib/index.53b24311.js +1 -0
  25. package/lib/{index.55cf8b7e.js → index.6207efd7.js} +1 -1
  26. package/lib/{index.a32cdfa6.mjs → index.718199db.mjs} +17 -17
  27. package/lib/{index.dd12afc4.mjs → index.72ea6b6b.mjs} +6 -6
  28. package/lib/{index.d5afad7c.js → index.8c8698d0.js} +1 -1
  29. package/lib/{index.6faf770f.js → index.9ec72e55.js} +1 -1
  30. package/lib/{index.cf8bce6c.mjs → index.e051f15e.mjs} +149 -136
  31. package/lib/{index.b5d91f53.mjs → index.f1ecfc7f.mjs} +23 -23
  32. package/lib/{layoutBlocks.22969318.mjs → layoutBlocks.ec55e84e.mjs} +14 -14
  33. package/lib/{layoutBlocks.3326a2cf.js → layoutBlocks.ff24da6b.js} +1 -1
  34. package/lib/{layouts.basiclayout.d292ac35.js → layouts.basiclayout.05046cb5.js} +1 -1
  35. package/lib/{layouts.basiclayout.ba756cfc.mjs → layouts.basiclayout.422c6adc.mjs} +2 -2
  36. package/lib/{layouts.basiclayouttop.5ea4efd6.mjs → layouts.basiclayouttop.4047325d.mjs} +2 -2
  37. package/lib/{layouts.basiclayouttop.22fb1854.js → layouts.basiclayouttop.d6ee1637.js} +1 -1
  38. package/lib/{main.1fe649dd.js → main.467492ec.js} +1 -1
  39. package/lib/main.72c50010.mjs +941 -0
  40. package/lib/{main.839b7bab.mjs → main.750a686d.mjs} +1 -1
  41. package/lib/{main.46333cc1.js → main.77bfdb3d.js} +1 -1
  42. package/lib/{main.89e80afa.js → main.8024dd7b.js} +1 -1
  43. package/lib/{main.faec0761.mjs → main.95d3ff6c.mjs} +1 -1
  44. package/lib/{main.f646cd77.js → main.97e52ee0.js} +1 -1
  45. package/lib/{main.3781a6a9.js → main.9e4ff9c6.js} +1 -1
  46. package/lib/{main.9753a7a6.mjs → main.a3a8a32a.mjs} +26 -26
  47. package/lib/{main.5d1d8c5d.mjs → main.b7f83538.mjs} +1 -1
  48. package/lib/{main.c57a92f8.js → main.d19f6077.js} +1 -1
  49. package/lib/{main.e2e786a1.mjs → main.ff2b9dde.mjs} +1 -1
  50. package/lib/{mobile.designer.menutree.6ada2626.js → mobile.designer.menutree.31a0ac7c.js} +1 -1
  51. package/lib/{mobile.designer.menutree.5b1640f2.mjs → mobile.designer.menutree.b921fa65.mjs} +2 -2
  52. package/lib/{page.application.6ea9a771.mjs → page.application.72fd9f5e.mjs} +2 -2
  53. package/lib/{page.application.bde3a64a.js → page.application.b07312ad.js} +1 -1
  54. package/lib/{page.bmodule.datafiltering.1ab7a1b7.js → page.bmodule.datafiltering.50c9e358.js} +1 -1
  55. package/lib/{page.bmodule.datafiltering.82eb5fa8.mjs → page.bmodule.datafiltering.b3254ae9.mjs} +1 -1
  56. package/lib/{page.build.6447bfd6.js → page.build.5fa4a6c0.js} +1 -1
  57. package/lib/{page.build.a7f5bc44.mjs → page.build.d8557c78.mjs} +1 -1
  58. package/lib/{page.designer.layouts.b5447529.js → page.designer.layouts.351f3075.js} +1 -1
  59. package/lib/{page.designer.layouts.a04efb60.mjs → page.designer.layouts.5d641118.mjs} +1 -1
  60. package/lib/{page.designer.menutree.02ba7d2c.mjs → page.designer.menutree.34aedf7f.mjs} +491 -416
  61. package/lib/{page.designer.menutree.e9fcd5d7.js → page.designer.menutree.51b5e5ed.js} +1 -1
  62. package/lib/{page.designerp.generatorecharts.4e8fb3f2.mjs → page.designerp.generatorecharts.243dafb6.mjs} +1 -1
  63. package/lib/{page.designerp.generatorecharts.fee5aedd.js → page.designerp.generatorecharts.917dd008.js} +1 -1
  64. package/lib/{page.designerp.generatorgridmenu.d8820f3c.mjs → page.designerp.generatorgridmenu.85ed1c88.mjs} +3 -3
  65. package/lib/page.designerp.generatorgridmenu.ef75017c.js +1 -0
  66. package/lib/{page.designerp.generatortable.9d7b9b14.js → page.designerp.generatortable.79639f31.js} +1 -1
  67. package/lib/{page.designerp.generatortable.6011f553.mjs → page.designerp.generatortable.c4cbeb36.mjs} +1 -1
  68. package/lib/{page.designerp.generatortablegrid.c6e94530.js → page.designerp.generatortablegrid.2d33e24a.js} +1 -1
  69. package/lib/{page.designerp.generatortablegrid.5af3abfa.mjs → page.designerp.generatortablegrid.e61db667.mjs} +2 -2
  70. package/lib/{page.designerp.generatortree.42248e8f.mjs → page.designerp.generatortree.a26b78ae.mjs} +1 -1
  71. package/lib/{page.designerp.generatortree.e8320600.js → page.designerp.generatortree.f5ea6e0f.js} +1 -1
  72. package/lib/{page.designerp.main.8d72b4b4.js → page.designerp.main.9ac6b94e.js} +1 -1
  73. package/lib/{page.designerp.main.79f9b559.mjs → page.designerp.main.f05dd663.mjs} +1 -1
  74. package/lib/{page.designerp.properties.9e22da8e.mjs → page.designerp.properties.3bfd6455.mjs} +12 -12
  75. package/lib/{page.designerp.properties.e0e1b3c6.js → page.designerp.properties.e858d8e2.js} +1 -1
  76. package/lib/{page.designerp.propertiesbtn.40f9c7ec.mjs → page.designerp.propertiesbtn.187e7302.mjs} +1 -1
  77. package/lib/{page.designerp.propertiesbtn.1677b44b.js → page.designerp.propertiesbtn.d73a924e.js} +1 -1
  78. package/lib/{page.designerp.propertieschartbi.076e60a8.mjs → page.designerp.propertieschartbi.2d32c538.mjs} +1 -1
  79. package/lib/{page.designerp.propertieschartbi.f584d384.js → page.designerp.propertieschartbi.9b310756.js} +1 -1
  80. package/lib/{page.designerp.propertiesdrawercontainer.6aa245e7.mjs → page.designerp.propertiesdrawercontainer.40446788.mjs} +1 -1
  81. package/lib/{page.designerp.propertiesdrawercontainer.4602bd6f.js → page.designerp.propertiesdrawercontainer.4aa21503.js} +1 -1
  82. package/lib/{page.designerp.propertiesecharts.d59cc912.js → page.designerp.propertiesecharts.5002d91b.js} +1 -1
  83. package/lib/{page.designerp.propertiesecharts.517664c0.mjs → page.designerp.propertiesecharts.fcf3eaa6.mjs} +2 -2
  84. package/lib/{page.designerp.propertiesgridmenu.4113765c.js → page.designerp.propertiesgridmenu.4e7e22c0.js} +1 -1
  85. package/lib/{page.designerp.propertiesgridmenu.db55e28c.mjs → page.designerp.propertiesgridmenu.c7214ec6.mjs} +1 -1
  86. package/lib/{page.designerp.propertieslist.dda1709b.mjs → page.designerp.propertieslist.828fd439.mjs} +3 -3
  87. package/lib/{page.designerp.propertieslist.caa42641.js → page.designerp.propertieslist.c7d72d78.js} +1 -1
  88. package/lib/{page.designerp.propertiesstatistic.32f7a24d.js → page.designerp.propertiesstatistic.0f2da29f.js} +1 -1
  89. package/lib/{page.designerp.propertiesstatistic.4e14df8b.mjs → page.designerp.propertiesstatistic.a417c9e7.mjs} +1 -1
  90. package/lib/{page.designerp.propertiestable.1fdf9134.mjs → page.designerp.propertiestable.172f9499.mjs} +4 -4
  91. package/lib/{page.designerp.propertiestable.07b36fd6.js → page.designerp.propertiestable.658e0534.js} +1 -1
  92. package/lib/{page.designerp.propertiestablegrid.f606c227.mjs → page.designerp.propertiestablegrid.6b5bbe93.mjs} +5 -5
  93. package/lib/{page.designerp.propertiestablegrid.ccfbd8d6.js → page.designerp.propertiestablegrid.e208f5d1.js} +1 -1
  94. package/lib/{page.designerp.propertiestree.40f7f272.mjs → page.designerp.propertiestree.61da99df.mjs} +3 -3
  95. package/lib/{page.designerp.propertiestree.7848fdff.js → page.designerp.propertiestree.ee7014b7.js} +1 -1
  96. package/lib/page.filedocument.build.48a5874e.js +1 -0
  97. package/lib/{page.filedocument.build.c0f90ccd.mjs → page.filedocument.build.61f014b4.mjs} +130 -131
  98. package/lib/{personal.echarts.4f212a5c.mjs → personal.echarts.268fea3e.mjs} +1 -1
  99. package/lib/{personal.echarts.12a0fad6.js → personal.echarts.a78792db.js} +1 -1
  100. package/lib/{router.config.65dd255f.mjs → router.config.8be3d360.mjs} +8 -8
  101. package/lib/{router.config.77b867ce.js → router.config.e68a29e1.js} +1 -1
  102. package/lib/{search.advanced.327fd0be.mjs → search.advanced.dc688c5c.mjs} +2 -2
  103. package/lib/{search.advanced.be9d450f.js → search.advanced.ec1656d2.js} +1 -1
  104. package/lib/{solution.menu.a42e3c39.js → solution.menu.b487f819.js} +1 -1
  105. package/lib/{solution.menu.fe7037d5.mjs → solution.menu.eea5a105.mjs} +1 -1
  106. package/lib/style.css +2 -2
  107. package/lib/{sysComponents.7bcb6181.mjs → sysComponents.5cffa46d.mjs} +1 -1
  108. package/lib/{sysComponents.96b83ac9.js → sysComponents.90398324.js} +1 -1
  109. package/lib/{system.account.f43288ef.js → system.account.042e1580.js} +6 -6
  110. package/lib/{system.account.89c40faa.mjs → system.account.a315cddc.mjs} +37 -33
  111. package/lib/system.document.classifymanage.4daf3782.mjs +639 -0
  112. package/lib/system.document.classifymanage.c3771fa0.js +1 -0
  113. package/lib/system.document.recyclemanage.20503887.mjs +591 -0
  114. package/lib/system.document.recyclemanage.46e290c5.js +1 -0
  115. package/lib/{system.user.c90fd671.js → system.user.02e22feb.js} +4 -4
  116. package/lib/{system.user.3fb93f0e.mjs → system.user.98c9f5e7.mjs} +10 -4
  117. package/lib/{table.definition.btnconfig.edb31f00.mjs → table.definition.btnconfig.66fef981.mjs} +1 -1
  118. package/lib/{table.definition.btnconfig.ad94433f.js → table.definition.btnconfig.83478480.js} +1 -1
  119. package/lib/{table.definition.echartsconfig.1b55ec5a.js → table.definition.echartsconfig.02ff98ea.js} +1 -1
  120. package/lib/{table.definition.echartsconfig.11213eaa.mjs → table.definition.echartsconfig.34eea92d.mjs} +1 -1
  121. package/lib/{table.definition.fkconfig.c1f383ce.mjs → table.definition.fkconfig.a15d547f.mjs} +5 -5
  122. package/lib/{table.definition.fkconfig.0cb9807b.js → table.definition.fkconfig.cdd19291.js} +1 -1
  123. package/lib/{table.definition.formconfig.14140199.js → table.definition.formconfig.772f9395.js} +1 -1
  124. package/lib/{table.definition.formconfig.a1e3179f.mjs → table.definition.formconfig.cff793af.mjs} +2 -2
  125. package/lib/{utils.componentssys.js.0b63c908.mjs → utils.componentssys.js.539b7c3b.mjs} +12 -12
  126. package/lib/{utils.componentssys.js.85b0f05e.js → utils.componentssys.js.a28c0ac2.js} +1 -1
  127. package/lib/{view.build.c08b0135.mjs → view.build.c4c937d6.mjs} +5 -5
  128. package/lib/{view.build.9cf1f654.js → view.build.cbf165ac.js} +1 -1
  129. package/package.json +59 -107
  130. package/lib/components.iconselector.b74b573b.js +0 -1
  131. package/lib/components.table.queriesfield.49895bed.js +0 -1
  132. package/lib/form.designer.build.2b2da0f4.js +0 -1
  133. package/lib/index.d884234a.js +0 -1
  134. package/lib/main.085ed428.mjs +0 -988
  135. package/lib/page.designerp.generatorgridmenu.dfa1fbbb.js +0 -1
  136. package/lib/page.filedocument.build.54ae14c3.js +0 -1
  137. package/lib/system.document.1e100a7f.mjs +0 -1222
  138. package/lib/system.document.767210d3.js +0 -1
@@ -1,988 +0,0 @@
1
- import { n as d, m as u, a as v } from "./components.answerquestions.0e877977.mjs";
2
- import { d as _, c as y } from "./http.sysapps.1786b914.mjs";
3
- import { m as b } from "./page.designer.menutree.02ba7d2c.mjs";
4
- import { d as $, e as m } from "./page.designer.componentstree.aa8b51b9.mjs";
5
- import { c as C } from "./form.designer.relevancetree.9f6236b8.mjs";
6
- import { o as x } from "./page.designer.outlinetree.93be7ac0.mjs";
7
- import { p as T, l as k } from "./page.designer.layouts.a04efb60.mjs";
8
- import { e as K, c as S } from "./index.cf8bce6c.mjs";
9
- import { p as D } from "./page.designerp.main.79f9b559.mjs";
10
- import { p as w } from "./page.designerp.properties.9e22da8e.mjs";
11
- import { p as N, u as g } from "./utils.util.js.16b83ff8.mjs";
12
- import { a as P, d as I } from "./http.appmanage.e389782d.mjs";
13
- import { d as O, a as A } from "./http.menumanage.3060f4c7.mjs";
14
- import { s as h } from "./http.translationmanage.31fc6aac.mjs";
15
- import { o as j } from "./page.designer.operation.39bf6856.mjs";
16
- import { G as E } from "./main.faec0761.mjs";
17
- import z from "./layouts.routeview.0ed29d00.mjs";
18
- import { t as L } from "./components.sidemenu.f9c6f1ec.mjs";
19
- import "./http.filemanage.237ea8fc.mjs";
20
- import "./http.questionnaire.6eb24ee9.mjs";
21
- import "./utils.concurrencyrequest.js.dee4fcd2.mjs";
22
- import "./core.bootstrap.604e7264.mjs";
23
- import "./utils.language.js.153d7ab7.mjs";
24
- import "./components.table.46e5f7b8.mjs";
25
- import "./http.tabledevelopment.dfb8eb7f.mjs";
26
- import "vue";
27
- import "./router.config.65dd255f.mjs";
28
- import "./layouts.userlayout.917cdb2e.mjs";
29
- import "./layouts.blanklayout.c0ca4032.mjs";
30
- import "./layouts.trlatout.a8947843.mjs";
31
- import "./store.config.a8f7076a.mjs";
32
- import "./http.loginmanage.05500c29.mjs";
33
- import "./http.usermanage.f3d5587a.mjs";
34
- import "./form.build.807eabbb.mjs";
35
- import "./page.bcomponents.table.9234e90b.mjs";
36
- import "./http.main.573b8993.mjs";
37
- import "./http.syscodegenerateconfigmanage.6d2e5da0.mjs";
38
- import "./http.legal.d2a896d7.mjs";
39
- import "./components.tablevirtual.48aefc4c.mjs";
40
- import "./components.tableumy.f02e6136.mjs";
41
- import "./components.table.childheader.886bb5e9.mjs";
42
- import "./utils.datepicker.js.1202e6ce.mjs";
43
- import "./utils.axios.js.4fec2453.mjs";
44
- import "./components.table.childheaderfilter.a5863bed.mjs";
45
- import "./http.useraffiliation.f2a29f92.mjs";
46
- import "./utils.plug.js.9313aead.mjs";
47
- import "./components.tooltip.789fd22e.mjs";
48
- import "./components.buttonlist.1025d103.mjs";
49
- import "./components.form.9c850f56.mjs";
50
- import "./components.selecttree.aaefa53b.mjs";
51
- import "./components.table.queriesfield.0c9da7cd.mjs";
52
- import "./components.imgpreview.9f4b916e.mjs";
53
- import "./components.modaltitle.db443428.mjs";
54
- import "./components.teamsharing.4ed30b56.mjs";
55
- import "./components.middleware.de7c0ce7.mjs";
56
- import "./components.echarts.7c5e8501.mjs";
57
- import "./components.viewloading.fcfc42cb.mjs";
58
- import "./components.exception.37038125.mjs";
59
- import "./components.uploadfile.8a21a730.mjs";
60
- import "./components.uploadimg.fa7904c6.mjs";
61
- import "./components.watermark.be739fda.mjs";
62
- import "./components.viewformdetails.3ab3d4b1.mjs";
63
- import "./http.codegeneratemanage.4d2fb50a.mjs";
64
- import "./components.buttonblock.f53ac4ec.mjs";
65
- import "./components.selectmultiple.adc9cf2b.mjs";
66
- import "./layouts.basiclayout.ba756cfc.mjs";
67
- import "./layouts.iframe.f2b2206f.mjs";
68
- import "./layouts.pageview.57dd3d43.mjs";
69
- import "./layouts.basiclayoutempty.f20dfc56.mjs";
70
- import "./layouts.basiclayouttop.5ea4efd6.mjs";
71
- import "./search.advanced.327fd0be.mjs";
72
- import "./flow.designer.flowsfilter.3909d81b.mjs";
73
- import "./components.xlsximport.40d427c7.mjs";
74
- import "./page.bmodule.screendands.f1f47ebe.mjs";
75
- import "./page.bmodule.auditlog.564f4370.mjs";
76
- import "./page.audit.log.build.5411e8bf.mjs";
77
- import "./form.designer.duplicate.60ef52a6.mjs";
78
- import "./utils.mixins.js.6f0923ed.mjs";
79
- import "./page.build.a7f5bc44.mjs";
80
- import "./form.designer.build.44a222b7.mjs";
81
- import "./http.duplicatechecking.9b79ce21.mjs";
82
- import "./mobile.bmodule.noticebar.1eb640d8.mjs";
83
- import "./components.xlsxexport.eb819c25.mjs";
84
- import "./components.coloreditor.1bdd12b6.mjs";
85
- import "./page.designerp.generatorecharts.4e8fb3f2.mjs";
86
- import "./table.definition.echartsconfig.11213eaa.mjs";
87
- import "./page.designer.fieldfiltering.2ed8a03f.mjs";
88
- import "./page.application.6ea9a771.mjs";
89
- import "./view.build.c08b0135.mjs";
90
- import "./translation.mains.4a16b907.mjs";
91
- import "./system.translation.57234588.mjs";
92
- import "./page.bcomponents.datalist.ebe77c09.mjs";
93
- import "./page.bcomponents.dialog.34940cbd.mjs";
94
- import "./page.bcomponents.drawer.82b043d9.mjs";
95
- import "./page.bcomponents.drawercontainerlayout.a0f16d57.mjs";
96
- import "./page.designerp.mixins.318e45f8.mjs";
97
- import "./table.definition.fkconfig.c1f383ce.mjs";
98
- import "./http.datasource.aa5cd0d1.mjs";
99
- import "./table.definition.formconfig.a1e3179f.mjs";
100
- import "./table.definition.permissionconfig.9f439200.mjs";
101
- import "./http.posmanage.ee6a7613.mjs";
102
- import "./table.definition.btnconfig.edb31f00.mjs";
103
- import "./table.definition.relconfig1n.b4da0947.mjs";
104
- import "./table.definition.relconfign1.bdbbda84.mjs";
105
- const F = {
106
- data() {
107
- return {
108
- activeNames: ["layout"]
109
- };
110
- },
111
- computed: {},
112
- components: { collapseItem: C },
113
- methods: {},
114
- created() {
115
- }
116
- };
117
- var M = function() {
118
- var t = this, e = t._self._c;
119
- return e("div", { staticClass: "designer-template" }, [e("el-collapse", { model: { value: t.activeNames, callback: function(s) {
120
- t.activeNames = s;
121
- }, expression: "activeNames" } }, [e("el-collapse-item", { attrs: { title: t.$i18nt("gd.page.baseTemplate", "\u57FA\u7840\u6A21\u7248"), name: "layout" } })], 1)], 1);
122
- }, J = [], B = /* @__PURE__ */ d(
123
- F,
124
- M,
125
- J,
126
- !1,
127
- null,
128
- "c6d75591",
129
- null,
130
- null
131
- );
132
- const R = B.exports;
133
- const G = {
134
- props: {
135
- config: {
136
- type: Object,
137
- required: !0
138
- }
139
- },
140
- data() {
141
- return {};
142
- },
143
- watch: {
144
- config: {
145
- handler(i, t) {
146
- this.init(i, t);
147
- },
148
- deep: !0,
149
- immediate: !0
150
- }
151
- },
152
- computed: {
153
- ...u(["primaryColor"])
154
- },
155
- components: { IconSelector: () => import("./components.iconselector.d7c731b8.mjs").then((i) => i.i) },
156
- methods: {
157
- init(i, t) {
158
- t !== void 0 && i.id !== t.id && this.$refs.gdTranslation && this.$refs.gdTranslation.againInit();
159
- },
160
- handleIcon(i = "select") {
161
- this.$refs.iconSelector.open();
162
- },
163
- lookupSeled(i) {
164
- this.config.name = i.defaulttext;
165
- }
166
- }
167
- };
168
- var V = function() {
169
- var t = this, e = t._self._c;
170
- return e("div", { staticClass: "designer-properties" }, [e("div", { staticClass: "properties-content" }, [e("div", { staticClass: "title flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.content", "\u72B6\u6001")))])])]), e("div", { staticClass: "properties-kuang" }, [e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.state", "\u72B6\u6001")))]), e("el-switch", { attrs: { "active-color": t.primaryColor, "active-value": 1, "inactive-value": 0 }, model: { value: t.config.statecodes, callback: function(s) {
171
- t.$set(t.config, "statecodes", s);
172
- }, expression: "config.statecodes" } })], 1), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.name", "\u540D\u79F0")))]), e("div", { staticStyle: { width: "160px" } }, [t.config.transkey ? e("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.config, type: 2 }, on: { lookupSeled: t.lookupSeled } }) : e("el-input", { staticStyle: { width: "160px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: t.config.name, callback: function(s) {
173
- t.$set(t.config, "name", s);
174
- }, expression: "config.name" } })], 1)]), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.code", "\u552F\u4E00\u7F16\u7801")))]), e("el-input", { staticStyle: { width: "160px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "", disabled: "" }, model: { value: t.config.code, callback: function(s) {
175
- t.$set(t.config, "code", s);
176
- }, expression: "config.code" } })], 1), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.icon", "\u56FE\u6807")))]), e("div", { staticClass: "item-operator flex" }, [e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: t.config.icon, callback: function(s) {
177
- t.$set(t.config, "icon", s);
178
- }, expression: "config.icon" } }, [t.config.icon ? e("i", { staticClass: "el-input__icon gd-icons active-color", class: t.config.icon, staticStyle: { "font-weight": "400", "font-size": "16px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : t._e()]), e("div", { staticClass: "item-operator-cao flex" }, [e("i", { staticClass: "el-icon-search", on: { click: t.handleIcon } })])], 1)]), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.sort", "\u6392\u5E8F")))]), e("el-input-number", { staticStyle: { width: "160px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", "controls-position": "right" }, model: { value: t.config.sort, callback: function(s) {
179
- t.$set(t.config, "sort", s);
180
- }, expression: "config.sort" } })], 1)]), e("IconSelector", { ref: "iconSelector", model: { value: t.config.icon, callback: function(s) {
181
- t.$set(t.config, "icon", s);
182
- }, expression: "config.icon" } })], 1);
183
- }, q = [], H = /* @__PURE__ */ d(
184
- G,
185
- V,
186
- q,
187
- !1,
188
- null,
189
- "c1e3f5f5",
190
- null,
191
- null
192
- );
193
- const W = H.exports;
194
- const Y = {
195
- props: {
196
- config: {
197
- type: Object,
198
- required: !0
199
- }
200
- },
201
- data() {
202
- return {};
203
- },
204
- components: { propertiesPc: T },
205
- computed: {
206
- options() {
207
- return this.config.options;
208
- },
209
- ...u(["primaryColor"])
210
- },
211
- methods: {
212
- change() {
213
- this.$emit("changeExtends");
214
- }
215
- }
216
- };
217
- var Q = function() {
218
- var t = this, e = t._self._c;
219
- return e("div", { staticClass: "designer-properties" }, [e("div", { staticClass: "properties-content" }, [e("div", { staticClass: "title flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.openNavigation", "\u540D\u79F0")))]), e("el-radio-group", { attrs: { size: "mini" }, on: { change: t.change }, model: { value: t.options.isNavigation, callback: function(s) {
220
- t.$set(t.options, "isNavigation", s);
221
- }, expression: "options.isNavigation" } }, [e("el-radio-button", { attrs: { label: 1 } }, [t._v(t._s(t.$i18nt("gd.application.open", "\u5F00\u542F")))]), e("el-radio-button", { attrs: { label: 0 } }, [t._v(t._s(t.$i18nt("gd.application.close", "\u5F00\u542F")))])], 1)], 1), t.options.isNavigation ? [e("el-divider"), e("div", { staticClass: "title flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.application.basicLayout", "\u57FA\u672C\u5E03\u5C40")))]), e("el-radio-group", { attrs: { size: "mini" }, on: { change: t.change }, model: { value: t.options.isInherit, callback: function(s) {
222
- t.$set(t.options, "isInherit", s);
223
- }, expression: "options.isInherit" } }, [e("el-radio-button", { attrs: { label: 1 } }, [t._v(t._s(t.$i18nt("gd.application.inherit", "\u7EE7\u627F")))]), e("el-radio-button", { attrs: { label: 0 } }, [t._v(t._s(t.$i18nt("gd.application.custom", "\u81EA\u5B9A\u4E49")))])], 1)], 1)] : t._e()], 2), e("el-divider"), t.options.isNavigation === 1 && t.options.isInherit === 0 ? e("propertiesPc", { attrs: { options: t.options } }) : t._e()], 1);
224
- }, U = [], X = /* @__PURE__ */ d(
225
- Y,
226
- Q,
227
- U,
228
- !1,
229
- null,
230
- "b29db9cb",
231
- null,
232
- null
233
- );
234
- const Z = X.exports;
235
- const tt = {
236
- props: {
237
- config: {
238
- type: Object,
239
- required: !0
240
- }
241
- },
242
- data() {
243
- return {};
244
- },
245
- watch: {
246
- config: {
247
- handler(i, t) {
248
- this.init(i, t);
249
- },
250
- deep: !0,
251
- immediate: !0
252
- }
253
- },
254
- components: { IconSelector: () => import("./components.iconselector.d7c731b8.mjs").then((i) => i.i) },
255
- computed: {
256
- ...u(["primaryColor"])
257
- },
258
- methods: {
259
- init(i, t) {
260
- t !== void 0 && i.id !== t.id && this.$refs.gdTranslation && this.$refs.gdTranslation.againInit();
261
- },
262
- handleIcon(i = "select") {
263
- this.$refs.iconSelector.open();
264
- },
265
- getDictionary(i) {
266
- return this.$options.filters.dictData(i);
267
- },
268
- lookupSeled(i) {
269
- this.config.name = i.defaulttext;
270
- }
271
- }
272
- };
273
- var et = function() {
274
- var t = this, e = t._self._c;
275
- return e("div", { staticClass: "designer-properties" }, [e("div", { staticClass: "properties-content" }, [e("div", { staticClass: "title flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.content", "\u5185\u5BB9")))])])]), e("div", { staticClass: "properties-kuang" }, [e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.visibleOrNot", "\u662F\u5426\u53EF\u89C1")))]), e("el-switch", { attrs: { "active-color": t.primaryColor, "active-value": "Y", "inactive-value": "N" }, model: { value: t.config.visible, callback: function(s) {
276
- t.$set(t.config, "visible", s);
277
- }, expression: "config.visible" } })], 1), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.name", "\u540D\u79F0")))]), e("div", { staticStyle: { width: "160px" } }, [t.config.transkey ? e("gd-translation", { ref: "gdTranslation", attrs: { recordData: t.config, type: 2 }, on: { lookupSeled: t.lookupSeled } }) : e("el-input", { staticClass: "name_input", staticStyle: { width: "160px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: t.config.name, callback: function(s) {
278
- t.$set(t.config, "name", s);
279
- }, expression: "config.name" } })], 1)]), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.code", "\u552F\u4E00\u7F16\u7801")))]), e("el-input", { staticStyle: { width: "160px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "", disabled: "" }, model: { value: t.config.code, callback: function(s) {
280
- t.$set(t.config, "code", s);
281
- }, expression: "config.code" } })], 1), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.router", "\u8DEF\u7531\u5730\u5740")))]), e("el-input", { staticStyle: { width: "160px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "", type: "textarea" }, model: { value: t.config.router, callback: function(s) {
282
- t.$set(t.config, "router", s);
283
- }, expression: "config.router" } }, [e("template", { slot: "prepend" }, [t._v("/")])], 2)], 1), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.icon", "\u56FE\u6807")))]), e("div", { staticClass: "item-operator flex" }, [e("el-input", { attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: t.config.icon, callback: function(s) {
284
- t.$set(t.config, "icon", s);
285
- }, expression: "config.icon" } }, [t.config.icon ? e("i", { staticClass: "el-input__icon gd-icons active-color", class: t.config.icon, staticStyle: { "font-size": "20px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : t._e()]), e("div", { staticClass: "item-operator-cao flex" }, [e("i", { staticClass: "el-icon-search", on: { click: t.handleIcon } })])], 1)]), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.weight", "\u6743\u91CD")))]), e("el-select", { staticStyle: { width: "160px" }, model: { value: t.config.weight, callback: function(s) {
286
- t.$set(t.config, "weight", s);
287
- }, expression: "config.weight" } }, [t._l(t.getDictionary("menu_weight"), function(s) {
288
- return [e("el-option", { key: s.code, attrs: { label: t.$i18nt(`Dynamics.${s.transKey}`, s.name), value: Number(s.code) } })];
289
- })], 2)], 1), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.sort", "\u6392\u5E8F")))]), e("el-input-number", { staticStyle: { width: "160px" }, attrs: { placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", "controls-position": "right" }, model: { value: t.config.sort, callback: function(s) {
290
- t.$set(t.config, "sort", s);
291
- }, expression: "config.sort" } })], 1), e("div", { staticClass: "item flex" }, [e("div", [t._v(t._s(t.$i18nt("gd.directory.remark", "\u5907\u6CE8")))]), e("el-input", { staticStyle: { width: "160px" }, attrs: { type: "textarea", placeholder: t.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), autosize: { minRows: 4, maxRows: 6 } }, model: { value: t.config.remark, callback: function(s) {
292
- t.$set(t.config, "remark", s);
293
- }, expression: "config.remark" } })], 1)]), e("IconSelector", { ref: "iconSelector", model: { value: t.config.icon, callback: function(s) {
294
- t.$set(t.config, "icon", s);
295
- }, expression: "config.icon" } })], 1);
296
- }, it = [], st = /* @__PURE__ */ d(
297
- tt,
298
- et,
299
- it,
300
- !1,
301
- null,
302
- "39e61258",
303
- null,
304
- null
305
- );
306
- const at = st.exports;
307
- const nt = {
308
- data() {
309
- return {};
310
- },
311
- components: {
312
- emptyControl: K
313
- },
314
- methods: {}
315
- };
316
- var ot = function() {
317
- var t = this, e = t._self._c;
318
- return e("div", { staticClass: "designer-properties" }, [e("emptyControl")], 1);
319
- }, rt = [], ct = /* @__PURE__ */ d(
320
- nt,
321
- ot,
322
- rt,
323
- !1,
324
- null,
325
- "68e57fd2",
326
- null,
327
- null
328
- );
329
- const lt = ct.exports;
330
- const dt = {
331
- props: {
332
- activeKey: {
333
- type: String,
334
- default: "page"
335
- },
336
- doneFun: {
337
- type: Function
338
- }
339
- },
340
- components: {
341
- menuTree: b,
342
- componentsTree: $,
343
- templateTree: R,
344
- outlineTree: x,
345
- layoutsProperties: k,
346
- componentPanel: S
347
- },
348
- data() {
349
- return {
350
- statu: !0,
351
- selectedNode: {},
352
- show: !1,
353
- record: {},
354
- outlineTreeData: {
355
- dialogTree: [],
356
- pageTree: [],
357
- componentsList: []
358
- },
359
- allPermission: [],
360
- treeData: [],
361
- navParameters: {},
362
- selectItem: {
363
- key: ""
364
- },
365
- activeTab: "attribute",
366
- dataConfig: {
367
- list: [],
368
- addTransKey: []
369
- },
370
- config: {},
371
- platformData: {}
372
- };
373
- },
374
- watch: {
375
- config: {
376
- handler(i, t) {
377
- if (this.statu)
378
- return;
379
- const e = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` == `${i.id}_${i.sysAppsIded}`)[0];
380
- if (e === void 0) {
381
- const n = JSON.parse(JSON.stringify(i)), o = Object.assign(n, {
382
- basicAttribute: "",
383
- children: [],
384
- options: i.modeType === "application" ? { ...this.platformData } : i.modeType === "navigation" ? { ...i.options } : { ...this.dataConfig }
385
- });
386
- this.PageDesignerData(this.pageDesignerData.concat([o]));
387
- return;
388
- }
389
- const s = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` != `${i.id}_${i.sysAppsIded}`);
390
- let a = Object.assign({ ...e }, { ...i }, { children: [] });
391
- i.modeType === "page" && Object.assign(a, { options: { ...this.dataConfig } }), this.PageDesignerData(s.concat([a]));
392
- },
393
- deep: !0,
394
- immediate: !0
395
- },
396
- navParameters: {
397
- handler(i, t) {
398
- if (this.statu)
399
- return;
400
- const e = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` == `${this.config.id}_${this.config.sysAppsIded}`)[0];
401
- if (e === void 0)
402
- return;
403
- const s = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` != `${e.id}_${e.sysAppsIded}`);
404
- let a = Object.assign(
405
- { ...e },
406
- {
407
- children: [],
408
- options: e.modeType === "navigation" ? JSON.parse(JSON.stringify(this.platformData)) : JSON.parse(JSON.stringify(this.config.options))
409
- }
410
- );
411
- e.modeType !== "navigation" && this.PageDesignerData(s.concat([a]));
412
- },
413
- deep: !0,
414
- immediate: !0
415
- }
416
- },
417
- computed: {
418
- prefixKey() {
419
- return N("sm", this.config.id);
420
- },
421
- componentAttribute() {
422
- return { application: W, directory: at, page: D }[this.config.modeType];
423
- },
424
- componentProperties() {
425
- return { application: Z, directory: lt, page: w }[this.config.modeType];
426
- },
427
- disabled() {
428
- return this.config.modeType === "directory";
429
- },
430
- disabledDraggable() {
431
- return this.config.modeType !== "page";
432
- },
433
- getComponentsTree() {
434
- return m;
435
- },
436
- ...u(["pageDesignerData"])
437
- },
438
- methods: {
439
- init(i) {
440
- const t = this.pageDesignerData.filter((a) => `0_${a.sysAppsIded}` == `0_${i.id}` && a.id === 0)[0];
441
- let e = { ...i.basicattribute };
442
- if (t && t.updatedtime === i.updatedtime && (e = { ...t.options }), t && t.updatedtime !== this.record.updatedtime) {
443
- const a = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` != `${t.id}_${t.sysAppsIded}`);
444
- this.PageDesignerData(a);
445
- }
446
- e.pc.menus.filter((a) => a.key === "logout")[0] || (e.pc.menus = e.pc.menus.concat([
447
- {
448
- name: "\u9000\u51FA\u767B\u5F55",
449
- key: "logout",
450
- statu: !0,
451
- disabled: !1,
452
- transkey: "gd.menu.logOut"
453
- }
454
- ])), this.record = Object.assign(i, { basicAttribute: { ...e } }), this.platformData = e, this.$nextTick(() => {
455
- setTimeout(() => {
456
- this.show = !0;
457
- }, 10);
458
- });
459
- },
460
- outlineTreeList(i) {
461
- this.outlineTreeData = { ...i };
462
- },
463
- async outlineSelectItem(i, t) {
464
- const e = t.filter((r) => ["dialog", "drawer"].includes(r.type))[0];
465
- let s = t.filter((r) => r.key === i.pid)[0], a = {}, n = {}, o = {}, c = {};
466
- const p = (r) => (r = r.filter((l, kt) => (l.key === i.pid && (s = { ...l }), l.key === i.key && (a = l), e && l.key === e.key && (n = { ...l }), s && l.key === s.pid && (c = { ...l }), ["grid", "tabs", "collapse", "drawer", "dialog"].includes(l.type) ? l.columns.forEach((f) => {
467
- s && f.key === s.key && (o = { ...f }), f.key === i.key && (a = Object.assign(f, { prohibitDelete: !0 })), p(f.list);
468
- }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(l.type) && p(l.list), !0)), r);
469
- await p(this.dataConfig.list), this.selectItem.options && this.selectItem.options.closed && n.options && this.selectItem.key !== n.key && this.selectItem.options.closed(), ["tabs"].includes(c.type) ? c.options.activeKey = o.key : s !== void 0 && ["tabs"].includes(s.type) && c.type === void 0 && (s.options.activeKey = i.key), ["collapse"].includes(c.type) ? c.options.activeKey = c.options.activeKey.filter((r) => r !== o.key).concat([o.key]) : s !== void 0 && ["collapse"].includes(s.type) && c.type === void 0 && (s.options.activeKey = s.options.activeKey.filter((r) => r !== i.key).concat([i.key])), ["dialog", "drawer"].includes(a.type) && (n = a), this.$nextTick(() => {
470
- this.dataConfig.list.filter((r) => {
471
- ["dialog", "drawer"].includes(r.type) && r.options.visible && n.key !== r.key && r.options.closed();
472
- }), this.selectItem = a, this.$refs.componentPanel.getPosition(a), this.changeTab({ name: "style" }), setTimeout(() => {
473
- n.options && n.options.open !== void 0 ? n.options && n.options.open() : n.options && n.options.visible !== void 0 && (n.options.visible = !0);
474
- }, 10);
475
- });
476
- },
477
- changeExtends() {
478
- this.$refs.menuTree.getNavParameters(this.config);
479
- },
480
- handleSetSelectItem(i) {
481
- i.type === "statistic" && i.backgroundImage !== void 0 && Object.assign(i.backgroundImage, {
482
- position: i.backgroundImage.position.map((t) => t === null ? void 0 : t)
483
- }), this.selectItem = i, this.changeTab({ name: "style" }), this.handleSetDialog(i), this.$refs.componentPanel.getPosition(i);
484
- },
485
- handleDel() {
486
- this.$refs.componentPanel.handleDelete();
487
- },
488
- handleSetDialog(i) {
489
- if (!["drawer", "dialog"].includes(i.type) || this.dataConfig.list.filter((a) => a.key === i.key)[0])
490
- return;
491
- const e = (a) => (a = a.filter((n) => (["grid", "tabs", "collapse", "drawer", "dialog"].includes(n.type) ? (n.columns = n.columns.filter((o) => o.key !== i.key), n.columns.forEach((o, c) => {
492
- n.columns[c].list = o.list.filter((p) => p.key !== i.key), e(o.list);
493
- })) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(n.type) && (n.list = n.list.filter((o) => o.key !== i.key), e(n.list)), !0)), a);
494
- e(this.dataConfig.list);
495
- const s = this.dataConfig.list.filter((a) => a.options.visible);
496
- this.$nextTick(() => {
497
- setTimeout(() => {
498
- s.forEach((a) => {
499
- a.options.closed && a.options.closed();
500
- });
501
- }, 200);
502
- }), this.dataConfig.list.push(JSON.parse(JSON.stringify(i))), this.selectItem = this.dataConfig.list[this.dataConfig.list.length - 1];
503
- },
504
- handleDelete(i) {
505
- },
506
- handleEnd(i) {
507
- },
508
- handleStart(i) {
509
- },
510
- handleListPush(i) {
511
- if (this.disabledDraggable)
512
- return;
513
- const t = m.filter((a) => a.type === i.type)[0];
514
- ["dialog", "drawer"].includes(this.selectItem.type) && this.dataConfig.list.filter((a) => {
515
- ["dialog", "drawer"].includes(a.type) && (a.options.visible = !1, a.options.closed && a.options.closed());
516
- });
517
- const e = t.type + "_" + g(8), s = JSON.parse(JSON.stringify(t));
518
- if (s.columns !== void 0) {
519
- const a = s.columns.map((n) => (n.key = n.type + "_" + g(8), n));
520
- Object.assign(s, { key: e, columns: a });
521
- } else
522
- Object.assign(s, { key: e });
523
- if ([
524
- "input",
525
- "textarea",
526
- "editor",
527
- "inputNumber",
528
- "switch",
529
- "radio",
530
- "checkbox",
531
- "select",
532
- "uploadImg",
533
- "uploadFile",
534
- "datePicker",
535
- "timePicker",
536
- "selectMultiple"
537
- ].includes(s.type) && (s.options.columnName = e), !this.selectItem.key)
538
- return this.dataConfig.list.push(s), this.handleSetSelectItem(s), !1;
539
- ["dialog", "drawer"].includes(t.type) ? (Object.assign(s, { key: e }), this.handleSetSelectItem(s)) : this.$refs.componentPanel.handleCopy(!1, s);
540
- },
541
- generateKey(i, t) {
542
- const e = i[t].type + "_" + g(8);
543
- if ([
544
- "input",
545
- "textarea",
546
- "editor",
547
- "inputNumber",
548
- "switch",
549
- "radio",
550
- "checkbox",
551
- "select",
552
- "uploadImg",
553
- "uploadFile",
554
- "datePicker",
555
- "timePicker",
556
- "selectMultiple"
557
- ].includes(i[t].type) && (i[t].options.columnName = e), i[t].columns !== void 0) {
558
- let s = [];
559
- const a = i[t].columns.map((n) => (s.push(n.key), Object.assign(n, {
560
- key: n.type + "_" + g(8),
561
- list: []
562
- })));
563
- this.$set(i, t, {
564
- ...i[t],
565
- key: e,
566
- columns: a,
567
- options: ["tabs", "collapse"].includes(i[t].type) ? Object.assign({ ...i[t].options }, { activeKey: i[t].type === "collapse" ? s : s[0] }) : i[t].options
568
- });
569
- } else
570
- this.$set(i, t, {
571
- ...i[t],
572
- key: e
573
- });
574
- },
575
- changeTab(i) {
576
- this.activeTab = i.name;
577
- },
578
- changeTree(i) {
579
- this.statu = !0, this.config = i.data, this.activeTab = "attribute", this.claearItem(), this.getDataConfig(i), this.selectedNode = i;
580
- },
581
- changeNav(i, t) {
582
- this.navParameters = i, this.treeData = t, this.$nextTick(() => {
583
- setTimeout(() => {
584
- this.statu = !1;
585
- }, 10);
586
- });
587
- },
588
- changePermission(i) {
589
- this.allPermission = i;
590
- },
591
- getDataConfig(i) {
592
- if (i.data.modeType === "page") {
593
- this.dataConfig = Object.assign(i.data.options, {
594
- addTransKey: i.data.options.addTransKey ? i.data.options.addTransKey : []
595
- });
596
- return;
597
- }
598
- this.dataConfig = {
599
- list: [],
600
- addTransKey: []
601
- };
602
- },
603
- claearItem() {
604
- this.selectItem = {
605
- key: ""
606
- }, this.$refs.componentPanel.getPosition(this.selectItem);
607
- },
608
- handleClearCache() {
609
- this.$confirm(this.$i18nt("gd.https.clearCache", "\u6E05\u7406\u672C\u5730\u7F13\u5B58"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
610
- confirmButtonText: this.$i18nt("gd.https.emptyOk", "\u786E\u8BA4\u6E05\u7A7A"),
611
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
612
- showClose: !1,
613
- confirmButtonLoading: !1,
614
- cancelButtonLoading: !1,
615
- closeOnClickModal: !1,
616
- type: "warning",
617
- confirmButtonClass: "el-button--danger",
618
- customClass: "custom-alert",
619
- callback: () => {
620
- },
621
- beforeClose: (i, t, e) => {
622
- e(), i === "confirm" && (this.delClearTransKey(this.pageDesignerData), this.PageDesignerData([]));
623
- }
624
- });
625
- },
626
- handleClear() {
627
- this.config.modeType === "page" && this.$confirm(this.$i18nt("gd.https.emptyContent", "\u662F\u5426\u6E05\u7A7A\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
628
- confirmButtonText: this.$i18nt("gd.https.emptyOk", "\u786E\u8BA4\u6E05\u7A7A"),
629
- cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
630
- showClose: !1,
631
- confirmButtonLoading: !1,
632
- cancelButtonLoading: !1,
633
- closeOnClickModal: !1,
634
- type: "warning",
635
- confirmButtonClass: "el-button--danger",
636
- customClass: "custom-alert",
637
- callback: () => {
638
- },
639
- beforeClose: (i, t, e) => {
640
- e(), i === "confirm" && (this.dataConfig = Object.assign(this.dataConfig, {
641
- list: []
642
- }), this.config = Object.assign(this.config, {
643
- options: {
644
- list: []
645
- },
646
- pageContent: JSON.stringify({
647
- list: []
648
- })
649
- }));
650
- }
651
- });
652
- },
653
- handleSubmit() {
654
- this.config.modeType === "navigation" ? this.editNavigation() : this.config.modeType === "application" ? this.editApplication() : this.editMenus();
655
- },
656
- async editNavigation() {
657
- this.doneFun(!0);
658
- const i = await this.sysAppsDetail();
659
- _(Object.assign(i, { basicattribute: JSON.stringify(this.platformData) })).then(async (t) => {
660
- if (t.success) {
661
- const e = await this.sysAppsDetail();
662
- this.record = Object.assign(this.record, t.data, {
663
- basicattribute: JSON.parse(e.basicattribute)
664
- }), this.platformData = this.record.basicAttribute, this.$nextTick(() => {
665
- setTimeout(() => {
666
- this.$refs.menuTree.updateTree(e, this.config.modeType);
667
- }, 0);
668
- }), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"));
669
- } else
670
- this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message);
671
- this.doneFun(!1);
672
- });
673
- },
674
- editApplication() {
675
- this.doneFun(!0), Promise.all([this.sysAppEditData(), this.sysAppEditStatu()]).then((i) => {
676
- const t = i.filter((e) => !e.success)[0];
677
- t ? this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message) : (this.$refs.menuTree.updateTree(this.config, this.config.modeType), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))), this.doneFun(!1);
678
- });
679
- },
680
- async editMenus() {
681
- this.doneFun(!0);
682
- let i = this.config.modeType === "directory" ? { ...this.config.options } : { ...this.dataConfig }, t = { addTransKey: i.addTransKey, pagecontent: this.config.pagecontent, modeType: this.config.modeType, options: i };
683
- if (this.config.modeType === "page") {
684
- i = await this.foreignMenus(i);
685
- const s = await this.sysMenuDetail(this.config), a = s.updatedtime === this.config.updatedtime ? {} : { oldPagecontent: s.pagecontent };
686
- Object.assign(t, a);
687
- }
688
- const e = this.config.expansion ? this.config.expansion : {
689
- padding: [12, 12, 12, 12],
690
- margin: [0, 0, 0, 0],
691
- bjColor: "#fff",
692
- radius: [0, 0, 0, 0],
693
- customCss: "",
694
- customClass: ""
695
- };
696
- O(
697
- Object.assign(
698
- { ...this.config },
699
- {
700
- pagecontent: JSON.stringify(
701
- Object.assign(i, {
702
- addTransKey: []
703
- })
704
- ),
705
- expansion: JSON.stringify(e),
706
- children: [],
707
- basicattribute: void 0,
708
- pid: this.config.opid
709
- }
710
- )
711
- ).then((s) => {
712
- s.success ? (this.$refs.menuTree.updateTree(this.config, this.config.modeType), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.delEditTransKey(t)) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + s.message), this.doneFun(!1);
713
- });
714
- },
715
- sysMenuDetail(i) {
716
- return A({ id: i.id }).then((t) => t.data);
717
- },
718
- async delEditTransKey(i) {
719
- if (i.modeType !== "page")
720
- return;
721
- const t = await this.getAllTransKey(JSON.parse(i.pagecontent)), e = await this.getAllTransKey(i.options);
722
- let s = i.addTransKey.concat(t).filter((a) => !e.includes(a));
723
- if (i.oldPagecontent !== void 0) {
724
- const n = (await this.getAllTransKey(JSON.parse(i.oldPagecontent))).filter((o) => !e.includes(o));
725
- s = s.concat(n);
726
- }
727
- s.length != 0 && h({ name: s.join(",") });
728
- },
729
- delClearTransKey(i) {
730
- if (i.length === 0)
731
- return;
732
- let t = [];
733
- i.forEach((e) => {
734
- e.id !== this.config.id && (t = t.concat(e.options.addTransKey ? e.options.addTransKey : []));
735
- }), t.length != 0 && h({ name: t.join(",") });
736
- },
737
- getAllTransKey(i) {
738
- let t = [];
739
- const e = (s) => (s = s.filter((a, n) => {
740
- if (a.options)
741
- for (let o in a.options)
742
- ["transKey", "subtransKey", "suffixTransKey", "prefixTransKey", "placeholderTransKey"].includes(o) && a.options[o] && !a.options[o].startsWith("gd.") && t.push(a.options[o]);
743
- ["dataFiltering"].includes(a.type) && a.options.modeType === "customize" ? a.queryList.forEach((o) => {
744
- o.transKey && t.push(o.transKey);
745
- }) : ["gridMenu", "graphicMenu"].includes(a.type) ? a.menuList.forEach((o) => {
746
- o.transKey && t.push(o.transKey), o.describeTransKey && t.push(o.describeTransKey);
747
- }) : ["btnGroup"].includes(a.type) ? a.btnList.forEach((o) => {
748
- o.transKey && !o.transKey.startsWith("gd.") && t.push(o.transKey);
749
- }) : ["tableGrid"].includes(a.type) ? a.operationuList.forEach((o) => {
750
- o.transKey && t.push(o.transKey);
751
- }) : ["chartBI"].includes(a.type) && a.options.dataType === "custom" && a.fieldData.forEach((o) => {
752
- o.transkey && t.push(o.transkey);
753
- }), ["statistic"].includes(a.type) && (a.options = Object.assign(a.options, {
754
- titlePrefix: a.options.titlePrefix ? a.options.titlePrefix : {
755
- name: "",
756
- transKey: null,
757
- type: "text",
758
- icon: "",
759
- open: !1,
760
- color: "#333",
761
- fontSize: "14",
762
- fontWeight: "normal"
763
- },
764
- titleSuffix: a.options.titlePrefix ? a.options.titlePrefix : {
765
- name: "",
766
- transKey: null,
767
- type: "text",
768
- icon: "",
769
- open: !1,
770
- color: "#333",
771
- fontSize: "14",
772
- fontWeight: "normal"
773
- }
774
- }), a.options.transKey && t.push(a.options.transKey), a.options.titlePrefix.transKey && t.push(a.options.titlePrefix.transKey), a.options.titleSuffix.transKey && t.push(a.options.titleSuffix.transKey)), ["grid", "tabs", "collapse", "drawer", "dialog"].includes(a.type) ? a.columns.forEach((o) => {
775
- e(o.list), o.transKey && t.push(o.transKey);
776
- }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(a.type) ? e(a.list) : ["title"].includes(a.type) ? a.options = Object.assign(a.options, {
777
- subtransKey: null
778
- }) : ["dataFields"].includes(a.type) && a.fieldList.forEach((o) => {
779
- o.transKey && t.push(o.transKey);
780
- });
781
- }), s);
782
- return e(i.list), t;
783
- },
784
- async foreignMenus(i) {
785
- let t = [];
786
- const e = (a) => (a = a.filter((n, o) => (n.fieldContext && (n.fieldContext = []), n.type === "dataList" && t.push(n), n.columns ? n.columns.forEach((c) => {
787
- e(c.list);
788
- }) : n.list && e(n.list), !0)), a);
789
- await e(i.list);
790
- let s = [];
791
- return t.forEach((a) => {
792
- const n = a.options.foreignContextName ? a.options.foreignContextName.split(",") : [];
793
- if (n.length > 0 && a.options.table.id && a.options.view.id) {
794
- const o = `${n[0]}${n[1]}`;
795
- s.push({
796
- key: n[2],
797
- fkName: o.replace(/_|-/g, "").toLowerCase(),
798
- refKeyName: n[0],
799
- pageSize: a.options.pageSize,
800
- tableId: a.options.table.id,
801
- viewId: a.options.view.id,
802
- pageSizeMode: a.options.pageSizeMode
803
- });
804
- }
805
- }), s.length > 0 && t.forEach((a, n) => {
806
- const o = s.filter((c) => c.key === a.key);
807
- t[n].options = Object.assign(a.options, {
808
- foreignBind: o
809
- });
810
- }), i;
811
- },
812
- sysAppEditData() {
813
- const i = { ...this.config.options }, t = Object.assign(
814
- {},
815
- { ...this.config },
816
- {
817
- isinherit: i.isInherit,
818
- isnavigation: i.isNavigation,
819
- basicattribute: JSON.stringify(i),
820
- children: []
821
- }
822
- );
823
- return t.basicAttribute !== void 0 && delete t.basicAttribute, P(t).then((e) => e);
824
- },
825
- sysAppEditStatu() {
826
- return I({ id: this.config.id, stateCodes: this.config.statecodes }).then((i) => i);
827
- },
828
- sysAppsDetail() {
829
- return y({ id: this.record.id }).then((i) => i.code === 200 ? i.data : this.record);
830
- },
831
- doEvent(i) {
832
- let t = i.item.functionName;
833
- this[t] && this[t]();
834
- },
835
- ...v(["PageDesignerData"])
836
- }
837
- };
838
- var pt = function() {
839
- var t = this, e = t._self._c;
840
- return t.show ? e("div", { staticClass: "designer-panel" }, [e("div", { staticClass: "designer-conner-lcolumn" }, [e("menuTree", { directives: [{ name: "show", rawName: "v-show", value: t.activeKey === "menu", expression: "activeKey === 'menu'" }], ref: "menuTree", attrs: { platformData: t.platformData, record: t.record, prefixKey: t.prefixKey }, on: { change: t.changeTree, changeNav: t.changeNav, permission: t.changePermission } }), e("componentsTree", { directives: [{ name: "show", rawName: "v-show", value: t.activeKey === "components", expression: "activeKey === 'components'" }], ref: "componentsTree", attrs: { disabled: t.disabledDraggable }, on: { generateKey: t.generateKey, handleListPush: t.handleListPush, start: t.handleStart } }), e("templateTree", { directives: [{ name: "show", rawName: "v-show", value: t.activeKey === "template", expression: "activeKey === 'template'" }], ref: "templateTree", attrs: { disabled: t.disabledDraggable }, on: { generateKey: t.generateKey, handleListPush: t.handleListPush, start: t.handleStart } }), e("outlineTree", { directives: [{ name: "show", rawName: "v-show", value: t.activeKey === "outline", expression: "activeKey === 'outline'" }], ref: "outlineTree", attrs: { data: t.dataConfig, selectItemKey: t.selectItem.key }, on: { handleSelectItem: t.outlineSelectItem, outlineTree: t.outlineTreeList } })], 1), e("div", { staticClass: "designer-conner-box" }, [e("componentPanel", { ref: "componentPanel", attrs: { selectItem: t.selectItem, data: t.dataConfig, config: t.config, disabled: t.disabledDraggable, navParameters: t.navParameters, treeData: t.treeData, develop: 1 }, on: { handleSetSelectItem: t.handleSetSelectItem, handleDelete: t.handleDelete } })], 1), e("div", { staticClass: "designer-conner-rcolumn" }, [t.config.modeType === "navigation" ? [e("el-tabs", { attrs: { type: "border-card" }, on: { "tab-click": t.changeTab }, model: { value: t.activeTab, callback: function(s) {
841
- t.activeTab = s;
842
- }, expression: "activeTab" } }, [e("el-tab-pane", { attrs: { label: t.$i18nt("gd.page.pcNavigationConfiguration", "PC\u5BFC\u822A\u914D\u7F6E"), name: "attribute" } }, [e("layoutsProperties", { ref: "layoutsProperties", attrs: { config: t.config, mode: "pc", platformData: t.platformData } })], 1), e("el-tab-pane", { attrs: { label: t.$i18nt("gd.page.mobileNavigationConfiguration", "\u79FB\u52A8\u7AEF\u5BFC\u822A\u914D\u7F6E"), name: "style" } }, [e("layoutsProperties", { ref: "layoutsProperties", attrs: { config: t.config, mode: "mobile", platformData: t.platformData } })], 1)], 1)] : [e("el-tabs", { attrs: { type: "border-card" }, on: { "tab-click": t.changeTab }, model: { value: t.activeTab, callback: function(s) {
843
- t.activeTab = s;
844
- }, expression: "activeTab" } }, [e("el-tab-pane", { attrs: { label: t.$i18nt("gd.panel.basicAttribute", "\u57FA\u672C\u5C5E\u6027"), name: "attribute" } }, [e(t.componentAttribute, { tag: "component", attrs: { config: t.config, allPermission: t.allPermission }, on: { permission: t.changePermission } })], 1), e("el-tab-pane", { staticStyle: { height: "100%" }, attrs: { label: t.$i18nt("gd.panel.componentStyle", "\u7EC4\u4EF6\u6837\u5F0F"), name: "style", disabled: t.disabled } }, [e(t.componentProperties, { tag: "component", attrs: { config: t.config, selectItem: t.selectItem, data: t.dataConfig, outlineTreeData: t.outlineTreeData, prefixKey: t.prefixKey, operationSource: "designer" }, on: { changeExtends: t.changeExtends, handleDelete: t.handleDel, handleSetSelectItem: t.handleSetSelectItem } })], 1)], 1)]], 2)]) : t._e();
845
- }, ft = [], ut = /* @__PURE__ */ d(
846
- dt,
847
- pt,
848
- ft,
849
- !1,
850
- null,
851
- "24825551",
852
- null,
853
- null
854
- );
855
- const gt = ut.exports;
856
- const mt = {
857
- name: "GdPageView",
858
- data() {
859
- return {};
860
- },
861
- components: {
862
- routeView: z,
863
- tagMenus: L
864
- },
865
- methods: {},
866
- created() {
867
- }
868
- };
869
- var ht = function() {
870
- var t = this, e = t._self._c;
871
- return e("div", { staticClass: "gd-page", staticStyle: { "border-radius": "6px", "min-height": "calc(100vh - 58px)" } }, [e("tagMenus"), e("div", { staticClass: "gd-page-content" }, [e("route-view", [t._v("11")])], 1)], 1);
872
- }, yt = [], vt = /* @__PURE__ */ d(
873
- mt,
874
- ht,
875
- yt,
876
- !1,
877
- null,
878
- "1673b1ad",
879
- null,
880
- null
881
- );
882
- const _t = vt.exports;
883
- const bt = [
884
- { name: "\u9875\u9762", icon: "gd-icon-yemian1", transKey: "gd.basics.page", key: "menu" },
885
- { name: "\u7EC4\u4EF6", icon: "gd-icon-kaifazujian", transKey: "gd.basics.component", key: "components" },
886
- { name: "\u5927\u7EB2", icon: "gd-icon-dagangshu", transKey: "gd.basics.outline", key: "outline" },
887
- { name: "\u6570\u636E", icon: "gd-icon-jichushuju1", transKey: "gd.basics.data", key: "table" }
888
- ], $t = {
889
- name: "GdPageDesigner",
890
- data() {
891
- return {
892
- record: {},
893
- menus: bt,
894
- visible: !1,
895
- loading: !1,
896
- activeKey: "menu",
897
- sysViewButtons: [
898
- {
899
- displayName: "\u6E05\u7406\u672C\u5730\u7F13\u5B58",
900
- functionName: "handleClearCache",
901
- show: !0,
902
- transKey: "gd.https.clearCache",
903
- btnType: "danger",
904
- icon: "el-icon-delete"
905
- },
906
- {
907
- displayName: "\u6E05\u7A7A",
908
- functionName: "handleClear",
909
- show: !0,
910
- transKey: "gd.btn.empty",
911
- btnType: "danger",
912
- icon: "el-icon-delete"
913
- },
914
- {
915
- displayName: "\u4FDD\u5B58",
916
- functionName: "handleSubmit",
917
- show: !0,
918
- transKey: "gd.btn.save",
919
- icon: "el-icon-document-checked"
920
- },
921
- {
922
- displayName: "\u8FD4\u56DE",
923
- functionName: "handleClosed",
924
- show: !0,
925
- transKey: "gd.btn.back",
926
- btnType: "danger",
927
- icon: "el-icon-arrow-left"
928
- }
929
- ]
930
- };
931
- },
932
- computed: {
933
- tableHeight() {
934
- return this.screenHeight - 68 - 100;
935
- },
936
- ...u(["tablePageSize", "tableSize", "screenHeight", "primaryColor"])
937
- },
938
- components: { panelArea: gt, operationMenus: j, tableDevelopment: E, pageMenu: _t },
939
- methods: {
940
- switchKey(i) {
941
- this.activeKey = i;
942
- },
943
- open(i) {
944
- this.activeKey = "menu", this.loading = !0, this.record = i, this.visible = !0, y({ id: i.id }).then((t) => {
945
- t.code === 200 && Object.assign(this.record, t.data, {
946
- basicattribute: JSON.parse(t.data.basicattribute)
947
- }), this.$nextTick(() => {
948
- setTimeout(() => {
949
- this.$refs.panelArea.init(this.record), this.loading = !1;
950
- }, 0);
951
- });
952
- });
953
- },
954
- handleClosed() {
955
- this.visible = !1, this.$emit("closed");
956
- },
957
- doneFun(i) {
958
- this.loading = i;
959
- },
960
- doEvent(i) {
961
- if (["handleSubmit", "handleClear", "handleConfig", "handleClearCache"].includes(i.item.functionName)) {
962
- this.$refs.panelArea.doEvent(i);
963
- return;
964
- }
965
- let e = i.item.functionName;
966
- this[e] && this[e]();
967
- }
968
- }
969
- };
970
- var Ct = function() {
971
- var t = this, e = t._self._c;
972
- return e("div", [e("el-dialog", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], ref: "dialog", staticClass: "gd-page-designer", attrs: { fullscreen: !0, visible: t.visible, width: "100%", center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, "show-close": !1, top: "0px" }, on: { "update:visible": function(s) {
973
- t.visible = s;
974
- }, closed: t.handleClosed } }, [e("template", { slot: "title" }, [e("div", { staticClass: "gd-page-head" }, [e("div", { staticClass: "head-basic" }, [e("img", { directives: [{ name: "lazyImg", rawName: "v-lazyImg", value: t.record.logo, expression: "record.logo" }], staticClass: "head-logo", attrs: { "data-url": t.record.logo } }), e("div", { staticClass: "head-name" }, [t._v(t._s(t.record.name))])]), e("div", { staticClass: "head-conner" }, [e("div", { staticClass: "item" })]), e("div", { staticClass: "head-btn" }, [e("gd-btn-list", { attrs: { sysViewButtons: t.sysViewButtons }, on: { functionName: t.doEvent } })], 1), t.loading ? e("div", { staticClass: "gd-dialog-meng" }) : t._e()])]), t.visible ? e("div", { staticClass: "designer-conner" }, [e("div", { staticClass: "designer-conner-menus" }, [e("operationMenus", { ref: "operationMenus", attrs: { menus: t.menus, activeKey: t.activeKey }, on: { change: t.switchKey } })], 1), e("div", { staticClass: "designer-conner-panel" }, [e("panelArea", { ref: "panelArea", attrs: { activeKey: t.activeKey, doneFun: t.doneFun } }), e("div", { staticClass: "designer-conner-full" }, [t.activeKey === "table" ? e("tableDevelopment", { ref: "tableDevelopment", attrs: { mode: "component", height: t.tableHeight } }) : t._e()], 1)], 1)]) : t._e()], 2)], 1);
975
- }, xt = [], Tt = /* @__PURE__ */ d(
976
- $t,
977
- Ct,
978
- xt,
979
- !1,
980
- null,
981
- "d04cc2cd",
982
- null,
983
- null
984
- );
985
- const Ci = Tt.exports;
986
- export {
987
- Ci as default
988
- };