super-page-designer 2.3.4-sit1-design2 → 2.3.5-rc1-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/interfaces/page-design-types.d.ts +1 -0
- 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 +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +19 -19
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +5 -52
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +48 -2
- 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/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
- 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/series/column-line-series-attr-base.vue.js +6 -5
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +2 -2
- 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 +7 -7
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +1 -1
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
- 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 +2 -2
- 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/series/pie-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
- 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 +2 -2
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
- 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/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 +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +4 -1
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +46 -0
- package/dist/es/components/design/views/assemblys/common/common-template-select.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +23 -23
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
- 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/iframe/iframe-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +3 -2
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
- 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 +5 -5
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
- 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 +12 -12
- package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
- 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 +6 -6
- 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 +6 -6
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +25 -25
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
- 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 +9 -9
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +6 -6
- 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 +5 -5
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
- 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 +5 -5
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +12 -12
- 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 +5 -5
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-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.vue.js → config.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 +7 -7
- 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 +8 -8
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +8 -7
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
- 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 +1 -1
- package/dist/es/stores/undo-redo-store.js +1 -1
- package/dist/es/style.css +4 -0
- package/package.json +5 -5
|
@@ -2,8 +2,8 @@ import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t
|
|
|
2
2
|
import f from "../../form/common/row-ul-li.vue.js";
|
|
3
3
|
import g from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import c from "../../common/common-function-code.vue.js";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import _ from "../../common/common-i18n-key-input.vue.js";
|
|
6
|
+
const b = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { padding: "8px 0px 0px 0px" } }, v = e({ __name: "dropdown-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
7
7
|
} }, default: () => ({ props: {} }) }, setup(e2) {
|
|
8
8
|
const v2 = e2;
|
|
9
9
|
v2.configure.props.dataOrigin || (v2.configure.props.dataOrigin = {});
|
|
@@ -13,7 +13,7 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { padding: "8p
|
|
|
13
13
|
}
|
|
14
14
|
return (a2, v3) => {
|
|
15
15
|
const O = l("el-text"), U = l("el-form-item"), T = l("el-input"), h = l("el-radio"), j = l("el-radio-group"), w = l("el-collapse-item"), k = l("el-option"), S = l("el-select"), D = l("el-collapse"), E = l("el-form");
|
|
16
|
-
return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div",
|
|
16
|
+
return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", b, [r(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(O, null, { default: u(() => [s(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v3[0] || (v3[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(c, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), r(U, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [r(_, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v3[1] || (v3[1] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(U, { label: "菜单数据", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": v3[2] || (v3[2] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: u(() => [r(h, { value: "static" }, { default: u(() => v3[11] || (v3[11] = [s("静态数据", -1)])), _: 1, __: [11] }), r(h, { value: "variable" }, { default: u(() => v3[12] || (v3[12] = [s("绑定变量", -1)])), _: 1, __: [12] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(f, { style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: e2.configure.props.dataOrigin, pageDesign: e2.pageDesign, type: "dropdown", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin", "pageDesign"]), [[p, !e2.configure.props.dataOrigin.optionValueSetType || "static" === e2.configure.props.dataOrigin.optionValueSetType]]), i(r(U, { label: "选择变量", class: "amb-design-attr-item" }, { default: u(() => [r(g, { modelValue: e2.configure.props.base.menuField, paramTypes: ["data", "page"], "onUpdate:modelValue": x }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "variable" === e2.configure.props.dataOrigin.optionValueSetType]]), r(U, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v3[3] || (v3[3] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "large" }, { default: u(() => v3[13] || (v3[13] = [s("大", -1)])), _: 1, __: [13] }), r(h, { value: "default" }, { default: u(() => v3[14] || (v3[14] = [s("中", -1)])), _: 1, __: [14] }), r(h, { value: "small" }, { default: u(() => v3[15] || (v3[15] = [s("小", -1)])), _: 1, __: [15] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v3[4] || (v3[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "default" }, { default: u(() => v3[16] || (v3[16] = [s("普通", -1)])), _: 1, __: [16] }), r(h, { value: "disabled" }, { default: u(() => v3[17] || (v3[17] = [s("禁用", -1)])), _: 1, __: [17] }), r(h, { value: "hidden" }, { default: u(() => v3[18] || (v3[18] = [s("隐藏", -1)])), _: 1, __: [18] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(w, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", V, [r(U, { label: "触发行为", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.trigger, "onUpdate:modelValue": v3[5] || (v3[5] = (a3) => e2.configure.props.base.trigger = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "hover" }, { default: u(() => v3[19] || (v3[19] = [s("鼠标移动", -1)])), _: 1, __: [19] }), r(h, { value: "click" }, { default: u(() => v3[20] || (v3[20] = [s("鼠标点击", -1)])), _: 1, __: [20] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "呈现元素", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.triggerElement, "onUpdate:modelValue": v3[6] || (v3[6] = (a3) => e2.configure.props.base.triggerElement = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "button" }, { default: u(() => v3[21] || (v3[21] = [s("按钮", -1)])), _: 1, __: [21] }), r(h, { value: "text" }, { default: u(() => v3[22] || (v3[22] = [s("文本", -1)])), _: 1, __: [22] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.buttonType, "onUpdate:modelValue": v3[7] || (v3[7] = (a3) => e2.configure.props.base.buttonType = a3), class: "ml-4" }, { default: u(() => [r(k, { label: "primary", value: "primary" }), r(k, { label: "success", value: "success" }), r(k, { label: "warning", value: "warning" }), r(k, { label: "danger", value: "danger" }), r(k, { label: "info", value: "info" }), r(k, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.splitButton, "onUpdate:modelValue": v3[8] || (v3[8] = (a3) => e2.configure.props.base.splitButton = a3), class: "ml-4" }, { default: u(() => [r(h, { value: true }, { default: u(() => v3[23] || (v3[23] = [s("是", -1)])), _: 1, __: [23] }), r(h, { value: false }, { default: u(() => v3[24] || (v3[24] = [s("否", -1)])), _: 1, __: [24] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), r(U, { label: "弹出位置", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.placement, "onUpdate:modelValue": v3[9] || (v3[9] = (a3) => e2.configure.props.base.placement = a3), clearable: "", class: "ml-4" }, { default: u(() => [r(k, { value: "bottom" }, { default: u(() => v3[25] || (v3[25] = [s("bottom", -1)])), _: 1, __: [25] }), r(k, { value: "top" }, { default: u(() => v3[26] || (v3[26] = [s("top", -1)])), _: 1, __: [26] }), r(k, { value: "top-start" }, { default: u(() => v3[27] || (v3[27] = [s("top-start", -1)])), _: 1, __: [27] }), r(k, { value: "top-end" }, { default: u(() => v3[28] || (v3[28] = [s("top-end", -1)])), _: 1, __: [28] }), r(k, { value: "bottom-start" }, { default: u(() => v3[29] || (v3[29] = [s("bottom-start", -1)])), _: 1, __: [29] }), r(k, { value: "bottom-end" }, { default: u(() => v3[30] || (v3[30] = [s("bottom-end", -1)])), _: 1, __: [30] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js
CHANGED
|
@@ -4,13 +4,13 @@ import m from "../component/set-dialog.vue.js";
|
|
|
4
4
|
import c from "../component/combination.vue.js";
|
|
5
5
|
import p from "../component/journal-set-dialog.vue.js";
|
|
6
6
|
import f from "../../common/common-advanced-basic-showcondition.vue.js";
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const _ = { style: { padding: "8px 0px 0px 0px" } }, b = e({ __name: "exportpdf-attr-advanced", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
|
|
8
|
+
const b2 = e2, v = l(["base"]), g = l([{ dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" }]), T = l({ FIRST_TASK_ID: { dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, ID: { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, AUDIT_REPORT_NO: { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" } }), y = l(false);
|
|
9
9
|
function I() {
|
|
10
10
|
y.value = false;
|
|
11
11
|
}
|
|
12
12
|
function O(e3) {
|
|
13
|
-
|
|
13
|
+
b2.configure.props.base.logSetting = e3, I();
|
|
14
14
|
}
|
|
15
15
|
const C = l(false);
|
|
16
16
|
function N() {
|
|
@@ -25,13 +25,13 @@ const b = { style: { padding: "8px 0px 0px 0px" } }, v = e({ __name: "exportpdf-
|
|
|
25
25
|
S.value = false;
|
|
26
26
|
}
|
|
27
27
|
function E(e3) {
|
|
28
|
-
|
|
28
|
+
b2.configure.props.base.showConditions = JSON.stringify(e3);
|
|
29
29
|
}
|
|
30
|
-
return (l2,
|
|
30
|
+
return (l2, b3) => {
|
|
31
31
|
const k = o("el-option"), x = o("el-select"), V = o("el-form-item"), h = o("el-button"), j = o("el-collapse-item"), U = o("el-collapse"), w = o("el-form");
|
|
32
|
-
return n(), a(w, { "label-width": "80px", size: "small" }, { default: t(() => [i(U, { modelValue:
|
|
32
|
+
return n(), a(w, { "label-width": "80px", size: "small" }, { default: t(() => [i(U, { modelValue: v.value, "onUpdate:modelValue": b3[4] || (b3[4] = (e3) => v.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(j, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", _, [i(V, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": b3[0] || (b3[0] = (l3) => e2.configure.props.base.successOperation = l3), class: "ml-4" }, { default: t(() => [i(k, { label: "无操作", value: "noOperation" }), i(k, { label: "刷新", value: "refresh" }), i(k, { label: "关闭窗口", value: "closeWindow" }), i(k, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [i(h, { type: "primary", onClick: b3[1] || (b3[1] = (e3) => C.value = true) }, { default: t(() => b3[5] || (b3[5] = [d("编辑", -1)])), _: 1, __: [5] })]), _: 1 }), i(V, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), a(f, { key: e2.configure.uuid + "_edit", configure: e2.configure, type: "editConditions" }, null, 8, ["configure"]))]), _: 1 }), i(V, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [i(h, { type: "primary", onClick: b3[2] || (b3[2] = (e3) => S.value = true) }, { default: t(() => b3[6] || (b3[6] = [d("编辑", -1)])), _: 1, __: [6] })]), _: 1 }), i(V, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [i(h, { type: "primary", onClick: b3[3] || (b3[3] = (e3) => y.value = true) }, { default: t(() => b3[7] || (b3[7] = [d("编辑", -1)])), _: 1, __: [7] })]), _: 1 })])]), _: 1 }), C.value ? (n(), a(r, { key: 0, configure: e2.configure, onClose: N }, null, 8, ["configure"])) : u("", true), R.value ? (n(), a(m, { key: 1, configure: e2.configure, onClose: D }, null, 8, ["configure"])) : u("", true), S.value ? (n(), a(c, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: g.value, fieldMap: T.value, onSave: E, onClose: A }, null, 8, ["conditionList", "fieldNameList", "fieldMap"])) : u("", true), y.value ? (n(), a(p, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: I, onSave: O }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
33
33
|
};
|
|
34
34
|
} });
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
b as default
|
|
37
37
|
};
|
package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as u, openBlock as t, withCtx as i, createVNode as s, createElementVNode as n, createElementBlock as d, Fragment as p, renderList as r, unref as m, createTextVNode as c, withDirectives as f, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import
|
|
3
|
+
import _ from "../../common/common-icon-bind.vue.js";
|
|
4
4
|
import v from "../../common/common-function-code.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import V from "agilebuilder-ui/src/utils/request";
|
|
6
6
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
7
7
|
import { Close as x, Check as U } from "@element-plus/icons-vue";
|
|
8
8
|
const h = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
9
9
|
const k2 = e2, w = l(["base", "appearance", "otherSettings", "linkPage"]), F = l([]), T = l([]);
|
|
10
10
|
function z() {
|
|
11
|
-
T.value.length > 0 ? (k2.configure.props.base.templateFiles || (k2.configure.props.base.templateFiles = []), F.value.filter((e3) => T.value.includes(e3.uuid)).forEach((e3) => {
|
|
11
|
+
T.value, T.value.length > 0 ? (k2.configure.props.base.templateFiles || (k2.configure.props.base.templateFiles = []), F.value.filter((e3) => T.value.includes(e3.uuid)).forEach((e3) => {
|
|
12
12
|
k2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
|
|
13
13
|
})) : k2.configure.props.base.templateFiles = [];
|
|
14
14
|
}
|
|
@@ -17,15 +17,15 @@ const h = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8p
|
|
|
17
17
|
T.value.push(e3.templateUuid);
|
|
18
18
|
}), function() {
|
|
19
19
|
let e3 = {};
|
|
20
|
-
|
|
20
|
+
V.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${k2.pageDesign.systemCode}`, e3).then((e4) => {
|
|
21
21
|
F.value = e4.data;
|
|
22
22
|
});
|
|
23
23
|
}();
|
|
24
24
|
}), (l2, a2) => {
|
|
25
|
-
const
|
|
26
|
-
return t(), u(I, { "label-width": "80px", size: "small" }, { default: i(() => [s(q, { modelValue: w.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", h, [s(A, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: i(() => [(t(true), d(p, null, r(m(g)(), (e3) => (t(), u(
|
|
25
|
+
const V2 = o("el-option"), N = o("el-select"), A = o("el-form-item"), C = o("el-input"), D = o("el-radio"), E = o("el-radio-group"), O = o("el-collapse-item"), S = o("el-radio-button"), $ = o("el-switch"), q = o("el-collapse"), I = o("el-form");
|
|
26
|
+
return t(), u(I, { "label-width": "80px", size: "small" }, { default: i(() => [s(q, { modelValue: w.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", h, [s(A, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: i(() => [(t(true), d(p, null, r(m(g)(), (e3) => (t(), u(V2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(A, { label: "自定义编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(A, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "尺寸", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "large" }, { default: i(() => a2[18] || (a2[18] = [c("大", -1)])), _: 1, __: [18] }), s(D, { value: "default" }, { default: i(() => a2[19] || (a2[19] = [c("中", -1)])), _: 1, __: [19] }), s(D, { value: "small" }, { default: i(() => a2[20] || (a2[20] = [c("小", -1)])), _: 1, __: [20] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "default" }, { default: i(() => a2[21] || (a2[21] = [c("普通", -1)])), _: 1, __: [21] }), s(D, { value: "disabled" }, { default: i(() => a2[22] || (a2[22] = [c("禁用", -1)])), _: 1, __: [22] }), s(D, { value: "hidden" }, { default: i(() => a2[23] || (a2[23] = [c("隐藏", -1)])), _: 1, __: [23] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "模板", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: T.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => T.value = e3), multiple: "", onChange: z }, { default: i(() => [(t(true), d(p, null, r(F.value, (e3) => (t(), u(V2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", P, [s(A, { label: "按钮类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: i(() => [s(V2, { label: "primary", value: "primary" }), s(V2, { label: "success", value: "success" }), s(V2, { label: "warning", value: "warning" }), s(V2, { label: "danger", value: "danger" }), s(V2, { label: "info", value: "info" }), s(V2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "图标", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(_, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[8] || (a2[8] = (e3, l3) => function(e4, l4) {
|
|
27
27
|
k2.configure.props.base.iconType = e4, k2.configure.props.base.iconValue = l4;
|
|
28
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(A, { label: "图标位置", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: i(() => [s(S, { value: "left" }, { default: i(() => a2[24] || (a2[24] = [c("标题前")])), _: 1 }), s(S, { value: "right" }, { default: i(() => a2[25] || (a2[25] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), s(A, { label: "文字按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "加载状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[26] || (a2[26] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[27] || (a2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[28] || (a2[28] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[29] || (a2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "原生type", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "button" }, { default: i(() => a2[30] || (a2[30] = [c("button")])), _: 1 }), s(D, { value: "submit" }, { default: i(() => a2[31] || (a2[31] = [c("submit")])), _: 1 }), s(D, { value: "reset" }, { default: i(() => a2[32] || (a2[32] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", j, [s(A, { label: "权限保护", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
28
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(A, { label: "图标位置", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: i(() => [s(S, { value: "left" }, { default: i(() => a2[24] || (a2[24] = [c("标题前", -1)])), _: 1, __: [24] }), s(S, { value: "right" }, { default: i(() => a2[25] || (a2[25] = [c("标题后", -1)])), _: 1, __: [25] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), s(A, { label: "文字按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "加载状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[26] || (a2[26] = [c("是", -1)])), _: 1, __: [26] }), s(D, { value: false }, { default: i(() => a2[27] || (a2[27] = [c("否", -1)])), _: 1, __: [27] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[28] || (a2[28] = [c("是", -1)])), _: 1, __: [28] }), s(D, { value: false }, { default: i(() => a2[29] || (a2[29] = [c("否", -1)])), _: 1, __: [29] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "原生type", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "button" }, { default: i(() => a2[30] || (a2[30] = [c("button", -1)])), _: 1, __: [30] }), s(D, { value: "submit" }, { default: i(() => a2[31] || (a2[31] = [c("submit", -1)])), _: 1, __: [31] }), s(D, { value: "reset" }, { default: i(() => a2[32] || (a2[32] = [c("reset", -1)])), _: 1, __: [32] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", j, [s(A, { label: "权限保护", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
29
29
|
};
|
|
30
30
|
} });
|
|
31
31
|
export {
|
package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js
CHANGED
|
@@ -4,13 +4,13 @@ import m from "../component/set-dialog.vue.js";
|
|
|
4
4
|
import c from "../component/combination.vue.js";
|
|
5
5
|
import p from "../component/journal-set-dialog.vue.js";
|
|
6
6
|
import f from "../../common/common-advanced-basic-showcondition.vue.js";
|
|
7
|
-
const b = { style: { padding: "8px 0px 0px 0px" } },
|
|
8
|
-
const
|
|
7
|
+
const b = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "printlabel-attr-advanced", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
|
|
8
|
+
const _2 = e2, v = l(["base"]), g = l([{ dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" }]), T = l({ FIRST_TASK_ID: { dbColumnName: "FIRST_TASK_ID", label: "该流程的第一个任务的id", type: "TEXT", value: "FIRST_TASK_ID" }, ID: { dbColumnName: "ID", label: "id", type: "LONG", value: "ID" }, AUDIT_REPORT_NO: { dbColumnName: "AUDIT_REPORT_NO", label: "审核报告编号", type: "TEXT", value: "AUDIT_REPORT_NO" } }), y = l(false);
|
|
9
9
|
function I() {
|
|
10
10
|
y.value = false;
|
|
11
11
|
}
|
|
12
12
|
function O(e3) {
|
|
13
|
-
|
|
13
|
+
_2.configure.props.base.logSetting = e3, I();
|
|
14
14
|
}
|
|
15
15
|
const C = l(false);
|
|
16
16
|
function N() {
|
|
@@ -25,13 +25,13 @@ const b = { style: { padding: "8px 0px 0px 0px" } }, v = e({ __name: "printlabel
|
|
|
25
25
|
S.value = false;
|
|
26
26
|
}
|
|
27
27
|
function E(e3) {
|
|
28
|
-
|
|
28
|
+
_2.configure.props.base.showConditions = JSON.stringify(e3);
|
|
29
29
|
}
|
|
30
|
-
return (l2,
|
|
30
|
+
return (l2, _3) => {
|
|
31
31
|
const k = o("el-option"), V = o("el-select"), h = o("el-form-item"), j = o("el-button"), x = o("el-collapse-item"), U = o("el-collapse"), w = o("el-form");
|
|
32
|
-
return n(), a(w, { "label-width": "80px", size: "small" }, { default: t(() => [i(U, { modelValue:
|
|
32
|
+
return n(), a(w, { "label-width": "80px", size: "small" }, { default: t(() => [i(U, { modelValue: v.value, "onUpdate:modelValue": _3[4] || (_3[4] = (e3) => v.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(x, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", b, [i(h, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [i(V, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": _3[0] || (_3[0] = (l3) => e2.configure.props.base.successOperation = l3), class: "ml-4" }, { default: t(() => [i(k, { label: "无操作", value: "noOperation" }), i(k, { label: "刷新", value: "refresh" }), i(k, { label: "关闭窗口", value: "closeWindow" }), i(k, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(h, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [i(j, { type: "primary", onClick: _3[1] || (_3[1] = (e3) => C.value = true) }, { default: t(() => _3[5] || (_3[5] = [d("编辑", -1)])), _: 1, __: [5] })]), _: 1 }), i(h, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), a(f, { key: e2.configure.uuid + "_edit", configure: e2.configure, type: "editConditions" }, null, 8, ["configure"]))]), _: 1 }), i(h, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [i(j, { type: "primary", onClick: _3[2] || (_3[2] = (e3) => S.value = true) }, { default: t(() => _3[6] || (_3[6] = [d("编辑", -1)])), _: 1, __: [6] })]), _: 1 }), i(h, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [i(j, { type: "primary", onClick: _3[3] || (_3[3] = (e3) => y.value = true) }, { default: t(() => _3[7] || (_3[7] = [d("编辑", -1)])), _: 1, __: [7] })]), _: 1 })])]), _: 1 }), C.value ? (n(), a(r, { key: 0, configure: e2.configure, onClose: N }, null, 8, ["configure"])) : u("", true), R.value ? (n(), a(m, { key: 1, configure: e2.configure, onClose: D }, null, 8, ["configure"])) : u("", true), S.value ? (n(), a(c, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: g.value, fieldMap: T.value, onSave: E, onClose: A }, null, 8, ["conditionList", "fieldNameList", "fieldMap"])) : u("", true), y.value ? (n(), a(p, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: I, onSave: O }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
33
33
|
};
|
|
34
34
|
} });
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
_ as default
|
|
37
37
|
};
|
package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js
CHANGED
|
@@ -10,9 +10,9 @@ const h = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
10
10
|
return a(() => {
|
|
11
11
|
}), (l2, a2) => {
|
|
12
12
|
const E = o("el-option"), B = o("el-select"), O = o("el-form-item"), S = o("el-input"), A = o("el-radio"), D = o("el-radio-group"), q = o("el-collapse-item"), C = o("el-radio-button"), F = o("el-switch"), G = o("el-collapse"), H = o("el-form");
|
|
13
|
-
return u(), t(H, { "label-width": "80px", size: "small" }, { default: d(() => [n(G, { modelValue: z.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [n(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", h, [n(O, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), s(r, null, p(m(_)(), (e3) => (u(), t(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(O, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), n(O, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [n(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [c("大")])), _: 1 }), n(A, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [c("中")])), _: 1 }), n(A, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [c("普通")])), _: 1 }), n(A, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [c("禁用")])), _: 1 }), n(A, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", k, [n(O, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
|
|
13
|
+
return u(), t(H, { "label-width": "80px", size: "small" }, { default: d(() => [n(G, { modelValue: z.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [n(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", h, [n(O, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), s(r, null, p(m(_)(), (e3) => (u(), t(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(O, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), n(O, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [n(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [c("大", -1)])), _: 1, __: [22] }), n(A, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [c("中", -1)])), _: 1, __: [23] }), n(A, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [c("小", -1)])), _: 1, __: [24] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [c("普通", -1)])), _: 1, __: [25] }), n(A, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [c("禁用", -1)])), _: 1, __: [26] }), n(A, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [c("隐藏", -1)])), _: 1, __: [27] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", k, [n(O, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
|
|
14
14
|
P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
|
|
15
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(n(O, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [n(C, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [c("标题前")])), _: 1 }), n(C, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), n(O, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[30] || (a2[30] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[31] || (a2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[32] || (a2[32] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[33] || (a2[33] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[34] || (a2[34] = [c("button")])), _: 1 }), n(A, { value: "submit" }, { default: d(() => a2[35] || (a2[35] = [c("submit")])), _: 1 }), n(A, { value: "reset" }, { default: d(() => a2[36] || (a2[36] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", T, [n(O, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "hover" }, { default: d(() => a2[37] || (a2[37] = [c("鼠标移动")])), _: 1 }), n(A, { value: "click" }, { default: d(() => a2[38] || (a2[38] = [c("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[39] || (a2[39] = [c("按钮")])), _: 1 }), n(A, { value: "text" }, { default: d(() => a2[40] || (a2[40] = [c("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[41] || (a2[41] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[42] || (a2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), n(O, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [n(E, { value: "bottom" }, { default: d(() => a2[43] || (a2[43] = [c("bottom")])), _: 1 }), n(E, { value: "top" }, { default: d(() => a2[44] || (a2[44] = [c("top")])), _: 1 }), n(E, { value: "top-start" }, { default: d(() => a2[45] || (a2[45] = [c("top-start")])), _: 1 }), n(E, { value: "top-end" }, { default: d(() => a2[46] || (a2[46] = [c("top-end")])), _: 1 }), n(E, { value: "bottom-start" }, { default: d(() => a2[47] || (a2[47] = [c("bottom-start")])), _: 1 }), n(E, { value: "bottom-end" }, { default: d(() => a2[48] || (a2[48] = [c("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", j, [n(O, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
15
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(n(O, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [n(C, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [c("标题前", -1)])), _: 1, __: [28] }), n(C, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [c("标题后", -1)])), _: 1, __: [29] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), n(O, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[30] || (a2[30] = [c("是", -1)])), _: 1, __: [30] }), n(A, { value: false }, { default: d(() => a2[31] || (a2[31] = [c("否", -1)])), _: 1, __: [31] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[32] || (a2[32] = [c("是", -1)])), _: 1, __: [32] }), n(A, { value: false }, { default: d(() => a2[33] || (a2[33] = [c("否", -1)])), _: 1, __: [33] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[34] || (a2[34] = [c("button", -1)])), _: 1, __: [34] }), n(A, { value: "submit" }, { default: d(() => a2[35] || (a2[35] = [c("submit", -1)])), _: 1, __: [35] }), n(A, { value: "reset" }, { default: d(() => a2[36] || (a2[36] = [c("reset", -1)])), _: 1, __: [36] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", T, [n(O, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "hover" }, { default: d(() => a2[37] || (a2[37] = [c("鼠标移动", -1)])), _: 1, __: [37] }), n(A, { value: "click" }, { default: d(() => a2[38] || (a2[38] = [c("鼠标点击", -1)])), _: 1, __: [38] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[39] || (a2[39] = [c("按钮", -1)])), _: 1, __: [39] }), n(A, { value: "text" }, { default: d(() => a2[40] || (a2[40] = [c("文本", -1)])), _: 1, __: [40] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[41] || (a2[41] = [c("是", -1)])), _: 1, __: [41] }), n(A, { value: false }, { default: d(() => a2[42] || (a2[42] = [c("否", -1)])), _: 1, __: [42] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), n(O, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [n(E, { value: "bottom" }, { default: d(() => a2[43] || (a2[43] = [c("bottom", -1)])), _: 1, __: [43] }), n(E, { value: "top" }, { default: d(() => a2[44] || (a2[44] = [c("top", -1)])), _: 1, __: [44] }), n(E, { value: "top-start" }, { default: d(() => a2[45] || (a2[45] = [c("top-start", -1)])), _: 1, __: [45] }), n(E, { value: "top-end" }, { default: d(() => a2[46] || (a2[46] = [c("top-end", -1)])), _: 1, __: [46] }), n(E, { value: "bottom-start" }, { default: d(() => a2[47] || (a2[47] = [c("bottom-start", -1)])), _: 1, __: [47] }), n(E, { value: "bottom-end" }, { default: d(() => a2[48] || (a2[48] = [c("bottom-end", -1)])), _: 1, __: [48] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", j, [n(O, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
16
16
|
};
|
|
17
17
|
} });
|
|
18
18
|
export {
|
package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js
CHANGED
|
@@ -9,16 +9,16 @@ import x from "../common/common-style-tooltip.vue.js";
|
|
|
9
9
|
import v from "../common/common-style-datazoom.vue.js";
|
|
10
10
|
import b from "../common/common-style-custom.vue.js";
|
|
11
11
|
import j from "../../common/common-style-margin.vue.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
12
|
+
import _ from "../../common/common-style-border.vue.js";
|
|
13
|
+
import h from "../../common/common-style-shadow.vue.js";
|
|
14
|
+
import V from "../../common/common-style-position.vue.js";
|
|
15
15
|
const G = { style: { padding: "8px 0px 0px 0px" } }, L = e({ __name: "column-line-attr-style", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
16
16
|
const L2 = e2;
|
|
17
17
|
null == L2.configure.style.yaxisLeft && (L2.configure.style.yaxisLeft = {}), null == L2.configure.style.yaxisRight && (L2.configure.style.yaxisRight = {});
|
|
18
18
|
const z = o(["titleFont", "subtitleFont", "styleLegend", "styleGrid"]);
|
|
19
19
|
return (o2, L3) => {
|
|
20
20
|
const R = l("el-input-number"), U = l("el-text"), w = l("el-form-item"), C = l("el-collapse-item"), F = l("el-collapse"), Y = l("el-form");
|
|
21
|
-
return t(), n(Y, { "label-width": "80px", size: "small" }, { default: i(() => [m(F, { modelValue: z.value, "onUpdate:modelValue": L3[2] || (L3[2] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(m(a, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.title]]), u(m(f, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.subTitle]]), m(g, { configure: e2.configure }, null, 8, ["configure"]), m(p, { configure: e2.configure }, null, 8, ["configure"]), m(y, { configure: e2.configure }, null, 8, ["configure"]), m(d, { yaxis: e2.configure.style.yaxisLeft, name: "styleYaxisLeft", title: "纵坐标(左)" }, null, 8, ["yaxis"]), m(d, { yaxis: e2.configure.style.yaxisRight, name: "styleYaxisRight", title: "纵坐标(右)" }, null, 8, ["yaxis"]), m(x, { configure: e2.configure }, null, 8, ["configure"]), m(C, { title: "柱间距离(系列为柱状图时有效)", name: "styleBarGap", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [m(w, { label: "不同系列距离(%)", style: { "margin-top": "4px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barGap, "onUpdate:modelValue": L3[0] || (L3[0] = (o3) => e2.configure.style.barGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[3] || (L3[3] = [c(" 不同系列的柱间距离 ")])), _: 1 })]), _: 1 }), m(w, { label: "同系列距离(%)", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barCategoryGap, "onUpdate:modelValue": L3[1] || (L3[1] = (o3) => e2.configure.style.barCategoryGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[4] || (L3[4] = [c(" 同一系列的柱间距离,默认为类目间距的20% ")])), _: 1 })]), _: 1 })])]), _: 1 }), m(v, { configure: e2.configure }, null, 8, ["configure"]), m(b, { configure: e2.configure }, null, 8, ["configure"]), m(j, { configure: e2.configure }, null, 8, ["configure"]), m(
|
|
21
|
+
return t(), n(Y, { "label-width": "80px", size: "small" }, { default: i(() => [m(F, { modelValue: z.value, "onUpdate:modelValue": L3[2] || (L3[2] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(m(a, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.title]]), u(m(f, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.subTitle]]), m(g, { configure: e2.configure }, null, 8, ["configure"]), m(p, { configure: e2.configure }, null, 8, ["configure"]), m(y, { configure: e2.configure }, null, 8, ["configure"]), m(d, { yaxis: e2.configure.style.yaxisLeft, name: "styleYaxisLeft", title: "纵坐标(左)" }, null, 8, ["yaxis"]), m(d, { yaxis: e2.configure.style.yaxisRight, name: "styleYaxisRight", title: "纵坐标(右)" }, null, 8, ["yaxis"]), m(x, { configure: e2.configure }, null, 8, ["configure"]), m(C, { title: "柱间距离(系列为柱状图时有效)", name: "styleBarGap", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [m(w, { label: "不同系列距离(%)", style: { "margin-top": "4px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barGap, "onUpdate:modelValue": L3[0] || (L3[0] = (o3) => e2.configure.style.barGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[3] || (L3[3] = [c(" 不同系列的柱间距离 ", -1)])), _: 1, __: [3] })]), _: 1 }), m(w, { label: "同系列距离(%)", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barCategoryGap, "onUpdate:modelValue": L3[1] || (L3[1] = (o3) => e2.configure.style.barCategoryGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[4] || (L3[4] = [c(" 同一系列的柱间距离,默认为类目间距的20% ", -1)])), _: 1, __: [4] })]), _: 1 })])]), _: 1 }), m(v, { configure: e2.configure }, null, 8, ["configure"]), m(b, { configure: e2.configure }, null, 8, ["configure"]), m(j, { configure: e2.configure }, null, 8, ["configure"]), m(_, { configure: e2.configure }, null, 8, ["configure"]), m(h, { configure: e2.configure }, null, 8, ["configure"]), m(V, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
22
22
|
};
|
|
23
23
|
} });
|
|
24
24
|
export {
|
package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js
CHANGED
|
@@ -16,7 +16,7 @@ const y = { class: "amb-design-attr-content" }, D = { class: "amb-design-attr-he
|
|
|
16
16
|
q();
|
|
17
17
|
}), (n2, l2) => {
|
|
18
18
|
const C3 = a("el-badge");
|
|
19
|
-
return s(), t("div", y, [u("div", D, [u("div", j, [u("label", { class: c({ selected: "base" == O.value }), onClick: l2[0] || (l2[0] = (e3) => O.value = "base") }, "属性", 2), u("label", { class: c({ selected: "style" == O.value }), onClick: l2[1] || (l2[1] = (e3) => O.value = "style") }, "样式", 2), u("label", { class: c({ selected: "event" == O.value }), onClick: l2[2] || (l2[2] = (e3) => O.value = "event") }, [l2[4] || (l2[4] = i(" 事件 ")), _.value > 0 ? (s(), o(C3, { key: 0, value: _.value }, null, 8, ["value"])) : r("", true)], 2), u("label", { class: c({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", k, [g(v(f, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "base" == O.value]]), g(v(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), g(v(b, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
|
|
19
|
+
return s(), t("div", y, [u("div", D, [u("div", j, [u("label", { class: c({ selected: "base" == O.value }), onClick: l2[0] || (l2[0] = (e3) => O.value = "base") }, "属性", 2), u("label", { class: c({ selected: "style" == O.value }), onClick: l2[1] || (l2[1] = (e3) => O.value = "style") }, "样式", 2), u("label", { class: c({ selected: "event" == O.value }), onClick: l2[2] || (l2[2] = (e3) => O.value = "event") }, [l2[4] || (l2[4] = i(" 事件 ", -1)), _.value > 0 ? (s(), o(C3, { key: 0, value: _.value }, null, 8, ["value"])) : r("", true)], 2), u("label", { class: c({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", k, [g(v(f, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "base" == O.value]]), g(v(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), g(v(b, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
|
|
20
20
|
};
|
|
21
21
|
} });
|
|
22
22
|
export {
|
|
@@ -2,12 +2,13 @@ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a
|
|
|
2
2
|
import m from "../../common-series/common-attr-dataset-columnline.vue.js";
|
|
3
3
|
import d from "../../common-series/common-attr-dynamic.vue.js";
|
|
4
4
|
import c from "../../common-series/common-attr-testdatas.vue.js";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import g from "../../../form/common/suffixmodule.vue.js";
|
|
6
|
+
const f = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "column-line-series-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
7
|
+
e2.pageDesign;
|
|
7
8
|
const y2 = l(["1", "dataList", "propsDynamic", "clicklinkage", "propsTestDatas"]);
|
|
8
|
-
return (l2,
|
|
9
|
-
const
|
|
10
|
-
return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue":
|
|
9
|
+
return (l2, _) => {
|
|
10
|
+
const b = o("el-option"), V = o("el-select"), v = o("el-form-item"), h = o("el-switch"), D = o("el-input"), j = o("el-radio-button"), k = o("el-radio-group"), U = o("el-collapse-item"), S = o("el-collapse"), w = o("el-form");
|
|
11
|
+
return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue": _[4] || (_[4] = (e3) => y2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(U, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", f, [i(v, { label: "系列类型", style: { "margin-top": "4px" } }, { default: u(() => [i(V, { modelValue: e2.configure.type, "onUpdate:modelValue": _[0] || (_[0] = (l3) => e2.configure.type = l3) }, { default: u(() => [i(b, { label: "柱状图", value: "bar" }), i(b, { label: "折线图", value: "line" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(v, { label: "曲线", style: { "margin-top": "-10px" } }, { default: u(() => [i(h, { modelValue: e2.configure.style.isSmooth, "onUpdate:modelValue": _[1] || (_[1] = (l3) => e2.configure.style.isSmooth = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "line" == e2.configure.type]]), i(v, { label: "系列名称", style: { "margin-top": "-10px" } }, { default: u(() => [i(D, { modelValue: e2.configure.props.title, "onUpdate:modelValue": _[2] || (_[2] = (l3) => e2.configure.props.title = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(v, { label: "Y坐标参照", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [i(k, { modelValue: e2.configure.props.yAxisIndex, "onUpdate:modelValue": _[3] || (_[3] = (l3) => e2.configure.props.yAxisIndex = l3) }, { default: u(() => [i(j, { value: "0" }, { default: u(() => _[5] || (_[5] = [s("左坐标", -1)])), _: 1, __: [5] }), i(j, { value: "1" }, { default: u(() => _[6] || (_[6] = [s("右坐标", -1)])), _: 1, __: [6] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(m, { configure: e2.configure }, null, 8, ["configure"]), r(i(d, { configure: e2.configure }, null, 8, ["configure"]), [[p, !e2.configure.props.yaxisSource || "variable" === e2.configure.props.yaxisSource]]), i(U, { title: "Click跳转配置", name: "clicklinkage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", x, [(t(), a(g, { key: e2.configure.uuid, configure: e2.configure, pageDesign: e2.pageDesign, isButton: false }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), i(c, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
11
12
|
};
|
|
12
13
|
} });
|
|
13
14
|
export {
|
|
@@ -17,7 +17,7 @@ const b = { class: "amb-design-attr-content" }, y = { class: "amb-design-attr-he
|
|
|
17
17
|
w();
|
|
18
18
|
}), (l2, a2) => {
|
|
19
19
|
const C3 = u("el-badge");
|
|
20
|
-
return n(), s("div", b, [t("div", y, [t("div", j, [t("label", { class: i(D.value), onClick: a2[0] || (a2[0] = (e3) => x("base")) }, "属性", 2), t("label", { class: i(O.value), onClick: a2[1] || (a2[1] = (e3) => x("style")) }, "样式", 2), t("label", { class: i(_.value), onClick: a2[2] || (a2[2] = (e3) => x("event")) }, [a2[4] || (a2[4] = c(" 事件 ")), L.value > 0 ? (n(), o(C3, { key: 0, value: L.value }, null, 8, ["value"])) : r("", true)], 2), t("label", { class: i(q.value), onClick: a2[3] || (a2[3] = (e3) => x("advice")) }, "高级", 2)])]), t("div", k, [v(g(f, { configure: e2.configure, "page-design": e2.pageDesign }, null, 8, ["configure", "page-design"]), [[d, D.value]]), v(g(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, O.value]]), v(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, _.value]])])]);
|
|
20
|
+
return n(), s("div", b, [t("div", y, [t("div", j, [t("label", { class: i(D.value), onClick: a2[0] || (a2[0] = (e3) => x("base")) }, "属性", 2), t("label", { class: i(O.value), onClick: a2[1] || (a2[1] = (e3) => x("style")) }, "样式", 2), t("label", { class: i(_.value), onClick: a2[2] || (a2[2] = (e3) => x("event")) }, [a2[4] || (a2[4] = c(" 事件 ", -1)), L.value > 0 ? (n(), o(C3, { key: 0, value: L.value }, null, 8, ["value"])) : r("", true)], 2), t("label", { class: i(q.value), onClick: a2[3] || (a2[3] = (e3) => x("advice")) }, "高级", 2)])]), t("div", k, [v(g(f, { configure: e2.configure, "page-design": e2.pageDesign }, null, 8, ["configure", "page-design"]), [[d, D.value]]), v(g(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, O.value]]), v(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, _.value]])])]);
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.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 r, createTextVNode as n, vShow as i } from "vue";
|
|
2
2
|
const m = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "style-bar", props: { configure: { type: Object, required: true } }, setup: (e2) => (s2, p) => {
|
|
3
3
|
const f = l("el-input-number"), g = l("el-form-item"), y = l("el-color-picker"), c = l("el-option"), b = l("el-select"), V = l("el-divider"), x = l("el-collapse-item");
|
|
4
|
-
return o(), a(x, { title: "柱体", name: "styleBar", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(g, { label: "宽度", style: { "margin-top": "4px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.barWidth, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.barWidth = l2), min: 1, max: 400 }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "最小宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.minWidth, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.minWidth = l2), min: 1, max: e2.configure.style.maxWidth }, null, 8, ["modelValue", "max"])]), _: 1 }), d(g, { label: "最大宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.maxWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.maxWidth = l2), min: e2.configure.style.minWidth, max: 400 }, null, 8, ["modelValue", "min"])]), _: 1 }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "1", value: "1" }), d(c, { label: "0.9", value: "0.9" }), d(c, { label: "0.8", value: "0.8" }), d(c, { label: "0.7", value: "0.7" }), d(c, { label: "0.6", value: "0.6" }), d(c, { label: "0.5", value: "0.5" }), d(c, { label: "0.4", value: "0.4" }), d(c, { label: "0.3", value: "0.3" }), d(c, { label: "0.2", value: "0.2" }), d(c, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[14] || (p[14] = [n(" 背景 ")])), _: 1 }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.barBackgroundColor, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.barBackgroundColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[15] || (p[15] = [n(" 边宽 ")])), _: 1 }), d(g, { label: "边框颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "边框线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.borderLineType, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.borderLineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "solid", value: "solid" }), d(c, { label: "dashed", value: "dashed" }), d(c, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框圆角", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderRadius, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.borderRadius = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), d(V, null, { default: u(() => p[16] || (p[16] = [n(" 阴影 ")])), _: 1 }), d(g, { label: "阴影颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[10] || (p[10] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "阴影模糊", style: { "margin-top": "15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[11] || (p[11] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "水平偏移", style: { "margin-top": "23px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[12] || (p[12] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "垂直偏移", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[13] || (p[13] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]])])]), _: 1 });
|
|
4
|
+
return o(), a(x, { title: "柱体", name: "styleBar", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(g, { label: "宽度", style: { "margin-top": "4px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.barWidth, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.barWidth = l2), min: 1, max: 400 }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "最小宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.minWidth, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.minWidth = l2), min: 1, max: e2.configure.style.maxWidth }, null, 8, ["modelValue", "max"])]), _: 1 }), d(g, { label: "最大宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.maxWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.maxWidth = l2), min: e2.configure.style.minWidth, max: 400 }, null, 8, ["modelValue", "min"])]), _: 1 }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "1", value: "1" }), d(c, { label: "0.9", value: "0.9" }), d(c, { label: "0.8", value: "0.8" }), d(c, { label: "0.7", value: "0.7" }), d(c, { label: "0.6", value: "0.6" }), d(c, { label: "0.5", value: "0.5" }), d(c, { label: "0.4", value: "0.4" }), d(c, { label: "0.3", value: "0.3" }), d(c, { label: "0.2", value: "0.2" }), d(c, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[14] || (p[14] = [n(" 背景 ", -1)])), _: 1, __: [14] }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.barBackgroundColor, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.barBackgroundColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[15] || (p[15] = [n(" 边宽 ", -1)])), _: 1, __: [15] }), d(g, { label: "边框颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "边框线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.borderLineType, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.borderLineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "solid", value: "solid" }), d(c, { label: "dashed", value: "dashed" }), d(c, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框圆角", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderRadius, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.borderRadius = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), d(V, null, { default: u(() => p[16] || (p[16] = [n(" 阴影 ", -1)])), _: 1, __: [16] }), d(g, { label: "阴影颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[10] || (p[10] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "阴影模糊", style: { "margin-top": "15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[11] || (p[11] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "水平偏移", style: { "margin-top": "23px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[12] || (p[12] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "垂直偏移", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[13] || (p[13] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]])])]), _: 1 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
s as default
|
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, __: [10] }), 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
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, computed as a, onUnmounted as t, resolveComponent as i, createBlock as r, openBlock as o, withCtx as n, createElementVNode as u, createVNode as s, createCommentVNode as c, unref as d, createElementBlock as p, Fragment as m, renderList as f, toDisplayString as g, createTextVNode as v, withDirectives as b, vShow as y } from "vue";
|
|
2
2
|
import x from "../../common/page-permission-select.vue.js";
|
|
3
3
|
import V from "../../form/common/data-origin-service-in.vue.js";
|
|
4
|
-
import { usePageContextStore as
|
|
5
|
-
import { queryServiceReturnFields as
|
|
4
|
+
import { usePageContextStore as _ } from "../../../../../../stores/page-store.js";
|
|
5
|
+
import { queryServiceReturnFields as h, queryServiceInfo as $ } from "../../../../utils/page-service-util.js";
|
|
6
6
|
import F from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import { getUuidv4 as O } from "../../../../utils/common-util.js";
|
|
8
8
|
import { ElMessageBox as S, ElMessage as j } from "element-plus";
|
|
9
9
|
const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left" } }, w = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, U = { style: { float: "left" } }, k = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, z = { style: { width: "100%", "padding-left": "20px", "margin-bottom": "-15px" } }, C = e({ __name: "common-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
|
|
10
|
-
const C2 = e2, I =
|
|
10
|
+
const C2 = e2, I = _().pageContext, L = l([]), Q = a(() => L.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type)), q = a(() => L.value.filter((e3) => {
|
|
11
11
|
if ("number" == e3.type || "any" == e3.type || !e3.type) {
|
|
12
12
|
const l2 = C2.configure.serviceDataField;
|
|
13
13
|
if (!l2 || e3.value.startsWith(l2 + ".")) {
|
|
@@ -25,7 +25,7 @@ const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left
|
|
|
25
25
|
const e3 = B.service.id;
|
|
26
26
|
if (J != e3) {
|
|
27
27
|
if (J = e3, !e3) return C2.configure.serviceFields = [], L.value = [], void (C2.configure.serviceDataField = null);
|
|
28
|
-
|
|
28
|
+
h(B.service.simpleCode).then((e4) => {
|
|
29
29
|
C2.configure.serviceFields = e4, L.value = e4, function() {
|
|
30
30
|
if (!C2.configure.serviceDataField) return;
|
|
31
31
|
let e5 = false;
|
|
@@ -62,10 +62,10 @@ const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left
|
|
|
62
62
|
return t(() => {
|
|
63
63
|
N && clearTimeout(N);
|
|
64
64
|
}), (l2, a2) => {
|
|
65
|
-
const t2 = i("el-form-item"),
|
|
65
|
+
const t2 = i("el-form-item"), _2 = i("el-option"), h2 = 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(
|
|
68
|
+
}(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [s(h2, { 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(_2, { 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, __: [7] })]), _: 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, __: [8] })]), default: n(() => [s(h2, { 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(_2, { 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, __: [10] }, 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 {
|