super-page-designer 2.3.20-sit1-design1 → 2.3.21-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/page-event-util.js +1 -0
- package/dist/es/components/design/utils/page-i18n-util.js +6 -5
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +7 -7
- 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 +7 -7
- 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 +2 -2
- 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 +8 -8
- 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.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +6 -6
- 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 +6 -6
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
- 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 +1 -1
- 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.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 +1 -1
- 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 +3 -3
- 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.vue.d.ts +0 -9
- package/dist/es/components/design/views/design/page-design.vue2.js +28 -28
- package/dist/es/components/design/views/design/page-event/config.vue3.js +24 -23
- 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 +10 -11
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +2 -16
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +8 -8
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.d.ts +2 -16
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.js +20 -23
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +12 -11
- 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.vue.d.ts +0 -18
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +31 -34
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +20 -20
- 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 +8 -34
- package/package.json +4 -4
- package/dist/es/assets/images/data/file.png.js +0 -4
- package/dist/es/assets/images/data/folder.png.js +0 -4
- package/dist/es/components/design/utils/ucr-element-filter.d.ts +0 -2
- package/dist/es/components/design/utils/ucr-element-filter.js +0 -11
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.d.ts +0 -38
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.js +0 -7
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js +0 -111
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.d.ts +0 -6
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.js +0 -27
|
@@ -22,18 +22,18 @@ const k = e({ __name: "linkpage-page-callback", props: { linkPage: {} }, setup(e
|
|
|
22
22
|
let b;
|
|
23
23
|
return k2.linkPage.valueMappings || (k2.linkPage.valueMappings = []), 0 == k2.linkPage.valueMappings.length && v(null), l(() => {
|
|
24
24
|
b && clearTimeout(b);
|
|
25
|
-
}), (
|
|
26
|
-
const
|
|
27
|
-
return n(), o("div", null, [t(
|
|
28
|
-
return a2 = l3, o2 =
|
|
25
|
+
}), (l2, m2) => {
|
|
26
|
+
const P = a("el-divider"), _ = a("el-checkbox"), V = a("el-form-item"), M = a("el-checkbox-group"), h = a("el-input"), w = a("el-table-column"), y = a("el-icon"), T = a("el-table");
|
|
27
|
+
return n(), o("div", null, [t(P, null, { default: i(() => [...m2[1] || (m2[1] = [p("赋值回调", -1)])]), _: 1 }), t(M, { modelValue: e2.linkPage.callbackTypes, "onUpdate:modelValue": m2[0] || (m2[0] = (l3) => e2.linkPage.callbackTypes = l3) }, { default: i(() => [t(V, { class: "amb-design-attr-item" }, { label: i(() => [t(_, { value: "paramSet" }, { default: i(() => [...m2[2] || (m2[2] = [p("回调设值", -1)])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(t(T, { data: e2.linkPage.valueMappings, style: { "margin-top": "-10px" } }, { default: i(() => [t(w, { prop: "source", label: "源数据" }, { default: i((e3) => [t(h, { modelValue: e3.row.source, "onUpdate:modelValue": (l3) => e3.row.source = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), t(w, { prop: "target", label: "设置到" }, { default: i((e3) => [t(g, { modelValue: e3.row.target, paramTypes: ["page", "data"], "onUpdate:modelValue": (l3) => {
|
|
28
|
+
return a2 = l3, o2 = e3.row, n2 = "target", void (o2 && (o2[n2] = a2));
|
|
29
29
|
var a2, o2, n2;
|
|
30
|
-
} }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), t(
|
|
30
|
+
} }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), t(w, { label: "操作", width: "60" }, { default: i((e3) => [t(y, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => v(e3.row) }, { default: i(() => [t(r(s))]), _: 1 }, 8, ["onClick"]), t(y, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
31
31
|
b && clearTimeout(b);
|
|
32
|
-
let l4 = f(
|
|
32
|
+
let l4 = f(e4);
|
|
33
33
|
l4 > -1 && (k2.linkPage.valueMappings.splice(l4, 1), 0 == k2.linkPage.valueMappings.length && (b = setTimeout(function() {
|
|
34
34
|
v(null);
|
|
35
35
|
}, 10)));
|
|
36
|
-
}(
|
|
36
|
+
}(e3.row) }, { default: i(() => [t(r(d))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), [[c, e2.linkPage.callbackTypes && e2.linkPage.callbackTypes.includes("paramSet")]])]);
|
|
37
37
|
};
|
|
38
38
|
} });
|
|
39
39
|
export {
|
|
@@ -36,18 +36,18 @@ const s = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
36
36
|
if (l4 < 1) return;
|
|
37
37
|
const a3 = h.value;
|
|
38
38
|
[a3[l4 - 1], a3[l4]] = [a3[l4], a3[l4 - 1]];
|
|
39
|
-
}(e4.row) }, { default: r(() => [n(a2)]), _:
|
|
39
|
+
}(e4.row) }, { default: r(() => [n(a2)]), _: 1 }, 8, ["onClick"]), n(d2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e5) {
|
|
40
40
|
let l4 = C(e5);
|
|
41
41
|
if (-1 == l4 || h.value.length == l4 + 1) return;
|
|
42
42
|
const a3 = h.value;
|
|
43
43
|
[a3[l4], a3[l4 + 1]] = [a3[l4 + 1], a3[l4]];
|
|
44
|
-
}(e4.row) }, { default: r(() => [n(m2)]), _:
|
|
44
|
+
}(e4.row) }, { default: r(() => [n(m2)]), _: 1 }, 8, ["onClick"])])]), _: 1 }), n(c3, { label: "参数名称" }, { default: r((e4) => [n(f2, { modelValue: e4.row.paramName, "onUpdate:modelValue": (l3) => e4.row.paramName = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(c3, { prop: "value", label: "参数值" }, { default: r((e4) => [n(p, { modelValue: e4.row.paramValue, objModelOptions: g.value, "onUpdate:modelValue": (l3) => {
|
|
45
45
|
return a3 = l3, void ((t2 = e4.row) && (t2.paramValue = a3));
|
|
46
46
|
var a3, t2;
|
|
47
|
-
} }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), n(c3, { label: "操作", width: "60" }, { header: r(() => [n(d2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold" }, onClick: l2[0] || (l2[0] = (e4) => w(null)) }, { default: r(() => [n(v2)]), _: 1 })]), default: r((e4) => [n(d2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => w(e4.row) }, { default: r(() => [n(v2)]), _:
|
|
47
|
+
} }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), n(c3, { label: "操作", width: "60" }, { header: r(() => [n(d2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold" }, onClick: l2[0] || (l2[0] = (e4) => w(null)) }, { default: r(() => [n(v2)]), _: 1 })]), default: r((e4) => [n(d2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => w(e4.row) }, { default: r(() => [n(v2)]), _: 1 }, 8, ["onClick"]), n(d2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
48
48
|
return a3 = e4.$index, e4.row, void h.value.splice(a3, 1);
|
|
49
49
|
var a3;
|
|
50
|
-
} }, { default: r(() => [n(b2)]), _:
|
|
50
|
+
} }, { default: r(() => [n(b2)]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
51
51
|
};
|
|
52
52
|
} });
|
|
53
53
|
export {
|
|
@@ -10,7 +10,7 @@ const m = { style: { padding: "8px 0px 0px 0px" } }, d = e({ __name: "pre-suffix
|
|
|
10
10
|
}
|
|
11
11
|
return (d3, x) => {
|
|
12
12
|
const S = u("el-form-item"), V = u("el-radio"), T = u("el-radio-group"), b = u("el-collapse-item");
|
|
13
|
-
return a(), l(b, { title: "内容前/后缀", name: "preSuffix", class: "amb-design-attr-group-header" }, { default: f(() => [o("div", m, [p(S, { label: "前缀图标", class: "amb-design-attr-item" }, { default: f(() => [p(n, { iconType: e2.preSuffix.preIconType, iconValue: e2.preSuffix.preIconValue, "onUpdate:modelValue": x[0] || (x[0] = (e3, u2) => c(e3, u2, "pre")) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), p(S, { label: "前缀文本", class: "amb-design-attr-item" }, { default: f(() => [p(s, { modelValue: e2.preSuffix.preText, "onUpdate:modelValue": x[1] || (x[1] = (u2) => e2.preSuffix.preText = u2) }, null, 8, ["modelValue"])]), _: 1 }), p(S, { label: "后缀图标", class: "amb-design-attr-item" }, { default: f(() => [p(n, { iconType: e2.preSuffix.sufIconType, iconValue: e2.preSuffix.sufIconValue, "onUpdate:modelValue": x[2] || (x[2] = (e3, u2) => c(e3, u2, "suf")) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), p(S, { label: "后缀文本", class: "amb-design-attr-item" }, { default: f(() => [p(s, { modelValue: e2.preSuffix.sufText, "onUpdate:modelValue": x[3] || (x[3] = (u2) => e2.preSuffix.sufText = u2) }, null, 8, ["modelValue"])]), _: 1 }), i(p(S, { label: "附加方式", class: "amb-design-attr-item" }, { default: f(() => [p(T, { modelValue: e2.preSuffix.position, "onUpdate:modelValue": x[4] || (x[4] = (u2) => e2.preSuffix.position = u2), class: "ml-4" }, { default: f(() => [p(V, { value: "outer" }, { default: f(() => x[5] || (x[5] = [t("外部")])), _: 1 }), p(V, { value: "inner" }, { default: f(() => x[6] || (x[6] = [t("内藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.preSuffix.preIconType || e2.preSuffix.preText || e2.preSuffix.sufIconType || e2.preSuffix.sufText]])])]), _: 1 });
|
|
13
|
+
return a(), l(b, { title: "内容前/后缀", name: "preSuffix", class: "amb-design-attr-group-header" }, { default: f(() => [o("div", m, [p(S, { label: "前缀图标", class: "amb-design-attr-item" }, { default: f(() => [p(n, { iconType: e2.preSuffix.preIconType, iconValue: e2.preSuffix.preIconValue, "onUpdate:modelValue": x[0] || (x[0] = (e3, u2) => c(e3, u2, "pre")) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), p(S, { label: "前缀文本", class: "amb-design-attr-item" }, { default: f(() => [p(s, { modelValue: e2.preSuffix.preText, "onUpdate:modelValue": x[1] || (x[1] = (u2) => e2.preSuffix.preText = u2) }, null, 8, ["modelValue"])]), _: 1 }), p(S, { label: "后缀图标", class: "amb-design-attr-item" }, { default: f(() => [p(n, { iconType: e2.preSuffix.sufIconType, iconValue: e2.preSuffix.sufIconValue, "onUpdate:modelValue": x[2] || (x[2] = (e3, u2) => c(e3, u2, "suf")) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), p(S, { label: "后缀文本", class: "amb-design-attr-item" }, { default: f(() => [p(s, { modelValue: e2.preSuffix.sufText, "onUpdate:modelValue": x[3] || (x[3] = (u2) => e2.preSuffix.sufText = u2) }, null, 8, ["modelValue"])]), _: 1 }), i(p(S, { label: "附加方式", class: "amb-design-attr-item" }, { default: f(() => [p(T, { modelValue: e2.preSuffix.position, "onUpdate:modelValue": x[4] || (x[4] = (u2) => e2.preSuffix.position = u2), class: "ml-4" }, { default: f(() => [p(V, { value: "outer" }, { default: f(() => [...x[5] || (x[5] = [t("外部", -1)])]), _: 1 }), p(V, { value: "inner" }, { default: f(() => [...x[6] || (x[6] = [t("内藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.preSuffix.preIconType || e2.preSuffix.preText || e2.preSuffix.sufIconType || e2.preSuffix.sufText]])])]), _: 1 });
|
|
14
14
|
};
|
|
15
15
|
} });
|
|
16
16
|
export {
|
|
@@ -13,26 +13,26 @@ const f = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
13
13
|
}
|
|
14
14
|
return e2;
|
|
15
15
|
}
|
|
16
|
-
return g2.dataOrigin.staticStates || (g2.dataOrigin.staticStates = []), 0 == g2.dataOrigin.staticStates.length && g2.dataOrigin.staticStates.push({ uuid: c(), value: "1", label: ("dropdown" == g2.type ? "菜单" : "选项") + "1" }, { uuid: c(), value: "2", label: ("dropdown" == g2.type ? "菜单" : "选项") + "2" }), (
|
|
17
|
-
const
|
|
18
|
-
return a(), l(
|
|
19
|
-
let e3 = y(
|
|
16
|
+
return g2.dataOrigin.staticStates || (g2.dataOrigin.staticStates = []), 0 == g2.dataOrigin.staticStates.length && g2.dataOrigin.staticStates.push({ uuid: c(), value: "1", label: ("dropdown" == g2.type ? "菜单" : "选项") + "1" }, { uuid: c(), value: "2", label: ("dropdown" == g2.type ? "菜单" : "选项") + "2" }), (h, O) => {
|
|
17
|
+
const S = e("el-icon"), k = e("el-table-column"), v = e("el-input"), V = e("el-table");
|
|
18
|
+
return a(), l(V, { data: t2.dataOrigin.staticStates, border: "", style: { width: "100%" } }, { default: i(() => [o(k, { label: "", width: "32" }, { default: i((t3) => [n("div", f, [o(S, { size: "14", style: { cursor: "pointer" }, onClick: (e2) => function(t4) {
|
|
19
|
+
let e3 = y(t4);
|
|
20
20
|
if (e3 < 1) return;
|
|
21
21
|
const l2 = g2.dataOrigin.staticStates;
|
|
22
22
|
[l2[e3 - 1], l2[e3]] = [l2[e3], l2[e3 - 1]];
|
|
23
|
-
}(
|
|
24
|
-
let e3 = y(
|
|
23
|
+
}(t3.row) }, { default: i(() => [o(r(d))]), _: 1 }, 8, ["onClick"]), o(S, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (e2) => function(t4) {
|
|
24
|
+
let e3 = y(t4);
|
|
25
25
|
if (-1 == e3 || g2.dataOrigin.staticStates.length == e3 + 1) return;
|
|
26
26
|
const l2 = g2.dataOrigin.staticStates;
|
|
27
27
|
[l2[e3], l2[e3 + 1]] = [l2[e3 + 1], l2[e3]];
|
|
28
|
-
}(
|
|
28
|
+
}(t3.row) }, { default: i(() => [o(r(u))]), _: 1 }, 8, ["onClick"])])]), _: 1 }), o(k, { prop: "label", label: r(w), width: "90" }, { default: i((e2) => ["dropdown" == t2.type ? (a(), l(m, { key: 0, modelValue: e2.row.label, "onUpdate:modelValue": (t3) => e2.row.label = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), l(v, { key: 1, modelValue: e2.row.label, "onUpdate:modelValue": (t3) => e2.row.label = t3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"]))]), _: 1 }, 8, ["label"]), o(k, { prop: "value", label: r(b), width: "90" }, { default: i((t3) => [o(v, { modelValue: t3.row.value, "onUpdate:modelValue": (e2) => t3.row.value = e2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), o(k, { label: "操作", width: "60" }, { default: i((t3) => [o(S, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (e2) => function(t4) {
|
|
29
29
|
let e3 = -1;
|
|
30
|
-
|
|
31
|
-
}(
|
|
32
|
-
if (1 == g2.dataOrigin.staticStates.length) return
|
|
33
|
-
let e3 = y(
|
|
30
|
+
t4 && (e3 = y(t4)), g2.dataOrigin.staticStates.splice(e3 + 1, 0, { uuid: c(), value: "", label: "" });
|
|
31
|
+
}(t3.row) }, { default: i(() => [o(r(s))]), _: 1 }, 8, ["onClick"]), o(S, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (e2) => function(t4) {
|
|
32
|
+
if (1 == g2.dataOrigin.staticStates.length) return t4.value = "", void (t4.label = "");
|
|
33
|
+
let e3 = y(t4);
|
|
34
34
|
e3 > -1 && g2.dataOrigin.staticStates.splice(e3, 1);
|
|
35
|
-
}(
|
|
35
|
+
}(t3.row) }, { default: i(() => [o(r(p))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
36
36
|
};
|
|
37
37
|
} });
|
|
38
38
|
export {
|
|
@@ -47,13 +47,13 @@ const x = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, ta
|
|
|
47
47
|
function K(e3) {
|
|
48
48
|
G.value = e3, w.value.dynamicTags.push(e3);
|
|
49
49
|
}
|
|
50
|
-
return (
|
|
51
|
-
const
|
|
52
|
-
return t(), d(i, null, [p(
|
|
53
|
-
w.value.iconType =
|
|
54
|
-
}(
|
|
50
|
+
return (l2, a2) => {
|
|
51
|
+
const u2 = o("el-radio"), h2 = o("el-form-item"), x3 = o("el-button"), F2 = o("el-input"), B2 = o("el-radio-group"), z2 = o("el-option"), Q = o("el-select"), X = o("el-switch"), Y = o("el-divider"), Z = o("el-tag");
|
|
52
|
+
return t(), d(i, null, [p(B2, { modelValue: w.value.linkType, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => w.value.linkType = e3) }, { default: v(() => [p(h2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(u2, { value: "" }, { default: v(() => [...a2[22] || (a2[22] = [g("无跳转 ", -1)])]), _: 1 })]), _: 1 }), p(h2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(u2, { value: "page" }, { default: v(() => [...a2[23] || (a2[23] = [g("跳转页面", -1)])]), _: 1 })]), default: v(() => [p(F2, { disabled: "page" != w.value.linkType, modelValue: w.value.jumpPageName, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => w.value.jumpPageName = e3), title: w.value.jumpPageCode, onDblclick: E, readonly: "true" }, { append: v(() => [p(x3, { type: "default", disabled: "page" != w.value.linkType, icon: r(y), onClick: E, size: "small" }, null, 8, ["disabled", "icon"]), p(x3, { type: "default", disabled: "page" != w.value.linkType, icon: r(V), onClick: H, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), p(h2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(u2, { value: "url" }, { default: v(() => [...a2[24] || (a2[24] = [g("跳转地址", -1)])]), _: 1 })]), default: v(() => [p(F2, { disabled: "url" != w.value.linkType, modelValue: w.value.jumpAddress, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => w.value.jumpAddress = e3), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), p(h2, { label: "打开方式", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.jumpPageOpenMode, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => w.value.jumpPageOpenMode = e3), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(J, (e3, l3) => p(z2, { key: l3, label: e3.label, value: e3.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(h2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.jumpPageMobileOpenMode, "onUpdate:modelValue": a2[4] || (a2[4] = (e3) => w.value.jumpPageMobileOpenMode = e3), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(W, (e3, l3) => p(z2, { key: l3, label: e3.label, value: e3.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(p(h2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.dialogType, "onUpdate:modelValue": a2[5] || (a2[5] = (e3) => w.value.dialogType = e3), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(L, (e3, l3) => p(z2, { key: l3, label: e3.label, value: e3.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(h2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: w.value.draggable, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => w.value.draggable = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(p(h2, { label: "显示位置", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.showPosition, "onUpdate:modelValue": a2[7] || (a2[7] = (e3) => w.value.showPosition = e3), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(R, (e3, l3) => p(z2, { key: l3, label: e3.label, value: e3.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, ("popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode) && w.value.dialogType && "drawer" === w.value.dialogType]]), n(p(h2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: w.value.overflow, "onUpdate:modelValue": a2[8] || (a2[8] = (e3) => w.value.overflow = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(p(h2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: v(() => [p(C, { modelValue: w.value.jumpPageTitle, "onUpdate:modelValue": a2[9] || (a2[9] = (e3) => w.value.jumpPageTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(h2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: w.value.fullscreen, "onUpdate:modelValue": a2[10] || (a2[10] = (e3) => w.value.fullscreen = e3), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(h2, { label: "是否居中", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: w.value.alignCenter, "onUpdate:modelValue": a2[11] || (a2[11] = (e3) => w.value.alignCenter = e3), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(h2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: v(() => [p(F2, { modelValue: w.value.jumpPageWidth, "onUpdate:modelValue": a2[12] || (a2[12] = (e3) => w.value.jumpPageWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(h2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: v(() => [p(F2, { modelValue: w.value.jumpPageHeight, "onUpdate:modelValue": a2[13] || (a2[13] = (e3) => w.value.jumpPageHeight = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(h2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: v(() => [p(F2, { modelValue: w.value.closeEvent, "onUpdate:modelValue": a2[14] || (a2[14] = (e3) => w.value.closeEvent = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(h2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: w.value.isRefreshWhenClosePopup, "onUpdate:modelValue": a2[15] || (a2[15] = (e3) => w.value.isRefreshWhenClosePopup = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), e2.isButton && e2.showDisplayConditions ? (t(), m(h2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: v(() => [p(M, { title: "显示判断", list: w.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: S }, null, 8, ["list"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e2.isButton ? (t(), m(h2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: w.value.displayTextJudge, "onUpdate:modelValue": a2[16] || (a2[16] = (e3) => w.value.displayTextJudge = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.isButton ? (t(), m(h2, { key: 2, label: "文本格式化", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.displayTextFormatType, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => w.value.displayTextFormatType = e3), clearable: "", placeholder: "请选择" }, { default: v(() => [p(z2, { label: "日期", value: "date" }), p(z2, { label: "时间", value: "time" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), w.value.displayTextFormatType && "date" === w.value.displayTextFormatType ? (t(), m(h2, { key: 3, label: "日期类型", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.displayTextFormat, "onUpdate:modelValue": a2[18] || (a2[18] = (e3) => w.value.displayTextFormat = e3), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, b(r(O), (e3) => (t(), m(z2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), w.value.displayTextFormatType && "time" === w.value.displayTextFormatType ? (t(), m(h2, { key: 4, label: "时间类型", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.displayTextFormat, "onUpdate:modelValue": a2[19] || (a2[19] = (e3) => w.value.displayTextFormat = e3), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, b(r(U), (e3) => (t(), m(z2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e2.isButton ? (t(), m(h2, { key: 5, label: "图标", class: "amb-design-attr-item" }, { default: v(() => [p(_, { iconType: w.value.iconType, iconValue: w.value.icon, "onUpdate:modelValue": a2[20] || (a2[20] = (e3, l3) => function(e4, l4) {
|
|
53
|
+
w.value.iconType = e4, w.value.icon = l4;
|
|
54
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : s("", true), e2.isButton ? (t(), m(h2, { key: 6, label: "自定义显示值", class: "amb-design-attr-item" }, { default: v(() => [p(k, { isTable: e2.configure.isTable, modelValue: G.value, dataModelOptions: A.value, objModelOptions: N.value, "onUpdate:modelValue": K }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : s("", true), (t(true), d(i, null, b(w.value.dynamicTags, (e3, l3) => (t(), m(Z, { key: l3, "disable-transitions": true, closable: "", onClose: (e4) => function(e5, l4) {
|
|
55
55
|
w.value.dynamicTags.splice(l4, 1);
|
|
56
|
-
}(0, l3) }, { default: v(() => [g(f(
|
|
56
|
+
}(0, l3) }, { default: v(() => [g(f(e3), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), p(Y, null, { default: v(() => [...a2[25] || (a2[25] = [g("附加参数", -1)])]), _: 1 }), e2.isButton ? (t(), m(h2, { key: 7, label: "自动拼接id", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: w.value.isNeedId, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => w.value.isNeedId = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), p(T, { data: w.value.jumpPageAdditional, tableConfigure: e2.tableConfigure, onDataChange: I }, null, 8, ["data", "tableConfigure"]), p(j, { linkPage: w.value }, null, 8, ["linkPage"]), p(P, { ref_key: "selectPageDialog", ref: D, onSelectPage: q, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
|
|
57
57
|
};
|
|
58
58
|
} });
|
|
59
59
|
export {
|
|
@@ -17,10 +17,10 @@ const d = e({ __name: "verification-custom", props: { pageDesign: { type: Object
|
|
|
17
17
|
return i(), l(n, null, [o(h, { span: 8 }, { default: c(() => [o(N, { modelValue: g.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => g.value = e4), onChange: y, label: "自定义", value: "custom" }, null, 8, ["modelValue"])]), _: 1 }), o(h, { span: 14 }, { default: c(() => [o(V, null, { default: c(() => [d2.verification.custom && false !== d2.verification.custom.enabled && 0 !== d2.verification.custom.eventNames.length ? (i(true), l(n, { key: 1 }, s(d2.verification.custom.eventNames, (e4) => (i(), u(x, { closable: "", onClose: (t3) => ((e5, t4) => {
|
|
18
18
|
const a2 = d2.verification.custom.eventNames.indexOf(t4);
|
|
19
19
|
-1 !== a2 && d2.verification.custom.eventNames.splice(a2, 1);
|
|
20
|
-
})(0, e4), key: e4, type: e4, effect: "dark" }, { default: c(() => [r(m(e4), 1)]), _: 2 }, 1032, ["onClose", "type"]))), 128)) : (i(), u(C, { key: 0 }, { default: c(() => t2[1] || (t2[1] = [r("自定义逻辑")])), _: 1 })), o(D, { placement: "right", ref_key: "popoverRef", ref: b, width: 400, trigger: "click" }, { reference: c(() => [o(C, { type: "default", icon: v(f), circle: "", onClick: _ }, null, 8, ["icon"])]), default: c(() => [o(w, { data: p.value }, { default: c(() => [o(O, { align: "center", width: "150", property: "eventName", label: "方法名" }), o(O, { align: "center", property: "remark", label: "描述" }), o(O, { align: "center", label: "" }, { default: c((e4) => [o(C, { size: "small", type: "primary", onClick: (t3) => {
|
|
20
|
+
})(0, e4), key: e4, type: e4, effect: "dark" }, { default: c(() => [r(m(e4), 1)]), _: 2 }, 1032, ["onClose", "type"]))), 128)) : (i(), u(C, { key: 0 }, { default: c(() => [...t2[1] || (t2[1] = [r("自定义逻辑", -1)])]), _: 1 })), o(D, { placement: "right", ref_key: "popoverRef", ref: b, width: 400, trigger: "click" }, { reference: c(() => [o(C, { type: "default", icon: v(f), circle: "", onClick: _ }, null, 8, ["icon"])]), default: c(() => [o(w, { data: p.value }, { default: c(() => [o(O, { align: "center", width: "150", property: "eventName", label: "方法名" }), o(O, { align: "center", property: "remark", label: "描述" }), o(O, { align: "center", label: "" }, { default: c((e4) => [o(C, { size: "small", type: "primary", onClick: (t3) => {
|
|
21
21
|
return e4.$index, a2 = e4.row, k(true), -1 === d2.verification.custom.eventNames.indexOf(a2.eventName) && d2.verification.custom.eventNames.push(a2.eventName), void b.value.hide();
|
|
22
22
|
var a2;
|
|
23
|
-
} }, { default: c(() => t2[2] || (t2[2] = [r(" 选择 ")])), _:
|
|
23
|
+
} }, { default: c(() => [...t2[2] || (t2[2] = [r(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 512)]), _: 1 })]), _: 1 })], 64);
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
|
@@ -12,7 +12,7 @@ const f = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8p
|
|
|
12
12
|
const v2 = a([]);
|
|
13
13
|
return (a2, V) => {
|
|
14
14
|
const _ = l("el-form-item"), x = l("el-input"), h = l("el-radio"), U = l("el-radio-group"), j = l("el-collapse-item"), y = l("el-checkbox"), w = l("el-collapse"), z = l("el-form");
|
|
15
|
-
return o(), t(z, { "label-width": "80px", size: "small" }, { default: i(() => [s(w, { modelValue: v2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => v2.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(j, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", f, [s(_, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(p(e2.configure.label) + "(" + p(e2.configure.name) + ") ", 1)]), _: 1 }), s(_, { label: "组件名", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": V[0] || (V[0] = (a3) => e2.configure.props.base.name = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.prop, "onUpdate:modelValue": V[1] || (V[1] = (a3) => e2.configure.props.base.prop = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(m, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V[2] || (V[2] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题宽度", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V[3] || (V[3] = (a3) => e2.configure.props.base.titleWidth = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题显示", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V[4] || (V[4] = (a3) => e2.configure.props.base.tittleShow = a3), class: "ml-4" }, { default: i(() => [s(h, { value: false }, { default: i(() => V[9] || (V[9] = [u("隐藏")])), _: 1 }), s(h, { value: true }, { default: i(() => V[10] || (V[10] = [u("显示")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(_, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V[5] || (V[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: i(() => [s(h, { value: "default" }, { default: i(() => V[11] || (V[11] = [u("普通")])), _: 1 }), s(h, { value: "disabled" }, { default: i(() => V[12] || (V[12] = [u("禁用")])), _: 1 }), s(h, { value: "hidden" }, { default: i(() => V[13] || (V[13] = [u("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(j, { title: "参数", name: "parameter", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", g, [s(n, { data: e2.configure.props.parameter, "onUpdate:data": V[6] || (V[6] = (a3) => e2.configure.props.parameter = a3) }, null, 8, ["data"])])]), _: 1 }), s(j, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", b, [s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(y, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V[7] || (V[7] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(c, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 }), s(d, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
15
|
+
return o(), t(z, { "label-width": "80px", size: "small" }, { default: i(() => [s(w, { modelValue: v2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => v2.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(j, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", f, [s(_, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(p(e2.configure.label) + "(" + p(e2.configure.name) + ") ", 1)]), _: 1 }), s(_, { label: "组件名", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": V[0] || (V[0] = (a3) => e2.configure.props.base.name = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.prop, "onUpdate:modelValue": V[1] || (V[1] = (a3) => e2.configure.props.base.prop = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(m, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V[2] || (V[2] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题宽度", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V[3] || (V[3] = (a3) => e2.configure.props.base.titleWidth = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题显示", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V[4] || (V[4] = (a3) => e2.configure.props.base.tittleShow = a3), class: "ml-4" }, { default: i(() => [s(h, { value: false }, { default: i(() => [...V[9] || (V[9] = [u("隐藏", -1)])]), _: 1 }), s(h, { value: true }, { default: i(() => [...V[10] || (V[10] = [u("显示", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(_, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V[5] || (V[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: i(() => [s(h, { value: "default" }, { default: i(() => [...V[11] || (V[11] = [u("普通", -1)])]), _: 1 }), s(h, { value: "disabled" }, { default: i(() => [...V[12] || (V[12] = [u("禁用", -1)])]), _: 1 }), s(h, { value: "hidden" }, { default: i(() => [...V[13] || (V[13] = [u("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(j, { title: "参数", name: "parameter", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", g, [s(n, { data: e2.configure.props.parameter, "onUpdate:data": V[6] || (V[6] = (a3) => e2.configure.props.parameter = a3) }, null, 8, ["data"])])]), _: 1 }), s(j, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", b, [s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(y, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V[7] || (V[7] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(c, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 }), s(d, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
16
16
|
};
|
|
17
17
|
} });
|
|
18
18
|
export {
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js
CHANGED
|
@@ -26,7 +26,7 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, D = { class: "amb-design-at
|
|
|
26
26
|
}
|
|
27
27
|
return (l2, a2) => {
|
|
28
28
|
const _2 = o("el-option"), T3 = o("el-select"), M2 = o("el-form-item"), F2 = o("el-input"), C = o("el-radio"), O = o("el-radio-group"), B = o("el-input-number"), L = o("el-checkbox"), E = o("el-col"), G = o("el-row"), I = o("el-checkbox-group"), J = o("el-link"), K = o("el-icon"), N = o("el-tooltip"), Q = o("el-collapse-item"), X = o("el-collapse"), Z = o("el-form");
|
|
29
|
-
return t(), u(Z, { "label-width": "80px", size: "small" }, { default: s(() => [r(X, { modelValue: P.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", j, [r(M2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [r(T3, { modelValue: Y.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => Y.value = e3), onChange: H, placeholder: "请选择" }, { default: s(() => [(t(true), n(m, null, f(c(v)(), (e3) => (t(), u(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(M2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? p("", true) : (t(), u(M2, { key: 0, label: R.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop", modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": A }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"])), r(M2, { label: q.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 8, ["label"]), i(r(M2, { label: "绑定变量2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop2", modelValue: e2.configure.props.base.prop2, paramTypes: ["data", "page"], "onUpdate:modelValue": a2[2] || (a2[2] = (e3, l3) => A(e3, l3, "prop2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), i(r(M2, { label: "默认值2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", defaultValueProp: "defaultValue2", moreDefaultValueProp: "moreDefaultValue2", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), W.value ? p("", true) : (t(), u(M2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? p("", true) : (t(), u(M2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[24] || (a2[24] = [g("显示")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[25] || (a2[25] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(r(M2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [r(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(M2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: s(() => [r(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(M2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "block" }, { default: s(() => a2[26] || (a2[26] = [g("换行")])), _: 1 }), r(C, { value: "inline" }, { default: s(() => a2[27] || (a2[27] = [g("不换行")])), _: 1 }), r(C, { value: "omit" }, { default: s(() => a2[28] || (a2[28] = [g("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), r(M2, { class: "amb-design-attr-item" }, { label: s(() => [i(d("span", null, "输入提示", 512), [[b, !e2.configure.props.base.dateScope]]), i(d("span", null, "开始提示", 512), [[b, e2.configure.props.base.dateScope]])]), default: s(() => [r(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(r(M2, { label: "结束提示", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.endPlaceholder, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.endPlaceholder = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), r(M2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[29] || (a2[29] = [g("显示")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[30] || (a2[30] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(M2, { label: "类型", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "date" }, { default: s(() => a2[31] || (a2[31] = [g("日期")])), _: 1 }), r(C, { value: "time" }, { default: s(() => a2[32] || (a2[32] = [g("时间")])), _: 1 }), r(C, { value: "datetime" }, { default: s(() => a2[33] || (a2[33] = [g("日期+时间")])), _: 1 }), r(C, { value: "week" }, { default: s(() => a2[34] || (a2[34] = [g("周")])), _: 1 }), r(C, { value: "month" }, { default: s(() => a2[35] || (a2[35] = [g("月")])), _: 1 }), r(C, { value: "year" }, { default: s(() => a2[36] || (a2[36] = [g("年")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(M2, { label: "选择范围", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.dateScope, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.dateScope = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[37] || (a2[37] = [g("是")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[38] || (a2[38] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type]]), i(r(M2, { label: "选择方式", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.dateRangePickerMode, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.dateRangePickerMode = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "combined" }, { default: s(() => a2[39] || (a2[39] = [g("原生")])), _: 1 }), r(C, { value: "separate" }, { default: s(() => a2[40] || (a2[40] = [g("分开选择")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), i(r(M2, { label: "快捷选项", class: "amb-design-attr-item" }, { default: s(() => [r(I, { modelValue: e2.configure.props.base.dateScopeDetails, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.dateScopeDetails = l3), class: "ml-4" }, { default: s(() => [i(r(L, { value: "today" }, { default: s(() => a2[41] || (a2[41] = [g("今天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "yesterday" }, { default: s(() => a2[42] || (a2[42] = [g("昨天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneWeek" }, { default: s(() => a2[43] || (a2[43] = [g("一周")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneMonth" }, { default: s(() => a2[44] || (a2[44] = [g("一月")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "year" != e2.configure.props.base.type]]), r(L, { value: "oneYear" }, { default: s(() => a2[45] || (a2[45] = [g("一年")])), _: 1 }), r(G, null, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { value: "custom" }, { default: s(() => a2[46] || (a2[46] = [g("自定义")])), _: 1 })]), _: 1 }), r(E, { span: 16 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.base.dateScopeDetails || !e2.configure.props.base.dateScopeDetails.includes("custom"), modelValue: e2.configure.props.base.scopeFunc, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.scopeFunc = l3), placeholder: "请选择自定义方法", filterable: "" }, { default: s(() => [(t(true), n(m, null, f(c(V)(), (e3) => (t(), u(_2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(M2, { label: "显示格式化", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.format, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.format = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(r(M2, { label: "值为时间戳", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.timestamp, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.timestamp = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[47] || (a2[47] = [g("是")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[48] || (a2[48] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(M2, { label: "值格式化", class: "amb-design-attr-item" }, { default: s(() => [d("div", D, [r(F2, { modelValue: e2.configure.props.base.valueFormat, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.base.valueFormat = l3), placeholder: "请输入", disabled: true === e2.configure.props.base.timestamp }, null, 8, ["modelValue", "disabled"]), r(N, { placement: "top", effect: "light" }, { content: s(() => [a2[50] || (a2[50] = g(" 四位年:YYYY")), a2[51] || (a2[51] = d("br", null, null, -1)), a2[52] || (a2[52] = g("两位年:YY")), a2[53] || (a2[53] = d("br", null, null, -1)), a2[54] || (a2[54] = g("两位月:MM")), a2[55] || (a2[55] = d("br", null, null, -1)), a2[56] || (a2[56] = g("两位日:DD")), a2[57] || (a2[57] = d("br", null, null, -1)), a2[58] || (a2[58] = g("小时:hh")), a2[59] || (a2[59] = d("br", null, null, -1)), a2[60] || (a2[60] = g("分钟:mm")), a2[61] || (a2[61] = d("br", null, null, -1)), a2[62] || (a2[62] = g("秒:ss")), a2[63] || (a2[63] = d("br", null, null, -1)), a2[64] || (a2[64] = g("占位:[占位符]")), a2[65] || (a2[65] = d("br", null, null, -1)), a2[66] || (a2[66] = g("更多见: ")), r(J, { href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats", target: "_blank", type: "primary" }, { default: s(() => a2[49] || (a2[49] = [d("svg", { preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", class: "link-icon" }, [d("path", { fill: "currentColor", d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z" })], -1)])), _: 1 }), a2[67] || (a2[67] = g(" 查看 Day.js 支持的所有格式。 "))]), default: s(() => [r(K, { style: { "margin-left": "10px" } }, { default: s(() => [r(c(S))]), _: 1 })]), _: 1 })])]), _: 1 }), r(M2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "large" }, { default: s(() => a2[68] || (a2[68] = [g("大")])), _: 1 }), r(C, { value: "default" }, { default: s(() => a2[69] || (a2[69] = [g("中")])), _: 1 }), r(C, { value: "small" }, { default: s(() => a2[70] || (a2[70] = [g("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(M2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "default" }, { default: s(() => a2[71] || (a2[71] = [g("普通")])), _: 1 }), r(C, { value: "disabled" }, { default: s(() => a2[72] || (a2[72] = [g("禁用")])), _: 1 }), r(C, { value: "readonly" }, { default: s(() => a2[73] || (a2[73] = [g("只读")])), _: 1 }), r(C, { value: "hidden" }, { default: s(() => a2[74] || (a2[74] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(r(U, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), u(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: s(() => [d("div", z, [r(M2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(L, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(M2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { label: "自定义", modelValue: e2.configure.props.verification.custom, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.verification.custom = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(E, { span: 14 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.verification.custom, modelValue: e2.configure.props.verification.customFunc, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.verification.customFunc = l3), placeholder: "请选择校验方法", filterable: "" }, { default: s(() => [(t(true), n(m, null, f(c(V)(), (e3) => (t(), u(_2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? p("", true) : (t(), u(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
29
|
+
return t(), u(Z, { "label-width": "80px", size: "small" }, { default: s(() => [r(X, { modelValue: P.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", j, [r(M2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [r(T3, { modelValue: Y.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => Y.value = e3), onChange: H, placeholder: "请选择" }, { default: s(() => [(t(true), n(m, null, f(c(v)(), (e3) => (t(), u(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(M2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? p("", true) : (t(), u(M2, { key: 0, label: R.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop", modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": A }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"])), r(M2, { label: q.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 8, ["label"]), i(r(M2, { label: "绑定变量2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop2", modelValue: e2.configure.props.base.prop2, paramTypes: ["data", "page"], "onUpdate:modelValue": a2[2] || (a2[2] = (e3, l3) => A(e3, l3, "prop2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), i(r(M2, { label: "默认值2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", defaultValueProp: "defaultValue2", moreDefaultValueProp: "moreDefaultValue2", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), W.value ? p("", true) : (t(), u(M2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? p("", true) : (t(), u(M2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => [...a2[24] || (a2[24] = [g("显示", -1)])]), _: 1 }), r(C, { value: false }, { default: s(() => [...a2[25] || (a2[25] = [g("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(r(M2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [r(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(M2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: s(() => [r(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(M2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "block" }, { default: s(() => [...a2[26] || (a2[26] = [g("换行", -1)])]), _: 1 }), r(C, { value: "inline" }, { default: s(() => [...a2[27] || (a2[27] = [g("不换行", -1)])]), _: 1 }), r(C, { value: "omit" }, { default: s(() => [...a2[28] || (a2[28] = [g("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), r(M2, { class: "amb-design-attr-item" }, { label: s(() => [i(d("span", null, "输入提示", 512), [[b, !e2.configure.props.base.dateScope]]), i(d("span", null, "开始提示", 512), [[b, e2.configure.props.base.dateScope]])]), default: s(() => [r(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(r(M2, { label: "结束提示", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.endPlaceholder, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.endPlaceholder = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), r(M2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => [...a2[29] || (a2[29] = [g("显示", -1)])]), _: 1 }), r(C, { value: false }, { default: s(() => [...a2[30] || (a2[30] = [g("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(M2, { label: "类型", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "date" }, { default: s(() => [...a2[31] || (a2[31] = [g("日期", -1)])]), _: 1 }), r(C, { value: "time" }, { default: s(() => [...a2[32] || (a2[32] = [g("时间", -1)])]), _: 1 }), r(C, { value: "datetime" }, { default: s(() => [...a2[33] || (a2[33] = [g("日期+时间", -1)])]), _: 1 }), r(C, { value: "week" }, { default: s(() => [...a2[34] || (a2[34] = [g("周", -1)])]), _: 1 }), r(C, { value: "month" }, { default: s(() => [...a2[35] || (a2[35] = [g("月", -1)])]), _: 1 }), r(C, { value: "year" }, { default: s(() => [...a2[36] || (a2[36] = [g("年", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(M2, { label: "选择范围", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.dateScope, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.dateScope = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => [...a2[37] || (a2[37] = [g("是", -1)])]), _: 1 }), r(C, { value: false }, { default: s(() => [...a2[38] || (a2[38] = [g("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type]]), i(r(M2, { label: "选择方式", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.dateRangePickerMode, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.dateRangePickerMode = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "combined" }, { default: s(() => [...a2[39] || (a2[39] = [g("原生", -1)])]), _: 1 }), r(C, { value: "separate" }, { default: s(() => [...a2[40] || (a2[40] = [g("分开选择", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), i(r(M2, { label: "快捷选项", class: "amb-design-attr-item" }, { default: s(() => [r(I, { modelValue: e2.configure.props.base.dateScopeDetails, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.dateScopeDetails = l3), class: "ml-4" }, { default: s(() => [i(r(L, { value: "today" }, { default: s(() => [...a2[41] || (a2[41] = [g("今天", -1)])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "yesterday" }, { default: s(() => [...a2[42] || (a2[42] = [g("昨天", -1)])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneWeek" }, { default: s(() => [...a2[43] || (a2[43] = [g("一周", -1)])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneMonth" }, { default: s(() => [...a2[44] || (a2[44] = [g("一月", -1)])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "year" != e2.configure.props.base.type]]), r(L, { value: "oneYear" }, { default: s(() => [...a2[45] || (a2[45] = [g("一年", -1)])]), _: 1 }), r(G, null, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { value: "custom" }, { default: s(() => [...a2[46] || (a2[46] = [g("自定义", -1)])]), _: 1 })]), _: 1 }), r(E, { span: 16 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.base.dateScopeDetails || !e2.configure.props.base.dateScopeDetails.includes("custom"), modelValue: e2.configure.props.base.scopeFunc, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.scopeFunc = l3), placeholder: "请选择自定义方法", filterable: "" }, { default: s(() => [(t(true), n(m, null, f(c(V)(), (e3) => (t(), u(_2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(M2, { label: "显示格式化", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.format, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.format = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(r(M2, { label: "值为时间戳", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.timestamp, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.timestamp = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => [...a2[47] || (a2[47] = [g("是", -1)])]), _: 1 }), r(C, { value: false }, { default: s(() => [...a2[48] || (a2[48] = [g("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(M2, { label: "值格式化", class: "amb-design-attr-item" }, { default: s(() => [d("div", D, [r(F2, { modelValue: e2.configure.props.base.valueFormat, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.base.valueFormat = l3), placeholder: "请输入", disabled: true === e2.configure.props.base.timestamp }, null, 8, ["modelValue", "disabled"]), r(N, { placement: "top", effect: "light" }, { content: s(() => [a2[50] || (a2[50] = g(" 四位年:YYYY", -1)), a2[51] || (a2[51] = d("br", null, null, -1)), a2[52] || (a2[52] = g("两位年:YY", -1)), a2[53] || (a2[53] = d("br", null, null, -1)), a2[54] || (a2[54] = g("两位月:MM", -1)), a2[55] || (a2[55] = d("br", null, null, -1)), a2[56] || (a2[56] = g("两位日:DD", -1)), a2[57] || (a2[57] = d("br", null, null, -1)), a2[58] || (a2[58] = g("小时:hh", -1)), a2[59] || (a2[59] = d("br", null, null, -1)), a2[60] || (a2[60] = g("分钟:mm", -1)), a2[61] || (a2[61] = d("br", null, null, -1)), a2[62] || (a2[62] = g("秒:ss", -1)), a2[63] || (a2[63] = d("br", null, null, -1)), a2[64] || (a2[64] = g("占位:[占位符]", -1)), a2[65] || (a2[65] = d("br", null, null, -1)), a2[66] || (a2[66] = g("更多见: ", -1)), r(J, { href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats", target: "_blank", type: "primary" }, { default: s(() => [...a2[49] || (a2[49] = [d("svg", { preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", class: "link-icon" }, [d("path", { fill: "currentColor", d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z" })], -1)])]), _: 1 }), a2[67] || (a2[67] = g(" 查看 Day.js 支持的所有格式。 ", -1))]), default: s(() => [r(K, { style: { "margin-left": "10px" } }, { default: s(() => [r(c(S))]), _: 1 })]), _: 1 })])]), _: 1 }), r(M2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "large" }, { default: s(() => [...a2[68] || (a2[68] = [g("大", -1)])]), _: 1 }), r(C, { value: "default" }, { default: s(() => [...a2[69] || (a2[69] = [g("中", -1)])]), _: 1 }), r(C, { value: "small" }, { default: s(() => [...a2[70] || (a2[70] = [g("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(M2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "default" }, { default: s(() => [...a2[71] || (a2[71] = [g("普通", -1)])]), _: 1 }), r(C, { value: "disabled" }, { default: s(() => [...a2[72] || (a2[72] = [g("禁用", -1)])]), _: 1 }), r(C, { value: "readonly" }, { default: s(() => [...a2[73] || (a2[73] = [g("只读", -1)])]), _: 1 }), r(C, { value: "hidden" }, { default: s(() => [...a2[74] || (a2[74] = [g("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(r(U, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), u(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: s(() => [d("div", z, [r(M2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(L, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(M2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { label: "自定义", modelValue: e2.configure.props.verification.custom, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.verification.custom = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(E, { span: 14 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.verification.custom, modelValue: e2.configure.props.verification.customFunc, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.verification.customFunc = l3), placeholder: "请选择校验方法", filterable: "" }, { default: s(() => [(t(true), n(m, null, f(c(V)(), (e3) => (t(), u(_2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? p("", true) : (t(), u(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
30
30
|
};
|
|
31
31
|
} });
|
|
32
32
|
export {
|
|
@@ -37,7 +37,7 @@ const T = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
37
37
|
}
|
|
38
38
|
return (E = B.currentTableConfig) && (A.value = w(E.modelFields)), (l2, v2) => {
|
|
39
39
|
const j2 = a("el-option"), w2 = a("el-select"), D3 = a("el-form-item"), W2 = a("el-input"), F2 = a("el-radio"), O2 = a("el-radio-group"), B2 = a("el-input-number"), E2 = a("el-collapse-item"), P = a("el-checkbox"), Q = a("el-col"), R = a("el-button"), X = a("el-collapse"), Y = a("el-form");
|
|
40
|
-
return t(), o(Y, { "label-width": "80px", size: "small" }, { default: u(() => [i(X, { modelValue: q.value, "onUpdate:modelValue": v2[15] || (v2[15] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", T, [i(D3, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: M.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => M.value = e3), onChange: G, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { 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 }), i(D3, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [i(j2, { label: "部门人员树", value: "DeptUserTree" }), i(j2, { label: "工作组人员树", value: "WgUserTree" }), i(j2, { label: "部门树", value: "DeptTree" }), i(j2, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": H }, null, 8, ["modelValue"]))]), _: 1 })), i(D3, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), L.value ? d("", true) : (t(), o(D3, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => v2[16] || (v2[16] = [c("显示")])), _: 1 }), i(F2, { value: false }, { default: u(() => v2[17] || (v2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(D3, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B2, { 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), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "block" }, { default: u(() => v2[18] || (v2[18] = [c("换行")])), _: 1 }), i(F2, { value: "inline" }, { default: u(() => v2[19] || (v2[19] = [c("不换行")])), _: 1 }), i(F2, { value: "omit" }, { default: u(() => v2[20] || (v2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(D3, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => v2[21] || (v2[21] = [c("是")])), _: 1 }), i(F2, { value: false }, { default: u(() => v2[22] || (v2[22] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(i(D3, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), i(D3, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "large" }, { default: u(() => v2[23] || (v2[23] = [c("大")])), _: 1 }), i(F2, { value: "default" }, { default: u(() => v2[24] || (v2[24] = [c("中")])), _: 1 }), i(F2, { value: "small" }, { default: u(() => v2[25] || (v2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "default" }, { default: u(() => v2[26] || (v2[26] = [c("普通")])), _: 1 }), i(F2, { value: "disabled" }, { default: u(() => v2[27] || (v2[27] = [c("禁用")])), _: 1 }), i(F2, { value: "hidden" }, { default: u(() => v2[28] || (v2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(E2, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", z, [i(O2, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.base.deptScope = l3), onChange: N }, { default: u(() => [i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "field" }, { default: u(() => v2[29] || (v2[29] = [c("指定变量")])), _: 1 })]), default: u(() => [i(y, { showLabel: "field" != e2.configure.props.base.deptScope, objModelOptions: A.value, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": J }, null, 8, ["showLabel", "objModelOptions", "modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "depts" }, { default: u(() => v2[30] || (v2[30] = [c("固定部门")])), _: 1 })]), default: u(() => [i(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": v2[11] || (v2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: K }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "field" === e2.configure.props.base.deptScope ? (t(), o(D3, { key: 0, label: "筛选字段", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.limitFilterColumn, "onUpdate:modelValue": v2[13] || (v2[13] = (l3) => e2.configure.props.base.limitFilterColumn = l3), clearable: "", placeholder: "请选择" }, { default: u(() => [i(j2, { key: "id", label: "id", value: "id" }), i(j2, { key: "code", label: "编码", value: "code" }), i(j2, { key: "name", label: "名称", value: "name" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true)])]), _: 1 }), (t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), s(i(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(E2, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", C, [i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(P, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[14] || (v2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(Q, { span: 8 }, { default: u(() => [i(P, { label: "自定义", value: "custom" })]), _: 1 }), i(Q, { span: 14 }, { default: u(() => [i(R, { type: "default" }, { default: u(() => v2[31] || (v2[31] = [c("自定义逻辑")])), _: 1 }), i(R, { type: "default", icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), L.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
40
|
+
return t(), o(Y, { "label-width": "80px", size: "small" }, { default: u(() => [i(X, { modelValue: q.value, "onUpdate:modelValue": v2[15] || (v2[15] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", T, [i(D3, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: M.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => M.value = e3), onChange: G, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { 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 }), i(D3, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [i(j2, { label: "部门人员树", value: "DeptUserTree" }), i(j2, { label: "工作组人员树", value: "WgUserTree" }), i(j2, { label: "部门树", value: "DeptTree" }), i(j2, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": H }, null, 8, ["modelValue"]))]), _: 1 })), i(D3, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": I }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), L.value ? d("", true) : (t(), o(D3, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), L.value ? d("", true) : (t(), o(D3, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => [...v2[16] || (v2[16] = [c("显示", -1)])]), _: 1 }), i(F2, { value: false }, { default: u(() => [...v2[17] || (v2[17] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(D3, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B2, { 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), [[b, e2.configure.props.base.tittleShow]]), s(i(D3, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "block" }, { default: u(() => [...v2[18] || (v2[18] = [c("换行", -1)])]), _: 1 }), i(F2, { value: "inline" }, { default: u(() => [...v2[19] || (v2[19] = [c("不换行", -1)])]), _: 1 }), i(F2, { value: "omit" }, { default: u(() => [...v2[20] || (v2[20] = [c("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(D3, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: true }, { default: u(() => [...v2[21] || (v2[21] = [c("是", -1)])]), _: 1 }), i(F2, { value: false }, { default: u(() => [...v2[22] || (v2[22] = [c("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(i(D3, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [i(W2, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), i(D3, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "large" }, { default: u(() => [...v2[23] || (v2[23] = [c("大", -1)])]), _: 1 }), i(F2, { value: "default" }, { default: u(() => [...v2[24] || (v2[24] = [c("中", -1)])]), _: 1 }), i(F2, { value: "small" }, { default: u(() => [...v2[25] || (v2[25] = [c("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(D3, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(O2, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(F2, { value: "default" }, { default: u(() => [...v2[26] || (v2[26] = [c("普通", -1)])]), _: 1 }), i(F2, { value: "disabled" }, { default: u(() => [...v2[27] || (v2[27] = [c("禁用", -1)])]), _: 1 }), i(F2, { value: "hidden" }, { default: u(() => [...v2[28] || (v2[28] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(E2, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", z, [i(O2, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.base.deptScope = l3), onChange: N }, { default: u(() => [i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "field" }, { default: u(() => [...v2[29] || (v2[29] = [c("指定变量", -1)])]), _: 1 })]), default: u(() => [i(y, { showLabel: "field" != e2.configure.props.base.deptScope, objModelOptions: A.value, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": J }, null, 8, ["showLabel", "objModelOptions", "modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item" }, { label: u(() => [i(F2, { value: "depts" }, { default: u(() => [...v2[30] || (v2[30] = [c("固定部门", -1)])]), _: 1 })]), default: u(() => [i(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": v2[11] || (v2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: K }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "field" === e2.configure.props.base.deptScope ? (t(), o(D3, { key: 0, label: "筛选字段", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: e2.configure.props.base.limitFilterColumn, "onUpdate:modelValue": v2[13] || (v2[13] = (l3) => e2.configure.props.base.limitFilterColumn = l3), clearable: "", placeholder: "请选择" }, { default: u(() => [i(j2, { key: "id", label: "id", value: "id" }), i(j2, { key: "code", label: "编码", value: "code" }), i(j2, { key: "name", label: "名称", value: "name" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true)])]), _: 1 }), (t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), s(i(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(E2, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", C, [i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(P, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[14] || (v2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(D3, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(Q, { span: 8 }, { default: u(() => [i(P, { label: "自定义", value: "custom" })]), _: 1 }), i(Q, { span: 14 }, { default: u(() => [i(R, { type: "default" }, { default: u(() => [...v2[31] || (v2[31] = [c("自定义逻辑", -1)])]), _: 1 }), i(R, { type: "default", icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), L.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
41
41
|
};
|
|
42
42
|
} });
|
|
43
43
|
export {
|
|
@@ -31,15 +31,15 @@ const h = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "depttree-a
|
|
|
31
31
|
x && clearTimeout(x);
|
|
32
32
|
}), (l2, a2) => {
|
|
33
33
|
const y2 = t("el-option"), w3 = t("el-select"), U = t("el-table-column"), F = t("el-icon"), I = t("el-table"), N = t("el-collapse-item");
|
|
34
|
-
return u(), o(N, { title: "其他字段设值", name: "otherFieldSet", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", h, [n(I, { data: p(T).otherFieldSets }, { default: r(() => [n(U, { prop: "label", label: "字段", width: "90" }, { default: r((e3) => [n(w3, { size: "small", modelValue: e3.row.source, "onUpdate:modelValue": (l3) => e3.row.source = l3, title: e3.row.source, filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(u(), i(m, null, d(V, (e4) => c(n(y2, { key: e4.name, label: e4.name, value: e4.value }, null, 8, ["label", "value"]), [[f, e4.types.includes(C.value)]])), 64))]), _:
|
|
34
|
+
return u(), o(N, { title: "其他字段设值", name: "otherFieldSet", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", h, [n(I, { data: p(T).otherFieldSets }, { default: r(() => [n(U, { prop: "label", label: "字段", width: "90" }, { default: r((e3) => [n(w3, { size: "small", modelValue: e3.row.source, "onUpdate:modelValue": (l3) => e3.row.source = l3, title: e3.row.source, filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(u(), i(m, null, d(V, (e4) => c(n(y2, { key: e4.name, label: e4.name, value: e4.value }, null, 8, ["label", "value"]), [[f, e4.types.includes(C.value)]])), 64))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), n(U, { prop: "value", label: "设置到", width: "120" }, { default: r((l3) => [n(g, { isTable: e2.configure.isTable, modelValue: l3.row.target, paramTypes: ["data", "page"], "onUpdate:modelValue": (e3) => function(e4, l4) {
|
|
35
35
|
l4.target = e4;
|
|
36
|
-
}(e3, l3.row) }, null, 8, ["isTable", "modelValue", "onUpdate:modelValue"])]), _: 1 }), n(U, { label: "操作", width: "60" }, { default: r((e3) => [n(F, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => D(e3.row) }, { default: r(() => [n(p(b))]), _:
|
|
36
|
+
}(e3, l3.row) }, null, 8, ["isTable", "modelValue", "onUpdate:modelValue"])]), _: 1 }), n(U, { label: "操作", width: "60" }, { default: r((e3) => [n(F, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => D(e3.row) }, { default: r(() => [n(p(b))]), _: 1 }, 8, ["onClick"]), n(F, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
37
37
|
x && clearTimeout(x);
|
|
38
38
|
let l4 = k(e4);
|
|
39
39
|
l4 > -1 && (_.splice(l4, 1), 0 == _.length && (x = setTimeout(function() {
|
|
40
40
|
D(null);
|
|
41
41
|
}, 10)));
|
|
42
|
-
}(e3.row) }, { default: r(() => [n(p(v))]), _:
|
|
42
|
+
}(e3.row) }, { default: r(() => [n(p(v))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])])]), _: 1 });
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -23,9 +23,9 @@ const h = e({ __name: "depttree-design", props: { pageDesign: {}, configure: {}
|
|
|
23
23
|
}
|
|
24
24
|
l2.autoSetFields = r2, Object.assign(z.value, l2);
|
|
25
25
|
}(), h2.configure.runtime.props = z.value, h2.configure.runtime.titleExceedStyle = k.value;
|
|
26
|
-
}, { immediate: true }), (
|
|
27
|
-
const
|
|
28
|
-
return o(), r(
|
|
26
|
+
}, { immediate: true }), (t2, l2) => {
|
|
27
|
+
const g2 = i("el-form-item");
|
|
28
|
+
return o(), r(g2, { required: z.value.required, class: a([C.value, "remove-formLabel-formContent-blankStyle"]), "label-width": z.value.labelWidth, style: u(T.value) }, { label: p(() => [z.value.tittleShow ? (o(), d("div", { key: 0, style: u({ ...x.value, ...k.value, "padding-right": "12px" }) }, [z.value.prefixType ? (o(), r(b, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (o(), d(m, { key: 1 }, [f(v(z.value.title), 1)], 64))], 4)) : c("", true)]), default: p(() => [s(n(S), { multiple: z.value.multiple, treeType: z.value.treeType, size: z.value.size, value: F.value.value, "onUpdate:value": l2[0] || (l2[0] = (e3) => F.value.value = e3), models: F.value, openTree: false, fields: [], placeholder: "请选择", separator: ",", onSetValue: j }, null, 8, ["multiple", "treeType", "size", "value", "models"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
29
29
|
};
|
|
30
30
|
} });
|
|
31
31
|
export {
|
|
@@ -10,7 +10,7 @@ const p = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "divider-at
|
|
|
10
10
|
}
|
|
11
11
|
return (l2, f3) => {
|
|
12
12
|
const g = a("el-input"), V = a("el-form-item"), _ = a("el-radio"), v = a("el-radio-group"), y = a("el-collapse-item"), U = a("el-collapse"), x = a("el-form");
|
|
13
|
-
return u(), t(x, { "label-width": "80px", size: "small" }, { default: o(() => [d(U, { modelValue: c.value, "onUpdate:modelValue": f3[6] || (f3[6] = (e3) => c.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(y, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [i("div", p, [d(V, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(g, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f3[0] || (f3[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(V, { label: "分割文本", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(m, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": b }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), d(V, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [d(n, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": f3[1] || (f3[1] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(V, { label: "文本位置", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.titlePosition, "onUpdate:modelValue": f3[2] || (f3[2] = (l3) => e2.configure.props.base.titlePosition = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "left" }, { default: o(() => f3[7] || (f3[7] = [s("左")])), _: 1 }), d(_, { value: "center" }, { default: o(() => f3[8] || (f3[8] = [s("中")])), _: 1 }), d(_, { value: "right" }, { default: o(() => f3[9] || (f3[9] = [s("右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "分割线方向", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.direction, "onUpdate:modelValue": f3[3] || (f3[3] = (l3) => e2.configure.props.base.direction = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "horizontal" }, { default: o(() => f3[10] || (f3[10] = [s("水平")])), _: 1 }), d(_, { value: "vertical" }, { default: o(() => f3[11] || (f3[11] = [s("垂直")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "线型", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.borderType, "onUpdate:modelValue": f3[4] || (f3[4] = (l3) => e2.configure.props.base.borderType = l3) }, { default: o(() => [d(_, { value: "solid" }, { default: o(() => f3[12] || (f3[12] = [s("实线")])), _: 1 }), d(_, { value: "dotted" }, { default: o(() => f3[13] || (f3[13] = [s("点线")])), _: 1 }), d(_, { value: "dashed" }, { default: o(() => f3[14] || (f3[14] = [s("虚线")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f3[5] || (f3[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => f3[15] || (f3[15] = [s("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => f3[16] || (f3[16] = [s("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (u(), t(r, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
13
|
+
return u(), t(x, { "label-width": "80px", size: "small" }, { default: o(() => [d(U, { modelValue: c.value, "onUpdate:modelValue": f3[6] || (f3[6] = (e3) => c.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(y, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [i("div", p, [d(V, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(g, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f3[0] || (f3[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(V, { label: "分割文本", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(m, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": b }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), d(V, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [d(n, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": f3[1] || (f3[1] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(V, { label: "文本位置", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.titlePosition, "onUpdate:modelValue": f3[2] || (f3[2] = (l3) => e2.configure.props.base.titlePosition = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "left" }, { default: o(() => [...f3[7] || (f3[7] = [s("左", -1)])]), _: 1 }), d(_, { value: "center" }, { default: o(() => [...f3[8] || (f3[8] = [s("中", -1)])]), _: 1 }), d(_, { value: "right" }, { default: o(() => [...f3[9] || (f3[9] = [s("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "分割线方向", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.direction, "onUpdate:modelValue": f3[3] || (f3[3] = (l3) => e2.configure.props.base.direction = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "horizontal" }, { default: o(() => [...f3[10] || (f3[10] = [s("水平", -1)])]), _: 1 }), d(_, { value: "vertical" }, { default: o(() => [...f3[11] || (f3[11] = [s("垂直", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "线型", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.borderType, "onUpdate:modelValue": f3[4] || (f3[4] = (l3) => e2.configure.props.base.borderType = l3) }, { default: o(() => [d(_, { value: "solid" }, { default: o(() => [...f3[12] || (f3[12] = [s("实线", -1)])]), _: 1 }), d(_, { value: "dotted" }, { default: o(() => [...f3[13] || (f3[13] = [s("点线", -1)])]), _: 1 }), d(_, { value: "dashed" }, { default: o(() => [...f3[14] || (f3[14] = [s("虚线", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f3[5] || (f3[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => [...f3[15] || (f3[15] = [s("普通", -1)])]), _: 1 }), d(_, { value: "hidden" }, { default: o(() => [...f3[16] || (f3[16] = [s("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (u(), t(r, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
14
14
|
};
|
|
15
15
|
} });
|
|
16
16
|
export {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return j.configure.isTable && (C.value = true), (l2, V2) => {
|
|
21
21
|
const k3 = a("el-option"), j2 = a("el-select"), N2 = a("el-form-item"), q = a("el-input"), D = a("el-radio"), O = a("el-radio-group"), P = a("el-input-number"), A = a("el-switch"), B = a("el-collapse-item"), E = a("el-radio-button"), F = a("el-text"), 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: z.value, "onUpdate:modelValue": V2[13] || (V2[13] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(N2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: W, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(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(N2, { 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 }), C.value ? d("", true) : (t(), o(N2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => T(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), C.value ? d("", true) : (t(), o(N2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => T(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), C.value ? d("", true) : (t(), o(N2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(N2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(D, { value: true }, { default: u(() => V2[14] || (V2[14] = [f("显示")])), _: 1 }), i(D, { value: false }, { default: u(() => V2[15] || (V2[15] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(N2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(N2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(P, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (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(N2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(D, { value: "block" }, { default: u(() => V2[16] || (V2[16] = [f("换行")])), _: 1 }), i(D, { value: "inline" }, { default: u(() => V2[17] || (V2[17] = [f("不换行")])), _: 1 }), i(D, { value: "omit" }, { default: u(() => V2[18] || (V2[18] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(N2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(D, { value: "default" }, { default: u(() => V2[19] || (V2[19] = [f("普通")])), _: 1 }), i(D, { value: "disabled" }, { default: u(() => V2[20] || (V2[20] = [f("禁用")])), _: 1 }), i(D, { value: "hidden" }, { default: u(() => V2[21] || (V2[21] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "禁用时不可预览", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.disabledNoPreview, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.disabledNoPreview = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "禁用时不可下载", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.disabledNoDownload, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.disabledNoDownload = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(N2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _:
|
|
22
|
+
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: z.value, "onUpdate:modelValue": V2[13] || (V2[13] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(N2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: W, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(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(N2, { 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 }), C.value ? d("", true) : (t(), o(N2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => T(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), C.value ? d("", true) : (t(), o(N2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => T(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), C.value ? d("", true) : (t(), o(N2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(N2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(D, { value: true }, { default: u(() => [...V2[14] || (V2[14] = [f("显示", -1)])]), _: 1 }), i(D, { value: false }, { default: u(() => [...V2[15] || (V2[15] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(N2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(N2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(P, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (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(N2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(D, { value: "block" }, { default: u(() => [...V2[16] || (V2[16] = [f("换行", -1)])]), _: 1 }), i(D, { value: "inline" }, { default: u(() => [...V2[17] || (V2[17] = [f("不换行", -1)])]), _: 1 }), i(D, { value: "omit" }, { default: u(() => [...V2[18] || (V2[18] = [f("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(N2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(D, { value: "default" }, { default: u(() => [...V2[19] || (V2[19] = [f("普通", -1)])]), _: 1 }), i(D, { value: "disabled" }, { default: u(() => [...V2[20] || (V2[20] = [f("禁用", -1)])]), _: 1 }), i(D, { value: "hidden" }, { default: u(() => [...V2[21] || (V2[21] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "禁用时不可预览", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.disabledNoPreview, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.disabledNoPreview = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "禁用时不可下载", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.disabledNoDownload, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.disabledNoDownload = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(N2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(O, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(N2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => [...V2[22] || (V2[22] = [f("格式如:.doc,.docx,.xml...", -1)])]), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", x, [i(N2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { 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[23] || (V2[23] = [f("自定义逻辑", -1)])]), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), C.value ? d("", 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 {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as i, resolveComponent as o, createBlock as t, openBlock as a, normalizeStyle as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as i, resolveComponent as o, createBlock as t, openBlock as a, normalizeStyle as u, normalizeClass as r, withCtx as p, createVNode as s, unref as n, createElementBlock as m, createCommentVNode as c, toDisplayString as d } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as f, caculateComponentProps as v } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { FsUploadNew as g } from "agilebuilder-ui";
|
|
4
4
|
import "@element-plus/icons-vue";
|
|
@@ -13,10 +13,10 @@ const y = e({ __name: "fileupload-design", props: { pageDesign: {}, configure: {
|
|
|
13
13
|
let e3 = y2.configure.props ? y2.configure.props : {};
|
|
14
14
|
const l2 = e3.uploadConfig ? e3.uploadConfig : {}, i2 = e3.base ? e3.base : {}, o2 = {};
|
|
15
15
|
l2.drag && (o2.drag = l2.drag), o2.prop = i2.prop, o2.propName = i2.propName, o2.displayType = l2.displayType ? l2.displayType : "input", o2.state = i2.state, o2.placeholder = i2.placeholder, o2.disabledNoPreview = i2.disabledNoPreview, o2.disabledNoDownload = i2.disabledNoDownload, l2.accept ? o2.accept = l2.accept : o2.accept = null, l2.multiple ? (o2.multiple = l2.multiple, l2.limit ? o2.limit = l2.limit : o2.limit = null) : (o2.multiple = false, o2.limit = 1), l2.limitFileSize ? o2.limitFileSize = l2.limitFileSize : o2.limitFileSize = null, l2.openCameraOrChoosePhoto ? o2.openCameraOrChoosePhoto = l2.openCameraOrChoosePhoto : o2.openCameraOrChoosePhoto = null, o2.isDeleteNow = l2.isDeleteNow, Object.assign(w.value, o2);
|
|
16
|
-
}(), y2.configure.runtime.props = w.value, y2.configure.runtime.titleExceedStyle = S.value;
|
|
16
|
+
}(), y2.configure.runtime.props = w.value, y2.configure.runtime.titleExceedStyle = S.value, w.value;
|
|
17
17
|
}, { immediate: true }), (e3, l2) => {
|
|
18
18
|
const i2 = o("el-form-item");
|
|
19
|
-
return a(), t(i2, { required: !!w.value.required, class:
|
|
19
|
+
return a(), t(i2, { required: !!w.value.required, class: r([b.value, "remove-formLabel-formContent-blankStyle"]), "label-width": w.value.labelWidth, style: u(h.value) }, { label: p(() => [w.value.tittleShow ? (a(), m("div", { key: 0, style: u({ ...C.value, ...S.value, "padding-right": "12px" }) }, d(w.value.title ? w.value.title : "Files"), 5)) : c("", true)]), default: p(() => [s(n(g), { style: { width: "100%" }, displayType: w.value.displayType, accept: w.value.accept, multiple: w.value.multiple, placeholder: w.value.placeholder, limit: w.value.limit, "limit-file-size": w.value.limitFileSize, "file-info": e3.fileInfo, "file-list": e3.fileList, "on-success": e3.onSuccess, "on-remove": e3.onRemove, openFsUpload: false, "before-upload": e3.beforeUpload }, null, 8, ["displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
20
20
|
};
|
|
21
21
|
} });
|
|
22
22
|
export {
|