service-flow-designer 2.2.25 → 2.2.28
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/_virtual/_plugin-vue_export-helper.js +5 -7
- package/dist/es/assets/icon/aggregateQuery.svg.js +2 -2
- package/dist/es/assets/icon/base.png.js +2 -2
- package/dist/es/assets/icon/dynamicSql.svg.js +2 -2
- package/dist/es/assets/icon/end.png.js +2 -2
- package/dist/es/assets/icon/end.svg.js +2 -2
- package/dist/es/assets/icon/http-service.svg.js +2 -2
- package/dist/es/assets/icon/regularQuery.svg.js +2 -2
- package/dist/es/assets/icon/sort.svg.js +2 -2
- package/dist/es/assets/icon/start.png.js +2 -2
- package/dist/es/assets/icon/vardef-v.png.js +2 -2
- package/dist/es/designer/common/components/database-select.vue.d.ts +5 -5
- package/dist/es/designer/common/components/datatable-select.vue.d.ts +5 -5
- package/dist/es/designer/common/components/datatable-select.vue.js +5 -5
- package/dist/es/designer/common/components/datatable-select.vue2.js +53 -295
- package/dist/es/designer/common/components/file-upload.vue.d.ts +5 -5
- package/dist/es/designer/common/components/file-upload.vue.js +5 -5
- package/dist/es/designer/common/components/file-upload.vue2.js +27 -98
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.d.ts +5 -5
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +18 -60
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue2.js +2 -2
- package/dist/es/designer/common/components/json-view/json-view.vue.d.ts +4 -4
- package/dist/es/designer/common/components/json-view/json-view.vue.js +42 -130
- package/dist/es/designer/common/components/json-view/json-view.vue2.js +2 -2
- package/dist/es/designer/common/components/node-base-config.vue.d.ts +4 -4
- package/dist/es/designer/common/components/node-base-config.vue.js +7 -63
- package/dist/es/designer/common/components/node-base-config.vue2.js +2 -2
- package/dist/es/designer/common/components/sql-view/index.d.ts +4 -0
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +36 -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.d.ts +32 -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 +2 -2
- package/dist/es/designer/common/components/value-set-input/option.js +6 -59
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.d.ts +15 -6
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +5 -5
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +114 -555
- package/dist/es/designer/common/util/node-util.js +24 -46
- package/dist/es/designer/desginer-index.vue.d.ts +4 -4
- package/dist/es/designer/desginer-index.vue.js +5 -5
- package/dist/es/designer/desginer-index.vue2.js +31 -106
- package/dist/es/designer/flow/base/AbLogicNode.js +9 -14
- package/dist/es/designer/flow/base/AbLogicNodeModel.js +21 -53
- package/dist/es/designer/flow/base/AbLogicResizeNode.js +9 -14
- package/dist/es/designer/flow/base/AbLogicResizeNodeModel.js +11 -30
- package/dist/es/designer/flow/edge/CustomLine.js +15 -42
- package/dist/es/designer/service-components/base/custom-function/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/end-node/index.js +25 -68
- package/dist/es/designer/service-components/base/end-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/end-node/index.vue.js +5 -5
- package/dist/es/designer/service-components/base/end-node/index.vue2.js +4 -29
- package/dist/es/designer/service-components/base/judge-condition/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/loop-node/index.js +5 -174
- package/dist/es/designer/service-components/base/loop-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/notification/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/start-node/index.js +25 -69
- package/dist/es/designer/service-components/base/start-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/start-node/index.vue.js +5 -5
- package/dist/es/designer/service-components/base/start-node/index.vue2.js +4 -29
- package/dist/es/designer/service-components/components-icons.js +9 -33
- package/dist/es/designer/service-components/computation/clean/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/connect/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/sort/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/computation/sort/config.vue.js +5 -5
- package/dist/es/designer/service-components/computation/sort/config.vue2.js +41 -297
- package/dist/es/designer/service-components/computation/sort/index.js +12 -34
- package/dist/es/designer/service-components/computation/sort/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/sort/index.vue.js +5 -5
- package/dist/es/designer/service-components/computation/sort/index.vue2.js +8 -40
- package/dist/es/designer/service-components/computation/split-joint/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/statistics/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.d.ts +22 -4
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +76 -330
- package/dist/es/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +22 -217
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue2.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +29 -439
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue2.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/index.js +14 -39
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.js +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +19 -90
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +15 -177
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue2.js +2 -2
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +16 -185
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue2.js +2 -2
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +5 -5
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +73 -476
- package/dist/es/designer/service-components/database/dynamic-sql/index.js +12 -34
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.js +5 -5
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +8 -40
- package/dist/es/designer/service-components/database/regular-query/config.vue.d.ts +23 -5
- package/dist/es/designer/service-components/database/regular-query/config.vue.js +5 -5
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +55 -656
- package/dist/es/designer/service-components/database/regular-query/index.js +14 -39
- package/dist/es/designer/service-components/database/regular-query/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/regular-query/index.vue.js +5 -5
- package/dist/es/designer/service-components/database/regular-query/index.vue2.js +19 -85
- package/dist/es/designer/service-components/index.js +38 -224
- package/dist/es/designer/service-components/service/common/cookie-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/cookie-data.vue.js +18 -125
- package/dist/es/designer/service-components/service/common/cookie-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/form-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/form-data.vue.js +18 -153
- package/dist/es/designer/service-components/service/common/form-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/header-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/header-data.vue.js +18 -126
- package/dist/es/designer/service-components/service/common/header-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/json-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/json-data.vue.js +5 -5
- package/dist/es/designer/service-components/service/common/json-data.vue2.js +18 -127
- package/dist/es/designer/service-components/service/common/param-config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/common/param-config.vue.js +5 -5
- package/dist/es/designer/service-components/service/common/param-config.vue2.js +19 -211
- package/dist/es/designer/service-components/service/common/query-params.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/query-params.vue.js +18 -126
- package/dist/es/designer/service-components/service/common/query-params.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/raw-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/raw-data.vue.js +27 -93
- package/dist/es/designer/service-components/service/common/raw-data.vue2.js +2 -2
- package/dist/es/designer/service-components/service/common/xml-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/custom-bean/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue.js +2 -2
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +11 -64
- package/dist/es/designer/service-components/service/custom-bean/index.js +12 -34
- package/dist/es/designer/service-components/service/custom-bean/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/custom-bean/index.vue.js +5 -5
- package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +8 -40
- package/dist/es/designer/service-components/service/http-service/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/http-service/config.vue.js +5 -5
- package/dist/es/designer/service-components/service/http-service/config.vue2.js +23 -296
- package/dist/es/designer/service-components/service/http-service/index.js +12 -34
- package/dist/es/designer/service-components/service/http-service/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/index.vue.js +5 -5
- package/dist/es/designer/service-components/service/http-service/index.vue2.js +8 -40
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +42 -262
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue2.js +2 -2
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +15 -63
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue2.js +2 -2
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +42 -262
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue2.js +2 -2
- package/dist/es/designer/service-components/util/common-options.js +14 -130
- package/dist/es/designer/service-flow-view/flow-tool-util.js +14 -24
- package/dist/es/designer/service-flow-view/flow-util.d.ts +2 -0
- package/dist/es/designer/service-flow-view/flow-util.js +50 -112
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.d.ts +5 -5
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +5 -5
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +29 -188
- package/dist/es/designer/service-flow-view/service-node-config.vue.d.ts +15 -6
- package/dist/es/designer/service-flow-view/service-node-config.vue.js +5 -5
- package/dist/es/designer/service-flow-view/service-node-config.vue2.js +31 -148
- package/dist/es/designer/service-flow-view/service-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-params.vue.js +51 -421
- package/dist/es/designer/service-flow-view/service-params.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-result.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-result.vue.js +54 -304
- package/dist/es/designer/service-flow-view/service-result.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +38 -307
- package/dist/es/designer/service-flow-view/service-test/request-params.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.d.ts +5 -5
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +64 -325
- package/dist/es/designer/service-flow-view/service-test/service-test.vue2.js +2 -2
- package/dist/es/designer/service-flow-view/service-update-log.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/service-update-log.vue.js +5 -5
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +35 -205
- package/dist/es/designer/service-flow-view/view-index.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/view-index.vue.js +5 -5
- package/dist/es/designer/service-flow-view/view-index.vue2.js +90 -354
- package/dist/es/designer/service-panel/component-panel.vue.d.ts +2 -2
- package/dist/es/designer/service-panel/component-panel.vue.js +5 -5
- package/dist/es/designer/service-panel/component-panel.vue2.js +13 -81
- package/dist/es/designer/service-panel/service-list.vue.d.ts +5 -5
- package/dist/es/designer/service-panel/service-list.vue.js +5 -5
- package/dist/es/designer/service-panel/service-list.vue2.js +76 -378
- package/dist/es/designer/service-panel/service-panel.vue.d.ts +5 -5
- package/dist/es/designer/service-panel/service-panel.vue.js +5 -5
- package/dist/es/designer/service-panel/service-panel.vue2.js +18 -78
- package/dist/es/index.js +2 -2
- package/dist/es/stores/page-store.d.ts +11 -11
- package/dist/es/stores/page-store.js +26 -73
- package/dist/es/style.css +768 -820
- package/dist/es/utils/common-util.d.ts +1 -0
- package/dist/es/utils/common-util.js +95 -205
- package/package.json +4 -2
- package/dist/es/assets/icon/clean.svg.js +0 -4
- package/dist/es/assets/icon/condition.png.js +0 -4
- package/dist/es/assets/icon/connect.svg.js +0 -4
- package/dist/es/assets/icon/function.png.js +0 -4
- package/dist/es/assets/icon/loop.svg.js +0 -4
- package/dist/es/assets/icon/notification.svg.js +0 -4
- package/dist/es/assets/icon/split-joint.svg.js +0 -4
- package/dist/es/assets/icon/statistics.svg.js +0 -4
- package/dist/es/designer/common/components/database-select.vue.js +0 -7
- package/dist/es/designer/common/components/database-select.vue2.js +0 -218
- package/dist/es/designer/common/components/database-select.vue3.js +0 -1
- package/dist/es/designer/common/components/datatable-select.vue3.js +0 -1
- package/dist/es/designer/common/components/file-upload.vue3.js +0 -1
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue3.js +0 -1
- package/dist/es/designer/desginer-index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/custom-function/config.vue.d.ts +0 -18
- package/dist/es/designer/service-components/base/custom-function/config.vue.js +0 -7
- package/dist/es/designer/service-components/base/custom-function/config.vue2.js +0 -321
- package/dist/es/designer/service-components/base/custom-function/config.vue3.js +0 -1
- package/dist/es/designer/service-components/base/custom-function/index.js +0 -39
- package/dist/es/designer/service-components/base/custom-function/index.vue.js +0 -7
- package/dist/es/designer/service-components/base/custom-function/index.vue2.js +0 -44
- package/dist/es/designer/service-components/base/custom-function/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/end-node/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/judge-condition/config.vue.d.ts +0 -40
- package/dist/es/designer/service-components/base/judge-condition/config.vue.js +0 -4
- package/dist/es/designer/service-components/base/judge-condition/config.vue2.js +0 -589
- package/dist/es/designer/service-components/base/judge-condition/index.js +0 -49
- package/dist/es/designer/service-components/base/judge-condition/index.vue.js +0 -7
- package/dist/es/designer/service-components/base/judge-condition/index.vue2.js +0 -67
- package/dist/es/designer/service-components/base/judge-condition/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/loop-node/config.vue.d.ts +0 -14
- package/dist/es/designer/service-components/base/loop-node/config.vue.js +0 -7
- package/dist/es/designer/service-components/base/loop-node/config.vue2.js +0 -80
- package/dist/es/designer/service-components/base/loop-node/config.vue3.js +0 -1
- package/dist/es/designer/service-components/base/loop-node/index.vue.js +0 -1
- package/dist/es/designer/service-components/base/notification/config.vue.d.ts +0 -18
- package/dist/es/designer/service-components/base/notification/config.vue.js +0 -4
- package/dist/es/designer/service-components/base/notification/config.vue2.js +0 -339
- package/dist/es/designer/service-components/base/notification/index.js +0 -39
- package/dist/es/designer/service-components/base/notification/index.vue.js +0 -7
- package/dist/es/designer/service-components/base/notification/index.vue2.js +0 -44
- package/dist/es/designer/service-components/base/notification/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/notification/quill-example.vue.d.ts +0 -19
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.d.ts +0 -47
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.js +0 -7
- package/dist/es/designer/service-components/base/notification/recipients-select.vue2.js +0 -153
- package/dist/es/designer/service-components/base/notification/recipients-select.vue3.js +0 -1
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue.d.ts +0 -18
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue.js +0 -110
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue2.js +0 -4
- package/dist/es/designer/service-components/base/start-node/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/clean/config.vue.d.ts +0 -25
- package/dist/es/designer/service-components/computation/clean/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/clean/config.vue2.js +0 -434
- package/dist/es/designer/service-components/computation/clean/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/clean/index.js +0 -39
- package/dist/es/designer/service-components/computation/clean/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/clean/index.vue2.js +0 -44
- package/dist/es/designer/service-components/computation/clean/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/connect/config.vue.d.ts +0 -23
- package/dist/es/designer/service-components/computation/connect/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/connect/config.vue2.js +0 -522
- package/dist/es/designer/service-components/computation/connect/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/connect/index.js +0 -39
- package/dist/es/designer/service-components/computation/connect/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/connect/index.vue2.js +0 -44
- package/dist/es/designer/service-components/computation/connect/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/sort/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/sort/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/split-joint/config.vue.d.ts +0 -23
- package/dist/es/designer/service-components/computation/split-joint/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/split-joint/config.vue2.js +0 -343
- package/dist/es/designer/service-components/computation/split-joint/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/split-joint/index.js +0 -39
- package/dist/es/designer/service-components/computation/split-joint/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/split-joint/index.vue2.js +0 -44
- package/dist/es/designer/service-components/computation/split-joint/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/statistics/config.vue.d.ts +0 -23
- package/dist/es/designer/service-components/computation/statistics/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/statistics/config.vue2.js +0 -452
- package/dist/es/designer/service-components/computation/statistics/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/statistics/index.js +0 -39
- package/dist/es/designer/service-components/computation/statistics/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/statistics/index.vue2.js +0 -44
- package/dist/es/designer/service-components/computation/statistics/index.vue3.js +0 -1
- package/dist/es/designer/service-components/database/aggregate-query/config.vue3.js +0 -1
- package/dist/es/designer/service-components/database/aggregate-query/index.vue3.js +0 -1
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue3.js +0 -1
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.js +0 -1
- package/dist/es/designer/service-components/database/regular-query/config.vue3.js +0 -1
- package/dist/es/designer/service-components/database/regular-query/index.vue3.js +0 -1
- package/dist/es/designer/service-components/service/common/json-data.vue3.js +0 -1
- package/dist/es/designer/service-components/service/common/param-config.vue3.js +0 -1
- package/dist/es/designer/service-components/service/custom-bean/index.vue3.js +0 -1
- package/dist/es/designer/service-components/service/http-service/config.vue3.js +0 -1
- package/dist/es/designer/service-components/service/http-service/index.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/service-flow-tool.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/service-node-config.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/service-update-log.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/view-index.vue3.js +0 -1
- package/dist/es/designer/service-panel/component-panel.vue3.js +0 -1
- package/dist/es/designer/service-panel/service-list.vue3.js +0 -1
- package/dist/es/designer/service-panel/service-panel.vue3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElForm as e, ElDivider as t, ElFormItem as l, ElTooltip as o, ElSelect as s, ElOption as a, ElIcon as n, ElTabs as r, ElTabPane as u, ElTable as p, ElTableColumn as i, ElAlert as m, ElRadioGroup as c, ElRadio as d } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/form/style/css";
|
|
4
4
|
import "element-plus/es/components/radio-group/style/css";
|
|
@@ -13,493 +13,90 @@ import "element-plus/es/components/tooltip/style/css";
|
|
|
13
13
|
import "element-plus/es/components/select/style/css";
|
|
14
14
|
import "element-plus/es/components/option/style/css";
|
|
15
15
|
import "element-plus/es/components/form-item/style/css";
|
|
16
|
+
import "element-plus/es/components/divider/style/css";
|
|
17
|
+
import { defineComponent as f, ref as v, onMounted as b, createElementBlock as h, openBlock as y, createVNode as g, withCtx as x, createElementVNode as S, withDirectives as _, unref as k, Fragment as V, renderList as z, createBlock as w, vShow as D, createTextVNode as L } from "vue";
|
|
18
|
+
import { useLocalStorage as C } from "@vueuse/core";
|
|
19
|
+
import H from "../../../common/components/node-base-config.vue.js";
|
|
20
|
+
import { Search as O, FullScreen as j, CaretRight as U } from "@element-plus/icons-vue";
|
|
21
|
+
import { EditorView as T, basicSetup as q } from "codemirror";
|
|
22
|
+
import { StandardSQL as E, keywordCompletionSource as G, sql as W } from "@codemirror/lang-sql";
|
|
23
|
+
import { EditorState as X } from "@codemirror/state";
|
|
24
|
+
import { openSearchPanel as B } from "@codemirror/search";
|
|
25
|
+
import I from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
26
|
+
import "element-plus/es/components/dialog/style/css";
|
|
27
|
+
import "element-plus/es/components/container/style/css";
|
|
28
|
+
import "element-plus/es/components/pagination/style/css";
|
|
29
|
+
import "element-plus/es/components/header/style/css";
|
|
16
30
|
import "element-plus/es/components/button/style/css";
|
|
17
31
|
import "element-plus/es/components/input/style/css";
|
|
18
|
-
import "
|
|
19
|
-
import "element-plus
|
|
20
|
-
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "SQL窗口", -1));
|
|
39
|
-
const _hoisted_4 = { class: "editorTool" };
|
|
40
|
-
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
41
|
-
style: {
|
|
42
|
-
minHeight: "400px",
|
|
43
|
-
maxHeight: "400px",
|
|
44
|
-
backgroundColor: "#fff",
|
|
45
|
-
color: "#333",
|
|
46
|
-
outline: "1px dotted #212121"
|
|
47
|
-
},
|
|
48
|
-
id: "cf-codemirror"
|
|
49
|
-
}, null, -1));
|
|
50
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
51
|
-
__name: "config",
|
|
52
|
-
props: {
|
|
53
|
-
properties: {
|
|
54
|
-
type: Object,
|
|
55
|
-
default: () => {
|
|
56
|
-
return {};
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
emits: ["fullScreen"],
|
|
61
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
62
|
-
useServiceFlowStore();
|
|
63
|
-
const emits = __emit;
|
|
64
|
-
const props = __props;
|
|
65
|
-
const sqlResult = ref([]);
|
|
66
|
-
const activeName = ref("index0");
|
|
67
|
-
const showSelectDatabase = ref(false);
|
|
68
|
-
const fullScreenDrawer = ref(false);
|
|
69
|
-
const editorStyle = ref({ theme: "default", fontSize: 14, searchOpen: false });
|
|
70
|
-
if (!props.properties.result) {
|
|
71
|
-
props.properties.result = {};
|
|
72
|
-
}
|
|
73
|
-
const editor = ref({});
|
|
74
|
-
onMounted(() => {
|
|
75
|
-
let cacheEditorStyleStr = useLocalStorage("editorStyle", "").value;
|
|
76
|
-
if (cacheEditorStyleStr) {
|
|
77
|
-
const cacheEditorStyle = JSON.parse(cacheEditorStyleStr);
|
|
78
|
-
editorStyle.value.theme = cacheEditorStyle.theme || "default";
|
|
79
|
-
editorStyle.value.fontSize = cacheEditorStyle.fontSize || 14;
|
|
80
|
-
}
|
|
81
|
-
loadEditor();
|
|
82
|
-
});
|
|
83
|
-
function showFullScreen() {
|
|
84
|
-
if (fullScreenDrawer.value === true) {
|
|
85
|
-
fullScreenDrawer.value = false;
|
|
86
|
-
emits("fullScreen", { withHeader: true, drawerWidth: "50%" });
|
|
87
|
-
} else {
|
|
88
|
-
fullScreenDrawer.value = true;
|
|
89
|
-
emits("fullScreen", { withHeader: false, drawerWidth: "100%" });
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
const sqlDocCompletions = StandardSQL.language.data.of({
|
|
93
|
-
autocomplete: keywordCompletionSource
|
|
94
|
-
});
|
|
95
|
-
function changeEditorState() {
|
|
96
|
-
useLocalStorage("editorStyle", editorStyle.value).value = editorStyle.value;
|
|
97
|
-
if (editor.value) {
|
|
98
|
-
if (editor.value) {
|
|
99
|
-
editor.value.destroy();
|
|
100
|
-
}
|
|
101
|
-
loadEditor();
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
function getEditorState() {
|
|
105
|
-
const mytheme = getTheme();
|
|
106
|
-
const baseTheme = EditorView.theme({
|
|
107
|
-
".cm-content, .cm-gutter": { minHeight: "200px" },
|
|
108
|
-
"&": {
|
|
109
|
-
height: "400px",
|
|
110
|
-
maxHeight: "400px",
|
|
111
|
-
fontSize: editorStyle.value.fontSize + "px"
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
return EditorState.create({
|
|
115
|
-
doc: props.properties.function,
|
|
116
|
-
extensions: [
|
|
117
|
-
EditorState.tabSize.of(16),
|
|
118
|
-
basicSetup,
|
|
119
|
-
sql(),
|
|
120
|
-
sqlDocCompletions,
|
|
121
|
-
mytheme,
|
|
122
|
-
baseTheme,
|
|
123
|
-
EditorView.updateListener.of(function(value) {
|
|
124
|
-
props.properties.function = value.state.doc.toString();
|
|
125
|
-
})
|
|
126
|
-
]
|
|
127
|
-
});
|
|
32
|
+
import "agilebuilder-ui/src/utils/request";
|
|
33
|
+
import "element-plus";
|
|
34
|
+
/* empty css */
|
|
35
|
+
import { useServiceFlowStore as J } from "../../../../stores/page-store.js";
|
|
36
|
+
import { eclipse as N, githubDark as Q, githubLight as A, dracula as F, vscodeDark as K, xcodeDark as M, xcodeLight as P } from "@uiw/codemirror-themes-all";
|
|
37
|
+
const R = { style: {} }, Y = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, Z = { class: "editorTool" }, $ = f({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(f2, { expose: $2, emit: ee }) {
|
|
38
|
+
J();
|
|
39
|
+
const te = ee, le = f2, oe = v([]), se = v("index0");
|
|
40
|
+
v(false);
|
|
41
|
+
const ae = v(false), ne = v({ theme: "default", fontSize: 14, searchOpen: false });
|
|
42
|
+
le.properties.result || (le.properties.result = {});
|
|
43
|
+
const re = v({});
|
|
44
|
+
function ue() {
|
|
45
|
+
true === ae.value ? (ae.value = false, te("fullScreen", { withHeader: true, drawerWidth: "50%" })) : (ae.value = true, te("fullScreen", { withHeader: false, drawerWidth: "100%" }));
|
|
46
|
+
}
|
|
47
|
+
b(() => {
|
|
48
|
+
let e2 = C("editorStyle", "").value;
|
|
49
|
+
if (e2) {
|
|
50
|
+
const t2 = JSON.parse(e2);
|
|
51
|
+
ne.value.theme = t2.theme || "default", ne.value.fontSize = t2.fontSize || 14;
|
|
128
52
|
}
|
|
129
|
-
|
|
130
|
-
|
|
53
|
+
ce();
|
|
54
|
+
});
|
|
55
|
+
const pe = E.language.data.of({ autocomplete: G });
|
|
56
|
+
function ie() {
|
|
57
|
+
C("editorStyle", ne.value).value = ne.value, re.value && (re.value && re.value.destroy(), ce());
|
|
58
|
+
}
|
|
59
|
+
function me() {
|
|
60
|
+
const e2 = function() {
|
|
61
|
+
switch (ne.value.theme) {
|
|
131
62
|
case "xcodeLight":
|
|
132
|
-
return
|
|
63
|
+
return P;
|
|
133
64
|
case "xcodeDark":
|
|
134
|
-
return
|
|
65
|
+
return M;
|
|
135
66
|
case "vscodeDark":
|
|
136
|
-
return
|
|
67
|
+
return K;
|
|
137
68
|
case "dracula":
|
|
138
|
-
return
|
|
69
|
+
return F;
|
|
139
70
|
case "githubLight":
|
|
140
|
-
return
|
|
71
|
+
return A;
|
|
141
72
|
case "githubDark":
|
|
142
|
-
return
|
|
73
|
+
return Q;
|
|
143
74
|
case "eclipse":
|
|
144
|
-
return
|
|
145
|
-
}
|
|
146
|
-
return EditorView.theme({});
|
|
147
|
-
}
|
|
148
|
-
function loadEditor() {
|
|
149
|
-
const state = getEditorState();
|
|
150
|
-
editor.value = new EditorView({
|
|
151
|
-
state,
|
|
152
|
-
parent: document.getElementById("cf-codemirror")
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
function openSearch() {
|
|
156
|
-
if (editor.value) {
|
|
157
|
-
editor.value.focus();
|
|
158
|
-
let newState = openSearchPanel(editor.value);
|
|
159
|
-
if (newState) {
|
|
160
|
-
editor.value.update([]);
|
|
161
|
-
}
|
|
75
|
+
return N;
|
|
162
76
|
}
|
|
77
|
+
return T.theme({});
|
|
78
|
+
}(), t2 = T.theme({ ".cm-content, .cm-gutter": { minHeight: "200px" }, "&": { height: "400px", maxHeight: "400px", fontSize: ne.value.fontSize + "px" } });
|
|
79
|
+
return X.create({ doc: le.properties.function, extensions: [X.tabSize.of(16), q, W(), pe, e2, t2, T.updateListener.of(function(e3) {
|
|
80
|
+
le.properties.function = e3.state.doc.toString();
|
|
81
|
+
})] });
|
|
82
|
+
}
|
|
83
|
+
function ce() {
|
|
84
|
+
const e2 = me();
|
|
85
|
+
re.value = new T({ state: e2, parent: document.getElementById("cf-codemirror") });
|
|
86
|
+
}
|
|
87
|
+
function de() {
|
|
88
|
+
if (re.value) {
|
|
89
|
+
re.value.focus(), B(re.value) && re.value.update([]);
|
|
163
90
|
}
|
|
164
|
-
const executeSql = () => {
|
|
165
|
-
editor.value.state.doc.toString();
|
|
166
|
-
sqlResult.value = [
|
|
167
|
-
[
|
|
168
|
-
{ id: "1", name: "name1" },
|
|
169
|
-
{ id: "2", name: "name2" }
|
|
170
|
-
],
|
|
171
|
-
[
|
|
172
|
-
{ id: "结果2-1", name: "name1" },
|
|
173
|
-
{ id: "结果2-2", name: "name2" }
|
|
174
|
-
],
|
|
175
|
-
[
|
|
176
|
-
{ id: "结果3-1", name: "name1" },
|
|
177
|
-
{ id: "结果3-2", name: "name2" }
|
|
178
|
-
]
|
|
179
|
-
];
|
|
180
|
-
};
|
|
181
|
-
const selectChange = (result) => {
|
|
182
|
-
props.properties.database = result.database.name;
|
|
183
|
-
};
|
|
184
|
-
__expose({});
|
|
185
|
-
return (_ctx, _cache) => {
|
|
186
|
-
const _component_el_divider = ElDivider;
|
|
187
|
-
const _component_el_checkbox = ElCheckbox;
|
|
188
|
-
const _component_el_input = ElInput;
|
|
189
|
-
const _component_el_button = ElButton;
|
|
190
|
-
const _component_el_form_item = ElFormItem;
|
|
191
|
-
const _component_el_option = ElOption;
|
|
192
|
-
const _component_el_select = ElSelect;
|
|
193
|
-
const _component_el_tooltip = ElTooltip;
|
|
194
|
-
const _component_el_icon = ElIcon;
|
|
195
|
-
const _component_el_table_column = ElTableColumn;
|
|
196
|
-
const _component_el_table = ElTable;
|
|
197
|
-
const _component_el_tab_pane = ElTabPane;
|
|
198
|
-
const _component_el_tabs = ElTabs;
|
|
199
|
-
const _component_el_alert = ElAlert;
|
|
200
|
-
const _component_el_radio = ElRadio;
|
|
201
|
-
const _component_el_radio_group = ElRadioGroup;
|
|
202
|
-
const _component_el_form = ElForm;
|
|
203
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
204
|
-
createVNode(_component_el_form, {
|
|
205
|
-
"label-width": "auto",
|
|
206
|
-
"label-position": "left"
|
|
207
|
-
}, {
|
|
208
|
-
default: withCtx(() => [
|
|
209
|
-
createVNode(_sfc_main$1, { properties: __props.properties }, null, 8, ["properties"]),
|
|
210
|
-
createVNode(_component_el_divider),
|
|
211
|
-
createVNode(_component_el_form_item, null, {
|
|
212
|
-
label: withCtx((scope) => [
|
|
213
|
-
createVNode(_component_el_checkbox, {
|
|
214
|
-
modelValue: __props.properties.specifyDatabase,
|
|
215
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.properties.specifyDatabase = $event),
|
|
216
|
-
label: "指定数据库"
|
|
217
|
-
}, null, 8, ["modelValue"])
|
|
218
|
-
]),
|
|
219
|
-
default: withCtx(() => [
|
|
220
|
-
createVNode(_component_el_input, {
|
|
221
|
-
modelValue: __props.properties.database,
|
|
222
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.properties.database = $event),
|
|
223
|
-
readonly: "",
|
|
224
|
-
style: { "width": "85%" }
|
|
225
|
-
}, null, 8, ["modelValue"]),
|
|
226
|
-
createVNode(_component_el_button, {
|
|
227
|
-
type: "primary",
|
|
228
|
-
icon: unref(Search),
|
|
229
|
-
onClick: _cache[2] || (_cache[2] = ($event) => showSelectDatabase.value = !showSelectDatabase.value),
|
|
230
|
-
circle: "",
|
|
231
|
-
disabled: !__props.properties.specifyDatabase,
|
|
232
|
-
style: { "position": "absolute", "right": "0" }
|
|
233
|
-
}, null, 8, ["icon", "disabled"]),
|
|
234
|
-
createVNode(DatabaseSelect, {
|
|
235
|
-
visible: showSelectDatabase.value,
|
|
236
|
-
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => showSelectDatabase.value = $event),
|
|
237
|
-
modelValue: __props.properties.dataTable,
|
|
238
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.properties.dataTable = $event),
|
|
239
|
-
onSelect: selectChange
|
|
240
|
-
}, null, 8, ["visible", "modelValue"])
|
|
241
|
-
]),
|
|
242
|
-
_: 1
|
|
243
|
-
}),
|
|
244
|
-
createElementVNode("div", _hoisted_2, [
|
|
245
|
-
_hoisted_3,
|
|
246
|
-
createElementVNode("span", _hoisted_4, [
|
|
247
|
-
createVNode(_component_el_tooltip, {
|
|
248
|
-
effect: "dark",
|
|
249
|
-
content: "切换主题",
|
|
250
|
-
placement: "top"
|
|
251
|
-
}, {
|
|
252
|
-
default: withCtx(() => [
|
|
253
|
-
createVNode(_component_el_select, {
|
|
254
|
-
class: "editorOption",
|
|
255
|
-
onChange: changeEditorState,
|
|
256
|
-
modelValue: editorStyle.value.theme,
|
|
257
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => editorStyle.value.theme = $event),
|
|
258
|
-
placeholder: "",
|
|
259
|
-
size: "small",
|
|
260
|
-
style: { "width": "120px" }
|
|
261
|
-
}, {
|
|
262
|
-
default: withCtx(() => [
|
|
263
|
-
createVNode(_component_el_option, {
|
|
264
|
-
label: "默认",
|
|
265
|
-
value: "default"
|
|
266
|
-
}),
|
|
267
|
-
createVNode(_component_el_option, {
|
|
268
|
-
label: "VScodeDark",
|
|
269
|
-
value: "vscodeDark"
|
|
270
|
-
}),
|
|
271
|
-
createVNode(_component_el_option, {
|
|
272
|
-
label: "Dracula",
|
|
273
|
-
value: "dracula"
|
|
274
|
-
}),
|
|
275
|
-
createVNode(_component_el_option, {
|
|
276
|
-
label: "GithubLight",
|
|
277
|
-
value: "githubLight"
|
|
278
|
-
}),
|
|
279
|
-
createVNode(_component_el_option, {
|
|
280
|
-
label: "GithubDark",
|
|
281
|
-
value: "githubDark"
|
|
282
|
-
}),
|
|
283
|
-
createVNode(_component_el_option, {
|
|
284
|
-
label: "Eclipse",
|
|
285
|
-
value: "eclipse"
|
|
286
|
-
}),
|
|
287
|
-
createVNode(_component_el_option, {
|
|
288
|
-
label: "XcodeLight",
|
|
289
|
-
value: "xcodeLight"
|
|
290
|
-
}),
|
|
291
|
-
createVNode(_component_el_option, {
|
|
292
|
-
label: "XcodeDark",
|
|
293
|
-
value: "xcodeDark"
|
|
294
|
-
})
|
|
295
|
-
]),
|
|
296
|
-
_: 1
|
|
297
|
-
}, 8, ["modelValue"])
|
|
298
|
-
]),
|
|
299
|
-
_: 1
|
|
300
|
-
}),
|
|
301
|
-
createVNode(_component_el_tooltip, {
|
|
302
|
-
effect: "dark",
|
|
303
|
-
content: "切换字体大小",
|
|
304
|
-
placement: "top"
|
|
305
|
-
}, {
|
|
306
|
-
default: withCtx(() => [
|
|
307
|
-
createVNode(_component_el_select, {
|
|
308
|
-
class: "editorOption",
|
|
309
|
-
modelValue: editorStyle.value.fontSize,
|
|
310
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => editorStyle.value.fontSize = $event),
|
|
311
|
-
placeholder: "",
|
|
312
|
-
onChange: changeEditorState,
|
|
313
|
-
size: "small",
|
|
314
|
-
style: { "width": "80px" }
|
|
315
|
-
}, {
|
|
316
|
-
default: withCtx(() => [
|
|
317
|
-
createVNode(_component_el_option, {
|
|
318
|
-
label: "12",
|
|
319
|
-
value: 12
|
|
320
|
-
}),
|
|
321
|
-
createVNode(_component_el_option, {
|
|
322
|
-
label: "14",
|
|
323
|
-
value: 14
|
|
324
|
-
}),
|
|
325
|
-
createVNode(_component_el_option, {
|
|
326
|
-
label: "16",
|
|
327
|
-
value: 16
|
|
328
|
-
}),
|
|
329
|
-
createVNode(_component_el_option, {
|
|
330
|
-
label: "18",
|
|
331
|
-
value: 18
|
|
332
|
-
}),
|
|
333
|
-
createVNode(_component_el_option, {
|
|
334
|
-
label: "20",
|
|
335
|
-
value: 20
|
|
336
|
-
}),
|
|
337
|
-
createVNode(_component_el_option, {
|
|
338
|
-
label: "22",
|
|
339
|
-
value: 22
|
|
340
|
-
}),
|
|
341
|
-
createVNode(_component_el_option, {
|
|
342
|
-
label: "24",
|
|
343
|
-
value: 24
|
|
344
|
-
}),
|
|
345
|
-
createVNode(_component_el_option, {
|
|
346
|
-
label: "26",
|
|
347
|
-
value: 26
|
|
348
|
-
}),
|
|
349
|
-
createVNode(_component_el_option, {
|
|
350
|
-
label: "28",
|
|
351
|
-
value: 28
|
|
352
|
-
})
|
|
353
|
-
]),
|
|
354
|
-
_: 1
|
|
355
|
-
}, 8, ["modelValue"])
|
|
356
|
-
]),
|
|
357
|
-
_: 1
|
|
358
|
-
})
|
|
359
|
-
]),
|
|
360
|
-
createVNode(_component_el_tooltip, {
|
|
361
|
-
effect: "dark",
|
|
362
|
-
content: "打开搜索",
|
|
363
|
-
placement: "top"
|
|
364
|
-
}, {
|
|
365
|
-
default: withCtx(() => [
|
|
366
|
-
createVNode(_component_el_icon, {
|
|
367
|
-
class: "editorOption",
|
|
368
|
-
onClick: openSearch
|
|
369
|
-
}, {
|
|
370
|
-
default: withCtx(() => [
|
|
371
|
-
createVNode(unref(Search))
|
|
372
|
-
]),
|
|
373
|
-
_: 1
|
|
374
|
-
})
|
|
375
|
-
]),
|
|
376
|
-
_: 1
|
|
377
|
-
}),
|
|
378
|
-
createVNode(_component_el_tooltip, {
|
|
379
|
-
effect: "dark",
|
|
380
|
-
content: fullScreenDrawer.value ? "退出全屏" : "全屏",
|
|
381
|
-
placement: "top"
|
|
382
|
-
}, {
|
|
383
|
-
default: withCtx(() => [
|
|
384
|
-
createVNode(_component_el_icon, {
|
|
385
|
-
style: { "cursor": "pointer" },
|
|
386
|
-
onClick: showFullScreen
|
|
387
|
-
}, {
|
|
388
|
-
default: withCtx(() => [
|
|
389
|
-
createVNode(unref(FullScreen))
|
|
390
|
-
]),
|
|
391
|
-
_: 1
|
|
392
|
-
})
|
|
393
|
-
]),
|
|
394
|
-
_: 1
|
|
395
|
-
}, 8, ["content"]),
|
|
396
|
-
createVNode(_component_el_icon, {
|
|
397
|
-
style: { "cursor": "pointer" },
|
|
398
|
-
onClick: executeSql,
|
|
399
|
-
size: 25
|
|
400
|
-
}, {
|
|
401
|
-
default: withCtx(() => [
|
|
402
|
-
createVNode(unref(CaretRight))
|
|
403
|
-
]),
|
|
404
|
-
_: 1
|
|
405
|
-
})
|
|
406
|
-
]),
|
|
407
|
-
_hoisted_5,
|
|
408
|
-
withDirectives(createVNode(_component_el_tabs, {
|
|
409
|
-
modelValue: activeName.value,
|
|
410
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => activeName.value = $event),
|
|
411
|
-
type: "border-card",
|
|
412
|
-
style: { "margin-top": "10px" }
|
|
413
|
-
}, {
|
|
414
|
-
default: withCtx(() => [
|
|
415
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(sqlResult.value, (item, index) => {
|
|
416
|
-
return openBlock(), createBlock(_component_el_tab_pane, {
|
|
417
|
-
label: "结果" + (index + 1),
|
|
418
|
-
name: "index" + index
|
|
419
|
-
}, {
|
|
420
|
-
default: withCtx(() => [
|
|
421
|
-
createVNode(_component_el_table, {
|
|
422
|
-
data: item,
|
|
423
|
-
style: { "width": "100%" }
|
|
424
|
-
}, {
|
|
425
|
-
default: withCtx(() => [
|
|
426
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(item[0], (value, key) => {
|
|
427
|
-
return openBlock(), createBlock(_component_el_table_column, {
|
|
428
|
-
prop: key + "",
|
|
429
|
-
label: key
|
|
430
|
-
}, null, 8, ["prop", "label"]);
|
|
431
|
-
}), 256))
|
|
432
|
-
]),
|
|
433
|
-
_: 2
|
|
434
|
-
}, 1032, ["data"])
|
|
435
|
-
]),
|
|
436
|
-
_: 2
|
|
437
|
-
}, 1032, ["label", "name"]);
|
|
438
|
-
}), 256))
|
|
439
|
-
]),
|
|
440
|
-
_: 1
|
|
441
|
-
}, 8, ["modelValue"]), [
|
|
442
|
-
[vShow, sqlResult.value && sqlResult.value.lenght > 0]
|
|
443
|
-
]),
|
|
444
|
-
createVNode(_component_el_alert, {
|
|
445
|
-
title: "结果设置",
|
|
446
|
-
type: "info",
|
|
447
|
-
size: "small",
|
|
448
|
-
closable: false,
|
|
449
|
-
style: { "margin": "20px 0" }
|
|
450
|
-
}),
|
|
451
|
-
createVNode(_component_el_form_item, {
|
|
452
|
-
label: "",
|
|
453
|
-
"label-width": "0",
|
|
454
|
-
style: { "width": "100%" }
|
|
455
|
-
}, {
|
|
456
|
-
default: withCtx(() => [
|
|
457
|
-
createVNode(_component_el_radio_group, {
|
|
458
|
-
modelValue: __props.properties.result.valueSetScope,
|
|
459
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.properties.result.valueSetScope = $event),
|
|
460
|
-
class: "ml-4"
|
|
461
|
-
}, {
|
|
462
|
-
default: withCtx(() => [
|
|
463
|
-
createVNode(_component_el_radio, { value: "first" }, {
|
|
464
|
-
default: withCtx(() => [
|
|
465
|
-
createTextVNode("仅第一条")
|
|
466
|
-
]),
|
|
467
|
-
_: 1
|
|
468
|
-
}),
|
|
469
|
-
createVNode(_component_el_radio, { value: "all" }, {
|
|
470
|
-
default: withCtx(() => [
|
|
471
|
-
createTextVNode(" 全部 ")
|
|
472
|
-
]),
|
|
473
|
-
_: 1
|
|
474
|
-
})
|
|
475
|
-
]),
|
|
476
|
-
_: 1
|
|
477
|
-
}, 8, ["modelValue"])
|
|
478
|
-
]),
|
|
479
|
-
_: 1
|
|
480
|
-
}),
|
|
481
|
-
createVNode(_component_el_form_item, {
|
|
482
|
-
label: "设置到:",
|
|
483
|
-
style: { "width": "100%" }
|
|
484
|
-
}, {
|
|
485
|
-
default: withCtx(() => [
|
|
486
|
-
createVNode(unref(ValueSetInput), {
|
|
487
|
-
inputSize: "default",
|
|
488
|
-
paramTypes: ["service"],
|
|
489
|
-
size: "small",
|
|
490
|
-
modelValue: __props.properties.result.setTo,
|
|
491
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.properties.result.setTo = $event)
|
|
492
|
-
}, null, 8, ["modelValue"])
|
|
493
|
-
]),
|
|
494
|
-
_: 1
|
|
495
|
-
})
|
|
496
|
-
]),
|
|
497
|
-
_: 1
|
|
498
|
-
})
|
|
499
|
-
]);
|
|
500
|
-
};
|
|
501
91
|
}
|
|
502
|
-
|
|
92
|
+
const fe = () => {
|
|
93
|
+
re.value.state.doc.toString(), oe.value = [[{ id: "1", name: "name1" }, { id: "2", name: "name2" }], [{ id: "结果2-1", name: "name1" }, { id: "结果2-2", name: "name2" }], [{ id: "结果3-1", name: "name1" }, { id: "结果3-2", name: "name2" }]];
|
|
94
|
+
};
|
|
95
|
+
return $2({}), (v2, b2) => {
|
|
96
|
+
const C2 = t, T2 = l, q2 = a, E2 = s, G2 = o, W2 = n, X2 = i, B2 = p, J2 = u, N2 = r, Q2 = m, A2 = d, F2 = c, K2 = e;
|
|
97
|
+
return y(), h("div", R, [g(K2, { "label-width": "auto", "label-position": "left" }, { default: x(() => [g(H, { properties: f2.properties }, null, 8, ["properties"]), g(C2), g(T2), S("div", Y, [b2[5] || (b2[5] = S("span", { style: { color: "#909399", "font-size": "14px" } }, "SQL窗口", -1)), S("span", Z, [g(G2, { effect: "dark", content: "切换主题", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", onChange: ie, modelValue: ne.value.theme, "onUpdate:modelValue": b2[0] || (b2[0] = (e2) => ne.value.theme = e2), placeholder: "", size: "small", style: { width: "120px" } }, { default: x(() => [g(q2, { label: "默认", value: "default" }), g(q2, { label: "VScodeDark", value: "vscodeDark" }), g(q2, { label: "Dracula", value: "dracula" }), g(q2, { label: "GithubLight", value: "githubLight" }), g(q2, { label: "GithubDark", value: "githubDark" }), g(q2, { label: "Eclipse", value: "eclipse" }), g(q2, { label: "XcodeLight", value: "xcodeLight" }), g(q2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(G2, { effect: "dark", content: "切换字体大小", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", modelValue: ne.value.fontSize, "onUpdate:modelValue": b2[1] || (b2[1] = (e2) => ne.value.fontSize = e2), placeholder: "", onChange: ie, size: "small", style: { width: "80px" } }, { default: x(() => [g(q2, { label: "12", value: 12 }), g(q2, { label: "14", value: 14 }), g(q2, { label: "16", value: 16 }), g(q2, { label: "18", value: 18 }), g(q2, { label: "20", value: 20 }), g(q2, { label: "22", value: 22 }), g(q2, { label: "24", value: 24 }), g(q2, { label: "26", value: 26 }), g(q2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), g(G2, { effect: "dark", content: "打开搜索", placement: "top" }, { default: x(() => [g(W2, { class: "editorOption", onClick: de }, { default: x(() => [g(k(O))]), _: 1 })]), _: 1 }), g(G2, { effect: "dark", content: ae.value ? "退出全屏" : "全屏", placement: "top" }, { default: x(() => [g(W2, { style: { cursor: "pointer" }, onClick: ue }, { default: x(() => [g(k(j))]), _: 1 })]), _: 1 }, 8, ["content"]), g(W2, { style: { cursor: "pointer" }, onClick: fe, size: 25 }, { default: x(() => [g(k(U))]), _: 1 })]), b2[8] || (b2[8] = S("div", { style: { minHeight: "400px", maxHeight: "400px", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror" }, null, -1)), _(g(N2, { modelValue: se.value, "onUpdate:modelValue": b2[2] || (b2[2] = (e2) => se.value = e2), type: "border-card", style: { "margin-top": "10px" } }, { default: x(() => [(y(true), h(V, null, z(oe.value, (e2, t2) => (y(), w(J2, { label: "结果" + (t2 + 1), name: "index" + t2 }, { default: x(() => [g(B2, { data: e2, style: { width: "100%" } }, { default: x(() => [(y(true), h(V, null, z(e2[0], (e3, t3) => (y(), w(X2, { prop: t3 + "", label: t3 }, null, 8, ["prop", "label"]))), 256))]), _: 2 }, 1032, ["data"])]), _: 2 }, 1032, ["label", "name"]))), 256))]), _: 1 }, 8, ["modelValue"]), [[D, oe.value && oe.value.lenght > 0]]), g(Q2, { title: "结果设置", type: "info", size: "small", closable: false, style: { margin: "20px 0" } }), g(T2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: x(() => [g(F2, { modelValue: f2.properties.result.valueSetScope, "onUpdate:modelValue": b2[3] || (b2[3] = (e2) => f2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: x(() => [g(A2, { value: "first" }, { default: x(() => b2[6] || (b2[6] = [L("仅第一条")])), _: 1 }), g(A2, { value: "all" }, { default: x(() => b2[7] || (b2[7] = [L(" 全部 ")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(T2, { label: "设置到:", style: { width: "100%" } }, { default: x(() => [g(k(I), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: f2.properties.result.setTo, "onUpdate:modelValue": b2[4] || (b2[4] = (e2) => f2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]);
|
|
98
|
+
};
|
|
99
|
+
} });
|
|
503
100
|
export {
|
|
504
|
-
|
|
101
|
+
$ as default
|
|
505
102
|
};
|
|
@@ -1,39 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import e from "../../../flow/base/AbLogicNode.js";
|
|
2
|
+
import o from "../../../flow/base/AbLogicNodeModel.js";
|
|
3
3
|
import "../../../flow/base/AbLogicResizeNodeModel.js";
|
|
4
4
|
import "../../../flow/base/AbLogicResizeNode.js";
|
|
5
|
-
import { h, createApp } from "vue";
|
|
6
|
-
import
|
|
7
|
-
class
|
|
8
|
-
constructor(
|
|
9
|
-
super(
|
|
10
|
-
|
|
11
|
-
this.
|
|
12
|
-
model: props.model,
|
|
13
|
-
graphModel: props.graphModel,
|
|
14
|
-
disabled: props.graphModel.editConfigModel.isSilentMode,
|
|
15
|
-
isSelected: props.model.isSelected,
|
|
16
|
-
isHovered: props.model.isHovered,
|
|
17
|
-
properties: props.model.getProperties(),
|
|
18
|
-
onBtnClick: (i) => {
|
|
19
|
-
this.props.graphModel.eventCenter.emit(`node:select-click`, {
|
|
20
|
-
props
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
this.app = createApp({
|
|
25
|
-
render: () => this.r
|
|
26
|
-
});
|
|
5
|
+
import { h as s, createApp as i } from "vue";
|
|
6
|
+
import d from "./index.vue.js";
|
|
7
|
+
const t = { type: "dynamicSql", view: class extends e {
|
|
8
|
+
constructor(e2) {
|
|
9
|
+
super(e2), this.isMounted = false, this.r = s(d, { model: e2.model, graphModel: e2.graphModel, disabled: e2.graphModel.editConfigModel.isSilentMode, isSelected: e2.model.isSelected, isHovered: e2.model.isHovered, properties: e2.model.getProperties(), onBtnClick: (o2) => {
|
|
10
|
+
this.props.graphModel.eventCenter.emit("node:select-click", { props: e2 });
|
|
11
|
+
} }), this.app = i({ render: () => this.r });
|
|
27
12
|
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
const dynamicSql = {
|
|
32
|
-
type: "dynamicSql",
|
|
33
|
-
view: DynamicSqlNode,
|
|
34
|
-
model: DynamicSqlNodeModel,
|
|
35
|
-
options: {}
|
|
36
|
-
};
|
|
13
|
+
}, model: class extends o {
|
|
14
|
+
}, options: {} };
|
|
37
15
|
export {
|
|
38
|
-
|
|
16
|
+
t as default
|
|
39
17
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
graphModel: ObjectConstructor;
|
|
3
3
|
properties: {
|
|
4
4
|
type: ObjectConstructor;
|
|
5
5
|
default: () => {};
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
8
|
btnClick: (...args: any[]) => void;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
10
|
graphModel: ObjectConstructor;
|
|
@@ -12,9 +12,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
12
|
type: ObjectConstructor;
|
|
13
13
|
default: () => {};
|
|
14
14
|
};
|
|
15
|
-
}>> & {
|
|
15
|
+
}>> & Readonly<{
|
|
16
16
|
onBtnClick?: (...args: any[]) => any;
|
|
17
|
-
}
|
|
17
|
+
}>, {
|
|
18
18
|
properties: Record<string, any>;
|
|
19
|
-
}, {}>;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
20
|
export default _default;
|