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,155 @@
|
|
|
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-show' }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-input
|
|
14
|
+
:disabled="designProperty.state === 'disabled' ? true : false"
|
|
15
|
+
:readonly="designProperty.state === 'readonly' ? true : false"
|
|
16
|
+
:size="designProperty.size"
|
|
17
|
+
:clearable="designProperty.clearable"
|
|
18
|
+
:placeholder="designProperty.placeholder"
|
|
19
|
+
v-model="designProperty.defaultValue"
|
|
20
|
+
>
|
|
21
|
+
<template
|
|
22
|
+
v-if="designProperty && (designProperty.innerPreIcon || designProperty.innerPreText)"
|
|
23
|
+
#prefix
|
|
24
|
+
>
|
|
25
|
+
{{ designProperty.innerPreText }}
|
|
26
|
+
</template>
|
|
27
|
+
<template
|
|
28
|
+
v-show="
|
|
29
|
+
designProperty.enable ||
|
|
30
|
+
(designProperty && (designProperty.innerSufIcon || designProperty.innerSufText))
|
|
31
|
+
"
|
|
32
|
+
#suffix
|
|
33
|
+
>
|
|
34
|
+
{{ designProperty.innerSufText }}
|
|
35
|
+
<el-icon v-show="designProperty.enable"><FullScreen /></el-icon>
|
|
36
|
+
</template>
|
|
37
|
+
<template
|
|
38
|
+
v-if="designProperty && (designProperty.outerPreIcon || designProperty.outerPreText)"
|
|
39
|
+
#prepend
|
|
40
|
+
>
|
|
41
|
+
<!--<el-icon v-if="designProperty.outerPreIcon">-->
|
|
42
|
+
<!-- <component :is="designProperty.outerPreIcon" />-->
|
|
43
|
+
<!--</el-icon>-->
|
|
44
|
+
<span v-if="designProperty.outerPreText">{{ designProperty.outerPreText }}</span>
|
|
45
|
+
</template>
|
|
46
|
+
<template
|
|
47
|
+
v-if="designProperty && (designProperty.outerSufIcon || designProperty.outerSufText)"
|
|
48
|
+
#append
|
|
49
|
+
>
|
|
50
|
+
{{ designProperty.outerSufText }}
|
|
51
|
+
</template>
|
|
52
|
+
</el-input>
|
|
53
|
+
</el-form-item>
|
|
54
|
+
</template>
|
|
55
|
+
<script lang="ts" setup>
|
|
56
|
+
import { ref, watch } from 'vue'
|
|
57
|
+
import {
|
|
58
|
+
caculateDetailComponentStyle,
|
|
59
|
+
caculateComponentProps
|
|
60
|
+
} from '../../../../../../src/utils/form-design-util'
|
|
61
|
+
|
|
62
|
+
const props = defineProps({
|
|
63
|
+
configure: Object
|
|
64
|
+
})
|
|
65
|
+
//定义自身详细参数
|
|
66
|
+
const designStyle = ref({})
|
|
67
|
+
const designClass = ref('')
|
|
68
|
+
const designHeaderStyle = ref({})
|
|
69
|
+
const designProperty = ref({})
|
|
70
|
+
function getRestsParameter() {
|
|
71
|
+
let defineProps = {}
|
|
72
|
+
const tempProps = {}
|
|
73
|
+
|
|
74
|
+
if (props.configure.props.preSuffix) {
|
|
75
|
+
defineProps = props.configure.props
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (defineProps['scan']['enable']) {
|
|
79
|
+
tempProps['enable'] = true
|
|
80
|
+
} else {
|
|
81
|
+
tempProps['enable'] = false
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// 前后缀/外部
|
|
85
|
+
if (defineProps['preSuffix']['position'] === 'outer') {
|
|
86
|
+
// 前缀图标
|
|
87
|
+
if (defineProps['preSuffix']['preIcon']) {
|
|
88
|
+
tempProps['outerPreIcon'] = defineProps['preSuffix']['preIcon']
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// 前缀文本
|
|
92
|
+
if (defineProps['preSuffix']['preText']) {
|
|
93
|
+
tempProps['outerPreText'] = defineProps['preSuffix']['preText']
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// 后缀图标
|
|
97
|
+
if (defineProps['preSuffix']['sufIcon']) {
|
|
98
|
+
tempProps['outerSufIcon'] = defineProps['preSuffix']['sufIcon']
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// 后缀文本
|
|
102
|
+
if (defineProps['preSuffix']['sufText']) {
|
|
103
|
+
tempProps['outerSufText'] = defineProps['preSuffix']['sufText']
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// 前后缀/内部
|
|
108
|
+
if (defineProps['preSuffix']['position'] === 'inner') {
|
|
109
|
+
// 前缀图标
|
|
110
|
+
if (defineProps['preSuffix']['preIcon']) {
|
|
111
|
+
tempProps['innerPreIcon'] = defineProps['preSuffix']['preIcon']
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// 前缀文本
|
|
115
|
+
if (defineProps['preSuffix']['preText']) {
|
|
116
|
+
tempProps['innerPreText'] = defineProps['preSuffix']['preText']
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// 后缀图标
|
|
120
|
+
if (defineProps['preSuffix']['sufIcon']) {
|
|
121
|
+
tempProps['innerSufIcon'] = defineProps['preSuffix']['sufIcon']
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// 后缀文本
|
|
125
|
+
if (defineProps['preSuffix']['sufText']) {
|
|
126
|
+
tempProps['innerSufText'] = defineProps['preSuffix']['sufText']
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (tempProps != {}) {
|
|
131
|
+
for (const tempPropsKey in tempProps) {
|
|
132
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
//监控配置样式的变化
|
|
137
|
+
watch(
|
|
138
|
+
props.configure.style,
|
|
139
|
+
() => {
|
|
140
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle)
|
|
141
|
+
},
|
|
142
|
+
{ immediate: true }
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
//监控配置属性的变化
|
|
146
|
+
watch(
|
|
147
|
+
props.configure.props,
|
|
148
|
+
() => {
|
|
149
|
+
caculateComponentProps(props.configure, designProperty)
|
|
150
|
+
getRestsParameter()
|
|
151
|
+
},
|
|
152
|
+
{ immediate: true }
|
|
153
|
+
)
|
|
154
|
+
</script>
|
|
155
|
+
<style scoped></style>
|
package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue
RENAMED
|
@@ -87,10 +87,13 @@
|
|
|
87
87
|
<script lang="ts" setup>
|
|
88
88
|
import { SuperIcon } from 'agilebuilder-ui'
|
|
89
89
|
import { computed, onMounted, watch } from 'vue'
|
|
90
|
-
import type {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
import type {
|
|
91
|
+
Component,
|
|
92
|
+
PageContext
|
|
93
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
94
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
95
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
96
|
+
import { handleEvent } from '../../../../../../src/utils/events/event-util'
|
|
94
97
|
interface MyProps {
|
|
95
98
|
pageContext: PageContext
|
|
96
99
|
configure: Component
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
v-if="designProperty.tittleShow"
|
|
4
|
+
:required="designProperty.required ? true : false"
|
|
5
|
+
:class="runtimeClass"
|
|
6
|
+
:label-width="designProperty.labelWidth"
|
|
7
|
+
:style="runtimeStyle"
|
|
8
|
+
>
|
|
9
|
+
<template #label>
|
|
10
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
11
|
+
{{ designProperty.title }}
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
<div style="display: flex; width: 100%; justify-content: space-between">
|
|
15
|
+
<span style="overflow: hidden; white-space: nowrap">
|
|
16
|
+
<span
|
|
17
|
+
v-if="designProperty.preIconValue || designProperty.preText"
|
|
18
|
+
:class="{
|
|
19
|
+
'el-input__suffix': designProperty.iconPosition != 'outer',
|
|
20
|
+
'el-input-group__append': designProperty.iconPosition == 'outer'
|
|
21
|
+
}"
|
|
22
|
+
:style="appendStyle"
|
|
23
|
+
>
|
|
24
|
+
<SuperIcon
|
|
25
|
+
v-if="designProperty.preIconType && designProperty.preIconValue"
|
|
26
|
+
:iconType="designProperty.preIconType"
|
|
27
|
+
:iconValue="designProperty.preIconValue"
|
|
28
|
+
></SuperIcon>
|
|
29
|
+
{{ designProperty.preText }}
|
|
30
|
+
</span>
|
|
31
|
+
{{ dynamicValue }}
|
|
32
|
+
</span>
|
|
33
|
+
<span
|
|
34
|
+
v-if="designProperty.sufIconValue || designProperty.sufText"
|
|
35
|
+
:class="{
|
|
36
|
+
'el-input__suffix': designProperty.iconPosition != 'outer',
|
|
37
|
+
'el-input-group__append': designProperty.iconPosition == 'outer'
|
|
38
|
+
}"
|
|
39
|
+
>
|
|
40
|
+
<SuperIcon
|
|
41
|
+
style=""
|
|
42
|
+
v-if="designProperty.sufIconType && designProperty.sufIconValue"
|
|
43
|
+
:iconType="designProperty.sufIconType"
|
|
44
|
+
:iconValue="designProperty.sufIconValue"
|
|
45
|
+
></SuperIcon>
|
|
46
|
+
<span> {{ designProperty.sufText }}</span>
|
|
47
|
+
</span>
|
|
48
|
+
</div>
|
|
49
|
+
</el-form-item>
|
|
50
|
+
<span v-else style="display: flex; justify-content: space-between">
|
|
51
|
+
<span style="overflow: hidden; white-space: nowrap" :title="dynamicValue"
|
|
52
|
+
>{{ designProperty.prefixIcon }} {{ dynamicValue }}</span
|
|
53
|
+
>
|
|
54
|
+
<span v-if="designProperty.suffixTxt" :class="appendClass" :style="appendStyle">{{
|
|
55
|
+
designProperty.suffixTxt
|
|
56
|
+
}}</span>
|
|
57
|
+
</span>
|
|
58
|
+
</template>
|
|
59
|
+
<script lang="ts" setup>
|
|
60
|
+
import { ref, computed } from 'vue'
|
|
61
|
+
import type {
|
|
62
|
+
Component,
|
|
63
|
+
PageContext
|
|
64
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
65
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
66
|
+
import {
|
|
67
|
+
formatVariableValue,
|
|
68
|
+
queryOptions,
|
|
69
|
+
formatValueByType
|
|
70
|
+
} from '../../../../../../src/utils/page-helper-util'
|
|
71
|
+
import { SuperIcon } from 'agilebuilder-ui'
|
|
72
|
+
|
|
73
|
+
//定义的属性对象
|
|
74
|
+
interface MyProps {
|
|
75
|
+
//页面对象
|
|
76
|
+
pageContext: PageContext
|
|
77
|
+
configure: Component
|
|
78
|
+
}
|
|
79
|
+
const props = defineProps<MyProps>()
|
|
80
|
+
//初始化字段及默认值
|
|
81
|
+
getFormModelFields(props.pageContext, props.configure)
|
|
82
|
+
|
|
83
|
+
//定义自身详细参数
|
|
84
|
+
//运行时信息
|
|
85
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
86
|
+
const runtimeStyle = runtimeInfo.style
|
|
87
|
+
const runtimeClass = runtimeInfo.class
|
|
88
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
89
|
+
const appendClass = runtimeInfo.appendClass
|
|
90
|
+
const appendStyle = runtimeInfo.appendStyle
|
|
91
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
92
|
+
|
|
93
|
+
//查询数据源
|
|
94
|
+
//选项组数据
|
|
95
|
+
const listOptions: any = designProperty.options ? designProperty.options : []
|
|
96
|
+
//检查是否需要绑定远程查询对象
|
|
97
|
+
const dataOrigin =
|
|
98
|
+
props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {}
|
|
99
|
+
const valueType = dataOrigin.optionValueSetType
|
|
100
|
+
//查询数据
|
|
101
|
+
if (valueType == 'dynamicData' || valueType == 'dynamicData' || valueType == 'service') {
|
|
102
|
+
queryOptions(props.configure, props.pageContext, '')
|
|
103
|
+
.then((results) => {
|
|
104
|
+
listOptions.value = results
|
|
105
|
+
})
|
|
106
|
+
.catch((error) => {
|
|
107
|
+
console.log('lable组件查询数据源失败!', error)
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
//定义内容
|
|
112
|
+
let contentVariable = designProperty.formatting
|
|
113
|
+
if (!contentVariable) {
|
|
114
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {}
|
|
115
|
+
contentVariable = propsBase.prop
|
|
116
|
+
}
|
|
117
|
+
//无值时,按UUID
|
|
118
|
+
if (!contentVariable) {
|
|
119
|
+
contentVariable = '${page.' + props.configure.uuid + '}'
|
|
120
|
+
}
|
|
121
|
+
//格式化分类
|
|
122
|
+
const formatType = designProperty.formatType
|
|
123
|
+
//显示内容
|
|
124
|
+
const dynamicValue = computed(() => {
|
|
125
|
+
let resultValue: any = formatVariableValue(props.pageContext, contentVariable)
|
|
126
|
+
console.log('formatType', formatType)
|
|
127
|
+
if (formatType) {
|
|
128
|
+
if (designProperty.hasOptions) {
|
|
129
|
+
let selItems: any = null
|
|
130
|
+
if (listOptions.value) {
|
|
131
|
+
selItems = listOptions.value.filter((item: any) => item.value == resultValue)
|
|
132
|
+
}
|
|
133
|
+
if (selItems && selItems.length > 0) {
|
|
134
|
+
resultValue = selItems[0].label
|
|
135
|
+
}
|
|
136
|
+
} else {
|
|
137
|
+
//其他格式化
|
|
138
|
+
resultValue = formatValueByType(resultValue, formatType, designProperty)
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return resultValue == undefined || resultValue == null ? '' : resultValue
|
|
142
|
+
})
|
|
143
|
+
</script>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:class="runtimeClass"
|
|
4
|
+
:label-width="designProperty.labelWidth"
|
|
5
|
+
:style="runtimeStyle"
|
|
6
|
+
>
|
|
7
|
+
<template #label>
|
|
8
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
9
|
+
{{ designProperty.title }}
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<el-tooltip :disabled="!tooltipValue" :content="tooltipValue">
|
|
13
|
+
<el-link
|
|
14
|
+
:disabled="designProperty.state === 'disabled'"
|
|
15
|
+
:type="designProperty.type"
|
|
16
|
+
:underline="designProperty.underline"
|
|
17
|
+
@click="openLink(configure, pageContext)"
|
|
18
|
+
>
|
|
19
|
+
{{ dynamicValue }}
|
|
20
|
+
</el-link>
|
|
21
|
+
</el-tooltip>
|
|
22
|
+
</el-form-item>
|
|
23
|
+
</template>
|
|
24
|
+
<script lang="ts" setup>
|
|
25
|
+
import { computed } from 'vue'
|
|
26
|
+
import type {
|
|
27
|
+
Component,
|
|
28
|
+
PageContext
|
|
29
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
30
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
31
|
+
import { formatVariableValue, openLink } from '../../../../../../src/utils/page-helper-util'
|
|
32
|
+
//定义的属性对象
|
|
33
|
+
interface MyProps {
|
|
34
|
+
//页面对象
|
|
35
|
+
pageContext: PageContext
|
|
36
|
+
configure: Component
|
|
37
|
+
}
|
|
38
|
+
const props = defineProps<MyProps>()
|
|
39
|
+
//初始化字段及默认值
|
|
40
|
+
getFormModelFields(props.pageContext, props.configure)
|
|
41
|
+
//定义自身详细参数
|
|
42
|
+
//运行时信息
|
|
43
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
44
|
+
const runtimeStyle = runtimeInfo.style
|
|
45
|
+
const runtimeClass = runtimeInfo.class
|
|
46
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
47
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
48
|
+
|
|
49
|
+
//定义内容
|
|
50
|
+
let contentVariable = designProperty.formatting
|
|
51
|
+
if (!contentVariable) {
|
|
52
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {}
|
|
53
|
+
contentVariable = propsBase.prop
|
|
54
|
+
}
|
|
55
|
+
//无值时,按UUID
|
|
56
|
+
if (!contentVariable) {
|
|
57
|
+
contentVariable = '${page.' + props.configure.uuid + '}'
|
|
58
|
+
}
|
|
59
|
+
//显示内容
|
|
60
|
+
const dynamicValue = computed(() => {
|
|
61
|
+
const resultValue = formatVariableValue(props.pageContext, contentVariable)
|
|
62
|
+
return resultValue == undefined || resultValue == null ? '' : resultValue
|
|
63
|
+
})
|
|
64
|
+
//tooltip
|
|
65
|
+
let tooltipVariable = designProperty.tooltip
|
|
66
|
+
const tooltipValue = computed(() => {
|
|
67
|
+
const resultValue = formatVariableValue(props.pageContext, tooltipVariable)
|
|
68
|
+
return resultValue == undefined || resultValue == null ? '' : resultValue
|
|
69
|
+
})
|
|
70
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item :class="runtimeClass" :style="runtimeStyle">
|
|
3
|
+
<div style="width: 100%; height: 100%"> </div>
|
|
4
|
+
</el-form-item>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang="ts" setup>
|
|
7
|
+
import type {
|
|
8
|
+
Component,
|
|
9
|
+
PageContext
|
|
10
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
11
|
+
|
|
12
|
+
//定义的属性对象
|
|
13
|
+
interface MyProps {
|
|
14
|
+
//页面对象
|
|
15
|
+
pageContext: PageContext
|
|
16
|
+
configure: Component
|
|
17
|
+
}
|
|
18
|
+
const props = defineProps<MyProps>()
|
|
19
|
+
//定义自身详细参数
|
|
20
|
+
//运行时信息
|
|
21
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
22
|
+
const runtimeStyle = runtimeInfo.style
|
|
23
|
+
const runtimeClass = runtimeInfo.class
|
|
24
|
+
</script>
|
|
@@ -28,14 +28,20 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
<script lang="ts" setup>
|
|
30
30
|
import { ref, computed, watch } from 'vue'
|
|
31
|
-
import type {
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
import type {
|
|
32
|
+
Component,
|
|
33
|
+
PageContext
|
|
34
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
35
|
+
import {
|
|
36
|
+
queryOptionDatasources,
|
|
37
|
+
autoSetAfterSelect
|
|
38
|
+
} from '../../../../../../src/utils/page-helper-util'
|
|
39
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
34
40
|
import {
|
|
35
41
|
getVariableValue,
|
|
36
42
|
setVariableValue,
|
|
37
43
|
getOptionDatasFromPage
|
|
38
|
-
} from '
|
|
44
|
+
} from '../../../../../../src/utils/page-helper-util'
|
|
39
45
|
|
|
40
46
|
//定义的属性对象
|
|
41
47
|
interface MyProps {
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!--无标题时不用form-item-->
|
|
3
|
+
<el-form-item
|
|
4
|
+
v-if="designProperty.tittleShow"
|
|
5
|
+
:required="designProperty.required"
|
|
6
|
+
:class="runtimeClass"
|
|
7
|
+
:label-width="designProperty.labelWidth"
|
|
8
|
+
:style="runtimeStyle"
|
|
9
|
+
>
|
|
10
|
+
<template #label>
|
|
11
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
12
|
+
{{ designProperty.title }}
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
<div style="width: 100%; height: 100%">
|
|
16
|
+
<div ref="quillEditorRef" style="width: 100%">{{ initValue }}</div>
|
|
17
|
+
<!-- 使用自定义图片上传 -->
|
|
18
|
+
<input type="file" hidden accept=".jpg,.png" ref="fileBtn" @change="handleUpload" />
|
|
19
|
+
</div>
|
|
20
|
+
</el-form-item>
|
|
21
|
+
<div v-else style="width: 100%; height: 100%" class="amb-widget-richtext-single">
|
|
22
|
+
<div ref="quillEditorRef" style="width: 100%">{{ initValue }}</div>
|
|
23
|
+
<!-- 使用自定义图片上传 -->
|
|
24
|
+
<input type="file" hidden accept=".jpg,.png" ref="fileBtn" @change="handleUpload" />
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
<script lang="ts" setup>
|
|
28
|
+
import { ref, onMounted } 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 { formatVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
35
|
+
import Quill from 'quill'
|
|
36
|
+
import 'quill/dist/quill.snow.css' // 引入样式文件
|
|
37
|
+
//定义的属性对象
|
|
38
|
+
interface MyProps {
|
|
39
|
+
//页面对象
|
|
40
|
+
pageContext: PageContext
|
|
41
|
+
configure: Component
|
|
42
|
+
}
|
|
43
|
+
const props = defineProps<MyProps>()
|
|
44
|
+
|
|
45
|
+
const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
|
|
46
|
+
//初始化字段及默认值
|
|
47
|
+
const dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
|
|
48
|
+
|
|
49
|
+
//定义自身详细参数
|
|
50
|
+
//运行时信息
|
|
51
|
+
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
52
|
+
const runtimeStyle = runtimeInfo.style
|
|
53
|
+
const runtimeClass = runtimeInfo.class
|
|
54
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
55
|
+
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
56
|
+
|
|
57
|
+
//初始化显示内容
|
|
58
|
+
let contentVariable = designProperty.value
|
|
59
|
+
const initValue = formatVariableValue(props.pageContext, contentVariable)
|
|
60
|
+
|
|
61
|
+
//富文本引用
|
|
62
|
+
const quillEditorRef = ref(null)
|
|
63
|
+
const quill: any = ref(null)
|
|
64
|
+
const fileBtn: any = ref(null)
|
|
65
|
+
//初始化富文本控件
|
|
66
|
+
const fontSize = [
|
|
67
|
+
'12px',
|
|
68
|
+
'13px',
|
|
69
|
+
'14px',
|
|
70
|
+
'15px',
|
|
71
|
+
'16px',
|
|
72
|
+
'18px',
|
|
73
|
+
'20px',
|
|
74
|
+
'24px',
|
|
75
|
+
'28px',
|
|
76
|
+
'32px',
|
|
77
|
+
'36px'
|
|
78
|
+
]
|
|
79
|
+
const option = ref({
|
|
80
|
+
modules: {
|
|
81
|
+
toolbar: [
|
|
82
|
+
['bold', 'italic', 'underline', 'strike'], // 加粗 斜体 下划线 删除线
|
|
83
|
+
['blockquote', 'code-block'], // 引用
|
|
84
|
+
[{ list: 'ordered' }, { list: 'bullet' }], // 有序、无序列表
|
|
85
|
+
[{ script: 'sub' }, { script: 'super' }], // 上标/下标
|
|
86
|
+
[{ indent: '-1' }, { indent: '+1' }], // 缩进
|
|
87
|
+
[{ direction: 'rtl' }], // 文本方向
|
|
88
|
+
[{ size: fontSize }], // 字体大小
|
|
89
|
+
[{ header: [1, 2, 3, 4, 5, 6, false] }], // 标题
|
|
90
|
+
[{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色
|
|
91
|
+
[{ font: [] }], // 字体种类
|
|
92
|
+
[{ align: [] }], // 对齐方式
|
|
93
|
+
['clean'], // 清除文本格式
|
|
94
|
+
['link', 'image'] // 链接、图片、视频
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
theme: 'snow',
|
|
98
|
+
placeholder: designProperty.placeholder,
|
|
99
|
+
readOnly: designProperty.state == 'readonly'
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* 计算并更新高度
|
|
104
|
+
*/
|
|
105
|
+
function updateEditorHeight() {
|
|
106
|
+
//计算高度
|
|
107
|
+
if (quill && quill.value) {
|
|
108
|
+
if (quill.value.container) {
|
|
109
|
+
//获取相对高度
|
|
110
|
+
const parentNode = quill.value.container.parentNode
|
|
111
|
+
const parentRect = parentNode.getBoundingClientRect()
|
|
112
|
+
|
|
113
|
+
const thisRect = quill.value.container.getBoundingClientRect()
|
|
114
|
+
//计算高度
|
|
115
|
+
let newHeight = parentRect.height - (thisRect.top - parentRect.top)
|
|
116
|
+
if (newHeight < 100) {
|
|
117
|
+
newHeight = 100
|
|
118
|
+
}
|
|
119
|
+
quill.value.container.style.height = newHeight + 'px'
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
//上传图片
|
|
125
|
+
const imgHandler = (state) => {
|
|
126
|
+
if (fileBtn.value && state) {
|
|
127
|
+
fileBtn.value.click()
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
//上传
|
|
131
|
+
const handleUpload = (e) => {
|
|
132
|
+
const files = Array.prototype.slice.call(e.target.files)
|
|
133
|
+
if (!files) {
|
|
134
|
+
return
|
|
135
|
+
}
|
|
136
|
+
const formdata = new FormData()
|
|
137
|
+
formdata.append('file', files[0])
|
|
138
|
+
alert('TODO:上传图片')
|
|
139
|
+
//此处使用服务端提供上传接口
|
|
140
|
+
/**backsite.uploadFile(formdata)
|
|
141
|
+
.then(res => {
|
|
142
|
+
if (res.data.url) {
|
|
143
|
+
const quill = toRaw(myQuillEditor.value).getQuill()
|
|
144
|
+
const length = quill.getSelection().index
|
|
145
|
+
quill.insertEmbed(length, 'image', res.data.url)
|
|
146
|
+
quill.setSelection(length + 1)
|
|
147
|
+
}
|
|
148
|
+
})*/
|
|
149
|
+
}
|
|
150
|
+
//初始化编辑器
|
|
151
|
+
onMounted(() => {
|
|
152
|
+
quill.value = new Quill(quillEditorRef.value, option.value)
|
|
153
|
+
//添加上传文件
|
|
154
|
+
quill.value.getModule('toolbar').addHandler('image', imgHandler)
|
|
155
|
+
//绑定事件
|
|
156
|
+
quill.value.on('text-change', function (delta, oldDelta, source) {
|
|
157
|
+
//1秒后设置到缓存中
|
|
158
|
+
if (window.updateQuillTimeout) {
|
|
159
|
+
clearTimeout(window.updateQuillTimeout)
|
|
160
|
+
}
|
|
161
|
+
window.updateQuillTimeout = setTimeout(function () {
|
|
162
|
+
setVariableValue(entity, dynamicFields, quill.value.root.innerHTML)
|
|
163
|
+
console.log('new entity', entity)
|
|
164
|
+
}, 1000)
|
|
165
|
+
})
|
|
166
|
+
//计算高度
|
|
167
|
+
updateEditorHeight()
|
|
168
|
+
})
|
|
169
|
+
</script>
|
package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue
RENAMED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<template v-if="item._description_">
|
|
37
37
|
<span style="float: left">{{ item.label }}</span>
|
|
38
38
|
<span style="float: right; color: var(--el-text-color-secondary); font-size: 13px">
|
|
39
|
-
{{ item._description_ }}
|
|
39
|
+
{{ item._description_ }}
|
|
40
40
|
</span>
|
|
41
41
|
</template>
|
|
42
42
|
</el-option>
|
|
@@ -45,14 +45,20 @@
|
|
|
45
45
|
</template>
|
|
46
46
|
<script lang="ts" setup>
|
|
47
47
|
import { ref, computed, watch } from 'vue'
|
|
48
|
-
import type {
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
import type {
|
|
49
|
+
Component,
|
|
50
|
+
PageContext
|
|
51
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
52
|
+
import {
|
|
53
|
+
queryOptionDatasources,
|
|
54
|
+
autoSetAfterSelect
|
|
55
|
+
} from '../../../../../../src/utils/page-helper-util'
|
|
56
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
51
57
|
import {
|
|
52
58
|
getVariableValue,
|
|
53
59
|
setVariableValue,
|
|
54
60
|
getOptionDatasFromPage
|
|
55
|
-
} from '
|
|
61
|
+
} from '../../../../../../src/utils/page-helper-util'
|
|
56
62
|
|
|
57
63
|
//定义的属性对象
|
|
58
64
|
interface MyProps {
|