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
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createSlots, createTextVNode } from "vue";
|
|
2
|
+
import { SuperIcon } from "agilebuilder-ui";
|
|
3
|
+
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
4
|
+
import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
|
|
5
|
+
import { handleEvent } from "../../../../utils/events/event-util.js";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "inputtext-runtime",
|
|
8
|
+
props: {
|
|
9
|
+
pageContext: {},
|
|
10
|
+
configure: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props, { expose: __expose }) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
15
|
+
let dynamicFields = getFormModelFields(props.pageContext, props.configure);
|
|
16
|
+
const dynamicModelMethod = computed({
|
|
17
|
+
get() {
|
|
18
|
+
return getVariableValue(entity, dynamicFields);
|
|
19
|
+
},
|
|
20
|
+
set(value) {
|
|
21
|
+
setVariableValue(entity, dynamicFields, value);
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
25
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
26
|
+
const runtimeStyle = runtimeInfo.style;
|
|
27
|
+
const runtimeClass = runtimeInfo.class;
|
|
28
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
29
|
+
function getValue() {
|
|
30
|
+
return getVariableValue(entity, dynamicFields);
|
|
31
|
+
}
|
|
32
|
+
function setValue(value) {
|
|
33
|
+
return setVariableValue(entity, dynamicFields, value);
|
|
34
|
+
}
|
|
35
|
+
__expose({
|
|
36
|
+
getValue,
|
|
37
|
+
setValue
|
|
38
|
+
});
|
|
39
|
+
return (_ctx, _cache) => {
|
|
40
|
+
const _component_el_input = resolveComponent("el-input");
|
|
41
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
42
|
+
return openBlock(), createBlock(_component_el_form_item, {
|
|
43
|
+
required: unref(designProperty).required ? true : false,
|
|
44
|
+
class: normalizeClass(unref(runtimeClass)),
|
|
45
|
+
"label-width": unref(designProperty).labelWidth,
|
|
46
|
+
style: normalizeStyle(unref(runtimeStyle))
|
|
47
|
+
}, {
|
|
48
|
+
label: withCtx(() => [
|
|
49
|
+
unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
|
|
50
|
+
key: 0,
|
|
51
|
+
style: normalizeStyle({ ...unref(headerStyle) })
|
|
52
|
+
}, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
|
|
53
|
+
]),
|
|
54
|
+
default: withCtx(() => [
|
|
55
|
+
createVNode(_component_el_input, {
|
|
56
|
+
disabled: unref(designProperty).state === "disabled",
|
|
57
|
+
readonly: unref(designProperty).state === "readonly",
|
|
58
|
+
size: unref(designProperty).size,
|
|
59
|
+
clearable: unref(designProperty).clearable,
|
|
60
|
+
placeholder: unref(designProperty).placeholder,
|
|
61
|
+
maxlength: unref(designProperty).maxLength,
|
|
62
|
+
"show-word-limit": unref(designProperty).showInputNum,
|
|
63
|
+
modelValue: dynamicModelMethod.value,
|
|
64
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
|
|
65
|
+
onInput: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
|
|
66
|
+
onChange: _cache[2] || (_cache[2] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
|
|
67
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
|
|
68
|
+
onFocus: _cache[4] || (_cache[4] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
|
|
69
|
+
onClick: _cache[5] || (_cache[5] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
70
|
+
}, createSlots({ _: 2 }, [
|
|
71
|
+
unref(designProperty).iconPosition != "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
|
|
72
|
+
name: "prefix",
|
|
73
|
+
fn: withCtx(() => [
|
|
74
|
+
unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
75
|
+
key: 0,
|
|
76
|
+
iconType: unref(designProperty).preIconType,
|
|
77
|
+
iconValue: unref(designProperty).preIconValue
|
|
78
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
79
|
+
createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
|
|
80
|
+
]),
|
|
81
|
+
key: "0"
|
|
82
|
+
} : void 0,
|
|
83
|
+
unref(designProperty).iconPosition == "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
|
|
84
|
+
name: "prepend",
|
|
85
|
+
fn: withCtx(() => [
|
|
86
|
+
unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
87
|
+
key: 0,
|
|
88
|
+
iconType: unref(designProperty).preIconType,
|
|
89
|
+
iconValue: unref(designProperty).preIconValue
|
|
90
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
91
|
+
createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
|
|
92
|
+
]),
|
|
93
|
+
key: "1"
|
|
94
|
+
} : void 0,
|
|
95
|
+
unref(designProperty).iconPosition != "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
|
|
96
|
+
name: "suffix",
|
|
97
|
+
fn: withCtx(() => [
|
|
98
|
+
unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
99
|
+
key: 0,
|
|
100
|
+
iconType: unref(designProperty).sufIconType,
|
|
101
|
+
iconValue: unref(designProperty).sufIconValue
|
|
102
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
103
|
+
createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
|
|
104
|
+
]),
|
|
105
|
+
key: "2"
|
|
106
|
+
} : void 0,
|
|
107
|
+
unref(designProperty).iconPosition == "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
|
|
108
|
+
name: "append",
|
|
109
|
+
fn: withCtx(() => [
|
|
110
|
+
unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
111
|
+
key: 0,
|
|
112
|
+
iconType: unref(designProperty).sufIconType,
|
|
113
|
+
iconValue: unref(designProperty).sufIconValue
|
|
114
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
115
|
+
createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
|
|
116
|
+
]),
|
|
117
|
+
key: "3"
|
|
118
|
+
} : void 0
|
|
119
|
+
]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"])
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 8, ["required", "class", "label-width", "style"]);
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export {
|
|
127
|
+
_sfc_main as default
|
|
128
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { defineComponent, computed, resolveComponent, unref, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, createTextVNode } from "vue";
|
|
2
|
+
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { queryOptions, formatVariableValue, formatValueByType } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { SuperIcon } from "agilebuilder-ui";
|
|
5
|
+
const _hoisted_1 = { style: { "display": "flex", "width": "100%", "justify-content": "space-between" } };
|
|
6
|
+
const _hoisted_2 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
|
|
7
|
+
const _hoisted_3 = {
|
|
8
|
+
key: 1,
|
|
9
|
+
style: { "display": "flex", "justify-content": "space-between" }
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_4 = ["title"];
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
|
+
__name: "label-runtime",
|
|
14
|
+
props: {
|
|
15
|
+
pageContext: {},
|
|
16
|
+
configure: {}
|
|
17
|
+
},
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
getFormModelFields(props.pageContext, props.configure);
|
|
21
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
22
|
+
const runtimeStyle = runtimeInfo.style;
|
|
23
|
+
const runtimeClass = runtimeInfo.class;
|
|
24
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
25
|
+
const appendClass = runtimeInfo.appendClass;
|
|
26
|
+
const appendStyle = runtimeInfo.appendStyle;
|
|
27
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
28
|
+
const listOptions = designProperty.options ? designProperty.options : [];
|
|
29
|
+
const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
|
|
30
|
+
const valueType = dataOrigin.optionValueSetType;
|
|
31
|
+
if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
|
|
32
|
+
queryOptions(props.configure, props.pageContext, "").then((results) => {
|
|
33
|
+
listOptions.value = results;
|
|
34
|
+
}).catch((error) => {
|
|
35
|
+
console.log("lable组件查询数据源失败!", error);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
let contentVariable = designProperty.formatting;
|
|
39
|
+
if (!contentVariable) {
|
|
40
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {};
|
|
41
|
+
contentVariable = propsBase.prop;
|
|
42
|
+
}
|
|
43
|
+
if (!contentVariable) {
|
|
44
|
+
contentVariable = "${page." + props.configure.uuid + "}";
|
|
45
|
+
}
|
|
46
|
+
const formatType = designProperty.formatType;
|
|
47
|
+
const dynamicValue = computed(() => {
|
|
48
|
+
let resultValue = formatVariableValue(props.pageContext, contentVariable);
|
|
49
|
+
console.log("formatType", formatType);
|
|
50
|
+
if (formatType) {
|
|
51
|
+
if (designProperty.hasOptions) {
|
|
52
|
+
let selItems = null;
|
|
53
|
+
if (listOptions.value) {
|
|
54
|
+
selItems = listOptions.value.filter((item) => item.value == resultValue);
|
|
55
|
+
}
|
|
56
|
+
if (selItems && selItems.length > 0) {
|
|
57
|
+
resultValue = selItems[0].label;
|
|
58
|
+
}
|
|
59
|
+
} else {
|
|
60
|
+
resultValue = formatValueByType(resultValue, formatType, designProperty);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
64
|
+
});
|
|
65
|
+
return (_ctx, _cache) => {
|
|
66
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
67
|
+
return unref(designProperty).tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
|
|
68
|
+
key: 0,
|
|
69
|
+
required: unref(designProperty).required ? true : false,
|
|
70
|
+
class: normalizeClass(unref(runtimeClass)),
|
|
71
|
+
"label-width": unref(designProperty).labelWidth,
|
|
72
|
+
style: normalizeStyle(unref(runtimeStyle))
|
|
73
|
+
}, {
|
|
74
|
+
label: withCtx(() => [
|
|
75
|
+
unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
|
|
76
|
+
key: 0,
|
|
77
|
+
style: normalizeStyle({ ...unref(headerStyle) })
|
|
78
|
+
}, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
|
|
79
|
+
]),
|
|
80
|
+
default: withCtx(() => [
|
|
81
|
+
createElementVNode("div", _hoisted_1, [
|
|
82
|
+
createElementVNode("span", _hoisted_2, [
|
|
83
|
+
unref(designProperty).preIconValue || unref(designProperty).preText ? (openBlock(), createElementBlock("span", {
|
|
84
|
+
key: 0,
|
|
85
|
+
class: normalizeClass({ "el-input__suffix": unref(designProperty).iconPosition != "outer", "el-input-group__append": unref(designProperty).iconPosition == "outer" }),
|
|
86
|
+
style: normalizeStyle(unref(appendStyle))
|
|
87
|
+
}, [
|
|
88
|
+
unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
89
|
+
key: 0,
|
|
90
|
+
iconType: unref(designProperty).preIconType,
|
|
91
|
+
iconValue: unref(designProperty).preIconValue
|
|
92
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
93
|
+
createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
|
|
94
|
+
], 6)) : createCommentVNode("", true),
|
|
95
|
+
createTextVNode(" " + toDisplayString(dynamicValue.value), 1)
|
|
96
|
+
]),
|
|
97
|
+
unref(designProperty).sufIconValue || unref(designProperty).sufText ? (openBlock(), createElementBlock("span", {
|
|
98
|
+
key: 0,
|
|
99
|
+
class: normalizeClass({ "el-input__suffix": unref(designProperty).iconPosition != "outer", "el-input-group__append": unref(designProperty).iconPosition == "outer" })
|
|
100
|
+
}, [
|
|
101
|
+
unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
|
|
102
|
+
key: 0,
|
|
103
|
+
style: {},
|
|
104
|
+
iconType: unref(designProperty).sufIconType,
|
|
105
|
+
iconValue: unref(designProperty).sufIconValue
|
|
106
|
+
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
107
|
+
createElementVNode("span", null, " " + toDisplayString(unref(designProperty).sufText), 1)
|
|
108
|
+
], 2)) : createCommentVNode("", true)
|
|
109
|
+
])
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createElementBlock("span", _hoisted_3, [
|
|
113
|
+
createElementVNode("span", {
|
|
114
|
+
style: { "overflow": "hidden", "white-space": "nowrap" },
|
|
115
|
+
title: dynamicValue.value
|
|
116
|
+
}, toDisplayString(unref(designProperty).prefixIcon) + " " + toDisplayString(dynamicValue.value), 9, _hoisted_4),
|
|
117
|
+
unref(designProperty).suffixTxt ? (openBlock(), createElementBlock("span", {
|
|
118
|
+
key: 0,
|
|
119
|
+
class: normalizeClass(unref(appendClass)),
|
|
120
|
+
style: normalizeStyle(unref(appendStyle))
|
|
121
|
+
}, toDisplayString(unref(designProperty).suffixTxt), 7)) : createCommentVNode("", true)
|
|
122
|
+
]));
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export {
|
|
127
|
+
_sfc_main as default
|
|
128
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from "vue";
|
|
2
|
+
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { formatVariableValue, openLink } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "link-runtime",
|
|
6
|
+
props: {
|
|
7
|
+
pageContext: {},
|
|
8
|
+
configure: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
const props = __props;
|
|
12
|
+
getFormModelFields(props.pageContext, props.configure);
|
|
13
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
14
|
+
const runtimeStyle = runtimeInfo.style;
|
|
15
|
+
const runtimeClass = runtimeInfo.class;
|
|
16
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
17
|
+
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
18
|
+
let contentVariable = designProperty.formatting;
|
|
19
|
+
if (!contentVariable) {
|
|
20
|
+
const propsBase = props.configure.props.base ? props.configure.props.base : {};
|
|
21
|
+
contentVariable = propsBase.prop;
|
|
22
|
+
}
|
|
23
|
+
if (!contentVariable) {
|
|
24
|
+
contentVariable = "${page." + props.configure.uuid + "}";
|
|
25
|
+
}
|
|
26
|
+
const dynamicValue = computed(() => {
|
|
27
|
+
const resultValue = formatVariableValue(props.pageContext, contentVariable);
|
|
28
|
+
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
29
|
+
});
|
|
30
|
+
let tooltipVariable = designProperty.tooltip;
|
|
31
|
+
const tooltipValue = computed(() => {
|
|
32
|
+
const resultValue = formatVariableValue(props.pageContext, tooltipVariable);
|
|
33
|
+
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
34
|
+
});
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
const _component_el_link = resolveComponent("el-link");
|
|
37
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
38
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
39
|
+
return openBlock(), createBlock(_component_el_form_item, {
|
|
40
|
+
class: normalizeClass(unref(runtimeClass)),
|
|
41
|
+
"label-width": unref(designProperty).labelWidth,
|
|
42
|
+
style: normalizeStyle(unref(runtimeStyle))
|
|
43
|
+
}, {
|
|
44
|
+
label: withCtx(() => [
|
|
45
|
+
unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
|
|
46
|
+
key: 0,
|
|
47
|
+
style: normalizeStyle({ ...unref(headerStyle) })
|
|
48
|
+
}, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
|
|
49
|
+
]),
|
|
50
|
+
default: withCtx(() => [
|
|
51
|
+
createVNode(_component_el_tooltip, {
|
|
52
|
+
disabled: !tooltipValue.value,
|
|
53
|
+
content: tooltipValue.value
|
|
54
|
+
}, {
|
|
55
|
+
default: withCtx(() => [
|
|
56
|
+
createVNode(_component_el_link, {
|
|
57
|
+
disabled: unref(designProperty).state === "disabled",
|
|
58
|
+
type: unref(designProperty).type,
|
|
59
|
+
underline: unref(designProperty).underline,
|
|
60
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(openLink)(_ctx.configure, _ctx.pageContext))
|
|
61
|
+
}, {
|
|
62
|
+
default: withCtx(() => [
|
|
63
|
+
createTextVNode(toDisplayString(dynamicValue.value), 1)
|
|
64
|
+
]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 8, ["disabled", "type", "underline"])
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 8, ["disabled", "content"])
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 8, ["class", "label-width", "style"]);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
export {
|
|
77
|
+
_sfc_main as default
|
|
78
|
+
};
|
package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementVNode } from "vue";
|
|
2
|
+
const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { style: { "width": "100%", "height": "100%" } }, " ", -1);
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "placeholder-runtime",
|
|
5
|
+
props: {
|
|
6
|
+
pageContext: {},
|
|
7
|
+
configure: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const props = __props;
|
|
11
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
12
|
+
const runtimeStyle = runtimeInfo.style;
|
|
13
|
+
const runtimeClass = runtimeInfo.class;
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
16
|
+
return openBlock(), createBlock(_component_el_form_item, {
|
|
17
|
+
class: normalizeClass(unref(runtimeClass)),
|
|
18
|
+
style: normalizeStyle(unref(runtimeStyle))
|
|
19
|
+
}, {
|
|
20
|
+
default: withCtx(() => [
|
|
21
|
+
_hoisted_1
|
|
22
|
+
]),
|
|
23
|
+
_: 1
|
|
24
|
+
}, 8, ["class", "style"]);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
_sfc_main as default
|
|
30
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
1
|
+
import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
|
|
2
|
+
import { getVariableValue, setVariableValue, getOptionDatasFromPage, autoSetAfterSelect, queryOptionDatasources } from "../../../../utils/page-helper-util.js";
|
|
3
|
+
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "radio-runtime",
|
|
7
6
|
props: {
|
|
8
7
|
pageContext: {},
|
|
@@ -11,13 +10,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
11
10
|
setup(__props, { expose: __expose }) {
|
|
12
11
|
const props = __props;
|
|
13
12
|
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
14
|
-
let dynamicFields =
|
|
15
|
-
const dynamicModelMethod =
|
|
13
|
+
let dynamicFields = getFormModelFields(props.pageContext, props.configure);
|
|
14
|
+
const dynamicModelMethod = computed({
|
|
16
15
|
get() {
|
|
17
|
-
return
|
|
16
|
+
return getVariableValue(entity, dynamicFields);
|
|
18
17
|
},
|
|
19
18
|
set(value) {
|
|
20
|
-
|
|
19
|
+
setVariableValue(entity, dynamicFields, value);
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
22
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
@@ -25,8 +24,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
25
24
|
const runtimeClass = runtimeInfo.class;
|
|
26
25
|
const headerStyle = runtimeInfo.headerStyle;
|
|
27
26
|
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
28
|
-
const listOptions =
|
|
29
|
-
const cacheOptions =
|
|
27
|
+
const listOptions = ref(designProperty.options ? designProperty.options : []);
|
|
28
|
+
const cacheOptions = getOptionDatasFromPage(props.pageContext, props.configure);
|
|
30
29
|
if (cacheOptions.length > 0) {
|
|
31
30
|
listOptions.value = cacheOptions;
|
|
32
31
|
}
|
|
@@ -68,7 +67,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
69
|
for (let preField of preFields) {
|
|
71
|
-
|
|
70
|
+
watch(entity[preField], () => {
|
|
72
71
|
monitorFieldChange();
|
|
73
72
|
});
|
|
74
73
|
}
|
|
@@ -76,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
76
75
|
function getMonitorFieldValues() {
|
|
77
76
|
let values = "";
|
|
78
77
|
for (let fieldInfo of monitorFieldInfos) {
|
|
79
|
-
values += "_" +
|
|
78
|
+
values += "_" + getVariableValue(entity, fieldInfo);
|
|
80
79
|
}
|
|
81
80
|
return values;
|
|
82
81
|
}
|
|
@@ -93,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
93
92
|
return;
|
|
94
93
|
}
|
|
95
94
|
initMonitorValue = newValue;
|
|
96
|
-
|
|
95
|
+
queryOptionDatasources(props.pageContext, optionconfigInfo, void 0).then((error) => {
|
|
97
96
|
console.log("查询失败!", error);
|
|
98
97
|
});
|
|
99
98
|
}, 200);
|
|
@@ -105,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
105
104
|
return value === item.value;
|
|
106
105
|
});
|
|
107
106
|
}
|
|
108
|
-
|
|
107
|
+
autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems);
|
|
109
108
|
}
|
|
110
109
|
function updateOptions(newOptions) {
|
|
111
110
|
listOptions.value = newOptions ? newOptions : [];
|
|
@@ -114,32 +113,32 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
113
|
updateOptions
|
|
115
114
|
});
|
|
116
115
|
return (_ctx, _cache) => {
|
|
117
|
-
const _component_el_radio =
|
|
118
|
-
const _component_el_radio_group =
|
|
119
|
-
const _component_el_form_item =
|
|
120
|
-
return
|
|
121
|
-
required:
|
|
122
|
-
class:
|
|
123
|
-
"label-width":
|
|
124
|
-
style:
|
|
116
|
+
const _component_el_radio = resolveComponent("el-radio");
|
|
117
|
+
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
118
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
119
|
+
return openBlock(), createBlock(_component_el_form_item, {
|
|
120
|
+
required: unref(designProperty).required,
|
|
121
|
+
class: normalizeClass(unref(runtimeClass)),
|
|
122
|
+
"label-width": unref(designProperty).labelWidth,
|
|
123
|
+
style: normalizeStyle(unref(runtimeStyle))
|
|
125
124
|
}, {
|
|
126
|
-
label:
|
|
127
|
-
|
|
125
|
+
label: withCtx(() => [
|
|
126
|
+
unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
|
|
128
127
|
key: 0,
|
|
129
|
-
style:
|
|
130
|
-
},
|
|
128
|
+
style: normalizeStyle({ ...unref(headerStyle) })
|
|
129
|
+
}, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
|
|
131
130
|
]),
|
|
132
|
-
default:
|
|
133
|
-
|
|
134
|
-
disabled:
|
|
135
|
-
size:
|
|
136
|
-
onChange:
|
|
131
|
+
default: withCtx(() => [
|
|
132
|
+
createVNode(_component_el_radio_group, {
|
|
133
|
+
disabled: unref(designProperty).state === "disabled",
|
|
134
|
+
size: unref(designProperty).size,
|
|
135
|
+
onChange: unref(designProperty).changeMethod,
|
|
137
136
|
modelValue: dynamicModelMethod.value,
|
|
138
137
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event)
|
|
139
138
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
(
|
|
142
|
-
return
|
|
139
|
+
default: withCtx(() => [
|
|
140
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(listOptions.value, (item) => {
|
|
141
|
+
return openBlock(), createBlock(_component_el_radio, {
|
|
143
142
|
key: item.value,
|
|
144
143
|
value: item.value,
|
|
145
144
|
label: item.label
|
|
@@ -154,4 +153,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
154
153
|
};
|
|
155
154
|
}
|
|
156
155
|
});
|
|
157
|
-
|
|
156
|
+
export {
|
|
157
|
+
_sfc_main as default
|
|
158
|
+
};
|