service-flow-designer 2.3.22-flow1-tmp1 → 2.3.22-flow1-tmp2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/designer/common/components/database-select.vue.d.ts +6 -6
- package/dist/es/designer/common/components/datatable-select.vue.d.ts +6 -6
- package/dist/es/designer/common/components/datatable-select.vue2.mjs +39 -41
- package/dist/es/designer/common/components/file-upload.vue.d.ts +6 -6
- package/dist/es/designer/common/components/file-upload.vue2.mjs +23 -25
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.d.ts +6 -6
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.mjs +13 -15
- package/dist/es/designer/common/components/json-view/json-view.vue.d.ts +4 -4
- package/dist/es/designer/common/components/json-view/json-view.vue.mjs +39 -41
- package/dist/es/designer/common/components/node-base-config.vue.d.ts +4 -4
- package/dist/es/designer/common/components/node-base-config.vue.mjs +6 -7
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +6 -6
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.mjs +12 -14
- package/dist/es/designer/common/components/sql-view/sql-view.vue.d.ts +4 -4
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.mjs +24 -26
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.d.ts +8 -8
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.mjs +83 -87
- package/dist/es/designer/desginer-index.vue.d.ts +4 -4
- package/dist/es/designer/desginer-index.vue2.mjs +24 -47
- package/dist/es/designer/flow/base/AbLogicNodeModel.mjs +1 -1
- package/dist/es/designer/flow/base/AbLogicResizeNodeModel.mjs +10 -10
- package/dist/es/designer/service-components/base/custom-function/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/base/end-node/index.mjs +6 -8
- package/dist/es/designer/service-components/base/end-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/end-node/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/base/end-node/index.vue2.mjs +3 -4
- package/dist/es/designer/service-components/base/judge-condition/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/base/loop-node/index.mjs +5 -5
- package/dist/es/designer/service-components/base/loop-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/notification/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/base/start-node/index.mjs +3 -5
- package/dist/es/designer/service-components/base/start-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/start-node/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/base/start-node/index.vue2.mjs +3 -4
- package/dist/es/designer/service-components/computation/clean/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/connect/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/sort/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/computation/sort/config.vue2.mjs +33 -36
- package/dist/es/designer/service-components/computation/sort/index.mjs +6 -8
- package/dist/es/designer/service-components/computation/sort/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/sort/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/computation/sort/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/computation/split-joint/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/computation/statistics/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.mjs +60 -62
- package/dist/es/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.mjs +17 -20
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.mjs +13 -17
- package/dist/es/designer/service-components/database/aggregate-query/index.mjs +5 -7
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/aggregate-query/index.vue2.mjs +22 -5
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.mjs +10 -13
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.mjs +12 -15
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.mjs +54 -56
- package/dist/es/designer/service-components/database/dynamic-sql/index.mjs +6 -8
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/database/regular-query/config.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/regular-query/config.vue2.mjs +37 -40
- package/dist/es/designer/service-components/database/regular-query/index.mjs +5 -7
- package/dist/es/designer/service-components/database/regular-query/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/database/regular-query/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/database/regular-query/index.vue2.mjs +22 -5
- package/dist/es/designer/service-components/index.mjs +12 -13
- package/dist/es/designer/service-components/service/common/cookie-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/cookie-data.vue.mjs +13 -15
- package/dist/es/designer/service-components/service/common/form-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/form-data.vue.mjs +14 -16
- package/dist/es/designer/service-components/service/common/header-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/header-data.vue.mjs +12 -14
- package/dist/es/designer/service-components/service/common/json-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/json-data.vue2.mjs +12 -14
- package/dist/es/designer/service-components/service/common/param-config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/common/param-config.vue2.mjs +15 -17
- package/dist/es/designer/service-components/service/common/query-params.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/query-params.vue.mjs +12 -14
- package/dist/es/designer/service-components/service/common/raw-data.vue.d.ts +7 -7
- package/dist/es/designer/service-components/service/common/raw-data.vue.mjs +22 -24
- package/dist/es/designer/service-components/service/common/xml-data.vue.d.ts +7 -7
- package/dist/es/designer/service-components/service/custom-bean/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.mjs +7 -9
- package/dist/es/designer/service-components/service/custom-bean/index.mjs +6 -8
- package/dist/es/designer/service-components/service/custom-bean/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/custom-bean/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/service/custom-bean/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/service/http-service/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/http-service/config.vue2.mjs +20 -22
- package/dist/es/designer/service-components/service/http-service/index.mjs +6 -8
- package/dist/es/designer/service-components/service/http-service/index.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/index.vue.mjs +7 -0
- package/dist/es/designer/service-components/service/http-service/index.vue2.mjs +10 -5
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.mjs +25 -28
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.mjs +10 -12
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.mjs +21 -24
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.mjs +25 -29
- package/dist/es/designer/service-flow-view/service-node-config.vue.d.ts +7 -7
- package/dist/es/designer/service-flow-view/service-node-config.vue2.mjs +22 -25
- package/dist/es/designer/service-flow-view/service-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-params.vue.mjs +15 -18
- package/dist/es/designer/service-flow-view/service-result.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-result.vue.mjs +24 -27
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.mjs +21 -22
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.mjs +43 -46
- package/dist/es/designer/service-flow-view/service-update-log.vue.d.ts +7 -7
- package/dist/es/designer/service-flow-view/service-update-log.vue2.mjs +27 -29
- package/dist/es/designer/service-flow-view/view-index.vue.d.ts +7 -7
- package/dist/es/designer/service-flow-view/view-index.vue2.mjs +59 -82
- package/dist/es/designer/service-panel/component-panel.vue.d.ts +2 -2
- package/dist/es/designer/service-panel/component-panel.vue2.mjs +11 -14
- package/dist/es/designer/service-panel/service-list.vue.d.ts +6 -6
- package/dist/es/designer/service-panel/service-list.vue2.mjs +68 -72
- package/dist/es/designer/service-panel/service-panel.vue.d.ts +6 -6
- package/dist/es/designer/service-panel/service-panel.vue2.mjs +17 -41
- package/dist/es/stores/page-store.d.ts +11 -11
- package/dist/es/stores/page-store.mjs +21 -23
- package/dist/es/style.css +2 -2
- package/dist/lib/designer/common/components/database-select.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/datatable-select.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/datatable-select.vue2.cjs +42 -42
- package/dist/lib/designer/common/components/file-upload.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/file-upload.vue2.cjs +18 -18
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.cjs +10 -10
- package/dist/lib/designer/common/components/json-view/json-view-dialog.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/json-view/json-view.vue.cjs +33 -34
- package/dist/lib/designer/common/components/json-view/json-view.vue.d.ts +4 -4
- package/dist/lib/designer/common/components/node-base-config.vue.cjs +5 -5
- package/dist/lib/designer/common/components/node-base-config.vue.d.ts +4 -4
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.cjs +11 -11
- package/dist/lib/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +6 -6
- package/dist/lib/designer/common/components/sql-view/sql-view.vue.d.ts +4 -4
- package/dist/lib/designer/common/components/sql-view/sql-view.vue2.cjs +19 -20
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue.d.ts +8 -8
- package/dist/lib/designer/common/components/value-set-input/value-set-input.vue2.cjs +64 -64
- package/dist/lib/designer/desginer-index.vue.d.ts +4 -4
- package/dist/lib/designer/desginer-index.vue2.cjs +18 -18
- package/dist/lib/designer/flow/base/AbLogicNodeModel.cjs +1 -1
- package/dist/lib/designer/flow/base/AbLogicResizeNodeModel.cjs +1 -1
- package/dist/lib/designer/service-components/base/custom-function/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/base/end-node/index.cjs +6 -6
- package/dist/lib/designer/service-components/base/end-node/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/base/end-node/index.vue.d.ts +3 -3
- package/dist/lib/designer/service-components/base/end-node/index.vue2.cjs +2 -4
- package/dist/lib/designer/service-components/base/judge-condition/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/base/loop-node/index.cjs +1 -1
- package/dist/lib/designer/service-components/base/loop-node/index.vue.d.ts +3 -3
- package/dist/lib/designer/service-components/base/notification/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/base/start-node/index.cjs +6 -6
- package/dist/lib/designer/service-components/base/start-node/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/base/start-node/index.vue.d.ts +3 -3
- package/dist/lib/designer/service-components/base/start-node/index.vue2.cjs +2 -4
- package/dist/lib/designer/service-components/computation/clean/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/connect/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/sort/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/computation/sort/config.vue2.cjs +25 -25
- package/dist/lib/designer/service-components/computation/sort/index.cjs +6 -6
- package/dist/lib/designer/service-components/computation/sort/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/computation/sort/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/sort/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/computation/split-joint/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/computation/statistics/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/database/aggregate-query/config.vue2.cjs +47 -47
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.cjs +12 -12
- package/dist/lib/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.cjs +17 -17
- package/dist/lib/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/database/aggregate-query/index.cjs +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue2.cjs +19 -4
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.cjs +9 -9
- package/dist/lib/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.cjs +8 -8
- package/dist/lib/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/config.vue2.cjs +38 -37
- package/dist/lib/designer/service-components/database/dynamic-sql/index.cjs +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/database/regular-query/config.vue.d.ts +5 -5
- package/dist/lib/designer/service-components/database/regular-query/config.vue2.cjs +33 -33
- package/dist/lib/designer/service-components/database/regular-query/index.cjs +6 -6
- package/dist/lib/designer/service-components/database/regular-query/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/database/regular-query/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/database/regular-query/index.vue2.cjs +19 -4
- package/dist/lib/designer/service-components/index.cjs +8 -6
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/cookie-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/form-data.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/form-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/header-data.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/header-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/json-data.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/json-data.vue2.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/param-config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/service/common/param-config.vue2.cjs +9 -9
- package/dist/lib/designer/service-components/service/common/query-params.vue.cjs +11 -11
- package/dist/lib/designer/service-components/service/common/query-params.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/common/raw-data.vue.cjs +18 -19
- package/dist/lib/designer/service-components/service/common/raw-data.vue.d.ts +7 -7
- package/dist/lib/designer/service-components/service/common/xml-data.vue.d.ts +7 -7
- package/dist/lib/designer/service-components/service/custom-bean/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/service/custom-bean/config.vue2.cjs +6 -6
- package/dist/lib/designer/service-components/service/custom-bean/index.cjs +6 -6
- package/dist/lib/designer/service-components/service/custom-bean/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/service/custom-bean/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/custom-bean/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/service/http-service/config.vue.d.ts +4 -4
- package/dist/lib/designer/service-components/service/http-service/config.vue2.cjs +10 -10
- package/dist/lib/designer/service-components/service/http-service/index.cjs +6 -6
- package/dist/lib/designer/service-components/service/http-service/index.vue.cjs +5 -0
- package/dist/lib/designer/service-components/service/http-service/index.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/http-service/index.vue2.cjs +7 -4
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.cjs +35 -35
- package/dist/lib/designer/service-components/service/http-service/response-json-setting.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.cjs +9 -9
- package/dist/lib/designer/service-components/service/http-service/response-text-setting.vue.d.ts +6 -6
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.cjs +35 -35
- package/dist/lib/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +6 -6
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue.d.ts +6 -6
- package/dist/lib/designer/service-flow-view/service-flow-tool.vue2.cjs +16 -16
- package/dist/lib/designer/service-flow-view/service-node-config.vue.d.ts +7 -7
- package/dist/lib/designer/service-flow-view/service-node-config.vue2.cjs +20 -20
- package/dist/lib/designer/service-flow-view/service-params.vue.cjs +33 -33
- package/dist/lib/designer/service-flow-view/service-params.vue.d.ts +4 -4
- package/dist/lib/designer/service-flow-view/service-result.vue.cjs +32 -32
- package/dist/lib/designer/service-flow-view/service-result.vue.d.ts +4 -4
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.cjs +26 -26
- package/dist/lib/designer/service-flow-view/service-test/request-params.vue.d.ts +4 -4
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.cjs +38 -38
- package/dist/lib/designer/service-flow-view/service-test/service-test.vue.d.ts +6 -6
- package/dist/lib/designer/service-flow-view/service-update-log.vue.d.ts +7 -7
- package/dist/lib/designer/service-flow-view/service-update-log.vue2.cjs +22 -22
- package/dist/lib/designer/service-flow-view/view-index.vue.d.ts +7 -7
- package/dist/lib/designer/service-flow-view/view-index.vue2.cjs +67 -67
- package/dist/lib/designer/service-panel/component-panel.vue.d.ts +2 -2
- package/dist/lib/designer/service-panel/component-panel.vue2.cjs +9 -9
- package/dist/lib/designer/service-panel/service-list.vue.d.ts +6 -6
- package/dist/lib/designer/service-panel/service-list.vue2.cjs +58 -58
- package/dist/lib/designer/service-panel/service-panel.vue.d.ts +6 -6
- package/dist/lib/designer/service-panel/service-panel.vue2.cjs +14 -15
- package/dist/lib/stores/page-store.cjs +20 -20
- package/dist/lib/stores/page-store.d.ts +11 -11
- package/dist/lib/style.css +2 -2
- package/dist/umd/index.full.min.js +720 -3260
- package/dist/umd/style.css +2 -2
- package/package.json +27 -24
- package/dist/es/designer/service-components/base/end-node/index.vue3.mjs +0 -7
- package/dist/es/designer/service-components/base/start-node/index.vue3.mjs +0 -7
- package/dist/es/designer/service-components/computation/sort/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/database/aggregate-query/index.vue3.mjs +0 -27
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/database/regular-query/index.vue3.mjs +0 -27
- package/dist/es/designer/service-components/service/custom-bean/index.vue3.mjs +0 -14
- package/dist/es/designer/service-components/service/http-service/index.vue3.mjs +0 -14
- package/dist/lib/designer/service-components/base/end-node/index.vue3.cjs +0 -4
- package/dist/lib/designer/service-components/base/start-node/index.vue3.cjs +0 -4
- package/dist/lib/designer/service-components/computation/sort/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/database/aggregate-query/index.vue3.cjs +0 -20
- package/dist/lib/designer/service-components/database/dynamic-sql/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/database/regular-query/index.vue3.cjs +0 -20
- package/dist/lib/designer/service-components/service/custom-bean/index.vue3.cjs +0 -8
- package/dist/lib/designer/service-components/service/http-service/index.vue3.cjs +0 -8
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
visible: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
select: (...args: any[]) => void;
|
|
8
8
|
"update:visible": (...args: any[]) => void;
|
|
9
|
-
}, string, import('vue').
|
|
9
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
10
|
visible: {
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
-
}>> &
|
|
14
|
+
}>> & {
|
|
15
15
|
onSelect?: (...args: any[]) => any;
|
|
16
16
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
17
|
-
}
|
|
17
|
+
}, {
|
|
18
18
|
visible: boolean;
|
|
19
|
-
}, {}
|
|
19
|
+
}, {}>;
|
|
20
20
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
visible: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -11,10 +11,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: NumberConstructor;
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
15
|
select: (...args: any[]) => void;
|
|
16
16
|
"update:visible": (...args: any[]) => void;
|
|
17
|
-
}, string, import('vue').
|
|
17
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
18
|
visible: {
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
@@ -27,12 +27,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
27
|
type: NumberConstructor;
|
|
28
28
|
default: number;
|
|
29
29
|
};
|
|
30
|
-
}>> &
|
|
30
|
+
}>> & {
|
|
31
31
|
onSelect?: (...args: any[]) => any;
|
|
32
32
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
33
|
-
}
|
|
33
|
+
}, {
|
|
34
34
|
visible: boolean;
|
|
35
35
|
systemCode: string;
|
|
36
36
|
systemVersion: number;
|
|
37
|
-
}, {}
|
|
37
|
+
}, {}>;
|
|
38
38
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElDialog as e, ElContainer as l, ElHeader as a, ElSelect as t, ElOption as o, ElInput as s, ElButton as n, ElTable as i, ElTableColumn as u, ElPagination as r } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/dialog/style/css";
|
|
4
4
|
import "element-plus/es/components/container/style/css";
|
|
@@ -10,69 +10,67 @@ import "element-plus/es/components/button/style/css";
|
|
|
10
10
|
import "element-plus/es/components/input/style/css";
|
|
11
11
|
import "element-plus/es/components/select/style/css";
|
|
12
12
|
import "element-plus/es/components/option/style/css";
|
|
13
|
-
import "
|
|
14
|
-
import { Search as
|
|
15
|
-
import { http as
|
|
16
|
-
import { ElMessage as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const V = { class: "dialog-footer" }, k = d({ name: "DatatableSelect", inheritAttrs: false, __name: "datatable-select", props: { visible: { type: Boolean, default: false }, systemCode: { type: String, default: "" }, systemVersion: { type: Number, default: -1 } }, emits: ["update:visible", "select"], setup(d2, { emit: k2 }) {
|
|
20
|
-
const T = k2, P = d2, x = N(false), A = N([]), O = N([]), $ = N({ code: "", publishVersion: 1 }), U = N([]), j = N({ searchCode: "", searchName: "" }), E = N({ name: "" }), I = N({ currentPage: 1, pageSize: 20, showTotal: true, total: 0 }), B = N();
|
|
13
|
+
import { defineComponent as p, ref as c, watch as m, createBlock as d, openBlock as v, withCtx as f, createVNode as g, createElementBlock as h, Fragment as y, renderList as b, unref as C, createTextVNode as w, createElementVNode as z } from "vue";
|
|
14
|
+
import { Search as S } from "@element-plus/icons-vue";
|
|
15
|
+
import { http as N } from "agilebuilder-ui";
|
|
16
|
+
import { ElMessage as V } from "element-plus";
|
|
17
|
+
const k = { class: "dialog-footer" }, _ = p({ name: "DatatableSelect", inheritAttrs: false, __name: "datatable-select", props: { visible: { type: Boolean, default: false }, systemCode: { type: String, default: "" }, systemVersion: { type: Number, default: -1 } }, emits: ["update:visible", "select"], setup(p2, { emit: _2 }) {
|
|
18
|
+
const T = p2, P = c(false), x = c([]), A = c([]), O = c({ code: "", publishVersion: 1 }), $ = c([]), U = c({ searchCode: "", searchName: "" }), I = c({ name: "" }), B = c({ currentPage: 1, pageSize: 20, showTotal: true, total: 0 }), E = c();
|
|
21
19
|
function L(e2) {
|
|
22
|
-
e2 && "" !== e2.trim() ?
|
|
20
|
+
e2 && "" !== e2.trim() ? x.value = A.value.filter((l2) => l2.name.toLowerCase().indexOf(e2.toLowerCase()) > -1 || l2.code.toLowerCase().indexOf(e2.toLowerCase()) > -1) : x.value = A.value;
|
|
23
21
|
}
|
|
24
22
|
function M(e2) {
|
|
25
|
-
|
|
26
|
-
const l2 =
|
|
27
|
-
|
|
23
|
+
$.value = [], B.value.currentPage = 1, B.value.total = 0;
|
|
24
|
+
const l2 = R(e2);
|
|
25
|
+
O.value = l2, F(O.value);
|
|
28
26
|
}
|
|
29
27
|
function D() {
|
|
30
|
-
F(
|
|
28
|
+
F(O.value);
|
|
31
29
|
}
|
|
32
30
|
function F(e2) {
|
|
33
|
-
|
|
34
|
-
const l2 = { code: "MMS_MODULE_PAGE", pagination: { currentPage:
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
I.value = { name: "" };
|
|
32
|
+
const l2 = { code: "MMS_MODULE_PAGE", pagination: { currentPage: B.value.currentPage, pageSize: B.value.pageSize, showTotal: true }, searchForm: [], dynamicColumnInfo: [] };
|
|
33
|
+
U.value.searchCode && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "name", operator: "CONTAIN", dataType: "TEXT", propValue: U.value.searchCode }), U.value.searchName && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "alias", operator: "CONTAIN", dataType: "TEXT", propValue: U.value.searchName });
|
|
34
|
+
const a2 = e2.code || T.systemCode;
|
|
35
|
+
N.post(window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/list/" + a2 + "/0/" + e2.publishVersion, l2).then((e3) => {
|
|
36
|
+
$.value = e3.data, B.value.pageSize = e3.size, B.value.total = e3.total;
|
|
39
37
|
});
|
|
40
38
|
}
|
|
41
39
|
function J(e2) {
|
|
42
|
-
|
|
40
|
+
I.value = e2;
|
|
43
41
|
}
|
|
44
|
-
function
|
|
45
|
-
if (
|
|
46
|
-
const e2 =
|
|
47
|
-
|
|
48
|
-
} else
|
|
42
|
+
function j() {
|
|
43
|
+
if (I.value.name) {
|
|
44
|
+
const e2 = R(O.value.code);
|
|
45
|
+
_2("select", { dataTable: I.value, system: e2 }), _2("update:visible", false);
|
|
46
|
+
} else V.warning("请选择一条记录!");
|
|
49
47
|
}
|
|
50
|
-
function
|
|
51
|
-
const l2 =
|
|
48
|
+
function R(e2) {
|
|
49
|
+
const l2 = x.value.find((l3) => l3.code === e2);
|
|
52
50
|
if (l2) return JSON.parse(JSON.stringify(l2));
|
|
53
51
|
}
|
|
54
|
-
function
|
|
55
|
-
|
|
52
|
+
function X() {
|
|
53
|
+
_2("update:visible", false);
|
|
56
54
|
}
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
m(() => T.visible, (e2) => {
|
|
56
|
+
P.value = e2, e2 && N.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e3) => {
|
|
59
57
|
e3 && e3.forEach((e4) => {
|
|
60
58
|
e4.name = e4.name + "(" + e4.publishVersion + ")";
|
|
61
59
|
});
|
|
62
|
-
const l2 = e3.findIndex((e4) => e4.code ===
|
|
63
|
-
|
|
60
|
+
const l2 = e3.findIndex((e4) => e4.code === T.systemCode);
|
|
61
|
+
O.value = JSON.parse(JSON.stringify(e3[l2])), x.value = e3, A.value = e3, F(O.value);
|
|
64
62
|
});
|
|
65
63
|
});
|
|
66
|
-
return (
|
|
67
|
-
const
|
|
68
|
-
return
|
|
69
|
-
F(
|
|
70
|
-
}) }, { default:
|
|
64
|
+
return (p3, c2) => {
|
|
65
|
+
const m2 = o, N2 = t, V2 = s, _3 = n, T2 = a, A2 = u, I2 = i, R2 = r, G = l, H = e;
|
|
66
|
+
return v(), d(H, { "append-to-body": "", "destroy-on-close": "", modelValue: P.value, "onUpdate:modelValue": c2[8] || (c2[8] = (e2) => P.value = e2), title: "选择数据表", width: "60%", "before-close": X }, { footer: f(() => [z("div", k, [g(_3, { type: "default", size: "small", onClick: c2[7] || (c2[7] = (e2) => P.value = false) }, { default: f(() => [w("返回")]), _: 1 }), g(_3, { size: "small", type: "primary", onClick: j }, { default: f(() => [w(" 确定 ")]), _: 1 })])]), default: f(() => [g(G, { style: { height: "400px" } }, { default: f(() => [g(T2, { style: { padding: "0", height: "50px" } }, { default: f(() => [g(N2, { modelValue: O.value.code, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => O.value.code = e2), onChange: M, "filter-method": L, "value-key": "code", size: "small", filterable: "", style: { width: "240px" } }, { default: f(() => [(v(true), h(y, null, b(x.value, (e2) => (v(), d(m2, { key: e2.code, label: e2.name, value: e2.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), g(V2, { size: "small", clearable: "", modelValue: U.value.searchCode, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => U.value.searchCode = e2), placeholder: "编码", style: { width: "100px" } }, null, 8, ["modelValue"]), g(V2, { size: "small", clearable: "", modelValue: U.value.searchName, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => U.value.searchName = e2), placeholder: "名称", style: { width: "100px" } }, null, 8, ["modelValue"]), g(_3, { type: "primary", size: "small", icon: C(S), onClick: c2[3] || (c2[3] = (e2) => {
|
|
67
|
+
F(O.value);
|
|
68
|
+
}) }, { default: f(() => [w("查询")]), _: 1 }, 8, ["icon"]), g(_3, { size: "small", icon: C(S), onClick: c2[4] || (c2[4] = (e2) => (U.value = { searchCode: "", searchName: "" }, void F(O.value))) }, { default: f(() => [w("重置")]), _: 1 }, 8, ["icon"])]), _: 1 }), g(I2, { ref_key: "tableRef", ref: E, "current-row-key": "code", "row-key": "code", onRowClick: J, data: $.value, "highlight-current-row": "", style: { width: "100%" } }, { default: f(() => [g(A2, { type: "index", width: "50" }), g(A2, { prop: "name", label: "编码" }), g(A2, { prop: "alias", label: "名称" }), g(A2, { prop: "modifierName", label: "修改人" }), g(A2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
|
|
71
69
|
let l2 = new Date(e3);
|
|
72
70
|
return `${l2.getFullYear()}-${("0" + (l2.getMonth() + 1)).slice(-2)}-${("0" + l2.getDate()).slice(-2)} ${("0" + l2.getHours()).slice(-2)}:${("0" + l2.getMinutes()).slice(-2)}:${("0" + l2.getSeconds()).slice(-2)}`;
|
|
73
|
-
})(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]),
|
|
71
|
+
})(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), g(R2, { "current-page": B.value.currentPage, "onUpdate:currentPage": c2[5] || (c2[5] = (e2) => B.value.currentPage = e2), "page-size": B.value.pageSize, "onUpdate:pageSize": c2[6] || (c2[6] = (e2) => B.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: B.value.total, onSizeChange: D, onCurrentChange: D }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
|
|
74
72
|
};
|
|
75
73
|
} });
|
|
76
74
|
export {
|
|
77
|
-
|
|
75
|
+
_ as default
|
|
78
76
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => {};
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (...args: any[]) => void;
|
|
8
8
|
"on-success": (...args: any[]) => void;
|
|
9
|
-
}, string, import('vue').
|
|
9
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
10
|
modelValue: {
|
|
11
11
|
type: ObjectConstructor;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
|
-
}>> &
|
|
14
|
+
}>> & {
|
|
15
15
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
16
16
|
"onOn-success"?: (...args: any[]) => any;
|
|
17
|
-
}
|
|
17
|
+
}, {
|
|
18
18
|
modelValue: Record<string, any>;
|
|
19
|
-
}, {}
|
|
19
|
+
}, {}>;
|
|
20
20
|
export default _default;
|
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
import { ElUpload as e, ElButton as
|
|
1
|
+
import { ElUpload as e, ElButton as l, ElIcon as o } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/upload/style/css";
|
|
4
4
|
import "element-plus/es/components/button/style/css";
|
|
5
5
|
import "element-plus/es/components/icon/style/css";
|
|
6
|
-
import "
|
|
7
|
-
import { Upload as
|
|
8
|
-
import { genFileId as
|
|
9
|
-
import { getToken as
|
|
10
|
-
import { useServiceFlowStore as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}, C = (e2
|
|
20
|
-
b.modelValue.name = "", b.modelValue.fileUuid = "";
|
|
21
|
-
}, P = (e2) => {
|
|
6
|
+
import { defineComponent as t, ref as s, createBlock as u, openBlock as a, withCtx as m, createVNode as n, createTextVNode as i, unref as p } from "vue";
|
|
7
|
+
import { Upload as r } from "@element-plus/icons-vue";
|
|
8
|
+
import { genFileId as d } from "element-plus";
|
|
9
|
+
import { getToken as c } from "agilebuilder-ui";
|
|
10
|
+
import { useServiceFlowStore as f } from "../../../stores/page-store.mjs";
|
|
11
|
+
const V = t({ __name: "file-upload", props: { modelValue: { type: Object, default: () => ({}) } }, emits: ["update:modelValue", "on-success"], setup(t2, { expose: V2, emit: v }) {
|
|
12
|
+
const y = t2, b = f(), g = s("");
|
|
13
|
+
g.value = b.pageContext.systemCode, y.modelValue && "object" == typeof y.modelValue || v("update:modelValue", {});
|
|
14
|
+
const h = s(), _ = { Authorization: c() }, x = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads", U = s([]);
|
|
15
|
+
y.modelValue && y.modelValue.fileUuid && U.value.push({ name: y.modelValue.name, url: y.modelValue.fileUuid });
|
|
16
|
+
const j = (e2, l2) => {
|
|
17
|
+
}, A = (e2, l2) => {
|
|
18
|
+
y.modelValue.name = "", y.modelValue.fileUuid = "";
|
|
19
|
+
}, C = (e2) => {
|
|
22
20
|
h.value.clearFiles();
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
|
|
21
|
+
const l2 = e2[0];
|
|
22
|
+
l2.uid = d(), h.value.handleStart(l2), h.value.submit();
|
|
23
|
+
}, P = (e2, l2, o2) => {
|
|
24
|
+
y.modelValue.name = e2.name, y.modelValue.fileUuid = e2.serverPath, v("on-success");
|
|
27
25
|
};
|
|
28
|
-
return
|
|
29
|
-
const
|
|
30
|
-
return
|
|
26
|
+
return V2({}), (t3, s2) => {
|
|
27
|
+
const d2 = o, c2 = l, f2 = e;
|
|
28
|
+
return a(), u(f2, { ref_key: "upload", ref: h, name: "file", data: { systemCode: g.value, isExport: true }, "auto-upload": true, action: x, headers: _, limit: 1, "on-change": j, "on-exceed": C, "on-remove": A, "on-success": P, "file-list": U.value }, { default: m(() => [n(c2, { type: "default" }, { default: m(() => [i(" 上传附件"), n(d2, { class: "el-icon--right" }, { default: m(() => [n(p(r))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data", "file-list"]);
|
|
31
29
|
};
|
|
32
30
|
} });
|
|
33
31
|
export {
|
|
34
|
-
|
|
32
|
+
V as default
|
|
35
33
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
jsonObject: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => void;
|
|
@@ -11,9 +11,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (...args: any[]) => void;
|
|
16
|
-
}, string, import('vue').
|
|
16
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
17
|
jsonObject: {
|
|
18
18
|
type: ObjectConstructor;
|
|
19
19
|
default: () => void;
|
|
@@ -26,11 +26,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
26
|
type: BooleanConstructor;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
-
}>> &
|
|
29
|
+
}>> & {
|
|
30
30
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
31
|
-
}
|
|
31
|
+
}, {
|
|
32
32
|
modelValue: boolean;
|
|
33
33
|
appendToBody: boolean;
|
|
34
34
|
jsonObject: Record<string, any>;
|
|
35
|
-
}, {}
|
|
35
|
+
}, {}>;
|
|
36
36
|
export default _default;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { ElDialog as e } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/dialog/style/css";
|
|
4
|
-
import "
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
l(() => a.modelValue, (e2) => {
|
|
12
|
-
e2 && (r.value = true);
|
|
4
|
+
import { defineComponent as o, ref as t, watch as l, createBlock as s, openBlock as a, withCtx as n, createVNode as u } from "vue";
|
|
5
|
+
import p from "./json-view.vue.mjs";
|
|
6
|
+
const m = o({ name: "JsonViewDialog", inheritAttrs: false, __name: "json-view-dialog", props: { jsonObject: { type: Object, default: () => {
|
|
7
|
+
} }, appendToBody: { type: Boolean, default: false }, modelValue: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(o2, { emit: m2 }) {
|
|
8
|
+
const d = o2, i = t(false);
|
|
9
|
+
l(() => d.modelValue, (e2) => {
|
|
10
|
+
e2 && (i.value = true);
|
|
13
11
|
});
|
|
14
|
-
const
|
|
15
|
-
|
|
12
|
+
const r = () => {
|
|
13
|
+
i.value = false, m2("update:modelValue", false);
|
|
16
14
|
};
|
|
17
|
-
return (
|
|
18
|
-
const
|
|
19
|
-
return
|
|
15
|
+
return (t2, l2) => {
|
|
16
|
+
const m3 = e;
|
|
17
|
+
return a(), s(m3, { "append-to-body": "", modelValue: i.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => i.value = e2), title: "格式化", width: "600", onClose: r }, { default: n(() => [u(p, { jsonObject: o2.jsonObject }, null, 8, ["jsonObject"])]), _: 1 }, 8, ["modelValue", "append-to-body"]);
|
|
20
18
|
};
|
|
21
19
|
} });
|
|
22
20
|
export {
|
|
23
|
-
|
|
21
|
+
m as default
|
|
24
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
jsonObject: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => void;
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: any;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
15
|
jsonObject: {
|
|
16
16
|
type: ObjectConstructor;
|
|
17
17
|
default: () => void;
|
|
@@ -24,9 +24,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
default: any;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>>, {
|
|
28
28
|
height: number;
|
|
29
29
|
theme: string;
|
|
30
30
|
jsonObject: Record<string, any>;
|
|
31
|
-
}, {}
|
|
31
|
+
}, {}>;
|
|
32
32
|
export default _default;
|
|
@@ -1,56 +1,54 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { EditorView as
|
|
3
|
-
import { jsonLanguage as
|
|
4
|
-
import { EditorState as
|
|
5
|
-
import { eclipse as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const e2 = w.value.getBoundingClientRect();
|
|
17
|
-
(e2.y || 0 === e2.y) && (window.innerHeight, e2.y, _.value = window.innerHeight - e2.y - 100 + "px");
|
|
1
|
+
import { defineComponent as e, ref as t, watch as r, onMounted as n, nextTick as o, createElementBlock as i, openBlock as c } from "vue";
|
|
2
|
+
import { EditorView as s, basicSetup as a } from "codemirror";
|
|
3
|
+
import { jsonLanguage as u } from "@codemirror/lang-json";
|
|
4
|
+
import { EditorState as m, Facet as l } from "@codemirror/state";
|
|
5
|
+
import { eclipse as f, githubDark as h, githubLight as d, dracula as g, vscodeDark as p, xcodeDark as v, xcodeLight as j } from "@uiw/codemirror-themes-all";
|
|
6
|
+
const w = e({ name: "JsonView", inheritAttrs: false, __name: "json-view", props: { jsonObject: { type: Object, default: () => {
|
|
7
|
+
} }, height: { type: Number, default: 0 }, theme: { type: String, default: null } }, setup(e2) {
|
|
8
|
+
const w2 = e2, y = t(null), b = t(), x = t("400px");
|
|
9
|
+
function O() {
|
|
10
|
+
y.value && y.value.destroy();
|
|
11
|
+
const e3 = w2.jsonObject ? JSON.stringify(w2.jsonObject, null, 2) : "";
|
|
12
|
+
if (w2.height) x.value = w2.height + "px";
|
|
13
|
+
else if (b.value) {
|
|
14
|
+
const e4 = b.value.getBoundingClientRect();
|
|
15
|
+
(e4.y || 0 === e4.y) && (window.innerHeight, e4.y, x.value = window.innerHeight - e4.y - 100 + "px");
|
|
18
16
|
}
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
17
|
+
const t2 = function(e4) {
|
|
18
|
+
const t3 = function() {
|
|
19
|
+
if (w2.theme) switch (w2.theme) {
|
|
22
20
|
case "xcodeLight":
|
|
23
|
-
return
|
|
21
|
+
return j;
|
|
24
22
|
case "xcodeDark":
|
|
25
|
-
return
|
|
23
|
+
return v;
|
|
26
24
|
case "vscodeDark":
|
|
27
|
-
return
|
|
25
|
+
return p;
|
|
28
26
|
case "dracula":
|
|
29
|
-
return
|
|
27
|
+
return g;
|
|
30
28
|
case "githubLight":
|
|
31
|
-
return
|
|
29
|
+
return d;
|
|
32
30
|
case "githubDark":
|
|
33
|
-
return
|
|
31
|
+
return h;
|
|
34
32
|
case "eclipse":
|
|
35
|
-
return
|
|
33
|
+
return f;
|
|
36
34
|
}
|
|
37
|
-
return
|
|
38
|
-
}(),
|
|
39
|
-
return
|
|
40
|
-
}(
|
|
41
|
-
let
|
|
42
|
-
|
|
35
|
+
return s.theme({});
|
|
36
|
+
}(), r3 = s.theme({ ".cm-content, .cm-gutter": { minHeight: x.value }, "&": { height: x.value, maxHeight: x.value, fontSize: "12px" } });
|
|
37
|
+
return m.create({ doc: e4, extensions: [m.tabSize.of(16), a, u, t3, r3, S.of(true), k] });
|
|
38
|
+
}(e3);
|
|
39
|
+
let r2 = document.getElementById("cf-codemirror-view-json");
|
|
40
|
+
r2 && (y.value = new s({ state: t2, parent: r2 }));
|
|
43
41
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, { deep: true }),
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
r(() => w2.jsonObject, (e3) => {
|
|
43
|
+
y.value && O();
|
|
44
|
+
}, { deep: true }), n(() => {
|
|
45
|
+
o(() => {
|
|
46
|
+
O();
|
|
49
47
|
});
|
|
50
48
|
});
|
|
51
|
-
const
|
|
52
|
-
return (
|
|
49
|
+
const S = l.define({ combine: (e3) => e3.some((e4) => e4) }), k = m.transactionFilter.of((e3) => e3.isUserEvent && e3.docChanged && e3.state.facet(S) ? { changes: { from: e3.changes.from, to: e3.changes.to, insert: e3.startState.doc.sliceString(e3.changes.from, e3.changes.to) } } : e3);
|
|
50
|
+
return (e3, t2) => (c(), i("div", { style: { width: "100%" }, ref_key: "cfCodemirrorJsonViewRef", ref: b, id: "cf-codemirror-view-json" }, null, 512));
|
|
53
51
|
} });
|
|
54
52
|
export {
|
|
55
|
-
|
|
53
|
+
w as default
|
|
56
54
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
properties: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => {};
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
7
|
properties: {
|
|
8
8
|
type: ObjectConstructor;
|
|
9
9
|
default: () => {};
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>>, {
|
|
12
12
|
properties: Record<string, any>;
|
|
13
|
-
}, {}
|
|
13
|
+
}, {}>;
|
|
14
14
|
export default _default;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { ElFormItem as e, ElInput as
|
|
1
|
+
import { ElFormItem as e, ElInput as l, ElTooltip as o, ElColorPicker as t } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/form-item/style/css";
|
|
4
4
|
import "element-plus/es/components/tooltip/style/css";
|
|
5
5
|
import "element-plus/es/components/color-picker/style/css";
|
|
6
6
|
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import "
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
return n(), p(r, null, [m(y, { label: "别名:" }, { default: u(() => [m(f, { modelValue: s2.properties.name, "onUpdate:modelValue": c[0] || (c[0] = (e2) => s2.properties.name = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), m(b, { effect: "dark", content: "主题颜色", placement: "top" }, { default: u(() => [d("span", i, [m(_, { modelValue: s2.properties.backgroundColor, "onUpdate:modelValue": c[1] || (c[1] = (e2) => s2.properties.backgroundColor = e2) }, null, 8, ["modelValue"])])]), _: 1 })]), _: 1 }), m(y, { label: "功能描述:" }, { default: u(() => [m(f, { modelValue: s2.properties.description, "onUpdate:modelValue": c[2] || (c[2] = (e2) => s2.properties.description = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"])]), _: 1 })], 64);
|
|
7
|
+
import { defineComponent as s, createElementBlock as p, openBlock as n, Fragment as r, createVNode as m, withCtx as a, createElementVNode as u } from "vue";
|
|
8
|
+
const i = { style: { position: "absolute", right: "0" } }, d = s({ __name: "node-base-config", props: { properties: { type: Object, default: () => ({}) } }, setup: (s2, { expose: d2 }) => (d2({}), (d3, c) => {
|
|
9
|
+
const f = l, y = t, V = o, b = e;
|
|
10
|
+
return n(), p(r, null, [m(b, { label: "别名:" }, { default: a(() => [m(f, { modelValue: s2.properties.name, "onUpdate:modelValue": c[0] || (c[0] = (e2) => s2.properties.name = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), m(V, { effect: "dark", content: "主题颜色", placement: "top" }, { default: a(() => [u("span", i, [m(y, { modelValue: s2.properties.backgroundColor, "onUpdate:modelValue": c[1] || (c[1] = (e2) => s2.properties.backgroundColor = e2) }, null, 8, ["modelValue"])])]), _: 1 })]), _: 1 }), m(b, { label: "功能描述:" }, { default: a(() => [m(f, { modelValue: s2.properties.description, "onUpdate:modelValue": c[2] || (c[2] = (e2) => s2.properties.description = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"])]), _: 1 })], 64);
|
|
12
11
|
}) });
|
|
13
12
|
export {
|
|
14
|
-
|
|
13
|
+
d as default
|
|
15
14
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
sql: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
default: any;
|
|
@@ -11,9 +11,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (...args: any[]) => void;
|
|
16
|
-
}, string, import('vue').
|
|
16
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
17
|
sql: {
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: any;
|
|
@@ -26,11 +26,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
26
|
type: BooleanConstructor;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
-
}>> &
|
|
29
|
+
}>> & {
|
|
30
30
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
31
|
-
}
|
|
31
|
+
}, {
|
|
32
32
|
modelValue: boolean;
|
|
33
33
|
appendToBody: boolean;
|
|
34
34
|
sql: string;
|
|
35
|
-
}, {}
|
|
35
|
+
}, {}>;
|
|
36
36
|
export default _default;
|