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,7 +1,6 @@
1
1
  const t = (t2, o) => {
2
2
  const c = t2.__vccOpts || t2;
3
- for (const [t3, s] of o)
4
- c[t3] = s;
3
+ for (const [t3, s] of o) c[t3] = s;
5
4
  return c;
6
5
  };
7
6
  export {
@@ -1,9 +1,9 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  visible: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  select: (...args: any[]) => void;
8
8
  "update:visible": (...args: any[]) => void;
9
9
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -11,10 +11,10 @@ declare const _default: import('vue').DefineComponent<{
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
- }>> & {
14
+ }>> & Readonly<{
15
15
  onSelect?: (...args: any[]) => any;
16
16
  "onUpdate:visible"?: (...args: any[]) => any;
17
- }, {
17
+ }>, {
18
18
  visible: boolean;
19
- }, {}>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
20
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import e from "./database-select.vue2.js";
2
- import "./database-select.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const a = t(e, [["__scopeId", "data-v-7fcf8a84"]]);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { ElInput as e, ElButton as t, ElHeader as a, ElTableColumn as l, ElTable as o, ElPagination as s, ElContainer as n, ElDialog as i } from "element-plus/es";
1
+ import { ElDialog as e, ElContainer as t, ElHeader as a, ElInput as l, ElButton as o, ElTable as s, ElTableColumn as n, ElPagination as i } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/dialog/style/css";
4
4
  import "element-plus/es/components/container/style/css";
@@ -8,7 +8,7 @@ import "element-plus/es/components/table-column/style/css";
8
8
  import "element-plus/es/components/header/style/css";
9
9
  import "element-plus/es/components/button/style/css";
10
10
  import "element-plus/es/components/input/style/css";
11
- import { defineComponent as r, ref as p, watch as u, openBlock as m, createBlock as c, withCtx as d, createElementVNode as g, createVNode as v, createTextVNode as h, unref as f } from "vue";
11
+ import { defineComponent as r, ref as p, watch as u, createBlock as m, openBlock as c, withCtx as d, createVNode as g, unref as v, createTextVNode as h, createElementVNode as f } from "vue";
12
12
  import { Search as y } from "@element-plus/icons-vue";
13
13
  import b from "agilebuilder-ui/src/utils/request";
14
14
  import { ElMessage as z } from "element-plus";
@@ -33,8 +33,8 @@ const w = { class: "dialog-footer" }, _ = r({ name: "DatatableSelect", inheritAt
33
33
  return u(() => k.visible, (e2) => {
34
34
  C.value = e2, e2 && A();
35
35
  }), (r3, p2) => {
36
- const u2 = e, b2 = t, z2 = a, _3 = l, S2 = o, k2 = s, T2 = n, I = i;
37
- return m(), c(I, { "destroy-on-close": "", modelValue: C.value, "onUpdate:modelValue": p2[4] || (p2[4] = (e2) => C.value = e2), title: "选择数据库", width: "60%", "before-close": E }, { footer: d(() => [g("div", w, [v(b2, { size: "small", onClick: p2[3] || (p2[3] = (e2) => C.value = false) }, { default: d(() => [h("返回")]), _: 1 }), v(b2, { size: "small", type: "primary", onClick: B }, { default: d(() => [h(" 确定 ")]), _: 1 })])]), default: d(() => [v(T2, { style: { height: "400px" } }, { default: d(() => [v(z2, { style: { padding: "0", height: "50px" } }, { default: d(() => [v(u2, { size: "small", modelValue: P.value.searchName, "onUpdate:modelValue": p2[0] || (p2[0] = (e2) => P.value.searchName = e2), placeholder: "数据库名称", style: { width: "100px" } }, null, 8, ["modelValue"]), v(b2, { size: "small", icon: f(y), onClick: A }, { default: d(() => [h("查询")]), _: 1 }, 8, ["icon"])]), _: 1 }), v(S2, { ref_key: "tableRef", ref: x, "current-row-key": "code", "row-key": "code", onRowClick: U, data: N.value, "highlight-current-row": "", style: { width: "100%" }, height: "350" }, { default: d(() => [v(_3, { type: "index", width: "50" }), v(_3, { prop: "name", label: "编码" }), v(_3, { prop: "alias", label: "名称" }), v(_3, { prop: "modifierName", label: "修改人" }), v(_3, { prop: "modifiedTime", label: "修改时间" })]), _: 1 }, 8, ["data"]), v(k2, { "current-page": V.value.currentPage, "onUpdate:currentPage": p2[1] || (p2[1] = (e2) => V.value.currentPage = e2), "page-size": V.value.pageSize, "onUpdate:pageSize": p2[2] || (p2[2] = (e2) => V.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: V.value.total, onSizeChange: A, onCurrentChange: A }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
36
+ const u2 = l, b2 = o, z2 = a, _3 = n, S2 = s, k2 = i, T2 = t, I = e;
37
+ return c(), m(I, { "destroy-on-close": "", modelValue: C.value, "onUpdate:modelValue": p2[4] || (p2[4] = (e2) => C.value = e2), title: "选择数据库", width: "60%", "before-close": E }, { footer: d(() => [f("div", w, [g(b2, { size: "small", onClick: p2[3] || (p2[3] = (e2) => C.value = false) }, { default: d(() => p2[6] || (p2[6] = [h("返回")])), _: 1 }), g(b2, { size: "small", type: "primary", onClick: B }, { default: d(() => p2[7] || (p2[7] = [h(" 确定 ")])), _: 1 })])]), default: d(() => [g(T2, { style: { height: "400px" } }, { default: d(() => [g(z2, { style: { padding: "0", height: "50px" } }, { default: d(() => [g(u2, { size: "small", modelValue: P.value.searchName, "onUpdate:modelValue": p2[0] || (p2[0] = (e2) => P.value.searchName = e2), placeholder: "数据库名称", style: { width: "100px" } }, null, 8, ["modelValue"]), g(b2, { size: "small", icon: v(y), onClick: A }, { default: d(() => p2[5] || (p2[5] = [h("查询")])), _: 1 }, 8, ["icon"])]), _: 1 }), g(S2, { ref_key: "tableRef", ref: x, "current-row-key": "code", "row-key": "code", onRowClick: U, data: N.value, "highlight-current-row": "", style: { width: "100%" }, height: "350" }, { default: d(() => [g(_3, { type: "index", width: "50" }), g(_3, { prop: "name", label: "编码" }), g(_3, { prop: "alias", label: "名称" }), g(_3, { prop: "modifierName", label: "修改人" }), g(_3, { prop: "modifiedTime", label: "修改时间" })]), _: 1 }, 8, ["data"]), g(k2, { "current-page": V.value.currentPage, "onUpdate:currentPage": p2[1] || (p2[1] = (e2) => V.value.currentPage = e2), "page-size": V.value.pageSize, "onUpdate:pageSize": p2[2] || (p2[2] = (e2) => V.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: V.value.total, onSizeChange: A, onCurrentChange: A }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
38
38
  };
39
39
  } });
40
40
  export {
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  visible: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  type: NumberConstructor;
12
12
  default: number;
13
13
  };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  select: (...args: any[]) => void;
16
16
  "update:visible": (...args: any[]) => void;
17
17
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -27,12 +27,12 @@ declare const _default: import('vue').DefineComponent<{
27
27
  type: NumberConstructor;
28
28
  default: number;
29
29
  };
30
- }>> & {
30
+ }>> & Readonly<{
31
31
  onSelect?: (...args: any[]) => any;
32
32
  "onUpdate:visible"?: (...args: any[]) => any;
33
- }, {
33
+ }>, {
34
34
  visible: boolean;
35
35
  systemCode: string;
36
36
  systemVersion: number;
37
- }, {}>;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
38
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import e from "./datatable-select.vue2.js";
2
- import "./datatable-select.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = t(e, [["__scopeId", "data-v-d588a716"]]);
4
+ const a = t(e, [["__scopeId", "data-v-de61e3f2"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { ElOption as e, ElSelect as l, ElInput as a, ElButton as t, ElHeader as o, ElTableColumn as s, ElTable as n, ElPagination as u, ElContainer as r, ElDialog as i } from "element-plus/es";
1
+ import { ElDialog as e, ElContainer as l, ElHeader as a, ElSelect as t, ElOption as o, ElInput as s, ElButton as n, ElTable as u, ElTableColumn as r, ElPagination as i } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/dialog/style/css";
4
4
  import "element-plus/es/components/container/style/css";
@@ -10,7 +10,7 @@ import "element-plus/es/components/button/style/css";
10
10
  import "element-plus/es/components/input/style/css";
11
11
  import "element-plus/es/components/select/style/css";
12
12
  import "element-plus/es/components/option/style/css";
13
- import { defineComponent as p, ref as m, watch as c, openBlock as d, createBlock as v, withCtx as g, createElementVNode as h, createVNode as f, createTextVNode as y, createElementBlock as b, Fragment as z, renderList as C, unref as w } from "vue";
13
+ import { defineComponent as p, ref as m, watch as c, createBlock as d, openBlock as v, withCtx as g, createVNode as h, createElementBlock as f, Fragment as y, renderList as b, unref as z, createTextVNode as C, createElementVNode as w } from "vue";
14
14
  import { Search as V } from "@element-plus/icons-vue";
15
15
  import S from "agilebuilder-ui/src/utils/request";
16
16
  import { ElMessage as k } from "element-plus";
@@ -38,8 +38,7 @@ const N = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
38
38
  if (B.value.name) {
39
39
  const l2 = (e2 = $.value, A.value.filter((l3) => l3.code === e2));
40
40
  _("select", { dataTable: B.value, system: l2[0] }), _("update:visible", false);
41
- } else
42
- k.warning("请选择一条记录!");
41
+ } else k.warning("请选择一条记录!");
43
42
  var e2;
44
43
  }
45
44
  function X() {
@@ -55,13 +54,13 @@ const N = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
55
54
  });
56
55
  });
57
56
  return (p3, m2) => {
58
- const c2 = e, S2 = l, k2 = a, T3 = t, _2 = o, P2 = s, B2 = n, q = u, G = r, H = i;
59
- return d(), v(H, { "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": X }, { footer: g(() => [h("div", N, [f(T3, { size: "small", onClick: m2[6] || (m2[6] = (e2) => x.value = false) }, { default: g(() => [y("返回")]), _: 1 }), f(T3, { size: "small", type: "primary", onClick: R }, { default: g(() => [y(" 确定 ")]), _: 1 })])]), default: g(() => [f(G, { style: { height: "400px" } }, { default: g(() => [f(_2, { style: { padding: "0", height: "50px" } }, { default: g(() => [f(S2, { modelValue: $.value, "onUpdate:modelValue": m2[0] || (m2[0] = (e2) => $.value = e2), onChange: D, "value-key": "code", size: "small", style: { width: "240px" } }, { default: g(() => [(d(true), b(z, null, C(A.value, (e2) => (d(), v(c2, { key: e2.code, label: e2.name, value: e2.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), f(k2, { size: "small", clearable: "", modelValue: I.value.searchCode, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => I.value.searchCode = e2), placeholder: "编码", style: { width: "100px" } }, null, 8, ["modelValue"]), f(k2, { size: "small", clearable: "", modelValue: I.value.searchName, "onUpdate:modelValue": m2[2] || (m2[2] = (e2) => I.value.searchName = e2), placeholder: "名称", style: { width: "100px" } }, null, 8, ["modelValue"]), f(T3, { size: "small", icon: w(V), onClick: m2[3] || (m2[3] = (e2) => {
57
+ const c2 = o, S2 = t, k2 = s, T3 = n, _2 = a, P2 = r, B2 = u, q = i, G = l, H = e;
58
+ return v(), d(H, { "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": X }, { footer: g(() => [w("div", N, [h(T3, { size: "small", onClick: m2[6] || (m2[6] = (e2) => x.value = false) }, { default: g(() => m2[9] || (m2[9] = [C("返回")])), _: 1 }), h(T3, { size: "small", type: "primary", onClick: R }, { default: g(() => m2[10] || (m2[10] = [C(" 确定 ")])), _: 1 })])]), default: g(() => [h(G, { style: { height: "400px" } }, { default: g(() => [h(_2, { style: { padding: "0", height: "50px" } }, { default: g(() => [h(S2, { modelValue: $.value, "onUpdate:modelValue": m2[0] || (m2[0] = (e2) => $.value = e2), onChange: D, "value-key": "code", size: "small", style: { width: "240px" } }, { default: g(() => [(v(true), f(y, null, b(A.value, (e2) => (v(), d(c2, { key: e2.code, label: e2.name, value: e2.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), h(k2, { size: "small", clearable: "", modelValue: I.value.searchCode, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => I.value.searchCode = e2), placeholder: "编码", style: { width: "100px" } }, null, 8, ["modelValue"]), h(k2, { size: "small", clearable: "", modelValue: I.value.searchName, "onUpdate:modelValue": m2[2] || (m2[2] = (e2) => I.value.searchName = e2), placeholder: "名称", style: { width: "100px" } }, null, 8, ["modelValue"]), h(T3, { size: "small", icon: z(V), onClick: m2[3] || (m2[3] = (e2) => {
60
59
  j($.value);
61
- }) }, { default: g(() => [y("查询")]), _: 1 }, 8, ["icon"])]), _: 1 }), f(B2, { ref_key: "tableRef", ref: M, "current-row-key": "code", "row-key": "code", onRowClick: O, data: U.value, "highlight-current-row": "", style: { width: "100%" } }, { default: g(() => [f(P2, { type: "index", width: "50" }), f(P2, { prop: "name", label: "编码" }), f(P2, { prop: "alias", label: "名称" }), f(P2, { prop: "modifierName", label: "修改人" }), f(P2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
60
+ }) }, { default: g(() => m2[8] || (m2[8] = [C("查询")])), _: 1 }, 8, ["icon"])]), _: 1 }), h(B2, { ref_key: "tableRef", ref: M, "current-row-key": "code", "row-key": "code", onRowClick: O, data: U.value, "highlight-current-row": "", style: { width: "100%" } }, { default: g(() => [h(P2, { type: "index", width: "50" }), h(P2, { prop: "name", label: "编码" }), h(P2, { prop: "alias", label: "名称" }), h(P2, { prop: "modifierName", label: "修改人" }), h(P2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
62
61
  let l2 = new Date(e3);
63
62
  return `${l2.getFullYear()}-${("0" + (l2.getMonth() + 1)).slice(-2)}-${("0" + l2.getDate()).slice(-2)} ${("0" + l2.getHours()).slice(-2)}:${("0" + l2.getMinutes()).slice(-2)}:${("0" + l2.getSeconds()).slice(-2)}`;
64
- })(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), f(q, { "current-page": E.value.currentPage, "onUpdate:currentPage": m2[4] || (m2[4] = (e2) => E.value.currentPage = e2), "page-size": E.value.pageSize, "onUpdate:pageSize": m2[5] || (m2[5] = (e2) => E.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: E.value.total, onSizeChange: F, onCurrentChange: F }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
63
+ })(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), h(q, { "current-page": E.value.currentPage, "onUpdate:currentPage": m2[4] || (m2[4] = (e2) => E.value.currentPage = e2), "page-size": E.value.pageSize, "onUpdate:pageSize": m2[5] || (m2[5] = (e2) => E.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: E.value.total, onSizeChange: F, onCurrentChange: F }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
65
64
  };
66
65
  } });
67
66
  export {
@@ -1,9 +1,9 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  modelValue: {
3
3
  type: ObjectConstructor;
4
4
  default: () => {};
5
5
  };
6
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update:modelValue": (...args: any[]) => void;
8
8
  "on-success": (...args: any[]) => void;
9
9
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -11,10 +11,10 @@ declare const _default: import('vue').DefineComponent<{
11
11
  type: ObjectConstructor;
12
12
  default: () => {};
13
13
  };
14
- }>> & {
14
+ }>> & Readonly<{
15
15
  "onUpdate:modelValue"?: (...args: any[]) => any;
16
16
  "onOn-success"?: (...args: any[]) => any;
17
- }, {
17
+ }>, {
18
18
  modelValue: 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 "./file-upload.vue2.js";
2
- import "./file-upload.vue3.js";
2
+ /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const p = o(e, [["__scopeId", "data-v-2d06523b"]]);
5
5
  export {
@@ -1,9 +1,9 @@
1
- import { ElIcon as e, ElButton as l, ElUpload as o } from "element-plus/es";
1
+ import { ElUpload as e, ElButton as l, ElIcon as o } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/upload/style/css";
4
4
  import "element-plus/es/components/button/style/css";
5
5
  import "element-plus/es/components/icon/style/css";
6
- import { defineComponent as t, ref as s, openBlock as u, createBlock as a, withCtx as m, createVNode as n, createTextVNode as i, unref as p } from "vue";
6
+ import { defineComponent as t, ref as s, createBlock as u, openBlock as a, withCtx as m, createVNode as n, createTextVNode as i, unref as p } from "vue";
7
7
  import { Upload as r } from "@element-plus/icons-vue";
8
8
  import { genFileId as d } from "element-plus";
9
9
  import { getToken as c } from "agilebuilder-ui/src/utils/auth";
@@ -24,8 +24,8 @@ const V = t({ __name: "file-upload", props: { modelValue: { type: Object, defaul
24
24
  h.modelValue.name = e2.name, h.modelValue.fileUuid = e2.serverPath, b("on-success");
25
25
  };
26
26
  return V2({}), (t3, s2) => {
27
- const d2 = e, c2 = l, f2 = o;
28
- return u(), a(f2, { ref_key: "upload", ref: _, name: "file", data: { systemCode: g.value, isExport: true }, "auto-upload": true, action: U, headers: x, limit: 1, "on-change": A, "on-exceed": P, "on-remove": C, "on-success": w, "file-list": j.value }, { default: m(() => [n(c2, null, { default: m(() => [i(" 上传附件"), n(d2, { class: "el-icon--right" }, { default: m(() => [n(p(r))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data", "file-list"]);
27
+ const d2 = o, c2 = l, f2 = e;
28
+ return a(), u(f2, { ref_key: "upload", ref: _, name: "file", data: { systemCode: g.value, isExport: true }, "auto-upload": true, action: U, headers: x, limit: 1, "on-change": A, "on-exceed": P, "on-remove": C, "on-success": w, "file-list": j.value }, { default: m(() => [n(c2, null, { default: m(() => [s2[0] || (s2[0] = i(" 上传附件")), n(d2, { class: "el-icon--right" }, { default: m(() => [n(p(r))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data", "file-list"]);
29
29
  };
30
30
  } });
31
31
  export {
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  jsonObject: {
3
3
  type: ObjectConstructor;
4
4
  default: () => void;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  "update:modelValue": (...args: any[]) => void;
16
16
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
17
  jsonObject: {
@@ -26,11 +26,11 @@ declare const _default: import('vue').DefineComponent<{
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
- }>> & {
29
+ }>> & Readonly<{
30
30
  "onUpdate:modelValue"?: (...args: any[]) => any;
31
- }, {
31
+ }>, {
32
32
  modelValue: boolean;
33
33
  appendToBody: boolean;
34
34
  jsonObject: Record<string, any>;
35
- }, {}>;
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
36
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { ElDialog as e } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/dialog/style/css";
4
- import { defineComponent as o, ref as t, watch as l, openBlock as s, createBlock as a, withCtx as n, createVNode as p } from "vue";
5
- import u from "./json-view.vue.js";
4
+ import { defineComponent as o, ref as t, watch as l, createBlock as s, openBlock as a, withCtx as n, createVNode as p } from "vue";
5
+ import u from "./json-view.vue2.js";
6
6
  const d = o({ name: "JsonViewDialog", inheritAttrs: false, __name: "json-view-dialog", props: { jsonObject: { type: Object, default: () => {
7
7
  } }, appendToBody: { type: Boolean, default: false }, modelValue: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(o2, { emit: d2 }) {
8
8
  const m = o2, i = d2, r = t(false);
@@ -14,7 +14,7 @@ const d = o({ name: "JsonViewDialog", inheritAttrs: false, __name: "json-view-di
14
14
  };
15
15
  return (t2, l2) => {
16
16
  const d3 = e;
17
- return s(), a(d3, { modelValue: r.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => r.value = e2), "append-to-body": o2.appendToBody, title: "格式化", width: "600", onClose: c }, { default: n(() => [p(u, { jsonObject: o2.jsonObject }, null, 8, ["jsonObject"])]), _: 1 }, 8, ["modelValue", "append-to-body"]);
17
+ return a(), s(d3, { modelValue: r.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => r.value = e2), "append-to-body": o2.appendToBody, title: "格式化", width: "600", onClose: c }, { default: n(() => [p(u, { jsonObject: o2.jsonObject }, null, 8, ["jsonObject"])]), _: 1 }, 8, ["modelValue", "append-to-body"]);
18
18
  };
19
19
  } });
20
20
  export {
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  jsonObject: {
3
3
  type: ObjectConstructor;
4
4
  default: () => void;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  type: StringConstructor;
12
12
  default: any;
13
13
  };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
15
  jsonObject: {
16
16
  type: ObjectConstructor;
17
17
  default: () => void;
@@ -24,9 +24,9 @@ declare const _default: import('vue').DefineComponent<{
24
24
  type: StringConstructor;
25
25
  default: any;
26
26
  };
27
- }>>, {
27
+ }>> & Readonly<{}>, {
28
28
  height: number;
29
29
  theme: string;
30
30
  jsonObject: Record<string, any>;
31
- }, {}>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
32
  export default _default;
@@ -1,56 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as r, onMounted as n, nextTick as o, openBlock as i, createElementBlock as c } from "vue";
2
- import { EditorView as s, basicSetup as a } from "codemirror";
3
- import { jsonLanguage as u } from "@codemirror/lang-json";
4
- import { EditorState as m, Facet as l } from "@codemirror/state";
5
- import { eclipse as f, githubDark as h, githubLight as d, dracula as g, vscodeDark as p, xcodeDark as v, xcodeLight as j } from "@uiw/codemirror-themes-all";
6
- const w = e({ name: "JsonView", inheritAttrs: false, __name: "json-view", props: { jsonObject: { type: Object, default: () => {
7
- } }, height: { type: Number, default: 0 }, theme: { type: String, default: null } }, setup(e2) {
8
- const w2 = e2, y = t(null), b = t(), x = t("400px");
9
- function O() {
10
- y.value && y.value.destroy();
11
- const e3 = w2.jsonObject ? JSON.stringify(w2.jsonObject, null, 2) : "";
12
- if (w2.height)
13
- x.value = w2.height + "px";
14
- else if (b.value) {
15
- const e4 = b.value.getBoundingClientRect();
16
- (e4.y || 0 === e4.y) && (x.value = window.innerHeight - e4.y - 100 + "px");
17
- }
18
- const t2 = function(e4) {
19
- const t3 = function() {
20
- if (w2.theme)
21
- switch (w2.theme) {
22
- case "xcodeLight":
23
- return j;
24
- case "xcodeDark":
25
- return v;
26
- case "vscodeDark":
27
- return p;
28
- case "dracula":
29
- return g;
30
- case "githubLight":
31
- return d;
32
- case "githubDark":
33
- return h;
34
- case "eclipse":
35
- return f;
36
- }
37
- return s.theme({});
38
- }(), r3 = s.theme({ ".cm-content, .cm-gutter": { minHeight: x.value }, "&": { height: x.value, maxHeight: x.value, fontSize: "12px" } });
39
- return m.create({ doc: e4, extensions: [m.tabSize.of(16), a, u, t3, r3, S.of(true), k] });
40
- }(e3);
41
- let r2 = document.getElementById("cf-codemirror-view-json");
42
- r2 && (y.value = new s({ state: t2, parent: r2 }));
43
- }
44
- r(() => w2.jsonObject, (e3) => {
45
- y.value && O();
46
- }, { deep: true }), n(() => {
47
- o(() => {
48
- O();
49
- });
50
- });
51
- const S = l.define({ combine: (e3) => e3.some((e4) => e4) }), k = m.transactionFilter.of((e3) => e3.isUserEvent && e3.docChanged && e3.state.facet(S) ? { changes: { from: e3.changes.from, to: e3.changes.to, insert: e3.startState.doc.sliceString(e3.changes.from, e3.changes.to) } } : e3);
52
- return (e3, t2) => (i(), c("div", { style: { width: "100%" }, ref_key: "cfCodemirrorJsonViewRef", ref: b, id: "cf-codemirror-view-json" }, null, 512));
53
- } });
1
+ import e from "./json-view.vue2.js";
54
2
  export {
55
- w as default
3
+ e as default
56
4
  };
@@ -1,4 +1,54 @@
1
- import e from "./json-view.vue.js";
1
+ import { defineComponent as e, ref as t, watch as r, onMounted as n, nextTick as o, createElementBlock as i, openBlock as c } from "vue";
2
+ import { EditorView as s, basicSetup as a } from "codemirror";
3
+ import { jsonLanguage as u } from "@codemirror/lang-json";
4
+ import { EditorState as m, Facet as l } from "@codemirror/state";
5
+ import { eclipse as f, githubDark as h, githubLight as d, dracula as g, vscodeDark as p, xcodeDark as v, xcodeLight as j } from "@uiw/codemirror-themes-all";
6
+ const w = e({ name: "JsonView", inheritAttrs: false, __name: "json-view", props: { jsonObject: { type: Object, default: () => {
7
+ } }, height: { type: Number, default: 0 }, theme: { type: String, default: null } }, setup(e2) {
8
+ const w2 = e2, y = t(null), b = t(), x = t("400px");
9
+ function O() {
10
+ y.value && y.value.destroy();
11
+ const e3 = w2.jsonObject ? JSON.stringify(w2.jsonObject, null, 2) : "";
12
+ if (w2.height) x.value = w2.height + "px";
13
+ else if (b.value) {
14
+ const e4 = b.value.getBoundingClientRect();
15
+ (e4.y || 0 === e4.y) && (x.value = window.innerHeight - e4.y - 100 + "px");
16
+ }
17
+ const t2 = function(e4) {
18
+ const t3 = function() {
19
+ if (w2.theme) switch (w2.theme) {
20
+ case "xcodeLight":
21
+ return j;
22
+ case "xcodeDark":
23
+ return v;
24
+ case "vscodeDark":
25
+ return p;
26
+ case "dracula":
27
+ return g;
28
+ case "githubLight":
29
+ return d;
30
+ case "githubDark":
31
+ return h;
32
+ case "eclipse":
33
+ return f;
34
+ }
35
+ return s.theme({});
36
+ }(), r3 = s.theme({ ".cm-content, .cm-gutter": { minHeight: x.value }, "&": { height: x.value, maxHeight: x.value, fontSize: "12px" } });
37
+ return m.create({ doc: e4, extensions: [m.tabSize.of(16), a, u, t3, r3, S.of(true), k] });
38
+ }(e3);
39
+ let r2 = document.getElementById("cf-codemirror-view-json");
40
+ r2 && (y.value = new s({ state: t2, parent: r2 }));
41
+ }
42
+ r(() => w2.jsonObject, (e3) => {
43
+ y.value && O();
44
+ }, { deep: true }), n(() => {
45
+ o(() => {
46
+ O();
47
+ });
48
+ });
49
+ const S = l.define({ combine: (e3) => e3.some((e4) => e4) }), k = m.transactionFilter.of((e3) => e3.isUserEvent && e3.docChanged && e3.state.facet(S) ? { changes: { from: e3.changes.from, to: e3.changes.to, insert: e3.startState.doc.sliceString(e3.changes.from, e3.changes.to) } } : e3);
50
+ return (e3, t2) => (c(), i("div", { style: { width: "100%" }, ref_key: "cfCodemirrorJsonViewRef", ref: b, id: "cf-codemirror-view-json" }, null, 512));
51
+ } });
2
52
  export {
3
- e as default
53
+ w as default
4
54
  };
@@ -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,13 +1,13 @@
1
- import { ElInput as e, ElColorPicker as l, ElTooltip as o, ElFormItem as t } from "element-plus/es";
1
+ import { ElFormItem as e, ElInput as l, ElTooltip as o, ElColorPicker as t } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/form-item/style/css";
4
4
  import "element-plus/es/components/tooltip/style/css";
5
5
  import "element-plus/es/components/color-picker/style/css";
6
6
  import "element-plus/es/components/input/style/css";
7
- import { defineComponent as s, openBlock as p, createElementBlock as n, Fragment as r, createVNode as m, withCtx as a, createElementVNode as u } from "vue";
7
+ import { defineComponent as s, createElementBlock as p, openBlock as n, Fragment as r, createVNode as m, withCtx as a, createElementVNode as u } from "vue";
8
8
  const i = { style: { position: "absolute", right: "0" } }, d = s({ __name: "node-base-config", props: { properties: { type: Object, default: () => ({}) } }, setup: (s2, { expose: d2 }) => (d2({}), (d3, c) => {
9
- const f = e, y = l, V = o, b = t;
10
- return p(), n(r, null, [m(b, { label: "别名:" }, { default: a(() => [m(f, { modelValue: s2.properties.name, "onUpdate:modelValue": c[0] || (c[0] = (e2) => s2.properties.name = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), m(V, { effect: "dark", content: "主题颜色", placement: "top" }, { default: a(() => [u("span", i, [m(y, { modelValue: s2.properties.backgroundColor, "onUpdate:modelValue": c[1] || (c[1] = (e2) => s2.properties.backgroundColor = e2) }, null, 8, ["modelValue"])])]), _: 1 })]), _: 1 }), m(b, { label: "功能描述:" }, { default: a(() => [m(f, { modelValue: s2.properties.description, "onUpdate:modelValue": c[2] || (c[2] = (e2) => s2.properties.description = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"])]), _: 1 })], 64);
9
+ const f = l, y = t, V = o, b = e;
10
+ return n(), p(r, null, [m(b, { label: "别名:" }, { default: a(() => [m(f, { modelValue: s2.properties.name, "onUpdate:modelValue": c[0] || (c[0] = (e2) => s2.properties.name = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), m(V, { effect: "dark", content: "主题颜色", placement: "top" }, { default: a(() => [u("span", i, [m(y, { modelValue: s2.properties.backgroundColor, "onUpdate:modelValue": c[1] || (c[1] = (e2) => s2.properties.backgroundColor = e2) }, null, 8, ["modelValue"])])]), _: 1 })]), _: 1 }), m(b, { label: "功能描述:" }, { default: a(() => [m(f, { modelValue: s2.properties.description, "onUpdate:modelValue": c[2] || (c[2] = (e2) => s2.properties.description = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"])]), _: 1 })], 64);
11
11
  }) });
12
12
  export {
13
13
  d as default
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  sql: {
3
3
  type: StringConstructor;
4
4
  default: any;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  "update:modelValue": (...args: any[]) => void;
16
16
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
17
  sql: {
@@ -26,11 +26,11 @@ declare const _default: import('vue').DefineComponent<{
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
- }>> & {
29
+ }>> & Readonly<{
30
30
  "onUpdate:modelValue"?: (...args: any[]) => any;
31
- }, {
31
+ }>, {
32
32
  modelValue: boolean;
33
33
  appendToBody: boolean;
34
34
  sql: string;
35
- }, {}>;
35
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
36
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { ElDialog as e } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/dialog/style/css";
4
- import { defineComponent as l, ref as o, watch as t, openBlock as a, createBlock as s, withCtx as p, createVNode as u } from "vue";
4
+ import { defineComponent as l, ref as o, watch as t, createBlock as a, openBlock as s, withCtx as p, createVNode as u } from "vue";
5
5
  import n from "./sql-view.vue2.js";
6
6
  const d = l({ name: "SqlViewDialog", inheritAttrs: false, __name: "sql-view-dialog", props: { sql: { type: String, default: null }, appendToBody: { type: Boolean, default: true }, modelValue: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(l2, { emit: d2 }) {
7
7
  const m = l2, i = d2, r = o(false);
@@ -13,7 +13,7 @@ const d = l({ name: "SqlViewDialog", inheritAttrs: false, __name: "sql-view-dial
13
13
  };
14
14
  return (o2, t2) => {
15
15
  const d3 = e;
16
- return a(), s(d3, { modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e2) => r.value = e2), "append-to-body": l2.appendToBody, title: "SQL预览", width: "600", onClose: y }, { default: p(() => [u(n, { sql: l2.sql, height: 400 }, null, 8, ["sql"])]), _: 1 }, 8, ["modelValue", "append-to-body"]);
16
+ return s(), a(d3, { modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e2) => r.value = e2), "append-to-body": l2.appendToBody, title: "SQL预览", width: "600", onClose: y }, { default: p(() => [u(n, { sql: l2.sql, height: 400 }, null, 8, ["sql"])]), _: 1 }, 8, ["modelValue", "append-to-body"]);
17
17
  };
18
18
  } });
19
19
  export {
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  sql: {
3
3
  type: StringConstructor;
4
4
  default: any;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  type: StringConstructor;
12
12
  default: any;
13
13
  };
14
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
15
  sql: {
16
16
  type: StringConstructor;
17
17
  default: any;
@@ -24,9 +24,9 @@ declare const _default: import('vue').DefineComponent<{
24
24
  type: StringConstructor;
25
25
  default: any;
26
26
  };
27
- }>>, {
27
+ }>> & Readonly<{}>, {
28
28
  height: number;
29
29
  theme: string;
30
30
  sql: string;
31
- }, {}>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
32
  export default _default;
@@ -1,12 +1,11 @@
1
- import { defineComponent as e, ref as t, onMounted as o, nextTick as n, watch as i, openBlock as r, createElementBlock as l } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as o, nextTick as n, watch as i, createElementBlock as r, openBlock as l } from "vue";
2
2
  import { EditorView as u, basicSetup as m } from "codemirror";
3
3
  import { sql as s } from "@codemirror/lang-sql";
4
4
  import { Facet as a, EditorState as c } from "@codemirror/state";
5
5
  const f = e({ name: "SqlView", inheritAttrs: false, __name: "sql-view", props: { sql: { type: String, default: null }, height: { type: Number, default: 0 }, theme: { type: String, default: null } }, setup(e2) {
6
6
  const f2 = e2, d = t(null), p = t(), h = t("400px");
7
7
  function v() {
8
- if (d.value && d.value.destroy(), f2.height)
9
- h.value = f2.height + "px";
8
+ if (d.value && d.value.destroy(), f2.height) h.value = f2.height + "px";
10
9
  else if (p.value) {
11
10
  const e4 = p.value.getBoundingClientRect();
12
11
  (e4.y || 0 === e4.y) && (h.value = window.innerHeight - e4.y - 100 + "px");
@@ -27,7 +26,7 @@ const f = e({ name: "SqlView", inheritAttrs: false, __name: "sql-view", props: {
27
26
  v();
28
27
  });
29
28
  const g = a.define({ combine: (e3) => e3.some((e4) => e4) });
30
- return (e3, t2) => (r(), l("div", { style: { width: "100%" }, ref_key: "cfCodemirrorJsonViewRef", ref: p, id: "cf-codemirror-view-json" }, null, 512));
29
+ return (e3, t2) => (l(), r("div", { style: { width: "100%" }, ref_key: "cfCodemirrorJsonViewRef", ref: p, id: "cf-codemirror-view-json" }, null, 512));
31
30
  } });
32
31
  export {
33
32
  f as default
@@ -1,5 +1,5 @@
1
1
  declare function setSelectOptions(): void;
2
- declare const _default: import('vue').DefineComponent<{
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
3
  modelValue: {
4
4
  type: StringConstructor[];
5
5
  default: any;
@@ -70,9 +70,9 @@ declare const _default: import('vue').DefineComponent<{
70
70
  type: StringConstructor;
71
71
  default: string;
72
72
  };
73
- }, {
73
+ }>, {
74
74
  setSelectOptions: typeof setSelectOptions;
75
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
75
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
76
76
  "update:modelValue": (...args: any[]) => void;
77
77
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
78
78
  modelValue: {
@@ -145,9 +145,9 @@ declare const _default: import('vue').DefineComponent<{
145
145
  type: StringConstructor;
146
146
  default: string;
147
147
  };
148
- }>> & {
148
+ }>> & Readonly<{
149
149
  "onUpdate:modelValue"?: (...args: any[]) => any;
150
- }, {
150
+ }>, {
151
151
  size: string;
152
152
  modelValue: string;
153
153
  placeholder: string;
@@ -158,5 +158,5 @@ declare const _default: import('vue').DefineComponent<{
158
158
  customInputTypes: any[];
159
159
  customOptions: Record<string, any>;
160
160
  showFileUpload: boolean;
161
- }, {}>;
161
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
162
162
  export default _default;