super-page-designer 2.3.15-sit3-design1 → 2.3.16-design1
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/components/design/utils/assemblys-config.js +1 -1
- package/dist/es/components/design/utils/page-event-util.js +1 -0
- package/dist/es/components/design/utils/page-i18n-util.js +6 -5
- package/dist/es/components/design/utils/page-service-util.d.ts +1 -1
- package/dist/es/components/design/utils/page-service-util.js +2 -14
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +5 -4
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-serieslist.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/gauge/series/gauge-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/pie/series/pie-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +18 -18
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +27 -24
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +13 -13
- package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/form/form-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +3 -2
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +18 -18
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +41 -41
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/link/link-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +14 -13
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +13 -13
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +3 -3
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
- package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +18 -17
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +2 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +4 -4
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +3 -2
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +11 -11
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +3 -3
- package/dist/es/components/design/views/design/view/view-design.vue.js +3 -3
- package/dist/es/stores/undo-redo-store.js +1 -1
- package/dist/es/style.css +7 -3
- package/package.json +4 -4
|
@@ -21,9 +21,9 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8p
|
|
|
21
21
|
function $(e3) {
|
|
22
22
|
D.configure.props.base.defaultValue = e3;
|
|
23
23
|
}
|
|
24
|
-
return D.configure.isTable && (L.value = true), (
|
|
25
|
-
const
|
|
26
|
-
return t(), o(
|
|
24
|
+
return D.configure.isTable && (L.value = true), (l2, _2) => {
|
|
25
|
+
const z3 = a("el-option"), D2 = a("el-select"), C2 = a("el-form-item"), A = a("el-input"), P = a("el-text"), q = a("el-radio"), B = a("el-radio-group"), E = a("el-input-number"), F = a("el-collapse-item"), G = a("el-collapse"), H = a("el-form");
|
|
26
|
+
return t(), o(H, { "label-width": "80px", size: "small" }, { default: u(() => [s(G, { modelValue: S.value, "onUpdate:modelValue": _2[11] || (_2[11] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [s(C2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: T.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => T.value = e3), onChange: I, placeholder: "请选择" }, { default: u(() => [(t(true), d(m, null, p(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(C2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), L.value ? i("", true) : (t(), o(C2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), s(C2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": $ }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), L.value ? i("", true) : (t(), o(C2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), s(C2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: u(() => [s(A, { modelValue: e2.configure.props.base.formatting, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(P, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => [..._2[12] || (_2[12] = [c(" ${value}:数据值 ", -1)])]), _: 1 })]), _: 1 }), s(C2, { label: "链接提示", class: "amb-design-attr-item" }, { default: u(() => [s(A, { modelValue: e2.configure.props.base.linkTips, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.linkTips = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(P, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => [..._2[13] || (_2[13] = [c(" ${value}:数据值 ", -1)])]), _: 1 })]), _: 1 }), L.value ? i("", true) : (t(), o(C2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(B, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(q, { value: true }, { default: u(() => [..._2[14] || (_2[14] = [c("显示", -1)])]), _: 1 }), s(q, { value: false }, { default: u(() => [..._2[15] || (_2[15] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(s(C2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(s(C2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(C2, { label: "类型", class: "amb-design-attr-item" }, { default: u(() => [s(B, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: u(() => [s(q, { value: "primary" }, { default: u(() => [..._2[16] || (_2[16] = [c("无", -1)])]), _: 1 }), s(q, { value: "success" }, { default: u(() => [..._2[17] || (_2[17] = [c("success", -1)])]), _: 1 }), s(q, { value: "info" }, { default: u(() => [..._2[18] || (_2[18] = [c("info", -1)])]), _: 1 }), s(q, { value: "warning" }, { default: u(() => [..._2[19] || (_2[19] = [c("warning", -1)])]), _: 1 }), s(q, { value: "danger" }, { default: u(() => [..._2[20] || (_2[20] = [c("danger", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(C2, { label: "前缀图标", class: "amb-design-attr-item" }, { default: u(() => [s(v, { modelValue: e2.configure.props.base.showIcon, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.showIcon = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(C2, { label: "下划线", class: "amb-design-attr-item" }, { default: u(() => [s(B, { modelValue: e2.configure.props.base.underline, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.underline = l3), class: "ml-4" }, { default: u(() => [s(q, { value: true }, { default: u(() => [..._2[21] || (_2[21] = [c("显示", -1)])]), _: 1 }), s(q, { value: false }, { default: u(() => [..._2[22] || (_2[22] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(C2, { label: "显示判断", class: "amb-design-attr-item" }, { default: u(() => [s(x, { list: e2.configure.props.buttonDisplayConditionsList, title: "显示条件" }, null, 8, ["list"])]), _: 1 }), s(C2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(B, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(q, { value: "default" }, { default: u(() => [..._2[23] || (_2[23] = [c("普通", -1)])]), _: 1 }), s(q, { value: "disabled" }, { default: u(() => [..._2[24] || (_2[24] = [c("禁用", -1)])]), _: 1 }), s(q, { value: "hidden" }, { default: u(() => [..._2[25] || (_2[25] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(F, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", j, [(t(), o(b, { key: e2.configure.uuid, configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), L.value ? i("", true) : (t(), o(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
27
27
|
};
|
|
28
28
|
} });
|
|
29
29
|
export {
|
|
@@ -6,7 +6,7 @@ import f from "./link-attr-event.vue.js";
|
|
|
6
6
|
import p from "./link-attr-advanced.vue.js";
|
|
7
7
|
const d = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-list" }, b = e({ __name: "link-attr", props: { configure: {}, pageDesign: {} }, setup(e2) {
|
|
8
8
|
let b2 = n("base");
|
|
9
|
-
return (
|
|
9
|
+
return (n2, j) => (t(), r("div", d, [o(c, { modelValue: i(b2), "onUpdate:modelValue": j[0] || (j[0] = (e3) => l(b2) ? b2.value = e3 : b2 = e3) }, null, 8, ["modelValue"]), a("div", v, [u(o(g, { configure: e2.configure, pageDesign: e2.pageDesign, onChangeAssembly: j[1] || (j[1] = (e3) => n2.$emit("changeAssembly", e3)) }, null, 8, ["configure", "pageDesign"]), [[s, "base" === i(b2)]]), u(o(m, { configure: e2.configure }, null, 8, ["configure"]), [[s, "style" === i(b2)]]), u(o(f, { configure: e2.configure }, null, 8, ["configure"]), [[s, "event" === i(b2)]]), u(o(p, { configure: e2.configure }, null, 8, ["configure"]), [[s, "advanced" === i(b2)]])])]));
|
|
10
10
|
} });
|
|
11
11
|
export {
|
|
12
12
|
b as default
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js
CHANGED
|
@@ -9,7 +9,7 @@ const v = { style: { padding: "8px 0px 0px 0px" } }, V = e({ __name: "placeholde
|
|
|
9
9
|
}
|
|
10
10
|
return _.configure.isTable && (z.value = true), (l2, b2) => {
|
|
11
11
|
const V3 = a("el-option"), _2 = a("el-select"), h2 = a("el-form-item"), U = a("el-input"), k = a("el-radio"), q = a("el-radio-group"), w = a("el-collapse-item"), A = a("el-collapse"), C = a("el-form");
|
|
12
|
-
return t(), u(C, { "label-width": "80px", size: "small" }, { default: o(() => [i(A, { modelValue: x.value, "onUpdate:modelValue": b2[3] || (b2[3] = (e3) => x.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [i(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", v, [i(h2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [i(_2, { modelValue: y.value, "onUpdate:modelValue": b2[0] || (b2[0] = (e3) => y.value = e3), onChange: j, placeholder: "请选择" }, { default: o(() => [(t(true), r(m, null, n(p(c)(), (e3) => (t(), u(V3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(h2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [i(U, { modelValue: e2.configure.uuid, "onUpdate:modelValue": b2[1] || (b2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(h2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [i(q, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": b2[2] || (b2[2] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [i(k, { value: "default" }, { default: o(() => b2[4] || (b2[4] = [f("普通")])), _: 1 }), i(k, { value: "hidden" }, { default: o(() => b2[5] || (b2[5] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), z.value ? s("", true) : (t(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
12
|
+
return t(), u(C, { "label-width": "80px", size: "small" }, { default: o(() => [i(A, { modelValue: x.value, "onUpdate:modelValue": b2[3] || (b2[3] = (e3) => x.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [i(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", v, [i(h2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [i(_2, { modelValue: y.value, "onUpdate:modelValue": b2[0] || (b2[0] = (e3) => y.value = e3), onChange: j, placeholder: "请选择" }, { default: o(() => [(t(true), r(m, null, n(p(c)(), (e3) => (t(), u(V3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(h2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [i(U, { modelValue: e2.configure.uuid, "onUpdate:modelValue": b2[1] || (b2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(h2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [i(q, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": b2[2] || (b2[2] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [i(k, { value: "default" }, { default: o(() => [...b2[4] || (b2[4] = [f("普通", -1)])]), _: 1 }), i(k, { value: "hidden" }, { default: o(() => [...b2[5] || (b2[5] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), z.value ? s("", true) : (t(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
13
13
|
};
|
|
14
14
|
} });
|
|
15
15
|
export {
|
|
@@ -20,7 +20,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
20
20
|
}
|
|
21
21
|
return W.configure.isTable && (P.value = true), (l2, v2) => {
|
|
22
22
|
const S3 = a("el-option"), W2 = a("el-select"), q2 = a("el-form-item"), C = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
|
|
23
|
-
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: O.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", U, [i(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(W2, { modelValue: D.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => D.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(S3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? r("", true) : (u(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), i(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), P.value ? r("", true) : (u(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? r("", true) : (u(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(q2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(q2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), P.value ? r("", true) : (u(), o(V, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", key: e2.configure.uuid, name: "verification", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", z, [i(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(j, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), P.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
|
+
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: O.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", U, [i(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(W2, { modelValue: D.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => D.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(S3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? r("", true) : (u(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), i(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), P.value ? r("", true) : (u(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? r("", true) : (u(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [...v2[10] || (v2[10] = [c("显示", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [...v2[11] || (v2[11] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(q2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => [...v2[12] || (v2[12] = [c("换行", -1)])]), _: 1 }), i(B, { value: "inline" }, { default: t(() => [...v2[13] || (v2[13] = [c("不换行", -1)])]), _: 1 }), i(B, { value: "omit" }, { default: t(() => [...v2[14] || (v2[14] = [c("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => [...v2[15] || (v2[15] = [c("大", -1)])]), _: 1 }), i(B, { value: "default" }, { default: t(() => [...v2[16] || (v2[16] = [c("中", -1)])]), _: 1 }), i(B, { value: "small" }, { default: t(() => [...v2[17] || (v2[17] = [c("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(q2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => [...v2[18] || (v2[18] = [c("普通", -1)])]), _: 1 }), i(B, { value: "disabled" }, { default: t(() => [...v2[19] || (v2[19] = [c("禁用", -1)])]), _: 1 }), i(B, { value: "readonly" }, { default: t(() => [...v2[20] || (v2[20] = [c("只读", -1)])]), _: 1 }), i(B, { value: "hidden" }, { default: t(() => [...v2[21] || (v2[21] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), P.value ? r("", true) : (u(), o(V, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", key: e2.configure.uuid, name: "verification", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", z, [i(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(j, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), P.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
|
@@ -19,7 +19,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return w.configure.isTable && (T.value = true), (l2, V2) => {
|
|
21
21
|
const U3 = a("el-option"), w2 = a("el-select"), z2 = a("el-form-item"), A = a("el-input"), C = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
|
|
22
|
-
return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => V2[10] || (V2[10] = [f("显示")])), _: 1 }), i(C, { value: false }, { default: u(() => V2[11] || (V2[11] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => V2[12] || (V2[12] = [f("换行")])), _: 1 }), i(C, { value: "inline" }, { default: u(() => V2[13] || (V2[13] = [f("不换行")])), _: 1 }), i(C, { value: "omit" }, { default: u(() => V2[14] || (V2[14] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => V2[15] || (V2[15] = [f("普通")])), _: 1 }), i(C, { value: "readonly" }, { default: u(() => V2[16] || (V2[16] = [f("只读")])), _: 1 }), i(C, { value: "hidden" }, { default: u(() => V2[17] || (V2[17] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H, { type: "default" }, { default: u(() => V2[18] || (V2[18] = [f("自定义逻辑")])), _: 1 }), i(H, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
22
|
+
return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => [...V2[10] || (V2[10] = [f("显示", -1)])]), _: 1 }), i(C, { value: false }, { default: u(() => [...V2[11] || (V2[11] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => [...V2[12] || (V2[12] = [f("换行", -1)])]), _: 1 }), i(C, { value: "inline" }, { default: u(() => [...V2[13] || (V2[13] = [f("不换行", -1)])]), _: 1 }), i(C, { value: "omit" }, { default: u(() => [...V2[14] || (V2[14] = [f("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => [...V2[15] || (V2[15] = [f("普通", -1)])]), _: 1 }), i(C, { value: "readonly" }, { default: u(() => [...V2[16] || (V2[16] = [f("只读", -1)])]), _: 1 }), i(C, { value: "hidden" }, { default: u(() => [...V2[17] || (V2[17] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H, { type: "default" }, { default: u(() => [...V2[18] || (V2[18] = [f("自定义逻辑", -1)])]), _: 1 }), i(H, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as t, onMounted as i, onUnmounted as u, resolveComponent as a, createBlock as n, openBlock as r, normalizeStyle as o, normalizeClass as c, withCtx as d, createElementVNode as s, createElementBlock as p, createCommentVNode as f, toDisplayString as
|
|
2
|
-
import { caculateDetailComponentStyle as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as t, onMounted as i, onUnmounted as u, resolveComponent as a, createBlock as n, openBlock as r, normalizeStyle as o, normalizeClass as c, withCtx as d, createElementVNode as s, createElementBlock as p, createCommentVNode as f, toDisplayString as v } from "vue";
|
|
2
|
+
import { caculateDetailComponentStyle as g, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import h from "quill";
|
|
4
4
|
import "quill/dist/quill.snow.css";
|
|
5
5
|
const y = { style: { height: "100%", width: "100%" } }, b = e({ __name: "richtext-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
6
6
|
const b2 = e2;
|
|
7
7
|
b2.configure.runtime || (b2.configure.runtime = {}), l(null);
|
|
8
|
-
const x = l(null), k = l(null), q = l(null), w = l({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"] }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: "", readOnly: true }), S = l({}), _ = l(""), C = l({}), E = l({}), R = l({}),
|
|
9
|
-
function
|
|
8
|
+
const x = l(null), k = l(null), q = l(null), w = l({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"] }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: "", readOnly: true }), S = l({}), _ = l(""), C = l({}), E = l({}), R = l({}), T = l({});
|
|
9
|
+
function j() {
|
|
10
10
|
if (k && k.value && k.value.container) {
|
|
11
11
|
const e3 = k.value.container.parentNode.getBoundingClientRect(), l2 = k.value.container.getBoundingClientRect();
|
|
12
12
|
let t2 = e3.height - (l2.top - e3.top);
|
|
@@ -14,15 +14,15 @@ const y = { style: { height: "100%", width: "100%" } }, b = e({ __name: "richtex
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
t(b2.configure.style, () => {
|
|
17
|
-
|
|
17
|
+
g(b2.configure, S, _, C), b2.configure.runtime.style = S.value, b2.configure.runtime.class = _.value, b2.configure.runtime.headerStyle = C.value, j();
|
|
18
18
|
}, { immediate: true }), t(b2.configure.props, () => {
|
|
19
19
|
m(b2.configure, E, R);
|
|
20
20
|
let e3 = b2.configure.props ? b2.configure.props : {};
|
|
21
21
|
const l2 = e3.base ? e3.base : {};
|
|
22
22
|
let t2 = "";
|
|
23
|
-
t2 = l2.prop ? l2.prop : l2.defaultValue ? l2.defaultValue : "${page." + b2.configure.uuid + "}", E.value.value = t2,
|
|
23
|
+
t2 = l2.prop ? l2.prop : l2.defaultValue ? l2.defaultValue : "${page." + b2.configure.uuid + "}", E.value.value = t2, j(), k && k.value && (k.value.enable("readonly" != E.value.state), k.value.root.dataset.placeholder = E.value.placeholder ? E.value.placeholder : ""), b2.configure.runtime.props = E.value, b2.configure.runtime.titleExceedStyle = R.value;
|
|
24
24
|
}, { immediate: true });
|
|
25
|
-
const
|
|
25
|
+
const B = (e3) => {
|
|
26
26
|
q.value && e3 && q.value.click();
|
|
27
27
|
}, F = (e3) => {
|
|
28
28
|
const l2 = Array.prototype.slice.call(e3.target.files);
|
|
@@ -35,17 +35,18 @@ const y = { style: { height: "100%", width: "100%" } }, b = e({ __name: "richtex
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
|
-
let
|
|
38
|
+
let H;
|
|
39
39
|
return i(() => {
|
|
40
|
-
k.value = new h(x.value, w.value), k.value.getModule("toolbar").addHandler("image",
|
|
41
|
-
|
|
40
|
+
k.value = new h(x.value, w.value), k.value.getModule("toolbar").addHandler("image", B), k.value.on("text-change", function(e3, l2, t2) {
|
|
41
|
+
H && clearTimeout(H), H = setTimeout(function() {
|
|
42
|
+
k.value.root.innerHTML;
|
|
42
43
|
}, 1e3);
|
|
43
|
-
}),
|
|
44
|
+
}), j();
|
|
44
45
|
}), u(() => {
|
|
45
|
-
|
|
46
|
+
H && clearTimeout(H);
|
|
46
47
|
}), (e3, l2) => {
|
|
47
48
|
const t2 = a("el-form-item");
|
|
48
|
-
return r(), n(t2, { required: E.value.required, class: c([_.value, "remove-formLabel-formContent-blankStyle"]), "label-width": E.value.labelWidth, style: o(S.value) }, { label: d(() => [E.value.tittleShow ? (r(), p("div", { key: 0, style: o({ ...C.value, ...R.value, "padding-right": "12px" }) },
|
|
49
|
+
return r(), n(t2, { required: E.value.required, class: c([_.value, "remove-formLabel-formContent-blankStyle"]), "label-width": E.value.labelWidth, style: o(S.value) }, { label: d(() => [E.value.tittleShow ? (r(), p("div", { key: 0, style: o({ ...C.value, ...R.value, "padding-right": "12px" }) }, v(E.value.title), 5)) : f("", true)]), default: d(() => [s("div", y, [s("div", { ref_key: "quillEditorRef", ref: x, style: o({ ...T.value }) }, null, 4), s("input", { type: "file", hidden: "", accept: ".jpg,.png", ref_key: "fileBtn", ref: q, onChange: F }, null, 544)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
49
50
|
};
|
|
50
51
|
} });
|
|
51
52
|
export {
|
|
@@ -24,7 +24,7 @@ const S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
24
24
|
}
|
|
25
25
|
return W.configure.isTable && (T.value = true), (l2, _2) => {
|
|
26
26
|
const q3 = a("el-option"), W2 = a("el-select"), P2 = a("el-form-item"), B = a("el-input"), E = a("el-radio"), F = a("el-radio-group"), G = a("el-input-number"), H = a("el-collapse-item"), I = a("el-checkbox"), J = a("el-collapse"), K = a("el-form");
|
|
27
|
-
return o(), u(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": _2[16] || (_2[16] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", S, [i(P2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(W2, { modelValue: D.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => D.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(o(true), n(m, null, p(f(b)(), (e3) => (o(), u(q3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), u(P2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? s("", true) : (o(), u(P2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), u(P2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(P2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(x, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), T.value ? s("", true) : (o(), u(P2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[17] || (_2[17] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[18] || (_2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(P2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(P2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(P2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "block" }, { default: t(() => _2[19] || (_2[19] = [c("换行")])), _: 1 }), i(E, { value: "inline" }, { default: t(() => _2[20] || (_2[20] = [c("不换行")])), _: 1 }), i(E, { value: "omit" }, { default: t(() => _2[21] || (_2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(P2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[22] || (_2[22] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[23] || (_2[23] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(P2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[24] || (_2[24] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[25] || (_2[25] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[26] || (_2[26] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[27] || (_2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[28] || (_2[28] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[29] || (_2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(P2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[30] || (_2[30] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[31] || (_2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[32] || (_2[32] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[33] || (_2[33] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "large" }, { default: t(() => _2[34] || (_2[34] = [c("大")])), _: 1 }), i(E, { value: "default" }, { default: t(() => _2[35] || (_2[35] = [c("中")])), _: 1 }), i(E, { value: "small" }, { default: t(() => _2[36] || (_2[36] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[14] || (_2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "default" }, { default: t(() => _2[37] || (_2[37] = [c("普通")])), _: 1 }), i(E, { value: "disabled" }, { default: t(() => _2[38] || (_2[38] = [c("禁用")])), _: 1 }), i(E, { value: "hidden" }, { default: t(() => _2[39] || (_2[39] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), T.value ? s("", true) : (o(), u(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (o(), u(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), r(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(H, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [d("div", z, [i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
27
|
+
return o(), u(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": _2[16] || (_2[16] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", S, [i(P2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(W2, { modelValue: D.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => D.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(o(true), n(m, null, p(f(b)(), (e3) => (o(), u(q3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), u(P2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? s("", true) : (o(), u(P2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), u(P2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(P2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(x, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), T.value ? s("", true) : (o(), u(P2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[17] || (_2[17] = [c("显示", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[18] || (_2[18] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(P2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(P2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(P2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "block" }, { default: t(() => [..._2[19] || (_2[19] = [c("换行", -1)])]), _: 1 }), i(E, { value: "inline" }, { default: t(() => [..._2[20] || (_2[20] = [c("不换行", -1)])]), _: 1 }), i(E, { value: "omit" }, { default: t(() => [..._2[21] || (_2[21] = [c("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(P2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[22] || (_2[22] = [c("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[23] || (_2[23] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(P2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[24] || (_2[24] = [c("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[25] || (_2[25] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[26] || (_2[26] = [c("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[27] || (_2[27] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[28] || (_2[28] = [c("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[29] || (_2[29] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(P2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[30] || (_2[30] = [c("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[31] || (_2[31] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[32] || (_2[32] = [c("显示", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[33] || (_2[33] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "large" }, { default: t(() => [..._2[34] || (_2[34] = [c("大", -1)])]), _: 1 }), i(E, { value: "default" }, { default: t(() => [..._2[35] || (_2[35] = [c("中", -1)])]), _: 1 }), i(E, { value: "small" }, { default: t(() => [..._2[36] || (_2[36] = [c("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[14] || (_2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "default" }, { default: t(() => [..._2[37] || (_2[37] = [c("普通", -1)])]), _: 1 }), i(E, { value: "disabled" }, { default: t(() => [..._2[38] || (_2[38] = [c("禁用", -1)])]), _: 1 }), i(E, { value: "hidden" }, { default: t(() => [..._2[39] || (_2[39] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), T.value ? s("", true) : (o(), u(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (o(), u(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), r(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(H, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [d("div", z, [i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
28
28
|
};
|
|
29
29
|
} });
|
|
30
30
|
export {
|
|
@@ -28,9 +28,9 @@ const w = e({ __name: "select-design", props: { pageDesign: {}, configure: {} },
|
|
|
28
28
|
y(V.configure), q && clearTimeout(q), z && clearTimeout(z);
|
|
29
29
|
}), a(V.configure.props, () => {
|
|
30
30
|
O();
|
|
31
|
-
}), (
|
|
32
|
-
const
|
|
33
|
-
return o(), i(
|
|
31
|
+
}), (l2, a2) => {
|
|
32
|
+
const t2 = u("el-option"), b2 = u("el-select"), y2 = u("el-form-item");
|
|
33
|
+
return o(), i(y2, { required: !!_.value.required, class: s([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": _.value.labelWidth, style: r(S.value) }, { label: n(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: r({ ...C.value, ...j.value, "padding-right": "12px" }) }, [_.value.prefixType ? (o(), i(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (o(), p(f, { key: 1 }, [g(d(_.value.title), 1)], 64))], 4)) : v("", true)]), default: n(() => [c(b2, { ref_key: "thisRef", ref: k, disabled: "", size: _.value.size, clearable: _.value.clearable, multiple: _.value.multiple, "collapse-tags": _.value.collapseTags, "collapse-tags-tooltip": _.value.collapseTagsTooltip, filterable: _.value.filterable, "allow-create": _.value.allowCreate, placeholder: _.value.placeholder, modelValue: _.value.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => _.value.value = e3), onClick: a2[1] || (a2[1] = (e3) => l2.$emit("handleSelect")) }, { default: n(() => [(o(true), p(f, null, m(_.value.options, (e3) => (o(), i(t2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
34
34
|
};
|
|
35
35
|
} });
|
|
36
36
|
export {
|
package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js
CHANGED
|
@@ -18,7 +18,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
|
|
|
18
18
|
q();
|
|
19
19
|
}), (t2, a2) => {
|
|
20
20
|
const O3 = l("el-badge");
|
|
21
|
-
return s(), n("div", k, [r("div", C, [r("div", D, [r("label", { class: c({ selected: "base" == u(x) }), onClick: a2[0] || (a2[0] = (e3) => o(x) ? x.value = "base" : x = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == u(x) }), onClick: a2[1] || (a2[1] = (e3) => o(x) ? x.value = "style" : x = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == u(x) }), onClick: a2[2] || (a2[2] = (e3) => o(x) ? x.value = "event" : x = "event") }, [a2[4] || (a2[4] = i(" 事件 ")), L.value > 0 ? (s(), g(O3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), r("label", { class: c({ selected: "advanced" == u(x) }), onClick: a2[3] || (a2[3] = (e3) => o(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), r("div", h, [f(d(b, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[p, "base" == u(x)]]), f(d(m, { configure: e2.configure }, null, 8, ["configure"]), [[p, "style" == u(x)]]), f(d(y, { configure: e2.configure }, null, 8, ["configure"]), [[p, "event" == u(x)]]), f(d(j, { configure: e2.configure }, null, 8, ["configure"]), [[p, "advanced" == u(x)]])])]);
|
|
21
|
+
return s(), n("div", k, [r("div", C, [r("div", D, [r("label", { class: c({ selected: "base" == u(x) }), onClick: a2[0] || (a2[0] = (e3) => o(x) ? x.value = "base" : x = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == u(x) }), onClick: a2[1] || (a2[1] = (e3) => o(x) ? x.value = "style" : x = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == u(x) }), onClick: a2[2] || (a2[2] = (e3) => o(x) ? x.value = "event" : x = "event") }, [a2[4] || (a2[4] = i(" 事件 ", -1)), L.value > 0 ? (s(), g(O3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), r("label", { class: c({ selected: "advanced" == u(x) }), onClick: a2[3] || (a2[3] = (e3) => o(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), r("div", h, [f(d(b, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[p, "base" == u(x)]]), f(d(m, { configure: e2.configure }, null, 8, ["configure"]), [[p, "style" == u(x)]]), f(d(y, { configure: e2.configure }, null, 8, ["configure"]), [[p, "event" == u(x)]]), f(d(j, { configure: e2.configure }, null, 8, ["configure"]), [[p, "advanced" == u(x)]])])]);
|
|
22
22
|
};
|
|
23
23
|
} });
|
|
24
24
|
export {
|
package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js
CHANGED
|
@@ -9,9 +9,9 @@ const m = e({ __name: "separatelabel-design", props: { pageDesign: {}, configure
|
|
|
9
9
|
}
|
|
10
10
|
return b(), r(m2.configure.style, () => {
|
|
11
11
|
b();
|
|
12
|
-
}), (
|
|
13
|
-
const
|
|
14
|
-
return o(), u("div", { style: l(d.value), class: t([y.value, "amb-widget-separatelabel"]), ref: "thisRef" }, [s("div", { class: "label", style: l(v.value) }, [
|
|
12
|
+
}), (i2, r2) => {
|
|
13
|
+
const f2 = n("SuperIcon");
|
|
14
|
+
return o(), u("div", { style: l(d.value), class: t([y.value, "amb-widget-separatelabel"]), ref: "thisRef" }, [s("div", { class: "label", style: l(v.value) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (o(), a(f2, { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), p(" " + g(e2.configure.props.base.title), 1)], 4)], 6);
|
|
15
15
|
};
|
|
16
16
|
} });
|
|
17
17
|
export {
|
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return w.configure.isTable && (z.value = true), (l2, V2) => {
|
|
21
21
|
const k3 = a("el-option"), w2 = a("el-select"), j2 = a("el-form-item"), q = a("el-input"), A = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-color-picker"), F = a("el-collapse-item"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
|
|
22
|
-
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), n(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => V2[17] || (V2[17] = [f("显示")])), _: 1 }), i(A, { value: false }, { default: u(() => V2[18] || (V2[18] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [f("换行")])), _: 1 }), i(A, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [f("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [f("大")])), _: 1 }), i(A, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [f("中")])), _: 1 }), i(A, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [f("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [f("禁用")])), _: 1 }), i(A, { value: "hidden" }, { default: u(() => V2[27] || (V2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => V2[28] || (V2[28] = [f("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
22
|
+
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), n(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => [...V2[17] || (V2[17] = [f("显示", -1)])]), _: 1 }), i(A, { value: false }, { default: u(() => [...V2[18] || (V2[18] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => [...V2[19] || (V2[19] = [f("换行", -1)])]), _: 1 }), i(A, { value: "inline" }, { default: u(() => [...V2[20] || (V2[20] = [f("不换行", -1)])]), _: 1 }), i(A, { value: "omit" }, { default: u(() => [...V2[21] || (V2[21] = [f("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => [...V2[22] || (V2[22] = [f("大", -1)])]), _: 1 }), i(A, { value: "default" }, { default: u(() => [...V2[23] || (V2[23] = [f("中", -1)])]), _: 1 }), i(A, { value: "small" }, { default: u(() => [...V2[24] || (V2[24] = [f("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => [...V2[25] || (V2[25] = [f("普通", -1)])]), _: 1 }), i(A, { value: "disabled" }, { default: u(() => [...V2[26] || (V2[26] = [f("禁用", -1)])]), _: 1 }), i(A, { value: "hidden" }, { default: u(() => [...V2[27] || (V2[27] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => [...V2[28] || (V2[28] = [f("自定义逻辑", -1)])]), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "tag-attr-b
|
|
|
19
19
|
}
|
|
20
20
|
return x.configure.isTable && (S.value = true), (l2, V2) => {
|
|
21
21
|
const w3 = a("el-option"), x2 = a("el-select"), z2 = a("el-form-item"), $ = a("el-input"), q = a("el-text"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), B = a("el-collapse-item"), E = a("el-collapse"), F = a("el-form");
|
|
22
|
-
return u(), t(F, { "label-width": "80px", size: "small" }, { default: o(() => [s(E, { modelValue: j.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", U, [s(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [s(x2, { modelValue: k.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => k.value = e3), onChange: O, placeholder: "请选择" }, { default: o(() => [(u(true), r(m, null, p(f(b)(), (e3) => (u(), t(w3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), s(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": W }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), s(z2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.props.base.formatting, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(q, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => V2[12] || (V2[12] = [c(" ${value}:数据值;${no}:数据序号 ")])), _: 1 })]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => V2[13] || (V2[13] = [c("显示")])), _: 1 }), s(A, { value: false }, { default: o(() => V2[14] || (V2[14] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(s(z2, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [s(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: o(() => [s(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "block" }, { default: o(() => V2[15] || (V2[15] = [c("换行")])), _: 1 }), s(A, { value: "inline" }, { default: o(() => V2[16] || (V2[16] = [c("不换行")])), _: 1 }), s(A, { value: "omit" }, { default: o(() => V2[17] || (V2[17] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(z2, { label: "类型", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "primary" }, { default: o(() => V2[18] || (V2[18] = [c("无")])), _: 1 }), s(A, { value: "success" }, { default: o(() => V2[19] || (V2[19] = [c("success")])), _: 1 }), s(A, { value: "info" }, { default: o(() => V2[20] || (V2[20] = [c("info")])), _: 1 }), s(A, { value: "warning" }, { default: o(() => V2[21] || (V2[21] = [c("warning")])), _: 1 }), s(A, { value: "danger" }, { default: o(() => V2[22] || (V2[22] = [c("danger")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "可移除", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.closable, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.closable = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => V2[23] || (V2[23] = [c("是")])), _: 1 }), s(A, { value: false }, { default: o(() => V2[24] || (V2[24] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "large" }, { default: o(() => V2[25] || (V2[25] = [c("大")])), _: 1 }), s(A, { value: "default" }, { default: o(() => V2[26] || (V2[26] = [c("中")])), _: 1 }), s(A, { value: "small" }, { default: o(() => V2[27] || (V2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "default" }, { default: o(() => V2[28] || (V2[28] = [c("普通")])), _: 1 }), s(A, { value: "hidden" }, { default: o(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), S.value ? i("", true) : (u(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
22
|
+
return u(), t(F, { "label-width": "80px", size: "small" }, { default: o(() => [s(E, { modelValue: j.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", U, [s(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [s(x2, { modelValue: k.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => k.value = e3), onChange: O, placeholder: "请选择" }, { default: o(() => [(u(true), r(m, null, p(f(b)(), (e3) => (u(), t(w3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), s(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": W }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), s(z2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.props.base.formatting, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(q, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => [...V2[12] || (V2[12] = [c(" ${value}:数据值;${no}:数据序号 ", -1)])]), _: 1 })]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => [...V2[13] || (V2[13] = [c("显示", -1)])]), _: 1 }), s(A, { value: false }, { default: o(() => [...V2[14] || (V2[14] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(s(z2, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [s(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: o(() => [s(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "block" }, { default: o(() => [...V2[15] || (V2[15] = [c("换行", -1)])]), _: 1 }), s(A, { value: "inline" }, { default: o(() => [...V2[16] || (V2[16] = [c("不换行", -1)])]), _: 1 }), s(A, { value: "omit" }, { default: o(() => [...V2[17] || (V2[17] = [c("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(z2, { label: "类型", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "primary" }, { default: o(() => [...V2[18] || (V2[18] = [c("无", -1)])]), _: 1 }), s(A, { value: "success" }, { default: o(() => [...V2[19] || (V2[19] = [c("success", -1)])]), _: 1 }), s(A, { value: "info" }, { default: o(() => [...V2[20] || (V2[20] = [c("info", -1)])]), _: 1 }), s(A, { value: "warning" }, { default: o(() => [...V2[21] || (V2[21] = [c("warning", -1)])]), _: 1 }), s(A, { value: "danger" }, { default: o(() => [...V2[22] || (V2[22] = [c("danger", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "可移除", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.closable, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.closable = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => [...V2[23] || (V2[23] = [c("是", -1)])]), _: 1 }), s(A, { value: false }, { default: o(() => [...V2[24] || (V2[24] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "large" }, { default: o(() => [...V2[25] || (V2[25] = [c("大", -1)])]), _: 1 }), s(A, { value: "default" }, { default: o(() => [...V2[26] || (V2[26] = [c("中", -1)])]), _: 1 }), s(A, { value: "small" }, { default: o(() => [...V2[27] || (V2[27] = [c("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "default" }, { default: o(() => [...V2[28] || (V2[28] = [c("普通", -1)])]), _: 1 }), s(A, { value: "hidden" }, { default: o(() => [...V2[29] || (V2[29] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), S.value ? i("", true) : (u(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import v from "../../common/common-attr-size.vue.js";
|
|
@@ -9,19 +9,19 @@ import x from "../common/verification-custom.vue.js";
|
|
|
9
9
|
import U from "../../common/common-i18n-key-input.vue.js";
|
|
10
10
|
const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "textarea-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }), pageDesign: { type: Object, default: () => {
|
|
11
11
|
} } }, emits: ["changeAssembly"], setup(e2, { emit: j2 }) {
|
|
12
|
-
const
|
|
13
|
-
function
|
|
14
|
-
|
|
12
|
+
const S = e2, z = l(S.configure.name), T = j2, W = l(["base"]), D = l(false);
|
|
13
|
+
function q(e3, l2) {
|
|
14
|
+
S.configure.props.base.prop = e3, l2 && (S.configure.props.base.title = l2);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
function I(e3) {
|
|
17
|
+
S.configure.props.base.defaultValue = e3;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
V(
|
|
19
|
+
function N(e3) {
|
|
20
|
+
V(S.configure, e3, T);
|
|
21
21
|
}
|
|
22
|
-
return
|
|
23
|
-
const j3 = a("el-option"),
|
|
24
|
-
return
|
|
22
|
+
return S.configure.isTable && (D.value = true), (l2, V2) => {
|
|
23
|
+
const j3 = a("el-option"), S2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), R = a("el-radio"), A = a("el-radio-group"), C = a("el-input-number"), B = a("el-switch"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-collapse"), J = a("el-form");
|
|
24
|
+
return t(), o(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(H, { modelValue: W.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(S2, { modelValue: z.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => z.value = e3), onChange: N, placeholder: "请选择" }, { default: u(() => [(t(true), d(m, null, p(f(b)(), (e3) => (t(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(_, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": q }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(_, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), D.value ? r("", true) : (t(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? r("", true) : (t(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(R, { value: true }, { default: u(() => [...V2[17] || (V2[17] = [c("显示", -1)])]), _: 1 }), i(R, { value: false }, { default: u(() => [...V2[18] || (V2[18] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "block" }, { default: u(() => [...V2[19] || (V2[19] = [c("换行", -1)])]), _: 1 }), i(R, { value: "inline" }, { default: u(() => [...V2[20] || (V2[20] = [c("不换行", -1)])]), _: 1 }), i(R, { value: "omit" }, { default: u(() => [...V2[21] || (V2[21] = [c("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "行数", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.minlength, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.minlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大长度", class: "amb-design-attr-item" }, { default: u(() => [i(C, { modelValue: e2.configure.props.base.maxlength, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.maxlength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "显示字数", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "large" }, { default: u(() => [...V2[22] || (V2[22] = [c("大", -1)])]), _: 1 }), i(R, { value: "default" }, { default: u(() => [...V2[23] || (V2[23] = [c("中", -1)])]), _: 1 }), i(R, { value: "small" }, { default: u(() => [...V2[24] || (V2[24] = [c("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(R, { value: "default" }, { default: u(() => [...V2[25] || (V2[25] = [c("普通", -1)])]), _: 1 }), i(R, { value: "disabled" }, { default: u(() => [...V2[26] || (V2[26] = [c("禁用", -1)])]), _: 1 }), i(R, { value: "readonly" }, { default: u(() => [...V2[27] || (V2[27] = [c("只读", -1)])]), _: 1 }), i(R, { value: "hidden" }, { default: u(() => [...V2[28] || (V2[28] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (t(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", k, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(O, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), D.value ? r("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|