service-flow-designer 2.3.21-flow1 → 2.3.22-flow1-tmp1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/designer/common/components/datatable-select.vue.mjs +7 -0
- package/dist/es/designer/common/components/datatable-select.vue2.mjs +78 -0
- package/dist/es/designer/common/components/file-upload.vue.mjs +7 -0
- package/dist/es/designer/common/components/file-upload.vue2.mjs +35 -0
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.mjs +24 -0
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.mjs +4 -0
- package/dist/es/designer/common/components/json-view/json-view.vue.mjs +56 -0
- package/dist/es/designer/common/components/json-view/json-view.vue2.mjs +4 -0
- package/dist/es/designer/common/components/node-base-config.vue.mjs +15 -0
- package/dist/es/designer/common/components/node-base-config.vue2.mjs +4 -0
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.mjs +23 -0
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue2.mjs +4 -0
- package/dist/es/designer/common/components/sql-view/sql-view.vue.mjs +4 -0
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.mjs +35 -0
- package/dist/es/designer/common/components/value-set-input/index.mjs +4 -0
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.mjs +7 -0
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.mjs +135 -0
- package/dist/es/designer/desginer-index.vue.mjs +7 -0
- package/dist/es/designer/desginer-index.vue2.mjs +60 -0
- package/dist/es/designer/flow/base/{AbLogicNodeModel.js → AbLogicNodeModel.mjs} +1 -1
- package/dist/es/designer/flow/base/{AbLogicResizeNodeModel.js → AbLogicResizeNodeModel.mjs} +10 -10
- package/dist/es/designer/service-components/base/end-node/{index.js → index.mjs} +12 -10
- package/dist/es/designer/service-components/base/end-node/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/base/end-node/index.vue3.mjs +7 -0
- package/dist/es/designer/service-components/base/loop-node/index.mjs +8 -0
- package/dist/es/designer/service-components/base/start-node/{index.js → index.mjs} +9 -7
- package/dist/es/designer/service-components/base/start-node/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/base/start-node/index.vue3.mjs +7 -0
- package/dist/es/designer/service-components/components-icons.mjs +11 -0
- package/dist/es/designer/service-components/computation/sort/config.vue.mjs +7 -0
- package/dist/es/designer/service-components/computation/sort/config.vue2.mjs +60 -0
- package/dist/es/designer/service-components/computation/sort/index.mjs +19 -0
- package/dist/es/designer/service-components/computation/sort/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/computation/sort/index.vue3.mjs +14 -0
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.mjs +102 -0
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.mjs +36 -0
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.mjs +4 -0
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.mjs +43 -0
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.mjs +4 -0
- package/dist/es/designer/service-components/database/{regular-query/index.js → aggregate-query/index.mjs} +11 -9
- package/dist/es/designer/service-components/database/aggregate-query/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/index.vue3.mjs +27 -0
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.mjs +28 -0
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.mjs +4 -0
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.mjs +29 -0
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.mjs +4 -0
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.mjs +105 -0
- package/dist/es/designer/service-components/database/dynamic-sql/index.mjs +19 -0
- package/dist/es/designer/service-components/database/dynamic-sql/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.mjs +14 -0
- package/dist/es/designer/service-components/database/regular-query/config.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/regular-query/config.vue2.mjs +80 -0
- package/dist/es/designer/service-components/database/{aggregate-query/index.js → regular-query/index.mjs} +11 -9
- package/dist/es/designer/service-components/database/regular-query/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/database/regular-query/index.vue3.mjs +27 -0
- package/dist/es/designer/service-components/index.mjs +45 -0
- package/dist/es/designer/service-components/service/common/cookie-data.vue.mjs +27 -0
- package/dist/es/designer/service-components/service/common/cookie-data.vue2.mjs +4 -0
- package/dist/es/designer/service-components/service/common/form-data.vue.mjs +29 -0
- package/dist/es/designer/service-components/service/common/form-data.vue2.mjs +4 -0
- package/dist/es/designer/service-components/service/common/header-data.vue.mjs +27 -0
- package/dist/es/designer/service-components/service/common/header-data.vue2.mjs +4 -0
- package/dist/es/designer/service-components/service/common/json-data.vue.mjs +7 -0
- package/dist/es/designer/service-components/service/common/json-data.vue2.mjs +27 -0
- package/dist/es/designer/service-components/service/common/param-config.vue.mjs +7 -0
- package/dist/es/designer/service-components/service/common/param-config.vue2.mjs +33 -0
- package/dist/es/designer/service-components/service/common/query-params.vue.mjs +27 -0
- package/dist/es/designer/service-components/service/common/query-params.vue2.mjs +4 -0
- package/dist/es/designer/service-components/service/common/raw-data.vue.mjs +32 -0
- package/dist/es/designer/service-components/service/common/raw-data.vue2.mjs +4 -0
- package/dist/es/designer/service-components/service/custom-bean/config.vue.mjs +4 -0
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.mjs +20 -0
- package/dist/es/designer/service-components/service/custom-bean/index.mjs +19 -0
- package/dist/es/designer/service-components/service/custom-bean/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/service/custom-bean/index.vue3.mjs +14 -0
- package/dist/es/designer/service-components/service/http-service/config.vue.mjs +7 -0
- package/dist/es/designer/service-components/service/http-service/config.vue2.mjs +37 -0
- package/dist/es/designer/service-components/service/http-service/index.mjs +19 -0
- package/dist/es/designer/service-components/service/http-service/{index.vue.js → index.vue2.mjs} +2 -2
- package/dist/es/designer/service-components/service/http-service/index.vue3.mjs +14 -0
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.mjs +58 -0
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.mjs +4 -0
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.mjs +22 -0
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.mjs +4 -0
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.mjs +58 -0
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.mjs +4 -0
- package/dist/es/designer/service-flow-view/{flow-util.js → flow-util.mjs} +7 -7
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.mjs +7 -0
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.mjs +44 -0
- package/dist/es/designer/service-flow-view/service-node-config.vue.mjs +7 -0
- package/dist/es/designer/service-flow-view/service-node-config.vue2.mjs +39 -0
- package/dist/es/designer/service-flow-view/service-params.vue.mjs +73 -0
- package/dist/es/designer/service-flow-view/service-params.vue2.mjs +4 -0
- package/dist/es/designer/service-flow-view/service-result.vue.mjs +70 -0
- package/dist/es/designer/service-flow-view/service-result.vue2.mjs +4 -0
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.mjs +54 -0
- package/dist/es/designer/service-flow-view/service-test/request-params.vue2.mjs +4 -0
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.mjs +81 -0
- package/dist/es/designer/service-flow-view/service-test/service-test.vue2.mjs +4 -0
- package/dist/es/designer/service-flow-view/service-update-log.vue.mjs +7 -0
- package/dist/es/designer/service-flow-view/service-update-log.vue2.mjs +49 -0
- package/dist/es/designer/service-flow-view/view-index.vue.mjs +7 -0
- package/dist/es/designer/service-flow-view/view-index.vue2.mjs +130 -0
- package/dist/es/designer/service-panel/component-panel.vue.mjs +7 -0
- package/dist/es/designer/service-panel/component-panel.vue2.mjs +23 -0
- package/dist/es/designer/service-panel/service-list.vue.mjs +7 -0
- package/dist/es/designer/service-panel/service-list.vue2.mjs +104 -0
- package/dist/es/designer/service-panel/service-panel.vue.mjs +7 -0
- package/dist/es/designer/service-panel/service-panel.vue2.mjs +45 -0
- package/dist/es/index.mjs +4 -0
- package/dist/es/stores/page-store.mjs +32 -0
- package/dist/es/style.css +46 -46
- package/dist/es/utils/{common-util.js → common-util.mjs} +51 -52
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +6 -0
- package/dist/lib/assets/icon/aggregateQuery.svg.cjs +2 -0
- package/dist/lib/assets/icon/base.png.cjs +2 -0
- package/dist/lib/assets/icon/dynamicSql.svg.cjs +2 -0
- package/dist/lib/assets/icon/end.png.cjs +2 -0
- package/dist/lib/assets/icon/end.svg.cjs +2 -0
- package/dist/lib/assets/icon/http-service.svg.cjs +2 -0
- package/dist/lib/assets/icon/regularQuery.svg.cjs +2 -0
- package/dist/lib/assets/icon/sort.svg.cjs +2 -0
- package/dist/lib/assets/icon/start.png.cjs +2 -0
- package/dist/lib/assets/icon/vardef-v.png.cjs +2 -0
- package/dist/lib/designer/common/components/database-select.vue.d.ts +20 -0
- package/dist/lib/designer/common/components/datatable-select.vue.cjs +5 -0
- package/dist/lib/designer/common/components/datatable-select.vue.d.ts +38 -0
- package/dist/lib/designer/common/components/datatable-select.vue2.cjs +61 -0
- package/dist/lib/designer/common/components/file-upload.vue.cjs +5 -0
- package/dist/lib/designer/common/components/file-upload.vue.d.ts +20 -0
- package/dist/lib/designer/common/components/file-upload.vue2.cjs +24 -0
- package/dist/lib/designer/common/components/json-view/index.d.ts +4 -0
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.cjs +18 -0
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.d.ts +36 -0
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue2.cjs +3 -0
- package/dist/lib/designer/common/components/json-view/json-view.vue.cjs +50 -0
- package/dist/lib/designer/common/components/json-view/json-view.vue.d.ts +32 -0
- package/dist/lib/designer/common/components/json-view/json-view.vue2.cjs +3 -0
- package/dist/lib/designer/common/components/node-base-config.vue.cjs +8 -0
- package/dist/lib/designer/common/components/node-base-config.vue.d.ts +14 -0
- package/dist/lib/designer/common/components/node-base-config.vue2.cjs +3 -0
- package/dist/lib/designer/common/components/sql-view/index.d.ts +4 -0
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.cjs +17 -0
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +36 -0
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue2.cjs +3 -0
- package/dist/lib/designer/common/components/sql-view/sql-view.vue.cjs +3 -0
- package/dist/lib/designer/common/components/sql-view/sql-view.vue.d.ts +32 -0
- package/dist/lib/designer/common/components/sql-view/sql-view.vue2.cjs +30 -0
- package/dist/lib/designer/common/components/value-set-input/index.cjs +3 -0
- package/dist/lib/designer/common/components/value-set-input/index.d.ts +3 -0
- package/dist/lib/designer/common/components/value-set-input/option.cjs +6 -0
- package/dist/lib/designer/common/components/value-set-input/option.d.ts +12 -0
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.cjs +5 -0
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.d.ts +162 -0
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue2.cjs +112 -0
- package/dist/lib/designer/common/types/common-type.d.ts +18 -0
- package/dist/lib/designer/common/types/select.d.ts +7 -0
- package/dist/lib/designer/common/util/node-util.cjs +28 -0
- package/dist/lib/designer/common/util/node-util.d.ts +27 -0
- package/dist/lib/designer/desginer-index.vue.cjs +5 -0
- package/dist/lib/designer/desginer-index.vue.d.ts +14 -0
- package/dist/lib/designer/desginer-index.vue2.cjs +29 -0
- package/dist/lib/designer/flow/base/AbLogicNode.cjs +23 -0
- package/dist/lib/designer/flow/base/AbLogicNode.d.ts +11 -0
- package/dist/lib/designer/flow/base/AbLogicNodeModel.cjs +38 -0
- package/dist/lib/designer/flow/base/AbLogicNodeModel.d.ts +14 -0
- package/dist/lib/designer/flow/base/AbLogicResizeNode.cjs +23 -0
- package/dist/lib/designer/flow/base/AbLogicResizeNode.d.ts +11 -0
- package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.cjs +24 -0
- package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.d.ts +9 -0
- package/dist/lib/designer/flow/base/index.d.ts +6 -0
- package/dist/lib/designer/flow/edge/CustomLine.cjs +23 -0
- package/dist/lib/designer/flow/edge/CustomLine.d.ts +25 -0
- package/dist/lib/designer/service-components/base/custom-function/index.d.ts +14 -0
- package/dist/lib/designer/service-components/base/custom-function/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/base/end-node/index.cjs +37 -0
- package/dist/lib/designer/service-components/base/end-node/index.d.ts +19 -0
- package/dist/lib/designer/service-components/base/end-node/index.vue.d.ts +8 -0
- package/dist/lib/designer/service-components/base/end-node/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/base/end-node/index.vue3.cjs +4 -0
- package/dist/lib/designer/service-components/base/judge-condition/index.d.ts +16 -0
- package/dist/lib/designer/service-components/base/judge-condition/index.vue.d.ts +36 -0
- package/dist/lib/designer/service-components/base/loop-node/index.cjs +6 -0
- package/dist/lib/designer/service-components/base/loop-node/index.d.ts +42 -0
- package/dist/lib/designer/service-components/base/loop-node/index.vue.d.ts +8 -0
- package/dist/lib/designer/service-components/base/notification/index.d.ts +14 -0
- package/dist/lib/designer/service-components/base/notification/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/base/start-node/index.cjs +37 -0
- package/dist/lib/designer/service-components/base/start-node/index.d.ts +19 -0
- package/dist/lib/designer/service-components/base/start-node/index.vue.d.ts +8 -0
- package/dist/lib/designer/service-components/base/start-node/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/base/start-node/index.vue3.cjs +4 -0
- package/dist/lib/designer/service-components/components-icons.cjs +3 -0
- package/dist/lib/designer/service-components/components-icons.d.ts +18 -0
- package/dist/lib/designer/service-components/computation/clean/index.d.ts +14 -0
- package/dist/lib/designer/service-components/computation/clean/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/computation/connect/index.d.ts +14 -0
- package/dist/lib/designer/service-components/computation/connect/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/computation/sort/config.vue.cjs +5 -0
- package/dist/lib/designer/service-components/computation/sort/config.vue.d.ts +23 -0
- package/dist/lib/designer/service-components/computation/sort/config.vue2.cjs +43 -0
- package/dist/lib/designer/service-components/computation/sort/index.cjs +13 -0
- package/dist/lib/designer/service-components/computation/sort/index.d.ts +14 -0
- package/dist/lib/designer/service-components/computation/sort/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/computation/sort/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/computation/sort/index.vue3.cjs +8 -0
- package/dist/lib/designer/service-components/computation/split-joint/index.d.ts +14 -0
- package/dist/lib/designer/service-components/computation/split-joint/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/computation/statistics/index.d.ts +14 -0
- package/dist/lib/designer/service-components/computation/statistics/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue.d.ts +58 -0
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue2.cjs +74 -0
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +57 -0
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.cjs +22 -0
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +57 -0
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.cjs +27 -0
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +53 -0
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/database/aggregate-query/index.cjs +20 -0
- package/dist/lib/designer/service-components/database/aggregate-query/index.d.ts +19 -0
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue.d.ts +36 -0
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue3.cjs +20 -0
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.cjs +15 -0
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +53 -0
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.cjs +15 -0
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +57 -0
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.d.ts +18 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue2.cjs +69 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/index.cjs +13 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/index.d.ts +14 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue3.cjs +8 -0
- package/dist/lib/designer/service-components/database/regular-query/config.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/regular-query/config.vue.d.ts +60 -0
- package/dist/lib/designer/service-components/database/regular-query/config.vue2.cjs +51 -0
- package/dist/lib/designer/service-components/database/regular-query/index.cjs +20 -0
- package/dist/lib/designer/service-components/database/regular-query/index.d.ts +19 -0
- package/dist/lib/designer/service-components/database/regular-query/index.vue.d.ts +36 -0
- package/dist/lib/designer/service-components/database/regular-query/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/database/regular-query/index.vue3.cjs +20 -0
- package/dist/lib/designer/service-components/index.cjs +18 -0
- package/dist/lib/designer/service-components/index.d.ts +19 -0
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.cjs +18 -0
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.d.ts +18 -0
- package/dist/lib/designer/service-components/service/common/cookie-data.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/service/common/form-data.vue.cjs +18 -0
- package/dist/lib/designer/service-components/service/common/form-data.vue.d.ts +22 -0
- package/dist/lib/designer/service-components/service/common/form-data.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/service/common/header-data.vue.cjs +18 -0
- package/dist/lib/designer/service-components/service/common/header-data.vue.d.ts +18 -0
- package/dist/lib/designer/service-components/service/common/header-data.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/service/common/json-data.vue.cjs +5 -0
- package/dist/lib/designer/service-components/service/common/json-data.vue.d.ts +18 -0
- package/dist/lib/designer/service-components/service/common/json-data.vue2.cjs +18 -0
- package/dist/lib/designer/service-components/service/common/param-config.vue.cjs +5 -0
- package/dist/lib/designer/service-components/service/common/param-config.vue.d.ts +18 -0
- package/dist/lib/designer/service-components/service/common/param-config.vue2.cjs +18 -0
- package/dist/lib/designer/service-components/service/common/query-params.vue.cjs +18 -0
- package/dist/lib/designer/service-components/service/common/query-params.vue.d.ts +18 -0
- package/dist/lib/designer/service-components/service/common/query-params.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/service/common/raw-data.vue.cjs +25 -0
- package/dist/lib/designer/service-components/service/common/raw-data.vue.d.ts +22 -0
- package/dist/lib/designer/service-components/service/common/raw-data.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/service/common/xml-data.vue.d.ts +21 -0
- package/dist/lib/designer/service-components/service/custom-bean/config.vue.cjs +3 -0
- package/dist/lib/designer/service-components/service/custom-bean/config.vue.d.ts +14 -0
- package/dist/lib/designer/service-components/service/custom-bean/config.vue2.cjs +10 -0
- package/dist/lib/designer/service-components/service/custom-bean/index.cjs +13 -0
- package/dist/lib/designer/service-components/service/custom-bean/index.d.ts +14 -0
- package/dist/lib/designer/service-components/service/custom-bean/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/service/custom-bean/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/service/custom-bean/index.vue3.cjs +8 -0
- package/dist/lib/designer/service-components/service/http-service/config.vue.cjs +5 -0
- package/dist/lib/designer/service-components/service/http-service/config.vue.d.ts +14 -0
- package/dist/lib/designer/service-components/service/http-service/config.vue2.cjs +15 -0
- package/dist/lib/designer/service-components/service/http-service/index.cjs +13 -0
- package/dist/lib/designer/service-components/service/http-service/index.d.ts +14 -0
- package/dist/lib/designer/service-components/service/http-service/index.vue.d.ts +20 -0
- package/dist/lib/designer/service-components/service/http-service/index.vue2.cjs +5 -0
- package/dist/lib/designer/service-components/service/http-service/index.vue3.cjs +8 -0
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.cjs +42 -0
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.d.ts +27 -0
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.cjs +15 -0
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.d.ts +27 -0
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.cjs +42 -0
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +27 -0
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue2.cjs +3 -0
- package/dist/lib/designer/service-components/util/common-options.cjs +8 -0
- package/dist/lib/designer/service-components/util/common-options.d.ts +36 -0
- package/dist/lib/designer/service-flow-view/flow-tool-util.cjs +31 -0
- package/dist/lib/designer/service-flow-view/flow-tool-util.d.ts +2 -0
- package/dist/lib/designer/service-flow-view/flow-util.cjs +48 -0
- package/dist/lib/designer/service-flow-view/flow-util.d.ts +55 -0
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue.cjs +5 -0
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue.d.ts +42 -0
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue2.cjs +26 -0
- package/dist/lib/designer/service-flow-view/service-node-config.vue.cjs +5 -0
- package/dist/lib/designer/service-flow-view/service-node-config.vue.d.ts +58 -0
- package/dist/lib/designer/service-flow-view/service-node-config.vue2.cjs +32 -0
- package/dist/lib/designer/service-flow-view/service-params.vue.cjs +50 -0
- package/dist/lib/designer/service-flow-view/service-params.vue.d.ts +18 -0
- package/dist/lib/designer/service-flow-view/service-params.vue2.cjs +3 -0
- package/dist/lib/designer/service-flow-view/service-result.vue.cjs +54 -0
- package/dist/lib/designer/service-flow-view/service-result.vue.d.ts +18 -0
- package/dist/lib/designer/service-flow-view/service-result.vue2.cjs +3 -0
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.cjs +39 -0
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.d.ts +16 -0
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue2.cjs +3 -0
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.cjs +60 -0
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.d.ts +56 -0
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue2.cjs +3 -0
- package/dist/lib/designer/service-flow-view/service-update-log.vue.cjs +5 -0
- package/dist/lib/designer/service-flow-view/service-update-log.vue.d.ts +41 -0
- package/dist/lib/designer/service-flow-view/service-update-log.vue2.cjs +33 -0
- package/dist/lib/designer/service-flow-view/view-index.vue.cjs +5 -0
- package/dist/lib/designer/service-flow-view/view-index.vue.d.ts +50 -0
- package/dist/lib/designer/service-flow-view/view-index.vue2.cjs +92 -0
- package/dist/lib/designer/service-panel/component-panel.vue.cjs +5 -0
- package/dist/lib/designer/service-panel/component-panel.vue.d.ts +6 -0
- package/dist/lib/designer/service-panel/component-panel.vue2.cjs +13 -0
- package/dist/lib/designer/service-panel/service-list.vue.cjs +5 -0
- package/dist/lib/designer/service-panel/service-list.vue.d.ts +22 -0
- package/dist/lib/designer/service-panel/service-list.vue2.cjs +83 -0
- package/dist/lib/designer/service-panel/service-panel.vue.cjs +5 -0
- package/dist/lib/designer/service-panel/service-panel.vue.d.ts +35 -0
- package/dist/lib/designer/service-panel/service-panel.vue2.cjs +18 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.cjs +3 -0
- package/dist/lib/index.d.ts +3 -0
- package/dist/lib/stores/page-store.cjs +28 -0
- package/dist/lib/stores/page-store.d.ts +23 -0
- package/dist/lib/style.css +1280 -0
- package/dist/lib/utils/common-util.cjs +111 -0
- package/dist/lib/utils/common-util.d.ts +22 -0
- package/dist/umd/favicon.ico +0 -0
- package/dist/umd/index.full.min.js +3632 -0
- package/dist/umd/style.css +1280 -0
- package/package.json +12 -16
- package/dist/es/designer/common/components/datatable-select.vue.js +0 -7
- package/dist/es/designer/common/components/datatable-select.vue2.js +0 -76
- package/dist/es/designer/common/components/file-upload.vue.js +0 -7
- package/dist/es/designer/common/components/file-upload.vue2.js +0 -33
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +0 -22
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.js +0 -4
- package/dist/es/designer/common/components/json-view/json-view.vue.js +0 -54
- package/dist/es/designer/common/components/json-view/json-view.vue2.js +0 -4
- package/dist/es/designer/common/components/node-base-config.vue.js +0 -14
- package/dist/es/designer/common/components/node-base-config.vue2.js +0 -4
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.js +0 -21
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue2.js +0 -4
- package/dist/es/designer/common/components/sql-view/sql-view.vue.js +0 -4
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +0 -33
- package/dist/es/designer/common/components/value-set-input/index.js +0 -4
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +0 -7
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +0 -131
- package/dist/es/designer/desginer-index.vue.js +0 -7
- package/dist/es/designer/desginer-index.vue2.js +0 -37
- package/dist/es/designer/service-components/base/end-node/index.vue2.js +0 -6
- package/dist/es/designer/service-components/base/loop-node/index.js +0 -8
- package/dist/es/designer/service-components/base/start-node/index.vue2.js +0 -6
- package/dist/es/designer/service-components/components-icons.js +0 -11
- package/dist/es/designer/service-components/computation/sort/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/sort/config.vue2.js +0 -57
- package/dist/es/designer/service-components/computation/sort/index.js +0 -17
- package/dist/es/designer/service-components/computation/sort/index.vue2.js +0 -12
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +0 -7
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +0 -100
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +0 -33
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.js +0 -4
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +0 -39
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.js +0 -4
- package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +0 -24
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +0 -25
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.js +0 -4
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +0 -26
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.js +0 -4
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +0 -7
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +0 -102
- package/dist/es/designer/service-components/database/dynamic-sql/index.js +0 -17
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +0 -12
- package/dist/es/designer/service-components/database/regular-query/config.vue.js +0 -7
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +0 -77
- package/dist/es/designer/service-components/database/regular-query/index.vue2.js +0 -24
- package/dist/es/designer/service-components/index.js +0 -44
- package/dist/es/designer/service-components/service/common/cookie-data.vue.js +0 -25
- package/dist/es/designer/service-components/service/common/cookie-data.vue2.js +0 -4
- package/dist/es/designer/service-components/service/common/form-data.vue.js +0 -27
- package/dist/es/designer/service-components/service/common/form-data.vue2.js +0 -4
- package/dist/es/designer/service-components/service/common/header-data.vue.js +0 -25
- package/dist/es/designer/service-components/service/common/header-data.vue2.js +0 -4
- package/dist/es/designer/service-components/service/common/json-data.vue.js +0 -7
- package/dist/es/designer/service-components/service/common/json-data.vue2.js +0 -25
- package/dist/es/designer/service-components/service/common/param-config.vue.js +0 -7
- package/dist/es/designer/service-components/service/common/param-config.vue2.js +0 -31
- package/dist/es/designer/service-components/service/common/query-params.vue.js +0 -25
- package/dist/es/designer/service-components/service/common/query-params.vue2.js +0 -4
- package/dist/es/designer/service-components/service/common/raw-data.vue.js +0 -30
- package/dist/es/designer/service-components/service/common/raw-data.vue2.js +0 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue.js +0 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +0 -18
- package/dist/es/designer/service-components/service/custom-bean/index.js +0 -17
- package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +0 -12
- package/dist/es/designer/service-components/service/http-service/config.vue.js +0 -7
- package/dist/es/designer/service-components/service/http-service/config.vue2.js +0 -35
- package/dist/es/designer/service-components/service/http-service/index.js +0 -17
- package/dist/es/designer/service-components/service/http-service/index.vue2.js +0 -12
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +0 -55
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.js +0 -4
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +0 -20
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.js +0 -4
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +0 -55
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.js +0 -4
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +0 -7
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +0 -40
- package/dist/es/designer/service-flow-view/service-node-config.vue.js +0 -7
- package/dist/es/designer/service-flow-view/service-node-config.vue2.js +0 -36
- package/dist/es/designer/service-flow-view/service-params.vue.js +0 -70
- package/dist/es/designer/service-flow-view/service-params.vue2.js +0 -4
- package/dist/es/designer/service-flow-view/service-result.vue.js +0 -67
- package/dist/es/designer/service-flow-view/service-result.vue2.js +0 -4
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +0 -53
- package/dist/es/designer/service-flow-view/service-test/request-params.vue2.js +0 -4
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +0 -79
- package/dist/es/designer/service-flow-view/service-test/service-test.vue2.js +0 -4
- package/dist/es/designer/service-flow-view/service-update-log.vue.js +0 -7
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +0 -47
- package/dist/es/designer/service-flow-view/view-index.vue.js +0 -7
- package/dist/es/designer/service-flow-view/view-index.vue2.js +0 -107
- package/dist/es/designer/service-panel/component-panel.vue.js +0 -7
- package/dist/es/designer/service-panel/component-panel.vue2.js +0 -20
- package/dist/es/designer/service-panel/service-list.vue.js +0 -7
- package/dist/es/designer/service-panel/service-list.vue2.js +0 -100
- package/dist/es/designer/service-panel/service-panel.vue.js +0 -7
- package/dist/es/designer/service-panel/service-panel.vue2.js +0 -21
- package/dist/es/index.js +0 -4
- package/dist/es/stores/page-store.js +0 -30
- /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
- /package/dist/es/assets/icon/{aggregateQuery.svg.js → aggregateQuery.svg.mjs} +0 -0
- /package/dist/es/assets/icon/{base.png.js → base.png.mjs} +0 -0
- /package/dist/es/assets/icon/{dynamicSql.svg.js → dynamicSql.svg.mjs} +0 -0
- /package/dist/es/assets/icon/{end.png.js → end.png.mjs} +0 -0
- /package/dist/es/assets/icon/{end.svg.js → end.svg.mjs} +0 -0
- /package/dist/es/assets/icon/{http-service.svg.js → http-service.svg.mjs} +0 -0
- /package/dist/es/assets/icon/{regularQuery.svg.js → regularQuery.svg.mjs} +0 -0
- /package/dist/es/assets/icon/{sort.svg.js → sort.svg.mjs} +0 -0
- /package/dist/es/assets/icon/{start.png.js → start.png.mjs} +0 -0
- /package/dist/es/assets/icon/{vardef-v.png.js → vardef-v.png.mjs} +0 -0
- /package/dist/es/designer/common/components/value-set-input/{option.js → option.mjs} +0 -0
- /package/dist/es/designer/common/util/{node-util.js → node-util.mjs} +0 -0
- /package/dist/es/designer/flow/base/{AbLogicNode.js → AbLogicNode.mjs} +0 -0
- /package/dist/es/designer/flow/base/{AbLogicResizeNode.js → AbLogicResizeNode.mjs} +0 -0
- /package/dist/es/designer/flow/edge/{CustomLine.js → CustomLine.mjs} +0 -0
- /package/dist/es/designer/service-components/util/{common-options.js → common-options.mjs} +0 -0
- /package/dist/es/designer/service-flow-view/{flow-tool-util.js → flow-tool-util.mjs} +0 -0
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ElMessage as e, ElForm as l, ElFormItem as a, ElInput as t, ElButton as o, ElCheckbox as s, ElAlert as r, ElTable as p, ElTableColumn as i, ElSelect as n, ElOption as d, ElTooltip as u, ElRadioGroup as m, ElRadio as c, ElDivider as b } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/form/style/css";
|
|
4
|
-
import "element-plus/es/components/divider/style/css";
|
|
5
|
-
import "element-plus/es/components/radio-group/style/css";
|
|
6
|
-
import "element-plus/es/components/radio/style/css";
|
|
7
|
-
import "element-plus/es/components/table/style/css";
|
|
8
|
-
import "element-plus/es/components/tooltip/style/css";
|
|
9
|
-
import "element-plus/es/components/select/style/css";
|
|
10
|
-
import "element-plus/es/components/option/style/css";
|
|
11
|
-
import "element-plus/es/components/table-column/style/css";
|
|
12
|
-
import "element-plus/es/components/alert/style/css";
|
|
13
|
-
import "element-plus/es/components/form-item/style/css";
|
|
14
|
-
import "element-plus/es/components/input/style/css";
|
|
15
|
-
import "element-plus/es/components/button/style/css";
|
|
16
|
-
import "element-plus/es/components/checkbox/style/css";
|
|
17
|
-
import { defineComponent as y, ref as f, onMounted as V, createElementBlock as v, openBlock as h, createVNode as w, withCtx as g, createElementVNode as k, unref as _, createTextVNode as U, createBlock as x, toDisplayString as T, Fragment as z, renderList as C, createCommentVNode as $ } from "vue";
|
|
18
|
-
import { Search as D, View as S, Minus as j, Plus as E } from "@element-plus/icons-vue";
|
|
19
|
-
import { getLabel as O, sqlOperators as I, logicOperators as q } from "../../util/common-options.js";
|
|
20
|
-
import B from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
21
|
-
import { getBaseUrl as N } from "../../../../utils/common-util.js";
|
|
22
|
-
import A from "agilebuilder-ui/src/utils/request";
|
|
23
|
-
import F from "../../../common/components/datatable-select.vue.js";
|
|
24
|
-
import { useServiceFlowStore as P } from "../../../../stores/page-store.js";
|
|
25
|
-
import M from "../../../common/components/node-base-config.vue.js";
|
|
26
|
-
import "codemirror";
|
|
27
|
-
import "@codemirror/lang-sql";
|
|
28
|
-
import "@codemirror/state";
|
|
29
|
-
import J from "../../../common/components/sql-view/sql-view-dialog.vue.js";
|
|
30
|
-
import { getNodeRuntimeObject as L } from "../../../service-flow-view/flow-util.js";
|
|
31
|
-
import "element-plus/es/components/message/style/css";
|
|
32
|
-
const R = { style: { position: "absolute", right: "0" } }, G = { key: 0 }, H = { key: 0 }, K = { key: 0 }, Q = { key: 0 }, W = { key: 0 }, X = { key: 0 }, Y = { key: 0 }, Z = y({ __name: "config", props: { properties: { type: Object, default: () => ({ search: {}, noData: {}, result: {} }) }, logicFlowInstance: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(y2, { expose: Z2 }) {
|
|
33
|
-
var _a, _b;
|
|
34
|
-
const ee = P(), le = y2, ae = f(false), te = f(""), oe = f(false), se = f([]), re = f(ee.pageContext.systemCode);
|
|
35
|
-
((_a = le.properties) == null ? void 0 : _a.dataTableSystemCode) && (re.value = le.properties.dataTableSystemCode);
|
|
36
|
-
const pe = f(ee.pageContext.systemVersion);
|
|
37
|
-
((_b = le.properties) == null ? void 0 : _b.dataTableSystemVersion) && (pe.value = le.properties.dataTableSystemVersion), le.properties.search || (le.properties.search = {}), le.properties.noData || (le.properties.noData = {}), le.properties.result || (le.properties.result = {}), V(() => {
|
|
38
|
-
if (le.properties.dataTable && le.properties.dataTable !== ee.pageContext.tableName) {
|
|
39
|
-
const l2 = window.$vueApp.config.globalProperties.baseAPI;
|
|
40
|
-
if (!le.properties.dataTableSystemVersion) return void e.warning("未获取到数据表对应的版本。请重新选择数据表");
|
|
41
|
-
A.get(l2 + "/mms/data-tables/table-columns?tableName=" + le.properties.dataTable).then((e2) => {
|
|
42
|
-
se.value = e2;
|
|
43
|
-
});
|
|
44
|
-
} else se.value = ee.pageContext.modelFields;
|
|
45
|
-
});
|
|
46
|
-
const ie = (e2, l2, a2) => {
|
|
47
|
-
e2.$editing = true;
|
|
48
|
-
}, ne = (e2, l2, a2) => {
|
|
49
|
-
"sort" === a2 ? le.properties.sort.splice(e2, 1) : "search" === a2 && le.properties.search.conditions.splice(e2, 1);
|
|
50
|
-
}, de = (e2) => {
|
|
51
|
-
le.properties.dataTable = e2.dataTable.name, le.properties.dataTableSystemCode = e2.system.code, le.properties.dataTableSystemVersion = e2.system.publishVersion, A.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns?tableName=" + e2.dataTable.name).then((e3) => {
|
|
52
|
-
se.value = e3;
|
|
53
|
-
});
|
|
54
|
-
}, ue = (e2) => {
|
|
55
|
-
e2 || (le.properties.dataTable = "", se.value = ee.pageContext.modelFields);
|
|
56
|
-
};
|
|
57
|
-
function me() {
|
|
58
|
-
te.value = "";
|
|
59
|
-
const e2 = L(le.logicFlowInstance.getNodeModelById(le.currentNode.data.id), le.service);
|
|
60
|
-
e2.props = JSON.parse(JSON.stringify(le.properties));
|
|
61
|
-
const l2 = N(le.pageContext.backendUrl, le.pageContext.isTest);
|
|
62
|
-
A.post(l2 + "/dsc/service-flow/test/database-node/show-sql", e2).then((e3) => {
|
|
63
|
-
ae.value = true, te.value = e3;
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
return Z2({ onClose: () => (le.properties.search.conditions && le.properties.search.conditions.forEach((e2) => {
|
|
67
|
-
e2.$editing && delete e2.$editing;
|
|
68
|
-
}), le.properties.sort && le.properties.sort.forEach((e2) => {
|
|
69
|
-
e2.$editing && delete e2.$editing;
|
|
70
|
-
}), le.properties) }), (e2, f2) => {
|
|
71
|
-
const V2 = s, N2 = o, A2 = t, P2 = a, L2 = r, Z3 = i, ee2 = d, ce = n, be = u, ye = p, fe = c, Ve = m, ve = b, he = l;
|
|
72
|
-
return h(), v("div", null, [w(he, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [w(M, { properties: y2.properties }, null, 8, ["properties"]), w(P2, { label: "" }, { label: g((e3) => [w(V2, { onChange: ue, modelValue: y2.properties.specifyDataTable, "onUpdate:modelValue": f2[0] || (f2[0] = (e4) => y2.properties.specifyDataTable = e4), label: "指定数据表", style: { width: "100px" } }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: !y2.properties.specifyDataTable, modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => y2.properties.dataTable = e3), readonly: "", style: { width: "85%" } }, { append: g(() => [w(N2, { type: "default", icon: _(D), onClick: f2[1] || (f2[1] = (e3) => oe.value = !oe.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), k("span", R, [w(N2, { type: "primary", icon: _(S), onClick: me }, { default: g(() => [...f2[19] || (f2[19] = [U("预览sql", -1)])]), _: 1 }, 8, ["icon"])]), w(F, { visible: oe.value, "onUpdate:visible": f2[3] || (f2[3] = (e3) => oe.value = e3), modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => y2.properties.dataTable = e3), systemCode: re.value, systemVersion: pe.value, onSelect: de }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), w(L2, { title: "查询条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.search.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "(((" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l2) => e3.row.leftBracket = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "", value: "" }), w(ee2, { label: "(", value: "(" }), w(ee2, { label: "((", value: "((" }), w(ee2, { label: "(((", value: "(((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", G, T(e3.row.leftBracket), 1))]), _: 1 }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(se.value, (e4) => (h(), x(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", H, T(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "type", label: "比较" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.operator, "onUpdate:modelValue": (l2) => e3.row.operator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(_(I), (e4) => (h(), x(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", K, T(_(O)(e3.row.operator, _(I))), 1))]), _: 1 }), w(Z3, { prop: "value", label: "值", width: "150" }, { default: g((e3) => [w(_(B), { customInputTypes: ["data"], showLabel: !e3.row.$editing, size: "small", modelValue: e3.row.value, "onUpdate:modelValue": (l2) => e3.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), w(Z3, { prop: "rightBracket", label: ")))" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l2) => e3.row.rightBracket = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "", value: "" }), w(ee2, { label: ")", value: ")" }), w(ee2, { label: "))", value: "))" }), w(ee2, { label: ")))", value: ")))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", Q, T(e3.row.rightBracket), 1))]), _: 1 }), w(Z3, { prop: "logicOperator", label: "连接符" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.logicOperator, "onUpdate:modelValue": (l2) => e3.row.logicOperator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(_(q), (e4) => (h(), x(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", W, T(_(O)(e3.row.logicOperator, _(q))), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(N2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[5] || (f2[5] = (e3) => (le.properties.search.conditions || (le.properties.search.conditions = []), void le.properties.search.conditions.push({ prop: "", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [k("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(N2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "search") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.pageEnable, "onUpdate:modelValue": f2[6] || (f2[6] = (e4) => y2.properties.search.pageEnable = e4), label: "分页(offset)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.pageEnable ? (h(), x(_(B), { key: 0, modelValue: y2.properties.search.page, "onUpdate:modelValue": f2[7] || (f2[7] = (e3) => y2.properties.search.page = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页信息" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.limitEnable, "onUpdate:modelValue": f2[8] || (f2[8] = (e4) => y2.properties.search.limitEnable = e4), label: "限制数量(limit)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.limitEnable ? (h(), x(_(B), { key: 0, modelValue: y2.properties.search.limit, "onUpdate:modelValue": f2[9] || (f2[9] = (e3) => y2.properties.search.limit = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页大小" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.totalEnable, "onUpdate:modelValue": f2[10] || (f2[10] = (e4) => y2.properties.search.totalEnable = e4), label: "设置总条数到变量" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.totalEnable ? (h(), x(_(B), { key: 0, customInputTypes: ["data"], size: "small", modelValue: y2.properties.search.total, "onUpdate:modelValue": f2[11] || (f2[11] = (e3) => y2.properties.search.total = e3) }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(L2, { title: "排序设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.sort, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(se.value, (e4) => (h(), x(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", X, T(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "order", label: "排序方式" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.order, "onUpdate:modelValue": (l2) => e3.row.order = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "升序", value: "asc" }), w(ee2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", Y, T(e3.row.order), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(N2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[12] || (f2[12] = (e3) => (le.properties.sort || (le.properties.sort = []), void le.properties.sort.push({ prop: "", order: "asc", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [k("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(N2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "sort") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(L2, { title: "查询结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(Ve, { modelValue: y2.properties.result.valueSetScope, "onUpdate:modelValue": f2[13] || (f2[13] = (e3) => y2.properties.result.valueSetScope = e3), class: "ml-4" }, { default: g(() => [w(fe, { value: "first" }, { default: g(() => [...f2[20] || (f2[20] = [U("仅第一条", -1)])]), _: 1 }), w(fe, { value: "all" }, { default: g(() => [...f2[21] || (f2[21] = [U(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "设置到:", style: { width: "100%" } }, { default: g(() => [w(_(B), { paramTypes: ["task", "data", "service"], size: "small", inputSize: "default", modelValue: y2.properties.result.setTo, "onUpdate:modelValue": f2[14] || (f2[14] = (e3) => y2.properties.result.setTo = e3) }, null, 8, ["modelValue"])]), _: 1 }), w(L2, { title: "对象不存在时", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[15] || (f2[15] = (e3) => y2.properties.noData.action = e3), value: " ", style: { width: "150px" } }, { default: g(() => [...f2[22] || (f2[22] = [U(" 继续 ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[16] || (f2[16] = (e4) => y2.properties.noData.action = e4), value: "throwException", label: "无数据时抛异常" }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: "throwException" !== y2.properties.noData.action, modelValue: y2.properties.noData.exceptionMessage, "onUpdate:modelValue": f2[17] || (f2[17] = (e3) => y2.properties.noData.exceptionMessage = e3), placeholder: "自定义异常消息" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), w(ve)]), _: 1 }), w(_(J), { sql: te.value, "model-value": ae.value, "onUpdate:modelValue": f2[18] || (f2[18] = (e3) => ae.value = e3) }, null, 8, ["sql", "model-value"])]);
|
|
73
|
-
};
|
|
74
|
-
} });
|
|
75
|
-
export {
|
|
76
|
-
Z as default
|
|
77
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ElDivider as e } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/divider/style/css";
|
|
4
|
-
import { defineComponent as t, ref as l, onMounted as r, createElementBlock as s, openBlock as o, createElementVNode as n, normalizeStyle as p, createVNode as i, toDisplayString as a, Fragment as u, renderList as d } from "vue";
|
|
5
|
-
import m from "../../../../assets/icon/vardef-v.png.js";
|
|
6
|
-
const c = { class: "serviceflow-nodeTitle" }, f = { class: "serviceflow-nodeContent" }, v = t({ __name: "index", props: { graphModel: { type: Object, default: () => ({}) }, model: { type: Object, default: () => ({}) }, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup(t2, { emit: v2 }) {
|
|
7
|
-
const h = t2, g = l([]), b = l([]);
|
|
8
|
-
return r(() => {
|
|
9
|
-
h.graphModel.modelToGraphData().nodes.forEach((e2, t3) => {
|
|
10
|
-
b.value.push({ id: e2.id, name: e2.properties.name });
|
|
11
|
-
}), b.value.push({ id: "end", name: "结束" }), h.properties && h.properties.rules && h.properties.rules.length > 0 && h.properties.rules.forEach((e2, t3) => {
|
|
12
|
-
g.value.push(e2.name + "->" + function(e3) {
|
|
13
|
-
if ("end" === e3) return "结束";
|
|
14
|
-
for (let t4 = 0; t4 < b.value.length; t4++) if (b.value[t4].id == e3) return b.value[t4].name;
|
|
15
|
-
}(e2.to));
|
|
16
|
-
});
|
|
17
|
-
}), (l2, r2) => {
|
|
18
|
-
const v3 = e;
|
|
19
|
-
return o(), s("div", null, [r2[1] || (r2[1] = n("img", { src: m, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), n("div", { class: "serviceflow-nodeView", style: p({ backgroundColor: t2.properties.backgroundColor }) }, [n("div", c, a(t2.properties.name ? t2.properties.name : "条件判断"), 1), i(v3), n("div", f, [(o(true), s(u, null, d(g.value, (e2) => (o(), s("div", null, [n("span", null, a(e2), 1), r2[0] || (r2[0] = n("br", null, null, -1))]))), 256))])], 4)]);
|
|
20
|
-
};
|
|
21
|
-
} });
|
|
22
|
-
export {
|
|
23
|
-
v as default
|
|
24
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import e from "./base/start-node/index.js";
|
|
2
|
-
import o from "./base/end-node/index.js";
|
|
3
|
-
import "./base/loop-node/index.js";
|
|
4
|
-
import "@logicflow/core";
|
|
5
|
-
import "@logicflow/extension";
|
|
6
|
-
import { defineAsyncComponent as n } from "vue";
|
|
7
|
-
import "../flow/base/AbLogicResizeNodeModel.js";
|
|
8
|
-
import "../flow/base/AbLogicResizeNode.js";
|
|
9
|
-
import "element-plus/es";
|
|
10
|
-
import "element-plus/es/components/base/style/css";
|
|
11
|
-
import "element-plus/es/components/divider/style/css";
|
|
12
|
-
/* empty css */
|
|
13
|
-
/* empty css */
|
|
14
|
-
import i from "./database/regular-query/index.js";
|
|
15
|
-
import t from "./database/aggregate-query/index.js";
|
|
16
|
-
import r from "./database/dynamic-sql/index.js";
|
|
17
|
-
/* empty css */
|
|
18
|
-
/* empty css */
|
|
19
|
-
/* empty css */
|
|
20
|
-
/* empty css */
|
|
21
|
-
/* empty css */
|
|
22
|
-
import s from "./computation/sort/index.js";
|
|
23
|
-
import a from "./service/http-service/index.js";
|
|
24
|
-
import c from "./service/custom-bean/index.js";
|
|
25
|
-
import m from "./components-icons.js";
|
|
26
|
-
const p = [{ type: "start", label: "开始", nodeAndView: e, configComponent: null, icon: void 0 }], d = [{ name: "base", label: "基本", icon: m.baseIcon, items: [{ type: "end", label: "结束", icon: m.endIcon, nodeAndView: o, configComponent: null }] }, { name: "database", label: "数据库", icon: m.baseIcon, items: [{ type: "regularQuery", label: "普通查询", icon: m.regularQueryIcon, nodeAndView: i, configComponent: n(() => import("./database/regular-query/config.vue.js")) }, { type: "aggregateQuery", label: "汇总查询", drawerWidth: "60%", icon: m.aggregateQueryIcon, nodeAndView: t, configComponent: n(() => import("./database/aggregate-query/config.vue.js")) }, { type: "dynamicSql", label: "动态SQL", drawerWidth: "60%", icon: m.dynamicSqlIcon, nodeAndView: r, configComponent: n(() => import("./database/dynamic-sql/config.vue.js")) }] }, { name: "computation", label: "计算", icon: m.baseIcon, items: [{ type: "computationSort", label: "排序", icon: m.computationSortIcon, nodeAndView: s, drawerWidth: "50%", configComponent: n(() => import("./computation/sort/config.vue.js")) }] }, { name: "service", label: "服务", icon: m.baseIcon, items: [{ type: "httpService", label: "http服务", drawerWidth: "60%", icon: m.httpServiceIcon, nodeAndView: a, configComponent: n(() => import("./service/http-service/config.vue.js")) }, { type: "customBean", label: "自定义bean", drawerWidth: "50%", icon: m.httpServiceIcon, nodeAndView: c, configComponent: n(() => import("./service/custom-bean/config.vue.js")) }] }];
|
|
27
|
-
function l(e2) {
|
|
28
|
-
for (let o2 of d) {
|
|
29
|
-
let n2 = o2.items.find((o3) => o3.type === e2);
|
|
30
|
-
if (n2) return n2;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function u(e2) {
|
|
34
|
-
for (let o2 of d) {
|
|
35
|
-
let n2 = o2.items.find((o3) => o3.type === e2);
|
|
36
|
-
if (n2) return n2;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export {
|
|
40
|
-
u as getConfigByType,
|
|
41
|
-
l as getServiceNodeByType,
|
|
42
|
-
p as initNodes,
|
|
43
|
-
d as serviceComponentGroups
|
|
44
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElTable as e, ElTableColumn as l, ElInput as o, ElButton as a } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/table/style/css";
|
|
4
|
-
import "element-plus/es/components/button/style/css";
|
|
5
|
-
import "element-plus/es/components/table-column/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import { defineComponent as t, createBlock as n, openBlock as s, withCtx as m, createVNode as u, unref as p, createTextVNode as d } from "vue";
|
|
8
|
-
import r from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
9
|
-
const i = t({ __name: "cookie-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { emit: i2 }) {
|
|
10
|
-
const c = i2, V = t2;
|
|
11
|
-
V.modelValue || c("update:modelValue", []);
|
|
12
|
-
const f = () => {
|
|
13
|
-
V.modelValue.push({ name: "", value: "", description: "" });
|
|
14
|
-
};
|
|
15
|
-
return (i3, c2) => {
|
|
16
|
-
const v = o, y = l, _ = a, b = e;
|
|
17
|
-
return s(), n(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [u(y, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [u(p(r), { size: "small", paramTypes: ["service", "value"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { align: "center", width: "70" }, { header: m(() => [u(_, { type: "primary", size: "small", onClick: f, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [d("添加 ", -1)])]), _: 1 })]), default: m((e2) => [u(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
|
-
return o2 = e2.$index, e2.row, void V.modelValue.splice(o2, 1);
|
|
19
|
-
var o2;
|
|
20
|
-
} }, { default: m(() => [...c2[1] || (c2[1] = [d(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
21
|
-
};
|
|
22
|
-
} });
|
|
23
|
-
export {
|
|
24
|
-
i as default
|
|
25
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ElTable as e, ElTableColumn as l, ElInput as o, ElSelect as a, ElOption as t, ElButton as s } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/table/style/css";
|
|
4
|
-
import "element-plus/es/components/button/style/css";
|
|
5
|
-
import "element-plus/es/components/table-column/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import "element-plus/es/components/select/style/css";
|
|
8
|
-
import "element-plus/es/components/option/style/css";
|
|
9
|
-
import { defineComponent as p, createBlock as m, createCommentVNode as n, openBlock as r, withCtx as d, createVNode as u, unref as i, createTextVNode as c } from "vue";
|
|
10
|
-
import V from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
11
|
-
const y = p({ __name: "form-data", props: { modelValue: { type: Array, default: () => ({ content: [] }) } }, emits: ["update:modelValue"], setup(p2, { expose: y2, emit: f }) {
|
|
12
|
-
const w = f, v = p2;
|
|
13
|
-
v.modelValue || w("update:modelValue", []);
|
|
14
|
-
const b = () => {
|
|
15
|
-
v.modelValue.push({ name: "", value: "", paramType: "TEXT", description: "" });
|
|
16
|
-
};
|
|
17
|
-
return y2({}), (y3, f2) => {
|
|
18
|
-
const w2 = t, _ = a, T = o, U = l, h = s, k = e;
|
|
19
|
-
return Array.isArray(p2.modelValue) ? (r(), m(k, { key: 0, data: p2.modelValue, border: "", size: "small" }, { default: d(() => [u(U, { prop: "name", label: "参数名", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, { append: d(() => [u(_, { size: "small", modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: d(() => [u(w2, { label: "Text", value: "TEXT" }), u(w2, { label: "File", value: "FILE" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "prop", label: "值", align: "center" }, { default: d((e2) => [u(i(V), { size: "small", paramTypes: ["service", "data", "fixed"], showFileUpload: "FILE" === e2.row.paramType, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showFileUpload", "modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "description", label: "说明", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { align: "center", width: "70" }, { header: d(() => [u(h, { type: "primary", size: "small", onClick: b, link: "" }, { default: d(() => [...f2[0] || (f2[0] = [c("添加 ", -1)])]), _: 1 })]), default: d((e2) => [u(h, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
20
|
-
return o2 = e2.$index, e2.row, void v.modelValue.splice(o2, 1);
|
|
21
|
-
var o2;
|
|
22
|
-
} }, { default: d(() => [...f2[1] || (f2[1] = [c(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
23
|
-
};
|
|
24
|
-
} });
|
|
25
|
-
export {
|
|
26
|
-
y as default
|
|
27
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElTable as e, ElTableColumn as l, ElInput as o, ElButton as a } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/table/style/css";
|
|
4
|
-
import "element-plus/es/components/button/style/css";
|
|
5
|
-
import "element-plus/es/components/table-column/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import { defineComponent as t, createBlock as s, openBlock as n, withCtx as m, createVNode as p, unref as u, createTextVNode as d } from "vue";
|
|
8
|
-
import r from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
9
|
-
const i = t({ __name: "header-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: i2, emit: c }) {
|
|
10
|
-
const V = c, f = t2;
|
|
11
|
-
f.modelValue || V("update:modelValue", []);
|
|
12
|
-
const y = () => {
|
|
13
|
-
f.modelValue.push({ name: "", value: "", description: "" });
|
|
14
|
-
};
|
|
15
|
-
return i2({}), (i3, c2) => {
|
|
16
|
-
const V2 = o, v = l, _ = a, b = e;
|
|
17
|
-
return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(r), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { align: "center", width: "70" }, { header: m(() => [p(_, { type: "primary", size: "small", onClick: y, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [d("添加 ", -1)])]), _: 1 })]), default: m((e2) => [p(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
|
-
return o2 = e2.$index, e2.row, void f.modelValue.splice(o2, 1);
|
|
19
|
-
var o2;
|
|
20
|
-
} }, { default: m(() => [...c2[1] || (c2[1] = [d(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
21
|
-
};
|
|
22
|
-
} });
|
|
23
|
-
export {
|
|
24
|
-
i as default
|
|
25
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElTable as e, ElTableColumn as l, ElInput as a, ElButton as o } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/table/style/css";
|
|
4
|
-
import "element-plus/es/components/button/style/css";
|
|
5
|
-
import "element-plus/es/components/table-column/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import { defineComponent as t, createBlock as s, createCommentVNode as n, openBlock as m, withCtx as r, createVNode as u, unref as p, createTextVNode as d } from "vue";
|
|
8
|
-
import i from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
9
|
-
const c = t({ __name: "json-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: c2, emit: V }) {
|
|
10
|
-
const y = V, f = t2;
|
|
11
|
-
f.modelValue && Array.isArray(f.modelValue) || y("update:modelValue", []);
|
|
12
|
-
const v = () => {
|
|
13
|
-
f.modelValue.push({ name: "", value: "", description: "" });
|
|
14
|
-
};
|
|
15
|
-
return c2({}), (c3, V2) => {
|
|
16
|
-
const y2 = a, _ = l, b = o, w = e;
|
|
17
|
-
return Array.isArray(t2.modelValue) ? (m(), s(w, { key: 0, data: t2.modelValue, border: "", size: "small" }, { default: r(() => [u(_, { prop: "name", label: "参数名", align: "center" }, { default: r((e2) => [u(y2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(_, { prop: "prop", label: "值", align: "center" }, { default: r((e2) => [u(p(i), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(_, { prop: "description", label: "说明", align: "center" }, { default: r((e2) => [u(y2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(_, { align: "center", width: "70" }, { header: r(() => [u(b, { type: "primary", size: "small", onClick: v, link: "" }, { default: r(() => [...V2[0] || (V2[0] = [d("添加 ", -1)])]), _: 1 })]), default: r((e2) => [u(b, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
|
-
return a2 = e2.$index, e2.row, void f.modelValue.splice(a2, 1);
|
|
19
|
-
var a2;
|
|
20
|
-
} }, { default: r(() => [...V2[1] || (V2[1] = [d(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
21
|
-
};
|
|
22
|
-
} });
|
|
23
|
-
export {
|
|
24
|
-
c as default
|
|
25
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ElRadioGroup as e, ElRadio as l, ElSelect as o, ElOption as a, ElEmpty as t, ElFormItem as m } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/form-item/style/css";
|
|
4
|
-
import "element-plus/es/components/empty/style/css";
|
|
5
|
-
import "element-plus/es/components/select/style/css";
|
|
6
|
-
import "element-plus/es/components/option/style/css";
|
|
7
|
-
import "element-plus/es/components/radio-group/style/css";
|
|
8
|
-
import "element-plus/es/components/radio/style/css";
|
|
9
|
-
import { defineComponent as d, ref as n, onMounted as s, createElementBlock as u, openBlock as r, Fragment as p, createVNode as i, createBlock as c, createCommentVNode as y, withCtx as f, createTextVNode as V, createElementVNode as b } from "vue";
|
|
10
|
-
import v from "./form-data.vue.js";
|
|
11
|
-
import w from "./json-data.vue.js";
|
|
12
|
-
import T from "../../../common/components/file-upload.vue.js";
|
|
13
|
-
import "codemirror";
|
|
14
|
-
import "@codemirror/lang-xml";
|
|
15
|
-
import "@codemirror/state";
|
|
16
|
-
import _ from "./raw-data.vue.js";
|
|
17
|
-
const x = d({ __name: "param-config", props: { modelValue: { type: Object, default: () => ({ bodyType: "none" }) } }, setup(d2, { expose: x2 }) {
|
|
18
|
-
const j = d2, g = n(), z = (e2) => {
|
|
19
|
-
j.modelValue.mediaType = U(e2), j.modelValue.content = "formData" === e2 || "formUrlencoded" === e2 || "json" === e2 ? [] : "raw" === e2 ? "" : {};
|
|
20
|
-
}, U = (e2) => "formData" === e2 ? "multipart/form-data" : "formUrlencoded" === e2 ? "application/x-www-form-urlencoded" : "json" === e2 || "raw" === e2 ? "application/json" : "binary" === e2 ? "application/octet-stream" : "", k = (e2) => {
|
|
21
|
-
g.value && g.value.loadEditor();
|
|
22
|
-
};
|
|
23
|
-
return s(() => {
|
|
24
|
-
}), x2({}), (n2, s2) => {
|
|
25
|
-
const x3 = l, j2 = e, U2 = a, h = o, D = t, S = m;
|
|
26
|
-
return r(), u(p, null, [i(j2, { modelValue: d2.modelValue.bodyType, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => d2.modelValue.bodyType = e2), style: { "margin-bottom": "10px" }, onChange: z }, { default: f(() => [i(x3, { value: "none", size: "small" }, { default: f(() => [...s2[6] || (s2[6] = [V("none", -1)])]), _: 1 }), i(x3, { value: "formData", size: "small" }, { default: f(() => [...s2[7] || (s2[7] = [V("form-data", -1)])]), _: 1 }), i(x3, { value: "formUrlencoded", size: "small" }, { default: f(() => [...s2[8] || (s2[8] = [V("x-www-form-urlencoded", -1)])]), _: 1 }), i(x3, { value: "json", size: "small" }, { default: f(() => [...s2[9] || (s2[9] = [V("json", -1)])]), _: 1 }), i(x3, { value: "raw", size: "small" }, { default: f(() => [...s2[10] || (s2[10] = [V("raw", -1)])]), _: 1 }), i(x3, { value: "binary", size: "small" }, { default: f(() => [...s2[11] || (s2[11] = [V("binary", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "raw" === d2.modelValue.bodyType ? (r(), c(h, { key: 0, size: "small", modelValue: d2.modelValue.mediaType, "onUpdate:modelValue": s2[1] || (s2[1] = (e2) => d2.modelValue.mediaType = e2), onChange: k, style: { "margin-left": "10px", width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: f(() => [i(U2, { size: "small", label: "TEXT", value: "text/plain" }), i(U2, { size: "small", label: "JSON", value: "application/json" }), i(U2, { size: "small", label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])) : y("", true), "none" === d2.modelValue.bodyType ? (r(), c(D, { key: 1, description: "不需要请求体", style: { border: "1px solid #dcdfe6" } }, { image: f(() => [...s2[12] || (s2[12] = [b("span", null, null, -1)])]), _: 1 })) : "formData" === d2.modelValue.bodyType || "formUrlencoded" === d2.modelValue.bodyType ? (r(), c(S, { key: 2, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(v, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[2] || (s2[2] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "json" === d2.modelValue.bodyType ? (r(), c(S, { key: 3, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(w, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[3] || (s2[3] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "binary" === d2.modelValue.bodyType ? (r(), c(T, { key: 4, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[4] || (s2[4] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])) : "raw" === d2.modelValue.bodyType ? (r(), c(S, { key: 5, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(_, { ref_key: "rawDataRef", ref: g, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[5] || (s2[5] = (e2) => d2.modelValue.content = e2), httpSerivceBody: d2.modelValue }, null, 8, ["modelValue", "httpSerivceBody"])]), _: 1 })) : y("", true)], 64);
|
|
27
|
-
};
|
|
28
|
-
} });
|
|
29
|
-
export {
|
|
30
|
-
x as default
|
|
31
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElTable as e, ElTableColumn as l, ElInput as o, ElButton as a } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/table/style/css";
|
|
4
|
-
import "element-plus/es/components/button/style/css";
|
|
5
|
-
import "element-plus/es/components/table-column/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import { defineComponent as t, createBlock as s, openBlock as n, withCtx as m, createVNode as p, unref as u, createTextVNode as r } from "vue";
|
|
8
|
-
import d from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
9
|
-
const i = t({ __name: "query-params", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: i2, emit: c }) {
|
|
10
|
-
const V = c, f = t2;
|
|
11
|
-
f.modelValue || V("update:modelValue", []);
|
|
12
|
-
const y = () => {
|
|
13
|
-
f.modelValue.push({ name: "", value: "", description: "" });
|
|
14
|
-
};
|
|
15
|
-
return i2({}), (i3, c2) => {
|
|
16
|
-
const V2 = o, v = l, _ = a, b = e;
|
|
17
|
-
return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(d), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { align: "center", width: "70" }, { header: m(() => [p(_, { type: "primary", size: "small", onClick: y, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [r("添加 ", -1)])]), _: 1 })]), default: m((e2) => [p(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
|
-
return o2 = e2.$index, e2.row, void f.modelValue.splice(o2, 1);
|
|
19
|
-
var o2;
|
|
20
|
-
} }, { default: m(() => [...c2[1] || (c2[1] = [r(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
21
|
-
};
|
|
22
|
-
} });
|
|
23
|
-
export {
|
|
24
|
-
i as default
|
|
25
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, onMounted as e, ref as o, createElementBlock as r, openBlock as n } from "vue";
|
|
2
|
-
import { EditorView as i, basicSetup as c } from "codemirror";
|
|
3
|
-
import { json as d } from "@codemirror/lang-json";
|
|
4
|
-
import { xml as a } from "@codemirror/lang-xml";
|
|
5
|
-
import { EditorState as m } from "@codemirror/state";
|
|
6
|
-
const p = { style: { minHeight: "400px", maxHeight: "700px", width: "100%", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror-json" }, u = t({ __name: "raw-data", props: { httpSerivceBody: { type: Object, default: () => ({}) } }, emits: ["update:modelValue"], setup(t2, { expose: u2, emit: l }) {
|
|
7
|
-
const s = t2, f = l;
|
|
8
|
-
e(() => {
|
|
9
|
-
s.httpSerivceBody.content && "string" == typeof s.httpSerivceBody.content || f("update:modelValue", ""), y();
|
|
10
|
-
});
|
|
11
|
-
const h = o(null);
|
|
12
|
-
function y() {
|
|
13
|
-
h.value && h.value.destroy();
|
|
14
|
-
const t3 = v();
|
|
15
|
-
h.value = new i({ state: t3, parent: document.getElementById("cf-codemirror-json") });
|
|
16
|
-
}
|
|
17
|
-
function v() {
|
|
18
|
-
const t3 = i.theme({}), e2 = i.theme({ ".cm-content, .cm-gutter": { minHeight: "200px" }, "&": { height: "400px", maxHeight: "400px", fontSize: "12px" } });
|
|
19
|
-
return m.create({ doc: s.httpSerivceBody.content, extensions: [m.tabSize.of(16), c, x(), t3, e2, i.updateListener.of(function(t4) {
|
|
20
|
-
s.httpSerivceBody.content = t4.state.doc.toString();
|
|
21
|
-
})] });
|
|
22
|
-
}
|
|
23
|
-
const x = () => "application/xml" === s.httpSerivceBody.mediaType ? a() : "application/json" === s.httpSerivceBody.mediaType ? d() : [];
|
|
24
|
-
return u2({ updateEditor: () => {
|
|
25
|
-
h.value && h.value.update(document.getElementById("cf-codemirror-json"), { state: v() });
|
|
26
|
-
}, loadEditor: y }), (t3, e2) => (n(), r("div", p));
|
|
27
|
-
} });
|
|
28
|
-
export {
|
|
29
|
-
u as default
|
|
30
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElForm as e, ElFormItem as t, ElInput as s, ElText as o, ElAlert as l } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/form/style/css";
|
|
4
|
-
import "element-plus/es/components/alert/style/css";
|
|
5
|
-
import "element-plus/es/components/form-item/style/css";
|
|
6
|
-
import "element-plus/es/components/text/style/css";
|
|
7
|
-
import "element-plus/es/components/input/style/css";
|
|
8
|
-
import { defineComponent as p, createBlock as m, openBlock as n, withCtx as r, createVNode as a, createTextVNode as i, unref as u } from "vue";
|
|
9
|
-
import c from "../../../common/components/node-base-config.vue.js";
|
|
10
|
-
import d from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
11
|
-
import "@element-plus/icons-vue";
|
|
12
|
-
const f = p({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, setup: (p2, { expose: f2 }) => (f2({}), (f3, b) => {
|
|
13
|
-
const y = s, v = o, x = t, V = l, _ = e;
|
|
14
|
-
return n(), m(_, { "label-width": "auto", "label-position": "left" }, { default: r(() => [a(c, { properties: p2.properties }, null, 8, ["properties"]), a(x, { label: "Bean名称:" }, { default: r(() => [a(y, { modelValue: p2.properties.beanName, "onUpdate:modelValue": b[0] || (b[0] = (e2) => p2.properties.beanName = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), a(v, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: r(() => [...b[2] || (b[2] = [i(" 说明:自定义bean需实现cn.ambitionq.serivceflow.core.ServiceNodeHandler接口重写execute方法 ", -1)])]), _: 1 })]), _: 1 }), a(V, { title: "输出设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), a(x, { label: "设置到:" }, { default: r(() => [a(u(d), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: p2.properties.resultSet, "onUpdate:modelValue": b[1] || (b[1] = (e2) => p2.properties.resultSet = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
|
|
15
|
-
}) });
|
|
16
|
-
export {
|
|
17
|
-
f as default
|
|
18
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import e from "../../../flow/base/AbLogicNode.js";
|
|
2
|
-
import o from "../../../flow/base/AbLogicNodeModel.js";
|
|
3
|
-
import "../../../flow/base/AbLogicResizeNodeModel.js";
|
|
4
|
-
import "../../../flow/base/AbLogicResizeNode.js";
|
|
5
|
-
import { h as s, createApp as i } from "vue";
|
|
6
|
-
import t from "./index.vue.js";
|
|
7
|
-
const d = { type: "customBean", view: class extends e {
|
|
8
|
-
constructor(e2) {
|
|
9
|
-
super(e2), this.isMounted = false, this.r = s(t, { model: e2.model, graphModel: e2.graphModel, disabled: e2.graphModel.editConfigModel.isSilentMode, isSelected: e2.model.isSelected, isHovered: e2.model.isHovered, properties: e2.model.getProperties(), onBtnClick: (o2) => {
|
|
10
|
-
this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
|
|
11
|
-
} }), this.app = i({ render: () => this.r });
|
|
12
|
-
}
|
|
13
|
-
}, model: class extends o {
|
|
14
|
-
}, options: {} };
|
|
15
|
-
export {
|
|
16
|
-
d as default
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElDivider as e } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/divider/style/css";
|
|
4
|
-
import { defineComponent as s, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
|
|
5
|
-
import n from "../../../../assets/icon/vardef-v.png.js";
|
|
6
|
-
const c = { class: "serviceflow-nodeContent" }, m = s({ __name: "index", props: { graphModel: Object, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup: (s2, { emit: m2 }) => (m3, d) => {
|
|
7
|
-
const a = e;
|
|
8
|
-
return o(), t("div", null, [d[1] || (d[1] = i("img", { src: n, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), i("div", { class: "serviceflow-nodeView", style: r({ backgroundColor: s2.properties.backgroundColor }) }, [d[0] || (d[0] = i("div", { class: "serviceflow-nodeTitle" }, "服务-自定义bean", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
|
|
9
|
-
} });
|
|
10
|
-
export {
|
|
11
|
-
m as default
|
|
12
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/form/style/css";
|
|
4
|
-
import "element-plus/es/components/alert/style/css";
|
|
5
|
-
import "element-plus/es/components/tabs/style/css";
|
|
6
|
-
import "element-plus/es/components/tab-pane/style/css";
|
|
7
|
-
import "element-plus/es/components/form-item/style/css";
|
|
8
|
-
import "element-plus/es/components/input/style/css";
|
|
9
|
-
import "element-plus/es/components/select/style/css";
|
|
10
|
-
import "element-plus/es/components/option/style/css";
|
|
11
|
-
import "element-plus/es/components/divider/style/css";
|
|
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
|
-
import x from "../../../common/components/node-base-config.vue.js";
|
|
14
|
-
import { httpMethods as _, operatorsForNumber as C, logicOperators as U, operatorsForString as j } from "../../util/common-options.js";
|
|
15
|
-
import T from "../common/param-config.vue.js";
|
|
16
|
-
import S from "../common/query-params.vue.js";
|
|
17
|
-
import w from "../common/header-data.vue.js";
|
|
18
|
-
import O from "../common/cookie-data.vue.js";
|
|
19
|
-
import q from "./response-json-setting.vue.js";
|
|
20
|
-
import B from "./response-xml-setting.vue.js";
|
|
21
|
-
import M from "./response-text-setting.vue.js";
|
|
22
|
-
const z = { style: { position: "absolute", right: "10px" } }, P = u({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, setup(u2, { expose: P2 }) {
|
|
23
|
-
const E = u2;
|
|
24
|
-
E.properties.requestMethod || (E.properties.requestMethod = "GET", E.properties.responseContentType = "application/json"), E.properties.httpSerivceBody || (E.properties.httpSerivceBody = { mediaType: "none", content: null });
|
|
25
|
-
const X = i("body"), G = (e2, l2) => {
|
|
26
|
-
"cookies" === e2.name ? E.properties.cookies || (E.properties.cookies = []) : "headers" === e2.name && (E.properties.headers || (E.properties.headers = []));
|
|
27
|
-
};
|
|
28
|
-
return P2({}), (i2, P3) => {
|
|
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(" 返回值设置 ", -1)), 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
|
-
};
|
|
32
|
-
} });
|
|
33
|
-
export {
|
|
34
|
-
P as default
|
|
35
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import e from "../../../flow/base/AbLogicNode.js";
|
|
2
|
-
import o from "../../../flow/base/AbLogicNodeModel.js";
|
|
3
|
-
import "../../../flow/base/AbLogicResizeNodeModel.js";
|
|
4
|
-
import "../../../flow/base/AbLogicResizeNode.js";
|
|
5
|
-
import { h as s, createApp as i } from "vue";
|
|
6
|
-
import t from "./index.vue.js";
|
|
7
|
-
const d = { type: "httpService", view: class extends e {
|
|
8
|
-
constructor(e2) {
|
|
9
|
-
super(e2), this.isMounted = false, this.r = s(t, { model: e2.model, graphModel: e2.graphModel, disabled: e2.graphModel.editConfigModel.isSilentMode, isSelected: e2.model.isSelected, isHovered: e2.model.isHovered, properties: e2.model.getProperties(), onBtnClick: (o2) => {
|
|
10
|
-
this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
|
|
11
|
-
} }), this.app = i({ render: () => this.r });
|
|
12
|
-
}
|
|
13
|
-
}, model: class extends o {
|
|
14
|
-
}, options: {} };
|
|
15
|
-
export {
|
|
16
|
-
d as default
|
|
17
|
-
};
|