super-page-runtime 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +26 -0
- package/.prettierrc.json +8 -0
- package/{src → components}/index.ts +3 -3
- package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue +5 -2
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
- package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue +4 -1
- package/{src/components → components}/runtime/views/assemblys/container/collapse/collapse-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
- package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
- package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue +12 -6
- package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue +10 -7
- package/{src/components → components}/runtime/views/assemblys/data/table/table-runtime.vue +2 -2
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
- package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
- package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +6 -3
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
- package/{src/components → components}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +5 -2
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
- package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +7 -4
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
- package/{src/components → components}/runtime/views/assemblys/form/radio/radio-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
- package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue +11 -5
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
- package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue +6 -3
- package/{src/components → components}/runtime/views/assemblys/object-render.vue +6 -6
- package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +1 -1
- package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
- package/{src/components → components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +20 -17
- package/{src/components → components}/runtime/views/super-page.vue +13 -8
- package/cypress/e2e/example.cy.ts +8 -0
- package/cypress/e2e/tsconfig.json +10 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress.config.ts +8 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/lib/components/index.d.ts +5 -0
- package/{dist/lib → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/{dist/lib → lib}/components/runtime/views/super-page.vue.d.ts +1 -1
- package/{dist/lib → lib}/index.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -8
- package/lib/src/utils/charts/chart-util.js +15 -0
- package/{dist/es/components/runtime → lib/src}/utils/events/event-util.d.ts +1 -1
- package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -1
- package/lib/wf-editor/wf-editor.css +4 -0
- package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +3 -3
- package/package-ws.json +70 -0
- package/package.json +3 -7
- package/src/utils/charts/chart-util.ts +41 -0
- package/src/utils/container-style-util.ts +237 -0
- package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
- package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
- package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
- package/tsconfig copy.json +17 -0
- package/tsconfig.app copy.json +14 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node copy.json +19 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest copy.json +11 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config copy.ts +109 -0
- package/vite.config.ts +86 -0
- package/vitest.config.ts +14 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/es/assets/chart-themes/theme1.js +0 -8
- package/dist/es/assets/chart-themes/theme2.js +0 -8
- package/dist/es/assets/chart-themes/theme3.js +0 -8
- package/dist/es/components/runtime/index.js +0 -4
- package/dist/es/components/runtime/utils/api/api-util.js +0 -128
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/es/components/runtime/utils/common-util.js +0 -81
- package/dist/es/components/runtime/utils/events/event-util.js +0 -525
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1623
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -389
- package/dist/es/components/runtime/utils/global-refs.js +0 -65
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -9
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -503
- package/dist/es/components/runtime/utils/page-init-util.js +0 -200
- package/dist/es/components/runtime/utils/store-util.js +0 -17
- package/dist/es/components/runtime/utils/store.js +0 -4
- package/dist/es/components/runtime/utils/table-utils.js +0 -23
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -50
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -148
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -80
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -31
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -70
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -76
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -163
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
- package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/es/components/runtime/views/super-page.vue.js +0 -481
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
- package/dist/es/components/super-page-dialog/index.js +0 -4
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -75
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
- package/dist/es/components/wf-editor/index.js +0 -4
- package/dist/es/components/wf-editor/wf-editor.css +0 -4
- package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
- package/dist/es/index.d.ts +0 -5
- package/dist/es/index.js +0 -8
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.css +0 -4
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +0 -5
- package/src/components/runtime/utils/charts/chart-util.ts +0 -37
- package/src/components/runtime/utils/container-style-util.ts +0 -223
- package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
- package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
- package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
- package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
- package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
- package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
- package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
- package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
- package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
- package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
- package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
- package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
- package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
- package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
- package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
- package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
- package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
- package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
- package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
- package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
- package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
- package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
- /package/{src/App.vue → App.vue} +0 -0
- /package/{src/components → components}/runtime/index.ts +0 -0
- /package/{src/components → components}/runtime/utils/assemblys-config.js +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-cursor.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-size.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-select-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-background.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-border.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font-head.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-margin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-padding.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-position.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-shadow.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/task-informition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/column-config.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/combinedHeader.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/composite-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/configuration-value.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/formatting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/querySetting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/return-set-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/select-data-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-render.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/colors/colors-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/analytic-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/condition.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/default-value-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dimension-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/formatting-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/grid-num-select.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/linkage.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-height.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-width.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/pre-suffix.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/rich-text.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/row-ul-li.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/setoption-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/size-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/suffixmodule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/uploading.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/verification.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/voluntarily.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/rate/rate-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/slider/slider-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/text/text-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/variable-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/combination.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -0
- /package/{src/components → components}/runtime/views/render/page-view.vue +0 -0
- /package/{src/components → components}/runtime/views/super-page copy.vue +0 -0
- /package/{src/components → components}/super-page-dialog/index.ts +0 -0
- /package/{src/components → components}/super-page-dialog/super-page-dialog.vue +0 -0
- /package/{src/components → components}/wf-editor/index.ts +0 -0
- /package/{src/components → components}/wf-editor/wf-editor.vue +0 -0
- /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
- /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
- /package/{dist/es → lib}/favicon.ico +0 -0
- /package/{dist/lib/components → lib}/runtime/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme1.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme3.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/api/api-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/api/api-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/common-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/common-util.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/event-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/standard-event.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/standard-event.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/validator-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/validator-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/global-refs.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/global-refs.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/interfaces/page-design-types.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-helper-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-helper-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-init-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-init-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/table-utils.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
- /package/{src/main.ts → main.ts} +0 -0
- /package/{dist → public}/favicon.ico +0 -0
- /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
- /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
- /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store.ts +0 -0
- /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const objectRender_vue_vue_type_script_setup_true_lang = require("./assemblys/object-render.vue.js");
|
|
4
|
-
const pageHelperUtil = require("
|
|
5
|
-
const pageInitUtil = require("
|
|
6
|
-
const globalRefs = require("
|
|
7
|
-
const eventUtil = require("
|
|
4
|
+
const pageHelperUtil = require("../../src/utils/page-helper-util.js");
|
|
5
|
+
const pageInitUtil = require("../../src/utils/page-init-util.js");
|
|
6
|
+
const globalRefs = require("../../src/utils/global-refs.js");
|
|
7
|
+
const eventUtil = require("../../src/utils/events/event-util.js");
|
|
8
8
|
const exportFormReportDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/export-form-report-dialog.vue.js");
|
|
9
9
|
const taskInformitionDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/task-informition-dialog.vue.js");
|
|
10
10
|
const removeSignerDialog_vue_vue_type_script_setup_true_lang = require("./assemblys/common/remove-signer-dialog.vue.js");
|
|
11
|
-
const apiUtil = require("
|
|
12
|
-
const standardEvent = require("
|
|
11
|
+
const apiUtil = require("../../src/utils/api/api-util.js");
|
|
12
|
+
const standardEvent = require("../../src/utils/events/standard-event.js");
|
|
13
13
|
const elementPlus = require("element-plus");
|
|
14
14
|
const vueI18n = require("vue-i18n");
|
|
15
15
|
const agilebuilderUi = require("agilebuilder-ui");
|
|
16
|
-
const validatorUtil = require("
|
|
16
|
+
const validatorUtil = require("../../src/utils/events/validator-util.js");
|
|
17
17
|
const superPageDialog_vue_vue_type_script_setup_true_lang = require("../../super-page-dialog/super-page-dialog.vue.js");
|
|
18
18
|
const vueRouter = require("vue-router");
|
|
19
|
-
require("agilebuilder-ui/src/utils/jump-page-utils");
|
|
20
19
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
21
20
|
__name: "super-page",
|
|
22
21
|
props: {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const theme1 = require("../../assets/chart-themes/theme1.js");
|
|
4
|
+
const theme2 = require("../../assets/chart-themes/theme2.js");
|
|
5
|
+
const theme3 = require("../../assets/chart-themes/theme3.js");
|
|
6
|
+
const themeMap = {
|
|
7
|
+
theme1,
|
|
8
|
+
theme2,
|
|
9
|
+
theme3
|
|
10
|
+
};
|
|
11
|
+
function getCustomTheme(themeName) {
|
|
12
|
+
console.log("getdd", themeName);
|
|
13
|
+
return themeMap[themeName];
|
|
14
|
+
}
|
|
15
|
+
exports.getCustomTheme = getCustomTheme;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
;/* empty css */
|
|
4
|
-
const _pluginVue_exportHelper = require("
|
|
4
|
+
const _pluginVue_exportHelper = require("../_virtual/_plugin-vue_export-helper.js");
|
|
5
5
|
const _sfc_main = {};
|
|
6
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
6
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-c38a8dd9"), n = n(), vue.popScopeId(), n);
|
|
7
7
|
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("button", null, "Editoraaaaa", -1));
|
|
8
8
|
const _hoisted_2 = [
|
|
9
9
|
_hoisted_1
|
|
@@ -11,5 +11,5 @@ const _hoisted_2 = [
|
|
|
11
11
|
function _sfc_render(_ctx, _cache) {
|
|
12
12
|
return vue.openBlock(), vue.createElementBlock("div", null, _hoisted_2);
|
|
13
13
|
}
|
|
14
|
-
const WfEditor = /* @__PURE__ */ _pluginVue_exportHelper(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
14
|
+
const WfEditor = /* @__PURE__ */ _pluginVue_exportHelper(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-c38a8dd9"]]);
|
|
15
15
|
module.exports = WfEditor;
|
package/package-ws.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "super-page-runtime",
|
|
3
|
+
"version": "1.0.10",
|
|
4
|
+
"description": "AgileBuilder super page runtime",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/*"
|
|
9
|
+
],
|
|
10
|
+
"typings": "dist/lib/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "vite",
|
|
13
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
14
|
+
"preview": "vite preview",
|
|
15
|
+
"test:unit": "vitest",
|
|
16
|
+
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
|
|
17
|
+
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
|
|
18
|
+
"build-only": "vite build",
|
|
19
|
+
"type-check": "vue-tsc --build --force",
|
|
20
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
21
|
+
"format": "prettier --write src/"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@vueup/vue-quill": "^1.2.0",
|
|
25
|
+
"@vueuse/core": "^10.9.0",
|
|
26
|
+
"agilebuilder-ui": "1.0.13",
|
|
27
|
+
"async-validator": "^4.2.5",
|
|
28
|
+
"dayjs": "^1.11.11",
|
|
29
|
+
"echarts": "^5.5.0",
|
|
30
|
+
"jsbarcode": "^3.11.6",
|
|
31
|
+
"nprogress": "^0.2.0",
|
|
32
|
+
"qrcode": "^1.5.3",
|
|
33
|
+
"quill": "^2.0.1",
|
|
34
|
+
"uuid": "^9.0.1",
|
|
35
|
+
"vue-awesome": "^4.5.0",
|
|
36
|
+
"vue-codemirror": "^6.1.1",
|
|
37
|
+
"mitt": "^3.0.1",
|
|
38
|
+
"vue-draggable-plus": "^0.3.5",
|
|
39
|
+
"vue-echarts": "^6.6.9"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@element-plus/icons": "^0.0.11",
|
|
43
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
44
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
45
|
+
"@types/jsdom": "^21.1.6",
|
|
46
|
+
"@types/node": "^20.11.28",
|
|
47
|
+
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
48
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
|
49
|
+
"@vue/test-utils": "^2.4.4",
|
|
50
|
+
"axios": "^1.6.8",
|
|
51
|
+
"cypress": "^13.6.6",
|
|
52
|
+
"element-plus": "^2.6.1",
|
|
53
|
+
"eslint": "^8.49.0",
|
|
54
|
+
"eslint-plugin-cypress": "^2.15.1",
|
|
55
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
56
|
+
"js-cookie": "^3.0.5",
|
|
57
|
+
"jsdom": "^24.0.0",
|
|
58
|
+
"saas": "^1.0.0",
|
|
59
|
+
"sass": "^1.72.0",
|
|
60
|
+
"start-server-and-test": "^2.0.3",
|
|
61
|
+
"typescript": "^5.4.5",
|
|
62
|
+
"vite": "^5.1.6",
|
|
63
|
+
"vite-plugin-dts": "^3.9.1",
|
|
64
|
+
"vitest": "^1.3.1",
|
|
65
|
+
"vue": "^3.4.21",
|
|
66
|
+
"vue-i18n": "^9.10.2",
|
|
67
|
+
"vue-router": "^4.3.0",
|
|
68
|
+
"vuex": "^4.1.0"
|
|
69
|
+
}
|
|
70
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "AgileBuilder super page runtime",
|
|
5
5
|
"license": "ISC",
|
|
6
|
-
"main": "
|
|
7
|
-
"
|
|
8
|
-
"dist/*",
|
|
9
|
-
"src/*"
|
|
10
|
-
],
|
|
11
|
-
"typings": "dist/lib/index.d.ts",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"typings": "lib/index.d.ts",
|
|
12
8
|
"scripts": {
|
|
13
9
|
"dev": "vite",
|
|
14
10
|
"build": "run-p type-check \"build-only {@}\" --",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import theme1 from '../../assets/chart-themes/theme1'
|
|
2
|
+
import theme2 from '../../assets/chart-themes/theme2'
|
|
3
|
+
import theme3 from '../../assets/chart-themes/theme3'
|
|
4
|
+
|
|
5
|
+
//缓存主题
|
|
6
|
+
const themeMap: any = {
|
|
7
|
+
theme1: theme1,
|
|
8
|
+
theme2: theme2,
|
|
9
|
+
theme3: theme3
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 获取主题对象
|
|
14
|
+
* @param themeName 获取自定义的主题名称
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
export function getCustomTheme(themeName: string) {
|
|
18
|
+
console.log('getdd', themeName)
|
|
19
|
+
return themeMap[themeName]
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 获取所有主题对象
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export function getCustomThemeOptions(): Array<any> {
|
|
27
|
+
return [
|
|
28
|
+
{
|
|
29
|
+
value: 'theme1',
|
|
30
|
+
label: '主题1'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
value: 'theme2',
|
|
34
|
+
label: '主题2'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
value: 'theme3',
|
|
38
|
+
label: '主题3'
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import type { Component } from '../../../src/utils/interfaces/page-design-types'
|
|
2
|
+
/**
|
|
3
|
+
* 生成通用的样式和Class
|
|
4
|
+
*/
|
|
5
|
+
export function caculateCommonStyle(
|
|
6
|
+
configure: Component,
|
|
7
|
+
commonStyle: any,
|
|
8
|
+
commonClass: any
|
|
9
|
+
): void {
|
|
10
|
+
//清空设置
|
|
11
|
+
const tempStyle: any = {}
|
|
12
|
+
let tempClass = ''
|
|
13
|
+
const thisProps = configure.props ? configure.props : {}
|
|
14
|
+
const thisStyle = configure.style ? configure.style : {}
|
|
15
|
+
const thisSize = thisProps.size ? thisProps.size : {}
|
|
16
|
+
//宽度
|
|
17
|
+
//固定
|
|
18
|
+
//默认按100
|
|
19
|
+
if (thisSize.widthType == 'fix' && thisSize.fixWidth) {
|
|
20
|
+
tempStyle['width'] = thisSize.fixWidth
|
|
21
|
+
if (!tempStyle['width'].indexOf || tempStyle['width'].indexOf('px') == -1) {
|
|
22
|
+
tempStyle['width'] = tempStyle['width'] + 'px'
|
|
23
|
+
}
|
|
24
|
+
} else {
|
|
25
|
+
if (thisSize.flexSpan) {
|
|
26
|
+
tempClass += ' el-col-' + thisSize.flexSpan
|
|
27
|
+
} else {
|
|
28
|
+
tempClass += ' el-col-24'
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//margin
|
|
32
|
+
//外边距 设计有套一层,在此设置外部的边距
|
|
33
|
+
if (thisStyle.marginTop) {
|
|
34
|
+
tempStyle['margin-top'] = thisStyle.marginTop + 'px'
|
|
35
|
+
}
|
|
36
|
+
if (thisStyle.marginRight) {
|
|
37
|
+
tempStyle['margin-right'] = thisStyle.marginRight + 'px'
|
|
38
|
+
}
|
|
39
|
+
if (thisStyle.marginBottom) {
|
|
40
|
+
tempStyle['margin-bottom'] = thisStyle.marginBottom + 'px'
|
|
41
|
+
}
|
|
42
|
+
if (thisStyle.marginLeft) {
|
|
43
|
+
tempStyle['margin-left'] = thisStyle.marginLeft + 'px'
|
|
44
|
+
}
|
|
45
|
+
//高度
|
|
46
|
+
if (thisSize.fixHeight) {
|
|
47
|
+
tempStyle['height'] = thisSize.fixHeight
|
|
48
|
+
if (!tempStyle['height'].indexOf || tempStyle['height'].indexOf('px') == -1) {
|
|
49
|
+
tempStyle['height'] = tempStyle['height'] + 'px'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
//检查是否固定位置
|
|
53
|
+
const position = thisProps.position
|
|
54
|
+
//工具栏位置
|
|
55
|
+
if (position == 'top' || position == 'bottom') {
|
|
56
|
+
//position: -webkit-sticky
|
|
57
|
+
tempStyle['position'] = 'fixed !important'
|
|
58
|
+
tempStyle['z-index'] = '1'
|
|
59
|
+
//找展示容器的位置
|
|
60
|
+
//const contentObj = document.getElementsByClassName("amb-design-board");
|
|
61
|
+
const contentObj = [thisRef.value.parentNode]
|
|
62
|
+
if (contentObj && contentObj.length > 0) {
|
|
63
|
+
const contentRec = contentObj[0].getBoundingClientRect()
|
|
64
|
+
if (position == 'top') {
|
|
65
|
+
tempStyle['top'] = contentRec.top + 'px'
|
|
66
|
+
}
|
|
67
|
+
if (position == 'bottom') {
|
|
68
|
+
tempStyle['bottom'] = '10px'
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
//宽
|
|
72
|
+
const thisRec = thisRef.value.getBoundingClientRect()
|
|
73
|
+
tempStyle['width'] = thisRec.width + 'px'
|
|
74
|
+
} else if (thisStyle.position) {
|
|
75
|
+
//按定位设置
|
|
76
|
+
tempStyle['position'] = thisStyle.position
|
|
77
|
+
if (thisStyle.position != 'relative') {
|
|
78
|
+
//其余需要默认当前的宽度
|
|
79
|
+
if (!tempStyle['width']) {
|
|
80
|
+
const thisRec = thisRef.value.getBoundingClientRect()
|
|
81
|
+
tempStyle['width'] = thisRec.width + 'px'
|
|
82
|
+
}
|
|
83
|
+
if (thisStyle.left) {
|
|
84
|
+
tempStyle['left'] = thisStyle.left + 'px'
|
|
85
|
+
}
|
|
86
|
+
if (thisStyle.top) {
|
|
87
|
+
tempStyle['top'] = thisStyle.top + 'px'
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
commonStyle.value = tempStyle
|
|
92
|
+
commonClass.value = tempClass
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* 样式转换
|
|
97
|
+
* @param configure
|
|
98
|
+
* @param designStyle 动态样式名
|
|
99
|
+
* @param designClass 动态class
|
|
100
|
+
*/
|
|
101
|
+
export function caculateComponentStyle(
|
|
102
|
+
configure: any,
|
|
103
|
+
designStyle: any,
|
|
104
|
+
designClass: any,
|
|
105
|
+
designHeaderStyle: any
|
|
106
|
+
): void {
|
|
107
|
+
//清空设置
|
|
108
|
+
const tempStyle: any = {}
|
|
109
|
+
const tempHeaderStyle: any = {}
|
|
110
|
+
let tempClass = ''
|
|
111
|
+
//从默认值中获取
|
|
112
|
+
let defineStyle: any = {}
|
|
113
|
+
if (configure.default && configure.default.style) {
|
|
114
|
+
Object.assign(defineStyle, configure.default.style)
|
|
115
|
+
}
|
|
116
|
+
//设计内容覆盖
|
|
117
|
+
if (configure.style) {
|
|
118
|
+
for (let pro in configure.style) {
|
|
119
|
+
const proValue = configure.style[pro]
|
|
120
|
+
if (proValue != undefined && proValue != null && proValue != '') {
|
|
121
|
+
defineStyle[pro] = proValue
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
//加粗
|
|
127
|
+
if (defineStyle.fontWeight) {
|
|
128
|
+
tempStyle['font-weight'] = 'bold'
|
|
129
|
+
}
|
|
130
|
+
//倾斜
|
|
131
|
+
if (defineStyle.incline) {
|
|
132
|
+
tempStyle['font-style'] = 'italic'
|
|
133
|
+
}
|
|
134
|
+
//字号
|
|
135
|
+
if (defineStyle.fontSize) {
|
|
136
|
+
tempStyle['font-size'] = defineStyle.fontSize
|
|
137
|
+
}
|
|
138
|
+
//颜色
|
|
139
|
+
if (defineStyle.color) {
|
|
140
|
+
tempStyle['color'] = defineStyle.color
|
|
141
|
+
}
|
|
142
|
+
if (defineStyle.textAlign) {
|
|
143
|
+
tempStyle['text-align'] = defineStyle.textAlign
|
|
144
|
+
}
|
|
145
|
+
//背景颜色
|
|
146
|
+
if (defineStyle.backgroundColor) {
|
|
147
|
+
tempStyle['background-color'] = defineStyle.backgroundColor
|
|
148
|
+
}
|
|
149
|
+
//背景图片 待设置
|
|
150
|
+
//内边距
|
|
151
|
+
if (defineStyle.paddingTop) {
|
|
152
|
+
tempStyle['padding-top'] = defineStyle.paddingTop + 'px'
|
|
153
|
+
}
|
|
154
|
+
if (defineStyle.paddingRight) {
|
|
155
|
+
tempStyle['padding-right'] = defineStyle.paddingRight + 'px'
|
|
156
|
+
}
|
|
157
|
+
if (defineStyle.paddingBottom) {
|
|
158
|
+
tempStyle['padding-bottom'] = defineStyle.paddingBottom + 'px'
|
|
159
|
+
}
|
|
160
|
+
if (defineStyle.paddingLeft) {
|
|
161
|
+
tempStyle['padding-left'] = defineStyle.paddingLeft + 'px'
|
|
162
|
+
}
|
|
163
|
+
//线宽
|
|
164
|
+
if (defineStyle.borderWidth && defineStyle.borderColor) {
|
|
165
|
+
tempStyle['border'] =
|
|
166
|
+
defineStyle.borderWidth +
|
|
167
|
+
'px ' +
|
|
168
|
+
(defineStyle.borderType ? defineStyle.borderType : 'solid') +
|
|
169
|
+
' ' +
|
|
170
|
+
defineStyle.borderColor
|
|
171
|
+
//线框圆角
|
|
172
|
+
if (defineStyle.radius) {
|
|
173
|
+
tempStyle['border-radius'] = defineStyle.radius + 'px'
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
//阴影
|
|
178
|
+
if (defineStyle.shadowColor) {
|
|
179
|
+
let shadow = (defineStyle.shadowTop ? defineStyle.shadowTop : '0') + 'px '
|
|
180
|
+
shadow += (defineStyle.shadowRight ? defineStyle.shadowRight : '0') + 'px '
|
|
181
|
+
shadow += (defineStyle.shadowBottom ? defineStyle.shadowBottom : '0') + 'px '
|
|
182
|
+
shadow += (defineStyle.shadowLeft ? defineStyle.shadowLeft : '0') + 'px '
|
|
183
|
+
shadow += defineStyle.shadowColor
|
|
184
|
+
tempStyle['box-shadow'] = shadow
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
//自定义class
|
|
188
|
+
if (defineStyle.customClass) {
|
|
189
|
+
tempClass += ' ' + defineStyle.customClass.replace(/;/g, ' ')
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
//自定义样式
|
|
193
|
+
if (defineStyle.customStyle) {
|
|
194
|
+
const strs = defineStyle.customStyle.replace(/[\r\n]/g, '').split(';')
|
|
195
|
+
for (let index = 0; index < strs.length; index++) {
|
|
196
|
+
const ss = strs[index].split(':')
|
|
197
|
+
if (ss.length > 1 && ss[0] && ss[1]) {
|
|
198
|
+
if (!isNaN(ss[0])) {
|
|
199
|
+
continue
|
|
200
|
+
}
|
|
201
|
+
tempStyle[ss[0]] = ss[1]
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
//标题的样式
|
|
206
|
+
//加粗
|
|
207
|
+
if (defineStyle.headerFontWeight) {
|
|
208
|
+
tempHeaderStyle['font-weight'] = 'bold'
|
|
209
|
+
}
|
|
210
|
+
//倾斜
|
|
211
|
+
if (defineStyle.headerIncline) {
|
|
212
|
+
tempHeaderStyle['font-style'] = 'italic'
|
|
213
|
+
}
|
|
214
|
+
//字号
|
|
215
|
+
if (defineStyle.headerFontSize) {
|
|
216
|
+
tempHeaderStyle['font-size'] = defineStyle.headerFontSize
|
|
217
|
+
}
|
|
218
|
+
//颜色
|
|
219
|
+
if (defineStyle.headerColor) {
|
|
220
|
+
tempHeaderStyle['color'] = defineStyle.headerColor
|
|
221
|
+
}
|
|
222
|
+
if (defineStyle.headerTextAlign) {
|
|
223
|
+
tempHeaderStyle['text-align'] = defineStyle.headerTextAlign
|
|
224
|
+
} else {
|
|
225
|
+
tempHeaderStyle['text-align'] = 'left'
|
|
226
|
+
}
|
|
227
|
+
//背景颜色
|
|
228
|
+
if (defineStyle.headerBackgroundColor) {
|
|
229
|
+
tempHeaderStyle['background-color'] = defineStyle.headerBackgroundColor
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
designStyle.value = tempStyle
|
|
233
|
+
designClass.value = tempClass
|
|
234
|
+
if (designHeaderStyle) {
|
|
235
|
+
designHeaderStyle.value = tempHeaderStyle
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { PageDesign } from '
|
|
2
|
-
import type { Component, PageContext } from '../interfaces/page-design-types'
|
|
1
|
+
import type { Component, PageContext, PageDesign } from '../../utils/interfaces/page-design-types'
|
|
3
2
|
import { isPromise } from 'agilebuilder-ui/src/utils/common-util'
|
|
4
3
|
import { standardEvents, dealAfterOperate, judgeDataNumber } from './standard-event'
|
|
5
4
|
import { validateDataModelFunc } from './validator-util'
|
|
6
|
-
import { getComponentRef } from '
|
|
5
|
+
import { getComponentRef } from '../../utils/global-refs'
|
|
7
6
|
import { ElMessage } from 'element-plus'
|
|
8
7
|
import { analysisCondition } from 'agilebuilder-ui/src/utils/util'
|
|
9
8
|
import { getListCode } from '../common-util'
|
|
@@ -10,7 +10,7 @@ import { getI18n } from 'agilebuilder-ui/src/utils/util'
|
|
|
10
10
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
11
11
|
import { useRoute } from 'vue-router'
|
|
12
12
|
import { setSessionCache, getToken } from 'agilebuilder-ui/src/utils/auth'
|
|
13
|
-
import { getComponentRef } from '
|
|
13
|
+
import { getComponentRef } from '../../utils/global-refs'
|
|
14
14
|
// import eventBus from '../eventBus'
|
|
15
15
|
import axios from 'axios'
|
|
16
16
|
import { doAfterClickEvent } from './event-util'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Validator from 'async-validator'
|
|
2
2
|
import { ElMessage, ElMessage as Message } from 'element-plus'
|
|
3
|
-
import { getComponentRef } from '
|
|
3
|
+
import { getComponentRef } from '../../utils/global-refs'
|
|
4
4
|
import { getI18n } from 'agilebuilder-ui/src/utils/util'
|
|
5
5
|
|
|
6
6
|
export function setObjectPropRule(prop, rules, leafRule) {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
3
|
+
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
4
|
+
"exclude": ["src/**/__tests__/*"],
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"composite": true,
|
|
7
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
8
|
+
|
|
9
|
+
"baseUrl": ".",
|
|
10
|
+
"paths": {
|
|
11
|
+
"@/*": ["./src/*"]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
3
|
+
"include": ["env.d.ts", "src/**/*", "src/**/*.vue", "main.ts", "package/components/index.ts"],
|
|
4
|
+
"exclude": ["src/**/__tests__/*"],
|
|
5
|
+
"compilerOptions": {
|
|
6
|
+
"composite": true,
|
|
7
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
8
|
+
|
|
9
|
+
"baseUrl": ".",
|
|
10
|
+
"paths": {
|
|
11
|
+
"@/*": ["./src/*"]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@tsconfig/node20/tsconfig.json",
|
|
3
|
+
"include": [
|
|
4
|
+
"vite.config.*",
|
|
5
|
+
"vitest.config.*",
|
|
6
|
+
"cypress.config.*",
|
|
7
|
+
"nightwatch.conf.*",
|
|
8
|
+
"playwright.config.*"
|
|
9
|
+
],
|
|
10
|
+
"compilerOptions": {
|
|
11
|
+
"composite": true,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
14
|
+
|
|
15
|
+
"module": "ESNext",
|
|
16
|
+
"moduleResolution": "Bundler",
|
|
17
|
+
"types": ["node"]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@tsconfig/node20/tsconfig.json",
|
|
3
|
+
"include": [
|
|
4
|
+
"vite.config.*",
|
|
5
|
+
"vitest.config.*",
|
|
6
|
+
"cypress.config.*",
|
|
7
|
+
"nightwatch.conf.*",
|
|
8
|
+
"playwright.config.*"
|
|
9
|
+
],
|
|
10
|
+
"compilerOptions": {
|
|
11
|
+
"composite": true,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
14
|
+
|
|
15
|
+
"module": "ESNext",
|
|
16
|
+
"moduleResolution": "Bundler",
|
|
17
|
+
"types": ["node"]
|
|
18
|
+
}
|
|
19
|
+
}
|