super-page-runtime 1.0.16 → 2.0.1
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/dist/es/assets/chart-themes/theme1.d.ts +4 -0
- package/{lib/src → dist/es}/assets/chart-themes/theme1.js +3 -2
- package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
- package/{lib/src → dist/es}/assets/chart-themes/theme2.js +3 -2
- package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
- package/{lib/src → dist/es}/assets/chart-themes/theme3.js +3 -2
- package/dist/es/components/runtime/index.d.ts +4 -0
- package/{lib/src → dist/es/components/runtime}/utils/api/api-util.js +15 -15
- package/dist/es/components/runtime/utils/assemblys-config.js +257 -0
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +11 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +28 -0
- package/{lib/src → dist/es/components/runtime}/utils/common-util.d.ts +5 -0
- package/{lib/src → dist/es/components/runtime}/utils/common-util.js +25 -12
- package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/es/components/runtime/utils/eventBus.js +11 -0
- package/{lib/src → dist/es/components/runtime}/utils/events/event-util.d.ts +1 -1
- package/{lib/src → dist/es/components/runtime}/utils/events/event-util.js +41 -40
- package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.js +149 -148
- package/{lib/src → dist/es/components/runtime}/utils/events/validator-util.js +23 -23
- package/{lib/src → dist/es/components/runtime}/utils/global-refs.js +8 -8
- package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.d.ts +2 -0
- package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.js +3 -3
- package/{lib/src → dist/es/components/runtime}/utils/page-helper-util.d.ts +19 -0
- package/{lib/src → dist/es/components/runtime}/utils/page-helper-util.js +135 -19
- package/{lib/src → dist/es/components/runtime}/utils/page-init-util.js +18 -18
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/es/components/runtime/utils/page-permission-util.js +525 -0
- package/{lib/src → dist/es/components/runtime}/utils/store-util.js +5 -5
- package/{lib/src → dist/es/components/runtime}/utils/store.js +3 -2
- package/{lib/src → dist/es/components/runtime}/utils/table-utils.js +10 -9
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +55 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +36 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +111 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +249 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +62 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +57 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +50 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +51 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +51 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +52 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +34 -27
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +33 -32
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/common/task-informition-dialog.vue.js +30 -29
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/container/card/card-runtime.vue2.js +24 -23
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +75 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +80 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +44 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +45 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -8
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +70 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +17 -15
- package/{lib → dist/es/components}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +66 -63
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +40 -38
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/data/table/table-runtime.vue2.js +17 -11
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +23 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +36 -35
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +83 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +41 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +75 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +128 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +128 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +78 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +30 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +37 -36
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +37 -48
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/form/select/select-runtime.vue2.js +54 -53
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +66 -0
- package/{lib → dist/es}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/{lib → dist/es/components}/runtime/views/assemblys/object-render.vue.js +35 -34
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +4 -0
- package/{lib → dist/es/components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +17 -16
- package/{lib/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.js +19 -17
- package/dist/es/components/runtime/views/super-page-dialog.vue2.js +4 -0
- package/{lib → dist/es}/components/runtime/views/super-page.vue.d.ts +1 -1
- package/{lib → dist/es/components}/runtime/views/super-page.vue.js +129 -112
- package/dist/es/components/runtime/views/super-page.vue2.js +4 -0
- package/dist/es/index.d.ts +8 -0
- package/dist/es/index.js +15 -0
- package/package.json +70 -67
- package/src/index.ts +15 -0
- package/.eslintrc.cjs +0 -26
- package/.prettierrc.json +0 -8
- package/App.vue +0 -9
- package/components/index.ts +0 -17
- package/components/runtime/index.ts +0 -2
- package/components/runtime/utils/assemblys-config.js +0 -294
- package/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -49
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -26
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -93
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -59
- package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
- package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
- package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
- package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
- package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
- package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
- package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
- package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
- package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
- package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
- package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
- package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
- package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
- package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -46
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -56
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -55
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -57
- package/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
- package/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
- package/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
- package/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
- package/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
- package/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
- package/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
- package/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -108
- package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
- package/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
- package/components/runtime/views/assemblys/common-attr-events.vue +0 -46
- package/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -41
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -35
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -37
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -32
- package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -54
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -99
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -117
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -103
- package/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
- package/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
- package/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
- package/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
- package/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
- package/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
- package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
- package/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
- package/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
- package/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
- package/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
- package/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
- package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
- package/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
- package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -858
- package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -625
- package/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
- package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
- package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -125
- package/components/runtime/views/assemblys/error-attr.vue +0 -15
- package/components/runtime/views/assemblys/error-render.vue +0 -17
- package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
- package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -198
- package/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
- package/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
- package/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
- package/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
- package/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
- package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
- package/components/runtime/views/assemblys/form/common/condition.vue +0 -147
- package/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
- package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
- package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
- package/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
- package/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
- package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
- package/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
- package/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
- package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
- package/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
- package/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
- package/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
- package/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
- package/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
- package/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
- package/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
- package/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
- package/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
- package/components/runtime/views/assemblys/form/common/title.vue +0 -20
- package/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
- package/components/runtime/views/assemblys/form/common/verification.vue +0 -79
- package/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
- package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
- package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -57
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -80
- package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
- package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -60
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -44
- package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
- package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -79
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -104
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -76
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -62
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -70
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -155
- package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -142
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -143
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -70
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -24
- package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -203
- package/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -169
- package/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -247
- package/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -65
- package/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
- package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
- package/components/runtime/views/assemblys/object-render.vue +0 -176
- package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
- package/components/runtime/views/assemblys/page/page-attr-base.vue +0 -259
- package/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
- package/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/page/page-attr.vue +0 -84
- package/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
- package/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
- package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
- package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
- package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
- package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
- package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
- package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
- package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -64
- package/components/runtime/views/render/page-view.vue +0 -80
- package/components/runtime/views/super-page copy.vue +0 -61
- package/components/runtime/views/super-page.vue +0 -667
- package/components/super-page-dialog/index.ts +0 -2
- package/components/super-page-dialog/super-page-dialog.vue +0 -267
- package/components/wf-editor/index.ts +0 -2
- package/components/wf-editor/wf-editor.vue +0 -15
- package/cypress/e2e/example.cy.ts +0 -8
- package/cypress/e2e/tsconfig.json +0 -10
- package/cypress/fixtures/example.json +0 -5
- package/cypress/support/commands.ts +0 -39
- package/cypress/support/e2e.ts +0 -20
- package/cypress.config.ts +0 -8
- package/env.d.ts +0 -1
- package/index.html +0 -13
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -9
- package/lib/components/index.d.ts +0 -5
- package/lib/components/runtime/index.d.ts +0 -3
- package/lib/components/super-page-dialog/index.d.ts +0 -3
- package/lib/components/wf-editor/index.d.ts +0 -3
- package/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/lib/index.js +0 -8
- package/lib/runtime/index.js +0 -3
- package/lib/runtime/utils/assemblys-config.js +0 -258
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -42
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -50
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -50
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -51
- package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -73
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -78
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -42
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -43
- package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -68
- package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
- package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
- package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/error-render.vue.js +0 -22
- package/lib/runtime/views/assemblys/error-render.vue2.js +0 -3
- package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -59
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -133
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
- package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
- package/lib/runtime/views/assemblys/object-render.vue2.js +0 -3
- package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
- package/lib/runtime/views/super-page.vue2.js +0 -3
- package/lib/src/utils/charts/chart-util.js +0 -15
- package/lib/super-page-dialog/index.js +0 -3
- package/lib/super-page-dialog/super-page-dialog.vue2.js +0 -3
- package/lib/wf-editor/index.js +0 -3
- package/lib/wf-editor/wf-editor.css +0 -4
- package/lib/wf-editor/wf-editor.vue.js +0 -15
- package/main.ts +0 -11
- package/package-ws.json +0 -70
- package/public/favicon.ico +0 -0
- package/src/assets/base.css +0 -86
- package/src/assets/chart-themes/theme1.ts +0 -6
- package/src/assets/chart-themes/theme2.ts +0 -6
- package/src/assets/chart-themes/theme3.ts +0 -6
- package/src/assets/images/button/button-group.png +0 -0
- package/src/assets/images/button/button.png +0 -0
- package/src/assets/images/chart/chart-column.png +0 -0
- package/src/assets/images/chart/chart-gauge.png +0 -0
- package/src/assets/images/chart/chart-pie.png +0 -0
- package/src/assets/images/chart/chart-radar.png +0 -0
- package/src/assets/images/chart/chart-scatter.png +0 -0
- package/src/assets/images/container/container-card.png +0 -0
- package/src/assets/images/container/container-collapse.png +0 -0
- package/src/assets/images/container/container-container.png +0 -0
- package/src/assets/images/container/container-flex.png +0 -0
- package/src/assets/images/container/container-form.png +0 -0
- package/src/assets/images/container/container-iframe.png +0 -0
- package/src/assets/images/container/container-normal.png +0 -0
- package/src/assets/images/container/container-tabs.png +0 -0
- package/src/assets/images/container/container-tools.png +0 -0
- package/src/assets/images/data/data-process.png +0 -0
- package/src/assets/images/data/data-step.png +0 -0
- package/src/assets/images/data/data-table-column.png +0 -0
- package/src/assets/images/data/data-table.png +0 -0
- package/src/assets/images/data/data-timeline.png +0 -0
- package/src/assets/images/data/data-tree.png +0 -0
- package/src/assets/images/form/form-cascader.png +0 -0
- package/src/assets/images/form/form-check.png +0 -0
- package/src/assets/images/form/form-color.png +0 -0
- package/src/assets/images/form/form-count.png +0 -0
- package/src/assets/images/form/form-custom.png +0 -0
- package/src/assets/images/form/form-date.png +0 -0
- package/src/assets/images/form/form-dept.png +0 -0
- package/src/assets/images/form/form-divider.png +0 -0
- package/src/assets/images/form/form-file.png +0 -0
- package/src/assets/images/form/form-image-upload.png +0 -0
- package/src/assets/images/form/form-img.png +0 -0
- package/src/assets/images/form/form-input.png +0 -0
- package/src/assets/images/form/form-label.png +0 -0
- package/src/assets/images/form/form-link.png +0 -0
- package/src/assets/images/form/form-radio.png +0 -0
- package/src/assets/images/form/form-scan.png +0 -0
- package/src/assets/images/form/form-score.png +0 -0
- package/src/assets/images/form/form-select.png +0 -0
- package/src/assets/images/form/form-slider.png +0 -0
- package/src/assets/images/form/form-space.png +0 -0
- package/src/assets/images/form/form-switch.png +0 -0
- package/src/assets/images/form/form-text.png +0 -0
- package/src/assets/images/form/form-textarea.png +0 -0
- package/src/assets/images/form/form-transfer.png +0 -0
- package/src/assets/images/form/form-zoom.png +0 -0
- package/src/assets/images/group-button.png +0 -0
- package/src/assets/images/group-chart.png +0 -0
- package/src/assets/images/group-container.png +0 -0
- package/src/assets/images/group-data.png +0 -0
- package/src/assets/images/group-form.png +0 -0
- package/src/assets/images/group-workflow.png +0 -0
- package/src/assets/images/workflow/workflow-button.png +0 -0
- package/src/assets/images/workflow/workflow-history-texts.png +0 -0
- package/src/assets/images/workflow/workflow-history.png +0 -0
- package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
- package/src/assets/images/workflow/workflow-texthistory .png +0 -0
- package/src/assets/logo.svg +0 -1
- package/src/assets/main.css +0 -1
- package/src/i18n/langs/cn.js +0 -52
- package/src/i18n/langs/en.js +0 -52
- package/src/stores/counter.ts +0 -12
- package/src/utils/api/api-util.ts +0 -176
- package/src/utils/charts/chart-util.ts +0 -41
- package/src/utils/common-util.ts +0 -96
- package/src/utils/container-style-util.ts +0 -237
- package/src/utils/eventBus.ts +0 -14
- package/src/utils/events/event-util.ts +0 -790
- package/src/utils/events/jump-page-util.ts +0 -0
- package/src/utils/events/standard-event.ts +0 -2075
- package/src/utils/events/validator-util.ts +0 -474
- package/src/utils/global-refs.ts +0 -160
- package/src/utils/interfaces/page-design-types.ts +0 -259
- package/src/utils/page-helper-util.ts +0 -850
- package/src/utils/page-init-util.ts +0 -291
- package/src/utils/page-permission-util.ts +0 -521
- package/src/utils/store-util.ts +0 -41
- package/src/utils/store.ts +0 -3
- package/src/utils/table-utils.ts +0 -31
- package/tsconfig copy.json +0 -17
- package/tsconfig.app copy.json +0 -14
- package/tsconfig.app.json +0 -14
- package/tsconfig.json +0 -17
- package/tsconfig.node copy.json +0 -19
- package/tsconfig.node.json +0 -19
- package/tsconfig.vitest copy.json +0 -11
- package/tsconfig.vitest.json +0 -11
- package/vite.config copy.ts +0 -109
- package/vite.config.ts +0 -86
- package/vitest.config.ts +0 -14
- /package/{lib/src → dist/es/components/runtime}/utils/api/api-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/events/validator-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/global-refs.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/page-init-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/store-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/store.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
- /package/{lib/components/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.d.ts +0 -0
- /package/{lib → dist/es}/favicon.ico +0 -0
package/.eslintrc.cjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* eslint-env node */
|
|
2
|
-
require('@rushstack/eslint-patch/modern-module-resolution')
|
|
3
|
-
|
|
4
|
-
module.exports = {
|
|
5
|
-
root: true,
|
|
6
|
-
'extends': [
|
|
7
|
-
'plugin:vue/vue3-essential',
|
|
8
|
-
'eslint:recommended',
|
|
9
|
-
'@vue/eslint-config-typescript',
|
|
10
|
-
'@vue/eslint-config-prettier/skip-formatting'
|
|
11
|
-
],
|
|
12
|
-
overrides: [
|
|
13
|
-
{
|
|
14
|
-
files: [
|
|
15
|
-
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
|
|
16
|
-
'cypress/support/**/*.{js,ts,jsx,tsx}'
|
|
17
|
-
],
|
|
18
|
-
'extends': [
|
|
19
|
-
'plugin:cypress/recommended'
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
parserOptions: {
|
|
24
|
-
ecmaVersion: 'latest'
|
|
25
|
-
}
|
|
26
|
-
}
|
package/.prettierrc.json
DELETED
package/App.vue
DELETED
package/components/index.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import SuperPage from './runtime'
|
|
2
|
-
import SuperPageDialog from './super-page-dialog'
|
|
3
|
-
import WfEditor from './wf-editor'
|
|
4
|
-
export { SuperPage, SuperPageDialog, WfEditor }
|
|
5
|
-
|
|
6
|
-
// import type { App } from 'vue'
|
|
7
|
-
// import SuperPage from './components/runtime'
|
|
8
|
-
// import SuperPageDialog from './components/super-page-dialog'
|
|
9
|
-
// import WfEditor from './components/wf-editor'
|
|
10
|
-
// const components = [SuperPage, SuperPageDialog, WfEditor]
|
|
11
|
-
// const install = (app: App): void => {
|
|
12
|
-
// components.forEach((component) => {
|
|
13
|
-
// app.component(component.name as string, component)
|
|
14
|
-
// })
|
|
15
|
-
// }
|
|
16
|
-
// export { SuperPage, SuperPageDialog, WfEditor }
|
|
17
|
-
// export default install
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
import {defineAsyncComponent} from 'vue';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 定义的可选类型
|
|
5
|
-
*/
|
|
6
|
-
export const assemblyGroups = [{
|
|
7
|
-
name:'container',
|
|
8
|
-
label:'容器',
|
|
9
|
-
icon:'assets/images/group-container.png',
|
|
10
|
-
items:[{
|
|
11
|
-
name:'form',
|
|
12
|
-
label:'表单',
|
|
13
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
14
|
-
return import('../views/assemblys/container/form/form-runtime.vue')
|
|
15
|
-
})
|
|
16
|
-
},{
|
|
17
|
-
name:'card',
|
|
18
|
-
label:'卡片',
|
|
19
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
20
|
-
return import('../views/assemblys/container/card/card-runtime.vue')
|
|
21
|
-
})
|
|
22
|
-
},{
|
|
23
|
-
name:'collapse',
|
|
24
|
-
label:'折叠面板',
|
|
25
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
26
|
-
return import('../views/assemblys/container/collapse/collapse-runtime.vue')
|
|
27
|
-
})
|
|
28
|
-
},{
|
|
29
|
-
name:'layout',
|
|
30
|
-
label:'Flex',
|
|
31
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
32
|
-
return import('../views/assemblys/container/flex/flex-runtime.vue')
|
|
33
|
-
})
|
|
34
|
-
},{
|
|
35
|
-
name:'tabs',
|
|
36
|
-
label:'Tabs',
|
|
37
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
38
|
-
return import('../views/assemblys/container/tabs/tabs-runtime.vue')
|
|
39
|
-
})
|
|
40
|
-
},{
|
|
41
|
-
name:'tools',
|
|
42
|
-
label:'工具栏',
|
|
43
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
44
|
-
return import('../views/assemblys/container/tools/tools-runtime.vue')
|
|
45
|
-
})
|
|
46
|
-
},{
|
|
47
|
-
name:'iframe',
|
|
48
|
-
label:'Iframe',
|
|
49
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
50
|
-
return import('../views/assemblys/container/iframe/iframe-runtime.vue')
|
|
51
|
-
})
|
|
52
|
-
},{
|
|
53
|
-
name:'container',
|
|
54
|
-
label:'布局',
|
|
55
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
56
|
-
return import('../views/assemblys/container/container/container-runtime.vue')
|
|
57
|
-
})
|
|
58
|
-
}]},{
|
|
59
|
-
name:'form',
|
|
60
|
-
label:'表单',
|
|
61
|
-
items:[{
|
|
62
|
-
name:'input-text',
|
|
63
|
-
label:'文本框',
|
|
64
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
65
|
-
return import('../views/assemblys/form/input-text/inputtext-runtime.vue')
|
|
66
|
-
})
|
|
67
|
-
},{
|
|
68
|
-
name:'select',
|
|
69
|
-
label:'下拉框',
|
|
70
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
71
|
-
return import('../views/assemblys/form/select/select-runtime.vue')
|
|
72
|
-
})
|
|
73
|
-
},{
|
|
74
|
-
name:'radio',
|
|
75
|
-
label:'单选框',
|
|
76
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
77
|
-
return import('../views/assemblys/form/radio/radio-runtime.vue')
|
|
78
|
-
})
|
|
79
|
-
},{
|
|
80
|
-
name:'checkbox',
|
|
81
|
-
label:'复选框',
|
|
82
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
83
|
-
return import('../views/assemblys/form/checkbox/checkbox-runtime.vue')
|
|
84
|
-
})
|
|
85
|
-
},{
|
|
86
|
-
name:'textarea',
|
|
87
|
-
label:'文本域',
|
|
88
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
89
|
-
return import('../views/assemblys/form/textarea/textarea-runtime.vue')
|
|
90
|
-
})
|
|
91
|
-
},{
|
|
92
|
-
name:'datePicker',
|
|
93
|
-
label:'日期/时间',
|
|
94
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
95
|
-
return import('../views/assemblys/form/date-picker/datepicker-runtime.vue')
|
|
96
|
-
})
|
|
97
|
-
},{
|
|
98
|
-
name:'switch',
|
|
99
|
-
label:'开关',
|
|
100
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
101
|
-
return import('../views/assemblys/form/switch/switch-runtime.vue')
|
|
102
|
-
})
|
|
103
|
-
},{
|
|
104
|
-
name:'inputNumber',
|
|
105
|
-
label:'计数器',
|
|
106
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
107
|
-
return import('../views/assemblys/form/input-number/input-number-runtime.vue')
|
|
108
|
-
})
|
|
109
|
-
},{
|
|
110
|
-
name:'tag',
|
|
111
|
-
label:'标签',
|
|
112
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
113
|
-
return import('../views/assemblys/form/tag/tag-runtime.vue')
|
|
114
|
-
})
|
|
115
|
-
},{
|
|
116
|
-
name:'richText',
|
|
117
|
-
label:'富文本',
|
|
118
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
119
|
-
return import('../views/assemblys/form/rich-text/richtext-runtime.vue')
|
|
120
|
-
})
|
|
121
|
-
},{
|
|
122
|
-
name:'divider',
|
|
123
|
-
label:'分割线',
|
|
124
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
125
|
-
return import('../views/assemblys/form/divider/divider-runtime.vue')
|
|
126
|
-
})
|
|
127
|
-
},{
|
|
128
|
-
name:'placeholder',
|
|
129
|
-
label:'占位符',
|
|
130
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
131
|
-
return import('../views/assemblys/form/placeholder/placeholder-runtime.vue')
|
|
132
|
-
})
|
|
133
|
-
},{
|
|
134
|
-
name:'link',
|
|
135
|
-
label:'链接',
|
|
136
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
137
|
-
return import('../views/assemblys/form/link/link-runtime.vue')
|
|
138
|
-
})
|
|
139
|
-
},{
|
|
140
|
-
name:'label',
|
|
141
|
-
label:'Label组件',
|
|
142
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
143
|
-
return import('../views/assemblys/form/label/label-runtime.vue')
|
|
144
|
-
})
|
|
145
|
-
},{
|
|
146
|
-
name:'dept-tree',
|
|
147
|
-
label:'组织树',
|
|
148
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
149
|
-
return import('../views/assemblys/form/dept-tree/depttree-runtime.vue')
|
|
150
|
-
})
|
|
151
|
-
},{
|
|
152
|
-
name:'file-upload',
|
|
153
|
-
label:'文件上传',
|
|
154
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
155
|
-
return import('../views/assemblys/form/file-upload/fileupload-runtime.vue')
|
|
156
|
-
})
|
|
157
|
-
}]
|
|
158
|
-
},{
|
|
159
|
-
name:'button',
|
|
160
|
-
label:'按钮',
|
|
161
|
-
items:[{
|
|
162
|
-
name:'button-detail',
|
|
163
|
-
label:'按钮',
|
|
164
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
165
|
-
return import('../views/assemblys/button/button/button-runtime.vue')
|
|
166
|
-
})
|
|
167
|
-
},{
|
|
168
|
-
name:'button-group',
|
|
169
|
-
label:'按钮组',
|
|
170
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
171
|
-
return import('../views/assemblys/button/button-group/buttongroup-runtime.vue')
|
|
172
|
-
})
|
|
173
|
-
},{
|
|
174
|
-
name:'dropdown',
|
|
175
|
-
label:'下拉菜单',
|
|
176
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
177
|
-
return import('../views/assemblys/button/dropdown/dropdown-runtime.vue')
|
|
178
|
-
})
|
|
179
|
-
}]
|
|
180
|
-
},{
|
|
181
|
-
name:'workflow',
|
|
182
|
-
label:'工作流',
|
|
183
|
-
items:[{
|
|
184
|
-
name:'workflow-button',
|
|
185
|
-
label:'工作流按钮',
|
|
186
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
187
|
-
return import('../views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue')
|
|
188
|
-
})
|
|
189
|
-
}]
|
|
190
|
-
},{
|
|
191
|
-
name:'chart',
|
|
192
|
-
label:'统计图',
|
|
193
|
-
items:[{
|
|
194
|
-
name:'chart-column-line',
|
|
195
|
-
label:'柱/折图',
|
|
196
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
197
|
-
return import('../views/assemblys/chart/column-line/column-line-runtime.vue')
|
|
198
|
-
})
|
|
199
|
-
},{
|
|
200
|
-
name:'chart-pie',
|
|
201
|
-
label:'饼图',
|
|
202
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
203
|
-
return import('../views/assemblys/chart/pie/pie-runtime.vue')
|
|
204
|
-
})
|
|
205
|
-
},{
|
|
206
|
-
name:'chart-gauge',
|
|
207
|
-
label:'仪表盘',
|
|
208
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
209
|
-
return import('../views/assemblys/chart/gauge/gauge-runtime.vue')
|
|
210
|
-
})
|
|
211
|
-
},{
|
|
212
|
-
name:'chart-radar',
|
|
213
|
-
label:'雷达图',
|
|
214
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
215
|
-
return import('../views/assemblys/chart/radar/radar-runtime.vue')
|
|
216
|
-
})
|
|
217
|
-
},{
|
|
218
|
-
name:'chart-scatter',
|
|
219
|
-
label:'散点图',
|
|
220
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
221
|
-
return import('../views/assemblys/chart/scatter/scatter-runtime.vue')
|
|
222
|
-
})
|
|
223
|
-
}]
|
|
224
|
-
},{
|
|
225
|
-
name:'data',
|
|
226
|
-
label:'数据',
|
|
227
|
-
items:[{
|
|
228
|
-
name:'table',
|
|
229
|
-
label:'表格',
|
|
230
|
-
runtimeComponent:defineAsyncComponent(()=>{
|
|
231
|
-
return import('../views/assemblys/data/table/table-runtime.vue')
|
|
232
|
-
})
|
|
233
|
-
}]
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* 根据组件名称获取运行时的组件
|
|
239
|
-
* @param {} name
|
|
240
|
-
* @returns
|
|
241
|
-
*/
|
|
242
|
-
export function getRuntimeComponentByName(name){
|
|
243
|
-
if(!name){
|
|
244
|
-
return null;
|
|
245
|
-
}
|
|
246
|
-
for(let i =0;i<assemblyGroups.length;i++){
|
|
247
|
-
let items = assemblyGroups[i].items;
|
|
248
|
-
for(let j =0;j<items.length;j++){
|
|
249
|
-
let item = items[j];
|
|
250
|
-
if(item.name==name){
|
|
251
|
-
return item.runtimeComponent;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
return null;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
*
|
|
260
|
-
* @returns 获取所有属于表单的组件集合
|
|
261
|
-
*/
|
|
262
|
-
export function getFormComponentOptions () {
|
|
263
|
-
for (let assemblyGroup of assemblyGroups) {
|
|
264
|
-
if (assemblyGroup.name === 'form') {
|
|
265
|
-
const options = []
|
|
266
|
-
assemblyGroup.items.forEach(item => {
|
|
267
|
-
options.push({name: item.name, label: item.label})
|
|
268
|
-
})
|
|
269
|
-
return options
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
*
|
|
275
|
-
* @param componentName 图表组件时值为固定的chart
|
|
276
|
-
* @returns 获取指定组件的事件集合
|
|
277
|
-
*/
|
|
278
|
-
export function getComponentEventOptions (componentName) {
|
|
279
|
-
if(componentName && componentName === 'page') {
|
|
280
|
-
// 为了提升效率,当点击的是页面节点时,不再遍历该数组
|
|
281
|
-
return
|
|
282
|
-
}
|
|
283
|
-
for (let assemblyGroup of assemblyGroups) {
|
|
284
|
-
if (assemblyGroup.name === componentName) {
|
|
285
|
-
return assemblyGroup.events
|
|
286
|
-
} else {
|
|
287
|
-
for (let item of assemblyGroup.items) {
|
|
288
|
-
if(item.name === componentName) {
|
|
289
|
-
return item.events
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-button
|
|
3
|
-
:disabled="designProperty.state === 'disabled'"
|
|
4
|
-
:class="runtimeClass"
|
|
5
|
-
:style="runtimeStyle"
|
|
6
|
-
:type="designProperty.type"
|
|
7
|
-
:size="designProperty.size"
|
|
8
|
-
:text="designProperty.text"
|
|
9
|
-
:round="designProperty.round"
|
|
10
|
-
:plain="designProperty.plain"
|
|
11
|
-
@click="handleEvent($event, pageContext, configure, 'click')"
|
|
12
|
-
>
|
|
13
|
-
<template v-if="designProperty.title && designProperty.iconPosition == 'right'">
|
|
14
|
-
{{ designProperty.title }}
|
|
15
|
-
<template v-if="designProperty.iconValue"> </template>
|
|
16
|
-
</template>
|
|
17
|
-
<template v-if="designProperty.iconType && designProperty.iconValue">
|
|
18
|
-
<SuperIcon
|
|
19
|
-
:iconType="designProperty.iconType"
|
|
20
|
-
:iconValue="designProperty.iconValue"
|
|
21
|
-
></SuperIcon>
|
|
22
|
-
</template>
|
|
23
|
-
<template v-if="designProperty.title && designProperty.iconPosition != 'right'">
|
|
24
|
-
<template v-if="designProperty.iconValue"> </template>
|
|
25
|
-
{{ designProperty.title }}
|
|
26
|
-
</template>
|
|
27
|
-
</el-button>
|
|
28
|
-
</template>
|
|
29
|
-
<script lang="ts" setup>
|
|
30
|
-
import { SuperIcon } from 'agilebuilder-ui'
|
|
31
|
-
import { ref } from 'vue'
|
|
32
|
-
import type {
|
|
33
|
-
Component,
|
|
34
|
-
PageContext
|
|
35
|
-
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
36
|
-
import { handleEvent } from '../../../../../../src/utils/events/event-util'
|
|
37
|
-
|
|
38
|
-
interface MyProps {
|
|
39
|
-
pageContext: PageContext
|
|
40
|
-
configure: Component
|
|
41
|
-
}
|
|
42
|
-
const props = defineProps<MyProps>()
|
|
43
|
-
|
|
44
|
-
//获取默认的样式及配置
|
|
45
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
46
|
-
const designProperty = runtimeInfo.props ? runtimeInfo.props : {}
|
|
47
|
-
const runtimeStyle = runtimeInfo.style
|
|
48
|
-
const runtimeClass = runtimeInfo.class
|
|
49
|
-
</script>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-button-group :class="runtimeClass" :style="runtimeStyle">
|
|
3
|
-
<template v-for="(element, itemIndex) in configure.items" :key="element.uuid">
|
|
4
|
-
<ObjectRender :pageContext="pageContext" :configure="element"></ObjectRender>
|
|
5
|
-
</template>
|
|
6
|
-
</el-button-group>
|
|
7
|
-
</template>
|
|
8
|
-
<script lang="ts" setup>
|
|
9
|
-
import { ref, watch } from 'vue'
|
|
10
|
-
import ObjectRender from '../../object-render.vue'
|
|
11
|
-
import type {
|
|
12
|
-
Component,
|
|
13
|
-
PageContext
|
|
14
|
-
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
15
|
-
interface MyProps {
|
|
16
|
-
pageContext: PageContext
|
|
17
|
-
configure: Component
|
|
18
|
-
}
|
|
19
|
-
const props = defineProps<MyProps>()
|
|
20
|
-
|
|
21
|
-
//自身引用
|
|
22
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
23
|
-
//运行时的自身详细参数
|
|
24
|
-
const runtimeStyle = runtimeInfo.style
|
|
25
|
-
const runtimeClass = runtimeInfo.class
|
|
26
|
-
</script>
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-dropdown
|
|
3
|
-
:class="runtimeClass"
|
|
4
|
-
:style="runtimeStyle"
|
|
5
|
-
:placement="designProperty.placement"
|
|
6
|
-
:split-button="designProperty.splitButton"
|
|
7
|
-
:disabled="designProperty.state === 'disabled'"
|
|
8
|
-
:type="designProperty.buttonType"
|
|
9
|
-
:size="designProperty.size"
|
|
10
|
-
:trigger="designProperty.trigger"
|
|
11
|
-
>
|
|
12
|
-
<template v-if="designProperty.triggerElement === 'button'">
|
|
13
|
-
<el-button
|
|
14
|
-
v-if="!designProperty.splitButton"
|
|
15
|
-
:size="designProperty.size"
|
|
16
|
-
:type="designProperty.buttonType"
|
|
17
|
-
>
|
|
18
|
-
{{ designProperty.title }}
|
|
19
|
-
</el-button>
|
|
20
|
-
<span v-else>{{ designProperty.title }}</span>
|
|
21
|
-
</template>
|
|
22
|
-
<el-text v-else>
|
|
23
|
-
{{ designProperty.title }}
|
|
24
|
-
<el-icon>
|
|
25
|
-
<ArrowDown />
|
|
26
|
-
</el-icon>
|
|
27
|
-
</el-text>
|
|
28
|
-
<template #dropdown>
|
|
29
|
-
<el-dropdown-menu>
|
|
30
|
-
<el-dropdown-item v-for="(item, index) in listOptions" :key="item">{{
|
|
31
|
-
item.label
|
|
32
|
-
}}</el-dropdown-item>
|
|
33
|
-
</el-dropdown-menu>
|
|
34
|
-
</template>
|
|
35
|
-
</el-dropdown>
|
|
36
|
-
</template>
|
|
37
|
-
<script lang="ts" setup>
|
|
38
|
-
import { ArrowDown } from '@element-plus/icons-vue'
|
|
39
|
-
import { ref, computed } from 'vue'
|
|
40
|
-
import type {
|
|
41
|
-
Component,
|
|
42
|
-
PageContext
|
|
43
|
-
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
44
|
-
import { formatVariableValue } from '../../../../../../src/utils/page-helper-util'
|
|
45
|
-
|
|
46
|
-
//定义的属性对象
|
|
47
|
-
interface MyProps {
|
|
48
|
-
//页面对象
|
|
49
|
-
pageContext: PageContext
|
|
50
|
-
configure: Component
|
|
51
|
-
}
|
|
52
|
-
const props = defineProps<MyProps>()
|
|
53
|
-
//运行时信息
|
|
54
|
-
const runtimeInfo: any = props.configure.runtime ? props.configure.runtime : {}
|
|
55
|
-
const runtimeStyle = runtimeInfo.style
|
|
56
|
-
const runtimeClass = runtimeInfo.class
|
|
57
|
-
const designProperty: any = runtimeInfo.props ? runtimeInfo.props : {}
|
|
58
|
-
|
|
59
|
-
//菜单数据
|
|
60
|
-
let listOptions: any = null
|
|
61
|
-
//检查数据源
|
|
62
|
-
const dataOrigin =
|
|
63
|
-
props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {}
|
|
64
|
-
const valueType = dataOrigin.optionValueSetType
|
|
65
|
-
//绑定变量时,重新设置
|
|
66
|
-
if (valueType == 'variable') {
|
|
67
|
-
listOptions = computed(() => {
|
|
68
|
-
let options: any
|
|
69
|
-
const menuValues: any = formatVariableValue(props.pageContext, designProperty.menuField)
|
|
70
|
-
if (menuValues && Array.isArray(menuValues)) {
|
|
71
|
-
options = menuValues
|
|
72
|
-
for (let i = 0; i < options.length; i++) {
|
|
73
|
-
const option = options[i]
|
|
74
|
-
if (!option.label) {
|
|
75
|
-
option.label = i + 1
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
} else {
|
|
79
|
-
const strs = (menuValues ? menuValues + '' : '').trim().split(',')
|
|
80
|
-
options = []
|
|
81
|
-
for (let str of strs) {
|
|
82
|
-
options.push({
|
|
83
|
-
value: str,
|
|
84
|
-
label: str
|
|
85
|
-
})
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return options
|
|
89
|
-
})
|
|
90
|
-
} else {
|
|
91
|
-
listOptions = ref(designProperty.options ? designProperty.options : [])
|
|
92
|
-
}
|
|
93
|
-
</script>
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :style="runtimeStyle" :class="runtimeClass" class="amb-widget-chart" ref="thisRef">
|
|
3
|
-
<v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script lang="ts" setup>
|
|
7
|
-
import { ref } from 'vue'
|
|
8
|
-
import { getCustomTheme } from '../../../../../../src/utils/charts/chart-util'
|
|
9
|
-
import type {
|
|
10
|
-
Component,
|
|
11
|
-
PageContext
|
|
12
|
-
} from '../../../../../../src/utils/interfaces/page-design-types'
|
|
13
|
-
|
|
14
|
-
import { use } from 'echarts/core'
|
|
15
|
-
import { CanvasRenderer } from 'echarts/renderers'
|
|
16
|
-
import { LineChart, BarChart } from 'echarts/charts'
|
|
17
|
-
|
|
18
|
-
import {
|
|
19
|
-
GridComponent,
|
|
20
|
-
LegendComponent,
|
|
21
|
-
TitleComponent,
|
|
22
|
-
TooltipComponent,
|
|
23
|
-
ToolboxComponent,
|
|
24
|
-
DataZoomComponent
|
|
25
|
-
} from 'echarts/components'
|
|
26
|
-
|
|
27
|
-
//统计图
|
|
28
|
-
use([
|
|
29
|
-
CanvasRenderer,
|
|
30
|
-
LineChart,
|
|
31
|
-
GridComponent,
|
|
32
|
-
LegendComponent,
|
|
33
|
-
TitleComponent,
|
|
34
|
-
TooltipComponent,
|
|
35
|
-
BarChart,
|
|
36
|
-
ToolboxComponent,
|
|
37
|
-
DataZoomComponent
|
|
38
|
-
])
|
|
39
|
-
import VChart from 'vue-echarts'
|
|
40
|
-
|
|
41
|
-
interface MyProps {
|
|
42
|
-
pageContext: PageContext
|
|
43
|
-
configure: Component
|
|
44
|
-
}
|
|
45
|
-
const props = defineProps<MyProps>()
|
|
46
|
-
//自身引用
|
|
47
|
-
const thisRef = ref(null)
|
|
48
|
-
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
49
|
-
//运行时的自身详细参数
|
|
50
|
-
const runtimeStyle = runtimeInfo.style
|
|
51
|
-
const runtimeClass = runtimeInfo.class
|
|
52
|
-
|
|
53
|
-
const chartOption: any = runtimeInfo.chartOption
|
|
54
|
-
console.log('chartOption-runtime', chartOption)
|
|
55
|
-
|
|
56
|
-
//自定义主题
|
|
57
|
-
const configureProps = props.configure.props ? props.configure.props : {}
|
|
58
|
-
const customTheme: any = getCustomTheme(configureProps.customTheme)
|
|
59
|
-
</script>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-collapse-item
|
|
3
|
-
title="辅助功能"
|
|
4
|
-
name="propsAssistant"
|
|
5
|
-
class="amb-design-attr-group-header">
|
|
6
|
-
<div style="padding:8px 0px 0px 0px;margin-bottom:-35px;">
|
|
7
|
-
<el-row>
|
|
8
|
-
<el-col :span=12>
|
|
9
|
-
<el-form-item
|
|
10
|
-
label="下载按钮">
|
|
11
|
-
<el-switch v-model="configure.props.enableDownloadBtn"/>
|
|
12
|
-
</el-form-item>
|
|
13
|
-
</el-col>
|
|
14
|
-
<el-col :span=12>
|
|
15
|
-
<el-form-item
|
|
16
|
-
label="数据按钮">
|
|
17
|
-
<el-switch v-model="configure.props.enableDataBtn"/>
|
|
18
|
-
</el-form-item>
|
|
19
|
-
</el-col>
|
|
20
|
-
</el-row>
|
|
21
|
-
</div>
|
|
22
|
-
</el-collapse-item>
|
|
23
|
-
</template>
|
|
24
|
-
<script lang='ts' setup>
|
|
25
|
-
defineProps({
|
|
26
|
-
configure:{
|
|
27
|
-
type:Object,
|
|
28
|
-
required:true
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
</script>
|
|
32
|
-
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-collapse-item
|
|
3
|
-
title="基本"
|
|
4
|
-
name="propsBase"
|
|
5
|
-
class="amb-design-attr-group-header">
|
|
6
|
-
<div style="padding:8px 0px 0px 0px;">
|
|
7
|
-
<el-form-item label="组件类型" style="margin-top:4px;">
|
|
8
|
-
<el-text>{{configure.label}}({{configure.name}})</el-text>
|
|
9
|
-
</el-form-item>
|
|
10
|
-
<el-form-item
|
|
11
|
-
label="组件名" style="margin-top:-10px;">
|
|
12
|
-
<el-text>{{configure.props.refId}}</el-text>
|
|
13
|
-
</el-form-item>
|
|
14
|
-
<el-form-item
|
|
15
|
-
label="主标题" style="margin-top:-10px">
|
|
16
|
-
<el-input v-model="configure.props.title" placeholder="请输入">
|
|
17
|
-
</el-input>
|
|
18
|
-
</el-form-item>
|
|
19
|
-
<el-form-item
|
|
20
|
-
label="副标题" style="margin-top:-10px">
|
|
21
|
-
<el-input v-model="configure.props.subTitle" placeholder="请输入">
|
|
22
|
-
</el-input>
|
|
23
|
-
</el-form-item>
|
|
24
|
-
<el-form-item
|
|
25
|
-
v-show="chartType=='columnLine'"
|
|
26
|
-
label="条形图" style="margin-top:-10px">
|
|
27
|
-
<el-switch v-model="configure.props.isBar"/>
|
|
28
|
-
</el-form-item>
|
|
29
|
-
<el-form-item
|
|
30
|
-
label="主题" style="margin-top:-10px">
|
|
31
|
-
<el-radio-group v-model="configure.props.theme">
|
|
32
|
-
<el-radio-button value="default">默认</el-radio-button>
|
|
33
|
-
<el-radio-button value="dark">暗黑</el-radio-button>
|
|
34
|
-
</el-radio-group>
|
|
35
|
-
</el-form-item>
|
|
36
|
-
<el-form-item
|
|
37
|
-
label="定时刷新" style="margin-top:-10px">
|
|
38
|
-
<el-input v-model="configure.props.refreshInterval">
|
|
39
|
-
<template #suffix>
|
|
40
|
-
秒
|
|
41
|
-
</template>
|
|
42
|
-
</el-input>
|
|
43
|
-
</el-form-item>
|
|
44
|
-
<el-form-item
|
|
45
|
-
label="状态" style="margin-top:-10px;margin-bottom:-10px;">
|
|
46
|
-
<el-radio-group v-model="configure.props.state">
|
|
47
|
-
<el-radio-button value="show">显示</el-radio-button>
|
|
48
|
-
<el-radio-button value="hide">隐藏</el-radio-button>
|
|
49
|
-
</el-radio-group>
|
|
50
|
-
</el-form-item>
|
|
51
|
-
</div>
|
|
52
|
-
</el-collapse-item>
|
|
53
|
-
</template>
|
|
54
|
-
<script lang='ts' setup>
|
|
55
|
-
defineProps({
|
|
56
|
-
configure:Object,
|
|
57
|
-
chartType:Object
|
|
58
|
-
});
|
|
59
|
-
</script>
|
|
60
|
-
|