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,60 +0,0 @@
|
|
|
1
|
-
import { ElContainer as e, ElAside as o, ElMain as s } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/container/style/css";
|
|
4
|
-
import "element-plus/es/components/main/style/css";
|
|
5
|
-
import "element-plus/es/components/aside/style/css";
|
|
6
|
-
import "../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
7
|
-
import t from "./service-panel/service-panel.vue.mjs";
|
|
8
|
-
import n from "./service-flow-view/view-index.vue.mjs";
|
|
9
|
-
import "@logicflow/core";
|
|
10
|
-
import "@logicflow/extension";
|
|
11
|
-
import "./flow/base/AbLogicResizeNodeModel.mjs";
|
|
12
|
-
import "./flow/base/AbLogicResizeNode.mjs";
|
|
13
|
-
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
|
-
import "./service-components/base/loop-node/index.mjs";
|
|
16
|
-
import "element-plus/es/components/divider/style/css";
|
|
17
|
-
/* empty css */
|
|
18
|
-
/* empty css */
|
|
19
|
-
/* empty css */
|
|
20
|
-
/* empty css */
|
|
21
|
-
/* empty css */
|
|
22
|
-
/* empty css */
|
|
23
|
-
/* empty css */
|
|
24
|
-
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
|
-
/* empty css */
|
|
27
|
-
/* empty css */
|
|
28
|
-
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
|
-
import { useServiceFlowStore as i } from "../stores/page-store.mjs";
|
|
31
|
-
import { http as r } from "agilebuilder-ui";
|
|
32
|
-
import { defineComponent as m, onMounted as c, createBlock as a, openBlock as l, withCtx as p, createVNode as u } from "../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
33
|
-
import { ref as d } from "../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
34
|
-
import { normalizeStyle as v } from "../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
35
|
-
const g = m({ __name: "desginer-index", props: { pageContext: { type: Object, default: () => ({}) } }, setup(m2) {
|
|
36
|
-
const g2 = m2, f = d([]);
|
|
37
|
-
i().setPageContext(g2.pageContext);
|
|
38
|
-
const j = d(null), x = d(), b = () => {
|
|
39
|
-
r.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow/tree/" + g2.pageContext.systemCode + "/" + g2.pageContext.systemVersion).then((e2) => {
|
|
40
|
-
e2 && (f.value = e2.children);
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
c(() => {
|
|
44
|
-
b();
|
|
45
|
-
});
|
|
46
|
-
const w = (e2) => {
|
|
47
|
-
x.value.onDragNode(e2);
|
|
48
|
-
}, y = (e2) => {
|
|
49
|
-
x.value.onServiceClick(e2);
|
|
50
|
-
}, _ = () => {
|
|
51
|
-
x.value.clearFlowCanvas(), j.value = null;
|
|
52
|
-
};
|
|
53
|
-
return (i2, r2) => {
|
|
54
|
-
const c2 = o, d2 = s, g3 = e;
|
|
55
|
-
return l(), a(g3, { class: "amb-container" }, { default: p(() => [u(c2, { class: "serviceflow-container-left" }, { default: p(() => [u(t, { logicFlowInstance: j.value, "onUpdate:logicFlowInstance": r2[0] || (r2[0] = (e2) => j.value = e2), serviceTreeData: f.value, onServiceClick: y, onClearFlowCanvas: _, onLoadTreeData: b, onDragNode: w, style: v(i2.containerHeightStyle) }, null, 8, ["logicFlowInstance", "serviceTreeData", "style"])]), _: 1 }), u(d2, { class: "serviceflow-container-main", style: v(i2.containerHeightStyle) }, { default: p(() => [u(n, { logicFlowInstance: j.value, "onUpdate:logicFlowInstance": r2[1] || (r2[1] = (e2) => j.value = e2), serviceTreeData: f.value, pageContext: m2.pageContext, onLoadTreeData: b, ref_key: "serviceFlowViewRef", ref: x }, null, 8, ["logicFlowInstance", "serviceTreeData", "pageContext"])]), _: 1 }, 8, ["style"])]), _: 1 });
|
|
56
|
-
};
|
|
57
|
-
} });
|
|
58
|
-
export {
|
|
59
|
-
g as default
|
|
60
|
-
};
|
|
@@ -1,7 +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 e from "../../../../assets/icon/end.svg.mjs";
|
|
3
|
-
import { defineComponent as s, createElementBlock as t, openBlock as n, createElementVNode as d } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
4
|
-
const o = { style: { padding: "10px" } }, m = s({ __name: "index", props: { graphModel: Object, properties: Object }, setup: (s2) => (s3, m2) => (n(), t("div", o, m2[0] || (m2[0] = [d("div", { class: "node-content" }, [d("div", { style: { padding: "8px 27px", display: "flex", "align-items": "center" } }, [d("img", { src: e, style: { height: "28px" } }), d("span", { class: "content" }, "结束")])], -1)]))) });
|
|
5
|
-
export {
|
|
6
|
-
m as default
|
|
7
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { h as e } from "@logicflow/core";
|
|
2
|
-
import { GroupNode as o } from "@logicflow/extension";
|
|
3
|
-
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
4
|
-
import "../../../flow/base/AbLogicResizeNodeModel.mjs";
|
|
5
|
-
import "../../../flow/base/AbLogicResizeNode.mjs";
|
|
6
|
-
/* empty css */
|
|
7
|
-
o.view;
|
|
8
|
-
o.model;
|
|
@@ -1,7 +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 e from "../../../../assets/icon/start.png.mjs";
|
|
3
|
-
import { defineComponent as s, createElementBlock as t, openBlock as n, createElementVNode as o } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
4
|
-
const d = { style: { padding: "10px" } }, p = s({ __name: "index", props: { graphModel: Object, properties: Object }, setup: (s2) => (s3, p2) => (n(), t("div", d, p2[0] || (p2[0] = [o("div", { class: "node-content" }, [o("div", { style: { padding: "8px 27px", display: "flex", "align-items": "center" } }, [o("img", { src: e, style: { height: "28px" } }), o("span", { class: "content" }, "开始")])], -1)]))) });
|
|
5
|
-
export {
|
|
6
|
-
p as default
|
|
7
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import s from "../../assets/icon/base.png.mjs";
|
|
2
|
-
import o from "../../assets/icon/end.png.mjs";
|
|
3
|
-
import r from "../../assets/icon/regularQuery.svg.mjs";
|
|
4
|
-
import e from "../../assets/icon/aggregateQuery.svg.mjs";
|
|
5
|
-
import t from "../../assets/icon/dynamicSql.svg.mjs";
|
|
6
|
-
import m from "../../assets/icon/sort.svg.mjs";
|
|
7
|
-
import n from "../../assets/icon/http-service.svg.mjs";
|
|
8
|
-
const a = { baseIcon: s, endIcon: o, regularQueryIcon: r, aggregateQueryIcon: e, dynamicSqlIcon: t, computationSortIcon: m, httpServiceIcon: n };
|
|
9
|
-
export {
|
|
10
|
-
a as default
|
|
11
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ElDivider as e, ElFormItem as t, ElSelect as s, ElOption as l, ElAlert as o, ElButton as a, ElTable as r, ElTableColumn as n, ElTooltip as i, ElForm as p } 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/table/style/css";
|
|
5
|
-
import "element-plus/es/components/tooltip/style/css";
|
|
6
|
-
import "element-plus/es/components/table-column/style/css";
|
|
7
|
-
import "element-plus/es/components/alert/style/css";
|
|
8
|
-
import "element-plus/es/components/button/style/css";
|
|
9
|
-
import "element-plus/es/components/form-item/style/css";
|
|
10
|
-
import "element-plus/es/components/select/style/css";
|
|
11
|
-
import "element-plus/es/components/option/style/css";
|
|
12
|
-
import "element-plus/es/components/divider/style/css";
|
|
13
|
-
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
14
|
-
import { Minus as m, Plus as u } from "@element-plus/icons-vue";
|
|
15
|
-
import d from "../../../common/components/node-base-config.vue.mjs";
|
|
16
|
-
import { defineComponent as c, onMounted as v, createBlock as f, openBlock as y, withCtx as b, createVNode as _, createElementBlock as h, Fragment as k, renderList as g, createTextVNode as w, createElementVNode as x, createCommentVNode as V } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
17
|
-
import { ref as j, unref as O } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
18
|
-
import { toDisplayString as S } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
19
|
-
const z = { style: { position: "absolute", right: "10px" } }, C = { key: 0 }, E = { key: 1 }, $ = { key: 0 }, U = c({ __name: "config", props: { properties: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(c2, { expose: U2 }) {
|
|
20
|
-
const D = c2;
|
|
21
|
-
j([]);
|
|
22
|
-
const N = j([]), R = j([]), q = j([]);
|
|
23
|
-
v(() => {
|
|
24
|
-
D.service.variables && (D.service.variables.forEach((e2) => {
|
|
25
|
-
"array" === e2.type && N.value.push(e2), "array" === e2.type && e2.items[0] && "object" !== e2.items[0].type && q.value.push(e2.name);
|
|
26
|
-
}), B(D.properties.dataSource));
|
|
27
|
-
});
|
|
28
|
-
const A = (e2) => {
|
|
29
|
-
R.value = [], q.value.indexOf(e2) > -1 ? D.properties.sorts && 1 === D.properties.sorts.length && "item" === D.properties.sorts[0].name || (D.properties.sorts = [{ $editing: true, alias: "item", name: "item", order: "asc" }]) : D.service.variables.forEach((t2) => {
|
|
30
|
-
t2.name === e2 && t2.items && t2.items.length > 0 && t2.items[0].items.forEach((e3) => {
|
|
31
|
-
R.value.push({ name: e3.name, alias: e3.alias });
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
}, B = (e2) => {
|
|
35
|
-
R.value = [], D.service.variables.forEach((t2) => {
|
|
36
|
-
t2.name === e2 && t2.items && t2.items.length > 0 && t2.items[0].items.forEach((e3) => {
|
|
37
|
-
R.value.push({ name: e3.name, alias: e3.alias });
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
}, F = (e2, t2, s2) => {
|
|
41
|
-
e2.$editing = true;
|
|
42
|
-
}, G = () => {
|
|
43
|
-
D.properties.sorts || (D.properties.sorts = []), q.value.indexOf(D.properties.dataSource) > -1 ? D.properties.sorts.push({ $editing: true, alias: "item", name: "item", order: "asc" }) : D.properties.sorts.push({ $editing: true, name: "", order: "asc" });
|
|
44
|
-
};
|
|
45
|
-
return U2({}), (v2, j2) => {
|
|
46
|
-
const U3 = e, B2 = l, H = s, I = t, J = a, K = o, L = n, M = i, P = r, Q = p;
|
|
47
|
-
return y(), f(Q, { "label-width": "auto", "label-position": "left" }, { default: b(() => [_(d, { properties: c2.properties }, null, 8, ["properties"]), _(U3), _(I, { label: "数据源:" }, { default: b(() => [_(H, { modelValue: c2.properties.dataSource, "onUpdate:modelValue": j2[0] || (j2[0] = (e2) => c2.properties.dataSource = e2), "value-key": "name", onChange: A }, { default: b(() => [(y(true), h(k, null, g(N.value, (e2) => (y(), f(B2, { key: e2.code, label: e2.name, value: e2.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), _(K, { type: "info", size: "small", closable: false }, { title: b(() => [j2[3] || (j2[3] = w(" 排序条件 ", -1)), x("span", z, [-1 === q.value.indexOf(c2.properties.dataSource) ? (y(), f(J, { key: 0, size: "small", type: "primary", onClick: G }, { default: b(() => j2[2] || (j2[2] = [w("添加", -1)])), _: 1, __: [2] })) : V("", true)])]), _: 1 }), _(P, { data: c2.properties.sorts, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: F, size: "small", border: "", "default-expand-all": "" }, { default: b(() => [_(L, { type: "index", width: "50", label: "序号" }), _(L, { prop: "name", label: "字段名" }, { default: b((e2) => [q.value.indexOf(c2.properties.dataSource) > -1 ? (y(), h("span", C, "item")) : e2.row.$editing ? (y(), f(H, { key: 2, modelValue: e2.row.name, "onUpdate:modelValue": (t2) => e2.row.name = t2, onChange: (t2) => {
|
|
48
|
-
return s2 = t2, (l2 = e2.row).alias = "", void R.value.forEach((e3) => {
|
|
49
|
-
e3.name === s2 && (l2.alias = e3.alias);
|
|
50
|
-
});
|
|
51
|
-
var s2, l2;
|
|
52
|
-
}, "value-key": "name", size: "small" }, { default: b(() => [(y(true), h(k, null, g(R.value, (e3) => (y(), f(B2, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (y(), h("span", E, S(e2.row.alias), 1))]), _: 1 }), _(L, { prop: "order", label: "排序方式" }, { default: b((e2) => [e2.row.$editing ? (y(), f(H, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (t2) => e2.row.order = t2, placeholder: "" }, { default: b(() => [_(B2, { label: "升序", value: "asc" }), _(B2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (y(), h("span", $, S(e2.row.order), 1))]), _: 1 }), _(L, { align: "right" }, { header: b(() => [_(M, { effect: "dark", content: "添加", placement: "top" }, { default: b(() => [-1 === q.value.indexOf(c2.properties.dataSource) ? (y(), f(J, { key: 0, type: "primary", size: "small", icon: O(u), circle: "", onClick: j2[1] || (j2[1] = (e2) => G()) }, null, 8, ["icon"])) : V("", true)]), _: 1 })]), default: b((e2) => [x("span", null, [_(M, { effect: "dark", content: "删除", placement: "top" }, { default: b(() => [-1 === q.value.indexOf(c2.properties.dataSource) ? (y(), f(J, { key: 0, type: "danger", size: "small", icon: O(m), circle: "", onClick: (t2) => {
|
|
53
|
-
return s2 = e2.$index, e2.row, void D.properties.sorts.splice(s2, 1);
|
|
54
|
-
var s2;
|
|
55
|
-
} }, null, 8, ["icon", "onClick"])) : V("", true)]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 });
|
|
56
|
-
};
|
|
57
|
-
} });
|
|
58
|
-
export {
|
|
59
|
-
U as default
|
|
60
|
-
};
|
|
@@ -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 t = { type: "computationSort", 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
|
-
t 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" }, "计算-排序", -1)), m(c), n("div", l, d(o2.properties.name), 1)], 4)]);
|
|
11
|
-
} });
|
|
12
|
-
export {
|
|
13
|
-
p as default
|
|
14
|
-
};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { ElFormItem as e, ElInput as t, ElButton as s, ElAlert as o, ElText as l, ElRadioGroup as r, ElRadio as a, ElForm as p, ElMessage as i } 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/radio-group/style/css";
|
|
5
|
-
import "element-plus/es/components/radio/style/css";
|
|
6
|
-
import "element-plus/es/components/text/style/css";
|
|
7
|
-
import "element-plus/es/components/alert/style/css";
|
|
8
|
-
import "element-plus/es/components/form-item/style/css";
|
|
9
|
-
import "element-plus/es/components/input/style/css";
|
|
10
|
-
import "element-plus/es/components/button/style/css";
|
|
11
|
-
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
12
|
-
import { Search as n, View as m, Check as u } from "@element-plus/icons-vue";
|
|
13
|
-
import c from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
14
|
-
import d from "../../../common/components/datatable-select.vue.mjs";
|
|
15
|
-
import { useServiceFlowStore as y } from "../../../../stores/page-store.mjs";
|
|
16
|
-
import { queryTableFields as v, updateServiceParams as b, updateServiceReturns as f, getBaseUrl as _ } from "../../../../utils/common-util.mjs";
|
|
17
|
-
import { http as g } from "agilebuilder-ui";
|
|
18
|
-
import "uuid";
|
|
19
|
-
import T from "./dimension-statistical.vue.mjs";
|
|
20
|
-
import "element-plus/es/components/table/style/css";
|
|
21
|
-
import "element-plus/es/components/tooltip/style/css";
|
|
22
|
-
import "element-plus/es/components/select/style/css";
|
|
23
|
-
import "element-plus/es/components/option/style/css";
|
|
24
|
-
import "element-plus/es/components/table-column/style/css";
|
|
25
|
-
import "../../util/common-options.mjs";
|
|
26
|
-
import C from "./statistical-formula.vue.mjs";
|
|
27
|
-
import S from "./filter-conditions.vue.mjs";
|
|
28
|
-
import j from "./sort-conditions.vue.mjs";
|
|
29
|
-
import V from "../../../common/components/node-base-config.vue.mjs";
|
|
30
|
-
import { getNodeRuntimeObject as x } from "../../../service-flow-view/flow-util.mjs";
|
|
31
|
-
import "codemirror";
|
|
32
|
-
import "@codemirror/lang-sql";
|
|
33
|
-
import "@codemirror/state";
|
|
34
|
-
import h from "../../../common/components/sql-view/sql-view-dialog.vue.mjs";
|
|
35
|
-
import "element-plus/es/components/message/style/css";
|
|
36
|
-
import { defineComponent as w, onMounted as N, createElementBlock as k, openBlock as q, createVNode as F, withCtx as O, createElementVNode as U, createTextVNode as z } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
37
|
-
import { ref as E, unref as I } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
38
|
-
const M = { style: { position: "absolute", right: "0" } }, D = { style: { display: "flex" } }, J = w({ __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(w2, { expose: J2 }) {
|
|
39
|
-
var _a, _b;
|
|
40
|
-
const B = y(), A = w2;
|
|
41
|
-
A.properties.result || (A.properties.result = {});
|
|
42
|
-
const G = E(false), H = E(B.pageContext.systemCode);
|
|
43
|
-
((_a = A.properties) == null ? void 0 : _a.dataTableSystemCode) && (H.value = A.properties.dataTableSystemCode);
|
|
44
|
-
const K = E(B.pageContext.systemVersion);
|
|
45
|
-
((_b = A.properties) == null ? void 0 : _b.dataTableSystemVersion) && (K.value = A.properties.dataTableSystemVersion);
|
|
46
|
-
const L = E([]), P = E([]), Q = E([]);
|
|
47
|
-
A.properties.result.valueSetScope || (A.properties.result.valueSetScope = "all");
|
|
48
|
-
const R = E("array"), W = E(false), X = E("");
|
|
49
|
-
function Y() {
|
|
50
|
-
"first" == A.properties.result.valueSetScope ? R.value = "object" : R.value = "array";
|
|
51
|
-
}
|
|
52
|
-
function Z() {
|
|
53
|
-
const e2 = A.properties.dataTable, t2 = A.properties.dataTableSystemCode, s2 = A.properties.dataTableSystemVersion;
|
|
54
|
-
e2 ? v(t2, s2, e2).then((e3) => {
|
|
55
|
-
L.value = e3, P.value = L.value;
|
|
56
|
-
}) : (L.value = [], P.value = L.value);
|
|
57
|
-
}
|
|
58
|
-
N(() => {
|
|
59
|
-
Z(), ee();
|
|
60
|
-
});
|
|
61
|
-
const $ = (e2) => {
|
|
62
|
-
A.properties.dataTable = e2.dataTable.name, A.properties.dataTableSystemCode = e2.system.code, A.properties.dataTableSystemVersion = e2.system.publishVersion, H.value = A.properties.dataTableSystemCode, Z();
|
|
63
|
-
}, ee = () => {
|
|
64
|
-
Q.value = [];
|
|
65
|
-
const e2 = [];
|
|
66
|
-
A.properties.statistics && A.properties.statistics.forEach((t2) => {
|
|
67
|
-
const s2 = t2.newName ? t2.newName : t2.name;
|
|
68
|
-
s2 && e2.push({ type: "string", name: s2, alias: s2 });
|
|
69
|
-
}), A.properties.statisticalFormulas && A.properties.statisticalFormulas.forEach((t2) => {
|
|
70
|
-
if (t2.formula) {
|
|
71
|
-
const s2 = t2.newName ? t2.newName : t2.name;
|
|
72
|
-
s2 && !e2.includes(s2) && e2.push({ type: "number", name: s2, alias: s2 });
|
|
73
|
-
}
|
|
74
|
-
}), Q.value = e2;
|
|
75
|
-
};
|
|
76
|
-
function te() {
|
|
77
|
-
if (!A.properties.result.setTo) return void i.error("请先设置结果参数!");
|
|
78
|
-
const e2 = "first" == A.properties.result.valueSetScope ? "object" : "array";
|
|
79
|
-
b(A.properties.result.setTo, e2, Q.value);
|
|
80
|
-
}
|
|
81
|
-
function se() {
|
|
82
|
-
if (!A.properties.result.setTo) return void i.error("请先设置结果参数!");
|
|
83
|
-
const e2 = "first" == A.properties.result.valueSetScope ? "object" : "array";
|
|
84
|
-
f(A.properties.result.setTo, e2, Q.value);
|
|
85
|
-
}
|
|
86
|
-
function oe() {
|
|
87
|
-
X.value = "";
|
|
88
|
-
const e2 = x(A.logicFlowInstance.getNodeModelById(A.currentNode.data.id), A.service);
|
|
89
|
-
e2.props = JSON.parse(JSON.stringify(A.properties));
|
|
90
|
-
const t2 = _(A.pageContext.backendUrl, A.pageContext.isTest);
|
|
91
|
-
g.post(t2 + "/dsc/service-flow/test/database-node/show-sql", e2).then((e3) => {
|
|
92
|
-
W.value = true, X.value = e3;
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
return J2({}), (i2, y2) => {
|
|
96
|
-
const v2 = s, b2 = t, f2 = e, _2 = o, g2 = l, x2 = a, N2 = r, E2 = p;
|
|
97
|
-
return q(), k("div", null, [F(E2, { "label-width": "100", "label-position": "left", size: "small" }, { default: O(() => [F(V, { properties: w2.properties }, null, 8, ["properties"]), F(f2, { label: "选择数据表" }, { default: O(() => [F(b2, { modelValue: w2.properties.dataTable, "onUpdate:modelValue": y2[1] || (y2[1] = (e2) => w2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: O(() => [F(v2, { type: "default", icon: I(n), onClick: y2[0] || (y2[0] = (e2) => G.value = !G.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"]), U("span", M, [F(v2, { type: "primary", icon: I(m), onClick: oe }, { default: O(() => y2[7] || (y2[7] = [z("预览sql", -1)])), _: 1, __: [7] }, 8, ["icon"])]), F(d, { visible: G.value, "onUpdate:visible": y2[2] || (y2[2] = (e2) => G.value = e2), modelValue: w2.properties.dataTable, "onUpdate:modelValue": y2[3] || (y2[3] = (e2) => w2.properties.dataTable = e2), systemCode: H.value, systemVersion: K.value, onSelect: $ }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), F(_2, { title: "统计维度", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), F(T, { properties: w2.properties, dataTableColumns: P.value, onChange: ee, style: { "margin-bottom": "10 px" } }, null, 8, ["properties", "dataTableColumns"]), F(g2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: O(() => y2[8] || (y2[8] = [z("说明:1.支持自定义日期格式,同SimpleDateFormat,yyyy表示年,MM表示2位月...", -1), U("br", null, null, -1), z(" 2.未指定新字段名时,输出字段名同选择的字段名", -1), U("br", null, null, -1), z(" 3.动态维度值有填写时需要匹配才会执行此分组", -1)])), _: 1, __: [8] }), F(_2, { title: "统计公式", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), F(C, { properties: w2.properties, dataTableColumns: L.value, onChange: ee }, null, 8, ["properties", "dataTableColumns"]), F(g2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: O(() => y2[9] || (y2[9] = [z("说明:1.支持自定义统计公式,如sum(字段1+字段2)", -1)])), _: 1, __: [9] }), F(_2, { title: "过滤条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), F(S, { properties: w2.properties, dataTableColumns: L.value }, null, 8, ["properties", "dataTableColumns"]), F(_2, { title: "排序条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), F(j, { properties: w2.properties, dataTableColumns: Q.value }, null, 8, ["properties", "dataTableColumns"]), F(_2, { title: "结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), F(f2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: O(() => [F(N2, { modelValue: w2.properties.result.valueSetScope, "onUpdate:modelValue": y2[4] || (y2[4] = (e2) => w2.properties.result.valueSetScope = e2), onChange: Y, class: "ml-4" }, { default: O(() => [F(x2, { value: "first" }, { default: O(() => y2[10] || (y2[10] = [z("仅第一条", -1)])), _: 1, __: [10] }), F(x2, { value: "all" }, { default: O(() => y2[11] || (y2[11] = [z(" 全部 ", -1)])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), F(f2, { label: "设置到:", style: { width: "100%" } }, { default: O(() => [U("div", D, [F(I(c), { width: "260", paramTypes: ["service"], modelValue: w2.properties.result.setTo, "onUpdate:modelValue": y2[5] || (y2[5] = (e2) => w2.properties.result.setTo = e2), autoCreateFieldType: R.value }, null, 8, ["modelValue", "autoCreateFieldType"]), F(v2, { icon: I(u), type: "primary", onClick: te, style: { "margin-left": "10px" } }, { default: O(() => y2[12] || (y2[12] = [z(" 更新服务变量 ", -1)])), _: 1, __: [12] }, 8, ["icon"]), F(v2, { icon: I(u), type: "primary", onClick: se, style: { "margin-left": "10px" } }, { default: O(() => y2[13] || (y2[13] = [z(" 设置为返回值 ", -1)])), _: 1, __: [13] }, 8, ["icon"])])]), _: 1 })]), _: 1 }), F(I(h), { sql: X.value, "model-value": W.value, "onUpdate:modelValue": y2[6] || (y2[6] = (e2) => W.value = e2) }, null, 8, ["sql", "model-value"])]);
|
|
98
|
-
};
|
|
99
|
-
} });
|
|
100
|
-
export {
|
|
101
|
-
J as default
|
|
102
|
-
};
|
package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ElTableColumn as e, ElSelect as l, ElOption as t, ElInput as a, ElTooltip as o, ElButton as n, ElTable as s } from "element-plus/es";
|
|
2
|
-
import "element-plus/es/components/base/style/css";
|
|
3
|
-
import "element-plus/es/components/table/style/css";
|
|
4
|
-
import "element-plus/es/components/tooltip/style/css";
|
|
5
|
-
import "element-plus/es/components/button/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import "element-plus/es/components/select/style/css";
|
|
8
|
-
import "element-plus/es/components/option/style/css";
|
|
9
|
-
import "element-plus/es/components/table-column/style/css";
|
|
10
|
-
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
11
|
-
import { Minus as m, Plus as d } from "@element-plus/icons-vue";
|
|
12
|
-
import { dateFormats as i } from "../../util/common-options.mjs";
|
|
13
|
-
import { defineComponent as r, createBlock as p, openBlock as u, withCtx as c, createVNode as y, createElementBlock as b, Fragment as w, renderList as f, createElementVNode as _ } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
14
|
-
import { toDisplayString as v } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
15
|
-
import { unref as V } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
16
|
-
const h = { key: 0 }, g = { key: 0 }, k = { key: 0 }, C = { key: 0 }, T = r({ __name: "dimension-statistical", props: { properties: { type: Object, default: () => ({ statistics: {} }) }, dataTableColumns: { type: Array, default: () => [] } }, emits: ["change"], setup(r2, { emit: T2 }) {
|
|
17
|
-
const N = r2, U = T2;
|
|
18
|
-
function z(e2, l2, t2) {
|
|
19
|
-
e2.$editing = true;
|
|
20
|
-
}
|
|
21
|
-
const $ = (e2, l2) => {
|
|
22
|
-
l2 && N.dataTableColumns.forEach((t2) => {
|
|
23
|
-
t2.dbColumnName === e2 && (l2.dataType = t2.dataType, "DATE" !== l2.dataType && "TIME" !== t2.dataType && (l2.dateFormat = ""));
|
|
24
|
-
}), U("change", e2);
|
|
25
|
-
};
|
|
26
|
-
return (T3, j) => {
|
|
27
|
-
const E = e, x = t, F = l, A = a, D = n, I = o, M = s;
|
|
28
|
-
return u(), p(M, { data: r2.properties.statistics, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: z, size: "small", border: "", "default-expand-all": "" }, { default: c(() => [y(E, { type: "index", width: "50", label: "序号", align: "center" }), y(E, { prop: "name", label: "字段名" }, { default: c((e2) => [e2.row.$editing ? (u(), p(F, { key: 1, onChange: (l2) => $(l2, e2.row), modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", filterable: "" }, { default: c(() => [(u(true), b(w, null, f(r2.dataTableColumns, (e3) => (u(), p(x, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])) : (u(), b("span", h, v(e2.row.name), 1))]), _: 1 }), y(E, { prop: "name", label: "日期格式化", width: "120" }, { default: c((e2) => [e2.row.$editing ? (u(), p(F, { key: 1, disabled: "DATE" !== e2.row.dataType && "TIME" !== e2.row.dataType, filterable: true, "allow-create": true, modelValue: e2.row.dateFormat, "onUpdate:modelValue": (l2) => e2.row.dateFormat = l2, placeholder: "", size: "small" }, { default: c(() => [(u(true), b(w, null, f(V(i), (e3) => (u(), p(x, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["disabled", "modelValue", "onUpdate:modelValue"])) : (u(), b("span", g, v(e2.row.dateFormat), 1))]), _: 1 }), y(E, { prop: "newName", label: "新字段名", width: "160" }, { default: c((e2) => [e2.row.$editing ? (u(), p(A, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, size: "small", onChange: (l2) => U("change", e2.row) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (u(), b("span", k, v(e2.row.newName), 1))]), _: 1 }), y(E, { prop: "dynamicValue", label: "动态维度值" }, { default: c((e2) => [e2.row.$editing ? (u(), p(A, { key: 1, modelValue: e2.row.dynamicValue, "onUpdate:modelValue": (l2) => e2.row.dynamicValue = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), b("span", C, v(e2.row.dynamicValue), 1))]), _: 1 }), y(E, { align: "center", width: "80" }, { header: c(() => [y(I, { effect: "dark", content: "添加", placement: "top" }, { default: c(() => [y(D, { type: "primary", size: "small", icon: V(d), circle: "", onClick: j[0] || (j[0] = (e2) => (N.properties.statistics || (N.properties.statistics = []), void N.properties.statistics.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: c((e2) => [_("span", null, [y(I, { effect: "dark", content: "删除", placement: "top" }, { default: c(() => [y(D, { type: "danger", size: "small", icon: V(m), circle: "", onClick: (l2) => {
|
|
29
|
-
return t2 = e2.$index, e2.row, N.properties.statistics.splice(t2, 1), void $("", null);
|
|
30
|
-
var t2;
|
|
31
|
-
} }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
32
|
-
};
|
|
33
|
-
} });
|
|
34
|
-
export {
|
|
35
|
-
T as default
|
|
36
|
-
};
|
package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.mjs
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { ElTableColumn as e, ElSelect as l, ElOption as a, ElTooltip as o, ElButton as t, ElTable 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/tooltip/style/css";
|
|
5
|
-
import "element-plus/es/components/button/style/css";
|
|
6
|
-
import "element-plus/es/components/select/style/css";
|
|
7
|
-
import "element-plus/es/components/option/style/css";
|
|
8
|
-
import "element-plus/es/components/table-column/style/css";
|
|
9
|
-
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
10
|
-
import { Minus as d, Plus as p } from "@element-plus/icons-vue";
|
|
11
|
-
import { v4 as u } from "uuid";
|
|
12
|
-
import n from "../../../common/components/value-set-input/value-set-input.vue.mjs";
|
|
13
|
-
import { logicOperators as m } from "../../util/common-options.mjs";
|
|
14
|
-
import { defineComponent as s, createBlock as i, openBlock as T, withCtx as c, createVNode as w, createElementBlock as b, Fragment as y, renderList as v, withDirectives as f, createElementVNode as _ } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
15
|
-
import { toDisplayString as E } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
16
|
-
import { vShow as N } from "../../../../node_modules/.pnpm/@vue_runtime-dom@3.5.18/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs";
|
|
17
|
-
import { unref as V } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
18
|
-
const k = { key: 0 }, h = { key: 0 }, L = { key: 0 }, g = { key: 0 }, C = { key: 0 }, I = { key: 0 }, O = s({ __name: "filter-conditions", props: { properties: { type: Object, default: () => ({ filterConditions: [] }) }, dataTableColumns: { type: Array, default: () => [] } }, setup(s2) {
|
|
19
|
-
const O2 = s2, U = (e2) => {
|
|
20
|
-
G(e2);
|
|
21
|
-
};
|
|
22
|
-
function G(e2) {
|
|
23
|
-
e2.$editing = true;
|
|
24
|
-
}
|
|
25
|
-
return (A, B) => {
|
|
26
|
-
const j = e, z = a, R = l, $ = t, D = o, x = r;
|
|
27
|
-
return T(), i(x, { data: s2.properties.filterConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowClick: U, size: "small", border: "", "default-expand-all": "" }, { default: c(() => [w(j, { type: "index", width: "50", label: "序号", align: "center" }), w(j, { prop: "leftBracket", label: "((((", width: "60" }, { default: c((e2) => [e2.row.$editing ? (T(), i(R, { key: 1, size: "small", modelValue: e2.row.leftBracket, "onUpdate:modelValue": (l2) => e2.row.leftBracket = l2, placeholder: "", clearable: "" }, { default: c(() => [w(z, { label: "(", value: "(" }), w(z, { label: "((", value: "((" }), w(z, { label: "(((", value: "(((" }), w(z, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (T(), b("span", k, E(e2.row.leftBracket), 1))]), _: 1 }), w(j, { prop: "name", label: "字段名" }, { default: c((e2) => [e2.row.$editing ? (T(), i(R, { key: 1, modelValue: e2.row.propName, "onUpdate:modelValue": (l2) => e2.row.propName = l2, placeholder: "", filterable: true, "allow-create": true, size: "small", onChange: (l2) => function(e3, l3) {
|
|
28
|
-
if (!l3 || !O2.dataTableColumns) return;
|
|
29
|
-
const a2 = O2.dataTableColumns.filter((e4) => e4.name == l3.propName || e4.dbColumnName == l3.propName), o2 = l3.dataType;
|
|
30
|
-
a2 && a2.length > 0 ? l3.dataType = a2[0].dataType : l3.dataType = "TEXT", o2 != l3.dataType && (l3.operator = null);
|
|
31
|
-
}(A.val, e2.row), title: e2.row.propName }, { default: c(() => [(T(true), b(y, null, v(s2.dataTableColumns, (e3) => (T(), i(z, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "title"])) : (T(), b("span", h, E(e2.row.propName), 1))]), _: 1 }), w(j, { prop: "operator", label: "操作符", width: "100" }, { default: c((e2) => [e2.row.$editing ? (T(), i(R, { key: 1, modelValue: e2.row.operator, "onUpdate:modelValue": (l2) => e2.row.operator = l2, placeholder: "", size: "small", title: e2.row.operator }, { default: c(() => [f(w(z, { label: "大于", value: "GT" }, null, 512), [[N, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), f(w(z, { label: "小于", value: "LT" }, null, 512), [[N, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), f(w(z, { label: "大于", value: "GT" }, null, 512), [[N, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), f(w(z, { label: "小于", value: "LT" }, null, 512), [[N, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(z, { label: "等于", value: "EQ" }), f(w(z, { label: "小于等于", value: "LET" }, null, 512), [[N, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), f(w(z, { label: "大于等于", value: "GET" }, null, 512), [[N, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), f(w(z, { label: "小于等于", value: "LET" }, null, 512), [[N, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), f(w(z, { label: "大于等于", value: "GET" }, null, 512), [[N, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(z, { label: "不等于", value: "NET" }), f(w(z, { label: "包含", value: "CONTAIN" }, null, 512), [[N, "TEXT" == e2.row.dataType]]), f(w(z, { label: "左匹配", value: "LEFT_LIKE" }, null, 512), [[N, "TEXT" == e2.row.dataType]]), f(w(z, { label: "右匹配", value: "RIGHT_LIKE" }, null, 512), [[N, "TEXT" == e2.row.dataType]]), f(w(z, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[N, "TEXT" == e2.row.dataType]]), f(w(z, { label: "IN", value: "RANGE_QUERY" }, null, 512), [[N, "TEXT" == e2.row.dataType || "LONG" == e2.row.dataType || "INTEGER" == e2.row.dataType]]), w(z, { label: "等于Null", value: "IS_NULL" }), w(z, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])) : (T(), b("span", L, E(e2.row.operator), 1))]), _: 1 }), w(j, { prop: "propValue", label: "值" }, { default: c((e2) => [w(V(n), { showLabel: !e2.row.$editing, size: "small", paramTypes: ["system", "context", "service", "request", "fixed"], modelValue: e2.row.propValue, "onUpdate:modelValue": (l2) => e2.row.propValue = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), w(j, { prop: "rightBracket", label: "))))", width: "60" }, { default: c((e2) => [e2.row.$editing ? (T(), i(R, { key: 1, size: "small", modelValue: e2.row.rightBracket, "onUpdate:modelValue": (l2) => e2.row.rightBracket = l2, placeholder: "", clearable: "" }, { default: c(() => [w(z, { label: ")", value: ")" }), w(z, { label: "))", value: "))" }), w(z, { label: ")))", value: ")))" }), w(z, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (T(), b("span", g, E(e2.row.rightBracket), 1))]), _: 1 }), w(j, { prop: "joinSign", label: "连接符", width: "70" }, { default: c((e2) => [e2.row.$editing ? (T(), i(R, { key: 1, modelValue: e2.row.logicOperator, "onUpdate:modelValue": (l2) => e2.row.logicOperator = l2, clearable: "", placeholder: "", size: "small" }, { default: c(() => [(T(true), b(y, null, v(V(m), (e3) => (T(), i(z, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (T(), b("span", C, E(e2.row.logicOperator), 1))]), _: 1 }), w(j, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: c((e2) => [e2.row.$editing ? (T(), i(R, { key: 1, modelValue: e2.row.variableIsNull, "onUpdate:modelValue": (l2) => e2.row.variableIsNull = l2, clearable: "", placeholder: "请选择" }, { default: c(() => [w(z, { label: "Null", value: "null" }), w(z, { label: "忽略(1=1)", value: "ignore" }), w(z, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (T(), b("span", I, E(e2.row.variableIsNull), 1))]), _: 1 }), w(j, { align: "center", width: "60" }, { header: c(() => [w(D, { effect: "dark", content: "添加", placement: "top" }, { default: c(() => [w($, { type: "primary", size: "small", icon: V(p), circle: "", onClick: B[0] || (B[0] = (e2) => (() => {
|
|
32
|
-
O2.properties.filterConditions || (O2.properties.filterConditions = []);
|
|
33
|
-
const e3 = { code: u() };
|
|
34
|
-
O2.properties.filterConditions.push(e3), G(e3);
|
|
35
|
-
})()) }, null, 8, ["icon"])]), _: 1 })]), default: c((e2) => [_("span", null, [w(D, { effect: "dark", content: "删除", placement: "top" }, { default: c(() => [w($, { type: "danger", size: "small", icon: V(d), circle: "", onClick: (l2) => {
|
|
36
|
-
return a2 = e2.$index, e2.row, void O2.properties.filterConditions.splice(a2, 1);
|
|
37
|
-
var a2;
|
|
38
|
-
} }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
39
|
-
};
|
|
40
|
-
} });
|
|
41
|
-
export {
|
|
42
|
-
O as default
|
|
43
|
-
};
|
|
@@ -1,27 +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 t from "../../../../assets/icon/vardef-v.png.mjs";
|
|
6
|
-
import { defineComponent as s, onMounted as r, createElementBlock as o, openBlock as n, createElementVNode as l, createVNode as i, Fragment as p, renderList as d } 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 u } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
8
|
-
import { toDisplayString as m, normalizeStyle as a } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
9
|
-
const c = { class: "serviceflow-nodeTitle" }, v = { class: "serviceflow-nodeContent" }, f = ["title"], h = s({ __name: "index", props: { graphModel: { type: Object, default: () => ({}) }, model: { type: Object, default: () => ({}) }, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup(s2, { emit: h2 }) {
|
|
10
|
-
const _ = s2, b = u([]), y = u([]);
|
|
11
|
-
return r(() => {
|
|
12
|
-
_.graphModel.modelToGraphData().nodes.forEach((e2, t2) => {
|
|
13
|
-
y.value.push({ id: e2.id, name: e2.properties.name });
|
|
14
|
-
}), y.value.push({ id: "end", name: "结束" }), _.properties && _.properties.rules && _.properties.rules.length > 0 && _.properties.rules.forEach((e2, t2) => {
|
|
15
|
-
b.value.push(e2.name + "->" + function(e3) {
|
|
16
|
-
if ("end" === e3) return "结束";
|
|
17
|
-
for (let t3 = 0; t3 < y.value.length; t3++) if (y.value[t3].id == e3) return y.value[t3].name;
|
|
18
|
-
}(e2.to));
|
|
19
|
-
});
|
|
20
|
-
}), (r2, u2) => {
|
|
21
|
-
const h3 = e;
|
|
22
|
-
return n(), o("div", null, [u2[1] || (u2[1] = l("img", { src: t, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), l("div", { class: "serviceflow-nodeView", style: a({ backgroundColor: s2.properties.backgroundColor }) }, [l("div", c, m(s2.properties.name ? s2.properties.name : "条件判断"), 1), i(h3), l("div", v, [l("div", { class: "serviceflow-nodeContent-desc", title: s2.properties.description }, m(s2.properties.description), 9, f), (n(true), o(p, null, d(b.value, (e2) => (n(), o("div", null, [l("span", null, m(e2), 1), u2[0] || (u2[0] = l("br", null, null, -1))]))), 256))])], 4)]);
|
|
23
|
-
};
|
|
24
|
-
} });
|
|
25
|
-
export {
|
|
26
|
-
h as default
|
|
27
|
-
};
|
package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElTableColumn as e, ElSelect as o, ElOption as l, ElInput as t, ElTooltip as n, ElButton as s, ElTable 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/tooltip/style/css";
|
|
5
|
-
import "element-plus/es/components/button/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import "element-plus/es/components/select/style/css";
|
|
8
|
-
import "element-plus/es/components/option/style/css";
|
|
9
|
-
import "element-plus/es/components/table-column/style/css";
|
|
10
|
-
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
11
|
-
import { Minus as a, Plus as m } from "@element-plus/icons-vue";
|
|
12
|
-
import { defineComponent as d, createBlock as i, openBlock as p, withCtx as u, createVNode as c, createElementBlock as y, Fragment as _, renderList as b, createElementVNode as f } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
13
|
-
import { toDisplayString as v } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
14
|
-
import { unref as w } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
15
|
-
const V = { key: 0 }, k = { key: 0 }, C = { key: 0 }, h = d({ __name: "sort-conditions", props: { properties: { type: Object, default: () => ({ sortConditions: [] }) }, dataTableColumns: { type: Array, default: () => [] } }, setup(d2) {
|
|
16
|
-
const h2 = d2, g = () => {
|
|
17
|
-
};
|
|
18
|
-
return (z, U) => {
|
|
19
|
-
const j = e, x = l, $ = o, S = t, T = s, A = n, D = r;
|
|
20
|
-
return p(), i(D, { data: d2.properties.sortConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: g, size: "small", border: "", "default-expand-all": "" }, { default: u(() => [c(j, { type: "index", width: "50", label: "序号", align: "center" }), c(j, { prop: "name", label: "字段名" }, { default: u((e2) => [e2.row.$editing ? (p(), i($, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (o2) => e2.row.name = o2, placeholder: "", size: "small" }, { default: u(() => [(p(true), y(_, null, b(d2.dataTableColumns, (e3) => (p(), i(x, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (p(), y("span", V, v(e2.row.name), 1))]), _: 1 }), c(j, { prop: "order", label: "排序方式" }, { default: u((e2) => [e2.row.$editing ? (p(), i($, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (o2) => e2.row.order = o2, placeholder: "" }, { default: u(() => [c(x, { label: "升序", value: "asc" }), c(x, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (p(), y("span", k, v(e2.row.order), 1))]), _: 1 }), c(j, { prop: "name", label: "动态排序值" }, { default: u((e2) => [e2.row.$editing ? (p(), i(S, { key: 1, modelValue: e2.row.dynamicSortValue, "onUpdate:modelValue": (o2) => e2.row.dynamicSortValue = o2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), y("span", C, v(e2.row.dynamicSortValue), 1))]), _: 1 }), c(j, { align: "center", width: "90" }, { header: u(() => [c(A, { effect: "dark", content: "添加", placement: "top" }, { default: u(() => [c(T, { type: "primary", size: "small", icon: w(m), circle: "", onClick: U[0] || (U[0] = (e2) => (h2.properties.sortConditions || (h2.properties.sortConditions = []), void h2.properties.sortConditions.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: u((e2) => [f("span", null, [c(A, { effect: "dark", content: "删除", placement: "top" }, { default: u(() => [c(T, { type: "danger", size: "small", icon: w(a), circle: "", onClick: (o2) => {
|
|
21
|
-
return l2 = e2.$index, e2.row, void h2.properties.sortConditions.splice(l2, 1);
|
|
22
|
-
var l2;
|
|
23
|
-
} }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
24
|
-
};
|
|
25
|
-
} });
|
|
26
|
-
export {
|
|
27
|
-
h as default
|
|
28
|
-
};
|
package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.mjs
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ElTableColumn as e, ElSelect as l, ElOption as t, ElInput as o, ElTooltip as a, ElButton as s, ElTable as n } 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/tooltip/style/css";
|
|
5
|
-
import "element-plus/es/components/button/style/css";
|
|
6
|
-
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import "element-plus/es/components/select/style/css";
|
|
8
|
-
import "element-plus/es/components/option/style/css";
|
|
9
|
-
import "element-plus/es/components/table-column/style/css";
|
|
10
|
-
import "../../../../node_modules/.pnpm/vue@3.5.18_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
|
|
11
|
-
import { Minus as m, Plus as r } from "@element-plus/icons-vue";
|
|
12
|
-
import { formulas as u } from "../../util/common-options.mjs";
|
|
13
|
-
import { defineComponent as i, createBlock as p, openBlock as d, withCtx as c, createVNode as f, createElementBlock as y, Fragment as b, renderList as w, createElementVNode as _ } from "../../../../node_modules/.pnpm/@vue_runtime-core@3.5.18/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
|
|
14
|
-
import { toDisplayString as v } from "../../../../node_modules/.pnpm/@vue_shared@3.5.18/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
|
|
15
|
-
import { unref as h } from "../../../../node_modules/.pnpm/@vue_reactivity@3.5.18/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
|
|
16
|
-
const k = { key: 0 }, g = { key: 0 }, V = { key: 0 }, C = i({ __name: "statistical-formula", props: { properties: { type: Object, default: () => ({ statisticalFormulas: {} }) }, dataTableColumns: { type: Array, default: () => [] } }, emits: ["change"], setup(i2, { emit: C2 }) {
|
|
17
|
-
const N = i2, j = C2, z = () => {
|
|
18
|
-
};
|
|
19
|
-
return (C3, F) => {
|
|
20
|
-
const U = e, $ = t, x = l, T = o, A = s, D = a, E = n;
|
|
21
|
-
return d(), p(E, { data: i2.properties.statisticalFormulas, "row-key": "name", onRowDblclick: z, size: "small", border: "", "default-expand-all": "" }, { default: c(() => [f(U, { type: "index", width: "50", label: "序号" }), f(U, { prop: "name", label: "字段名" }, { default: c((e2) => [e2.row.$editing ? (d(), p(x, { key: 1, filterable: true, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", onChange: F[0] || (F[0] = (e3) => j("change")) }, { default: c(() => [(d(true), y(b, null, w(i2.dataTableColumns, (e3) => (d(), p($, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (d(), y("span", k, v(e2.row.name), 1))]), _: 1 }), f(U, { prop: "formula", label: "公式" }, { default: c((e2) => [e2.row.$editing ? (d(), p(x, { key: 1, filterable: true, "allow-create": true, modelValue: e2.row.formula, "onUpdate:modelValue": (l2) => e2.row.formula = l2, placeholder: "", size: "small", onChange: F[1] || (F[1] = (e3) => j("change")) }, { default: c(() => [(d(true), y(b, null, w(h(u), (e3) => (d(), p($, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (d(), y("span", g, v(e2.row.formula), 1))]), _: 1 }), f(U, { prop: "newName", label: "新字段名", width: "160" }, { default: c((e2) => [e2.row.$editing ? (d(), p(T, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, placeholder: "", size: "small", onChange: F[2] || (F[2] = (e3) => j("change")) }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (d(), y("span", V, v(e2.row.newName), 1))]), _: 1 }), f(U, { align: "center", width: "80" }, { header: c(() => [f(D, { effect: "dark", content: "添加", placement: "top" }, { default: c(() => [f(A, { type: "primary", size: "small", icon: h(r), circle: "", onClick: F[3] || (F[3] = (e2) => (N.properties.statisticalFormulas || (N.properties.statisticalFormulas = []), void N.properties.statisticalFormulas.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: c((e2) => [_("span", null, [f(D, { effect: "dark", content: "删除", placement: "top" }, { default: c(() => [f(A, { type: "danger", size: "small", icon: h(m), circle: "", onClick: (l2) => {
|
|
22
|
-
return t2 = e2.$index, e2.row, void N.properties.statisticalFormulas.splice(t2, 1);
|
|
23
|
-
var t2;
|
|
24
|
-
} }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
25
|
-
};
|
|
26
|
-
} });
|
|
27
|
-
export {
|
|
28
|
-
C as default
|
|
29
|
-
};
|