service-flow-designer 2.3.22-flow1-tmp1 → 2.3.23-flow1
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.js +7 -0
- package/dist/es/designer/common/components/datatable-select.vue2.js +76 -0
- package/dist/es/designer/common/components/file-upload.vue.js +7 -0
- package/dist/es/designer/common/components/file-upload.vue2.js +33 -0
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +22 -0
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.js +4 -0
- package/dist/es/designer/common/components/json-view/json-view.vue.js +54 -0
- package/dist/es/designer/common/components/json-view/json-view.vue2.js +4 -0
- package/dist/es/designer/common/components/node-base-config.vue.js +14 -0
- package/dist/es/designer/common/components/node-base-config.vue2.js +4 -0
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.js +21 -0
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue2.js +4 -0
- package/dist/es/designer/common/components/sql-view/sql-view.vue.js +4 -0
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +33 -0
- package/dist/es/designer/common/components/value-set-input/index.js +4 -0
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +7 -0
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +131 -0
- package/dist/es/designer/desginer-index.vue.js +7 -0
- package/dist/es/designer/desginer-index.vue2.js +37 -0
- package/dist/es/designer/flow/base/{AbLogicNodeModel.mjs → AbLogicNodeModel.js} +1 -1
- package/dist/es/designer/flow/base/{AbLogicResizeNodeModel.mjs → AbLogicResizeNodeModel.js} +10 -10
- package/dist/es/designer/service-components/base/end-node/{index.mjs → index.js} +10 -12
- package/dist/es/designer/service-components/base/end-node/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/base/end-node/index.vue2.js +6 -0
- package/dist/es/designer/service-components/base/loop-node/index.js +8 -0
- package/dist/es/designer/service-components/base/start-node/{index.mjs → index.js} +7 -9
- package/dist/es/designer/service-components/base/start-node/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/base/start-node/index.vue2.js +6 -0
- package/dist/es/designer/service-components/components-icons.js +11 -0
- package/dist/es/designer/service-components/computation/sort/config.vue.js +7 -0
- package/dist/es/designer/service-components/computation/sort/config.vue2.js +57 -0
- package/dist/es/designer/service-components/computation/sort/index.js +17 -0
- package/dist/es/designer/service-components/computation/sort/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/computation/sort/index.vue2.js +12 -0
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +7 -0
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +100 -0
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +33 -0
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.js +4 -0
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +39 -0
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.js +4 -0
- package/dist/es/designer/service-components/database/{regular-query/index.mjs → aggregate-query/index.js} +9 -11
- package/dist/es/designer/service-components/database/aggregate-query/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +24 -0
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +25 -0
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.js +4 -0
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +26 -0
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.js +4 -0
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +7 -0
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +102 -0
- package/dist/es/designer/service-components/database/dynamic-sql/index.js +17 -0
- package/dist/es/designer/service-components/database/dynamic-sql/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +12 -0
- package/dist/es/designer/service-components/database/regular-query/config.vue.js +7 -0
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +77 -0
- package/dist/es/designer/service-components/database/{aggregate-query/index.mjs → regular-query/index.js} +9 -11
- package/dist/es/designer/service-components/database/regular-query/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/database/regular-query/index.vue2.js +24 -0
- package/dist/es/designer/service-components/index.js +44 -0
- package/dist/es/designer/service-components/service/common/cookie-data.vue.js +25 -0
- package/dist/es/designer/service-components/service/common/cookie-data.vue2.js +4 -0
- package/dist/es/designer/service-components/service/common/form-data.vue.js +27 -0
- package/dist/es/designer/service-components/service/common/form-data.vue2.js +4 -0
- package/dist/es/designer/service-components/service/common/header-data.vue.js +25 -0
- package/dist/es/designer/service-components/service/common/header-data.vue2.js +4 -0
- package/dist/es/designer/service-components/service/common/json-data.vue.js +7 -0
- package/dist/es/designer/service-components/service/common/json-data.vue2.js +25 -0
- package/dist/es/designer/service-components/service/common/param-config.vue.js +7 -0
- package/dist/es/designer/service-components/service/common/param-config.vue2.js +31 -0
- package/dist/es/designer/service-components/service/common/query-params.vue.js +25 -0
- package/dist/es/designer/service-components/service/common/query-params.vue2.js +4 -0
- package/dist/es/designer/service-components/service/common/raw-data.vue.js +30 -0
- package/dist/es/designer/service-components/service/common/raw-data.vue2.js +4 -0
- package/dist/es/designer/service-components/service/custom-bean/config.vue.js +4 -0
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +18 -0
- package/dist/es/designer/service-components/service/custom-bean/index.js +17 -0
- package/dist/es/designer/service-components/service/custom-bean/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +12 -0
- package/dist/es/designer/service-components/service/http-service/config.vue.js +7 -0
- package/dist/es/designer/service-components/service/http-service/config.vue2.js +35 -0
- package/dist/es/designer/service-components/service/http-service/index.js +17 -0
- package/dist/es/designer/service-components/service/http-service/{index.vue2.mjs → index.vue.js} +2 -2
- package/dist/es/designer/service-components/service/http-service/index.vue2.js +12 -0
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +55 -0
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.js +4 -0
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +20 -0
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.js +4 -0
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +55 -0
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.js +4 -0
- package/dist/es/designer/service-flow-view/{flow-util.mjs → flow-util.js} +7 -7
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +7 -0
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +40 -0
- package/dist/es/designer/service-flow-view/service-node-config.vue.js +7 -0
- package/dist/es/designer/service-flow-view/service-node-config.vue2.js +36 -0
- package/dist/es/designer/service-flow-view/service-params.vue.js +70 -0
- package/dist/es/designer/service-flow-view/service-params.vue2.js +4 -0
- package/dist/es/designer/service-flow-view/service-result.vue.js +67 -0
- package/dist/es/designer/service-flow-view/service-result.vue2.js +4 -0
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +53 -0
- package/dist/es/designer/service-flow-view/service-test/request-params.vue2.js +4 -0
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +79 -0
- package/dist/es/designer/service-flow-view/service-test/service-test.vue2.js +4 -0
- package/dist/es/designer/service-flow-view/service-update-log.vue.js +7 -0
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +47 -0
- package/dist/es/designer/service-flow-view/view-index.vue.js +7 -0
- package/dist/es/designer/service-flow-view/view-index.vue2.js +107 -0
- package/dist/es/designer/service-panel/component-panel.vue.js +7 -0
- package/dist/es/designer/service-panel/component-panel.vue2.js +20 -0
- package/dist/es/designer/service-panel/service-list.vue.js +7 -0
- package/dist/es/designer/service-panel/service-list.vue2.js +100 -0
- package/dist/es/designer/service-panel/service-panel.vue.js +7 -0
- package/dist/es/designer/service-panel/service-panel.vue2.js +21 -0
- package/dist/es/index.js +4 -0
- package/dist/es/stores/page-store.js +30 -0
- package/dist/es/style.css +46 -46
- package/dist/es/utils/{common-util.mjs → common-util.js} +52 -51
- package/package.json +16 -12
- package/dist/es/designer/common/components/datatable-select.vue.mjs +0 -7
- package/dist/es/designer/common/components/datatable-select.vue2.mjs +0 -78
- package/dist/es/designer/common/components/file-upload.vue.mjs +0 -7
- package/dist/es/designer/common/components/file-upload.vue2.mjs +0 -35
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.mjs +0 -24
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.mjs +0 -4
- package/dist/es/designer/common/components/json-view/json-view.vue.mjs +0 -56
- package/dist/es/designer/common/components/json-view/json-view.vue2.mjs +0 -4
- package/dist/es/designer/common/components/node-base-config.vue.mjs +0 -15
- package/dist/es/designer/common/components/node-base-config.vue2.mjs +0 -4
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.mjs +0 -23
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue2.mjs +0 -4
- package/dist/es/designer/common/components/sql-view/sql-view.vue.mjs +0 -4
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.mjs +0 -35
- package/dist/es/designer/common/components/value-set-input/index.mjs +0 -4
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.mjs +0 -7
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.mjs +0 -135
- package/dist/es/designer/desginer-index.vue.mjs +0 -7
- package/dist/es/designer/desginer-index.vue2.mjs +0 -60
- package/dist/es/designer/service-components/base/end-node/index.vue3.mjs +0 -7
- package/dist/es/designer/service-components/base/loop-node/index.mjs +0 -8
- package/dist/es/designer/service-components/base/start-node/index.vue3.mjs +0 -7
- package/dist/es/designer/service-components/components-icons.mjs +0 -11
- package/dist/es/designer/service-components/computation/sort/config.vue.mjs +0 -7
- package/dist/es/designer/service-components/computation/sort/config.vue2.mjs +0 -60
- package/dist/es/designer/service-components/computation/sort/index.mjs +0 -19
- package/dist/es/designer/service-components/computation/sort/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.mjs +0 -7
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.mjs +0 -102
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.mjs +0 -36
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.mjs +0 -4
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.mjs +0 -43
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.mjs +0 -4
- package/dist/es/designer/service-components/database/aggregate-query/index.vue3.mjs +0 -27
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.mjs +0 -28
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.mjs +0 -4
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.mjs +0 -29
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.mjs +0 -4
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.mjs +0 -7
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.mjs +0 -105
- package/dist/es/designer/service-components/database/dynamic-sql/index.mjs +0 -19
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/database/regular-query/config.vue.mjs +0 -7
- package/dist/es/designer/service-components/database/regular-query/config.vue2.mjs +0 -80
- package/dist/es/designer/service-components/database/regular-query/index.vue3.mjs +0 -27
- package/dist/es/designer/service-components/index.mjs +0 -45
- package/dist/es/designer/service-components/service/common/cookie-data.vue.mjs +0 -27
- package/dist/es/designer/service-components/service/common/cookie-data.vue2.mjs +0 -4
- package/dist/es/designer/service-components/service/common/form-data.vue.mjs +0 -29
- package/dist/es/designer/service-components/service/common/form-data.vue2.mjs +0 -4
- package/dist/es/designer/service-components/service/common/header-data.vue.mjs +0 -27
- package/dist/es/designer/service-components/service/common/header-data.vue2.mjs +0 -4
- package/dist/es/designer/service-components/service/common/json-data.vue.mjs +0 -7
- package/dist/es/designer/service-components/service/common/json-data.vue2.mjs +0 -27
- package/dist/es/designer/service-components/service/common/param-config.vue.mjs +0 -7
- package/dist/es/designer/service-components/service/common/param-config.vue2.mjs +0 -33
- package/dist/es/designer/service-components/service/common/query-params.vue.mjs +0 -27
- package/dist/es/designer/service-components/service/common/query-params.vue2.mjs +0 -4
- package/dist/es/designer/service-components/service/common/raw-data.vue.mjs +0 -32
- package/dist/es/designer/service-components/service/common/raw-data.vue2.mjs +0 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue.mjs +0 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.mjs +0 -20
- package/dist/es/designer/service-components/service/custom-bean/index.mjs +0 -19
- package/dist/es/designer/service-components/service/custom-bean/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/service/http-service/config.vue.mjs +0 -7
- package/dist/es/designer/service-components/service/http-service/config.vue2.mjs +0 -37
- package/dist/es/designer/service-components/service/http-service/index.mjs +0 -19
- package/dist/es/designer/service-components/service/http-service/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.mjs +0 -58
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.mjs +0 -4
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.mjs +0 -22
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.mjs +0 -4
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.mjs +0 -58
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.mjs +0 -4
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.mjs +0 -7
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.mjs +0 -44
- package/dist/es/designer/service-flow-view/service-node-config.vue.mjs +0 -7
- package/dist/es/designer/service-flow-view/service-node-config.vue2.mjs +0 -39
- package/dist/es/designer/service-flow-view/service-params.vue.mjs +0 -73
- package/dist/es/designer/service-flow-view/service-params.vue2.mjs +0 -4
- package/dist/es/designer/service-flow-view/service-result.vue.mjs +0 -70
- package/dist/es/designer/service-flow-view/service-result.vue2.mjs +0 -4
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.mjs +0 -54
- package/dist/es/designer/service-flow-view/service-test/request-params.vue2.mjs +0 -4
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.mjs +0 -81
- package/dist/es/designer/service-flow-view/service-test/service-test.vue2.mjs +0 -4
- package/dist/es/designer/service-flow-view/service-update-log.vue.mjs +0 -7
- package/dist/es/designer/service-flow-view/service-update-log.vue2.mjs +0 -49
- package/dist/es/designer/service-flow-view/view-index.vue.mjs +0 -7
- package/dist/es/designer/service-flow-view/view-index.vue2.mjs +0 -130
- package/dist/es/designer/service-panel/component-panel.vue.mjs +0 -7
- package/dist/es/designer/service-panel/component-panel.vue2.mjs +0 -23
- package/dist/es/designer/service-panel/service-list.vue.mjs +0 -7
- package/dist/es/designer/service-panel/service-list.vue2.mjs +0 -104
- package/dist/es/designer/service-panel/service-panel.vue.mjs +0 -7
- package/dist/es/designer/service-panel/service-panel.vue2.mjs +0 -45
- package/dist/es/index.mjs +0 -4
- package/dist/es/stores/page-store.mjs +0 -32
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +0 -6
- package/dist/lib/assets/icon/aggregateQuery.svg.cjs +0 -2
- package/dist/lib/assets/icon/base.png.cjs +0 -2
- package/dist/lib/assets/icon/dynamicSql.svg.cjs +0 -2
- package/dist/lib/assets/icon/end.png.cjs +0 -2
- package/dist/lib/assets/icon/end.svg.cjs +0 -2
- package/dist/lib/assets/icon/http-service.svg.cjs +0 -2
- package/dist/lib/assets/icon/regularQuery.svg.cjs +0 -2
- package/dist/lib/assets/icon/sort.svg.cjs +0 -2
- package/dist/lib/assets/icon/start.png.cjs +0 -2
- package/dist/lib/assets/icon/vardef-v.png.cjs +0 -2
- package/dist/lib/designer/common/components/database-select.vue.d.ts +0 -20
- package/dist/lib/designer/common/components/datatable-select.vue.cjs +0 -5
- package/dist/lib/designer/common/components/datatable-select.vue.d.ts +0 -38
- package/dist/lib/designer/common/components/datatable-select.vue2.cjs +0 -61
- package/dist/lib/designer/common/components/file-upload.vue.cjs +0 -5
- package/dist/lib/designer/common/components/file-upload.vue.d.ts +0 -20
- package/dist/lib/designer/common/components/file-upload.vue2.cjs +0 -24
- package/dist/lib/designer/common/components/json-view/index.d.ts +0 -4
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.cjs +0 -18
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.d.ts +0 -36
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue2.cjs +0 -3
- package/dist/lib/designer/common/components/json-view/json-view.vue.cjs +0 -50
- package/dist/lib/designer/common/components/json-view/json-view.vue.d.ts +0 -32
- package/dist/lib/designer/common/components/json-view/json-view.vue2.cjs +0 -3
- package/dist/lib/designer/common/components/node-base-config.vue.cjs +0 -8
- package/dist/lib/designer/common/components/node-base-config.vue.d.ts +0 -14
- package/dist/lib/designer/common/components/node-base-config.vue2.cjs +0 -3
- package/dist/lib/designer/common/components/sql-view/index.d.ts +0 -4
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.cjs +0 -17
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +0 -36
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue2.cjs +0 -3
- package/dist/lib/designer/common/components/sql-view/sql-view.vue.cjs +0 -3
- package/dist/lib/designer/common/components/sql-view/sql-view.vue.d.ts +0 -32
- package/dist/lib/designer/common/components/sql-view/sql-view.vue2.cjs +0 -30
- package/dist/lib/designer/common/components/value-set-input/index.cjs +0 -3
- package/dist/lib/designer/common/components/value-set-input/index.d.ts +0 -3
- package/dist/lib/designer/common/components/value-set-input/option.cjs +0 -6
- package/dist/lib/designer/common/components/value-set-input/option.d.ts +0 -12
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.cjs +0 -5
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.d.ts +0 -162
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue2.cjs +0 -112
- package/dist/lib/designer/common/types/common-type.d.ts +0 -18
- package/dist/lib/designer/common/types/select.d.ts +0 -7
- package/dist/lib/designer/common/util/node-util.cjs +0 -28
- package/dist/lib/designer/common/util/node-util.d.ts +0 -27
- package/dist/lib/designer/desginer-index.vue.cjs +0 -5
- package/dist/lib/designer/desginer-index.vue.d.ts +0 -14
- package/dist/lib/designer/desginer-index.vue2.cjs +0 -29
- package/dist/lib/designer/flow/base/AbLogicNode.cjs +0 -23
- package/dist/lib/designer/flow/base/AbLogicNode.d.ts +0 -11
- package/dist/lib/designer/flow/base/AbLogicNodeModel.cjs +0 -38
- package/dist/lib/designer/flow/base/AbLogicNodeModel.d.ts +0 -14
- package/dist/lib/designer/flow/base/AbLogicResizeNode.cjs +0 -23
- package/dist/lib/designer/flow/base/AbLogicResizeNode.d.ts +0 -11
- package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.cjs +0 -24
- package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.d.ts +0 -9
- package/dist/lib/designer/flow/base/index.d.ts +0 -6
- package/dist/lib/designer/flow/edge/CustomLine.cjs +0 -23
- package/dist/lib/designer/flow/edge/CustomLine.d.ts +0 -25
- package/dist/lib/designer/service-components/base/custom-function/index.d.ts +0 -14
- package/dist/lib/designer/service-components/base/custom-function/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/base/end-node/index.cjs +0 -37
- package/dist/lib/designer/service-components/base/end-node/index.d.ts +0 -19
- package/dist/lib/designer/service-components/base/end-node/index.vue.d.ts +0 -8
- package/dist/lib/designer/service-components/base/end-node/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/base/end-node/index.vue3.cjs +0 -4
- package/dist/lib/designer/service-components/base/judge-condition/index.d.ts +0 -16
- package/dist/lib/designer/service-components/base/judge-condition/index.vue.d.ts +0 -36
- package/dist/lib/designer/service-components/base/loop-node/index.cjs +0 -6
- package/dist/lib/designer/service-components/base/loop-node/index.d.ts +0 -42
- package/dist/lib/designer/service-components/base/loop-node/index.vue.d.ts +0 -8
- package/dist/lib/designer/service-components/base/notification/index.d.ts +0 -14
- package/dist/lib/designer/service-components/base/notification/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/base/start-node/index.cjs +0 -37
- package/dist/lib/designer/service-components/base/start-node/index.d.ts +0 -19
- package/dist/lib/designer/service-components/base/start-node/index.vue.d.ts +0 -8
- package/dist/lib/designer/service-components/base/start-node/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/base/start-node/index.vue3.cjs +0 -4
- package/dist/lib/designer/service-components/components-icons.cjs +0 -3
- package/dist/lib/designer/service-components/components-icons.d.ts +0 -18
- package/dist/lib/designer/service-components/computation/clean/index.d.ts +0 -14
- package/dist/lib/designer/service-components/computation/clean/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/computation/connect/index.d.ts +0 -14
- package/dist/lib/designer/service-components/computation/connect/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/computation/sort/config.vue.cjs +0 -5
- package/dist/lib/designer/service-components/computation/sort/config.vue.d.ts +0 -23
- package/dist/lib/designer/service-components/computation/sort/config.vue2.cjs +0 -43
- package/dist/lib/designer/service-components/computation/sort/index.cjs +0 -13
- package/dist/lib/designer/service-components/computation/sort/index.d.ts +0 -14
- package/dist/lib/designer/service-components/computation/sort/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/computation/sort/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/computation/sort/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/computation/split-joint/index.d.ts +0 -14
- package/dist/lib/designer/service-components/computation/split-joint/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/computation/statistics/index.d.ts +0 -14
- package/dist/lib/designer/service-components/computation/statistics/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue.cjs +0 -5
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue.d.ts +0 -58
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue2.cjs +0 -74
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +0 -57
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.cjs +0 -22
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +0 -57
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.cjs +0 -27
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +0 -53
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/database/aggregate-query/index.cjs +0 -20
- package/dist/lib/designer/service-components/database/aggregate-query/index.d.ts +0 -19
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue.d.ts +0 -36
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue3.cjs +0 -20
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.cjs +0 -15
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +0 -53
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.cjs +0 -15
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +0 -57
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.cjs +0 -5
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.d.ts +0 -18
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue2.cjs +0 -69
- package/dist/lib/designer/service-components/database/dynamic-sql/index.cjs +0 -13
- package/dist/lib/designer/service-components/database/dynamic-sql/index.d.ts +0 -14
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/database/regular-query/config.vue.cjs +0 -5
- package/dist/lib/designer/service-components/database/regular-query/config.vue.d.ts +0 -60
- package/dist/lib/designer/service-components/database/regular-query/config.vue2.cjs +0 -51
- package/dist/lib/designer/service-components/database/regular-query/index.cjs +0 -20
- package/dist/lib/designer/service-components/database/regular-query/index.d.ts +0 -19
- package/dist/lib/designer/service-components/database/regular-query/index.vue.d.ts +0 -36
- package/dist/lib/designer/service-components/database/regular-query/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/database/regular-query/index.vue3.cjs +0 -20
- package/dist/lib/designer/service-components/index.cjs +0 -18
- package/dist/lib/designer/service-components/index.d.ts +0 -19
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.cjs +0 -18
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.d.ts +0 -18
- package/dist/lib/designer/service-components/service/common/cookie-data.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/service/common/form-data.vue.cjs +0 -18
- package/dist/lib/designer/service-components/service/common/form-data.vue.d.ts +0 -22
- package/dist/lib/designer/service-components/service/common/form-data.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/service/common/header-data.vue.cjs +0 -18
- package/dist/lib/designer/service-components/service/common/header-data.vue.d.ts +0 -18
- package/dist/lib/designer/service-components/service/common/header-data.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/service/common/json-data.vue.cjs +0 -5
- package/dist/lib/designer/service-components/service/common/json-data.vue.d.ts +0 -18
- package/dist/lib/designer/service-components/service/common/json-data.vue2.cjs +0 -18
- package/dist/lib/designer/service-components/service/common/param-config.vue.cjs +0 -5
- package/dist/lib/designer/service-components/service/common/param-config.vue.d.ts +0 -18
- package/dist/lib/designer/service-components/service/common/param-config.vue2.cjs +0 -18
- package/dist/lib/designer/service-components/service/common/query-params.vue.cjs +0 -18
- package/dist/lib/designer/service-components/service/common/query-params.vue.d.ts +0 -18
- package/dist/lib/designer/service-components/service/common/query-params.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/service/common/raw-data.vue.cjs +0 -25
- package/dist/lib/designer/service-components/service/common/raw-data.vue.d.ts +0 -22
- package/dist/lib/designer/service-components/service/common/raw-data.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/service/common/xml-data.vue.d.ts +0 -21
- package/dist/lib/designer/service-components/service/custom-bean/config.vue.cjs +0 -3
- package/dist/lib/designer/service-components/service/custom-bean/config.vue.d.ts +0 -14
- package/dist/lib/designer/service-components/service/custom-bean/config.vue2.cjs +0 -10
- package/dist/lib/designer/service-components/service/custom-bean/index.cjs +0 -13
- package/dist/lib/designer/service-components/service/custom-bean/index.d.ts +0 -14
- package/dist/lib/designer/service-components/service/custom-bean/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/service/custom-bean/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/service/custom-bean/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/service/http-service/config.vue.cjs +0 -5
- package/dist/lib/designer/service-components/service/http-service/config.vue.d.ts +0 -14
- package/dist/lib/designer/service-components/service/http-service/config.vue2.cjs +0 -15
- package/dist/lib/designer/service-components/service/http-service/index.cjs +0 -13
- package/dist/lib/designer/service-components/service/http-service/index.d.ts +0 -14
- package/dist/lib/designer/service-components/service/http-service/index.vue.d.ts +0 -20
- package/dist/lib/designer/service-components/service/http-service/index.vue2.cjs +0 -5
- package/dist/lib/designer/service-components/service/http-service/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.cjs +0 -42
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.d.ts +0 -27
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.cjs +0 -15
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.d.ts +0 -27
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.cjs +0 -42
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +0 -27
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue2.cjs +0 -3
- package/dist/lib/designer/service-components/util/common-options.cjs +0 -8
- package/dist/lib/designer/service-components/util/common-options.d.ts +0 -36
- package/dist/lib/designer/service-flow-view/flow-tool-util.cjs +0 -31
- package/dist/lib/designer/service-flow-view/flow-tool-util.d.ts +0 -2
- package/dist/lib/designer/service-flow-view/flow-util.cjs +0 -48
- package/dist/lib/designer/service-flow-view/flow-util.d.ts +0 -55
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue.cjs +0 -5
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue.d.ts +0 -42
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue2.cjs +0 -26
- package/dist/lib/designer/service-flow-view/service-node-config.vue.cjs +0 -5
- package/dist/lib/designer/service-flow-view/service-node-config.vue.d.ts +0 -58
- package/dist/lib/designer/service-flow-view/service-node-config.vue2.cjs +0 -32
- package/dist/lib/designer/service-flow-view/service-params.vue.cjs +0 -50
- package/dist/lib/designer/service-flow-view/service-params.vue.d.ts +0 -18
- package/dist/lib/designer/service-flow-view/service-params.vue2.cjs +0 -3
- package/dist/lib/designer/service-flow-view/service-result.vue.cjs +0 -54
- package/dist/lib/designer/service-flow-view/service-result.vue.d.ts +0 -18
- package/dist/lib/designer/service-flow-view/service-result.vue2.cjs +0 -3
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.cjs +0 -39
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.d.ts +0 -16
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue2.cjs +0 -3
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.cjs +0 -60
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.d.ts +0 -56
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue2.cjs +0 -3
- package/dist/lib/designer/service-flow-view/service-update-log.vue.cjs +0 -5
- package/dist/lib/designer/service-flow-view/service-update-log.vue.d.ts +0 -41
- package/dist/lib/designer/service-flow-view/service-update-log.vue2.cjs +0 -33
- package/dist/lib/designer/service-flow-view/view-index.vue.cjs +0 -5
- package/dist/lib/designer/service-flow-view/view-index.vue.d.ts +0 -50
- package/dist/lib/designer/service-flow-view/view-index.vue2.cjs +0 -92
- package/dist/lib/designer/service-panel/component-panel.vue.cjs +0 -5
- package/dist/lib/designer/service-panel/component-panel.vue.d.ts +0 -6
- package/dist/lib/designer/service-panel/component-panel.vue2.cjs +0 -13
- package/dist/lib/designer/service-panel/service-list.vue.cjs +0 -5
- package/dist/lib/designer/service-panel/service-list.vue.d.ts +0 -22
- package/dist/lib/designer/service-panel/service-list.vue2.cjs +0 -83
- package/dist/lib/designer/service-panel/service-panel.vue.cjs +0 -5
- package/dist/lib/designer/service-panel/service-panel.vue.d.ts +0 -35
- package/dist/lib/designer/service-panel/service-panel.vue2.cjs +0 -18
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.cjs +0 -3
- package/dist/lib/index.d.ts +0 -3
- package/dist/lib/stores/page-store.cjs +0 -28
- package/dist/lib/stores/page-store.d.ts +0 -23
- package/dist/lib/style.css +0 -1280
- package/dist/lib/utils/common-util.cjs +0 -111
- package/dist/lib/utils/common-util.d.ts +0 -22
- package/dist/umd/favicon.ico +0 -0
- package/dist/umd/index.full.min.js +0 -3632
- package/dist/umd/style.css +0 -1280
- /package/dist/es/_virtual/{_plugin-vue_export-helper.mjs → _plugin-vue_export-helper.js} +0 -0
- /package/dist/es/assets/icon/{aggregateQuery.svg.mjs → aggregateQuery.svg.js} +0 -0
- /package/dist/es/assets/icon/{base.png.mjs → base.png.js} +0 -0
- /package/dist/es/assets/icon/{dynamicSql.svg.mjs → dynamicSql.svg.js} +0 -0
- /package/dist/es/assets/icon/{end.png.mjs → end.png.js} +0 -0
- /package/dist/es/assets/icon/{end.svg.mjs → end.svg.js} +0 -0
- /package/dist/es/assets/icon/{http-service.svg.mjs → http-service.svg.js} +0 -0
- /package/dist/es/assets/icon/{regularQuery.svg.mjs → regularQuery.svg.js} +0 -0
- /package/dist/es/assets/icon/{sort.svg.mjs → sort.svg.js} +0 -0
- /package/dist/es/assets/icon/{start.png.mjs → start.png.js} +0 -0
- /package/dist/es/assets/icon/{vardef-v.png.mjs → vardef-v.png.js} +0 -0
- /package/dist/es/designer/common/components/value-set-input/{option.mjs → option.js} +0 -0
- /package/dist/es/designer/common/util/{node-util.mjs → node-util.js} +0 -0
- /package/dist/es/designer/flow/base/{AbLogicNode.mjs → AbLogicNode.js} +0 -0
- /package/dist/es/designer/flow/base/{AbLogicResizeNode.mjs → AbLogicResizeNode.js} +0 -0
- /package/dist/es/designer/flow/edge/{CustomLine.mjs → CustomLine.js} +0 -0
- /package/dist/es/designer/service-components/util/{common-options.mjs → common-options.js} +0 -0
- /package/dist/es/designer/service-flow-view/{flow-tool-util.mjs → flow-tool-util.js} +0 -0
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,14 +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 "../../../../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
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,14 +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 "../../../../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
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.mjs
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ElInput as e, ElDivider as l, ElIcon as o, ElTooltip as s } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/icon/style/css";
|
|
4
|
-
import "element-plus/es/components/tooltip/style/css";
|
|
5
|
-
import "element-plus/es/components/divider/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 { View as t, CaretRight as i, Check as n } from "@element-plus/icons-vue";
|
|
9
|
-
import { customControl as r } from "./flow-util.mjs";
|
|
10
|
-
import { customControlClick as m } from "./flow-tool-util.mjs";
|
|
11
|
-
import c from "@logicflow/core";
|
|
12
|
-
import "codemirror";
|
|
13
|
-
import "@codemirror/lang-json";
|
|
14
|
-
import "@codemirror/state";
|
|
15
|
-
import "@uiw/codemirror-themes-all";
|
|
16
|
-
import a from "../common/components/json-view/json-view-dialog.vue.mjs";
|
|
17
|
-
import p from "./service-test/service-test.vue.mjs";
|
|
18
|
-
import { defineComponent as u, createElementBlock as d, openBlock as v, withDirectives as f, createVNode as w, createElementVNode as y, Fragment as b, renderList as g, withCtx as _, createBlock as j } from "../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
19
|
-
import { ref as h, unref as S } from "../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
20
|
-
import { vShow as C } from "../../node_modules/.pnpm/@vue_runtime-dom@3.5.18/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs";
|
|
21
|
-
import { normalizeClass as V } from "../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
22
|
-
const k = { class: "serviceflow-design-tool" }, x = { style: { top: "-5px", "margin-left": "10px", position: "relative" } }, O = { style: { float: "right" } }, z = ["onClick"], N = u({ __name: "service-flow-tool", props: { cloneService: { type: Object, default: () => {
|
|
23
|
-
} }, lf: { type: c, default: () => {
|
|
24
|
-
} }, pageContext: { type: Object, default: () => ({}) } }, emits: ["show-service-log", "save-sevice", "show-json"], setup(c2, { emit: u2 }) {
|
|
25
|
-
const N2 = u2, J = c2, U = h(""), D = h(false), E = h(false), G = h({}), q = () => {
|
|
26
|
-
var _a;
|
|
27
|
-
D.value = true, G.value = JSON.parse(JSON.stringify(J.cloneService)), G.value.flow = (_a = J.lf) == null ? void 0 : _a.getGraphData(), N2("show-json");
|
|
28
|
-
}, A = () => {
|
|
29
|
-
E.value = !E.value;
|
|
30
|
-
}, B = () => {
|
|
31
|
-
N2("show-service-log", {});
|
|
32
|
-
}, F = () => {
|
|
33
|
-
N2("save-sevice");
|
|
34
|
-
};
|
|
35
|
-
return (u3, h2) => {
|
|
36
|
-
const N3 = e, H = l, I = s, K = o;
|
|
37
|
-
return v(), d("div", k, [f(y("span", x, [w(N3, { placeholder: "", modelValue: c2.cloneService.name, "onUpdate:modelValue": h2[0] || (h2[0] = (e2) => c2.cloneService.name = e2), style: { width: "15%" } }, null, 8, ["modelValue"])], 512), [[C, c2.cloneService.code]]), f(y("span", O, [w(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), (v(true), d(b, null, g(S(r), (e2) => (v(), j(I, { class: "box-item", effect: "dark", content: e2.desc, placement: "top" }, { default: _(() => [y("label", { class: V(["serviceflow-control-item", e2.type === U.value ? "serviceflow-control-item-click" : ""]), onClick: (l2) => ((e3) => {
|
|
38
|
-
J.lf && m(J.lf, e3);
|
|
39
|
-
})(e2) }, [y("i", { class: V(e2.class) }, null, 2)], 10, z)]), _: 2 }, 1032, ["content"]))), 256)), w(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), y("label", { class: "serviceflow-page-type", onClick: q }, [w(K, { size: 18 }, { default: _(() => [w(S(t))]), _: 1 }), h2[3] || (h2[3] = y("label", null, "查看JSON", -1))]), y("label", { class: "serviceflow-page-type", onClick: B }, [w(K, { size: 18 }, { default: _(() => [w(S(t))]), _: 1 }), h2[4] || (h2[4] = y("label", null, "日志", -1))]), w(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), y("label", { class: "serviceflow-page-type", onClick: A }, [w(K, { size: 18 }, { default: _(() => [w(S(i))]), _: 1 }), h2[5] || (h2[5] = y("label", null, "测试", -1))]), w(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), y("label", { class: "serviceflow-page-type", onClick: F }, [w(K, { size: 18 }, { default: _(() => [w(S(n))]), _: 1 }), h2[6] || (h2[6] = y("label", null, "保存", -1))])], 512), [[C, c2.cloneService.code]]), w(S(a), { modelValue: D.value, "onUpdate:modelValue": h2[1] || (h2[1] = (e2) => D.value = e2), "json-object": G.value, "append-to-body": true }, null, 8, ["modelValue", "json-object"]), w(p, { modelValue: E.value, "onUpdate:modelValue": h2[2] || (h2[2] = (e2) => E.value = e2), pageContext: c2.pageContext, "append-to-body": true, cloneService: c2.cloneService, lf: c2.lf }, null, 8, ["modelValue", "pageContext", "cloneService", "lf"])]);
|
|
40
|
-
};
|
|
41
|
-
} });
|
|
42
|
-
export {
|
|
43
|
-
N as default
|
|
44
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElDrawer as e } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/drawer/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 { getServiceNodeByType as t, getConfigByType as o } from "../service-components/index.mjs";
|
|
6
|
-
import { defineComponent as n, createBlock as a, openBlock as r, withCtx as l, resolveDynamicComponent as d, createElementVNode as u } 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 s, unref as i } from "../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
8
|
-
import { toDisplayString as c, normalizeClass as p } from "../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
9
|
-
const m = ["id"], v = n({ __name: "service-node-config", props: { service: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, logicFlowInstance: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, emits: ["onConfigChange", "update:currentNode"], setup(n2, { expose: v2, emit: f }) {
|
|
10
|
-
const w = n2, h = s({}), g = s(false), y = s({}), N = s(), C = s({ withHeader: true, drawerWidth: "" }), _ = s(false), b = f;
|
|
11
|
-
let I = { configComponent: null, drawerWidth: "50%" };
|
|
12
|
-
function W() {
|
|
13
|
-
g.value = false;
|
|
14
|
-
}
|
|
15
|
-
function j() {
|
|
16
|
-
_.value || F(), _.value = false, b("update:currentNode", null);
|
|
17
|
-
}
|
|
18
|
-
function F() {
|
|
19
|
-
w.currentNode, N.value && N.value.hasOwnProperty("onClose") && "function" == typeof N.value.onClose && N.value.onClose(), w.currentNode && (["start", "end"].includes(w.currentNode.type) || (N.value && N.value.hasOwnProperty("getData") && "function" == typeof N.value.getData ? w.logicFlowInstance && w.logicFlowInstance.getNodeModelById(w.currentNode.data.id) && w.logicFlowInstance.getNodeModelById(w.currentNode.data.id).setProperties(N.value.getData()) : w.logicFlowInstance.getNodeModelById(w.currentNode.data.id).setProperties(h.value)));
|
|
20
|
-
}
|
|
21
|
-
function x(e2) {
|
|
22
|
-
e2 ? (false === e2.withHeader ? C.value.withHeader = false : C.value.withHeader = true, e2.drawerWidth ? C.value.drawerWidth = e2.drawerWidth : C.value.drawerWidth = "100%") : C.value.drawerWidth = "100%";
|
|
23
|
-
}
|
|
24
|
-
return v2({ onBlankClick: function() {
|
|
25
|
-
g.value && W();
|
|
26
|
-
}, onNodeClick: function(e2) {
|
|
27
|
-
["start", "end"].includes(e2.data.type) ? (F(), W()) : (1 == g.value ? (F(), y.value = t(e2.data.type)) : (g.value = true, y.value = t(e2.data.type)), I = o(e2.data.type)), h.value = e2.data.properties;
|
|
28
|
-
}, onLogicChange: function() {
|
|
29
|
-
W();
|
|
30
|
-
}, onDeleteNode: function() {
|
|
31
|
-
_.value = true, W();
|
|
32
|
-
}, closeDrawer: W }), (t2, o2) => {
|
|
33
|
-
const s2 = e;
|
|
34
|
-
return r(), a(s2, { modelValue: g.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e2) => g.value = e2), "append-to-body": false, "close-on-press-escape": false, "destroy-on-close": "", "with-header": C.value.withHeader, "modal-class": "el-overlay", modal: true, title: y.value.label, direction: "rtl", size: C.value.drawerWidth ? C.value.drawerWidth : i(I).drawerWidth ? i(I).drawerWidth : "50%", onClose: j }, { header: l(({ close: e2, titleId: t3, titleClass: o3 }) => [u("h4", { id: t3, class: p(o3) }, c(y.value.label), 11, m)]), default: l(() => [(r(), a(d(i(I).configComponent), { ref_key: "configComponentRef", ref: N, logicFlowInstance: n2.logicFlowInstance, currentNode: n2.currentNode, properties: h.value, service: n2.service, pageContext: n2.pageContext, onFullScreen: x }, null, 40, ["logicFlowInstance", "currentNode", "properties", "service", "pageContext"]))]), _: 1 }, 8, ["modelValue", "with-header", "title", "size"]);
|
|
35
|
-
};
|
|
36
|
-
} });
|
|
37
|
-
export {
|
|
38
|
-
v as default
|
|
39
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ElForm as e, ElFormItem as l, ElInput as t, ElDivider as s, ElTable as o, ElTableColumn as a, ElSelect as n, ElDropdown as i, ElButton as m, ElDropdownMenu as r, ElDropdownItem as d, ElAlert as u, ElText as p, ElCheckbox as c, ElOption as y } 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/checkbox/style/css";
|
|
5
|
-
import "element-plus/es/components/text/style/css";
|
|
6
|
-
import "element-plus/es/components/alert/style/css";
|
|
7
|
-
import "element-plus/es/components/table/style/css";
|
|
8
|
-
import "element-plus/es/components/dropdown/style/css";
|
|
9
|
-
import "element-plus/es/components/dropdown-menu/style/css";
|
|
10
|
-
import "element-plus/es/components/dropdown-item/style/css";
|
|
11
|
-
import "element-plus/es/components/button/style/css";
|
|
12
|
-
import "element-plus/es/components/select/style/css";
|
|
13
|
-
import "element-plus/es/components/option/style/css";
|
|
14
|
-
import "element-plus/es/components/table-column/style/css";
|
|
15
|
-
import "element-plus/es/components/divider/style/css";
|
|
16
|
-
import "element-plus/es/components/form-item/style/css";
|
|
17
|
-
import "element-plus/es/components/input/style/css";
|
|
18
|
-
import "../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
19
|
-
import v from "../common/components/value-set-input/value-set-input.vue.mjs";
|
|
20
|
-
import { v4 as b } from "uuid";
|
|
21
|
-
import f from "./service-result.vue.mjs";
|
|
22
|
-
import { defineComponent as _, createElementBlock as w, openBlock as g, createVNode as V, withCtx as h, createBlock as k, Fragment as x, createCommentVNode as U, renderList as C, createTextVNode as j } from "../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
23
|
-
import { toDisplayString as z } from "../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
24
|
-
import { unref as $ } from "../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
25
|
-
const E = { key: 0 }, A = { key: 0 }, R = { key: 0 }, L = _({ __name: "service-params", props: { service: { type: Object, default: () => ({ log: {} }) } }, setup(_2, { expose: L2 }) {
|
|
26
|
-
const M = _2;
|
|
27
|
-
M.service.variables || (M.service.variables = []), M.service.log || (M.service.log = {});
|
|
28
|
-
const q = ["string", "int", "boolean", "array", "object", "number"];
|
|
29
|
-
let O = null;
|
|
30
|
-
const T = (e2) => {
|
|
31
|
-
e2.$editing = true, B(e2);
|
|
32
|
-
};
|
|
33
|
-
function B(e2) {
|
|
34
|
-
null != O && O.code != e2.code && (O.$editing = false), O = e2;
|
|
35
|
-
}
|
|
36
|
-
const D = () => {
|
|
37
|
-
const e2 = H();
|
|
38
|
-
M.service.variables.push(e2), B(e2);
|
|
39
|
-
}, F = (e2, l2) => {
|
|
40
|
-
e2.forEach((t2, s2) => {
|
|
41
|
-
if (t2.code === l2.code) {
|
|
42
|
-
const l3 = H();
|
|
43
|
-
l3.level = t2.level, e2.splice(s2 + 1, 0, l3), B(l3);
|
|
44
|
-
} else t2.items && t2.items.length > 0 && F(t2.items, l2);
|
|
45
|
-
});
|
|
46
|
-
}, G = (e2, l2) => {
|
|
47
|
-
for (let t2 = 0; t2 < e2.length; t2++) {
|
|
48
|
-
const s2 = e2[t2];
|
|
49
|
-
if (s2.code === l2.code) return void e2.splice(t2, 1);
|
|
50
|
-
s2.items && s2.items.length > 0 && G(s2.items, l2);
|
|
51
|
-
}
|
|
52
|
-
}, H = () => ({ level: 0, code: b(), name: "", alias: "", type: "string", defaultValue: "", items: [], $editing: true });
|
|
53
|
-
return L2({}), (L3, O2) => {
|
|
54
|
-
const I = t, J = l, K = s, N = a, P = y, Q = n, S = m, W = d, X = r, Y = i, Z = o, ee = u, le = p, te = c, se = e;
|
|
55
|
-
return g(), w("div", null, [V(se, { "label-width": "auto", "label-position": "left", size: "small" }, { default: h(() => [V(J, { label: "服务名称:" }, { default: h(() => [V(I, { modelValue: _2.service.name, "onUpdate:modelValue": O2[0] || (O2[0] = (e2) => _2.service.name = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), V(J, { label: "服务自定义编码:" }, { default: h(() => [V(I, { disabled: true, modelValue: _2.service.customCode, "onUpdate:modelValue": O2[1] || (O2[1] = (e2) => _2.service.customCode = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), V(K), V(Z, { data: _2.service.variables, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowClick: T, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: h(() => [V(N, { type: "index", width: "50", label: "序号", align: "center" }), V(N, { prop: "name", width: "170", label: "变量名" }, { default: h((e2) => [e2.row.$editing ? (g(), k(I, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", style: { "margin-right": "10px" } }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (g(), w("span", E, z(e2.row.name), 1))]), _: 1 }), V(N, { prop: "alias", width: "110", label: "别名" }, { default: h((e2) => [e2.row.$editing ? (g(), w(x, { key: 1 }, [e2.row.isArrayElement ? U("", true) : (g(), k(I, { key: 0, size: "small", modelValue: e2.row.alias, "onUpdate:modelValue": (l2) => e2.row.alias = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"]))], 64)) : (g(), w("span", A, z(e2.row.alias), 1))]), _: 1 }), V(N, { prop: "type", width: "90", label: "类型" }, { default: h((e2) => [e2.row.$editing ? (g(), k(Q, { key: 1, modelValue: e2.row.type, "onUpdate:modelValue": (l2) => e2.row.type = l2, onChange: (l2) => {
|
|
56
|
-
return t2 = l2, e2.$index, s2 = e2.row, void ("array" === t2 ? (s2.items = [], s2.items.push({ level: s2.level + 1, code: b(), name: "items", isArrayElement: true, alias: "", type: "object", defaultValue: "", items: [] })) : s2.items && s2.items.length > 0 && ("object" === t2 ? s2.items = [] : s2.items && delete s2.items));
|
|
57
|
-
var t2, s2;
|
|
58
|
-
}, placeholder: "", size: "small" }, { default: h(() => [(g(), w(x, null, C(q, (e3) => V(P, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (g(), w("span", R, z(e2.row.type), 1))]), _: 1 }), V(N, { prop: "defaultValue", label: "默认值", width: "160" }, { default: h((e2) => [e2.row.isArrayElement ? U("", true) : (g(), k($(v), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "system", "context", "fixed"], modelValue: e2.row.defaultValue, "onUpdate:modelValue": (l2) => e2.row.defaultValue = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), V(N, { align: "center", width: 90 }, { header: h(() => [V(S, { type: "primary", size: "small", onClick: D, link: "" }, { default: h(() => O2[6] || (O2[6] = [j("添加 ", -1)])), _: 1, __: [6] })]), default: h((e2) => [V(Y, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: h(() => [V(X, null, { default: h(() => ["object" === e2.row.type ? (g(), k(W, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
59
|
-
l3.items || (l3.items = []);
|
|
60
|
-
const t2 = H();
|
|
61
|
-
t2.level = l3.level + 1, l3.items.push(t2), B(t2);
|
|
62
|
-
})(e2.$index, e2.row) }, { default: h(() => O2[8] || (O2[8] = [j("添加下级节点", -1)])), _: 2, __: [8] }, 1032, ["onClick"])) : U("", true), e2.row.isArrayElement ? U("", true) : (g(), k(W, { key: 1, onClick: (l2) => {
|
|
63
|
-
return e2.$index, t2 = e2.row, void F(M.service.variables, t2);
|
|
64
|
-
var t2;
|
|
65
|
-
} }, { default: h(() => O2[9] || (O2[9] = [j("添加相邻节点", -1)])), _: 2, __: [9] }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: h(() => [V(S, { type: "primary", link: "", size: "small" }, { default: h(() => O2[7] || (O2[7] = [j(" 添加 ", -1)])), _: 1, __: [7] })]), _: 2 }, 1024), V(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
66
|
-
return e2.$index, t2 = e2.row, void G(M.service.variables, t2);
|
|
67
|
-
var t2;
|
|
68
|
-
} }, { default: h(() => O2[10] || (O2[10] = [j(" 删除 ", -1)])), _: 2, __: [10] }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), V(ee, { title: "返回值定义", type: "info", closable: false, style: { "margin-bottom": "10px" } }), V(f, { service: _2.service }, null, 8, ["service"]), V(le, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: h(() => O2[11] || (O2[11] = [j("说明:可不设置变量名,未设置时以值来源的字段名为变量名", -1)])), _: 1, __: [11] }), V(ee, { title: "执行异常消息格式化", type: "info", closable: false, style: { "margin-bottom": "10px" } }), V(J, null, { default: h(() => [V(I, { type: "textarea", modelValue: _2.service.errorMessage, "onUpdate:modelValue": O2[2] || (O2[2] = (e2) => _2.service.errorMessage = e2) }, null, 8, ["modelValue"])]), _: 1 }), V(ee, { title: "操作日志", type: "info", closable: false, style: { "margin-bottom": "10px" } }), V(J, null, { default: h(() => [V(te, { modelValue: _2.service.log.enable, "onUpdate:modelValue": O2[3] || (O2[3] = (e2) => _2.service.log.enable = e2), label: "启用操作日志" }, null, 8, ["modelValue"])]), _: 1 }), V(J, { label: "标题:" }, { default: h(() => [V(I, { disabled: !_2.service.log.enable, modelValue: _2.service.log.title, "onUpdate:modelValue": O2[4] || (O2[4] = (e2) => _2.service.log.title = e2), placeholder: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), V(J, { label: "内容:" }, { default: h(() => [V(I, { disabled: !_2.service.log.enable, modelValue: _2.service.log.content, "onUpdate:modelValue": O2[5] || (O2[5] = (e2) => _2.service.log.content = e2), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]);
|
|
69
|
-
};
|
|
70
|
-
} });
|
|
71
|
-
export {
|
|
72
|
-
L as default
|
|
73
|
-
};
|