super-page-designer 2.3.20-sit2-design1 → 2.3.21-tmp1-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.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → 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 +4 -4
- 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 +3 -3
- 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.vue.js +2 -26
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
- 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.vue.js → config.vue2.js} +1 -1
- 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 +11 -12
- 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 +21 -21
- package/dist/es/components/design/views/design/view/view-design.vue.js +3 -3
- package/dist/es/stores/undo-redo-store.js +1 -1
- package/dist/es/style.css +7 -33
- package/package.json +5 -5
- 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
|
@@ -5,7 +5,7 @@ const s = { style: { padding: "8px 0px 0px 0px" } }, c = e({ __name: "form-attr-
|
|
|
5
5
|
const c2 = l(["1", "attrSize"]);
|
|
6
6
|
return (l2, g) => {
|
|
7
7
|
const V = o("el-text"), _ = o("el-form-item"), b = o("el-input"), x = o("el-radio-button"), y = o("el-radio-group"), h = o("el-switch"), v = o("el-collapse-item"), z = o("el-collapse"), U = o("el-form");
|
|
8
|
-
return t(), a(U, { "label-width": "80px", size: "small" }, { default: u(() => [r(z, { modelValue: c2.value, "onUpdate:modelValue": g[7] || (g[7] = (e3) => c2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", s, [r(_, { label: "组件类型" }, { default: u(() => [r(V, null, { default: u(() => [p(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": g[0] || (g[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.code, "onUpdate:modelValue": g[1] || (g[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: u(() => [r(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(_, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: u(() => [r(y, { modelValue: e2.configure.props.labelPosition, "onUpdate:modelValue": g[2] || (g[2] = (l3) => e2.configure.props.labelPosition = l3) }, { default: u(() => [r(x, { value: "left" }, { default: u(() => g[8] || (g[8] = [p("左边")])), _: 1 }), r(x, { value: "right" }, { default: u(() => g[9] || (g[9] = [p("右边")])), _: 1 }), r(x, { value: "top" }, { default: u(() => g[10] || (g[10] = [p("顶部")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "标签宽度自适应", style: { "margin-top": "-10px" } }, { default: u(() => [r(h, { modelValue: e2.configure.props.labelWidthAuto, "onUpdate:modelValue": g[3] || (g[3] = (l3) => e2.configure.props.labelWidthAuto = l3), class: "ml-2", style: { "--el-switch-on-color": "#13ce66" } }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.labelWidthAuto ? i("", true) : (t(), a(_, { key: 0, label: "标签宽度", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.props.labelWidth, "onUpdate:modelValue": g[4] || (g[4] = (l3) => e2.configure.props.labelWidth = l3) }, { suffix: u(() => g[11] || (g[11] = [p(" px ")])), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(_, { label: "表单标题", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.props.formTitle, "onUpdate:modelValue": g[5] || (g[5] = (l3) => e2.configure.props.formTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "组件尺寸", style: { "margin-bottom": "-10px", "margin-top": "-10px" } }, { default: u(() => [r(y, { modelValue: e2.configure.props.componentSize, "onUpdate:modelValue": g[6] || (g[6] = (l3) => e2.configure.props.componentSize = l3) }, { default: u(() => [r(x, { value: "large" }, { default: u(() => g[12] || (g[12] = [p("大")])), _: 1 }), r(x, { value: "default" }, { default: u(() => g[13] || (g[13] = [p("适中")])), _: 1 }), r(x, { value: "small" }, { default: u(() => g[14] || (g[14] = [p("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(m, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
8
|
+
return t(), a(U, { "label-width": "80px", size: "small" }, { default: u(() => [r(z, { modelValue: c2.value, "onUpdate:modelValue": g[7] || (g[7] = (e3) => c2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", s, [r(_, { label: "组件类型" }, { default: u(() => [r(V, null, { default: u(() => [p(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": g[0] || (g[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.code, "onUpdate:modelValue": g[1] || (g[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: u(() => [r(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(_, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: u(() => [r(y, { modelValue: e2.configure.props.labelPosition, "onUpdate:modelValue": g[2] || (g[2] = (l3) => e2.configure.props.labelPosition = l3) }, { default: u(() => [r(x, { value: "left" }, { default: u(() => [...g[8] || (g[8] = [p("左边", -1)])]), _: 1 }), r(x, { value: "right" }, { default: u(() => [...g[9] || (g[9] = [p("右边", -1)])]), _: 1 }), r(x, { value: "top" }, { default: u(() => [...g[10] || (g[10] = [p("顶部", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "标签宽度自适应", style: { "margin-top": "-10px" } }, { default: u(() => [r(h, { modelValue: e2.configure.props.labelWidthAuto, "onUpdate:modelValue": g[3] || (g[3] = (l3) => e2.configure.props.labelWidthAuto = l3), class: "ml-2", style: { "--el-switch-on-color": "#13ce66" } }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.labelWidthAuto ? i("", true) : (t(), a(_, { key: 0, label: "标签宽度", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.props.labelWidth, "onUpdate:modelValue": g[4] || (g[4] = (l3) => e2.configure.props.labelWidth = l3) }, { suffix: u(() => [...g[11] || (g[11] = [p(" px ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(_, { label: "表单标题", style: { "margin-top": "-10px" } }, { default: u(() => [r(b, { modelValue: e2.configure.props.formTitle, "onUpdate:modelValue": g[5] || (g[5] = (l3) => e2.configure.props.formTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "组件尺寸", style: { "margin-bottom": "-10px", "margin-top": "-10px" } }, { default: u(() => [r(y, { modelValue: e2.configure.props.componentSize, "onUpdate:modelValue": g[6] || (g[6] = (l3) => e2.configure.props.componentSize = l3) }, { default: u(() => [r(x, { value: "large" }, { default: u(() => [...g[12] || (g[12] = [p("大", -1)])]), _: 1 }), r(x, { value: "default" }, { default: u(() => [...g[13] || (g[13] = [p("适中", -1)])]), _: 1 }), r(x, { value: "small" }, { default: u(() => [...g[14] || (g[14] = [p("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(m, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
9
9
|
};
|
|
10
10
|
} });
|
|
11
11
|
export {
|
|
@@ -16,7 +16,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
|
|
|
16
16
|
w();
|
|
17
17
|
}), (t2, n2) => {
|
|
18
18
|
const q3 = l("el-badge");
|
|
19
|
-
return s(), a("div", k, [r("div", C, [r("div", h, [r("label", { class: o({ selected: "base" == u(L) }), onClick: n2[0] || (n2[0] = (e3) => c(L) ? L.value = "base" : L = "base") }, "属性", 2), r("label", { class: o({ selected: "style" == u(L) }), onClick: n2[1] || (n2[1] = (e3) => c(L) ? L.value = "style" : L = "style") }, "样式", 2), r("label", { class: o({ selected: "event" == u(L) }), onClick: n2[2] || (n2[2] = (e3) => c(L) ? L.value = "event" : L = "event") }, [n2[4] || (n2[4] = i(" 事件 ")), O.value > 0 ? (s(), v(q3, { key: 0, value: O.value }, null, 8, ["value"])) : f("", true)], 2), r("label", { class: o({ selected: "advanced" == u(L) }), onClick: n2[3] || (n2[3] = (e3) => c(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), r("div", _, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
|
|
19
|
+
return s(), a("div", k, [r("div", C, [r("div", h, [r("label", { class: o({ selected: "base" == u(L) }), onClick: n2[0] || (n2[0] = (e3) => c(L) ? L.value = "base" : L = "base") }, "属性", 2), r("label", { class: o({ selected: "style" == u(L) }), onClick: n2[1] || (n2[1] = (e3) => c(L) ? L.value = "style" : L = "style") }, "样式", 2), r("label", { class: o({ selected: "event" == u(L) }), onClick: n2[2] || (n2[2] = (e3) => c(L) ? L.value = "event" : L = "event") }, [n2[4] || (n2[4] = i(" 事件 ", -1)), O.value > 0 ? (s(), v(q3, { key: 0, value: O.value }, null, 8, ["value"])) : f("", true)], 2), r("label", { class: o({ selected: "advanced" == u(L) }), onClick: n2[3] || (n2[3] = (e3) => c(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), r("div", _, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
|
|
20
20
|
};
|
|
21
21
|
} });
|
|
22
22
|
export {
|
|
@@ -61,9 +61,9 @@ const D = { class: "amb-design-item-default" }, S = e({ __name: "form-design", p
|
|
|
61
61
|
const t2 = _.configure.items;
|
|
62
62
|
x(t2, e3, e3.items && e3.items.length > 0, true);
|
|
63
63
|
}
|
|
64
|
-
return (
|
|
65
|
-
const
|
|
66
|
-
return s(), l("div", D, [r(
|
|
64
|
+
return (t2, i2) => {
|
|
65
|
+
const n2 = o("el-form");
|
|
66
|
+
return s(), l("div", D, [r(n2, { ref_key: "ambDragParent", ref: P, "label-width": k.value.labelWidth, "label-position": k.value.labelPosition, size: k.value.componentSize, style: c([w.value, { "padding-bottom": "40px" }]), class: u(z.value) }, { default: g(() => [k.value.formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: c(F.value) }, f(k.value.formTitle), 5)) : a("", true), (s(true), l(m, null, p(e2.configure.items, (t3, i3) => (s(), d(y, { key: t3, pageDesign: e2.pageDesign, configure: t3, selectWidget: e2.selectWidget, indexObj: e2.indexObj, onOnSelectWidget: E, onOnCustomAttrWidget: G, onOnCopy: H, onOnDelete: I }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
|
|
67
67
|
};
|
|
68
68
|
} });
|
|
69
69
|
export {
|
|
@@ -6,7 +6,7 @@ const c = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8p
|
|
|
6
6
|
const b2 = l(["1", "2", "attrSize"]);
|
|
7
7
|
return (l2, x) => {
|
|
8
8
|
const V = o("el-text"), _ = o("el-form-item"), y = o("el-input"), v = o("el-collapse-item"), h = o("el-radio"), z = o("el-button"), U = o("el-radio-group"), k = o("el-collapse"), T = o("el-form");
|
|
9
|
-
return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": x[5] || (x[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(_, { label: "组件类型" }, { default: t(() => [d(V, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(_, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(_, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => x[6] || (x[6] = [r("地址")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(_, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => x[7] || (x[7] = [r("页面")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
9
|
+
return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": x[5] || (x[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(_, { label: "组件类型" }, { default: t(() => [d(V, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(_, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(_, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => [...x[6] || (x[6] = [r("地址", -1)])]), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(_, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => [...x[7] || (x[7] = [r("页面", -1)])]), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
10
10
|
};
|
|
11
11
|
} });
|
|
12
12
|
export {
|
|
@@ -17,7 +17,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
|
|
|
17
17
|
O();
|
|
18
18
|
}), (n2, t2) => {
|
|
19
19
|
const q3 = l("el-badge");
|
|
20
|
-
return r(), a("div", k, [s("div", C, [s("div", h, [s("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => c(x) ? x.value = "base" : x = "base") }, "属性", 2), s("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => c(x) ? x.value = "style" : x = "style") }, "样式", 2), s("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => c(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ")), L.value > 0 ? (r(), f(q3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => c(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), s("div", _, [d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(x)]]), d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(x)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(x)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(x)]])])]);
|
|
20
|
+
return r(), a("div", k, [s("div", C, [s("div", h, [s("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => c(x) ? x.value = "base" : x = "base") }, "属性", 2), s("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => c(x) ? x.value = "style" : x = "style") }, "样式", 2), s("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => c(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ", -1)), L.value > 0 ? (r(), f(q3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => c(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), s("div", _, [d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(x)]]), d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(x)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(x)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(x)]])])]);
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -9,7 +9,7 @@ const c = { class: "amb-design-item-default" }, o = ["src"], m = e({ __name: "if
|
|
|
9
9
|
}
|
|
10
10
|
return p(), n(f.configure.style, () => {
|
|
11
11
|
p();
|
|
12
|
-
}), (
|
|
12
|
+
}), (i2, n2) => (r(), t("div", c, [s("iframe", { src: e2.configure.props.src, class: u(["amb-widget-container-iframe", d.value]), style: a(g.value) }, null, 14, o), n2[0] || (n2[0] = s("div", { class: "amb-widget-container-iframe-mask" }, [s("label", { style: { "margin-left": "10px" } }, "iframe")], -1))]));
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
15
15
|
m as default
|
|
@@ -24,7 +24,7 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
24
24
|
if (l4 < 1) return;
|
|
25
25
|
const a2 = T2.configure.items;
|
|
26
26
|
[a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]];
|
|
27
|
-
}(e3.row) }, { default: i(() => [n(p(g))]), _:
|
|
27
|
+
}(e3.row) }, { default: i(() => [n(p(g))]), _: 1 }, 8, ["onClick"]), n(q, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
28
28
|
let l4 = -1;
|
|
29
29
|
const o2 = T2.configure.items.length;
|
|
30
30
|
for (let a3 = 0; a3 < o2; a3++) if (T2.configure.items[a3].index == e4.index) {
|
|
@@ -34,14 +34,14 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
34
34
|
if (-1 == l4 || T2.configure.items.length == l4 + 1) return;
|
|
35
35
|
const a2 = T2.configure.items;
|
|
36
36
|
[a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]];
|
|
37
|
-
}(e3.row) }, { default: i(() => [n(p(b))]), _:
|
|
37
|
+
}(e3.row) }, { default: i(() => [n(p(b))]), _: 1 }, 8, ["onClick"])])]), _: 1 }), n(D, { prop: "label", label: "标题", width: "110" }, { default: i((e3) => [n(U, { modelValue: e3.row.label, "onUpdate:modelValue": (l3) => e3.row.label = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(D, { label: "图标", width: "70" }, { default: i((e3) => [n(w, { iconType: e3.row.iconType, iconValue: e3.row.iconValue, "onUpdate:modelValue": (l3, o2) => function(e4, l4, o3) {
|
|
38
38
|
e4.iconType = l4, e4.iconValue = o3;
|
|
39
39
|
}(e3.row, l3, o2) }, null, 8, ["iconType", "iconValue", "onUpdate:modelValue"])]), _: 1 }), n(D, { label: "编码", width: "70" }, { default: i((e3) => [n(P, { modelValue: e3.row.code, "onUpdate:modelValue": (l3) => e3.row.code = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(D, { label: "操作", width: "90" }, { default: i((e3) => [n(q, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => function(e4) {
|
|
40
40
|
let l4 = -1, o2 = -1;
|
|
41
41
|
T2.configure.items.find((a2, t2) => {
|
|
42
42
|
a2.index == e4.index && (o2 = t2), a2.index > l4 && (l4 = a2.index);
|
|
43
43
|
}), o2 > -1 && T2.configure.items.splice(o2 + 1, 0, { label: "Tab" + (l4 + 1), index: l4 + 1, items: [] });
|
|
44
|
-
}(e3.row) }, { default: i(() => [n(p(V))]), _:
|
|
44
|
+
}(e3.row) }, { default: i(() => [n(p(V))]), _: 1 }, 8, ["onClick"]), n(q, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
45
45
|
if (1 == T2.configure.items.length) return void alert("必须保留一个Tab!");
|
|
46
46
|
if (!confirm("确定要删除吗?")) return;
|
|
47
47
|
let l4 = -1;
|
|
@@ -50,7 +50,7 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
52
|
l4 > -1 && T2.configure.items.splice(l4, 1);
|
|
53
|
-
}(e3.row) }, { default: i(() => [n(p(x))]), _:
|
|
53
|
+
}(e3.row) }, { default: i(() => [n(p(x))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(N, { label: "默认打开", style: { "margin-top": "10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.defaultOpen, "onUpdate:modelValue": B[2] || (B[2] = (l3) => e2.configure.props.defaultOpen = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(t(true), m(f, null, s(e2.configure.items, (e3) => (t(), a(S, { label: e3.label, value: e3.code || e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签风格", style: { "margin-top": "-10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.cardType, "onUpdate:modelValue": B[3] || (B[3] = (l3) => e2.configure.props.cardType = l3), placeholder: "默认", clearable: "" }, { default: i(() => [n(S, { label: "卡片", value: "card" }), n(S, { label: "边框", value: "border-card" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: i(() => [n(G, { modelValue: e2.configure.props.tabPosition, "onUpdate:modelValue": B[4] || (B[4] = (l3) => e2.configure.props.tabPosition = l3) }, { default: i(() => [n(E, { value: "top" }, { default: i(() => [...B[11] || (B[11] = [r("上", -1)])]), _: 1 }), n(E, { value: "right" }, { default: i(() => [...B[12] || (B[12] = [r("右", -1)])]), _: 1 }), n(E, { value: "bottom" }, { default: i(() => [...B[13] || (B[13] = [r("下", -1)])]), _: 1 }), n(E, { value: "left" }, { default: i(() => [...B[14] || (B[14] = [r("左", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "全部渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.isFullyRendered, "onUpdate:modelValue": B[5] || (B[5] = (l3) => e2.configure.props.isFullyRendered = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "延迟渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.lazy, "onUpdate:modelValue": B[6] || (B[6] = (l3) => e2.configure.props.lazy = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "页签可重置", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.resetable, "onUpdate:modelValue": B[7] || (B[7] = (l3) => e2.configure.props.resetable = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v), onChange: O }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.resetable ? (t(), a(N, { key: 0, label: "", style: { "margin-top": "-10px" } }, { default: i(() => [n(P, { modelValue: e2.configure.props.resetButtonName, "onUpdate:modelValue": B[8] || (B[8] = (l3) => e2.configure.props.resetButtonName = l3), placeholder: "重置按钮名称" }, null, 8, ["modelValue"])]), _: 1 })) : c("", true), n(N, { label: "页签可关闭", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.closable, "onUpdate:modelValue": B[9] || (B[9] = (l3) => e2.configure.props.closable = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 })], 512)]), _: 1 }), n(y, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
54
54
|
};
|
|
55
55
|
} });
|
|
56
56
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as n, resolveComponent as s, createElementBlock as a, openBlock as l, createElementVNode as r, normalizeClass as c, isRef as i, unref as o, createTextVNode as u, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as n, resolveComponent as s, createElementBlock as a, openBlock as l, createElementVNode as r, normalizeClass as c, isRef as i, unref as o, createTextVNode as u, createBlock as g, createCommentVNode as d, withDirectives as v, createVNode as f, vShow as b } from "vue";
|
|
2
2
|
import p from "./tabs-attr-base.vue.js";
|
|
3
3
|
import m from "./tabs-attr-style.vue.js";
|
|
4
4
|
import y from "./tabs-attr-event.vue.js";
|
|
@@ -6,6 +6,7 @@ import j from "./tabs-attr-advanced.vue.js";
|
|
|
6
6
|
const C = { class: "amb-design-attr-content" }, k = { class: "amb-design-attr-header" }, D = { class: "amb-design-attr-header-type" }, h = { class: "amb-design-attr-list" }, O = e({ __name: "tabs-attr", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
7
7
|
} } }, emits: [], setup(e2, { emit: O2 }) {
|
|
8
8
|
const _ = e2;
|
|
9
|
+
_.configure;
|
|
9
10
|
let q = t("base");
|
|
10
11
|
_.configure.props = { isFullyRendered: true, isContentEmbedded: true, ..._.configure.props ?? {} }, null == _.configure.events && (_.configure.events = []);
|
|
11
12
|
const x = t(0);
|
|
@@ -17,7 +18,7 @@ const C = { class: "amb-design-attr-content" }, k = { class: "amb-design-attr-he
|
|
|
17
18
|
E();
|
|
18
19
|
}), (t2, n2) => {
|
|
19
20
|
const O3 = s("el-badge");
|
|
20
|
-
return l(), a("div", C, [r("div", k, [r("div", D, [r("label", { class: c({ selected: "base" == o(q) }), onClick: n2[0] || (n2[0] = (e3) => i(q) ? q.value = "base" : q = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == o(q) }), onClick: n2[1] || (n2[1] = (e3) => i(q) ? q.value = "style" : q = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == o(q) }), onClick: n2[2] || (n2[2] = (e3) => i(q) ? q.value = "event" : q = "event") }, [n2[4] || (n2[4] = u(" 事件 ")), x.value > 0 ? (l(),
|
|
21
|
+
return l(), a("div", C, [r("div", k, [r("div", D, [r("label", { class: c({ selected: "base" == o(q) }), onClick: n2[0] || (n2[0] = (e3) => i(q) ? q.value = "base" : q = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == o(q) }), onClick: n2[1] || (n2[1] = (e3) => i(q) ? q.value = "style" : q = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == o(q) }), onClick: n2[2] || (n2[2] = (e3) => i(q) ? q.value = "event" : q = "event") }, [n2[4] || (n2[4] = u(" 事件 ", -1)), x.value > 0 ? (l(), g(O3, { key: 0, value: x.value }, null, 8, ["value"])) : d("", true)], 2), r("label", { class: c({ selected: "advanced" == o(q) }), onClick: n2[3] || (n2[3] = (e3) => i(q) ? q.value = "advanced" : q = "advanced") }, "高级", 2)])]), r("div", h, [v(f(p, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[b, "base" == o(q)]]), v(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[b, "style" == o(q)]]), v(f(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, "event" == o(q)]]), v(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[b, "advanced" == o(q)]])])]);
|
|
21
22
|
};
|
|
22
23
|
} });
|
|
23
24
|
export {
|
|
@@ -38,13 +38,13 @@ const S = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
return (
|
|
42
|
-
const
|
|
43
|
-
return o(), l(s(O), { modelValue: A.value, "onUpdate:modelValue":
|
|
44
|
-
const i5 =
|
|
41
|
+
return (t2, i2) => {
|
|
42
|
+
const x2 = n("el-button");
|
|
43
|
+
return o(), l(s(O), { modelValue: A.value, "onUpdate:modelValue": i2[1] || (i2[1] = (e3) => A.value = e3), type: e2.configure.props.cardType, editable: e2.configure.props.editable, closable: e2.configure.props.closable, "tab-position": e2.configure.props.tabPosition, class: u(["amb-design-item-default runtime-page-container-tabs-view", w.value]), style: a(U.value) }, { "add-icon": r(() => [...i2[2] || (i2[2] = [])]), default: r(() => [(o(true), c(g, null, d(e2.configure.items, (t3, i3) => (o(), l(s(V), { key: i3, label: t3.label, name: "design-tab-pane-" + t3.index, lazy: !!e2.configure.props.lazy }, { label: r(() => [t3.iconType && t3.iconValue ? (o(), l(s(W), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : m("", true), f("span", { style: a(B.value) }, b(t3.label), 5)]), default: r(() => [p(s(j), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e3) => t3.items = e3, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: r(() => [(o(true), c(g, null, d(t3.items, (i4, n2) => (o(), l(_, { key: i4, pageDesign: e2.pageDesign, configure: i4, selectWidget: e2.selectWidget, indexObj: e2.indexObj, onOnSelectWidget: P, onOnCustomAttrWidget: q, onOnCopy: E, onOnDelete: (e3) => function(e4, t4) {
|
|
44
|
+
const i5 = e4.items;
|
|
45
45
|
C(i5, t4, t4.items && t4.items.length > 0, true);
|
|
46
|
-
}(t3,
|
|
47
|
-
}, ["stop"])) }, { default: r(() => [v(b(
|
|
46
|
+
}(t3, e3) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (o(), l(s(V), { key: 0, disabled: "", name: "-1" }, { label: r(() => [p(x2, { type: "text", circle: "", onClick: i2[0] || (i2[0] = y(() => {
|
|
47
|
+
}, ["stop"])) }, { default: r(() => [v(b(e2.configure.props.resetButtonName || "重置"), 1)]), _: 1 })]), _: 1 })) : m("", true)]), _: 1 }, 8, ["modelValue", "type", "editable", "closable", "tab-position", "style", "class"]);
|
|
48
48
|
};
|
|
49
49
|
} });
|
|
50
50
|
export {
|
|
@@ -5,7 +5,7 @@ const g = { style: { padding: "8px 0px 0px 0px" } }, x = e({ __name: "tools-attr
|
|
|
5
5
|
const x2 = l(["1", "attrSize"]);
|
|
6
6
|
return (l2, V) => {
|
|
7
7
|
const b = o("el-text"), _ = o("el-form-item"), v = o("el-input"), y = o("el-radio-button"), U = o("el-radio-group"), F = o("el-input-number"), z = o("el-switch"), A = o("el-collapse-item"), h = o("el-collapse"), j = o("el-form");
|
|
8
|
-
return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: x2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => x2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(_, { label: "组件类型" }, { default: u(() => [t(b, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V[0] || (V[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": V[1] || (V[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": V[2] || (V[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => V[9] || (V[9] = [p("居左")])), _: 1 }), t(y, { value: "center" }, { default: u(() => V[10] || (V[10] = [p("居中")])), _: 1 }), t(y, { value: "flex-end" }, { default: u(() => V[11] || (V[11] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": V[3] || (V[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": V[4] || (V[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(_, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": V[5] || (V[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": V[6] || (V[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => V[12] || (V[12] = [p("默认")])), _: 1 }), t(y, { value: "top" }, { default: u(() => V[13] || (V[13] = [p("顶部")])), _: 1 }), t(y, { value: "bottom" }, { default: u(() => V[14] || (V[14] = [p("底部")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": V[7] || (V[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
8
|
+
return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: x2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => x2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(_, { label: "组件类型" }, { default: u(() => [t(b, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V[0] || (V[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": V[1] || (V[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": V[2] || (V[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => [...V[9] || (V[9] = [p("居左", -1)])]), _: 1 }), t(y, { value: "center" }, { default: u(() => [...V[10] || (V[10] = [p("居中", -1)])]), _: 1 }), t(y, { value: "flex-end" }, { default: u(() => [...V[11] || (V[11] = [p("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": V[3] || (V[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": V[4] || (V[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(_, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": V[5] || (V[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": V[6] || (V[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => [...V[12] || (V[12] = [p("默认", -1)])]), _: 1 }), t(y, { value: "top" }, { default: u(() => [...V[13] || (V[13] = [p("顶部", -1)])]), _: 1 }), t(y, { value: "bottom" }, { default: u(() => [...V[14] || (V[14] = [p("底部", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": V[7] || (V[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
9
9
|
};
|
|
10
10
|
} });
|
|
11
11
|
export {
|
|
@@ -19,7 +19,7 @@ const b = { class: "amb-design-attr-content" }, y = { class: "amb-design-attr-he
|
|
|
19
19
|
w();
|
|
20
20
|
}), (l2, u2) => {
|
|
21
21
|
const j3 = t("el-badge");
|
|
22
|
-
return n(), a("div", b, [s("div", y, [s("div", k, [s("label", { class: o(h.value), onClick: u2[0] || (u2[0] = (e3) => L("base")) }, "属性", 2), s("label", { class: o(_.value), onClick: u2[1] || (u2[1] = (e3) => L("style")) }, "样式", 2), s("label", { class: o(q.value), onClick: u2[2] || (u2[2] = (e3) => L("event")) }, [u2[4] || (u2[4] = r(" 事件 ")), O.value > 0 ? (n(), c(j3, { key: 0, value: O.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o(x.value), onClick: u2[3] || (u2[3] = (e3) => L("advice")) }, "高级", 2)])]), s("div", C, [i(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, h.value]]), i(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), i(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]])])]);
|
|
22
|
+
return n(), a("div", b, [s("div", y, [s("div", k, [s("label", { class: o(h.value), onClick: u2[0] || (u2[0] = (e3) => L("base")) }, "属性", 2), s("label", { class: o(_.value), onClick: u2[1] || (u2[1] = (e3) => L("style")) }, "样式", 2), s("label", { class: o(q.value), onClick: u2[2] || (u2[2] = (e3) => L("event")) }, [u2[4] || (u2[4] = r(" 事件 ", -1)), O.value > 0 ? (n(), c(j3, { key: 0, value: O.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o(x.value), onClick: u2[3] || (u2[3] = (e3) => L("advice")) }, "高级", 2)])]), s("div", C, [i(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, h.value]]), i(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), i(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]])])]);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -2,52 +2,52 @@ import { defineComponent as e, ref as t, computed as n, watch as i, onMounted as
|
|
|
2
2
|
import { useDraggable as d } from "vue-draggable-plus";
|
|
3
3
|
import v from "../../object-design.vue.js";
|
|
4
4
|
import { deepCopy as b, getUuidv4 as y } from "../../../../utils/common-util.js";
|
|
5
|
-
import { caculateComponentStyle as
|
|
5
|
+
import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
|
|
6
6
|
import "element-plus";
|
|
7
|
-
import { copyHandleEvents as
|
|
7
|
+
import { copyHandleEvents as j, deleteDesignItem as x } from "../../../../utils/page-design-util.js";
|
|
8
8
|
import { getInputTypeComponentNames as O } from "../../../../utils/assemblys-config.js";
|
|
9
9
|
const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
|
|
10
10
|
const C = e2;
|
|
11
11
|
C.configure.items || (C.configure.items = []), null == C.configure.style && (C.configure.style = {}), C.configure.props = { isAffix: true, position: "top", ...C.configure.props ?? {} }, C.configure.runtime || (C.configure.runtime = {});
|
|
12
|
-
const
|
|
12
|
+
const R = t({}), w = t(""), A = n(() => {
|
|
13
13
|
const { gap: e3 } = C.configure.props ?? {};
|
|
14
|
-
return { ...e3 ? { gap: `${e3}px` } : {}, ...
|
|
14
|
+
return { ...e3 ? { gap: `${e3}px` } : {}, ...R.value ?? {} };
|
|
15
15
|
});
|
|
16
16
|
i(C.configure.style, () => {
|
|
17
|
-
|
|
17
|
+
N();
|
|
18
18
|
}), i(C.configure.props, () => {
|
|
19
|
-
|
|
19
|
+
N();
|
|
20
20
|
});
|
|
21
|
-
const
|
|
22
|
-
function
|
|
21
|
+
const k = O(), I = n(() => [...C.configure.items]);
|
|
22
|
+
function S(e3) {
|
|
23
23
|
e3.forEach((e4) => {
|
|
24
24
|
var _a, _b, _c, _d;
|
|
25
|
-
if (e4.items && e4.items.length > 0 &&
|
|
25
|
+
if (e4.items && e4.items.length > 0 && S(e4.items), k.includes(e4.name)) {
|
|
26
26
|
const t2 = { uuid: e4.uuid, defaultValue: (_b = (_a = e4.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.defaultValue, prop: (_d = (_c = e4.runtime) == null ? void 0 : _c.props) == null ? void 0 : _d.prop };
|
|
27
27
|
C.pageDesign.toolsInputComponents.push(t2);
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
i(
|
|
32
|
-
e3.length > t2.length && z(-1, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [],
|
|
31
|
+
i(I, (e3, t2) => {
|
|
32
|
+
e3.length > t2.length && z(-1, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [], S(e3));
|
|
33
33
|
}, { important: true, deep: true });
|
|
34
|
-
const
|
|
35
|
-
function
|
|
36
|
-
|
|
34
|
+
const _ = t(null);
|
|
35
|
+
function N() {
|
|
36
|
+
h(C.configure, R, w, null);
|
|
37
37
|
const e3 = C.configure.props;
|
|
38
|
-
"flex-end" == e3.align ?
|
|
38
|
+
"flex-end" == e3.align ? R.value["justify-content"] = "right" : "center" == e3.align && (R.value["justify-content"] = "center"), C.configure.runtime.style = R.value, C.configure.runtime.class = w.value;
|
|
39
39
|
}
|
|
40
|
-
d(
|
|
40
|
+
d(_, C.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
|
|
41
41
|
if (C.configure && C.configure.items) {
|
|
42
42
|
const t2 = e3.newIndex, n2 = C.configure.items[t2];
|
|
43
43
|
n2.style || (n2.style = {});
|
|
44
44
|
}
|
|
45
45
|
} }), o(() => {
|
|
46
|
-
if (
|
|
46
|
+
if (N(), _.value.parentNode) {
|
|
47
47
|
new ResizeObserver((e3) => {
|
|
48
|
-
for (let t2 of e3) ;
|
|
49
|
-
|
|
50
|
-
}).observe(
|
|
48
|
+
for (let t2 of e3) t2.target, t2.contentRect, t2.contentRect.width, t2.contentRect.height, t2.contentRect.top, t2.contentRect.left;
|
|
49
|
+
N();
|
|
50
|
+
}).observe(_.value.parentNode);
|
|
51
51
|
}
|
|
52
52
|
}), s(() => {
|
|
53
53
|
});
|
|
@@ -63,13 +63,13 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({
|
|
|
63
63
|
const n2 = t2.indexOf(e3);
|
|
64
64
|
if (-1 == n2) return void alert("无可复制对象!");
|
|
65
65
|
const i2 = a(b(e3));
|
|
66
|
-
i2.uuid = y(),
|
|
66
|
+
i2.uuid = y(), j(i2, C.pageDesign), t2.splice(n2 + 1, 0, i2);
|
|
67
67
|
}
|
|
68
68
|
function T(e3) {
|
|
69
69
|
let t2 = C.configure.items;
|
|
70
70
|
x(t2, e3, e3.items && e3.items.length > 0, true);
|
|
71
71
|
}
|
|
72
|
-
return (
|
|
72
|
+
return (t2, n2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(A.value), ref_key: "thisRef", ref: _ }, [(r(true), u(f, null, p(e2.configure.items, (t3, n3) => (r(), m(v, { key: t3, pageDesign: e2.pageDesign, configure: t3, selectWidget: e2.selectWidget, indexObj: e2.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
|
|
73
73
|
} });
|
|
74
74
|
export {
|
|
75
75
|
D as default
|
|
@@ -23,7 +23,7 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-at
|
|
|
23
23
|
});
|
|
24
24
|
}), (l2, a2) => {
|
|
25
25
|
const V2 = o("el-option"), y3 = o("el-select"), h = o("el-form-item"), O = o("el-input"), x = o("el-radio"), D = o("el-radio-group"), M = o("el-collapse-item"), S = o("el-collapse"), R = o("el-form");
|
|
26
|
-
return e2.configure ? (r(), u(R, { key: 0, "label-width": "80px", size: "small" }, { default: d(() => [s(S, { modelValue: C.value, "onUpdate:modelValue": a2[9] || (a2[9] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(M, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", _, [s(h, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(b(f)(), (e3) => (r(), u(V2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(O, { 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 }), s(h, { label: "组件名", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.base.name = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(h, { label: "绑定变量", class: "amb-design-attr-item" }, { default: d(() => [(r(), u(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": I }, null, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "条码类型", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.type = l3), onChange: A, class: "ml-4" }, { default: d(() => [s(x, { value: "br-code" }, { default: d(() => a2[10] || (a2[10] = [c("条形码")])), _: 1 }), s(x, { value: "QR-code" }, { default: d(() => a2[11] || (a2[11] = [c("二维码")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "br-code" === e2.configure.props.base.type ? (r(), u(h, { key: 0, label: "条形码格式", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.props.base.brCodeFormat, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.brCodeFormat = l3), placeholder: "请选择" }, { default: d(() => [s(V2, { label: "默认", value: "CODE128" }), s(V2, { label: "CODE128A", value: "CODE128A" }), s(V2, { label: "CODE128B", value: "CODE128B" }), s(V2, { label: "CODE128C", value: "CODE128C" }), s(V2, { label: "CODE39", value: "CODE39" }), s(V2, { label: "EAN-13", value: "EAN-13" }), s(V2, { label: "EAN-8", value: "EAN-8" }), s(V2, { label: "EAN-5", value: "EAN-5" }), s(V2, { label: "EAN-2", value: "EAN-2" }), s(V2, { label: "UPC(A)", value: "UPC(A)" }), s(V2, { label: "ITF", value: "ITF" }), s(V2, { label: "ITF-14", value: "ITF-14" }), s(V2, { label: "MSI", value: "MSI" }), s(V2, { label: "MSI10", value: "MSI10" }), s(V2, { label: "MSI11", value: "MSI11" }), s(V2, { label: "MSI1010", value: "MSI1010" }), s(V2, { label: "MSI1110", value: "MSI1110" }), s(V2, { label: "Pharmacode", value: "Pharmacode" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true), s(h, { label: "生成规则", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.generateRuleType, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.generateRuleType = l3), onChange: U, class: "ml-4" }, { default: d(() => [s(x, { value: "fixed" }, { default: d(() => a2[12] || (a2[12] = [c("固定")])), _: 1 }), s(x, { value: "selected" }, { default: d(() => a2[13] || (a2[13] = [c("选择规则")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "", class: "amb-design-attr-item" }, { default: d(() => ["fixed" === e2.configure.props.base.generateRuleType ? (r(), u(O, { key: 0, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.generateRule = l3), type: "textarea" }, null, 8, ["modelValue"])) : (r(), u(y3, { key: 1, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.generateRule = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(E.value, (e3) => (r(), u(V2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(x, { value: "default" }, { default: d(() => a2[14] || (a2[14] = [c("普通")])), _: 1 }), s(x, { value: "hidden" }, { default: d(() => a2[15] || (a2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (r(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true);
|
|
26
|
+
return e2.configure ? (r(), u(R, { key: 0, "label-width": "80px", size: "small" }, { default: d(() => [s(S, { modelValue: C.value, "onUpdate:modelValue": a2[9] || (a2[9] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(M, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", _, [s(h, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(b(f)(), (e3) => (r(), u(V2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(O, { 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 }), s(h, { label: "组件名", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.base.name = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(h, { label: "绑定变量", class: "amb-design-attr-item" }, { default: d(() => [(r(), u(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": I }, null, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "条码类型", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.type = l3), onChange: A, class: "ml-4" }, { default: d(() => [s(x, { value: "br-code" }, { default: d(() => [...a2[10] || (a2[10] = [c("条形码", -1)])]), _: 1 }), s(x, { value: "QR-code" }, { default: d(() => [...a2[11] || (a2[11] = [c("二维码", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "br-code" === e2.configure.props.base.type ? (r(), u(h, { key: 0, label: "条形码格式", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.props.base.brCodeFormat, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.brCodeFormat = l3), placeholder: "请选择" }, { default: d(() => [s(V2, { label: "默认", value: "CODE128" }), s(V2, { label: "CODE128A", value: "CODE128A" }), s(V2, { label: "CODE128B", value: "CODE128B" }), s(V2, { label: "CODE128C", value: "CODE128C" }), s(V2, { label: "CODE39", value: "CODE39" }), s(V2, { label: "EAN-13", value: "EAN-13" }), s(V2, { label: "EAN-8", value: "EAN-8" }), s(V2, { label: "EAN-5", value: "EAN-5" }), s(V2, { label: "EAN-2", value: "EAN-2" }), s(V2, { label: "UPC(A)", value: "UPC(A)" }), s(V2, { label: "ITF", value: "ITF" }), s(V2, { label: "ITF-14", value: "ITF-14" }), s(V2, { label: "MSI", value: "MSI" }), s(V2, { label: "MSI10", value: "MSI10" }), s(V2, { label: "MSI11", value: "MSI11" }), s(V2, { label: "MSI1010", value: "MSI1010" }), s(V2, { label: "MSI1110", value: "MSI1110" }), s(V2, { label: "Pharmacode", value: "Pharmacode" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true), s(h, { label: "生成规则", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.generateRuleType, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.generateRuleType = l3), onChange: U, class: "ml-4" }, { default: d(() => [s(x, { value: "fixed" }, { default: d(() => [...a2[12] || (a2[12] = [c("固定", -1)])]), _: 1 }), s(x, { value: "selected" }, { default: d(() => [...a2[13] || (a2[13] = [c("选择规则", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "", class: "amb-design-attr-item" }, { default: d(() => ["fixed" === e2.configure.props.base.generateRuleType ? (r(), u(O, { key: 0, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.generateRule = l3), type: "textarea" }, null, 8, ["modelValue"])) : (r(), u(y3, { key: 1, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.generateRule = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(E.value, (e3) => (r(), u(V2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(x, { value: "default" }, { default: d(() => [...a2[14] || (a2[14] = [c("普通", -1)])]), _: 1 }), s(x, { value: "hidden" }, { default: d(() => [...a2[15] || (a2[15] = [c("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (r(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true);
|
|
27
27
|
};
|
|
28
28
|
} });
|
|
29
29
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as o, watch as a, createElementBlock as t, openBlock as u, normalizeStyle as s, normalizeClass as l, withDirectives as n, createElementVNode as
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as o, watch as a, createElementBlock as t, openBlock as u, normalizeStyle as s, normalizeClass as l, withDirectives as n, createElementVNode as c, vShow as i } from "vue";
|
|
2
2
|
import p from "qrcode";
|
|
3
3
|
import f from "jsbarcode";
|
|
4
4
|
import { caculateDetailComponentStyle as b, caculateComponentProps as d } from "../../../../utils/form-design-util.js";
|
|
@@ -11,7 +11,7 @@ const m = ["src"], v = e({ __name: "barcode-design", props: { configure: Object
|
|
|
11
11
|
let e3 = {};
|
|
12
12
|
const r2 = {};
|
|
13
13
|
if (v2.configure.props.preSuffix && (e3 = v2.configure.props), e3.base.bindProp && (g.value = e3.base.bindProp), e3.base && "br-code" === e3.base.type && C(), e3.base && "QR-code" === e3.base.type && p.toDataURL(g.value, (e4, r3) => {
|
|
14
|
-
e4
|
|
14
|
+
e4 ? console.error(e4) : y.value = r3;
|
|
15
15
|
}), r2.type = e3.base.type, r2.brCodeFormat = e3.base.brCodeFormat, r2.generateRuleType = e3.base.generateRuleType, r2.generateRule = e3.base.generateRule, r2 != {}) for (const e4 in r2) O.value[e4] = r2[e4];
|
|
16
16
|
}
|
|
17
17
|
o(() => {
|
|
@@ -22,7 +22,7 @@ const m = ["src"], v = e({ __name: "barcode-design", props: { configure: Object
|
|
|
22
22
|
b(v2.configure, x, D, F);
|
|
23
23
|
}, { immediate: true }), a(v2.configure.props, () => {
|
|
24
24
|
d(v2.configure, O), _(), v2.configure.runtime.props = O.value;
|
|
25
|
-
}, { immediate: true }), (e3, r2) => (u(), t("div", { class: l(D.value), style: s(x.value) }, [n(
|
|
25
|
+
}, { immediate: true }), (e3, r2) => (u(), t("div", { class: l(D.value), style: s(x.value) }, [n(c("canvas", { ref_key: "barcode", ref: R }, null, 512), [[i, "br-code" === O.value.type]]), n(c("img", { src: y.value }, null, 8, m), [[i, "QR-code" === O.value.type]])], 6));
|
|
26
26
|
} });
|
|
27
27
|
export {
|
|
28
28
|
v as default
|
|
@@ -97,36 +97,36 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
97
97
|
ce && clearTimeout(ce);
|
|
98
98
|
}), (l2, o2) => {
|
|
99
99
|
const a2 = r("el-button"), h2 = r("el-table-column"), y2 = r("el-icon"), v2 = r("Plus"), k2 = r("Delete"), V2 = r("el-option"), x2 = r("el-select"), W3 = r("el-input"), Y2 = r("el-switch"), le2 = r("el-table"), ae2 = r("el-dialog");
|
|
100
|
-
return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => o2[0] || (o2[0] = [d("确定")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => o2[1] || (o2[1] = [d("删除")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => o2[3] || (o2[3] = [d("取消")])), _: 1 }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
100
|
+
return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => [...o2[0] || (o2[0] = [d("确定", -1)])]), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => [...o2[1] || (o2[1] = [d("删除", -1)])]), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => [...o2[2] || (o2[2] = [d("重置顺序", -1)])]), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => [...o2[3] || (o2[3] = [d("取消", -1)])]), _: 1 }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
101
101
|
let l4 = me(e4);
|
|
102
102
|
if (l4 < 1) return;
|
|
103
103
|
const o3 = Z.value;
|
|
104
104
|
[o3[l4 - 1], o3[l4]] = [o3[l4], o3[l4 - 1]];
|
|
105
105
|
const a3 = o3[l4].props.base.displayOrder, r2 = o3[l4 - 1].props.base.displayOrder;
|
|
106
106
|
o3[l4].props.base.displayOrder = r2, o3[l4 - 1].props.base.displayOrder = a3;
|
|
107
|
-
}(e3.row) }, { default: i(() => [u(m(_))]), _:
|
|
107
|
+
}(e3.row) }, { default: i(() => [u(m(_))]), _: 1 }, 8, ["onClick"])), ue(e3.row) ? s("", true) : (t(), c(y2, { key: 1, size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
108
108
|
let l4 = me(e4);
|
|
109
109
|
if (-1 == l4 || Z.value.length == l4 + 1) return;
|
|
110
110
|
const o3 = Z.value;
|
|
111
111
|
[o3[l4], o3[l4 + 1]] = [o3[l4 + 1], o3[l4]];
|
|
112
112
|
const a3 = o3[l4].props.base.displayOrder, r2 = o3[l4 + 1].props.base.displayOrder;
|
|
113
113
|
o3[l4].props.base.displayOrder = r2, o3[l4 + 1].props.base.displayOrder = a3;
|
|
114
|
-
}(e3.row) }, { default: i(() => [u(m(C))]), _:
|
|
114
|
+
}(e3.row) }, { default: i(() => [u(m(C))]), _: 1 }, 8, ["onClick"])), u(y2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function() {
|
|
115
115
|
ce && clearTimeout(ce);
|
|
116
116
|
let e4 = g();
|
|
117
117
|
Z.value.push(e4), ce = setTimeout(() => {
|
|
118
118
|
ee.value = e4.uuid;
|
|
119
119
|
}, 20);
|
|
120
|
-
}(e3.row) }, { default: i(() => [u(v2)]), _:
|
|
120
|
+
}(e3.row) }, { default: i(() => [u(v2)]), _: 1 }, 8, ["onClick"]), ue(e3.row) ? s("", true) : (t(), c(y2, { key: 2, size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
121
121
|
let l4 = me(e4);
|
|
122
122
|
Z.value.splice(l4, 1);
|
|
123
|
-
}(e3.row) }, { default: i(() => [u(k2)]), _:
|
|
123
|
+
}(e3.row) }, { default: i(() => [u(k2)]), _: 1 }, 8, ["onClick"]))]))]), _: 1 }), u(h2, { label: "字段", width: "150" }, { default: i((l3) => [l3.row.uuid != ee.value || ue(l3.row) ? (t(), n("label", T, b(l3.row.props.base.prop), 1)) : l3.row.children && 0 != l3.row.children.length ? s("", true) : (t(), c(x2, { key: 1, modelValue: l3.row.props.base.prop, "onUpdate:modelValue": (e3) => l3.row.props.base.prop = e3, placeholder: "请选择", onChange: (e3) => function(e4) {
|
|
124
124
|
const l4 = X.modelFields.filter((l5) => l5.dbColumnName === e4.props.base.prop);
|
|
125
125
|
l4 && l4.length > 0 && (e4.props.base.name = l4[0].alias);
|
|
126
|
-
}(l3.row) }, { default: i(() => [(t(true), n(f, null, w(e2.modelFields, (e3) => (t(), c(V2, { key: e3.name, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _:
|
|
126
|
+
}(l3.row) }, { default: i(() => [(t(true), n(f, null, w(e2.modelFields, (e3) => (t(), c(V2, { key: e3.name, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 }), u(h2, { width: "150" }, { header: i(() => [...o2[4] || (o2[4] = [d(" 标题 ", -1), p("span", { style: { color: "red" } }, "*", -1)])]), default: i((e3) => [e3.row.children && e3.row.children.length > 0 ? (t(), n("span", N, b(be(e3.row)), 1)) : (t(), n("span", D, [e3.row.uuid != ee.value || ie(e3.row) || pe(e3.row) ? (t(), n("label", F, b(e3.row.props.base.name), 1)) : (t(), c(W3, { key: 1, modelValue: e3.row.props.base.name, "onUpdate:modelValue": (l3) => e3.row.props.base.name = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"]))]))]), _: 1 }), u(h2, { label: "显示" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", L, b(e3.row.props.base.visible), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", E, [u(Y2, { modelValue: e3.row.props.base.visible, "onUpdate:modelValue": (l3) => e3.row.props.base.visible = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "显示顺序" }, { default: i((e3) => [e3.row.uuid != ee.value ? (t(), n("label", S, b(e3.row.props.base.displayOrder), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", I, [u(W3, { modelValue: e3.row.props.base.displayOrder, "onUpdate:modelValue": (l3) => e3.row.props.base.displayOrder = l3, modelModifiers: { number: true }, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "导出" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", M, b(e3.row.props.base.exportable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", j, [u(Y2, { modelValue: e3.row.props.base.exportable, "onUpdate:modelValue": (l3) => e3.row.props.base.exportable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "查询设置" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", z, b(e3.row.props.base.querySettingName), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", $, [u(x2, { modelValue: e3.row.props.base.querySettingName, "onUpdate:modelValue": (l3) => e3.row.props.base.querySettingName = l3 }, { default: i(() => [u(V2, { label: "不查询", value: "no" }), u(V2, { label: "普通查询", value: "normal" }), u(V2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", q, b(e3.row.props.editLine.editable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", R, [u(Y2, { modelValue: e3.row.props.editLine.editable, "onUpdate:modelValue": (l3) => e3.row.props.editLine.editable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑组件" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", A, b(e3.row.props.editLine.plugType), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", B, [u(x2, { modelValue: e3.row.props.editLine.plugType, "onUpdate:modelValue": (l3) => e3.row.props.editLine.plugType = l3, placeholder: "请选择", clearable: "", onChange: (l3) => {
|
|
127
127
|
var o3;
|
|
128
128
|
(o3 = e3.row).name = o3.props.editLine.plugType;
|
|
129
|
-
} }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(V2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _:
|
|
129
|
+
} }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(V2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])]))]), _: 1 }), u(h2, { label: "标题对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", J, b(e3.row.props.base.alignTitle), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", H, [u(x2, { modelValue: e3.row.props.base.alignTitle, "onUpdate:modelValue": (l3) => e3.row.props.base.alignTitle = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => [...o2[5] || (o2[5] = [d("居左", -1)])]), _: 1 }), u(V2, { value: "center" }, { default: i(() => [...o2[6] || (o2[6] = [d("居中", -1)])]), _: 1 }), u(V2, { value: "right" }, { default: i(() => [...o2[7] || (o2[7] = [d("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "内容对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", P, b(e3.row.props.base.alignContent), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", G, [u(x2, { modelValue: e3.row.props.base.alignContent, "onUpdate:modelValue": (l3) => e3.row.props.base.alignContent = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => [...o2[8] || (o2[8] = [d("居左", -1)])]), _: 1 }), u(V2, { value: "center" }, { default: i(() => [...o2[9] || (o2[9] = [d("居中", -1)])]), _: 1 }), u(V2, { value: "right" }, { default: i(() => [...o2[10] || (o2[10] = [d("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "固定列" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", K, b(e3.row.props.base.listColumnFixed), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", Q, [u(x2, { modelValue: e3.row.props.base.listColumnFixed, "onUpdate:modelValue": (l3) => e3.row.props.base.listColumnFixed = l3 }, { default: i(() => [u(V2, { value: false }, { default: i(() => [...o2[11] || (o2[11] = [d("否", -1)])]), _: 1 }), u(V2, { value: "left" }, { default: i(() => [...o2[12] || (o2[12] = [d("居左", -1)])]), _: 1 }), u(V2, { value: "right" }, { default: i(() => [...o2[13] || (o2[13] = [d("居右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]);
|
|
130
130
|
};
|
|
131
131
|
} });
|
|
132
132
|
export {
|
|
@@ -38,7 +38,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
|
|
|
38
38
|
q.value.validate((e3) => {
|
|
39
39
|
if (e3) {
|
|
40
40
|
let e4;
|
|
41
|
-
P.value.uuid ? (e4 = ge(P.value.uuid), e4.titleText = P.value.titleText, e4.displayOrder = P.value.displayOrder, void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, e4, Z.value), B.value = false) : (P.value.uuid = k(), void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, P.value, Z.value), Z.value.push(P.value), B.value = false), ie(), P.value.parentUuid ? ee.value.append(P.value, K.value) : z.value = C(Z.value), Q.value && he();
|
|
41
|
+
P.value.uuid ? (e4 = ge(P.value.uuid), e4.titleText = P.value.titleText, e4.displayOrder = P.value.displayOrder, void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, e4, Z.value), B.value = false) : (P.value.uuid = k(), void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, P.value, Z.value), Z.value.push(P.value), B.value = false), ie(), P.value.parentUuid ? ee.value.append(P.value, K.value) : z.value = C(Z.value), Q.value && he(), M2.configure;
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
}
|
|
@@ -199,7 +199,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
|
|
|
199
199
|
}
|
|
200
200
|
return (l2, a2) => {
|
|
201
201
|
const u2 = t("el-switch"), k2 = t("el-button"), O2 = t("el-input"), T2 = t("el-tree"), C2 = t("el-icon"), V2 = t("el-cascader"), H2 = t("el-form-item"), w2 = t("el-form"), N2 = t("el-dialog"), M3 = t("el-checkbox"), F2 = t("el-col"), W2 = t("el-row"), Z2 = t("el-checkbox-group");
|
|
202
|
-
return d(), n("div", null, [i("div", null, [a2[19] || (a2[19] = r(" 是否启用")), p(u2, { modelValue: e2.configure.props.base.isEnableGroupHeader, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.base.isEnableGroupHeader = l3), onChange: le }, null, 8, ["modelValue"]), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 0, style: { "margin-left": "10px" }, type: "primary", onClick: ue }, { default: v(() => a2[17] || (a2[17] = [r("重置")])), _: 1 })) : o("", true), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 1, type: "primary", onClick: a2[1] || (a2[1] = (e3) => (P.value = {}, void (B.value = true))) }, { default: v(() => a2[18] || (a2[18] = [r("添加顶级菜单")])), _: 1 })) : o("", true)]), e2.configure.props.base.isEnableGroupHeader ? (d(), n("div", E, [i("div", L, [p(O2, { modelValue: J.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => J.value = e3), placeholder: "Search...", clearable: "", class: "input-with-select", onInput: he }, null, 8, ["modelValue"])]), p(T2, { ref_key: "groupTreeRef", ref: ee, style: { "max-width": "600px" }, data: z.value, draggable: !Q.value, props: { isLeaf: "isLeaf", children: "children", label: "titleText" }, "node-key": "uuid", onNodeClick: re, onNodeContextmenu: pe, onNodeDrop: ke, onNodeDragStart: xe, "allow-drop": Ue }, { default: v(({ data: e3 }) => [Q.value && e3.fullPath ? (d(), n("span", G, f(e3.fullPath), 1)) : (d(), n("span", $, f(e3.titleText), 1))]), _: 1 }, 8, ["data", "draggable"]), c(i("div", null, [K.value.data ? (d(), n("ul", R, [K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 0, id: "menu-4994-1-0", class: "menu__item", tabindex: "-1", onClick: a2[3] || (a2[3] = () => se("createCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(b))]), _: 1 }), a2[20] || (a2[20] = r(" 创建节点 "))])), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 1, id: "menu-4994-1-1", class: "menu__item", tabindex: "-1", onClick: a2[4] || (a2[4] = () => se("updateCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(x))]), _: 1 }), a2[21] || (a2[21] = r(" 修改节点 "))])), K.value.data.parentUuid && !ve.value ? (d(), n("li", { key: 2, id: "menu-4994-1-3", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[5] || (a2[5] = () => se("moveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[22] || (a2[22] = r(" 移至根节点 "))])) : o("", true), K.value.isLeaf || K.value.isTheLeaf || K.value.data.columnUuid || ve.value ? o("", true) : (d(), n("li", { key: 3, id: "menu-4994-1-4", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[6] || (a2[6] = () => se("childMoveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[23] || (a2[23] = r(" 子节点移至根节点 "))])), ve.value ? o("", true) : (d(), n("li", { key: 4, id: "menu-4994-1-5", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[7] || (a2[7] = () => se("mobileNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[24] || (a2[24] = r(" 移动节点 "))])), ve.value ? (d(), n("li", S, [p(V2, { props: { value: "uuid", label: "titleText", children: "children", checkStrictly: true }, modelValue: ce.value, "onUpdate:modelValue": a2[8] || (a2[8] = (e3) => ce.value = e3), options: ae.value, onVisibleChange: fe }, null, 8, ["modelValue", "options"])])) : o("", true), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 6, id: "menu-4994-1-7", class: "menu__item", tabindex: "-1", onClick: a2[9] || (a2[9] = () => se("deleteNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[25] || (a2[25] = r(" 删除节点 "))]))], 512)) : o("", true)], 512), [[y, I.value]]), B.value ? (d(), s(N2, { key: 0, "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": a2[13] || (a2[13] = (e3) => B.value = e3), title: "组合表头", width: "500" }, { footer: v(() => [i("div", D, [p(k2, { type: "default", onClick: a2[12] || (a2[12] = (e3) => B.value = false) }, { default: v(() => a2[26] || (a2[26] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: ne }, { default: v(() => a2[27] || (a2[27] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [p(w2, { ref_key: "formRef", ref: q, model: P.value, "label-width": "auto", style: { "max-width": "600px" } }, { default: v(() => [p(H2, { label: "名称", required: "" }, { default: v(() => [p(O2, { modelValue: P.value.titleText, "onUpdate:modelValue": a2[10] || (a2[10] = (e3) => P.value.titleText = e3), disabled: oe() }, null, 8, ["modelValue", "disabled"])]), _: 1 }), p(H2, { label: "显示顺序" }, { default: v(() => [p(O2, { modelValue: P.value.displayOrder, "onUpdate:modelValue": a2[11] || (a2[11] = (e3) => P.value.displayOrder = e3), modelModifiers: { number: true } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["modelValue"])) : o("", true), Y.value ? (d(), s(N2, { key: 1, "append-to-body": "", modelValue: Y.value, "onUpdate:modelValue": a2[16] || (a2[16] = (e3) => Y.value = e3), title: "请选择字段", width: "500" }, { footer: v(() => [i("div", j, [p(k2, { type: "default", onClick: a2[15] || (a2[15] = (e3) => Y.value = false) }, { default: v(() => a2[28] || (a2[28] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: me }, { default: v(() => a2[29] || (a2[29] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [a2[30] || (a2[30] = r('段" width="500">段" width="500"> ')), p(Z2, { modelValue: A.value, "onUpdate:modelValue": a2[14] || (a2[14] = (e3) => A.value = e3) }, { default: v(() => [p(W2, null, { default: v(() => [(d(true), n(g, null, h(X.value, (e3) => (d(), s(F2, { span: 6, key: e3.uuid }, { default: v(() => [p(M3, { label: e3.props.base.name, value: e3.uuid }, null, 8, ["label", "value"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : o("", true)])) : o("", true)]);
|
|
202
|
+
return d(), n("div", null, [i("div", null, [a2[19] || (a2[19] = r(" 是否启用", -1)), p(u2, { modelValue: e2.configure.props.base.isEnableGroupHeader, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.base.isEnableGroupHeader = l3), onChange: le }, null, 8, ["modelValue"]), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 0, style: { "margin-left": "10px" }, type: "primary", onClick: ue }, { default: v(() => [...a2[17] || (a2[17] = [r("重置", -1)])]), _: 1 })) : o("", true), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 1, type: "primary", onClick: a2[1] || (a2[1] = (e3) => (P.value = {}, void (B.value = true))) }, { default: v(() => [...a2[18] || (a2[18] = [r("添加顶级菜单", -1)])]), _: 1 })) : o("", true)]), e2.configure.props.base.isEnableGroupHeader ? (d(), n("div", E, [i("div", L, [p(O2, { modelValue: J.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => J.value = e3), placeholder: "Search...", clearable: "", class: "input-with-select", onInput: he }, null, 8, ["modelValue"])]), p(T2, { ref_key: "groupTreeRef", ref: ee, style: { "max-width": "600px" }, data: z.value, draggable: !Q.value, props: { isLeaf: "isLeaf", children: "children", label: "titleText" }, "node-key": "uuid", onNodeClick: re, onNodeContextmenu: pe, onNodeDrop: ke, onNodeDragStart: xe, "allow-drop": Ue }, { default: v(({ data: e3 }) => [Q.value && e3.fullPath ? (d(), n("span", G, f(e3.fullPath), 1)) : (d(), n("span", $, f(e3.titleText), 1))]), _: 1 }, 8, ["data", "draggable"]), c(i("div", null, [K.value.data ? (d(), n("ul", R, [K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 0, id: "menu-4994-1-0", class: "menu__item", tabindex: "-1", onClick: a2[3] || (a2[3] = () => se("createCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(b))]), _: 1 }), a2[20] || (a2[20] = r(" 创建节点 ", -1))])), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 1, id: "menu-4994-1-1", class: "menu__item", tabindex: "-1", onClick: a2[4] || (a2[4] = () => se("updateCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(x))]), _: 1 }), a2[21] || (a2[21] = r(" 修改节点 ", -1))])), K.value.data.parentUuid && !ve.value ? (d(), n("li", { key: 2, id: "menu-4994-1-3", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[5] || (a2[5] = () => se("moveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[22] || (a2[22] = r(" 移至根节点 ", -1))])) : o("", true), K.value.isLeaf || K.value.isTheLeaf || K.value.data.columnUuid || ve.value ? o("", true) : (d(), n("li", { key: 3, id: "menu-4994-1-4", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[6] || (a2[6] = () => se("childMoveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[23] || (a2[23] = r(" 子节点移至根节点 ", -1))])), ve.value ? o("", true) : (d(), n("li", { key: 4, id: "menu-4994-1-5", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[7] || (a2[7] = () => se("mobileNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[24] || (a2[24] = r(" 移动节点 ", -1))])), ve.value ? (d(), n("li", S, [p(V2, { props: { value: "uuid", label: "titleText", children: "children", checkStrictly: true }, modelValue: ce.value, "onUpdate:modelValue": a2[8] || (a2[8] = (e3) => ce.value = e3), options: ae.value, onVisibleChange: fe }, null, 8, ["modelValue", "options"])])) : o("", true), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 6, id: "menu-4994-1-7", class: "menu__item", tabindex: "-1", onClick: a2[9] || (a2[9] = () => se("deleteNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[25] || (a2[25] = r(" 删除节点 ", -1))]))], 512)) : o("", true)], 512), [[y, I.value]]), B.value ? (d(), s(N2, { key: 0, "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": a2[13] || (a2[13] = (e3) => B.value = e3), title: "组合表头", width: "500" }, { footer: v(() => [i("div", D, [p(k2, { type: "default", onClick: a2[12] || (a2[12] = (e3) => B.value = false) }, { default: v(() => [...a2[26] || (a2[26] = [r("取消", -1)])]), _: 1 }), p(k2, { type: "primary", onClick: ne }, { default: v(() => [...a2[27] || (a2[27] = [r(" 确认 ", -1)])]), _: 1 })])]), default: v(() => [p(w2, { ref_key: "formRef", ref: q, model: P.value, "label-width": "auto", style: { "max-width": "600px" } }, { default: v(() => [p(H2, { label: "名称", required: "" }, { default: v(() => [p(O2, { modelValue: P.value.titleText, "onUpdate:modelValue": a2[10] || (a2[10] = (e3) => P.value.titleText = e3), disabled: oe() }, null, 8, ["modelValue", "disabled"])]), _: 1 }), p(H2, { label: "显示顺序" }, { default: v(() => [p(O2, { modelValue: P.value.displayOrder, "onUpdate:modelValue": a2[11] || (a2[11] = (e3) => P.value.displayOrder = e3), modelModifiers: { number: true } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["modelValue"])) : o("", true), Y.value ? (d(), s(N2, { key: 1, "append-to-body": "", modelValue: Y.value, "onUpdate:modelValue": a2[16] || (a2[16] = (e3) => Y.value = e3), title: "请选择字段", width: "500" }, { footer: v(() => [i("div", j, [p(k2, { type: "default", onClick: a2[15] || (a2[15] = (e3) => Y.value = false) }, { default: v(() => [...a2[28] || (a2[28] = [r("取消", -1)])]), _: 1 }), p(k2, { type: "primary", onClick: me }, { default: v(() => [...a2[29] || (a2[29] = [r(" 确认 ", -1)])]), _: 1 })])]), default: v(() => [a2[30] || (a2[30] = r('段" width="500">段" width="500"> ', -1)), p(Z2, { modelValue: A.value, "onUpdate:modelValue": a2[14] || (a2[14] = (e3) => A.value = e3) }, { default: v(() => [p(W2, null, { default: v(() => [(d(true), n(g, null, h(X.value, (e3) => (d(), s(F2, { span: 6, key: e3.uuid }, { default: v(() => [p(M3, { label: e3.props.base.name, value: e3.uuid }, null, 8, ["label", "value"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : o("", true)])) : o("", true)]);
|
|
203
203
|
};
|
|
204
204
|
} });
|
|
205
205
|
export {
|