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,56 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
:style="runtimeStyle"
|
|
4
|
-
:class="runtimeClass"
|
|
5
|
-
class="amb-widget-chart"
|
|
6
|
-
ref="thisRef">
|
|
7
|
-
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script lang='ts' setup>
|
|
11
|
-
import {ref} from 'vue';
|
|
12
|
-
import {getCustomTheme} from '../../../../utils/charts/chart-util';
|
|
13
|
-
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
14
|
-
|
|
15
|
-
import { use } from 'echarts/core';
|
|
16
|
-
import { CanvasRenderer } from 'echarts/renderers';
|
|
17
|
-
import {RadarChart} from 'echarts/charts';
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
LegendComponent,
|
|
21
|
-
GridComponent,
|
|
22
|
-
TitleComponent,
|
|
23
|
-
TooltipComponent,
|
|
24
|
-
ToolboxComponent
|
|
25
|
-
} from 'echarts/components';
|
|
26
|
-
|
|
27
|
-
//统计图
|
|
28
|
-
use([
|
|
29
|
-
CanvasRenderer,
|
|
30
|
-
RadarChart,
|
|
31
|
-
GridComponent,
|
|
32
|
-
TitleComponent,
|
|
33
|
-
TooltipComponent,
|
|
34
|
-
ToolboxComponent,
|
|
35
|
-
LegendComponent
|
|
36
|
-
]);
|
|
37
|
-
|
|
38
|
-
import VChart from 'vue-echarts';
|
|
39
|
-
|
|
40
|
-
interface MyProps{
|
|
41
|
-
pageContext:PageContext,
|
|
42
|
-
configure:Component
|
|
43
|
-
}
|
|
44
|
-
const props = defineProps<MyProps>();
|
|
45
|
-
//自身引用
|
|
46
|
-
const thisRef = ref(null);
|
|
47
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
48
|
-
//运行时的自身详细参数
|
|
49
|
-
const runtimeStyle = runtimeInfo.style;
|
|
50
|
-
const runtimeClass = runtimeInfo.class;
|
|
51
|
-
|
|
52
|
-
const chartOption:any = runtimeInfo.chartOption;
|
|
53
|
-
//自定义主题
|
|
54
|
-
const configureProps = props.configure.props?props.configure.props:{};
|
|
55
|
-
const customTheme:any = getCustomTheme(configureProps.customTheme);
|
|
56
|
-
</script>
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
:style="runtimeStyle"
|
|
4
|
-
:class="runtimeClass"
|
|
5
|
-
class="amb-widget-chart"
|
|
6
|
-
ref="thisRef">
|
|
7
|
-
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script lang='ts' setup>
|
|
11
|
-
import {ref} from 'vue';
|
|
12
|
-
import {getCustomTheme} from '../../../../utils/charts/chart-util';
|
|
13
|
-
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
14
|
-
|
|
15
|
-
import { use } from 'echarts/core';
|
|
16
|
-
import { CanvasRenderer } from 'echarts/renderers';
|
|
17
|
-
import {ScatterChart} from 'echarts/charts';
|
|
18
|
-
|
|
19
|
-
import {
|
|
20
|
-
GridComponent,
|
|
21
|
-
LegendComponent,
|
|
22
|
-
TitleComponent,
|
|
23
|
-
TooltipComponent,
|
|
24
|
-
ToolboxComponent,
|
|
25
|
-
DataZoomComponent
|
|
26
|
-
} from 'echarts/components';
|
|
27
|
-
|
|
28
|
-
//统计图
|
|
29
|
-
use([
|
|
30
|
-
CanvasRenderer,
|
|
31
|
-
ScatterChart,
|
|
32
|
-
GridComponent,
|
|
33
|
-
LegendComponent,
|
|
34
|
-
TitleComponent,
|
|
35
|
-
TooltipComponent,
|
|
36
|
-
ToolboxComponent,
|
|
37
|
-
DataZoomComponent
|
|
38
|
-
]);
|
|
39
|
-
|
|
40
|
-
import VChart from 'vue-echarts';
|
|
41
|
-
|
|
42
|
-
interface MyProps{
|
|
43
|
-
pageContext:PageContext,
|
|
44
|
-
configure:Component
|
|
45
|
-
}
|
|
46
|
-
const props = defineProps<MyProps>();
|
|
47
|
-
//自身引用
|
|
48
|
-
const thisRef = ref(null);
|
|
49
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
50
|
-
//运行时的自身详细参数
|
|
51
|
-
const runtimeStyle = runtimeInfo.style;
|
|
52
|
-
const runtimeClass = runtimeInfo.class;
|
|
53
|
-
|
|
54
|
-
const chartOption:any = runtimeInfo.chartOption;
|
|
55
|
-
//自定义主题
|
|
56
|
-
const configureProps = props.configure.props?props.configure.props:{};
|
|
57
|
-
const customTheme:any = getCustomTheme(configureProps.customTheme);
|
|
58
|
-
</script>
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-dialog
|
|
3
|
-
:show-close="true"
|
|
4
|
-
:append-to-body="true"
|
|
5
|
-
:title="$t('superPageRuntimeMessage.selectTemplate')"
|
|
6
|
-
model-value
|
|
7
|
-
@close="closeExportForm"
|
|
8
|
-
>
|
|
9
|
-
<el-table :data="templateFiles" style="width: 100%">
|
|
10
|
-
<el-table-column :label="$t('superPageRuntimeMessage.temlpate')" prop="templateShowPath">
|
|
11
|
-
<template v-slot="scope">
|
|
12
|
-
{{ scope.row.templateShowPath }}
|
|
13
|
-
</template>
|
|
14
|
-
</el-table-column>
|
|
15
|
-
<el-table-column :label="$t('superPageRuntimeMessage.operating')" width="200" fixed="right">
|
|
16
|
-
<template v-slot="scope">
|
|
17
|
-
<el-button type="text" size="small" @click="exportForm(scope.row)">
|
|
18
|
-
{{ $t('superPageRuntimeMessage.export') }}
|
|
19
|
-
</el-button>
|
|
20
|
-
</template>
|
|
21
|
-
</el-table-column>
|
|
22
|
-
</el-table>
|
|
23
|
-
</el-dialog>
|
|
24
|
-
</template>
|
|
25
|
-
<script lang='ts' setup>
|
|
26
|
-
import { onMounted, ref } from 'vue'
|
|
27
|
-
import {packageTemplateFiles} from '../../../utils/common-util'
|
|
28
|
-
const props = defineProps({
|
|
29
|
-
configure: {
|
|
30
|
-
type: Object,
|
|
31
|
-
required: true
|
|
32
|
-
},
|
|
33
|
-
pageContext: {
|
|
34
|
-
type: Object
|
|
35
|
-
}
|
|
36
|
-
})
|
|
37
|
-
const emits = defineEmits(['export', 'close'])
|
|
38
|
-
const prefix = '${'
|
|
39
|
-
const suffix = '}'
|
|
40
|
-
const templateFiles = ref([])
|
|
41
|
-
const fields = ref([])
|
|
42
|
-
const configureBase = props.configure.props.base
|
|
43
|
-
const dataModel = props.pageContext.entity.data
|
|
44
|
-
onMounted(() => {
|
|
45
|
-
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
46
|
-
templateFiles.value = packageTemplateFiles(configureBase.templateFiles)
|
|
47
|
-
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
48
|
-
templateFiles.value.push({
|
|
49
|
-
templateUUID: configureBase.templateUUID,
|
|
50
|
-
templateShowPath: configureBase.templateShowPath
|
|
51
|
-
})
|
|
52
|
-
}
|
|
53
|
-
templateFiles.value.forEach((item) => {
|
|
54
|
-
if (item && item.templateShowPath) {
|
|
55
|
-
item.templateShowPath = formatTemplateShowPath(item.templateShowPath)
|
|
56
|
-
}
|
|
57
|
-
})
|
|
58
|
-
})
|
|
59
|
-
|
|
60
|
-
function getFileds(templateShowPath) {
|
|
61
|
-
console.log('templateShowPath', templateShowPath)
|
|
62
|
-
let field
|
|
63
|
-
let formatStr
|
|
64
|
-
let newValue = templateShowPath
|
|
65
|
-
const prefixIndex = newValue.indexOf(prefix)
|
|
66
|
-
const suffixIndex = newValue.indexOf(suffix)
|
|
67
|
-
console.log('prefixIndex', prefixIndex)
|
|
68
|
-
console.log('suffixIndex', suffixIndex)
|
|
69
|
-
if (prefixIndex !== -1 && suffixIndex !== -1) {
|
|
70
|
-
if (prefixIndex > suffixIndex) {
|
|
71
|
-
newValue =
|
|
72
|
-
newValue.substring(0, suffixIndex) +
|
|
73
|
-
newValue.substring(suffixIndex + suffix.length)
|
|
74
|
-
console.log('non replacement value === newValue', newValue)
|
|
75
|
-
} else {
|
|
76
|
-
field = newValue.substring(
|
|
77
|
-
prefixIndex + prefix.length,
|
|
78
|
-
suffixIndex
|
|
79
|
-
)
|
|
80
|
-
formatStr = newValue.substring(
|
|
81
|
-
prefixIndex,
|
|
82
|
-
suffixIndex + suffix.length
|
|
83
|
-
)
|
|
84
|
-
console.log('field', field)
|
|
85
|
-
console.log('formatStr', formatStr)
|
|
86
|
-
fields.value.push(field)
|
|
87
|
-
console.log('fields', fields.value)
|
|
88
|
-
newValue = newValue.replace(formatStr, '')
|
|
89
|
-
console.log('newValue', newValue)
|
|
90
|
-
}
|
|
91
|
-
return getFileds(newValue)
|
|
92
|
-
}
|
|
93
|
-
return fields.value
|
|
94
|
-
}
|
|
95
|
-
function formatTemplateShowPath(templateShowPath) {
|
|
96
|
-
const fields = getFileds(templateShowPath)
|
|
97
|
-
console.log('fields', fields)
|
|
98
|
-
|
|
99
|
-
fields.forEach((field) => {
|
|
100
|
-
const formatStr = prefix + field + suffix
|
|
101
|
-
let formatValue
|
|
102
|
-
if (
|
|
103
|
-
templateShowPath.indexOf(formatStr) !== -1 &&
|
|
104
|
-
dataModel.hasOwnProperty(field)
|
|
105
|
-
) {
|
|
106
|
-
formatValue = dataModel[field] ? dataModel[field] : ''
|
|
107
|
-
templateShowPath = templateShowPath.replace(formatStr, formatValue)
|
|
108
|
-
}
|
|
109
|
-
})
|
|
110
|
-
return templateShowPath
|
|
111
|
-
}
|
|
112
|
-
function exportForm(row) {
|
|
113
|
-
emits('export', row)
|
|
114
|
-
}
|
|
115
|
-
function closeExportForm() {
|
|
116
|
-
emits('close')
|
|
117
|
-
}
|
|
118
|
-
</script>
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-container ref="thisRef">
|
|
3
|
-
<el-aside
|
|
4
|
-
v-if="configure.props.useLeft"
|
|
5
|
-
:style="leftStyle">
|
|
6
|
-
<template v-for="(element,itemIndex) in configure.leftAslides" :key="element.uuid">
|
|
7
|
-
<ObjectRender
|
|
8
|
-
:pageContext="pageContext"
|
|
9
|
-
:configure="element"></ObjectRender>
|
|
10
|
-
</template>
|
|
11
|
-
</el-aside>
|
|
12
|
-
<el-main
|
|
13
|
-
:style="mainStyle"
|
|
14
|
-
:class="mainClass">
|
|
15
|
-
<template v-for="(element,itemIndex) in configure.items" :key="element.uuid">
|
|
16
|
-
<ObjectRender
|
|
17
|
-
:pageContext="pageContext"
|
|
18
|
-
:configure="element"></ObjectRender>
|
|
19
|
-
</template>
|
|
20
|
-
</el-main>
|
|
21
|
-
<el-aside
|
|
22
|
-
v-if="configure.props.useRight"
|
|
23
|
-
:style="rightStyle">
|
|
24
|
-
<template v-for="(element,itemIndex) in configure.rightAslides" :key="element.uuid">
|
|
25
|
-
<ObjectRender
|
|
26
|
-
:pageContext="pageContext"
|
|
27
|
-
:configure="element"></ObjectRender>
|
|
28
|
-
</template>
|
|
29
|
-
</el-aside>
|
|
30
|
-
</el-container>
|
|
31
|
-
</template>
|
|
32
|
-
<script lang='ts' setup>
|
|
33
|
-
import {ref,onMounted} from 'vue';
|
|
34
|
-
import ObjectRender from '../../object-render.vue'
|
|
35
|
-
import type { Component,PageContext} from '@/components/design/utils/interfaces/page-design-types';
|
|
36
|
-
import {addComponentRef} from '../../../../utils/global-refs';
|
|
37
|
-
interface MyProps{
|
|
38
|
-
pageContext:PageContext,
|
|
39
|
-
configure:Component
|
|
40
|
-
}
|
|
41
|
-
const props = defineProps<MyProps>();
|
|
42
|
-
//自身引用
|
|
43
|
-
const thisRef = ref(null);
|
|
44
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
45
|
-
//运行时的自身详细参数
|
|
46
|
-
const leftStyle = runtimeInfo.leftStyle;
|
|
47
|
-
const rightStyle = runtimeInfo.rightStyle;
|
|
48
|
-
const mainStyle = runtimeInfo.style;
|
|
49
|
-
const mainClass = runtimeInfo.class;
|
|
50
|
-
</script>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-row
|
|
3
|
-
ref="thisRef"
|
|
4
|
-
:justify="designProperty.flexJustify"
|
|
5
|
-
:gutter="designProperty.flexGutter"
|
|
6
|
-
:align="designProperty.alignItems"
|
|
7
|
-
:style="runtimeStyle"
|
|
8
|
-
:class="runtimeClass">
|
|
9
|
-
<template v-for="(element,itemIndex) in configure.items" :key="element.uuid">
|
|
10
|
-
<ObjectRender
|
|
11
|
-
:pageContext="pageContext"
|
|
12
|
-
:configure="element"></ObjectRender>
|
|
13
|
-
</template>
|
|
14
|
-
</el-row>
|
|
15
|
-
</template>
|
|
16
|
-
<script lang='ts' setup>
|
|
17
|
-
import {ref,onMounted} from 'vue';
|
|
18
|
-
import ObjectRender from '../../object-render.vue'
|
|
19
|
-
import type { Component,PageContext} from '@/components/design/utils/interfaces/page-design-types';
|
|
20
|
-
import {addComponentRef} from '../../../../utils/global-refs';
|
|
21
|
-
interface MyProps{
|
|
22
|
-
pageContext:PageContext,
|
|
23
|
-
configure:Component
|
|
24
|
-
}
|
|
25
|
-
const props = defineProps<MyProps>();
|
|
26
|
-
//自身引用
|
|
27
|
-
const thisRef = ref(null);
|
|
28
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
29
|
-
//运行时的自身详细参数
|
|
30
|
-
const runtimeStyle = runtimeInfo.style;
|
|
31
|
-
const runtimeClass = runtimeInfo.class;
|
|
32
|
-
const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
|
|
33
|
-
</script>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-form
|
|
3
|
-
ref="thisRef"
|
|
4
|
-
:label-width="runtimeProps.labelWidth"
|
|
5
|
-
:label-position="runtimeProps.labelPosition"
|
|
6
|
-
:size="runtimeProps.componentSize"
|
|
7
|
-
:style="runtimeStyle"
|
|
8
|
-
:class="runtimeClass">
|
|
9
|
-
<template v-for="(element,itemIndex) in configure.items" :key="element.uuid">
|
|
10
|
-
<ObjectRender
|
|
11
|
-
:pageContext="pageContext"
|
|
12
|
-
:configure="element"></ObjectRender>
|
|
13
|
-
</template>
|
|
14
|
-
</el-form>
|
|
15
|
-
</template>
|
|
16
|
-
<script lang='ts' setup>
|
|
17
|
-
import {ref,onMounted} from 'vue';
|
|
18
|
-
import ObjectRender from '../../object-render.vue'
|
|
19
|
-
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
20
|
-
import {addComponentRef} from '../../../../utils/global-refs';
|
|
21
|
-
interface MyProps{
|
|
22
|
-
pageContext:PageContext,
|
|
23
|
-
configure:Component
|
|
24
|
-
}
|
|
25
|
-
const props = defineProps<MyProps>();
|
|
26
|
-
if(!props.configure.items){
|
|
27
|
-
props.configure.items = [];
|
|
28
|
-
}
|
|
29
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
30
|
-
//运行时配置
|
|
31
|
-
const runtimeProps:any = runtimeInfo.props?runtimeInfo.props:{};
|
|
32
|
-
//定义自身详细参数
|
|
33
|
-
const runtimeStyle = runtimeInfo.style;
|
|
34
|
-
const runtimeClass = runtimeInfo.class;
|
|
35
|
-
</script>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<iframe
|
|
3
|
-
ref="thisRef"
|
|
4
|
-
:src="configure.props.src"
|
|
5
|
-
class="amb-widget-container-iframe"
|
|
6
|
-
:style="runtimeStyle"
|
|
7
|
-
:class="runtimeClass">
|
|
8
|
-
</iframe>
|
|
9
|
-
</template>
|
|
10
|
-
<script lang='ts' setup>
|
|
11
|
-
import {ref,onMounted} from 'vue';
|
|
12
|
-
import type { Component,PageContext} from '@/components/design/utils/interfaces/page-design-types';
|
|
13
|
-
import {addComponentRef} from '../../../../utils/global-refs';
|
|
14
|
-
interface MyProps{
|
|
15
|
-
pageContext:PageContext,
|
|
16
|
-
configure:Component,
|
|
17
|
-
indexObj:any,
|
|
18
|
-
selectWidget:any
|
|
19
|
-
}
|
|
20
|
-
const props = defineProps<MyProps>();
|
|
21
|
-
|
|
22
|
-
//自身引用
|
|
23
|
-
const thisRef = ref(null);
|
|
24
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
25
|
-
//运行时的自身详细参数
|
|
26
|
-
const runtimeStyle = runtimeInfo.style;
|
|
27
|
-
const runtimeClass = runtimeInfo.class;
|
|
28
|
-
</script>
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="amb-widget-tools-parent">
|
|
3
|
-
<div
|
|
4
|
-
class="amb-widget-container-tool amb-widget-tools"
|
|
5
|
-
:style="runtimeStyle"
|
|
6
|
-
:class="runtimeClass"
|
|
7
|
-
ref="thisRef">
|
|
8
|
-
<template v-for="(element,itemIndex) in configure.items" :key="element.uuid">
|
|
9
|
-
<ObjectRender
|
|
10
|
-
:pageContext="pageContext"
|
|
11
|
-
:configure="element"></ObjectRender>
|
|
12
|
-
</template>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
<script lang='ts' setup>
|
|
17
|
-
import {ref,onMounted,onUnmounted} from 'vue';
|
|
18
|
-
import ObjectRender from '../../object-render.vue'
|
|
19
|
-
import type { Component,PageContext} from '@/components/design/utils/interfaces/page-design-types';
|
|
20
|
-
import {addComponentRef} from '../../../../utils/global-refs';
|
|
21
|
-
interface MyProps{
|
|
22
|
-
pageContext:PageContext,
|
|
23
|
-
configure:Component
|
|
24
|
-
}
|
|
25
|
-
const props = defineProps<MyProps>();
|
|
26
|
-
|
|
27
|
-
//自身引用
|
|
28
|
-
const thisRef:any = ref(null);
|
|
29
|
-
const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
|
|
30
|
-
//运行时的自身详细参数
|
|
31
|
-
const runtimeStyle = ref(runtimeInfo.style?runtimeInfo.style:{});
|
|
32
|
-
const runtimeClass = runtimeInfo.class;
|
|
33
|
-
|
|
34
|
-
//加载后的事件
|
|
35
|
-
let resizeObserver:any=null;
|
|
36
|
-
onMounted(()=>{
|
|
37
|
-
//监控父容器的变化
|
|
38
|
-
if(thisRef.value&&thisRef.value.parentNode){
|
|
39
|
-
const resizeObserver = new ResizeObserver(entries => {
|
|
40
|
-
for (let entry of entries) {
|
|
41
|
-
//console.log('Element:', entry.target,entry.contentRect);
|
|
42
|
-
//console.log(`Element size: ${entry.contentRect.width}px x ${entry.contentRect.height}px`);
|
|
43
|
-
//console.log(`Element padding: ${entry.contentRect.top}px ; ${entry.contentRect.left}px`);
|
|
44
|
-
}
|
|
45
|
-
caculatePositionStyle();
|
|
46
|
-
});
|
|
47
|
-
// 添加监听器到需要观察的 DOM 元素
|
|
48
|
-
resizeObserver.observe(thisRef.value.parentNode);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
onUnmounted(() => {
|
|
52
|
-
if (resizeObserver) {
|
|
53
|
-
resizeObserver.disconnect();
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
/**
|
|
57
|
-
* 计算工具栏特有的样式
|
|
58
|
-
*/
|
|
59
|
-
function caculatePositionStyle(){
|
|
60
|
-
if(thisRef.value&&thisRef.value.parentNode){
|
|
61
|
-
//位置计算
|
|
62
|
-
const thisProps = props.configure.props;
|
|
63
|
-
const position = thisProps.position;
|
|
64
|
-
if(position=='top1'||position=='bottom1'){
|
|
65
|
-
const tempStyle:any = {};
|
|
66
|
-
//position: -webkit-sticky
|
|
67
|
-
tempStyle['position'] = 'fixed !important';
|
|
68
|
-
tempStyle['z-index'] = '1';
|
|
69
|
-
//找展示容器的位置
|
|
70
|
-
//const contentObj = document.getElementsByClassName("amb-design-board");
|
|
71
|
-
const contentObj = [thisRef.value.parentNode];
|
|
72
|
-
if(contentObj&&contentObj.length>0){
|
|
73
|
-
const contentRec = contentObj[0].getBoundingClientRect();
|
|
74
|
-
if(position=='top'){
|
|
75
|
-
tempStyle['top'] = contentRec.top+"px";
|
|
76
|
-
}
|
|
77
|
-
if(position=='bottom'){
|
|
78
|
-
tempStyle['bottom'] = "10px";
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
//与父类一样宽
|
|
82
|
-
const parentRec = thisRef.value.parentNode.getBoundingClientRect();
|
|
83
|
-
console.log("parentRec",parentRec)
|
|
84
|
-
tempStyle['width'] = parentRec.width-25+"px";
|
|
85
|
-
|
|
86
|
-
//
|
|
87
|
-
//设置到对象中
|
|
88
|
-
Object.assign(runtimeStyle.value,tempStyle);
|
|
89
|
-
/**const contentObj = document.getElementsByClassName("amb-design-content");
|
|
90
|
-
if(contentObj&&contentObj.length>0){
|
|
91
|
-
console.log("contentObj.scrollY",contentObj[0].getBoundingClientRect());
|
|
92
|
-
const absoluteTop = rect.top + contentObj.scrollY;
|
|
93
|
-
}*/
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
</script>
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-form label-width="80px" size="small">
|
|
3
|
-
<el-collapse v-model="openCollapseItems" style="margin-top:6px;">
|
|
4
|
-
<el-collapse-item
|
|
5
|
-
title="基本"
|
|
6
|
-
name="base"
|
|
7
|
-
class="amb-design-attr-group-header">
|
|
8
|
-
<div style="padding:8px 0px 0px 0px;">
|
|
9
|
-
<el-form-item label="组件类型" class="amb-design-attr-item">
|
|
10
|
-
<el-select v-model="configure.name" placeholder="请选择" >
|
|
11
|
-
<el-option
|
|
12
|
-
v-for="item in getFormComponentOptions()"
|
|
13
|
-
:key="item.name"
|
|
14
|
-
:label="item.label"
|
|
15
|
-
:value="item.name"
|
|
16
|
-
/>
|
|
17
|
-
</el-select>
|
|
18
|
-
</el-form-item>
|
|
19
|
-
<el-form-item label="组件名" class="amb-design-attr-item">
|
|
20
|
-
<el-input v-model="configure.props.base.name" placeholder="请输入" />
|
|
21
|
-
</el-form-item>
|
|
22
|
-
<el-form-item label="条码类型" class="amb-design-attr-item">
|
|
23
|
-
<el-radio-group v-model="configure.props.base.type" class="ml-4">
|
|
24
|
-
<el-radio value="br-code">条形码</el-radio>
|
|
25
|
-
<el-radio value="QR-code">二维码</el-radio>
|
|
26
|
-
</el-radio-group>
|
|
27
|
-
</el-form-item>
|
|
28
|
-
<el-form-item label="条形码格式" class="amb-design-attr-item">
|
|
29
|
-
<el-select
|
|
30
|
-
v-model="configure.props.base.format"
|
|
31
|
-
placeholder="请选择"
|
|
32
|
-
>
|
|
33
|
-
<el-option label="默认" value="CODE128"/>
|
|
34
|
-
<el-option label="CODE128A" value="CODE128A"/>
|
|
35
|
-
<el-option label="CODE128B" value="CODE128B"/>
|
|
36
|
-
<el-option label="CODE128C" value="CODE128C"/>
|
|
37
|
-
<el-option label="CODE39" value="CODE39"/>
|
|
38
|
-
<el-option label="EAN-13" value="EAN-13"/>
|
|
39
|
-
<el-option label="EAN-8" value="EAN-8"/>
|
|
40
|
-
<el-option label="EAN-5" value="EAN-5"/>
|
|
41
|
-
<el-option label="EAN-2" value="EAN-2"/>
|
|
42
|
-
<el-option label="UPC(A)" value="UPC(A)"/>
|
|
43
|
-
<el-option label="ITF" value="ITF"/>
|
|
44
|
-
<el-option label="ITF-14" value="ITF-14"/>
|
|
45
|
-
<el-option label="MSI" value="MSI"/>
|
|
46
|
-
<el-option label="MSI10" value="MSI10"/>
|
|
47
|
-
<el-option label="MSI11" value="MSI11"/>
|
|
48
|
-
<el-option label="MSI1010" value="MSI1010"/>
|
|
49
|
-
<el-option label="MSI1110" value="MSI1110"/>
|
|
50
|
-
<el-option label="Pharmacode" value="Pharmacode"/>
|
|
51
|
-
</el-select>
|
|
52
|
-
</el-form-item>
|
|
53
|
-
<el-form-item label="状态" class="amb-design-attr-item">
|
|
54
|
-
<el-radio-group v-model="configure.props.base.state" class="ml-4">
|
|
55
|
-
<el-radio value="default">普通</el-radio>
|
|
56
|
-
<el-radio value="hidden">隐藏</el-radio>
|
|
57
|
-
</el-radio-group>
|
|
58
|
-
</el-form-item>
|
|
59
|
-
</div>
|
|
60
|
-
</el-collapse-item>
|
|
61
|
-
<el-collapse-item
|
|
62
|
-
title="数据"
|
|
63
|
-
name="data"
|
|
64
|
-
class="amb-design-attr-group-header">
|
|
65
|
-
<div style="padding:8px 0px 0px 0px;">
|
|
66
|
-
<el-form-item label="绑定" class="amb-design-attr-item">
|
|
67
|
-
<el-radio-group v-model="configure.props.base.way" class="ml-4">
|
|
68
|
-
<el-radio value="data">绑定变量</el-radio>
|
|
69
|
-
<el-radio value="regulation">绑定规则</el-radio>
|
|
70
|
-
</el-radio-group>
|
|
71
|
-
</el-form-item>
|
|
72
|
-
<el-form-item v-if="configure.props.base.way === 'data'" label="绑定变量" class="amb-design-attr-item">
|
|
73
|
-
<DataoriginInputtable v-model:modelValue="configure.props.base.bindProp"></DataoriginInputtable>
|
|
74
|
-
</el-form-item>
|
|
75
|
-
<el-form-item v-if="configure.props.base.way === 'regulation'" label="绑定规则" class="amb-design-attr-item">
|
|
76
|
-
<DataoriginInputtable v-model:modelValue="configure.props.base.regulation"></DataoriginInputtable>
|
|
77
|
-
</el-form-item>
|
|
78
|
-
<div v-if="dataRule">
|
|
79
|
-
<el-form-item v-for="(item,index) in dataRule" :key="index" :label="item.name" class="amb-design-attr-item">
|
|
80
|
-
<DataoriginInputtable v-model:modelValue="item.date"></DataoriginInputtable>
|
|
81
|
-
</el-form-item>
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</el-collapse-item>
|
|
85
|
-
<CommonAttrSize :size="configure.props.size" />
|
|
86
|
-
</el-collapse>
|
|
87
|
-
</el-form>
|
|
88
|
-
</template>
|
|
89
|
-
<script lang='ts' setup>
|
|
90
|
-
import { ref } from 'vue';
|
|
91
|
-
import { getFormComponentOptions } from '../../../../utils/assemblys-config.js'
|
|
92
|
-
import Verification from '../../form/common/verification.vue'
|
|
93
|
-
import CommonAttrSize from '../../common/common-attr-size.vue'
|
|
94
|
-
import Title from '../../form/common/title.vue'
|
|
95
|
-
import PreSuffix from '../../form/common/pre-suffix.vue'
|
|
96
|
-
import DataoriginInputtable from '../../form/common/dataorigin-input-table.vue'
|
|
97
|
-
import BarCodeRule from '../../form/common/bar-code-rule.vue'
|
|
98
|
-
|
|
99
|
-
defineProps({
|
|
100
|
-
configure: Object,
|
|
101
|
-
default: () => ({props: {}})
|
|
102
|
-
});
|
|
103
|
-
const openCollapseItems = ref("")
|
|
104
|
-
const dataRule = ref([])
|
|
105
|
-
const BarCodeRuleOff = ref(false)
|
|
106
|
-
function barCodeRuleSelect(selectArr:[]) {
|
|
107
|
-
dataRule.value = selectArr
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
</script>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="amb-design-attr-content">
|
|
3
|
-
<AttrHeader v-model="currentConfigType"/>
|
|
4
|
-
<div class="amb-design-attr-list">
|
|
5
|
-
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
-
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
-
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
<script lang='ts' setup>
|
|
12
|
-
import AttrBase from './barcode-attr-base.vue';
|
|
13
|
-
import AttrStyle from './barcode-attr-style.vue';
|
|
14
|
-
import AttrHeader from '../../form/common/attr-header.vue'
|
|
15
|
-
import AttrEvent from './barcode-attr-event.vue';
|
|
16
|
-
import { ref } from 'vue';
|
|
17
|
-
|
|
18
|
-
defineProps({
|
|
19
|
-
configure: {
|
|
20
|
-
type: Object,
|
|
21
|
-
default: () => ({ title: 'Text',props: {type: 'input-text'} }) // 设置默认值
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
let currentConfigType = ref("base")
|
|
25
|
-
|
|
26
|
-
</script>
|
|
27
|
-
<style >
|
|
28
|
-
@import '../../../../../../assets/design-attr.css';
|
|
29
|
-
</style>
|