super-page-runtime 1.0.13 → 1.0.14
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/{runtime → components/runtime}/utils/charts/chart-util.js +3 -3
- package/dist/es/{wf-editor → components/wf-editor}/wf-editor.vue.js +1 -1
- package/dist/es/index.js +3 -3
- package/dist/lib/{runtime → components/runtime}/utils/charts/chart-util.js +3 -3
- package/dist/lib/{wf-editor → components/wf-editor}/wf-editor.vue.js +1 -1
- package/dist/lib/index.js +3 -3
- package/package.json +3 -2
- package/src/App.vue +9 -0
- package/src/assets/base.css +86 -0
- package/src/assets/chart-themes/theme1.ts +6 -0
- package/src/assets/chart-themes/theme2.ts +6 -0
- package/src/assets/chart-themes/theme3.ts +6 -0
- 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 +1 -0
- package/src/assets/main.css +1 -0
- package/src/components/runtime/index.ts +2 -0
- package/src/components/runtime/utils/api/api-util.ts +176 -0
- package/src/components/runtime/utils/assemblys-config.js +294 -0
- package/src/components/runtime/utils/charts/chart-util.ts +37 -0
- package/src/components/runtime/utils/common-util.ts +96 -0
- package/src/components/runtime/utils/container-style-util.ts +223 -0
- package/src/components/runtime/utils/eventBus.ts +14 -0
- package/src/components/runtime/utils/events/event-util.ts +791 -0
- package/src/components/runtime/utils/events/jump-page-util.ts +0 -0
- package/src/components/runtime/utils/events/standard-event.ts +2075 -0
- package/src/components/runtime/utils/events/validator-util.ts +474 -0
- package/src/components/runtime/utils/global-refs.ts +160 -0
- package/src/components/runtime/utils/interfaces/page-design-types.ts +259 -0
- package/src/components/runtime/utils/page-helper-util.ts +850 -0
- package/src/components/runtime/utils/page-init-util.ts +291 -0
- package/src/components/runtime/utils/page-permission-util.ts +521 -0
- package/src/components/runtime/utils/store-util.ts +41 -0
- package/src/components/runtime/utils/store.ts +3 -0
- package/src/components/runtime/utils/table-utils.ts +31 -0
- package/src/components/runtime/views/assemblys/button/button/button-runtime.vue +46 -0
- package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +27 -0
- package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +85 -0
- package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +61 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +32 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-base.vue +60 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +39 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +104 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +145 -0
- package/src/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +119 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-custom.vue +28 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +45 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +78 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +56 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-grid.vue +70 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-legend.vue +70 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +140 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +58 -0
- package/src/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +125 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +67 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +57 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +23 -0
- package/src/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +209 -0
- package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +54 -0
- package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +57 -0
- package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +56 -0
- package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +58 -0
- package/src/components/runtime/views/assemblys/common/common-attr-cursor.vue +23 -0
- package/src/components/runtime/views/assemblys/common/common-attr-size.vue +54 -0
- package/src/components/runtime/views/assemblys/common/common-select-table.vue +287 -0
- package/src/components/runtime/views/assemblys/common/common-style-background.vue +46 -0
- package/src/components/runtime/views/assemblys/common/common-style-border.vue +37 -0
- package/src/components/runtime/views/assemblys/common/common-style-custom.vue +35 -0
- package/src/components/runtime/views/assemblys/common/common-style-font-head.vue +53 -0
- package/src/components/runtime/views/assemblys/common/common-style-font.vue +53 -0
- package/src/components/runtime/views/assemblys/common/common-style-margin.vue +34 -0
- package/src/components/runtime/views/assemblys/common/common-style-padding.vue +34 -0
- package/src/components/runtime/views/assemblys/common/common-style-position.vue +39 -0
- package/src/components/runtime/views/assemblys/common/common-style-shadow.vue +37 -0
- package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +118 -0
- package/src/components/runtime/views/assemblys/common/remove-signer-dialog.vue +99 -0
- package/src/components/runtime/views/assemblys/common/task-informition-dialog.vue +69 -0
- package/src/components/runtime/views/assemblys/common-attr-events.vue +46 -0
- package/src/components/runtime/views/assemblys/container/card/card-runtime.vue +56 -0
- package/src/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +56 -0
- package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +50 -0
- package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +33 -0
- package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +35 -0
- package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +28 -0
- package/src/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +51 -0
- package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +97 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +110 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +25 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +95 -0
- package/src/components/runtime/views/assemblys/data/component/attr-header.vue +69 -0
- package/src/components/runtime/views/assemblys/data/component/attr-style.vue +64 -0
- package/src/components/runtime/views/assemblys/data/component/column-config.vue +171 -0
- package/src/components/runtime/views/assemblys/data/component/combinedHeader.vue +96 -0
- package/src/components/runtime/views/assemblys/data/component/composite-header.vue +257 -0
- package/src/components/runtime/views/assemblys/data/component/configuration-value.vue +206 -0
- package/src/components/runtime/views/assemblys/data/component/data-origin-tree.vue +117 -0
- package/src/components/runtime/views/assemblys/data/component/data-origin.vue +260 -0
- package/src/components/runtime/views/assemblys/data/component/formatting.vue +200 -0
- package/src/components/runtime/views/assemblys/data/component/in-parameter.vue +56 -0
- package/src/components/runtime/views/assemblys/data/component/querySetting.vue +52 -0
- package/src/components/runtime/views/assemblys/data/component/return-set-table.vue +91 -0
- package/src/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +58 -0
- package/src/components/runtime/views/assemblys/data/component/select-data-table.vue +86 -0
- package/src/components/runtime/views/assemblys/data/table/main-table-runtime.vue +852 -0
- package/src/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +622 -0
- package/src/components/runtime/views/assemblys/data/table/table-runtime.vue +93 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +137 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +55 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +114 -0
- package/src/components/runtime/views/assemblys/error-attr.vue +15 -0
- package/src/components/runtime/views/assemblys/error-render.vue +17 -0
- package/src/components/runtime/views/assemblys/form/cascader/cascader-design.vue +288 -0
- package/src/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +192 -0
- package/src/components/runtime/views/assemblys/form/colors/colors-design.vue +16 -0
- package/src/components/runtime/views/assemblys/form/common/analytic-rule.vue +148 -0
- package/src/components/runtime/views/assemblys/form/common/attr-event.vue +82 -0
- package/src/components/runtime/views/assemblys/form/common/attr-header.vue +54 -0
- package/src/components/runtime/views/assemblys/form/common/attr-style.vue +44 -0
- package/src/components/runtime/views/assemblys/form/common/bar-code-rule.vue +104 -0
- package/src/components/runtime/views/assemblys/form/common/condition.vue +147 -0
- package/src/components/runtime/views/assemblys/form/common/data-origin.vue +81 -0
- package/src/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +64 -0
- package/src/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +106 -0
- package/src/components/runtime/views/assemblys/form/common/default-value-setting.vue +362 -0
- package/src/components/runtime/views/assemblys/form/common/dimension-input.vue +68 -0
- package/src/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +115 -0
- package/src/components/runtime/views/assemblys/form/common/formatting-label.vue +81 -0
- package/src/components/runtime/views/assemblys/form/common/grid-num-select.vue +43 -0
- package/src/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +144 -0
- package/src/components/runtime/views/assemblys/form/common/linkage.vue +21 -0
- package/src/components/runtime/views/assemblys/form/common/overall-height.vue +20 -0
- package/src/components/runtime/views/assemblys/form/common/overall-width.vue +48 -0
- package/src/components/runtime/views/assemblys/form/common/pre-suffix.vue +33 -0
- package/src/components/runtime/views/assemblys/form/common/rich-text.vue +100 -0
- package/src/components/runtime/views/assemblys/form/common/row-ul-li.vue +55 -0
- package/src/components/runtime/views/assemblys/form/common/setoption-table.vue +86 -0
- package/src/components/runtime/views/assemblys/form/common/size-input.vue +65 -0
- package/src/components/runtime/views/assemblys/form/common/suffixmodule.vue +82 -0
- package/src/components/runtime/views/assemblys/form/common/title.vue +20 -0
- package/src/components/runtime/views/assemblys/form/common/uploading.vue +34 -0
- package/src/components/runtime/views/assemblys/form/common/verification.vue +79 -0
- package/src/components/runtime/views/assemblys/form/common/voluntarily.vue +27 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +81 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +14 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +46 -0
- package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +74 -0
- package/src/components/runtime/views/assemblys/form/datetime/datetime-design.vue +19 -0
- package/src/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +57 -0
- package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +40 -0
- package/src/components/runtime/views/assemblys/form/file-picture/picture-design.vue +80 -0
- package/src/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +76 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +142 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +14 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +84 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +75 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +13 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +14 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +66 -0
- package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +57 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +68 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +58 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +132 -0
- package/src/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +139 -0
- package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +115 -0
- package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +67 -0
- package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +23 -0
- package/src/components/runtime/views/assemblys/form/radio/radio-runtime.vue +197 -0
- package/src/components/runtime/views/assemblys/form/rate/rate-design.vue +16 -0
- package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +153 -0
- package/src/components/runtime/views/assemblys/form/select/select-runtime.vue +241 -0
- package/src/components/runtime/views/assemblys/form/slider/slider-design.vue +16 -0
- package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +58 -0
- package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +60 -0
- package/src/components/runtime/views/assemblys/form/text/text-design.vue +19 -0
- package/src/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +60 -0
- package/src/components/runtime/views/assemblys/form/transfer/transfer-design.vue +32 -0
- package/src/components/runtime/views/assemblys/object-render.vue +176 -0
- package/src/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +179 -0
- package/src/components/runtime/views/assemblys/page/page-attr-base.vue +252 -0
- package/src/components/runtime/views/assemblys/page/page-attr-events.vue +50 -0
- package/src/components/runtime/views/assemblys/page/page-attr-style.vue +25 -0
- package/src/components/runtime/views/assemblys/page/page-attr.vue +84 -0
- package/src/components/runtime/views/assemblys/page/variable-dialog.vue +242 -0
- package/src/components/runtime/views/assemblys/workflow/component/combination.vue +206 -0
- package/src/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +99 -0
- package/src/components/runtime/views/assemblys/workflow/component/event-dialog.vue +278 -0
- package/src/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +174 -0
- package/src/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +155 -0
- package/src/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +47 -0
- package/src/components/runtime/views/assemblys/workflow/component/set-dialog.vue +130 -0
- package/src/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +96 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +43 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +27 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +17 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +60 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +14 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +27 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +29 -0
- package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +17 -0
- package/src/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +61 -0
- package/src/components/runtime/views/render/page-view.vue +80 -0
- package/src/components/runtime/views/super-page copy.vue +61 -0
- package/src/components/runtime/views/super-page.vue +662 -0
- package/src/components/super-page-dialog/index.ts +2 -0
- package/src/components/super-page-dialog/super-page-dialog.vue +267 -0
- package/src/components/wf-editor/index.ts +2 -0
- package/src/components/wf-editor/wf-editor.vue +15 -0
- package/src/i18n/langs/cn.js +52 -0
- package/src/i18n/langs/en.js +52 -0
- package/src/index.ts +17 -0
- package/src/main.ts +11 -0
- package/src/stores/counter.ts +12 -0
- /package/dist/es/{runtime → components/runtime}/index.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/api/api-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/common-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/events/event-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/events/standard-event.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/events/validator-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/global-refs.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/page-helper-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/page-init-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/store-util.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/store.js +0 -0
- /package/dist/es/{runtime → components/runtime}/utils/table-utils.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/super-page.vue.js +0 -0
- /package/dist/es/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
- /package/dist/es/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
- /package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -0
- /package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
- /package/dist/es/{wf-editor → components/wf-editor}/index.js +0 -0
- /package/dist/es/{wf-editor → components/wf-editor}/wf-editor.css +0 -0
- /package/dist/lib/{runtime → components/runtime}/index.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/api/api-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/common-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/events/event-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/events/standard-event.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/events/validator-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/global-refs.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/interfaces/page-design-types.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/page-helper-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/page-init-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/store-util.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/store.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/utils/table-utils.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/super-page.vue.js +0 -0
- /package/dist/lib/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
- /package/dist/lib/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
- /package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -0
- /package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
- /package/dist/lib/{wf-editor → components/wf-editor}/index.js +0 -0
- /package/dist/lib/{wf-editor → components/wf-editor}/wf-editor.css +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form label-width="80px" size="small">
|
|
3
|
+
<el-collapse v-model="openCollapseItems" style="margin-top:6px;">
|
|
4
|
+
<el-collapse-item
|
|
5
|
+
title="基本"
|
|
6
|
+
name="base"
|
|
7
|
+
class="amb-design-attr-group-header">
|
|
8
|
+
<div style="padding:8px 0px 0px 0px;">
|
|
9
|
+
<el-form-item label="组件类型" class="amb-design-attr-item">
|
|
10
|
+
<el-select v-model="configure.name" placeholder="请选择" >
|
|
11
|
+
<el-option
|
|
12
|
+
v-for="item in getFormComponentOptions()"
|
|
13
|
+
:key="item.name"
|
|
14
|
+
:label="item.label"
|
|
15
|
+
:value="item.name"
|
|
16
|
+
/>
|
|
17
|
+
</el-select>
|
|
18
|
+
</el-form-item>
|
|
19
|
+
<el-form-item label="组件名" class="amb-design-attr-item">
|
|
20
|
+
<el-input v-model="configure.props.base.name" placeholder="请输入" />
|
|
21
|
+
</el-form-item>
|
|
22
|
+
<el-form-item label="绑定变量" class="amb-design-attr-item">
|
|
23
|
+
<el-input v-model="configure.props.base.prop" placeholder="请输入" />
|
|
24
|
+
</el-form-item>
|
|
25
|
+
<el-form-item label="标题" class="amb-design-attr-item">
|
|
26
|
+
<el-input v-model="configure.props.base.title" placeholder="请输入" />
|
|
27
|
+
</el-form-item>
|
|
28
|
+
<el-form-item label="默认值" class="amb-design-attr-item">
|
|
29
|
+
<el-input v-model="configure.props.base.defaultValue" placeholder="请输入" />
|
|
30
|
+
</el-form-item>
|
|
31
|
+
<el-form-item label="文本格式化" class="amb-design-attr-item">
|
|
32
|
+
<el-input v-model="configure.props.base.placeholder" type="textarea" placeholder="请输入" />
|
|
33
|
+
</el-form-item>
|
|
34
|
+
<el-form-item label="尺寸" class="amb-design-attr-item">
|
|
35
|
+
<el-radio-group v-model="configure.props.base.size" class="ml-4">
|
|
36
|
+
<el-radio value="large">大</el-radio>
|
|
37
|
+
<el-radio value="default">中</el-radio>
|
|
38
|
+
<el-radio value="small">小</el-radio>
|
|
39
|
+
</el-radio-group>
|
|
40
|
+
</el-form-item>
|
|
41
|
+
<el-form-item label="状态" class="amb-design-attr-item">
|
|
42
|
+
<el-radio-group v-model="configure.props.base.state" class="ml-4">
|
|
43
|
+
<el-radio value="default">普通</el-radio>
|
|
44
|
+
<el-radio value="hidden">隐藏</el-radio>
|
|
45
|
+
</el-radio-group>
|
|
46
|
+
</el-form-item>
|
|
47
|
+
</div>
|
|
48
|
+
</el-collapse-item>
|
|
49
|
+
<PreSuffix :preSuffix="configure.props.preSuffix" />
|
|
50
|
+
<CommonAttrSize :size="configure.props.size" />
|
|
51
|
+
<Title :title="configure.props.title" />
|
|
52
|
+
</el-collapse>
|
|
53
|
+
</el-form>
|
|
54
|
+
</template>
|
|
55
|
+
<script lang='ts' setup>
|
|
56
|
+
import { ref } from 'vue';
|
|
57
|
+
import { getFormComponentOptions } from '../../../../utils/assemblys-config.js'
|
|
58
|
+
import CommonAttrSize from '../../common/common-attr-size.vue'
|
|
59
|
+
import Title from '../common/title.vue'
|
|
60
|
+
import PreSuffix from '../common/pre-suffix.vue'
|
|
61
|
+
|
|
62
|
+
defineProps({
|
|
63
|
+
configure: Object,
|
|
64
|
+
default: () => ({props: {}})
|
|
65
|
+
});
|
|
66
|
+
const openCollapseItems = ref("")
|
|
67
|
+
|
|
68
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form label-width="80px" size="small">
|
|
3
|
+
<AttrEvent :events="events"></AttrEvent>
|
|
4
|
+
</el-form>
|
|
5
|
+
</template>
|
|
6
|
+
<script lang='ts' setup>
|
|
7
|
+
import { ref, computed, defineEmits } from 'vue';
|
|
8
|
+
import AttrEvent from '../common/attr-event.vue'
|
|
9
|
+
import {getFormComponentOptions} from '../../../../utils/assemblys-config.js'
|
|
10
|
+
defineProps({
|
|
11
|
+
configure:Object
|
|
12
|
+
});
|
|
13
|
+
const events = ['click', 'change', 'blur', 'focus', 'show', 'hidden']
|
|
14
|
+
</script>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required?true:false"
|
|
4
|
+
:class="designClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="designStyle">
|
|
7
|
+
<template #label>
|
|
8
|
+
<div :style="designHeaderStyle">
|
|
9
|
+
{{ designProperty.title?designProperty.title:'input-text' }}
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<el-text :size="designProperty.size">{{ designProperty.title?designProperty.title:'text' }}</el-text>
|
|
13
|
+
</el-form-item>
|
|
14
|
+
</template>
|
|
15
|
+
<script lang='ts' setup>
|
|
16
|
+
import {ref, watch} from "vue";
|
|
17
|
+
import {caculateDetailComponentStyle,caculateComponentProps} from "../../../../utils/form-design-util";
|
|
18
|
+
|
|
19
|
+
const props = defineProps({
|
|
20
|
+
configure:Object
|
|
21
|
+
});
|
|
22
|
+
//定义自身详细参数
|
|
23
|
+
const designStyle = ref({});
|
|
24
|
+
const designClass = ref('');
|
|
25
|
+
const designHeaderStyle = ref({});
|
|
26
|
+
const designProperty = ref({})
|
|
27
|
+
function getRestsParameter(){
|
|
28
|
+
let defineProps = {}
|
|
29
|
+
const tempProps = {}
|
|
30
|
+
|
|
31
|
+
if (props.configure.props.preSuffix){
|
|
32
|
+
defineProps = props.configure.props
|
|
33
|
+
}
|
|
34
|
+
// 行数
|
|
35
|
+
// if (defineProps['base']['rows']){
|
|
36
|
+
// tempProps['rows'] = defineProps['base']['rows']
|
|
37
|
+
// }
|
|
38
|
+
|
|
39
|
+
if (tempProps != {}){
|
|
40
|
+
for (const tempPropsKey in tempProps) {
|
|
41
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//监控配置样式的变化
|
|
46
|
+
watch(props.configure.style,()=>{
|
|
47
|
+
caculateDetailComponentStyle(props.configure,designStyle,designClass,designHeaderStyle);
|
|
48
|
+
},{immediate:true});
|
|
49
|
+
|
|
50
|
+
//监控配置属性的变化
|
|
51
|
+
watch(props.configure.props,()=>{
|
|
52
|
+
caculateComponentProps(props.configure,designProperty)
|
|
53
|
+
getRestsParameter()
|
|
54
|
+
},{immediate:true});
|
|
55
|
+
</script>
|
|
56
|
+
<style scoped>
|
|
57
|
+
|
|
58
|
+
</style>
|
|
@@ -0,0 +1,29 @@
|
|
|
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 './input-show-attr-base.vue';
|
|
13
|
+
import AttrStyle from './input-show-attr-style.vue';
|
|
14
|
+
import AttrHeader from '../common/attr-header.vue'
|
|
15
|
+
import AttrEvent from './input-show-attr-event.vue';
|
|
16
|
+
import { ref } from 'vue';
|
|
17
|
+
|
|
18
|
+
defineProps({
|
|
19
|
+
configure: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => ({ title: 'Text',props: {type: 'input-text'} }) // 设置默认值
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
let currentConfigType = ref("base")
|
|
25
|
+
|
|
26
|
+
</script>
|
|
27
|
+
<style >
|
|
28
|
+
@import '../../../../../../assets/design-attr.css';
|
|
29
|
+
</style>
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required?true:false"
|
|
4
|
+
:class="designClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="designStyle">
|
|
7
|
+
<template #label>
|
|
8
|
+
<div :style="designHeaderStyle">
|
|
9
|
+
{{ designProperty.title?designProperty.title:'input-show' }}
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<el-input
|
|
13
|
+
:disabled="designProperty.state === 'disabled'? true : false"
|
|
14
|
+
:readonly="designProperty.state === 'readonly'? true : false"
|
|
15
|
+
:size="designProperty.size"
|
|
16
|
+
:clearable="designProperty.clearable"
|
|
17
|
+
:placeholder="designProperty.placeholder"
|
|
18
|
+
v-model="designProperty.defaultValue">
|
|
19
|
+
<template v-if="designProperty && (designProperty.innerPreIcon || designProperty.innerPreText)" #prefix>
|
|
20
|
+
{{ designProperty.innerPreText }}
|
|
21
|
+
</template>
|
|
22
|
+
<template
|
|
23
|
+
v-show="designProperty.enable || (designProperty && (designProperty.innerSufIcon || designProperty.innerSufText))"
|
|
24
|
+
#suffix>
|
|
25
|
+
{{ designProperty.innerSufText }}
|
|
26
|
+
<el-icon v-show="designProperty.enable"><FullScreen /></el-icon>
|
|
27
|
+
</template>
|
|
28
|
+
<template v-if="designProperty && (designProperty.outerPreIcon || designProperty.outerPreText)" #prepend>
|
|
29
|
+
<!--<el-icon v-if="designProperty.outerPreIcon">-->
|
|
30
|
+
<!-- <component :is="designProperty.outerPreIcon" />-->
|
|
31
|
+
<!--</el-icon>-->
|
|
32
|
+
<span v-if="designProperty.outerPreText">{{ designProperty.outerPreText }}</span>
|
|
33
|
+
</template>
|
|
34
|
+
<template v-if="designProperty && (designProperty.outerSufIcon || designProperty.outerSufText)" #append>
|
|
35
|
+
{{ designProperty.outerSufText }}
|
|
36
|
+
</template>
|
|
37
|
+
</el-input>
|
|
38
|
+
</el-form-item>
|
|
39
|
+
</template>
|
|
40
|
+
<script lang='ts' setup>
|
|
41
|
+
import {ref, watch} from "vue";
|
|
42
|
+
import {caculateDetailComponentStyle,caculateComponentProps} from "../../../../utils/form-design-util";
|
|
43
|
+
|
|
44
|
+
const props = defineProps({
|
|
45
|
+
configure:Object
|
|
46
|
+
});
|
|
47
|
+
//定义自身详细参数
|
|
48
|
+
const designStyle = ref({});
|
|
49
|
+
const designClass = ref('');
|
|
50
|
+
const designHeaderStyle = ref({});
|
|
51
|
+
const designProperty = ref({})
|
|
52
|
+
function getRestsParameter(){
|
|
53
|
+
let defineProps = {}
|
|
54
|
+
const tempProps = {}
|
|
55
|
+
|
|
56
|
+
if (props.configure.props.preSuffix){
|
|
57
|
+
defineProps = props.configure.props
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (defineProps['scan']['enable']){
|
|
61
|
+
tempProps['enable'] = true;
|
|
62
|
+
}else {
|
|
63
|
+
tempProps['enable'] = false;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// 前后缀/外部
|
|
67
|
+
if(defineProps['preSuffix']['position'] === 'outer'){
|
|
68
|
+
|
|
69
|
+
// 前缀图标
|
|
70
|
+
if (defineProps['preSuffix']['preIcon']){
|
|
71
|
+
tempProps['outerPreIcon'] = defineProps['preSuffix']['preIcon'];
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// 前缀文本
|
|
75
|
+
if (defineProps['preSuffix']['preText']){
|
|
76
|
+
tempProps['outerPreText'] = defineProps['preSuffix']['preText'];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// 后缀图标
|
|
80
|
+
if (defineProps['preSuffix']['sufIcon']){
|
|
81
|
+
tempProps['outerSufIcon'] = defineProps['preSuffix']['sufIcon'];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// 后缀文本
|
|
85
|
+
if (defineProps['preSuffix']['sufText']){
|
|
86
|
+
tempProps['outerSufText'] = defineProps['preSuffix']['sufText'];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// 前后缀/内部
|
|
91
|
+
if(defineProps['preSuffix']['position'] === 'inner'){
|
|
92
|
+
// 前缀图标
|
|
93
|
+
if (defineProps['preSuffix']['preIcon']){
|
|
94
|
+
tempProps['innerPreIcon'] = defineProps['preSuffix']['preIcon'];
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// 前缀文本
|
|
98
|
+
if (defineProps['preSuffix']['preText']){
|
|
99
|
+
tempProps['innerPreText'] = defineProps['preSuffix']['preText'];
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// 后缀图标
|
|
103
|
+
if (defineProps['preSuffix']['sufIcon']){
|
|
104
|
+
tempProps['innerSufIcon'] = defineProps['preSuffix']['sufIcon'];
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// 后缀文本
|
|
108
|
+
if (defineProps['preSuffix']['sufText']){
|
|
109
|
+
tempProps['innerSufText'] = defineProps['preSuffix']['sufText'];
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
if (tempProps != {}){
|
|
114
|
+
for (const tempPropsKey in tempProps) {
|
|
115
|
+
designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
//监控配置样式的变化
|
|
120
|
+
watch(props.configure.style,()=>{
|
|
121
|
+
caculateDetailComponentStyle(props.configure,designStyle,designClass,designHeaderStyle);
|
|
122
|
+
},{immediate:true});
|
|
123
|
+
|
|
124
|
+
//监控配置属性的变化
|
|
125
|
+
watch(props.configure.props,()=>{
|
|
126
|
+
caculateComponentProps(props.configure,designProperty)
|
|
127
|
+
getRestsParameter()
|
|
128
|
+
},{immediate:true});
|
|
129
|
+
</script>
|
|
130
|
+
<style scoped>
|
|
131
|
+
|
|
132
|
+
</style>
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:required="designProperty.required ? true : false"
|
|
4
|
+
:class="runtimeClass"
|
|
5
|
+
:label-width="designProperty.labelWidth"
|
|
6
|
+
:style="runtimeStyle"
|
|
7
|
+
>
|
|
8
|
+
<template #label>
|
|
9
|
+
<div v-if="designProperty.tittleShow" :style="{ ...headerStyle }">
|
|
10
|
+
{{ designProperty.title }}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<el-input
|
|
14
|
+
:disabled="designProperty.state === 'disabled'"
|
|
15
|
+
:readonly="designProperty.state === 'readonly'"
|
|
16
|
+
:size="designProperty.size"
|
|
17
|
+
:clearable="designProperty.clearable"
|
|
18
|
+
:placeholder="designProperty.placeholder"
|
|
19
|
+
:maxlength="designProperty.maxLength"
|
|
20
|
+
:show-word-limit="designProperty.showInputNum"
|
|
21
|
+
v-model="dynamicModelMethod"
|
|
22
|
+
@input="handleEvent($event, pageContext, configure, 'input')"
|
|
23
|
+
@change="handleEvent($event, pageContext, configure, 'change')"
|
|
24
|
+
@blur="handleEvent($event, pageContext, configure, 'blur')"
|
|
25
|
+
@focus="handleEvent($event, pageContext, configure, 'focus')"
|
|
26
|
+
@click="handleEvent($event, pageContext, configure, 'click')"
|
|
27
|
+
>
|
|
28
|
+
<template
|
|
29
|
+
v-if="
|
|
30
|
+
designProperty.iconPosition != 'outer' &&
|
|
31
|
+
((designProperty.preIconType && designProperty.preIconValue) || designProperty.preText)
|
|
32
|
+
"
|
|
33
|
+
#prefix
|
|
34
|
+
>
|
|
35
|
+
<SuperIcon
|
|
36
|
+
v-if="designProperty.preIconType && designProperty.preIconValue"
|
|
37
|
+
:iconType="designProperty.preIconType"
|
|
38
|
+
:iconValue="designProperty.preIconValue"
|
|
39
|
+
></SuperIcon>
|
|
40
|
+
{{ designProperty.preText }}
|
|
41
|
+
</template>
|
|
42
|
+
<template
|
|
43
|
+
v-if="
|
|
44
|
+
designProperty.iconPosition == 'outer' &&
|
|
45
|
+
((designProperty.preIconType && designProperty.preIconValue) || designProperty.preText)
|
|
46
|
+
"
|
|
47
|
+
#prepend
|
|
48
|
+
>
|
|
49
|
+
<SuperIcon
|
|
50
|
+
v-if="designProperty.preIconType && designProperty.preIconValue"
|
|
51
|
+
:iconType="designProperty.preIconType"
|
|
52
|
+
:iconValue="designProperty.preIconValue"
|
|
53
|
+
></SuperIcon>
|
|
54
|
+
{{ designProperty.preText }}
|
|
55
|
+
</template>
|
|
56
|
+
<template
|
|
57
|
+
v-if="
|
|
58
|
+
designProperty.iconPosition != 'outer' &&
|
|
59
|
+
((designProperty.sufIconType && designProperty.sufIconValue) || designProperty.sufText)
|
|
60
|
+
"
|
|
61
|
+
#suffix
|
|
62
|
+
>
|
|
63
|
+
<SuperIcon
|
|
64
|
+
v-if="designProperty.sufIconType && designProperty.sufIconValue"
|
|
65
|
+
:iconType="designProperty.sufIconType"
|
|
66
|
+
:iconValue="designProperty.sufIconValue"
|
|
67
|
+
></SuperIcon>
|
|
68
|
+
{{ designProperty.sufText }}
|
|
69
|
+
</template>
|
|
70
|
+
<template
|
|
71
|
+
v-if="
|
|
72
|
+
designProperty.iconPosition == 'outer' &&
|
|
73
|
+
((designProperty.sufIconType && designProperty.sufIconValue) || designProperty.sufText)
|
|
74
|
+
"
|
|
75
|
+
#append
|
|
76
|
+
>
|
|
77
|
+
<SuperIcon
|
|
78
|
+
v-if="designProperty.sufIconType && designProperty.sufIconValue"
|
|
79
|
+
:iconType="designProperty.sufIconType"
|
|
80
|
+
:iconValue="designProperty.sufIconValue"
|
|
81
|
+
></SuperIcon>
|
|
82
|
+
{{ designProperty.sufText }}
|
|
83
|
+
</template>
|
|
84
|
+
</el-input>
|
|
85
|
+
</el-form-item>
|
|
86
|
+
</template>
|
|
87
|
+
<script lang="ts" setup>
|
|
88
|
+
import { SuperIcon } from 'agilebuilder-ui'
|
|
89
|
+
import { computed, onMounted, watch } from 'vue'
|
|
90
|
+
import type { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
|
|
91
|
+
import { getFormModelFields } from '../../../../utils/page-init-util'
|
|
92
|
+
import { getVariableValue, setVariableValue } from '../../../../utils/page-helper-util'
|
|
93
|
+
import { handleEvent } from '../../../../utils/events/event-util'
|
|
94
|
+
interface MyProps {
|
|
95
|
+
pageContext: PageContext
|
|
96
|
+
configure: Component
|
|
97
|
+
}
|
|
98
|
+
const props = defineProps<MyProps>()
|
|
99
|
+
|
|
100
|
+
const entity: any = props.pageContext.entity ? props.pageContext.entity : {}
|
|
101
|
+
|
|
102
|
+
let dynamicFields: string[] = getFormModelFields(props.pageContext, props.configure)
|
|
103
|
+
|
|
104
|
+
//绑定模型的字段
|
|
105
|
+
const dynamicModelMethod = computed({
|
|
106
|
+
get() {
|
|
107
|
+
return getVariableValue(entity, dynamicFields)
|
|
108
|
+
},
|
|
109
|
+
set(value) {
|
|
110
|
+
setVariableValue(entity, dynamicFields, value)
|
|
111
|
+
}
|
|
112
|
+
})
|
|
113
|
+
//获取默认的样式及配置
|
|
114
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
|
|
115
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {}
|
|
116
|
+
const runtimeStyle = runtimeInfo.style
|
|
117
|
+
const runtimeClass = runtimeInfo.class
|
|
118
|
+
const headerStyle = runtimeInfo.headerStyle
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 获取值
|
|
122
|
+
*/
|
|
123
|
+
function getValue() {
|
|
124
|
+
return getVariableValue(entity, dynamicFields)
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* 设置值
|
|
129
|
+
*/
|
|
130
|
+
function setValue(value: any) {
|
|
131
|
+
return setVariableValue(entity, dynamicFields, value)
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
//暴露方法
|
|
135
|
+
defineExpose({
|
|
136
|
+
getValue,
|
|
137
|
+
setValue
|
|
138
|
+
})
|
|
139
|
+
</script>
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
v-if="designProperty.tittleShow"
|
|
4
|
+
:required="designProperty.required?true:false"
|
|
5
|
+
:class="runtimeClass"
|
|
6
|
+
:label-width="designProperty.labelWidth"
|
|
7
|
+
:style="runtimeStyle">
|
|
8
|
+
<template #label>
|
|
9
|
+
<div v-if="designProperty.tittleShow" :style="{...headerStyle}">
|
|
10
|
+
{{designProperty.title}}
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
<div style="display:flex;width:100%;justify-content: space-between">
|
|
14
|
+
<span
|
|
15
|
+
style="overflow:hidden;white-space: nowrap;">
|
|
16
|
+
<span
|
|
17
|
+
v-if="designProperty.preIconValue||designProperty.preText"
|
|
18
|
+
:class="{'el-input__suffix':designProperty.iconPosition!='outer','el-input-group__append':designProperty.iconPosition=='outer'}" :style="appendStyle">
|
|
19
|
+
<SuperIcon v-if="designProperty.preIconType&&designProperty.preIconValue" :iconType="designProperty.preIconType" :iconValue="designProperty.preIconValue"></SuperIcon>
|
|
20
|
+
{{designProperty.preText}}
|
|
21
|
+
</span>
|
|
22
|
+
{{dynamicValue}}
|
|
23
|
+
</span>
|
|
24
|
+
<span
|
|
25
|
+
v-if="designProperty.sufIconValue||designProperty.sufText"
|
|
26
|
+
:class="{'el-input__suffix':designProperty.iconPosition!='outer','el-input-group__append':designProperty.iconPosition=='outer'}">
|
|
27
|
+
<SuperIcon style="" v-if="designProperty.sufIconType&&designProperty.sufIconValue" :iconType="designProperty.sufIconType" :iconValue="designProperty.sufIconValue"></SuperIcon>
|
|
28
|
+
<span> {{designProperty.sufText}}</span>
|
|
29
|
+
</span>
|
|
30
|
+
</div>
|
|
31
|
+
</el-form-item>
|
|
32
|
+
<span
|
|
33
|
+
v-else
|
|
34
|
+
style="display:flex;justify-content: space-between">
|
|
35
|
+
<span style="overflow:hidden;white-space: nowrap;" :title="dynamicValue">{{designProperty.prefixIcon}} {{dynamicValue}}</span>
|
|
36
|
+
<span
|
|
37
|
+
v-if="designProperty.suffixTxt"
|
|
38
|
+
:class="appendClass" :style="appendStyle">{{designProperty.suffixTxt}}</span>
|
|
39
|
+
</span>
|
|
40
|
+
</template>
|
|
41
|
+
<script lang='ts' setup>
|
|
42
|
+
import {ref,computed} from "vue";
|
|
43
|
+
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
44
|
+
import { getFormModelFields} from '../../../../utils/page-init-util';
|
|
45
|
+
import {formatVariableValue,queryOptions,formatValueByType} from '../../../../utils/page-helper-util';
|
|
46
|
+
import {SuperIcon} from 'agilebuilder-ui';
|
|
47
|
+
|
|
48
|
+
//定义的属性对象
|
|
49
|
+
interface MyProps{
|
|
50
|
+
//页面对象
|
|
51
|
+
pageContext:PageContext,
|
|
52
|
+
configure:Component
|
|
53
|
+
}
|
|
54
|
+
const props = defineProps<MyProps>();
|
|
55
|
+
//初始化字段及默认值
|
|
56
|
+
getFormModelFields(props.pageContext,props.configure);
|
|
57
|
+
|
|
58
|
+
//定义自身详细参数
|
|
59
|
+
//运行时信息
|
|
60
|
+
const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
|
|
61
|
+
const runtimeStyle = runtimeInfo.style;
|
|
62
|
+
const runtimeClass = runtimeInfo.class;
|
|
63
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
64
|
+
const appendClass = runtimeInfo.appendClass;
|
|
65
|
+
const appendStyle = runtimeInfo.appendStyle;
|
|
66
|
+
const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
|
|
67
|
+
|
|
68
|
+
//查询数据源
|
|
69
|
+
//选项组数据
|
|
70
|
+
const listOptions:any = designProperty.options?designProperty.options:[];
|
|
71
|
+
//检查是否需要绑定远程查询对象
|
|
72
|
+
const dataOrigin = props.configure.props&&props.configure.props.dataOrigin?props.configure.props.dataOrigin:{};
|
|
73
|
+
const valueType = dataOrigin.optionValueSetType;
|
|
74
|
+
//查询数据
|
|
75
|
+
if(valueType=='dynamicData'||valueType=='dynamicData'||valueType=='service'){
|
|
76
|
+
queryOptions(props.configure,props.pageContext,'').then((results)=>{
|
|
77
|
+
listOptions.value = results;
|
|
78
|
+
}).catch((error)=>{
|
|
79
|
+
console.log("lable组件查询数据源失败!",error);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
//定义内容
|
|
84
|
+
let contentVariable = designProperty.formatting;
|
|
85
|
+
if(!contentVariable){
|
|
86
|
+
const propsBase = props.configure.props.base?props.configure.props.base:{};
|
|
87
|
+
contentVariable = propsBase.prop;
|
|
88
|
+
}
|
|
89
|
+
//无值时,按UUID
|
|
90
|
+
if(!contentVariable){
|
|
91
|
+
contentVariable = '${page.'+props.configure.uuid+'}';
|
|
92
|
+
}
|
|
93
|
+
//格式化分类
|
|
94
|
+
const formatType = designProperty.formatType;
|
|
95
|
+
//显示内容
|
|
96
|
+
const dynamicValue = computed(()=>{
|
|
97
|
+
let resultValue:any = formatVariableValue(props.pageContext,contentVariable);
|
|
98
|
+
console.log("formatType",formatType)
|
|
99
|
+
if(formatType){
|
|
100
|
+
if(designProperty.hasOptions){
|
|
101
|
+
let selItems:any = null;
|
|
102
|
+
if(listOptions.value){
|
|
103
|
+
selItems = listOptions.value.filter((item:any)=>item.value==resultValue);
|
|
104
|
+
}
|
|
105
|
+
if(selItems&&selItems.length>0){
|
|
106
|
+
resultValue = selItems[0].label;
|
|
107
|
+
}
|
|
108
|
+
}else{
|
|
109
|
+
//其他格式化
|
|
110
|
+
resultValue = formatValueByType(resultValue,formatType,designProperty);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return resultValue==undefined||resultValue==null?'':resultValue;
|
|
114
|
+
});
|
|
115
|
+
</script>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:class="runtimeClass"
|
|
4
|
+
:label-width="designProperty.labelWidth"
|
|
5
|
+
:style="runtimeStyle">
|
|
6
|
+
<template #label>
|
|
7
|
+
<div v-if="designProperty.tittleShow" :style="{...headerStyle}">
|
|
8
|
+
{{ designProperty.title}}
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
<el-tooltip
|
|
12
|
+
:disabled="!tooltipValue"
|
|
13
|
+
:content="tooltipValue">
|
|
14
|
+
<el-link
|
|
15
|
+
:disabled="designProperty.state === 'disabled'"
|
|
16
|
+
:type="designProperty.type"
|
|
17
|
+
:underline="designProperty.underline"
|
|
18
|
+
@click="openLink(configure,pageContext)">
|
|
19
|
+
{{dynamicValue}}
|
|
20
|
+
</el-link>
|
|
21
|
+
</el-tooltip>
|
|
22
|
+
</el-form-item>
|
|
23
|
+
</template>
|
|
24
|
+
<script lang='ts' setup>
|
|
25
|
+
import {computed} from "vue";
|
|
26
|
+
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
27
|
+
import { getFormModelFields} from '../../../../utils/page-init-util';
|
|
28
|
+
import {formatVariableValue,openLink} from '../../../../utils/page-helper-util';
|
|
29
|
+
//定义的属性对象
|
|
30
|
+
interface MyProps{
|
|
31
|
+
//页面对象
|
|
32
|
+
pageContext:PageContext,
|
|
33
|
+
configure:Component
|
|
34
|
+
}
|
|
35
|
+
const props = defineProps<MyProps>();
|
|
36
|
+
//初始化字段及默认值
|
|
37
|
+
getFormModelFields(props.pageContext,props.configure);
|
|
38
|
+
//定义自身详细参数
|
|
39
|
+
//运行时信息
|
|
40
|
+
const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
|
|
41
|
+
const runtimeStyle = runtimeInfo.style;
|
|
42
|
+
const runtimeClass = runtimeInfo.class;
|
|
43
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
44
|
+
const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
|
|
45
|
+
|
|
46
|
+
//定义内容
|
|
47
|
+
let contentVariable = designProperty.formatting;
|
|
48
|
+
if(!contentVariable){
|
|
49
|
+
const propsBase = props.configure.props.base?props.configure.props.base:{};
|
|
50
|
+
contentVariable = propsBase.prop;
|
|
51
|
+
}
|
|
52
|
+
//无值时,按UUID
|
|
53
|
+
if(!contentVariable){
|
|
54
|
+
contentVariable = '${page.'+props.configure.uuid+'}';
|
|
55
|
+
}
|
|
56
|
+
//显示内容
|
|
57
|
+
const dynamicValue = computed(()=>{
|
|
58
|
+
const resultValue = formatVariableValue(props.pageContext,contentVariable);
|
|
59
|
+
return resultValue==undefined||resultValue==null?'':resultValue;
|
|
60
|
+
});
|
|
61
|
+
//tooltip
|
|
62
|
+
let tooltipVariable = designProperty.tooltip;
|
|
63
|
+
const tooltipValue = computed(()=>{
|
|
64
|
+
const resultValue = formatVariableValue(props.pageContext,tooltipVariable);
|
|
65
|
+
return resultValue==undefined||resultValue==null?'':resultValue;
|
|
66
|
+
});
|
|
67
|
+
</script>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item
|
|
3
|
+
:class="runtimeClass"
|
|
4
|
+
:style="runtimeStyle">
|
|
5
|
+
<div style="width: 100%;height:100%;"> </div>
|
|
6
|
+
</el-form-item>
|
|
7
|
+
</template>
|
|
8
|
+
<script lang='ts' setup>
|
|
9
|
+
import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
|
|
10
|
+
|
|
11
|
+
//定义的属性对象
|
|
12
|
+
interface MyProps{
|
|
13
|
+
//页面对象
|
|
14
|
+
pageContext:PageContext,
|
|
15
|
+
configure:Component
|
|
16
|
+
}
|
|
17
|
+
const props = defineProps<MyProps>();
|
|
18
|
+
//定义自身详细参数
|
|
19
|
+
//运行时信息
|
|
20
|
+
const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
|
|
21
|
+
const runtimeStyle = runtimeInfo.style;
|
|
22
|
+
const runtimeClass = runtimeInfo.class;
|
|
23
|
+
</script>
|