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
package/.eslintrc.cjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* eslint-env node */
|
|
2
|
+
require('@rushstack/eslint-patch/modern-module-resolution')
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
root: true,
|
|
6
|
+
'extends': [
|
|
7
|
+
'plugin:vue/vue3-essential',
|
|
8
|
+
'eslint:recommended',
|
|
9
|
+
'@vue/eslint-config-typescript',
|
|
10
|
+
'@vue/eslint-config-prettier/skip-formatting'
|
|
11
|
+
],
|
|
12
|
+
overrides: [
|
|
13
|
+
{
|
|
14
|
+
files: [
|
|
15
|
+
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
|
|
16
|
+
'cypress/support/**/*.{js,ts,jsx,tsx}'
|
|
17
|
+
],
|
|
18
|
+
'extends': [
|
|
19
|
+
'plugin:cypress/recommended'
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
parserOptions: {
|
|
24
|
+
ecmaVersion: 'latest'
|
|
25
|
+
}
|
|
26
|
+
}
|
package/.prettierrc.json
ADDED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import SuperPage from './
|
|
2
|
-
import SuperPageDialog from './
|
|
3
|
-
import WfEditor from './
|
|
1
|
+
import SuperPage from './runtime'
|
|
2
|
+
import SuperPageDialog from './super-page-dialog'
|
|
3
|
+
import WfEditor from './wf-editor'
|
|
4
4
|
export { SuperPage, SuperPageDialog, WfEditor }
|
|
5
5
|
|
|
6
6
|
// import type { App } from 'vue'
|
package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue
RENAMED
|
@@ -29,8 +29,11 @@
|
|
|
29
29
|
<script lang="ts" setup>
|
|
30
30
|
import { SuperIcon } from 'agilebuilder-ui'
|
|
31
31
|
import { ref } from 'vue'
|
|
32
|
-
import type {
|
|
33
|
-
|
|
32
|
+
import type {
|
|
33
|
+
Component,
|
|
34
|
+
PageContext
|
|
35
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
36
|
+
import { handleEvent } from '../../../../../../src/utils/events/event-util'
|
|
34
37
|
|
|
35
38
|
interface MyProps {
|
|
36
39
|
pageContext: PageContext
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-button-group :class="runtimeClass" :style="runtimeStyle">
|
|
3
|
+
<template v-for="(element, itemIndex) in configure.items" :key="element.uuid">
|
|
4
|
+
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
5
|
+
</template>
|
|
6
|
+
</el-button-group>
|
|
7
|
+
</template>
|
|
8
|
+
<script lang="ts" setup>
|
|
9
|
+
import { ref, watch } from 'vue'
|
|
10
|
+
import ObjectRender from '../../object-render.vue'
|
|
11
|
+
import type {
|
|
12
|
+
Component,
|
|
13
|
+
PageContext
|
|
14
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
15
|
+
interface MyProps {
|
|
16
|
+
pageContext: PageContext
|
|
17
|
+
configure: Component
|
|
18
|
+
}
|
|
19
|
+
const props = defineProps<MyProps>()
|
|
20
|
+
|
|
21
|
+
//自身引用
|
|
22
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
23
|
+
//运行时的自身详细参数
|
|
24
|
+
const runtimeStyle = runtimeInfo.style
|
|
25
|
+
const runtimeClass = runtimeInfo.class
|
|
26
|
+
</script>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dropdown
|
|
3
|
+
:class="runtimeClass"
|
|
4
|
+
:style="runtimeStyle"
|
|
5
|
+
:placement="designProperty.placement"
|
|
6
|
+
:split-button="designProperty.splitButton"
|
|
7
|
+
:disabled="designProperty.state === 'disabled'"
|
|
8
|
+
:type="designProperty.buttonType"
|
|
9
|
+
:size="designProperty.size"
|
|
10
|
+
:trigger="designProperty.trigger"
|
|
11
|
+
>
|
|
12
|
+
<template v-if="designProperty.triggerElement === 'button'">
|
|
13
|
+
<el-button
|
|
14
|
+
v-if="!designProperty.splitButton"
|
|
15
|
+
:size="designProperty.size"
|
|
16
|
+
:type="designProperty.buttonType"
|
|
17
|
+
>
|
|
18
|
+
{{ designProperty.title }}
|
|
19
|
+
</el-button>
|
|
20
|
+
<span v-else>{{ designProperty.title }}</span>
|
|
21
|
+
</template>
|
|
22
|
+
<el-text v-else>
|
|
23
|
+
{{ designProperty.title }}
|
|
24
|
+
<el-icon>
|
|
25
|
+
<ArrowDown />
|
|
26
|
+
</el-icon>
|
|
27
|
+
</el-text>
|
|
28
|
+
<template #dropdown>
|
|
29
|
+
<el-dropdown-menu>
|
|
30
|
+
<el-dropdown-item v-for="(item, index) in listOptions" :key="item">{{
|
|
31
|
+
item.label
|
|
32
|
+
}}</el-dropdown-item>
|
|
33
|
+
</el-dropdown-menu>
|
|
34
|
+
</template>
|
|
35
|
+
</el-dropdown>
|
|
36
|
+
</template>
|
|
37
|
+
<script lang="ts" setup>
|
|
38
|
+
import { ArrowDown } from '@element-plus/icons-vue'
|
|
39
|
+
import { ref, computed } from 'vue'
|
|
40
|
+
import type {
|
|
41
|
+
Component,
|
|
42
|
+
PageContext
|
|
43
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
44
|
+
import { formatVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
45
|
+
|
|
46
|
+
//定义的属性对象
|
|
47
|
+
interface MyProps {
|
|
48
|
+
//页面对象
|
|
49
|
+
pageContext: PageContext
|
|
50
|
+
configure: Component
|
|
51
|
+
}
|
|
52
|
+
const props = defineProps<MyProps>()
|
|
53
|
+
//运行时信息
|
|
54
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
55
|
+
const runtimeStyle = runtimeInfo.style
|
|
56
|
+
const runtimeClass = runtimeInfo.class
|
|
57
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
58
|
+
|
|
59
|
+
//菜单数据
|
|
60
|
+
let listOptions: any = null
|
|
61
|
+
//检查数据源
|
|
62
|
+
const dataOrigin =
|
|
63
|
+
props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {}
|
|
64
|
+
const valueType = dataOrigin.optionValueSetType
|
|
65
|
+
//绑定变量时,重新设置
|
|
66
|
+
if (valueType == 'variable') {
|
|
67
|
+
listOptions = computed(() => {
|
|
68
|
+
let options: any
|
|
69
|
+
const menuValues: any = formatVariableValue(props.pageContext, designProperty.menuField)
|
|
70
|
+
if (menuValues && Array.isArray(menuValues)) {
|
|
71
|
+
options = menuValues
|
|
72
|
+
for (let i = 0; i < options.length; i++) {
|
|
73
|
+
const option = options[i]
|
|
74
|
+
if (!option.label) {
|
|
75
|
+
option.label = i + 1
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
} else {
|
|
79
|
+
const strs = (menuValues ? menuValues + '' : '').trim().split(',')
|
|
80
|
+
options = []
|
|
81
|
+
for (let str of strs) {
|
|
82
|
+
options.push({
|
|
83
|
+
value: str,
|
|
84
|
+
label: str
|
|
85
|
+
})
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return options
|
|
89
|
+
})
|
|
90
|
+
} else {
|
|
91
|
+
listOptions = ref(designProperty.options ? designProperty.options : [])
|
|
92
|
+
}
|
|
93
|
+
</script>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
|
|
3
|
+
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang="ts" setup>
|
|
7
|
+
import { ref } from 'vue'
|
|
8
|
+
import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
|
|
9
|
+
import type {
|
|
10
|
+
Component,
|
|
11
|
+
PageContext
|
|
12
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
13
|
+
|
|
14
|
+
import { use } from 'echarts/core'
|
|
15
|
+
import { CanvasRenderer } from 'echarts/renderers'
|
|
16
|
+
import { LineChart, BarChart } from 'echarts/charts'
|
|
17
|
+
|
|
18
|
+
import {
|
|
19
|
+
GridComponent,
|
|
20
|
+
LegendComponent,
|
|
21
|
+
TitleComponent,
|
|
22
|
+
TooltipComponent,
|
|
23
|
+
ToolboxComponent,
|
|
24
|
+
DataZoomComponent
|
|
25
|
+
} from 'echarts/components'
|
|
26
|
+
|
|
27
|
+
//统计图
|
|
28
|
+
use([
|
|
29
|
+
CanvasRenderer,
|
|
30
|
+
LineChart,
|
|
31
|
+
GridComponent,
|
|
32
|
+
LegendComponent,
|
|
33
|
+
TitleComponent,
|
|
34
|
+
TooltipComponent,
|
|
35
|
+
BarChart,
|
|
36
|
+
ToolboxComponent,
|
|
37
|
+
DataZoomComponent
|
|
38
|
+
])
|
|
39
|
+
import VChart from 'vue-echarts'
|
|
40
|
+
|
|
41
|
+
interface MyProps {
|
|
42
|
+
pageContext: PageContext
|
|
43
|
+
configure: Component
|
|
44
|
+
}
|
|
45
|
+
const props = defineProps<MyProps>()
|
|
46
|
+
//自身引用
|
|
47
|
+
const thisRef = ref(null)
|
|
48
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
49
|
+
//运行时的自身详细参数
|
|
50
|
+
const runtimeStyle = runtimeInfo.style
|
|
51
|
+
const runtimeClass = runtimeInfo.class
|
|
52
|
+
|
|
53
|
+
const chartOption: any = runtimeInfo.chartOption
|
|
54
|
+
console.log('chartOption-runtime', chartOption)
|
|
55
|
+
|
|
56
|
+
//自定义主题
|
|
57
|
+
const configureProps = props.configure.props ? props.configure.props : {}
|
|
58
|
+
const customTheme: any = getCustomTheme(configureProps.customTheme)
|
|
59
|
+
</script>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
|
|
3
|
+
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang="ts" setup>
|
|
7
|
+
import { ref } from 'vue'
|
|
8
|
+
import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
|
|
9
|
+
import type {
|
|
10
|
+
Component,
|
|
11
|
+
PageContext
|
|
12
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
13
|
+
|
|
14
|
+
import { use } from 'echarts/core'
|
|
15
|
+
import { CanvasRenderer } from 'echarts/renderers'
|
|
16
|
+
import { GaugeChart } from 'echarts/charts'
|
|
17
|
+
|
|
18
|
+
import {
|
|
19
|
+
GridComponent,
|
|
20
|
+
TitleComponent,
|
|
21
|
+
TooltipComponent,
|
|
22
|
+
ToolboxComponent
|
|
23
|
+
} from 'echarts/components'
|
|
24
|
+
|
|
25
|
+
//统计图
|
|
26
|
+
use([CanvasRenderer, GaugeChart, GridComponent, TitleComponent, TooltipComponent, ToolboxComponent])
|
|
27
|
+
|
|
28
|
+
import VChart from 'vue-echarts'
|
|
29
|
+
|
|
30
|
+
interface MyProps {
|
|
31
|
+
pageContext: PageContext
|
|
32
|
+
configure: Component
|
|
33
|
+
}
|
|
34
|
+
const props = defineProps<MyProps>()
|
|
35
|
+
//自身引用
|
|
36
|
+
const thisRef = ref(null)
|
|
37
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
38
|
+
//运行时的自身详细参数
|
|
39
|
+
const runtimeStyle = runtimeInfo.style
|
|
40
|
+
const runtimeClass = runtimeInfo.class
|
|
41
|
+
|
|
42
|
+
const chartOption: any = runtimeInfo.chartOption
|
|
43
|
+
//自定义主题
|
|
44
|
+
const configureProps = props.configure.props ? props.configure.props : {}
|
|
45
|
+
const customTheme: any = getCustomTheme(configureProps.customTheme)
|
|
46
|
+
</script>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
|
|
3
|
+
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang="ts" setup>
|
|
7
|
+
import { ref } from 'vue'
|
|
8
|
+
import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
|
|
9
|
+
import type {
|
|
10
|
+
Component,
|
|
11
|
+
PageContext
|
|
12
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
13
|
+
|
|
14
|
+
import { use } from 'echarts/core'
|
|
15
|
+
import { CanvasRenderer } from 'echarts/renderers'
|
|
16
|
+
import { PieChart } from 'echarts/charts'
|
|
17
|
+
|
|
18
|
+
import {
|
|
19
|
+
GridComponent,
|
|
20
|
+
LegendComponent,
|
|
21
|
+
TitleComponent,
|
|
22
|
+
TooltipComponent,
|
|
23
|
+
ToolboxComponent
|
|
24
|
+
} from 'echarts/components'
|
|
25
|
+
|
|
26
|
+
//统计图
|
|
27
|
+
use([
|
|
28
|
+
CanvasRenderer,
|
|
29
|
+
PieChart,
|
|
30
|
+
GridComponent,
|
|
31
|
+
LegendComponent,
|
|
32
|
+
TitleComponent,
|
|
33
|
+
TooltipComponent,
|
|
34
|
+
ToolboxComponent
|
|
35
|
+
])
|
|
36
|
+
|
|
37
|
+
import VChart from 'vue-echarts'
|
|
38
|
+
|
|
39
|
+
interface MyProps {
|
|
40
|
+
pageContext: PageContext
|
|
41
|
+
configure: Component
|
|
42
|
+
}
|
|
43
|
+
const props = defineProps<MyProps>()
|
|
44
|
+
//自身引用
|
|
45
|
+
const thisRef = ref(null)
|
|
46
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
47
|
+
//运行时的自身详细参数
|
|
48
|
+
const runtimeStyle = runtimeInfo.style
|
|
49
|
+
const runtimeClass = runtimeInfo.class
|
|
50
|
+
|
|
51
|
+
const chartOption: any = runtimeInfo.chartOption
|
|
52
|
+
|
|
53
|
+
//自定义主题
|
|
54
|
+
const configureProps = props.configure.props ? props.configure.props : {}
|
|
55
|
+
const customTheme: any = getCustomTheme(configureProps.customTheme)
|
|
56
|
+
</script>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
|
|
3
|
+
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang="ts" setup>
|
|
7
|
+
import { ref } from 'vue'
|
|
8
|
+
import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
|
|
9
|
+
import type {
|
|
10
|
+
Component,
|
|
11
|
+
PageContext
|
|
12
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
13
|
+
|
|
14
|
+
import { use } from 'echarts/core'
|
|
15
|
+
import { CanvasRenderer } from 'echarts/renderers'
|
|
16
|
+
import { RadarChart } from 'echarts/charts'
|
|
17
|
+
|
|
18
|
+
import {
|
|
19
|
+
LegendComponent,
|
|
20
|
+
GridComponent,
|
|
21
|
+
TitleComponent,
|
|
22
|
+
TooltipComponent,
|
|
23
|
+
ToolboxComponent
|
|
24
|
+
} from 'echarts/components'
|
|
25
|
+
|
|
26
|
+
//统计图
|
|
27
|
+
use([
|
|
28
|
+
CanvasRenderer,
|
|
29
|
+
RadarChart,
|
|
30
|
+
GridComponent,
|
|
31
|
+
TitleComponent,
|
|
32
|
+
TooltipComponent,
|
|
33
|
+
ToolboxComponent,
|
|
34
|
+
LegendComponent
|
|
35
|
+
])
|
|
36
|
+
|
|
37
|
+
import VChart from 'vue-echarts'
|
|
38
|
+
|
|
39
|
+
interface MyProps {
|
|
40
|
+
pageContext: PageContext
|
|
41
|
+
configure: Component
|
|
42
|
+
}
|
|
43
|
+
const props = defineProps<MyProps>()
|
|
44
|
+
//自身引用
|
|
45
|
+
const thisRef = ref(null)
|
|
46
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
47
|
+
//运行时的自身详细参数
|
|
48
|
+
const runtimeStyle = runtimeInfo.style
|
|
49
|
+
const runtimeClass = runtimeInfo.class
|
|
50
|
+
|
|
51
|
+
const chartOption: any = runtimeInfo.chartOption
|
|
52
|
+
//自定义主题
|
|
53
|
+
const configureProps = props.configure.props ? props.configure.props : {}
|
|
54
|
+
const customTheme: any = getCustomTheme(configureProps.customTheme)
|
|
55
|
+
</script>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
|
|
3
|
+
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang="ts" setup>
|
|
7
|
+
import { ref } from 'vue'
|
|
8
|
+
import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
|
|
9
|
+
import type {
|
|
10
|
+
Component,
|
|
11
|
+
PageContext
|
|
12
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
13
|
+
|
|
14
|
+
import { use } from 'echarts/core'
|
|
15
|
+
import { CanvasRenderer } from 'echarts/renderers'
|
|
16
|
+
import { ScatterChart } from 'echarts/charts'
|
|
17
|
+
|
|
18
|
+
import {
|
|
19
|
+
GridComponent,
|
|
20
|
+
LegendComponent,
|
|
21
|
+
TitleComponent,
|
|
22
|
+
TooltipComponent,
|
|
23
|
+
ToolboxComponent,
|
|
24
|
+
DataZoomComponent
|
|
25
|
+
} from 'echarts/components'
|
|
26
|
+
|
|
27
|
+
//统计图
|
|
28
|
+
use([
|
|
29
|
+
CanvasRenderer,
|
|
30
|
+
ScatterChart,
|
|
31
|
+
GridComponent,
|
|
32
|
+
LegendComponent,
|
|
33
|
+
TitleComponent,
|
|
34
|
+
TooltipComponent,
|
|
35
|
+
ToolboxComponent,
|
|
36
|
+
DataZoomComponent
|
|
37
|
+
])
|
|
38
|
+
|
|
39
|
+
import VChart from 'vue-echarts'
|
|
40
|
+
|
|
41
|
+
interface MyProps {
|
|
42
|
+
pageContext: PageContext
|
|
43
|
+
configure: Component
|
|
44
|
+
}
|
|
45
|
+
const props = defineProps<MyProps>()
|
|
46
|
+
//自身引用
|
|
47
|
+
const thisRef = ref(null)
|
|
48
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
49
|
+
//运行时的自身详细参数
|
|
50
|
+
const runtimeStyle = runtimeInfo.style
|
|
51
|
+
const runtimeClass = runtimeInfo.class
|
|
52
|
+
|
|
53
|
+
const chartOption: any = runtimeInfo.chartOption
|
|
54
|
+
//自定义主题
|
|
55
|
+
const configureProps = props.configure.props ? props.configure.props : {}
|
|
56
|
+
const customTheme: any = getCustomTheme(configureProps.customTheme)
|
|
57
|
+
</script>
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-dialog
|
|
3
|
+
:show-close="true"
|
|
4
|
+
:append-to-body="true"
|
|
5
|
+
:title="$t('superPageRuntimeMessage.selectTemplate')"
|
|
6
|
+
model-value
|
|
7
|
+
@close="closeExportForm"
|
|
8
|
+
>
|
|
9
|
+
<el-table :data="templateFiles" style="width: 100%">
|
|
10
|
+
<el-table-column :label="$t('superPageRuntimeMessage.temlpate')" prop="templateShowPath">
|
|
11
|
+
<template v-slot="scope">
|
|
12
|
+
{{ scope.row.templateShowPath }}
|
|
13
|
+
</template>
|
|
14
|
+
</el-table-column>
|
|
15
|
+
<el-table-column :label="$t('superPageRuntimeMessage.operating')" width="200" fixed="right">
|
|
16
|
+
<template v-slot="scope">
|
|
17
|
+
<el-button type="text" size="small" @click="exportForm(scope.row)">
|
|
18
|
+
{{ $t('superPageRuntimeMessage.export') }}
|
|
19
|
+
</el-button>
|
|
20
|
+
</template>
|
|
21
|
+
</el-table-column>
|
|
22
|
+
</el-table>
|
|
23
|
+
</el-dialog>
|
|
24
|
+
</template>
|
|
25
|
+
<script lang="ts" setup>
|
|
26
|
+
import { onMounted, ref } from 'vue'
|
|
27
|
+
import { packageTemplateFiles } from '../../../../../src/utils/common-util'
|
|
28
|
+
const props = defineProps({
|
|
29
|
+
configure: {
|
|
30
|
+
type: Object,
|
|
31
|
+
required: true
|
|
32
|
+
},
|
|
33
|
+
pageContext: {
|
|
34
|
+
type: Object
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
const emits = defineEmits(['export', 'close'])
|
|
38
|
+
const prefix = '${'
|
|
39
|
+
const suffix = '}'
|
|
40
|
+
const templateFiles = ref([])
|
|
41
|
+
const fields = ref([])
|
|
42
|
+
const configureBase = props.configure.props.base
|
|
43
|
+
const dataModel = props.pageContext.entity.data
|
|
44
|
+
onMounted(() => {
|
|
45
|
+
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
46
|
+
templateFiles.value = packageTemplateFiles(configureBase.templateFiles)
|
|
47
|
+
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
48
|
+
templateFiles.value.push({
|
|
49
|
+
templateUUID: configureBase.templateUUID,
|
|
50
|
+
templateShowPath: configureBase.templateShowPath
|
|
51
|
+
})
|
|
52
|
+
}
|
|
53
|
+
templateFiles.value.forEach((item) => {
|
|
54
|
+
if (item && item.templateShowPath) {
|
|
55
|
+
item.templateShowPath = formatTemplateShowPath(item.templateShowPath)
|
|
56
|
+
}
|
|
57
|
+
})
|
|
58
|
+
})
|
|
59
|
+
|
|
60
|
+
function getFileds(templateShowPath) {
|
|
61
|
+
console.log('templateShowPath', templateShowPath)
|
|
62
|
+
let field
|
|
63
|
+
let formatStr
|
|
64
|
+
let newValue = templateShowPath
|
|
65
|
+
const prefixIndex = newValue.indexOf(prefix)
|
|
66
|
+
const suffixIndex = newValue.indexOf(suffix)
|
|
67
|
+
console.log('prefixIndex', prefixIndex)
|
|
68
|
+
console.log('suffixIndex', suffixIndex)
|
|
69
|
+
if (prefixIndex !== -1 && suffixIndex !== -1) {
|
|
70
|
+
if (prefixIndex > suffixIndex) {
|
|
71
|
+
newValue =
|
|
72
|
+
newValue.substring(0, suffixIndex) + newValue.substring(suffixIndex + suffix.length)
|
|
73
|
+
console.log('non replacement value === newValue', newValue)
|
|
74
|
+
} else {
|
|
75
|
+
field = newValue.substring(prefixIndex + prefix.length, suffixIndex)
|
|
76
|
+
formatStr = newValue.substring(prefixIndex, suffixIndex + suffix.length)
|
|
77
|
+
console.log('field', field)
|
|
78
|
+
console.log('formatStr', formatStr)
|
|
79
|
+
fields.value.push(field)
|
|
80
|
+
console.log('fields', fields.value)
|
|
81
|
+
newValue = newValue.replace(formatStr, '')
|
|
82
|
+
console.log('newValue', newValue)
|
|
83
|
+
}
|
|
84
|
+
return getFileds(newValue)
|
|
85
|
+
}
|
|
86
|
+
return fields.value
|
|
87
|
+
}
|
|
88
|
+
function formatTemplateShowPath(templateShowPath) {
|
|
89
|
+
const fields = getFileds(templateShowPath)
|
|
90
|
+
console.log('fields', fields)
|
|
91
|
+
|
|
92
|
+
fields.forEach((field) => {
|
|
93
|
+
const formatStr = prefix + field + suffix
|
|
94
|
+
let formatValue
|
|
95
|
+
if (templateShowPath.indexOf(formatStr) !== -1 && dataModel.hasOwnProperty(field)) {
|
|
96
|
+
formatValue = dataModel[field] ? dataModel[field] : ''
|
|
97
|
+
templateShowPath = templateShowPath.replace(formatStr, formatValue)
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
return templateShowPath
|
|
101
|
+
}
|
|
102
|
+
function exportForm(row) {
|
|
103
|
+
emits('export', row)
|
|
104
|
+
}
|
|
105
|
+
function closeExportForm() {
|
|
106
|
+
emits('close')
|
|
107
|
+
}
|
|
108
|
+
</script>
|
package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue
RENAMED
|
@@ -23,7 +23,10 @@ import { ref, onMounted } from 'vue'
|
|
|
23
23
|
import { ElCard } from 'element-plus'
|
|
24
24
|
import { SuperIcon } from 'agilebuilder-ui'
|
|
25
25
|
import ObjectRender from '../../object-render.vue'
|
|
26
|
-
import type {
|
|
26
|
+
import type {
|
|
27
|
+
Component,
|
|
28
|
+
PageContext
|
|
29
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
27
30
|
|
|
28
31
|
interface MyProps {
|
|
29
32
|
pageContext: PageContext
|
|
@@ -31,8 +31,11 @@
|
|
|
31
31
|
<script lang="ts" setup>
|
|
32
32
|
import { ref, onMounted } from 'vue'
|
|
33
33
|
import ObjectDesign from '../../object-render.vue'
|
|
34
|
-
import type {
|
|
35
|
-
|
|
34
|
+
import type {
|
|
35
|
+
Component,
|
|
36
|
+
PageContext
|
|
37
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
38
|
+
import { addComponentRef } from '../../../../../../src/utils/global-refs'
|
|
36
39
|
|
|
37
40
|
interface MyProps {
|
|
38
41
|
pageContext: PageContext
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-container ref="thisRef">
|
|
3
|
+
<el-aside v-if="configure.props.useLeft" :style="leftStyle">
|
|
4
|
+
<template v-for="(element, itemIndex) in configure.leftAslides" :key="element.uuid">
|
|
5
|
+
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
6
|
+
</template>
|
|
7
|
+
</el-aside>
|
|
8
|
+
<el-main :style="mainStyle" :class="mainClass">
|
|
9
|
+
<template v-for="(element, itemIndex) in configure.items" :key="element.uuid">
|
|
10
|
+
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
11
|
+
</template>
|
|
12
|
+
</el-main>
|
|
13
|
+
<el-aside v-if="configure.props.useRight" :style="rightStyle">
|
|
14
|
+
<template v-for="(element, itemIndex) in configure.rightAslides" :key="element.uuid">
|
|
15
|
+
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
16
|
+
</template>
|
|
17
|
+
</el-aside>
|
|
18
|
+
</el-container>
|
|
19
|
+
</template>
|
|
20
|
+
<script lang="ts" setup>
|
|
21
|
+
import { ref, onMounted } from 'vue'
|
|
22
|
+
import ObjectRender from '../../object-render.vue'
|
|
23
|
+
import type {
|
|
24
|
+
Component,
|
|
25
|
+
PageContext
|
|
26
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
27
|
+
import { addComponentRef } from '../../../../../../src/utils/global-refs'
|
|
28
|
+
interface MyProps {
|
|
29
|
+
pageContext: PageContext
|
|
30
|
+
configure: Component
|
|
31
|
+
}
|
|
32
|
+
const props = defineProps<MyProps>()
|
|
33
|
+
//自身引用
|
|
34
|
+
const thisRef = ref(null)
|
|
35
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
36
|
+
//运行时的自身详细参数
|
|
37
|
+
const leftStyle = runtimeInfo.leftStyle
|
|
38
|
+
const rightStyle = runtimeInfo.rightStyle
|
|
39
|
+
const mainStyle = runtimeInfo.style
|
|
40
|
+
const mainClass = runtimeInfo.class
|
|
41
|
+
</script>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-row
|
|
3
|
+
ref="thisRef"
|
|
4
|
+
:justify="designProperty.flexJustify"
|
|
5
|
+
:gutter="designProperty.flexGutter"
|
|
6
|
+
:align="designProperty.alignItems"
|
|
7
|
+
:style="runtimeStyle"
|
|
8
|
+
:class="runtimeClass"
|
|
9
|
+
>
|
|
10
|
+
<template v-for="(element, itemIndex) in configure.items" :key="element.uuid">
|
|
11
|
+
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
12
|
+
</template>
|
|
13
|
+
</el-row>
|
|
14
|
+
</template>
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
import { ref, onMounted } from 'vue'
|
|
17
|
+
import ObjectRender from '../../object-render.vue'
|
|
18
|
+
import type {
|
|
19
|
+
Component,
|
|
20
|
+
PageContext
|
|
21
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
22
|
+
import { addComponentRef } from '../../../../../../src/utils/global-refs'
|
|
23
|
+
interface MyProps {
|
|
24
|
+
pageContext: PageContext
|
|
25
|
+
configure: Component
|
|
26
|
+
}
|
|
27
|
+
const props = defineProps<MyProps>()
|
|
28
|
+
//自身引用
|
|
29
|
+
const thisRef = ref(null)
|
|
30
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
31
|
+
//运行时的自身详细参数
|
|
32
|
+
const runtimeStyle = runtimeInfo.style
|
|
33
|
+
const runtimeClass = runtimeInfo.class
|
|
34
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
35
|
+
</script>
|