super-page-designer 2.3.17-sit3-design2 → 2.3.18-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/utils/page-table-util.js +62 -60
- 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 +11 -11
- 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 +7 -7
- package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +13 -13
- package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/form/form-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +3 -2
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +18 -18
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-design.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 +43 -43
- package/dist/es/components/design/views/design/page-event/config.vue3.js +24 -23
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +10 -11
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +2 -16
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +8 -8
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.d.ts +2 -16
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.js +20 -23
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +12 -11
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +2 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +4 -4
- package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +0 -18
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +31 -34
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +20 -20
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +3 -3
- package/dist/es/components/design/views/design/view/view-design.vue.js +3 -3
- package/dist/es/stores/undo-redo-store.js +1 -1
- package/dist/es/style.css +21 -47
- package/package.json +4 -4
- package/dist/es/assets/images/data/file.png.js +0 -4
- package/dist/es/assets/images/data/folder.png.js +0 -4
- package/dist/es/components/design/utils/ucr-element-filter.d.ts +0 -2
- package/dist/es/components/design/utils/ucr-element-filter.js +0 -11
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.d.ts +0 -38
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.js +0 -7
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js +0 -111
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.d.ts +0 -6
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.js +0 -27
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
const e = ["tools", "form"];
|
|
2
|
-
function s(
|
|
2
|
+
function s(r, a) {
|
|
3
3
|
var _a;
|
|
4
4
|
try {
|
|
5
|
-
|
|
6
|
-
s(e2,
|
|
5
|
+
r.name || r.label && o(r.label, a), ((_a = r.props) == null ? void 0 : _a.base) && !e.includes(r.name) && (r.props.base.title && o(r.props.base.title, a), r.props.base.placeholder && o(r.props.base.placeholder, a), r.props.base.label && o(r.props.base.label, a)), r.items && r.items.length > 0 && r.items.forEach((e2) => {
|
|
6
|
+
s(e2, a);
|
|
7
7
|
});
|
|
8
8
|
} catch (e2) {
|
|
9
|
+
console.error(e2);
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
+
function o(e2, s2) {
|
|
12
13
|
Array.isArray(e2) || (e2 = [e2]), e2.forEach((e3) => {
|
|
13
14
|
s2.i18nKeys.includes(e3) || s2.i18nKeys.push(e3);
|
|
14
15
|
});
|
|
15
16
|
}
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
o as addI18nKey,
|
|
18
19
|
s as setPagetemI18nKey
|
|
19
20
|
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import e from "agilebuilder-ui/src/utils/request";
|
|
2
2
|
import { getFormPropName as t } from "./page-helper-util.js";
|
|
3
|
-
import { getDesignEvents as r } from "./assemblys-config.js";
|
|
4
|
-
import { addI18nKey as
|
|
5
|
-
import { findDesignItemByUuid as
|
|
6
|
-
import { getComponentOptionConfigsBase as
|
|
7
|
-
function
|
|
3
|
+
import { getDesignEvents as r, getDesignConfByName as a } from "./assemblys-config.js";
|
|
4
|
+
import { addI18nKey as o } from "./page-i18n-util.js";
|
|
5
|
+
import { findDesignItemByUuid as i } from "./common-util.js";
|
|
6
|
+
import { getComponentOptionConfigsBase as n } from "super-page-runtime";
|
|
7
|
+
function s(t2, r2, a2) {
|
|
8
8
|
let o2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns";
|
|
9
9
|
return o2 += "?tableName=" + (a2 || ""), e.get(o2);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function p(t2) {
|
|
12
12
|
return t2 ? e.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/sub-data-tables/tables/" + t2) : Promise.resolve([]);
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
const
|
|
16
|
-
r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[i2.uuid] = function(e3, r3,
|
|
14
|
+
function l(e2, r2) {
|
|
15
|
+
const a2 = JSON.stringify(e2), i2 = JSON.parse(a2);
|
|
16
|
+
r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[i2.uuid] = function(e3, r3, a3) {
|
|
17
17
|
var _a;
|
|
18
|
-
const i3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid, n3 = { configure:
|
|
18
|
+
const i3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid, n3 = { configure: a3, code: i3, name: e3.title, totalType: e3.props.base ? e3.props.base.totalType : null, remark: e3.props.base ? e3.props.base.remark : null, pagination: e3.props.base ? e3.props.base.subPaging : null, rowNum: e3.props.base ? e3.props.base.pageSize : null, optionalRows: e3.props.base ? e3.props.base.pageSizes : null, layout: e3.props.base ? JSON.stringify(e3.props.base.layout) : null, startQuery: e3.props.base ? e3.props.base.startQuery : null, popUp: e3.props.base ? e3.props.base.popUp : null, isInitializationQuery: e3.props.dataOrigin.initializationQuery, defaultQueryCriteria: e3.props.dataOrigin.defaultQueryCriteria ? JSON.stringify(e3.props.dataOrigin.defaultQueryCriteria) : "", queryLabelPosition: e3.props.base ? e3.props.base.queryLabelPosition : null, editable: e3.props.base ? e3.props.base.editable : null, urlToListData: e3.props.base ? e3.props.base.urlToListData : null, customConfig: e3.props.base ? e3.props.base.customConfig : null, tableName: e3.props.dataOrigin.tableName, totalable: e3.props.title.totalable, defaultSortField: JSON.stringify(e3.props.dataOrigin.sortField), titleAlign: e3.props.base ? e3.props.base.alignTitle : null, contAlign: e3.props.base ? e3.props.base.alignContent : null, displayEffect: e3.props.base ? e3.props.base.displayEffect : null, textOverflow: (_a = e3.props.base) == null ? void 0 : _a.textOverflow, isDragColumn: !!e3.props.base && (void 0 === e3.props.base.isDragColumn || e3.props.base.isDragColumn), border: e3.props.base ? e3.props.base.border : null, customImportColumns: e3.props.importSetting.importFields };
|
|
19
19
|
return n3.items = function(e4, r4) {
|
|
20
20
|
var _a2;
|
|
21
|
-
const
|
|
21
|
+
const a4 = [];
|
|
22
22
|
return (_a2 = e4.items) == null ? void 0 : _a2.forEach((e5) => {
|
|
23
|
-
const i4 = { controlName:
|
|
24
|
-
let n4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format:
|
|
25
|
-
r4.i18nKeys &&
|
|
26
|
-
}),
|
|
23
|
+
const i4 = { controlName: f(e5) };
|
|
24
|
+
let n4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format: y(e5), valueSet: u(e5), querySettingName: e5.props.base.querySettingName ? e5.props.base.querySettingName : "no", queryMatching: e5.props.base.queryMatching, querySetting: e5.props.querySetting ? JSON.stringify(e5.props.querySetting) : null, editable: e5.props.editLine.editable, defaultValue: e5.props.base.defaultValue, controlName: i4.controlName, controlConfig: b(e5), eventType: C(e5), displayOrder: e5.props.base.displayOrder, fileSet: g(e5), orgTreeSet: d(e5), dynamicColumnJson: T(e5), valueSetOptions: m(e5, r4.systemCode, r4.systemVersion), required: e5.props.verification.required, pattern: e5.props.verification.verifyRegex, checkType: O(e5.props.verification.type), contAlign: e5.props.base ? e5.props.base.alignContent : null, titleAlign: e5.props.base ? e5.props.base.alignTitle : null, i18nKey: e5.props.base.name };
|
|
25
|
+
r4.i18nKeys && o(e5.props.base.name, r4), e5.functionCodes && e5.functionCodes.length > 0 && (n4.functionCode = e5.functionCodes.join(",")), a4.push(n4);
|
|
26
|
+
}), a4;
|
|
27
27
|
}(e3, r3), n3.groupHeaders = function(e4) {
|
|
28
28
|
const t2 = [];
|
|
29
29
|
e4.props.base.isEnableGroupHeader && e4.props.groupHeaders && e4.props.groupHeaders.forEach((e5) => {
|
|
@@ -32,14 +32,14 @@ function p(e2, r2) {
|
|
|
32
32
|
});
|
|
33
33
|
return t2.sort((e5, t3) => e5.displayOrder - t3.displayOrder), t2;
|
|
34
34
|
}(e3), n3;
|
|
35
|
-
}(i2, r2,
|
|
35
|
+
}(i2, r2, a2), delete e2.btnList, delete e2.items, delete e2.modelFields;
|
|
36
36
|
const n2 = i2.runtime;
|
|
37
37
|
if (n2 && (n2.events || n2.common)) {
|
|
38
38
|
const { events: t2, common: r3 } = n2;
|
|
39
39
|
e2.runtime = { events: t2, common: r3 };
|
|
40
40
|
} else delete e2.runtime;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function u(e2) {
|
|
43
43
|
const t2 = e2.props;
|
|
44
44
|
if ("inputNumber" === e2.name) return null;
|
|
45
45
|
if (t2.dataOrigin && t2.dataOrigin.optionValueSetType && "none" !== t2.dataOrigin.optionValueSetType) {
|
|
@@ -53,7 +53,7 @@ function l(e2) {
|
|
|
53
53
|
if ("service" === e3) return `${e3}:${t2.dataOrigin.serveName}`;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function m(e2, t2, r2) {
|
|
57
57
|
if (!e2) return;
|
|
58
58
|
const a2 = e2.props;
|
|
59
59
|
if ("inputNumber" === e2.name) {
|
|
@@ -62,22 +62,22 @@ function u(e2, t2, r2) {
|
|
|
62
62
|
}
|
|
63
63
|
if ("switch" === e2.name) return JSON.stringify({ activeText: a2.base.activeText, activeValue: a2.base.activeValue, inactiveText: a2.base.inactiveText, inactiveValue: a2.base.inactiveValue, offColor: a2.base.offColor, onColor: a2.base.onColor });
|
|
64
64
|
if (a2.dataOrigin && a2.dataOrigin.optionValueSetType) {
|
|
65
|
-
const o2 = a2.dataOrigin.optionValueSetType,
|
|
66
|
-
if ("dynamicData" === o2) return JSON.stringify({ type: "dynamicData", dynamicDataSourceCode:
|
|
65
|
+
const o2 = a2.dataOrigin.optionValueSetType, i2 = a2.dataOrigin;
|
|
66
|
+
if ("dynamicData" === o2) return JSON.stringify({ type: "dynamicData", dynamicDataSourceCode: i2.dynamicDataSourceCode, filterType: i2.filterType, valueSetOptions: c(i2), valueLabelSwitch: !!i2.valueLabelSwitch });
|
|
67
67
|
{
|
|
68
|
-
const a3 =
|
|
69
|
-
return a3 ? (a3.valueSetOptions =
|
|
68
|
+
const a3 = n(e2, t2, r2);
|
|
69
|
+
return a3 ? (a3.valueSetOptions = c(i2), JSON.stringify(a3)) : null;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function c(e2) {
|
|
74
74
|
const t2 = [];
|
|
75
75
|
return e2.autoSets.forEach((e3) => {
|
|
76
|
-
const r2 =
|
|
77
|
-
t2.push({ columnName:
|
|
76
|
+
const r2 = S(e3.target);
|
|
77
|
+
t2.push({ columnName: S(e3.source), valueField: r2, valueColumn: { name: r2, dbColumnName: r2.toUpperCase() } });
|
|
78
78
|
}), t2;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function f(e2) {
|
|
81
81
|
if (!e2.name) return null;
|
|
82
82
|
switch (e2.name) {
|
|
83
83
|
case "input-text":
|
|
@@ -144,25 +144,25 @@ function c(e2) {
|
|
|
144
144
|
return "custom:" + e2.props.base.customComponent;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function d(e2) {
|
|
148
148
|
if ("dept-tree" === e2.name) {
|
|
149
149
|
const t2 = [];
|
|
150
150
|
return e2.props.base.otherFieldSets && e2.props.base.otherFieldSets.length > 0 && e2.props.base.otherFieldSets.forEach((e3) => {
|
|
151
|
-
t2.push({ type: e3.source, model:
|
|
151
|
+
t2.push({ type: e3.source, model: S(e3.target) });
|
|
152
152
|
}), JSON.stringify({ orgTreeSetArr: t2 });
|
|
153
153
|
}
|
|
154
154
|
return null;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function g(e2) {
|
|
157
157
|
var _a, _b;
|
|
158
158
|
if ("file-upload" === e2.name) {
|
|
159
|
-
const t2 =
|
|
159
|
+
const t2 = S(e2.props.base.prop), r2 = S(e2.props.format ? e2.props.format.fileUuid : null);
|
|
160
160
|
let a2 = {};
|
|
161
161
|
return t2 && (a2.showNameData = { name: t2, dbName: t2.toUpperCase() }), r2 && (a2.serverNameData = { name: r2, dbName: r2.toUpperCase() }), e2.props.uploadConfig && (e2.props.uploadConfig.multiple ? a2.multiple = true : a2.multiple = false, e2.props.uploadConfig.accept ? a2.accept = e2.props.uploadConfig.accept : a2.accept = null, e2.props.uploadConfig.limitFileSize ? a2.limitFileSize = e2.props.uploadConfig.limitFileSize : a2.limitFileSize = null, e2.props.uploadConfig.openCameraOrChoosePhoto ? a2.openCameraOrChoosePhoto = e2.props.uploadConfig.openCameraOrChoosePhoto : a2.openCameraOrChoosePhoto = null, e2.props.watermark ? (a2.watermark = {}, ((_a = e2.props.watermark) == null ? void 0 : _a.isShowWatermark) ? a2.watermark.isShowWatermark = true : a2.watermark.isShowWatermark = false, ((_b = e2.props.watermark) == null ? void 0 : _b.content) ? a2.watermark.content = e2.props.watermark.content : a2.watermark.content = null) : a2.watermark = {}), JSON.stringify(a2);
|
|
162
162
|
}
|
|
163
163
|
return null;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function b(e2) {
|
|
166
166
|
var _a, _b, _c, _d, _e, _f;
|
|
167
167
|
let t2 = {};
|
|
168
168
|
if ("select" === e2.name) {
|
|
@@ -175,7 +175,7 @@ function g(e2) {
|
|
|
175
175
|
} else "custom" === e2.name ? t2.customParams = e2.props.parameter : "datePicker" === e2.name ? (t2.format = e2.props.base.format, t2.valueFormat = e2.props.base.valueFormat) : "dept-tree" === e2.name && (t2.limitFilterColumn = e2.props.base.limitFilterColumn, t2.deptScope = e2.props.base.deptScope, t2.deptScopeField = e2.props.base.deptScopeField, t2.deptScopeCodes = e2.props.base.deptScopeDepts);
|
|
176
176
|
return ((_c = e2.style) == null ? void 0 : _c.cellStyle) && (t2.cellStyle = e2.style.cellStyle), ((_d = e2.style) == null ? void 0 : _d.titleStyle) && (t2.titleStyle = e2.style.titleStyle), ((_f = (_e = e2.props) == null ? void 0 : _e.base) == null ? void 0 : _f.editConditions) && e2.props.base.editConditions.length > 0 && (t2.editConditions = e2.props.base.editConditions), t2 ? JSON.stringify(t2) : null;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function y(e2) {
|
|
179
179
|
var _a, _b, _c;
|
|
180
180
|
if (e2.props.format) {
|
|
181
181
|
if ("hyperlinks" === e2.props.format.type && ((_a = e2.props.linkPage) == null ? void 0 : _a.length) > 0) {
|
|
@@ -202,50 +202,50 @@ function b(e2) {
|
|
|
202
202
|
}
|
|
203
203
|
return null;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function S(e2) {
|
|
206
206
|
if (e2) {
|
|
207
207
|
const t2 = e2.match(/\${(.*?)\.(.*?)}/);
|
|
208
208
|
if (t2) return t2[2];
|
|
209
209
|
}
|
|
210
210
|
return e2;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function C(e2, t2) {
|
|
213
213
|
let r2 = null;
|
|
214
214
|
return e2.events && (e2.events.forEach((e3) => {
|
|
215
215
|
e3.jsContent && e3.jsContent.trim() && (r2 || (r2 = {}), r2[e3.name] = e3.componentUuid + "_" + e3.name);
|
|
216
216
|
}), r2) ? JSON.stringify(r2) : r2;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function T(e2, t2) {
|
|
219
219
|
return e2.props.base.prop && "dynamicColumnSelect" === e2.props.base.prop ? (function(e3) {
|
|
220
220
|
if (!e3 || !e3.columnModelTable) return;
|
|
221
221
|
e3.columnModelTable.forEach((e4) => {
|
|
222
222
|
var _a, _b, _c, _d, _e, _f;
|
|
223
223
|
const t4 = e4.componentConfig;
|
|
224
224
|
if (t4) {
|
|
225
|
-
e4.format =
|
|
226
|
-
const r3 =
|
|
225
|
+
e4.format = y(t4), e4.defaultValue = (_b = (_a = t4.props) == null ? void 0 : _a.base) == null ? void 0 : _b.defaultValue, e4.controlName = f(t4), e4.controlConfig = b(t4), e4.eventType = C(t4), e4.fileSet = g(t4), e4.orgTreeSet = d(t4), e4.required = (_d = (_c = t4.props) == null ? void 0 : _c.verification) == null ? void 0 : _d.required, e4.pattern = (_f = (_e = t4.props) == null ? void 0 : _e.verification) == null ? void 0 : _f.verifyRegex, e4.checkType = O(t4.props.verification.type);
|
|
226
|
+
const r3 = u(t4);
|
|
227
227
|
e4.valueSet = r3, e4.functionCodes && e4.functionCodes.length > 0 ? e4.functionCode = e4.functionCodes.join(",") : e4.functionCode = "";
|
|
228
228
|
} else e4.format = null, e4.defaultValue = null, e4.controlName = null, e4.controlConfig = null, e4.eventType = null, e4.fileSet = null, e4.orgTreeSet = null, e4.required = null, e4.pattern = null, e4.checkType = null, e4.valueSet = null;
|
|
229
|
-
let r2 =
|
|
229
|
+
let r2 = m(t4, null, null);
|
|
230
230
|
r2 || (r2 = e4.valueSetOptions), e4.valueSetOptions = r2;
|
|
231
231
|
const a2 = e4.titleValueSetComponentConfig;
|
|
232
232
|
if (a2) {
|
|
233
|
-
const t5 =
|
|
233
|
+
const t5 = u(a2);
|
|
234
234
|
e4.titleValueSet = t5;
|
|
235
|
-
let r3 =
|
|
235
|
+
let r3 = m(a2, null, null);
|
|
236
236
|
e4.titleValueSetOptions = r3;
|
|
237
237
|
} else e4.titleValueSet = null, e4.titleValueSetOptions = null;
|
|
238
238
|
});
|
|
239
239
|
const t3 = e3.groupTitleDynamicConfigure;
|
|
240
240
|
if (t3) {
|
|
241
|
-
const r2 =
|
|
241
|
+
const r2 = u(t3);
|
|
242
242
|
r2 ? (e3.groupTitleValueSet || (e3.groupTitleValueSet = {}), e3.groupTitleValueSet.valueSet = r2) : e3.groupTitleValueSet && e3.groupTitleValueSet.valueSet && (e3.groupTitleValueSet.valueSet = null);
|
|
243
|
-
let a2 =
|
|
243
|
+
let a2 = m(t3, null, null);
|
|
244
244
|
a2 ? (e3.groupTitleValueSet || (e3.groupTitleValueSet = {}), e3.groupTitleValueSet.valueSetOptions = a2) : e3.groupTitleValueSet && e3.groupTitleValueSet.valueSetOptions && (e3.groupTitleValueSet.valueSetOptions = null);
|
|
245
245
|
} else e3.groupTitleValueSet = null;
|
|
246
246
|
}(e2.props.dynamicColumnData), JSON.stringify(e2.props.dynamicColumnData)) : null;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function O(e2) {
|
|
249
249
|
if (Array.isArray(e2) && e2.length > 0) {
|
|
250
250
|
const t2 = [];
|
|
251
251
|
return e2.forEach((e3) => {
|
|
@@ -254,38 +254,40 @@ function T(e2) {
|
|
|
254
254
|
}
|
|
255
255
|
return Array.isArray(e2) && 0 === e2.length ? null : e2;
|
|
256
256
|
}
|
|
257
|
-
function O(e2, t2) {
|
|
258
|
-
let a2 = { uuid: e2.uuid, base: e2.props.base, dataOrigin: e2.props.dataOrigin, dynamicColumnData: e2.props.dynamicColumnData, editLine: e2.props.editLine, format: e2.props.format, verification: e2.props.verification, definition: e2.props.definition, size: e2.props.size };
|
|
259
|
-
e2.props = {}, e2.uuid = a2.uuid, e2.props.base = a2.base, e2.props.dataOrigin = a2.dataOrigin, e2.props.dynamicColumnData = a2.dynamicColumnData, e2.props.editLine = a2.editLine, e2.props.format = a2.format, e2.props.verification = a2.verification, e2.props.definition = a2.definition, e2.props.size = a2.size, e2.events = r(t2), e2.name = t2;
|
|
260
|
-
}
|
|
261
257
|
function h(e2, t2) {
|
|
258
|
+
let o2 = { uuid: e2.uuid, base: e2.props.base, dataOrigin: e2.props.dataOrigin, dynamicColumnData: e2.props.dynamicColumnData, editLine: e2.props.editLine, format: e2.props.format, verification: e2.props.verification, definition: e2.props.definition, size: e2.props.size };
|
|
259
|
+
e2.props = {}, e2.uuid = o2.uuid, e2.props.base = o2.base, e2.props.dataOrigin = o2.dataOrigin, e2.props.dynamicColumnData = o2.dynamicColumnData, e2.props.editLine = o2.editLine, e2.props.format = o2.format, e2.props.verification = o2.verification, e2.props.definition = o2.definition, e2.props.size = o2.size, e2.events = r(t2), e2.name = t2;
|
|
260
|
+
const i2 = a(t2);
|
|
261
|
+
"file-upload" === t2 && (e2.props.uploadConfig = i2.props.uploadConfig);
|
|
262
|
+
}
|
|
263
|
+
function v(e2, t2) {
|
|
262
264
|
return e2 = {}, t2.forEach((t3) => {
|
|
263
265
|
e2[t3.dbColumnName] = t3;
|
|
264
266
|
}), e2;
|
|
265
267
|
}
|
|
266
|
-
function
|
|
268
|
+
function N(e2, t2) {
|
|
267
269
|
let r2, a2 = e2.tableName;
|
|
268
270
|
return a2 || (e2.tableRuntimes && t2 && e2.tableRuntimes[t2] && e2.pageType && "list" === e2.pageType && (r2 = JSON.parse(e2.tableRuntimes[t2].configure)), r2 && r2.props && r2.props.dataOrigin ? r2.props.dataOrigin.tableName : null);
|
|
269
271
|
}
|
|
270
|
-
function
|
|
272
|
+
function w(e2) {
|
|
271
273
|
let t2 = [];
|
|
272
274
|
return e2 && e2.forEach((e3) => {
|
|
273
275
|
t2.push({ value: e3.dbColumnName, label: e3.alias, alias: e3.alias, dataType: e3.dataType });
|
|
274
276
|
}), t2;
|
|
275
277
|
}
|
|
276
|
-
function
|
|
278
|
+
function V(e2, t2, r2) {
|
|
277
279
|
var _a;
|
|
278
280
|
const a2 = e2 ? e2.pageType : null;
|
|
279
|
-
let
|
|
280
|
-
return r2 ?
|
|
281
|
+
let o2, n2;
|
|
282
|
+
return r2 ? o2 = r2 : (t2 == null ? void 0 : t2.props.base.tableUuid) ? (n2 = t2.props.base.tableUuid, o2 = i(e2, n2)) : a2 && "list" === a2 && ((_a = e2 == null ? void 0 : e2.tableUuids) == null ? void 0 : _a.length) > 0 ? (n2 = e2 == null ? void 0 : e2.tableUuids[0], o2 = i(e2, n2)) : (e2 == null ? void 0 : e2.currentTableConfig) && (o2 = e2.currentTableConfig), o2;
|
|
281
283
|
}
|
|
282
284
|
export {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
285
|
+
v as changeFeieldToMap,
|
|
286
|
+
w as getModelOptionsByFields,
|
|
287
|
+
V as getTableConfigByTableUuid,
|
|
288
|
+
N as getTableNameByTableUuid,
|
|
289
|
+
p as querySublist,
|
|
290
|
+
s as queryTableFields,
|
|
291
|
+
l as setTableRuntimesFromConfigure,
|
|
292
|
+
h as tableResetConfigIndo
|
|
291
293
|
};
|
|
@@ -6,21 +6,21 @@ import k from "../component/journal-set-dialog.vue.js";
|
|
|
6
6
|
import C from "../../common/common-advanced-basic-showcondition.vue.js";
|
|
7
7
|
import { isShowOpinionSetting as _ } from "../../../../utils/form-design-util.js";
|
|
8
8
|
import V from "agilebuilder-ui/src/utils/request";
|
|
9
|
-
import { getTableConfigByTableUuid as
|
|
10
|
-
import
|
|
9
|
+
import { getTableConfigByTableUuid as w } from "../../../../utils/page-table-util.js";
|
|
10
|
+
import D from "../../common/common-watermark.vue.js";
|
|
11
11
|
import h from "../../common/common-task-title.vue.js";
|
|
12
12
|
const j = { style: { padding: "8px 0px 0px 0px" } }, O = e({ __name: "button-attr-advanced", props: { configure: { type: Object, default: () => {
|
|
13
13
|
} }, pageDesign: { type: Object, default: () => {
|
|
14
14
|
} } }, setup(e2) {
|
|
15
15
|
var _a;
|
|
16
|
-
const O2 = e2, M = o(["base"]), x = o(false), L = o([]), R = (_a = O2.pageDesign) == null ? void 0 : _a.systemVersion, S = o(
|
|
16
|
+
const O2 = e2, M = o(["base"]), x = o(false), L = o([]), R = (_a = O2.pageDesign) == null ? void 0 : _a.systemVersion, S = o(w(O2.pageDesign, O2.configure));
|
|
17
17
|
function N() {
|
|
18
18
|
x.value = false;
|
|
19
19
|
}
|
|
20
20
|
function U(e3) {
|
|
21
21
|
O2.configure.props.base.logSetting = e3, N();
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${O2.pageDesign.systemCode}/${R}`).then((e3) => {
|
|
24
24
|
L.value = e3;
|
|
25
25
|
});
|
|
26
26
|
const z = o(false);
|
|
@@ -32,7 +32,7 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, O = e({ __name: "button-att
|
|
|
32
32
|
$.value = false;
|
|
33
33
|
}
|
|
34
34
|
function P(e3) {
|
|
35
|
-
O2.configure.props.setValueList = e3;
|
|
35
|
+
O2.configure.props.setValueList = e3, O2.configure.props.setValueList;
|
|
36
36
|
}
|
|
37
37
|
const T = o(false);
|
|
38
38
|
function W() {
|
|
@@ -54,8 +54,8 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, O = e({ __name: "button-att
|
|
|
54
54
|
return l(O2.configure.events, (e3) => {
|
|
55
55
|
I.value = E("opinion"), J.value = E("wfRemark"), I.value || (O2.configure.props.base.isMustOpinion = false);
|
|
56
56
|
}, { immediate: true }), (o2, l2) => {
|
|
57
|
-
const _2 = a("el-option"), V2 = a("el-select"),
|
|
58
|
-
return n(), i(K, { "label-width": "80px", size: "small" }, { default: t(() => [u(H, { modelValue: M.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(G, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [u(
|
|
57
|
+
const _2 = a("el-option"), V2 = a("el-select"), w2 = a("el-form-item"), O3 = a("el-button"), R2 = a("el-text"), E2 = a("el-switch"), G = a("el-collapse-item"), H = a("el-collapse"), K = a("el-form");
|
|
58
|
+
return n(), i(K, { "label-width": "80px", size: "small" }, { default: t(() => [u(H, { modelValue: M.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(G, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [u(w2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [u(_2, { label: "无操作", value: "noOperation" }), u(_2, { label: "刷新", value: "refresh" }), u(_2, { label: "关闭窗口", value: "closeWindow" }), u(_2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(n(true), g(c, null, f(L.value, (e3) => (n(), i(_2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => z.value = true) }, { default: t(() => [...l2[8] || (l2[8] = [p("编辑", -1)])]), _: 1 })]), _: 1 }), u(w2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: S.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => $.value = true) }, { default: t(() => [...l2[9] || (l2[9] = [p("编辑", -1)])]), _: 1 }), m(u(R2, { type: "success" }, { default: t(() => [...l2[10] || (l2[10] = [p(" 已设置条件. ", -1)])]), _: 1 }, 512), [[d, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), u(w2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: S.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => x.value = true) }, { default: t(() => [...l2[11] || (l2[11] = [p("编辑", -1)])]), _: 1 })]), _: 1 }), I.value ? (n(), i(w2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.base.isMustOpinion ? (n(), i(w2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: S.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : s("", true), J.value ? (n(), i(w2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.base.isMustRemark ? (n(), i(w2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: S.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : s("", true), B.value ? (n(), i(w2, { key: 4, label: "任务标题", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(h, { key: e2.configure.uuid + "_taskTitle", configure: e2.configure, pageDesign: e2.pageDesign, title: "任务标题生效条件" }, null, 8, ["configure", "pageDesign"]))]), _: 1 })) : s("", true)])]), _: 1 }), u(G, { title: "水印设置", name: "watermark", class: "amb-design-attr-group-header" }, { default: t(() => [u(D, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), z.value ? (n(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : s("", true), $.value ? (n(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onSave: P, onClose: F }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : s("", true), T.value ? (n(), i(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: S.value, onSave: q, onClose: W }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : s("", true), x.value ? (n(), i(k, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: N, onSave: U }, null, 8, ["modelValue"])) : s("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
59
59
|
};
|
|
60
60
|
} });
|
|
61
61
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./button-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const o = e(t, [["__scopeId", "data-v-
|
|
4
|
+
const o = e(t, [["__scopeId", "data-v-0f3331ae"]]);
|
|
5
5
|
export {
|
|
6
6
|
o as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as t, withCtx as s, createVNode as u, createElementBlock as n, createCommentVNode as r, Fragment as d, createElementVNode as p, renderList as c, unref as m, createTextVNode as f, withDirectives as g, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import "../../../../../../stores/page-store.js";
|
|
4
4
|
/* empty css */
|
|
@@ -6,14 +6,14 @@ import v from "../../common/common-icon-bind.vue.js";
|
|
|
6
6
|
import _ from "agilebuilder-ui/src/utils/request";
|
|
7
7
|
import y from "../../common/common-function-code.vue.js";
|
|
8
8
|
import "@element-plus/icons";
|
|
9
|
-
import { Close as U, Check as
|
|
9
|
+
import { Close as U, Check as h } from "@element-plus/icons-vue";
|
|
10
10
|
import "uuid";
|
|
11
11
|
import "../../../../../../stores/table-store.js";
|
|
12
12
|
import "../../../../../../stores/statistics-table-store.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { getTableConfigByTableUuid as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
14
|
+
import { getTableConfigByTableUuid as k } from "../../../../utils/page-table-util.js";
|
|
15
|
+
import x from "../../common/common-i18n-key-input.vue.js";
|
|
16
|
+
import D from "../../chart/statistical-table/component/link-table.vue.js";
|
|
17
17
|
import P from "../../common/common-template-select.vue.js";
|
|
18
18
|
const j = { class: "collapse-item-content" }, w = { class: "collapse-item-content" }, T = { class: "collapse-item-content" }, z = { class: "collapse-item-content" }, C = { class: "collapse-item-content" }, E = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
19
19
|
const E2 = e2, q = a(["base", "appearance", "otherSettings", "linkPage", "templateConfig"]), F = a({}), R = a([]), A = a($()), I = a(false);
|
|
@@ -22,14 +22,14 @@ const j = { class: "collapse-item-content" }, w = { class: "collapse-item-conten
|
|
|
22
22
|
}), void 0 === E2.configure.props.base.isEnableRequired && (E2.configure.props.base.isEnableRequired = true), !E2.configure.props.linkPage || E2.configure.props.linkPage instanceof Array || (E2.configure.props.linkPage = [{ linkPage: E2.configure.props.linkPage }]), I.value = true;
|
|
23
23
|
const S = a([]);
|
|
24
24
|
function $() {
|
|
25
|
-
return
|
|
25
|
+
return k(E2.pageDesign, E2.configure);
|
|
26
26
|
}
|
|
27
27
|
function M(e3) {
|
|
28
28
|
const a2 = $();
|
|
29
29
|
A.value = a2;
|
|
30
30
|
}
|
|
31
31
|
return l(() => {
|
|
32
|
-
|
|
32
|
+
!function() {
|
|
33
33
|
var _a;
|
|
34
34
|
const e3 = (_a = E2.pageDesign) == null ? void 0 : _a.systemVersion;
|
|
35
35
|
_.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${E2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
|
|
@@ -37,12 +37,12 @@ const j = { class: "collapse-item-content" }, w = { class: "collapse-item-conten
|
|
|
37
37
|
});
|
|
38
38
|
}(), E2.pageDesign.tableUuids && E2.pageDesign.tableUuids.length > 0 && (S.value = E2.pageDesign.tableUuids);
|
|
39
39
|
}), (a2, l2) => {
|
|
40
|
-
const _2 = o("el-option"),
|
|
41
|
-
return
|
|
40
|
+
const _2 = o("el-option"), k2 = o("el-select"), F2 = o("el-form-item"), R2 = o("el-input"), $2 = o("el-radio"), N = o("el-radio-group"), O = o("el-collapse-item"), B = o("el-radio-button"), G = o("el-switch"), H = o("el-collapse"), J = o("el-form");
|
|
41
|
+
return t(), i(J, { "label-width": "80px", size: "small" }, { default: s(() => [u(H, { modelValue: q.value, "onUpdate:modelValue": l2[26] || (l2[26] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [e2.configure.isFlow ? r("", true) : (t(), n(d, { key: 0 }, [u(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", j, [u(F2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: s(() => [(t(true), n(d, null, c(m(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(F2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(F2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [u(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "large" }, { default: s(() => [...l2[27] || (l2[27] = [f("大", -1)])]), _: 1 }), u($2, { value: "default" }, { default: s(() => [...l2[28] || (l2[28] = [f("中", -1)])]), _: 1 }), u($2, { value: "small" }, { default: s(() => [...l2[29] || (l2[29] = [f("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "default" }, { default: s(() => [...l2[30] || (l2[30] = [f("普通", -1)])]), _: 1 }), u($2, { value: "disabled" }, { default: s(() => [...l2[31] || (l2[31] = [f("禁用", -1)])]), _: 1 }), u($2, { value: "hidden" }, { default: s(() => [...l2[32] || (l2[32] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", w, [u(F2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: s(() => [u(_2, { label: "primary", value: "primary" }), u(_2, { label: "success", value: "success" }), u(_2, { label: "warning", value: "warning" }), u(_2, { label: "danger", value: "danger" }), u(_2, { label: "info", value: "info" }), u(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
|
|
42
42
|
E2.configure.props.base.iconType = e4, E2.configure.props.base.iconValue = a4, a4 || (E2.configure.props.base.isTextIcon = false);
|
|
43
|
-
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }),
|
|
43
|
+
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), g(u(F2, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: s(() => [u(B, { value: "left" }, { default: s(() => [...l2[33] || (l2[33] = [f("标题前", -1)])]), _: 1 }), u(B, { value: "right" }, { default: s(() => [...l2[34] || (l2[34] = [f("标题后", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), u(F2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (t(), i(F2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), u(F2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => [...l2[35] || (l2[35] = [f("是", -1)])]), _: 1 }), u($2, { value: false }, { default: s(() => [...l2[36] || (l2[36] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => [...l2[37] || (l2[37] = [f("是", -1)])]), _: 1 }), u($2, { value: false }, { default: s(() => [...l2[38] || (l2[38] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: s(() => [u($2, { value: "button" }, { default: s(() => [...l2[39] || (l2[39] = [f("button", -1)])]), _: 1 }), u($2, { value: "submit" }, { default: s(() => [...l2[40] || (l2[40] = [f("submit", -1)])]), _: 1 }), u($2, { value: "reset" }, { default: s(() => [...l2[41] || (l2[41] = [f("reset", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), u(O, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", T, [I.value ? (t(), i(D, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "context", "system", "request", "fixed", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: A.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
|
|
44
44
|
E2.configure.props.linkPage = e4;
|
|
45
|
-
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : r("", true)])]), _: 1 }),
|
|
45
|
+
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : r("", true)])]), _: 1 }), u(O, { title: "模板配置", name: "templateConfig", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", z, [u(P, { modelValue: e2.configure.props.base.templateFiles, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.templateFiles = a3), pageDesign: e2.pageDesign, tableConfigure: A.value }, null, 8, ["modelValue", "pageDesign", "tableConfigure"])])]), _: 1 })], 64)), u(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", C, [!e2.configure.isFlow ? (t(), n(d, { key: 1 }, [u(F2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "是否异步", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "执行条件", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: s(() => [u(_2, { label: "无限制", value: "any" }), u(_2, { label: "选单行", value: "one" }), u(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "对应表格", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: M }, { default: s(() => [(t(true), n(d, null, c(S.value, (e3) => (t(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : (t(), i(F2, { key: 0, label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
46
46
|
};
|
|
47
47
|
} });
|
|
48
48
|
export {
|
package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js
CHANGED
|
@@ -4,7 +4,7 @@ const s = { style: { padding: "8px 0px 0px 0px" } }, p = e({ __name: "buttongrou
|
|
|
4
4
|
const p2 = l(["base"]);
|
|
5
5
|
return (l2, f) => {
|
|
6
6
|
const c = a("el-text"), g = a("el-form-item"), b = a("el-input"), _ = a("el-radio"), V = a("el-radio-group"), x = a("el-input-number"), v = a("el-collapse-item"), y = a("el-collapse"), U = a("el-form");
|
|
7
|
-
return u(), t(U, { "label-width": "80px", size: "small" }, { default: o(() => [d(y, { modelValue: p2.value, "onUpdate:modelValue": f[3] || (f[3] = (e3) => p2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(v, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", s, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f[0] || (f[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f[1] || (f[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => f[4] || (f[4] = [r("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => f[5] || (f[5] = [r("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "内容间距" }, { default: o(() => [d(x, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": f[2] || (f[2] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
7
|
+
return u(), t(U, { "label-width": "80px", size: "small" }, { default: o(() => [d(y, { modelValue: p2.value, "onUpdate:modelValue": f[3] || (f[3] = (e3) => p2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(v, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", s, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f[0] || (f[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f[1] || (f[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => [...f[4] || (f[4] = [r("普通", -1)])]), _: 1 }), d(_, { value: "hidden" }, { default: o(() => [...f[5] || (f[5] = [r("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "内容间距" }, { default: o(() => [d(x, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": f[2] || (f[2] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
8
8
|
};
|
|
9
9
|
} });
|
|
10
10
|
export {
|
package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js
CHANGED
|
@@ -39,9 +39,9 @@ const j = e({ __name: "buttongroup-design", props: { pageDesign: {}, configure:
|
|
|
39
39
|
function R(e3) {
|
|
40
40
|
y(x, e3, true, false);
|
|
41
41
|
}
|
|
42
|
-
return (
|
|
43
|
-
const
|
|
44
|
-
return s(), u(
|
|
42
|
+
return (t2, i2) => {
|
|
43
|
+
const n2 = o("el-button-group");
|
|
44
|
+
return s(), u(n2, { ref_key: "thisRef", ref: k, class: l([h.value, "amb-design-item-default amb-button-group-main"]), style: r(W.value) }, { default: g(() => [(s(true), c(a, null, m(f(x), (t3, i3) => (s(), u(p, { key: t3, pageDesign: e2.pageDesign, configure: t3, selectWidget: e2.selectWidget, indexObj: e2.indexObj, onOnSelectWidget: A, onOnCopy: F, onOnDelete: R }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["class", "style"]);
|
|
45
45
|
};
|
|
46
46
|
} });
|
|
47
47
|
export {
|
|
@@ -30,13 +30,13 @@ const w = e({ __name: "combination", props: { conditionList: { type: String, def
|
|
|
30
30
|
y.conditionList ? h.value = JSON.parse(y.conditionList) : y.list && (h.value = y.list);
|
|
31
31
|
}), (l2, a2) => {
|
|
32
32
|
const c2 = o("el-button"), _2 = o("el-row"), w3 = o("el-option"), U2 = o("el-select"), C2 = o("el-table-column"), B = o("el-table"), O = o("el-dialog");
|
|
33
|
-
return u(), t(O, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(b), plain: "", type: "primary", onClick: S }, { default: d(() => a2[1] || (a2[1] = [i(" 保存 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(b), plain: "", type: "primary", onClick: z }, { default: d(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(f), plain: "", type: "primary", onClick: j }, { default: d(() => a2[3] || (a2[3] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), r(B, { ref: "tableRef", "highlight-current-row": "", onCurrentChange: L, data: h.value, style: { width: "100%" } }, { default: d(() => [r(C2, { prop: "date", label: "(" }, { default: d((e3) => [r(U2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: "(", value: "(" }), r(w3, { label: "((", value: "((" }), r(w3, { label: "(((", value: "(((" })]), _:
|
|
33
|
+
return u(), t(O, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(b), plain: "", type: "primary", onClick: S }, { default: d(() => [...a2[1] || (a2[1] = [i(" 保存 ", -1)])]), _: 1 }, 8, ["icon"]), r(c2, { icon: n(b), plain: "", type: "primary", onClick: z }, { default: d(() => [...a2[2] || (a2[2] = [i(" 添加 ", -1)])]), _: 1 }, 8, ["icon"]), r(c2, { icon: n(f), plain: "", type: "primary", onClick: j }, { default: d(() => [...a2[3] || (a2[3] = [i(" 删除 ", -1)])]), _: 1 }, 8, ["icon"])]), _: 1 }), r(B, { ref: "tableRef", "highlight-current-row": "", onCurrentChange: L, data: h.value, style: { width: "100%" } }, { default: d(() => [r(C2, { prop: "date", label: "(" }, { default: d((e3) => [r(U2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: "(", value: "(" }), r(w3, { label: "((", value: "((" }), r(w3, { label: "(((", value: "(((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "name", label: "字段名(*)" }, { default: d((l3) => [r(U2, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", filterable: "", size: "default", onChange: (e3) => function(e4, l4, a3) {
|
|
34
34
|
const o2 = y.fieldMap[a3];
|
|
35
35
|
l4.dataType = o2.dataType, l4.propName = o2.name, N.value[e4] = V(o2);
|
|
36
|
-
}(l3.$index, l3.row, l3.row.propDbName) }, { default: d(() => [(u(true), p(m, null, s(e2.fieldNameList, (e3) => (u(), t(w3, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _:
|
|
36
|
+
}(l3.$index, l3.row, l3.row.propDbName) }, { default: d(() => [(u(true), p(m, null, s(e2.fieldNameList, (e3) => (u(), t(w3, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), r(C2, { prop: "address", label: "操作符" }, { default: d((e3) => [r(U2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", size: "default" }, { default: d(() => [(u(true), p(m, null, s(n(V)(e3.row), (e4) => (u(), t(w3, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "值(*)" }, { default: d((e3) => [r(v, { modelValue: e3.row.propValue, objModelOptions: k.value, "onUpdate:modelValue": (l3) => {
|
|
37
37
|
return a3 = l3, void (e3.row.propValue = a3);
|
|
38
38
|
var a3;
|
|
39
|
-
} }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "日期格式" }, { default: d((e3) => [r(U2, { modelValue: e3.row.date, "onUpdate:modelValue": (l3) => e3.row.date = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "年份", value: "year" }), r(w3, { label: "季度", value: "quarter" }), r(w3, { label: "月份", value: "month" }), r(w3, { label: "日", value: "day" })]), _:
|
|
39
|
+
} }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "日期格式" }, { default: d((e3) => [r(U2, { modelValue: e3.row.date, "onUpdate:modelValue": (l3) => e3.row.date = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "年份", value: "year" }), r(w3, { label: "季度", value: "quarter" }), r(w3, { label: "月份", value: "month" }), r(w3, { label: "日", value: "day" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: ")" }, { default: d((e3) => [r(U2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: ")", value: ")" }), r(w3, { label: "))", value: "))" }), r(w3, { label: ")))", value: ")))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "并且/或者" }, { default: d((e3) => [r(U2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "或者", value: "or" }), r(w3, { label: "并且", value: "and" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "变量为空时" }, { default: d((e3) => [r(U2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "Null", value: "null" }), r(w3, { label: "忽略(1=1)", value: "1=1" }), r(w3, { label: "不符合(1<>1)", value: "1<>1" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 });
|
|
40
40
|
};
|
|
41
41
|
} });
|
|
42
42
|
export {
|