super-page-runtime 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +26 -0
- package/.prettierrc.json +8 -0
- package/{src → components}/index.ts +3 -3
- package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue +5 -2
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
- package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue +4 -1
- package/{src/components → components}/runtime/views/assemblys/container/collapse/collapse-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
- package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue +5 -2
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
- package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue +12 -6
- package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue +10 -7
- package/{src/components → components}/runtime/views/assemblys/data/table/table-runtime.vue +2 -2
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
- package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
- package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +6 -3
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
- package/{src/components → components}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +5 -2
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
- package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +7 -4
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
- package/{src/components → components}/runtime/views/assemblys/form/radio/radio-runtime.vue +10 -4
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
- package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue +11 -5
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
- package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue +6 -3
- package/{src/components → components}/runtime/views/assemblys/object-render.vue +6 -6
- package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +1 -1
- package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
- package/{src/components → components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +20 -17
- package/{src/components → components}/runtime/views/super-page.vue +13 -8
- package/cypress/e2e/example.cy.ts +8 -0
- package/cypress/e2e/tsconfig.json +10 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.ts +39 -0
- package/cypress/support/e2e.ts +20 -0
- package/cypress.config.ts +8 -0
- package/env.d.ts +1 -0
- package/index.html +13 -0
- package/lib/components/index.d.ts +5 -0
- package/{dist/lib → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/{dist/lib → lib}/components/runtime/views/super-page.vue.d.ts +1 -1
- package/{dist/lib → lib}/index.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +5 -5
- package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -8
- package/lib/src/utils/charts/chart-util.js +15 -0
- package/{dist/es/components/runtime → lib/src}/utils/events/event-util.d.ts +1 -1
- package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -1
- package/lib/wf-editor/wf-editor.css +4 -0
- package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +3 -3
- package/package-ws.json +70 -0
- package/package.json +3 -7
- package/src/utils/charts/chart-util.ts +41 -0
- package/src/utils/container-style-util.ts +237 -0
- package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
- package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
- package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
- package/tsconfig copy.json +17 -0
- package/tsconfig.app copy.json +14 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +17 -0
- package/tsconfig.node copy.json +19 -0
- package/tsconfig.node.json +19 -0
- package/tsconfig.vitest copy.json +11 -0
- package/tsconfig.vitest.json +11 -0
- package/vite.config copy.ts +109 -0
- package/vite.config.ts +86 -0
- package/vitest.config.ts +14 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/es/assets/chart-themes/theme1.js +0 -8
- package/dist/es/assets/chart-themes/theme2.js +0 -8
- package/dist/es/assets/chart-themes/theme3.js +0 -8
- package/dist/es/components/runtime/index.js +0 -4
- package/dist/es/components/runtime/utils/api/api-util.js +0 -128
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/es/components/runtime/utils/common-util.js +0 -81
- package/dist/es/components/runtime/utils/events/event-util.js +0 -525
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1623
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -389
- package/dist/es/components/runtime/utils/global-refs.js +0 -65
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -9
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -503
- package/dist/es/components/runtime/utils/page-init-util.js +0 -200
- package/dist/es/components/runtime/utils/store-util.js +0 -17
- package/dist/es/components/runtime/utils/store.js +0 -4
- package/dist/es/components/runtime/utils/table-utils.js +0 -23
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -50
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -148
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -80
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -31
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -70
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -76
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -128
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -163
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
- package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/es/components/runtime/views/super-page.vue.js +0 -481
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
- package/dist/es/components/super-page-dialog/index.js +0 -4
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -75
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
- package/dist/es/components/wf-editor/index.js +0 -4
- package/dist/es/components/wf-editor/wf-editor.css +0 -4
- package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
- package/dist/es/index.d.ts +0 -5
- package/dist/es/index.js +0 -8
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.css +0 -4
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +0 -5
- package/src/components/runtime/utils/charts/chart-util.ts +0 -37
- package/src/components/runtime/utils/container-style-util.ts +0 -223
- package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
- package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
- package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
- package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
- package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
- package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
- package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
- package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
- package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
- package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
- package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
- package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
- package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
- package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
- package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
- package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
- package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
- package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
- package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
- package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
- package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
- package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
- package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
- /package/{src/App.vue → App.vue} +0 -0
- /package/{src/components → components}/runtime/index.ts +0 -0
- /package/{src/components → components}/runtime/utils/assemblys-config.js +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-cursor.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-attr-size.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-select-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-background.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-border.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-custom.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font-head.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-font.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-margin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-padding.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-position.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/common-style-shadow.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common/task-informition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/common-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/column-config.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/combinedHeader.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/composite-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/configuration-value.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/formatting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/querySetting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/return-set-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/component/select-data-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/error-render.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/colors/colors-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/analytic-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-header.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/condition.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-origin.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/default-value-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dimension-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/formatting-label.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/grid-num-select.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/linkage.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-height.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/overall-width.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/pre-suffix.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/rich-text.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/row-ul-li.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/setoption-table.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/size-input.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/suffixmodule.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/title.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/uploading.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/verification.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/common/voluntarily.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/rate/rate-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/slider/slider-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/text/text-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-events.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/page-attr.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/page/variable-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/combination.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -0
- /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -0
- /package/{src/components → components}/runtime/views/render/page-view.vue +0 -0
- /package/{src/components → components}/runtime/views/super-page copy.vue +0 -0
- /package/{src/components → components}/super-page-dialog/index.ts +0 -0
- /package/{src/components → components}/super-page-dialog/super-page-dialog.vue +0 -0
- /package/{src/components → components}/wf-editor/index.ts +0 -0
- /package/{src/components → components}/wf-editor/wf-editor.vue +0 -0
- /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
- /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
- /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
- /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
- /package/{dist/es → lib}/favicon.ico +0 -0
- /package/{dist/lib/components → lib}/runtime/index.js +0 -0
- /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme1.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme2.js +0 -0
- /package/{dist/lib → lib/src}/assets/chart-themes/theme3.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/api/api-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/api/api-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/common-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/common-util.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/event-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/standard-event.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/standard-event.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/events/validator-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/events/validator-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/global-refs.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/global-refs.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/interfaces/page-design-types.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/interfaces/page-design-types.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-helper-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-helper-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/page-init-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/page-init-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store-util.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store-util.js +0 -0
- /package/{dist/es/components/runtime → lib/src}/utils/store.d.ts +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/store.js +0 -0
- /package/{dist/lib/components/runtime → lib/src}/utils/table-utils.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
- /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
- /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
- /package/{src/main.ts → main.ts} +0 -0
- /package/{dist → public}/favicon.ico +0 -0
- /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
- /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
- /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
- /package/src/{components/runtime/utils → utils}/store.ts +0 -0
- /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
>
|
|
10
|
+
<template v-for="(element, itemIndex) in configure.items" :key="element.uuid">
|
|
11
|
+
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
12
|
+
</template>
|
|
13
|
+
</el-form>
|
|
14
|
+
</template>
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
import { ref, onMounted } from 'vue'
|
|
17
|
+
import ObjectRender from '../../object-render.vue'
|
|
18
|
+
import type {
|
|
19
|
+
Component,
|
|
20
|
+
PageContext
|
|
21
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
22
|
+
import { addComponentRef } from '../../../../../../src/utils/global-refs'
|
|
23
|
+
interface MyProps {
|
|
24
|
+
pageContext: PageContext
|
|
25
|
+
configure: Component
|
|
26
|
+
}
|
|
27
|
+
const props = defineProps<MyProps>()
|
|
28
|
+
if (!props.configure.items) {
|
|
29
|
+
props.configure.items = []
|
|
30
|
+
}
|
|
31
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
32
|
+
//运行时配置
|
|
33
|
+
const runtimeProps: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
34
|
+
//定义自身详细参数
|
|
35
|
+
const runtimeStyle = runtimeInfo.style
|
|
36
|
+
const runtimeClass = runtimeInfo.class
|
|
37
|
+
</script>
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
>
|
|
9
|
+
</iframe>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import { ref, onMounted } from 'vue'
|
|
13
|
+
import type {
|
|
14
|
+
Component,
|
|
15
|
+
PageContext
|
|
16
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
17
|
+
import { addComponentRef } from '../../../../../../src/utils/global-refs'
|
|
18
|
+
interface MyProps {
|
|
19
|
+
pageContext: PageContext
|
|
20
|
+
configure: Component
|
|
21
|
+
indexObj: any
|
|
22
|
+
selectWidget: any
|
|
23
|
+
}
|
|
24
|
+
const props = defineProps<MyProps>()
|
|
25
|
+
|
|
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
|
+
</script>
|
package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue
RENAMED
|
@@ -32,8 +32,11 @@ import { ref, onMounted } from 'vue'
|
|
|
32
32
|
import { ElTabs, ElTabPane } from 'element-plus'
|
|
33
33
|
import ObjectRender from '../../object-render.vue'
|
|
34
34
|
import { SuperIcon } from 'agilebuilder-ui'
|
|
35
|
-
import type {
|
|
36
|
-
|
|
35
|
+
import type {
|
|
36
|
+
Component,
|
|
37
|
+
PageContext
|
|
38
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
39
|
+
import { addComponentRef } from '../../../../../../src/utils/global-refs'
|
|
37
40
|
interface MyProps {
|
|
38
41
|
pageContext: PageContext
|
|
39
42
|
configure: Component
|
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
>
|
|
9
|
+
<template v-for="(element, itemIndex) in configure.items" :key="element.uuid">
|
|
10
|
+
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
11
|
+
</template>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
import { ref, onMounted, onUnmounted } from 'vue'
|
|
17
|
+
import ObjectRender from '../../object-render.vue'
|
|
18
|
+
import type {
|
|
19
|
+
Component,
|
|
20
|
+
PageContext
|
|
21
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
22
|
+
import { addComponentRef } from '../../../../../../src/utils/global-refs'
|
|
23
|
+
interface MyProps {
|
|
24
|
+
pageContext: PageContext
|
|
25
|
+
configure: Component
|
|
26
|
+
}
|
|
27
|
+
const props = defineProps<MyProps>()
|
|
28
|
+
|
|
29
|
+
//自身引用
|
|
30
|
+
const thisRef: any = ref(null)
|
|
31
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
32
|
+
//运行时的自身详细参数
|
|
33
|
+
const runtimeStyle = ref(runtimeInfo.style ? runtimeInfo.style : {})
|
|
34
|
+
const runtimeClass = runtimeInfo.class
|
|
35
|
+
|
|
36
|
+
//加载后的事件
|
|
37
|
+
let resizeObserver: any = null
|
|
38
|
+
onMounted(() => {
|
|
39
|
+
//监控父容器的变化
|
|
40
|
+
if (thisRef.value && thisRef.value.parentNode) {
|
|
41
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
42
|
+
for (let entry of entries) {
|
|
43
|
+
//console.log('Element:', entry.target,entry.contentRect);
|
|
44
|
+
//console.log(`Element size: ${entry.contentRect.width}px x ${entry.contentRect.height}px`);
|
|
45
|
+
//console.log(`Element padding: ${entry.contentRect.top}px ; ${entry.contentRect.left}px`);
|
|
46
|
+
}
|
|
47
|
+
caculatePositionStyle()
|
|
48
|
+
})
|
|
49
|
+
// 添加监听器到需要观察的 DOM 元素
|
|
50
|
+
resizeObserver.observe(thisRef.value.parentNode)
|
|
51
|
+
}
|
|
52
|
+
})
|
|
53
|
+
onUnmounted(() => {
|
|
54
|
+
if (resizeObserver) {
|
|
55
|
+
resizeObserver.disconnect()
|
|
56
|
+
}
|
|
57
|
+
})
|
|
58
|
+
/**
|
|
59
|
+
* 计算工具栏特有的样式
|
|
60
|
+
*/
|
|
61
|
+
function caculatePositionStyle() {
|
|
62
|
+
if (thisRef.value && thisRef.value.parentNode) {
|
|
63
|
+
//位置计算
|
|
64
|
+
const thisProps = props.configure.props
|
|
65
|
+
const position = thisProps.position
|
|
66
|
+
if (position == 'top1' || position == 'bottom1') {
|
|
67
|
+
const tempStyle: any = {}
|
|
68
|
+
//position: -webkit-sticky
|
|
69
|
+
tempStyle['position'] = 'fixed !important'
|
|
70
|
+
tempStyle['z-index'] = '1'
|
|
71
|
+
//找展示容器的位置
|
|
72
|
+
//const contentObj = document.getElementsByClassName("amb-design-board");
|
|
73
|
+
const contentObj = [thisRef.value.parentNode]
|
|
74
|
+
if (contentObj && contentObj.length > 0) {
|
|
75
|
+
const contentRec = contentObj[0].getBoundingClientRect()
|
|
76
|
+
if (position == 'top') {
|
|
77
|
+
tempStyle['top'] = contentRec.top + 'px'
|
|
78
|
+
}
|
|
79
|
+
if (position == 'bottom') {
|
|
80
|
+
tempStyle['bottom'] = '10px'
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
//与父类一样宽
|
|
84
|
+
const parentRec = thisRef.value.parentNode.getBoundingClientRect()
|
|
85
|
+
console.log('parentRec', parentRec)
|
|
86
|
+
tempStyle['width'] = parentRec.width - 25 + 'px'
|
|
87
|
+
|
|
88
|
+
//
|
|
89
|
+
//设置到对象中
|
|
90
|
+
Object.assign(runtimeStyle.value, tempStyle)
|
|
91
|
+
/**const contentObj = document.getElementsByClassName("amb-design-content");
|
|
92
|
+
if(contentObj&&contentObj.length>0){
|
|
93
|
+
console.log("contentObj.scrollY",contentObj[0].getBoundingClientRect());
|
|
94
|
+
const absoluteTop = rect.top + contentObj.scrollY;
|
|
95
|
+
}*/
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
</script>
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form label-width="80px" size="small">
|
|
3
|
+
<el-collapse v-model="openCollapseItems" style="margin-top: 6px">
|
|
4
|
+
<el-collapse-item title="基本" name="base" class="amb-design-attr-group-header">
|
|
5
|
+
<div style="padding: 8px 0px 0px 0px">
|
|
6
|
+
<el-form-item label="组件类型" class="amb-design-attr-item">
|
|
7
|
+
<el-select v-model="configure.name" placeholder="请选择">
|
|
8
|
+
<el-option
|
|
9
|
+
v-for="item in getFormComponentOptions()"
|
|
10
|
+
:key="item.name"
|
|
11
|
+
:label="item.label"
|
|
12
|
+
:value="item.name"
|
|
13
|
+
/>
|
|
14
|
+
</el-select>
|
|
15
|
+
</el-form-item>
|
|
16
|
+
<el-form-item label="组件名" class="amb-design-attr-item">
|
|
17
|
+
<el-input v-model="configure.props.base.name" placeholder="请输入" />
|
|
18
|
+
</el-form-item>
|
|
19
|
+
<el-form-item label="条码类型" class="amb-design-attr-item">
|
|
20
|
+
<el-radio-group v-model="configure.props.base.type" class="ml-4">
|
|
21
|
+
<el-radio value="br-code">条形码</el-radio>
|
|
22
|
+
<el-radio value="QR-code">二维码</el-radio>
|
|
23
|
+
</el-radio-group>
|
|
24
|
+
</el-form-item>
|
|
25
|
+
<el-form-item label="条形码格式" class="amb-design-attr-item">
|
|
26
|
+
<el-select v-model="configure.props.base.format" placeholder="请选择">
|
|
27
|
+
<el-option label="默认" value="CODE128" />
|
|
28
|
+
<el-option label="CODE128A" value="CODE128A" />
|
|
29
|
+
<el-option label="CODE128B" value="CODE128B" />
|
|
30
|
+
<el-option label="CODE128C" value="CODE128C" />
|
|
31
|
+
<el-option label="CODE39" value="CODE39" />
|
|
32
|
+
<el-option label="EAN-13" value="EAN-13" />
|
|
33
|
+
<el-option label="EAN-8" value="EAN-8" />
|
|
34
|
+
<el-option label="EAN-5" value="EAN-5" />
|
|
35
|
+
<el-option label="EAN-2" value="EAN-2" />
|
|
36
|
+
<el-option label="UPC(A)" value="UPC(A)" />
|
|
37
|
+
<el-option label="ITF" value="ITF" />
|
|
38
|
+
<el-option label="ITF-14" value="ITF-14" />
|
|
39
|
+
<el-option label="MSI" value="MSI" />
|
|
40
|
+
<el-option label="MSI10" value="MSI10" />
|
|
41
|
+
<el-option label="MSI11" value="MSI11" />
|
|
42
|
+
<el-option label="MSI1010" value="MSI1010" />
|
|
43
|
+
<el-option label="MSI1110" value="MSI1110" />
|
|
44
|
+
<el-option label="Pharmacode" value="Pharmacode" />
|
|
45
|
+
</el-select>
|
|
46
|
+
</el-form-item>
|
|
47
|
+
<el-form-item label="状态" class="amb-design-attr-item">
|
|
48
|
+
<el-radio-group v-model="configure.props.base.state" class="ml-4">
|
|
49
|
+
<el-radio value="default">普通</el-radio>
|
|
50
|
+
<el-radio value="hidden">隐藏</el-radio>
|
|
51
|
+
</el-radio-group>
|
|
52
|
+
</el-form-item>
|
|
53
|
+
</div>
|
|
54
|
+
</el-collapse-item>
|
|
55
|
+
<el-collapse-item title="数据" name="data" class="amb-design-attr-group-header">
|
|
56
|
+
<div style="padding: 8px 0px 0px 0px">
|
|
57
|
+
<el-form-item label="绑定" class="amb-design-attr-item">
|
|
58
|
+
<el-radio-group v-model="configure.props.base.way" class="ml-4">
|
|
59
|
+
<el-radio value="data">绑定变量</el-radio>
|
|
60
|
+
<el-radio value="regulation">绑定规则</el-radio>
|
|
61
|
+
</el-radio-group>
|
|
62
|
+
</el-form-item>
|
|
63
|
+
<el-form-item
|
|
64
|
+
v-if="configure.props.base.way === 'data'"
|
|
65
|
+
label="绑定变量"
|
|
66
|
+
class="amb-design-attr-item"
|
|
67
|
+
>
|
|
68
|
+
<DataoriginInputtable
|
|
69
|
+
v-model:modelValue="configure.props.base.bindProp"
|
|
70
|
+
></DataoriginInputtable>
|
|
71
|
+
</el-form-item>
|
|
72
|
+
<el-form-item
|
|
73
|
+
v-if="configure.props.base.way === 'regulation'"
|
|
74
|
+
label="绑定规则"
|
|
75
|
+
class="amb-design-attr-item"
|
|
76
|
+
>
|
|
77
|
+
<DataoriginInputtable
|
|
78
|
+
v-model:modelValue="configure.props.base.regulation"
|
|
79
|
+
></DataoriginInputtable>
|
|
80
|
+
</el-form-item>
|
|
81
|
+
<div v-if="dataRule">
|
|
82
|
+
<el-form-item
|
|
83
|
+
v-for="(item, index) in dataRule"
|
|
84
|
+
:key="index"
|
|
85
|
+
:label="item.name"
|
|
86
|
+
class="amb-design-attr-item"
|
|
87
|
+
>
|
|
88
|
+
<DataoriginInputtable v-model:modelValue="item.date"></DataoriginInputtable>
|
|
89
|
+
</el-form-item>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
</el-collapse-item>
|
|
93
|
+
<CommonAttrSize :size="configure.props.size" />
|
|
94
|
+
</el-collapse>
|
|
95
|
+
</el-form>
|
|
96
|
+
</template>
|
|
97
|
+
<script lang="ts" setup>
|
|
98
|
+
import { ref } from 'vue'
|
|
99
|
+
import { getFormComponentOptions } from '../../../../utils/assemblys-config.js'
|
|
100
|
+
import Verification from '../../form/common/verification.vue'
|
|
101
|
+
import CommonAttrSize from '../../common/common-attr-size.vue'
|
|
102
|
+
import Title from '../../form/common/title.vue'
|
|
103
|
+
import PreSuffix from '../../form/common/pre-suffix.vue'
|
|
104
|
+
import DataoriginInputtable from '../../form/common/dataorigin-input-table.vue'
|
|
105
|
+
import BarCodeRule from '../../form/common/bar-code-rule.vue'
|
|
106
|
+
|
|
107
|
+
defineProps({
|
|
108
|
+
configure: Object,
|
|
109
|
+
default: () => ({ props: {} })
|
|
110
|
+
})
|
|
111
|
+
const openCollapseItems = ref('')
|
|
112
|
+
const dataRule = ref([])
|
|
113
|
+
const BarCodeRuleOff = ref(false)
|
|
114
|
+
function barCodeRuleSelect(selectArr: []) {
|
|
115
|
+
dataRule.value = selectArr
|
|
116
|
+
}
|
|
117
|
+
</script>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './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
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="designClass" :style="designStyle">
|
|
3
|
+
<img v-if="designProperty.type === 'QR-code'" :src="qrUrl" />
|
|
4
|
+
<canvas v-else ref="barcode"></canvas>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
<script lang="ts" setup>
|
|
8
|
+
import { ref, watch, onMounted } from 'vue'
|
|
9
|
+
import qrcode from 'qrcode'
|
|
10
|
+
import JsBarcode from 'jsbarcode'
|
|
11
|
+
import {
|
|
12
|
+
caculateDetailComponentStyle,
|
|
13
|
+
caculateComponentProps
|
|
14
|
+
} from '../../../../../../src/utils/form-design-util'
|
|
15
|
+
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
configure: Object
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
const qrCodeData = ref('Hello br code')
|
|
21
|
+
const qrUrl = ref('')
|
|
22
|
+
const barcode = ref(null)
|
|
23
|
+
const barcodeFormat = ref('CODE128')
|
|
24
|
+
// 生成条形码
|
|
25
|
+
function createBarCode() {
|
|
26
|
+
JsBarcode(barcode.value, qrCodeData.value, { format: barcodeFormat.value })
|
|
27
|
+
}
|
|
28
|
+
// 生成二维码
|
|
29
|
+
function createQrCode() {
|
|
30
|
+
qrcode.toDataURL(qrCodeData.value, (err, url) => {
|
|
31
|
+
if (err) {
|
|
32
|
+
console.error(err)
|
|
33
|
+
} else {
|
|
34
|
+
qrUrl.value = url
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function getRestsParameter() {
|
|
40
|
+
let defineProps = {}
|
|
41
|
+
const tempProps = {}
|
|
42
|
+
|
|
43
|
+
if (props.configure.props.preSuffix) {
|
|
44
|
+
defineProps = props.configure.props
|
|
45
|
+
}
|
|
46
|
+
// 绑定变量
|
|
47
|
+
if (defineProps['base']['bindProp']) {
|
|
48
|
+
qrCodeData.value = defineProps['base']['bindProp']
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// 条形码格式
|
|
52
|
+
// if (defineProps['base'] && defineProps['base']['format']){
|
|
53
|
+
// barcodeFormat.value = defineProps['base']['format']
|
|
54
|
+
// }
|
|
55
|
+
|
|
56
|
+
// 条码类型
|
|
57
|
+
if (defineProps['base'] && defineProps['base']['type'] === 'br-code') {
|
|
58
|
+
// 条形码
|
|
59
|
+
createBarCode()
|
|
60
|
+
tempProps['type'] = defineProps['base']['type']
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if (defineProps['base'] && defineProps['base']['type'] === 'QR-code') {
|
|
64
|
+
// 二维码
|
|
65
|
+
createQrCode()
|
|
66
|
+
tempProps['type'] = defineProps['base']['type']
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (tempProps != {}) {
|
|
70
|
+
for (const tempPropsKey in tempProps) {
|
|
71
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
onMounted(() => {
|
|
77
|
+
createBarCode()
|
|
78
|
+
})
|
|
79
|
+
|
|
80
|
+
//定义自身详细参数
|
|
81
|
+
const designStyle = ref({})
|
|
82
|
+
const designClass = ref('')
|
|
83
|
+
const designHeaderStyle = ref({})
|
|
84
|
+
const designProperty = ref({})
|
|
85
|
+
//监控配置样式的变化
|
|
86
|
+
watch(
|
|
87
|
+
props.configure.style,
|
|
88
|
+
() => {
|
|
89
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle)
|
|
90
|
+
},
|
|
91
|
+
{ immediate: true }
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
//监控配置属性的变化
|
|
95
|
+
watch(
|
|
96
|
+
props.configure.props,
|
|
97
|
+
() => {
|
|
98
|
+
caculateComponentProps(props.configure, designProperty), getRestsParameter()
|
|
99
|
+
},
|
|
100
|
+
{ immediate: true }
|
|
101
|
+
)
|
|
102
|
+
</script>
|
|
103
|
+
<style scoped></style>
|
package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue
RENAMED
|
@@ -25,7 +25,10 @@
|
|
|
25
25
|
<script lang="ts" setup>
|
|
26
26
|
import { SuperIcon } from 'agilebuilder-ui'
|
|
27
27
|
import { computed, onMounted, watch, ref, onUnmounted } from 'vue'
|
|
28
|
-
import type {
|
|
28
|
+
import type {
|
|
29
|
+
Component,
|
|
30
|
+
PageContext
|
|
31
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
29
32
|
import {
|
|
30
33
|
doAfterClickEvent,
|
|
31
34
|
canExecuteButton,
|
|
@@ -41,12 +44,15 @@ import {
|
|
|
41
44
|
rowClick,
|
|
42
45
|
rowDblClick,
|
|
43
46
|
headerClick
|
|
44
|
-
} from '
|
|
45
|
-
import { getRealRestApiPath, getListCode } from '
|
|
46
|
-
import {
|
|
47
|
+
} from '../../../../../../src/utils/events/event-util'
|
|
48
|
+
import { getRealRestApiPath, getListCode } from '../../../../../../src/utils/common-util'
|
|
49
|
+
import {
|
|
50
|
+
getSaveFormRequest,
|
|
51
|
+
standardEvents
|
|
52
|
+
} from '../../../../../../src/utils/events/standard-event'
|
|
47
53
|
import { isPromise } from 'agilebuilder-ui/src/utils/common-util'
|
|
48
|
-
import { getDataTypeMap, popupToPage } from '
|
|
49
|
-
// import eventBus from '
|
|
54
|
+
import { getDataTypeMap, popupToPage } from '../../../../../../src/utils/table-utils'
|
|
55
|
+
// import eventBus from '../../../../../../src/utils/eventBus'
|
|
50
56
|
interface MyProps {
|
|
51
57
|
pageContext: PageContext
|
|
52
58
|
configure: Component
|
package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue
RENAMED
|
@@ -28,7 +28,10 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
<script lang="ts" setup>
|
|
30
30
|
import { computed, onMounted, watch, ref } from 'vue'
|
|
31
|
-
import type {
|
|
31
|
+
import type {
|
|
32
|
+
Component,
|
|
33
|
+
PageContext
|
|
34
|
+
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
32
35
|
import {
|
|
33
36
|
gridSelectRecord,
|
|
34
37
|
setTableEvents,
|
|
@@ -39,12 +42,12 @@ import {
|
|
|
39
42
|
rowClick,
|
|
40
43
|
rowDblClick,
|
|
41
44
|
headerClick
|
|
42
|
-
} from '
|
|
43
|
-
import { getVariableValue, setVariableValue } from '
|
|
44
|
-
import { getFormModelFields } from '
|
|
45
|
-
// import eventBus from '
|
|
46
|
-
import { popupToPage } from '
|
|
47
|
-
import { getListCode } from '
|
|
45
|
+
} from '../../../../../../src/utils/events/event-util'
|
|
46
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
47
|
+
import { getFormModelFields } from '../../../../../../src/utils/page-init-util'
|
|
48
|
+
// import eventBus from '../../../../../../src/utils/eventBus'
|
|
49
|
+
import { popupToPage } from '../../../../../../src/utils/table-utils'
|
|
50
|
+
import { getListCode } from '../../../../../../src/utils/common-util'
|
|
48
51
|
interface MyProps {
|
|
49
52
|
pageContext: PageContext
|
|
50
53
|
configure: Component
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
<script lang="ts" setup>
|
|
13
13
|
import { SuperIcon } from 'agilebuilder-ui'
|
|
14
14
|
import { computed, onMounted, watch, ref } from 'vue'
|
|
15
|
-
import { Component, PageContext } from '
|
|
16
|
-
import { getVariableValue, setVariableValue } from '
|
|
15
|
+
import { Component, PageContext } from '../../../../../../src/utils/interfaces/page-design-types'
|
|
16
|
+
import { getVariableValue, setVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
17
17
|
import SubTable from './sub-table-runtime.vue'
|
|
18
18
|
import MainTable from './main-table-runtime.vue'
|
|
19
19
|
interface MyProps {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="amb-design-attr-content">
|
|
3
|
+
<AttrHeader v-model="currentConfigType" />
|
|
4
|
+
<div class="amb-design-attr-list">
|
|
5
|
+
<AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
|
|
6
|
+
<AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
|
|
7
|
+
<AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import AttrBase from './tree-attr-base.vue'
|
|
13
|
+
import AttrStyle from './tree-attr-style.vue'
|
|
14
|
+
import AttrHeader from '../../form/common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './tree-attr-event.vue'
|
|
16
|
+
import { ref } from 'vue'
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text', props: { type: 'input-text' } }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
let currentConfigType = ref('base')
|
|
25
|
+
</script>
|
|
26
|
+
<style>
|
|
27
|
+
/* @import '../../../../../../assets/design-attr.css'; */
|
|
28
|
+
</style>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="designClass" :style="designStyle">
|
|
3
|
+
<el-tree
|
|
4
|
+
style="max-width: 600px"
|
|
5
|
+
:data="designProperty.staticData"
|
|
6
|
+
:default-expand-all="designProperty.defaultExpand"
|
|
7
|
+
:expand-on-click-node="designProperty.deployable"
|
|
8
|
+
:indent="designProperty.retractWidth ? designProperty.retractWidth : 18"
|
|
9
|
+
:accordion="designProperty.oneNode"
|
|
10
|
+
:show-checkbox="designProperty.treeSelect"
|
|
11
|
+
:props="defaultProps"
|
|
12
|
+
/>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
import {
|
|
17
|
+
caculateDetailComponentStyle,
|
|
18
|
+
caculateComponentProps
|
|
19
|
+
} from '../../../../../../src/utils/form-design-util'
|
|
20
|
+
import { ref, watch } from 'vue'
|
|
21
|
+
const props = defineProps({
|
|
22
|
+
configure: Object
|
|
23
|
+
})
|
|
24
|
+
if (props.configure.title == undefined) {
|
|
25
|
+
props.configure.title = ''
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const defaultProps = {
|
|
29
|
+
children: 'children',
|
|
30
|
+
label: 'label'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const data = [
|
|
34
|
+
{
|
|
35
|
+
label: 'Level one 1',
|
|
36
|
+
children: [
|
|
37
|
+
{
|
|
38
|
+
label: 'Level two 1-1',
|
|
39
|
+
children: [
|
|
40
|
+
{
|
|
41
|
+
label: 'Level three 1-1-1'
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
//定义自身详细参数
|
|
49
|
+
const designStyle = ref({})
|
|
50
|
+
const designClass = ref('')
|
|
51
|
+
const designHeaderStyle = ref({})
|
|
52
|
+
const designProperty = ref({})
|
|
53
|
+
function getRestsParameter() {
|
|
54
|
+
let defineProps = {}
|
|
55
|
+
const tempProps = {}
|
|
56
|
+
|
|
57
|
+
if (props.configure.props.preSuffix) {
|
|
58
|
+
defineProps = props.configure.props
|
|
59
|
+
}
|
|
60
|
+
// 可选择
|
|
61
|
+
if (defineProps['base']['treeSelect']) {
|
|
62
|
+
tempProps['treeSelect'] = defineProps['base']['treeSelect']
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// 默认展开
|
|
66
|
+
if (defineProps['base']['defaultExpand']) {
|
|
67
|
+
tempProps['defaultExpand'] = defineProps['base']['defaultExpand']
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// 点击节点时展开或收缩节点
|
|
71
|
+
if (defineProps['base']['deployable']) {
|
|
72
|
+
tempProps['deployable'] = defineProps['base']['deployable']
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// 每次只打开一个同级树节点
|
|
76
|
+
if (defineProps['base']['oneNode']) {
|
|
77
|
+
tempProps['oneNode'] = defineProps['base']['oneNode']
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// 每次只打开一个同级树节点
|
|
81
|
+
if (defineProps['base']['retractWidth']) {
|
|
82
|
+
tempProps['retractWidth'] = defineProps['base']['retractWidth']
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// 树形数据
|
|
86
|
+
try {
|
|
87
|
+
if (defineProps['dataOrigin']['staticData']) {
|
|
88
|
+
let str: string = defineProps['dataOrigin']['staticData'].replace(/[\r\n\t\f\v ]+/g, '')
|
|
89
|
+
tempProps['staticData'] = JSON.parse(str)
|
|
90
|
+
}
|
|
91
|
+
} catch (err) {
|
|
92
|
+
console.log(err)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
if (tempProps != {}) {
|
|
96
|
+
for (const tempPropsKey in tempProps) {
|
|
97
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
//监控配置样式的变化
|
|
102
|
+
watch(
|
|
103
|
+
props.configure.style,
|
|
104
|
+
() => {
|
|
105
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle)
|
|
106
|
+
},
|
|
107
|
+
{ immediate: true }
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
//监控配置属性的变化
|
|
111
|
+
watch(
|
|
112
|
+
props.configure.props,
|
|
113
|
+
() => {
|
|
114
|
+
caculateComponentProps(props.configure, designProperty)
|
|
115
|
+
getRestsParameter()
|
|
116
|
+
console.log(
|
|
117
|
+
'%c描述-174733',
|
|
118
|
+
'color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px',
|
|
119
|
+
designProperty.value
|
|
120
|
+
)
|
|
121
|
+
},
|
|
122
|
+
{ immediate: true }
|
|
123
|
+
)
|
|
124
|
+
</script>
|
|
125
|
+
<style scoped></style>
|