service-flow-designer 2.3.22-flow1 → 2.3.22-flow1-tmp1

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 (465) hide show
  1. package/dist/es/designer/common/components/datatable-select.vue.mjs +7 -0
  2. package/dist/es/designer/common/components/datatable-select.vue2.mjs +78 -0
  3. package/dist/es/designer/common/components/file-upload.vue.mjs +7 -0
  4. package/dist/es/designer/common/components/file-upload.vue2.mjs +35 -0
  5. package/dist/es/designer/common/components/json-view/json-view-dialog.vue.mjs +24 -0
  6. package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.mjs +4 -0
  7. package/dist/es/designer/common/components/json-view/json-view.vue.mjs +56 -0
  8. package/dist/es/designer/common/components/json-view/json-view.vue2.mjs +4 -0
  9. package/dist/es/designer/common/components/node-base-config.vue.mjs +15 -0
  10. package/dist/es/designer/common/components/node-base-config.vue2.mjs +4 -0
  11. package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.mjs +23 -0
  12. package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue2.mjs +4 -0
  13. package/dist/es/designer/common/components/sql-view/sql-view.vue.mjs +4 -0
  14. package/dist/es/designer/common/components/sql-view/sql-view.vue2.mjs +35 -0
  15. package/dist/es/designer/common/components/value-set-input/index.mjs +4 -0
  16. package/dist/es/designer/common/components/value-set-input/{option.js → option.mjs} +1 -1
  17. package/dist/es/designer/common/components/value-set-input/value-set-input.vue.mjs +7 -0
  18. package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.mjs +135 -0
  19. package/dist/es/designer/desginer-index.vue.mjs +7 -0
  20. package/dist/es/designer/desginer-index.vue2.mjs +60 -0
  21. package/dist/es/designer/flow/base/{AbLogicNodeModel.js → AbLogicNodeModel.mjs} +1 -1
  22. package/dist/es/designer/flow/base/{AbLogicResizeNodeModel.js → AbLogicResizeNodeModel.mjs} +10 -10
  23. package/dist/es/designer/service-components/base/end-node/{index.js → index.mjs} +12 -10
  24. package/dist/es/designer/service-components/base/end-node/{index.vue.js → index.vue2.mjs} +2 -2
  25. package/dist/es/designer/service-components/base/end-node/index.vue3.mjs +7 -0
  26. package/dist/es/designer/service-components/base/loop-node/index.mjs +8 -0
  27. package/dist/es/designer/service-components/base/start-node/{index.js → index.mjs} +9 -7
  28. package/dist/es/designer/service-components/base/start-node/{index.vue.js → index.vue2.mjs} +2 -2
  29. package/dist/es/designer/service-components/base/start-node/index.vue3.mjs +7 -0
  30. package/dist/es/designer/service-components/components-icons.mjs +11 -0
  31. package/dist/es/designer/service-components/computation/sort/config.vue.mjs +7 -0
  32. package/dist/es/designer/service-components/computation/sort/config.vue2.mjs +60 -0
  33. package/dist/es/designer/service-components/computation/sort/index.mjs +19 -0
  34. package/dist/es/designer/service-components/computation/sort/{index.vue.js → index.vue2.mjs} +2 -2
  35. package/dist/es/designer/service-components/computation/sort/index.vue3.mjs +14 -0
  36. package/dist/es/designer/service-components/database/aggregate-query/config.vue.mjs +7 -0
  37. package/dist/es/designer/service-components/database/aggregate-query/config.vue2.mjs +102 -0
  38. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.mjs +36 -0
  39. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.mjs +4 -0
  40. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.mjs +43 -0
  41. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.mjs +4 -0
  42. package/dist/es/designer/service-components/database/{regular-query/index.js → aggregate-query/index.mjs} +11 -9
  43. package/dist/es/designer/service-components/database/aggregate-query/{index.vue.js → index.vue2.mjs} +2 -2
  44. package/dist/es/designer/service-components/database/aggregate-query/index.vue3.mjs +27 -0
  45. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.mjs +28 -0
  46. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.mjs +4 -0
  47. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.mjs +29 -0
  48. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.mjs +4 -0
  49. package/dist/es/designer/service-components/database/dynamic-sql/config.vue.mjs +7 -0
  50. package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.mjs +105 -0
  51. package/dist/es/designer/service-components/database/dynamic-sql/index.mjs +19 -0
  52. package/dist/es/designer/service-components/database/dynamic-sql/{index.vue.js → index.vue2.mjs} +2 -2
  53. package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.mjs +14 -0
  54. package/dist/es/designer/service-components/database/regular-query/config.vue.mjs +7 -0
  55. package/dist/es/designer/service-components/database/regular-query/config.vue2.mjs +80 -0
  56. package/dist/es/designer/service-components/database/{aggregate-query/index.js → regular-query/index.mjs} +11 -9
  57. package/dist/es/designer/service-components/database/regular-query/{index.vue.js → index.vue2.mjs} +2 -2
  58. package/dist/es/designer/service-components/database/regular-query/index.vue3.mjs +27 -0
  59. package/dist/es/designer/service-components/index.mjs +45 -0
  60. package/dist/es/designer/service-components/service/common/cookie-data.vue.mjs +27 -0
  61. package/dist/es/designer/service-components/service/common/cookie-data.vue2.mjs +4 -0
  62. package/dist/es/designer/service-components/service/common/form-data.vue.mjs +29 -0
  63. package/dist/es/designer/service-components/service/common/form-data.vue2.mjs +4 -0
  64. package/dist/es/designer/service-components/service/common/header-data.vue.mjs +27 -0
  65. package/dist/es/designer/service-components/service/common/header-data.vue2.mjs +4 -0
  66. package/dist/es/designer/service-components/service/common/json-data.vue.mjs +7 -0
  67. package/dist/es/designer/service-components/service/common/json-data.vue2.mjs +27 -0
  68. package/dist/es/designer/service-components/service/common/param-config.vue.mjs +7 -0
  69. package/dist/es/designer/service-components/service/common/param-config.vue2.mjs +33 -0
  70. package/dist/es/designer/service-components/service/common/query-params.vue.mjs +27 -0
  71. package/dist/es/designer/service-components/service/common/query-params.vue2.mjs +4 -0
  72. package/dist/es/designer/service-components/service/common/raw-data.vue.mjs +32 -0
  73. package/dist/es/designer/service-components/service/common/raw-data.vue2.mjs +4 -0
  74. package/dist/es/designer/service-components/service/custom-bean/config.vue.mjs +4 -0
  75. package/dist/es/designer/service-components/service/custom-bean/config.vue2.mjs +20 -0
  76. package/dist/es/designer/service-components/service/custom-bean/index.mjs +19 -0
  77. package/dist/es/designer/service-components/service/custom-bean/{index.vue.js → index.vue2.mjs} +2 -2
  78. package/dist/es/designer/service-components/service/custom-bean/index.vue3.mjs +14 -0
  79. package/dist/es/designer/service-components/service/http-service/config.vue.mjs +7 -0
  80. package/dist/es/designer/service-components/service/http-service/config.vue2.mjs +37 -0
  81. package/dist/es/designer/service-components/service/http-service/index.mjs +19 -0
  82. package/dist/es/designer/service-components/service/http-service/{index.vue.js → index.vue2.mjs} +2 -2
  83. package/dist/es/designer/service-components/service/http-service/index.vue3.mjs +14 -0
  84. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.mjs +58 -0
  85. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.mjs +4 -0
  86. package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.mjs +22 -0
  87. package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.mjs +4 -0
  88. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.mjs +58 -0
  89. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.mjs +4 -0
  90. package/dist/es/designer/service-flow-view/{flow-util.js → flow-util.mjs} +7 -7
  91. package/dist/es/designer/service-flow-view/service-flow-tool.vue.mjs +7 -0
  92. package/dist/es/designer/service-flow-view/service-flow-tool.vue2.mjs +44 -0
  93. package/dist/es/designer/service-flow-view/service-node-config.vue.mjs +7 -0
  94. package/dist/es/designer/service-flow-view/service-node-config.vue2.mjs +39 -0
  95. package/dist/es/designer/service-flow-view/service-params.vue.mjs +73 -0
  96. package/dist/es/designer/service-flow-view/service-params.vue2.mjs +4 -0
  97. package/dist/es/designer/service-flow-view/service-result.vue.mjs +70 -0
  98. package/dist/es/designer/service-flow-view/service-result.vue2.mjs +4 -0
  99. package/dist/es/designer/service-flow-view/service-test/request-params.vue.mjs +54 -0
  100. package/dist/es/designer/service-flow-view/service-test/request-params.vue2.mjs +4 -0
  101. package/dist/es/designer/service-flow-view/service-test/service-test.vue.mjs +81 -0
  102. package/dist/es/designer/service-flow-view/service-test/service-test.vue2.mjs +4 -0
  103. package/dist/es/designer/service-flow-view/service-update-log.vue.mjs +7 -0
  104. package/dist/es/designer/service-flow-view/service-update-log.vue2.mjs +49 -0
  105. package/dist/es/designer/service-flow-view/view-index.vue.mjs +7 -0
  106. package/dist/es/designer/service-flow-view/view-index.vue2.mjs +130 -0
  107. package/dist/es/designer/service-panel/component-panel.vue.mjs +7 -0
  108. package/dist/es/designer/service-panel/component-panel.vue2.mjs +23 -0
  109. package/dist/es/designer/service-panel/service-list.vue.mjs +7 -0
  110. package/dist/es/designer/service-panel/service-list.vue2.mjs +104 -0
  111. package/dist/es/designer/service-panel/service-panel.vue.mjs +7 -0
  112. package/dist/es/designer/service-panel/service-panel.vue2.mjs +45 -0
  113. package/dist/es/index.mjs +4 -0
  114. package/dist/es/stores/page-store.mjs +32 -0
  115. package/dist/es/style.css +46 -46
  116. package/dist/es/utils/{common-util.js → common-util.mjs} +51 -52
  117. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +6 -0
  118. package/dist/lib/assets/icon/aggregateQuery.svg.cjs +2 -0
  119. package/dist/lib/assets/icon/base.png.cjs +2 -0
  120. package/dist/lib/assets/icon/dynamicSql.svg.cjs +2 -0
  121. package/dist/lib/assets/icon/end.png.cjs +2 -0
  122. package/dist/lib/assets/icon/end.svg.cjs +2 -0
  123. package/dist/lib/assets/icon/http-service.svg.cjs +2 -0
  124. package/dist/lib/assets/icon/regularQuery.svg.cjs +2 -0
  125. package/dist/lib/assets/icon/sort.svg.cjs +2 -0
  126. package/dist/lib/assets/icon/start.png.cjs +2 -0
  127. package/dist/lib/assets/icon/vardef-v.png.cjs +2 -0
  128. package/dist/lib/designer/common/components/database-select.vue.d.ts +20 -0
  129. package/dist/lib/designer/common/components/datatable-select.vue.cjs +5 -0
  130. package/dist/lib/designer/common/components/datatable-select.vue.d.ts +38 -0
  131. package/dist/lib/designer/common/components/datatable-select.vue2.cjs +61 -0
  132. package/dist/lib/designer/common/components/file-upload.vue.cjs +5 -0
  133. package/dist/lib/designer/common/components/file-upload.vue.d.ts +20 -0
  134. package/dist/lib/designer/common/components/file-upload.vue2.cjs +24 -0
  135. package/dist/lib/designer/common/components/json-view/index.d.ts +4 -0
  136. package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.cjs +18 -0
  137. package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.d.ts +36 -0
  138. package/dist/lib/designer/common/components/json-view/json-view-dialog.vue2.cjs +3 -0
  139. package/dist/lib/designer/common/components/json-view/json-view.vue.cjs +50 -0
  140. package/dist/lib/designer/common/components/json-view/json-view.vue.d.ts +32 -0
  141. package/dist/lib/designer/common/components/json-view/json-view.vue2.cjs +3 -0
  142. package/dist/lib/designer/common/components/node-base-config.vue.cjs +8 -0
  143. package/dist/lib/designer/common/components/node-base-config.vue.d.ts +14 -0
  144. package/dist/lib/designer/common/components/node-base-config.vue2.cjs +3 -0
  145. package/dist/lib/designer/common/components/sql-view/index.d.ts +4 -0
  146. package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.cjs +17 -0
  147. package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +36 -0
  148. package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue2.cjs +3 -0
  149. package/dist/lib/designer/common/components/sql-view/sql-view.vue.cjs +3 -0
  150. package/dist/lib/designer/common/components/sql-view/sql-view.vue.d.ts +32 -0
  151. package/dist/lib/designer/common/components/sql-view/sql-view.vue2.cjs +30 -0
  152. package/dist/lib/designer/common/components/value-set-input/index.cjs +3 -0
  153. package/dist/lib/designer/common/components/value-set-input/index.d.ts +3 -0
  154. package/dist/lib/designer/common/components/value-set-input/option.cjs +6 -0
  155. package/dist/lib/designer/common/components/value-set-input/option.d.ts +12 -0
  156. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.cjs +5 -0
  157. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.d.ts +162 -0
  158. package/dist/lib/designer/common/components/value-set-input/value-set-input.vue2.cjs +112 -0
  159. package/dist/lib/designer/common/types/common-type.d.ts +18 -0
  160. package/dist/lib/designer/common/types/select.d.ts +7 -0
  161. package/dist/lib/designer/common/util/node-util.cjs +28 -0
  162. package/dist/lib/designer/common/util/node-util.d.ts +27 -0
  163. package/dist/lib/designer/desginer-index.vue.cjs +5 -0
  164. package/dist/lib/designer/desginer-index.vue.d.ts +14 -0
  165. package/dist/lib/designer/desginer-index.vue2.cjs +29 -0
  166. package/dist/lib/designer/flow/base/AbLogicNode.cjs +23 -0
  167. package/dist/lib/designer/flow/base/AbLogicNode.d.ts +11 -0
  168. package/dist/lib/designer/flow/base/AbLogicNodeModel.cjs +38 -0
  169. package/dist/lib/designer/flow/base/AbLogicNodeModel.d.ts +14 -0
  170. package/dist/lib/designer/flow/base/AbLogicResizeNode.cjs +23 -0
  171. package/dist/lib/designer/flow/base/AbLogicResizeNode.d.ts +11 -0
  172. package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.cjs +24 -0
  173. package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.d.ts +9 -0
  174. package/dist/lib/designer/flow/base/index.d.ts +6 -0
  175. package/dist/lib/designer/flow/edge/CustomLine.cjs +23 -0
  176. package/dist/lib/designer/flow/edge/CustomLine.d.ts +25 -0
  177. package/dist/lib/designer/service-components/base/custom-function/index.d.ts +14 -0
  178. package/dist/lib/designer/service-components/base/custom-function/index.vue.d.ts +20 -0
  179. package/dist/lib/designer/service-components/base/end-node/index.cjs +37 -0
  180. package/dist/lib/designer/service-components/base/end-node/index.d.ts +19 -0
  181. package/dist/lib/designer/service-components/base/end-node/index.vue.d.ts +8 -0
  182. package/dist/lib/designer/service-components/base/end-node/index.vue2.cjs +5 -0
  183. package/dist/lib/designer/service-components/base/end-node/index.vue3.cjs +4 -0
  184. package/dist/lib/designer/service-components/base/judge-condition/index.d.ts +16 -0
  185. package/dist/lib/designer/service-components/base/judge-condition/index.vue.d.ts +36 -0
  186. package/dist/lib/designer/service-components/base/loop-node/index.cjs +6 -0
  187. package/dist/lib/designer/service-components/base/loop-node/index.d.ts +42 -0
  188. package/dist/lib/designer/service-components/base/loop-node/index.vue.d.ts +8 -0
  189. package/dist/lib/designer/service-components/base/notification/index.d.ts +14 -0
  190. package/dist/lib/designer/service-components/base/notification/index.vue.d.ts +20 -0
  191. package/dist/lib/designer/service-components/base/start-node/index.cjs +37 -0
  192. package/dist/lib/designer/service-components/base/start-node/index.d.ts +19 -0
  193. package/dist/lib/designer/service-components/base/start-node/index.vue.d.ts +8 -0
  194. package/dist/lib/designer/service-components/base/start-node/index.vue2.cjs +5 -0
  195. package/dist/lib/designer/service-components/base/start-node/index.vue3.cjs +4 -0
  196. package/dist/lib/designer/service-components/components-icons.cjs +3 -0
  197. package/dist/lib/designer/service-components/components-icons.d.ts +18 -0
  198. package/dist/lib/designer/service-components/computation/clean/index.d.ts +14 -0
  199. package/dist/lib/designer/service-components/computation/clean/index.vue.d.ts +20 -0
  200. package/dist/lib/designer/service-components/computation/connect/index.d.ts +14 -0
  201. package/dist/lib/designer/service-components/computation/connect/index.vue.d.ts +20 -0
  202. package/dist/lib/designer/service-components/computation/sort/config.vue.cjs +5 -0
  203. package/dist/lib/designer/service-components/computation/sort/config.vue.d.ts +23 -0
  204. package/dist/lib/designer/service-components/computation/sort/config.vue2.cjs +43 -0
  205. package/dist/lib/designer/service-components/computation/sort/index.cjs +13 -0
  206. package/dist/lib/designer/service-components/computation/sort/index.d.ts +14 -0
  207. package/dist/lib/designer/service-components/computation/sort/index.vue.d.ts +20 -0
  208. package/dist/lib/designer/service-components/computation/sort/index.vue2.cjs +5 -0
  209. package/dist/lib/designer/service-components/computation/sort/index.vue3.cjs +8 -0
  210. package/dist/lib/designer/service-components/computation/split-joint/index.d.ts +14 -0
  211. package/dist/lib/designer/service-components/computation/split-joint/index.vue.d.ts +20 -0
  212. package/dist/lib/designer/service-components/computation/statistics/index.d.ts +14 -0
  213. package/dist/lib/designer/service-components/computation/statistics/index.vue.d.ts +20 -0
  214. package/dist/lib/designer/service-components/database/aggregate-query/config.vue.cjs +5 -0
  215. package/dist/lib/designer/service-components/database/aggregate-query/config.vue.d.ts +58 -0
  216. package/dist/lib/designer/service-components/database/aggregate-query/config.vue2.cjs +74 -0
  217. package/dist/lib/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +57 -0
  218. package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.cjs +22 -0
  219. package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +57 -0
  220. package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue2.cjs +3 -0
  221. package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.cjs +27 -0
  222. package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +53 -0
  223. package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue2.cjs +3 -0
  224. package/dist/lib/designer/service-components/database/aggregate-query/index.cjs +20 -0
  225. package/dist/lib/designer/service-components/database/aggregate-query/index.d.ts +19 -0
  226. package/dist/lib/designer/service-components/database/aggregate-query/index.vue.d.ts +36 -0
  227. package/dist/lib/designer/service-components/database/aggregate-query/index.vue2.cjs +5 -0
  228. package/dist/lib/designer/service-components/database/aggregate-query/index.vue3.cjs +20 -0
  229. package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.cjs +15 -0
  230. package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +53 -0
  231. package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue2.cjs +3 -0
  232. package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.cjs +15 -0
  233. package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +57 -0
  234. package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue2.cjs +3 -0
  235. package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.cjs +5 -0
  236. package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.d.ts +18 -0
  237. package/dist/lib/designer/service-components/database/dynamic-sql/config.vue2.cjs +69 -0
  238. package/dist/lib/designer/service-components/database/dynamic-sql/index.cjs +13 -0
  239. package/dist/lib/designer/service-components/database/dynamic-sql/index.d.ts +14 -0
  240. package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.d.ts +20 -0
  241. package/dist/lib/designer/service-components/database/dynamic-sql/index.vue2.cjs +5 -0
  242. package/dist/lib/designer/service-components/database/dynamic-sql/index.vue3.cjs +8 -0
  243. package/dist/lib/designer/service-components/database/regular-query/config.vue.cjs +5 -0
  244. package/dist/lib/designer/service-components/database/regular-query/config.vue.d.ts +60 -0
  245. package/dist/lib/designer/service-components/database/regular-query/config.vue2.cjs +51 -0
  246. package/dist/lib/designer/service-components/database/regular-query/index.cjs +20 -0
  247. package/dist/lib/designer/service-components/database/regular-query/index.d.ts +19 -0
  248. package/dist/lib/designer/service-components/database/regular-query/index.vue.d.ts +36 -0
  249. package/dist/lib/designer/service-components/database/regular-query/index.vue2.cjs +5 -0
  250. package/dist/lib/designer/service-components/database/regular-query/index.vue3.cjs +20 -0
  251. package/dist/lib/designer/service-components/index.cjs +18 -0
  252. package/dist/lib/designer/service-components/index.d.ts +19 -0
  253. package/dist/lib/designer/service-components/service/common/cookie-data.vue.cjs +18 -0
  254. package/dist/lib/designer/service-components/service/common/cookie-data.vue.d.ts +18 -0
  255. package/dist/lib/designer/service-components/service/common/cookie-data.vue2.cjs +3 -0
  256. package/dist/lib/designer/service-components/service/common/form-data.vue.cjs +18 -0
  257. package/dist/lib/designer/service-components/service/common/form-data.vue.d.ts +22 -0
  258. package/dist/lib/designer/service-components/service/common/form-data.vue2.cjs +3 -0
  259. package/dist/lib/designer/service-components/service/common/header-data.vue.cjs +18 -0
  260. package/dist/lib/designer/service-components/service/common/header-data.vue.d.ts +18 -0
  261. package/dist/lib/designer/service-components/service/common/header-data.vue2.cjs +3 -0
  262. package/dist/lib/designer/service-components/service/common/json-data.vue.cjs +5 -0
  263. package/dist/lib/designer/service-components/service/common/json-data.vue.d.ts +18 -0
  264. package/dist/lib/designer/service-components/service/common/json-data.vue2.cjs +18 -0
  265. package/dist/lib/designer/service-components/service/common/param-config.vue.cjs +5 -0
  266. package/dist/lib/designer/service-components/service/common/param-config.vue.d.ts +18 -0
  267. package/dist/lib/designer/service-components/service/common/param-config.vue2.cjs +18 -0
  268. package/dist/lib/designer/service-components/service/common/query-params.vue.cjs +18 -0
  269. package/dist/lib/designer/service-components/service/common/query-params.vue.d.ts +18 -0
  270. package/dist/lib/designer/service-components/service/common/query-params.vue2.cjs +3 -0
  271. package/dist/lib/designer/service-components/service/common/raw-data.vue.cjs +25 -0
  272. package/dist/lib/designer/service-components/service/common/raw-data.vue.d.ts +22 -0
  273. package/dist/lib/designer/service-components/service/common/raw-data.vue2.cjs +3 -0
  274. package/dist/lib/designer/service-components/service/common/xml-data.vue.d.ts +21 -0
  275. package/dist/lib/designer/service-components/service/custom-bean/config.vue.cjs +3 -0
  276. package/dist/lib/designer/service-components/service/custom-bean/config.vue.d.ts +14 -0
  277. package/dist/lib/designer/service-components/service/custom-bean/config.vue2.cjs +10 -0
  278. package/dist/lib/designer/service-components/service/custom-bean/index.cjs +13 -0
  279. package/dist/lib/designer/service-components/service/custom-bean/index.d.ts +14 -0
  280. package/dist/lib/designer/service-components/service/custom-bean/index.vue.d.ts +20 -0
  281. package/dist/lib/designer/service-components/service/custom-bean/index.vue2.cjs +5 -0
  282. package/dist/lib/designer/service-components/service/custom-bean/index.vue3.cjs +8 -0
  283. package/dist/lib/designer/service-components/service/http-service/config.vue.cjs +5 -0
  284. package/dist/lib/designer/service-components/service/http-service/config.vue.d.ts +14 -0
  285. package/dist/lib/designer/service-components/service/http-service/config.vue2.cjs +15 -0
  286. package/dist/lib/designer/service-components/service/http-service/index.cjs +13 -0
  287. package/dist/lib/designer/service-components/service/http-service/index.d.ts +14 -0
  288. package/dist/lib/designer/service-components/service/http-service/index.vue.d.ts +20 -0
  289. package/dist/lib/designer/service-components/service/http-service/index.vue2.cjs +5 -0
  290. package/dist/lib/designer/service-components/service/http-service/index.vue3.cjs +8 -0
  291. package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.cjs +42 -0
  292. package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.d.ts +27 -0
  293. package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue2.cjs +3 -0
  294. package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.cjs +15 -0
  295. package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.d.ts +27 -0
  296. package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue2.cjs +3 -0
  297. package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.cjs +42 -0
  298. package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +27 -0
  299. package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue2.cjs +3 -0
  300. package/dist/lib/designer/service-components/util/common-options.cjs +8 -0
  301. package/dist/lib/designer/service-components/util/common-options.d.ts +36 -0
  302. package/dist/lib/designer/service-flow-view/flow-tool-util.cjs +31 -0
  303. package/dist/lib/designer/service-flow-view/flow-tool-util.d.ts +2 -0
  304. package/dist/lib/designer/service-flow-view/flow-util.cjs +48 -0
  305. package/dist/lib/designer/service-flow-view/flow-util.d.ts +55 -0
  306. package/dist/lib/designer/service-flow-view/service-flow-tool.vue.cjs +5 -0
  307. package/dist/lib/designer/service-flow-view/service-flow-tool.vue.d.ts +42 -0
  308. package/dist/lib/designer/service-flow-view/service-flow-tool.vue2.cjs +26 -0
  309. package/dist/lib/designer/service-flow-view/service-node-config.vue.cjs +5 -0
  310. package/dist/lib/designer/service-flow-view/service-node-config.vue.d.ts +58 -0
  311. package/dist/lib/designer/service-flow-view/service-node-config.vue2.cjs +32 -0
  312. package/dist/lib/designer/service-flow-view/service-params.vue.cjs +50 -0
  313. package/dist/lib/designer/service-flow-view/service-params.vue.d.ts +18 -0
  314. package/dist/lib/designer/service-flow-view/service-params.vue2.cjs +3 -0
  315. package/dist/lib/designer/service-flow-view/service-result.vue.cjs +54 -0
  316. package/dist/lib/designer/service-flow-view/service-result.vue.d.ts +18 -0
  317. package/dist/lib/designer/service-flow-view/service-result.vue2.cjs +3 -0
  318. package/dist/lib/designer/service-flow-view/service-test/request-params.vue.cjs +39 -0
  319. package/dist/lib/designer/service-flow-view/service-test/request-params.vue.d.ts +16 -0
  320. package/dist/lib/designer/service-flow-view/service-test/request-params.vue2.cjs +3 -0
  321. package/dist/lib/designer/service-flow-view/service-test/service-test.vue.cjs +60 -0
  322. package/dist/lib/designer/service-flow-view/service-test/service-test.vue.d.ts +56 -0
  323. package/dist/lib/designer/service-flow-view/service-test/service-test.vue2.cjs +3 -0
  324. package/dist/lib/designer/service-flow-view/service-update-log.vue.cjs +5 -0
  325. package/dist/lib/designer/service-flow-view/service-update-log.vue.d.ts +41 -0
  326. package/dist/lib/designer/service-flow-view/service-update-log.vue2.cjs +33 -0
  327. package/dist/lib/designer/service-flow-view/view-index.vue.cjs +5 -0
  328. package/dist/lib/designer/service-flow-view/view-index.vue.d.ts +50 -0
  329. package/dist/lib/designer/service-flow-view/view-index.vue2.cjs +92 -0
  330. package/dist/lib/designer/service-panel/component-panel.vue.cjs +5 -0
  331. package/dist/lib/designer/service-panel/component-panel.vue.d.ts +6 -0
  332. package/dist/lib/designer/service-panel/component-panel.vue2.cjs +13 -0
  333. package/dist/lib/designer/service-panel/service-list.vue.cjs +5 -0
  334. package/dist/lib/designer/service-panel/service-list.vue.d.ts +22 -0
  335. package/dist/lib/designer/service-panel/service-list.vue2.cjs +83 -0
  336. package/dist/lib/designer/service-panel/service-panel.vue.cjs +5 -0
  337. package/dist/lib/designer/service-panel/service-panel.vue.d.ts +35 -0
  338. package/dist/lib/designer/service-panel/service-panel.vue2.cjs +18 -0
  339. package/dist/lib/favicon.ico +0 -0
  340. package/dist/lib/index.cjs +3 -0
  341. package/dist/lib/index.d.ts +3 -0
  342. package/dist/lib/stores/page-store.cjs +28 -0
  343. package/dist/lib/stores/page-store.d.ts +23 -0
  344. package/dist/lib/style.css +1280 -0
  345. package/dist/lib/utils/common-util.cjs +111 -0
  346. package/dist/lib/utils/common-util.d.ts +22 -0
  347. package/dist/umd/favicon.ico +0 -0
  348. package/dist/umd/index.full.min.js +3632 -0
  349. package/dist/umd/style.css +1280 -0
  350. package/package.json +12 -16
  351. package/dist/es/designer/common/components/datatable-select.vue.js +0 -7
  352. package/dist/es/designer/common/components/datatable-select.vue2.js +0 -76
  353. package/dist/es/designer/common/components/file-upload.vue.js +0 -7
  354. package/dist/es/designer/common/components/file-upload.vue2.js +0 -33
  355. package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +0 -22
  356. package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.js +0 -4
  357. package/dist/es/designer/common/components/json-view/json-view.vue.js +0 -54
  358. package/dist/es/designer/common/components/json-view/json-view.vue2.js +0 -4
  359. package/dist/es/designer/common/components/node-base-config.vue.js +0 -14
  360. package/dist/es/designer/common/components/node-base-config.vue2.js +0 -4
  361. package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.js +0 -21
  362. package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue2.js +0 -4
  363. package/dist/es/designer/common/components/sql-view/sql-view.vue.js +0 -4
  364. package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +0 -33
  365. package/dist/es/designer/common/components/value-set-input/index.js +0 -4
  366. package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +0 -7
  367. package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +0 -131
  368. package/dist/es/designer/desginer-index.vue.js +0 -7
  369. package/dist/es/designer/desginer-index.vue2.js +0 -37
  370. package/dist/es/designer/service-components/base/end-node/index.vue2.js +0 -6
  371. package/dist/es/designer/service-components/base/loop-node/index.js +0 -8
  372. package/dist/es/designer/service-components/base/start-node/index.vue2.js +0 -6
  373. package/dist/es/designer/service-components/components-icons.js +0 -11
  374. package/dist/es/designer/service-components/computation/sort/config.vue.js +0 -7
  375. package/dist/es/designer/service-components/computation/sort/config.vue2.js +0 -57
  376. package/dist/es/designer/service-components/computation/sort/index.js +0 -17
  377. package/dist/es/designer/service-components/computation/sort/index.vue2.js +0 -12
  378. package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +0 -7
  379. package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +0 -100
  380. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +0 -33
  381. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.js +0 -4
  382. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +0 -39
  383. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.js +0 -4
  384. package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +0 -24
  385. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +0 -25
  386. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.js +0 -4
  387. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +0 -26
  388. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.js +0 -4
  389. package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +0 -7
  390. package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +0 -102
  391. package/dist/es/designer/service-components/database/dynamic-sql/index.js +0 -17
  392. package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +0 -12
  393. package/dist/es/designer/service-components/database/regular-query/config.vue.js +0 -7
  394. package/dist/es/designer/service-components/database/regular-query/config.vue2.js +0 -77
  395. package/dist/es/designer/service-components/database/regular-query/index.vue2.js +0 -24
  396. package/dist/es/designer/service-components/index.js +0 -44
  397. package/dist/es/designer/service-components/service/common/cookie-data.vue.js +0 -25
  398. package/dist/es/designer/service-components/service/common/cookie-data.vue2.js +0 -4
  399. package/dist/es/designer/service-components/service/common/form-data.vue.js +0 -27
  400. package/dist/es/designer/service-components/service/common/form-data.vue2.js +0 -4
  401. package/dist/es/designer/service-components/service/common/header-data.vue.js +0 -25
  402. package/dist/es/designer/service-components/service/common/header-data.vue2.js +0 -4
  403. package/dist/es/designer/service-components/service/common/json-data.vue.js +0 -7
  404. package/dist/es/designer/service-components/service/common/json-data.vue2.js +0 -25
  405. package/dist/es/designer/service-components/service/common/param-config.vue.js +0 -7
  406. package/dist/es/designer/service-components/service/common/param-config.vue2.js +0 -31
  407. package/dist/es/designer/service-components/service/common/query-params.vue.js +0 -25
  408. package/dist/es/designer/service-components/service/common/query-params.vue2.js +0 -4
  409. package/dist/es/designer/service-components/service/common/raw-data.vue.js +0 -30
  410. package/dist/es/designer/service-components/service/common/raw-data.vue2.js +0 -4
  411. package/dist/es/designer/service-components/service/custom-bean/config.vue.js +0 -4
  412. package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +0 -18
  413. package/dist/es/designer/service-components/service/custom-bean/index.js +0 -17
  414. package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +0 -12
  415. package/dist/es/designer/service-components/service/http-service/config.vue.js +0 -7
  416. package/dist/es/designer/service-components/service/http-service/config.vue2.js +0 -35
  417. package/dist/es/designer/service-components/service/http-service/index.js +0 -17
  418. package/dist/es/designer/service-components/service/http-service/index.vue2.js +0 -12
  419. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +0 -55
  420. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.js +0 -4
  421. package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +0 -20
  422. package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.js +0 -4
  423. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +0 -55
  424. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.js +0 -4
  425. package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +0 -7
  426. package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +0 -40
  427. package/dist/es/designer/service-flow-view/service-node-config.vue.js +0 -7
  428. package/dist/es/designer/service-flow-view/service-node-config.vue2.js +0 -36
  429. package/dist/es/designer/service-flow-view/service-params.vue.js +0 -70
  430. package/dist/es/designer/service-flow-view/service-params.vue2.js +0 -4
  431. package/dist/es/designer/service-flow-view/service-result.vue.js +0 -67
  432. package/dist/es/designer/service-flow-view/service-result.vue2.js +0 -4
  433. package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +0 -53
  434. package/dist/es/designer/service-flow-view/service-test/request-params.vue2.js +0 -4
  435. package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +0 -79
  436. package/dist/es/designer/service-flow-view/service-test/service-test.vue2.js +0 -4
  437. package/dist/es/designer/service-flow-view/service-update-log.vue.js +0 -7
  438. package/dist/es/designer/service-flow-view/service-update-log.vue2.js +0 -47
  439. package/dist/es/designer/service-flow-view/view-index.vue.js +0 -7
  440. package/dist/es/designer/service-flow-view/view-index.vue2.js +0 -107
  441. package/dist/es/designer/service-panel/component-panel.vue.js +0 -7
  442. package/dist/es/designer/service-panel/component-panel.vue2.js +0 -20
  443. package/dist/es/designer/service-panel/service-list.vue.js +0 -7
  444. package/dist/es/designer/service-panel/service-list.vue2.js +0 -100
  445. package/dist/es/designer/service-panel/service-panel.vue.js +0 -7
  446. package/dist/es/designer/service-panel/service-panel.vue2.js +0 -21
  447. package/dist/es/index.js +0 -4
  448. package/dist/es/stores/page-store.js +0 -30
  449. /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
  450. /package/dist/es/assets/icon/{aggregateQuery.svg.js → aggregateQuery.svg.mjs} +0 -0
  451. /package/dist/es/assets/icon/{base.png.js → base.png.mjs} +0 -0
  452. /package/dist/es/assets/icon/{dynamicSql.svg.js → dynamicSql.svg.mjs} +0 -0
  453. /package/dist/es/assets/icon/{end.png.js → end.png.mjs} +0 -0
  454. /package/dist/es/assets/icon/{end.svg.js → end.svg.mjs} +0 -0
  455. /package/dist/es/assets/icon/{http-service.svg.js → http-service.svg.mjs} +0 -0
  456. /package/dist/es/assets/icon/{regularQuery.svg.js → regularQuery.svg.mjs} +0 -0
  457. /package/dist/es/assets/icon/{sort.svg.js → sort.svg.mjs} +0 -0
  458. /package/dist/es/assets/icon/{start.png.js → start.png.mjs} +0 -0
  459. /package/dist/es/assets/icon/{vardef-v.png.js → vardef-v.png.mjs} +0 -0
  460. /package/dist/es/designer/common/util/{node-util.js → node-util.mjs} +0 -0
  461. /package/dist/es/designer/flow/base/{AbLogicNode.js → AbLogicNode.mjs} +0 -0
  462. /package/dist/es/designer/flow/base/{AbLogicResizeNode.js → AbLogicResizeNode.mjs} +0 -0
  463. /package/dist/es/designer/flow/edge/{CustomLine.js → CustomLine.mjs} +0 -0
  464. /package/dist/es/designer/service-components/util/{common-options.js → common-options.mjs} +0 -0
  465. /package/dist/es/designer/service-flow-view/{flow-tool-util.js → flow-tool-util.mjs} +0 -0
@@ -1,11 +0,0 @@
1
- import s from "../../assets/icon/base.png.js";
2
- import o from "../../assets/icon/end.png.js";
3
- import r from "../../assets/icon/regularQuery.svg.js";
4
- import e from "../../assets/icon/aggregateQuery.svg.js";
5
- import t from "../../assets/icon/dynamicSql.svg.js";
6
- import n from "../../assets/icon/sort.svg.js";
7
- import a from "../../assets/icon/http-service.svg.js";
8
- const c = { baseIcon: s, endIcon: o, regularQueryIcon: r, aggregateQueryIcon: e, dynamicSqlIcon: t, computationSortIcon: n, httpServiceIcon: a };
9
- export {
10
- c as default
11
- };
@@ -1,7 +0,0 @@
1
- import o from "./config.vue2.js";
2
- /* empty css */
3
- import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-73238421"]]);
5
- export {
6
- r as default
7
- };
@@ -1,57 +0,0 @@
1
- import { ElForm as e, ElDivider as l, ElFormItem as t, ElSelect as a, ElOption as s, ElAlert as o, ElButton as r, ElTable as n, ElTableColumn as i, ElTooltip as p } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/form/style/css";
4
- import "element-plus/es/components/table/style/css";
5
- import "element-plus/es/components/tooltip/style/css";
6
- import "element-plus/es/components/table-column/style/css";
7
- import "element-plus/es/components/alert/style/css";
8
- import "element-plus/es/components/button/style/css";
9
- import "element-plus/es/components/form-item/style/css";
10
- import "element-plus/es/components/select/style/css";
11
- import "element-plus/es/components/option/style/css";
12
- import "element-plus/es/components/divider/style/css";
13
- import { defineComponent as m, ref as u, onMounted as c, createBlock as d, openBlock as f, withCtx as v, createVNode as y, createElementBlock as b, Fragment as h, renderList as k, createTextVNode as g, createElementVNode as w, createCommentVNode as _, toDisplayString as x, unref as V } from "vue";
14
- import { Minus as O, Plus as S } from "@element-plus/icons-vue";
15
- import z from "../../../common/components/node-base-config.vue.js";
16
- const C = { style: { position: "absolute", right: "10px" } }, $ = { key: 0 }, E = { key: 1 }, U = { key: 0 }, j = m({ __name: "config", props: { properties: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(m2, { expose: j2 }) {
17
- const D = m2;
18
- u([]);
19
- const R = u([]), q = u([]), A = u([]);
20
- c(() => {
21
- D.service.variables && (D.service.variables.forEach((e2) => {
22
- "array" === e2.type && R.value.push(e2), "array" === e2.type && e2.items[0] && "object" !== e2.items[0].type && A.value.push(e2.name);
23
- }), F(D.properties.dataSource));
24
- });
25
- const B = (e2) => {
26
- q.value = [], A.value.indexOf(e2) > -1 ? D.properties.sorts && 1 === D.properties.sorts.length && "item" === D.properties.sorts[0].name || (D.properties.sorts = [{ $editing: true, alias: "item", name: "item", order: "asc" }]) : D.service.variables.forEach((l2) => {
27
- l2.name === e2 && l2.items && l2.items.length > 0 && l2.items[0].items.forEach((e3) => {
28
- q.value.push({ name: e3.name, alias: e3.alias });
29
- });
30
- });
31
- }, F = (e2) => {
32
- q.value = [], D.service.variables.forEach((l2) => {
33
- l2.name === e2 && l2.items && l2.items.length > 0 && l2.items[0].items.forEach((e3) => {
34
- q.value.push({ name: e3.name, alias: e3.alias });
35
- });
36
- });
37
- }, G = (e2, l2, t2) => {
38
- e2.$editing = true;
39
- }, H = () => {
40
- D.properties.sorts || (D.properties.sorts = []), A.value.indexOf(D.properties.dataSource) > -1 ? D.properties.sorts.push({ $editing: true, alias: "item", name: "item", order: "asc" }) : D.properties.sorts.push({ $editing: true, name: "", order: "asc" });
41
- };
42
- return j2({}), (u2, c2) => {
43
- const j3 = l, F2 = s, I = a, J = t, K = r, L = o, M = i, N = p, P = n, Q = e;
44
- return f(), d(Q, { "label-width": "auto", "label-position": "left" }, { default: v(() => [y(z, { properties: m2.properties }, null, 8, ["properties"]), y(j3), y(J, { label: "数据源:" }, { default: v(() => [y(I, { modelValue: m2.properties.dataSource, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => m2.properties.dataSource = e2), "value-key": "name", onChange: B }, { default: v(() => [(f(true), b(h, null, k(R.value, (e2) => (f(), d(F2, { key: e2.code, label: e2.name, value: e2.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(L, { type: "info", size: "small", closable: false }, { title: v(() => [c2[3] || (c2[3] = g(" 排序条件 ", -1)), w("span", C, [-1 === A.value.indexOf(m2.properties.dataSource) ? (f(), d(K, { key: 0, size: "small", type: "primary", onClick: H }, { default: v(() => [...c2[2] || (c2[2] = [g("添加", -1)])]), _: 1 })) : _("", true)])]), _: 1 }), y(P, { data: m2.properties.sorts, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: G, size: "small", border: "", "default-expand-all": "" }, { default: v(() => [y(M, { type: "index", width: "50", label: "序号" }), y(M, { prop: "name", label: "字段名" }, { default: v((e2) => [A.value.indexOf(m2.properties.dataSource) > -1 ? (f(), b("span", $, "item")) : e2.row.$editing ? (f(), d(I, { key: 2, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, onChange: (l2) => {
45
- return t2 = l2, (a2 = e2.row).alias = "", void q.value.forEach((e3) => {
46
- e3.name === t2 && (a2.alias = e3.alias);
47
- });
48
- var t2, a2;
49
- }, "value-key": "name", size: "small" }, { default: v(() => [(f(true), b(h, null, k(q.value, (e3) => (f(), d(F2, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (f(), b("span", E, x(e2.row.alias), 1))]), _: 1 }), y(M, { prop: "order", label: "排序方式" }, { default: v((e2) => [e2.row.$editing ? (f(), d(I, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: v(() => [y(F2, { label: "升序", value: "asc" }), y(F2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (f(), b("span", U, x(e2.row.order), 1))]), _: 1 }), y(M, { align: "right" }, { header: v(() => [y(N, { effect: "dark", content: "添加", placement: "top" }, { default: v(() => [-1 === A.value.indexOf(m2.properties.dataSource) ? (f(), d(K, { key: 0, type: "primary", size: "small", icon: V(S), circle: "", onClick: c2[1] || (c2[1] = (e2) => H()) }, null, 8, ["icon"])) : _("", true)]), _: 1 })]), default: v((e2) => [w("span", null, [y(N, { effect: "dark", content: "删除", placement: "top" }, { default: v(() => [-1 === A.value.indexOf(m2.properties.dataSource) ? (f(), d(K, { key: 0, type: "danger", size: "small", icon: V(O), circle: "", onClick: (l2) => {
50
- return t2 = e2.$index, e2.row, void D.properties.sorts.splice(t2, 1);
51
- var t2;
52
- } }, null, 8, ["icon", "onClick"])) : _("", true)]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 });
53
- };
54
- } });
55
- export {
56
- j as default
57
- };
@@ -1,17 +0,0 @@
1
- import e from "../../../flow/base/AbLogicNode.js";
2
- import o from "../../../flow/base/AbLogicNodeModel.js";
3
- import "../../../flow/base/AbLogicResizeNodeModel.js";
4
- import "../../../flow/base/AbLogicResizeNode.js";
5
- import { h as s, createApp as i } from "vue";
6
- import t from "./index.vue.js";
7
- const d = { type: "computationSort", view: class extends e {
8
- constructor(e2) {
9
- super(e2), this.isMounted = false, this.r = s(t, { model: e2.model, graphModel: e2.graphModel, disabled: e2.graphModel.editConfigModel.isSilentMode, isSelected: e2.model.isSelected, isHovered: e2.model.isHovered, properties: e2.model.getProperties(), onBtnClick: (o2) => {
10
- this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
11
- } }), this.app = i({ render: () => this.r });
12
- }
13
- }, model: class extends o {
14
- }, options: {} };
15
- export {
16
- d as default
17
- };
@@ -1,12 +0,0 @@
1
- import { ElDivider as e } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/divider/style/css";
4
- import { defineComponent as s, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
5
- import n from "../../../../assets/icon/vardef-v.png.js";
6
- const c = { class: "serviceflow-nodeContent" }, m = s({ __name: "index", props: { graphModel: Object, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup: (s2, { emit: m2 }) => (m3, d) => {
7
- const a = e;
8
- return o(), t("div", null, [d[1] || (d[1] = i("img", { src: n, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), i("div", { class: "serviceflow-nodeView", style: r({ backgroundColor: s2.properties.backgroundColor }) }, [d[0] || (d[0] = i("div", { class: "serviceflow-nodeTitle" }, "计算-排序", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
9
- } });
10
- export {
11
- m as default
12
- };
@@ -1,7 +0,0 @@
1
- import o from "./config.vue2.js";
2
- /* empty css */
3
- import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-7433f16a"]]);
5
- export {
6
- r as default
7
- };
@@ -1,100 +0,0 @@
1
- import { ElForm as e, ElFormItem as t, ElInput as s, ElButton as o, ElAlert as l, ElText as a, ElRadioGroup as r, ElRadio as p, ElMessage as i } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/form/style/css";
4
- import "element-plus/es/components/radio-group/style/css";
5
- import "element-plus/es/components/radio/style/css";
6
- import "element-plus/es/components/text/style/css";
7
- import "element-plus/es/components/alert/style/css";
8
- import "element-plus/es/components/form-item/style/css";
9
- import "element-plus/es/components/input/style/css";
10
- import "element-plus/es/components/button/style/css";
11
- import { defineComponent as n, ref as m, onMounted as u, createElementBlock as c, openBlock as d, createVNode as y, withCtx as b, createElementVNode as v, unref as f, createTextVNode as g } from "vue";
12
- import { Search as T, View as C, Check as S } from "@element-plus/icons-vue";
13
- import x from "../../../common/components/value-set-input/value-set-input.vue.js";
14
- import V from "../../../common/components/datatable-select.vue.js";
15
- import { useServiceFlowStore as j } from "../../../../stores/page-store.js";
16
- import { queryTableFields as h, updateServiceParams as w, updateServiceReturns as _, getBaseUrl as N } from "../../../../utils/common-util.js";
17
- import q from "agilebuilder-ui/src/utils/request";
18
- import "uuid";
19
- import k from "./dimension-statistical.vue.js";
20
- import "element-plus/es/components/table/style/css";
21
- import "element-plus/es/components/tooltip/style/css";
22
- import "element-plus/es/components/select/style/css";
23
- import "element-plus/es/components/option/style/css";
24
- import "element-plus/es/components/table-column/style/css";
25
- import "../../util/common-options.js";
26
- import F from "./statistical-formula.vue.js";
27
- import O from "./filter-conditions.vue.js";
28
- import U from "./sort-conditions.vue.js";
29
- import z from "../../../common/components/node-base-config.vue.js";
30
- import { getNodeRuntimeObject as I } from "../../../service-flow-view/flow-util.js";
31
- import "codemirror";
32
- import "@codemirror/lang-sql";
33
- import "@codemirror/state";
34
- import M from "../../../common/components/sql-view/sql-view-dialog.vue.js";
35
- import "element-plus/es/components/message/style/css";
36
- const D = { style: { position: "absolute", right: "0" } }, E = { style: { display: "flex" } }, J = n({ __name: "config", props: { properties: { type: Object, default: () => ({ search: {}, noData: {}, result: {} }) }, logicFlowInstance: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(n2, { expose: J2 }) {
37
- var _a, _b;
38
- const B = j(), A = n2;
39
- A.properties.result || (A.properties.result = {});
40
- const G = m(false), H = m(B.pageContext.systemCode);
41
- ((_a = A.properties) == null ? void 0 : _a.dataTableSystemCode) && (H.value = A.properties.dataTableSystemCode);
42
- const K = m(B.pageContext.systemVersion);
43
- ((_b = A.properties) == null ? void 0 : _b.dataTableSystemVersion) && (K.value = A.properties.dataTableSystemVersion);
44
- const L = m([]), P = m([]), Q = m([]);
45
- A.properties.result.valueSetScope || (A.properties.result.valueSetScope = "all");
46
- const R = m("array"), W = m(false), X = m("");
47
- function Y() {
48
- "first" == A.properties.result.valueSetScope ? R.value = "object" : R.value = "array";
49
- }
50
- function Z() {
51
- const e2 = A.properties.dataTable, t2 = A.properties.dataTableSystemCode, s2 = A.properties.dataTableSystemVersion;
52
- e2 ? h(t2, s2, e2).then((e3) => {
53
- L.value = e3, P.value = L.value;
54
- }) : (L.value = [], P.value = L.value);
55
- }
56
- u(() => {
57
- Z(), ee();
58
- });
59
- const $ = (e2) => {
60
- A.properties.dataTable = e2.dataTable.name, A.properties.dataTableSystemCode = e2.system.code, A.properties.dataTableSystemVersion = e2.system.publishVersion, H.value = A.properties.dataTableSystemCode, Z();
61
- }, ee = () => {
62
- Q.value = [];
63
- const e2 = [];
64
- A.properties.statistics && A.properties.statistics.forEach((t2) => {
65
- const s2 = t2.newName ? t2.newName : t2.name;
66
- s2 && e2.push({ type: "string", name: s2, alias: s2 });
67
- }), A.properties.statisticalFormulas && A.properties.statisticalFormulas.forEach((t2) => {
68
- if (t2.formula) {
69
- const s2 = t2.newName ? t2.newName : t2.name;
70
- s2 && !e2.includes(s2) && e2.push({ type: "number", name: s2, alias: s2 });
71
- }
72
- }), Q.value = e2;
73
- };
74
- function te() {
75
- if (!A.properties.result.setTo) return void i.error("请先设置结果参数!");
76
- const e2 = "first" == A.properties.result.valueSetScope ? "object" : "array";
77
- w(A.properties.result.setTo, e2, Q.value);
78
- }
79
- function se() {
80
- if (!A.properties.result.setTo) return void i.error("请先设置结果参数!");
81
- const e2 = "first" == A.properties.result.valueSetScope ? "object" : "array";
82
- _(A.properties.result.setTo, e2, Q.value);
83
- }
84
- function oe() {
85
- X.value = "";
86
- const e2 = I(A.logicFlowInstance.getNodeModelById(A.currentNode.data.id), A.service);
87
- e2.props = JSON.parse(JSON.stringify(A.properties));
88
- const t2 = N(A.pageContext.backendUrl, A.pageContext.isTest);
89
- q.post(t2 + "/dsc/service-flow/test/database-node/show-sql", e2).then((e3) => {
90
- W.value = true, X.value = e3;
91
- });
92
- }
93
- return J2({}), (i2, m2) => {
94
- const u2 = o, j2 = s, h2 = t, w2 = l, _2 = a, N2 = p, q2 = r, I2 = e;
95
- return d(), c("div", null, [y(I2, { "label-width": "100", "label-position": "left", size: "small" }, { default: b(() => [y(z, { properties: n2.properties }, null, 8, ["properties"]), y(h2, { label: "选择数据表" }, { default: b(() => [y(j2, { modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => n2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: b(() => [y(u2, { type: "default", icon: f(T), onClick: m2[0] || (m2[0] = (e2) => G.value = !G.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"]), v("span", D, [y(u2, { type: "primary", icon: f(C), onClick: oe }, { default: b(() => [...m2[7] || (m2[7] = [g("预览sql", -1)])]), _: 1 }, 8, ["icon"])]), y(V, { visible: G.value, "onUpdate:visible": m2[2] || (m2[2] = (e2) => G.value = e2), modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[3] || (m2[3] = (e2) => n2.properties.dataTable = e2), systemCode: H.value, systemVersion: K.value, onSelect: $ }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), y(w2, { title: "统计维度", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(k, { properties: n2.properties, dataTableColumns: P.value, onChange: ee, style: { "margin-bottom": "10 px" } }, null, 8, ["properties", "dataTableColumns"]), y(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: b(() => [...m2[8] || (m2[8] = [g("说明:1.支持自定义日期格式,同SimpleDateFormat,yyyy表示年,MM表示2位月...", -1), v("br", null, null, -1), g("           2.未指定新字段名时,输出字段名同选择的字段名", -1), v("br", null, null, -1), g("           3.动态维度值有填写时需要匹配才会执行此分组", -1)])]), _: 1 }), y(w2, { title: "统计公式", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(F, { properties: n2.properties, dataTableColumns: L.value, onChange: ee }, null, 8, ["properties", "dataTableColumns"]), y(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: b(() => [...m2[9] || (m2[9] = [g("说明:1.支持自定义统计公式,如sum(字段1+字段2)", -1)])]), _: 1 }), y(w2, { title: "过滤条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(O, { properties: n2.properties, dataTableColumns: L.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "排序条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(U, { properties: n2.properties, dataTableColumns: Q.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(h2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: b(() => [y(q2, { modelValue: n2.properties.result.valueSetScope, "onUpdate:modelValue": m2[4] || (m2[4] = (e2) => n2.properties.result.valueSetScope = e2), onChange: Y, class: "ml-4" }, { default: b(() => [y(N2, { value: "first" }, { default: b(() => [...m2[10] || (m2[10] = [g("仅第一条", -1)])]), _: 1 }), y(N2, { value: "all" }, { default: b(() => [...m2[11] || (m2[11] = [g(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(h2, { label: "设置到:", style: { width: "100%" } }, { default: b(() => [v("div", E, [y(f(x), { width: "260", paramTypes: ["service"], modelValue: n2.properties.result.setTo, "onUpdate:modelValue": m2[5] || (m2[5] = (e2) => n2.properties.result.setTo = e2), autoCreateFieldType: R.value }, null, 8, ["modelValue", "autoCreateFieldType"]), y(u2, { icon: f(S), type: "primary", onClick: te, style: { "margin-left": "10px" } }, { default: b(() => [...m2[12] || (m2[12] = [g(" 更新服务变量 ", -1)])]), _: 1 }, 8, ["icon"]), y(u2, { icon: f(S), type: "primary", onClick: se, style: { "margin-left": "10px" } }, { default: b(() => [...m2[13] || (m2[13] = [g(" 设置为返回值 ", -1)])]), _: 1 }, 8, ["icon"])])]), _: 1 })]), _: 1 }), y(f(M), { sql: X.value, "model-value": W.value, "onUpdate:modelValue": m2[6] || (m2[6] = (e2) => W.value = e2) }, null, 8, ["sql", "model-value"])]);
96
- };
97
- } });
98
- export {
99
- J as default
100
- };
@@ -1,33 +0,0 @@
1
- import { ElTable as e, ElTableColumn as l, ElSelect as a, ElOption as t, ElInput as o, ElTooltip as n, ElButton as s } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/table/style/css";
4
- import "element-plus/es/components/tooltip/style/css";
5
- import "element-plus/es/components/button/style/css";
6
- import "element-plus/es/components/input/style/css";
7
- import "element-plus/es/components/select/style/css";
8
- import "element-plus/es/components/option/style/css";
9
- import "element-plus/es/components/table-column/style/css";
10
- import { defineComponent as m, createBlock as i, openBlock as p, withCtx as d, createVNode as r, createElementBlock as u, toDisplayString as c, Fragment as y, renderList as w, unref as b, createElementVNode as f } from "vue";
11
- import { Minus as V, Plus as g } from "@element-plus/icons-vue";
12
- import { dateFormats as h } from "../../util/common-options.js";
13
- const k = { key: 0 }, C = { key: 0 }, T = { key: 0 }, _ = { key: 0 }, v = m({ __name: "dimension-statistical", props: { properties: { type: Object, default: () => ({ statistics: {} }) }, dataTableColumns: { type: Array, default: () => [] } }, emits: ["change"], setup(m2, { emit: v2 }) {
14
- const N = m2, U = v2;
15
- function z(e2, l2, a2) {
16
- e2.$editing = true;
17
- }
18
- const $ = (e2, l2) => {
19
- l2 && N.dataTableColumns.forEach((a2) => {
20
- a2.dbColumnName === e2 && (l2.dataType = a2.dataType, "DATE" !== l2.dataType && "TIME" !== a2.dataType && (l2.dateFormat = ""));
21
- }), U("change", e2);
22
- };
23
- return (v3, x) => {
24
- const E = l, F = t, A = a, D = o, j = s, I = n, M = e;
25
- return p(), i(M, { data: m2.properties.statistics, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: z, size: "small", border: "", "default-expand-all": "" }, { default: d(() => [r(E, { type: "index", width: "50", label: "序号", align: "center" }), r(E, { prop: "name", label: "字段名" }, { default: d((e2) => [e2.row.$editing ? (p(), i(A, { key: 1, onChange: (l2) => $(l2, e2.row), modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", filterable: "" }, { default: d(() => [(p(true), u(y, null, w(m2.dataTableColumns, (e3) => (p(), i(F, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["onChange", "modelValue", "onUpdate:modelValue"])) : (p(), u("span", k, c(e2.row.name), 1))]), _: 1 }), r(E, { prop: "name", label: "日期格式化", width: "120" }, { default: d((e2) => [e2.row.$editing ? (p(), i(A, { key: 1, disabled: "DATE" !== e2.row.dataType && "TIME" !== e2.row.dataType, filterable: true, "allow-create": true, modelValue: e2.row.dateFormat, "onUpdate:modelValue": (l2) => e2.row.dateFormat = l2, placeholder: "", size: "small" }, { default: d(() => [(p(true), u(y, null, w(b(h), (e3) => (p(), i(F, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (p(), u("span", C, c(e2.row.dateFormat), 1))]), _: 1 }), r(E, { prop: "newName", label: "新字段名", width: "160" }, { default: d((e2) => [e2.row.$editing ? (p(), i(D, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, size: "small", onChange: (l2) => U("change", e2.row) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), u("span", T, c(e2.row.newName), 1))]), _: 1 }), r(E, { prop: "dynamicValue", label: "动态维度值" }, { default: d((e2) => [e2.row.$editing ? (p(), i(D, { key: 1, modelValue: e2.row.dynamicValue, "onUpdate:modelValue": (l2) => e2.row.dynamicValue = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), u("span", _, c(e2.row.dynamicValue), 1))]), _: 1 }), r(E, { align: "center", width: "80" }, { header: d(() => [r(I, { effect: "dark", content: "添加", placement: "top" }, { default: d(() => [r(j, { type: "primary", size: "small", icon: b(g), circle: "", onClick: x[0] || (x[0] = (e2) => (N.properties.statistics || (N.properties.statistics = []), void N.properties.statistics.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: d((e2) => [f("span", null, [r(I, { effect: "dark", content: "删除", placement: "top" }, { default: d(() => [r(j, { type: "danger", size: "small", icon: b(V), circle: "", onClick: (l2) => {
26
- return a2 = e2.$index, e2.row, N.properties.statistics.splice(a2, 1), void $("", null);
27
- var a2;
28
- } }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
29
- };
30
- } });
31
- export {
32
- v as default
33
- };
@@ -1,4 +0,0 @@
1
- import t from "./dimension-statistical.vue.js";
2
- export {
3
- t as default
4
- };
@@ -1,39 +0,0 @@
1
- import { ElTable as e, ElTableColumn as l, ElSelect as a, ElOption as o, ElTooltip as t, ElButton as r } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/table/style/css";
4
- import "element-plus/es/components/tooltip/style/css";
5
- import "element-plus/es/components/button/style/css";
6
- import "element-plus/es/components/select/style/css";
7
- import "element-plus/es/components/option/style/css";
8
- import "element-plus/es/components/table-column/style/css";
9
- import { defineComponent as p, createBlock as n, openBlock as u, withCtx as d, createVNode as i, createElementBlock as s, toDisplayString as m, Fragment as T, renderList as c, withDirectives as w, vShow as y, unref as b, createElementVNode as f } from "vue";
10
- import { Minus as v, Plus as E } from "@element-plus/icons-vue";
11
- import { v4 as N } from "uuid";
12
- import V from "../../../common/components/value-set-input/value-set-input.vue.js";
13
- import { logicOperators as k } from "../../util/common-options.js";
14
- const L = { key: 0 }, _ = { key: 0 }, h = { key: 0 }, g = { key: 0 }, C = { key: 0 }, I = { key: 0 }, O = p({ __name: "filter-conditions", props: { properties: { type: Object, default: () => ({ filterConditions: [] }) }, dataTableColumns: { type: Array, default: () => [] } }, setup(p2) {
15
- const O2 = p2, U = (e2) => {
16
- G(e2);
17
- };
18
- function G(e2) {
19
- e2.$editing = true;
20
- }
21
- return (A, B) => {
22
- const z = l, R = o, $ = a, D = r, x = t, X = e;
23
- return u(), n(X, { data: p2.properties.filterConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowClick: U, size: "small", border: "", "default-expand-all": "" }, { default: d(() => [i(z, { type: "index", width: "50", label: "序号", align: "center" }), i(z, { prop: "leftBracket", label: "((((", width: "60" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, size: "small", modelValue: e2.row.leftBracket, "onUpdate:modelValue": (l2) => e2.row.leftBracket = l2, placeholder: "", clearable: "" }, { default: d(() => [i(R, { label: "(", value: "(" }), i(R, { label: "((", value: "((" }), i(R, { label: "(((", value: "(((" }), i(R, { label: "((((", value: "((((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", L, m(e2.row.leftBracket), 1))]), _: 1 }), i(z, { prop: "name", label: "字段名" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.propName, "onUpdate:modelValue": (l2) => e2.row.propName = l2, placeholder: "", filterable: true, "allow-create": true, size: "small", onChange: (l2) => function(e3, l3) {
24
- if (!l3 || !O2.dataTableColumns) return;
25
- const a2 = O2.dataTableColumns.filter((e4) => e4.name == l3.propName || e4.dbColumnName == l3.propName), o2 = l3.dataType;
26
- a2 && a2.length > 0 ? l3.dataType = a2[0].dataType : l3.dataType = "TEXT", o2 != l3.dataType && (l3.operator = null);
27
- }(A.val, e2.row), title: e2.row.propName }, { default: d(() => [(u(true), s(T, null, c(p2.dataTableColumns, (e3) => (u(), n(R, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange", "title"])) : (u(), s("span", _, m(e2.row.propName), 1))]), _: 1 }), i(z, { prop: "operator", label: "操作符", width: "100" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.operator, "onUpdate:modelValue": (l2) => e2.row.operator = l2, placeholder: "", size: "small", title: e2.row.operator }, { default: d(() => [w(i(R, { label: "大于", value: "GT" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "小于", value: "LT" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "大于", value: "GT" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(i(R, { label: "小于", value: "LT" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), i(R, { label: "等于", value: "EQ" }), w(i(R, { label: "小于等于", value: "LET" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "大于等于", value: "GET" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "小于等于", value: "LET" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(i(R, { label: "大于等于", value: "GET" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), i(R, { label: "不等于", value: "NET" }), w(i(R, { label: "包含", value: "CONTAIN" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "左匹配", value: "LEFT_LIKE" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "右匹配", value: "RIGHT_LIKE" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "IN", value: "RANGE_QUERY" }, null, 512), [[y, "TEXT" == e2.row.dataType || "LONG" == e2.row.dataType || "INTEGER" == e2.row.dataType]]), i(R, { label: "等于Null", value: "IS_NULL" }), i(R, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])) : (u(), s("span", h, m(e2.row.operator), 1))]), _: 1 }), i(z, { prop: "propValue", label: "值" }, { default: d((e2) => [i(b(V), { showLabel: !e2.row.$editing, size: "small", paramTypes: ["system", "context", "service", "request", "fixed"], modelValue: e2.row.propValue, "onUpdate:modelValue": (l2) => e2.row.propValue = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), i(z, { prop: "rightBracket", label: "))))", width: "60" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, size: "small", modelValue: e2.row.rightBracket, "onUpdate:modelValue": (l2) => e2.row.rightBracket = l2, placeholder: "", clearable: "" }, { default: d(() => [i(R, { label: ")", value: ")" }), i(R, { label: "))", value: "))" }), i(R, { label: ")))", value: ")))" }), i(R, { label: "))))", value: "))))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", g, m(e2.row.rightBracket), 1))]), _: 1 }), i(z, { prop: "joinSign", label: "连接符", width: "70" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.logicOperator, "onUpdate:modelValue": (l2) => e2.row.logicOperator = l2, clearable: "", placeholder: "", size: "small" }, { default: d(() => [(u(true), s(T, null, c(b(k), (e3) => (u(), n(R, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", C, m(e2.row.logicOperator), 1))]), _: 1 }), i(z, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.variableIsNull, "onUpdate:modelValue": (l2) => e2.row.variableIsNull = l2, clearable: "", placeholder: "请选择" }, { default: d(() => [i(R, { label: "Null", value: "null" }), i(R, { label: "忽略(1=1)", value: "ignore" }), i(R, { label: "不符合(1<>1)", value: "notequal" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", I, m(e2.row.variableIsNull), 1))]), _: 1 }), i(z, { align: "center", width: "60" }, { header: d(() => [i(x, { effect: "dark", content: "添加", placement: "top" }, { default: d(() => [i(D, { type: "primary", size: "small", icon: b(E), circle: "", onClick: B[0] || (B[0] = (e2) => (() => {
28
- O2.properties.filterConditions || (O2.properties.filterConditions = []);
29
- const e3 = { code: N() };
30
- O2.properties.filterConditions.push(e3), G(e3);
31
- })()) }, null, 8, ["icon"])]), _: 1 })]), default: d((e2) => [f("span", null, [i(x, { effect: "dark", content: "删除", placement: "top" }, { default: d(() => [i(D, { type: "danger", size: "small", icon: b(v), circle: "", onClick: (l2) => {
32
- return a2 = e2.$index, e2.row, void O2.properties.filterConditions.splice(a2, 1);
33
- var a2;
34
- } }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
35
- };
36
- } });
37
- export {
38
- O as default
39
- };
@@ -1,4 +0,0 @@
1
- import o from "./filter-conditions.vue.js";
2
- export {
3
- o as default
4
- };
@@ -1,24 +0,0 @@
1
- import { ElDivider as e } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/divider/style/css";
4
- import { defineComponent as t, ref as s, onMounted as r, createElementBlock as o, openBlock as l, createElementVNode as n, normalizeStyle as p, createVNode as i, toDisplayString as a, Fragment as u, renderList as d } from "vue";
5
- import c from "../../../../assets/icon/vardef-v.png.js";
6
- const m = { class: "serviceflow-nodeTitle" }, v = { class: "serviceflow-nodeContent" }, f = ["title"], h = t({ __name: "index", props: { graphModel: { type: Object, default: () => ({}) }, model: { type: Object, default: () => ({}) }, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup(t2, { emit: h2 }) {
7
- const g = t2, b = s([]), y = s([]);
8
- return r(() => {
9
- g.graphModel.modelToGraphData().nodes.forEach((e2, t3) => {
10
- y.value.push({ id: e2.id, name: e2.properties.name });
11
- }), y.value.push({ id: "end", name: "结束" }), g.properties && g.properties.rules && g.properties.rules.length > 0 && g.properties.rules.forEach((e2, t3) => {
12
- b.value.push(e2.name + "->" + function(e3) {
13
- if ("end" === e3) return "结束";
14
- for (let t4 = 0; t4 < y.value.length; t4++) if (y.value[t4].id == e3) return y.value[t4].name;
15
- }(e2.to));
16
- });
17
- }), (s2, r2) => {
18
- const h3 = e;
19
- return l(), o("div", null, [r2[1] || (r2[1] = n("img", { src: c, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), n("div", { class: "serviceflow-nodeView", style: p({ backgroundColor: t2.properties.backgroundColor }) }, [n("div", m, a(t2.properties.name ? t2.properties.name : "条件判断"), 1), i(h3), n("div", v, [n("div", { class: "serviceflow-nodeContent-desc", title: t2.properties.description }, a(t2.properties.description), 9, f), (l(true), o(u, null, d(b.value, (e2) => (l(), o("div", null, [n("span", null, a(e2), 1), r2[0] || (r2[0] = n("br", null, null, -1))]))), 256))])], 4)]);
20
- };
21
- } });
22
- export {
23
- h as default
24
- };
@@ -1,25 +0,0 @@
1
- import { ElTable as e, ElTableColumn as l, ElSelect as o, ElOption as t, ElInput as n, ElTooltip as s, ElButton as a } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/table/style/css";
4
- import "element-plus/es/components/tooltip/style/css";
5
- import "element-plus/es/components/button/style/css";
6
- import "element-plus/es/components/input/style/css";
7
- import "element-plus/es/components/select/style/css";
8
- import "element-plus/es/components/option/style/css";
9
- import "element-plus/es/components/table-column/style/css";
10
- import { defineComponent as r, createBlock as p, openBlock as i, withCtx as m, createVNode as d, createElementBlock as u, toDisplayString as c, Fragment as y, renderList as f, createElementVNode as b, unref as w } from "vue";
11
- import { Minus as V, Plus as k } from "@element-plus/icons-vue";
12
- const C = { key: 0 }, _ = { key: 0 }, v = { key: 0 }, g = r({ __name: "sort-conditions", props: { properties: { type: Object, default: () => ({ sortConditions: [] }) }, dataTableColumns: { type: Array, default: () => [] } }, setup(r2) {
13
- const g2 = r2, h = () => {
14
- };
15
- return (z, U) => {
16
- const x = l, $ = t, S = o, T = n, j = a, A = s, D = e;
17
- return i(), p(D, { data: r2.properties.sortConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: h, size: "small", border: "", "default-expand-all": "" }, { default: m(() => [d(x, { type: "index", width: "50", label: "序号", align: "center" }), d(x, { prop: "name", label: "字段名" }, { default: m((e2) => [e2.row.$editing ? (i(), p(S, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: m(() => [(i(true), u(y, null, f(r2.dataTableColumns, (e3) => (i(), p($, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", C, c(e2.row.name), 1))]), _: 1 }), d(x, { prop: "order", label: "排序方式" }, { default: m((e2) => [e2.row.$editing ? (i(), p(S, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: m(() => [d($, { label: "升序", value: "asc" }), d($, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", _, c(e2.row.order), 1))]), _: 1 }), d(x, { prop: "name", label: "动态排序值" }, { default: m((e2) => [e2.row.$editing ? (i(), p(T, { key: 1, modelValue: e2.row.dynamicSortValue, "onUpdate:modelValue": (l2) => e2.row.dynamicSortValue = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", v, c(e2.row.dynamicSortValue), 1))]), _: 1 }), d(x, { align: "center", width: "90" }, { header: m(() => [d(A, { effect: "dark", content: "添加", placement: "top" }, { default: m(() => [d(j, { type: "primary", size: "small", icon: w(k), circle: "", onClick: U[0] || (U[0] = (e2) => (g2.properties.sortConditions || (g2.properties.sortConditions = []), void g2.properties.sortConditions.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: m((e2) => [b("span", null, [d(A, { effect: "dark", content: "删除", placement: "top" }, { default: m(() => [d(j, { type: "danger", size: "small", icon: w(V), circle: "", onClick: (l2) => {
18
- return o2 = e2.$index, e2.row, void g2.properties.sortConditions.splice(o2, 1);
19
- var o2;
20
- } }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
21
- };
22
- } });
23
- export {
24
- g as default
25
- };
@@ -1,4 +0,0 @@
1
- import o from "./sort-conditions.vue.js";
2
- export {
3
- o as default
4
- };
@@ -1,26 +0,0 @@
1
- import { ElTable as e, ElTableColumn as l, ElSelect as a, ElOption as t, ElInput as o, ElTooltip as s, ElButton as n } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/table/style/css";
4
- import "element-plus/es/components/tooltip/style/css";
5
- import "element-plus/es/components/button/style/css";
6
- import "element-plus/es/components/input/style/css";
7
- import "element-plus/es/components/select/style/css";
8
- import "element-plus/es/components/option/style/css";
9
- import "element-plus/es/components/table-column/style/css";
10
- import { defineComponent as m, createBlock as r, openBlock as p, withCtx as i, createVNode as u, createElementBlock as c, toDisplayString as d, Fragment as f, renderList as y, unref as b, createElementVNode as w } from "vue";
11
- import { Minus as h, Plus as k } from "@element-plus/icons-vue";
12
- import { formulas as g } from "../../util/common-options.js";
13
- const V = { key: 0 }, v = { key: 0 }, C = { key: 0 }, _ = m({ __name: "statistical-formula", props: { properties: { type: Object, default: () => ({ statisticalFormulas: {} }) }, dataTableColumns: { type: Array, default: () => [] } }, emits: ["change"], setup(m2, { emit: _2 }) {
14
- const N = m2, z = _2, F = () => {
15
- };
16
- return (_3, U) => {
17
- const $ = l, x = t, j = a, T = o, A = n, D = s, O = e;
18
- return p(), r(O, { data: m2.properties.statisticalFormulas, "row-key": "name", onRowDblclick: F, size: "small", border: "", "default-expand-all": "" }, { default: i(() => [u($, { type: "index", width: "50", label: "序号" }), u($, { prop: "name", label: "字段名" }, { default: i((e2) => [e2.row.$editing ? (p(), r(j, { key: 1, filterable: true, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", onChange: U[0] || (U[0] = (e3) => z("change")) }, { default: i(() => [(p(true), c(f, null, y(m2.dataTableColumns, (e3) => (p(), r(x, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), c("span", V, d(e2.row.name), 1))]), _: 1 }), u($, { prop: "formula", label: "公式" }, { default: i((e2) => [e2.row.$editing ? (p(), r(j, { key: 1, filterable: true, "allow-create": true, modelValue: e2.row.formula, "onUpdate:modelValue": (l2) => e2.row.formula = l2, placeholder: "", size: "small", onChange: U[1] || (U[1] = (e3) => z("change")) }, { default: i(() => [(p(true), c(f, null, y(b(g), (e3) => (p(), r(x, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), c("span", v, d(e2.row.formula), 1))]), _: 1 }), u($, { prop: "newName", label: "新字段名", width: "160" }, { default: i((e2) => [e2.row.$editing ? (p(), r(T, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, placeholder: "", size: "small", onChange: U[2] || (U[2] = (e3) => z("change")) }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), c("span", C, d(e2.row.newName), 1))]), _: 1 }), u($, { align: "center", width: "80" }, { header: i(() => [u(D, { effect: "dark", content: "添加", placement: "top" }, { default: i(() => [u(A, { type: "primary", size: "small", icon: b(k), circle: "", onClick: U[3] || (U[3] = (e2) => (N.properties.statisticalFormulas || (N.properties.statisticalFormulas = []), void N.properties.statisticalFormulas.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: i((e2) => [w("span", null, [u(D, { effect: "dark", content: "删除", placement: "top" }, { default: i(() => [u(A, { type: "danger", size: "small", icon: b(h), circle: "", onClick: (l2) => {
19
- return a2 = e2.$index, e2.row, void N.properties.statisticalFormulas.splice(a2, 1);
20
- var a2;
21
- } }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
22
- };
23
- } });
24
- export {
25
- _ as default
26
- };
@@ -1,4 +0,0 @@
1
- import t from "./statistical-formula.vue.js";
2
- export {
3
- t as default
4
- };
@@ -1,7 +0,0 @@
1
- import o from "./config.vue2.js";
2
- /* empty css */
3
- import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-7ffc1986"]]);
5
- export {
6
- r as default
7
- };
@@ -1,102 +0,0 @@
1
- import { ElForm as e, ElDivider as t, ElFormItem as l, ElTooltip as o, ElSelect as s, ElOption as a, ElIcon as n, ElTabs as r, ElTabPane as u, ElTable as p, ElTableColumn as i, ElAlert as m, ElRadioGroup as c, ElRadio as d } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/form/style/css";
4
- import "element-plus/es/components/radio-group/style/css";
5
- import "element-plus/es/components/radio/style/css";
6
- import "element-plus/es/components/alert/style/css";
7
- import "element-plus/es/components/tabs/style/css";
8
- import "element-plus/es/components/tab-pane/style/css";
9
- import "element-plus/es/components/table/style/css";
10
- import "element-plus/es/components/table-column/style/css";
11
- import "element-plus/es/components/icon/style/css";
12
- import "element-plus/es/components/tooltip/style/css";
13
- import "element-plus/es/components/select/style/css";
14
- import "element-plus/es/components/option/style/css";
15
- import "element-plus/es/components/form-item/style/css";
16
- import "element-plus/es/components/divider/style/css";
17
- import { defineComponent as f, ref as v, onMounted as b, createElementBlock as h, openBlock as y, createVNode as g, withCtx as x, createElementVNode as S, withDirectives as _, unref as k, Fragment as V, renderList as z, createBlock as w, vShow as D, createTextVNode as L } from "vue";
18
- import { useLocalStorage as C } from "@vueuse/core";
19
- import H from "../../../common/components/node-base-config.vue.js";
20
- import { Search as O, FullScreen as j, CaretRight as U } from "@element-plus/icons-vue";
21
- import { EditorView as T, basicSetup as q } from "codemirror";
22
- import { StandardSQL as E, keywordCompletionSource as G, sql as W } from "@codemirror/lang-sql";
23
- import { EditorState as X } from "@codemirror/state";
24
- import { openSearchPanel as B } from "@codemirror/search";
25
- import I from "../../../common/components/value-set-input/value-set-input.vue.js";
26
- import "element-plus/es/components/dialog/style/css";
27
- import "element-plus/es/components/container/style/css";
28
- import "element-plus/es/components/pagination/style/css";
29
- import "element-plus/es/components/header/style/css";
30
- import "element-plus/es/components/button/style/css";
31
- import "element-plus/es/components/input/style/css";
32
- import "agilebuilder-ui/src/utils/request";
33
- import "element-plus";
34
- /* empty css */
35
- import { useServiceFlowStore as J } from "../../../../stores/page-store.js";
36
- import { eclipse as N, githubDark as Q, githubLight as A, dracula as F, vscodeDark as K, xcodeDark as M, xcodeLight as P } from "@uiw/codemirror-themes-all";
37
- const R = { style: {} }, Y = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, Z = { class: "editorTool" }, $ = f({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(f2, { expose: $2, emit: ee }) {
38
- J();
39
- const te = ee, le = f2, oe = v([]), se = v("index0");
40
- v(false);
41
- const ae = v(false), ne = v({ theme: "default", fontSize: 14, searchOpen: false });
42
- le.properties.result || (le.properties.result = {});
43
- const re = v({});
44
- function ue() {
45
- true === ae.value ? (ae.value = false, te("fullScreen", { withHeader: true, drawerWidth: "50%" })) : (ae.value = true, te("fullScreen", { withHeader: false, drawerWidth: "100%" }));
46
- }
47
- b(() => {
48
- let e2 = C("editorStyle", "").value;
49
- if (e2) {
50
- const t2 = JSON.parse(e2);
51
- ne.value.theme = t2.theme || "default", ne.value.fontSize = t2.fontSize || 14;
52
- }
53
- ce();
54
- });
55
- const pe = E.language.data.of({ autocomplete: G });
56
- function ie() {
57
- C("editorStyle", ne.value).value = ne.value, re.value && (re.value && re.value.destroy(), ce());
58
- }
59
- function me() {
60
- const e2 = function() {
61
- switch (ne.value.theme) {
62
- case "xcodeLight":
63
- return P;
64
- case "xcodeDark":
65
- return M;
66
- case "vscodeDark":
67
- return K;
68
- case "dracula":
69
- return F;
70
- case "githubLight":
71
- return A;
72
- case "githubDark":
73
- return Q;
74
- case "eclipse":
75
- return N;
76
- }
77
- return T.theme({});
78
- }(), t2 = T.theme({ ".cm-content, .cm-gutter": { minHeight: "200px" }, "&": { height: "400px", maxHeight: "400px", fontSize: ne.value.fontSize + "px" } });
79
- return X.create({ doc: le.properties.function, extensions: [X.tabSize.of(16), q, W(), pe, e2, t2, T.updateListener.of(function(e3) {
80
- le.properties.function = e3.state.doc.toString();
81
- })] });
82
- }
83
- function ce() {
84
- const e2 = me();
85
- re.value = new T({ state: e2, parent: document.getElementById("cf-codemirror") });
86
- }
87
- function de() {
88
- if (re.value) {
89
- re.value.focus(), B(re.value) && re.value.update([]);
90
- }
91
- }
92
- const fe = () => {
93
- re.value.state.doc.toString(), oe.value = [[{ id: "1", name: "name1" }, { id: "2", name: "name2" }], [{ id: "结果2-1", name: "name1" }, { id: "结果2-2", name: "name2" }], [{ id: "结果3-1", name: "name1" }, { id: "结果3-2", name: "name2" }]];
94
- };
95
- return $2({}), (v2, b2) => {
96
- const C2 = t, T2 = l, q2 = a, E2 = s, G2 = o, W2 = n, X2 = i, B2 = p, J2 = u, N2 = r, Q2 = m, A2 = d, F2 = c, K2 = e;
97
- return y(), h("div", R, [g(K2, { "label-width": "auto", "label-position": "left" }, { default: x(() => [g(H, { properties: f2.properties }, null, 8, ["properties"]), g(C2), g(T2), S("div", Y, [b2[5] || (b2[5] = S("span", { style: { color: "#909399", "font-size": "14px" } }, "SQL窗口", -1)), S("span", Z, [g(G2, { effect: "dark", content: "切换主题", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", onChange: ie, modelValue: ne.value.theme, "onUpdate:modelValue": b2[0] || (b2[0] = (e2) => ne.value.theme = e2), placeholder: "", size: "small", style: { width: "120px" } }, { default: x(() => [g(q2, { label: "默认", value: "default" }), g(q2, { label: "VScodeDark", value: "vscodeDark" }), g(q2, { label: "Dracula", value: "dracula" }), g(q2, { label: "GithubLight", value: "githubLight" }), g(q2, { label: "GithubDark", value: "githubDark" }), g(q2, { label: "Eclipse", value: "eclipse" }), g(q2, { label: "XcodeLight", value: "xcodeLight" }), g(q2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(G2, { effect: "dark", content: "切换字体大小", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", modelValue: ne.value.fontSize, "onUpdate:modelValue": b2[1] || (b2[1] = (e2) => ne.value.fontSize = e2), placeholder: "", onChange: ie, size: "small", style: { width: "80px" } }, { default: x(() => [g(q2, { label: "12", value: 12 }), g(q2, { label: "14", value: 14 }), g(q2, { label: "16", value: 16 }), g(q2, { label: "18", value: 18 }), g(q2, { label: "20", value: 20 }), g(q2, { label: "22", value: 22 }), g(q2, { label: "24", value: 24 }), g(q2, { label: "26", value: 26 }), g(q2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), g(G2, { effect: "dark", content: "打开搜索", placement: "top" }, { default: x(() => [g(W2, { class: "editorOption", onClick: de }, { default: x(() => [g(k(O))]), _: 1 })]), _: 1 }), g(G2, { effect: "dark", content: ae.value ? "退出全屏" : "全屏", placement: "top" }, { default: x(() => [g(W2, { style: { cursor: "pointer" }, onClick: ue }, { default: x(() => [g(k(j))]), _: 1 })]), _: 1 }, 8, ["content"]), g(W2, { style: { cursor: "pointer" }, onClick: fe, size: 25 }, { default: x(() => [g(k(U))]), _: 1 })]), b2[8] || (b2[8] = S("div", { style: { minHeight: "400px", maxHeight: "400px", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror" }, null, -1)), _(g(N2, { modelValue: se.value, "onUpdate:modelValue": b2[2] || (b2[2] = (e2) => se.value = e2), type: "border-card", style: { "margin-top": "10px" } }, { default: x(() => [(y(true), h(V, null, z(oe.value, (e2, t2) => (y(), w(J2, { label: "结果" + (t2 + 1), name: "index" + t2 }, { default: x(() => [g(B2, { data: e2, style: { width: "100%" } }, { default: x(() => [(y(true), h(V, null, z(e2[0], (e3, t3) => (y(), w(X2, { prop: t3 + "", label: t3 }, null, 8, ["prop", "label"]))), 256))]), _: 2 }, 1032, ["data"])]), _: 2 }, 1032, ["label", "name"]))), 256))]), _: 1 }, 8, ["modelValue"]), [[D, oe.value && oe.value.lenght > 0]]), g(Q2, { title: "结果设置", type: "info", size: "small", closable: false, style: { margin: "20px 0" } }), g(T2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: x(() => [g(F2, { modelValue: f2.properties.result.valueSetScope, "onUpdate:modelValue": b2[3] || (b2[3] = (e2) => f2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: x(() => [g(A2, { value: "first" }, { default: x(() => [...b2[6] || (b2[6] = [L("仅第一条", -1)])]), _: 1 }), g(A2, { value: "all" }, { default: x(() => [...b2[7] || (b2[7] = [L(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(T2, { label: "设置到:", style: { width: "100%" } }, { default: x(() => [g(k(I), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: f2.properties.result.setTo, "onUpdate:modelValue": b2[4] || (b2[4] = (e2) => f2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]);
98
- };
99
- } });
100
- export {
101
- $ as default
102
- };
@@ -1,17 +0,0 @@
1
- import e from "../../../flow/base/AbLogicNode.js";
2
- import o from "../../../flow/base/AbLogicNodeModel.js";
3
- import "../../../flow/base/AbLogicResizeNodeModel.js";
4
- import "../../../flow/base/AbLogicResizeNode.js";
5
- import { h as s, createApp as i } from "vue";
6
- import d from "./index.vue.js";
7
- const t = { type: "dynamicSql", view: class extends e {
8
- constructor(e2) {
9
- super(e2), this.isMounted = false, this.r = s(d, { model: e2.model, graphModel: e2.graphModel, disabled: e2.graphModel.editConfigModel.isSilentMode, isSelected: e2.model.isSelected, isHovered: e2.model.isHovered, properties: e2.model.getProperties(), onBtnClick: (o2) => {
10
- this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
11
- } }), this.app = i({ render: () => this.r });
12
- }
13
- }, model: class extends o {
14
- }, options: {} };
15
- export {
16
- t as default
17
- };
@@ -1,12 +0,0 @@
1
- import { ElDivider as e } from "element-plus/es";
2
- import "element-plus/es/components/base/style/css";
3
- import "element-plus/es/components/divider/style/css";
4
- import { defineComponent as s, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
5
- import n from "../../../../assets/icon/vardef-v.png.js";
6
- const c = { class: "serviceflow-nodeContent" }, m = s({ __name: "index", props: { graphModel: Object, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup: (s2, { emit: m2 }) => (m3, d) => {
7
- const a = e;
8
- return o(), t("div", null, [d[1] || (d[1] = i("img", { src: n, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), i("div", { class: "serviceflow-nodeView", style: r({ backgroundColor: s2.properties.backgroundColor }) }, [d[0] || (d[0] = i("div", { class: "serviceflow-nodeTitle" }, "动态SQL", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
9
- } });
10
- export {
11
- m as default
12
- };