super-page-designer 2.3.13-sit1-design1 → 2.3.14-design1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +73 -62
- package/dist/es/components/design/utils/chart-design-util.js +23 -17
- package/dist/es/components/design/utils/form-design-util.js +2 -2
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +34 -33
- 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 +9 -9
- 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-base.vue.js +9 -8
- 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 +18 -13
- 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-style.vue.js +13 -12
- 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-emphasis.vue.js +11 -0
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-emphasis.vue2.js +4 -0
- 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.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +27 -0
- 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 +5 -5
- 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 +8 -8
- 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 +10 -10
- 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 +5 -5
- 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.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-style.vue.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 +5 -5
- 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-icon-bind.vue2.js +27 -24
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-task-title.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +127 -0
- 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/attr-style.vue.js +2 -2
- 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 +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +5 -5
- 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-attr-style.vue.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 +44 -44
- 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 +12 -12
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/link/link-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.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.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +88 -98
- 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 +39 -39
- 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 +28 -0
- package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +33 -0
- package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +28 -0
- package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +62 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue.js +14 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue2.js +15 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue2.js +28 -0
- 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 +14 -10
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
- package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +18 -17
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +2 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +4 -4
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +3 -2
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +18 -28
- 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 +56 -6
- package/package.json +4 -4
package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as l, createBlock as a, openBlock as o, withCtx as u, createElementVNode as t, createVNode as d, withDirectives as n, vShow as r, createTextVNode as i } from "vue";
|
|
2
2
|
const m = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "style-line", props: { configure: { type: Object, required: true } }, setup: (e2) => (s2, p) => {
|
|
3
3
|
const c = l("el-color-picker"), y = l("el-form-item"), b = l("el-option"), f = l("el-select"), g = l("el-input-number"), V = l("el-divider"), v = l("el-collapse-item");
|
|
4
|
-
return o(), a(v, { title: "折线", name: "styleLine", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(y, { label: "颜色", style: { "margin-top": "4px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "1", value: "1" }), d(b, { label: "0.9", value: "0.9" }), d(b, { label: "0.8", value: "0.8" }), d(b, { label: "0.7", value: "0.7" }), d(b, { label: "0.6", value: "0.6" }), d(b, { label: "0.5", value: "0.5" }), d(b, { label: "0.4", value: "0.4" }), d(b, { label: "0.3", value: "0.3" }), d(b, { label: "0.2", value: "0.2" }), d(b, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.lineWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.lineWidth = l2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.lineType, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.lineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "solid", value: "solid" }), d(b, { label: "dashed", value: "dashed" }), d(b, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "阴影颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(y, { label: "阴影模糊", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "垂直偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), d(V, null, { default: u(() => p[10] || (p[10] = [i("拐点标记")])), _: 1 }), d(y, { label: "标记图形", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.symbol, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.symbol = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "none", value: "none" }), d(b, { label: "circle", value: "circle" }), d(b, { label: "rect", value: "rect" }), d(b, { label: "roundRect", value: "roundRect" }), d(b, { label: "triangle", value: "triangle" }), d(b, { label: "diamond", value: "diamond" }), d(b, { label: "pin", value: "pin" }), d(b, { label: "arrow", value: "arrow" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "标记大小", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.symbolSize, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.symbolSize = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
|
|
4
|
+
return o(), a(v, { title: "折线", name: "styleLine", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(y, { label: "颜色", style: { "margin-top": "4px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "1", value: "1" }), d(b, { label: "0.9", value: "0.9" }), d(b, { label: "0.8", value: "0.8" }), d(b, { label: "0.7", value: "0.7" }), d(b, { label: "0.6", value: "0.6" }), d(b, { label: "0.5", value: "0.5" }), d(b, { label: "0.4", value: "0.4" }), d(b, { label: "0.3", value: "0.3" }), d(b, { label: "0.2", value: "0.2" }), d(b, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.lineWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.lineWidth = l2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.lineType, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.lineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "solid", value: "solid" }), d(b, { label: "dashed", value: "dashed" }), d(b, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "阴影颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(y, { label: "阴影模糊", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "垂直偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), d(V, null, { default: u(() => [...p[10] || (p[10] = [i("拐点标记", -1)])]), _: 1 }), d(y, { label: "标记图形", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.symbol, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.symbol = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "none", value: "none" }), d(b, { label: "circle", value: "circle" }), d(b, { label: "rect", value: "rect" }), d(b, { label: "roundRect", value: "roundRect" }), d(b, { label: "triangle", value: "triangle" }), d(b, { label: "diamond", value: "diamond" }), d(b, { label: "pin", value: "pin" }), d(b, { label: "arrow", value: "arrow" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "标记大小", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.symbolSize, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.symbolSize = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
s as default
|
|
@@ -47,15 +47,15 @@ const V = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { float: "left
|
|
|
47
47
|
}();
|
|
48
48
|
}, { immediate: true }), (e3, l2) => {
|
|
49
49
|
const a2 = o("el-switch"), t2 = o("el-form-item"), g2 = o("el-col"), k3 = o("el-row"), z2 = o("el-option"), F2 = o("el-select"), T = o("el-table-column"), j = o("el-icon"), S = o("el-table"), D = o("el-collapse-item");
|
|
50
|
-
return u(), i(D, { title: "Click参数设置", name: "clickTrigger", class: "amb-design-attr-group-header" }, { default: r(() => [n("div", V, [c(k3, { style: { "margin-top": "4px" } }, { default: r(() => [c(g2, { span: 9 }, { default: r(() => [c(t2, { label: "选中效果" }, { default: r(() => [c(a2, { modelValue: y.value.selected, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => y.value.selected = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), c(g2, { span: 12 }, { default: r(() => [c(t2, { label: "多选" }, { default: r(() => [c(a2, { modelValue: y.value.multiple, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => y.value.multiple = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), c(S, { data: y.value.variables, style: { "margin-top": "-15px" } }, { default: r(() => [c(T, { prop: "fieldName", label: "字段", width: "90" }, { default: r((e4) => [c(F2, { size: "small", modelValue: e4.row.fieldName, "onUpdate:modelValue": (l3) => e4.row.fieldName = l3, title: e4.row.fieldName, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(u(true), s(d, null, f(N.value, (e5) => (u(), i(z2, { key: e5.value, label: e5.label, value: e5.value }, { default: r(() => [n("span", h, m(e5.label), 1), n("span", w, m(e5.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _:
|
|
50
|
+
return u(), i(D, { title: "Click参数设置", name: "clickTrigger", class: "amb-design-attr-group-header" }, { default: r(() => [n("div", V, [c(k3, { style: { "margin-top": "4px" } }, { default: r(() => [c(g2, { span: 9 }, { default: r(() => [c(t2, { label: "选中效果" }, { default: r(() => [c(a2, { modelValue: y.value.selected, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => y.value.selected = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), c(g2, { span: 12 }, { default: r(() => [c(t2, { label: "多选" }, { default: r(() => [c(a2, { modelValue: y.value.multiple, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => y.value.multiple = e4) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), c(S, { data: y.value.variables, style: { "margin-top": "-15px" } }, { default: r(() => [c(T, { prop: "fieldName", label: "字段", width: "90" }, { default: r((e4) => [c(F2, { size: "small", modelValue: e4.row.fieldName, "onUpdate:modelValue": (l3) => e4.row.fieldName = l3, title: e4.row.fieldName, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(u(true), s(d, null, f(N.value, (e5) => (u(), i(z2, { key: e5.value, label: e5.label, value: e5.value }, { default: r(() => [n("span", h, m(e5.label), 1), n("span", w, m(e5.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), c(T, { prop: "variable", label: "设置到" }, { default: r((e4) => [c(_, { modelValue: e4.row.variable, paramTypes: "['data','page']", "onUpdate:modelValue": (l3) => {
|
|
51
51
|
return a3 = l3, void ((t3 = e4.row) && (t3.variable = a3));
|
|
52
52
|
var a3, t3;
|
|
53
|
-
} }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), c(T, { label: "操作", width: "60" }, { default: r((e4) => [c(j, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => U(e4.row) }, { default: r(() => [c(p(v))]), _:
|
|
53
|
+
} }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), c(T, { label: "操作", width: "60" }, { default: r((e4) => [c(j, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => U(e4.row) }, { default: r(() => [c(p(v))]), _: 1 }, 8, ["onClick"]), c(j, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e5) {
|
|
54
54
|
let l4 = x(e5);
|
|
55
55
|
l4 > -1 && (y.value.variables.splice(l4, 1), 0 == y.value.variables.length && (C = setTimeout(function() {
|
|
56
56
|
U(null);
|
|
57
57
|
}, 0)));
|
|
58
|
-
}(e4.row) }, { default: r(() => [c(p(b))]), _:
|
|
58
|
+
}(e4.row) }, { default: r(() => [c(p(b))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])])]), _: 1 });
|
|
59
59
|
};
|
|
60
60
|
} });
|
|
61
61
|
export {
|
|
@@ -65,7 +65,7 @@ const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left
|
|
|
65
65
|
const t2 = i("el-form-item"), h2 = i("el-option"), _2 = i("el-select"), $2 = i("el-text"), O2 = i("el-switch"), S2 = i("el-radio"), j2 = i("QuestionFilled"), C3 = i("el-icon"), L2 = i("el-tooltip"), J2 = i("el-input"), N2 = i("el-radio-group"), R = i("el-collapse-item");
|
|
66
66
|
return o(), r(R, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", D, [s(t2, { label: "选择服务", class: "amb-design-attr-item" }, { default: n(() => [s(x, { pageDesign: d(I), rowObj: d(B).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
|
|
67
67
|
B.service.id, B.service.simpleCode = l4, B.service.id = t4, B.service.name = a4, W();
|
|
68
|
-
}(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [s(_2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(Q.value, (e3, l3) => (o(), r(h2, { key: l3, label: e3.label, value: e3.value }, { default: n(() => [u("span", T, g(e3.label), 1), u("span", w, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s($2, { type: "success", size: "small" }, { default: n(() => a2[7] || (a2[7] = [v("默认为根目录")])), _: 1 })]), _: 1 }), s(t2, { label: "结果设值到", class: "amb-design-attr-item" }, { default: n(() => [(o(), r(F, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.resultSet, "onUpdate:modelValue": E }, null, 8, ["modelValue"]))]), _: 1 }), s(t2, { label: "立即查询", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.initializationQuery, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.initializationQuery = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(t2, { label: "是否导出", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.exportable, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.exportable = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(V, { ref: "dataOriginServiceInRef", dataOrigin: e2.configure.props.dataOrigin }, null, 8, ["dataOrigin"]), "pie" == e2.chartType ? (o(), r(N2, { key: 0, modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: n(() => [b(s(t2, { class: "amb-design-attr-item" }, { label: n(() => [s(S2, { value: "variable" }, { default: n(() => a2[8] || (a2[8] = [v("数据字段")])), _: 1 })]), default: n(() => [s(_2, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.yaxisField = l3), disabled: "variable" != e2.configure.props.yaxisSource, title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(q.value, (e3) => (o(), r(h2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: n(() => [u("span", U, g(e3.numLabel), 1), u("span", k, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "title"])]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(s(S2, { value: "formula", style: { "margin-top": "25px" } }, { default: n(() => [a2[10] || (a2[10] = v("计算公式 ")), s(L2, { class: "box-item", effect: "dark", placement: "top-start" }, { content: n(() => a2[9] || (a2[9] = [v("字段值: ${row.字段名}"), u("br", null, null, -1), v(" 最大值: ${max.字段名}"), u("br", null, null, -1), v(" 求和: ${sum.字段名}"), u("br", null, null, -1), v(" 均值: ${avg.字段名}"), u("br", null, null, -1), v(" 最小值: ${min.字段名}"), u("br", null, null, -1), v(" 最大值: ${max.字段名}"), u("br", null, null, -1), v(" 累计值: ${add.字段名}"), u("br", null, null, -1), v(" 其他可用变量如${page},${data},${task},${request},${context},${system}"), u("br", null, null, -1)])), default: n(() => [s(C3, { size: "16" }, { default: n(() => [s(j2)]), _: 1 })]), _: 1 })]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(u("div", z, [s(J2, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])], 512), [[y, "pie" == e2.chartType]])]), _: 1 }, 8, ["modelValue"])) : c("", true)])]), _: 1 });
|
|
68
|
+
}(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [s(_2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(Q.value, (e3, l3) => (o(), r(h2, { key: l3, label: e3.label, value: e3.value }, { default: n(() => [u("span", T, g(e3.label), 1), u("span", w, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s($2, { type: "success", size: "small" }, { default: n(() => [...a2[7] || (a2[7] = [v("默认为根目录", -1)])]), _: 1 })]), _: 1 }), s(t2, { label: "结果设值到", class: "amb-design-attr-item" }, { default: n(() => [(o(), r(F, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.resultSet, "onUpdate:modelValue": E }, null, 8, ["modelValue"]))]), _: 1 }), s(t2, { label: "立即查询", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.initializationQuery, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.initializationQuery = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(t2, { label: "是否导出", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.exportable, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.exportable = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(V, { ref: "dataOriginServiceInRef", dataOrigin: e2.configure.props.dataOrigin }, null, 8, ["dataOrigin"]), "pie" == e2.chartType ? (o(), r(N2, { key: 0, modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: n(() => [b(s(t2, { class: "amb-design-attr-item" }, { label: n(() => [s(S2, { value: "variable" }, { default: n(() => [...a2[8] || (a2[8] = [v("数据字段", -1)])]), _: 1 })]), default: n(() => [s(_2, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.yaxisField = l3), disabled: "variable" != e2.configure.props.yaxisSource, title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(q.value, (e3) => (o(), r(h2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: n(() => [u("span", U, g(e3.numLabel), 1), u("span", k, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "title"])]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(s(S2, { value: "formula", style: { "margin-top": "25px" } }, { default: n(() => [a2[10] || (a2[10] = v("计算公式 ", -1)), s(L2, { class: "box-item", effect: "dark", placement: "top-start" }, { content: n(() => [...a2[9] || (a2[9] = [v("字段值: ${row.字段名}", -1), u("br", null, null, -1), v(" 最大值: ${max.字段名}", -1), u("br", null, null, -1), v(" 求和: ${sum.字段名}", -1), u("br", null, null, -1), v(" 均值: ${avg.字段名}", -1), u("br", null, null, -1), v(" 最小值: ${min.字段名}", -1), u("br", null, null, -1), v(" 最大值: ${max.字段名}", -1), u("br", null, null, -1), v(" 累计值: ${add.字段名}", -1), u("br", null, null, -1), v(" 其他可用变量如${page},${data},${task},${request},${context},${system}", -1), u("br", null, null, -1)])]), default: n(() => [s(C3, { size: "16" }, { default: n(() => [s(j2)]), _: 1 })]), _: 1 })]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(u("div", z, [s(J2, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])], 512), [[y, "pie" == e2.chartType]])]), _: 1 }, 8, ["modelValue"])) : c("", true)])]), _: 1 });
|
|
69
69
|
};
|
|
70
70
|
} });
|
|
71
71
|
export {
|
|
@@ -50,20 +50,20 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { "text-align"
|
|
|
50
50
|
if (l4 < 1) return;
|
|
51
51
|
const o3 = S2.configure.props.groups;
|
|
52
52
|
[o3[l4 - 1], o3[l4]] = [o3[l4], o3[l4 - 1]];
|
|
53
|
-
}(e3.row) }, { default: p(() => [n(c(x))]), _:
|
|
53
|
+
}(e3.row) }, { default: p(() => [n(c(x))]), _: 1 }, 8, ["onClick"]), n(r2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
54
54
|
let l4 = z(e4);
|
|
55
55
|
if (-1 == l4 || S2.configure.props.groups.length == l4 + 1) return;
|
|
56
56
|
const o3 = S2.configure.props.groups;
|
|
57
57
|
[o3[l4], o3[l4 + 1]] = [o3[l4 + 1], o3[l4]];
|
|
58
|
-
}(e3.row) }, { default: p(() => [n(c(V))]), _:
|
|
58
|
+
}(e3.row) }, { default: p(() => [n(c(V))]), _: 1 }, 8, ["onClick"])])]), _: 1 }), n(w2, { prop: "label", label: "维度字段", width: "90" }, { default: p((e3) => [n(E2, { modelValue: e3.row.group, "onUpdate:modelValue": (l3) => e3.row.group = l3, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(w2, { prop: "value", label: "绑定字段", width: "90" }, { default: p((e3) => [n(P, { size: "small", modelValue: e3.row.target, "onUpdate:modelValue": (l3) => e3.row.target = l3, title: e3.row.target, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: p(() => [(t(true), g(d, null, f(F.value, (e4) => (t(), u(G2, { key: e4.value, label: e4.label, value: e4.value }, { default: p(() => [i("span", D, m(e4.label), 1), i("span", U, m(e4.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), n(w2, { label: "操作", width: "60" }, { default: p((e3) => [n(r2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => T(e3.row) }, { default: p(() => [n(c(_))]), _: 1 }, 8, ["onClick"]), n(r2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
59
59
|
let l4 = z(e4);
|
|
60
60
|
l4 > -1 && (S2.configure.props.groups.splice(l4, 1), 0 == S2.configure.props.groups.length && (j = setTimeout(function() {
|
|
61
61
|
T(null);
|
|
62
62
|
}, 10)));
|
|
63
|
-
}(e3.row) }, { default: p(() => [n(c(h))]), _:
|
|
63
|
+
}(e3.row) }, { default: p(() => [n(c(h))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(W, { label: "数据钻取", style: { "margin-top": "10px", "margin-bottom": "-15px" } }, { default: p(() => [n(q, { modelValue: e2.configure.props.enableDrill, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.enableDrill = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(n(W, { label: "维度来源", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.groupSource, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.groupSource = l3), placeholder: "默认", clearable: "" }, { default: p(() => [n(G2, { label: "固定值", value: "fix" }), n(G2, { label: "变量", value: "variable" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.enableDrill]]), s(n(W, { label: "显示位置", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.groupPosition, "onUpdate:modelValue": o2[2] || (o2[2] = (l3) => e2.configure.props.groupPosition = l3), placeholder: "不显示", clearable: "" }, { default: p(() => [n(G2, { label: "居左", value: "left" }), n(G2, { label: "居中", value: "center" }), n(G2, { label: "居右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.groupSource || "fix" == e2.configure.props.groupSource || e2.configure.props.enableDrill]]), s(n(W, { label: "显示组件", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(B, { modelValue: e2.configure.props.groupComponent, "onUpdate:modelValue": o2[3] || (o2[3] = (l3) => e2.configure.props.groupComponent = l3) }, { default: p(() => [n(A, { value: "group" }, { default: p(() => [...o2[7] || (o2[7] = [v("选项组", -1)])]), _: 1 }), n(A, { value: "radio" }, { default: p(() => [...o2[8] || (o2[8] = [v("单选", -1)])]), _: 1 }), n(A, { value: "checkbox" }, { default: p(() => [...o2[9] || (o2[9] = [v("多选", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "variable" != e2.configure.props.groupSource && e2.configure.props.groupPosition && !e2.configure.props.enableDrill]]), s(n(W, { label: "维度变量", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(y, { modelValue: e2.configure.props.groupVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => {
|
|
64
64
|
return l3 = e3, void (S2.configure.props.groupVariable = l3);
|
|
65
65
|
var l3;
|
|
66
|
-
}) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, "variable" == e2.configure.props.groupSource && !e2.configure.props.enableDrill]]), s(n(W, { label: "多维度显示", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(B, { modelValue: e2.configure.props.mulGroupShow, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.mulGroupShow = l3) }, { default: p(() => [n(A, { value: "space" }, { default: p(() => o2[10] || (o2[10] = [v("空格")])), _: 1 }), n(A, { value: "break" }, { default: p(() => o2[11] || (o2[11] = [v("换行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.enableDrill]]), s(n(W, { label: "最后层级时", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.drillEndTrigger, "onUpdate:modelValue": o2[6] || (o2[6] = (l3) => e2.configure.props.drillEndTrigger = l3), clearable: "", placeholder: "无动作" }, { default: p(() => [n(G2, { value: "clearDrill", label: "清除钻取层级" }), n(G2, { value: "clickEvent", label: "触发Click跳转" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.enableDrill]])])]), _: 1 });
|
|
66
|
+
}) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, "variable" == e2.configure.props.groupSource && !e2.configure.props.enableDrill]]), s(n(W, { label: "多维度显示", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(B, { modelValue: e2.configure.props.mulGroupShow, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.mulGroupShow = l3) }, { default: p(() => [n(A, { value: "space" }, { default: p(() => [...o2[10] || (o2[10] = [v("空格", -1)])]), _: 1 }), n(A, { value: "break" }, { default: p(() => [...o2[11] || (o2[11] = [v("换行", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.enableDrill]]), s(n(W, { label: "最后层级时", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.drillEndTrigger, "onUpdate:modelValue": o2[6] || (o2[6] = (l3) => e2.configure.props.drillEndTrigger = l3), clearable: "", placeholder: "无动作" }, { default: p(() => [n(G2, { value: "clearDrill", label: "清除钻取层级" }), n(G2, { value: "clickEvent", label: "触发Click跳转" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.enableDrill]])])]), _: 1 });
|
|
67
67
|
};
|
|
68
68
|
} });
|
|
69
69
|
export {
|
package/dist/es/components/design/views/assemblys/chart/common/common-attr-serieslist.vue.js
CHANGED
|
@@ -15,7 +15,7 @@ const m = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { "text-align"
|
|
|
15
15
|
if (t4 < 1) return;
|
|
16
16
|
const l2 = x2.configure.items;
|
|
17
17
|
[l2[t4 - 1], l2[t4]] = [l2[t4], l2[t4 - 1]];
|
|
18
|
-
}(e3.row) }, { default: o(() => [a(s(d))]), _:
|
|
18
|
+
}(e3.row) }, { default: o(() => [a(s(d))]), _: 1 }, 8, ["onClick"]), a(h, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (t3) => function(e4) {
|
|
19
19
|
let t4 = -1;
|
|
20
20
|
const i2 = x2.configure.items.length;
|
|
21
21
|
for (let l3 = 0; l3 < i2; l3++) if (x2.configure.items[l3].index == e4.index) {
|
|
@@ -25,12 +25,12 @@ const m = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { "text-align"
|
|
|
25
25
|
if (-1 == t4 || x2.configure.items.length == t4 + 1) return;
|
|
26
26
|
const l2 = x2.configure.items;
|
|
27
27
|
[l2[t4], l2[t4 + 1]] = [l2[t4 + 1], l2[t4]];
|
|
28
|
-
}(e3.row) }, { default: o(() => [a(s(f))]), _:
|
|
28
|
+
}(e3.row) }, { default: o(() => [a(s(f))]), _: 1 }, 8, ["onClick"])])]), _: 1 }), a(k, { prop: "label", label: "名称", width: "130" }, { default: o((e3) => [a(w, { modelValue: e3.row.props.title, "onUpdate:modelValue": (t3) => e3.row.props.title = t3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), a(k, { label: "操作", width: "90" }, { default: o((e3) => [a(h, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (t3) => function(e4) {
|
|
29
29
|
let t4 = -1, i2 = -1;
|
|
30
30
|
x2.configure.items.find((l2, n2) => {
|
|
31
31
|
l2.index == e4.index && (i2 = n2), l2.index > t4 && (t4 = l2.index);
|
|
32
32
|
}), i2 > -1 && x2.configure.items.splice(i2 + 1, 0, { type: x2.defaultType ? x2.defaultType : "bar", index: t4 + 1, uuid: u(), props: { title: ("radar" == x2.defaultType ? "数据" : "系列") + (t4 + 1) }, style: { yaxisLeft: {}, yaxisRight: {} } });
|
|
33
|
-
}(e3.row) }, { default: o(() => [a(s(c))]), _:
|
|
33
|
+
}(e3.row) }, { default: o(() => [a(s(c))]), _: 1 }, 8, ["onClick"]), a(h, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (t3) => function(e4) {
|
|
34
34
|
if (1 == x2.configure.items.length) return void alert("必须保留一个系列!");
|
|
35
35
|
if (!confirm("确定要删除吗?")) return;
|
|
36
36
|
let t4 = -1;
|
|
@@ -39,7 +39,7 @@ const m = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { "text-align"
|
|
|
39
39
|
break;
|
|
40
40
|
}
|
|
41
41
|
t4 > -1 && x2.configure.items.splice(t4, 1);
|
|
42
|
-
}(e3.row) }, { default: o(() => [a(s(p))]), _:
|
|
42
|
+
}(e3.row) }, { default: o(() => [a(s(p))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])])]), _: 1 }, 8, ["title"]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -13,7 +13,7 @@ const b = { style: { padding: "8px 0px 0px 0px" } }, V = e({ __name: "common-att
|
|
|
13
13
|
}();
|
|
14
14
|
}, { immediate: true }), (l2, o2) => {
|
|
15
15
|
const V3 = a("el-option"), y = a("el-select"), _ = a("el-form-item"), h = a("el-radio"), N = a("el-text"), S = a("el-radio-group"), U = a("el-divider"), w = a("el-switch"), T = a("el-input-number"), B = a("el-input"), F = a("el-collapse-item");
|
|
16
|
-
return u(), r(F, { title: "排序", name: "propsSort", class: "amb-design-attr-group-header" }, { default: i(() => [t("div", b, [p(_, { label: "排序对象", style: { "margin-top": "4px", "margin-bottom": "-5px" } }, { default: i(() => [p(y, { modelValue: e2.configure.props.orderByTarget, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.orderByTarget = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(u(true), d(s, null, n(x.value, (e3) => (u(), r(V3, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(S, { modelValue: e2.configure.props.orderSource, "onUpdate:modelValue": o2[3] || (o2[3] = (l3) => e2.configure.props.orderSource = l3) }, { default: i(() => [m(p(_, { style: { "margin-top": "15px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => o2[9] || (o2[9] = [c("排序方式")])), _: 1 })]), default: i(() => [p(y, { style: { width: "90px" }, modelValue: e2.configure.props.orderFix, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.orderFix = l3), disabled: "fix" != e2.configure.props.orderSource, placeholder: "默认", clearable: "" }, { default: i(() => [p(V3, { label: "升序", value: "asc" }), p(V3, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]]), m(p(_, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => o2[10] || (o2[10] = [c("排序变量")])), _: 1 })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.orderSource, modelValue: e2.configure.props.orderVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => v(e3, "orderVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => o2[11] || (o2[11] = [c("将根据此变量排序")])), _: 1 }, 512), [[f, "variable" == e2.configure.props.orderSource]])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]])]), _: 1 }, 8, ["modelValue"]), p(U, { style: { "margin-top": "-5px", "margin-bottom": "15px" } }), p(_, { label: "限制数量", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(w, { modelValue: e2.configure.props.limitQuantity, "onUpdate:modelValue": o2[4] || (o2[4] = (l3) => e2.configure.props.limitQuantity = l3) }, null, 8, ["modelValue"])]), _: 1 }), m(p(S, { modelValue: e2.configure.props.itemNumSource, "onUpdate:modelValue": o2[7] || (o2[7] = (l3) => e2.configure.props.itemNumSource = l3) }, { default: i(() => [p(_, { style: { "margin-top": "25px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => o2[12] || (o2[12] = [c("固定数量")])), _: 1 })]), default: i(() => [p(T, { disabled: e2.configure.props.itemNumSource && "fix" != e2.configure.props.itemNumSource, placeholder: "10", modelValue: e2.configure.props.itemNumFix, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.itemNumFix = l3), min: 1 }, null, 8, ["disabled", "modelValue"])]), _: 1 }), p(_, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => o2[13] || (o2[13] = [c("数量变量")])), _: 1 })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.itemNumSource, modelValue: e2.configure.props.itemNumVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => v(e3, "itemNumVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => o2[14] || (o2[14] = [c("将根据此变量控制显示数量")])), _: 1 }, 512), [[f, "variable" == e2.configure.props.itemNumSource]])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), [[f, e2.configure.props.limitQuantity]]), m(p(_, { label: "超出时别名", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(B, { modelValue: e2.configure.props.overItemAlias, "onUpdate:modelValue": o2[8] || (o2[8] = (l3) => e2.configure.props.overItemAlias = l3), placeholder: "请输入" }, null, 8, ["modelValue"]), p(N, { type: "success", size: "small" }, { default: i(() => o2[15] || (o2[15] = [c("未设置时不显示超出数量的数据项")])), _: 1 })]), _: 1 }, 512), [[f, e2.configure.props.limitQuantity]])])]), _: 1 });
|
|
16
|
+
return u(), r(F, { title: "排序", name: "propsSort", class: "amb-design-attr-group-header" }, { default: i(() => [t("div", b, [p(_, { label: "排序对象", style: { "margin-top": "4px", "margin-bottom": "-5px" } }, { default: i(() => [p(y, { modelValue: e2.configure.props.orderByTarget, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.orderByTarget = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(u(true), d(s, null, n(x.value, (e3) => (u(), r(V3, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(S, { modelValue: e2.configure.props.orderSource, "onUpdate:modelValue": o2[3] || (o2[3] = (l3) => e2.configure.props.orderSource = l3) }, { default: i(() => [m(p(_, { style: { "margin-top": "15px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => [...o2[9] || (o2[9] = [c("排序方式", -1)])]), _: 1 })]), default: i(() => [p(y, { style: { width: "90px" }, modelValue: e2.configure.props.orderFix, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.orderFix = l3), disabled: "fix" != e2.configure.props.orderSource, placeholder: "默认", clearable: "" }, { default: i(() => [p(V3, { label: "升序", value: "asc" }), p(V3, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]]), m(p(_, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => [...o2[10] || (o2[10] = [c("排序变量", -1)])]), _: 1 })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.orderSource, modelValue: e2.configure.props.orderVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => v(e3, "orderVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => [...o2[11] || (o2[11] = [c("将根据此变量排序", -1)])]), _: 1 }, 512), [[f, "variable" == e2.configure.props.orderSource]])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]])]), _: 1 }, 8, ["modelValue"]), p(U, { style: { "margin-top": "-5px", "margin-bottom": "15px" } }), p(_, { label: "限制数量", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(w, { modelValue: e2.configure.props.limitQuantity, "onUpdate:modelValue": o2[4] || (o2[4] = (l3) => e2.configure.props.limitQuantity = l3) }, null, 8, ["modelValue"])]), _: 1 }), m(p(S, { modelValue: e2.configure.props.itemNumSource, "onUpdate:modelValue": o2[7] || (o2[7] = (l3) => e2.configure.props.itemNumSource = l3) }, { default: i(() => [p(_, { style: { "margin-top": "25px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => [...o2[12] || (o2[12] = [c("固定数量", -1)])]), _: 1 })]), default: i(() => [p(T, { disabled: e2.configure.props.itemNumSource && "fix" != e2.configure.props.itemNumSource, placeholder: "10", modelValue: e2.configure.props.itemNumFix, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.itemNumFix = l3), min: 1 }, null, 8, ["disabled", "modelValue"])]), _: 1 }), p(_, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => [...o2[13] || (o2[13] = [c("数量变量", -1)])]), _: 1 })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.itemNumSource, modelValue: e2.configure.props.itemNumVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => v(e3, "itemNumVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => [...o2[14] || (o2[14] = [c("将根据此变量控制显示数量", -1)])]), _: 1 }, 512), [[f, "variable" == e2.configure.props.itemNumSource]])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), [[f, e2.configure.props.limitQuantity]]), m(p(_, { label: "超出时别名", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(B, { modelValue: e2.configure.props.overItemAlias, "onUpdate:modelValue": o2[8] || (o2[8] = (l3) => e2.configure.props.overItemAlias = l3), placeholder: "请输入" }, null, 8, ["modelValue"]), p(N, { type: "success", size: "small" }, { default: i(() => [...o2[15] || (o2[15] = [c("未设置时不显示超出数量的数据项", -1)])]), _: 1 })]), _: 1 }, 512), [[f, e2.configure.props.limitQuantity]])])]), _: 1 });
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as t, createBlock as u, openBlock as a, withCtx as n, createElementVNode as i, createElementBlock as o, withModifiers as s, createTextVNode as r, Fragment as c, renderList as p, createVNode as d, unref as f } from "vue";
|
|
2
|
+
import { getUuidv4 as m } from "../../../../utils/common-util.js";
|
|
3
|
+
import { Plus as v, Delete as g } from "@element-plus/icons-vue";
|
|
4
|
+
const k = { style: { "text-align": "center" } }, y = e({ __name: "common-attr-stack", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" } }, setup(e2) {
|
|
5
|
+
var _a;
|
|
6
|
+
const y2 = e2, h = l([]);
|
|
7
|
+
function b(e3) {
|
|
8
|
+
h.value.splice(e3 + 1, 0, { series: [], uuid: m() }), _();
|
|
9
|
+
}
|
|
10
|
+
function _() {
|
|
11
|
+
const e3 = [];
|
|
12
|
+
for (let l2 = 0; l2 < h.value.length; l2++) h.value[l2] && h.value[l2].series && h.value[l2].series.length > 0 && e3.push(h.value[l2]);
|
|
13
|
+
0 !== e3.length ? y2.configure.stacks = e3 : y2.configure.stacks = null;
|
|
14
|
+
}
|
|
15
|
+
return ((_a = y2.configure.stacks) == null ? void 0 : _a.length) > 0 && (h.value = JSON.parse(JSON.stringify(y2.configure.stacks))), (l2, m2) => {
|
|
16
|
+
const y3 = t("el-button"), C = t("el-option"), V = t("el-select"), x = t("el-icon"), O = t("el-collapse-item");
|
|
17
|
+
return a(), u(O, { title: "堆叠系列", name: "stackList", class: "amb-design-attr-group-header" }, { default: n(() => {
|
|
18
|
+
var _a2;
|
|
19
|
+
return [i("div", k, [((_a2 = h.value) == null ? void 0 : _a2.length) ? (a(true), o(c, { key: 1 }, p(h.value, (l3, t2) => (a(), o("div", { key: t2, class: "bind-variable-item" }, [d(V, { onChange: _, modelValue: h.value[t2].series, "onUpdate:modelValue": (e3) => h.value[t2].series = e3, placeholder: "选择系列", multiple: "", clearable: "" }, { default: n(() => [(a(true), o(c, null, p(e2.configure.items, (e3) => (a(), u(C, { key: e3.uuid, label: e3.props.title, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]), d(x, { onClick: s((e3) => b(t2), ["prevent"]) }, { default: n(() => [d(f(v))]), _: 1 }, 8, ["onClick"]), d(x, { onClick: s((e3) => function(e4) {
|
|
20
|
+
h.value.splice(e4, 1), _();
|
|
21
|
+
}(t2), ["prevent"]) }, { default: n(() => [d(f(g))]), _: 1 }, 8, ["onClick"])]))), 128)) : (a(), u(y3, { key: 0, type: "text", onClick: m2[0] || (m2[0] = s((e3) => b(0), ["prevent"])) }, { default: n(() => [...m2[1] || (m2[1] = [r("添加堆叠系列", -1)])]), _: 1 }))])];
|
|
22
|
+
}), _: 1 });
|
|
23
|
+
};
|
|
24
|
+
} });
|
|
25
|
+
export {
|
|
26
|
+
y as default
|
|
27
|
+
};
|
|
@@ -31,21 +31,21 @@ const V = { style: { padding: "8px 0px 0px 0px" } }, k = { class: "dialog-footer
|
|
|
31
31
|
}
|
|
32
32
|
return (a2, o2) => {
|
|
33
33
|
const C2 = l("el-switch"), x2 = l("el-button"), _2 = l("el-form-item"), E = l("el-alert"), F = l("el-table-column"), G = l("el-table"), I = l("el-input"), J = l("el-button-group"), K = l("el-drawer"), L = l("el-dialog"), M = l("el-collapse-item");
|
|
34
|
-
return n(), i(M, { title: "推送首页", name: "pushHomepage", class: "amb-design-attr-group-header" }, { default: u(() => [p("div", V, [r(_2, { label: "是否推送", class: "amb-design-attr-item" }, { default: u(() => [r(C2, { modelValue: e2.configure.pushHomepage.enable, "onUpdate:modelValue": o2[0] || (o2[0] = (a3) => e2.configure.pushHomepage.enable = a3), "inline-prompt": "", "active-text": "是", "inactive-text": "否", onChange: z }, null, 8, ["modelValue"]), e2.configure.pushHomepage.enable ? (n(), i(x2, { key: 0, type: "primary", onClick: T }, { default: u(() => o2[4] || (o2[4] = [s(" 编辑 ")])), _: 1 })) : t("", true)]), _: 1 })]), e2.configure.pushHomepage && e2.configure.pushHomepage.enable ? (n(), i(L, { key: 0, id: "pushHomepageDialog", "append-to-body": false, modelValue: U.value, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => U.value = e3), title: "首页图表查询设置", top: "2vh" }, { footer: u(() => [p("div", k, [r(x2, { type: "primary", onClick: o2[1] || (o2[1] = (e3) => U.value = false) }, { default: u(() => o2[10] || (o2[10] = [s(" 关闭 ")])), _: 1 })])]), default: u(() => [r(E, { title: "初始化设置", type: "info", closable: false }), r(G, { data: e2.configure.pushHomepage.initConfig, style: { width: "100%" }, "max-height": "250", "row-key": "uuid", "empty-text": "请添加初始化设置" }, { default: u(() => [r(F, { align: "center", label: "字段名", prop: "prop" }, { default: u((e3) => [(n(), i(y, { key: e3.row.prop, modelValue: e3.row.prop, paramTypes: ["page"], "onUpdate:modelValue": (a3) => {
|
|
34
|
+
return n(), i(M, { title: "推送首页", name: "pushHomepage", class: "amb-design-attr-group-header" }, { default: u(() => [p("div", V, [r(_2, { label: "是否推送", class: "amb-design-attr-item" }, { default: u(() => [r(C2, { modelValue: e2.configure.pushHomepage.enable, "onUpdate:modelValue": o2[0] || (o2[0] = (a3) => e2.configure.pushHomepage.enable = a3), "inline-prompt": "", "active-text": "是", "inactive-text": "否", onChange: z }, null, 8, ["modelValue"]), e2.configure.pushHomepage.enable ? (n(), i(x2, { key: 0, type: "primary", onClick: T }, { default: u(() => [...o2[4] || (o2[4] = [s(" 编辑 ", -1)])]), _: 1 })) : t("", true)]), _: 1 })]), e2.configure.pushHomepage && e2.configure.pushHomepage.enable ? (n(), i(L, { key: 0, id: "pushHomepageDialog", "append-to-body": false, modelValue: U.value, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => U.value = e3), title: "首页图表查询设置", top: "2vh" }, { footer: u(() => [p("div", k, [r(x2, { type: "primary", onClick: o2[1] || (o2[1] = (e3) => U.value = false) }, { default: u(() => [...o2[10] || (o2[10] = [s(" 关闭 ", -1)])]), _: 1 })])]), default: u(() => [r(E, { title: "初始化设置", type: "info", closable: false }), r(G, { data: e2.configure.pushHomepage.initConfig, style: { width: "100%" }, "max-height": "250", "row-key": "uuid", "empty-text": "请添加初始化设置" }, { default: u(() => [r(F, { align: "center", label: "字段名", prop: "prop" }, { default: u((e3) => [(n(), i(y, { key: e3.row.prop, modelValue: e3.row.prop, paramTypes: ["page"], "onUpdate:modelValue": (a3) => {
|
|
35
35
|
return o3 = a3, void ((l2 = e3.row) && (l2.prop = o3));
|
|
36
36
|
var o3, l2;
|
|
37
37
|
} }, null, 8, ["modelValue", "onUpdate:modelValue"]))]), _: 1 }), r(F, { align: "center", label: "值", prop: "value" }, { default: u((e3) => [r(y, { paramTypes: ["context", "system", "fixed"], modelValue: e3.row.value, isRange: true, "onUpdate:modelValue": (a3) => ((e4, a4) => {
|
|
38
38
|
a4 && (a4.value = e4);
|
|
39
|
-
})(a3, e3.row) }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(F, { align: "center" }, { header: u(() => [r(x2, { type: "primary", onClick: q }, { default: u(() => o2[5] || (o2[5] = [s(" 添加 ")])), _: 1 })]), default: u((e3) => [r(x2, { size: "small", type: "danger", onClick: (a3) => {
|
|
39
|
+
})(a3, e3.row) }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(F, { align: "center" }, { header: u(() => [r(x2, { type: "primary", onClick: q }, { default: u(() => [...o2[5] || (o2[5] = [s(" 添加 ", -1)])]), _: 1 })]), default: u((e3) => [r(x2, { size: "small", type: "danger", onClick: (a3) => {
|
|
40
40
|
return o3 = e3.$index, e3.row, void w2.configure.pushHomepage.initConfig.splice(o3, 1);
|
|
41
41
|
var o3;
|
|
42
|
-
} }, { default: u(() => o2[6] || (o2[6] = [s(" 删除 ")])), _:
|
|
42
|
+
} }, { default: u(() => [...o2[6] || (o2[6] = [s(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), r(E, { title: "查询条件设置", type: "info", closable: false }), r(G, { data: e2.configure.pushHomepage.searchConditions, style: { width: "100%" }, height: "400", "default-expand-all": true, "empty-text": "请添加查询条件设置" }, { default: u(() => [r(F, { align: "center", label: "标签名", prop: "prop" }, { default: u((e3) => [r(I, { modelValue: e3.row.props.base.title, "onUpdate:modelValue": (a3) => e3.row.props.base.title = a3, class: "table-input-width", placeholder: "请输入标签名" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(F, { align: "center", label: "字段", prop: "value" }, { default: u((e3) => [(n(), i(y, { key: e3.row.props.base.prop, paramTypes: ["data", "page"], "model-value": e3.row.props.base.prop, "onUpdate:modelValue": (a3) => e3.row.props.base.prop = a3 }, null, 8, ["model-value", "onUpdate:modelValue"]))]), _: 1 }), r(F, { align: "center", label: "组件配置" }, { default: u((e3) => [r(x2, { size: "small", type: "primary", onClick: (a3) => {
|
|
43
43
|
return e3.$index, o3 = e3.row, D.value = true, j.value = o3, void ($.value = b(o3.name));
|
|
44
44
|
var o3;
|
|
45
|
-
} }, { default: u(() => o2[7] || (o2[7] = [s(" 设置 ")])), _:
|
|
45
|
+
} }, { default: u(() => [...o2[7] || (o2[7] = [s(" 设置 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), r(F, { align: "center" }, { header: u(() => [r(x2, { type: "primary", onClick: A }, { default: u(() => [...o2[8] || (o2[8] = [s(" 添加 ", -1)])]), _: 1 })]), default: u((a3) => [r(J, { class: "ml-4" }, { default: u(() => [r(x2, { type: "primary", disabled: 0 === a3.$index, icon: d(h), onClick: (e3) => R(a3.$index, "up") }, null, 8, ["disabled", "icon", "onClick"]), r(x2, { type: "primary", disabled: a3.$index === e2.configure.pushHomepage.searchConditions.length - 1, icon: d(v), onClick: (e3) => R(a3.$index, "down") }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024), r(x2, { size: "small", type: "danger", onClick: (e3) => {
|
|
46
46
|
return o3 = a3.$index, a3.row, void w2.configure.pushHomepage.searchConditions.splice(o3, 1);
|
|
47
47
|
var o3;
|
|
48
|
-
} }, { default: u(() => o2[9] || (o2[9] = [s(" 删除 ")])), _:
|
|
48
|
+
} }, { default: u(() => [...o2[9] || (o2[9] = [s(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), r(K, { modelValue: D.value, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => D.value = e3), "with-header": false }, { default: u(() => [(n(true), g(m, null, c(e2.configure.pushHomepage.searchConditions, (a3, o3) => (n(), g("div", { key: a3.uuid, style: { display: "none" } }, [r(H, { indexObj: O, configure: a3, pageDesign: e2.pageDesign }, null, 8, ["indexObj", "configure", "pageDesign"])]))), 128)), (n(), i(f($.value), { key: "attr_" + j.value.uuid, pageDesign: e2.pageDesign, configure: j.value, onChangeAssembly: B }, null, 40, ["pageDesign", "configure"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : t("", true)]), _: 1 });
|
|
49
49
|
};
|
|
50
50
|
} });
|
|
51
51
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as a, createBlock as l, openBlock as t, withCtx as o, createElementVNode as m, createVNode as u, withDirectives as n, createTextVNode as d, vShow as i } from "vue";
|
|
2
2
|
const r = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "common-style-datazoom", props: { configure: { type: Object, required: true } }, setup: (e2) => (s2, p) => {
|
|
3
3
|
const f = a("el-switch"), g = a("el-form-item"), y = a("el-radio-button"), c = a("el-radio-group"), x = a("el-input-number"), b = a("el-text"), V = a("el-collapse-item");
|
|
4
|
-
return t(), l(V, { title: "缩略轴(横坐标)", name: "styleDatazoom", class: "amb-design-attr-group-header" }, { default: o(() => [m("div", r, [u(g, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: o(() => [u(f, { modelValue: e2.configure.style.enableDatazoom, "onUpdate:modelValue": p[0] || (p[0] = (a2) => e2.configure.style.enableDatazoom = a2) }, null, 8, ["modelValue"])]), _: 1 }), n(u(g, { label: "类型", style: { "margin-top": "18px" } }, { default: o(() => [u(c, { modelValue: e2.configure.style.dataZoomType, "onUpdate:modelValue": p[1] || (p[1] = (a2) => e2.configure.style.dataZoomType = a2) }, { default: o(() => [u(y, { value: "" }, { default: o(() => p[4] || (p[4] = [d("默认")])), _: 1 }), u(y, { value: "slider" }, { default: o(() => p[5] || (p[5] = [d("滑动")])), _: 1 }), u(y, { value: "inside" }, { default: o(() => p[6] || (p[6] = [d("内置")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "开始比例", style: { "margin-top": "-10px" } }, { default: o(() => [u(x, { modelValue: e2.configure.style.dataZoomStart, "onUpdate:modelValue": p[2] || (p[2] = (a2) => e2.configure.style.dataZoomStart = a2), min: 0, max: e2.configure.style.dataZoomEnd }, null, 8, ["modelValue", "max"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "结束比例", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(x, { modelValue: e2.configure.style.dataZoomEnd, "onUpdate:modelValue": p[3] || (p[3] = (a2) => e2.configure.style.dataZoomEnd = a2), min: e2.configure.style.dataZoomStart, max: 100 }, null, 8, ["modelValue", "min"]), p[8] || (p[8] = d("、 ")), u(b, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => p[7] || (p[7] = [d(" 数据窗口范围的起始百分比,范围是:0 ~ 100,表示 0% ~ 100% ")])), _: 1 })]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]])])]), _: 1 });
|
|
4
|
+
return t(), l(V, { title: "缩略轴(横坐标)", name: "styleDatazoom", class: "amb-design-attr-group-header" }, { default: o(() => [m("div", r, [u(g, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: o(() => [u(f, { modelValue: e2.configure.style.enableDatazoom, "onUpdate:modelValue": p[0] || (p[0] = (a2) => e2.configure.style.enableDatazoom = a2) }, null, 8, ["modelValue"])]), _: 1 }), n(u(g, { label: "类型", style: { "margin-top": "18px" } }, { default: o(() => [u(c, { modelValue: e2.configure.style.dataZoomType, "onUpdate:modelValue": p[1] || (p[1] = (a2) => e2.configure.style.dataZoomType = a2) }, { default: o(() => [u(y, { value: "" }, { default: o(() => [...p[4] || (p[4] = [d("默认", -1)])]), _: 1 }), u(y, { value: "slider" }, { default: o(() => [...p[5] || (p[5] = [d("滑动", -1)])]), _: 1 }), u(y, { value: "inside" }, { default: o(() => [...p[6] || (p[6] = [d("内置", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "开始比例", style: { "margin-top": "-10px" } }, { default: o(() => [u(x, { modelValue: e2.configure.style.dataZoomStart, "onUpdate:modelValue": p[2] || (p[2] = (a2) => e2.configure.style.dataZoomStart = a2), min: 0, max: e2.configure.style.dataZoomEnd }, null, 8, ["modelValue", "max"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "结束比例", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(x, { modelValue: e2.configure.style.dataZoomEnd, "onUpdate:modelValue": p[3] || (p[3] = (a2) => e2.configure.style.dataZoomEnd = a2), min: e2.configure.style.dataZoomStart, max: 100 }, null, 8, ["modelValue", "min"]), p[8] || (p[8] = d("、 ", -1)), u(b, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => [...p[7] || (p[7] = [d(" 数据窗口范围的起始百分比,范围是:0 ~ 100,表示 0% ~ 100% ", -1)])]), _: 1 })]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]])])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
s as default
|
package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ const b = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "common-sty
|
|
|
3
3
|
const f2 = ["8", "10", "12", "14", "16", "18", "20", "24", "28"];
|
|
4
4
|
return (c, g) => {
|
|
5
5
|
const y = l("el-color-picker"), h = l("el-form-item"), x = l("el-option"), _ = l("el-select"), V = l("el-radio-button"), v = l("el-radio-group"), T = l("el-input"), U = l("el-col"), F = l("el-text"), w = l("el-collapse-item");
|
|
6
|
-
return a(), t(w, { title: "副标题", name: "subtitleFont", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", b, [i(h, { label: "颜色", style: { "margin-top": "4px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.subtitleColor, "onUpdate:modelValue": g[0] || (g[0] = (l2) => e2.configure.style.subtitleColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), i(h, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [i(_, { modelValue: e2.configure.style.subtitleFontSize, "onUpdate:modelValue": g[1] || (g[1] = (l2) => e2.configure.style.subtitleFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), d(n, null, s(f2, (e3) => i(x, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(h, { label: "文字粗细", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(_, { modelValue: e2.configure.style.subtitleFontWeight, "onUpdate:modelValue": g[2] || (g[2] = (l2) => e2.configure.style.subtitleFontWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(x, { label: "normal", value: "normal" }), i(x, { label: "bold", value: "bold" }), i(x, { label: "bolder", value: "bolder" }), i(x, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(h, { label: "左右对齐", style: { "margin-top": "24px", "margin-bottom": "-15px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.subtitleTextAlign, "onUpdate:modelValue": g[3] || (g[3] = (l2) => e2.configure.style.subtitleTextAlign = l2) }, { default: o(() => [i(V, { value: "left" }, { default: o(() => g[6] || (g[6] = [p("左")])), _: 1 }), i(V, { value: "center" }, { default: o(() => g[7] || (g[7] = [p("中")])), _: 1 }), i(V, { value: "right" }, { default: o(() => g[8] || (g[8] = [p("右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[m, "seriesChart" != e2.chartType]]), r(i(h, { label: "位置", style: { "margin-top": "24px", "margin-bottom": "-15px" } }, { default: o(() => [i(U, { span: 12 }, { default: o(() => [i(h, { "label-width": "40", label: "left" }, { default: o(() => [i(T, { style: { width: "40px" }, modelValue: e2.configure.style.subtitleLeft, "onUpdate:modelValue": g[4] || (g[4] = (l2) => e2.configure.style.subtitleLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(U, { span: 12 }, { default: o(() => [i(h, { "label-width": "40", label: "top" }, { default: o(() => [i(T, { style: { width: "40px" }, modelValue: e2.configure.style.subtitleTop, "onUpdate:modelValue": g[5] || (g[5] = (l2) => e2.configure.style.subtitleTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(F, { type: "success", size: "small", style: { "line-height": "15px", "margin-top": "4px" } }, { default: o(() => g[9] || (g[9] = [p("值可以是像 20 这样的具体像素值,可以是像 '20%' 这样相对于容器高宽的百分比")])), _: 1 })]), _: 1 }, 512), [[m, "seriesChart" == e2.chartType]])])]), _: 1 });
|
|
6
|
+
return a(), t(w, { title: "副标题", name: "subtitleFont", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", b, [i(h, { label: "颜色", style: { "margin-top": "4px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.subtitleColor, "onUpdate:modelValue": g[0] || (g[0] = (l2) => e2.configure.style.subtitleColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), i(h, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [i(_, { modelValue: e2.configure.style.subtitleFontSize, "onUpdate:modelValue": g[1] || (g[1] = (l2) => e2.configure.style.subtitleFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), d(n, null, s(f2, (e3) => i(x, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(h, { label: "文字粗细", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(_, { modelValue: e2.configure.style.subtitleFontWeight, "onUpdate:modelValue": g[2] || (g[2] = (l2) => e2.configure.style.subtitleFontWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(x, { label: "normal", value: "normal" }), i(x, { label: "bold", value: "bold" }), i(x, { label: "bolder", value: "bolder" }), i(x, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(h, { label: "左右对齐", style: { "margin-top": "24px", "margin-bottom": "-15px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.subtitleTextAlign, "onUpdate:modelValue": g[3] || (g[3] = (l2) => e2.configure.style.subtitleTextAlign = l2) }, { default: o(() => [i(V, { value: "left" }, { default: o(() => [...g[6] || (g[6] = [p("左", -1)])]), _: 1 }), i(V, { value: "center" }, { default: o(() => [...g[7] || (g[7] = [p("中", -1)])]), _: 1 }), i(V, { value: "right" }, { default: o(() => [...g[8] || (g[8] = [p("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[m, "seriesChart" != e2.chartType]]), r(i(h, { label: "位置", style: { "margin-top": "24px", "margin-bottom": "-15px" } }, { default: o(() => [i(U, { span: 12 }, { default: o(() => [i(h, { "label-width": "40", label: "left" }, { default: o(() => [i(T, { style: { width: "40px" }, modelValue: e2.configure.style.subtitleLeft, "onUpdate:modelValue": g[4] || (g[4] = (l2) => e2.configure.style.subtitleLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(U, { span: 12 }, { default: o(() => [i(h, { "label-width": "40", label: "top" }, { default: o(() => [i(T, { style: { width: "40px" }, modelValue: e2.configure.style.subtitleTop, "onUpdate:modelValue": g[5] || (g[5] = (l2) => e2.configure.style.subtitleTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(F, { type: "success", size: "small", style: { "line-height": "15px", "margin-top": "4px" } }, { default: o(() => [...g[9] || (g[9] = [p("值可以是像 20 这样的具体像素值,可以是像 '20%' 这样相对于容器高宽的百分比", -1)])]), _: 1 })]), _: 1 }, 512), [[m, "seriesChart" == e2.chartType]])])]), _: 1 });
|
|
7
7
|
};
|
|
8
8
|
} });
|
|
9
9
|
export {
|
package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ const m = { style: { padding: "8px 0px 0px 0px" } }, c = e({ __name: "common-sty
|
|
|
3
3
|
const c2 = ["8", "10", "12", "14", "16", "18", "20", "24", "28"];
|
|
4
4
|
return (f, g) => {
|
|
5
5
|
const s = l("el-color-picker"), b = l("el-form-item"), y = l("el-option"), _ = l("el-select"), x = l("el-radio-button"), V = l("el-radio-group"), v = l("el-collapse-item");
|
|
6
|
-
return a(), t(v, { title: "主标题", name: "titleFont", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", m, [r(b, { label: "颜色", style: { "margin-top": "4px" } }, { default: o(() => [r(s, { modelValue: e2.configure.style.titleColor, "onUpdate:modelValue": g[0] || (g[0] = (l2) => e2.configure.style.titleColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(b, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [r(_, { modelValue: e2.configure.style.titleFontSize, "onUpdate:modelValue": g[1] || (g[1] = (l2) => e2.configure.style.titleFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), i(n, null, d(c2, (e3) => r(y, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(b, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [r(_, { modelValue: e2.configure.style.titleFontWeight, "onUpdate:modelValue": g[2] || (g[2] = (l2) => e2.configure.style.titleFontWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [r(y, { label: "normal", value: "normal" }), r(y, { label: "bold", value: "bold" }), r(y, { label: "bolder", value: "bolder" }), r(y, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(b, { label: "左右对齐", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [r(V, { modelValue: e2.configure.style.titleTextAlign, "onUpdate:modelValue": g[3] || (g[3] = (l2) => e2.configure.style.titleTextAlign = l2) }, { default: o(() => [r(x, { value: "left" }, { default: o(() => g[4] || (g[4] = [p("左")])), _: 1 }), r(x, { value: "center" }, { default: o(() => g[5] || (g[5] = [p("中")])), _: 1 }), r(x, { value: "right" }, { default: o(() => g[6] || (g[6] = [p("右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
|
|
6
|
+
return a(), t(v, { title: "主标题", name: "titleFont", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", m, [r(b, { label: "颜色", style: { "margin-top": "4px" } }, { default: o(() => [r(s, { modelValue: e2.configure.style.titleColor, "onUpdate:modelValue": g[0] || (g[0] = (l2) => e2.configure.style.titleColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(b, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [r(_, { modelValue: e2.configure.style.titleFontSize, "onUpdate:modelValue": g[1] || (g[1] = (l2) => e2.configure.style.titleFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), i(n, null, d(c2, (e3) => r(y, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(b, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [r(_, { modelValue: e2.configure.style.titleFontWeight, "onUpdate:modelValue": g[2] || (g[2] = (l2) => e2.configure.style.titleFontWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [r(y, { label: "normal", value: "normal" }), r(y, { label: "bold", value: "bold" }), r(y, { label: "bolder", value: "bolder" }), r(y, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(b, { label: "左右对齐", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [r(V, { modelValue: e2.configure.style.titleTextAlign, "onUpdate:modelValue": g[3] || (g[3] = (l2) => e2.configure.style.titleTextAlign = l2) }, { default: o(() => [r(x, { value: "left" }, { default: o(() => [...g[4] || (g[4] = [p("左", -1)])]), _: 1 }), r(x, { value: "center" }, { default: o(() => [...g[5] || (g[5] = [p("中", -1)])]), _: 1 }), r(x, { value: "right" }, { default: o(() => [...g[6] || (g[6] = [p("右", -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 a, openBlock as t, withCtx as n, createElementVNode as o, createVNode as u, withDirectives as d, createTextVNode as g, vShow as r } from "vue";
|
|
2
2
|
const i = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "common-style-legend", props: { configure: { type: Object, required: true } }, setup: (e2) => (m2, s) => {
|
|
3
3
|
const p = l("el-switch"), c = l("el-form-item"), f = l("el-radio-button"), y = l("el-radio-group"), b = l("el-option"), V = l("el-select"), x = l("el-input-number"), _ = l("el-input"), v = l("el-text"), L = l("el-collapse-item");
|
|
4
|
-
return t(), a(L, { title: "图例", name: "styleLegend", class: "amb-design-attr-group-header" }, { default: n(() => [o("div", i, [u(c, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: n(() => [u(p, { modelValue: e2.configure.style.enableLegend, "onUpdate:modelValue": s[0] || (s[0] = (l2) => e2.configure.style.enableLegend = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(u(c, { label: "布局", style: { "margin-top": "18px" } }, { default: n(() => [u(y, { modelValue: e2.configure.style.legendLayout, "onUpdate:modelValue": s[1] || (s[1] = (l2) => e2.configure.style.legendLayout = l2) }, { default: n(() => [u(f, { value: "" }, { default: n(() => s[6] || (s[6] = [g("默认")])), _: 1 }), u(f, { value: "horizontal" }, { default: n(() => s[7] || (s[7] = [g("水平")])), _: 1 }), u(f, { value: "vertical" }, { default: n(() => s[8] || (s[8] = [g("垂直")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "水平对齐", style: { "margin-top": "-10px" } }, { default: n(() => [u(V, { modelValue: e2.configure.style.legendAlign, "onUpdate:modelValue": s[2] || (s[2] = (l2) => e2.configure.style.legendAlign = l2), placeholder: "默认", clearable: "" }, { default: n(() => [u(b, { label: "靠左", value: "left" }), u(b, { label: "居中", value: "center" }), u(b, { label: "靠右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "垂直对齐", style: { "margin-top": "-10px" } }, { default: n(() => [u(V, { modelValue: e2.configure.style.legendVerticalAlign, "onUpdate:modelValue": s[3] || (s[3] = (l2) => e2.configure.style.legendVerticalAlign = l2), placeholder: "默认", clearable: "" }, { default: n(() => [u(b, { label: "顶部", value: "top" }), u(b, { label: "居中", value: "middle" }), u(b, { label: "底部", value: "bottom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "内边距", style: { "margin-top": "-10px" } }, { default: n(() => [u(x, { modelValue: e2.configure.style.legendPadding, "onUpdate:modelValue": s[4] || (s[4] = (l2) => e2.configure.style.legendPadding = l2), min: "0", max: "200" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "内容定义", style: { "margin-top": "-8px", "margin-bottom": "-15px" } }, { default: n(() => [u(_, { modelValue: e2.configure.style.customLegend, "onUpdate:modelValue": s[5] || (s[5] = (l2) => e2.configure.style.customLegend = l2), rows: 3, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), u(v, { type: "success", size: "small" }, { default: n(() => s[9] || (s[9] = [g("模板变量为图例名称{name}")])), _: 1 })]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]])])]), _: 1 });
|
|
4
|
+
return t(), a(L, { title: "图例", name: "styleLegend", class: "amb-design-attr-group-header" }, { default: n(() => [o("div", i, [u(c, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: n(() => [u(p, { modelValue: e2.configure.style.enableLegend, "onUpdate:modelValue": s[0] || (s[0] = (l2) => e2.configure.style.enableLegend = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(u(c, { label: "布局", style: { "margin-top": "18px" } }, { default: n(() => [u(y, { modelValue: e2.configure.style.legendLayout, "onUpdate:modelValue": s[1] || (s[1] = (l2) => e2.configure.style.legendLayout = l2) }, { default: n(() => [u(f, { value: "" }, { default: n(() => [...s[6] || (s[6] = [g("默认", -1)])]), _: 1 }), u(f, { value: "horizontal" }, { default: n(() => [...s[7] || (s[7] = [g("水平", -1)])]), _: 1 }), u(f, { value: "vertical" }, { default: n(() => [...s[8] || (s[8] = [g("垂直", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "水平对齐", style: { "margin-top": "-10px" } }, { default: n(() => [u(V, { modelValue: e2.configure.style.legendAlign, "onUpdate:modelValue": s[2] || (s[2] = (l2) => e2.configure.style.legendAlign = l2), placeholder: "默认", clearable: "" }, { default: n(() => [u(b, { label: "靠左", value: "left" }), u(b, { label: "居中", value: "center" }), u(b, { label: "靠右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "垂直对齐", style: { "margin-top": "-10px" } }, { default: n(() => [u(V, { modelValue: e2.configure.style.legendVerticalAlign, "onUpdate:modelValue": s[3] || (s[3] = (l2) => e2.configure.style.legendVerticalAlign = l2), placeholder: "默认", clearable: "" }, { default: n(() => [u(b, { label: "顶部", value: "top" }), u(b, { label: "居中", value: "middle" }), u(b, { label: "底部", value: "bottom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "内边距", style: { "margin-top": "-10px" } }, { default: n(() => [u(x, { modelValue: e2.configure.style.legendPadding, "onUpdate:modelValue": s[4] || (s[4] = (l2) => e2.configure.style.legendPadding = l2), min: "0", max: "200" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]]), d(u(c, { label: "内容定义", style: { "margin-top": "-8px", "margin-bottom": "-15px" } }, { default: n(() => [u(_, { modelValue: e2.configure.style.customLegend, "onUpdate:modelValue": s[5] || (s[5] = (l2) => e2.configure.style.customLegend = l2), rows: 3, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), u(v, { type: "success", size: "small" }, { default: n(() => [...s[9] || (s[9] = [g("模板变量为图例名称{name}", -1)])]), _: 1 })]), _: 1 }, 512), [[r, e2.configure.style.enableLegend]])])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
m as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as l, createBlock as
|
|
1
|
+
import { defineComponent as e, resolveComponent as l, createBlock as o, openBlock as t, withCtx as a, createElementVNode as i, createVNode as u, withDirectives as r, createTextVNode as p, vShow as n, createElementBlock as d, Fragment as s, renderList as m } from "vue";
|
|
2
2
|
const f = { style: { padding: "8px 0px 0px 0px" } }, c = e({ __name: "common-style-tooltip", props: { configure: { type: Object, required: true }, chartType: Object }, setup(e2) {
|
|
3
|
-
const c2 = ["8", "10", "12", "14", "16", "18", "20", "24", "28"];
|
|
4
|
-
return (
|
|
5
|
-
const y = l("el-switch"), x = l("el-form-item"), V = l("el-radio-button"), _ = l("el-radio-group"),
|
|
6
|
-
return
|
|
3
|
+
const c2 = e2, g = ["8", "10", "12", "14", "16", "18", "20", "24", "28"];
|
|
4
|
+
return c2.configure.style.axisPointer || (c2.configure.style.axisPointer = { type: "line" }), (c3, b) => {
|
|
5
|
+
const y = l("el-switch"), x = l("el-form-item"), V = l("el-radio-button"), _ = l("el-radio-group"), v = l("el-option"), h = l("el-select"), T = l("el-checkbox"), N = l("el-col"), F = l("el-row"), U = l("el-input"), P = l("el-checkbox-group"), z = l("el-color-picker"), w = l("el-text"), O = l("el-collapse-item");
|
|
6
|
+
return t(), o(O, { title: "提示消息(tooltip)", name: "styleTooltip", class: "amb-design-attr-group-header" }, { default: a(() => [i("div", f, [u(x, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: a(() => [u(y, { modelValue: e2.configure.style.enableTooltip, "onUpdate:modelValue": b[0] || (b[0] = (l2) => e2.configure.style.enableTooltip = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(u(x, { label: "触发类型", style: { "margin-top": "18px" } }, { default: a(() => [u(_, { modelValue: e2.configure.style.tooltipTrigger, "onUpdate:modelValue": b[1] || (b[1] = (l2) => e2.configure.style.tooltipTrigger = l2) }, { default: a(() => [u(V, { value: "" }, { default: a(() => [...b[12] || (b[12] = [p("默认", -1)])]), _: 1 }), u(V, { value: "item" }, { default: a(() => [...b[13] || (b[13] = [p("item", -1)])]), _: 1 }), r(u(V, { value: "axis" }, { default: a(() => [...b[14] || (b[14] = [p("axis", -1)])]), _: 1 }, 512), [[n, "radar" != e2.chartType]])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip]]), r(u(x, { label: "触发位置", style: { "margin-top": "-10px" } }, { default: a(() => [u(h, { modelValue: e2.configure.style.tooltipPosition, "onUpdate:modelValue": b[2] || (b[2] = (l2) => e2.configure.style.tooltipPosition = l2), placeholder: "默认", clearable: "" }, { default: a(() => [u(v, { label: "inside", value: "inside" }), u(v, { label: "top", value: "top" }), u(v, { label: "left", value: "left" }), u(v, { label: "right", value: "right" }), u(v, { label: "bottom", value: "bottom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip && "item" == e2.configure.style.tooltipTrigger]]), r(u(x, { label: "数据格式", style: { "margin-top": "-15px" } }, { default: a(() => [u(P, { modelValue: e2.configure.style.tooltipNumFormat, "onUpdate:modelValue": b[6] || (b[6] = (l2) => e2.configure.style.tooltipNumFormat = l2) }, { default: a(() => [u(F, null, { default: a(() => [u(N, { span: 14 }, { default: a(() => [u(T, { value: "precision", label: "小数位数", size: "large" })]), _: 1 }), u(N, { span: 8 }, { default: a(() => [u(h, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.tooltipNumPrecision, "onUpdate:modelValue": b[3] || (b[3] = (l2) => e2.configure.style.tooltipNumPrecision = l2), disabled: e2.configure.style.tooltipNumFormat && -1 == e2.configure.style.tooltipNumFormat.indexOf("precision"), placeholder: "默认", clearable: "" }, { default: a(() => [u(v, { label: "1", value: "1" }), u(v, { label: "2", value: "2" }), u(v, { label: "3", value: "3" }), u(v, { label: "4", value: "4" }), u(v, { label: "5", value: "5" }), u(v, { label: "6", value: "6" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), u(F, { style: { "margin-top": "-10px" } }, { default: a(() => [u(N, { span: 14 }, { default: a(() => [u(T, { value: "prefix", label: "前缀", size: "large" })]), _: 1 }), u(N, { span: 8 }, { default: a(() => [u(U, { size: "small", style: { width: "70px", "margin-top": "8px" }, modelValue: e2.configure.style.tooltipNumPrefix, "onUpdate:modelValue": b[4] || (b[4] = (l2) => e2.configure.style.tooltipNumPrefix = l2), disabled: e2.configure.style.tooltipNumFormat && -1 == e2.configure.style.tooltipNumFormat.indexOf("prefix"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), u(F, { style: { "margin-top": "-10px" } }, { default: a(() => [u(N, { span: 14 }, { default: a(() => [u(T, { value: "append", label: "后缀", size: "large" })]), _: 1 }), u(N, { span: 8 }, { default: a(() => [u(U, { size: "small", style: { width: "70px", "margin-top": "8px" }, modelValue: e2.configure.style.tooltipNumAppend, "onUpdate:modelValue": b[5] || (b[5] = (l2) => e2.configure.style.tooltipNumAppend = l2), disabled: e2.configure.style.tooltipNumFormat && -1 == e2.configure.style.tooltipNumFormat.indexOf("append"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip]]), r(u(x, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: a(() => [u(z, { modelValue: e2.configure.style.tooltipColor, "onUpdate:modelValue": b[7] || (b[7] = (l2) => e2.configure.style.tooltipColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip]]), r(u(x, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: a(() => [u(h, { modelValue: e2.configure.style.tooltipFontSize, "onUpdate:modelValue": b[8] || (b[8] = (l2) => e2.configure.style.tooltipFontSize = l2), placeholder: "默认", clearable: "" }, { default: a(() => [(t(), d(s, null, m(g, (e3) => u(v, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip]]), r(u(x, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: a(() => [u(h, { modelValue: e2.configure.style.tooltipWeight, "onUpdate:modelValue": b[9] || (b[9] = (l2) => e2.configure.style.tooltipWeight = l2), placeholder: "默认", clearable: "" }, { default: a(() => [u(v, { label: "bold", value: "bold" }), u(v, { label: "bolder", value: "bolder" }), u(v, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip]]), r(u(x, { label: "坐标轴指示器类型", style: { "margin-top": "-10px" } }, { default: a(() => [u(h, { modelValue: e2.configure.style.axisPointer.type, "onUpdate:modelValue": b[10] || (b[10] = (l2) => e2.configure.style.axisPointer.type = l2), placeholder: "none", clearable: "" }, { default: a(() => [u(v, { label: "line", value: "line" }), u(v, { label: "cross", value: "cross" }), u(v, { label: "shadow", value: "shadow" }), u(v, { label: "none", value: "none" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip]]), r(u(x, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: a(() => [u(U, { modelValue: e2.configure.style.tooltipFormatter, "onUpdate:modelValue": b[11] || (b[11] = (l2) => e2.configure.style.tooltipFormatter = l2), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), u(w, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: a(() => [...b[15] || (b[15] = [p(" {a}:系列名;{b}:数据名;{c}:数据值;{@xxx};{@[n]} ", -1)])]), _: 1 })]), _: 1 }, 512), [[n, e2.configure.style.enableTooltip]])])]), _: 1 });
|
|
7
7
|
};
|
|
8
8
|
} });
|
|
9
9
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as l, createBlock as a, openBlock as t, withCtx as i, createElementVNode as o, createVNode as s, withDirectives as n, vShow as u, createTextVNode as x } from "vue";
|
|
2
2
|
const m = { style: { padding: "8px 0px 0px 0px" } }, r = e({ __name: "common-style-xaxis", props: { configure: { type: Object, required: true } }, setup: (e2) => (r2, p) => {
|
|
3
3
|
const d = l("el-switch"), g = l("el-form-item"), f = l("el-input-number"), y = l("el-input"), c = l("el-text"), b = l("el-collapse-item");
|
|
4
|
-
return t(), a(b, { title: "横坐标", name: "styleXaxis", class: "amb-design-attr-group-header" }, { default: i(() => [o("div", m, [s(g, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: i(() => [s(d, { modelValue: e2.configure.style.enableXaxis, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.enableXaxis = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(s(g, { label: "旋转角度", style: { "margin-top": "18px" } }, { default: i(() => [s(f, { modelValue: e2.configure.style.xaxisAngle, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.xaxisAngle = l2), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "偏移量", style: { "margin-top": "-10px" } }, { default: i(() => [s(f, { modelValue: e2.configure.style.xaxisOffset, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.xaxisOffset = l2), min: 0, max: "180" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "文本宽度", style: { "margin-top": "-10px" } }, { default: i(() => [s(f, { modelValue: e2.configure.style.xaxisWidth, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.xaxisWidth = l2), min: 10, max: 180 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "截断显示", style: { "margin-top": "-10px" } }, { default: i(() => [s(y, { modelValue: e2.configure.style.xaxisEllipsis, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.xaxisEllipsis = l2), placeholder: "..." }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [s(y, { modelValue: e2.configure.style.xaxisFormatter, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.xaxisFormatter = l2), type: "textarea", row: "2", placeholder: "" }, null, 8, ["modelValue"]), s(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => p[6] || (p[6] = [x(" 模板变量为刻度默认标签 {value},如{value} kg ")])), _: 1 })]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]])])]), _: 1 });
|
|
4
|
+
return t(), a(b, { title: "横坐标", name: "styleXaxis", class: "amb-design-attr-group-header" }, { default: i(() => [o("div", m, [s(g, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: i(() => [s(d, { modelValue: e2.configure.style.enableXaxis, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.enableXaxis = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(s(g, { label: "旋转角度", style: { "margin-top": "18px" } }, { default: i(() => [s(f, { modelValue: e2.configure.style.xaxisAngle, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.xaxisAngle = l2), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "偏移量", style: { "margin-top": "-10px" } }, { default: i(() => [s(f, { modelValue: e2.configure.style.xaxisOffset, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.xaxisOffset = l2), min: 0, max: "180" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "文本宽度", style: { "margin-top": "-10px" } }, { default: i(() => [s(f, { modelValue: e2.configure.style.xaxisWidth, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.xaxisWidth = l2), min: 10, max: 180 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "截断显示", style: { "margin-top": "-10px" } }, { default: i(() => [s(y, { modelValue: e2.configure.style.xaxisEllipsis, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.xaxisEllipsis = l2), placeholder: "..." }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]]), n(s(g, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [s(y, { modelValue: e2.configure.style.xaxisFormatter, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.xaxisFormatter = l2), type: "textarea", row: "2", placeholder: "" }, null, 8, ["modelValue"]), s(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => [...p[6] || (p[6] = [x(" 模板变量为刻度默认标签 {value},如{value} kg ", -1)])]), _: 1 })]), _: 1 }, 512), [[u, e2.configure.style.enableXaxis]])])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
@@ -6,7 +6,7 @@ const r = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "common-sty
|
|
|
6
6
|
}
|
|
7
7
|
return (f3, g) => {
|
|
8
8
|
const c = l("el-input"), v = l("el-form-item"), U = l("el-radio"), h = l("el-radio-group"), M = l("el-input-number"), A = l("el-divider"), C = l("el-option"), z = l("el-select"), L = l("el-radio-button"), k = l("el-color-picker"), F = l("el-text"), S = l("el-switch"), j = l("el-collapse-item");
|
|
9
|
-
return t(), a(j, { title: e2.title, name: e2.name, class: "amb-design-attr-group-header" }, { default: d(() => [u("div", r, [o(v, { label: "名称", style: { "margin-top": "0px" } }, { default: d(() => [o(c, { modelValue: e2.yaxis.name, "onUpdate:modelValue": g[0] || (g[0] = (l2) => e2.yaxis.name = l2), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), o(v, { label: "最小值设置", style: { "margin-top": "-10px" } }, { default: d(() => [o(h, { modelValue: e2.yaxis._dataMin, "onUpdate:modelValue": g[1] || (g[1] = (l2) => e2.yaxis._dataMin = l2), onChange: b }, { default: d(() => [o(U, { value: "default" }, { default: d(() => g[17] || (g[17] = [m("默认")])), _: 1 }), o(U, { value: "fixed" }, { default: d(() => g[18] || (g[18] = [m("固定值")])), _: 1 }), o(U, { value: "auto" }, { default: d(() => g[19] || (g[19] = [m("自动计算")])), _: 1 })]), _: 1 }, 8, ["modelValue"]), "fixed" === e2.yaxis._dataMin ? (t(), a(M, { key: 0, modelValue: e2.yaxis.min, "onUpdate:modelValue": g[2] || (g[2] = (l2) => e2.yaxis.min = l2), max: e2.yaxis.max }, null, 8, ["modelValue", "max"])) : n("", true)]), _: 1 }), o(v, { label: "最大值设置", style: { "margin-top": "-10px" }, onChange: b }, { default: d(() => [o(h, { modelValue: e2.yaxis._dataMax, "onUpdate:modelValue": g[3] || (g[3] = (l2) => e2.yaxis._dataMax = l2) }, { default: d(() => [o(U, { value: "default" }, { default: d(() => g[20] || (g[20] = [m("默认")])), _: 1 }), o(U, { value: "fixed" }, { default: d(() => g[21] || (g[21] = [m("固定值")])), _: 1 }), o(U, { value: "auto" }, { default: d(() => g[22] || (g[22] = [m("自动计算")])), _: 1 })]), _: 1 }, 8, ["modelValue"]), "fixed" === e2.yaxis._dataMax ? (t(), a(M, { key: 0, modelValue: e2.yaxis.max, "onUpdate:modelValue": g[4] || (g[4] = (l2) => e2.yaxis.max = l2), min: e2.yaxis.min }, null, 8, ["modelValue", "min"])) : n("", true)]), _: 1 }), o(v, { label: "坐标偏移", style: { "margin-top": "-10px" } }, { default: d(() => [o(M, { modelValue: e2.yaxis.offset, "onUpdate:modelValue": g[5] || (g[5] = (l2) => e2.yaxis.offset = l2), min: 0, max: "180" }, null, 8, ["modelValue"])]), _: 1 }), i(o(A, null, { default: d(() => g[23] || (g[23] = [m(" 名称 ")])), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称位置", style: { "margin-top": "-10px" } }, { default: d(() => [o(z, { modelValue: e2.yaxis.nameLocation, "onUpdate:modelValue": g[6] || (g[6] = (l2) => e2.yaxis.nameLocation = l2), placeholder: "默认", clearable: "" }, { default: d(() => [(t(), s(p, null, y(_, (e3) => o(C, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称对齐", style: { "margin-top": "-10px" } }, { default: d(() => [o(h, { modelValue: e2.yaxis.nameAlign, "onUpdate:modelValue": g[7] || (g[7] = (l2) => e2.yaxis.nameAlign = l2) }, { default: d(() => [o(L, { value: "right" }, { default: d(() => g[24] || (g[24] = [m("左")])), _: 1 }), o(L, { value: "center" }, { default: d(() => g[25] || (g[25] = [m("中")])), _: 1 }), o(L, { value: "left" }, { default: d(() => g[26] || (g[26] = [m("右")])), _: 1 })]), _: 1 }, 8, ["modelValue"]), o(h, { style: { "margin-top": "10px" }, modelValue: e2.yaxis.nameVerticalAlign, "onUpdate:modelValue": g[8] || (g[8] = (l2) => e2.yaxis.nameVerticalAlign = l2) }, { default: d(() => [o(L, { value: "bottom" }, { default: d(() => g[27] || (g[27] = [m("上")])), _: 1 }), o(L, { value: "middle" }, { default: d(() => g[28] || (g[28] = [m("中")])), _: 1 }), o(L, { value: "top" }, { default: d(() => g[29] || (g[29] = [m("底")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "内边距", style: { "margin-top": "-10px" } }, { default: d(() => [o(M, { modelValue: e2.yaxis.namePadding, "onUpdate:modelValue": g[9] || (g[9] = (l2) => e2.yaxis.namePadding = l2), min: "0", max: "200" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称颜色", style: { "margin-top": "4px" } }, { default: d(() => [o(k, { modelValue: e2.yaxis.nameColor, "onUpdate:modelValue": g[10] || (g[10] = (l2) => e2.yaxis.nameColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称字号", style: { "margin-top": "-10px" } }, { default: d(() => [o(z, { modelValue: e2.yaxis.nameFontSize, "onUpdate:modelValue": g[11] || (g[11] = (l2) => e2.yaxis.nameFontSize = l2), placeholder: "默认", clearable: "" }, { default: d(() => [(t(), s(p, null, y(V, (e3) => o(C, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), o(A, null, { default: d(() => g[30] || (g[30] = [m(" 刻度标签 ")])), _: 1 }), o(v, { label: "内容定义", style: { "margin-top": "-10px" } }, { default: d(() => [o(c, { modelValue: e2.yaxis.formatter, "onUpdate:modelValue": g[12] || (g[12] = (l2) => e2.yaxis.formatter = l2), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), o(F, { type: "success", size: "small" }, { default: d(() => g[31] || (g[31] = [m("标签取值{value},如{value} kg")])), _: 1 })]), _: 1 }), o(v, { label: "标签颜色", style: { "margin-top": "4px" } }, { default: d(() => [o(k, { modelValue: e2.yaxis.labelColor, "onUpdate:modelValue": g[13] || (g[13] = (l2) => e2.yaxis.labelColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), o(v, { label: "标签字号", style: { "margin-top": "-10px" } }, { default: d(() => [o(z, { modelValue: e2.yaxis.labelFontSize, "onUpdate:modelValue": g[14] || (g[14] = (l2) => e2.yaxis.labelFontSize = l2), placeholder: "默认", clearable: "" }, { default: d(() => [(t(), s(p, null, y(V, (e3) => o(C, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), o(v, { label: "分隔线", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: d(() => [o(S, { modelValue: e2.yaxis.enableAxisLine, "onUpdate:modelValue": g[15] || (g[15] = (l2) => e2.yaxis.enableAxisLine = l2) }, null, 8, ["modelValue"])]), _: 1 }), i(o(v, { label: "分割段数", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: d(() => [o(M, { modelValue: e2.yaxis.splitNumber, "onUpdate:modelValue": g[16] || (g[16] = (l2) => e2.yaxis.splitNumber = l2), min: "0", max: "100" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.enableAxisLine]])])]), _: 1 }, 8, ["title", "name"]);
|
|
9
|
+
return t(), a(j, { title: e2.title, name: e2.name, class: "amb-design-attr-group-header" }, { default: d(() => [u("div", r, [o(v, { label: "名称", style: { "margin-top": "0px" } }, { default: d(() => [o(c, { modelValue: e2.yaxis.name, "onUpdate:modelValue": g[0] || (g[0] = (l2) => e2.yaxis.name = l2), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), o(v, { label: "最小值设置", style: { "margin-top": "-10px" } }, { default: d(() => [o(h, { modelValue: e2.yaxis._dataMin, "onUpdate:modelValue": g[1] || (g[1] = (l2) => e2.yaxis._dataMin = l2), onChange: b }, { default: d(() => [o(U, { value: "default" }, { default: d(() => [...g[17] || (g[17] = [m("默认", -1)])]), _: 1 }), o(U, { value: "fixed" }, { default: d(() => [...g[18] || (g[18] = [m("固定值", -1)])]), _: 1 }), o(U, { value: "auto" }, { default: d(() => [...g[19] || (g[19] = [m("自动计算", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "fixed" === e2.yaxis._dataMin ? (t(), a(M, { key: 0, modelValue: e2.yaxis.min, "onUpdate:modelValue": g[2] || (g[2] = (l2) => e2.yaxis.min = l2), max: e2.yaxis.max }, null, 8, ["modelValue", "max"])) : n("", true)]), _: 1 }), o(v, { label: "最大值设置", style: { "margin-top": "-10px" }, onChange: b }, { default: d(() => [o(h, { modelValue: e2.yaxis._dataMax, "onUpdate:modelValue": g[3] || (g[3] = (l2) => e2.yaxis._dataMax = l2) }, { default: d(() => [o(U, { value: "default" }, { default: d(() => [...g[20] || (g[20] = [m("默认", -1)])]), _: 1 }), o(U, { value: "fixed" }, { default: d(() => [...g[21] || (g[21] = [m("固定值", -1)])]), _: 1 }), o(U, { value: "auto" }, { default: d(() => [...g[22] || (g[22] = [m("自动计算", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "fixed" === e2.yaxis._dataMax ? (t(), a(M, { key: 0, modelValue: e2.yaxis.max, "onUpdate:modelValue": g[4] || (g[4] = (l2) => e2.yaxis.max = l2), min: e2.yaxis.min }, null, 8, ["modelValue", "min"])) : n("", true)]), _: 1 }), o(v, { label: "坐标偏移", style: { "margin-top": "-10px" } }, { default: d(() => [o(M, { modelValue: e2.yaxis.offset, "onUpdate:modelValue": g[5] || (g[5] = (l2) => e2.yaxis.offset = l2), min: 0, max: "180" }, null, 8, ["modelValue"])]), _: 1 }), i(o(A, null, { default: d(() => [...g[23] || (g[23] = [m(" 名称 ", -1)])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称位置", style: { "margin-top": "-10px" } }, { default: d(() => [o(z, { modelValue: e2.yaxis.nameLocation, "onUpdate:modelValue": g[6] || (g[6] = (l2) => e2.yaxis.nameLocation = l2), placeholder: "默认", clearable: "" }, { default: d(() => [(t(), s(p, null, y(_, (e3) => o(C, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称对齐", style: { "margin-top": "-10px" } }, { default: d(() => [o(h, { modelValue: e2.yaxis.nameAlign, "onUpdate:modelValue": g[7] || (g[7] = (l2) => e2.yaxis.nameAlign = l2) }, { default: d(() => [o(L, { value: "right" }, { default: d(() => [...g[24] || (g[24] = [m("左", -1)])]), _: 1 }), o(L, { value: "center" }, { default: d(() => [...g[25] || (g[25] = [m("中", -1)])]), _: 1 }), o(L, { value: "left" }, { default: d(() => [...g[26] || (g[26] = [m("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), o(h, { style: { "margin-top": "10px" }, modelValue: e2.yaxis.nameVerticalAlign, "onUpdate:modelValue": g[8] || (g[8] = (l2) => e2.yaxis.nameVerticalAlign = l2) }, { default: d(() => [o(L, { value: "bottom" }, { default: d(() => [...g[27] || (g[27] = [m("上", -1)])]), _: 1 }), o(L, { value: "middle" }, { default: d(() => [...g[28] || (g[28] = [m("中", -1)])]), _: 1 }), o(L, { value: "top" }, { default: d(() => [...g[29] || (g[29] = [m("底", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "内边距", style: { "margin-top": "-10px" } }, { default: d(() => [o(M, { modelValue: e2.yaxis.namePadding, "onUpdate:modelValue": g[9] || (g[9] = (l2) => e2.yaxis.namePadding = l2), min: "0", max: "200" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称颜色", style: { "margin-top": "4px" } }, { default: d(() => [o(k, { modelValue: e2.yaxis.nameColor, "onUpdate:modelValue": g[10] || (g[10] = (l2) => e2.yaxis.nameColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), i(o(v, { label: "名称字号", style: { "margin-top": "-10px" } }, { default: d(() => [o(z, { modelValue: e2.yaxis.nameFontSize, "onUpdate:modelValue": g[11] || (g[11] = (l2) => e2.yaxis.nameFontSize = l2), placeholder: "默认", clearable: "" }, { default: d(() => [(t(), s(p, null, y(V, (e3) => o(C, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.name]]), o(A, null, { default: d(() => [...g[30] || (g[30] = [m(" 刻度标签 ", -1)])]), _: 1 }), o(v, { label: "内容定义", style: { "margin-top": "-10px" } }, { default: d(() => [o(c, { modelValue: e2.yaxis.formatter, "onUpdate:modelValue": g[12] || (g[12] = (l2) => e2.yaxis.formatter = l2), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), o(F, { type: "success", size: "small" }, { default: d(() => [...g[31] || (g[31] = [m("标签取值{value},如{value} kg", -1)])]), _: 1 })]), _: 1 }), o(v, { label: "标签颜色", style: { "margin-top": "4px" } }, { default: d(() => [o(k, { modelValue: e2.yaxis.labelColor, "onUpdate:modelValue": g[13] || (g[13] = (l2) => e2.yaxis.labelColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), o(v, { label: "标签字号", style: { "margin-top": "-10px" } }, { default: d(() => [o(z, { modelValue: e2.yaxis.labelFontSize, "onUpdate:modelValue": g[14] || (g[14] = (l2) => e2.yaxis.labelFontSize = l2), placeholder: "默认", clearable: "" }, { default: d(() => [(t(), s(p, null, y(V, (e3) => o(C, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), o(v, { label: "分隔线", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: d(() => [o(S, { modelValue: e2.yaxis.enableAxisLine, "onUpdate:modelValue": g[15] || (g[15] = (l2) => e2.yaxis.enableAxisLine = l2) }, null, 8, ["modelValue"])]), _: 1 }), i(o(v, { label: "分割段数", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: d(() => [o(M, { modelValue: e2.yaxis.splitNumber, "onUpdate:modelValue": g[16] || (g[16] = (l2) => e2.yaxis.splitNumber = l2), min: "0", max: "100" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[x, e2.yaxis.enableAxisLine]])])]), _: 1 }, 8, ["title", "name"]);
|
|
10
10
|
};
|
|
11
11
|
} });
|
|
12
12
|
export {
|
|
@@ -20,7 +20,7 @@ const g = { style: { padding: "8px 0px 0px 0px" } }, b = { style: { float: "left
|
|
|
20
20
|
V.value = e3;
|
|
21
21
|
}(), l(""), (l2, v3) => {
|
|
22
22
|
const $2 = a("el-radio"), _2 = a("el-option"), h = a("el-select"), F = a("el-form-item"), S = a("el-switch"), w = a("el-input-number"), U = a("QuestionFilled"), k = a("el-icon"), z = a("el-tooltip"), j = a("el-input"), q = a("el-radio-group"), C = a("el-collapse-item");
|
|
23
|
-
return t(), o(C, { title: "数据设置", name: "dataList", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", g, [i(q, { modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": v3[4] || (v3[4] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: u(() => [i(F, { style: { "margin-top": "4px" } }, { label: u(() => [i($2, { value: "variable" }, { default: u(() => v3[5] || (v3[5] = [f("数据字段")])), _: 1 })]), default: u(() => [i(h, { size: "small", disabled: "fix" == e2.configure.props.yaxisSource, modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": v3[0] || (v3[0] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(t(true), s(p, null, d(V.value, (e3) => (t(), o(_2, { key: e3.value, label: e3.label, value: e3.value }, { default: u(() => [r("span", b, c(e3.label), 1), r("span", x, c(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), n(i(F, { label: "累计显示", style: { "margin-top": "-10px" } }, { default: u(() => [i(S, { modelValue: e2.configure.props.isCumulative, "onUpdate:modelValue": v3[1] || (v3[1] = (l3) => e2.configure.props.isCumulative = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, !e2.configure.props.yaxisSource || "variable" == e2.configure.props.yaxisSource]]), i(F, { style: { "margin-top": "-10px" } }, { label: u(() => [i($2, { value: "fix" }, { default: u(() => v3[6] || (v3[6] = [f("固定值 ")])), _: 1 })]), default: u(() => [i(w, { disabled: "fix" != e2.configure.props.yaxisSource, placeholder: "请输入", modelValue: e2.configure.props.yaxisFix, "onUpdate:modelValue": v3[2] || (v3[2] = (l3) => e2.configure.props.yaxisFix = l3), min: 1, preision: "2" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), i($2, { value: "formula", style: { "margin-top": "-10px" } }, { default: u(() => [v3[8] || (v3[8] = f("计算公式 ")), i(z, { class: "box-item", effect: "dark", placement: "top-start" }, { content: u(() => v3[7] || (v3[7] = [f("字段值: ${row.字段名}"), r("br", null, null, -1), f(" 最大值: ${max.字段名}"), r("br", null, null, -1), f(" 求和: ${sum.字段名}"), r("br", null, null, -1), f(" 均值: ${avg.字段名}"), r("br", null, null, -1), f(" 最小值: ${min.字段名}"), r("br", null, null, -1), f(" 最大值: ${max.字段名}"), r("br", null, null, -1), f(" 累计值: ${add.字段名}"), r("br", null, null, -1), f(" 其他可用变量如${page},${data},${task},${request},${context},${system}"), r("br", null, null, -1)])), default: u(() => [i(k, { size: "16" }, { default: u(() => [i(U)]), _: 1 })]), _: 1 })]), _: 1 }), r("div", y, [i(j, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": v3[3] || (v3[3] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])])]), _: 1 }, 8, ["modelValue"])])]), _: 1 });
|
|
23
|
+
return t(), o(C, { title: "数据设置", name: "dataList", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", g, [i(q, { modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": v3[4] || (v3[4] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: u(() => [i(F, { style: { "margin-top": "4px" } }, { label: u(() => [i($2, { value: "variable" }, { default: u(() => [...v3[5] || (v3[5] = [f("数据字段", -1)])]), _: 1 })]), default: u(() => [i(h, { size: "small", disabled: "fix" == e2.configure.props.yaxisSource, modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": v3[0] || (v3[0] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(t(true), s(p, null, d(V.value, (e3) => (t(), o(_2, { key: e3.value, label: e3.label, value: e3.value }, { default: u(() => [r("span", b, c(e3.label), 1), r("span", x, c(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), n(i(F, { label: "累计显示", style: { "margin-top": "-10px" } }, { default: u(() => [i(S, { modelValue: e2.configure.props.isCumulative, "onUpdate:modelValue": v3[1] || (v3[1] = (l3) => e2.configure.props.isCumulative = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, !e2.configure.props.yaxisSource || "variable" == e2.configure.props.yaxisSource]]), i(F, { style: { "margin-top": "-10px" } }, { label: u(() => [i($2, { value: "fix" }, { default: u(() => [...v3[6] || (v3[6] = [f("固定值 ", -1)])]), _: 1 })]), default: u(() => [i(w, { disabled: "fix" != e2.configure.props.yaxisSource, placeholder: "请输入", modelValue: e2.configure.props.yaxisFix, "onUpdate:modelValue": v3[2] || (v3[2] = (l3) => e2.configure.props.yaxisFix = l3), min: 1, preision: "2" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), i($2, { value: "formula", style: { "margin-top": "-10px" } }, { default: u(() => [v3[8] || (v3[8] = f("计算公式 ", -1)), i(z, { class: "box-item", effect: "dark", placement: "top-start" }, { content: u(() => [...v3[7] || (v3[7] = [f("字段值: ${row.字段名}", -1), r("br", null, null, -1), f(" 最大值: ${max.字段名}", -1), r("br", null, null, -1), f(" 求和: ${sum.字段名}", -1), r("br", null, null, -1), f(" 均值: ${avg.字段名}", -1), r("br", null, null, -1), f(" 最小值: ${min.字段名}", -1), r("br", null, null, -1), f(" 最大值: ${max.字段名}", -1), r("br", null, null, -1), f(" 累计值: ${add.字段名}", -1), r("br", null, null, -1), f(" 其他可用变量如${page},${data},${task},${request},${context},${system}", -1), r("br", null, null, -1)])]), default: u(() => [i(k, { size: "16" }, { default: u(() => [i(U)]), _: 1 })]), _: 1 })]), _: 1 }), r("div", y, [i(j, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": v3[3] || (v3[3] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])])]), _: 1 }, 8, ["modelValue"])])]), _: 1 });
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|