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
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
taskInformitions: {
|
|
3
|
-
type: ArrayConstructor;
|
|
4
|
-
default: any;
|
|
5
|
-
};
|
|
6
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
close: (...args: any[]) => void;
|
|
8
|
-
result: (...args: any[]) => void;
|
|
9
|
-
open: (...args: any[]) => void;
|
|
10
|
-
opend: (...args: any[]) => void;
|
|
11
|
-
closed: (...args: any[]) => void;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
-
taskInformitions: {
|
|
14
|
-
type: ArrayConstructor;
|
|
15
|
-
default: any;
|
|
16
|
-
};
|
|
17
|
-
}>> & {
|
|
18
|
-
onClose?: (...args: any[]) => any;
|
|
19
|
-
onResult?: (...args: any[]) => any;
|
|
20
|
-
onOpen?: (...args: any[]) => any;
|
|
21
|
-
onOpend?: (...args: any[]) => any;
|
|
22
|
-
onClosed?: (...args: any[]) => any;
|
|
23
|
-
}, {
|
|
24
|
-
taskInformitions: unknown[];
|
|
25
|
-
}, {}>;
|
|
26
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
configure: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: {
|
|
5
|
-
name: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
selectWidget: ObjectConstructor;
|
|
9
|
-
indexObj: ObjectConstructor;
|
|
10
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
-
configure: {
|
|
12
|
-
type: ObjectConstructor;
|
|
13
|
-
default: {
|
|
14
|
-
name: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
selectWidget: ObjectConstructor;
|
|
18
|
-
indexObj: ObjectConstructor;
|
|
19
|
-
}>>, {
|
|
20
|
-
configure: Record<string, any>;
|
|
21
|
-
}, {}>;
|
|
22
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
interface MyProps {
|
|
2
|
-
parentPageContext: {
|
|
3
|
-
type: Object;
|
|
4
|
-
default: null;
|
|
5
|
-
};
|
|
6
|
-
parentPageEventParams: {
|
|
7
|
-
type: Object;
|
|
8
|
-
default: null;
|
|
9
|
-
};
|
|
10
|
-
jumpPageSetting: {
|
|
11
|
-
type: Object;
|
|
12
|
-
default: null;
|
|
13
|
-
};
|
|
14
|
-
isTest?: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<MyProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
close: (...args: any[]) => void;
|
|
18
|
-
open: (...args: any[]) => void;
|
|
19
|
-
closed: (...args: any[]) => void;
|
|
20
|
-
opened: (...args: any[]) => void;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & {
|
|
22
|
-
onClose?: (...args: any[]) => any;
|
|
23
|
-
onOpen?: (...args: any[]) => any;
|
|
24
|
-
onClosed?: (...args: any[]) => any;
|
|
25
|
-
onOpened?: (...args: any[]) => any;
|
|
26
|
-
}, {}, {}>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
package/dist/lib/favicon.ico
DELETED
|
Binary file
|
package/dist/lib/index.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import theme1 from '../../../../assets/chart-themes/theme1';
|
|
2
|
-
import theme2 from '../../../../assets/chart-themes/theme2';
|
|
3
|
-
import theme3 from '../../../../assets/chart-themes/theme3';
|
|
4
|
-
|
|
5
|
-
//缓存主题
|
|
6
|
-
const themeMap:any = {
|
|
7
|
-
'theme1':theme1,
|
|
8
|
-
'theme2':theme2,
|
|
9
|
-
'theme3':theme3
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 获取主题对象
|
|
14
|
-
* @param themeName 获取自定义的主题名称
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
export function getCustomTheme(themeName:string) {
|
|
18
|
-
console.log("getdd",themeName);
|
|
19
|
-
return themeMap[themeName];
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* 获取所有主题对象
|
|
24
|
-
* @returns
|
|
25
|
-
*/
|
|
26
|
-
export function getCustomThemeOptions():Array<any>{
|
|
27
|
-
return [{
|
|
28
|
-
value:'theme1',
|
|
29
|
-
label:'主题1'
|
|
30
|
-
},{
|
|
31
|
-
value:'theme2',
|
|
32
|
-
label:'主题2'
|
|
33
|
-
},{
|
|
34
|
-
value:'theme3',
|
|
35
|
-
label:'主题3'
|
|
36
|
-
}];
|
|
37
|
-
}
|
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
import type { Component } from "./interfaces/page-design-types";
|
|
2
|
-
/**
|
|
3
|
-
* 生成通用的样式和Class
|
|
4
|
-
*/
|
|
5
|
-
export function caculateCommonStyle(configure:Component,commonStyle:any,commonClass:any):void{
|
|
6
|
-
//清空设置
|
|
7
|
-
const tempStyle:any = {};
|
|
8
|
-
let tempClass = '';
|
|
9
|
-
const thisProps = configure.props?configure.props:{};
|
|
10
|
-
const thisStyle = configure.style?configure.style:{};
|
|
11
|
-
const thisSize = thisProps.size?thisProps.size:{};
|
|
12
|
-
//宽度
|
|
13
|
-
//固定
|
|
14
|
-
//默认按100
|
|
15
|
-
if(thisSize.widthType=='fix'&&thisSize.fixWidth){
|
|
16
|
-
tempStyle['width']=thisSize.fixWidth;
|
|
17
|
-
if(!tempStyle['width'].indexOf||tempStyle['width'].indexOf("px")==-1){
|
|
18
|
-
tempStyle['width'] = tempStyle['width']+"px";
|
|
19
|
-
}
|
|
20
|
-
}else{
|
|
21
|
-
if(thisSize.flexSpan){
|
|
22
|
-
tempClass += " el-col-"+thisSize.flexSpan;
|
|
23
|
-
}else{
|
|
24
|
-
tempClass += " el-col-24";
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//margin
|
|
28
|
-
//外边距 设计有套一层,在此设置外部的边距
|
|
29
|
-
if(thisStyle.marginTop){
|
|
30
|
-
tempStyle['margin-top'] = thisStyle.marginTop+"px";
|
|
31
|
-
}
|
|
32
|
-
if(thisStyle.marginRight){
|
|
33
|
-
tempStyle['margin-right'] = thisStyle.marginRight+"px";
|
|
34
|
-
}
|
|
35
|
-
if(thisStyle.marginBottom){
|
|
36
|
-
tempStyle['margin-bottom'] = thisStyle.marginBottom+"px";
|
|
37
|
-
}
|
|
38
|
-
if(thisStyle.marginLeft){
|
|
39
|
-
tempStyle['margin-left'] = thisStyle.marginLeft+"px";
|
|
40
|
-
}
|
|
41
|
-
//高度
|
|
42
|
-
if(thisSize.fixHeight){
|
|
43
|
-
tempStyle['height']=thisSize.fixHeight;
|
|
44
|
-
if(!tempStyle['height'].indexOf||tempStyle['height'].indexOf("px")==-1){
|
|
45
|
-
tempStyle['height'] = tempStyle['height']+"px";
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
//检查是否固定位置
|
|
49
|
-
const position = thisProps.position;
|
|
50
|
-
//工具栏位置
|
|
51
|
-
if(position=='top'||position=='bottom'){
|
|
52
|
-
//position: -webkit-sticky
|
|
53
|
-
tempStyle['position'] = 'fixed !important';
|
|
54
|
-
tempStyle['z-index'] = '1';
|
|
55
|
-
//找展示容器的位置
|
|
56
|
-
//const contentObj = document.getElementsByClassName("amb-design-board");
|
|
57
|
-
const contentObj = [thisRef.value.parentNode];
|
|
58
|
-
if(contentObj&&contentObj.length>0){
|
|
59
|
-
const contentRec = contentObj[0].getBoundingClientRect();
|
|
60
|
-
if(position=='top'){
|
|
61
|
-
tempStyle['top'] = contentRec.top+"px";
|
|
62
|
-
}
|
|
63
|
-
if(position=='bottom'){
|
|
64
|
-
tempStyle['bottom'] = "10px";
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
//宽
|
|
68
|
-
const thisRec = thisRef.value.getBoundingClientRect();
|
|
69
|
-
tempStyle['width'] = thisRec.width+"px";
|
|
70
|
-
}else if(thisStyle.position){
|
|
71
|
-
//按定位设置
|
|
72
|
-
tempStyle['position'] = thisStyle.position;
|
|
73
|
-
if(thisStyle.position!='relative'){
|
|
74
|
-
//其余需要默认当前的宽度
|
|
75
|
-
if(!tempStyle['width']){
|
|
76
|
-
const thisRec = thisRef.value.getBoundingClientRect();
|
|
77
|
-
tempStyle['width'] = thisRec.width+"px";
|
|
78
|
-
}
|
|
79
|
-
if(thisStyle.left){
|
|
80
|
-
tempStyle['left'] = thisStyle.left+"px";
|
|
81
|
-
}
|
|
82
|
-
if(thisStyle.top){
|
|
83
|
-
tempStyle['top'] = thisStyle.top+"px";
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
commonStyle.value = tempStyle;
|
|
88
|
-
commonClass.value = tempClass;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* 样式转换
|
|
93
|
-
* @param configure
|
|
94
|
-
* @param designStyle 动态样式名
|
|
95
|
-
* @param designClass 动态class
|
|
96
|
-
*/
|
|
97
|
-
export function caculateComponentStyle(configure:any,designStyle:any,designClass:any,designHeaderStyle:any):void{
|
|
98
|
-
//清空设置
|
|
99
|
-
const tempStyle:any = {};
|
|
100
|
-
const tempHeaderStyle:any={};
|
|
101
|
-
let tempClass = '';
|
|
102
|
-
//从默认值中获取
|
|
103
|
-
let defineStyle:any = {};
|
|
104
|
-
if(configure.default&&configure.default.style){
|
|
105
|
-
Object.assign(defineStyle,configure.default.style);
|
|
106
|
-
}
|
|
107
|
-
//设计内容覆盖
|
|
108
|
-
if(configure.style){
|
|
109
|
-
for(let pro in configure.style){
|
|
110
|
-
const proValue = configure.style[pro];
|
|
111
|
-
if(proValue!=undefined&&proValue!=null&&proValue!=''){
|
|
112
|
-
defineStyle[pro] = proValue;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
//加粗
|
|
118
|
-
if(defineStyle.fontWeight){
|
|
119
|
-
tempStyle['font-weight'] = 'bold';
|
|
120
|
-
}
|
|
121
|
-
//倾斜
|
|
122
|
-
if(defineStyle.incline){
|
|
123
|
-
tempStyle['font-style'] = 'italic';
|
|
124
|
-
}
|
|
125
|
-
//字号
|
|
126
|
-
if(defineStyle.fontSize){
|
|
127
|
-
tempStyle['font-size'] = defineStyle.fontSize;
|
|
128
|
-
}
|
|
129
|
-
//颜色
|
|
130
|
-
if(defineStyle.color){
|
|
131
|
-
tempStyle['color'] = defineStyle.color;
|
|
132
|
-
}
|
|
133
|
-
if(defineStyle.textAlign){
|
|
134
|
-
tempStyle['text-align'] = defineStyle.textAlign;
|
|
135
|
-
}
|
|
136
|
-
//背景颜色
|
|
137
|
-
if(defineStyle.backgroundColor){
|
|
138
|
-
tempStyle['background-color'] = defineStyle.backgroundColor;
|
|
139
|
-
}
|
|
140
|
-
//背景图片 待设置
|
|
141
|
-
//内边距
|
|
142
|
-
if(defineStyle.paddingTop){
|
|
143
|
-
tempStyle['padding-top'] = defineStyle.paddingTop+"px";
|
|
144
|
-
}
|
|
145
|
-
if(defineStyle.paddingRight){
|
|
146
|
-
tempStyle['padding-right'] = defineStyle.paddingRight+"px";
|
|
147
|
-
}
|
|
148
|
-
if(defineStyle.paddingBottom){
|
|
149
|
-
tempStyle['padding-bottom'] = defineStyle.paddingBottom+"px";
|
|
150
|
-
}
|
|
151
|
-
if(defineStyle.paddingLeft){
|
|
152
|
-
tempStyle['padding-left'] = defineStyle.paddingLeft+"px";
|
|
153
|
-
}
|
|
154
|
-
//线宽
|
|
155
|
-
if(defineStyle.borderWidth&&defineStyle.borderColor){
|
|
156
|
-
tempStyle['border'] = defineStyle.borderWidth+"px " + (defineStyle.borderType?defineStyle.borderType:"solid") + " " + defineStyle.borderColor;
|
|
157
|
-
//线框圆角
|
|
158
|
-
if(defineStyle.radius){
|
|
159
|
-
tempStyle['border-radius'] = defineStyle.radius+"px";
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
//阴影
|
|
164
|
-
if(defineStyle.shadowColor){
|
|
165
|
-
let shadow = (defineStyle.shadowTop?defineStyle.shadowTop:"0")+"px ";
|
|
166
|
-
shadow += (defineStyle.shadowRight?defineStyle.shadowRight:"0")+"px ";
|
|
167
|
-
shadow += (defineStyle.shadowBottom?defineStyle.shadowBottom:"0")+"px ";
|
|
168
|
-
shadow += (defineStyle.shadowLeft?defineStyle.shadowLeft:"0")+"px ";
|
|
169
|
-
shadow += defineStyle.shadowColor;
|
|
170
|
-
tempStyle['box-shadow'] = shadow;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
//自定义class
|
|
174
|
-
if(defineStyle.customClass){
|
|
175
|
-
tempClass += " " + defineStyle.customClass.replace(/;/g,' ');
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
//自定义样式
|
|
179
|
-
if(defineStyle.customStyle){
|
|
180
|
-
const strs = defineStyle.customStyle.replace(/[\r\n]/g,'').split(";");
|
|
181
|
-
for(let index=0;index<strs.length;index++){
|
|
182
|
-
const ss = strs[index].split(":");
|
|
183
|
-
if(ss.length>1&&ss[0]&&ss[1]){
|
|
184
|
-
if(!isNaN(ss[0])){
|
|
185
|
-
continue;
|
|
186
|
-
}
|
|
187
|
-
tempStyle[ss[0]] = ss[1];
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
//标题的样式
|
|
192
|
-
//加粗
|
|
193
|
-
if(defineStyle.headerFontWeight){
|
|
194
|
-
tempHeaderStyle['font-weight'] = "bold";
|
|
195
|
-
}
|
|
196
|
-
//倾斜
|
|
197
|
-
if(defineStyle.headerIncline){
|
|
198
|
-
tempHeaderStyle['font-style'] = "italic";
|
|
199
|
-
}
|
|
200
|
-
//字号
|
|
201
|
-
if(defineStyle.headerFontSize){
|
|
202
|
-
tempHeaderStyle['font-size'] = defineStyle.headerFontSize;
|
|
203
|
-
}
|
|
204
|
-
//颜色
|
|
205
|
-
if(defineStyle.headerColor){
|
|
206
|
-
tempHeaderStyle['color'] = defineStyle.headerColor;
|
|
207
|
-
}
|
|
208
|
-
if(defineStyle.headerTextAlign){
|
|
209
|
-
tempHeaderStyle['text-align'] = defineStyle.headerTextAlign;
|
|
210
|
-
}else{
|
|
211
|
-
tempHeaderStyle['text-align'] = "left";
|
|
212
|
-
}
|
|
213
|
-
//背景颜色
|
|
214
|
-
if(defineStyle.headerBackgroundColor){
|
|
215
|
-
tempHeaderStyle['background-color'] = defineStyle.headerBackgroundColor;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
designStyle.value = tempStyle;
|
|
219
|
-
designClass.value = tempClass;
|
|
220
|
-
if(designHeaderStyle){
|
|
221
|
-
designHeaderStyle.value = tempHeaderStyle;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-button-group
|
|
3
|
-
:class="runtimeClass"
|
|
4
|
-
:style="runtimeStyle">
|
|
5
|
-
<template v-for="(element,itemIndex) in configure.items" :key="element.uuid">
|
|
6
|
-
<ObjectRender
|
|
7
|
-
:pageContext="pageContext"
|
|
8
|
-
:configure="element"></ObjectRender>
|
|
9
|
-
</template>
|
|
10
|
-
</el-button-group>
|
|
11
|
-
</template>
|
|
12
|
-
<script lang='ts' setup>
|
|
13
|
-
import {ref, watch} from 'vue';
|
|
14
|
-
import ObjectRender from '../../object-render.vue'
|
|
15
|
-
import type { Component,PageContext} from '@/components/design/utils/interfaces/page-design-types';
|
|
16
|
-
interface MyProps{
|
|
17
|
-
pageContext:PageContext,
|
|
18
|
-
configure:Component
|
|
19
|
-
}
|
|
20
|
-
const props = defineProps<MyProps>();
|
|
21
|
-
|
|
22
|
-
//自身引用
|
|
23
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
24
|
-
//运行时的自身详细参数
|
|
25
|
-
const runtimeStyle = runtimeInfo.style;
|
|
26
|
-
const runtimeClass = runtimeInfo.class;
|
|
27
|
-
</script>
|
|
@@ -1,85 +0,0 @@
|
|
|
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
|
-
<template v-if="designProperty.triggerElement === 'button'">
|
|
12
|
-
<el-button
|
|
13
|
-
v-if="!designProperty.splitButton"
|
|
14
|
-
:size="designProperty.size"
|
|
15
|
-
:type="designProperty.buttonType">
|
|
16
|
-
{{designProperty.title}}
|
|
17
|
-
</el-button>
|
|
18
|
-
<span v-else>{{designProperty.title}}</span>
|
|
19
|
-
</template>
|
|
20
|
-
<el-text v-else>
|
|
21
|
-
{{designProperty.title}}
|
|
22
|
-
<el-icon>
|
|
23
|
-
<ArrowDown />
|
|
24
|
-
</el-icon>
|
|
25
|
-
</el-text>
|
|
26
|
-
<template #dropdown>
|
|
27
|
-
<el-dropdown-menu>
|
|
28
|
-
<el-dropdown-item v-for="(item,index) in listOptions" :key="item">{{item.label}}</el-dropdown-item>
|
|
29
|
-
</el-dropdown-menu>
|
|
30
|
-
</template>
|
|
31
|
-
</el-dropdown>
|
|
32
|
-
</template>
|
|
33
|
-
<script lang='ts' setup>
|
|
34
|
-
import { ArrowDown } from '@element-plus/icons-vue'
|
|
35
|
-
import {ref,computed} from 'vue';
|
|
36
|
-
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
37
|
-
import {formatVariableValue} from '../../../../utils/page-helper-util';
|
|
38
|
-
|
|
39
|
-
//定义的属性对象
|
|
40
|
-
interface MyProps{
|
|
41
|
-
//页面对象
|
|
42
|
-
pageContext:PageContext,
|
|
43
|
-
configure:Component
|
|
44
|
-
}
|
|
45
|
-
const props = defineProps<MyProps>();
|
|
46
|
-
//运行时信息
|
|
47
|
-
const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
|
|
48
|
-
const runtimeStyle = runtimeInfo.style;
|
|
49
|
-
const runtimeClass = runtimeInfo.class;
|
|
50
|
-
const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
|
|
51
|
-
|
|
52
|
-
//菜单数据
|
|
53
|
-
let listOptions:any = null;
|
|
54
|
-
//检查数据源
|
|
55
|
-
const dataOrigin = props.configure.props&&props.configure.props.dataOrigin?props.configure.props.dataOrigin:{};
|
|
56
|
-
const valueType = dataOrigin.optionValueSetType;
|
|
57
|
-
//绑定变量时,重新设置
|
|
58
|
-
if(valueType=='variable'){
|
|
59
|
-
listOptions = computed(()=>{
|
|
60
|
-
let options:any;
|
|
61
|
-
const menuValues:any = formatVariableValue(props.pageContext,designProperty.menuField);
|
|
62
|
-
if(menuValues&&Array.isArray(menuValues)){
|
|
63
|
-
options = menuValues;
|
|
64
|
-
for(let i=0;i<options.length;i++){
|
|
65
|
-
const option = options[i];
|
|
66
|
-
if(!option.label){
|
|
67
|
-
option.label = i+1;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}else{
|
|
71
|
-
const strs = (menuValues?(menuValues+''):'').trim().split(",");
|
|
72
|
-
options = [];
|
|
73
|
-
for(let str of strs){
|
|
74
|
-
options.push({
|
|
75
|
-
value:str,
|
|
76
|
-
label:str
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
return options;
|
|
81
|
-
});
|
|
82
|
-
}else{
|
|
83
|
-
listOptions = ref(designProperty.options?designProperty.options:[]);
|
|
84
|
-
}
|
|
85
|
-
</script>
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
:style="runtimeStyle"
|
|
4
|
-
:class="runtimeClass"
|
|
5
|
-
class="amb-widget-chart"
|
|
6
|
-
ref="thisRef">
|
|
7
|
-
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script lang='ts' setup>
|
|
11
|
-
import {ref} from 'vue';
|
|
12
|
-
import {getCustomTheme} from '../../../../utils/charts/chart-util';
|
|
13
|
-
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
14
|
-
|
|
15
|
-
import { use } from 'echarts/core';
|
|
16
|
-
import { CanvasRenderer } from 'echarts/renderers';
|
|
17
|
-
import {LineChart,BarChart} from 'echarts/charts';
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
GridComponent,
|
|
21
|
-
LegendComponent,
|
|
22
|
-
TitleComponent,
|
|
23
|
-
TooltipComponent,
|
|
24
|
-
ToolboxComponent,
|
|
25
|
-
DataZoomComponent
|
|
26
|
-
} from 'echarts/components';
|
|
27
|
-
|
|
28
|
-
//统计图
|
|
29
|
-
use([
|
|
30
|
-
CanvasRenderer,
|
|
31
|
-
LineChart,
|
|
32
|
-
GridComponent,
|
|
33
|
-
LegendComponent,
|
|
34
|
-
TitleComponent,
|
|
35
|
-
TooltipComponent,
|
|
36
|
-
BarChart,
|
|
37
|
-
ToolboxComponent,
|
|
38
|
-
DataZoomComponent
|
|
39
|
-
]);
|
|
40
|
-
import VChart from 'vue-echarts';
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
interface MyProps{
|
|
44
|
-
pageContext:PageContext,
|
|
45
|
-
configure:Component
|
|
46
|
-
}
|
|
47
|
-
const props = defineProps<MyProps>();
|
|
48
|
-
//自身引用
|
|
49
|
-
const thisRef = ref(null);
|
|
50
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
51
|
-
//运行时的自身详细参数
|
|
52
|
-
const runtimeStyle = runtimeInfo.style;
|
|
53
|
-
const runtimeClass = runtimeInfo.class;
|
|
54
|
-
|
|
55
|
-
const chartOption:any = runtimeInfo.chartOption;
|
|
56
|
-
console.log("chartOption-runtime",chartOption)
|
|
57
|
-
|
|
58
|
-
//自定义主题
|
|
59
|
-
const configureProps = props.configure.props?props.configure.props:{};
|
|
60
|
-
const customTheme:any = getCustomTheme(configureProps.customTheme);
|
|
61
|
-
</script>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
:style="runtimeStyle"
|
|
4
|
-
:class="runtimeClass"
|
|
5
|
-
class="amb-widget-chart"
|
|
6
|
-
ref="thisRef">
|
|
7
|
-
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script lang='ts' setup>
|
|
11
|
-
import {ref} from 'vue';
|
|
12
|
-
import {getCustomTheme} from '../../../../utils/charts/chart-util';
|
|
13
|
-
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
14
|
-
|
|
15
|
-
import { use } from 'echarts/core';
|
|
16
|
-
import { CanvasRenderer } from 'echarts/renderers';
|
|
17
|
-
import {GaugeChart} from 'echarts/charts';
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
GridComponent,
|
|
21
|
-
TitleComponent,
|
|
22
|
-
TooltipComponent,
|
|
23
|
-
ToolboxComponent
|
|
24
|
-
} from 'echarts/components';
|
|
25
|
-
|
|
26
|
-
//统计图
|
|
27
|
-
use([
|
|
28
|
-
CanvasRenderer,
|
|
29
|
-
GaugeChart,
|
|
30
|
-
GridComponent,
|
|
31
|
-
TitleComponent,
|
|
32
|
-
TooltipComponent,
|
|
33
|
-
ToolboxComponent
|
|
34
|
-
]);
|
|
35
|
-
|
|
36
|
-
import VChart from 'vue-echarts';
|
|
37
|
-
|
|
38
|
-
interface MyProps{
|
|
39
|
-
pageContext:PageContext,
|
|
40
|
-
configure:Component
|
|
41
|
-
}
|
|
42
|
-
const props = defineProps<MyProps>();
|
|
43
|
-
//自身引用
|
|
44
|
-
const thisRef = ref(null);
|
|
45
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
46
|
-
//运行时的自身详细参数
|
|
47
|
-
const runtimeStyle = runtimeInfo.style;
|
|
48
|
-
const runtimeClass = runtimeInfo.class;
|
|
49
|
-
|
|
50
|
-
const chartOption:any = runtimeInfo.chartOption;
|
|
51
|
-
//自定义主题
|
|
52
|
-
const configureProps = props.configure.props?props.configure.props:{};
|
|
53
|
-
const customTheme:any = getCustomTheme(configureProps.customTheme);
|
|
54
|
-
</script>
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
:style="runtimeStyle"
|
|
4
|
-
:class="runtimeClass"
|
|
5
|
-
class="amb-widget-chart"
|
|
6
|
-
ref="thisRef">
|
|
7
|
-
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script lang='ts' setup>
|
|
11
|
-
import {ref} from 'vue';
|
|
12
|
-
import {getCustomTheme} from '../../../../utils/charts/chart-util';
|
|
13
|
-
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
14
|
-
|
|
15
|
-
import { use } from 'echarts/core';
|
|
16
|
-
import { CanvasRenderer } from 'echarts/renderers';
|
|
17
|
-
import {PieChart} from 'echarts/charts';
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
GridComponent,
|
|
21
|
-
LegendComponent,
|
|
22
|
-
TitleComponent,
|
|
23
|
-
TooltipComponent,
|
|
24
|
-
ToolboxComponent
|
|
25
|
-
} from 'echarts/components';
|
|
26
|
-
|
|
27
|
-
//统计图
|
|
28
|
-
use([
|
|
29
|
-
CanvasRenderer,
|
|
30
|
-
PieChart,
|
|
31
|
-
GridComponent,
|
|
32
|
-
LegendComponent,
|
|
33
|
-
TitleComponent,
|
|
34
|
-
TooltipComponent,
|
|
35
|
-
ToolboxComponent
|
|
36
|
-
]);
|
|
37
|
-
|
|
38
|
-
import VChart from 'vue-echarts';
|
|
39
|
-
|
|
40
|
-
interface MyProps{
|
|
41
|
-
pageContext:PageContext,
|
|
42
|
-
configure:Component
|
|
43
|
-
}
|
|
44
|
-
const props = defineProps<MyProps>();
|
|
45
|
-
//自身引用
|
|
46
|
-
const thisRef = ref(null);
|
|
47
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
48
|
-
//运行时的自身详细参数
|
|
49
|
-
const runtimeStyle = runtimeInfo.style;
|
|
50
|
-
const runtimeClass = runtimeInfo.class;
|
|
51
|
-
|
|
52
|
-
const chartOption:any = runtimeInfo.chartOption;
|
|
53
|
-
|
|
54
|
-
//自定义主题
|
|
55
|
-
const configureProps = props.configure.props?props.configure.props:{};
|
|
56
|
-
const customTheme:any = getCustomTheme(configureProps.customTheme);
|
|
57
|
-
</script>
|