service-flow-designer 2.3.22-flow1-tmp1 → 2.3.22-flow1-tmp2
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/database-select.vue.d.ts +6 -6
- package/dist/es/designer/common/components/datatable-select.vue.d.ts +6 -6
- package/dist/es/designer/common/components/datatable-select.vue2.mjs +39 -41
- package/dist/es/designer/common/components/file-upload.vue.d.ts +6 -6
- package/dist/es/designer/common/components/file-upload.vue2.mjs +23 -25
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.d.ts +6 -6
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.mjs +13 -15
- package/dist/es/designer/common/components/json-view/json-view.vue.d.ts +4 -4
- package/dist/es/designer/common/components/json-view/json-view.vue.mjs +39 -41
- package/dist/es/designer/common/components/node-base-config.vue.d.ts +4 -4
- package/dist/es/designer/common/components/node-base-config.vue.mjs +6 -7
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +6 -6
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.mjs +12 -14
- package/dist/es/designer/common/components/sql-view/sql-view.vue.d.ts +4 -4
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.mjs +24 -26
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.d.ts +8 -8
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.mjs +83 -87
- package/dist/es/designer/desginer-index.vue.d.ts +4 -4
- package/dist/es/designer/desginer-index.vue2.mjs +24 -47
- package/dist/es/designer/flow/base/AbLogicNodeModel.mjs +1 -1
- package/dist/es/designer/flow/base/AbLogicResizeNodeModel.mjs +10 -10
- package/dist/es/designer/service-components/base/custom-function/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/base/end-node/index.mjs +6 -8
- package/dist/es/designer/service-components/base/end-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/end-node/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/base/end-node/index.vue2.mjs +3 -4
- package/dist/es/designer/service-components/base/judge-condition/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/base/loop-node/index.mjs +5 -5
- package/dist/es/designer/service-components/base/loop-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/notification/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/base/start-node/index.mjs +3 -5
- package/dist/es/designer/service-components/base/start-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/start-node/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/base/start-node/index.vue2.mjs +3 -4
- package/dist/es/designer/service-components/computation/clean/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/connect/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/sort/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/computation/sort/config.vue2.mjs +33 -36
- package/dist/es/designer/service-components/computation/sort/index.mjs +6 -8
- package/dist/es/designer/service-components/computation/sort/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/sort/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/computation/sort/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/computation/split-joint/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/statistics/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.mjs +60 -62
- package/dist/es/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.mjs +17 -20
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.mjs +13 -17
- package/dist/es/designer/service-components/database/aggregate-query/index.mjs +5 -7
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/aggregate-query/index.vue2.mjs +22 -5
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.mjs +10 -13
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.mjs +12 -15
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.mjs +54 -56
- package/dist/es/designer/service-components/database/dynamic-sql/index.mjs +6 -8
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/database/regular-query/config.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/regular-query/config.vue2.mjs +37 -40
- package/dist/es/designer/service-components/database/regular-query/index.mjs +5 -7
- package/dist/es/designer/service-components/database/regular-query/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/regular-query/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/regular-query/index.vue2.mjs +22 -5
- package/dist/es/designer/service-components/index.mjs +12 -13
- package/dist/es/designer/service-components/service/common/cookie-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/cookie-data.vue.mjs +13 -15
- package/dist/es/designer/service-components/service/common/form-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/form-data.vue.mjs +14 -16
- package/dist/es/designer/service-components/service/common/header-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/header-data.vue.mjs +12 -14
- package/dist/es/designer/service-components/service/common/json-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/json-data.vue2.mjs +12 -14
- package/dist/es/designer/service-components/service/common/param-config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/common/param-config.vue2.mjs +15 -17
- package/dist/es/designer/service-components/service/common/query-params.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/query-params.vue.mjs +12 -14
- package/dist/es/designer/service-components/service/common/raw-data.vue.d.ts +7 -7
- package/dist/es/designer/service-components/service/common/raw-data.vue.mjs +22 -24
- package/dist/es/designer/service-components/service/common/xml-data.vue.d.ts +7 -7
- package/dist/es/designer/service-components/service/custom-bean/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.mjs +7 -9
- package/dist/es/designer/service-components/service/custom-bean/index.mjs +6 -8
- package/dist/es/designer/service-components/service/custom-bean/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/custom-bean/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/service/custom-bean/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/service/http-service/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/http-service/config.vue2.mjs +20 -22
- package/dist/es/designer/service-components/service/http-service/index.mjs +6 -8
- package/dist/es/designer/service-components/service/http-service/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/service/http-service/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.mjs +25 -28
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.mjs +10 -12
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.mjs +21 -24
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.mjs +25 -29
- package/dist/es/designer/service-flow-view/service-node-config.vue.d.ts +7 -7
- package/dist/es/designer/service-flow-view/service-node-config.vue2.mjs +22 -25
- package/dist/es/designer/service-flow-view/service-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-params.vue.mjs +15 -18
- package/dist/es/designer/service-flow-view/service-result.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-result.vue.mjs +24 -27
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.mjs +21 -22
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.mjs +43 -46
- package/dist/es/designer/service-flow-view/service-update-log.vue.d.ts +7 -7
- package/dist/es/designer/service-flow-view/service-update-log.vue2.mjs +27 -29
- package/dist/es/designer/service-flow-view/view-index.vue.d.ts +7 -7
- package/dist/es/designer/service-flow-view/view-index.vue2.mjs +59 -82
- package/dist/es/designer/service-panel/component-panel.vue.d.ts +2 -2
- package/dist/es/designer/service-panel/component-panel.vue2.mjs +11 -14
- package/dist/es/designer/service-panel/service-list.vue.d.ts +6 -6
- package/dist/es/designer/service-panel/service-list.vue2.mjs +68 -72
- package/dist/es/designer/service-panel/service-panel.vue.d.ts +6 -6
- package/dist/es/designer/service-panel/service-panel.vue2.mjs +17 -41
- package/dist/es/stores/page-store.d.ts +11 -11
- package/dist/es/stores/page-store.mjs +21 -23
- package/dist/es/style.css +2 -2
- package/dist/lib/designer/common/components/database-select.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/datatable-select.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/datatable-select.vue2.cjs +42 -42
- package/dist/lib/designer/common/components/file-upload.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/file-upload.vue2.cjs +18 -18
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.cjs +10 -10
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/json-view/json-view.vue.cjs +33 -34
- package/dist/lib/designer/common/components/json-view/json-view.vue.d.ts +4 -4
- package/dist/lib/designer/common/components/node-base-config.vue.cjs +5 -5
- package/dist/lib/designer/common/components/node-base-config.vue.d.ts +4 -4
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.cjs +11 -11
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/sql-view/sql-view.vue.d.ts +4 -4
- package/dist/lib/designer/common/components/sql-view/sql-view.vue2.cjs +19 -20
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.d.ts +8 -8
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue2.cjs +64 -64
- package/dist/lib/designer/desginer-index.vue.d.ts +4 -4
- package/dist/lib/designer/desginer-index.vue2.cjs +18 -18
- package/dist/lib/designer/flow/base/AbLogicNodeModel.cjs +1 -1
- package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.cjs +1 -1
- package/dist/lib/designer/service-components/base/custom-function/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/base/end-node/index.cjs +6 -6
- package/dist/lib/designer/service-components/base/end-node/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/base/end-node/index.vue.d.ts +3 -3
- package/dist/lib/designer/service-components/base/end-node/index.vue2.cjs +2 -4
- package/dist/lib/designer/service-components/base/judge-condition/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/base/loop-node/index.cjs +1 -1
- package/dist/lib/designer/service-components/base/loop-node/index.vue.d.ts +3 -3
- package/dist/lib/designer/service-components/base/notification/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/base/start-node/index.cjs +6 -6
- package/dist/lib/designer/service-components/base/start-node/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/base/start-node/index.vue.d.ts +3 -3
- package/dist/lib/designer/service-components/base/start-node/index.vue2.cjs +2 -4
- package/dist/lib/designer/service-components/computation/clean/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/connect/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/sort/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/computation/sort/config.vue2.cjs +25 -25
- package/dist/lib/designer/service-components/computation/sort/index.cjs +6 -6
- package/dist/lib/designer/service-components/computation/sort/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/computation/sort/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/sort/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/computation/split-joint/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/statistics/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue2.cjs +47 -47
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.cjs +12 -12
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.cjs +17 -17
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/database/aggregate-query/index.cjs +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue2.cjs +19 -4
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.cjs +9 -9
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.cjs +8 -8
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue2.cjs +38 -37
- package/dist/lib/designer/service-components/database/dynamic-sql/index.cjs +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/database/regular-query/config.vue.d.ts +5 -5
- package/dist/lib/designer/service-components/database/regular-query/config.vue2.cjs +33 -33
- package/dist/lib/designer/service-components/database/regular-query/index.cjs +6 -6
- package/dist/lib/designer/service-components/database/regular-query/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/regular-query/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/regular-query/index.vue2.cjs +19 -4
- package/dist/lib/designer/service-components/index.cjs +8 -6
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/form-data.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/form-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/header-data.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/header-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/json-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/json-data.vue2.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/param-config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/service/common/param-config.vue2.cjs +9 -9
- package/dist/lib/designer/service-components/service/common/query-params.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/query-params.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/raw-data.vue.cjs +18 -19
- package/dist/lib/designer/service-components/service/common/raw-data.vue.d.ts +7 -7
- package/dist/lib/designer/service-components/service/common/xml-data.vue.d.ts +7 -7
- package/dist/lib/designer/service-components/service/custom-bean/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/service/custom-bean/config.vue2.cjs +6 -6
- package/dist/lib/designer/service-components/service/custom-bean/index.cjs +6 -6
- package/dist/lib/designer/service-components/service/custom-bean/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/service/custom-bean/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/custom-bean/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/service/http-service/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/service/http-service/config.vue2.cjs +10 -10
- package/dist/lib/designer/service-components/service/http-service/index.cjs +6 -6
- package/dist/lib/designer/service-components/service/http-service/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/service/http-service/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/http-service/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.cjs +35 -35
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.cjs +9 -9
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.cjs +35 -35
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +6 -6
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue.d.ts +6 -6
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue2.cjs +16 -16
- package/dist/lib/designer/service-flow-view/service-node-config.vue.d.ts +7 -7
- package/dist/lib/designer/service-flow-view/service-node-config.vue2.cjs +20 -20
- package/dist/lib/designer/service-flow-view/service-params.vue.cjs +33 -33
- package/dist/lib/designer/service-flow-view/service-params.vue.d.ts +4 -4
- package/dist/lib/designer/service-flow-view/service-result.vue.cjs +32 -32
- package/dist/lib/designer/service-flow-view/service-result.vue.d.ts +4 -4
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.cjs +26 -26
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.d.ts +4 -4
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.cjs +38 -38
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.d.ts +6 -6
- package/dist/lib/designer/service-flow-view/service-update-log.vue.d.ts +7 -7
- package/dist/lib/designer/service-flow-view/service-update-log.vue2.cjs +22 -22
- package/dist/lib/designer/service-flow-view/view-index.vue.d.ts +7 -7
- package/dist/lib/designer/service-flow-view/view-index.vue2.cjs +67 -67
- package/dist/lib/designer/service-panel/component-panel.vue.d.ts +2 -2
- package/dist/lib/designer/service-panel/component-panel.vue2.cjs +9 -9
- package/dist/lib/designer/service-panel/service-list.vue.d.ts +6 -6
- package/dist/lib/designer/service-panel/service-list.vue2.cjs +58 -58
- package/dist/lib/designer/service-panel/service-panel.vue.d.ts +6 -6
- package/dist/lib/designer/service-panel/service-panel.vue2.cjs +14 -15
- package/dist/lib/stores/page-store.cjs +20 -20
- package/dist/lib/stores/page-store.d.ts +11 -11
- package/dist/lib/style.css +2 -2
- package/dist/umd/index.full.min.js +720 -3260
- package/dist/umd/style.css +2 -2
- package/package.json +27 -24
- package/dist/es/designer/service-components/base/end-node/index.vue3.mjs +0 -7
- package/dist/es/designer/service-components/base/start-node/index.vue3.mjs +0 -7
- package/dist/es/designer/service-components/computation/sort/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/database/aggregate-query/index.vue3.mjs +0 -27
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/database/regular-query/index.vue3.mjs +0 -27
- package/dist/es/designer/service-components/service/custom-bean/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/service/http-service/index.vue3.mjs +0 -14
- package/dist/lib/designer/service-components/base/end-node/index.vue3.cjs +0 -4
- package/dist/lib/designer/service-components/base/start-node/index.vue3.cjs +0 -4
- package/dist/lib/designer/service-components/computation/sort/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue3.cjs +0 -20
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/database/regular-query/index.vue3.cjs +0 -20
- package/dist/lib/designer/service-components/service/custom-bean/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/service/http-service/index.vue3.cjs +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElMessage as e,
|
|
1
|
+
import { ElMessage as e, ElForm as l, ElFormItem as a, ElInput as t, ElButton as o, ElCheckbox as s, ElAlert as r, ElTable as p, ElTableColumn as i, ElSelect as n, ElOption as d, ElTooltip as m, ElRadioGroup as u, ElRadio as c, ElDivider as b } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/form/style/css";
|
|
4
4
|
import "element-plus/es/components/divider/style/css";
|
|
@@ -14,65 +14,62 @@ import "element-plus/es/components/form-item/style/css";
|
|
|
14
14
|
import "element-plus/es/components/input/style/css";
|
|
15
15
|
import "element-plus/es/components/button/style/css";
|
|
16
16
|
import "element-plus/es/components/checkbox/style/css";
|
|
17
|
-
import "
|
|
18
|
-
import { Search as
|
|
19
|
-
import { getLabel as
|
|
20
|
-
import
|
|
21
|
-
import { getBaseUrl as
|
|
22
|
-
import { http as
|
|
23
|
-
import
|
|
24
|
-
import { useServiceFlowStore as
|
|
25
|
-
import
|
|
17
|
+
import { defineComponent as y, ref as f, onMounted as V, createElementBlock as v, openBlock as h, createVNode as w, withCtx as g, createElementVNode as k, unref as _, createTextVNode as U, createBlock as x, toDisplayString as T, Fragment as z, renderList as C, createCommentVNode as $ } from "vue";
|
|
18
|
+
import { Search as D, View as S, Minus as j, Plus as E } from "@element-plus/icons-vue";
|
|
19
|
+
import { getLabel as O, sqlOperators as I, logicOperators as B } from "../../util/common-options.mjs";
|
|
20
|
+
import N from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
21
|
+
import { getBaseUrl as q } from "../../../../utils/common-util.mjs";
|
|
22
|
+
import { http as A } from "agilebuilder-ui";
|
|
23
|
+
import F from "../../../common/components/datatable-select.vue.mjs";
|
|
24
|
+
import { useServiceFlowStore as P } from "../../../../stores/page-store.mjs";
|
|
25
|
+
import M from "../../../common/components/node-base-config.vue.mjs";
|
|
26
26
|
import "codemirror";
|
|
27
27
|
import "@codemirror/lang-sql";
|
|
28
28
|
import "@codemirror/state";
|
|
29
|
-
import
|
|
30
|
-
import { getNodeRuntimeObject as
|
|
29
|
+
import J from "../../../common/components/sql-view/sql-view-dialog.vue.mjs";
|
|
30
|
+
import { getNodeRuntimeObject as L } from "../../../service-flow-view/flow-util.mjs";
|
|
31
31
|
import "element-plus/es/components/message/style/css";
|
|
32
|
-
|
|
33
|
-
import { ref as M, unref as J } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
34
|
-
import { toDisplayString as L } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
35
|
-
const R = { style: { position: "absolute", right: "0" } }, G = { key: 0 }, H = { key: 0 }, K = { key: 0 }, Q = { key: 0 }, W = { key: 0 }, X = { key: 0 }, Y = { key: 0 }, Z = j({ __name: "config", props: { properties: { type: Object, default: () => ({ search: {}, noData: {}, result: {} }) }, logicFlowInstance: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(j2, { expose: Z2 }) {
|
|
32
|
+
const R = { style: { position: "absolute", right: "0" } }, G = { key: 0 }, H = { key: 0 }, K = { key: 0 }, Q = { key: 0 }, W = { key: 0 }, X = { key: 0 }, Y = { key: 0 }, Z = y({ __name: "config", props: { properties: { type: Object, default: () => ({ search: {}, noData: {}, result: {} }) }, logicFlowInstance: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(y2, { expose: Z2 }) {
|
|
36
33
|
var _a, _b;
|
|
37
|
-
const ee =
|
|
38
|
-
((_a =
|
|
39
|
-
const pe =
|
|
40
|
-
((_b =
|
|
41
|
-
if (
|
|
34
|
+
const ee = y2, le = P(), ae = f(false), te = f(""), oe = f(false), se = f([]), re = f(le.pageContext.systemCode);
|
|
35
|
+
((_a = ee.properties) == null ? void 0 : _a.dataTableSystemCode) && (re.value = ee.properties.dataTableSystemCode);
|
|
36
|
+
const pe = f(le.pageContext.systemVersion);
|
|
37
|
+
((_b = ee.properties) == null ? void 0 : _b.dataTableSystemVersion) && (pe.value = ee.properties.dataTableSystemVersion), ee.properties.search || (ee.properties.search = {}), ee.properties.noData || (ee.properties.noData = {}), ee.properties.result || (ee.properties.result = {}), V(() => {
|
|
38
|
+
if (ee.properties.dataTable && ee.properties.dataTable !== le.pageContext.tableName) {
|
|
42
39
|
const l2 = window.$vueApp.config.globalProperties.baseAPI;
|
|
43
|
-
if (!
|
|
44
|
-
|
|
40
|
+
if (!ee.properties.dataTableSystemVersion) return void e.warning("未获取到数据表对应的版本。请重新选择数据表");
|
|
41
|
+
A.get(l2 + "/mms/data-tables/table-columns?tableName=" + ee.properties.dataTable).then((e2) => {
|
|
45
42
|
se.value = e2;
|
|
46
43
|
});
|
|
47
|
-
} else se.value =
|
|
44
|
+
} else se.value = le.pageContext.modelFields;
|
|
48
45
|
});
|
|
49
|
-
const ie = (e2, l2,
|
|
46
|
+
const ie = (e2, l2, a2) => {
|
|
50
47
|
e2.$editing = true;
|
|
51
|
-
}, ne = (e2, l2,
|
|
52
|
-
"sort" ===
|
|
48
|
+
}, ne = (e2, l2, a2) => {
|
|
49
|
+
"sort" === a2 ? ee.properties.sort.splice(e2, 1) : "search" === a2 && ee.properties.search.conditions.splice(e2, 1);
|
|
53
50
|
}, de = (e2) => {
|
|
54
|
-
|
|
51
|
+
ee.properties.dataTable = e2.dataTable.name, ee.properties.dataTableSystemCode = e2.system.code, ee.properties.dataTableSystemVersion = e2.system.publishVersion, A.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns?tableName=" + e2.dataTable.name).then((e3) => {
|
|
55
52
|
se.value = e3;
|
|
56
53
|
});
|
|
57
54
|
}, me = (e2) => {
|
|
58
|
-
e2 || (
|
|
55
|
+
e2 || (ee.properties.dataTable = "", se.value = le.pageContext.modelFields);
|
|
59
56
|
};
|
|
60
57
|
function ue() {
|
|
61
|
-
|
|
62
|
-
const e2 =
|
|
63
|
-
e2.props = JSON.parse(JSON.stringify(
|
|
64
|
-
const l2 =
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
te.value = "";
|
|
59
|
+
const e2 = L(ee.logicFlowInstance.getNodeModelById(ee.currentNode.data.id), ee.service);
|
|
60
|
+
e2.props = JSON.parse(JSON.stringify(ee.properties));
|
|
61
|
+
const l2 = q(ee.pageContext.backendUrl, ee.pageContext.isTest);
|
|
62
|
+
A.post(l2 + "/dsc/service-flow/test/database-node/show-sql", e2).then((e3) => {
|
|
63
|
+
ae.value = true, te.value = e3;
|
|
67
64
|
});
|
|
68
65
|
}
|
|
69
|
-
return Z2({ onClose: () => (
|
|
66
|
+
return Z2({ onClose: () => (ee.properties.search.conditions && ee.properties.search.conditions.forEach((e2) => {
|
|
70
67
|
e2.$editing && delete e2.$editing;
|
|
71
|
-
}),
|
|
68
|
+
}), ee.properties.sort && ee.properties.sort.forEach((e2) => {
|
|
72
69
|
e2.$editing && delete e2.$editing;
|
|
73
|
-
}),
|
|
74
|
-
const
|
|
75
|
-
return E(), S("div", null, [O(he, { "label-width": "auto", "label-position": "left", size: "small" }, { default: I(() => [O(z, { properties: j2.properties }, null, 8, ["properties"]), O(D2, { label: "" }, { label: I((e3) => [O(U2, { onChange: me, modelValue: j2.properties.specifyDataTable, "onUpdate:modelValue": k2[0] || (k2[0] = (e4) => j2.properties.specifyDataTable = e4), label: "指定数据表", style: { width: "100px" } }, null, 8, ["modelValue"])]), default: I(() => [O($2, { disabled: !j2.properties.specifyDataTable, modelValue: j2.properties.dataTable, "onUpdate:modelValue": k2[2] || (k2[2] = (e3) => j2.properties.dataTable = e3), readonly: "", style: { width: "85%" } }, { append: I(() => [O(T2, { type: "default", icon: J(y), onClick: k2[1] || (k2[1] = (e3) => oe.value = !oe.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), N("span", R, [O(T2, { type: "primary", icon: J(f), onClick: ue }, { default: I(() => k2[19] || (k2[19] = [B("预览sql", -1)])), _: 1, __: [19] }, 8, ["icon"])]), O(x, { visible: oe.value, "onUpdate:visible": k2[3] || (k2[3] = (e3) => oe.value = e3), modelValue: j2.properties.dataTable, "onUpdate:modelValue": k2[4] || (k2[4] = (e3) => j2.properties.dataTable = e3), systemCode: re.value, systemVersion: pe.value, onSelect: de }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), O(M2, { title: "查询条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), O(ye, { data: j2.properties.search.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: I(() => [O(Z3, { type: "index", width: "50", label: "序" }), O(Z3, { prop: "name", label: "(((" }, { default: I((e3) => [e3.row.$editing ? (E(), q(ce, { key: 1, size: "small", modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l2) => e3.row.leftBracket = l2, placeholder: "" }, { default: I(() => [O(ee2, { label: "", value: "" }), O(ee2, { label: "(", value: "(" }), O(ee2, { label: "((", value: "((" }), O(ee2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (E(), S("span", G, L(e3.row.leftBracket), 1))]), _: 1 }), O(Z3, { prop: "name", label: "字段名" }, { default: I((e3) => [e3.row.$editing ? (E(), q(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: I(() => [(E(true), S(A, null, F(se.value, (e4) => (E(), q(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (E(), S("span", H, L(e3.row.name), 1))]), _: 1 }), O(Z3, { prop: "type", label: "比较" }, { default: I((e3) => [e3.row.$editing ? (E(), q(ce, { key: 1, modelValue: e3.row.operator, "onUpdate:modelValue": (l2) => e3.row.operator = l2, placeholder: "", size: "small" }, { default: I(() => [(E(true), S(A, null, F(J(w), (e4) => (E(), q(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (E(), S("span", K, L(J(h)(e3.row.operator, J(w))), 1))]), _: 1 }), O(Z3, { prop: "value", label: "值", width: "150" }, { default: I((e3) => [O(J(_), { customInputTypes: ["data"], showLabel: !e3.row.$editing, size: "small", modelValue: e3.row.value, "onUpdate:modelValue": (l2) => e3.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), O(Z3, { prop: "rightBracket", label: ")))" }, { default: I((e3) => [e3.row.$editing ? (E(), q(ce, { key: 1, size: "small", modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l2) => e3.row.rightBracket = l2, placeholder: "" }, { default: I(() => [O(ee2, { label: "", value: "" }), O(ee2, { label: ")", value: ")" }), O(ee2, { label: "))", value: "))" }), O(ee2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (E(), S("span", Q, L(e3.row.rightBracket), 1))]), _: 1 }), O(Z3, { prop: "logicOperator", label: "连接符" }, { default: I((e3) => [e3.row.$editing ? (E(), q(ce, { key: 1, modelValue: e3.row.logicOperator, "onUpdate:modelValue": (l2) => e3.row.logicOperator = l2, placeholder: "", size: "small" }, { default: I(() => [(E(true), S(A, null, F(J(g), (e4) => (E(), q(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (E(), S("span", W, L(J(h)(e3.row.logicOperator, J(g))), 1))]), _: 1 }), O(Z3, { align: "center" }, { header: I(() => [O(be, { effect: "dark", content: "添加", placement: "top" }, { default: I(() => [O(T2, { type: "primary", size: "small", icon: J(V), circle: "", onClick: k2[5] || (k2[5] = (e3) => (le.properties.search.conditions || (le.properties.search.conditions = []), void le.properties.search.conditions.push({ prop: "", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: I((e3) => [N("span", null, [O(be, { effect: "dark", content: "删除", placement: "top" }, { default: I(() => [O(T2, { type: "danger", size: "small", icon: J(v), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "search") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), O(D2, { label: "", style: { width: "100%" } }, { label: I((e3) => [O(U2, { modelValue: j2.properties.search.pageEnable, "onUpdate:modelValue": k2[6] || (k2[6] = (e4) => j2.properties.search.pageEnable = e4), label: "分页(offset)" }, null, 8, ["modelValue"])]), default: I(() => [j2.properties.search.pageEnable ? (E(), q(J(_), { key: 0, modelValue: j2.properties.search.page, "onUpdate:modelValue": k2[7] || (k2[7] = (e3) => j2.properties.search.page = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页信息" }, null, 8, ["modelValue"])) : P("", true)]), _: 1 }), O(D2, { label: "", style: { width: "100%" } }, { label: I((e3) => [O(U2, { modelValue: j2.properties.search.limitEnable, "onUpdate:modelValue": k2[8] || (k2[8] = (e4) => j2.properties.search.limitEnable = e4), label: "限制数量(limit)" }, null, 8, ["modelValue"])]), default: I(() => [j2.properties.search.limitEnable ? (E(), q(J(_), { key: 0, modelValue: j2.properties.search.limit, "onUpdate:modelValue": k2[9] || (k2[9] = (e3) => j2.properties.search.limit = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页大小" }, null, 8, ["modelValue"])) : P("", true)]), _: 1 }), O(D2, { label: "", style: { width: "100%" } }, { label: I((e3) => [O(U2, { modelValue: j2.properties.search.totalEnable, "onUpdate:modelValue": k2[10] || (k2[10] = (e4) => j2.properties.search.totalEnable = e4), label: "设置总条数到变量" }, null, 8, ["modelValue"])]), default: I(() => [j2.properties.search.totalEnable ? (E(), q(J(_), { key: 0, customInputTypes: ["data"], size: "small", modelValue: j2.properties.search.total, "onUpdate:modelValue": k2[11] || (k2[11] = (e3) => j2.properties.search.total = e3) }, null, 8, ["modelValue"])) : P("", true)]), _: 1 }), O(M2, { title: "排序设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), O(ye, { data: j2.properties.sort, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: I(() => [O(Z3, { type: "index", width: "50", label: "序" }), O(Z3, { prop: "name", label: "字段名" }, { default: I((e3) => [e3.row.$editing ? (E(), q(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: I(() => [(E(true), S(A, null, F(se.value, (e4) => (E(), q(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (E(), S("span", X, L(e3.row.name), 1))]), _: 1 }), O(Z3, { prop: "order", label: "排序方式" }, { default: I((e3) => [e3.row.$editing ? (E(), q(ce, { key: 1, size: "small", modelValue: e3.row.order, "onUpdate:modelValue": (l2) => e3.row.order = l2, placeholder: "" }, { default: I(() => [O(ee2, { label: "升序", value: "asc" }), O(ee2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (E(), S("span", Y, L(e3.row.order), 1))]), _: 1 }), O(Z3, { align: "center" }, { header: I(() => [O(be, { effect: "dark", content: "添加", placement: "top" }, { default: I(() => [O(T2, { type: "primary", size: "small", icon: J(V), circle: "", onClick: k2[12] || (k2[12] = (e3) => (le.properties.sort || (le.properties.sort = []), void le.properties.sort.push({ prop: "", order: "asc", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: I((e3) => [N("span", null, [O(be, { effect: "dark", content: "删除", placement: "top" }, { default: I(() => [O(T2, { type: "danger", size: "small", icon: J(v), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "sort") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), O(M2, { title: "查询结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), O(D2, { label: "", style: { width: "100%" } }, { default: I(() => [O(ve, { modelValue: j2.properties.result.valueSetScope, "onUpdate:modelValue": k2[13] || (k2[13] = (e3) => j2.properties.result.valueSetScope = e3), class: "ml-4" }, { default: I(() => [O(fe, { value: "first" }, { default: I(() => k2[20] || (k2[20] = [B("仅第一条", -1)])), _: 1, __: [20] }), O(fe, { value: "all" }, { default: I(() => k2[21] || (k2[21] = [B(" 全部 ", -1)])), _: 1, __: [21] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), O(D2, { label: "设置到:", style: { width: "100%" } }, { default: I(() => [O(J(_), { paramTypes: ["task", "data", "service"], size: "small", inputSize: "default", modelValue: j2.properties.result.setTo, "onUpdate:modelValue": k2[14] || (k2[14] = (e3) => j2.properties.result.setTo = e3) }, null, 8, ["modelValue"])]), _: 1 }), O(M2, { title: "对象不存在时", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), O(D2, { label: "", style: { width: "100%" } }, { default: I(() => [O(fe, { modelValue: j2.properties.noData.action, "onUpdate:modelValue": k2[15] || (k2[15] = (e3) => j2.properties.noData.action = e3), value: " ", style: { width: "150px" } }, { default: I(() => k2[22] || (k2[22] = [B(" 继续 ", -1)])), _: 1, __: [22] }, 8, ["modelValue"])]), _: 1 }), O(D2, { label: "", style: { width: "100%" } }, { label: I((e3) => [O(fe, { modelValue: j2.properties.noData.action, "onUpdate:modelValue": k2[16] || (k2[16] = (e4) => j2.properties.noData.action = e4), value: "throwException", label: "无数据时抛异常" }, null, 8, ["modelValue"])]), default: I(() => [O($2, { disabled: "throwException" !== j2.properties.noData.action, modelValue: j2.properties.noData.exceptionMessage, "onUpdate:modelValue": k2[17] || (k2[17] = (e3) => j2.properties.noData.exceptionMessage = e3), placeholder: "自定义异常消息" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), O(Ve)]), _: 1 }), O(J(C), { sql: ae.value, "model-value": te.value, "onUpdate:modelValue": k2[18] || (k2[18] = (e3) => te.value = e3) }, null, 8, ["sql", "model-value"])]);
|
|
70
|
+
}), ee.properties) }), (e2, f2) => {
|
|
71
|
+
const V2 = s, q2 = o, A2 = t, P2 = a, L2 = r, Z3 = i, le2 = d, ce = n, be = m, ye = p, fe = c, Ve = u, ve = b, he = l;
|
|
72
|
+
return h(), v("div", null, [w(he, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [w(M, { properties: y2.properties }, null, 8, ["properties"]), w(P2, { label: "" }, { label: g((e3) => [w(V2, { onChange: me, modelValue: y2.properties.specifyDataTable, "onUpdate:modelValue": f2[0] || (f2[0] = (e4) => y2.properties.specifyDataTable = e4), label: "指定数据表", style: { width: "100px" } }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: !y2.properties.specifyDataTable, modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => y2.properties.dataTable = e3), readonly: "", style: { width: "85%" } }, { append: g(() => [w(q2, { type: "default", icon: _(D), onClick: f2[1] || (f2[1] = (e3) => oe.value = !oe.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), k("span", R, [w(q2, { type: "primary", icon: _(S), onClick: ue }, { default: g(() => [U("预览sql")]), _: 1 }, 8, ["icon"])]), w(F, { visible: oe.value, "onUpdate:visible": f2[3] || (f2[3] = (e3) => oe.value = e3), modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => y2.properties.dataTable = e3), systemCode: re.value, systemVersion: pe.value, onSelect: de }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), w(L2, { title: "查询条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.search.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "(((" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l2) => e3.row.leftBracket = l2, placeholder: "" }, { default: g(() => [w(le2, { label: "", value: "" }), w(le2, { label: "(", value: "(" }), w(le2, { label: "((", value: "((" }), w(le2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", G, T(e3.row.leftBracket), 1))]), _: 1 }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(se.value, (e4) => (h(), x(le2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", H, T(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "type", label: "比较" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.operator, "onUpdate:modelValue": (l2) => e3.row.operator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(_(I), (e4) => (h(), x(le2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", K, T(_(O)(e3.row.operator, _(I))), 1))]), _: 1 }), w(Z3, { prop: "value", label: "值", width: "150" }, { default: g((e3) => [w(_(N), { customInputTypes: ["data"], showLabel: !e3.row.$editing, size: "small", modelValue: e3.row.value, "onUpdate:modelValue": (l2) => e3.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), w(Z3, { prop: "rightBracket", label: ")))" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l2) => e3.row.rightBracket = l2, placeholder: "" }, { default: g(() => [w(le2, { label: "", value: "" }), w(le2, { label: ")", value: ")" }), w(le2, { label: "))", value: "))" }), w(le2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", Q, T(e3.row.rightBracket), 1))]), _: 1 }), w(Z3, { prop: "logicOperator", label: "连接符" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.logicOperator, "onUpdate:modelValue": (l2) => e3.row.logicOperator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(_(B), (e4) => (h(), x(le2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", W, T(_(O)(e3.row.logicOperator, _(B))), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(q2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[5] || (f2[5] = (e3) => (ee.properties.search.conditions || (ee.properties.search.conditions = []), void ee.properties.search.conditions.push({ prop: "", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [k("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(q2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "search") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.pageEnable, "onUpdate:modelValue": f2[6] || (f2[6] = (e4) => y2.properties.search.pageEnable = e4), label: "分页(offset)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.pageEnable ? (h(), x(_(N), { key: 0, modelValue: y2.properties.search.page, "onUpdate:modelValue": f2[7] || (f2[7] = (e3) => y2.properties.search.page = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页信息" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.limitEnable, "onUpdate:modelValue": f2[8] || (f2[8] = (e4) => y2.properties.search.limitEnable = e4), label: "限制数量(limit)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.limitEnable ? (h(), x(_(N), { key: 0, modelValue: y2.properties.search.limit, "onUpdate:modelValue": f2[9] || (f2[9] = (e3) => y2.properties.search.limit = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页大小" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.totalEnable, "onUpdate:modelValue": f2[10] || (f2[10] = (e4) => y2.properties.search.totalEnable = e4), label: "设置总条数到变量" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.totalEnable ? (h(), x(_(N), { key: 0, customInputTypes: ["data"], size: "small", modelValue: y2.properties.search.total, "onUpdate:modelValue": f2[11] || (f2[11] = (e3) => y2.properties.search.total = e3) }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(L2, { title: "排序设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.sort, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(se.value, (e4) => (h(), x(le2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", X, T(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "order", label: "排序方式" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.order, "onUpdate:modelValue": (l2) => e3.row.order = l2, placeholder: "" }, { default: g(() => [w(le2, { label: "升序", value: "asc" }), w(le2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", Y, T(e3.row.order), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(q2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[12] || (f2[12] = (e3) => (ee.properties.sort || (ee.properties.sort = []), void ee.properties.sort.push({ prop: "", order: "asc", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [k("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(q2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "sort") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(L2, { title: "查询结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(Ve, { modelValue: y2.properties.result.valueSetScope, "onUpdate:modelValue": f2[13] || (f2[13] = (e3) => y2.properties.result.valueSetScope = e3), class: "ml-4" }, { default: g(() => [w(fe, { value: "first" }, { default: g(() => [U("仅第一条")]), _: 1 }), w(fe, { value: "all" }, { default: g(() => [U(" 全部 ")]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "设置到:", style: { width: "100%" } }, { default: g(() => [w(_(N), { paramTypes: ["task", "data", "service"], size: "small", inputSize: "default", modelValue: y2.properties.result.setTo, "onUpdate:modelValue": f2[14] || (f2[14] = (e3) => y2.properties.result.setTo = e3) }, null, 8, ["modelValue"])]), _: 1 }), w(L2, { title: "对象不存在时", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[15] || (f2[15] = (e3) => y2.properties.noData.action = e3), value: " ", style: { width: "150px" } }, { default: g(() => [U(" 继续 ")]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[16] || (f2[16] = (e4) => y2.properties.noData.action = e4), value: "throwException", label: "无数据时抛异常" }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: "throwException" !== y2.properties.noData.action, modelValue: y2.properties.noData.exceptionMessage, "onUpdate:modelValue": f2[17] || (f2[17] = (e3) => y2.properties.noData.exceptionMessage = e3), placeholder: "自定义异常消息" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), w(ve)]), _: 1 }), w(_(J), { sql: te.value, "model-value": ae.value, "onUpdate:modelValue": f2[18] || (f2[18] = (e3) => ae.value = e3) }, null, 8, ["sql", "model-value"])]);
|
|
76
73
|
};
|
|
77
74
|
} });
|
|
78
75
|
export {
|
|
@@ -5,15 +5,13 @@ import e from "../../../flow/base/AbLogicNode.mjs";
|
|
|
5
5
|
import o from "../../../flow/base/AbLogicNodeModel.mjs";
|
|
6
6
|
import "../../../flow/base/AbLogicResizeNodeModel.mjs";
|
|
7
7
|
import "../../../flow/base/AbLogicResizeNode.mjs";
|
|
8
|
-
import "
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
import { createApp as t } from "../../../../node_modules/.pnpm/@vue_runtime-dom@3.5.18/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs";
|
|
12
|
-
const m = { type: "regularQuery", view: class extends e {
|
|
8
|
+
import { h as s, createApp as t } from "vue";
|
|
9
|
+
import i from "./index.vue.mjs";
|
|
10
|
+
const r = { type: "regularQuery", view: class extends e {
|
|
13
11
|
constructor(e2) {
|
|
14
12
|
super(e2);
|
|
15
13
|
__publicField(this, "customP1");
|
|
16
|
-
this.isMounted = false, this.r =
|
|
14
|
+
this.isMounted = false, this.r = s(i, { text: e2.model.inputData, 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) => {
|
|
17
15
|
this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
|
|
18
16
|
} }), this.app = t({ render: () => this.r });
|
|
19
17
|
}
|
|
@@ -22,5 +20,5 @@ const m = { type: "regularQuery", view: class extends e {
|
|
|
22
20
|
}, model: class extends o {
|
|
23
21
|
}, options: {} };
|
|
24
22
|
export {
|
|
25
|
-
|
|
23
|
+
r as default
|
|
26
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
graphModel: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => {};
|
|
@@ -11,9 +11,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: ObjectConstructor;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
15
|
btnClick: (...args: any[]) => void;
|
|
16
|
-
}, string, import('vue').
|
|
16
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
17
|
graphModel: {
|
|
18
18
|
type: ObjectConstructor;
|
|
19
19
|
default: () => {};
|
|
@@ -26,11 +26,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
26
|
type: ObjectConstructor;
|
|
27
27
|
default: () => {};
|
|
28
28
|
};
|
|
29
|
-
}>> &
|
|
29
|
+
}>> & {
|
|
30
30
|
onBtnClick?: (...args: any[]) => any;
|
|
31
|
-
}
|
|
31
|
+
}, {
|
|
32
32
|
properties: Record<string, any>;
|
|
33
33
|
graphModel: Record<string, any>;
|
|
34
34
|
model: Record<string, any>;
|
|
35
|
-
}, {}
|
|
35
|
+
}, {}>;
|
|
36
36
|
export default _default;
|
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { ElDivider as e } from "element-plus/es";
|
|
2
|
+
import "element-plus/es/components/base/style/css";
|
|
3
|
+
import "element-plus/es/components/divider/style/css";
|
|
4
|
+
import { defineComponent as t, ref as l, onMounted as r, createElementBlock as s, openBlock as o, createElementVNode as n, normalizeStyle as p, createVNode as i, toDisplayString as a, Fragment as u, renderList as d, pushScopeId as m, popScopeId as c } from "vue";
|
|
5
|
+
import f from "../../../../assets/icon/vardef-v.png.mjs";
|
|
6
|
+
const v = (e2) => (m("data-v-418f1558"), e2 = e2(), c(), e2), h = v(() => n("img", { src: f, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), g = { class: "serviceflow-nodeTitle" }, b = { class: "serviceflow-nodeContent" }, y = v(() => n("br", null, null, -1)), x = t({ __name: "index", props: { graphModel: { type: Object, default: () => ({}) }, model: { type: Object, default: () => ({}) }, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup(t2, { emit: m2 }) {
|
|
7
|
+
const c2 = t2, f2 = l([]), v2 = l([]);
|
|
8
|
+
return r(() => {
|
|
9
|
+
c2.graphModel.modelToGraphData().nodes.forEach((e2, t3) => {
|
|
10
|
+
v2.value.push({ id: e2.id, name: e2.properties.name });
|
|
11
|
+
}), v2.value.push({ id: "end", name: "结束" }), c2.properties && c2.properties.rules && c2.properties.rules.length > 0 && c2.properties.rules.forEach((e2, t3) => {
|
|
12
|
+
f2.value.push(e2.name + "->" + function(e3) {
|
|
13
|
+
if ("end" === e3) return "结束";
|
|
14
|
+
for (let t4 = 0; t4 < v2.value.length; t4++) if (v2.value[t4].id == e3) return v2.value[t4].name;
|
|
15
|
+
}(e2.to));
|
|
16
|
+
});
|
|
17
|
+
}), (l2, r2) => {
|
|
18
|
+
const m3 = e;
|
|
19
|
+
return o(), s("div", null, [h, n("div", { class: "serviceflow-nodeView", style: p({ backgroundColor: t2.properties.backgroundColor }) }, [n("div", g, a(t2.properties.name ? t2.properties.name : "条件判断"), 1), i(m3), n("div", b, [(o(true), s(u, null, d(f2.value, (e2) => (o(), s("div", null, [n("span", null, a(e2), 1), y]))), 256))])], 4)]);
|
|
20
|
+
};
|
|
21
|
+
} });
|
|
5
22
|
export {
|
|
6
|
-
|
|
23
|
+
x as default
|
|
7
24
|
};
|
|
@@ -3,7 +3,7 @@ import o from "./base/end-node/index.mjs";
|
|
|
3
3
|
import "./base/loop-node/index.mjs";
|
|
4
4
|
import "@logicflow/core";
|
|
5
5
|
import "@logicflow/extension";
|
|
6
|
-
import "
|
|
6
|
+
import { defineAsyncComponent as n } from "vue";
|
|
7
7
|
import "../flow/base/AbLogicResizeNodeModel.mjs";
|
|
8
8
|
import "../flow/base/AbLogicResizeNode.mjs";
|
|
9
9
|
import "element-plus/es";
|
|
@@ -11,28 +11,27 @@ import "element-plus/es/components/base/style/css";
|
|
|
11
11
|
import "element-plus/es/components/divider/style/css";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
|
-
import
|
|
14
|
+
import i from "./database/regular-query/index.mjs";
|
|
15
15
|
import t from "./database/aggregate-query/index.mjs";
|
|
16
|
-
import
|
|
16
|
+
import m from "./database/dynamic-sql/index.mjs";
|
|
17
17
|
/* empty css */
|
|
18
18
|
/* empty css */
|
|
19
19
|
/* empty css */
|
|
20
20
|
/* empty css */
|
|
21
21
|
/* empty css */
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
|
|
27
|
-
const d = [{ type: "start", label: "开始", nodeAndView: e, configComponent: null, icon: void 0 }], p = [{ name: "base", label: "基本", icon: a.baseIcon, items: [{ type: "end", label: "结束", icon: a.endIcon, nodeAndView: o, configComponent: null }] }, { name: "database", label: "数据库", icon: a.baseIcon, items: [{ type: "regularQuery", label: "普通查询", icon: a.regularQueryIcon, nodeAndView: n, configComponent: c(() => import("./database/regular-query/config.vue.mjs")) }, { type: "aggregateQuery", label: "汇总查询", drawerWidth: "60%", icon: a.aggregateQueryIcon, nodeAndView: t, configComponent: c(() => import("./database/aggregate-query/config.vue.mjs")) }, { type: "dynamicSql", label: "动态SQL", drawerWidth: "60%", icon: a.dynamicSqlIcon, nodeAndView: i, configComponent: c(() => import("./database/dynamic-sql/config.vue.mjs")) }] }, { name: "computation", label: "计算", icon: a.baseIcon, items: [{ type: "computationSort", label: "排序", icon: a.computationSortIcon, nodeAndView: m, drawerWidth: "50%", configComponent: c(() => import("./computation/sort/config.vue.mjs")) }] }, { name: "service", label: "服务", icon: a.baseIcon, items: [{ type: "httpService", label: "http服务", drawerWidth: "60%", icon: a.httpServiceIcon, nodeAndView: r, configComponent: c(() => import("./service/http-service/config.vue.mjs")) }, { type: "customBean", label: "自定义bean", drawerWidth: "50%", icon: a.httpServiceIcon, nodeAndView: s, configComponent: c(() => import("./service/custom-bean/config.vue.mjs")) }] }];
|
|
22
|
+
import r from "./computation/sort/index.mjs";
|
|
23
|
+
import s from "./service/http-service/index.mjs";
|
|
24
|
+
import a from "./service/custom-bean/index.mjs";
|
|
25
|
+
import c from "./components-icons.mjs";
|
|
26
|
+
const p = [{ type: "start", label: "开始", nodeAndView: e, configComponent: null, icon: void 0 }], d = [{ name: "base", label: "基本", icon: c.baseIcon, items: [{ type: "end", label: "结束", icon: c.endIcon, nodeAndView: o, configComponent: null }] }, { name: "database", label: "数据库", icon: c.baseIcon, items: [{ type: "regularQuery", label: "普通查询", icon: c.regularQueryIcon, nodeAndView: i, configComponent: n(() => import("./database/regular-query/config.vue.mjs")) }, { type: "aggregateQuery", label: "汇总查询", drawerWidth: "60%", icon: c.aggregateQueryIcon, nodeAndView: t, configComponent: n(() => import("./database/aggregate-query/config.vue.mjs")) }, { type: "dynamicSql", label: "动态SQL", drawerWidth: "60%", icon: c.dynamicSqlIcon, nodeAndView: m, configComponent: n(() => import("./database/dynamic-sql/config.vue.mjs")) }] }, { name: "computation", label: "计算", icon: c.baseIcon, items: [{ type: "computationSort", label: "排序", icon: c.computationSortIcon, nodeAndView: r, drawerWidth: "50%", configComponent: n(() => import("./computation/sort/config.vue.mjs")) }] }, { name: "service", label: "服务", icon: c.baseIcon, items: [{ type: "httpService", label: "http服务", drawerWidth: "60%", icon: c.httpServiceIcon, nodeAndView: s, configComponent: n(() => import("./service/http-service/config.vue.mjs")) }, { type: "customBean", label: "自定义bean", drawerWidth: "50%", icon: c.httpServiceIcon, nodeAndView: a, configComponent: n(() => import("./service/custom-bean/config.vue.mjs")) }] }];
|
|
28
27
|
function l(e2) {
|
|
29
|
-
for (let o2 of
|
|
28
|
+
for (let o2 of d) {
|
|
30
29
|
let n2 = o2.items.find((o3) => o3.type === e2);
|
|
31
30
|
if (n2) return n2;
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
function u(e2) {
|
|
35
|
-
for (let o2 of
|
|
34
|
+
for (let o2 of d) {
|
|
36
35
|
let n2 = o2.items.find((o3) => o3.type === e2);
|
|
37
36
|
if (n2) return n2;
|
|
38
37
|
}
|
|
@@ -40,6 +39,6 @@ function u(e2) {
|
|
|
40
39
|
export {
|
|
41
40
|
u as getConfigByType,
|
|
42
41
|
l as getServiceNodeByType,
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
p as initNodes,
|
|
43
|
+
d as serviceComponentGroups
|
|
45
44
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => any;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
|
-
}, string, import('vue').
|
|
8
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
9
|
modelValue: {
|
|
10
10
|
type: ArrayConstructor;
|
|
11
11
|
default: () => any;
|
|
12
12
|
};
|
|
13
|
-
}>> &
|
|
13
|
+
}>> & {
|
|
14
14
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
15
|
-
}
|
|
15
|
+
}, {
|
|
16
16
|
modelValue: unknown[];
|
|
17
|
-
}, {}
|
|
17
|
+
}, {}>;
|
|
18
18
|
export default _default;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { ElTable as e,
|
|
1
|
+
import { ElTable as e, ElTableColumn as l, ElInput as o, ElButton as a } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/table/style/css";
|
|
4
4
|
import "element-plus/es/components/button/style/css";
|
|
5
5
|
import "element-plus/es/components/table-column/style/css";
|
|
6
6
|
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import "
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const v = () => {
|
|
15
|
-
_.modelValue.push({ name: "", value: "", description: "" });
|
|
7
|
+
import { defineComponent as t, createBlock as n, openBlock as s, withCtx as m, createVNode as u, unref as p, createTextVNode as d } from "vue";
|
|
8
|
+
import r from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
9
|
+
const i = t({ __name: "cookie-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { emit: i2 }) {
|
|
10
|
+
const c = t2;
|
|
11
|
+
c.modelValue || i2("update:modelValue", []);
|
|
12
|
+
const V = () => {
|
|
13
|
+
c.modelValue.push({ name: "", value: "", description: "" });
|
|
16
14
|
};
|
|
17
|
-
return (i3,
|
|
18
|
-
const
|
|
19
|
-
return s(), n(b, { data:
|
|
20
|
-
return o2 = e2.$index, e2.row, void
|
|
15
|
+
return (i3, f) => {
|
|
16
|
+
const v = o, y = l, _ = a, b = e;
|
|
17
|
+
return s(), n(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [u(y, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [u(p(r), { size: "small", paramTypes: ["service", "value"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { align: "center", width: "70" }, { header: m(() => [u(_, { type: "primary", size: "small", onClick: V, link: "" }, { default: m(() => [d("添加 ")]), _: 1 })]), default: m((e2) => [u(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
|
+
return o2 = e2.$index, e2.row, void c.modelValue.splice(o2, 1);
|
|
21
19
|
var o2;
|
|
22
|
-
} }, { default:
|
|
20
|
+
} }, { default: m(() => [d(" 删除 ")]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
23
21
|
};
|
|
24
22
|
} });
|
|
25
23
|
export {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => {
|
|
5
5
|
content: any[];
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
}
|
|
8
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (...args: any[]) => void;
|
|
10
|
-
}, string, import('vue').
|
|
10
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
11
|
modelValue: {
|
|
12
12
|
type: ArrayConstructor;
|
|
13
13
|
default: () => {
|
|
14
14
|
content: any[];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
}>> &
|
|
17
|
+
}>> & {
|
|
18
18
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
19
|
-
}
|
|
19
|
+
}, {
|
|
20
20
|
modelValue: unknown[];
|
|
21
|
-
}, {}
|
|
21
|
+
}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElTable as e, ElTableColumn as l, ElInput as o, ElSelect as
|
|
1
|
+
import { ElTable as e, ElTableColumn as l, ElInput as o, ElSelect as a, ElOption as t, ElButton as s } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/table/style/css";
|
|
4
4
|
import "element-plus/es/components/button/style/css";
|
|
@@ -6,24 +6,22 @@ import "element-plus/es/components/table-column/style/css";
|
|
|
6
6
|
import "element-plus/es/components/input/style/css";
|
|
7
7
|
import "element-plus/es/components/select/style/css";
|
|
8
8
|
import "element-plus/es/components/option/style/css";
|
|
9
|
-
import "
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const v =
|
|
15
|
-
|
|
16
|
-
const b = () => {
|
|
17
|
-
f.modelValue.push({ name: "", value: "", paramType: "TEXT", description: "" });
|
|
9
|
+
import { defineComponent as p, createBlock as m, createCommentVNode as n, openBlock as r, withCtx as d, createVNode as u, unref as i, createTextVNode as c } from "vue";
|
|
10
|
+
import V from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
11
|
+
const y = p({ __name: "form-data", props: { modelValue: { type: Array, default: () => ({ content: [] }) } }, emits: ["update:modelValue"], setup(p2, { expose: y2, emit: f }) {
|
|
12
|
+
const w = p2;
|
|
13
|
+
w.modelValue || f("update:modelValue", []);
|
|
14
|
+
const v = () => {
|
|
15
|
+
w.modelValue.push({ name: "", value: "", paramType: "TEXT", description: "" });
|
|
18
16
|
};
|
|
19
|
-
return
|
|
20
|
-
const
|
|
21
|
-
return Array.isArray(
|
|
22
|
-
return o2 = e2.$index, e2.row, void
|
|
17
|
+
return y2({}), (y3, f2) => {
|
|
18
|
+
const b = t, _ = a, T = o, U = l, h = s, k = e;
|
|
19
|
+
return Array.isArray(p2.modelValue) ? (r(), m(k, { key: 0, data: p2.modelValue, border: "", size: "small" }, { default: d(() => [u(U, { prop: "name", label: "参数名", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, { append: d(() => [u(_, { size: "small", modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: d(() => [u(b, { label: "Text", value: "TEXT" }), u(b, { label: "File", value: "FILE" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "prop", label: "值", align: "center" }, { default: d((e2) => [u(i(V), { size: "small", paramTypes: ["service", "data", "fixed"], showFileUpload: "FILE" === e2.row.paramType, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showFileUpload", "modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "description", label: "说明", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { align: "center", width: "70" }, { header: d(() => [u(h, { type: "primary", size: "small", onClick: v, link: "" }, { default: d(() => [c("添加 ")]), _: 1 })]), default: d((e2) => [u(h, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
20
|
+
return o2 = e2.$index, e2.row, void w.modelValue.splice(o2, 1);
|
|
23
21
|
var o2;
|
|
24
|
-
} }, { default: d(() =>
|
|
22
|
+
} }, { default: d(() => [c(" 删除 ")]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
|
|
25
23
|
};
|
|
26
24
|
} });
|
|
27
25
|
export {
|
|
28
|
-
|
|
26
|
+
y as default
|
|
29
27
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => any;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
|
-
}, string, import('vue').
|
|
8
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
9
|
modelValue: {
|
|
10
10
|
type: ArrayConstructor;
|
|
11
11
|
default: () => any;
|
|
12
12
|
};
|
|
13
|
-
}>> &
|
|
13
|
+
}>> & {
|
|
14
14
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
15
|
-
}
|
|
15
|
+
}, {
|
|
16
16
|
modelValue: unknown[];
|
|
17
|
-
}, {}
|
|
17
|
+
}, {}>;
|
|
18
18
|
export default _default;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { ElTable as e,
|
|
1
|
+
import { ElTable as e, ElTableColumn as l, ElInput as o, ElButton as a } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/table/style/css";
|
|
4
4
|
import "element-plus/es/components/button/style/css";
|
|
5
5
|
import "element-plus/es/components/table-column/style/css";
|
|
6
6
|
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import "
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const V = () => {
|
|
15
|
-
v.modelValue.push({ name: "", value: "", description: "" });
|
|
7
|
+
import { defineComponent as t, createBlock as s, openBlock as n, withCtx as m, createVNode as p, unref as u, createTextVNode as d } from "vue";
|
|
8
|
+
import r from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
9
|
+
const i = t({ __name: "header-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: i2, emit: c }) {
|
|
10
|
+
const V = t2;
|
|
11
|
+
V.modelValue || c("update:modelValue", []);
|
|
12
|
+
const f = () => {
|
|
13
|
+
V.modelValue.push({ name: "", value: "", description: "" });
|
|
16
14
|
};
|
|
17
15
|
return i2({}), (i3, c2) => {
|
|
18
|
-
const
|
|
19
|
-
return n(), s(b, { data:
|
|
20
|
-
return o2 = e2.$index, e2.row, void
|
|
16
|
+
const y = o, v = l, _ = a, b = e;
|
|
17
|
+
return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(y, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(r), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(y, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { align: "center", width: "70" }, { header: m(() => [p(_, { type: "primary", size: "small", onClick: f, link: "" }, { default: m(() => [d("添加 ")]), _: 1 })]), default: m((e2) => [p(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
|
|
18
|
+
return o2 = e2.$index, e2.row, void V.modelValue.splice(o2, 1);
|
|
21
19
|
var o2;
|
|
22
|
-
} }, { default:
|
|
20
|
+
} }, { default: m(() => [d(" 删除 ")]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
23
21
|
};
|
|
24
22
|
} });
|
|
25
23
|
export {
|