super-page-runtime 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +26 -0
- package/.prettierrc.json +8 -0
- package/{src → components}/index.ts +3 -3
- package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue +5 -2
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
- package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue +4 -1
- package/{src/components → components}/runtime/views/assemblys/container/collapse/collapse-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
- package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
- package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue +12 -6
- package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue +10 -7
- package/{src/components → components}/runtime/views/assemblys/data/table/table-runtime.vue +2 -2
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
- package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
- package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +6 -3
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
- package/{src/components → components}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +5 -2
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
- package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +7 -4
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
- package/{src/components → components}/runtime/views/assemblys/form/radio/radio-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
- package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue +11 -5
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
- package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue +6 -3
- package/{src/components → components}/runtime/views/assemblys/object-render.vue +6 -6
- package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +1 -1
- package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
- package/{src/components → components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +20 -17
- package/{src/components → components}/runtime/views/super-page.vue +13 -8
- package/cypress/e2e/example.cy.ts +8 -0
- package/cypress/e2e/tsconfig.json +10 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress.config.ts +8 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/lib/components/index.d.ts +5 -0
- package/{dist/lib → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/{dist/lib → lib}/components/runtime/views/super-page.vue.d.ts +1 -1
- package/{dist/lib → lib}/index.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -8
- package/lib/src/utils/charts/chart-util.js +15 -0
- package/{dist/es/components/runtime → lib/src}/utils/events/event-util.d.ts +1 -1
- package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -1
- package/lib/wf-editor/wf-editor.css +4 -0
- package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +3 -3
- package/package-ws.json +70 -0
- package/package.json +3 -7
- package/src/utils/charts/chart-util.ts +41 -0
- package/src/utils/container-style-util.ts +237 -0
- package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
- package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
- package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
- package/tsconfig copy.json +17 -0
- package/tsconfig.app copy.json +14 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node copy.json +19 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest copy.json +11 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config copy.ts +109 -0
- package/vite.config.ts +86 -0
- package/vitest.config.ts +14 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/es/assets/chart-themes/theme1.js +0 -8
- package/dist/es/assets/chart-themes/theme2.js +0 -8
- package/dist/es/assets/chart-themes/theme3.js +0 -8
- package/dist/es/components/runtime/index.js +0 -4
- package/dist/es/components/runtime/utils/api/api-util.js +0 -128
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/es/components/runtime/utils/common-util.js +0 -81
- package/dist/es/components/runtime/utils/events/event-util.js +0 -525
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1623
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -389
- package/dist/es/components/runtime/utils/global-refs.js +0 -65
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -9
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -503
- package/dist/es/components/runtime/utils/page-init-util.js +0 -200
- package/dist/es/components/runtime/utils/store-util.js +0 -17
- package/dist/es/components/runtime/utils/store.js +0 -4
- package/dist/es/components/runtime/utils/table-utils.js +0 -23
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -50
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -148
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -80
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -31
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -70
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -76
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -163
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
- package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/es/components/runtime/views/super-page.vue.js +0 -481
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
- package/dist/es/components/super-page-dialog/index.js +0 -4
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -75
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
- package/dist/es/components/wf-editor/index.js +0 -4
- package/dist/es/components/wf-editor/wf-editor.css +0 -4
- package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
- package/dist/es/index.d.ts +0 -5
- package/dist/es/index.js +0 -8
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.css +0 -4
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +0 -5
- package/src/components/runtime/utils/charts/chart-util.ts +0 -37
- package/src/components/runtime/utils/container-style-util.ts +0 -223
- package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
- package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
- package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
- package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
- package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
- package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
- package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
- package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
- package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
- package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
- package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
- package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
- package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
- package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
- package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
- package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
- package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
- package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
- package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
- package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
- package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
- package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
- /package/{src/App.vue → App.vue} +0 -0
- /package/{src/components → components}/runtime/index.ts +0 -0
- /package/{src/components → components}/runtime/utils/assemblys-config.js +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-cursor.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-size.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-select-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-background.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-border.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font-head.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-margin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-padding.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-position.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-shadow.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/task-informition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/column-config.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/combinedHeader.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/composite-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/configuration-value.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/formatting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/querySetting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/return-set-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/select-data-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-render.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/colors/colors-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/analytic-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/condition.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/default-value-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dimension-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/formatting-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/grid-num-select.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/linkage.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-height.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-width.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/pre-suffix.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/rich-text.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/row-ul-li.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/setoption-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/size-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/suffixmodule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/uploading.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/verification.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/voluntarily.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/rate/rate-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/slider/slider-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/text/text-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/variable-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/combination.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -0
- /package/{src/components → components}/runtime/views/render/page-view.vue +0 -0
- /package/{src/components → components}/runtime/views/super-page copy.vue +0 -0
- /package/{src/components → components}/super-page-dialog/index.ts +0 -0
- /package/{src/components → components}/super-page-dialog/super-page-dialog.vue +0 -0
- /package/{src/components → components}/wf-editor/index.ts +0 -0
- /package/{src/components → components}/wf-editor/wf-editor.vue +0 -0
- /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
- /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
- /package/{dist/es → lib}/favicon.ico +0 -0
- /package/{dist/lib/components → lib}/runtime/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme1.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme3.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/api/api-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/api/api-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/common-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/common-util.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/event-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/standard-event.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/standard-event.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/validator-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/validator-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/global-refs.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/global-refs.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/interfaces/page-design-types.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-helper-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-helper-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-init-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-init-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/table-utils.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
- /package/{src/main.ts → main.ts} +0 -0
- /package/{dist → public}/favicon.ico +0 -0
- /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
- /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
- /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store.ts +0 -0
- /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { fileURLToPath, URL } from 'node:url'
|
|
2
|
+
|
|
3
|
+
import { defineConfig } from 'vite'
|
|
4
|
+
import vue from '@vitejs/plugin-vue'
|
|
5
|
+
import vueJsx from '@vitejs/plugin-vue-jsx'
|
|
6
|
+
import dts from 'vite-plugin-dts'
|
|
7
|
+
// https://vitejs.dev/config/
|
|
8
|
+
export default defineConfig({
|
|
9
|
+
build: {
|
|
10
|
+
target: 'modules',
|
|
11
|
+
// //打包文件目录
|
|
12
|
+
outDir: 'es',
|
|
13
|
+
minify: false,
|
|
14
|
+
cssCodeSplit: false,
|
|
15
|
+
rollupOptions: {
|
|
16
|
+
//忽略打包vue文件
|
|
17
|
+
external: (id) => {
|
|
18
|
+
const arr = [
|
|
19
|
+
'vue',
|
|
20
|
+
'vue-i18n',
|
|
21
|
+
'vue-router',
|
|
22
|
+
'vuex',
|
|
23
|
+
'vue-echarts',
|
|
24
|
+
'tslib',
|
|
25
|
+
'resize-detecotr',
|
|
26
|
+
'quill',
|
|
27
|
+
'@vueup/vue-quill',
|
|
28
|
+
'quill-delta',
|
|
29
|
+
'path-to-regexp',
|
|
30
|
+
'parchment',
|
|
31
|
+
'nprogress',
|
|
32
|
+
'mitt',
|
|
33
|
+
'lodash-es',
|
|
34
|
+
'lodash.isequal',
|
|
35
|
+
'lodash.clonedeep',
|
|
36
|
+
'js-cookie',
|
|
37
|
+
'fast-diff',
|
|
38
|
+
'eventemitter3',
|
|
39
|
+
'element-plus',
|
|
40
|
+
'echarts',
|
|
41
|
+
'dayjs',
|
|
42
|
+
'axios',
|
|
43
|
+
'async-validator',
|
|
44
|
+
'agilebuilder-ui',
|
|
45
|
+
'@vueuse_shared',
|
|
46
|
+
'@vueuse_core',
|
|
47
|
+
'@vue_shared',
|
|
48
|
+
'@vue_reactivity',
|
|
49
|
+
'@vue_devtools-api',
|
|
50
|
+
'@element-plus/icons-vue',
|
|
51
|
+
'@ctrl_tinycolor',
|
|
52
|
+
'zrender'
|
|
53
|
+
]
|
|
54
|
+
for (let i = 0; i < arr.length; i++) {
|
|
55
|
+
if (id.startsWith(arr[i])) {
|
|
56
|
+
console.log('id===', id)
|
|
57
|
+
return true
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
// if (id.startWith('agilebuilder-ui')) {
|
|
61
|
+
// console.log('===================agilebuilder-ui================')
|
|
62
|
+
// return true
|
|
63
|
+
// }
|
|
64
|
+
// console.log('id===', id)
|
|
65
|
+
// // 忽略.pnpm中的所有文件
|
|
66
|
+
// if (id.indexOf('/.pnpm/') > 0) {
|
|
67
|
+
// return true
|
|
68
|
+
// } else {
|
|
69
|
+
// return false
|
|
70
|
+
// }
|
|
71
|
+
},
|
|
72
|
+
input: ['src/index.ts'],
|
|
73
|
+
output: [
|
|
74
|
+
{
|
|
75
|
+
format: 'es',
|
|
76
|
+
//不用打包成.es.js,这里我们想把它打包成.js
|
|
77
|
+
entryFileNames: '[name].js',
|
|
78
|
+
//让打包目录和源码目录对应,如果为false就会只生成一个js文件包含所有内容
|
|
79
|
+
preserveModules: true,
|
|
80
|
+
//配置打包根目录
|
|
81
|
+
dir: 'dist/es',
|
|
82
|
+
preserveModulesRoot: 'src'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
format: 'cjs',
|
|
86
|
+
entryFileNames: '[name].js',
|
|
87
|
+
//让打包目录和源码目录对应
|
|
88
|
+
preserveModules: true,
|
|
89
|
+
//配置打包根目录
|
|
90
|
+
dir: 'dist/lib',
|
|
91
|
+
preserveModulesRoot: 'src'
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
// outDir: 'dist',
|
|
96
|
+
// 开启vite打包的库模式
|
|
97
|
+
lib: {
|
|
98
|
+
entry: 'dist/lib/index.js',
|
|
99
|
+
name: 'super-form-runtime',
|
|
100
|
+
formats: ['umd', 'cjs']
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
plugins: [vue(), vueJsx()],
|
|
104
|
+
resolve: {
|
|
105
|
+
alias: {
|
|
106
|
+
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
})
|
package/vite.config.ts
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { fileURLToPath, URL } from 'node:url'
|
|
2
|
+
|
|
3
|
+
import { defineConfig } from 'vite'
|
|
4
|
+
import vue from '@vitejs/plugin-vue'
|
|
5
|
+
import vueJsx from '@vitejs/plugin-vue-jsx'
|
|
6
|
+
import dts from 'vite-plugin-dts'
|
|
7
|
+
|
|
8
|
+
const path = require('path')
|
|
9
|
+
const fs = require('fs')
|
|
10
|
+
// 获取项目根目录下的package.json路径
|
|
11
|
+
const packageJsonPath = path.resolve(__dirname, './package.json')
|
|
12
|
+
|
|
13
|
+
// 读取package.json文件
|
|
14
|
+
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'))
|
|
15
|
+
// 获取dependencies和devDependencies
|
|
16
|
+
const dependencies = Object.keys(packageJson.dependencies)
|
|
17
|
+
const devDependencies = Object.keys(packageJson.devDependencies)
|
|
18
|
+
|
|
19
|
+
const arr = [...dependencies, ...devDependencies]
|
|
20
|
+
console.log('arr=====', arr)
|
|
21
|
+
// https://vitejs.dev/config/
|
|
22
|
+
export default defineConfig({
|
|
23
|
+
build: {
|
|
24
|
+
target: 'modules',
|
|
25
|
+
// //打包文件目录
|
|
26
|
+
// outDir: 'es',
|
|
27
|
+
//压缩
|
|
28
|
+
minify: false,
|
|
29
|
+
//css分离
|
|
30
|
+
cssCodeSplit: true,
|
|
31
|
+
rollupOptions: {
|
|
32
|
+
//忽略打包vue文件
|
|
33
|
+
external: (id) => {
|
|
34
|
+
for (let i = 0; i < arr.length; i++) {
|
|
35
|
+
if (id.startsWith(arr[i])) {
|
|
36
|
+
// console.log('id===', id)
|
|
37
|
+
return true
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
input: ['components/index.ts'],
|
|
42
|
+
output: [
|
|
43
|
+
// {
|
|
44
|
+
// format: 'es',
|
|
45
|
+
// //不用打包成.es.js,这里我们想把它打包成.js
|
|
46
|
+
// entryFileNames: '[name].js',
|
|
47
|
+
// //让打包目录和源码目录对应,如果为false就会只生成一个js文件包含所有内容
|
|
48
|
+
// preserveModules: true,
|
|
49
|
+
// //配置打包根目录
|
|
50
|
+
// dir: 'dist/es',
|
|
51
|
+
// preserveModulesRoot: 'components'
|
|
52
|
+
// },
|
|
53
|
+
{
|
|
54
|
+
format: 'cjs',
|
|
55
|
+
entryFileNames: '[name].js',
|
|
56
|
+
//让打包目录和源码目录对应
|
|
57
|
+
preserveModules: true,
|
|
58
|
+
//配置打包根目录
|
|
59
|
+
dir: 'lib',
|
|
60
|
+
preserveModulesRoot: 'components'
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
outDir: 'components',
|
|
65
|
+
// 开启vite打包的库模式
|
|
66
|
+
lib: {
|
|
67
|
+
entry: 'components/index.ts'
|
|
68
|
+
// name: 'super-form-runtime',
|
|
69
|
+
// formats: ['umd', 'cjs']
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
plugins: [
|
|
73
|
+
vue(),
|
|
74
|
+
vueJsx(),
|
|
75
|
+
dts({
|
|
76
|
+
//指定使用的tsconfig.json在整个项目根目录下,如果不配置,也可以在components下新建tsconfig.json
|
|
77
|
+
outDir: ['lib'],
|
|
78
|
+
tsconfigPath: './tsconfig.json'
|
|
79
|
+
})
|
|
80
|
+
],
|
|
81
|
+
resolve: {
|
|
82
|
+
alias: {
|
|
83
|
+
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
})
|
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { fileURLToPath } from 'node:url'
|
|
2
|
+
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
|
|
3
|
+
import viteConfig from './vite.config'
|
|
4
|
+
|
|
5
|
+
export default mergeConfig(
|
|
6
|
+
viteConfig,
|
|
7
|
+
defineConfig({
|
|
8
|
+
test: {
|
|
9
|
+
environment: 'jsdom',
|
|
10
|
+
exclude: [...configDefaults.exclude, 'e2e/*'],
|
|
11
|
+
root: fileURLToPath(new URL('./', import.meta.url))
|
|
12
|
+
}
|
|
13
|
+
})
|
|
14
|
+
)
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { getSystemBackendUrl } from "agilebuilder-ui/src/utils/common-util";
|
|
2
|
-
import { getSessionCache } from "agilebuilder-ui/src/utils/auth";
|
|
3
|
-
import http from "agilebuilder-ui/src/utils/request";
|
|
4
|
-
import { getBaseUrl } from "../common-util.js";
|
|
5
|
-
import { dealCompleteTaskParam } from "../events/standard-event.js";
|
|
6
|
-
function getData(pageContext) {
|
|
7
|
-
const pageType = pageContext.pageType;
|
|
8
|
-
if (pageType && pageType === "form") {
|
|
9
|
-
console.log("获取表单数据getData--pageContext=", pageContext);
|
|
10
|
-
const isWorkflow = pageContext.workflowCode ? true : false;
|
|
11
|
-
if (isWorkflow) {
|
|
12
|
-
return getWorkflowFormData(pageContext);
|
|
13
|
-
} else {
|
|
14
|
-
return getCommonFormData(pageContext);
|
|
15
|
-
}
|
|
16
|
-
} else {
|
|
17
|
-
return new Promise((resolve, reject) => {
|
|
18
|
-
resolve(true);
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function getCommonFormData(pageContext) {
|
|
23
|
-
return new Promise((resolve, reject) => {
|
|
24
|
-
const system = pageContext.entity.system;
|
|
25
|
-
const pageCode = pageContext.code;
|
|
26
|
-
const pageVersion = pageContext.version;
|
|
27
|
-
const additionalParamMap = pageContext.entity.request;
|
|
28
|
-
const dataId = additionalParamMap ? additionalParamMap.id : null;
|
|
29
|
-
const ids = additionalParamMap ? additionalParamMap.ids : null;
|
|
30
|
-
const taskId = additionalParamMap ? additionalParamMap.taskId : null;
|
|
31
|
-
const permissionPrefix = system.code + "." + pageCode;
|
|
32
|
-
const backendUrl = getSystemBackendUrl(system.backendUrl);
|
|
33
|
-
const param = {
|
|
34
|
-
pageCode,
|
|
35
|
-
pageVersion,
|
|
36
|
-
tableName: pageContext.tableName,
|
|
37
|
-
formNoRuleCode: pageContext.formNoRuleCode,
|
|
38
|
-
id: dataId,
|
|
39
|
-
systemCode: system.code,
|
|
40
|
-
functionCode: permissionPrefix + ".get",
|
|
41
|
-
tableNames: pageContext.tableNames
|
|
42
|
-
};
|
|
43
|
-
if (!param.id && additionalParamMap && additionalParamMap._t_ && getSessionCache(additionalParamMap._t_ + "_id")) {
|
|
44
|
-
param.id = getSessionCache(additionalParamMap._t_ + "_id");
|
|
45
|
-
}
|
|
46
|
-
if (ids) {
|
|
47
|
-
param["ids"] = ids;
|
|
48
|
-
}
|
|
49
|
-
if (pageContext.notIdInitializationList) {
|
|
50
|
-
param["noIdAndTaskIdInitSetting"] = JSON.stringify(pageContext.notIdInitializationList);
|
|
51
|
-
}
|
|
52
|
-
if (additionalParamMap) {
|
|
53
|
-
param["additionalParamMap"] = additionalParamMap;
|
|
54
|
-
}
|
|
55
|
-
if (pageContext.beanName) {
|
|
56
|
-
param["beanName"] = pageContext.beanName;
|
|
57
|
-
}
|
|
58
|
-
if (taskId) {
|
|
59
|
-
param["taskId"] = taskId;
|
|
60
|
-
}
|
|
61
|
-
const urlForView = backendUrl + "/dsc/commons/gets";
|
|
62
|
-
http.post(urlForView, param).then((commonEntity) => {
|
|
63
|
-
if (commonEntity) {
|
|
64
|
-
pageContext.entity.data = commonEntity.entity;
|
|
65
|
-
pageContext.initFormNo = commonEntity.formNo;
|
|
66
|
-
}
|
|
67
|
-
resolve(commonEntity);
|
|
68
|
-
}).catch((error) => {
|
|
69
|
-
reject(error);
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
function getWorkflowFormData(pageContext) {
|
|
74
|
-
return new Promise((resolve, reject) => {
|
|
75
|
-
const system = pageContext.entity.system;
|
|
76
|
-
const pageCode = pageContext.code;
|
|
77
|
-
const pageVersion = pageContext.version;
|
|
78
|
-
const additionalParamMap = pageContext.entity.request;
|
|
79
|
-
const dataId = additionalParamMap ? additionalParamMap.id : null;
|
|
80
|
-
const ids = additionalParamMap ? additionalParamMap.ids : null;
|
|
81
|
-
const taskId = additionalParamMap ? additionalParamMap.taskId : null;
|
|
82
|
-
const permissionPrefix = system.code + "." + pageCode;
|
|
83
|
-
const param = {
|
|
84
|
-
pageCode,
|
|
85
|
-
pageVersion,
|
|
86
|
-
tableName: pageContext.tableName,
|
|
87
|
-
formNoRuleCode: pageContext.formNoRuleCode,
|
|
88
|
-
isWorkflowEntity: true,
|
|
89
|
-
systemCode: system.code,
|
|
90
|
-
functionCode: permissionPrefix + ".get",
|
|
91
|
-
tableNames: pageContext.tableNames
|
|
92
|
-
};
|
|
93
|
-
if (ids) {
|
|
94
|
-
param["ids"] = ids;
|
|
95
|
-
}
|
|
96
|
-
if (taskId) {
|
|
97
|
-
param["taskId"] = this.taskId;
|
|
98
|
-
} else if (dataId) {
|
|
99
|
-
param["id"] = dataId;
|
|
100
|
-
} else {
|
|
101
|
-
if (additionalParamMap && additionalParamMap._t_ && getSessionCache(additionalParamMap._t_ + "_id")) {
|
|
102
|
-
param["id"] = getSessionCache(additionalParamMap._t_ + "_id");
|
|
103
|
-
}
|
|
104
|
-
if (pageContext.notIdInitializationList) {
|
|
105
|
-
param["noIdAndTaskIdInitSetting"] = JSON.stringify(pageContext.notIdInitializationList);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
if (additionalParamMap) {
|
|
109
|
-
param["additionalParamMap"] = additionalParamMap;
|
|
110
|
-
}
|
|
111
|
-
if (pageContext.beanName) {
|
|
112
|
-
param["beanName"] = pageContext.beanName;
|
|
113
|
-
}
|
|
114
|
-
const baseUrl = getBaseUrl(system);
|
|
115
|
-
const urlForView = baseUrl + "/dsc/workflow-commons/gets";
|
|
116
|
-
http.post(urlForView, param).then((commonEntity) => {
|
|
117
|
-
pageContext.definitionId = commonEntity.definitionId;
|
|
118
|
-
pageContext.entity.task = commonEntity.taskParamMap;
|
|
119
|
-
dealCompleteTaskParam(commonEntity, true, pageContext);
|
|
120
|
-
resolve(commonEntity);
|
|
121
|
-
}).catch((error) => {
|
|
122
|
-
reject(error);
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
export {
|
|
127
|
-
getData
|
|
128
|
-
};
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent } from "vue";
|
|
2
|
-
const assemblyGroups = [
|
|
3
|
-
{
|
|
4
|
-
name: "container",
|
|
5
|
-
label: "容器",
|
|
6
|
-
icon: "assets/images/group-container.png",
|
|
7
|
-
items: [{
|
|
8
|
-
name: "form",
|
|
9
|
-
label: "表单",
|
|
10
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
11
|
-
return import("../views/assemblys/container/form/form-runtime.vue.js");
|
|
12
|
-
})
|
|
13
|
-
}, {
|
|
14
|
-
name: "card",
|
|
15
|
-
label: "卡片",
|
|
16
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
17
|
-
return import("../views/assemblys/container/card/card-runtime.vue.js");
|
|
18
|
-
})
|
|
19
|
-
}, {
|
|
20
|
-
name: "collapse",
|
|
21
|
-
label: "折叠面板",
|
|
22
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
23
|
-
return import("../views/assemblys/container/collapse/collapse-runtime.vue.js");
|
|
24
|
-
})
|
|
25
|
-
}, {
|
|
26
|
-
name: "layout",
|
|
27
|
-
label: "Flex",
|
|
28
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
29
|
-
return import("../views/assemblys/container/flex/flex-runtime.vue.js");
|
|
30
|
-
})
|
|
31
|
-
}, {
|
|
32
|
-
name: "tabs",
|
|
33
|
-
label: "Tabs",
|
|
34
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
35
|
-
return import("../views/assemblys/container/tabs/tabs-runtime.vue.js");
|
|
36
|
-
})
|
|
37
|
-
}, {
|
|
38
|
-
name: "tools",
|
|
39
|
-
label: "工具栏",
|
|
40
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
41
|
-
return import("../views/assemblys/container/tools/tools-runtime.vue.js");
|
|
42
|
-
})
|
|
43
|
-
}, {
|
|
44
|
-
name: "iframe",
|
|
45
|
-
label: "Iframe",
|
|
46
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
47
|
-
return import("../views/assemblys/container/iframe/iframe-runtime.vue.js");
|
|
48
|
-
})
|
|
49
|
-
}, {
|
|
50
|
-
name: "container",
|
|
51
|
-
label: "布局",
|
|
52
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
53
|
-
return import("../views/assemblys/container/container/container-runtime.vue.js");
|
|
54
|
-
})
|
|
55
|
-
}]
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: "form",
|
|
59
|
-
label: "表单",
|
|
60
|
-
items: [{
|
|
61
|
-
name: "input-text",
|
|
62
|
-
label: "文本框",
|
|
63
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
64
|
-
return import("../views/assemblys/form/input-text/inputtext-runtime.vue.js");
|
|
65
|
-
})
|
|
66
|
-
}, {
|
|
67
|
-
name: "select",
|
|
68
|
-
label: "下拉框",
|
|
69
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
70
|
-
return import("../views/assemblys/form/select/select-runtime.vue.js");
|
|
71
|
-
})
|
|
72
|
-
}, {
|
|
73
|
-
name: "radio",
|
|
74
|
-
label: "单选框",
|
|
75
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
76
|
-
return import("../views/assemblys/form/radio/radio-runtime.vue.js");
|
|
77
|
-
})
|
|
78
|
-
}, {
|
|
79
|
-
name: "checkbox",
|
|
80
|
-
label: "复选框",
|
|
81
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
82
|
-
return import("../views/assemblys/form/checkbox/checkbox-runtime.vue.js");
|
|
83
|
-
})
|
|
84
|
-
}, {
|
|
85
|
-
name: "textarea",
|
|
86
|
-
label: "文本域",
|
|
87
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
88
|
-
return import("../views/assemblys/form/textarea/textarea-runtime.vue.js");
|
|
89
|
-
})
|
|
90
|
-
}, {
|
|
91
|
-
name: "datePicker",
|
|
92
|
-
label: "日期/时间",
|
|
93
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
94
|
-
return import("../views/assemblys/form/date-picker/datepicker-runtime.vue.js");
|
|
95
|
-
})
|
|
96
|
-
}, {
|
|
97
|
-
name: "switch",
|
|
98
|
-
label: "开关",
|
|
99
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
100
|
-
return import("../views/assemblys/form/switch/switch-runtime.vue.js");
|
|
101
|
-
})
|
|
102
|
-
}, {
|
|
103
|
-
name: "inputNumber",
|
|
104
|
-
label: "计数器",
|
|
105
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
106
|
-
return import("../views/assemblys/form/input-number/input-number-runtime.vue.js");
|
|
107
|
-
})
|
|
108
|
-
}, {
|
|
109
|
-
name: "tag",
|
|
110
|
-
label: "标签",
|
|
111
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
112
|
-
return import("../views/assemblys/form/tag/tag-runtime.vue.js");
|
|
113
|
-
})
|
|
114
|
-
}, {
|
|
115
|
-
name: "richText",
|
|
116
|
-
label: "富文本",
|
|
117
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
118
|
-
return import("../views/assemblys/form/rich-text/richtext-runtime.vue.js");
|
|
119
|
-
})
|
|
120
|
-
}, {
|
|
121
|
-
name: "divider",
|
|
122
|
-
label: "分割线",
|
|
123
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
124
|
-
return import("../views/assemblys/form/divider/divider-runtime.vue.js");
|
|
125
|
-
})
|
|
126
|
-
}, {
|
|
127
|
-
name: "placeholder",
|
|
128
|
-
label: "占位符",
|
|
129
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
130
|
-
return import("../views/assemblys/form/placeholder/placeholder-runtime.vue.js");
|
|
131
|
-
})
|
|
132
|
-
}, {
|
|
133
|
-
name: "link",
|
|
134
|
-
label: "链接",
|
|
135
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
136
|
-
return import("../views/assemblys/form/link/link-runtime.vue.js");
|
|
137
|
-
})
|
|
138
|
-
}, {
|
|
139
|
-
name: "label",
|
|
140
|
-
label: "Label组件",
|
|
141
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
142
|
-
return import("../views/assemblys/form/label/label-runtime.vue.js");
|
|
143
|
-
})
|
|
144
|
-
}, {
|
|
145
|
-
name: "dept-tree",
|
|
146
|
-
label: "组织树",
|
|
147
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
148
|
-
return import("../views/assemblys/form/dept-tree/depttree-runtime.vue.js");
|
|
149
|
-
})
|
|
150
|
-
}, {
|
|
151
|
-
name: "file-upload",
|
|
152
|
-
label: "文件上传",
|
|
153
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
154
|
-
return import("../views/assemblys/form/file-upload/fileupload-runtime.vue.js");
|
|
155
|
-
})
|
|
156
|
-
}]
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
name: "button",
|
|
160
|
-
label: "按钮",
|
|
161
|
-
items: [{
|
|
162
|
-
name: "button-detail",
|
|
163
|
-
label: "按钮",
|
|
164
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
165
|
-
return import("../views/assemblys/button/button/button-runtime.vue.js");
|
|
166
|
-
})
|
|
167
|
-
}, {
|
|
168
|
-
name: "button-group",
|
|
169
|
-
label: "按钮组",
|
|
170
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
171
|
-
return import("../views/assemblys/button/button-group/buttongroup-runtime.vue.js");
|
|
172
|
-
})
|
|
173
|
-
}, {
|
|
174
|
-
name: "dropdown",
|
|
175
|
-
label: "下拉菜单",
|
|
176
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
177
|
-
return import("../views/assemblys/button/dropdown/dropdown-runtime.vue.js");
|
|
178
|
-
})
|
|
179
|
-
}]
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
name: "workflow",
|
|
183
|
-
label: "工作流",
|
|
184
|
-
items: [{
|
|
185
|
-
name: "workflow-button",
|
|
186
|
-
label: "工作流按钮",
|
|
187
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
188
|
-
return import("../views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js");
|
|
189
|
-
})
|
|
190
|
-
}]
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
name: "chart",
|
|
194
|
-
label: "统计图",
|
|
195
|
-
items: [{
|
|
196
|
-
name: "chart-column-line",
|
|
197
|
-
label: "柱/折图",
|
|
198
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
199
|
-
return import("../views/assemblys/chart/column-line/column-line-runtime.vue.js");
|
|
200
|
-
})
|
|
201
|
-
}, {
|
|
202
|
-
name: "chart-pie",
|
|
203
|
-
label: "饼图",
|
|
204
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
205
|
-
return import("../views/assemblys/chart/pie/pie-runtime.vue.js");
|
|
206
|
-
})
|
|
207
|
-
}, {
|
|
208
|
-
name: "chart-gauge",
|
|
209
|
-
label: "仪表盘",
|
|
210
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
211
|
-
return import("../views/assemblys/chart/gauge/gauge-runtime.vue.js");
|
|
212
|
-
})
|
|
213
|
-
}, {
|
|
214
|
-
name: "chart-radar",
|
|
215
|
-
label: "雷达图",
|
|
216
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
217
|
-
return import("../views/assemblys/chart/radar/radar-runtime.vue.js");
|
|
218
|
-
})
|
|
219
|
-
}, {
|
|
220
|
-
name: "chart-scatter",
|
|
221
|
-
label: "散点图",
|
|
222
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
223
|
-
return import("../views/assemblys/chart/scatter/scatter-runtime.vue.js");
|
|
224
|
-
})
|
|
225
|
-
}]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
name: "data",
|
|
229
|
-
label: "数据",
|
|
230
|
-
items: [{
|
|
231
|
-
name: "table",
|
|
232
|
-
label: "表格",
|
|
233
|
-
runtimeComponent: defineAsyncComponent(() => {
|
|
234
|
-
return import("../views/assemblys/data/table/table-runtime.vue.js");
|
|
235
|
-
})
|
|
236
|
-
}]
|
|
237
|
-
}
|
|
238
|
-
];
|
|
239
|
-
function getRuntimeComponentByName(name) {
|
|
240
|
-
if (!name) {
|
|
241
|
-
return null;
|
|
242
|
-
}
|
|
243
|
-
for (let i = 0; i < assemblyGroups.length; i++) {
|
|
244
|
-
let items = assemblyGroups[i].items;
|
|
245
|
-
for (let j = 0; j < items.length; j++) {
|
|
246
|
-
let item = items[j];
|
|
247
|
-
if (item.name == name) {
|
|
248
|
-
return item.runtimeComponent;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
return null;
|
|
253
|
-
}
|
|
254
|
-
export {
|
|
255
|
-
assemblyGroups,
|
|
256
|
-
getRuntimeComponentByName
|
|
257
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import theme1 from "../../../../assets/chart-themes/theme1.js";
|
|
2
|
-
import theme2 from "../../../../assets/chart-themes/theme2.js";
|
|
3
|
-
import theme3 from "../../../../assets/chart-themes/theme3.js";
|
|
4
|
-
const themeMap = {
|
|
5
|
-
"theme1": theme1,
|
|
6
|
-
"theme2": theme2,
|
|
7
|
-
"theme3": theme3
|
|
8
|
-
};
|
|
9
|
-
function getCustomTheme(themeName) {
|
|
10
|
-
console.log("getdd", themeName);
|
|
11
|
-
return themeMap[themeName];
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
getCustomTheme
|
|
15
|
-
};
|