gds-plus-design-vue 1.3.21 → 1.3.22

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 (239) hide show
  1. package/lib/btnGroup.91a8f59c.js +1 -0
  2. package/lib/{btnGroup.cbaa6e6b.mjs → btnGroup.de1cc2a8.mjs} +26 -28
  3. package/lib/components.batchupdate.1962eac2.js +1 -0
  4. package/lib/{components.batchupdate.62fa93b7.mjs → components.batchupdate.de5e423e.mjs} +6 -5
  5. package/lib/{components.chartbi.25731354.js → components.chartbi.21cf8350.js} +1 -1
  6. package/lib/{components.chartbi.45e25851.mjs → components.chartbi.a81fe80e.mjs} +4 -3
  7. package/lib/components.dataassign.3b0ba94b.js +1 -0
  8. package/lib/{components.dataassign.6b6e4713.mjs → components.dataassign.a2b3707e.mjs} +4 -3
  9. package/lib/{components.form.082d9c9b.mjs → components.form.3dec0fec.mjs} +1 -1
  10. package/lib/{components.form.f4bb9c4c.js → components.form.c95c6835.js} +1 -1
  11. package/lib/{components.form.column.ee06d8bb.js → components.form.column.597a9f39.js} +1 -1
  12. package/lib/{components.form.column.cab0072e.mjs → components.form.column.dc8d9c7e.mjs} +1 -1
  13. package/lib/components.form.selectfkmultiple.4c648ae4.js +1 -0
  14. package/lib/{components.form.selectfkmultiple.700dd9d1.mjs → components.form.selectfkmultiple.ca036643.mjs} +4 -3
  15. package/lib/{components.globalheader.c5ce924d.mjs → components.globalheader.1c5bcfc7.mjs} +1 -1
  16. package/lib/{components.globalheader.5db21e71.js → components.globalheader.26681005.js} +1 -1
  17. package/lib/{components.sidenavmenu.c7b6729b.mjs → components.sidenavmenu.3134366c.mjs} +1 -1
  18. package/lib/{components.sidenavmenu.90170635.js → components.sidenavmenu.732eed7d.js} +1 -1
  19. package/lib/{components.table.childheader.886bb5e9.mjs → components.table.childheader.6bdc2962.mjs} +1 -1
  20. package/lib/{components.table.childheader.dec53ee4.js → components.table.childheader.e48770c8.js} +1 -1
  21. package/lib/{components.table.childheaderfilter.f1fe08bb.js → components.table.childheaderfilter.8b9959f1.js} +1 -1
  22. package/lib/{components.table.childheaderfilter.a5863bed.mjs → components.table.childheaderfilter.f592ad1b.mjs} +1 -1
  23. package/lib/{components.table.queriesfield.84733bb7.mjs → components.table.queriesfield.b0496b6f.mjs} +1 -1
  24. package/lib/{components.table.queriesfield.a50919ee.js → components.table.queriesfield.bb1f9e89.js} +1 -1
  25. package/lib/{components.xlsximport.40d427c7.mjs → components.xlsximport.68883ac0.mjs} +1 -1
  26. package/lib/{components.xlsximport.df981b91.js → components.xlsximport.d0bdea7b.js} +1 -1
  27. package/lib/{flow.designer.flowsapproval.31b2dfeb.js → flow.designer.flowsapproval.17a3ec70.js} +1 -1
  28. package/lib/{flow.designer.flowsapproval.c89ab32f.mjs → flow.designer.flowsapproval.a9bfee0a.mjs} +4 -4
  29. package/lib/flow.designer.flowsfilter.63129743.js +1 -0
  30. package/lib/{flow.designer.flowsfilter.3909d81b.mjs → flow.designer.flowsfilter.e31d7ae1.mjs} +3 -2
  31. package/lib/{flow.designer.flowsprocess.7aa864ff.mjs → flow.designer.flowsprocess.64725e51.mjs} +1 -1
  32. package/lib/{flow.designer.flowsprocess.a4cdf989.js → flow.designer.flowsprocess.8e40b5d5.js} +1 -1
  33. package/lib/{flow.designer.flowswork.35555ed7.js → flow.designer.flowswork.aed38cb8.js} +1 -1
  34. package/lib/{flow.designer.flowswork.45ab5302.mjs → flow.designer.flowswork.d4d75058.mjs} +6 -6
  35. package/lib/{flow.list.103e6c46.js → flow.list.f00fb85c.js} +1 -1
  36. package/lib/{flow.list.418fdbf2.mjs → flow.list.f0800e47.mjs} +5 -5
  37. package/lib/fonticon.015475bb.js +1 -0
  38. package/lib/{fonticon.0d9a2e23.mjs → fonticon.3fe52106.mjs} +26 -28
  39. package/lib/{form.designer.build.136e3cdd.mjs → form.designer.build.85f47643.mjs} +4 -4
  40. package/lib/{form.designer.build.7c94450d.js → form.designer.build.ebb87d9d.js} +1 -1
  41. package/lib/form.designer.duplicate.60c7c991.js +1 -0
  42. package/lib/{form.designer.duplicate.60ef52a6.mjs → form.designer.duplicate.d74003f9.mjs} +155 -146
  43. package/lib/gd-initial.js +1 -1
  44. package/lib/gd-initial.mjs +80 -82
  45. package/lib/index.019b1960.js +1 -0
  46. package/lib/index.1ec5515c.js +1 -0
  47. package/lib/{index.f1ecfc7f.mjs → index.2f7b8abb.mjs} +31 -33
  48. package/lib/{index.718199db.mjs → index.51d1f391.mjs} +31 -33
  49. package/lib/index.6f97e94f.js +1 -0
  50. package/lib/index.868720cf.js +1 -0
  51. package/lib/{index.9ec72e55.js → index.b9494e5d.js} +1 -1
  52. package/lib/{index.459a27d0.mjs → index.d2ee1960.mjs} +27 -29
  53. package/lib/{index.e051f15e.mjs → index.eada3a0e.mjs} +32 -32
  54. package/lib/{index.72ea6b6b.mjs → index.ee3c7764.mjs} +10 -9
  55. package/lib/layoutBlocks.12ab5753.js +1 -0
  56. package/lib/{layoutBlocks.ec55e84e.mjs → layoutBlocks.20c72bbf.mjs} +26 -28
  57. package/lib/{layouts.basiclayout.422c6adc.mjs → layouts.basiclayout.4fabd89d.mjs} +2 -2
  58. package/lib/{layouts.basiclayout.05046cb5.js → layouts.basiclayout.ae0744a3.js} +1 -1
  59. package/lib/{layouts.basiclayouttop.4047325d.mjs → layouts.basiclayouttop.8a9c0f0a.mjs} +2 -2
  60. package/lib/{layouts.basiclayouttop.d6ee1637.js → layouts.basiclayouttop.d81eec9a.js} +1 -1
  61. package/lib/main.118294c4.js +1 -0
  62. package/lib/{main.95d3ff6c.mjs → main.36116690.mjs} +1 -1
  63. package/lib/{main.a3a8a32a.mjs → main.3d398f7b.mjs} +29 -31
  64. package/lib/{main.10a3ef91.mjs → main.678cd264.mjs} +6 -5
  65. package/lib/{main.750a686d.mjs → main.7f65abb6.mjs} +1 -1
  66. package/lib/{main.b7f83538.mjs → main.85307c8e.mjs} +5 -4
  67. package/lib/{main.77bfdb3d.js → main.9ba3822e.js} +1 -1
  68. package/lib/main.a466fd1d.js +1 -0
  69. package/lib/main.b54793b2.js +1 -0
  70. package/lib/{main.ff2b9dde.mjs → main.bede66b8.mjs} +1 -1
  71. package/lib/{main.72c50010.mjs → main.c9b5d438.mjs} +89 -54
  72. package/lib/{main.467492ec.js → main.ce44757e.js} +1 -1
  73. package/lib/main.e835d456.js +1 -0
  74. package/lib/{main.8024dd7b.js → main.fc0fd324.js} +1 -1
  75. package/lib/{messages.fieldconfiguration.fc0ab294.js → messages.fieldconfiguration.7bd0c683.js} +1 -1
  76. package/lib/{messages.fieldconfiguration.c5005421.mjs → messages.fieldconfiguration.b2c624e0.mjs} +4 -4
  77. package/lib/{messages.messagetemplate.c2f73c16.js → messages.messagetemplate.531d4a32.js} +2 -2
  78. package/lib/{messages.messagetemplate.c2c8918d.mjs → messages.messagetemplate.d20fd08d.mjs} +2 -2
  79. package/lib/{messages.sendplan.ee24ff46.js → messages.sendplan.1b899cb1.js} +1 -1
  80. package/lib/{messages.sendplan.52c1bb0c.mjs → messages.sendplan.d802fbc0.mjs} +1 -1
  81. package/lib/{page.application.b07312ad.js → page.application.81a43d23.js} +1 -1
  82. package/lib/{page.application.72fd9f5e.mjs → page.application.bbeccfed.mjs} +2 -2
  83. package/lib/{page.approval.build.341715b8.mjs → page.approval.build.b391abae.mjs} +3 -3
  84. package/lib/{page.approval.build.f2ae3171.js → page.approval.build.b683a128.js} +1 -1
  85. package/lib/page.bcomponents.chartbi.0724042a.js +1 -0
  86. package/lib/{page.bcomponents.chartbi.11ac732e.mjs → page.bcomponents.chartbi.ea1e2489.mjs} +6 -5
  87. package/lib/{page.bcomponents.datalist.e9870383.js → page.bcomponents.datalist.6afb4576.js} +1 -1
  88. package/lib/{page.bcomponents.datalist.ebe77c09.mjs → page.bcomponents.datalist.f50708a5.mjs} +1 -1
  89. package/lib/{page.bcomponents.tablegridview.b1a8b6ea.mjs → page.bcomponents.tablegridview.79caa0e2.mjs} +1 -1
  90. package/lib/{page.bcomponents.tablegridview.deb01351.js → page.bcomponents.tablegridview.e65f3546.js} +1 -1
  91. package/lib/{page.bmodule.approval.c648ecd0.mjs → page.bmodule.approval.8e919147.mjs} +1 -1
  92. package/lib/{page.bmodule.approval.1f46739c.js → page.bmodule.approval.9eb0736a.js} +1 -1
  93. package/lib/{page.bmodule.approvalhistory.725e7a01.js → page.bmodule.approvalhistory.6a6ccddf.js} +1 -1
  94. package/lib/{page.bmodule.approvalhistory.9dd08572.mjs → page.bmodule.approvalhistory.cd05565c.mjs} +1 -1
  95. package/lib/{page.bmodule.chartbi.98204683.js → page.bmodule.chartbi.5c8d80f0.js} +1 -1
  96. package/lib/{page.bmodule.chartbi.44c59f0b.mjs → page.bmodule.chartbi.6d961155.mjs} +1 -1
  97. package/lib/page.bmodule.datafiltering.2d266f51.js +1 -0
  98. package/lib/{page.bmodule.datafiltering.b3254ae9.mjs → page.bmodule.datafiltering.70a3fd55.mjs} +73 -71
  99. package/lib/page.bmodule.screendands.57278c53.js +1 -0
  100. package/lib/page.bmodule.screendands.8e6cfe18.mjs +84 -0
  101. package/lib/page.bmodule.statistic.02f46b9b.js +1 -0
  102. package/lib/{page.bmodule.statistic.b3c5f20f.mjs → page.bmodule.statistic.249251c4.mjs} +5 -4
  103. package/lib/{page.bmodule.tablegrid.d8fa194c.mjs → page.bmodule.tablegrid.c7ca3d0d.mjs} +2 -2
  104. package/lib/{page.bmodule.tablegrid.7baf5857.js → page.bmodule.tablegrid.f488a197.js} +1 -1
  105. package/lib/page.bmodule.textcontent.c2beb25f.js +1 -0
  106. package/lib/{page.bmodule.textcontent.b723d01c.mjs → page.bmodule.textcontent.e03c7acb.mjs} +5 -4
  107. package/lib/page.build.557751c4.mjs +3037 -0
  108. package/lib/page.build.d865fad1.js +12 -0
  109. package/lib/{page.designer.fieldfiltering.2ed8a03f.mjs → page.designer.fieldfiltering.4c83de8f.mjs} +1 -1
  110. package/lib/{page.designer.fieldfiltering.aba4b648.js → page.designer.fieldfiltering.d9525045.js} +1 -1
  111. package/lib/page.designerp.generatoraboutconfig.e5d68e62.js +1 -0
  112. package/lib/{page.designerp.generatoraboutconfig.998009de.mjs → page.designerp.generatoraboutconfig.ff93e31b.mjs} +6 -5
  113. package/lib/{page.designerp.generatorbackward.f6e8730f.js → page.designerp.generatorbackward.3465ac4c.js} +1 -1
  114. package/lib/{page.designerp.generatorbackward.4a609e69.mjs → page.designerp.generatorbackward.ec2e8cb9.mjs} +1 -1
  115. package/lib/{page.designerp.generatorecharts.243dafb6.mjs → page.designerp.generatorecharts.2cd70cd7.mjs} +23 -13
  116. package/lib/page.designerp.generatorecharts.354e5ddb.js +1 -0
  117. package/lib/{page.designerp.generatorfiltering.e3b922b2.mjs → page.designerp.generatorfiltering.4f3eb80b.mjs} +1 -1
  118. package/lib/{page.designerp.generatorfiltering.905e026b.js → page.designerp.generatorfiltering.52d02a76.js} +1 -1
  119. package/lib/{page.designerp.generatortable.c4cbeb36.mjs → page.designerp.generatortable.12161b54.mjs} +1 -1
  120. package/lib/{page.designerp.generatortable.79639f31.js → page.designerp.generatortable.1dedc99f.js} +1 -1
  121. package/lib/{page.designerp.generatortablegrid.e61db667.mjs → page.designerp.generatortablegrid.278cdf69.mjs} +2 -2
  122. package/lib/{page.designerp.generatortablegrid.2d33e24a.js → page.designerp.generatortablegrid.8752459e.js} +1 -1
  123. package/lib/{page.designerp.generatortree.f5ea6e0f.js → page.designerp.generatortree.b4ec0dc9.js} +1 -1
  124. package/lib/{page.designerp.generatortree.a26b78ae.mjs → page.designerp.generatortree.ccb016dd.mjs} +2 -2
  125. package/lib/{page.designerp.properties.e858d8e2.js → page.designerp.properties.55b2b9a1.js} +1 -1
  126. package/lib/{page.designerp.properties.3bfd6455.mjs → page.designerp.properties.ff48be97.mjs} +13 -13
  127. package/lib/{page.designerp.propertieschartbi.2d32c538.mjs → page.designerp.propertieschartbi.179c5500.mjs} +1 -1
  128. package/lib/{page.designerp.propertieschartbi.9b310756.js → page.designerp.propertieschartbi.a56c825b.js} +1 -1
  129. package/lib/{page.designerp.propertiesdatafields.4f671ce6.mjs → page.designerp.propertiesdatafields.689c7f7b.mjs} +5 -4
  130. package/lib/page.designerp.propertiesdatafields.f01f4fbe.js +1 -0
  131. package/lib/{page.designerp.propertiesdetail.0a966931.mjs → page.designerp.propertiesdetail.a00e099c.mjs} +51 -50
  132. package/lib/page.designerp.propertiesdetail.ba28f0ff.js +1 -0
  133. package/lib/{page.designerp.propertiesecharts.fcf3eaa6.mjs → page.designerp.propertiesecharts.95ca196e.mjs} +9 -8
  134. package/lib/page.designerp.propertiesecharts.d838704e.js +1 -0
  135. package/lib/page.designerp.propertiesfiltering.859b2fe9.js +1 -0
  136. package/lib/{page.designerp.propertiesfiltering.b1b010d0.mjs → page.designerp.propertiesfiltering.8ba07531.mjs} +23 -12
  137. package/lib/page.designerp.propertieslist.5cfffc25.js +1 -0
  138. package/lib/{page.designerp.propertieslist.828fd439.mjs → page.designerp.propertieslist.fd1fbb98.mjs} +10 -9
  139. package/lib/{page.designerp.propertiesrelevance.fee69994.mjs → page.designerp.propertiesrelevance.2b81738f.mjs} +60 -223
  140. package/lib/{page.designerp.propertiesrelevance.0330a49d.js → page.designerp.propertiesrelevance.8ad5a2e5.js} +1 -1
  141. package/lib/{page.designerp.propertiesstatistic.a417c9e7.mjs → page.designerp.propertiesstatistic.119bbafc.mjs} +1 -1
  142. package/lib/{page.designerp.propertiesstatistic.0f2da29f.js → page.designerp.propertiesstatistic.4ecb2237.js} +1 -1
  143. package/lib/{page.designerp.propertiestable.172f9499.mjs → page.designerp.propertiestable.9d7a2ffe.mjs} +10 -9
  144. package/lib/page.designerp.propertiestable.bb814ba5.js +1 -0
  145. package/lib/page.designerp.propertiestablegrid.b2b74af5.js +1 -0
  146. package/lib/page.designerp.propertiestablegrid.cb14d0f9.mjs +551 -0
  147. package/lib/page.designerp.propertiestree.10a8b210.js +1 -0
  148. package/lib/{page.designerp.propertiestree.61da99df.mjs → page.designerp.propertiestree.ccd63c1b.mjs} +10 -9
  149. package/lib/{page.filedocument.build.48a5874e.js → page.filedocument.build.96653b31.js} +1 -1
  150. package/lib/{page.filedocument.build.61f014b4.mjs → page.filedocument.build.cb49d6c4.mjs} +3 -3
  151. package/lib/page.screendandss.build.9fcff16a.js +1 -0
  152. package/lib/page.screendandss.build.eb90b993.mjs +1584 -0
  153. package/lib/{personal.echarts.268fea3e.mjs → personal.echarts.57f130db.mjs} +1 -1
  154. package/lib/{personal.echarts.a78792db.js → personal.echarts.a82d1e08.js} +1 -1
  155. package/lib/{router.config.8be3d360.mjs → router.config.13f50d6e.mjs} +4 -4
  156. package/lib/{router.config.e68a29e1.js → router.config.35af31ac.js} +1 -1
  157. package/lib/{search.advanced.dc688c5c.mjs → search.advanced.1b52e72a.mjs} +9 -10
  158. package/lib/search.advanced.e48627e9.js +1 -0
  159. package/lib/{solution.approvalflow.1473e907.js → solution.approvalflow.6de84fad.js} +1 -1
  160. package/lib/{solution.approvalflow.172dfe24.mjs → solution.approvalflow.cc78fd9e.mjs} +2 -2
  161. package/lib/{solution.processflow.8f95ade9.mjs → solution.processflow.0c889e3f.mjs} +2 -2
  162. package/lib/{solution.processflow.aae6e7be.js → solution.processflow.f24be0dd.js} +1 -1
  163. package/lib/{solution.workflow.8a8e8b28.js → solution.workflow.42de6645.js} +1 -1
  164. package/lib/{solution.workflow.ef472529.mjs → solution.workflow.6b93f0ab.mjs} +2 -2
  165. package/lib/style.css +2 -2
  166. package/lib/{sysComponents.90398324.js → sysComponents.a5f1e449.js} +1 -1
  167. package/lib/{sysComponents.5cffa46d.mjs → sysComponents.ad11e8bb.mjs} +1 -1
  168. package/lib/{system.document.classifymanage.c3771fa0.js → system.document.classifymanage.31292eab.js} +1 -1
  169. package/lib/{system.document.classifymanage.4daf3782.mjs → system.document.classifymanage.4280818f.mjs} +1 -1
  170. package/lib/{system.document.recyclemanage.20503887.mjs → system.document.recyclemanage.ce620eff.mjs} +1 -1
  171. package/lib/{system.document.recyclemanage.46e290c5.js → system.document.recyclemanage.f66bb7d7.js} +1 -1
  172. package/lib/{system.duplicatechecking.aeea86d4.js → system.duplicatechecking.00fec573.js} +1 -1
  173. package/lib/{system.duplicatechecking.d1eb03d9.mjs → system.duplicatechecking.74a3ffb1.mjs} +1 -1
  174. package/lib/{system.permissions.066316f3.mjs → system.permissions.0959e62e.mjs} +2 -1
  175. package/lib/system.permissions.3c1d3698.js +1 -0
  176. package/lib/{system.questionnaire.894382df.mjs → system.questionnaire.69d7750d.mjs} +1 -1
  177. package/lib/{system.questionnaire.b0e2ee71.js → system.questionnaire.ba54032a.js} +1 -1
  178. package/lib/{system.questionnairemodule.0373ae59.mjs → system.questionnairemodule.1e5f3710.mjs} +1 -1
  179. package/lib/{system.questionnairemodule.d1b56552.js → system.questionnairemodule.561dfe7d.js} +1 -1
  180. package/lib/{table.definition.echartsconfig.02ff98ea.js → table.definition.echartsconfig.a271a945.js} +1 -1
  181. package/lib/{table.definition.echartsconfig.34eea92d.mjs → table.definition.echartsconfig.b5333188.mjs} +6 -6
  182. package/lib/{table.definition.fkconfig.a15d547f.mjs → table.definition.fkconfig.0d65c616.mjs} +4 -4
  183. package/lib/{table.definition.fkconfig.cdd19291.js → table.definition.fkconfig.eeca8f94.js} +1 -1
  184. package/lib/{table.definition.formconfig.cff793af.mjs → table.definition.formconfig.0ff694a7.mjs} +1 -1
  185. package/lib/{table.definition.formconfig.772f9395.js → table.definition.formconfig.e9ada088.js} +1 -1
  186. package/lib/{table.definition.relconfig1n.06739f2f.js → table.definition.relconfig1n.ab0298c6.js} +1 -1
  187. package/lib/{table.definition.relconfig1n.b4da0947.mjs → table.definition.relconfig1n.fe754ed4.mjs} +1 -1
  188. package/lib/{table.definition.ruleconfig.9f7b615c.mjs → table.definition.ruleconfig.11f36294.mjs} +3 -3
  189. package/lib/{table.definition.ruleconfig.b5406966.js → table.definition.ruleconfig.aaf0c457.js} +1 -1
  190. package/lib/utils.axios.js.471dbf95.js +1 -0
  191. package/lib/utils.axios.js.b4e877f2.mjs +7 -0
  192. package/lib/{utils.componentssys.js.539b7c3b.mjs → utils.componentssys.js.5f10821c.mjs} +14 -14
  193. package/lib/{utils.componentssys.js.a28c0ac2.js → utils.componentssys.js.f0065e96.js} +1 -1
  194. package/lib/{view.build.c4c937d6.mjs → view.build.9f2d830c.mjs} +14 -15
  195. package/lib/view.build.b0d2cf1a.js +1 -0
  196. package/lib/viewTree.31334d4f.js +1 -0
  197. package/lib/{viewTree.d66af65f.mjs → viewTree.3ad7c3ad.mjs} +4 -3
  198. package/package.json +16 -17
  199. package/lib/btnGroup.2304f2f4.js +0 -1
  200. package/lib/components.batchupdate.5e9d37ed.js +0 -1
  201. package/lib/components.dataassign.36bab80a.js +0 -1
  202. package/lib/components.form.selectfkmultiple.4abcc66f.js +0 -1
  203. package/lib/flow.designer.flowsfilter.3e08ccfa.js +0 -1
  204. package/lib/fonticon.a1263225.js +0 -1
  205. package/lib/form.designer.duplicate.0288787e.js +0 -1
  206. package/lib/index.3a9b2d69.js +0 -1
  207. package/lib/index.53b24311.js +0 -1
  208. package/lib/index.6207efd7.js +0 -1
  209. package/lib/index.8c8698d0.js +0 -1
  210. package/lib/layoutBlocks.ff24da6b.js +0 -1
  211. package/lib/main.97e52ee0.js +0 -1
  212. package/lib/main.9e4ff9c6.js +0 -1
  213. package/lib/main.a9f3565e.js +0 -1
  214. package/lib/main.d19f6077.js +0 -1
  215. package/lib/page.bcomponents.chartbi.b9687d53.js +0 -1
  216. package/lib/page.bmodule.datafiltering.50c9e358.js +0 -1
  217. package/lib/page.bmodule.screendands.c9d3a094.js +0 -12
  218. package/lib/page.bmodule.screendands.f1f47ebe.mjs +0 -4098
  219. package/lib/page.bmodule.statistic.7ec243e0.js +0 -1
  220. package/lib/page.bmodule.textcontent.ef260c96.js +0 -1
  221. package/lib/page.build.5fa4a6c0.js +0 -1
  222. package/lib/page.build.d8557c78.mjs +0 -389
  223. package/lib/page.designerp.generatoraboutconfig.df010f35.js +0 -1
  224. package/lib/page.designerp.generatorecharts.917dd008.js +0 -1
  225. package/lib/page.designerp.propertiesdatafields.d2709001.js +0 -1
  226. package/lib/page.designerp.propertiesdetail.e52164a2.js +0 -1
  227. package/lib/page.designerp.propertiesecharts.5002d91b.js +0 -1
  228. package/lib/page.designerp.propertiesfiltering.5ad80675.js +0 -1
  229. package/lib/page.designerp.propertieslist.c7d72d78.js +0 -1
  230. package/lib/page.designerp.propertiestable.658e0534.js +0 -1
  231. package/lib/page.designerp.propertiestablegrid.6b5bbe93.mjs +0 -550
  232. package/lib/page.designerp.propertiestablegrid.e208f5d1.js +0 -1
  233. package/lib/page.designerp.propertiestree.ee7014b7.js +0 -1
  234. package/lib/search.advanced.ec1656d2.js +0 -1
  235. package/lib/system.permissions.606eb229.js +0 -1
  236. package/lib/utils.axios.js.4fec2453.mjs +0 -1361
  237. package/lib/utils.axios.js.69442e57.js +0 -5
  238. package/lib/view.build.cbf165ac.js +0 -1
  239. package/lib/viewTree.0bf980e8.js +0 -1
@@ -1,5 +0,0 @@
1
- "use strict";function me(e,t){return function(){return e.apply(t,arguments)}}const{toString:ke}=Object.prototype,{getPrototypeOf:Z}=Object,H=(e=>t=>{const n=ke.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),A=e=>(e=e.toLowerCase(),t=>H(t)===e),I=e=>t=>typeof t===e,{isArray:C}=Array,_=I("undefined");function He(e){return e!==null&&!_(e)&&e.constructor!==null&&!_(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ye=A("ArrayBuffer");function Ie(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ye(e.buffer),t}const qe=I("string"),R=I("function"),Ee=I("number"),q=e=>e!==null&&typeof e=="object",Me=e=>e===!0||e===!1,L=e=>{if(H(e)!=="object")return!1;const t=Z(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ze=A("Date"),Je=A("File"),$e=A("Blob"),Ve=A("FileList"),We=e=>q(e)&&R(e.pipe),Ke=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||R(e.append)&&((t=H(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))},Ge=A("URLSearchParams"),Xe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),C(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(r=0;r<i;r++)c=o[r],t.call(null,e[c],c,e)}}function be(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const we=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Se=e=>!_(e)&&e!==we;function K(){const{caseless:e}=Se(this)&&this||{},t={},n=(r,s)=>{const o=e&&be(t,s)||s;L(t[o])&&L(r)?t[o]=K(t[o],r):L(r)?t[o]=K({},r):C(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&B(arguments[r],n);return t}const ve=(e,t,n,{allOwnKeys:r}={})=>(B(t,(s,o)=>{n&&R(s)?e[o]=me(s,n):e[o]=s},{allOwnKeys:r}),e),Qe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ze=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ye=(e,t,n,r)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&Z(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},et=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},tt=e=>{if(!e)return null;if(C(e))return e;let t=e.length;if(!Ee(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},nt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Z(Uint8Array)),rt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},st=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ot=A("HTMLFormElement"),it=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),se=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),at=A("RegExp"),Re=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};B(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},ct=e=>{Re(e,(t,n)=>{if(R(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(!!R(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ut=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return C(e)?r(e):r(String(e).split(t)),n},lt=()=>{},ft=(e,t)=>(e=+e,Number.isFinite(e)?e:t),J="abcdefghijklmnopqrstuvwxyz",oe="0123456789",Oe={DIGIT:oe,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+oe},dt=(e=16,t=Oe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function pt(e){return!!(e&&R(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ht=e=>{const t=new Array(10),n=(r,s)=>{if(q(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=C(r)?[]:{};return B(r,(i,c)=>{const p=n(i,s+1);!_(p)&&(o[c]=p)}),t[s]=void 0,o}}return r};return n(e,0)},mt=A("AsyncFunction"),yt=e=>e&&(q(e)||R(e))&&R(e.then)&&R(e.catch),a={isArray:C,isArrayBuffer:ye,isBuffer:He,isFormData:Ke,isArrayBufferView:Ie,isString:qe,isNumber:Ee,isBoolean:Me,isObject:q,isPlainObject:L,isUndefined:_,isDate:ze,isFile:Je,isBlob:$e,isRegExp:at,isFunction:R,isStream:We,isURLSearchParams:Ge,isTypedArray:nt,isFileList:Ve,forEach:B,merge:K,extend:ve,trim:Xe,stripBOM:Qe,inherits:Ze,toFlatObject:Ye,kindOf:H,kindOfTest:A,endsWith:et,toArray:tt,forEachEntry:rt,matchAll:st,isHTMLForm:ot,hasOwnProperty:se,hasOwnProp:se,reduceDescriptors:Re,freezeMethods:ct,toObjectSet:ut,toCamelCase:it,noop:lt,toFiniteNumber:ft,findKey:be,global:we,isContextDefined:Se,ALPHABET:Oe,generateString:dt,isSpecCompliantForm:pt,toJSONObject:ht,isAsyncFn:mt,isThenable:yt};function m(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ae=m.prototype,Te={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Te[e]={value:e}});Object.defineProperties(m,Te);Object.defineProperty(Ae,"isAxiosError",{value:!0});m.from=(e,t,n,r,s,o)=>{const i=Object.create(Ae);return a.toFlatObject(e,i,function(p){return p!==Error.prototype},c=>c!=="isAxiosError"),m.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Et=null;function G(e){return a.isPlainObject(e)||a.isArray(e)}function ge(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function ie(e,t,n){return e?e.concat(t).map(function(s,o){return s=ge(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function bt(e){return a.isArray(e)&&!e.some(G)}const wt=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function M(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,b){return!a.isUndefined(b[d])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,p=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function h(f){if(f===null)return"";if(a.isDate(f))return f.toISOString();if(!p&&a.isBlob(f))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(f)||a.isTypedArray(f)?p&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,d,b){let w=f;if(f&&!b&&typeof f=="object"){if(a.endsWith(d,"{}"))d=r?d:d.slice(0,-2),f=JSON.stringify(f);else if(a.isArray(f)&&bt(f)||(a.isFileList(f)||a.endsWith(d,"[]"))&&(w=a.toArray(f)))return d=ge(d),w.forEach(function(x,je){!(a.isUndefined(x)||x===null)&&t.append(i===!0?ie([d],je,o):i===null?d:d+"[]",h(x))}),!1}return G(f)?!0:(t.append(ie(b,d,o),h(f)),!1)}const u=[],E=Object.assign(wt,{defaultVisitor:l,convertValue:h,isVisitable:G});function S(f,d){if(!a.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+d.join("."));u.push(f),a.forEach(f,function(w,g){(!(a.isUndefined(w)||w===null)&&s.call(t,w,a.isString(g)?g.trim():g,d,E))===!0&&S(w,d?d.concat(g):[g])}),u.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return S(e),t}function ae(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Y(e,t){this._pairs=[],e&&M(e,this,t)}const xe=Y.prototype;xe.append=function(t,n){this._pairs.push([t,n])};xe.toString=function(t){const n=t?function(r){return t.call(this,r,ae)}:ae;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function St(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ne(e,t,n){if(!t)return e;const r=n&&n.encode||St,s=n&&n.serialize;let o;if(s?o=s(t,n):o=a.isURLSearchParams(t)?t.toString():new Y(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Rt{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ce=Rt,Pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ot=typeof URLSearchParams<"u"?URLSearchParams:Y,At=typeof FormData<"u"?FormData:null,Tt=typeof Blob<"u"?Blob:null,gt={isBrowser:!0,classes:{URLSearchParams:Ot,FormData:At,Blob:Tt},protocols:["http","https","file","blob","url","data"]},Ce=typeof window<"u"&&typeof document<"u",xt=(e=>Ce&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Nt=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Pt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ce,hasStandardBrowserWebWorkerEnv:Nt,hasStandardBrowserEnv:xt},Symbol.toStringTag,{value:"Module"})),O={...Pt,...gt};function Ct(e,t){return M(e,new O.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return O.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ft(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _t(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Fe(e){function t(n,r,s,o){let i=n[o++];const c=Number.isFinite(+i),p=o>=n.length;return i=!i&&a.isArray(s)?s.length:i,p?(a.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!c):((!s[i]||!a.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&a.isArray(s[i])&&(s[i]=_t(s[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(Ft(r),s,n,0)}),n}return null}function Bt(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ee={transitional:Pe,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s&&s?JSON.stringify(Fe(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ct(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return M(c?{"files[]":t}:t,p&&new p,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Bt(t)):t}],transformResponse:[function(t){const n=this.transitional||ee.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&a.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?m.from(c,m.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{ee.headers[e]={}});const te=ee,Dt=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Lt=e=>{const t={};let n,r,s;return e&&e.split(`
2
- `).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&Dt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ue=Symbol("internals");function F(e){return e&&String(e).trim().toLowerCase()}function U(e){return e===!1||e==null?e:a.isArray(e)?e.map(U):String(e)}function Ut(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const jt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function kt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ht(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class z{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(c,p,h){const l=F(p);if(!l)throw new Error("header name must be a non-empty string");const u=a.findKey(s,l);(!u||s[u]===void 0||h===!0||h===void 0&&s[u]!==!1)&&(s[u||p]=U(c))}const i=(c,p)=>a.forEach(c,(h,l)=>o(h,l,p));return a.isPlainObject(t)||t instanceof this.constructor?i(t,n):a.isString(t)&&(t=t.trim())&&!jt(t)?i(Lt(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=F(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Ut(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=F(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=F(i),i){const c=a.findKey(r,i);c&&(!n||$(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||$(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=U(s),delete n[o];return}const c=t?kt(o):String(o).trim();c!==o&&delete n[o],n[c]=U(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
3
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[ue]=this[ue]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=F(i);r[c]||(Ht(s,i),r[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(z.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(z);const T=z;function V(e,t){const n=this||te,r=t||n,s=T.from(r.headers);let o=r.data;return a.forEach(e,function(c){o=c.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function _e(e){return!!(e&&e.__CANCEL__)}function D(e,t,n){m.call(this,e==null?"canceled":e,m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(D,m,{__CANCEL__:!0});function It(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const qt=O.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zt(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Be(e,t){return e&&!Mt(t)?zt(e,t):t}const Jt=O.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const c=a.isString(i)?s(i):i;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function $t(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Vt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(p){const h=Date.now(),l=r[o];i||(i=h),n[s]=p,r[s]=h;let u=o,E=0;for(;u!==s;)E+=n[u++],u=u%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),h-i<t)return;const S=l&&h-l;return S?Math.round(E*1e3/S):void 0}}function le(e,t){let n=0;const r=Vt(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,c=o-n,p=r(c),h=o<=i;n=o;const l={loaded:o,total:i,progress:i?o/i:void 0,bytes:c,rate:p||void 0,estimated:p&&i&&h?(i-o)/p:void 0,event:s};l[t?"download":"upload"]=!0,e(l)}}const Wt=typeof XMLHttpRequest<"u",Kt=Wt&&function(e){return new Promise(function(n,r){let s=e.data;const o=T.from(e.headers).normalize();let{responseType:i,withXSRFToken:c}=e,p;function h(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}let l;if(a.isFormData(s)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((l=o.getContentType())!==!1){const[d,...b]=l?l.split(";").map(w=>w.trim()).filter(Boolean):[];o.setContentType([d||"multipart/form-data",...b].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const d=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(d+":"+b))}const E=Be(e.baseURL,e.url);u.open(e.method.toUpperCase(),Ne(E,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function S(){if(!u)return;const d=T.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),w={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:d,config:e,request:u};It(function(x){n(x),h()},function(x){r(x),h()},w),u=null}if("onloadend"in u?u.onloadend=S:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(S)},u.onabort=function(){!u||(r(new m("Request aborted",m.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const w=e.transitional||Pe;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new m(b,w.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,u)),u=null},O.hasStandardBrowserEnv&&(c&&a.isFunction(c)&&(c=c(e)),c||c!==!1&&Jt(E))){const d=e.xsrfHeaderName&&e.xsrfCookieName&&qt.read(e.xsrfCookieName);d&&o.set(e.xsrfHeaderName,d)}s===void 0&&o.setContentType(null),"setRequestHeader"in u&&a.forEach(o.toJSON(),function(b,w){u.setRequestHeader(w,b)}),a.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&i!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",le(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",le(e.onUploadProgress)),(e.cancelToken||e.signal)&&(p=d=>{!u||(r(!d||d.type?new D(null,e,u):d),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p)));const f=$t(E);if(f&&O.protocols.indexOf(f)===-1){r(new m("Unsupported protocol "+f+":",m.ERR_BAD_REQUEST,e));return}u.send(s||null)})},X={http:Et,xhr:Kt};a.forEach(X,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const fe=e=>`- ${e}`,Gt=e=>a.isFunction(e)||e===null||e===!1,De={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!Gt(n)&&(r=X[(i=String(n)).toLowerCase()],r===void 0))throw new m(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
4
- `+o.map(fe).join(`
5
- `):" "+fe(o[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:X};function W(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new D(null,e)}function de(e){return W(e),e.headers=T.from(e.headers),e.data=V.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),De.getAdapter(e.adapter||te.adapter)(e).then(function(r){return W(e),r.data=V.call(e,e.transformResponse,r),r.headers=T.from(r.headers),r},function(r){return _e(r)||(W(e),r&&r.response&&(r.response.data=V.call(e,e.transformResponse,r.response),r.response.headers=T.from(r.response.headers))),Promise.reject(r)})}const pe=e=>e instanceof T?e.toJSON():e;function P(e,t){t=t||{};const n={};function r(h,l,u){return a.isPlainObject(h)&&a.isPlainObject(l)?a.merge.call({caseless:u},h,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(h,l,u){if(a.isUndefined(l)){if(!a.isUndefined(h))return r(void 0,h,u)}else return r(h,l,u)}function o(h,l){if(!a.isUndefined(l))return r(void 0,l)}function i(h,l){if(a.isUndefined(l)){if(!a.isUndefined(h))return r(void 0,h)}else return r(void 0,l)}function c(h,l,u){if(u in t)return r(h,l);if(u in e)return r(void 0,h)}const p={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(h,l)=>s(pe(h),pe(l),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=p[l]||s,E=u(e[l],t[l],l);a.isUndefined(E)&&u!==c||(n[l]=E)}),n}const Le="1.6.2",ne={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ne[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const he={};ne.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Le+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,c)=>{if(t===!1)throw new m(s(i," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!he[i]&&(he[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,c):!0}};function Xt(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const c=e[o],p=c===void 0||i(c,o,e);if(p!==!0)throw new m("option "+o+" must be "+p,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+o,m.ERR_BAD_OPTION)}}const v={assertOptions:Xt,validators:ne},N=v.validators;class k{constructor(t){this.defaults=t,this.interceptors={request:new ce,response:new ce}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=P(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&v.assertOptions(r,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:v.assertOptions(s,{encode:N.function,serialize:N.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),n.headers=T.concat(i,o);const c=[];let p=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(p=p&&d.synchronous,c.unshift(d.fulfilled,d.rejected))});const h=[];this.interceptors.response.forEach(function(d){h.push(d.fulfilled,d.rejected)});let l,u=0,E;if(!p){const f=[de.bind(this),void 0];for(f.unshift.apply(f,c),f.push.apply(f,h),E=f.length,l=Promise.resolve(n);u<E;)l=l.then(f[u++],f[u++]);return l}E=c.length;let S=n;for(u=0;u<E;){const f=c[u++],d=c[u++];try{S=f(S)}catch(b){d.call(this,b);break}}try{l=de.call(this,S)}catch(f){return Promise.reject(f)}for(u=0,E=h.length;u<E;)l=l.then(h[u++],h[u++]);return l}getUri(t){t=P(this.defaults,t);const n=Be(t.baseURL,t.url);return Ne(n,t.params,t.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){k.prototype[t]=function(n,r){return this.request(P(r||{},{method:t,url:n,data:(r||{}).data}))}});a.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,c){return this.request(P(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}k.prototype[t]=n(),k.prototype[t+"Form"]=n(!0)});const j=k;class re{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(c=>{r.subscribe(c),o=c}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,c){r.reason||(r.reason=new D(o,i,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new re(function(s){t=s}),cancel:t}}}const vt=re;function Qt(e){return function(n){return e.apply(null,n)}}function Zt(e){return a.isObject(e)&&e.isAxiosError===!0}const Q={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Q).forEach(([e,t])=>{Q[t]=e});const Yt=Q;function Ue(e){const t=new j(e),n=me(j.prototype.request,t);return a.extend(n,j.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Ue(P(e,s))},n}const y=Ue(te);y.Axios=j;y.CanceledError=D;y.CancelToken=vt;y.isCancel=_e;y.VERSION=Le;y.toFormData=M;y.AxiosError=m;y.Cancel=y.CanceledError;y.all=function(t){return Promise.all(t)};y.spread=Qt;y.isAxiosError=Zt;y.mergeConfig=P;y.AxiosHeaders=T;y.formToJSON=e=>Fe(a.isHTMLForm(e)?new FormData(e):e);y.getAdapter=De.getAdapter;y.HttpStatusCode=Yt;y.default=y;const en=y;function tn(){return en.CancelToken.source()}exports.getCancelToken=tn;
@@ -1 +0,0 @@
1
- "use strict";const S=require("./components.answerquestions.9c7165c4.js"),F=require("./page.bmodule.screendands.c9d3a094.js"),V=require("./page.build.5fa4a6c0.js"),g=require("./http.main.8543ccc4.js"),$=require("./http.filemanage.0cf7a879.js"),T=require("./http.tabledevelopment.b1ae0c37.js"),b=require("./form.designer.duplicate.0288787e.js"),L=require("./form.designer.build.7c94450d.js"),v=require("./utils.util.js.dffba0f0.js"),B=require("./utils.axios.js.69442e57.js"),C=require("./utils.plug.js.f62510ce.js");var y=null;const R={name:"GdViewBuildDesigner",props:{record:{type:Object,default:()=>({})},develop:{type:[Number,String],default:1},openMode:{type:[String,Number],default:1},height:{type:Number,default:100},foreign:{type:Object,default:()=>({})},disabledRowId:{type:Array,default:()=>[]},excludeButtons:{type:Array,default:()=>[]},lineQuickView:{type:Function},istable:{type:Boolean,default:!1}},data(){return{visibleTable:!0,statu:!1,laoding:!1,show:!1,queryTable:{},queryParam:{},querySearchParam:{},formList:[],tableData:{},sysViewList:[],personalViewList:[],sysViewButtons:[],columns:[],columnsSetting:[],selectedRowKeys:[],selectedRows:[],viewCode:"",defaultViewId:0,queryCriteria:{},showSummary:!1,summaryData:{},viewRecord:{},loadData:t=>{const e=this.triggerFilterData&&this.triggerFilterData.fieldData?this.triggerFilterData.fieldData:this.fieldData,s=this.triggerFilterData&&this.triggerFilterData.tableQueries?this.triggerFilterData.tableQueries:this.tableQueries;let i=Object.assign(t,this.queryTable,b.switchingDate(this.queryParam,e,s,this.getDictionary("time_longshort")),this.foreign);return this.sysViewFilters&&Object.assign(i,{sysViewFilters:this.sysViewFilters}),this.queryCriteria={...i},this.openMode==3&&this.foreign.fkValue!=""&&String(this.foreign.fkValue).split("u").length>1?new Promise((a,r)=>{a({pageNo:1,pageSize:40,totalRows:0,rows:[]})}):(this.source=B.getCancelToken(),g.basePage(i,null,this.source.token).then(a=>{this.triggerFilterData=null,this.source=null;let r=[];if(a.code===200){r=a.data.rows.filter(d=>d.id!==null);const n=a.data.rows.filter(d=>d.id===null)[0];this.summaryData=n||{},this.showSummary=!!n,this.$emit("changeData",r),this.$refs.charts&&this.$refs.charts.setLoadData(r)}else this.$message.error(a.message);const o=a.data?a.data:{};return Object.assign(o,{rows:r})}))},amount:({columns:t,data:e})=>{let s=[];return t.forEach((i,a)=>{if(i.property)this.summaryData[i.property]!==null&&!this.istable?s[a]=this.$i18nt("gd.table.subtotal","\u5C0F\u8BA1")+": "+this.summaryData[i.property]:s[a]="";else{s[a]="";return}}),s},tableQueries:[],imgList:[],currentImg:"",fieldData:[],hideQueryField:[],fileOptions:{},styled:{},componentList:[],callbackFun:null,renderHeaderList:[],triggerFilterData:null,showComponent:"",source:null,columnFilterList:[],sysViewFilters:null,hasHeaderFilter:!1,operationPermission:{}}},watch:{selectedRows(t,e){this.baseUsageBtn()}},components:{ViewSelection:()=>Promise.resolve().then(()=>require("./main.467492ec.js")),ChildRenItem:()=>Promise.resolve().then(()=>require("./form.designer.duplicate.0288787e.js")).then(t=>t.main),ImgPreview:()=>Promise.resolve().then(()=>require("./components.imgpreview.f3cefc71.js")),XlsxExport:()=>Promise.resolve().then(()=>require("./components.xlsxexport.4292c87e.js")),XlsxImport:()=>Promise.resolve().then(()=>require("./components.xlsximport.df981b91.js")).then(t=>t.main),TeamSharing:()=>Promise.resolve().then(()=>require("./components.teamsharing.2e99942d.js")),BatchUpdate:()=>Promise.resolve().then(()=>require("./components.batchupdate.5e9d37ed.js")),DataAssign:()=>Promise.resolve().then(()=>require("./components.dataassign.36bab80a.js")),ViewCharts:()=>Promise.resolve().then(()=>require("./main.8024dd7b.js")),QuickSearch:()=>Promise.resolve().then(()=>require("./main.97e52ee0.js")),StatusChange:()=>Promise.resolve().then(()=>require("./components.statuschange.47fbeb23.js")),QueryFilterItem:()=>Promise.resolve().then(()=>require("./main.a9f3565e.js"))},computed:{getOperationPermission(){return Object.assign({},{add:"1",allocation:"1",delete:"1",edit:"1",get:"1",share:"1"},this.operationPermission)},hasResize(){return this.options.heightMode==="custom"&&this.openMode==1},showViewtree(){return!!(this.laoding&&this.viewRecord.viewtree!="{}")},getFilterConfig(){const t=this.viewList.filter(e=>e.id==this.viewCode)[0];return t&&t.filterconfig?JSON.parse(t.filterconfig):C.getPlugFilters()},paginationStyle(){const t=this.options.pagerFlex!==void 0?this.options.pagerFlex:"";return t!==""?`justify-content:${t};`:""},layoutConfig(){let t={viewsGroup:!0,butGroup:!0,query:!0,filter:!0,chart:!0,rfresh:!0,tableSize:!0,tableColumn:!0,pager:!0};return(this.options.layoutConfig!==void 0?this.options.layoutConfig:!0)&&this.record.layoutConfig!==void 0&&(t=Object.assign(this.record.layoutConfig,{query:this.record.layoutConfig.query===void 0?!0:this.record.layoutConfig.query})),t},getQuickQueries(){return this.tableQueries.filter(e=>e.quick)},rowKey(){let t="id";if(this.tableData.isvirtualtable===1){const s=this.fieldData.filter(i=>i.isprimarykey===1)[0];t=s?s.columnname:t}return t},disabledRefresh(){return this.openMode!=3?!1:this.foreign.fkValue===""},tableSized(){return this.openMode==3?this.tableSize>50?50:this.tableSize:this.tableSize},paginationPageSize(){return this.openMode==3?[10,20,30,40,50]:[10,20,30,40,50,100,200,500]},formCode(){return this.options.form.id},selectedKeep(){return this.openMode==2?!0:this.options.selectedKeep!==void 0?this.options.selectedKeep:!1},viewList(){return this.sysViewList.concat(this.personalViewList)},getFristColumn(){const t=this.columnsSetting.filter(e=>e.type!=="selection"&&e.checked)[0];return t||{}},getColumnsed(){return this.columns.filter(e=>e.type==="slot")},hig(){const t=this.sysViewButtons.filter(o=>o.show&&this.$hasPerm(o.name))[0],e=this.openMode==1&&this.layoutConfig.butGroup&&t?54:0,s=this.develop===1?40+24+e:e,i=this.develop===1?46+102:102,a=this.develop===1?this.screenHeight-46-s-i:this.height-s-i;if(this.options.heightMode==="percentage")return a*(Number(this.options.height)/100);const r=this.options.height===0||this.options.height===""?a:this.options.height;return this.options.heightMode==="custom"?r:a},options(){return this.record.options},operationuList(){return this.record.operationuList},tableSetting(){return this.record.tableSetting},...S.mapGetters(["primaryColor","screenHeight","tableLists","tableSize","tablePageSize"])},methods:{handleScroll(t){this.renderHeaderList.forEach(e=>{e.show&&e.updatePopper&&e.updatePopper()})},okQueryFilter(t){this.sysViewFilters=Object.assign({},t),this.columnFilterList=[],this.hasHeaderFilter=!0,this.renderHeaderList.forEach(e=>{e.resetValue&&e.resetValue()}),this.refresh()},commandFilter(t){if(t==="edit"){this.$refs.queryFilterItem.open(this.sysViewFilters?this.sysViewFilters:this.getFilterConfig);return}if(this.renderHeaderList.forEach(s=>{s.resetValue&&s.resetValue()}),!this.sysViewFilters){this.refresh();return}const e=this.sysViewFilters.list.filter(s=>!this.columnFilterList.filter(a=>a.key===s.key)[0]);this.sysViewFilters=Object.assign({},this.sysViewFilters,{list:e}),this.columnFilterList=[],this.refresh()},okAssignSharing(t,e){this.callbackFun&&typeof this.callbackFun=="function"&&this.callbackFun(t),this.refresh()},rowClick(t,e){if(y){clearTimeout(y),y=null;const s=this.viewList.filter(a=>a.id===this.viewCode)[0];(s&&s.isdoubleclick!==void 0?s.isdoubleclick:1)===1&&this.changeQuickView(t);return}y=setTimeout(()=>{y=null;const s=this.openMode==2&&this.record.options.effectType!="participants",i=this.selectedRowKeys.filter(o=>o===t[this.rowKey])[0],a=this.selectedRowKeys.filter(o=>o!==t[this.rowKey]),r=this.selectedRowKeys.filter(o=>o[this.rowKey]!==t[this.rowKey]);this.selectedRowKeys=s?[t[this.rowKey]]:i?a:a.concat([t[this.rowKey]]),this.selectedRows=s?[t]:i?r:r.concat([t]),this.$emit("changeSelect",this.selectedRowKeys,this.selectedRows),this.$refs.table.rowClickSelection(t,!i,s)},260)},showLoading(){this.statu=!0},hideLoading(t=1500){setTimeout(()=>{this.statu=!1},t)},hideQueryParam(t){this.hideQueryField=[...t]},setLoadData(t){this.$refs.table.loading=!0,this.$refs.table.setLoadData(t),setTimeout(()=>{this.$refs.table.loading=!1},100)},baseImportData(t){this.$refs.xlsxImport.open()},baseExportData(t){if(t.key==1||t.key==2){this.baseExport(t);return}if(t.key==4){this.baseExportSel(t);return}let e=Object.assign({type:t.key?t.key:0,whereS:[]},{...this.queryTable},{...this.foreign});this.sysViewFilters&&Object.assign(e,{sysViewFilters:this.sysViewFilters}),this.$refs.xlsxExport.open(e,t)},hasRowData(t,e,s="none"){if(e==="image")return s==="none"?!!t:t?t.split(","):[];if(e==="file"){const i=t?JSON.parse(t):[];return s==="none"?i.length>0:i}return!1},del(t){this.baseDel()},deactivateData(){this.baseEnable(0)},enableData(){this.baseEnable()},assign(t){this.baseAssign(t)},batchUpdate(t){this.baseBatchUpdate()},teamSharing(t){this.baseTeamSharing(t)},statusChange(){this.baseStatusChange()},open(t){this.$emit("baseOpen",t)},handleMenuClick(t){t.id!=this.viewCode&&(this.viewCode=t.id,this.queryParam={},this.$refs.table.setTableData([],!1),this.baseGetView())},showFile(t,e,s){if(this.statu)return;this.showLoading();const i=e[t.prop];let a=i;typeof i=="string"&&(a=JSON.parse(i));let r=e.name?e.name:s.title,o=new F.JSZip,n=[],d={};a.forEach(u=>{let m=this.getFileBlob(u).then(p=>{o.file(u.fileoriginname,p,{binary:!0}),d[u.fileoriginname]=p});n.push(m)});const h=this.$message({message:this.$i18nt("gd.https.downloadingFiles","\u6587\u4EF6\u6B63\u5728\u538B\u7F29\u4E0B\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});Promise.all(n).then(()=>{o.generateAsync({type:"blob"}).then(u=>{V.FileSaver.saveAs(u,r),this.hideLoading(),h.close()})}).catch(u=>{h.close(),this.hideLoading(),this.$message.error("err!")})},showImg(t,e){this.statu||(this.showLoading(),this.imgList=e,this.currentImg=t,this.$refs.imgPreview.imgListShow=!0,this.$refs.imgPreview.open(),this.hideLoading())},preview(t,e){if(this.statu)return;this.showLoading();const s=t.fileoriginname.substr(t.fileoriginname.lastIndexOf(".")+1).toLowerCase();if(this.fileOptions={...e},["gif","jpeg","png","jpg","JPG","PNG","bmp","BMP"].includes(s)){$.sysFileInfoPreview({id:t.id}).then(i=>{const a=window.URL.createObjectURL(new Blob([i]));this.imgList=[a],this.currentImg=a,this.$refs.imgPreview.open(),this.statu=!1,this.hideLoading()}).catch(()=>{this.hideLoading()});return}this.showComponent="filePreview",this.$nextTick(()=>{setTimeout(()=>{this.$refs.filePreview.open(Object.assign(t,{fileId:t.id||t.Id,name:t.fileoriginname})),this.hideLoading()},0)})},baseQuickForm(t,e){if(this.statu)return;if(this.showLoading(),String(t.id).split("u").length>1){let i=e.fieldType=="about"?e.prop+"_AboutTable":e.columnName,a=e.fieldType=="about"?t[i]:e.fkEntityName,r=this.tableLists.filter(h=>h.tablename==a)[0],o=(e.fieldType=="about",t[e.columnName]),n={tableId:r.id,data:[{id:o}]};this.statu=!0;const d=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});this.$refs.middleware.init(n).then(h=>{setTimeout(()=>{this.statu=!1},1e3),d.close(),this.hideLoading()});return}if(e.fieldType=="about"){this.baseQuickAbout(t,e);return}if(e.fieldType=="participants"){let i=this.tableLists.filter(r=>r.tablename==t.tableName)[0];if(i===void 0){this.$message.error(this.$i18nt("gd.solution.dataErrorTip","\u6570\u636E\u9519\u8BEF\uFF0C\u5F53\u524D\u6570\u636E(\u8868)\u4E0D\u5B58\u5728\u6216\u8005\u5DF2\u5220\u9664\uFF01"));return}this.statu=!0;const a=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});this.$refs.middleware.init({tableId:i.id,data:[t]}).then(r=>{setTimeout(()=>{this.statu=!1},1e3),a.close(),this.hideLoading()});return}this.baseQuickFk({data:t,item:e})},changeQuickView(t){if(this.statu)return;this.showLoading();const e=this.lineQuickView(t);(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"?e.then(s=>{this.changeQuickViewOk(s)}).catch(()=>{console.log("\u7528\u6237\u7EC8\u6B62\u64CD\u4F5C"),this.hideLoading()}):this.changeQuickViewOk(t)},changeQuickViewOk(t){if(this.openMode==3){this.open({title:this.$i18nt("gd.common.https.edit","\u7F16\u8F91"),data:t}),this.hideLoading();return}if(this.tableData.isvirtualtable===1){this.open(Object.assign({title:this.$i18nt("gd.common.https.edit","\u7F16\u8F91")},{...t})),this.hideLoading();return}this.open({title:this.$i18nt("gd.common.https.edit","\u7F16\u8F91"),id:t.id}),this.hideLoading()},operatorScope(t,e){const s=t.sourceFk!==void 0?t.sourceFk:!(t.fieldType!="fk"&&t.fieldType!="about"&&t.fieldType!="user");if(this.getFristColumn.prop===t.prop&&!s){this.changeQuickView(e);return}s&&this.baseQuickForm(e,t)},columnChange(t){this.columnsSetting=[...t]},renderHeader(t,{column:e,$index:s},i){return t("div",{style:`display:inline-block;width: calc(100% - ${e.sortable?"26px":"0px"});`,attrs:{class:"gd-cell"}},[t("gd-tables-header-filter",{style:"cursor:pointer",props:{column:Object.assign(e,i||{}),queryParam:this.queryParam,hideQueryField:this.hideQueryField,tableData:this.tableData,columnFilterList:this.columnFilterList,openMode:this.openMode},on:{query:this.columnRefresh,change:this.renderHeaderChange,renderHeaderInit:this.renderHeaderInit}})])},renderHeaderChange(t){const e=this.renderHeaderList.filter(s=>s.renderHeader&&s.property!==t.property);this.$nextTick(()=>{setTimeout(()=>{e.forEach(s=>{s.executeEvent&&s.executeEvent()})},0)})},renderHeaderInit(t){const e=this.renderHeaderList.filter(s=>s.property!==t.property);this.renderHeaderList=e.concat([t])},columnRefresh(t){const e=this.viewList.filter(r=>r.id==this.viewCode)[0];let s=e&&e.filterconfig?JSON.parse(e.filterconfig):C.getPlugFilters();this.sysViewFilters&&(s=Object.assign({},this.sysViewFilters));let i=this.columnFilterList.filter(r=>r.key!==t.data.key),a=s.list.filter(r=>r.key!==t.data.key);if(t.statu==="ok"){const r=v.uuid(),o=Object.assign({},t.data,{pid:r}),n=t.data.columntype==="parental"?t.data:Object.assign({},C.getPlugFilters(),{id:r,tablename:t.data.tablename,list:[o],pid:0,key:t.data.key,operators:t.data.operators,columnid:0,columnname:"",columntype:"input",ruleslist:t.data.ruleslist});a.push(n),i.push(t.data)}this.sysViewFilters=Object.assign({},s,{list:a}),this.columnFilterList=i,this.refresh()},queriesRefresh(t,e,s=1){this.queryParam={...t},this.tableQueries=this.tableQueries.map(o=>{const n=e.filter(d=>(d.property||d.prop)===o.prop)[0];return Object.assign({...o},{fkData:n?n.fkData:o.fkData})}),this.refresh(),this.$nextTick(()=>{setTimeout(()=>{s===1&&this.$refs.quickSearch&&this.$refs.quickSearch.queriesInit()},0)});const a=(this.record.interacList?this.record.interacList:[]).filter(o=>o.triggerAction==="queriesRefresh"&&o.componentKey!==""&&o.componentFunction!==""),r=this.triggerFilterData&&this.triggerFilterData.source?this.triggerFilterData.source.key:"";a.forEach(o=>{this.record.doEvent&&o.componentKey!==r&&this.record.doEvent({key:o.componentKey,functionName:o.componentFunction,data:this.queryParam,fieldData:this.fieldData,tableQueries:this.tableQueries,source:this.record,callback:!1,callbackComponents:"",callbackFunction:""})})},triggerRefresh(){(this.record.interacList?this.record.interacList:[]).filter(s=>s.triggerAction==="refresh"&&s.componentKey!==""&&s.componentFunction!=="").forEach(s=>{this.record.doEvent&&this.record.doEvent({key:s.componentKey,functionName:s.componentFunction,data:this.queryParam,fieldData:this.fieldData,tableQueries:this.tableQueries,source:this.record,callback:!1,callbackComponents:"",callbackFunction:""})})},baseTriggerFilter(t){this.source&&(this.source.cancel("Operation canceled by the user."),this.$refs.table.loading=!1);const e=t.data&&typeof t.data=="object"?t.data:this.queryParam,s=t.tableQueries?t.tableQueries:this.tableQueries;this.triggerFilterData={fieldData:t.fieldData?t.fieldData:this.fieldData,tableQueries:s,source:t.source?t.source:{}},this.queriesRefresh(e,s)},handleQueryParam(){let t={};(this.options.filterList?this.options.filterList:[]).forEach(s=>{const i=this.fieldData.filter(a=>a.columnName===s.fieldName)[0];i&&["fk","about","participants","user"].includes(i.effectType)?t[s.fieldName]=s.fieldValue===""?[]:String(s.fieldValue).split(",").map(Number):i&&["select","checkbox"].includes(i.effectType)?t[s.fieldName]=s.fieldValue===""?[]:String(s.fieldValue).split(","):t[s.fieldName]=s.fieldValue}),Object.assign(this.queryParam,{...t}),this.querySearchParam=t},init(t){this.fieldData=[...t.fieldData],this.tableData={...t.tableData},this.sysViewList=[...t.sysViewList],this.operationPermission=t.operationPermission;let e=[...t.personalViewList];if(e.filter(a=>{let r=this.sysViewList.filter(o=>o.id===a.baseview)[0];if(r)a.mode=2,a.permissions=r.permissions,a.sysviewbuttons=r.sysviewbuttons,a.sysviewfields=a.syssavedqueryfields,a.sysviewqueries=a.syssavedqueryquerys,a.buttonrule=r.buttonrule;else return!1;return!0}),this.personalViewList=[...e],this.defaultViewId=t.defaultViewId,this.laoding=!0,this.viewList.length===0){console.log("\u65E0\u89C6\u56FE\u4FE1\u606F");return}let s=this.options.view.id?this.options.view.id:"";if(s!==""&&(s=this.viewList.filter(r=>r.id===s)[0]?s:""),Number(this.defaultViewId)!==0&&Number(this.openMode===1)){const a=this.options.viewWeights?this.options.viewWeights:"2",r=this.viewList.filter(o=>o.id===Number(this.defaultViewId))[0];s=a==="1"?s:r?this.defaultViewId:s}const i=this.viewList.filter(a=>a.type==this.openMode)[0];if(s===""&&(s=i?i.id:this.viewList[0].id),this.openMode==2&&this.record.options.val!==void 0){const a=typeof this.record.options.val;let r=a==="string"||a==="number"?[this.record.options.val]:[...this.record.options.val];this.selectedRowKeys=r.filter(o=>o!=="")}this.openMode==2&&this.handleQueryParam(),this.openMode==3&&(this.record.baseRelationRefresh=this.refresh,this.record.baseSetTableData=this.baseSetTableData),this.viewCode=s,this.baseGetView()},async baseGetView(){let t=this.viewList.filter(l=>l.id===this.viewCode)[0];if(t===void 0){console.log("\u89C6\u56FE\u4FE1\u606F\u4E0D\u5B58\u5728");return}const e=this.viewList.filter(l=>this.$hasPerm(l.permissions)&&l.type==1).concat(this.personalViewList)[0];if(!e&&this.openMode==1){this.$message.error(this.$i18nt("gd.https.errViewTip","\u65E0\u89C6\u56FE\u6743\u9650!"));return}!(t.mode==1?this.$hasPerm(t.permissions):!0)&&this.openMode==1&&(t=e,this.viewCode=e.id),this.queryTable={tableId:t.syscodegenid,viewId:t.id,viewType:t.mode};let i=[],a={};t.sysviewqueries.forEach(l=>{const f=b.getQueries(l,this.getDictionary("time_longshort"),this.$i18nt("gd.placeholder.required","\u5FC5\u586B\u9879")),c=this.fieldData.filter(w=>{let D=f?f.prop:"";return w.columnname===D})[0],k=c?c.isquery:!0;f&&k&&i.push(f)});const r=this.options.filterList?this.options.filterList:[];i.map(l=>{const f=r.filter(c=>c.fieldName===l.prop)[0];return this.openMode==2&&f&&(l.disabled=!0,l.hasFiltered=!0),!l.disabled&&!l.options.hidden&&(a=Object.assign(a,b.hasDefaultVal(l))),l}),this.tableQueries=i;const o=this.options.queryDefaultKey?this.options.queryDefaultKey:"";o!==""?this.queryParam=this.getDefaultParam(o):this.queryParam=Object.assign({...this.queryParam},{...a});let n=t.sysviewbuttons.map(l=>(l.show=!0,l.transKey=l.transkey?`Dynamics.${l.transkey}`:null,l.displayName=l.displayname,(l.functionname==="del"||l.functionname==="deactivateData")&&(l.btnType="danger"),l.childbutton&&l.childbutton.length>0&&(l.childbutton.map(f=>(f.transKey=f.transkey?`Dynamics.${f.transkey}`:null,f.displayName=f.displayname,f)),l.children=l.childbutton),l));const d=this.baseRelationBtnShow(),h=L.usageAllBtnRules({btn:n,view:t,statu:d,data:this.selectedRows,excludeBtn:this.excludeButtons});this.baseAddbtn(h);let u=[];this.openMode==2&&this.record.options.effectType!="participants"?u.push({type:"selection-radio",width:"60",fixed:!0,prop:"selection-radio"}):u.push({type:"selection",width:"60",fixed:!0});let m=0;t.sysviewfields.forEach((l,f)=>{let c=b.getColumns(l,f,t.frozencolumn);c&&c.dictTypeCode&&Object.assign(c,{dictTypeList:this.getDictionary(c.dictTypeCode)}),m===0&&c&&c.checked&&(Object.assign(c,{type:"slot",slotType:c.prop}),m+=1),c&&c.prop,this.hasRenderHeader(c)&&this.layoutConfig.filter&&Object.assign(c,{renderHeader:(w,...D)=>this.renderHeader(w,...D,{prop:c.prop,transKey:c.transKey,effectType:c.effectType,fieldType:c.fieldType,columnType:["fk","user"].includes(c.fieldType)?"parental":c.effectType,columnId:c.id,columnFkId:l.syscodegenconfigfk?l.syscodegenconfigfk.id:c.id,columnName:l.syscodegenconfigfk?l.syscodegenconfigfk.columnname:l.syscodegenconfig.columnname,columnFkName:l.syscodegenconfigfk?l.syscodegenconfig.columnname:"",fkEntityName:c.fkEntityName,fkEntityNamefig:c.fkEntityNamefig,fieldFormat:c.fieldFormat,dictTypeCode:c.dictTypeCode,filedSize:Number(c.filedsize),relations:c.relations,show:!1})}),c&&u.push(c)});let p=[];if(this.istable){const l=this.record.queryList.filter(f=>f.visible);p=this.processData(l,u),this.operationuList.length>0&&(p=p.concat({type:"slot",prop:"tableGridOperation",slotType:"tableGridOperation",effectType:"tableGridOperation",labelWidth:this.record.operationu.labelWidth||"120",width:this.record.operationu.labelWidth||"120",hidden:this.record.operationu.hide||!1,visible:this.record.operationu.hide||!1,fixed:"right",textalign:this.record.operationu.align||"center",align:this.record.operationu.align||"center",label:this.$i18nt("gd.common.https.operation","\u64CD\u4F5C"),operations:this.operationuList}),p.forEach(f=>{f.sortable=f.orderconfig?"custom":!1}))}else p=u;this.sysViewFilters=null,this.columnFilterList=[],this.hasHeaderFilter=!1,this.viewRecord={...t},this.styled=this.viewRecord?"":"padding-left:12px;",this.$emit("changeView",this.viewRecord),this.columns=[...p],await this.$refs.table.loadColumns(),this.show=!0,this.$nextTick(()=>{this.$refs.queriesField&&this.$refs.queriesField.init(),setTimeout(()=>{this.refresh(),this.laoding=!0,this.record.hideLoad&&this.record.hideLoad(this.record.key),this.$refs.quickSearch&&this.$refs.quickSearch.init()},0)})},hasRenderHeader(t){return!t||t.effectType=="about"&&t.columnName==(t.relations+"_AboutTable").toLowerCase()||t.effectType=="currency"&&t.columnName==(t.relations+"_Currency_Base").toLowerCase()?!1:t.effectType!="editor"},getDefaultParam(t){const e=this.record.getComponentData?this.record.getComponentData(t):null;if(!e)return{};let s={};const i=this.getDictionary("time_longshort");let a=e.queryList?e.queryList:[],r=[],o=[];return a.forEach(d=>{const h={columncomment:d.columnComment,transkey:d.transKey,columnname:d.columnName,effecttype:d.effectType};r.push(h);const u=b.getFilterQueries(d,h,i,this.$i18nt("gd.placeholder.required","\u5FC5\u586B\u9879"));u&&!u.disabled&&!u.options.hidden&&Object.assign(s,b.hasDefaultVal(u)),u&&o.push(u)}),b.switchingDate(s,r,o,i)},processData(t,e){const s=t.map(n=>n.fieldid),i={};t.forEach(n=>{i[n.fieldid]=n.orderconfig});const a=e.filter(n=>n.type==="selection"||n.type==="selection-radio"),r=e.filter(n=>n.type==="selection"||n.type==="selection-radio"?!1:s.includes(n.id)).map(n=>({...n,sortables:i[n.id]?"custom":!1})),o=s.map(n=>r.find(d=>d.id===n)).filter(n=>n!==void 0);return[...a,...o]},baseAddbtn(t){if(this.getOperationPermission.add!=="1"){this.sysViewButtons=t.map(e=>Object.assign(e,{show:["add","baseAdd"].includes(e.functionname)?!1:e.show})),this.$emit("changeBtn",this.sysViewButtons);return}g.baseCheckPermission({OperationType:"add",codeGenId:this.tableData.id,DataIds:""}).then(e=>{this.sysViewButtons=e.data?t:t.map(s=>Object.assign(s,{show:["add","baseAdd"].includes(s.functionname)?!1:s.show})),this.$emit("changeBtn",this.sysViewButtons)}).catch(()=>{this.sysViewButtons=t,this.$emit("changeBtn",this.sysViewButtons)})},baseGetTableView(){const t=this.tableLists.filter(e=>{const s=this.options.table.tableName||this.options.table.tablename;return e.tablename.toLowerCase()===s.toLowerCase()})[0];return g.baseTableData({tableId:t.id}).then(e=>(e.code===200?(e.data.viewList.map(s=>(s.mode=1,s)),this.formList=e.data.formlist,this.tableData=e.data.table,this.sysViewList=e.data.viewlist):this.$message.error(e.message),e))},baseGetPersonalView(t){if(t&&this.openMode!=1)return new Promise((s,i)=>{s()});const e=this.tableLists.filter(s=>{const i=this.options.table.tableName||this.options.table.tablename;return s.tablename.toLowerCase()===i.toLowerCase()})[0];return g.basePersonalData({tableId:e.id}).then(s=>(s.code===200&&(this.defaultViewId=s.data.defaultqueryid,this.personalViewList=s.data.savedquerylist),s.data))},baseUpdatePersonalView(){this.baseGetPersonalView(!1).then(t=>{let e=this.personalViewList;e.filter(s=>{let i=this.sysViewList.filter(a=>a.id==s.baseview)[0];return i?(s.mode=2,s.permissions=i.permissions,s.sysviewbuttons=i.sysviewbuttons,s.sysviewfields=s.syssavedqueryfields,s.sysviewqueries=s.syssavedqueryquerys,s.buttonrule=i.buttonrule,!0):!1}),this.personalViewList=[...e]})},refresh(t=!0){this.$refs.table?this.$refs.table.refresh(t):console.log("err:\u89C6\u56FE\u672A\u52A0\u8F7D\uFF0C\u8BF7\u7B49\u5F85\u52A0\u8F7D\u5B8C\u6210\uFF01")},isPureNumber(t){return typeof t=="number"&&Number.isFinite(t)},baseDel(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}if(!this.isPureNumber(this.selectedRowKeys[0])){this.baseDelBtn();return}if(this.getOperationPermission.delete==="0"){this.$message.error(this.$i18nt("gd.https.noPermissionTip","\u64CD\u4F5C\u5931\u8D25\uFF0C\u6682\u65E0\u5BF9\u5E94\u6743\u9650\uFF01"));return}g.baseCheckPermission({OperationType:"delete",codeGenId:this.tableData.id,DataIds:this.selectedRowKeys[0]}).then(t=>{t.data?this.baseDelBtn():this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+t.message)})},baseDelBtn(){let t=this;this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,s,i)=>{if(e!=="confirm"){i();return}if(t.openMode==3){t.baseDelLoadData(s,i);return}s.confirmButtonLoading=!0,s.cancelButtonLoading=!0,s.showCancelButton=!1,g.baseDel({tableId:t.tableData.id,ids:t.selectedRowKeys.join(",")}).then(a=>{s.confirmButtonLoading=!1,s.cancelButtonLoading=!1,s.showCancelButton=!0,a.success?(t.$message.success(t.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),t.onSelectChange([],[]),t.refresh(),i()):t.$message.error(t.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+a.message)})}})},baseDelLoadData(t,e){let s=this,i=!1,a=!1;this.record.options&&(i=this.record.options.saved===void 0?!1:this.record.options.saved,a=this.record.options.refreshHost===void 0?!1:this.record.options.refreshHost);let r=[];this.selectedRowKeys.forEach(n=>{String(n).split("u").length===1&&r.push(n)});const o=this.$refs.table.tableData.filter(n=>!this.selectedRowKeys.includes(n.id));if(r.length>0){t.confirmButtonLoading=!0,t.cancelButtonLoading=!0,t.showCancelButton=!1,g.baseDel({tableId:s.tableData.id,ids:r.join(",")}).then(n=>{t.confirmButtonLoading=!1,t.cancelButtonLoading=!1,t.showCancelButton=!0,n.success?(s.$message.success(s.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),e(),s.$refs.table.setTableData(o),s.$emit("changeData",o),i&&s.refresh(),a&&s.foreign.fkValue!==""&&s.baseRelationRefresh(!0,[])):s.$message.error(s.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n.message)});return}this.$message.success(s.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),e(),this.$refs.table.setTableData(o),this.$emit("changeData",o),a&&this.foreign.fkValue!==""&&this.baseRelationRefresh(!0,[]),e()},tableGriddelete(t){let e=this;this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,i,a)=>{if(s!=="confirm"){a();return}if(e.openMode==3){e.baseDelLoadData(i,a);return}i.confirmButtonLoading=!0,i.cancelButtonLoading=!0,i.showCancelButton=!1,g.baseDel({tableId:e.tableData.id,ids:t.id}).then(r=>{i.confirmButtonLoading=!1,i.cancelButtonLoading=!1,i.showCancelButton=!0,r.success?(e.$message.success(e.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),e.onSelectChange([],[]),e.refresh(),a()):e.$message.error(e.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+r.message)})}})},tableGridpage(t){t.type=="size"?this.$refs.table.handleSizeChange(t.pageSize):t.type=="current"?this.$refs.table.handleCurrentChange(t.pageNo,t.pageSize):this.queriesRefresh(t.data,t.fieldData)},gettableGrid(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.readTip","\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.readTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E!"));return}this.record.tableGridList=this.selectedRows},handleMenuClicked(t){let e=this.$refs.table,s=[];e.columnsSetting.forEach(h=>{(h.checked==null?!0:h.checked)&&h.id!=null&&s.push({id:h.id,columnName:h.prop,aliasName:this.$i18nt(h.transKey,h.label),fkId:h.fkId})}),this.viewType==2&&s.pop();let i={pageNo:e.currentPage,pageSize:e.pageSized},a=new Map;for(let h in this.queryCriteria)h!="pageNo"&&h!="pageSize"&&h!="viewType"&&a.set(h,this.queryCriteria[h]);const r=this.triggerFilterData&&this.triggerFilterData.fieldData?this.triggerFilterData.fieldData:this.fieldData,o=this.triggerFilterData&&this.triggerFilterData.tableQueries?this.triggerFilterData.tableQueries:this.tableQueries;let n=Object.assign({},{...i},b.switchingDate(this.queryParam,r,o,this.getDictionary("time_longshort")),Object.fromEntries(a));this.sysViewFilters&&Object.assign(n,{sysViewFilters:this.sysViewFilters});let d={displayColumns:s,whereS:[n],type:t};return this.sysViewFilters&&Object.assign(d,{sysViewFilters:this.sysViewFilters}),Object.assign(Object.fromEntries(a),d,{...i})},baseExport(t){const e=this.$message({message:this.$i18nt("gd.login.exporting","\u6B63\u5728\u5BFC\u51FA\u4E2D..."),duration:0,iconClass:"el-icon-loading"});let s=this.handleMenuClicked(t.key),i=Object.assign({...s},{...this.queryTable},this.foreign),a=t.url?t.url:!1;g.baseExport(i,a).then(r=>{this.$refs.xlsxExport.exportWay(r,e)}).catch(r=>{e.close(),console.log("\u7CFB\u7EDF\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458"),this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25"))})},baseExportSel(t){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.exportTip","\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u6570\u636E!"));return}const e=this.$message({message:this.$i18nt("gd.login.exporting","\u6B63\u5728\u5BFC\u51FA\u4E2D..."),duration:0,iconClass:"el-icon-loading"});let s=this.handleMenuClicked(t.key),i=Object.assign({...s},{...this.queryTable},this.foreign,{type:4,exportIds:this.selectedRowKeys.join(",")}),a=t.url?t.url:!1;g.baseExport(i,a).then(r=>{this.$refs.xlsxExport.exportWay(r,e)}).catch(r=>{e.close(),this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")),console.log("\u7CFB\u7EDF\u5F02\u5E38\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458")})},baseSetDefaultView(t){let e=this;this.$confirm(this.$i18nt("gd.https.defaultViewContent","\u662F\u5426\u8BBE\u7F6E\u6B64\u6570\u636E\u4E3A\u9ED8\u8BA4\u89C6\u56FE?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.defaultViewOk","\u786E\u5B9A\u8BBE\u7F6E"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,i,a)=>{if(s!=="confirm"){a();return}i.confirmButtonLoading=!0,i.cancelButtonLoading=!0,i.showCancelButton=!1,T.sysSavedQueryDefault({defaultQuery:t.id,codeGenId:e.tableData.id,viewType:t.mode}).then(r=>{r.success?(e.$message.success(e.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),e.defaultViewId=t.id):e.$message.error(e.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+r.message),a(),i.confirmButtonLoading=!1,i.cancelButtonLoading=!1,i.showCancelButton=!0})}})},baseBatchUpdate(){this.$refs.batchUpdate.open()},baseTeamSharing(t){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.shareTip","\u8BF7\u9009\u62E9\u8981\u5171\u4EAB\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.shareTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u5171\u4EAB!"));return}this.callbackFun=t||null,g.baseCheckPermission({OperationType:"share",codeGenId:this.tableData.id,DataIds:this.selectedRowKeys[0]}).then(e=>{e.data?this.$refs.teamSharing.open(this.selectedRowKeys[0]):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+e.message)})},baseStatusChange(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.$refs.statusChange.open(this.selectedRowKeys[0])},baseEnable(t=1){if(this.selectedRowKeys.length===0)return this.$message.warning(this.$i18nt("gd.https.operateTip","\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!")),Promise.resolve();if(this.getOperationPermission.edit==="0"){this.$message.error(this.$i18nt("gd.https.noPermissionTip","\u64CD\u4F5C\u5931\u8D25\uFF0C\u6682\u65E0\u5BF9\u5E94\u6743\u9650\uFF01"));return}return g.baseCheckPermission({OperationType:"disenable",codeGenId:this.tableData.id,DataIds:this.selectedRowKeys[0]}).then(e=>{if(e.data){let s=this;return new Promise((i,a)=>{this.$confirm(t==1?this.$i18nt("gd.https.enableContent","\u662F\u5426\u542F\u7528\u9009\u4E2D\u6570\u636E?"):this.$i18nt("gd.https.deactivateContent","\u662F\u5426\u505C\u7528\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t==1?this.$i18nt("gd.https.enableOk","\u786E\u8BA4\u542F\u7528"):this.$i18nt("gd.https.deactivateOk","\u786E\u8BA4\u505C\u7528"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(r,o,n)=>{if(r!=="confirm"){n(),i({action:r,res:null});return}o.confirmButtonLoading=!0,o.cancelButtonLoading=!0,o.showCancelButton=!1,(t==1?g.baseEnable:g.baseDeactivate)({tableId:s.tableData.id,ids:s.selectedRowKeys.join(",")}).then(h=>{h.success?(s.$message.success(s.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),s.onSelectChange([],[]),s.refresh(),n()):s.$message.error(s.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+h.message),o.confirmButtonLoading=!1,o.cancelButtonLoading=!1,o.showCancelButton=!0,i({action:r,res:h})})}})})}else this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+e.message)})},baseAssign(t){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.operateTip","\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));return}if(this.callbackFun=t||null,this.getOperationPermission.allocation==="0"){this.$message.error(this.$i18nt("gd.https.noPermissionTip","\u64CD\u4F5C\u5931\u8D25\uFF0C\u6682\u65E0\u5BF9\u5E94\u6743\u9650\uFF01"));return}g.baseCheckPermission({OperationType:"allocation",codeGenId:this.tableData.id,DataIds:this.selectedRowKeys.join(",")}).then(e=>{e.data?this.$refs.dataAssign.open(this.selectedRowKeys):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+e.message)})},baseQuickAbout(t,e){const s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"});g.baseDetails({tableId:this.tableData.id,id:t.id}).then(i=>{if(i.success){let a=e.prop+"_abouttable",r={data:t,item:Object.assign(e,{fkEntityName:i.data[0][a]})};this.baseQuickFk(r,s)}else s.close(),this.hideLoading(),setTimeout(()=>{this.statu=!1},1e3),this.$nextTick(()=>{setTimeout(()=>{this.$message.error(i.message)},0)})}).catch(()=>{this.hideLoading()})},baseQuickFk(t,e){let s=e;t.item.fieldType!="about"&&(this.statu=!0,s=this.$message({message:this.$i18nt("gd.https.Loading","\u52A0\u8F7D\u4E2D..."),duration:0,iconClass:"el-icon-loading"}));let i={thisTableName:this.tableData.tablename,thisIdValue:t.data.id,thisFiled:t.item.columnName,fkTable:t.item.fkEntityName?t.item.fkEntityName.toLowerCase():t.item.fkEntityName};g.onlineFormGetFkRelation(i).then(a=>{a.success?this.$refs.middleware.init(Object.assign(a.data,{fieldType:t.item.fieldType})).then(r=>{setTimeout(()=>{this.statu=!1},1e3),s.close(),this.hideLoading()}):(s.close(),this.hideLoading(),this.$nextTick(()=>{setTimeout(()=>{this.$message.error(a.message)},0)}))}).catch(()=>{this.hideLoading()})},baseSeecharts(){this.$refs.charts.open()},baseUsageBtn(){const t=this.viewList.filter(s=>s.id===this.viewCode)[0],e=this.baseRelationBtnShow();this.sysViewButtons=L.usageAllBtnRules({btn:this.sysViewButtons,view:t,statu:e,data:this.selectedRows,excludeBtn:this.excludeButtons})},baseRelationBtnShow(){if(String(this.openMode)!=="3"||this.record.getDelevanceData===void 0)return!0;this.record.baseRelationAllBtnHide=this.baseRelationAllBtnHide;const t=this.record.getDelevanceData();if(!(t.formConfig.controlStatu!==void 0?t.formConfig.controlStatu:!1))return!0;const s=t.fieldData.filter(n=>n.columnname==t.formConfig.controlField)[0];if(s===void 0)return!0;const i=t.parameterData[s.columnname];return(t.formConfig.controlValue===void 0?[]:t.formConfig.controlValue).filter(n=>String(n)===String(i))[0]===void 0?!0:!(t.formConfig.controlScope==null?["viewtable"]:t.formConfig.controlScope).includes("viewtable")},baseRelationAllBtnHide(){if(this.sysViewButtons&&this.sysViewButtons.length>0){const t=this.baseRelationBtnShow();let e=this.sysViewButtons.map(s=>(!this.excludeButtons.includes(s.id)&&!this.excludeButtons.includes(s.displayName)&&(s.show=t),s));this.sysViewButtons=[...e]}},baseRelationOk(t){const e=t.fkDataList.filter(o=>["fk","user"].includes(o.options.effectType));let s=new Map;e.forEach(o=>{const n=o.options.columnName,d=t.data[n];let h=this.viewRecord.sysviewfields.filter(u=>u.syscodegenconfig.columnname==n)[0];if(h){let u=b.getColumnName(h),m=o.fkData.filter(l=>l.id===d)[0],p=h.syscodegenconfig&&h.syscodegenconfig.columnname?`${h.syscodegenconfig.columnname}name`:u;s.set(u,m?m.name:""),!s.has(p)&&s.set(p,m?m.name:"")}});let i=Object.assign({},t.data,Object.fromEntries(s)),a=[],r=this.$refs.table.tableData.filter(o=>o.id!==null);i.id?a=r.map(o=>{let n=String(o.id).split("u");return o.id===i.id&&n.length===1&&(o=Object.assign({...o},{...i},{GdSaasTepyName:2,GdSaasTepyOperation:!0})),o.id===i.id&&n.length>1&&(o=Object.assign({...o},{...i})),o}):a=[Object.assign(i,{id:v.uuid(),GdSaasTepyName:1,GdSaasTepyOperation:!0})].concat(r),this.$refs.table.setTableData(a),this.$emit("changeData",a)},baseRelationRefresh(t=!0,e){if(this.openMode!=3)return;const s=this.record.options.refreshFields?this.record.options.refreshFields:[],i=this.record.options.refreshMode!==void 0?this.record.options.refreshMode:1;i!==-1&&this.record.refresh(t,e,{refreshMode:i,list:s})},baseBtnsStatus(t){const e=t.type?t.type:"show",s=t.list?t.list:[],i=t.field?t.field:"id",a=t.manner?t.manner:"default",r=t.time!==void 0?t.time:100;this.$nextTick(()=>{setTimeout(()=>{const o=this.baseRelationBtnShow();let n=JSON.parse(JSON.stringify(this.sysViewButtons));n.forEach((d,h)=>{const u=d[i];e==="show"?n[h].show=this.excludeButtons.includes(u)?d.show:o?s.includes(u)?!0:a==="default"?d.show:!1:!1:n[h].show=this.excludeButtons.includes(u)?d.show:o?s.includes(u)?!1:a==="default"?d.show:!1:!1}),this.sysViewButtons=[...n],this.$emit("changeBtn",this.sysViewButtons)},r)})},baseForceShowBtns(t,e=1){let s=JSON.parse(JSON.stringify(this.sysViewButtons));s.map(i=>(e===1?i.show=t.includes(i.id)?!0:i.show:i.show=t.includes(i.displayName)?!0:i.show,i)),this.sysViewButtons=[...s],this.openMode==2&&this.$emit("changeBtn",s)},baseComponentsInit(t){!t.ref||this.$nextTick(()=>{setTimeout(()=>{const e=t.functionName?t.functionName:"init";this.$refs[t.ref]&&this.$refs[t.ref][0][e](t)},0)})},baseCustomComponents(t){let e=[];t.forEach(s=>{e.push(Object.assign(s,{ref:s.ref?s.ref:v.uuid(8)}))}),this.componentList=[...e]},baseSetTableData(t){const e=t?Array.isArray(t)?t:[]:[];this.$refs.table.setTableData(e),this.$emit("changeData",e)},getFileBlob(t){return $.sysFileInfoDownload({id:t.id}).then(e=>e.data)},getDictionary(t){return this.$options.filters.dictData(t)},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("changeSelect",t,e)},changeViewTree(t){this.treeID=t;let e=new Map;e.set(t.pid,t.data),this.queryParam=Object.assign({...this.queryParam},Object.fromEntries(e)),this.$nextTick(()=>{setTimeout(()=>{this.refresh()},10)});const s=this.tableQueries.filter(i=>i.prop===t.pid)[0];s&&(s.fkData=t.fkData)},doEventComponent(t,e){const s=t.functionName||t.functionname;s&&this.$emit("doEvent",{key:"changeComponent",functionName:s,data:t,item:e})},closedPreview(){this.showComponent=""},doEvent(t){this.$emit("doEvent",t)}},beforeDestroy(){this.formList=null,this.sysViewList=null,this.selectedRows=null,this.sysViewButtons=null,this.fieldData=null,this.componentList=null,this.renderHeaderList=null,this.callbackFun=null,this.visibleTable=!1,this.openMode==3&&(this.record.baseRelationRefresh=null,this.record.baseSetTableData=null,this.record.baseRelationAllBtnHide=null)}};var q=function(){var e=this,s=e._self._c;return s("div",[e.openMode==1&&e.layoutConfig.butGroup?s("gd-button-block",{attrs:{confirmLoading:e.statu,sysViewButtons:e.sysViewButtons,maxBtnLength:e.options.maxBtnLength,develop:e.develop},on:{functionName:e.doEvent}}):e._e(),e.istable?e._e():s("div",{staticClass:"gd-base-flex-body",class:e.showViewtree?"":"boxshadow"},[e.showViewtree?s("gd-view-tree-left",{ref:"viewTree",attrs:{queryParam:e.queryParam,viewRecord:e.viewRecord,openMode:e.openMode,height:e.hig,record:e.record},on:{change:e.changeViewTree}}):e._e(),s("div",{staticClass:"gd-table-box-header",class:e.showViewtree?"boxshadow":"",style:e.viewRecord.viewtree!="{}"?"padding-left:12px;":"padding-left:0px;"},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSized,pageSize:e.tablePageSize,columns:e.columns,selectedRows:e.selectedRows,selectedRowKeys:e.selectedRowKeys,selectedKeep:e.selectedKeep,height:e.openMode==3?0:e.hig,maxHeight:e.hig,filtering:e.layoutConfig.filter,querying:e.layoutConfig.query?e.tableQueries.length>0:!1,headerFilter:!0,initialLoading:!1,showSummary:e.showSummary,amount:e.amount,disabledRowId:e.disabledRowId,isGather:e.layoutConfig.chart?e.openMode==1:!1,pageSizes:e.paginationPageSize,disabledRefresh:e.layoutConfig.rfresh?e.disabledRefresh:!0,rowKey:e.rowKey,showPagination:e.layoutConfig.pager,disabledColumnSettings:!e.layoutConfig.tableColumn,density:e.layoutConfig.tableSize,paginationStyle:e.paginationStyle,hasHeaderFilter:e.hasHeaderFilter,hasResize:e.hasResize},on:{onChange:e.onSelectChange,columnChange:e.columnChange,baseSeecharts:e.baseSeecharts,rowClick:e.rowClick,triggerRefresh:e.triggerRefresh,commandFilter:e.commandFilter,handleScroll:e.handleScroll},scopedSlots:e._u([{key:"operator",fn:function(){return[e.laoding?s("ViewSelection",{attrs:{record:e.record,sysViewButtons:e.sysViewButtons,sysViewList:e.sysViewList,personalViewList:e.personalViewList,viewCode:e.viewCode,defaultViewId:e.defaultViewId,tableData:e.tableData,selectedRowKeys:e.selectedRowKeys,openMode:e.openMode,sysViewFilters:e.sysViewFilters,confirmLoading:e.statu,maxBtnLength:e.options.maxBtnLength,fieldData:e.fieldData,showView:e.layoutConfig.viewsGroup,showBtn:e.layoutConfig.butGroup},on:{functionName:e.doEvent,handleMenuClick:e.handleMenuClick,baseSetDefaultView:e.baseSetDefaultView,updatePersonalView:e.baseUpdatePersonalView},scopedSlots:e._u([e.layoutConfig.filter&&e.getQuickQueries.length>0?{key:"quickQueries",fn:function(){return[s("QuickSearch",{ref:"quickSearch",attrs:{viewQueries:e.getQuickQueries,tableData:e.tableData,fieldData:e.fieldData,queryParam:e.queryParam},on:{save:(i,a)=>e.queriesRefresh(i,a,2)}})]},proxy:!0}:null],null,!0)}):e._e(),e.openMode==3?s("gd-button-block",{attrs:{confirmLoading:e.statu,sysViewButtons:e.sysViewButtons,maxBtnLength:e.options.maxBtnLength,develop:e.develop,showBoxshadow:!1},on:{functionName:e.doEvent}}):e._e()]},proxy:!0},e._l(e.getColumnsed,function(i){return{key:i.prop,fn:function({column:a,row:r}){return[s("ChildRenItem",{key:i.prop,attrs:{item:i,row:r,getFristColumn:e.getFristColumn,openMode:e.openMode,refresh:e.refresh},on:{operatorScope:e.operatorScope,baseQuickForm:e.baseQuickForm,showFile:e.showFile,showImg:e.showImg,preview:e.preview}})]}}}),{key:"filtering",fn:function({colse:i,visible:a,changeTrigger:r}){return[s("gd-table-queries-field",{ref:"queriesField",attrs:{columns:e.tableQueries,height:e.hig,queryParam:e.queryParam,colse:i,visible:a,openMode:e.openMode,recordRelation:e.record,viewRecord:e.viewRecord,openRules:!0,changeTrigger:r,querySearchParam:e.querySearchParam},on:{save:e.queriesRefresh,hideQueryParam:e.hideQueryParam}})]}}],null,!0)})],1)],1),e.istable?s("div",{staticClass:"gd-base-flex-body"},[s("div",{staticClass:"gd-table-box-header",style:e.viewRecord.viewtree!="{}"?"padding-left:12px;":"padding-left:0px;"},[s("gd-tables",{ref:"table",attrs:{showPagination:!1,istool:!1,istable:e.istable,stripeColor:e.tableSetting.stripeColor,lineHeight:e.tableSetting.lineHeight,recordoperations:e.record,dataSource:e.loadData,size:e.tableSized,stripe:e.tableSetting.isStripe,border:e.tableSetting.isBorder,pageSize:e.tablePageSize,columns:e.columns,selectedRows:e.selectedRows,selectedRowKeys:e.selectedRowKeys,selectedKeep:e.selectedKeep,height:e.openMode==3?0:e.hig,maxHeight:e.hig,filtering:e.tableQueries.length>0,headerFilter:!0,initialLoading:!1,showSummary:e.showSummary,amount:e.amount,disabledRowId:e.disabledRowId,isGather:e.openMode==1,pageSizes:e.paginationPageSize,disabledRefresh:e.disabledRefresh,rowKey:e.rowKey,hasHeaderFilter:e.hasHeaderFilter,hasResize:e.hasResize},on:{onChange:e.onSelectChange,columnChange:e.columnChange,baseSeecharts:e.baseSeecharts,commandFilter:e.commandFilter,handleScroll:e.handleScroll},scopedSlots:e._u([e._l(e.getColumnsed,function(i){return{key:i.prop,fn:function({column:a,row:r}){return[i.prop==="tableGridOperation"?s("div",[e._t("tableGridOperation",null,{column:a,row:r,item:i})],2):s("ChildRenItem",{attrs:{item:i,row:r,getFristColumn:e.getFristColumn,refresh:e.refresh},on:{operatorScope:e.operatorScope,baseQuickForm:e.baseQuickForm,showFile:e.showFile,showImg:e.showImg,preview:e.preview}})]}}})],null,!0)})],1)]):e._e(),e.visibleTable?s("div",[s("ImgPreview",{ref:"imgPreview",attrs:{filePreviewShow:e.imgList.length>0,imgList:e.imgList,currentImg:e.currentImg}}),e.showComponent==="filePreview"?s("gd-file-preview",{ref:"filePreview",attrs:{options:e.fileOptions},on:{closed:e.closedPreview}}):e._e(),s("XlsxImport",{ref:"xlsxImport",attrs:{entityName:e.tableData.tableName,tableData:e.tableData},on:{ok:e.refresh}}),s("XlsxExport",{ref:"xlsxExport",attrs:{entityId:e.tableData.id,queryParam:e.queryParam,tableData:e.tableData}}),s("TeamSharing",{ref:"teamSharing",attrs:{tableData:e.tableData},on:{ok:i=>e.okAssignSharing(i,"teamSharing")}}),s("BatchUpdate",{ref:"batchUpdate",attrs:{tableData:e.tableData,queryTable:e.queryTable,columns:e.columnsSetting,fieldData:e.fieldData,viewCode:e.viewCode},on:{ok:e.refresh}}),s("DataAssign",{ref:"dataAssign",attrs:{tableData:e.tableData},on:{ok:i=>e.okAssignSharing(i,"dataAssign")}}),s("StatusChange",{ref:"statusChange",attrs:{tableData:e.tableData},on:{ok:e.refresh}}),s("ViewCharts",{ref:"charts",attrs:{tableData:e.tableData,fieldData:e.fieldData},on:{setLoadData:e.setLoadData}}),s("QueryFilterItem",{ref:"queryFilterItem",attrs:{tableData:e.tableData,fieldData:e.fieldData,filterConfig:e.getFilterConfig},on:{ok:e.okQueryFilter}}),s("gd-middleware",{ref:"middleware",on:{ok:e.refresh}})],1):e._e(),e._l(e.componentList,function(i,a){return[s(i.componentItem,{key:a,ref:i.ref,refInFor:!0,tag:"component",attrs:{record:i,openMode:e.openMode,tableData:e.tableData},on:{change:r=>e.doEventComponent(r,i)}})]})],2)},P=[],x=S.normalizeComponent(R,q,P,!1,null,"32596cc4",null,null);const O=x.exports;exports.GDpackage=O;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./components.answerquestions.9c7165c4.js"),f=require("./http.syscodegenerateconfigmanage.840f1136.js"),u=require("./http.tabledevelopment.b1ae0c37.js"),m=require("./http.main.8543ccc4.js"),p=require("./utils.axios.js.69442e57.js");require("./utils.util.js.dffba0f0.js");require("./core.bootstrap.bcf2d57e.js");require("./utils.language.js.7d8de345.js");require("./http.filemanage.0cf7a879.js");require("./http.questionnaire.48cbc0f7.js");require("./utils.concurrencyrequest.js.2be28956.js");const D=[{code:1,name:"\u662F",transkey:"gd.state.yes"},{code:0,name:"\u5426",transkey:"gd.state.no"}],b={props:{table:{type:Object,default:()=>({})}},data(){return{buttons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],labelTitle:"\u6761\u4EF6",confirmLoading:!1,visible:!1,width:"800px",fullscreen:!1,fetching:!1,spinning:!1,ruleFormData:{treeId:"",sysViewId:"",detailId:"",isDisable:0,ifSet:"",rulesValue:"1",operators:"1",conditional:"",parentId:"",parentPid:"",relevanceId:"",childrenId:""},rules:{treeId:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}],sysViewId:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}],detailId:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9"),trigger:"change"}],parentPid:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9")}],parentId:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9")}],relevanceId:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9")}],childrenId:[{required:!0,message:this.$i18nt("gd.btn.select","\u8BF7\u9009\u62E9")}]},loadData:[],viewList:[],detailList:[],disableList:D,ifSetList:[],rulesList:[],cascadeList:[],parentPidList:[],conditionList:[],parentList:[],relevanceList:[],childrenList:[],conditionalList:[],dictData:[],fildFk:null,selData:null,source:null}},computed:{styles(){return`color:${this.primaryColor}`},...h.mapGetters(["labelPosition","formMode","tableLists","primaryColor"])},created(){this.dictData=this.$options.filters.dictData("table_lookup_rules"),this.conditionList=this.dictData.filter(i=>i.code==1),this.rulesList=this.dictData.filter(i=>i.code<3)},methods:{toggleFullscreen(){this.fullscreen=!this.fullscreen},open(i){if(console.log(i),this.visible=!0,this.selData=i,this.getList(),Object.keys(i).length==0){this.ruleFormData={treeId:"",sysViewId:"",detailId:"",isDisable:0,ifSet:"",rulesValue:"1",operators:"1",conditional:"",parentId:"",parentPid:"",relevanceId:"",childrenId:""},this.$refs.ruleForm.resetFields();return}this.listData()},listData(i){this.ruleFormData.treeId=i?"":this.selData.treeId,this.loadData=i?"":this.selData.loadData,this.ruleFormData.sysViewId=i?"":this.selData.sysViewId,this.viewList=i?[]:this.selData.viewList,this.ruleFormData.detailId=i?"":this.selData.detailId,this.detailList=i?[]:this.selData.detailList,this.ruleFormData.parentId=i?"":this.selData.parentId,this.ruleFormData.parentPid=i?"":this.selData.parentPid,this.parentList=i?[]:this.selData.parentList,this.parentPidList=i?[]:this.selData.parentPidList,this.ruleFormData.relevanceId=i?"":this.selData.relevanceId,this.relevanceList=i?[]:this.selData.relevanceList,this.ruleFormData.childrenId=i?"":this.selData.childrenId,this.childrenList=i?[]:this.selData.childrenList,this.ruleFormData.isDisable=i?0:this.selData.isDisable,this.ruleFormData.ifSet=i?"":this.selData.ifSet,this.ifSetList=i?[]:this.selData.ifSetList,this.ruleFormData.conditional=i?"":this.selData.conditional,this.conditionalList=i?[]:this.selData.conditionalList,this.ruleFormData.rulesValue=i?"":this.selData.rulesValue,this.rulesList=i?[]:this.selData.rulesList,this.cascadeList=i?[]:this.selData.cascadeList,this.ruleFormData.treeId!=""&&(this.getTable(),this.getDetail(this.ruleFormData.sysViewId))},getList(){return this.spinning=!0,m.baseReference({tableId:this.table.id}).then(i=>{if(i.success){let e=i.data.filter(a=>a.item7=="parental");this.loadData=[...e],this.spinning=!1}else this.$message.error(i.message)})},getView(i){let e=this.tableLists.filter(a=>a.tablename==i)[0];u.sysViewList({SysCodeGenId:e.id}).then(a=>{a.success?this.viewList=a.data:this.$message.error(a.message)})},getTable(){f.onlineFormGetCodeGenerateList({codeGenId:this.table.id}).then(i=>{i.success?this.relevanceList=i.data:this.$message.error(i.message)})},getDetail(i){return u.sysViewDetails({id:i}).then(e=>{if(e.success){let a=[{fieldId:0,name:"id",joinFielName:"id",joinFieldId:"0"}],t=[],r=[],s=[],o=e.data.sysviewfields.filter(n=>n.field.columnname.toLowerCase()=="id")[0]==null?a.concat(e.data.sysviewfields):e.data.sysviewfields;this.parentList=o,this.parentPidList=o,this.childrenList=o,this.detailList=e.data.sysviewfields,e.data.sysviewfields.forEach(n=>{r.push({joinfieldid:n.joinfieldid}),t.push(n.field)}),s=t,s.map((n,c)=>{n.joinfieldid=r[c].joinfieldid}),this.ifSetList=s}else this.$message.error(e.message)})},conditionColumn(i){this.getView(i.item2),this.getTable(),this.ruleFormData.sysViewId="",this.ruleFormData.parentId="",this.ruleFormData.parentPid="",this.ruleFormData.childrenId="",this.ruleFormData.detailId="",this.ruleFormData.relevanceId="",this.ruleFormData.ifSet="",this.ruleFormData.rulesValue="",this.ruleFormData.conditional=""},viewClick(i){this.ruleFormData.sysViewId=i,this.ruleFormData.parentId="",this.ruleFormData.parentPid="",this.ruleFormData.childrenId="",this.ruleFormData.detailId="",this.ruleFormData.ifSet="",this.ruleFormData.rulesValue="",this.ruleFormData.conditional="",this.getDetail(i)},deatilClick(i){this.ruleFormData.detailId=i},ifClick(i){this.ruleFormData.conditional="",this.cascadeList=[i],this.rulesList=this.dictData.filter(e=>e.code<3),i.effecttype=="fk"||i.effecttype=="user"?(this.fildFk=i,this.searchData("")):this.conditionalList=[]},isSet(i){this.ruleFormData.rulesValue=i},showTime(i){return i.fieldFormat.length>10},inputRadio(i){this.rulesList=this.dictData.filter(e=>e.code<3)},searchData(i){this.source&&this.source.cancel("Operation canceled by the user."),this.fetching=!0,this.source=p.getCancelToken(),m.baseFkList({name:i,fkEntityName:this.fildFk.fkEntityName},this.source.token).then(e=>{this.conditionalList=e.success?[...e.data]:[],this.fetching=!1,this.source=null})},handleSubmit(){this.$refs.ruleForm.validate(i=>{if(i){let e=this.viewList.map(l=>({id:l.id,name:l.name})),a=this.detailList.map(l=>({fieldId:l.fieldid,joinFieldId:l.joinfieldid,name:l.name})),t=this.parentList.map(l=>({fieldId:l.fieldid,joinFieldId:l.joinfieldid,name:l.name})),r=this.parentPidList.map(l=>({fieldId:l.fieldid,joinFieldId:l.joinfieldid,name:l.name})),s=this.relevanceList.map(l=>({columnName:l.columnname,columnComment:l.columncomment})),d=this.childrenList.map(l=>({fieldId:l.fieldid,joinFieldId:l.joinfieldid,name:l.name})),o;this.ruleFormData.isDisable==1?o=this.ifSetList.map(l=>({id:l.id,joinFieldId:l.joinfieldid,name:l.name,columnName:l.columnname,columnComment:l.columncomment,effectType:l.effecttype,dictTypeCode:l.dicttypecode})):o=[];let n=this.ruleFormData.isDisable==1?this.conditionalList.map(l=>({id:l.id,name:l.name})):[],c={treeId:this.ruleFormData.treeId,loadData:this.loadData.filter(l=>l.item2+"&"+l.item4==this.ruleFormData.treeId),sysViewId:this.ruleFormData.sysViewId,viewList:e.filter(l=>l.id==this.ruleFormData.sysViewId),detailId:this.ruleFormData.detailId,detailList:a.filter(l=>l.fieldid+"&"+l.joinfieldid==this.ruleFormData.detailId),parentId:this.ruleFormData.parentId,parentPid:this.ruleFormData.parentPid,parentList:t.filter(l=>l.fieldid+"&"+l.joinfieldid==this.ruleFormData.parentId),parentPidList:r.filter(l=>l.fieldid+"&"+l.joinfieldid==this.ruleFormData.parentPid),relevanceId:this.ruleFormData.relevanceId,relevanceList:s.filter(l=>l.columnname==this.ruleFormData.relevanceId),childrenId:this.ruleFormData.childrenId,childrenList:d.filter(l=>l.fieldid+"&"+l.joinfieldid==this.ruleFormData.childrenId),isDisable:this.ruleFormData.isDisable,ifSet:this.ruleFormData.isDisable==1?this.ruleFormData.ifSet:"",ifSetList:this.ruleFormData.isDisable==1?o.filter(l=>l.id+"&"+l.joinfieldid==this.ruleFormData.ifSet):[],conditional:this.ruleFormData.isDisable==1?this.ruleFormData.conditional:"",conditionalList:this.ruleFormData.isDisable==1?n.filter(l=>l.id==this.ruleFormData.conditional):[],rulesValue:this.ruleFormData.rulesValue,rulesList:this.ruleFormData.isDisable==1?this.rulesList.filter(l=>l.code==this.ruleFormData.rulesValue):[],cascadeList:this.cascadeList};this.$emit("ok",c),this.closed()}})},closed(){this.$refs.ruleForm.resetFields(),this.visible=!1},getDictionary(i){return i.columncomment==null?[]:i.dicttypecode==null?[]:this.$options.filters.dictData(i.dicttypecode)},doEvent(i){let e=i.item.functionName;this[e]&&this[e]()}}};var g=function(){var e=this,a=e._self._c;return a("div",[a("el-dialog",{directives:[{name:"drag",rawName:"v-drag"}],ref:"dialog",class:e.fullscreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullscreen,visible:e.visible,width:e.width,center:!0,"close-on-click-modal":!1,"append-to-body":!0,"modal-append-to-body":!1,top:"80px","show-close":!1},on:{"update:visible":function(t){e.visible=t},closed:e.closed}},[a("gd-modal-title",{attrs:{slot:"title",title:e.$i18nt("gd.view.configurationSwitch","\u89C6\u56FE\u6811\u8BBE\u7F6E"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent},slot:"title"}),a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.spinning,expression:"spinning"}],staticClass:"config_viewtree"},[a("el-form",{ref:"ruleForm",attrs:{model:e.ruleFormData,"label-width":"100px","label-position":"top",rules:e.rules},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.dataOrigin","\u89C6\u56FE\u6811\u672C\u8868\u6765\u6E90\u5B57\u6BB5"),prop:"treeId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.ruleFormData.treeId,callback:function(t){e.$set(e.ruleFormData,"treeId",t)},expression:"ruleFormData.treeId"}},e._l(e.loadData,function(t){return a("el-option",{key:t.item2+"&"+t.item4,attrs:{value:t.item2+"&"+t.item4,label:e.$i18nt(`Dynamics.${t.transkey}`,t.item6)},nativeOn:{click:function(r){return e.conditionColumn(t)}}},[e._v(" "+e._s(t.item5)+" "),a("span",{style:e.styles},[e._v(" "+e._s(e.$i18nt(`Dynamics.${t.transkey}`,t.item6))+" ")]),e._v(" "+e._s(t.item2)+" ")])}),1)],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.view","\u89C6\u56FE\u6811\u6765\u6E90\u89C6\u56FE"),prop:"sysViewId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")+e.$i18nt("gd.table.view")},on:{change:e.viewClick},model:{value:e.ruleFormData.sysViewId,callback:function(t){e.$set(e.ruleFormData,"sysViewId",t)},expression:"ruleFormData.sysViewId"}},e._l(e.viewList,function(t){return a("el-option",{key:t.id,attrs:{value:t.id,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}})}),1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.displayField","\u89C6\u56FE\u6811\u663E\u793A\u5B57\u6BB5"),prop:"detailId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")+e.$i18nt("gd.table.field","\u5B57\u6BB5")},on:{change:e.deatilClick},model:{value:e.ruleFormData.detailId,callback:function(t){e.$set(e.ruleFormData,"detailId",t)},expression:"ruleFormData.detailId"}},e._l(e.detailList,function(t,r){return a("el-option",{key:t.fieldid+"&"+t.joinfieldid,attrs:{value:t.fieldid+"&"+t.joinfieldid,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}},[a("span",[e._v(" "+e._s(e.$i18nt(`Dynamics.${t.transkey}`,t.name))+" ")])])}),1)],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.disableMode","\u5F00\u542F\u7981\u7528\u6A21\u5F0F"),prop:"isDisable"}},[a("el-radio-group",{on:{input:e.inputRadio},model:{value:e.ruleFormData.isDisable,callback:function(t){e.$set(e.ruleFormData,"isDisable",t)},expression:"ruleFormData.isDisable"}},e._l(e.disableList,function(t,r){return a("el-radio",{key:r,attrs:{label:t.code}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${t.transkey}`,t.name))+" ")])}),1)],1)],1)],1),e.ruleFormData.isDisable==1?a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.ifSet","\u8BBE\u7F6E\u6761\u4EF6"),prop:"ifSet"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.ruleFormData.ifSet,callback:function(t){e.$set(e.ruleFormData,"ifSet",t)},expression:"ruleFormData.ifSet"}},e._l(e.ifSetList,function(t){return a("el-option",{key:t.id+"&"+t.joinfieldid,attrs:{value:t.id+"&"+t.joinfieldid,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)},nativeOn:{click:function(r){return e.ifClick(t)}}})}),1)],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.form.value1","\u6761\u4EF6"),prop:"rulesValue"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},on:{change:e.isSet},model:{value:e.ruleFormData.rulesValue,callback:function(t){e.$set(e.ruleFormData,"rulesValue",t)},expression:"ruleFormData.rulesValue"}},e._l(e.rulesList,function(t){return a("el-option",{key:t.code,attrs:{value:t.code,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}})}),1)],1)],1),e._l(e.cascadeList,function(t,r){return e.ruleFormData.ifSet!=""&&e.ruleFormData.ifSet!=null?a("el-col",{key:r,attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.form.value","\u503C"),prop:"conditional"}},[t.effecttype=="input"||t.effecttype=="textarea"||t.effecttype=="double"||t.effecttype=="currency"?a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.conditional,callback:function(s){e.$set(e.ruleFormData,"conditional",s)},expression:"ruleFormData.conditional"}}):t.effecttype=="select"||t.effecttype=="radio"||t.effecttype=="checkbox"||t.effecttype=="switch"?a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")},model:{value:e.ruleFormData.conditional,callback:function(s){e.$set(e.ruleFormData,"conditional",s)},expression:"ruleFormData.conditional"}},e._l(e.getDictionary(t),function(s){return a("el-option",{key:s.code,attrs:{value:s.code,label:e.$i18nt(`Dynamics.${s.transkey}`,s.name)}})}),1):t.effecttype=="datepicker"?a("el-date-picker",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"show-time":e.showTime(t),type:e.showTime?"datetime":"date","value-format":t.fieldformat,format:t.fieldformat},model:{value:e.ruleFormData.conditional,callback:function(s){e.$set(e.ruleFormData,"conditional",s)},expression:"ruleFormData.conditional"}}):t.effecttype=="fk"||t.effecttype=="about"||t.effecttype=="user"?a("div",{staticClass:"cao_about"},[a("el-select",{staticStyle:{flex:"1",overflow:"hidden"},attrs:{filterable:"",placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),loading:e.fetching,clearable:"",remote:"","reserve-keyword":"",placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD","remote-method":e.searchData},model:{value:e.ruleFormData.conditional,callback:function(s){e.$set(e.ruleFormData,"conditional",s)},expression:"ruleFormData.conditional"}},e._l(e.conditionalList,function(s,d){return a("el-option",{key:d,attrs:{value:s.id,label:s.name}},[a("span",[e._v(" "+e._s(e.$i18nt(`Dynamics.${s.transkey}`,s.name))+" ")])])}),1),a("i",{staticClass:"el-icon-search cao_setting",on:{click:function(s){return e.lookup(e.ind,t.value)}}})],1):t.effecttype=="participants"?a("div",{staticClass:"cao_about"},[a("el-select",{staticStyle:{flex:"1",overflow:"hidden"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),"remote-method":e.searchData,loading:e.fetching,clearable:"",filterable:"",remote:"","collapse-tags":"","reserve-keyword":""},model:{value:e.ruleFormData.conditional,callback:function(s){e.$set(e.ruleFormData,"conditional",s)},expression:"ruleFormData.conditional"}},e._l(e.conditionalList,function(s,d){return a("el-option",{key:d,attrs:{value:s.id,label:s.name}})}),1),a("i",{staticClass:"el-icon-search cao_setting",on:{click:function(s){return e.lookup(r,t.value)}}})],1):e._e()],1)],1):e._e()})],2):e._e(),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.parentData","\u89C6\u56FE\u6811\u7236\u7EA7ID"),prop:"parentPid"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")+e.$i18nt("gd.table.field")},model:{value:e.ruleFormData.parentPid,callback:function(t){e.$set(e.ruleFormData,"parentPid",t)},expression:"ruleFormData.parentPid"}},e._l(e.parentPidList,function(t){return a("el-option",{key:t.fieldid+"&"+t.joinfieldid,attrs:{value:t.fieldid+"&"+t.joinfieldid,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}})}),1)],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.labelTitle,prop:"operators"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),disabled:!0},model:{value:e.ruleFormData.operators,callback:function(t){e.$set(e.ruleFormData,"operators",t)},expression:"ruleFormData.operators"}},e._l(e.conditionList,function(t,r){return a("el-option",{key:t.code,attrs:{value:t.code,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}})}),1)],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.childrenData","\u89C6\u56FE\u6811\u7236\u7EA7\u5173\u7CFB\u5B57\u6BB5"),prop:"parentId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")+e.$i18nt("gd.table.field")},model:{value:e.ruleFormData.parentId,callback:function(t){e.$set(e.ruleFormData,"parentId",t)},expression:"ruleFormData.parentId"}},e._l(e.parentList,function(t,r){return a("el-option",{key:t.fieldid+"&"+t.joinfieldid,attrs:{value:t.fieldid+"&"+t.joinfieldid,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}})}),1)],1)],1)],1),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.association","\u89C6\u56FE\u6811\u5173\u7CFB\u672C\u8868\u5B57\u6BB5"),prop:"relevanceId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")+e.$i18nt("gd.table.field")},model:{value:e.ruleFormData.relevanceId,callback:function(t){e.$set(e.ruleFormData,"relevanceId",t)},expression:"ruleFormData.relevanceId"}},e._l(e.relevanceList,function(t,r){return a("el-option",{key:t.columnname,attrs:{value:t.columnname,label:e.$i18nt(`Dynamics.${t.transkey}`,t.columncomment)}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${t.transkey}`,t.columncomment))+" "+e._s(t.effecttype)+" ")])}),1)],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.labelTitle,prop:"operators"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9"),disabled:!0},model:{value:e.ruleFormData.operators,callback:function(t){e.$set(e.ruleFormData,"operators",t)},expression:"ruleFormData.operators"}},e._l(e.conditionList,function(t,r){return a("el-option",{key:t.code,attrs:{value:t.code,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}})}),1)],1)],1),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:e.$i18nt("gd.sidebar.assChid","\u89C6\u56FE\u6811ID"),prop:"childrenId"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$i18nt("gd.placeholder.select","\u8BF7\u9009\u62E9")+e.$i18nt("gd.table.field")},model:{value:e.ruleFormData.childrenId,callback:function(t){e.$set(e.ruleFormData,"childrenId",t)},expression:"ruleFormData.childrenId"}},e._l(e.childrenList,function(t,r){return a("el-option",{key:t.fieldid+"&"+t.joinfieldid,attrs:{value:t.fieldid+"&"+t.joinfieldid,label:e.$i18nt(`Dynamics.${t.transkey}`,t.name)}})}),1)],1)],1)],1)],1)],1)],1)],1)},y=[],F=h.normalizeComponent(b,g,y,!1,null,"084547c6",null,null);const v=F.exports;exports.default=v;