super-page-runtime 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +26 -0
- package/.prettierrc.json +8 -0
- package/{src → components}/index.ts +3 -3
- package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue +5 -2
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
- package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue +4 -1
- package/{src/components → components}/runtime/views/assemblys/container/collapse/collapse-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
- package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
- package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue +12 -6
- package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue +10 -7
- package/{src/components → components}/runtime/views/assemblys/data/table/table-runtime.vue +2 -2
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
- package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
- package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +6 -3
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
- package/{src/components → components}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +5 -2
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
- package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +7 -4
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
- package/{src/components → components}/runtime/views/assemblys/form/radio/radio-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
- package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue +11 -5
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
- package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue +6 -3
- package/{src/components → components}/runtime/views/assemblys/object-render.vue +6 -6
- package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +1 -1
- package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
- package/{src/components → components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +20 -17
- package/{src/components → components}/runtime/views/super-page.vue +13 -8
- package/cypress/e2e/example.cy.ts +8 -0
- package/cypress/e2e/tsconfig.json +10 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress.config.ts +8 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/lib/components/index.d.ts +5 -0
- package/{dist/lib → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/{dist/lib → lib}/components/runtime/views/super-page.vue.d.ts +1 -1
- package/{dist/lib → lib}/index.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -8
- package/lib/src/utils/charts/chart-util.js +15 -0
- package/{dist/es/components/runtime → lib/src}/utils/events/event-util.d.ts +1 -1
- package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -1
- package/lib/wf-editor/wf-editor.css +4 -0
- package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +3 -3
- package/package-ws.json +70 -0
- package/package.json +3 -7
- package/src/utils/charts/chart-util.ts +41 -0
- package/src/utils/container-style-util.ts +237 -0
- package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
- package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
- package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
- package/tsconfig copy.json +17 -0
- package/tsconfig.app copy.json +14 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node copy.json +19 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest copy.json +11 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config copy.ts +109 -0
- package/vite.config.ts +86 -0
- package/vitest.config.ts +14 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/es/assets/chart-themes/theme1.js +0 -8
- package/dist/es/assets/chart-themes/theme2.js +0 -8
- package/dist/es/assets/chart-themes/theme3.js +0 -8
- package/dist/es/components/runtime/index.js +0 -4
- package/dist/es/components/runtime/utils/api/api-util.js +0 -128
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/es/components/runtime/utils/common-util.js +0 -81
- package/dist/es/components/runtime/utils/events/event-util.js +0 -525
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1623
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -389
- package/dist/es/components/runtime/utils/global-refs.js +0 -65
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -9
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -503
- package/dist/es/components/runtime/utils/page-init-util.js +0 -200
- package/dist/es/components/runtime/utils/store-util.js +0 -17
- package/dist/es/components/runtime/utils/store.js +0 -4
- package/dist/es/components/runtime/utils/table-utils.js +0 -23
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -50
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -148
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -80
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -31
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -70
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -76
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -163
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
- package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/es/components/runtime/views/super-page.vue.js +0 -481
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
- package/dist/es/components/super-page-dialog/index.js +0 -4
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -75
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
- package/dist/es/components/wf-editor/index.js +0 -4
- package/dist/es/components/wf-editor/wf-editor.css +0 -4
- package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
- package/dist/es/index.d.ts +0 -5
- package/dist/es/index.js +0 -8
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.css +0 -4
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +0 -5
- package/src/components/runtime/utils/charts/chart-util.ts +0 -37
- package/src/components/runtime/utils/container-style-util.ts +0 -223
- package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
- package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
- package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
- package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
- package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
- package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
- package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
- package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
- package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
- package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
- package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
- package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
- package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
- package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
- package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
- package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
- package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
- package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
- package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
- package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
- package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
- package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
- /package/{src/App.vue → App.vue} +0 -0
- /package/{src/components → components}/runtime/index.ts +0 -0
- /package/{src/components → components}/runtime/utils/assemblys-config.js +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-cursor.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-size.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-select-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-background.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-border.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font-head.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-margin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-padding.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-position.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-shadow.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/task-informition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/column-config.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/combinedHeader.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/composite-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/configuration-value.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/formatting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/querySetting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/return-set-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/select-data-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-render.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/colors/colors-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/analytic-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/condition.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/default-value-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dimension-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/formatting-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/grid-num-select.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/linkage.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-height.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-width.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/pre-suffix.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/rich-text.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/row-ul-li.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/setoption-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/size-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/suffixmodule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/uploading.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/verification.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/voluntarily.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/rate/rate-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/slider/slider-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/text/text-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/variable-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/combination.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -0
- /package/{src/components → components}/runtime/views/render/page-view.vue +0 -0
- /package/{src/components → components}/runtime/views/super-page copy.vue +0 -0
- /package/{src/components → components}/super-page-dialog/index.ts +0 -0
- /package/{src/components → components}/super-page-dialog/super-page-dialog.vue +0 -0
- /package/{src/components → components}/wf-editor/index.ts +0 -0
- /package/{src/components → components}/wf-editor/wf-editor.vue +0 -0
- /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
- /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
- /package/{dist/es → lib}/favicon.ico +0 -0
- /package/{dist/lib/components → lib}/runtime/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme1.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme3.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/api/api-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/api/api-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/common-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/common-util.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/event-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/standard-event.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/standard-event.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/validator-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/validator-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/global-refs.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/global-refs.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/interfaces/page-design-types.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-helper-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-helper-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-init-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-init-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/table-utils.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
- /package/{src/main.ts → main.ts} +0 -0
- /package/{dist → public}/favicon.ico +0 -0
- /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
- /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
- /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store.ts +0 -0
- /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue
RENAMED
|
@@ -27,14 +27,20 @@
|
|
|
27
27
|
</template>
|
|
28
28
|
<script lang="ts" setup>
|
|
29
29
|
import { ref, computed, watch } from 'vue'
|
|
30
|
-
import type {
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
import type {
|
|
31
|
+
Component,
|
|
32
|
+
PageContext
|
|
33
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
34
|
+
import {
|
|
35
|
+
queryOptionDatasources,
|
|
36
|
+
autoSetAfterSelect
|
|
37
|
+
} from '../../../../../../src/utils/page-helper-util'
|
|
38
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
33
39
|
import {
|
|
34
40
|
getVariableValue,
|
|
35
41
|
setVariableValue,
|
|
36
42
|
getOptionDatasFromPage
|
|
37
|
-
} from '
|
|
43
|
+
} from '../../../../../../src/utils/page-helper-util'
|
|
38
44
|
|
|
39
45
|
//定义的属性对象
|
|
40
46
|
interface MyProps {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './custom-attr-base.vue'
|
|
13
|
+
import AttrStyle from './custom-attr-style.vue'
|
|
14
|
+
import AttrHeader from '../common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './custom-attr-event.vue'
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text', props: { type: 'input-text' } }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
let currentConfigType = ref('base')
|
|
25
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="designClass" :style="designStyle">
|
|
3
|
+
<el-form-item
|
|
4
|
+
:required="designProperty.required ? true : false"
|
|
5
|
+
:class="designClass"
|
|
6
|
+
:label-width="designProperty.labelWidth"
|
|
7
|
+
:style="designStyle"
|
|
8
|
+
>
|
|
9
|
+
<template #label>
|
|
10
|
+
<div :style="designHeaderStyle">
|
|
11
|
+
{{ designProperty.title ? designProperty.title : 'custom' }}
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
<el-button
|
|
15
|
+
:disabled="designProperty.state === 'disabled' ? true : false"
|
|
16
|
+
:size="designProperty.size"
|
|
17
|
+
type="primary"
|
|
18
|
+
>
|
|
19
|
+
自定义组件
|
|
20
|
+
</el-button>
|
|
21
|
+
</el-form-item>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
<script lang="ts" setup>
|
|
25
|
+
import {
|
|
26
|
+
caculateDetailComponentStyle,
|
|
27
|
+
caculateComponentProps
|
|
28
|
+
} from '../../../../../../src/utils/form-design-util'
|
|
29
|
+
import { FullScreen } from '@element-plus/icons-vue'
|
|
30
|
+
import { ref, watch } from 'vue'
|
|
31
|
+
const props = defineProps({
|
|
32
|
+
configure: Object
|
|
33
|
+
})
|
|
34
|
+
//定义自身详细参数
|
|
35
|
+
const designStyle = ref({})
|
|
36
|
+
const designClass = ref('')
|
|
37
|
+
const designHeaderStyle = ref({})
|
|
38
|
+
const designProperty = ref({})
|
|
39
|
+
//监控配置样式的变化
|
|
40
|
+
watch(
|
|
41
|
+
props.configure.style,
|
|
42
|
+
() => {
|
|
43
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle)
|
|
44
|
+
},
|
|
45
|
+
{ immediate: true }
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
//监控配置属性的变化
|
|
49
|
+
watch(
|
|
50
|
+
props.configure.props,
|
|
51
|
+
() => {
|
|
52
|
+
caculateComponentProps(props.configure, designProperty)
|
|
53
|
+
},
|
|
54
|
+
{ immediate: true }
|
|
55
|
+
)
|
|
56
|
+
</script>
|
|
57
|
+
<style scoped></style>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="runtimeStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
10
|
+
{{ designProperty.title }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-time-picker
|
|
14
|
+
v-if="designProperty.dateType == 'time' || designProperty.dateType == 'timerange'"
|
|
15
|
+
:is-range="designProperty.dateType == 'timerange'"
|
|
16
|
+
range-separator="-"
|
|
17
|
+
:clearable="designProperty.clearable"
|
|
18
|
+
:disabled="designProperty.state === 'disabled'"
|
|
19
|
+
:readonly="designProperty.state === 'readonly'"
|
|
20
|
+
:size="designProperty.size"
|
|
21
|
+
:placeholder="designProperty.placeholder"
|
|
22
|
+
:start-placeholder="designProperty.placeholder"
|
|
23
|
+
:end-placeholder="designProperty.endPlaceholder"
|
|
24
|
+
:format="designProperty.format"
|
|
25
|
+
v-model="dynamicModelMethod"
|
|
26
|
+
:shortcuts="designProperty.shortcuts"
|
|
27
|
+
:type="designProperty.dateType"
|
|
28
|
+
/>
|
|
29
|
+
<el-date-picker
|
|
30
|
+
v-else
|
|
31
|
+
:clearable="designProperty.clearable"
|
|
32
|
+
:disabled="designProperty.state === 'disabled'"
|
|
33
|
+
:readonly="designProperty.state === 'readonly'"
|
|
34
|
+
:size="designProperty.size"
|
|
35
|
+
:placeholder="designProperty.placeholder"
|
|
36
|
+
:start-placeholder="designProperty.placeholder"
|
|
37
|
+
:end-placeholder="designProperty.endPlaceholder"
|
|
38
|
+
:format="designProperty.format"
|
|
39
|
+
v-model="dynamicModelMethod"
|
|
40
|
+
:shortcuts="designProperty.shortcuts"
|
|
41
|
+
:type="designProperty.dateType"
|
|
42
|
+
/>
|
|
43
|
+
</el-form-item>
|
|
44
|
+
</template>
|
|
45
|
+
<script lang="ts" setup>
|
|
46
|
+
import { computed } from 'vue'
|
|
47
|
+
import type {
|
|
48
|
+
Component,
|
|
49
|
+
PageContext
|
|
50
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
51
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
52
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
53
|
+
//定义的属性对象
|
|
54
|
+
interface MyProps {
|
|
55
|
+
//页面对象
|
|
56
|
+
pageContext: PageContext
|
|
57
|
+
configure: Component
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const props = defineProps<MyProps>()
|
|
61
|
+
|
|
62
|
+
const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
|
|
63
|
+
let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
|
|
64
|
+
//绑定模型的字段
|
|
65
|
+
const dynamicModelMethod = computed({
|
|
66
|
+
get() {
|
|
67
|
+
return getVariableValue(entity, dynamicFields)
|
|
68
|
+
},
|
|
69
|
+
set(value) {
|
|
70
|
+
setVariableValue(entity, dynamicFields, value)
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
//运行时信息
|
|
75
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
76
|
+
const runtimeStyle = runtimeInfo.style
|
|
77
|
+
const runtimeClass = runtimeInfo.class
|
|
78
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
79
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
80
|
+
</script>
|
package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue
RENAMED
|
@@ -25,9 +25,12 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
<script lang="ts" setup>
|
|
27
27
|
import { ref, watch } from 'vue'
|
|
28
|
-
import type {
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
import type {
|
|
29
|
+
Component,
|
|
30
|
+
PageContext
|
|
31
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
32
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
33
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
31
34
|
|
|
32
35
|
interface MyProps {
|
|
33
36
|
pageContext: PageContext
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-divider
|
|
3
|
+
:direction="designProperty.direction"
|
|
4
|
+
:border-style="designProperty.borderType"
|
|
5
|
+
:content-position="designProperty.titlePosition"
|
|
6
|
+
>
|
|
7
|
+
<div :style="headerStyle">
|
|
8
|
+
{{ dynamicValue }}
|
|
9
|
+
</div>
|
|
10
|
+
</el-divider>
|
|
11
|
+
</template>
|
|
12
|
+
<script lang="ts" setup>
|
|
13
|
+
import { computed } from 'vue'
|
|
14
|
+
import type {
|
|
15
|
+
Component,
|
|
16
|
+
PageContext
|
|
17
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
18
|
+
import { formatVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
19
|
+
|
|
20
|
+
//定义的属性对象
|
|
21
|
+
interface MyProps {
|
|
22
|
+
//页面对象
|
|
23
|
+
pageContext: PageContext
|
|
24
|
+
configure: Component
|
|
25
|
+
}
|
|
26
|
+
const props = defineProps<MyProps>()
|
|
27
|
+
|
|
28
|
+
//定义自身详细参数
|
|
29
|
+
//运行时信息
|
|
30
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
31
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
32
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
33
|
+
|
|
34
|
+
//定义内容
|
|
35
|
+
let contentVariable = designProperty.value
|
|
36
|
+
//显示内容
|
|
37
|
+
const dynamicValue = computed(() => {
|
|
38
|
+
if (!contentVariable) {
|
|
39
|
+
return ''
|
|
40
|
+
}
|
|
41
|
+
const resultValue = formatVariableValue(props.pageContext, contentVariable)
|
|
42
|
+
return resultValue == undefined || resultValue == null ? '' : resultValue
|
|
43
|
+
})
|
|
44
|
+
</script>
|
|
@@ -26,8 +26,11 @@
|
|
|
26
26
|
</template>
|
|
27
27
|
<script lang="ts" setup>
|
|
28
28
|
import { computed, watch } from 'vue'
|
|
29
|
-
import type {
|
|
30
|
-
|
|
29
|
+
import type {
|
|
30
|
+
Component,
|
|
31
|
+
PageContext
|
|
32
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
33
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
31
34
|
interface MyProps {
|
|
32
35
|
pageContext: PageContext
|
|
33
36
|
configure: Component
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './imagethumbnail-attr-base.vue'
|
|
13
|
+
import AttrStyle from './imagethumbnail-attr-style.vue'
|
|
14
|
+
import AttrHeader from '../common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './imagethumbnail-attr-event.vue'
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text', props: { type: 'input-text' } }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
let currentConfigType = ref('base')
|
|
25
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="max-height: 400px; overflow-y: scroll">
|
|
3
|
+
<el-form-item
|
|
4
|
+
:required="designProperty.required ? true : false"
|
|
5
|
+
:class="designClass"
|
|
6
|
+
:label-width="designProperty.labelWidth"
|
|
7
|
+
:style="designStyle"
|
|
8
|
+
>
|
|
9
|
+
<template #label>
|
|
10
|
+
<div :style="designHeaderStyle">
|
|
11
|
+
{{ designProperty.title ? designProperty.title : 'image' }}
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
<div>
|
|
15
|
+
<el-image
|
|
16
|
+
:style="{
|
|
17
|
+
width: designProperty.imgWidth,
|
|
18
|
+
height: designProperty.imgHeight,
|
|
19
|
+
'margin-bottom': '10px',
|
|
20
|
+
display: 'block'
|
|
21
|
+
}"
|
|
22
|
+
v-for="(item, index) in designProperty.imageSearchList"
|
|
23
|
+
:fit="designProperty.fit"
|
|
24
|
+
:src="item.imageUrl ? item.imageUrl : ''"
|
|
25
|
+
:key="index"
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
</el-form-item>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
<script lang="ts" setup>
|
|
32
|
+
import {
|
|
33
|
+
caculateDetailComponentStyle,
|
|
34
|
+
caculateComponentProps
|
|
35
|
+
} from '../../../../../../src/utils/form-design-util'
|
|
36
|
+
|
|
37
|
+
import { ref, confineProps, watch } from 'vue'
|
|
38
|
+
const props = defineProps({
|
|
39
|
+
configure: Object
|
|
40
|
+
})
|
|
41
|
+
//定义自身详细参数
|
|
42
|
+
const designStyle = ref({})
|
|
43
|
+
const designClass = ref('')
|
|
44
|
+
const designHeaderStyle = ref({})
|
|
45
|
+
const designProperty = ref({})
|
|
46
|
+
function getRestsParameter() {
|
|
47
|
+
let defineProps = {}
|
|
48
|
+
const tempProps = {}
|
|
49
|
+
|
|
50
|
+
if (props.configure.props.preSuffix) {
|
|
51
|
+
defineProps = props.configure.props
|
|
52
|
+
}
|
|
53
|
+
// 图片源
|
|
54
|
+
if (defineProps['imageSearch']) {
|
|
55
|
+
tempProps['imageSearchList'] = defineProps['imageSearch']
|
|
56
|
+
} else {
|
|
57
|
+
tempProps['imageSearchList'] = [{ imageUrl: '' }]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// 显示方式
|
|
61
|
+
if (defineProps['base']['fit']) {
|
|
62
|
+
tempProps['fit'] = defineProps['base']['fit']
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// 图片宽度
|
|
66
|
+
if (defineProps['base']['imgWidth']) {
|
|
67
|
+
tempProps['imgWidth'] = defineProps['base']['imgWidth'] + 'px'
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// 图片高度
|
|
71
|
+
if (defineProps['base']['imgHeight']) {
|
|
72
|
+
tempProps['imgHeight'] = defineProps['base']['imgHeight'] + 'px'
|
|
73
|
+
}
|
|
74
|
+
if (tempProps != {}) {
|
|
75
|
+
for (const tempPropsKey in tempProps) {
|
|
76
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
//监控配置样式的变化
|
|
81
|
+
watch(
|
|
82
|
+
props.configure.style,
|
|
83
|
+
() => {
|
|
84
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle)
|
|
85
|
+
},
|
|
86
|
+
{ immediate: true }
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
//监控配置属性的变化
|
|
90
|
+
watch(
|
|
91
|
+
props.configure.props,
|
|
92
|
+
() => {
|
|
93
|
+
caculateComponentProps(props.configure, designProperty)
|
|
94
|
+
getRestsParameter()
|
|
95
|
+
console.log(
|
|
96
|
+
'%c描述-091621',
|
|
97
|
+
'color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px',
|
|
98
|
+
designProperty.value
|
|
99
|
+
)
|
|
100
|
+
},
|
|
101
|
+
{ immediate: true }
|
|
102
|
+
)
|
|
103
|
+
</script>
|
|
104
|
+
<style scoped></style>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './imageupload-attr-base.vue'
|
|
13
|
+
import AttrStyle from './imageupload-attr-style.vue'
|
|
14
|
+
import AttrHeader from '../common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './imageupload-attr-event.vue'
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text', props: { type: 'input-text' } }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
let currentConfigType = ref('base')
|
|
25
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required ? true : false"
|
|
4
|
+
:class="designClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="designStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div :style="designHeaderStyle">
|
|
10
|
+
{{ designProperty.title ? designProperty.title : 'image-upload' }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-upload
|
|
14
|
+
:disabled="designProperty.state === 'disabled' ? true : false"
|
|
15
|
+
class="avatar-uploader"
|
|
16
|
+
>
|
|
17
|
+
<el-icon class="avatar-uploader-icon"><Plus /></el-icon>
|
|
18
|
+
</el-upload>
|
|
19
|
+
</el-form-item>
|
|
20
|
+
</template>
|
|
21
|
+
<script lang="ts" setup>
|
|
22
|
+
import { Plus } from '@element-plus/icons-vue'
|
|
23
|
+
import { ref, watch } from 'vue'
|
|
24
|
+
import {
|
|
25
|
+
caculateDetailComponentStyle,
|
|
26
|
+
caculateComponentProps
|
|
27
|
+
} from '../../../../../../src/utils/form-design-util'
|
|
28
|
+
const props = defineProps({
|
|
29
|
+
configure: Object
|
|
30
|
+
})
|
|
31
|
+
if (props.configure.title == undefined) {
|
|
32
|
+
props.configure.title = 'Text'
|
|
33
|
+
}
|
|
34
|
+
//定义自身详细参数
|
|
35
|
+
const designStyle = ref({})
|
|
36
|
+
const designClass = ref('')
|
|
37
|
+
const designHeaderStyle = ref({})
|
|
38
|
+
const designProperty = ref({})
|
|
39
|
+
function getRestsParameter() {
|
|
40
|
+
let defineProps = {}
|
|
41
|
+
const tempProps = {}
|
|
42
|
+
|
|
43
|
+
if (props.configure.props.preSuffix) {
|
|
44
|
+
defineProps = props.configure.props
|
|
45
|
+
}
|
|
46
|
+
// 行数
|
|
47
|
+
if (defineProps['base']['rows']) {
|
|
48
|
+
tempProps['rows'] = defineProps['base']['rows']
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (tempProps != {}) {
|
|
52
|
+
for (const tempPropsKey in tempProps) {
|
|
53
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//监控配置样式的变化
|
|
58
|
+
watch(
|
|
59
|
+
props.configure.style,
|
|
60
|
+
() => {
|
|
61
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle)
|
|
62
|
+
},
|
|
63
|
+
{ immediate: true }
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
//监控配置属性的变化
|
|
67
|
+
watch(
|
|
68
|
+
props.configure.props,
|
|
69
|
+
() => {
|
|
70
|
+
caculateComponentProps(props.configure, designProperty)
|
|
71
|
+
getRestsParameter()
|
|
72
|
+
},
|
|
73
|
+
{ immediate: true }
|
|
74
|
+
)
|
|
75
|
+
</script>
|
|
76
|
+
<style scoped></style>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="runtimeStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
10
|
+
{{ designProperty.title }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-input-number
|
|
14
|
+
:disabled="designProperty.state === 'disabled'"
|
|
15
|
+
:readonly="designProperty.state === 'readonly'"
|
|
16
|
+
:controls="designProperty.showButton"
|
|
17
|
+
:size="designProperty.size"
|
|
18
|
+
:placeholder="designProperty.placeholder"
|
|
19
|
+
v-model="dynamicModelMethod"
|
|
20
|
+
:precision="designProperty.precision"
|
|
21
|
+
:step="designProperty.step"
|
|
22
|
+
:min="designProperty.min"
|
|
23
|
+
:max="designProperty.max"
|
|
24
|
+
/>
|
|
25
|
+
</el-form-item>
|
|
26
|
+
</template>
|
|
27
|
+
<script lang="ts" setup>
|
|
28
|
+
import { computed } from 'vue'
|
|
29
|
+
import type {
|
|
30
|
+
Component,
|
|
31
|
+
PageContext
|
|
32
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
33
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
34
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
35
|
+
|
|
36
|
+
//定义的属性对象
|
|
37
|
+
interface MyProps {
|
|
38
|
+
//页面对象
|
|
39
|
+
pageContext: PageContext
|
|
40
|
+
configure: Component
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const props = defineProps<MyProps>()
|
|
44
|
+
const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
|
|
45
|
+
let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
|
|
46
|
+
|
|
47
|
+
//绑定模型的字段
|
|
48
|
+
const dynamicModelMethod = computed({
|
|
49
|
+
get() {
|
|
50
|
+
return getVariableValue(entity, dynamicFields)
|
|
51
|
+
},
|
|
52
|
+
set(value) {
|
|
53
|
+
setVariableValue(entity, dynamicFields, value)
|
|
54
|
+
}
|
|
55
|
+
})
|
|
56
|
+
//运行时信息
|
|
57
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
58
|
+
const runtimeStyle = runtimeInfo.style
|
|
59
|
+
const runtimeClass = runtimeInfo.class
|
|
60
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
61
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
62
|
+
</script>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required ? true : false"
|
|
4
|
+
:class="designClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="designStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div :style="designHeaderStyle">
|
|
10
|
+
{{ designProperty.title ? designProperty.title : 'input-text' }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-text :size="designProperty.size">{{
|
|
14
|
+
designProperty.title ? designProperty.title : 'text'
|
|
15
|
+
}}</el-text>
|
|
16
|
+
</el-form-item>
|
|
17
|
+
</template>
|
|
18
|
+
<script lang="ts" setup>
|
|
19
|
+
import { ref, watch } from 'vue'
|
|
20
|
+
import {
|
|
21
|
+
caculateDetailComponentStyle,
|
|
22
|
+
caculateComponentProps
|
|
23
|
+
} from '../../../../../../src/utils/form-design-util'
|
|
24
|
+
|
|
25
|
+
const props = defineProps({
|
|
26
|
+
configure: Object
|
|
27
|
+
})
|
|
28
|
+
//定义自身详细参数
|
|
29
|
+
const designStyle = ref({})
|
|
30
|
+
const designClass = ref('')
|
|
31
|
+
const designHeaderStyle = ref({})
|
|
32
|
+
const designProperty = ref({})
|
|
33
|
+
function getRestsParameter() {
|
|
34
|
+
let defineProps = {}
|
|
35
|
+
const tempProps = {}
|
|
36
|
+
|
|
37
|
+
if (props.configure.props.preSuffix) {
|
|
38
|
+
defineProps = props.configure.props
|
|
39
|
+
}
|
|
40
|
+
// 行数
|
|
41
|
+
// if (defineProps['base']['rows']){
|
|
42
|
+
// tempProps['rows'] = defineProps['base']['rows']
|
|
43
|
+
// }
|
|
44
|
+
|
|
45
|
+
if (tempProps != {}) {
|
|
46
|
+
for (const tempPropsKey in tempProps) {
|
|
47
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//监控配置样式的变化
|
|
52
|
+
watch(
|
|
53
|
+
props.configure.style,
|
|
54
|
+
() => {
|
|
55
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle)
|
|
56
|
+
},
|
|
57
|
+
{ immediate: true }
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
//监控配置属性的变化
|
|
61
|
+
watch(
|
|
62
|
+
props.configure.props,
|
|
63
|
+
() => {
|
|
64
|
+
caculateComponentProps(props.configure, designProperty)
|
|
65
|
+
getRestsParameter()
|
|
66
|
+
},
|
|
67
|
+
{ immediate: true }
|
|
68
|
+
)
|
|
69
|
+
</script>
|
|
70
|
+
<style scoped></style>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './input-show-attr-base.vue'
|
|
13
|
+
import AttrStyle from './input-show-attr-style.vue'
|
|
14
|
+
import AttrHeader from '../common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './input-show-attr-event.vue'
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text', props: { type: 'input-text' } }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
let currentConfigType = ref('base')
|
|
25
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|