service-flow-designer 2.2.4 → 2.2.7

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 (240) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +1 -2
  2. package/dist/es/designer/common/components/database-select.vue.d.ts +5 -5
  3. package/dist/es/designer/common/components/database-select.vue.js +1 -1
  4. package/dist/es/designer/common/components/database-select.vue2.js +4 -4
  5. package/dist/es/designer/common/components/datatable-select.vue.d.ts +5 -5
  6. package/dist/es/designer/common/components/datatable-select.vue.js +2 -2
  7. package/dist/es/designer/common/components/datatable-select.vue2.js +7 -8
  8. package/dist/es/designer/common/components/file-upload.vue.d.ts +5 -5
  9. package/dist/es/designer/common/components/file-upload.vue.js +1 -1
  10. package/dist/es/designer/common/components/file-upload.vue2.js +4 -4
  11. package/dist/es/designer/common/components/json-view/json-view-dialog.vue.d.ts +5 -5
  12. package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +3 -3
  13. package/dist/es/designer/common/components/json-view/json-view.vue.d.ts +4 -4
  14. package/dist/es/designer/common/components/json-view/json-view.vue.js +2 -54
  15. package/dist/es/designer/common/components/json-view/json-view.vue2.js +52 -2
  16. package/dist/es/designer/common/components/node-base-config.vue.d.ts +4 -4
  17. package/dist/es/designer/common/components/node-base-config.vue.js +4 -4
  18. package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +5 -5
  19. package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.js +2 -2
  20. package/dist/es/designer/common/components/sql-view/sql-view.vue.d.ts +4 -4
  21. package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +3 -4
  22. package/dist/es/designer/common/components/value-set-input/value-set-input.vue.d.ts +6 -6
  23. package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +1 -1
  24. package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +85 -95
  25. package/dist/es/designer/common/util/node-util.js +9 -21
  26. package/dist/es/designer/desginer-index.vue.d.ts +4 -4
  27. package/dist/es/designer/desginer-index.vue.js +1 -1
  28. package/dist/es/designer/desginer-index.vue2.js +4 -4
  29. package/dist/es/designer/flow/base/AbLogicNode.js +2 -6
  30. package/dist/es/designer/flow/base/AbLogicNodeModel.js +2 -6
  31. package/dist/es/designer/flow/base/AbLogicResizeNode.js +2 -6
  32. package/dist/es/designer/flow/base/AbLogicResizeNodeModel.js +1 -4
  33. package/dist/es/designer/flow/edge/CustomLine.js +4 -4
  34. package/dist/es/designer/service-components/base/custom-function/config.vue.d.ts +5 -5
  35. package/dist/es/designer/service-components/base/custom-function/config.vue.js +1 -1
  36. package/dist/es/designer/service-components/base/custom-function/config.vue2.js +45 -45
  37. package/dist/es/designer/service-components/base/custom-function/index.vue.d.ts +5 -5
  38. package/dist/es/designer/service-components/base/custom-function/index.vue.js +1 -1
  39. package/dist/es/designer/service-components/base/custom-function/index.vue2.js +6 -6
  40. package/dist/es/designer/service-components/base/end-node/index.js +2 -6
  41. package/dist/es/designer/service-components/base/end-node/index.vue.d.ts +3 -3
  42. package/dist/es/designer/service-components/base/end-node/index.vue.js +1 -1
  43. package/dist/es/designer/service-components/base/end-node/index.vue2.js +4 -4
  44. package/dist/es/designer/service-components/base/judge-condition/config.vue.d.ts +5 -5
  45. package/dist/es/designer/service-components/base/judge-condition/config.vue2.js +19 -21
  46. package/dist/es/designer/service-components/base/judge-condition/index.js +1 -4
  47. package/dist/es/designer/service-components/base/judge-condition/index.vue.d.ts +5 -5
  48. package/dist/es/designer/service-components/base/judge-condition/index.vue.js +1 -1
  49. package/dist/es/designer/service-components/base/judge-condition/index.vue2.js +7 -7
  50. package/dist/es/designer/service-components/base/loop-node/config.vue.d.ts +4 -4
  51. package/dist/es/designer/service-components/base/loop-node/config.vue.js +1 -1
  52. package/dist/es/designer/service-components/base/loop-node/config.vue2.js +4 -4
  53. package/dist/es/designer/service-components/base/loop-node/index.js +2 -3
  54. package/dist/es/designer/service-components/base/loop-node/index.vue.d.ts +3 -3
  55. package/dist/es/designer/service-components/base/notification/config.vue.d.ts +4 -4
  56. package/dist/es/designer/service-components/base/notification/config.vue2.js +13 -13
  57. package/dist/es/designer/service-components/base/notification/index.vue.d.ts +5 -5
  58. package/dist/es/designer/service-components/base/notification/index.vue.js +1 -1
  59. package/dist/es/designer/service-components/base/notification/index.vue2.js +6 -6
  60. package/dist/es/designer/service-components/base/notification/quill-example.vue.d.ts +5 -5
  61. package/dist/es/designer/service-components/base/notification/recipients-select.vue.d.ts +4 -4
  62. package/dist/es/designer/service-components/base/notification/recipients-select.vue.js +1 -1
  63. package/dist/es/designer/service-components/base/notification/recipients-select.vue2.js +4 -4
  64. package/dist/es/designer/service-components/base/notification/select-mail-template.vue.d.ts +5 -5
  65. package/dist/es/designer/service-components/base/notification/select-mail-template.vue.js +4 -4
  66. package/dist/es/designer/service-components/base/start-node/index.js +2 -6
  67. package/dist/es/designer/service-components/base/start-node/index.vue.d.ts +3 -3
  68. package/dist/es/designer/service-components/base/start-node/index.vue.js +1 -1
  69. package/dist/es/designer/service-components/base/start-node/index.vue2.js +4 -4
  70. package/dist/es/designer/service-components/computation/clean/config.vue.d.ts +5 -5
  71. package/dist/es/designer/service-components/computation/clean/config.vue.js +1 -1
  72. package/dist/es/designer/service-components/computation/clean/config.vue2.js +6 -6
  73. package/dist/es/designer/service-components/computation/clean/index.vue.d.ts +5 -5
  74. package/dist/es/designer/service-components/computation/clean/index.vue.js +1 -1
  75. package/dist/es/designer/service-components/computation/clean/index.vue2.js +6 -6
  76. package/dist/es/designer/service-components/computation/connect/config.vue.d.ts +4 -4
  77. package/dist/es/designer/service-components/computation/connect/config.vue.js +1 -1
  78. package/dist/es/designer/service-components/computation/connect/config.vue2.js +6 -6
  79. package/dist/es/designer/service-components/computation/connect/index.vue.d.ts +5 -5
  80. package/dist/es/designer/service-components/computation/connect/index.vue.js +1 -1
  81. package/dist/es/designer/service-components/computation/connect/index.vue2.js +6 -6
  82. package/dist/es/designer/service-components/computation/sort/config.vue.d.ts +4 -4
  83. package/dist/es/designer/service-components/computation/sort/config.vue.js +1 -1
  84. package/dist/es/designer/service-components/computation/sort/config.vue2.js +6 -6
  85. package/dist/es/designer/service-components/computation/sort/index.vue.d.ts +5 -5
  86. package/dist/es/designer/service-components/computation/sort/index.vue.js +1 -1
  87. package/dist/es/designer/service-components/computation/sort/index.vue2.js +6 -6
  88. package/dist/es/designer/service-components/computation/split-joint/config.vue.d.ts +4 -4
  89. package/dist/es/designer/service-components/computation/split-joint/config.vue.js +1 -1
  90. package/dist/es/designer/service-components/computation/split-joint/config.vue2.js +6 -6
  91. package/dist/es/designer/service-components/computation/split-joint/index.vue.d.ts +5 -5
  92. package/dist/es/designer/service-components/computation/split-joint/index.vue.js +1 -1
  93. package/dist/es/designer/service-components/computation/split-joint/index.vue2.js +6 -6
  94. package/dist/es/designer/service-components/computation/statistics/config.vue.d.ts +4 -4
  95. package/dist/es/designer/service-components/computation/statistics/config.vue.js +1 -1
  96. package/dist/es/designer/service-components/computation/statistics/config.vue2.js +7 -7
  97. package/dist/es/designer/service-components/computation/statistics/index.vue.d.ts +5 -5
  98. package/dist/es/designer/service-components/computation/statistics/index.vue.js +1 -1
  99. package/dist/es/designer/service-components/computation/statistics/index.vue2.js +6 -6
  100. package/dist/es/designer/service-components/database/aggregate-query/config.vue.d.ts +4 -4
  101. package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +1 -1
  102. package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +57 -59
  103. package/dist/es/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +5 -5
  104. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +5 -5
  105. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +5 -5
  106. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +4 -4
  107. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +8 -9
  108. package/dist/es/designer/service-components/database/aggregate-query/index.js +1 -4
  109. package/dist/es/designer/service-components/database/aggregate-query/index.vue.d.ts +5 -5
  110. package/dist/es/designer/service-components/database/aggregate-query/index.vue.js +1 -1
  111. package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +13 -16
  112. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +4 -4
  113. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +5 -5
  114. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +5 -5
  115. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +5 -5
  116. package/dist/es/designer/service-components/database/dynamic-sql/config.vue.d.ts +5 -5
  117. package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +1 -1
  118. package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +54 -54
  119. package/dist/es/designer/service-components/database/dynamic-sql/index.vue.d.ts +5 -5
  120. package/dist/es/designer/service-components/database/dynamic-sql/index.vue.js +1 -1
  121. package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +6 -6
  122. package/dist/es/designer/service-components/database/regular-query/config.vue.d.ts +5 -5
  123. package/dist/es/designer/service-components/database/regular-query/config.vue.js +1 -1
  124. package/dist/es/designer/service-components/database/regular-query/config.vue2.js +6 -7
  125. package/dist/es/designer/service-components/database/regular-query/index.js +1 -4
  126. package/dist/es/designer/service-components/database/regular-query/index.vue.d.ts +5 -5
  127. package/dist/es/designer/service-components/database/regular-query/index.vue.js +1 -1
  128. package/dist/es/designer/service-components/database/regular-query/index.vue2.js +13 -16
  129. package/dist/es/designer/service-components/index.js +2 -4
  130. package/dist/es/designer/service-components/service/common/cookie-data.vue.d.ts +5 -5
  131. package/dist/es/designer/service-components/service/common/cookie-data.vue.js +5 -5
  132. package/dist/es/designer/service-components/service/common/form-data.vue.d.ts +5 -5
  133. package/dist/es/designer/service-components/service/common/form-data.vue.js +5 -5
  134. package/dist/es/designer/service-components/service/common/header-data.vue.d.ts +5 -5
  135. package/dist/es/designer/service-components/service/common/header-data.vue.js +5 -5
  136. package/dist/es/designer/service-components/service/common/json-data.vue.d.ts +5 -5
  137. package/dist/es/designer/service-components/service/common/json-data.vue.js +1 -1
  138. package/dist/es/designer/service-components/service/common/json-data.vue2.js +5 -5
  139. package/dist/es/designer/service-components/service/common/param-config.vue.d.ts +4 -4
  140. package/dist/es/designer/service-components/service/common/param-config.vue.js +1 -1
  141. package/dist/es/designer/service-components/service/common/param-config.vue2.js +14 -14
  142. package/dist/es/designer/service-components/service/common/query-params.vue.d.ts +5 -5
  143. package/dist/es/designer/service-components/service/common/query-params.vue.js +5 -5
  144. package/dist/es/designer/service-components/service/common/raw-data.vue.d.ts +6 -6
  145. package/dist/es/designer/service-components/service/common/raw-data.vue.js +2 -2
  146. package/dist/es/designer/service-components/service/common/xml-data.vue.d.ts +6 -6
  147. package/dist/es/designer/service-components/service/custom-bean/config.vue.d.ts +4 -4
  148. package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +4 -4
  149. package/dist/es/designer/service-components/service/custom-bean/index.vue.d.ts +5 -5
  150. package/dist/es/designer/service-components/service/custom-bean/index.vue.js +1 -1
  151. package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +6 -6
  152. package/dist/es/designer/service-components/service/http-service/config.vue.d.ts +4 -4
  153. package/dist/es/designer/service-components/service/http-service/config.vue.js +1 -1
  154. package/dist/es/designer/service-components/service/http-service/config.vue2.js +4 -4
  155. package/dist/es/designer/service-components/service/http-service/index.vue.d.ts +5 -5
  156. package/dist/es/designer/service-components/service/http-service/index.vue.js +1 -1
  157. package/dist/es/designer/service-components/service/http-service/index.vue2.js +6 -6
  158. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.d.ts +5 -5
  159. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +10 -12
  160. package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.d.ts +5 -5
  161. package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +4 -4
  162. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +5 -5
  163. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +10 -12
  164. package/dist/es/designer/service-components/util/common-options.js +1 -2
  165. package/dist/es/designer/service-flow-view/flow-util.js +2 -5
  166. package/dist/es/designer/service-flow-view/service-flow-tool.vue.d.ts +5 -5
  167. package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +2 -2
  168. package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +24 -24
  169. package/dist/es/designer/service-flow-view/service-node-config.vue.d.ts +6 -6
  170. package/dist/es/designer/service-flow-view/service-node-config.vue.js +1 -1
  171. package/dist/es/designer/service-flow-view/service-node-config.vue2.js +2 -2
  172. package/dist/es/designer/service-flow-view/service-params.vue.d.ts +4 -4
  173. package/dist/es/designer/service-flow-view/service-params.vue.js +10 -12
  174. package/dist/es/designer/service-flow-view/service-result.vue.d.ts +4 -4
  175. package/dist/es/designer/service-flow-view/service-result.vue.js +11 -13
  176. package/dist/es/designer/service-flow-view/service-test/request-params.vue.d.ts +4 -4
  177. package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +22 -24
  178. package/dist/es/designer/service-flow-view/service-test/service-test.vue.d.ts +5 -5
  179. package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +6 -7
  180. package/dist/es/designer/service-flow-view/service-update-log.vue.d.ts +6 -6
  181. package/dist/es/designer/service-flow-view/service-update-log.vue.js +2 -2
  182. package/dist/es/designer/service-flow-view/service-update-log.vue2.js +25 -27
  183. package/dist/es/designer/service-flow-view/view-index.vue.d.ts +6 -6
  184. package/dist/es/designer/service-flow-view/view-index.vue.js +1 -1
  185. package/dist/es/designer/service-flow-view/view-index.vue2.js +76 -79
  186. package/dist/es/designer/service-panel/component-panel.vue.d.ts +2 -2
  187. package/dist/es/designer/service-panel/component-panel.vue.js +1 -1
  188. package/dist/es/designer/service-panel/component-panel.vue2.js +4 -4
  189. package/dist/es/designer/service-panel/service-list.vue.d.ts +5 -5
  190. package/dist/es/designer/service-panel/service-list.vue.js +1 -1
  191. package/dist/es/designer/service-panel/service-list.vue2.js +62 -63
  192. package/dist/es/designer/service-panel/service-panel.vue.d.ts +5 -5
  193. package/dist/es/designer/service-panel/service-panel.vue.js +1 -1
  194. package/dist/es/designer/service-panel/service-panel.vue2.js +2 -2
  195. package/dist/es/stores/page-store.d.ts +11 -11
  196. package/dist/es/style.css +771 -771
  197. package/dist/es/utils/common-util.js +15 -30
  198. package/package.json +2 -2
  199. package/dist/es/designer/common/components/database-select.vue3.js +0 -1
  200. package/dist/es/designer/common/components/datatable-select.vue3.js +0 -1
  201. package/dist/es/designer/common/components/file-upload.vue3.js +0 -1
  202. package/dist/es/designer/common/components/value-set-input/value-set-input.vue3.js +0 -1
  203. package/dist/es/designer/desginer-index.vue3.js +0 -1
  204. package/dist/es/designer/service-components/base/custom-function/config.vue3.js +0 -1
  205. package/dist/es/designer/service-components/base/custom-function/index.vue3.js +0 -1
  206. package/dist/es/designer/service-components/base/end-node/index.vue3.js +0 -1
  207. package/dist/es/designer/service-components/base/judge-condition/index.vue3.js +0 -1
  208. package/dist/es/designer/service-components/base/loop-node/config.vue3.js +0 -1
  209. package/dist/es/designer/service-components/base/loop-node/index.vue.js +0 -1
  210. package/dist/es/designer/service-components/base/notification/index.vue3.js +0 -1
  211. package/dist/es/designer/service-components/base/notification/recipients-select.vue3.js +0 -1
  212. package/dist/es/designer/service-components/base/start-node/index.vue3.js +0 -1
  213. package/dist/es/designer/service-components/computation/clean/config.vue3.js +0 -1
  214. package/dist/es/designer/service-components/computation/clean/index.vue3.js +0 -1
  215. package/dist/es/designer/service-components/computation/connect/config.vue3.js +0 -1
  216. package/dist/es/designer/service-components/computation/connect/index.vue3.js +0 -1
  217. package/dist/es/designer/service-components/computation/sort/config.vue3.js +0 -1
  218. package/dist/es/designer/service-components/computation/sort/index.vue3.js +0 -1
  219. package/dist/es/designer/service-components/computation/split-joint/config.vue3.js +0 -1
  220. package/dist/es/designer/service-components/computation/split-joint/index.vue3.js +0 -1
  221. package/dist/es/designer/service-components/computation/statistics/config.vue3.js +0 -1
  222. package/dist/es/designer/service-components/computation/statistics/index.vue3.js +0 -1
  223. package/dist/es/designer/service-components/database/aggregate-query/config.vue3.js +0 -1
  224. package/dist/es/designer/service-components/database/aggregate-query/index.vue3.js +0 -1
  225. package/dist/es/designer/service-components/database/dynamic-sql/config.vue3.js +0 -1
  226. package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.js +0 -1
  227. package/dist/es/designer/service-components/database/regular-query/config.vue3.js +0 -1
  228. package/dist/es/designer/service-components/database/regular-query/index.vue3.js +0 -1
  229. package/dist/es/designer/service-components/service/common/json-data.vue3.js +0 -1
  230. package/dist/es/designer/service-components/service/common/param-config.vue3.js +0 -1
  231. package/dist/es/designer/service-components/service/custom-bean/index.vue3.js +0 -1
  232. package/dist/es/designer/service-components/service/http-service/config.vue3.js +0 -1
  233. package/dist/es/designer/service-components/service/http-service/index.vue3.js +0 -1
  234. package/dist/es/designer/service-flow-view/service-flow-tool.vue3.js +0 -1
  235. package/dist/es/designer/service-flow-view/service-node-config.vue3.js +0 -1
  236. package/dist/es/designer/service-flow-view/service-update-log.vue3.js +0 -1
  237. package/dist/es/designer/service-flow-view/view-index.vue3.js +0 -1
  238. package/dist/es/designer/service-panel/component-panel.vue3.js +0 -1
  239. package/dist/es/designer/service-panel/service-list.vue3.js +0 -1
  240. package/dist/es/designer/service-panel/service-panel.vue3.js +0 -1
@@ -1,14 +1,14 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  properties: {
3
3
  type: ObjectConstructor;
4
4
  default: () => {};
5
5
  };
6
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
7
7
  properties: {
8
8
  type: ObjectConstructor;
9
9
  default: () => {};
10
10
  };
11
- }>>, {
11
+ }>> & Readonly<{}>, {
12
12
  properties: Record<string, any>;
13
- }, {}>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import o from "./config.vue2.js";
2
- import "./config.vue3.js";
2
+ /* empty css */
3
3
  import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-08737620"]]);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { ElDivider as e, ElOption as l, ElSelect as o, ElInput as t, ElFormItem as p, ElTabPane as s, ElTabs as r, ElAlert as a, ElForm as n } from "element-plus/es";
1
+ import { ElForm as e, ElDivider as l, ElFormItem as o, ElInput as t, ElSelect as p, ElOption as s, ElTabs as r, ElTabPane as a, ElAlert as n } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/form/style/css";
4
4
  import "element-plus/es/components/alert/style/css";
@@ -9,7 +9,7 @@ import "element-plus/es/components/input/style/css";
9
9
  import "element-plus/es/components/select/style/css";
10
10
  import "element-plus/es/components/option/style/css";
11
11
  import "element-plus/es/components/divider/style/css";
12
- import { defineComponent as u, ref as i, openBlock as m, createBlock as d, withCtx as c, createVNode as y, createElementBlock as V, Fragment as b, renderList as f, unref as v, createTextVNode as h, createElementVNode as g, createCommentVNode as k } from "vue";
12
+ import { defineComponent as u, ref as i, createBlock as m, openBlock as d, withCtx as c, createVNode as y, createCommentVNode as V, createElementBlock as b, Fragment as f, renderList as v, unref as h, createTextVNode as g, createElementVNode as k } from "vue";
13
13
  import x from "../../../common/components/node-base-config.vue.js";
14
14
  import { httpMethods as _, operatorsForNumber as C, logicOperators as U, operatorsForString as j } from "../../util/common-options.js";
15
15
  import T from "../common/param-config.vue.js";
@@ -26,8 +26,8 @@ const z = { style: { position: "absolute", right: "10px" } }, P = u({ __name: "c
26
26
  "cookies" === e2.name ? E.properties.cookies || (E.properties.cookies = []) : "headers" === e2.name && (E.properties.headers || (E.properties.headers = []));
27
27
  };
28
28
  return P2({}), (i2, P3) => {
29
- const E2 = e, H = l, J = o, L = t, N = p, A = s, D = r, F = a, I = n;
30
- return m(), d(I, { "label-width": "110", "label-position": "left" }, { default: c(() => [y(x, { properties: u2.properties }, null, 8, ["properties"]), y(E2), y(N, { style: { width: "100%" } }, { label: c((e2) => [y(J, { modelValue: u2.properties.requestMethod, "onUpdate:modelValue": P3[0] || (P3[0] = (e3) => u2.properties.requestMethod = e3), placeholder: "请求方式" }, { default: c(() => [(m(true), V(b, null, f(v(_), (e3) => (m(), d(H, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), default: c(() => [y(L, { modelValue: u2.properties.url, "onUpdate:modelValue": P3[1] || (P3[1] = (e2) => u2.properties.url = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), y(D, { modelValue: X.value, "onUpdate:modelValue": P3[6] || (P3[6] = (e2) => X.value = e2), class: "demo-tabs", onTabClick: G }, { default: c(() => [y(A, { label: "Params", name: "params", style: { padding: "0 5px 5px 5px" } }, { default: c(() => [y(S, { modelValue: u2.properties.queryParams, "onUpdate:modelValue": P3[2] || (P3[2] = (e2) => u2.properties.queryParams = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Headers", name: "headers" }, { default: c(() => [y(w, { modelValue: u2.properties.headers, "onUpdate:modelValue": P3[3] || (P3[3] = (e2) => u2.properties.headers = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Body", name: "body", style: { padding: "0 5px 5px 5px" } }, { default: c(() => [y(T, { modelValue: u2.properties.httpSerivceBody, "onUpdate:modelValue": P3[4] || (P3[4] = (e2) => u2.properties.httpSerivceBody = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Cookies", name: "cookies" }, { default: c(() => [y(O, { modelValue: u2.properties.cookies, "onUpdate:modelValue": P3[5] || (P3[5] = (e2) => u2.properties.cookies = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), y(F, { title: "返回值设置", type: "info", size: "small", closable: false }, { title: c(() => [h(" 返回值设置 "), g("span", z, [y(J, { size: "small", onChange: P3[7] || (P3[7] = (e2) => u2.properties.responseSetting = []), modelValue: u2.properties.responseContentType, "onUpdate:modelValue": P3[8] || (P3[8] = (e2) => u2.properties.responseContentType = e2), style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: c(() => [y(H, { label: "JSON", value: "application/json" }), y(H, { label: "TEXT", value: "text/plain" }), y(H, { label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), "application/json" === u2.properties.responseContentType ? (m(), d(q, { key: 0, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[9] || (P3[9] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : k("", true), "application/xml" === u2.properties.responseContentType ? (m(), d(B, { key: 1, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[10] || (P3[10] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : k("", true), "text/plain" === u2.properties.responseContentType ? (m(), d(M, { key: 2, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[11] || (P3[11] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : k("", true), y(F, { title: "异常判断", type: "info", size: "small", closable: false }), y(N, { label: "状态码:" }, { default: c(() => [y(J, { modelValue: u2.properties.statusCodeOperator, "onUpdate:modelValue": P3[12] || (P3[12] = (e2) => u2.properties.statusCodeOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(m(true), V(b, null, f(v(C), (e2) => (m(), d(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), y(L, { type: "number", style: { "margin-left": "10px", width: "60%" }, modelValue: u2.properties.statusCode, "onUpdate:modelValue": P3[13] || (P3[13] = (e2) => u2.properties.statusCode = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), y(N, { label: "" }, { default: c(() => [y(J, { modelValue: u2.properties.logicOperator, "onUpdate:modelValue": P3[14] || (P3[14] = (e2) => u2.properties.logicOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(m(true), V(b, null, f(v(U), (e2) => (m(), d(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(N, { label: "返回内容:" }, { default: c(() => [y(J, { modelValue: u2.properties.contentOperator, "onUpdate:modelValue": P3[15] || (P3[15] = (e2) => u2.properties.contentOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(m(true), V(b, null, f(v(j), (e2) => (m(), d(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), y(L, { modelValue: u2.properties.content, "onUpdate:modelValue": P3[16] || (P3[16] = (e2) => u2.properties.content = e2), placeholder: "", style: { "margin-left": "10px", width: "60%" } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
29
+ const E2 = l, H = s, J = p, L = t, N = o, A = a, D = r, F = n, I = e;
30
+ return d(), m(I, { "label-width": "110", "label-position": "left" }, { default: c(() => [y(x, { properties: u2.properties }, null, 8, ["properties"]), y(E2), y(N, { style: { width: "100%" } }, { label: c((e2) => [y(J, { modelValue: u2.properties.requestMethod, "onUpdate:modelValue": P3[0] || (P3[0] = (e3) => u2.properties.requestMethod = e3), placeholder: "请求方式" }, { default: c(() => [(d(true), b(f, null, v(h(_), (e3) => (d(), m(H, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), default: c(() => [y(L, { modelValue: u2.properties.url, "onUpdate:modelValue": P3[1] || (P3[1] = (e2) => u2.properties.url = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), y(D, { modelValue: X.value, "onUpdate:modelValue": P3[6] || (P3[6] = (e2) => X.value = e2), class: "demo-tabs", onTabClick: G }, { default: c(() => [y(A, { label: "Params", name: "params", style: { padding: "0 5px 5px 5px" } }, { default: c(() => [y(S, { modelValue: u2.properties.queryParams, "onUpdate:modelValue": P3[2] || (P3[2] = (e2) => u2.properties.queryParams = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Headers", name: "headers" }, { default: c(() => [y(w, { modelValue: u2.properties.headers, "onUpdate:modelValue": P3[3] || (P3[3] = (e2) => u2.properties.headers = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Body", name: "body", style: { padding: "0 5px 5px 5px" } }, { default: c(() => [y(T, { modelValue: u2.properties.httpSerivceBody, "onUpdate:modelValue": P3[4] || (P3[4] = (e2) => u2.properties.httpSerivceBody = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Cookies", name: "cookies" }, { default: c(() => [y(O, { modelValue: u2.properties.cookies, "onUpdate:modelValue": P3[5] || (P3[5] = (e2) => u2.properties.cookies = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), y(F, { title: "返回值设置", type: "info", size: "small", closable: false }, { title: c(() => [P3[17] || (P3[17] = g(" 返回值设置 ")), k("span", z, [y(J, { size: "small", onChange: P3[7] || (P3[7] = (e2) => u2.properties.responseSetting = []), modelValue: u2.properties.responseContentType, "onUpdate:modelValue": P3[8] || (P3[8] = (e2) => u2.properties.responseContentType = e2), style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: c(() => [y(H, { label: "JSON", value: "application/json" }), y(H, { label: "TEXT", value: "text/plain" }), y(H, { label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), "application/json" === u2.properties.responseContentType ? (d(), m(q, { key: 0, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[9] || (P3[9] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : V("", true), "application/xml" === u2.properties.responseContentType ? (d(), m(B, { key: 1, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[10] || (P3[10] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : V("", true), "text/plain" === u2.properties.responseContentType ? (d(), m(M, { key: 2, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[11] || (P3[11] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : V("", true), y(F, { title: "异常判断", type: "info", size: "small", closable: false }), y(N, { label: "状态码:" }, { default: c(() => [y(J, { modelValue: u2.properties.statusCodeOperator, "onUpdate:modelValue": P3[12] || (P3[12] = (e2) => u2.properties.statusCodeOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(d(true), b(f, null, v(h(C), (e2) => (d(), m(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), y(L, { type: "number", style: { "margin-left": "10px", width: "60%" }, modelValue: u2.properties.statusCode, "onUpdate:modelValue": P3[13] || (P3[13] = (e2) => u2.properties.statusCode = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), y(N, { label: "" }, { default: c(() => [y(J, { modelValue: u2.properties.logicOperator, "onUpdate:modelValue": P3[14] || (P3[14] = (e2) => u2.properties.logicOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(d(true), b(f, null, v(h(U), (e2) => (d(), m(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(N, { label: "返回内容:" }, { default: c(() => [y(J, { modelValue: u2.properties.contentOperator, "onUpdate:modelValue": P3[15] || (P3[15] = (e2) => u2.properties.contentOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(d(true), b(f, null, v(h(j), (e2) => (d(), m(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), y(L, { modelValue: u2.properties.content, "onUpdate:modelValue": P3[16] || (P3[16] = (e2) => u2.properties.content = e2), placeholder: "", style: { "margin-left": "10px", width: "60%" } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
31
31
  };
32
32
  } });
33
33
  export {
@@ -1,10 +1,10 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  graphModel: ObjectConstructor;
3
3
  properties: {
4
4
  type: ObjectConstructor;
5
5
  default: () => {};
6
6
  };
7
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
8
  btnClick: (...args: any[]) => void;
9
9
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
10
10
  graphModel: ObjectConstructor;
@@ -12,9 +12,9 @@ declare const _default: import('vue').DefineComponent<{
12
12
  type: ObjectConstructor;
13
13
  default: () => {};
14
14
  };
15
- }>> & {
15
+ }>> & Readonly<{
16
16
  onBtnClick?: (...args: any[]) => any;
17
- }, {
17
+ }>, {
18
18
  properties: Record<string, any>;
19
- }, {}>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
20
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import e from "./index.vue2.js";
2
- import "./index.vue3.js";
2
+ /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = o(e, [["__scopeId", "data-v-6b34f36c"]]);
5
5
  export {
@@ -1,12 +1,12 @@
1
1
  import { ElDivider as e } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/divider/style/css";
4
- import { defineComponent as s, openBlock as t, createElementBlock as o, createElementVNode as i, normalizeStyle as p, createVNode as r, toDisplayString as l, pushScopeId as n, popScopeId as c } from "vue";
5
- import d from "../../../../assets/icon/vardef-v.png.js";
6
- const m = (e2) => (n("data-v-6b34f36c"), e2 = e2(), c(), e2), a = m(() => i("img", { src: d, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), f = m(() => i("div", { class: "serviceflow-nodeTitle" }, "http服务", -1)), u = { class: "serviceflow-nodeContent" }, v = s({ __name: "index", props: { graphModel: Object, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup: (s2, { emit: n2 }) => (n3, c2) => {
7
- const d2 = e;
8
- return t(), o("div", null, [a, i("div", { class: "serviceflow-nodeView", style: p({ backgroundColor: s2.properties.backgroundColor }) }, [f, r(d2), i("div", u, l(s2.properties.name), 1)], 4)]);
4
+ import { defineComponent as s, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as p, createVNode as r, toDisplayString as l } 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: p({ backgroundColor: s2.properties.backgroundColor }) }, [d[0] || (d[0] = i("div", { class: "serviceflow-nodeTitle" }, "http服务", -1)), r(a), i("div", c, l(s2.properties.name), 1)], 4)]);
9
9
  } });
10
10
  export {
11
- v as default
11
+ m as default
12
12
  };
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  modelValue: {
3
3
  type: ArrayConstructor;
4
4
  default: () => any[];
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  "update:modelValue": (...args: any[]) => void;
12
12
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
13
  modelValue: {
@@ -18,10 +18,10 @@ declare const _default: import('vue').DefineComponent<{
18
18
  type: StringConstructor;
19
19
  default: string;
20
20
  };
21
- }>> & {
21
+ }>> & Readonly<{
22
22
  "onUpdate:modelValue"?: (...args: any[]) => any;
23
- }, {
23
+ }>, {
24
24
  modelValue: unknown[];
25
25
  contentType: string;
26
- }, {}>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
27
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ElInput as e, ElTableColumn as l, ElOption as t, ElSelect as o, ElButton as s, ElDropdownItem as a, ElDropdownMenu as n, ElDropdown as m, ElTable as r } from "element-plus/es";
1
+ import { ElTable as e, ElTableColumn as l, ElInput as t, ElSelect as o, ElOption as s, ElDropdown as a, ElButton as n, ElDropdownMenu as m, ElDropdownItem as r } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/table/style/css";
4
4
  import "element-plus/es/components/dropdown/style/css";
@@ -9,7 +9,7 @@ import "element-plus/es/components/select/style/css";
9
9
  import "element-plus/es/components/option/style/css";
10
10
  import "element-plus/es/components/table-column/style/css";
11
11
  import "element-plus/es/components/input/style/css";
12
- import { defineComponent as i, openBlock as p, createBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, unref as b, createCommentVNode as V, createTextVNode as k } from "vue";
12
+ import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, createCommentVNode as b, unref as V, createTextVNode as k } from "vue";
13
13
  import g from "../../../common/components/value-set-input/value-set-input.vue.js";
14
14
  import { v4 as h } from "uuid";
15
15
  const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-json-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(i2, { expose: C2, emit: $ }) {
@@ -24,32 +24,30 @@ const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-json-setting", p
24
24
  if (t2.code === l2.code) {
25
25
  const l3 = q();
26
26
  l3.level = t2.level, e2.splice(o2 + 1, 0, l3);
27
- } else
28
- t2.items && t2.items.length > 0 && E(t2.items, l2);
27
+ } else t2.items && t2.items.length > 0 && E(t2.items, l2);
29
28
  });
30
29
  }, L = (e2, l2) => {
31
30
  for (let t2 = 0; t2 < e2.length; t2++) {
32
31
  const o2 = e2[t2];
33
- if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code)
34
- return void e2.splice(t2, 1);
32
+ if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
35
33
  }
36
34
  }, q = () => ({ level: 0, code: h(), name: "", paramType: "any", value: "", items: [], $editing: true });
37
35
  return C2({}), (h2, C3) => {
38
- const $2 = e, z2 = l, D = t, R = o, S = s, B = a, F = n, G = m, H = r;
39
- return p(), d(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: j, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (p(), d($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (p(), y("span", _, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (p(), d(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
36
+ const $2 = t, z2 = l, D = s, R = o, S = n, B = r, F = m, G = a, H = e;
37
+ return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: j, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span", _, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (d(), p(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
40
38
  return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
41
39
  var t2, o2;
42
- }, placeholder: "", size: "small" }, { default: u(() => [(p(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? V("", true) : (p(), d(b(g), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: A, link: "" }, { default: u(() => [k("添加 ")]), _: 1 })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (p(), d(B, { key: 0, onClick: (l2) => ((e3, l3) => {
40
+ }, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (d(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? b("", true) : (d(), p(V(g), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: A, link: "" }, { default: u(() => C3[0] || (C3[0] = [k("添加 ")])), _: 1 })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (d(), p(B, { key: 0, onClick: (l2) => ((e3, l3) => {
43
41
  l3.items || (l3.items = []);
44
42
  const t2 = q();
45
43
  t2.level = l3.level + 1, l3.items.push(t2);
46
- })(e2.$index, e2.row) }, { default: u(() => [k("添加下级节点")]), _: 2 }, 1032, ["onClick"])) : V("", true), e2.row.isArrayElement ? V("", true) : (p(), d(B, { key: 1, onClick: (l2) => {
44
+ })(e2.$index, e2.row) }, { default: u(() => C3[2] || (C3[2] = [k("添加下级节点")])), _: 2 }, 1032, ["onClick"])) : b("", true), e2.row.isArrayElement ? b("", true) : (d(), p(B, { key: 1, onClick: (l2) => {
47
45
  return e2.$index, t2 = e2.row, void E(T.modelValue, t2);
48
46
  var t2;
49
- } }, { default: u(() => [k("添加相邻节点")]), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [k(" 添加 ")]), _: 1 })]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
47
+ } }, { default: u(() => C3[3] || (C3[3] = [k("添加相邻节点")])), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => C3[1] || (C3[1] = [k(" 添加 ")])), _: 1 })]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
50
48
  return e2.$index, t2 = e2.row, void L(T.modelValue, t2);
51
49
  var t2;
52
- } }, { default: u(() => [k(" 删除 ")]), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
50
+ } }, { default: u(() => C3[4] || (C3[4] = [k(" 删除 ")])), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
53
51
  };
54
52
  } });
55
53
  export {
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  modelValue: {
3
3
  type: ArrayConstructor;
4
4
  default: () => any[];
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  "update:modelValue": (...args: any[]) => void;
12
12
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
13
  modelValue: {
@@ -18,10 +18,10 @@ declare const _default: import('vue').DefineComponent<{
18
18
  type: StringConstructor;
19
19
  default: string;
20
20
  };
21
- }>> & {
21
+ }>> & Readonly<{
22
22
  "onUpdate:modelValue"?: (...args: any[]) => any;
23
- }, {
23
+ }>, {
24
24
  modelValue: unknown[];
25
25
  contentType: string;
26
- }, {}>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
27
  export default _default;
@@ -1,8 +1,8 @@
1
- import { ElTableColumn as e, ElTable as t } from "element-plus/es";
1
+ import { ElTable as e, ElTableColumn as t } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/table/style/css";
4
4
  import "element-plus/es/components/table-column/style/css";
5
- import { defineComponent as l, openBlock as o, createBlock as a, withCtx as s, createVNode as m, unref as p } from "vue";
5
+ import { defineComponent as l, createBlock as o, openBlock as a, withCtx as s, createVNode as m, unref as p } from "vue";
6
6
  import n from "../../../common/components/value-set-input/value-set-input.vue.js";
7
7
  const u = l({ __name: "response-text-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(l2, { expose: u2, emit: r }) {
8
8
  const d = r, i = l2;
@@ -11,8 +11,8 @@ const u = l({ __name: "response-text-setting", props: { modelValue: { type: Arra
11
11
  e2.$editing = true;
12
12
  };
13
13
  return u2({}), (u3, r2) => {
14
- const d2 = e, i2 = t;
15
- return o(), a(i2, { data: l2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: c, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: s(() => [m(d2, { prop: "value", label: "设置到" }, { default: s((e2) => [m(p(n), { size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (t2) => e2.row.value = t2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]);
14
+ const d2 = t, i2 = e;
15
+ return a(), o(i2, { data: l2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: c, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: s(() => [m(d2, { prop: "value", label: "设置到" }, { default: s((e2) => [m(p(n), { size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (t2) => e2.row.value = t2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]);
16
16
  };
17
17
  } });
18
18
  export {
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  modelValue: {
3
3
  type: ArrayConstructor;
4
4
  default: () => any[];
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  "update:modelValue": (...args: any[]) => void;
12
12
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
13
  modelValue: {
@@ -18,10 +18,10 @@ declare const _default: import('vue').DefineComponent<{
18
18
  type: StringConstructor;
19
19
  default: string;
20
20
  };
21
- }>> & {
21
+ }>> & Readonly<{
22
22
  "onUpdate:modelValue"?: (...args: any[]) => any;
23
- }, {
23
+ }>, {
24
24
  modelValue: unknown[];
25
25
  contentType: string;
26
- }, {}>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
27
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ElInput as e, ElTableColumn as l, ElOption as t, ElSelect as o, ElButton as s, ElDropdownItem as a, ElDropdownMenu as n, ElDropdown as m, ElTable as r } from "element-plus/es";
1
+ import { ElTable as e, ElTableColumn as l, ElInput as t, ElSelect as o, ElOption as s, ElDropdown as a, ElButton as n, ElDropdownMenu as m, ElDropdownItem as r } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/table/style/css";
4
4
  import "element-plus/es/components/dropdown/style/css";
@@ -9,7 +9,7 @@ import "element-plus/es/components/select/style/css";
9
9
  import "element-plus/es/components/option/style/css";
10
10
  import "element-plus/es/components/table-column/style/css";
11
11
  import "element-plus/es/components/input/style/css";
12
- import { defineComponent as i, openBlock as p, createBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, unref as b, createCommentVNode as V, createTextVNode as k } from "vue";
12
+ import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, createCommentVNode as b, unref as V, createTextVNode as k } from "vue";
13
13
  import g from "../../../common/components/value-set-input/value-set-input.vue.js";
14
14
  import { v4 as h } from "uuid";
15
15
  const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-xml-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(i2, { expose: C2, emit: $ }) {
@@ -24,32 +24,30 @@ const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-xml-setting", pr
24
24
  if (t2.code === l2.code) {
25
25
  const l3 = q();
26
26
  l3.level = t2.level, e2.splice(o2 + 1, 0, l3);
27
- } else
28
- t2.items && t2.items.length > 0 && j(t2.items, l2);
27
+ } else t2.items && t2.items.length > 0 && j(t2.items, l2);
29
28
  });
30
29
  }, L = (e2, l2) => {
31
30
  for (let t2 = 0; t2 < e2.length; t2++) {
32
31
  const o2 = e2[t2];
33
- if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code)
34
- return void e2.splice(t2, 1);
32
+ if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
35
33
  }
36
34
  }, q = () => ({ level: 0, code: h(), name: "", paramType: "any", value: "", items: [], $editing: true });
37
35
  return C2({}), (h2, C3) => {
38
- const $2 = e, z2 = l, D = t, R = o, S = s, B = a, F = n, G = m, H = r;
39
- return p(), d(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: A, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (p(), d($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (p(), y("span", _, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (p(), d(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
36
+ const $2 = t, z2 = l, D = s, R = o, S = n, B = r, F = m, G = a, H = e;
37
+ return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: A, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span", _, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (d(), p(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
40
38
  return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
41
39
  var t2, o2;
42
- }, placeholder: "", size: "small" }, { default: u(() => [(p(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? V("", true) : (p(), d(b(g), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: E, link: "" }, { default: u(() => [k("添加 ")]), _: 1 })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (p(), d(B, { key: 0, onClick: (l2) => ((e3, l3) => {
40
+ }, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (d(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? b("", true) : (d(), p(V(g), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: E, link: "" }, { default: u(() => C3[0] || (C3[0] = [k("添加 ")])), _: 1 })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (d(), p(B, { key: 0, onClick: (l2) => ((e3, l3) => {
43
41
  l3.items || (l3.items = []);
44
42
  const t2 = q();
45
43
  t2.level = l3.level + 1, l3.items.push(t2);
46
- })(e2.$index, e2.row) }, { default: u(() => [k("添加下级节点")]), _: 2 }, 1032, ["onClick"])) : V("", true), e2.row.isArrayElement ? V("", true) : (p(), d(B, { key: 1, onClick: (l2) => {
44
+ })(e2.$index, e2.row) }, { default: u(() => C3[1] || (C3[1] = [k("添加下级节点")])), _: 2 }, 1032, ["onClick"])) : b("", true), e2.row.isArrayElement ? b("", true) : (d(), p(B, { key: 1, onClick: (l2) => {
47
45
  return e2.$index, t2 = e2.row, void j(T.modelValue, t2);
48
46
  var t2;
49
- } }, { default: u(() => [k("添加相邻节点")]), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [k(" 添加 " + w(e2.row.type), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
47
+ } }, { default: u(() => C3[2] || (C3[2] = [k("添加相邻节点")])), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [k(" 添加 " + w(e2.row.type), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
50
48
  return e2.$index, t2 = e2.row, void L(T.modelValue, t2);
51
49
  var t2;
52
- } }, { default: u(() => [k(" 删除 ")]), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
50
+ } }, { default: u(() => C3[3] || (C3[3] = [k(" 删除 ")])), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
53
51
  };
54
52
  } });
55
53
  export {
@@ -1,7 +1,6 @@
1
1
  const l = [{ value: "gt", label: "大于" }, { value: "lt", label: "小于" }, { value: "eq", label: "等于" }, { value: "le", label: "不小于" }, { value: "ge", label: "不大于" }, { value: "ne", label: "不等于" }], e = [{ value: "eq", label: "等于" }, { value: "neq", label: "不等于" }, { value: "contain", label: "包含" }, { value: "contain.not", label: "不包含" }, { value: "is.null", label: "等于NULL" }, { value: "not.null", label: "不等于NULL" }], a = [{ value: "or", label: "或者" }, { value: "and", label: "并且" }];
2
2
  function u(l2, e2) {
3
- if (!l2)
4
- return "";
3
+ if (!l2) return "";
5
4
  const a2 = e2.filter((e3) => e3.value === l2);
6
5
  return a2.length > 0 ? a2[0].label : "";
7
6
  }
@@ -13,11 +13,8 @@ function u(e2) {
13
13
  }
14
14
  const m = (e2) => {
15
15
  if (e2) {
16
- for (const t2 of o)
17
- e2.register(t2.nodeAndView);
18
- for (const o2 of t)
19
- for (const t2 of o2.items)
20
- e2.register(t2.nodeAndView);
16
+ for (const t2 of o) e2.register(t2.nodeAndView);
17
+ for (const o2 of t) for (const t2 of o2.items) e2.register(t2.nodeAndView);
21
18
  e2.register(s), e2.setDefaultEdgeType("customLine");
22
19
  }
23
20
  };
@@ -1,6 +1,6 @@
1
1
  import { default as LogicFlow } from '@logicflow/core';
2
2
 
3
- declare const _default: import('vue').DefineComponent<{
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  cloneService: {
5
5
  type: ObjectConstructor;
6
6
  default: () => void;
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<{
13
13
  type: ObjectConstructor;
14
14
  default: () => {};
15
15
  };
16
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
17
  "show-service-log": (...args: any[]) => void;
18
18
  "save-sevice": (...args: any[]) => void;
19
19
  "show-json": (...args: any[]) => void;
@@ -30,13 +30,13 @@ declare const _default: import('vue').DefineComponent<{
30
30
  type: ObjectConstructor;
31
31
  default: () => {};
32
32
  };
33
- }>> & {
33
+ }>> & Readonly<{
34
34
  "onShow-service-log"?: (...args: any[]) => any;
35
35
  "onSave-sevice"?: (...args: any[]) => any;
36
36
  "onShow-json"?: (...args: any[]) => any;
37
- }, {
37
+ }>, {
38
38
  pageContext: Record<string, any>;
39
39
  lf: LogicFlow;
40
40
  cloneService: Record<string, any>;
41
- }, {}>;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
42
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "./service-flow-tool.vue2.js";
2
- import "./service-flow-tool.vue3.js";
2
+ /* empty css */
3
3
  import e from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-a2bd7452"]]);
4
+ const r = e(o, [["__scopeId", "data-v-1270412d"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -4,37 +4,37 @@ import "element-plus/es/components/icon/style/css";
4
4
  import "element-plus/es/components/tooltip/style/css";
5
5
  import "element-plus/es/components/divider/style/css";
6
6
  import "element-plus/es/components/input/style/css";
7
- import { defineComponent as s, ref as i, openBlock as c, createElementBlock as a, withDirectives as n, createElementVNode as r, createVNode as p, vShow as m, Fragment as u, renderList as v, unref as d, createBlock as f, withCtx as w, normalizeClass as g, pushScopeId as y, popScopeId as b } from "vue";
8
- import { View as j, CaretRight as S, Check as C } from "@element-plus/icons-vue";
9
- import { customControl as h } from "./flow-util.js";
10
- import { customControlClick as x } from "./flow-tool-util.js";
11
- import V from "@logicflow/core";
7
+ import { defineComponent as s, ref as i, createElementBlock as c, openBlock as n, withDirectives as a, createVNode as r, createElementVNode as p, vShow as m, Fragment as u, renderList as v, unref as d, createBlock as f, withCtx as w, normalizeClass as g } from "vue";
8
+ import { View as y, CaretRight as b, Check as j } from "@element-plus/icons-vue";
9
+ import { customControl as S } from "./flow-util.js";
10
+ import { customControlClick as C } from "./flow-tool-util.js";
11
+ import h from "@logicflow/core";
12
12
  import "codemirror";
13
13
  import "@codemirror/lang-json";
14
14
  import "@codemirror/state";
15
15
  import "@uiw/codemirror-themes-all";
16
- import k from "../common/components/json-view/json-view-dialog.vue.js";
17
- import _ from "./service-test/service-test.vue.js";
18
- const O = (e2) => (y("data-v-a2bd7452"), e2 = e2(), b(), e2), z = { class: "serviceflow-design-tool" }, J = { style: { top: "-5px", "margin-left": "10px", position: "relative" } }, N = { style: { float: "right" } }, U = ["onClick"], D = O(() => r("label", null, "查看JSON", -1)), G = O(() => r("label", null, "日志", -1)), q = O(() => r("label", null, "测试", -1)), A = O(() => r("label", null, "保存", -1)), B = s({ __name: "service-flow-tool", props: { cloneService: { type: Object, default: () => {
19
- } }, lf: { type: V, default: () => {
20
- } }, pageContext: { type: Object, default: () => ({}) } }, emits: ["show-service-log", "save-sevice", "show-json"], setup(s2, { emit: y2 }) {
21
- const b2 = y2, V2 = s2, O2 = i(""), B2 = i(false), E = i(false), F = i({}), H = () => {
16
+ import V from "../common/components/json-view/json-view-dialog.vue.js";
17
+ import k from "./service-test/service-test.vue.js";
18
+ const x = { class: "serviceflow-design-tool" }, _ = { style: { top: "-5px", "margin-left": "10px", position: "relative" } }, O = { style: { float: "right" } }, z = ["onClick"], J = s({ __name: "service-flow-tool", props: { cloneService: { type: Object, default: () => {
19
+ } }, lf: { type: h, default: () => {
20
+ } }, pageContext: { type: Object, default: () => ({}) } }, emits: ["show-service-log", "save-sevice", "show-json"], setup(s2, { emit: h2 }) {
21
+ const J2 = h2, N = s2, U = i(""), D = i(false), G = i(false), q = i({}), A = () => {
22
22
  var _a;
23
- B2.value = true, F.value = JSON.parse(JSON.stringify(V2.cloneService)), F.value.flow = (_a = V2.lf) == null ? void 0 : _a.getGraphData(), b2("show-json");
24
- }, I = () => {
25
- E.value = !E.value;
26
- }, K = () => {
27
- b2("show-service-log", {});
28
- }, L = () => {
29
- b2("save-sevice");
23
+ D.value = true, q.value = JSON.parse(JSON.stringify(N.cloneService)), q.value.flow = (_a = N.lf) == null ? void 0 : _a.getGraphData(), J2("show-json");
24
+ }, B = () => {
25
+ G.value = !G.value;
26
+ }, E = () => {
27
+ J2("show-service-log", {});
28
+ }, F = () => {
29
+ J2("save-sevice");
30
30
  };
31
- return (i2, y3) => {
32
- const b3 = e, M = l, P = o, Q = t;
33
- return c(), a("div", z, [n(r("span", J, [p(b3, { placeholder: "", modelValue: s2.cloneService.name, "onUpdate:modelValue": y3[0] || (y3[0] = (e2) => s2.cloneService.name = e2), style: { width: "150px" } }, null, 8, ["modelValue"])], 512), [[m, s2.cloneService.code]]), n(r("span", N, [p(M, { direction: "vertical", class: "serviceflow-design-tool-split" }), (c(true), a(u, null, v(d(h), (e2) => (c(), f(P, { class: "box-item", effect: "dark", content: e2.desc, placement: "top" }, { default: w(() => [r("label", { class: g(["serviceflow-control-item", e2.type === O2.value ? "serviceflow-control-item-click" : ""]), onClick: (l2) => ((e3) => {
34
- V2.lf && x(V2.lf, e3);
35
- })(e2) }, [r("i", { class: g(e2.class) }, null, 2)], 10, U)]), _: 2 }, 1032, ["content"]))), 256)), p(M, { direction: "vertical", class: "serviceflow-design-tool-split" }), r("label", { class: "serviceflow-page-type", onClick: H }, [p(Q, { size: 18 }, { default: w(() => [p(d(j))]), _: 1 }), D]), r("label", { class: "serviceflow-page-type", onClick: K }, [p(Q, { size: 18 }, { default: w(() => [p(d(j))]), _: 1 }), G]), p(M, { direction: "vertical", class: "serviceflow-design-tool-split" }), r("label", { class: "serviceflow-page-type", onClick: I }, [p(Q, { size: 18 }, { default: w(() => [p(d(S))]), _: 1 }), q]), p(M, { direction: "vertical", class: "serviceflow-design-tool-split" }), r("label", { class: "serviceflow-page-type", onClick: L }, [p(Q, { size: 18 }, { default: w(() => [p(d(C))]), _: 1 }), A])], 512), [[m, s2.cloneService.code]]), p(d(k), { modelValue: B2.value, "onUpdate:modelValue": y3[1] || (y3[1] = (e2) => B2.value = e2), "json-object": F.value, "append-to-body": true }, null, 8, ["modelValue", "json-object"]), p(_, { modelValue: E.value, "onUpdate:modelValue": y3[2] || (y3[2] = (e2) => E.value = e2), pageContext: s2.pageContext, "append-to-body": true, cloneService: s2.cloneService, lf: s2.lf }, null, 8, ["modelValue", "pageContext", "cloneService", "lf"])]);
31
+ return (i2, h3) => {
32
+ const J3 = e, H = l, I = o, K = t;
33
+ return n(), c("div", x, [a(p("span", _, [r(J3, { placeholder: "", modelValue: s2.cloneService.name, "onUpdate:modelValue": h3[0] || (h3[0] = (e2) => s2.cloneService.name = e2), style: { width: "40%" } }, null, 8, ["modelValue"])], 512), [[m, s2.cloneService.code]]), a(p("span", O, [r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), (n(true), c(u, null, v(d(S), (e2) => (n(), f(I, { class: "box-item", effect: "dark", content: e2.desc, placement: "top" }, { default: w(() => [p("label", { class: g(["serviceflow-control-item", e2.type === U.value ? "serviceflow-control-item-click" : ""]), onClick: (l2) => ((e3) => {
34
+ N.lf && C(N.lf, e3);
35
+ })(e2) }, [p("i", { class: g(e2.class) }, null, 2)], 10, z)]), _: 2 }, 1032, ["content"]))), 256)), r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), p("label", { class: "serviceflow-page-type", onClick: A }, [r(K, { size: 18 }, { default: w(() => [r(d(y))]), _: 1 }), h3[3] || (h3[3] = p("label", null, "查看JSON", -1))]), p("label", { class: "serviceflow-page-type", onClick: E }, [r(K, { size: 18 }, { default: w(() => [r(d(y))]), _: 1 }), h3[4] || (h3[4] = p("label", null, "日志", -1))]), r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), p("label", { class: "serviceflow-page-type", onClick: B }, [r(K, { size: 18 }, { default: w(() => [r(d(b))]), _: 1 }), h3[5] || (h3[5] = p("label", null, "测试", -1))]), r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), p("label", { class: "serviceflow-page-type", onClick: F }, [r(K, { size: 18 }, { default: w(() => [r(d(j))]), _: 1 }), h3[6] || (h3[6] = p("label", null, "保存", -1))])], 512), [[m, s2.cloneService.code]]), r(d(V), { modelValue: D.value, "onUpdate:modelValue": h3[1] || (h3[1] = (e2) => D.value = e2), "json-object": q.value, "append-to-body": true }, null, 8, ["modelValue", "json-object"]), r(k, { modelValue: G.value, "onUpdate:modelValue": h3[2] || (h3[2] = (e2) => G.value = e2), pageContext: s2.pageContext, "append-to-body": true, cloneService: s2.cloneService, lf: s2.lf }, null, 8, ["modelValue", "pageContext", "cloneService", "lf"])]);
36
36
  };
37
37
  } });
38
38
  export {
39
- B as default
39
+ J as default
40
40
  };
@@ -3,7 +3,7 @@ declare function onBlankClick(): void;
3
3
  declare function onDeleteNode(): void;
4
4
  declare function closeDrawer(): void;
5
5
  declare function onLogicChange(): void;
6
- declare const _default: import('vue').DefineComponent<{
6
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
7
  service: {
8
8
  type: ObjectConstructor;
9
9
  default: () => {};
@@ -20,13 +20,13 @@ declare const _default: import('vue').DefineComponent<{
20
20
  type: ObjectConstructor;
21
21
  default: () => {};
22
22
  };
23
- }, {
23
+ }>, {
24
24
  onBlankClick: typeof onBlankClick;
25
25
  onNodeClick: typeof onNodeClick;
26
26
  onLogicChange: typeof onLogicChange;
27
27
  onDeleteNode: typeof onDeleteNode;
28
28
  closeDrawer: typeof closeDrawer;
29
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
30
  onConfigChange: (...args: any[]) => void;
31
31
  "update:currentNode": (...args: any[]) => void;
32
32
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -46,13 +46,13 @@ declare const _default: import('vue').DefineComponent<{
46
46
  type: ObjectConstructor;
47
47
  default: () => {};
48
48
  };
49
- }>> & {
49
+ }>> & Readonly<{
50
50
  onOnConfigChange?: (...args: any[]) => any;
51
51
  "onUpdate:currentNode"?: (...args: any[]) => any;
52
- }, {
52
+ }>, {
53
53
  pageContext: Record<string, any>;
54
54
  service: Record<string, any>;
55
55
  logicFlowInstance: Record<string, any>;
56
56
  currentNode: Record<string, any>;
57
- }, {}>;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
58
58
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import e from "./service-node-config.vue2.js";
2
- import "./service-node-config.vue3.js";
2
+ /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = o(e, [["__scopeId", "data-v-016f2775"]]);
5
5
  export {