service-flow-designer 2.3.22-flow1 → 2.3.22-flow1-tmp1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/{option.js → option.mjs} +1 -1
- 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/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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElTable as e, ElInput as l, ElTableColumn as o, ElButton as t } 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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
8
|
+
import m from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
9
|
+
import { defineComponent as a, createBlock as s, openBlock as n, withCtx as u, createVNode as d, createTextVNode as r } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
10
|
+
import { unref as p } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
11
|
+
const i = a({ __name: "header-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(a2, { expose: i2, emit: c }) {
|
|
12
|
+
const _ = c, v = a2;
|
|
13
|
+
v.modelValue || _("update:modelValue", []);
|
|
14
|
+
const V = () => {
|
|
15
|
+
v.modelValue.push({ name: "", value: "", description: "" });
|
|
16
|
+
};
|
|
17
|
+
return i2({}), (i3, c2) => {
|
|
18
|
+
const _2 = l, y = o, f = t, b = e;
|
|
19
|
+
return n(), s(b, { data: a2.modelValue, border: "", size: "small" }, { default: u(() => [d(y, { prop: "name", label: "参数名", align: "center" }, { default: u((e2) => [d(_2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(y, { prop: "prop", label: "值", align: "center" }, { default: u((e2) => [d(p(m), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(y, { prop: "description", label: "说明", align: "center" }, { default: u((e2) => [d(_2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(y, { align: "center", width: "70" }, { header: u(() => [d(f, { type: "primary", size: "small", onClick: V, link: "" }, { default: u(() => c2[0] || (c2[0] = [r("添加 ", -1)])), _: 1, __: [0] })]), default: u((e2) => [d(f, { 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: u(() => c2[1] || (c2[1] = [r(" 删除 ", -1)])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
23
|
+
};
|
|
24
|
+
} });
|
|
25
|
+
export {
|
|
26
|
+
i as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElTable as e, ElTableColumn as l, ElInput as o, ElButton as t } 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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
8
|
+
import a from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
9
|
+
import { defineComponent as m, createBlock as s, createCommentVNode as n, openBlock as u, withCtx as r, createVNode as d, createTextVNode as p } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
10
|
+
import { unref as i } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
11
|
+
const c = m({ __name: "json-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(m2, { expose: c2, emit: _ }) {
|
|
12
|
+
const V = _, y = m2;
|
|
13
|
+
y.modelValue && Array.isArray(y.modelValue) || V("update:modelValue", []);
|
|
14
|
+
const v = () => {
|
|
15
|
+
y.modelValue.push({ name: "", value: "", description: "" });
|
|
16
|
+
};
|
|
17
|
+
return c2({}), (c3, _2) => {
|
|
18
|
+
const V2 = o, f = l, b = t, w = e;
|
|
19
|
+
return Array.isArray(m2.modelValue) ? (u(), s(w, { key: 0, data: m2.modelValue, border: "", size: "small" }, { default: r(() => [d(f, { prop: "name", label: "参数名", align: "center" }, { default: r((e2) => [d(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(f, { prop: "prop", label: "值", align: "center" }, { default: r((e2) => [d(i(a), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(f, { prop: "description", label: "说明", align: "center" }, { default: r((e2) => [d(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(f, { align: "center", width: "70" }, { header: r(() => [d(b, { type: "primary", size: "small", onClick: v, link: "" }, { default: r(() => _2[0] || (_2[0] = [p("添加 ", -1)])), _: 1, __: [0] })]), default: r((e2) => [d(b, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
20
|
+
return o2 = e2.$index, e2.row, void y.modelValue.splice(o2, 1);
|
|
21
|
+
var o2;
|
|
22
|
+
} }, { default: r(() => _2[1] || (_2[1] = [p(" 删除 ", -1)])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
23
|
+
};
|
|
24
|
+
} });
|
|
25
|
+
export {
|
|
26
|
+
c as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ElRadio as e, ElRadioGroup 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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
10
|
+
import d from "./form-data.vue.mjs";
|
|
11
|
+
import n from "./json-data.vue.mjs";
|
|
12
|
+
import s from "../../../common/components/file-upload.vue.mjs";
|
|
13
|
+
import "codemirror";
|
|
14
|
+
import "@codemirror/lang-xml";
|
|
15
|
+
import "@codemirror/state";
|
|
16
|
+
import u from "./raw-data.vue.mjs";
|
|
17
|
+
import { defineComponent as r, onMounted as p, createElementBlock as i, openBlock as c, createVNode as y, createBlock as f, createCommentVNode as V, withCtx as _, createTextVNode as b, createElementVNode as v, Fragment as w } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
18
|
+
import { ref as j } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
19
|
+
const T = r({ __name: "param-config", props: { modelValue: { type: Object, default: () => ({ bodyType: "none" }) } }, setup(r2, { expose: T2 }) {
|
|
20
|
+
const x = r2, g = j(), z = (e2) => {
|
|
21
|
+
x.modelValue.mediaType = U(e2), x.modelValue.content = "formData" === e2 || "formUrlencoded" === e2 || "json" === e2 ? [] : "raw" === e2 ? "" : {};
|
|
22
|
+
}, 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) => {
|
|
23
|
+
g.value && g.value.loadEditor();
|
|
24
|
+
};
|
|
25
|
+
return p(() => {
|
|
26
|
+
}), T2({}), (p2, j2) => {
|
|
27
|
+
const T3 = e, x2 = l, U2 = a, h = o, D = t, E = m;
|
|
28
|
+
return c(), i(w, null, [y(x2, { modelValue: r2.modelValue.bodyType, "onUpdate:modelValue": j2[0] || (j2[0] = (e2) => r2.modelValue.bodyType = e2), style: { "margin-bottom": "10px" }, onChange: z }, { default: _(() => [y(T3, { value: "none", size: "small" }, { default: _(() => j2[6] || (j2[6] = [b("none", -1)])), _: 1, __: [6] }), y(T3, { value: "formData", size: "small" }, { default: _(() => j2[7] || (j2[7] = [b("form-data", -1)])), _: 1, __: [7] }), y(T3, { value: "formUrlencoded", size: "small" }, { default: _(() => j2[8] || (j2[8] = [b("x-www-form-urlencoded", -1)])), _: 1, __: [8] }), y(T3, { value: "json", size: "small" }, { default: _(() => j2[9] || (j2[9] = [b("json", -1)])), _: 1, __: [9] }), y(T3, { value: "raw", size: "small" }, { default: _(() => j2[10] || (j2[10] = [b("raw", -1)])), _: 1, __: [10] }), y(T3, { value: "binary", size: "small" }, { default: _(() => j2[11] || (j2[11] = [b("binary", -1)])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"]), "raw" === r2.modelValue.bodyType ? (c(), f(h, { key: 0, size: "small", modelValue: r2.modelValue.mediaType, "onUpdate:modelValue": j2[1] || (j2[1] = (e2) => r2.modelValue.mediaType = e2), onChange: k, style: { "margin-left": "10px", width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: _(() => [y(U2, { size: "small", label: "TEXT", value: "text/plain" }), y(U2, { size: "small", label: "JSON", value: "application/json" }), y(U2, { size: "small", label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])) : V("", true), "none" === r2.modelValue.bodyType ? (c(), f(D, { key: 1, description: "不需要请求体", style: { border: "1px solid #dcdfe6" } }, { image: _(() => j2[12] || (j2[12] = [v("span", null, null, -1)])), _: 1 })) : "formData" === r2.modelValue.bodyType || "formUrlencoded" === r2.modelValue.bodyType ? (c(), f(E, { key: 2, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: _(() => [y(d, { modelValue: r2.modelValue.content, "onUpdate:modelValue": j2[2] || (j2[2] = (e2) => r2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "json" === r2.modelValue.bodyType ? (c(), f(E, { key: 3, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: _(() => [y(n, { modelValue: r2.modelValue.content, "onUpdate:modelValue": j2[3] || (j2[3] = (e2) => r2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "binary" === r2.modelValue.bodyType ? (c(), f(s, { key: 4, modelValue: r2.modelValue.content, "onUpdate:modelValue": j2[4] || (j2[4] = (e2) => r2.modelValue.content = e2) }, null, 8, ["modelValue"])) : "raw" === r2.modelValue.bodyType ? (c(), f(E, { key: 5, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: _(() => [y(u, { ref_key: "rawDataRef", ref: g, modelValue: r2.modelValue.content, "onUpdate:modelValue": j2[5] || (j2[5] = (e2) => r2.modelValue.content = e2), httpSerivceBody: r2.modelValue }, null, 8, ["modelValue", "httpSerivceBody"])]), _: 1 })) : V("", true)], 64);
|
|
29
|
+
};
|
|
30
|
+
} });
|
|
31
|
+
export {
|
|
32
|
+
T as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElTable as e, ElInput as l, ElTableColumn as o, ElButton as t } 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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
8
|
+
import m from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
9
|
+
import { defineComponent as s, createBlock as a, openBlock as n, withCtx as u, createVNode as r, createTextVNode as d } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
10
|
+
import { unref as p } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
11
|
+
const i = s({ __name: "query-params", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(s2, { expose: i2, emit: c }) {
|
|
12
|
+
const _ = c, v = s2;
|
|
13
|
+
v.modelValue || _("update:modelValue", []);
|
|
14
|
+
const V = () => {
|
|
15
|
+
v.modelValue.push({ name: "", value: "", description: "" });
|
|
16
|
+
};
|
|
17
|
+
return i2({}), (i3, c2) => {
|
|
18
|
+
const _2 = l, y = o, f = t, b = e;
|
|
19
|
+
return n(), a(b, { data: s2.modelValue, border: "", size: "small" }, { default: u(() => [r(y, { prop: "name", label: "参数名", align: "center" }, { default: u((e2) => [r(_2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(y, { prop: "prop", label: "值", align: "center" }, { default: u((e2) => [r(p(m), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(y, { prop: "description", label: "说明", align: "center" }, { default: u((e2) => [r(_2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(y, { align: "center", width: "70" }, { header: u(() => [r(f, { type: "primary", size: "small", onClick: V, link: "" }, { default: u(() => c2[0] || (c2[0] = [d("添加 ", -1)])), _: 1, __: [0] })]), default: u((e2) => [r(f, { 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: u(() => c2[1] || (c2[1] = [d(" 删除 ", -1)])), _: 2, __: [1] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
23
|
+
};
|
|
24
|
+
} });
|
|
25
|
+
export {
|
|
26
|
+
i as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
2
|
+
import { EditorView as e, basicSetup as t } from "codemirror";
|
|
3
|
+
import { json as o } from "@codemirror/lang-json";
|
|
4
|
+
import { xml as r } from "@codemirror/lang-xml";
|
|
5
|
+
import { EditorState as n } from "@codemirror/state";
|
|
6
|
+
import { defineComponent as i, onMounted as d, createElementBlock as m, openBlock as c } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
7
|
+
import { ref as p } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
8
|
+
const u = { style: { minHeight: "400px", maxHeight: "700px", width: "100%", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror-json" }, s = i({ __name: "raw-data", props: { httpSerivceBody: { type: Object, default: () => ({}) } }, emits: ["update:modelValue"], setup(i2, { expose: s2, emit: a }) {
|
|
9
|
+
const l = i2, v = a;
|
|
10
|
+
d(() => {
|
|
11
|
+
l.httpSerivceBody.content && "string" == typeof l.httpSerivceBody.content || v("update:modelValue", ""), y();
|
|
12
|
+
});
|
|
13
|
+
const f = p(null);
|
|
14
|
+
function y() {
|
|
15
|
+
f.value && f.value.destroy();
|
|
16
|
+
const t2 = h();
|
|
17
|
+
f.value = new e({ state: t2, parent: document.getElementById("cf-codemirror-json") });
|
|
18
|
+
}
|
|
19
|
+
function h() {
|
|
20
|
+
const o2 = e.theme({}), r2 = e.theme({ ".cm-content, .cm-gutter": { minHeight: "200px" }, "&": { height: "400px", maxHeight: "400px", fontSize: "12px" } });
|
|
21
|
+
return n.create({ doc: l.httpSerivceBody.content, extensions: [n.tabSize.of(16), t, x(), o2, r2, e.updateListener.of(function(e2) {
|
|
22
|
+
l.httpSerivceBody.content = e2.state.doc.toString();
|
|
23
|
+
})] });
|
|
24
|
+
}
|
|
25
|
+
const x = () => "application/xml" === l.httpSerivceBody.mediaType ? r() : "application/json" === l.httpSerivceBody.mediaType ? o() : [];
|
|
26
|
+
return s2({ updateEditor: () => {
|
|
27
|
+
f.value && f.value.update(document.getElementById("cf-codemirror-json"), { state: h() });
|
|
28
|
+
}, loadEditor: y }), (e2, t2) => (c(), m("div", u));
|
|
29
|
+
} });
|
|
30
|
+
export {
|
|
31
|
+
s as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElFormItem as e, ElInput as t, ElText as o, ElAlert as s, ElForm 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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
9
|
+
import m from "../../../common/components/node-base-config.vue.mjs";
|
|
10
|
+
import p from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
11
|
+
import "@element-plus/icons-vue";
|
|
12
|
+
import { defineComponent as n, createBlock as r, openBlock as i, withCtx as u, createVNode as a, createTextVNode as c } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
13
|
+
import { unref as d } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
14
|
+
const f = n({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, setup: (n2, { expose: f2 }) => (f2({}), (f3, b) => {
|
|
15
|
+
const v = t, y = o, _ = e, x = s, j = l;
|
|
16
|
+
return i(), r(j, { "label-width": "auto", "label-position": "left" }, { default: u(() => [a(m, { properties: n2.properties }, null, 8, ["properties"]), a(_, { label: "Bean名称:" }, { default: u(() => [a(v, { modelValue: n2.properties.beanName, "onUpdate:modelValue": b[0] || (b[0] = (e2) => n2.properties.beanName = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), a(y, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: u(() => b[2] || (b[2] = [c(" 说明:自定义bean需实现cn.ambitionq.serivceflow.core.ServiceNodeHandler接口重写execute方法 ", -1)])), _: 1, __: [2] })]), _: 1 }), a(x, { title: "输出设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), a(_, { label: "设置到:" }, { default: u(() => [a(d(p), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: n2.properties.resultSet, "onUpdate:modelValue": b[1] || (b[1] = (e2) => n2.properties.resultSet = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
|
|
17
|
+
}) });
|
|
18
|
+
export {
|
|
19
|
+
f as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import e from "../../../flow/base/AbLogicNode.mjs";
|
|
2
|
+
import o from "../../../flow/base/AbLogicNodeModel.mjs";
|
|
3
|
+
import "../../../flow/base/AbLogicResizeNodeModel.mjs";
|
|
4
|
+
import "../../../flow/base/AbLogicResizeNode.mjs";
|
|
5
|
+
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
6
|
+
import s from "./index.vue2.mjs";
|
|
7
|
+
import { h as d } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
8
|
+
import { createApp as m } from "../../../../node_modules/.pnpm/@vue_runtime-dom@3.5.18/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs";
|
|
9
|
+
const i = { type: "customBean", view: class extends e {
|
|
10
|
+
constructor(e2) {
|
|
11
|
+
super(e2), this.isMounted = false, this.r = d(s, { 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) => {
|
|
12
|
+
this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
|
|
13
|
+
} }), this.app = m({ render: () => this.r });
|
|
14
|
+
}
|
|
15
|
+
}, model: class extends o {
|
|
16
|
+
}, options: {} };
|
|
17
|
+
export {
|
|
18
|
+
i as default
|
|
19
|
+
};
|
package/dist/es/designer/service-components/service/custom-bean/{index.vue.js → index.vue2.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import e from "./index.
|
|
1
|
+
import e from "./index.vue3.mjs";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import o from "../../../../_virtual/_plugin-vue_export-helper.
|
|
3
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
4
|
const r = o(e, [["__scopeId", "data-v-96d149c1"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
@@ -0,0 +1,14 @@
|
|
|
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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
5
|
+
import s from "../../../../assets/icon/vardef-v.png.mjs";
|
|
6
|
+
import { defineComponent as o, createElementBlock as t, openBlock as r, createElementVNode as n, createVNode as m } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
7
|
+
import { toDisplayString as d, normalizeStyle as i } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
8
|
+
const l = { class: "serviceflow-nodeContent" }, p = o({ __name: "index", props: { graphModel: Object, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup: (o2, { emit: p2 }) => (p3, u) => {
|
|
9
|
+
const c = e;
|
|
10
|
+
return r(), t("div", null, [u[1] || (u[1] = n("img", { src: s, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), n("div", { class: "serviceflow-nodeView", style: i({ backgroundColor: o2.properties.backgroundColor }) }, [u[0] || (u[0] = n("div", { class: "serviceflow-nodeTitle" }, "服务-自定义bean", -1)), m(c), n("div", l, d(o2.properties.name), 1)], 4)]);
|
|
11
|
+
} });
|
|
12
|
+
export {
|
|
13
|
+
p as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ElDivider as e, ElFormItem as l, ElInput as o, ElSelect as t, ElOption as p, ElTabs as s, ElTabPane as r, ElAlert as a, ElForm 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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
13
|
+
import m from "../../../common/components/node-base-config.vue.mjs";
|
|
14
|
+
import { httpMethods as u, operatorsForNumber as i, logicOperators as d, operatorsForString as c } from "../../util/common-options.mjs";
|
|
15
|
+
import y from "../common/param-config.vue.mjs";
|
|
16
|
+
import V from "../common/query-params.vue.mjs";
|
|
17
|
+
import v from "../common/header-data.vue.mjs";
|
|
18
|
+
import b from "../common/cookie-data.vue.mjs";
|
|
19
|
+
import f from "./response-json-setting.vue.mjs";
|
|
20
|
+
import h from "./response-xml-setting.vue.mjs";
|
|
21
|
+
import _ from "./response-text-setting.vue.mjs";
|
|
22
|
+
import { defineComponent as g, createBlock as k, openBlock as x, withCtx as j, createVNode as C, createCommentVNode as U, createElementBlock as T, Fragment as S, renderList as w, createTextVNode as O, createElementVNode as q } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
23
|
+
import { ref as B, unref as M } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
24
|
+
const z = { style: { position: "absolute", right: "10px" } }, E = g({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, setup(g2, { expose: E2 }) {
|
|
25
|
+
const P = g2;
|
|
26
|
+
P.properties.requestMethod || (P.properties.requestMethod = "GET", P.properties.responseContentType = "application/json"), P.properties.httpSerivceBody || (P.properties.httpSerivceBody = { mediaType: "none", content: null });
|
|
27
|
+
const N = B("body"), X = (e2, l2) => {
|
|
28
|
+
"cookies" === e2.name ? P.properties.cookies || (P.properties.cookies = []) : "headers" === e2.name && (P.properties.headers || (P.properties.headers = []));
|
|
29
|
+
};
|
|
30
|
+
return E2({}), (B2, E3) => {
|
|
31
|
+
const P2 = e, G = p, H = t, J = o, L = l, A = r, D = s, F = a, I = n;
|
|
32
|
+
return x(), k(I, { "label-width": "110", "label-position": "left" }, { default: j(() => [C(m, { properties: g2.properties }, null, 8, ["properties"]), C(P2), C(L, { style: { width: "100%" } }, { label: j((e2) => [C(H, { modelValue: g2.properties.requestMethod, "onUpdate:modelValue": E3[0] || (E3[0] = (e3) => g2.properties.requestMethod = e3), placeholder: "请求方式" }, { default: j(() => [(x(true), T(S, null, w(M(u), (e3) => (x(), k(G, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), default: j(() => [C(J, { modelValue: g2.properties.url, "onUpdate:modelValue": E3[1] || (E3[1] = (e2) => g2.properties.url = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), C(D, { modelValue: N.value, "onUpdate:modelValue": E3[6] || (E3[6] = (e2) => N.value = e2), class: "demo-tabs", onTabClick: X }, { default: j(() => [C(A, { label: "Params", name: "params", style: { padding: "0 5px 5px 5px" } }, { default: j(() => [C(V, { modelValue: g2.properties.queryParams, "onUpdate:modelValue": E3[2] || (E3[2] = (e2) => g2.properties.queryParams = e2) }, null, 8, ["modelValue"])]), _: 1 }), C(A, { label: "Headers", name: "headers" }, { default: j(() => [C(v, { modelValue: g2.properties.headers, "onUpdate:modelValue": E3[3] || (E3[3] = (e2) => g2.properties.headers = e2) }, null, 8, ["modelValue"])]), _: 1 }), C(A, { label: "Body", name: "body", style: { padding: "0 5px 5px 5px" } }, { default: j(() => [C(y, { modelValue: g2.properties.httpSerivceBody, "onUpdate:modelValue": E3[4] || (E3[4] = (e2) => g2.properties.httpSerivceBody = e2) }, null, 8, ["modelValue"])]), _: 1 }), C(A, { label: "Cookies", name: "cookies" }, { default: j(() => [C(b, { modelValue: g2.properties.cookies, "onUpdate:modelValue": E3[5] || (E3[5] = (e2) => g2.properties.cookies = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), C(F, { title: "返回值设置", type: "info", size: "small", closable: false }, { title: j(() => [E3[17] || (E3[17] = O(" 返回值设置 ", -1)), q("span", z, [C(H, { size: "small", onChange: E3[7] || (E3[7] = (e2) => g2.properties.responseSetting = []), modelValue: g2.properties.responseContentType, "onUpdate:modelValue": E3[8] || (E3[8] = (e2) => g2.properties.responseContentType = e2), style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: j(() => [C(G, { label: "JSON", value: "application/json" }), C(G, { label: "TEXT", value: "text/plain" }), C(G, { label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), "application/json" === g2.properties.responseContentType ? (x(), k(f, { key: 0, modelValue: g2.properties.responseSetting, "onUpdate:modelValue": E3[9] || (E3[9] = (e2) => g2.properties.responseSetting = e2), "content-type": g2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : U("", true), "application/xml" === g2.properties.responseContentType ? (x(), k(h, { key: 1, modelValue: g2.properties.responseSetting, "onUpdate:modelValue": E3[10] || (E3[10] = (e2) => g2.properties.responseSetting = e2), "content-type": g2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : U("", true), "text/plain" === g2.properties.responseContentType ? (x(), k(_, { key: 2, modelValue: g2.properties.responseSetting, "onUpdate:modelValue": E3[11] || (E3[11] = (e2) => g2.properties.responseSetting = e2), "content-type": g2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : U("", true), C(F, { title: "异常判断", type: "info", size: "small", closable: false }), C(L, { label: "状态码:" }, { default: j(() => [C(H, { modelValue: g2.properties.statusCodeOperator, "onUpdate:modelValue": E3[12] || (E3[12] = (e2) => g2.properties.statusCodeOperator = e2), placeholder: "", style: { width: "15%" } }, { default: j(() => [(x(true), T(S, null, w(M(i), (e2) => (x(), k(G, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), C(J, { type: "number", style: { "margin-left": "10px", width: "60%" }, modelValue: g2.properties.statusCode, "onUpdate:modelValue": E3[13] || (E3[13] = (e2) => g2.properties.statusCode = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), C(L, { label: "" }, { default: j(() => [C(H, { modelValue: g2.properties.logicOperator, "onUpdate:modelValue": E3[14] || (E3[14] = (e2) => g2.properties.logicOperator = e2), placeholder: "", style: { width: "15%" } }, { default: j(() => [(x(true), T(S, null, w(M(d), (e2) => (x(), k(G, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C(L, { label: "返回内容:" }, { default: j(() => [C(H, { modelValue: g2.properties.contentOperator, "onUpdate:modelValue": E3[15] || (E3[15] = (e2) => g2.properties.contentOperator = e2), placeholder: "", style: { width: "15%" } }, { default: j(() => [(x(true), T(S, null, w(M(c), (e2) => (x(), k(G, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), C(J, { modelValue: g2.properties.content, "onUpdate:modelValue": E3[16] || (E3[16] = (e2) => g2.properties.content = e2), placeholder: "", style: { "margin-left": "10px", width: "60%" } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
|
|
33
|
+
};
|
|
34
|
+
} });
|
|
35
|
+
export {
|
|
36
|
+
E as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import e from "../../../flow/base/AbLogicNode.mjs";
|
|
2
|
+
import o from "../../../flow/base/AbLogicNodeModel.mjs";
|
|
3
|
+
import "../../../flow/base/AbLogicResizeNodeModel.mjs";
|
|
4
|
+
import "../../../flow/base/AbLogicResizeNode.mjs";
|
|
5
|
+
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
6
|
+
import s from "./index.vue2.mjs";
|
|
7
|
+
import { h as d } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
8
|
+
import { createApp as m } from "../../../../node_modules/.pnpm/@vue_runtime-dom@3.5.18/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs";
|
|
9
|
+
const i = { type: "httpService", view: class extends e {
|
|
10
|
+
constructor(e2) {
|
|
11
|
+
super(e2), this.isMounted = false, this.r = d(s, { 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) => {
|
|
12
|
+
this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
|
|
13
|
+
} }), this.app = m({ render: () => this.r });
|
|
14
|
+
}
|
|
15
|
+
}, model: class extends o {
|
|
16
|
+
}, options: {} };
|
|
17
|
+
export {
|
|
18
|
+
i as default
|
|
19
|
+
};
|
package/dist/es/designer/service-components/service/http-service/{index.vue.js → index.vue2.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import e from "./index.
|
|
1
|
+
import e from "./index.vue3.mjs";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import o from "../../../../_virtual/_plugin-vue_export-helper.
|
|
3
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
4
|
const r = o(e, [["__scopeId", "data-v-6b34f36c"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
@@ -0,0 +1,14 @@
|
|
|
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 "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
5
|
+
import s from "../../../../assets/icon/vardef-v.png.mjs";
|
|
6
|
+
import { defineComponent as o, createElementBlock as t, openBlock as r, createElementVNode as n, createVNode as m } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
7
|
+
import { toDisplayString as d, normalizeStyle as i } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
8
|
+
const p = { class: "serviceflow-nodeContent" }, l = o({ __name: "index", props: { graphModel: Object, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup: (o2, { emit: l2 }) => (l3, u) => {
|
|
9
|
+
const c = e;
|
|
10
|
+
return r(), t("div", null, [u[1] || (u[1] = n("img", { src: s, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), n("div", { class: "serviceflow-nodeView", style: i({ backgroundColor: o2.properties.backgroundColor }) }, [u[0] || (u[0] = n("div", { class: "serviceflow-nodeTitle" }, "http服务", -1)), m(c), n("div", p, d(o2.properties.name), 1)], 4)]);
|
|
11
|
+
} });
|
|
12
|
+
export {
|
|
13
|
+
l as default
|
|
14
|
+
};
|
package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.mjs
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ElTable as e, ElInput as l, ElTableColumn as t, ElSelect as o, ElOption as s, ElDropdown as m, ElButton as n, ElDropdownMenu as a, ElDropdownItem as r } from "element-plus/es";
|
|
2
|
+
import "element-plus/es/components/base/style/css";
|
|
3
|
+
import "element-plus/es/components/table/style/css";
|
|
4
|
+
import "element-plus/es/components/dropdown/style/css";
|
|
5
|
+
import "element-plus/es/components/dropdown-menu/style/css";
|
|
6
|
+
import "element-plus/es/components/dropdown-item/style/css";
|
|
7
|
+
import "element-plus/es/components/button/style/css";
|
|
8
|
+
import "element-plus/es/components/select/style/css";
|
|
9
|
+
import "element-plus/es/components/option/style/css";
|
|
10
|
+
import "element-plus/es/components/table-column/style/css";
|
|
11
|
+
import "element-plus/es/components/input/style/css";
|
|
12
|
+
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
13
|
+
import d from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
14
|
+
import { v4 as i } from "uuid";
|
|
15
|
+
import { defineComponent as p, createBlock as u, openBlock as c, withCtx as y, createVNode as _, createElementBlock as v, renderList as w, Fragment as f, createCommentVNode as b, createTextVNode as h } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
16
|
+
import { toDisplayString as V } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
17
|
+
import { unref as k } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
18
|
+
const g = { key: 0 }, j = { key: 0 }, x = p({ __name: "response-json-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(p2, { expose: x2, emit: C }) {
|
|
19
|
+
const $ = C, z = p2;
|
|
20
|
+
z.modelValue && 0 !== z.modelValue.length || $("update:modelValue", []);
|
|
21
|
+
const T = ["any", "object", "array"], U = (e2) => {
|
|
22
|
+
e2.$editing = true;
|
|
23
|
+
}, A = () => {
|
|
24
|
+
z.modelValue.push(q());
|
|
25
|
+
}, E = (e2, l2) => {
|
|
26
|
+
e2.forEach((t2, o2) => {
|
|
27
|
+
if (t2.code === l2.code) {
|
|
28
|
+
const l3 = q();
|
|
29
|
+
l3.level = t2.level, e2.splice(o2 + 1, 0, l3);
|
|
30
|
+
} else t2.items && t2.items.length > 0 && E(t2.items, l2);
|
|
31
|
+
});
|
|
32
|
+
}, L = (e2, l2) => {
|
|
33
|
+
for (let t2 = 0; t2 < e2.length; t2++) {
|
|
34
|
+
const o2 = e2[t2];
|
|
35
|
+
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
|
|
36
|
+
}
|
|
37
|
+
}, q = () => ({ level: 0, code: i(), name: "", paramType: "any", value: "", items: [], $editing: true });
|
|
38
|
+
return x2({}), (i2, x3) => {
|
|
39
|
+
const C2 = l, $2 = t, D = s, R = o, S = n, B = r, F = a, G = m, H = e;
|
|
40
|
+
return c(), u(H, { data: p2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: U, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: y(() => [_($2, { prop: "name", label: "返回值字段" }, { default: y((e2) => [e2.row.$editing ? (c(), u(C2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (c(), v("span", g, V(e2.row.name), 1))]), _: 1 }), _($2, { prop: "paramType", width: "100", label: "类型" }, { default: y((e2) => [e2.row.$editing ? (c(), u(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
|
|
41
|
+
return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
|
|
42
|
+
var t2, o2;
|
|
43
|
+
}, placeholder: "", size: "small" }, { default: y(() => [(c(), v(f, null, w(T, (e3) => _(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (c(), v("span", j, V(e2.row.paramType), 1))]), _: 1 }), _($2, { prop: "value", label: "设置到" }, { default: y((e2) => [e2.row.isArrayElement ? b("", true) : (c(), u(k(d), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), _($2, { align: "center", width: 150 }, { header: y(() => [_(S, { type: "primary", size: "small", onClick: A, link: "" }, { default: y(() => x3[0] || (x3[0] = [h("添加 ", -1)])), _: 1, __: [0] })]), default: y((e2) => [_(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: y(() => [_(F, null, { default: y(() => ["object" === e2.row.paramType ? (c(), u(B, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
44
|
+
l3.items || (l3.items = []);
|
|
45
|
+
const t2 = q();
|
|
46
|
+
t2.level = l3.level + 1, l3.items.push(t2);
|
|
47
|
+
})(e2.$index, e2.row) }, { default: y(() => x3[2] || (x3[2] = [h("添加下级节点", -1)])), _: 2, __: [2] }, 1032, ["onClick"])) : b("", true), e2.row.isArrayElement ? b("", true) : (c(), u(B, { key: 1, onClick: (l2) => {
|
|
48
|
+
return e2.$index, t2 = e2.row, void E(z.modelValue, t2);
|
|
49
|
+
var t2;
|
|
50
|
+
} }, { default: y(() => x3[3] || (x3[3] = [h("添加相邻节点", -1)])), _: 2, __: [3] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: y(() => [_(S, { type: "primary", link: "", size: "small" }, { default: y(() => x3[1] || (x3[1] = [h(" 添加 ", -1)])), _: 1, __: [1] })]), _: 2 }, 1024), _(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
51
|
+
return e2.$index, t2 = e2.row, z.modelValue, void L(z.modelValue, t2);
|
|
52
|
+
var t2;
|
|
53
|
+
} }, { default: y(() => x3[4] || (x3[4] = [h(" 删除 ", -1)])), _: 2, __: [4] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
54
|
+
};
|
|
55
|
+
} });
|
|
56
|
+
export {
|
|
57
|
+
x as default
|
|
58
|
+
};
|
package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElTable as e, ElTableColumn as t } 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/table-column/style/css";
|
|
5
|
+
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
6
|
+
import o from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
7
|
+
import { defineComponent as l, createBlock as m, openBlock as s, withCtx as u, createVNode as n } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
8
|
+
import { unref as a } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
9
|
+
const r = l({ __name: "response-text-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(l2, { expose: r2, emit: p }) {
|
|
10
|
+
const d = p, i = l2;
|
|
11
|
+
i.modelValue && 0 !== i.modelValue.length || d("update:modelValue", [{ value: "" }]);
|
|
12
|
+
const c = (e2) => {
|
|
13
|
+
e2.$editing = true;
|
|
14
|
+
};
|
|
15
|
+
return r2({}), (r3, p2) => {
|
|
16
|
+
const d2 = t, i2 = e;
|
|
17
|
+
return s(), m(i2, { data: l2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: c, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [n(d2, { prop: "value", label: "设置到" }, { default: u((e2) => [n(a(o), { size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (t2) => e2.row.value = t2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
18
|
+
};
|
|
19
|
+
} });
|
|
20
|
+
export {
|
|
21
|
+
r as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ElTable as e, ElInput as l, ElTableColumn as t, ElSelect as o, ElOption as s, ElDropdown as m, ElButton as n, ElDropdownMenu as a, ElDropdownItem as r } from "element-plus/es";
|
|
2
|
+
import "element-plus/es/components/base/style/css";
|
|
3
|
+
import "element-plus/es/components/table/style/css";
|
|
4
|
+
import "element-plus/es/components/dropdown/style/css";
|
|
5
|
+
import "element-plus/es/components/dropdown-menu/style/css";
|
|
6
|
+
import "element-plus/es/components/dropdown-item/style/css";
|
|
7
|
+
import "element-plus/es/components/button/style/css";
|
|
8
|
+
import "element-plus/es/components/select/style/css";
|
|
9
|
+
import "element-plus/es/components/option/style/css";
|
|
10
|
+
import "element-plus/es/components/table-column/style/css";
|
|
11
|
+
import "element-plus/es/components/input/style/css";
|
|
12
|
+
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
13
|
+
import d from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
14
|
+
import { v4 as i } from "uuid";
|
|
15
|
+
import { defineComponent as p, createBlock as u, openBlock as c, withCtx as y, createVNode as v, createElementBlock as _, renderList as w, Fragment as f, createCommentVNode as b, createTextVNode as h } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
16
|
+
import { toDisplayString as V } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
17
|
+
import { unref as k } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
18
|
+
const g = { key: 0 }, x = { key: 0 }, C = p({ __name: "response-xml-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(p2, { expose: C2, emit: $ }) {
|
|
19
|
+
const j = $, z = p2;
|
|
20
|
+
z.modelValue && 0 !== z.modelValue.length || j("update:modelValue", []);
|
|
21
|
+
const T = ["any", "object", "array"], U = (e2) => {
|
|
22
|
+
e2.$editing = true;
|
|
23
|
+
}, A = () => {
|
|
24
|
+
z.modelValue.push(q());
|
|
25
|
+
}, E = (e2, l2) => {
|
|
26
|
+
e2.forEach((t2, o2) => {
|
|
27
|
+
if (t2.code === l2.code) {
|
|
28
|
+
const l3 = q();
|
|
29
|
+
l3.level = t2.level, e2.splice(o2 + 1, 0, l3);
|
|
30
|
+
} else t2.items && t2.items.length > 0 && E(t2.items, l2);
|
|
31
|
+
});
|
|
32
|
+
}, L = (e2, l2) => {
|
|
33
|
+
for (let t2 = 0; t2 < e2.length; t2++) {
|
|
34
|
+
const o2 = e2[t2];
|
|
35
|
+
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
|
|
36
|
+
}
|
|
37
|
+
}, q = () => ({ level: 0, code: i(), name: "", paramType: "any", value: "", items: [], $editing: true });
|
|
38
|
+
return C2({}), (i2, C3) => {
|
|
39
|
+
const $2 = l, j2 = t, D = s, R = o, S = n, B = r, F = a, G = m, H = e;
|
|
40
|
+
return c(), u(H, { data: p2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: U, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: y(() => [v(j2, { prop: "name", label: "返回值字段" }, { default: y((e2) => [e2.row.$editing ? (c(), u($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (c(), _("span", g, V(e2.row.name), 1))]), _: 1 }), v(j2, { prop: "paramType", width: "100", label: "类型" }, { default: y((e2) => [e2.row.$editing ? (c(), u(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
|
|
41
|
+
return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
|
|
42
|
+
var t2, o2;
|
|
43
|
+
}, placeholder: "", size: "small" }, { default: y(() => [(c(), _(f, null, w(T, (e3) => v(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (c(), _("span", x, V(e2.row.paramType), 1))]), _: 1 }), v(j2, { prop: "value", label: "设置到" }, { default: y((e2) => [e2.row.isArrayElement ? b("", true) : (c(), u(k(d), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), v(j2, { align: "center", width: 150 }, { header: y(() => [v(S, { type: "primary", size: "small", onClick: A, link: "" }, { default: y(() => C3[0] || (C3[0] = [h("添加 ", -1)])), _: 1, __: [0] })]), default: y((e2) => [v(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: y(() => [v(F, null, { default: y(() => ["object" === e2.row.paramType ? (c(), u(B, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
44
|
+
l3.items || (l3.items = []);
|
|
45
|
+
const t2 = q();
|
|
46
|
+
t2.level = l3.level + 1, l3.items.push(t2);
|
|
47
|
+
})(e2.$index, e2.row) }, { default: y(() => C3[1] || (C3[1] = [h("添加下级节点", -1)])), _: 2, __: [1] }, 1032, ["onClick"])) : b("", true), e2.row.isArrayElement ? b("", true) : (c(), u(B, { key: 1, onClick: (l2) => {
|
|
48
|
+
return e2.$index, t2 = e2.row, void E(z.modelValue, t2);
|
|
49
|
+
var t2;
|
|
50
|
+
} }, { default: y(() => C3[2] || (C3[2] = [h("添加相邻节点", -1)])), _: 2, __: [2] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: y(() => [v(S, { type: "primary", link: "", size: "small" }, { default: y(() => [h(" 添加 " + V(e2.row.type), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), v(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
51
|
+
return e2.$index, t2 = e2.row, z.modelValue, void L(z.modelValue, t2);
|
|
52
|
+
var t2;
|
|
53
|
+
} }, { default: y(() => C3[3] || (C3[3] = [h(" 删除 ", -1)])), _: 2, __: [3] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
54
|
+
};
|
|
55
|
+
} });
|
|
56
|
+
export {
|
|
57
|
+
C as default
|
|
58
|
+
};
|