super-page-designer 2.3.5-rc1-design1 → 2.3.5-sit1-design1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/page-event-util.js +0 -1
- package/dist/es/components/design/utils/page-i18n-util.js +5 -6
- 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.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
- 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 +4 -4
- package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue.js +52 -0
- package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue2.js +4 -0
- 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 +16 -19
- 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 +5 -6
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +12 -12
- 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 +5 -5
- 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 +6 -6
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +7 -7
- 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 +2 -2
- 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 +1 -4
- 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 +2 -3
- 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-variable-bind.vue.js → common-variable-bind.vue2.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 +2 -3
- 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 +6 -6
- 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 +3 -3
- 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 +2 -2
- 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.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +9 -8
- 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 +6 -6
- 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 +7 -7
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +14 -14
- 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-linkage.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +26 -26
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +4 -4
- 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.vue2.js +9 -9
- 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 +3 -3
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +1 -1
- 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 +11 -11
- package/dist/es/components/design/views/assemblys/form/common/title-suffix.vue.js +1 -1
- 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 +7 -7
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +6 -6
- 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 +6 -6
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +7 -7
- 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 +6 -6
- 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 +7 -7
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +6 -6
- 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 +6 -6
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +8 -8
- 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 +13 -13
- 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.vue3.js +17 -18
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
- 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 +7 -8
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +2 -2
- 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 +2 -3
- package/dist/es/stores/undo-redo-store.js +1 -1
- package/dist/es/style.css +1 -1
- package/package.json +4 -4
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 b = { style: { padding: "8px 0px 0px 0px" } }, v = e({ __name: "exportpdf-attr-advanced", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
|
|
8
|
+
const v2 = e2, _ = 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
|
+
v2.configure.props.base.logSetting = e3, I();
|
|
14
14
|
}
|
|
15
15
|
const C = l(false);
|
|
16
16
|
function N() {
|
|
@@ -25,13 +25,13 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, b = e({ __name: "exportpdf-
|
|
|
25
25
|
S.value = false;
|
|
26
26
|
}
|
|
27
27
|
function E(e3) {
|
|
28
|
-
|
|
28
|
+
v2.configure.props.base.showConditions = JSON.stringify(e3);
|
|
29
29
|
}
|
|
30
|
-
return (l2,
|
|
30
|
+
return (l2, v3) => {
|
|
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: _.value, "onUpdate:modelValue": v3[4] || (v3[4] = (e3) => _.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(j, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", b, [i(V, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": v3[0] || (v3[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: v3[1] || (v3[1] = (e3) => C.value = true) }, { default: t(() => v3[5] || (v3[5] = [d("编辑")])), _: 1 })]), _: 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: v3[2] || (v3[2] = (e3) => S.value = true) }, { default: t(() => v3[6] || (v3[6] = [d("编辑")])), _: 1 })]), _: 1 }), i(V, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [i(h, { type: "primary", onClick: v3[3] || (v3[3] = (e3) => y.value = true) }, { default: t(() => v3[7] || (v3[7] = [d("编辑")])), _: 1 })]), _: 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
|
+
v as default
|
|
37
37
|
};
|
package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js
CHANGED
|
@@ -1,33 +1,30 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as
|
|
2
|
-
import { getFormComponentOptions as
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, 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 g } from "vue";
|
|
2
|
+
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
|
+
import V from "../../common/common-icon-bind.vue.js";
|
|
4
4
|
import v from "../../common/common-function-code.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import _ 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
k2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
|
|
13
|
-
})) : k2.configure.props.base.templateFiles = [];
|
|
14
|
-
}
|
|
8
|
+
import h from "./common-template-select.vue.js";
|
|
9
|
+
import { getTableConfigByTableUuid as j } from "../../../../utils/page-table-util.js";
|
|
10
|
+
const P = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
11
|
+
const w2 = e2, k = l(["base", "appearance", "otherSettings", "linkPage"]), F = l([]), z = l([]), C = l(j(w2.pageDesign, w2.configure));
|
|
15
12
|
return a(() => {
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
w2.configure.props.base.templateFiles && w2.configure.props.base.templateFiles.forEach((e3) => {
|
|
14
|
+
z.value.push(e3.templateUuid);
|
|
18
15
|
}), function() {
|
|
19
16
|
let e3 = {};
|
|
20
|
-
|
|
17
|
+
_.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${w2.pageDesign.systemCode}`, e3).then((e4) => {
|
|
21
18
|
F.value = e4.data;
|
|
22
19
|
});
|
|
23
20
|
}();
|
|
24
21
|
}), (l2, a2) => {
|
|
25
|
-
const
|
|
26
|
-
return
|
|
27
|
-
|
|
28
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(
|
|
22
|
+
const _2 = o("el-option"), j2 = o("el-select"), F2 = o("el-form-item"), z2 = o("el-input"), A = o("el-radio"), O = o("el-radio-group"), S = o("el-divider"), $ = o("el-collapse-item"), q = o("el-radio-button"), E = o("el-switch"), I = o("el-collapse"), B = o("el-form");
|
|
23
|
+
return u(), t(B, { "label-width": "80px", size: "small" }, { default: i(() => [s(I, { modelValue: k.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => k.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s($, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", P, [s(F2, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [s(j2, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: i(() => [(u(true), d(p, null, r(m(b)(), (e3) => (u(), t(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(F2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [s(z2, { 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(F2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: i(() => [s(z2, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(F2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(F2, { 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(F2, { label: "尺寸", class: "amb-design-attr-item" }, { default: i(() => [s(O, { 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(A, { value: "large" }, { default: i(() => a2[18] || (a2[18] = [c("大")])), _: 1 }), s(A, { value: "default" }, { default: i(() => a2[19] || (a2[19] = [c("中")])), _: 1 }), s(A, { value: "small" }, { default: i(() => a2[20] || (a2[20] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(F2, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(O, { 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(A, { value: "default" }, { default: i(() => a2[21] || (a2[21] = [c("普通")])), _: 1 }), s(A, { value: "disabled" }, { default: i(() => a2[22] || (a2[22] = [c("禁用")])), _: 1 }), s(A, { value: "hidden" }, { default: i(() => a2[23] || (a2[23] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S, null, { default: i(() => a2[24] || (a2[24] = [c(" PDF模板 ")])), _: 1 }), s(h, { modelValue: e2.configure.props.base.templateFiles, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.templateFiles = l3), pageDesign: e2.pageDesign, tableConfigure: C.value, templateType: "pdf" }, null, 8, ["modelValue", "pageDesign", "tableConfigure"])])]), _: 1 }), s($, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", D, [s(F2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: i(() => [s(j2, { 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(_2, { label: "primary", value: "primary" }), s(_2, { label: "success", value: "success" }), s(_2, { label: "warning", value: "warning" }), s(_2, { label: "danger", value: "danger" }), s(_2, { label: "info", value: "info" }), s(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(F2, { label: "图标", class: "amb-design-attr-item" }, { default: i(() => [(u(), t(V, { 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) {
|
|
24
|
+
w2.configure.props.base.iconType = e4, w2.configure.props.base.iconValue = l4;
|
|
25
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(F2, { label: "图标位置", class: "amb-design-attr-item" }, { default: i(() => [s(O, { 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(q, { value: "left" }, { default: i(() => a2[25] || (a2[25] = [c("标题前")])), _: 1 }), s(q, { value: "right" }, { default: i(() => a2[26] || (a2[26] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(F2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: i(() => [s(E, { 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(F2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: i(() => [s(E, { 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(F2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: i(() => [s(E, { 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(F2, { label: "加载状态", class: "amb-design-attr-item" }, { default: i(() => [s(O, { 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(A, { value: true }, { default: i(() => a2[27] || (a2[27] = [c("是")])), _: 1 }), s(A, { value: false }, { default: i(() => a2[28] || (a2[28] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(F2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: i(() => [s(O, { 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(A, { value: true }, { default: i(() => a2[29] || (a2[29] = [c("是")])), _: 1 }), s(A, { value: false }, { default: i(() => a2[30] || (a2[30] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(F2, { label: "原生type", class: "amb-design-attr-item" }, { default: i(() => [s(O, { 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(A, { value: "button" }, { default: i(() => a2[31] || (a2[31] = [c("button")])), _: 1 }), s(A, { value: "submit" }, { default: i(() => a2[32] || (a2[32] = [c("submit")])), _: 1 }), s(A, { value: "reset" }, { default: i(() => a2[33] || (a2[33] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s($, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", T, [s(F2, { label: "权限保护", class: "amb-design-attr-item" }, { default: i(() => [s(E, { 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
26
|
};
|
|
30
27
|
} });
|
|
31
28
|
export {
|
|
32
|
-
|
|
29
|
+
w as default
|
|
33
30
|
};
|
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" } }, v = e({ __name: "printlabel-attr-advanced", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
|
|
8
|
+
const v2 = e2, _ = 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
|
+
v2.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" } }, _ = e({ __name: "printlabel
|
|
|
25
25
|
S.value = false;
|
|
26
26
|
}
|
|
27
27
|
function E(e3) {
|
|
28
|
-
|
|
28
|
+
v2.configure.props.base.showConditions = JSON.stringify(e3);
|
|
29
29
|
}
|
|
30
|
-
return (l2,
|
|
30
|
+
return (l2, v3) => {
|
|
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: _.value, "onUpdate:modelValue": v3[4] || (v3[4] = (e3) => _.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": v3[0] || (v3[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: v3[1] || (v3[1] = (e3) => C.value = true) }, { default: t(() => v3[5] || (v3[5] = [d("编辑")])), _: 1 })]), _: 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: v3[2] || (v3[2] = (e3) => S.value = true) }, { default: t(() => v3[6] || (v3[6] = [d("编辑")])), _: 1 })]), _: 1 }), i(h, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [i(j, { type: "primary", onClick: v3[3] || (v3[3] = (e3) => y.value = true) }, { default: t(() => v3[7] || (v3[7] = [d("编辑")])), _: 1 })]), _: 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
|
+
v 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("大"
|
|
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) {
|
|
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("标题前"
|
|
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 });
|
|
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 h from "../../common/common-style-border.vue.js";
|
|
13
|
+
import V from "../../common/common-style-shadow.vue.js";
|
|
14
|
+
import _ 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(" 不同系列的柱间距离 "
|
|
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(h, { configure: e2.configure }, null, 8, ["configure"]), m(V, { configure: e2.configure }, null, 8, ["configure"]), m(_, { 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(" 事件 "
|
|
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]])])]);
|
|
20
20
|
};
|
|
21
21
|
} });
|
|
22
22
|
export {
|
|
@@ -2,13 +2,12 @@ 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
|
|
7
|
-
e2.pageDesign;
|
|
5
|
+
import f from "../../../form/common/suffixmodule.vue.js";
|
|
6
|
+
const g = { 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) {
|
|
8
7
|
const y2 = l(["1", "dataList", "propsDynamic", "clicklinkage", "propsTestDatas"]);
|
|
9
|
-
return (l2,
|
|
10
|
-
const
|
|
11
|
-
return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue":
|
|
8
|
+
return (l2, b) => {
|
|
9
|
+
const V = o("el-option"), v = o("el-select"), _ = o("el-form-item"), h = o("el-switch"), j = o("el-input"), k = o("el-radio-button"), D = o("el-radio-group"), U = o("el-collapse-item"), S = o("el-collapse"), w = o("el-form");
|
|
10
|
+
return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue": b[4] || (b[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", g, [i(_, { label: "系列类型", style: { "margin-top": "4px" } }, { default: u(() => [i(v, { modelValue: e2.configure.type, "onUpdate:modelValue": b[0] || (b[0] = (l3) => e2.configure.type = l3) }, { default: u(() => [i(V, { label: "柱状图", value: "bar" }), i(V, { label: "折线图", value: "line" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(_, { label: "曲线", style: { "margin-top": "-10px" } }, { default: u(() => [i(h, { modelValue: e2.configure.style.isSmooth, "onUpdate:modelValue": b[1] || (b[1] = (l3) => e2.configure.style.isSmooth = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "line" == e2.configure.type]]), i(_, { label: "系列名称", style: { "margin-top": "-10px" } }, { default: u(() => [i(j, { modelValue: e2.configure.props.title, "onUpdate:modelValue": b[2] || (b[2] = (l3) => e2.configure.props.title = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(_, { label: "Y坐标参照", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [i(D, { modelValue: e2.configure.props.yAxisIndex, "onUpdate:modelValue": b[3] || (b[3] = (l3) => e2.configure.props.yAxisIndex = l3) }, { default: u(() => [i(k, { value: "0" }, { default: u(() => b[5] || (b[5] = [s("左坐标")])), _: 1 }), i(k, { value: "1" }, { default: u(() => b[6] || (b[6] = [s("右坐标")])), _: 1 })]), _: 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(f, { 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 });
|
|
12
11
|
};
|
|
13
12
|
} });
|
|
14
13
|
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(" 事件 "
|
|
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]])])]);
|
|
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(" 背景 "
|
|
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 });
|
|
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("拐点标记"
|
|
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 });
|
|
5
5
|
} });
|
|
6
6
|
export {
|
|
7
7
|
s as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onUnmounted as a, watch as t, resolveComponent as o, createBlock as i, openBlock as u, withCtx as r, createElementVNode as n, createVNode as c, createElementBlock as s, Fragment as d, renderList as f, toDisplayString as m, unref as p } from "vue";
|
|
2
2
|
import { Plus as v, Delete as b } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as g } from "../../../../utils/common-util.js";
|
|
4
|
-
import _ from "../../common/common-variable-bind.
|
|
4
|
+
import _ from "../../common/common-variable-bind.vue2.js";
|
|
5
5
|
const V = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { float: "left" } }, w = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, k = e({ __name: "common-attr-clickset", props: { configure: {} }, setup(e2) {
|
|
6
6
|
const k2 = e2;
|
|
7
7
|
k2.configure.clickSet || (k2.configure.clickSet = {});
|
|
@@ -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
|
|
6
|
-
import F from "../../common/common-variable-bind.
|
|
4
|
+
import { usePageContextStore as h } from "../../../../../../stores/page-store.js";
|
|
5
|
+
import { queryServiceReturnFields as _, queryServiceInfo as $ } from "../../../../utils/page-service-util.js";
|
|
6
|
+
import F from "../../common/common-variable-bind.vue2.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 = h().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
|
+
_(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"), h2 = i("el-option"), _2 = i("el-select"), $2 = i("el-text"), O2 = i("el-switch"), S2 = i("el-radio"), j2 = i("QuestionFilled"), C3 = i("el-icon"), L2 = i("el-tooltip"), J2 = i("el-input"), N2 = i("el-radio-group"), R = i("el-collapse-item");
|
|
66
66
|
return o(), r(R, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", D, [s(t2, { label: "选择服务", class: "amb-design-attr-item" }, { default: n(() => [s(x, { pageDesign: d(I), rowObj: d(B).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
|
|
67
67
|
B.service.id, B.service.simpleCode = l4, B.service.id = t4, B.service.name = a4, W();
|
|
68
|
-
}(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [s(
|
|
68
|
+
}(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [s(_2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(Q.value, (e3, l3) => (o(), r(h2, { key: l3, label: e3.label, value: e3.value }, { default: n(() => [u("span", T, g(e3.label), 1), u("span", w, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s($2, { type: "success", size: "small" }, { default: n(() => a2[7] || (a2[7] = [v("默认为根目录")])), _: 1 })]), _: 1 }), s(t2, { label: "结果设值到", class: "amb-design-attr-item" }, { default: n(() => [(o(), r(F, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.resultSet, "onUpdate:modelValue": E }, null, 8, ["modelValue"]))]), _: 1 }), s(t2, { label: "立即查询", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.initializationQuery, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.initializationQuery = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(t2, { label: "是否导出", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.exportable, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.exportable = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(V, { ref: "dataOriginServiceInRef", dataOrigin: e2.configure.props.dataOrigin }, null, 8, ["dataOrigin"]), "pie" == e2.chartType ? (o(), r(N2, { key: 0, modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: n(() => [b(s(t2, { class: "amb-design-attr-item" }, { label: n(() => [s(S2, { value: "variable" }, { default: n(() => a2[8] || (a2[8] = [v("数据字段")])), _: 1 })]), default: n(() => [s(_2, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.yaxisField = l3), disabled: "variable" != e2.configure.props.yaxisSource, title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(q.value, (e3) => (o(), r(h2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: n(() => [u("span", U, g(e3.numLabel), 1), u("span", k, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "title"])]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(s(S2, { value: "formula", style: { "margin-top": "25px" } }, { default: n(() => [a2[10] || (a2[10] = v("计算公式 ")), s(L2, { class: "box-item", effect: "dark", placement: "top-start" }, { content: n(() => a2[9] || (a2[9] = [v("字段值: ${row.字段名}"), u("br", null, null, -1), v(" 最大值: ${max.字段名}"), u("br", null, null, -1), v(" 求和: ${sum.字段名}"), u("br", null, null, -1), v(" 均值: ${avg.字段名}"), u("br", null, null, -1), v(" 最小值: ${min.字段名}"), u("br", null, null, -1), v(" 最大值: ${max.字段名}"), u("br", null, null, -1), v(" 累计值: ${add.字段名}"), u("br", null, null, -1), v(" 其他可用变量如${page},${data},${task},${request},${context},${system}"), u("br", null, null, -1)])), default: n(() => [s(C3, { size: "16" }, { default: n(() => [s(j2)]), _: 1 })]), _: 1 })]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(u("div", z, [s(J2, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])], 512), [[y, "pie" == e2.chartType]])]), _: 1 }, 8, ["modelValue"])) : c("", true)])]), _: 1 });
|
|
69
69
|
};
|
|
70
70
|
} });
|
|
71
71
|
export {
|