super-page-designer 2.3.20-sit2-design1 → 2.3.22-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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as
|
|
1
|
+
import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as l, resolveComponent as t, createElementBlock as r, openBlock as u, createVNode as s, createElementVNode as a, withDirectives as c, normalizeStyle as d, normalizeClass as p, withCtx as g, Fragment as m, renderList as f, createBlock as b, createCommentVNode as v, createTextVNode as y, unref as h, vShow as C } from "vue";
|
|
2
2
|
import j from "../../../../utils/eventBus.js";
|
|
3
3
|
import { useDraggable as x } from "vue-draggable-plus";
|
|
4
4
|
import { caculateComponentProps as D } from "../../../../utils/form-design-util.js";
|
|
@@ -37,9 +37,9 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
|
|
|
37
37
|
M(G.configure);
|
|
38
38
|
}), j.$on("setHiddenColumsUuid", (e3) => {
|
|
39
39
|
e3.value ? U.value = U.value.filter((o2) => o2 != e3.uuid) : U.value.push(e3.uuid);
|
|
40
|
-
}),
|
|
40
|
+
}), l(G.configure.style, () => {
|
|
41
41
|
G.configure.runtime.style = G.configure.style;
|
|
42
|
-
}, { immediate: true }),
|
|
42
|
+
}, { immediate: true }), l(G.configure.props, () => {
|
|
43
43
|
D(G.configure, P), function() {
|
|
44
44
|
let e3 = G.configure.props;
|
|
45
45
|
if (!e3.base) return;
|
|
@@ -49,13 +49,13 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
|
|
|
49
49
|
const e3 = W(G.configure, null);
|
|
50
50
|
G.configure.runtime.dataConfig = e3;
|
|
51
51
|
}();
|
|
52
|
-
}, { immediate: true }),
|
|
52
|
+
}, { immediate: true }), l(G.configure.items, (e3) => {
|
|
53
53
|
X.addFieldList(e3), G.configure.runtime.items = G.configure.items;
|
|
54
|
-
}, { immediate: true }),
|
|
54
|
+
}, { immediate: true }), l(() => G.configure.props.isChangeGroupHeader, () => {
|
|
55
55
|
G.configure.props.isChangeGroupHeader && (q.value = E(G.configure), K.value && K.value.doLayout());
|
|
56
56
|
}), j.$on("reloadTable-" + G.configure.uuid, (e3) => {
|
|
57
57
|
e3 && (G.configure.items = e3, q.value = E(G.configure)), K.value && K.value.doLayout();
|
|
58
|
-
}),
|
|
58
|
+
}), l(() => q.value, (e3) => {
|
|
59
59
|
e3.forEach((e4) => {
|
|
60
60
|
e4.props && e4.props.base && !e4.props.base.visible && U.value.push(e4.uuid);
|
|
61
61
|
});
|
|
@@ -70,8 +70,8 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
|
|
|
70
70
|
(o2 || window.event).preventDefault(), n2 = e3, G.configure.items.forEach((e4, o3) => {
|
|
71
71
|
e4.props.base.name == n2.label && (oe.value = e4, ne.value = o3);
|
|
72
72
|
}), R.value = true;
|
|
73
|
-
const i2 = document.querySelector("#tableDesignMenu"),
|
|
74
|
-
i2.style.display = "block", i2.style.left = o2.clientX + 30 + "px", i2.style.top = o2.clientY +
|
|
73
|
+
const i2 = document.querySelector("#tableDesignMenu"), l2 = document.documentElement.scrollTop || document.body.scrollTop;
|
|
74
|
+
i2.style.display = "block", i2.style.left = o2.clientX + 30 + "px", i2.style.top = o2.clientY + l2 - 22 + "px";
|
|
75
75
|
}
|
|
76
76
|
function Z() {
|
|
77
77
|
R.value = false;
|
|
@@ -85,7 +85,7 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
|
|
|
85
85
|
e5.props.base.displayOrder && e5.props.base.displayOrder == o3 || (e5.props.base.displayOrder = o3);
|
|
86
86
|
}), G.configure.props.base.isEnableGroupHeader && (w(G.configure.items[ne.value + 1], null, G.configure.props.groupHeaders), q.value = E(G.configure), j.$emit("synchroGroupHeadersData"));
|
|
87
87
|
} else "deleteNode" === e3 && S.confirm("当前操作会删除当前列", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
88
|
-
G.configure.items.splice(ne.value, 1);
|
|
88
|
+
G.configure.props, oe.value, G.configure.items.splice(ne.value, 1);
|
|
89
89
|
}).catch(() => {
|
|
90
90
|
});
|
|
91
91
|
}
|
|
@@ -93,19 +93,19 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
|
|
|
93
93
|
function ie(e3) {
|
|
94
94
|
oe.value = e3;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
|
|
96
|
+
function le(e3, o2, n2, i2) {
|
|
97
|
+
te(q.value, n2.columnKey).props.base.columnWidth = e3;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function te(e3, o2) {
|
|
100
100
|
let n2 = {};
|
|
101
101
|
return e3.forEach((e4) => {
|
|
102
102
|
if (e4.uuid && e4.uuid === o2) return n2 = e4;
|
|
103
|
-
e4.children && e4.children.length > 0 && (n2 =
|
|
103
|
+
e4.children && e4.children.length > 0 && (n2 = te(e4.children, o2));
|
|
104
104
|
}), n2;
|
|
105
105
|
}
|
|
106
106
|
function re({ row: e3, column: o2, rowIndex: n2, columnIndex: i2 }) {
|
|
107
|
-
let
|
|
108
|
-
return U.value.includes(o2.label) && (
|
|
107
|
+
let l2 = "";
|
|
108
|
+
return U.value.includes(o2.label) && (l2 = "hiddenBorder"), o2.label === z.value && (l2 = "addBorder"), l2;
|
|
109
109
|
}
|
|
110
110
|
function ue(e3) {
|
|
111
111
|
z.value = e3.uuid;
|
|
@@ -117,9 +117,9 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
|
|
|
117
117
|
for (var n2 = document.getElementsByClassName(o2.id), i2 = 0; i2 < n2.length; i2++) n2[i2].style.backgroundColor = "";
|
|
118
118
|
}
|
|
119
119
|
return x(".el-table__header-wrapper tr", G.configure.items, { animation: 150, ghostClass: "ghost", onStart(e3) {
|
|
120
|
-
} }), (
|
|
121
|
-
const
|
|
122
|
-
return u(), r("div", null, [s(
|
|
120
|
+
} }), (o2, n2) => {
|
|
121
|
+
const i2 = t("el-table"), l2 = t("el-icon");
|
|
122
|
+
return u(), r("div", null, [s(i2, { ref_key: "tableRef", ref: K, "cell-class-name": re, "header-cell-class-name": re, border: "", class: p(I.value), data: A.value, onHeaderDragend: le, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: se, onCellMouseLeave: ae, style: d(V.value) }, { default: g(() => [(u(true), r(m, null, f(q.value, (o3) => (u(), b(_, { key: o3, listColumns: o3, designProperty: P.value, configure: e2.configure, pageDesign: e2.pageDesign, indexObj: e2.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: ie, onCloseMenuVisible: Z, selectWidget: e2.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), a("div", { onClick: J, style: { width: "100%", height: "30px" } }), c(a("div", null, [a("ul", N, [a("li", { tabindex: "-1", onClick: n2[0] || (n2[0] = () => ee("createCombinedHeader")) }, [s(l2, null, { default: g(() => [s(h(k))]), _: 1 }), n2[2] || (n2[2] = y(" 创建 ", -1))]), oe.value.props && oe.value.props.base && "$selection" !== oe.value.props.base.prop && "$index" !== oe.value.props.base.prop ? (u(), r("li", { key: 0, tabindex: "-1", onClick: n2[1] || (n2[1] = () => ee("deleteNode")) }, [s(l2, null, { default: g(() => [s(h(H))]), _: 1 }), n2[3] || (n2[3] = y(" 删除 ", -1))])) : v("", true)], 512)], 512), [[C, R.value]])]);
|
|
123
123
|
};
|
|
124
124
|
} });
|
|
125
125
|
export {
|
package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js
CHANGED
|
@@ -56,20 +56,20 @@ const v = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
|
|
|
56
56
|
}
|
|
57
57
|
return (l2, w2) => {
|
|
58
58
|
const g2 = a("el-button"), y2 = a("el-text"), T3 = a("el-row"), V2 = a("Top"), k2 = a("el-icon"), C2 = a("Bottom"), N2 = a("el-table-column"), B2 = a("el-option"), I = a("el-select"), E = a("el-table"), M = a("el-dialog");
|
|
59
|
-
return t(), o(r, null, [u("div", null, [d(g2, { type: "primary", onClick: j }, { default: p(() => w2[1] || (w2[1] = [i("编辑")])), _: 1 }), n(d(y2, { type: "success" }, { default: p(() => w2[2] || (w2[2] = [i(" 已设置条件.")])), _: 1 }, 512), [[c, s(h) && s(h).length > 0]])]), d(M, { "append-to-body": "", modelValue: U.value, "onUpdate:modelValue": w2[0] || (w2[0] = (e3) => U.value = e3), title: e2.title, width: "900" }, { default: p(() => [d(T3, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(g2, { icon: s(b), plain: "", type: "primary", onClick: O }, { default: p(() => w2[3] || (w2[3] = [i(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(E, { border: "", "highlight-current-row": "", onCurrentChange: L, "current-row-key": "uuid", "row-key": "uuid", data: s(h), style: { width: "100%" } }, { default: p(() => [d(N2, { label: "", width: "50" }, { default: p((e3) => [u("div", v, [d(k2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
59
|
+
return t(), o(r, null, [u("div", null, [d(g2, { type: "primary", onClick: j }, { default: p(() => [...w2[1] || (w2[1] = [i("编辑", -1)])]), _: 1 }), n(d(y2, { type: "success" }, { default: p(() => [...w2[2] || (w2[2] = [i(" 已设置条件.", -1)])]), _: 1 }, 512), [[c, s(h) && s(h).length > 0]])]), d(M, { "append-to-body": "", modelValue: U.value, "onUpdate:modelValue": w2[0] || (w2[0] = (e3) => U.value = e3), title: e2.title, width: "900" }, { default: p(() => [d(T3, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(g2, { icon: s(b), plain: "", type: "primary", onClick: O }, { default: p(() => [...w2[3] || (w2[3] = [i(" 添加 ", -1)])]), _: 1 }, 8, ["icon"])]), _: 1 }), d(E, { border: "", "highlight-current-row": "", onCurrentChange: L, "current-row-key": "uuid", "row-key": "uuid", data: s(h), style: { width: "100%" } }, { default: p(() => [d(N2, { label: "", width: "50" }, { default: p((e3) => [u("div", v, [d(k2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
60
60
|
let l4 = x(e4);
|
|
61
61
|
if (l4 < 1) return;
|
|
62
62
|
const a2 = h;
|
|
63
63
|
[a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]];
|
|
64
|
-
}(e3.row) }, { default: p(() => [d(V2)]), _:
|
|
64
|
+
}(e3.row) }, { default: p(() => [d(V2)]), _: 1 }, 8, ["onClick"]), d(k2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
65
65
|
let l4 = x(e4);
|
|
66
66
|
if (-1 == l4 || h.length == l4 + 1) return;
|
|
67
67
|
const a2 = h;
|
|
68
68
|
[a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]];
|
|
69
|
-
}(e3.row) }, { default: p(() => [d(C2)]), _:
|
|
69
|
+
}(e3.row) }, { default: p(() => [d(C2)]), _: 1 }, 8, ["onClick"])])]), _: 1 }), d(N2, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [d(I, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(B2, { label: "", value: "" }), d(B2, { label: "(", value: "(" }), d(B2, { label: "((", value: "((" }), d(B2, { label: "(((", value: "(((" }), d(B2, { label: "((((", value: "((((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(N2, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((e3) => [d(m, { modelValue: e3.row.propName, objModelOptions: _.value, "onUpdate:modelValue": (l3) => S(l3, e3.row, "propName") }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), d(N2, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [d(I, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(d(B2, { label: "大于", value: "GT" }, null, 512), [[c, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), n(d(B2, { label: "小于", value: "LT" }, null, 512), [[c, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), n(d(B2, { label: "晚于", value: "GT" }, null, 512), [[c, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), n(d(B2, { label: "早于", value: "LT" }, null, 512), [[c, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), d(B2, { label: "等于", value: "EQ" }), n(d(B2, { label: "不大于", value: "LET" }, null, 512), [[c, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), n(d(B2, { label: "不小于", value: "GET" }, null, 512), [[c, "int" == e3.row.dataType || "long" == e3.row.dataType || "float" == e3.row.dataType || "double" == e3.row.dataType]]), n(d(B2, { label: "不晚于", value: "LET" }, null, 512), [[c, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), n(d(B2, { label: "不早于", value: "GET" }, null, 512), [[c, "date" == e3.row.dataType || "datetime" == e3.row.dataType]]), d(B2, { label: "不等于", value: "NET" }), d(B2, { label: "包含", value: "CONTAIN" }), d(B2, { label: "不包含", value: "NOT_CONTAIN" }), d(B2, { label: "等于Null", value: "IS_NULL" }), d(B2, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(N2, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((e3) => [d(m, { modelValue: e3.row.propValue, objModelOptions: _.value, "onUpdate:modelValue": (l3) => S(l3, e3.row, "propValue") }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), d(N2, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [d(I, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [d(B2, { label: "", value: "" }), d(B2, { label: ")", value: ")" }), d(B2, { label: "))", value: "))" }), d(B2, { label: ")))", value: ")))" }), d(B2, { label: "))))", value: "))))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(N2, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [d(I, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(B2, { label: "或者", value: "or" }), d(B2, { label: "并且", value: "and" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(N2, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: p((e3) => [d(I, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(B2, { label: "Null", value: "null" }), d(B2, { label: "忽略(1=1)", value: "ignore" }), d(B2, { label: "不符合(1<>1)", value: "notequal" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(N2, { label: "操作", width: "60" }, { default: p((e3) => [d(k2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => O(e3.row) }, { default: p(() => [d(s(b))]), _: 1 }, 8, ["onClick"]), d(k2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
70
70
|
let l4 = x(e4);
|
|
71
71
|
l4 > -1 && h.splice(l4, 1);
|
|
72
|
-
}(e3.row) }, { default: p(() => [d(s(f))]), _:
|
|
72
|
+
}(e3.row) }, { default: p(() => [d(s(f))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
|
|
73
73
|
};
|
|
74
74
|
} });
|
|
75
75
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as r, createBlock as t, openBlock as l, withCtx as a, createElementVNode as o, createVNode as u, createTextVNode as d } from "vue";
|
|
2
2
|
const s = { style: { padding: "8px 0px 0px 0px" } }, p = e({ __name: "common-attr-cursor", props: { configure: { type: Object, required: true } }, setup: (e2) => (p2, c) => {
|
|
3
3
|
const i = r("el-radio"), n = r("el-radio-group"), m = r("el-collapse-item");
|
|
4
|
-
return l(), t(m, { title: "鼠标手势", name: "cursor", class: "amb-design-attr-group-header" }, { default: a(() => [o("div", s, [u(n, { modelValue: e2.configure.style.cursor, "onUpdate:modelValue": c[0] || (c[0] = (r2) => e2.configure.style.cursor = r2), class: "ml-4" }, { default: a(() => [u(i, { value: "default" }, { default: a(() => c[1] || (c[1] = [d("Default")])), _: 1 }), u(i, { value: "pointer" }, { default: a(() => c[2] || (c[2] = [d("Pointer")])), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 });
|
|
4
|
+
return l(), t(m, { title: "鼠标手势", name: "cursor", class: "amb-design-attr-group-header" }, { default: a(() => [o("div", s, [u(n, { modelValue: e2.configure.style.cursor, "onUpdate:modelValue": c[0] || (c[0] = (r2) => e2.configure.style.cursor = r2), class: "ml-4" }, { default: a(() => [u(i, { value: "default" }, { default: a(() => [...c[1] || (c[1] = [d("Default", -1)])]), _: 1 }), u(i, { value: "pointer" }, { default: a(() => [...c[2] || (c[2] = [d("Pointer", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
p as default
|
|
@@ -17,7 +17,7 @@ const g = { style: { padding: "8px 0px 0px 0px" } }, h = e({ __name: "common-att
|
|
|
17
17
|
});
|
|
18
18
|
return (l2, f2) => {
|
|
19
19
|
const c2 = a("el-radio-button"), h3 = a("el-radio-group"), v2 = a("el-form-item"), V2 = a("el-option"), y = a("el-select"), _ = a("el-input"), H = a("el-switch"), C = a("el-input-number"), w = a("el-collapse-item");
|
|
20
|
-
return i(), t(w, { title: "尺寸", name: "attrSize", class: "amb-design-attr-group-header" }, { default: d(() => [u("div", g, [o(v2, { label: "宽度", class: "amb-design-attr-item" }, { default: d(() => [o(h3, { modelValue: x.value.widthType, "onUpdate:modelValue": f2[0] || (f2[0] = (e3) => x.value.widthType = e3) }, { default: d(() => [o(c2, { value: "flex" }, { default: d(() => f2[7] || (f2[7] = [m("24格")])), _: 1 }), o(c2, { value: "fix" }, { default: d(() => f2[8] || (f2[8] = [m("自定义")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fix" != x.value.widthType ? (i(), t(v2, { key: 0, class: "amb-design-attr-item", label: "栏数" }, { default: d(() => [o(y, { modelValue: x.value.flexSpan, "onUpdate:modelValue": f2[1] || (f2[1] = (e3) => x.value.flexSpan = e3), placeholder: "默认", clearable: "" }, { default: d(() => [(i(), n(p, null, r(b, (e3) => o(V2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "fix" == x.value.widthType ? (i(), t(v2, { key: 1, class: "amb-design-attr-item", label: "宽度", title: "未设置时自动宽度,可设置百分比" }, { default: d(() => [o(_, { modelValue: x.value.fixWidth, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => x.value.fixWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.showCalcHeight ? (i(), t(v2, { key: 2, class: "amb-design-attr-item", label: "高度自适应" }, { default: d(() => [o(H, { modelValue: x.value.isCalcHeight, "onUpdate:modelValue": f2[3] || (f2[3] = (e3) => x.value.isCalcHeight = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), o(v2, { label: "高度", class: "amb-design-attr-item", title: "未设置时自动高度,可设置百分比" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.fixHeight, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => x.value.fixHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), o(v2, { label: "最大高度", title: "未设置时自动高度,可设置百分比", class: "amb-design-attr-item" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.maxHeight, "onUpdate:modelValue": f2[5] || (f2[5] = (e3) => x.value.maxHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), e2.isHeightOffset ? (i(), t(v2, { key: 3, label: "高度偏移", title: "一般用于台账自适应高度偏差", class: "amb-design-attr-item" }, { default: d(() => [o(C, { modelValue: x.value.heightOffset, "onUpdate:modelValue": f2[6] || (f2[6] = (e3) => x.value.heightOffset = e3), "controls-position": "right" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true)])]), _: 1 });
|
|
20
|
+
return i(), t(w, { title: "尺寸", name: "attrSize", class: "amb-design-attr-group-header" }, { default: d(() => [u("div", g, [o(v2, { label: "宽度", class: "amb-design-attr-item" }, { default: d(() => [o(h3, { modelValue: x.value.widthType, "onUpdate:modelValue": f2[0] || (f2[0] = (e3) => x.value.widthType = e3) }, { default: d(() => [o(c2, { value: "flex" }, { default: d(() => [...f2[7] || (f2[7] = [m("24格", -1)])]), _: 1 }), o(c2, { value: "fix" }, { default: d(() => [...f2[8] || (f2[8] = [m("自定义", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fix" != x.value.widthType ? (i(), t(v2, { key: 0, class: "amb-design-attr-item", label: "栏数" }, { default: d(() => [o(y, { modelValue: x.value.flexSpan, "onUpdate:modelValue": f2[1] || (f2[1] = (e3) => x.value.flexSpan = e3), placeholder: "默认", clearable: "" }, { default: d(() => [(i(), n(p, null, r(b, (e3) => o(V2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "fix" == x.value.widthType ? (i(), t(v2, { key: 1, class: "amb-design-attr-item", label: "宽度", title: "未设置时自动宽度,可设置百分比" }, { default: d(() => [o(_, { modelValue: x.value.fixWidth, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => x.value.fixWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.showCalcHeight ? (i(), t(v2, { key: 2, class: "amb-design-attr-item", label: "高度自适应" }, { default: d(() => [o(H, { modelValue: x.value.isCalcHeight, "onUpdate:modelValue": f2[3] || (f2[3] = (e3) => x.value.isCalcHeight = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), o(v2, { label: "高度", class: "amb-design-attr-item", title: "未设置时自动高度,可设置百分比" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.fixHeight, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => x.value.fixHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), o(v2, { label: "最大高度", title: "未设置时自动高度,可设置百分比", class: "amb-design-attr-item" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.maxHeight, "onUpdate:modelValue": f2[5] || (f2[5] = (e3) => x.value.maxHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), e2.isHeightOffset ? (i(), t(v2, { key: 3, label: "高度偏移", title: "一般用于台账自适应高度偏差", class: "amb-design-attr-item" }, { default: d(() => [o(C, { modelValue: x.value.heightOffset, "onUpdate:modelValue": f2[6] || (f2[6] = (e3) => x.value.heightOffset = e3), "controls-position": "right" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true)])]), _: 1 });
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -19,7 +19,7 @@ const b = { class: "bind-variable-item" }, g = e({ __name: "common-bind-default-
|
|
|
19
19
|
V.value[l4] = e4, R();
|
|
20
20
|
}(e3, a2) }, null, 8, ["isTable", "isRange", "placeholder", "modelValue", "onUpdate:modelValue"])), t(k, { onClick: (e3) => function(e4) {
|
|
21
21
|
V.value.splice(e4, 1), R();
|
|
22
|
-
}(a2) }, { default: s(() => [t(p(m))]), _:
|
|
22
|
+
}(a2) }, { default: s(() => [t(p(m))]), _: 1 }, 8, ["onClick"])]))), 128))], 64);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, computed as
|
|
1
|
+
import { defineComponent as e, ref as l, computed as o, resolveComponent as a, resolveDirective as n, createElementBlock as t, createBlock as u, openBlock as i, toDisplayString as c, withCtx as s, createVNode as p, withDirectives as r, unref as v, createElementVNode as m, Fragment as d, renderList as f, normalizeClass as g, vShow as b, createCommentVNode as y, createTextVNode as h, withModifiers as w, nextTick as _ } from "vue";
|
|
2
2
|
import { Close as k, Check as I, Search as x, Plus as C, InfoFilled as A, CircleClose as $ } from "@element-plus/icons-vue";
|
|
3
3
|
import * as V from "@element-plus/icons";
|
|
4
4
|
import P from "agilebuilder-ui/src/utils/request";
|
|
@@ -9,23 +9,24 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
|
|
|
9
9
|
l(false);
|
|
10
10
|
const K = l(1), M = l(B.iconType ?? ((_b = (_a = J.value) == null ? void 0 : _a[0]) == null ? void 0 : _b.value)), Q = l("");
|
|
11
11
|
Q.value = B.iconValue;
|
|
12
|
-
const X = l({}), Y = l(""), Z = l(), ee = l(), le = l(false),
|
|
13
|
-
let e3 =
|
|
12
|
+
const X = l({}), Y = l(""), Z = l(), ee = l(), le = l(false), oe = o(() => ["ElementUI"].includes(M.value) ? F.value : ["ambIcon"].includes(M.value) ? G.value : ["ambColorIcon"].includes(M.value) ? W.value : H.value), ae = o(() => {
|
|
13
|
+
let e3 = oe.value ?? [];
|
|
14
14
|
return Y.value && (e3 = e3.filter((e4) => [e4.label ?? "", e4.value ?? ""].some((e5) => {
|
|
15
15
|
var _a2;
|
|
16
16
|
return (_a2 = e5.toLowerCase()) == null ? void 0 : _a2.includes(Y.value.toLowerCase());
|
|
17
17
|
}))), e3.slice(0, 50 * K.value);
|
|
18
18
|
}), ne = () => {
|
|
19
|
-
|
|
19
|
+
ae.value.length > 0 && !le.value && oe.value.length > ae.value.length && !Y.value && K.value++;
|
|
20
20
|
};
|
|
21
21
|
const te = async () => {
|
|
22
22
|
if (!(H.value.length > 0)) {
|
|
23
23
|
try {
|
|
24
24
|
le.value = true;
|
|
25
|
-
const e3 = await P.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", { pageSize: 200, pageNo: 1 }), l2 = (e3 == null ? void 0 : e3.data) ?? [],
|
|
26
|
-
for (let e4 of l2)
|
|
27
|
-
X.value.customOptions =
|
|
25
|
+
const e3 = await P.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", { pageSize: 200, pageNo: 1 }), l2 = (e3 == null ? void 0 : e3.data) ?? [], o2 = [];
|
|
26
|
+
for (let e4 of l2) o2.push({ value: e4.iconName, label: e4.iconName });
|
|
27
|
+
X.value.customOptions = o2, H.value = o2;
|
|
28
28
|
} catch (e3) {
|
|
29
|
+
console.error(e3);
|
|
29
30
|
}
|
|
30
31
|
le.value = false;
|
|
31
32
|
}
|
|
@@ -39,9 +40,10 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
|
|
|
39
40
|
le.value = true;
|
|
40
41
|
let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
|
|
41
42
|
((_c = (_b2 = (_a2 = window.$vueApp) == null ? void 0 : _a2.config) == null ? void 0 : _b2.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}/iconfont.json`);
|
|
42
|
-
const l3 = await fetch(e4, { mode: "cors" }).then((e5) => e5.json()), { css_prefix_text:
|
|
43
|
-
G.value =
|
|
43
|
+
const l3 = await fetch(e4, { mode: "cors" }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [] } = l3 ?? {};
|
|
44
|
+
G.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
|
|
44
45
|
} catch (e4) {
|
|
46
|
+
console.error(e4);
|
|
45
47
|
}
|
|
46
48
|
le.value = false;
|
|
47
49
|
}
|
|
@@ -52,9 +54,10 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
|
|
|
52
54
|
le.value = true;
|
|
53
55
|
let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
|
|
54
56
|
((_c = (_b2 = (_a2 = window.$vueApp) == null ? void 0 : _a2.config) == null ? void 0 : _b2.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}-color/iconfont.json`);
|
|
55
|
-
const l3 = await fetch(e4, { mode: "cors", headers: { "Content-Type": "application/json" } }).then((e5) => e5.json()), { css_prefix_text:
|
|
56
|
-
W.value =
|
|
57
|
+
const l3 = await fetch(e4, { mode: "cors", headers: { "Content-Type": "application/json" } }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [] } = l3 ?? {};
|
|
58
|
+
W.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
|
|
57
59
|
} catch (e4) {
|
|
60
|
+
console.error(e4);
|
|
58
61
|
}
|
|
59
62
|
le.value = false;
|
|
60
63
|
}
|
|
@@ -71,7 +74,7 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
|
|
|
71
74
|
if (Y.value = Y.value.trim(), !Y.value) return void z.warning("请输入图标名!");
|
|
72
75
|
const e3 = X.value.customOptions || [];
|
|
73
76
|
let l2 = false;
|
|
74
|
-
for (let
|
|
77
|
+
for (let o2 of e3) if (o2.value === Y.value) {
|
|
75
78
|
l2 = true;
|
|
76
79
|
break;
|
|
77
80
|
}
|
|
@@ -92,23 +95,23 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
|
|
|
92
95
|
function pe(e3) {
|
|
93
96
|
const l2 = e3.target.files[0];
|
|
94
97
|
if (!l2) return;
|
|
95
|
-
const
|
|
96
|
-
|
|
98
|
+
const o2 = new FormData();
|
|
99
|
+
o2.append("file", l2), o2.append("iconName", Y.value.trim()), P.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/upload-icon", o2, { headers: { "Content-Type": "multipart/form-data" } }).then((e4) => {
|
|
97
100
|
ee.value.value = "", z.success("上传成功!"), H.value.unshift({ value: Y.value.trim(), label: Y.value.trim() }), Y.value = "";
|
|
98
101
|
}).catch((e4) => {
|
|
99
102
|
z.warning("保存图标失败!");
|
|
100
103
|
});
|
|
101
104
|
}
|
|
102
|
-
function
|
|
105
|
+
function re() {
|
|
103
106
|
_(() => {
|
|
104
107
|
!function() {
|
|
105
108
|
if (!X.value.elementUIOptions) {
|
|
106
109
|
if (!window.temp_Icon_Options) {
|
|
107
110
|
const e3 = [];
|
|
108
|
-
for (const [l2,
|
|
111
|
+
for (const [l2, o2] of Object.entries(V)) e3.push({ value: l2, label: l2, component: o2 });
|
|
109
112
|
e3.sort(function(e4, l2) {
|
|
110
|
-
const
|
|
111
|
-
return
|
|
113
|
+
const o2 = e4.value, a2 = l2.value;
|
|
114
|
+
return o2.localeCompare(a2);
|
|
112
115
|
}), window.temp_Icon_Options = e3;
|
|
113
116
|
}
|
|
114
117
|
X.value.elementUIOptions = window.temp_Icon_Options;
|
|
@@ -116,12 +119,12 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
|
|
|
116
119
|
}(), ue(M.value);
|
|
117
120
|
});
|
|
118
121
|
}
|
|
119
|
-
return l(), (l2,
|
|
120
|
-
const _2 =
|
|
121
|
-
return e2.showLabel ? (i(), t("span", O, c(Q.value), 1)) : (i(), u(X2, { key: 1, ref_key: "popoverRef", ref: Z, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [p(V2, { readonly: "", size: e2.size, onClick:
|
|
122
|
-
return
|
|
123
|
-
var
|
|
124
|
-
} }, [p(W2, { iconType: M.value, iconValue: e3.value }, null, 8, ["iconType", "iconValue"])], 8, E)]), _: 2 }, 1032, ["content"]))), 128))])])), [[te2, ne]]) : y("", true), M.value ? (i(), t("div", q, [
|
|
122
|
+
return l(), (l2, o2) => {
|
|
123
|
+
const _2 = a("el-icon"), V2 = a("el-input"), P2 = a("el-button"), z2 = a("el-tooltip"), D3 = a("el-scrollbar"), B2 = a("el-col"), F2 = a("el-empty"), G2 = a("el-tag"), W2 = a("SuperIcon"), H2 = a("ArrowDown"), K2 = a("el-row"), X2 = a("el-popover"), te2 = n("infinite-scroll"), ve = n("loading");
|
|
124
|
+
return e2.showLabel ? (i(), t("span", O, c(Q.value), 1)) : (i(), u(X2, { key: 1, ref_key: "popoverRef", ref: Z, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [p(V2, { readonly: "", size: e2.size, onClick: re, modelValue: Q.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => Q.value = e3), placeholder: "请选择" }, { suffix: s(() => [r(p(_2, { style: { cursor: "pointer" }, onClick: w(ce, ["stop"]) }, { default: s(() => [p(v($))]), _: 1 }, 512), [[b, Q.value]])]), _: 1 }, 8, ["size", "modelValue"])]), default: s(() => [p(K2, null, { default: s(() => [p(z2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: s(() => [p(P2, { type: "text", class: "amb-component-popover-close-btn", icon: v(k), onClick: ie }, null, 8, ["icon"])]), _: 1 }), p(B2, { span: 8 }, { default: s(() => [m("div", U, [p(D3, { "max-height": "100%" }, { default: s(() => [(i(true), t(d, null, f(J.value, (e3) => (i(), t("div", { class: g(["amb-popover-menu-item", e3.value == M.value ? "is-active" : ""]), onClick: (l3) => ue(e3.value) }, [p(_2, null, { default: s(() => [r(p(v(I), null, null, 512), [[b, e3.value == M.value]])]), _: 2 }, 1024), m("span", null, c(e3.label), 1)], 10, j))), 256))]), _: 1 })])]), _: 1 }), r((i(), u(B2, { span: 16, style: { "padding-left": "10px" }, class: "amb-component-popover-icon-list-view" }, { default: s(() => [M.value ? y("", true) : (i(), u(F2, { key: 0, description: "请选择类型", "image-size": 80 })), M.value ? (i(), t("div", S, [p(V2, { modelValue: Y.value, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => Y.value = e3), placeholder: "搜索", size: "default", "prefix-icon": v(x), clearable: "", filterable: "", style: { flex: "1 1 auto" } }, null, 8, ["modelValue", "prefix-icon"]), ["custom"].includes(M.value) && Y.value && !ae.value.length ? (i(), u(z2, { key: 0, effect: "dark", content: "创建该图标", placement: "top-end" }, { default: s(() => [p(P2, { type: "primary", circle: "", icon: v(C), onClick: se }, null, 8, ["icon"])]), _: 1 })) : y("", true)])) : y("", true), m("input", { ref_key: "uplooadSvgInputRef", ref: ee, type: "file", accept: ".svg", style: { display: "none" }, onChange: pe }, null, 544), ["custom"].includes(M.value) ? (i(), t("div", T, [p(_2, null, { default: s(() => [p(v(A))]), _: 1 }), o2[5] || (o2[5] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), o2[6] || (o2[6] = h(" ", -1)), p(z2, null, { content: s(() => [...o2[3] || (o2[3] = [h(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; ", -1), m("br", null, null, -1), h(" 2.支持svg图标,需以svg-img-开头,接svg内容,如:svg-img-xxxxxx. ", -1)])]), default: s(() => [p(G2, { type: "primary" }, { default: s(() => [...o2[4] || (o2[4] = [h("更多", -1)])]), _: 1 })]), _: 1 })])) : y("", true), M.value ? r((i(), t("div", L, [ae.value.length || le.value ? y("", true) : (i(), u(F2, { key: 0, description: "没有相关图标", "image-size": 80 })), m("div", N, [(i(true), t(d, null, f(ae.value, (e3) => (i(), u(z2, { key: e3.value, effect: "dark", content: e3.label, placement: "top" }, { default: s(() => [m("div", { class: "amb-component-popover-icon-grid-item", onClick: (l3) => {
|
|
125
|
+
return o3 = e3, Q.value = o3.value, R("update:modelValue", M.value, Q.value), void Z.value.hide();
|
|
126
|
+
var o3;
|
|
127
|
+
} }, [p(W2, { iconType: M.value, iconValue: e3.value }, null, 8, ["iconType", "iconValue"])], 8, E)]), _: 2 }, 1032, ["content"]))), 128))])])), [[te2, ne]]) : y("", true), M.value ? (i(), t("div", q, [ae.value.length < oe.value.length ? (i(), u(_2, { key: 0, style: { "padding-left": "10px", "font-size": "20px" }, onClick: o2[2] || (o2[2] = (e3) => ne()) }, { default: s(() => [p(H2)]), _: 1 })) : y("", true), h(c(ae.value.length) + "/" + c(oe.value.length), 1)])) : y("", true)]), _: 1 })), [[ve, le.value]])]), _: 1 })]), _: 1 }, 512));
|
|
125
128
|
};
|
|
126
129
|
} });
|
|
127
130
|
export {
|
|
@@ -21,7 +21,7 @@ const v = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
21
21
|
null != B && e3.sorts.push({ prop: B.property, order: "ascending" == B.order ? "asc" : "desc" });
|
|
22
22
|
let l2 = I.systemId;
|
|
23
23
|
I.tableType && I.tableType;
|
|
24
|
-
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/
|
|
24
|
+
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/app-pages/listBySystem/" + (l2 || 0);
|
|
25
25
|
let a2 = { searchParam: e3, searchInfo: {} };
|
|
26
26
|
I.searchValue && (a2.searchInfo.name = I.searchValue), f.post(t2, a2).then((e4) => {
|
|
27
27
|
A.value = e4.data, k.currentPage = e4.page, k.pageSize = e4.size, k.total = e4.total;
|
|
@@ -47,7 +47,7 @@ const v = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
47
47
|
}, 100));
|
|
48
48
|
} }), (e3, l2) => {
|
|
49
49
|
const t2 = o("el-option"), a2 = o("el-select"), f2 = o("el-input"), V2 = o("el-button"), w3 = o("el-table-column"), z2 = o("el-table"), C2 = o("el-pagination"), j2 = o("el-dialog");
|
|
50
|
-
return s(), n(j2, { modelValue: S.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => S.value = e4), title: "选择页面", width: "800", "append-to-body": "" }, { default: i(() => [r("div", v, [u(a2, { modelValue: I.systemId, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => I.systemId = e4), placeholder: "所有应用", clearable: "", filterable: "", onChange: q, style: { width: "220px" } }, { default: i(() => [(s(true), p(d, null, c(T.value, (e4) => (s(), n(t2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(f2, { modelValue: I.searchValue, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => I.searchValue = e4), style: { width: "260px", "margin-left": "10px" }, clearable: "", placeholder: "请输入编码或名称" }, null, 8, ["modelValue"]), u(V2, { type: "primary", style: { "margin-left": "10px" }, icon: m(y), onClick: q }, { default: i(() => l2[5] || (l2[5] = [g("确定")])), _: 1 }, 8, ["icon"]), u(V2, { type: "default", style: { "margin-left": "10px" }, icon: m(b), onClick: _ }, { default: i(() => l2[6] || (l2[6] = [g("重置")])), _: 1 }, 8, ["icon"])]), u(z2, { data: A.value, stripe: "", height: x.value, onSortChange: E }, { default: i(() => [u(w3, { type: "index", label: "序", width: "50" }, { default: i((e4) => [g(h(e4.$index + 1), 1)]), _: 1 }), u(w3, { label: "操作", width: "80" }, { default: i((e4) => [u(V2, { type: "primary", size: "small", onClick: (l3) => (P("selectPage", e4.row), void (S.value = false)) }, { default: i(() => l2[7] || (l2[7] = [g("选择")])), _:
|
|
50
|
+
return s(), n(j2, { modelValue: S.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => S.value = e4), title: "选择页面", width: "800", "append-to-body": "" }, { default: i(() => [r("div", v, [u(a2, { modelValue: I.systemId, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => I.systemId = e4), placeholder: "所有应用", clearable: "", filterable: "", onChange: q, style: { width: "220px" } }, { default: i(() => [(s(true), p(d, null, c(T.value, (e4) => (s(), n(t2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(f2, { modelValue: I.searchValue, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => I.searchValue = e4), style: { width: "260px", "margin-left": "10px" }, clearable: "", placeholder: "请输入编码或名称" }, null, 8, ["modelValue"]), u(V2, { type: "primary", style: { "margin-left": "10px" }, icon: m(y), onClick: q }, { default: i(() => [...l2[5] || (l2[5] = [g("确定", -1)])]), _: 1 }, 8, ["icon"]), u(V2, { type: "default", style: { "margin-left": "10px" }, icon: m(b), onClick: _ }, { default: i(() => [...l2[6] || (l2[6] = [g("重置", -1)])]), _: 1 }, 8, ["icon"])]), u(z2, { data: A.value, stripe: "", height: x.value, onSortChange: E }, { default: i(() => [u(w3, { type: "index", label: "序", width: "50" }, { default: i((e4) => [g(h(e4.$index + 1), 1)]), _: 1 }), u(w3, { label: "操作", width: "80" }, { default: i((e4) => [u(V2, { type: "primary", size: "small", onClick: (l3) => (P("selectPage", e4.row), void (S.value = false)) }, { default: i(() => [...l2[7] || (l2[7] = [g("选择", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), u(w3, { property: "dataView", label: "应用", width: "120" }, { default: i((e4) => [r("span", null, h(U.value[e4.row.systemId]), 1)]), _: 1 }), u(w3, { property: "code", label: "编码", width: "160", sortable: "custom" }), u(w3, { property: "name", label: "名称", width: "260", sortable: "custom" })]), _: 1 }, 8, ["data", "height"]), u(C2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": k.currentPage, "onUpdate:currentPage": l2[2] || (l2[2] = (e4) => k.currentPage = e4), "page-size": k.pageSize, "onUpdate:pageSize": l2[3] || (l2[3] = (e4) => k.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: k.total, onSizeChange: q, onCurrentChange: q }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
|
|
51
51
|
};
|
|
52
52
|
} });
|
|
53
53
|
export {
|
|
@@ -53,14 +53,14 @@ const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
53
53
|
}, 100));
|
|
54
54
|
} }), (e3, l2) => {
|
|
55
55
|
const a2 = o("el-option"), t2 = o("el-select"), V2 = o("el-input"), v2 = o("el-button"), C2 = o("el-table-column"), T3 = o("el-text"), x2 = o("el-table"), z2 = o("el-pagination"), _2 = o("el-dialog");
|
|
56
|
-
return n(), s(_2, { "append-to-body": "", modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null, m(F.value, (e4) => (n(), s(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(t2, { modelValue: j.tableType, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => j.tableType = e4), placeholder: "表和视图", clearable: "", onChange: B, style: { width: "120px", "margin-left": "10px" } }, { default: r(() => [u(a2, { value: "1", label: "表" }), u(a2, { value: "2", label: "视图" })]), _: 1 }, 8, ["modelValue"]), u(V2, { modelValue: j.searchValue, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => j.searchValue = e4), style: { width: "240px", "margin-left": "10px" }, placeholder: "请输入名称或别名" }, null, 8, ["modelValue"]), u(v2, { type: "primary", style: { "margin-left": "10px" }, icon: c(b), onClick: B }, { default: r(() => l2[6] || (l2[6] = [y("确定")])), _: 1 }, 8, ["icon"]), u(v2, { type: "default", style: { "margin-left": "10px" }, icon: c(f), onClick: I }, { default: r(() => l2[7] || (l2[7] = [y("重置")])), _: 1 }, 8, ["icon"])]), u(x2, { data: D.value, stripe: "", height: k.value, onSortChange: q }, { default: r(() => [u(C2, { type: "index", label: "序", width: "50" }, { default: r((e4) => [y(g(e4.$index + 1), 1)]), _: 1 }), u(C2, { label: "操作", width: "80" }, { default: r((e4) => [u(v2, { type: "primary", size: "small", onClick: (l3) => function(e5) {
|
|
56
|
+
return n(), s(_2, { "append-to-body": "", modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null, m(F.value, (e4) => (n(), s(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(t2, { modelValue: j.tableType, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => j.tableType = e4), placeholder: "表和视图", clearable: "", onChange: B, style: { width: "120px", "margin-left": "10px" } }, { default: r(() => [u(a2, { value: "1", label: "表" }), u(a2, { value: "2", label: "视图" })]), _: 1 }, 8, ["modelValue"]), u(V2, { modelValue: j.searchValue, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => j.searchValue = e4), style: { width: "240px", "margin-left": "10px" }, placeholder: "请输入名称或别名" }, null, 8, ["modelValue"]), u(v2, { type: "primary", style: { "margin-left": "10px" }, icon: c(b), onClick: B }, { default: r(() => [...l2[6] || (l2[6] = [y("确定", -1)])]), _: 1 }, 8, ["icon"]), u(v2, { type: "default", style: { "margin-left": "10px" }, icon: c(f), onClick: I }, { default: r(() => [...l2[7] || (l2[7] = [y("重置", -1)])]), _: 1 }, 8, ["icon"])]), u(x2, { data: D.value, stripe: "", height: k.value, onSortChange: q }, { default: r(() => [u(C2, { type: "index", label: "序", width: "50" }, { default: r((e4) => [y(g(e4.$index + 1), 1)]), _: 1 }), u(C2, { label: "操作", width: "80" }, { default: r((e4) => [u(v2, { type: "primary", size: "small", onClick: (l3) => function(e5) {
|
|
57
57
|
const l4 = { name: e5.row.name, alias: e5.row.alias };
|
|
58
58
|
if (j.systemCode && j.systemCode != S.systemCode) {
|
|
59
59
|
let e6 = j.systemCode, a3 = F.value.filter((l5) => l5.value == e6);
|
|
60
60
|
l4.systemVersion = a3.length > 0 ? a3[0].version : 1, l4.systemCode = e6;
|
|
61
61
|
} else j.systemCode || (e5.row.systemCode && (l4.systemCode = e5.row.systemCode), e5.row.publishVersion && (l4.systemVersion = e5.row.publishVersion));
|
|
62
62
|
P("selectTable", l4), U.value = false;
|
|
63
|
-
}(e4) }, { default: r(() => l2[8] || (l2[8] = [y("选择")])), _:
|
|
63
|
+
}(e4) }, { default: r(() => [...l2[8] || (l2[8] = [y("选择", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), u(C2, { property: "dataView", label: "类型", width: "70" }, { default: r((e4) => [e4.dataView ? h("", true) : (n(), s(T3, { key: 0, class: "mx-1", type: "primary" }, { default: r(() => [...l2[9] || (l2[9] = [y("数据表", -1)])]), _: 1 })), e4.dataView ? (n(), s(T3, { key: 1, class: "mx-1", type: "success" }, { default: r(() => [...l2[10] || (l2[10] = [y("视图", -1)])]), _: 1 })) : h("", true)]), _: 1 }), u(C2, { property: "name", label: "名称", width: "200", sortable: "custom" }), u(C2, { property: "alias", label: "别名" })]), _: 1 }, 8, ["data", "height"]), u(z2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": E.currentPage, "onUpdate:currentPage": l2[3] || (l2[3] = (e4) => E.currentPage = e4), "page-size": E.pageSize, "onUpdate:pageSize": l2[4] || (l2[4] = (e4) => E.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: E.total, onSizeChange: B, onCurrentChange: B }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
|
|
64
64
|
};
|
|
65
65
|
} });
|
|
66
66
|
export {
|
|
@@ -2,19 +2,20 @@ import { defineComponent as e, ref as o, resolveComponent as a, createBlock as t
|
|
|
2
2
|
import { Plus as g } from "@element-plus/icons-vue";
|
|
3
3
|
import { getToken as d } from "agilebuilder-ui/src/utils/auth";
|
|
4
4
|
const m = { style: { padding: "8px 0px 0px 0px" } }, f = ["src"], b = e({ __name: "common-style-background", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
5
|
-
const b2 = e2,
|
|
5
|
+
const b2 = e2, v = o(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads"), h = d(), y = o(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?jwt=" + h + "&serverPath=");
|
|
6
6
|
function k() {
|
|
7
7
|
b2.configure.style.backgroundImageServerPath = void 0;
|
|
8
8
|
}
|
|
9
9
|
function x(e3) {
|
|
10
10
|
if (e3.size > 3145728) return this.$message({ type: "warning", message: this.$t("imatrixUIMessage.exceedFileSize", { fileSize: 3 }), showClose: true }), false;
|
|
11
11
|
}
|
|
12
|
+
v.value;
|
|
12
13
|
const w = (e3, o2) => {
|
|
13
14
|
b2.configure.style.backgroundImageServerPath = e3.serverPath;
|
|
14
15
|
};
|
|
15
16
|
return (o2, d2) => {
|
|
16
17
|
const b3 = a("el-color-picker"), P = a("el-form-item"), _ = a("CloseBold"), I = a("el-icon"), S = a("el-upload"), z = a("el-collapse-item");
|
|
17
|
-
return r(), t(z, { title: "背景", name: "styleBackground", class: "amb-design-attr-group-header" }, { default: l(() => [s("div", m, [i(P, { label: "颜色", style: { "margin-top": "4px" } }, { default: l(() => [i(b3, { modelValue: e2.configure.style.backgroundColor, "onUpdate:modelValue": d2[0] || (d2[0] = (o3) => e2.configure.style.backgroundColor = o3) }, null, 8, ["modelValue"])]), _: 1 }), i(P, { label: "图片", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: l(() => [i(S, { class: "avatar-uploader", accept: "image/png, image/jpeg", "with-credentials": true, headers: { Authorization: n(
|
|
18
|
+
return r(), t(z, { title: "背景", name: "styleBackground", class: "amb-design-attr-group-header" }, { default: l(() => [s("div", m, [i(P, { label: "颜色", style: { "margin-top": "4px" } }, { default: l(() => [i(b3, { modelValue: e2.configure.style.backgroundColor, "onUpdate:modelValue": d2[0] || (d2[0] = (o3) => e2.configure.style.backgroundColor = o3) }, null, 8, ["modelValue"])]), _: 1 }), i(P, { label: "图片", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: l(() => [i(S, { class: "avatar-uploader", accept: "image/png, image/jpeg", "with-credentials": true, headers: { Authorization: n(h) }, action: v.value, "show-file-list": false, "on-success": w, "before-upload": x, style: { position: "relative" }, name: "file" }, { default: l(() => [e2.configure.style.backgroundImageServerPath ? (r(), u("img", { key: 0, src: y.value + e2.configure.style.backgroundImageServerPath + "&_tt=" + (/* @__PURE__ */ new Date()).getTime(), class: "avatar" }, null, 8, f)) : c("", true), e2.configure.style.backgroundImageServerPath ? (r(), t(I, { key: 1, style: { position: "absolute", top: "4px", right: "4px", "font-size": "15px", "background-color": "red" }, onClick: p(k, ["stop"]) }, { default: l(() => [i(_)]), _: 1 })) : (r(), t(I, { key: 2, class: "avatar-uploader-icon" }, { default: l(() => [i(n(g))]), _: 1 }))]), _: 1 }, 8, ["headers", "action"])]), _: 1 })])]), _: 1 });
|
|
18
19
|
};
|
|
19
20
|
} });
|
|
20
21
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as l, createBlock as o, openBlock as a, withCtx as t, createElementVNode as d, createVNode as r, createTextVNode as u } from "vue";
|
|
2
2
|
const i = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "common-style-border", props: { configure: { type: Object, required: true } }, setup: (e2) => (m2, n) => {
|
|
3
3
|
const p = l("el-color-picker"), s = l("el-form-item"), f = l("el-input-number"), g = l("el-radio"), c = l("el-radio-group"), y = l("el-collapse-item");
|
|
4
|
-
return a(), o(y, { title: "边框", name: "styleBorder", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", i, [r(s, { label: "颜色", class: "amb-design-attr-item", style: { "margin-top": "4px" } }, { default: t(() => [r(p, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": n[0] || (n[0] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线宽", style: { "margin-top": "0px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": n[1] || (n[1] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线型", style: { "margin-top": "-10px" } }, { default: t(() => [r(c, { modelValue: e2.configure.style.borderType, "onUpdate:modelValue": n[2] || (n[2] = (l2) => e2.configure.style.borderType = l2) }, { default: t(() => [r(g, { value: "solid" }, { default: t(() => n[4] || (n[4] = [u("实线")])), _: 1 }), r(g, { value: "dotted" }, { default: t(() => n[5] || (n[5] = [u("点线")])), _: 1 }), r(g, { value: "dashed" }, { default: t(() => n[6] || (n[6] = [u("虚线")])), _: 1 }), r(g, { value: null }, { default: t(() => n[7] || (n[7] = [u("无")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(s, { label: "圆角", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.radius, "onUpdate:modelValue": n[3] || (n[3] = (l2) => e2.configure.style.radius = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
|
|
4
|
+
return a(), o(y, { title: "边框", name: "styleBorder", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", i, [r(s, { label: "颜色", class: "amb-design-attr-item", style: { "margin-top": "4px" } }, { default: t(() => [r(p, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": n[0] || (n[0] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线宽", style: { "margin-top": "0px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": n[1] || (n[1] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线型", style: { "margin-top": "-10px" } }, { default: t(() => [r(c, { modelValue: e2.configure.style.borderType, "onUpdate:modelValue": n[2] || (n[2] = (l2) => e2.configure.style.borderType = l2) }, { default: t(() => [r(g, { value: "solid" }, { default: t(() => [...n[4] || (n[4] = [u("实线", -1)])]), _: 1 }), r(g, { value: "dotted" }, { default: t(() => [...n[5] || (n[5] = [u("点线", -1)])]), _: 1 }), r(g, { value: "dashed" }, { default: t(() => [...n[6] || (n[6] = [u("虚线", -1)])]), _: 1 }), r(g, { value: null }, { default: t(() => [...n[7] || (n[7] = [u("无", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(s, { label: "圆角", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.radius, "onUpdate:modelValue": n[3] || (n[3] = (l2) => e2.configure.style.radius = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
m as default
|
|
@@ -3,7 +3,7 @@ const s = { style: { padding: "8px 0px 0px 0px" } }, c = e({ __name: "common-sty
|
|
|
3
3
|
const c2 = ["8px", "10px", "12px", "14px", "16px", "18px", "20px", "24px", "28px"];
|
|
4
4
|
return (g, x) => {
|
|
5
5
|
const h = l("el-switch"), y = l("el-form-item"), _ = l("el-col"), V = l("el-row"), b = l("el-option"), v = l("el-select"), F = l("el-color-picker"), U = l("el-radio-button"), A = l("el-radio-group"), T = l("el-collapse-item");
|
|
6
|
-
return t(), a(T, { title: "标题", name: "styleFontHead", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", s, [d(V, { style: { "margin-top": "4px" } }, { default: o(() => [d(_, { span: 9 }, { default: o(() => [d(y, { label: "加粗" }, { default: o(() => [d(h, { modelValue: e2.configure.style.headerFontWeight, "onUpdate:modelValue": x[0] || (x[0] = (l2) => e2.configure.style.headerFontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(_, { span: 12 }, { default: o(() => [d(y, { label: "倾斜" }, { default: o(() => [d(h, { modelValue: e2.configure.style.headerIncline, "onUpdate:modelValue": x[1] || (x[1] = (l2) => e2.configure.style.headerIncline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), d(y, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [d(v, { modelValue: e2.configure.style.headerFontSize, "onUpdate:modelValue": x[2] || (x[2] = (l2) => e2.configure.style.headerFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), r(p, null, i(c2, (e3) => d(b, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [d(F, { modelValue: e2.configure.style.headerColor, "onUpdate:modelValue": x[3] || (x[3] = (l2) => e2.configure.style.headerColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(y, { label: "左右对齐", style: { "margin-top": "22px", "margin-bottom": "-15px" } }, { default: o(() => [d(A, { modelValue: e2.configure.style.headerTextAlign, "onUpdate:modelValue": x[4] || (x[4] = (l2) => e2.configure.style.headerTextAlign = l2) }, { default: o(() => [d(U, { value: "left" }, { default: o(() => x[5] || (x[5] = [m("左")])), _: 1 }), d(U, { value: "center" }, { default: o(() => x[6] || (x[6] = [m("中")])), _: 1 }), d(U, { value: "right" }, { default: o(() => x[7] || (x[7] = [m("右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.headerTextAlign]])])]), _: 1 });
|
|
6
|
+
return t(), a(T, { title: "标题", name: "styleFontHead", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", s, [d(V, { style: { "margin-top": "4px" } }, { default: o(() => [d(_, { span: 9 }, { default: o(() => [d(y, { label: "加粗" }, { default: o(() => [d(h, { modelValue: e2.configure.style.headerFontWeight, "onUpdate:modelValue": x[0] || (x[0] = (l2) => e2.configure.style.headerFontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(_, { span: 12 }, { default: o(() => [d(y, { label: "倾斜" }, { default: o(() => [d(h, { modelValue: e2.configure.style.headerIncline, "onUpdate:modelValue": x[1] || (x[1] = (l2) => e2.configure.style.headerIncline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), d(y, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [d(v, { modelValue: e2.configure.style.headerFontSize, "onUpdate:modelValue": x[2] || (x[2] = (l2) => e2.configure.style.headerFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), r(p, null, i(c2, (e3) => d(b, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [d(F, { modelValue: e2.configure.style.headerColor, "onUpdate:modelValue": x[3] || (x[3] = (l2) => e2.configure.style.headerColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(y, { label: "左右对齐", style: { "margin-top": "22px", "margin-bottom": "-15px" } }, { default: o(() => [d(A, { modelValue: e2.configure.style.headerTextAlign, "onUpdate:modelValue": x[4] || (x[4] = (l2) => e2.configure.style.headerTextAlign = l2) }, { default: o(() => [d(U, { value: "left" }, { default: o(() => [...x[5] || (x[5] = [m("左", -1)])]), _: 1 }), d(U, { value: "center" }, { default: o(() => [...x[6] || (x[6] = [m("中", -1)])]), _: 1 }), d(U, { value: "right" }, { default: o(() => [...x[7] || (x[7] = [m("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.headerTextAlign]])])]), _: 1 });
|
|
7
7
|
};
|
|
8
8
|
} });
|
|
9
9
|
export {
|
|
@@ -3,7 +3,7 @@ const f = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "common-sty
|
|
|
3
3
|
const m2 = ["8px", "10px", "12px", "14px", "16px", "18px", "20px", "24px", "28px"];
|
|
4
4
|
return (s, c) => {
|
|
5
5
|
const g = l("el-switch"), x = l("el-form-item"), y = l("el-col"), _ = l("el-row"), V = l("el-option"), b = l("el-select"), v = l("el-color-picker"), h = l("el-radio-button"), U = l("el-radio-group"), w = l("el-collapse-item");
|
|
6
|
-
return o(), t(w, { title: "字体", name: "styleFont", class: "amb-design-attr-group-header" }, { default: a(() => [u("div", f, [n(_, { style: { "margin-top": "4px" } }, { default: a(() => [n(y, { span: 9 }, { default: a(() => [n(x, { label: "加粗" }, { default: a(() => [n(g, { modelValue: e2.configure.style.fontWeight, "onUpdate:modelValue": c[0] || (c[0] = (l2) => e2.configure.style.fontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(y, { span: 12 }, { default: a(() => [n(x, { label: "倾斜" }, { default: a(() => [n(g, { modelValue: e2.configure.style.incline, "onUpdate:modelValue": c[1] || (c[1] = (l2) => e2.configure.style.incline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(x, { label: "字号", style: { "margin-top": "-10px" } }, { default: a(() => [n(b, { modelValue: e2.configure.style.fontSize, "onUpdate:modelValue": c[2] || (c[2] = (l2) => e2.configure.style.fontSize = l2), placeholder: "默认", clearable: "" }, { default: a(() => [(o(), d(p, null, r(m2, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x, { label: "颜色", style: { "margin-top": "-10px" } }, { default: a(() => [n(v, { modelValue: e2.configure.style.color, "onUpdate:modelValue": c[3] || (c[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(x, { label: "左右对齐", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: a(() => [n(U, { modelValue: e2.configure.style.textAlign, "onUpdate:modelValue": c[4] || (c[4] = (l2) => e2.configure.style.textAlign = l2) }, { default: a(() => [n(h, { value: "left" }, { default: a(() => c[5] || (c[5] = [i("左")])), _: 1 }), n(h, { value: "center" }, { default: a(() => c[6] || (c[6] = [i("中")])), _: 1 }), n(h, { value: "right" }, { default: a(() => c[7] || (c[7] = [i("右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
|
|
6
|
+
return o(), t(w, { title: "字体", name: "styleFont", class: "amb-design-attr-group-header" }, { default: a(() => [u("div", f, [n(_, { style: { "margin-top": "4px" } }, { default: a(() => [n(y, { span: 9 }, { default: a(() => [n(x, { label: "加粗" }, { default: a(() => [n(g, { modelValue: e2.configure.style.fontWeight, "onUpdate:modelValue": c[0] || (c[0] = (l2) => e2.configure.style.fontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(y, { span: 12 }, { default: a(() => [n(x, { label: "倾斜" }, { default: a(() => [n(g, { modelValue: e2.configure.style.incline, "onUpdate:modelValue": c[1] || (c[1] = (l2) => e2.configure.style.incline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(x, { label: "字号", style: { "margin-top": "-10px" } }, { default: a(() => [n(b, { modelValue: e2.configure.style.fontSize, "onUpdate:modelValue": c[2] || (c[2] = (l2) => e2.configure.style.fontSize = l2), placeholder: "默认", clearable: "" }, { default: a(() => [(o(), d(p, null, r(m2, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x, { label: "颜色", style: { "margin-top": "-10px" } }, { default: a(() => [n(v, { modelValue: e2.configure.style.color, "onUpdate:modelValue": c[3] || (c[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(x, { label: "左右对齐", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: a(() => [n(U, { modelValue: e2.configure.style.textAlign, "onUpdate:modelValue": c[4] || (c[4] = (l2) => e2.configure.style.textAlign = l2) }, { default: a(() => [n(h, { value: "left" }, { default: a(() => [...c[5] || (c[5] = [i("左", -1)])]), _: 1 }), n(h, { value: "center" }, { default: a(() => [...c[6] || (c[6] = [i("中", -1)])]), _: 1 }), n(h, { value: "right" }, { default: a(() => [...c[7] || (c[7] = [i("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
|
|
7
7
|
};
|
|
8
8
|
} });
|
|
9
9
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as l, createBlock as t, openBlock as o, withCtx as i, createElementVNode as a, createVNode as u, createCommentVNode as p, createTextVNode as s } from "vue";
|
|
2
2
|
const n = { style: { padding: "8px 0px 0px 0px" } }, d = e({ __name: "common-style-position", props: { configure: { type: Object, required: true } }, setup: (e2) => (d2, r) => {
|
|
3
3
|
const f = l("el-radio"), m = l("el-radio-group"), y = l("el-input"), g = l("el-form-item"), c = l("el-collapse-item");
|
|
4
|
-
return o(), t(c, { title: "定位", name: "stylePosition", class: "amb-design-attr-group-header" }, { default: i(() => [a("div", n, [u(m, { modelValue: e2.configure.style.position, "onUpdate:modelValue": r[0] || (r[0] = (l2) => e2.configure.style.position = l2), style: { padding: "0px 8px 0px 30px", "margin-bottom": "-15px" } }, { default: i(() => [u(f, { value: "relative" }, { default: i(() => r[3] || (r[3] = [s("relative")])), _: 1 }), u(f, { value: "absolute" }, { default: i(() => r[4] || (r[4] = [s("absolute")])), _: 1 }), u(f, { value: "fixed" }, { default: i(() => r[5] || (r[5] = [s("fixed")])), _: 1 }), u(f, { value: "sticky" }, { default: i(() => r[6] || (r[6] = [s("sticky")])), _: 1 }), u(f, { value: null }, { default: i(() => r[7] || (r[7] = [s("无")])), _: 1 })]), _: 1 }, 8, ["modelValue"]), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(g, { key: 0, label: "X坐标", style: { "margin-top": "20px" } }, { default: i(() => [u(y, { modelValue: e2.configure.style.left, "onUpdate:modelValue": r[1] || (r[1] = (l2) => e2.configure.style.left = l2) }, { suffix: i(() => r[8] || (r[8] = [s(" px ")])), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(g, { key: 1, label: "Y坐标", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [u(y, { modelValue: e2.configure.style.top, "onUpdate:modelValue": r[2] || (r[2] = (l2) => e2.configure.style.top = l2) }, { suffix: i(() => r[9] || (r[9] = [s(" px ")])), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true)])]), _: 1 });
|
|
4
|
+
return o(), t(c, { title: "定位", name: "stylePosition", class: "amb-design-attr-group-header" }, { default: i(() => [a("div", n, [u(m, { modelValue: e2.configure.style.position, "onUpdate:modelValue": r[0] || (r[0] = (l2) => e2.configure.style.position = l2), style: { padding: "0px 8px 0px 30px", "margin-bottom": "-15px" } }, { default: i(() => [u(f, { value: "relative" }, { default: i(() => [...r[3] || (r[3] = [s("relative", -1)])]), _: 1 }), u(f, { value: "absolute" }, { default: i(() => [...r[4] || (r[4] = [s("absolute", -1)])]), _: 1 }), u(f, { value: "fixed" }, { default: i(() => [...r[5] || (r[5] = [s("fixed", -1)])]), _: 1 }), u(f, { value: "sticky" }, { default: i(() => [...r[6] || (r[6] = [s("sticky", -1)])]), _: 1 }), u(f, { value: null }, { default: i(() => [...r[7] || (r[7] = [s("无", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(g, { key: 0, label: "X坐标", style: { "margin-top": "20px" } }, { default: i(() => [u(y, { modelValue: e2.configure.style.left, "onUpdate:modelValue": r[1] || (r[1] = (l2) => e2.configure.style.left = l2) }, { suffix: i(() => [...r[8] || (r[8] = [s(" px ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(g, { key: 1, label: "Y坐标", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [u(y, { modelValue: e2.configure.style.top, "onUpdate:modelValue": r[2] || (r[2] = (l2) => e2.configure.style.top = l2) }, { suffix: i(() => [...r[9] || (r[9] = [s(" px ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true)])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
d as default
|