super-page-runtime 1.0.14 → 1.0.16
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/.eslintrc.cjs +26 -0
- package/.prettierrc.json +8 -0
- package/{src → components}/index.ts +3 -3
- package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue +5 -2
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
- package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue +4 -1
- package/{src/components → components}/runtime/views/assemblys/container/collapse/collapse-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
- package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
- package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue +12 -6
- package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue +10 -7
- package/{src/components → components}/runtime/views/assemblys/data/table/table-runtime.vue +2 -2
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
- package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
- package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +6 -3
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
- package/{src/components → components}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +5 -2
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
- package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +7 -4
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
- package/{src/components → components}/runtime/views/assemblys/form/radio/radio-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
- package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue +11 -5
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
- package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue +6 -3
- package/{src/components → components}/runtime/views/assemblys/object-render.vue +6 -6
- package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +1 -1
- package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
- package/{src/components → components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +20 -17
- package/{src/components → components}/runtime/views/super-page.vue +13 -8
- package/cypress/e2e/example.cy.ts +8 -0
- package/cypress/e2e/tsconfig.json +10 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress.config.ts +8 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/lib/components/index.d.ts +5 -0
- package/{dist/lib → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/{dist/lib → lib}/components/runtime/views/super-page.vue.d.ts +1 -1
- package/{dist/lib → lib}/index.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -8
- package/lib/src/utils/charts/chart-util.js +15 -0
- package/{dist/es/components/runtime → lib/src}/utils/events/event-util.d.ts +1 -1
- package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -1
- package/lib/wf-editor/wf-editor.css +4 -0
- package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +3 -3
- package/package-ws.json +70 -0
- package/package.json +3 -7
- package/src/utils/charts/chart-util.ts +41 -0
- package/src/utils/container-style-util.ts +237 -0
- package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
- package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
- package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
- package/tsconfig copy.json +17 -0
- package/tsconfig.app copy.json +14 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node copy.json +19 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest copy.json +11 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config copy.ts +109 -0
- package/vite.config.ts +86 -0
- package/vitest.config.ts +14 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/es/assets/chart-themes/theme1.js +0 -8
- package/dist/es/assets/chart-themes/theme2.js +0 -8
- package/dist/es/assets/chart-themes/theme3.js +0 -8
- package/dist/es/components/runtime/index.js +0 -4
- package/dist/es/components/runtime/utils/api/api-util.js +0 -128
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/es/components/runtime/utils/common-util.js +0 -81
- package/dist/es/components/runtime/utils/events/event-util.js +0 -525
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1623
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -389
- package/dist/es/components/runtime/utils/global-refs.js +0 -65
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -9
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -503
- package/dist/es/components/runtime/utils/page-init-util.js +0 -200
- package/dist/es/components/runtime/utils/store-util.js +0 -17
- package/dist/es/components/runtime/utils/store.js +0 -4
- package/dist/es/components/runtime/utils/table-utils.js +0 -23
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -50
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -148
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -80
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -31
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -70
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -76
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -163
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
- package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/es/components/runtime/views/super-page.vue.js +0 -481
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
- package/dist/es/components/super-page-dialog/index.js +0 -4
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -75
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
- package/dist/es/components/wf-editor/index.js +0 -4
- package/dist/es/components/wf-editor/wf-editor.css +0 -4
- package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
- package/dist/es/index.d.ts +0 -5
- package/dist/es/index.js +0 -8
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.css +0 -4
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +0 -5
- package/src/components/runtime/utils/charts/chart-util.ts +0 -37
- package/src/components/runtime/utils/container-style-util.ts +0 -223
- package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
- package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
- package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
- package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
- package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
- package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
- package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
- package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
- package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
- package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
- package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
- package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
- package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
- package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
- package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
- package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
- package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
- package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
- package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
- package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
- package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
- package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
- /package/{src/App.vue → App.vue} +0 -0
- /package/{src/components → components}/runtime/index.ts +0 -0
- /package/{src/components → components}/runtime/utils/assemblys-config.js +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-cursor.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-size.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-select-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-background.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-border.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font-head.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-margin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-padding.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-position.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-shadow.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/task-informition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/column-config.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/combinedHeader.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/composite-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/configuration-value.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/formatting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/querySetting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/return-set-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/select-data-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-render.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/colors/colors-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/analytic-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/condition.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/default-value-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dimension-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/formatting-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/grid-num-select.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/linkage.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-height.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-width.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/pre-suffix.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/rich-text.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/row-ul-li.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/setoption-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/size-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/suffixmodule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/uploading.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/verification.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/voluntarily.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/rate/rate-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/slider/slider-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/text/text-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/variable-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/combination.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -0
- /package/{src/components → components}/runtime/views/render/page-view.vue +0 -0
- /package/{src/components → components}/runtime/views/super-page copy.vue +0 -0
- /package/{src/components → components}/super-page-dialog/index.ts +0 -0
- /package/{src/components → components}/super-page-dialog/super-page-dialog.vue +0 -0
- /package/{src/components → components}/wf-editor/index.ts +0 -0
- /package/{src/components → components}/wf-editor/wf-editor.vue +0 -0
- /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
- /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
- /package/{dist/es → lib}/favicon.ico +0 -0
- /package/{dist/lib/components → lib}/runtime/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme1.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme3.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/api/api-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/api/api-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/common-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/common-util.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/event-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/standard-event.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/standard-event.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/validator-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/validator-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/global-refs.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/global-refs.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/interfaces/page-design-types.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-helper-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-helper-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-init-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-init-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/table-utils.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
- /package/{src/main.ts → main.ts} +0 -0
- /package/{dist → public}/favicon.ico +0 -0
- /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
- /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
- /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store.ts +0 -0
- /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="runtimeStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
10
|
+
{{ designProperty.title }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-switch
|
|
14
|
+
:disabled="designProperty.state === 'disabled'"
|
|
15
|
+
:active-value:="designProperty.activeValue"
|
|
16
|
+
:active-text="designProperty.activeText"
|
|
17
|
+
:inactive-value="designProperty.inactiveValue"
|
|
18
|
+
:inactive-text="designProperty.inactiveText"
|
|
19
|
+
:width="designProperty.offOnWidth"
|
|
20
|
+
:size="designProperty.size"
|
|
21
|
+
:style="switchStyle"
|
|
22
|
+
v-model="dynamicModelMethod"
|
|
23
|
+
/>
|
|
24
|
+
</el-form-item>
|
|
25
|
+
</template>
|
|
26
|
+
<script lang="ts" setup>
|
|
27
|
+
import { computed } from 'vue'
|
|
28
|
+
import type {
|
|
29
|
+
Component,
|
|
30
|
+
PageContext
|
|
31
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
32
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
33
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
34
|
+
|
|
35
|
+
//定义的属性对象
|
|
36
|
+
interface MyProps {
|
|
37
|
+
//页面对象
|
|
38
|
+
pageContext: PageContext
|
|
39
|
+
configure: Component
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const props = defineProps<MyProps>()
|
|
43
|
+
|
|
44
|
+
const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
|
|
45
|
+
let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
|
|
46
|
+
|
|
47
|
+
//绑定模型的字段
|
|
48
|
+
const dynamicModelMethod = computed({
|
|
49
|
+
get() {
|
|
50
|
+
return getVariableValue(entity, dynamicFields)
|
|
51
|
+
},
|
|
52
|
+
set(value) {
|
|
53
|
+
setVariableValue(entity, dynamicFields, value)
|
|
54
|
+
}
|
|
55
|
+
})
|
|
56
|
+
//运行时信息
|
|
57
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
58
|
+
const runtimeStyle = runtimeInfo.style
|
|
59
|
+
const runtimeClass = runtimeInfo.class
|
|
60
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
61
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
62
|
+
const switchStyle = runtimeInfo.switchStyle
|
|
63
|
+
</script>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="runtimeStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
10
|
+
{{ designProperty.title }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-tag
|
|
14
|
+
:size="designProperty.size"
|
|
15
|
+
:closable="designProperty.closable"
|
|
16
|
+
:type="designProperty.type"
|
|
17
|
+
>
|
|
18
|
+
{{ dynamicValue }}
|
|
19
|
+
</el-tag>
|
|
20
|
+
</el-form-item>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script lang="ts" setup>
|
|
24
|
+
import { computed } from 'vue'
|
|
25
|
+
import type {
|
|
26
|
+
Component,
|
|
27
|
+
PageContext
|
|
28
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
29
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
30
|
+
import { formatVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
31
|
+
|
|
32
|
+
//定义的属性对象
|
|
33
|
+
interface MyProps {
|
|
34
|
+
//页面对象
|
|
35
|
+
pageContext: PageContext
|
|
36
|
+
configure: Component
|
|
37
|
+
}
|
|
38
|
+
const props = defineProps<MyProps>()
|
|
39
|
+
//初始化字段及默认值
|
|
40
|
+
getFormModelFields(props.pageContext, props.configure)
|
|
41
|
+
|
|
42
|
+
//定义自身详细参数
|
|
43
|
+
//运行时信息
|
|
44
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
45
|
+
const runtimeStyle = runtimeInfo.style
|
|
46
|
+
const runtimeClass = runtimeInfo.class
|
|
47
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
48
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
49
|
+
|
|
50
|
+
//定义内容
|
|
51
|
+
let contentVariable = designProperty.formatting
|
|
52
|
+
if (!contentVariable) {
|
|
53
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {}
|
|
54
|
+
contentVariable = propsBase.prop
|
|
55
|
+
}
|
|
56
|
+
//无值时,按UUID
|
|
57
|
+
if (!contentVariable) {
|
|
58
|
+
contentVariable = '${page.' + props.configure.uuid + '}'
|
|
59
|
+
}
|
|
60
|
+
//显示内容
|
|
61
|
+
const dynamicValue = computed(() => {
|
|
62
|
+
const resultValue = formatVariableValue(props.pageContext, contentVariable)
|
|
63
|
+
return resultValue == undefined || resultValue == null ? '' : resultValue
|
|
64
|
+
})
|
|
65
|
+
</script>
|
package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue
RENAMED
|
@@ -28,9 +28,12 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
<script lang="ts" setup>
|
|
30
30
|
import { computed } from 'vue'
|
|
31
|
-
import type {
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
import type {
|
|
32
|
+
Component,
|
|
33
|
+
PageContext
|
|
34
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
35
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
36
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
34
37
|
interface MyProps {
|
|
35
38
|
pageContext: PageContext
|
|
36
39
|
configure: Component
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
import { ref, markRaw, onMounted, computed } from 'vue'
|
|
16
16
|
import ErrorRender from './error-render.vue'
|
|
17
17
|
import { getRuntimeComponentByName } from '../../utils/assemblys-config.js'
|
|
18
|
-
import type { PageContext, Component } from '
|
|
19
|
-
import { PageDimensions } from '
|
|
20
|
-
import { addComponentRef, addComponentRefByCode } from '
|
|
21
|
-
import { getPermissionCodes } from '
|
|
22
|
-
import { caculateShowCondition } from '
|
|
18
|
+
import type { PageContext, Component } from '../../../../src/utils/interfaces/page-design-types'
|
|
19
|
+
import { PageDimensions } from '../../../../src/utils/interfaces/page-design-types'
|
|
20
|
+
import { addComponentRef, addComponentRefByCode } from '../../../../src/utils/global-refs'
|
|
21
|
+
import { getPermissionCodes } from '../../../../src/utils/page-init-util'
|
|
22
|
+
import { caculateShowCondition } from '../../../../src/utils/page-helper-util'
|
|
23
23
|
//定义的属性对象
|
|
24
24
|
interface MyProps {
|
|
25
25
|
//页面对象
|
|
@@ -158,7 +158,7 @@ onMounted(() => {
|
|
|
158
158
|
} else if (thisStyle.position) {
|
|
159
159
|
//按定位设置
|
|
160
160
|
runtimeStyle.value['position'] = thisStyle.position
|
|
161
|
-
if (runtimeStyle.position != 'relative') {
|
|
161
|
+
if (runtimeStyle.value.position != 'relative') {
|
|
162
162
|
//其余需要默认当前的宽度
|
|
163
163
|
if (!runtimeStyle.value['width']) {
|
|
164
164
|
const thisRec = thisRef.value.getBoundingClientRect()
|
package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue
RENAMED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
<script lang='ts' setup>
|
|
138
138
|
import { ref,computed, defineEmits} from 'vue';
|
|
139
139
|
import {Search} from '@element-plus/icons';
|
|
140
|
-
import type { PageDesign } from '
|
|
140
|
+
import type { PageDesign } from '../../../../../src/utils/helper/page-helper-util';
|
|
141
141
|
|
|
142
142
|
interface MyProps{
|
|
143
143
|
configure:PageDesign
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form label-width="80px">
|
|
3
|
+
<el-collapse v-model="openCollapseItems" style="margin-top: 6px">
|
|
4
|
+
<el-collapse-item title="基本" name="1" class="amb-design-attr-group-header">
|
|
5
|
+
<div style="padding: 8px 0px 0px 0px">
|
|
6
|
+
<el-form-item label="编码">
|
|
7
|
+
<el-text>{{ configure.code }}</el-text>
|
|
8
|
+
</el-form-item>
|
|
9
|
+
<el-form-item label="名称" style="margin-top: -10px">
|
|
10
|
+
<el-input v-model="configure.name"></el-input>
|
|
11
|
+
</el-form-item>
|
|
12
|
+
<el-form-item label="Flex布局" style="margin-top: -10px; margin-bottom: -15px">
|
|
13
|
+
<el-switch v-model="configure.props.isFlex" />
|
|
14
|
+
</el-form-item>
|
|
15
|
+
<el-form-item
|
|
16
|
+
v-if="configure.props.isFlex"
|
|
17
|
+
label="水平对齐"
|
|
18
|
+
style="margin-top: 18px; margin-bottom: -15px"
|
|
19
|
+
>
|
|
20
|
+
<el-select v-model="configure.props.flexJustify" placeholder="默认" clearable>
|
|
21
|
+
<el-option label="start" value="start" />
|
|
22
|
+
<el-option label="center" value="center" />
|
|
23
|
+
<el-option label="space-between" value="space-between" />
|
|
24
|
+
<el-option label="space-around" value="space-around" />
|
|
25
|
+
</el-select>
|
|
26
|
+
</el-form-item>
|
|
27
|
+
<el-form-item
|
|
28
|
+
v-if="configure.props.isFlex == '2'"
|
|
29
|
+
label="分栏间隔"
|
|
30
|
+
style="margin-bottom: -15px; margin-top: -10px"
|
|
31
|
+
>
|
|
32
|
+
<el-select v-model="configure.props.flexGutter" placeholder="默认" clearable>
|
|
33
|
+
<el-option v-for="item in gutters" :label="item" :value="item" />
|
|
34
|
+
</el-select>
|
|
35
|
+
</el-form-item>
|
|
36
|
+
</div>
|
|
37
|
+
</el-collapse-item>
|
|
38
|
+
<el-collapse-item title="工作流" name="2" class="amb-design-attr-group-header">
|
|
39
|
+
<div style="padding: 8px 0px 0px 0px">
|
|
40
|
+
<el-form-item label="启用" style="margin-bottom: -14px">
|
|
41
|
+
<el-switch v-model="configure.props.activeWorkflow" />
|
|
42
|
+
</el-form-item>
|
|
43
|
+
|
|
44
|
+
<el-form-item
|
|
45
|
+
v-if="configure.props.activeWorkflow"
|
|
46
|
+
label="是否引用"
|
|
47
|
+
style="margin-top: 14px; margin-bottom: -15px"
|
|
48
|
+
>
|
|
49
|
+
<el-switch v-model="configure.props.isLinkWorkflow" />
|
|
50
|
+
</el-form-item>
|
|
51
|
+
|
|
52
|
+
<el-form-item
|
|
53
|
+
v-if="configure.props.activeWorkflow && configure.props.isLinkWorkflow"
|
|
54
|
+
label="选择引用"
|
|
55
|
+
style="margin-top: 18px; margin-bottom: -12px"
|
|
56
|
+
>
|
|
57
|
+
<el-input v-model="configure.props.linkWorkflow" readonly="true">
|
|
58
|
+
<template #append>
|
|
59
|
+
<el-button :icon="Search" @click="selectWorkflow" />
|
|
60
|
+
</template>
|
|
61
|
+
</el-input>
|
|
62
|
+
</el-form-item>
|
|
63
|
+
</div>
|
|
64
|
+
</el-collapse-item>
|
|
65
|
+
|
|
66
|
+
<el-collapse-item title="页面变量" name="3" class="amb-design-attr-group-header">
|
|
67
|
+
<div style="padding: 8px 0px 0px 0px">
|
|
68
|
+
<el-form-item label="数据模型" class="amb-design-attr-item">
|
|
69
|
+
<el-input
|
|
70
|
+
v-model="configure.tableAlias"
|
|
71
|
+
:title="configure.tableAlias"
|
|
72
|
+
clearable
|
|
73
|
+
readonly="true"
|
|
74
|
+
>
|
|
75
|
+
<template #append>
|
|
76
|
+
<el-button :icon="Search" @click="selectTable" size="small" />
|
|
77
|
+
<el-button :icon="Close" @click="clearTable" title="Clear" size="small" />
|
|
78
|
+
</template>
|
|
79
|
+
</el-input>
|
|
80
|
+
</el-form-item>
|
|
81
|
+
<el-form label-position="top">
|
|
82
|
+
<el-form-item label-position="top" class="amb-design-attr-item">
|
|
83
|
+
<template #label>
|
|
84
|
+
自定义变量(待定)
|
|
85
|
+
<el-button
|
|
86
|
+
type="primary"
|
|
87
|
+
round
|
|
88
|
+
:icon="Setting"
|
|
89
|
+
@click="customVariables"
|
|
90
|
+
size="small"
|
|
91
|
+
/>
|
|
92
|
+
</template>
|
|
93
|
+
<el-tree
|
|
94
|
+
style="border: 1px solid #f5f6f8; padding: 10px; width: 100%; min-height: 100px"
|
|
95
|
+
:data="variableTreeDatas"
|
|
96
|
+
:props="variableDefaultProps"
|
|
97
|
+
default-expand-all
|
|
98
|
+
:expand-on-click-node="false"
|
|
99
|
+
/>
|
|
100
|
+
</el-form-item>
|
|
101
|
+
</el-form>
|
|
102
|
+
</div>
|
|
103
|
+
</el-collapse-item>
|
|
104
|
+
</el-collapse>
|
|
105
|
+
<commonSelectTableDialog
|
|
106
|
+
ref="selectTableDialog"
|
|
107
|
+
@select-table="onSelectTable"
|
|
108
|
+
:systemCode="configure.systemCode"
|
|
109
|
+
:systemVersion="configure.systemVersion"
|
|
110
|
+
></commonSelectTableDialog>
|
|
111
|
+
|
|
112
|
+
<variableDialog
|
|
113
|
+
ref="refVariableDialog"
|
|
114
|
+
:pageDesign="configure"
|
|
115
|
+
@close="onCloseVariableDialog"
|
|
116
|
+
></variableDialog>
|
|
117
|
+
</el-form>
|
|
118
|
+
</template>
|
|
119
|
+
<script lang="ts" setup>
|
|
120
|
+
import { ref, computed, defineEmits } from 'vue'
|
|
121
|
+
import { Search, Close, Setting } from '@element-plus/icons'
|
|
122
|
+
import commonSelectTableDialog from '../common/common-select-table.vue'
|
|
123
|
+
import variableDialog from './variable-dialog.vue'
|
|
124
|
+
import type { PageDesign } from '../../../../../src/utils/interfaces/page-design-types'
|
|
125
|
+
// import { queryTableFields } from '../../../../../src/utils/page-table-util'
|
|
126
|
+
|
|
127
|
+
interface MyProps {
|
|
128
|
+
configure: PageDesign
|
|
129
|
+
}
|
|
130
|
+
const props = defineProps<MyProps>()
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 自定义参数树定义
|
|
134
|
+
*/
|
|
135
|
+
const variableDefaultProps = {
|
|
136
|
+
children: 'children',
|
|
137
|
+
label: 'label'
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* 自定义参数的Json树
|
|
142
|
+
*/
|
|
143
|
+
const variableTreeDatas = ref([])
|
|
144
|
+
//转换为自定义参数显示的数据
|
|
145
|
+
variableTreeDatas.value = getVariablesTreeData(props.configure.variables)
|
|
146
|
+
|
|
147
|
+
//分栏可选项
|
|
148
|
+
const gutters = ref([2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24])
|
|
149
|
+
|
|
150
|
+
const openCollapseItems = ref(['1', '2', '3'])
|
|
151
|
+
|
|
152
|
+
const selectTableDialog: any = ref(null)
|
|
153
|
+
const refVariableDialog: any = ref(null)
|
|
154
|
+
/**
|
|
155
|
+
* 选择引用的页面
|
|
156
|
+
*/
|
|
157
|
+
function selectPage() {
|
|
158
|
+
alert('select page')
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* 选择引用的页面
|
|
163
|
+
*/
|
|
164
|
+
function selectWorkflow() {
|
|
165
|
+
alert('select workflow')
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* 选择表名
|
|
170
|
+
*/
|
|
171
|
+
function selectTable() {
|
|
172
|
+
selectTableDialog.value.openDialog()
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
function clearTable() {
|
|
176
|
+
props.configure.tableAlias = ''
|
|
177
|
+
props.configure.tableName = ''
|
|
178
|
+
props.configure.modelFields = []
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* 选择数据表时
|
|
183
|
+
* @param tableInfo
|
|
184
|
+
*/
|
|
185
|
+
function onSelectTable(tableInfo: any) {
|
|
186
|
+
//检查选择的数据表与之前的字段是否一致
|
|
187
|
+
let hisKey = props.configure.tableSysCode ? props.configure.tableSysCode : ''
|
|
188
|
+
hisKey += '_'
|
|
189
|
+
hisKey += props.configure.tableSysVersion ? props.configure.tableSysVersion : ''
|
|
190
|
+
hisKey += '_'
|
|
191
|
+
hisKey += props.configure.tableName ? props.configure.tableName : ''
|
|
192
|
+
let newKey = tableInfo.systemCode ? tableInfo.systemCode : ''
|
|
193
|
+
newKey += '_'
|
|
194
|
+
newKey += tableInfo.systemVersion ? tableInfo.systemVersion : ''
|
|
195
|
+
newKey += '_'
|
|
196
|
+
newKey += tableInfo.name ? tableInfo.name : ''
|
|
197
|
+
if (newKey != hisKey) {
|
|
198
|
+
props.configure.tableSysCode = tableInfo.systemCode
|
|
199
|
+
props.configure.tableSysVersion = tableInfo.systemVersion
|
|
200
|
+
props.configure.tableName = tableInfo.name
|
|
201
|
+
props.configure.tableAlias = tableInfo.alias
|
|
202
|
+
|
|
203
|
+
const systemCode = tableInfo.systemCode ? tableInfo.systemCode : props.configure.systemCode
|
|
204
|
+
const systemVersion = tableInfo.systemVersion
|
|
205
|
+
? tableInfo.systemVersion
|
|
206
|
+
: props.configure.systemVersion
|
|
207
|
+
//查询表字段,设置到页面对象中
|
|
208
|
+
// queryTableFields(systemCode, systemVersion, tableInfo.name).then((tableFields) => {
|
|
209
|
+
// props.configure.modelFields = tableFields
|
|
210
|
+
// console.log('queryTableFields', tableFields)
|
|
211
|
+
// })
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* 自定义页面变量
|
|
217
|
+
*/
|
|
218
|
+
function customVariables() {
|
|
219
|
+
refVariableDialog.value.openDialog()
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* 关闭后的事件
|
|
224
|
+
*/
|
|
225
|
+
function onCloseVariableDialog() {
|
|
226
|
+
//重新计算生成一次
|
|
227
|
+
variableTreeDatas.value = getVariablesTreeData(props.configure.variables)
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function getVariablesTreeData(variables: any) {
|
|
231
|
+
const treeDatas = convertVariablesToTree(variables)
|
|
232
|
+
if (!treeDatas) {
|
|
233
|
+
return [{ label: '无自定义' }]
|
|
234
|
+
} else {
|
|
235
|
+
return treeDatas
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* 转换自定义参数对象为Json对象
|
|
240
|
+
*/
|
|
241
|
+
function convertVariablesToTree(variables: any): any {
|
|
242
|
+
if (variables == null || variables.length == 0) {
|
|
243
|
+
return null
|
|
244
|
+
} else {
|
|
245
|
+
const items = []
|
|
246
|
+
for (let variable of variables) {
|
|
247
|
+
const item: any = {
|
|
248
|
+
label: variable.name + (variable.alias ? '(' + variable.alias + ')' : '')
|
|
249
|
+
}
|
|
250
|
+
const children = convertVariablesToTree(variable.items)
|
|
251
|
+
if (children) {
|
|
252
|
+
item.children = children
|
|
253
|
+
}
|
|
254
|
+
items.push(item)
|
|
255
|
+
}
|
|
256
|
+
return items
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
</script>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './pictureflow-attr-base.vue'
|
|
13
|
+
import AttrStyle from './pictureflow-attr-style.vue'
|
|
14
|
+
import AttrHeader from '../../form/common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './pictureflow-attr-event.vue'
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text', props: { type: 'input-text' } }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
let currentConfigType = ref('base')
|
|
25
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './texthistory-attr-base.vue'
|
|
13
|
+
import AttrStyle from './texthistory-attr-style.vue'
|
|
14
|
+
import AttrHeader from '../../form/common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './texthistory-attr-event.vue'
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text', props: { type: 'input-text' } }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
let currentConfigType = ref('base')
|
|
25
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|
|
@@ -10,12 +10,15 @@
|
|
|
10
10
|
</template>
|
|
11
11
|
</span>
|
|
12
12
|
</template>
|
|
13
|
-
<script lang=
|
|
13
|
+
<script lang="ts" setup>
|
|
14
14
|
import { ref } from 'vue'
|
|
15
15
|
import ObjectRender from '../../object-render.vue'
|
|
16
|
-
import type {
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
import type {
|
|
17
|
+
Component,
|
|
18
|
+
PageContext
|
|
19
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
20
|
+
import { getClickEventFuncByType } from '../../../../../../src/utils/events/event-util'
|
|
21
|
+
import { isVisibleWorkflowButton } from '../../../../../../src/utils/events/standard-event'
|
|
19
22
|
interface MyProps {
|
|
20
23
|
pageContext: PageContext
|
|
21
24
|
configure: Component
|
|
@@ -30,12 +33,12 @@ const runtimeClass = runtimeInfo.class
|
|
|
30
33
|
const buttonInfo = props.pageContext.workflowButtonComponent
|
|
31
34
|
const completeTaskParam = props.pageContext.completeTaskParam
|
|
32
35
|
const visibleBtns = ref([])
|
|
33
|
-
props.configure.items.forEach(item=>{
|
|
34
|
-
|
|
35
|
-
const pageVersion = props.pageContext.version
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
props.configure.items.forEach((item) => {
|
|
37
|
+
const pageCode = props.pageContext.code
|
|
38
|
+
const pageVersion = props.pageContext.version
|
|
39
|
+
if (isVisibleBtn(item, pageCode, pageVersion)) {
|
|
40
|
+
visibleBtns.value.push(item)
|
|
41
|
+
}
|
|
39
42
|
})
|
|
40
43
|
|
|
41
44
|
function getStandardClickEvent(events, pageCode, pageVersion) {
|
|
@@ -50,12 +53,12 @@ function getStandardClickEvent(events, pageCode, pageVersion) {
|
|
|
50
53
|
|
|
51
54
|
function isVisibleBtn(btnConfigure, pageCode, pageVersion) {
|
|
52
55
|
const events = btnConfigure.events
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
const workflowStandardEventName = getStandardClickEvent(events, pageCode, pageVersion)
|
|
57
|
+
const isVisible = isVisibleWorkflowButton(
|
|
58
|
+
workflowStandardEventName,
|
|
59
|
+
buttonInfo,
|
|
60
|
+
completeTaskParam
|
|
61
|
+
)
|
|
62
|
+
return isVisible
|
|
60
63
|
}
|
|
61
64
|
</script>
|
|
@@ -51,26 +51,30 @@
|
|
|
51
51
|
<script lang="ts" setup>
|
|
52
52
|
import { ref, reactive, onMounted, onUnmounted, onUpdated, nextTick, PropType } from 'vue'
|
|
53
53
|
import ObjectRender from './assemblys/object-render.vue'
|
|
54
|
-
import type { PageDesign, PageContext } from '
|
|
55
|
-
import { updateOptionDatasources } from '
|
|
54
|
+
import type { PageDesign, PageContext } from '../../../src/utils/interfaces/page-design-types'
|
|
55
|
+
import { updateOptionDatasources } from '../../../src/utils/page-helper-util'
|
|
56
56
|
import {
|
|
57
57
|
queryPageDesign,
|
|
58
58
|
queryPageDesignByCode,
|
|
59
59
|
convertToPageContext,
|
|
60
60
|
queryPageSuperGrids
|
|
61
|
-
} from '
|
|
61
|
+
} from '../../../src/utils/page-init-util'
|
|
62
62
|
import {
|
|
63
63
|
initComponentRefState,
|
|
64
64
|
addComponentRef,
|
|
65
65
|
removePageAllRef,
|
|
66
66
|
getComponentRefByCode
|
|
67
|
-
} from '
|
|
68
|
-
import {
|
|
67
|
+
} from '../../../src//utils/global-refs'
|
|
68
|
+
import {
|
|
69
|
+
removeCustomFuncFromWindow,
|
|
70
|
+
initPageEvents,
|
|
71
|
+
handleEvent
|
|
72
|
+
} from '../../../src/utils/events/event-util'
|
|
69
73
|
import exportFormReportDialog from './assemblys/common/export-form-report-dialog.vue'
|
|
70
74
|
import TaskInformitionDialog from './assemblys/common/task-informition-dialog.vue'
|
|
71
75
|
import RemoveSignerDialog from './assemblys/common/remove-signer-dialog.vue'
|
|
72
76
|
// import eventBus from '../utils/eventBus'
|
|
73
|
-
import { getData } from '
|
|
77
|
+
import { getData } from '../../../src/utils/api/api-util'
|
|
74
78
|
import {
|
|
75
79
|
exportFormReport,
|
|
76
80
|
doImportFinally,
|
|
@@ -81,11 +85,11 @@ import {
|
|
|
81
85
|
doReturnTaskTo,
|
|
82
86
|
getRemoveSigner,
|
|
83
87
|
doRemoveSigners
|
|
84
|
-
} from '
|
|
88
|
+
} from '../../../src/utils/events/standard-event'
|
|
85
89
|
import { ElMessage } from 'element-plus'
|
|
86
90
|
import { useI18n } from 'vue-i18n'
|
|
87
91
|
import { DepartmentUserTree } from 'agilebuilder-ui'
|
|
88
|
-
import { i18nValidateRulesMessage } from '
|
|
92
|
+
import { i18nValidateRulesMessage } from '../../../src/utils/events/validator-util'
|
|
89
93
|
import superPageDialog from '../../super-page-dialog/super-page-dialog.vue'
|
|
90
94
|
import { useRouter } from 'vue-router'
|
|
91
95
|
import { jumpToPage } from 'agilebuilder-ui/src/utils/jump-page-utils'
|
|
@@ -660,3 +664,4 @@ function closeDialog() {
|
|
|
660
664
|
isShowDialog.value = false
|
|
661
665
|
}
|
|
662
666
|
</script>
|
|
667
|
+
../../../src/utils/interfaces/page-design-types../../../src/utils/page-helper-util../../../src/utils/page-init-util../../../src/utils/global-refs../../../src/utils/events/event-util../../../src/utils/api/api-util../../../src/utils/events/standard-event../../../src/utils/events/validator-util
|