super-page-designer 2.2.77-sit9 → 2.2.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +2 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
- package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +1 -4
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +34 -38
- 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 +3 -3
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +19 -20
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +8 -9
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +36 -39
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +23 -24
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +60 -64
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +11 -11
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +63 -67
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +1 -4
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +38 -43
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +14 -17
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +80 -83
- 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 -29
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +25 -33
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +30 -33
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +0 -4
- package/dist/es/components/design/views/assemblys/object-design.vue.js +138 -5
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
- 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 +34 -25
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +1 -4
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +18 -22
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +65 -65
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +9 -10
- package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +9 -10
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue2.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
- package/dist/es/components/design/views/design/view/view-design.vue.js +26 -27
- package/dist/es/index.js +1 -1
- package/dist/es/style.css +11223 -12881
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +0 -140
- package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +0 -24
package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js
CHANGED
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as u, createBlock as t, openBlock as o, withCtx as s, createVNode as d, createElementVNode as i, createElementBlock as n, Fragment as r, renderList as p, unref as m, createTextVNode as f, withDirectives as c, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import _ from "../../common/common-icon-bind.vue.js";
|
|
4
|
+
import V from "../../common/common-function-code.vue.js";
|
|
5
|
+
import v from "agilebuilder-ui/src/utils/request";
|
|
6
6
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})) : k2.configure.props.base.templateFiles = [];
|
|
7
|
+
const U = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, P = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
8
|
+
const P2 = e2, j = l(["base", "appearance", "otherSettings", "linkPage"]), k = l([]), w = l([]);
|
|
9
|
+
function F() {
|
|
10
|
+
w.value.length > 0 ? (P2.configure.props.base.templateFiles || (P2.configure.props.base.templateFiles = []), k.value.filter((e3) => w.value.includes(e3.uuid)).forEach((e3) => {
|
|
11
|
+
P2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
|
|
12
|
+
})) : P2.configure.props.base.templateFiles = [];
|
|
14
13
|
}
|
|
15
14
|
return a(() => {
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
P2.configure.props.base.templateFiles && P2.configure.props.base.templateFiles.forEach((e3) => {
|
|
16
|
+
w.value.push(e3.templateUuid);
|
|
18
17
|
}), function() {
|
|
19
18
|
let e3 = {};
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
v.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${P2.pageDesign.systemCode}`, e3).then((e4) => {
|
|
20
|
+
k.value = e4.data;
|
|
22
21
|
});
|
|
23
22
|
}();
|
|
24
23
|
}), (l2, a2) => {
|
|
25
|
-
const
|
|
26
|
-
return
|
|
27
|
-
|
|
28
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }),
|
|
24
|
+
const v2 = u("el-option"), T = u("el-select"), z = u("el-form-item"), N = u("el-input"), A = u("el-radio"), C = u("el-radio-group"), D = u("el-collapse-item"), E = u("el-radio-button"), O = u("el-switch"), S = u("el-collapse"), $ = u("el-form");
|
|
25
|
+
return o(), t($, { "label-width": "80px", size: "small" }, { default: s(() => [d(S, { modelValue: j.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [d(D, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", U, [d(z, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: s(() => [(o(true), n(r, null, p(m(g)(), (e3) => (o(), t(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { 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 }), d(z, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(V, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), d(z, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [d(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "large" }, { default: s(() => a2[18] || (a2[18] = [f("大")])), _: 1 }), d(A, { value: "default" }, { default: s(() => a2[19] || (a2[19] = [f("中")])), _: 1 }), d(A, { value: "small" }, { default: s(() => a2[20] || (a2[20] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "default" }, { default: s(() => a2[21] || (a2[21] = [f("普通")])), _: 1 }), d(A, { value: "disabled" }, { default: s(() => a2[22] || (a2[22] = [f("禁用")])), _: 1 }), d(A, { value: "hidden" }, { default: s(() => a2[23] || (a2[23] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "模板", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: w.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => w.value = e3), multiple: "", onChange: F }, { default: s(() => [(o(true), n(r, null, p(k.value, (e3) => (o(), t(v2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", h, [d(z, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: s(() => [d(v2, { label: "primary", value: "primary" }), d(v2, { label: "success", value: "success" }), d(v2, { label: "warning", value: "warning" }), d(v2, { label: "danger", value: "danger" }), d(v2, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(_, { 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) {
|
|
26
|
+
P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
|
|
27
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(d(z, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: s(() => [d(E, { value: "left" }, { default: s(() => a2[24] || (a2[24] = [f("标题前")])), _: 1 }), d(E, { value: "right" }, { default: s(() => a2[25] || (a2[25] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), d(z, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[26] || (a2[26] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[27] || (a2[27] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[28] || (a2[28] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[29] || (a2[29] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[30] || (a2[30] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[31] || (a2[31] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[32] || (a2[32] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[33] || (a2[33] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[34] || (a2[34] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[35] || (a2[35] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "button" }, { default: s(() => a2[36] || (a2[36] = [f("button")])), _: 1 }), d(A, { value: "submit" }, { default: s(() => a2[37] || (a2[37] = [f("submit")])), _: 1 }), d(A, { value: "reset" }, { default: s(() => a2[38] || (a2[38] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", x, [d(z, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [d(O, { 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
28
|
};
|
|
30
29
|
} });
|
|
31
30
|
export {
|
|
32
|
-
|
|
31
|
+
P as default
|
|
33
32
|
};
|
package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as e, ref as i, watch as
|
|
1
|
+
import { defineComponent as e, ref as i, watch as u, resolveComponent as t, createBlock as o, openBlock as l, normalizeStyle as n, normalizeClass as a, withCtx as r, createElementBlock as s, createCommentVNode as c, Fragment as p, createTextVNode as g, toDisplayString as v, unref as f } from "vue";
|
|
2
2
|
import { SuperIcon as d } from "agilebuilder-ui";
|
|
3
|
-
import { caculateDetailComponentStyle as
|
|
3
|
+
import { caculateDetailComponentStyle as m, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import { batchUpdatePermissions as b } from "../../../../utils/page-permission-util.js";
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
const V = e({ __name: "exportpdf-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
|
+
const V2 = e2;
|
|
7
|
+
V2.configure.runtime || (V2.configure.runtime = {});
|
|
8
|
+
const k = i({}), x = i(""), j = i({}), T = i({});
|
|
9
|
+
u(V2.configure.style, () => {
|
|
10
|
+
m(V2.configure, k, x, j), V2.configure.runtime.style = k.value, V2.configure.runtime.class = x.value, V2.configure.runtime.headerStyle = j.value;
|
|
11
11
|
}, { immediate: true });
|
|
12
|
-
const
|
|
13
|
-
let
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
let e4 =
|
|
17
|
-
const i3 = e4.base ? e4.base : {},
|
|
18
|
-
Object.assign(
|
|
19
|
-
}(),
|
|
12
|
+
const h = V2.configure.props && V2.configure.props.base ? V2.configure.props.base : {};
|
|
13
|
+
let z = h.title;
|
|
14
|
+
return u(V2.configure.props, (e3, i2) => {
|
|
15
|
+
y(V2.configure, T), function() {
|
|
16
|
+
let e4 = V2.configure.props ? V2.configure.props : {};
|
|
17
|
+
const i3 = e4.base ? e4.base : {}, u2 = e4.dropdown ? e4.dropdown : {};
|
|
18
|
+
Object.assign(T.value, u2), Object.assign(T.value, i3);
|
|
19
|
+
}(), h.title !== z && V2.pageDesign && (b(V2.configure, V2.pageDesign), z = h.title), V2.configure.runtime.props = T.value;
|
|
20
20
|
}, { immediate: true }), (e3, i2) => {
|
|
21
|
-
const
|
|
22
|
-
return
|
|
21
|
+
const u2 = t("el-button");
|
|
22
|
+
return l(), o(u2, { disabled: "disabled" === T.value.state, class: a(x.value), style: n(k.value), type: T.value.type, size: T.value.size, text: T.value.text, round: T.value.round, plain: T.value.plain }, { default: r(() => [T.value.title && "right" == T.value.iconPosition ? (l(), s(p, { key: 0 }, [g(v(T.value.title) + " ", 1), T.value.iconValue ? (l(), s(p, { key: 0 }, [g(" ")], 64)) : c("", true)], 64)) : c("", true), T.value.iconType && T.value.iconValue ? (l(), o(f(d), { key: 1, iconType: T.value.iconType, iconValue: T.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), T.value.title && "right" != T.value.iconPosition ? (l(), s(p, { key: 2 }, [T.value.iconValue ? (l(), s(p, { key: 0 }, [g(" ")], 64)) : c("", true), g(" " + v(T.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
V as default
|
|
27
27
|
};
|
package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, withCtx as d, createVNode as
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, withCtx as d, createVNode as s, createElementVNode as n, createElementBlock as r, Fragment as i, renderList as p, unref as m, createTextVNode as f, withDirectives as c, vShow as g, createCommentVNode as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as _ } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import V from "../../common/common-icon-bind.vue.js";
|
|
4
4
|
import v from "../../common/common-function-code.vue.js";
|
|
5
5
|
import y from "./print-template-select.vue.js";
|
|
6
6
|
import x from "../../common/common-i18n-key-input.vue.js";
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
const P2 = e2, z = l(["base", "appearance", "otherSettings", "linkPage"]);
|
|
7
|
+
const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "printlabel-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
8
|
+
const T2 = e2, j = l(["base", "appearance", "otherSettings", "linkPage"]);
|
|
10
9
|
return a(() => {
|
|
11
10
|
}), (l2, a2) => {
|
|
12
|
-
const
|
|
13
|
-
return u(), t(
|
|
14
|
-
|
|
15
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }),
|
|
11
|
+
const P = o("el-option"), z = o("el-select"), E = o("el-form-item"), B = o("el-input"), O = o("el-radio"), S = o("el-radio-group"), A = o("el-collapse-item"), D = o("el-radio-button"), q = o("el-switch"), C = o("el-collapse"), F = o("el-form");
|
|
12
|
+
return u(), t(F, { "label-width": "80px", size: "small" }, { default: d(() => [s(C, { modelValue: j.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", U, [s(E, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), r(i, null, p(m(_)(), (e3) => (u(), t(P, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { 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(E, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(E, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [s(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [f("大")])), _: 1 }), s(O, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [f("中")])), _: 1 }), s(O, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [f("普通")])), _: 1 }), s(O, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [f("禁用")])), _: 1 }), s(O, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), s(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", w, [s(E, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { 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(() => [s(P, { label: "primary", value: "primary" }), s(P, { label: "success", value: "success" }), s(P, { label: "warning", value: "warning" }), s(P, { label: "danger", value: "danger" }), s(P, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { 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
|
+
T2.configure.props.base.iconType = e4, T2.configure.props.base.iconValue = l4;
|
|
14
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(s(E, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [s(D, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [f("标题前")])), _: 1 }), s(D, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(E, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[30] || (a2[30] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[31] || (a2[31] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[32] || (a2[32] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[33] || (a2[33] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[34] || (a2[34] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[35] || (a2[35] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[36] || (a2[36] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[37] || (a2[37] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[38] || (a2[38] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[39] || (a2[39] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "button" }, { default: d(() => a2[40] || (a2[40] = [f("button")])), _: 1 }), s(O, { value: "submit" }, { default: d(() => a2[41] || (a2[41] = [f("submit")])), _: 1 }), s(O, { value: "reset" }, { default: d(() => a2[42] || (a2[42] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(A, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", h, [s(E, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "hover" }, { default: d(() => a2[43] || (a2[43] = [f("鼠标移动")])), _: 1 }), s(O, { value: "click" }, { default: d(() => a2[44] || (a2[44] = [f("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "button" }, { default: d(() => a2[45] || (a2[45] = [f("按钮")])), _: 1 }), s(O, { value: "text" }, { default: d(() => a2[46] || (a2[46] = [f("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(E, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [s(P, { label: "primary", value: "primary" }), s(P, { label: "success", value: "success" }), s(P, { label: "warning", value: "warning" }), s(P, { label: "danger", value: "danger" }), s(P, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : b("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(E, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[47] || (a2[47] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[48] || (a2[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : b("", true), s(E, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [s(z, { 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(() => [s(P, { value: "bottom" }, { default: d(() => a2[49] || (a2[49] = [f("bottom")])), _: 1 }), s(P, { value: "top" }, { default: d(() => a2[50] || (a2[50] = [f("top")])), _: 1 }), s(P, { value: "top-start" }, { default: d(() => a2[51] || (a2[51] = [f("top-start")])), _: 1 }), s(P, { value: "top-end" }, { default: d(() => a2[52] || (a2[52] = [f("top-end")])), _: 1 }), s(P, { value: "bottom-start" }, { default: d(() => a2[53] || (a2[53] = [f("bottom-start")])), _: 1 }), s(P, { value: "bottom-end" }, { default: d(() => a2[54] || (a2[54] = [f("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(A, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", k, [s(E, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [s(q, { 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
15
|
};
|
|
17
16
|
} });
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
T as default
|
|
20
19
|
};
|
package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as e, ref as i, watch as
|
|
1
|
+
import { defineComponent as e, ref as i, watch as u, resolveComponent as t, createBlock as l, openBlock as n, normalizeStyle as o, normalizeClass as a, withCtx as r, createElementBlock as s, createCommentVNode as c, Fragment as p, createTextVNode as g, toDisplayString as v, unref as f } from "vue";
|
|
2
2
|
import { SuperIcon as d } from "agilebuilder-ui";
|
|
3
|
-
import { caculateDetailComponentStyle as
|
|
3
|
+
import { caculateDetailComponentStyle as m, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import { batchUpdatePermissions as b } from "../../../../utils/page-permission-util.js";
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
const V = e({ __name: "printlabel-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
|
+
const V2 = e2;
|
|
7
|
+
V2.configure.runtime || (V2.configure.runtime = {});
|
|
8
|
+
const k = i({}), j = i(""), x = i({}), T = i({});
|
|
9
|
+
u(V2.configure.style, () => {
|
|
10
|
+
m(V2.configure, k, j, x), V2.configure.runtime.style = k.value, V2.configure.runtime.class = j.value, V2.configure.runtime.headerStyle = x.value;
|
|
11
11
|
}, { immediate: true });
|
|
12
|
-
const
|
|
13
|
-
let
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
let e4 =
|
|
17
|
-
const i3 = e4.base ? e4.base : {},
|
|
18
|
-
Object.assign(
|
|
19
|
-
}(),
|
|
12
|
+
const h = V2.configure.props && V2.configure.props.base ? V2.configure.props.base : {};
|
|
13
|
+
let z = h.title;
|
|
14
|
+
return u(V2.configure.props, (e3, i2) => {
|
|
15
|
+
y(V2.configure, T), function() {
|
|
16
|
+
let e4 = V2.configure.props ? V2.configure.props : {};
|
|
17
|
+
const i3 = e4.base ? e4.base : {}, u2 = e4.dropdown ? e4.dropdown : {};
|
|
18
|
+
Object.assign(T.value, u2), Object.assign(T.value, i3);
|
|
19
|
+
}(), h.title !== z && V2.pageDesign && (b(V2.configure, V2.pageDesign), z = h.title), V2.configure.runtime.props = T.value;
|
|
20
20
|
}, { immediate: true }), (e3, i2) => {
|
|
21
|
-
const
|
|
22
|
-
return
|
|
21
|
+
const u2 = t("el-button");
|
|
22
|
+
return n(), l(u2, { disabled: "disabled" === T.value.state, class: a(j.value), style: o(k.value), type: T.value.type, size: T.value.size, text: T.value.text, round: T.value.round, plain: T.value.plain }, { default: r(() => [T.value.title && "right" == T.value.iconPosition ? (n(), s(p, { key: 0 }, [g(v(T.value.title) + " ", 1), T.value.iconValue ? (n(), s(p, { key: 0 }, [g(" ")], 64)) : c("", true)], 64)) : c("", true), T.value.iconType && T.value.iconValue ? (n(), l(f(d), { key: 1, iconType: T.value.iconType, iconValue: T.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), T.value.title && "right" != T.value.iconPosition ? (n(), s(p, { key: 2 }, [T.value.iconValue ? (n(), s(p, { key: 0 }, [g(" ")], 64)) : c("", true), g(" " + v(T.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
V as default
|
|
27
27
|
};
|
package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as i, onUnmounted as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as i, onUnmounted as o, createElementBlock as r, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as f, unref as a, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as v } from "vue";
|
|
2
2
|
import { getUuidv4 as h } from "../../../../utils/common-util.js";
|
|
3
3
|
import { caculateComponentStyle as b } from "../../../../utils/container-design-util.js";
|
|
4
|
-
import { removComponentDataConfig as W, generateChartHeader as
|
|
5
|
-
import { getCustomTheme as
|
|
4
|
+
import { removComponentDataConfig as W, generateChartHeader as x, generateChartOption as j, updateDynamicSeriesField as y, initComponentDataConfig as C } from "../../../../utils/chart-design-util.js";
|
|
5
|
+
import { getCustomTheme as I } from "super-page-runtime";
|
|
6
6
|
import k from "./series/column-line-series-attr.vue.js";
|
|
7
7
|
import D from "../common/common-chart-header.vue.js";
|
|
8
8
|
import { use as F } from "echarts/core";
|
|
@@ -13,17 +13,17 @@ import H from "vue-echarts";
|
|
|
13
13
|
import "element-plus";
|
|
14
14
|
import "agilebuilder-ui/src/utils/request";
|
|
15
15
|
import "../../../../utils/eventBus.js";
|
|
16
|
-
const S = {
|
|
16
|
+
const S = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, E = ["onClick"], G = e({ __name: "column-line-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: G2 }) {
|
|
17
17
|
F([T, w, O, R, _, q, A, z, B]);
|
|
18
18
|
const J = e2;
|
|
19
19
|
J.configure.props || (J.configure.props = {}), J.configure.items || (J.configure.items = []), 0 == J.configure.items.length && J.configure.items.push({ uuid: h(), index: 1, name: "", type: "bar", label: "柱状图", props: { title: "系列1" }, style: {} }), J.configure.runtime || (J.configure.runtime = {});
|
|
20
20
|
const K = t({}), L = t(""), M = t({}), N = t({}), P = t(null);
|
|
21
21
|
function Q() {
|
|
22
|
-
const e3 =
|
|
22
|
+
const e3 = C(J.configure, N.value);
|
|
23
23
|
J.configure.runtime.dataConfig = e3;
|
|
24
24
|
}
|
|
25
25
|
i(J.configure.style, () => {
|
|
26
|
-
b(J.configure, K, L, null), J.configure.runtime.style = K.value, J.configure.runtime.class = L.value, N.value =
|
|
26
|
+
b(J.configure, K, L, null), J.configure.runtime.style = K.value, J.configure.runtime.class = L.value, N.value = x(J.configure), J.configure.runtime.headerInfo = N.value, V();
|
|
27
27
|
}, { immediate: true }), i(J.configure.props, () => {
|
|
28
28
|
V(), Q();
|
|
29
29
|
}), i(J.configure.items, () => {
|
|
@@ -33,7 +33,7 @@ const S = { class: "amb-design-item-title" }, E = ["onClick"], G = e({ __name: "
|
|
|
33
33
|
Q();
|
|
34
34
|
}, 100);
|
|
35
35
|
function V() {
|
|
36
|
-
|
|
36
|
+
j(J.configure, M), N.value = x(J.configure), P.value = I(J.configure.props.customTheme), J.configure.runtime.chartOption = M.value, J.configure.runtime.headerInfo = N.value, y(J.configure, N.value);
|
|
37
37
|
}
|
|
38
38
|
function X() {
|
|
39
39
|
if (J.configure.items) for (let e3 of J.configure.items) e3.selected = false;
|
|
@@ -41,13 +41,13 @@ const S = { class: "amb-design-item-title" }, E = ["onClick"], G = e({ __name: "
|
|
|
41
41
|
function Y(e3) {
|
|
42
42
|
X();
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
o(() => {
|
|
45
45
|
W(J.configure), U && clearTimeout(U);
|
|
46
46
|
}), J.selectWidget && i(J.selectWidget, () => {
|
|
47
47
|
null != J.selectWidget && J.selectWidget.value != J.configure.componentIndex && X();
|
|
48
48
|
}), t(null);
|
|
49
49
|
const Z = G2;
|
|
50
|
-
return (e3, t2) => (n(),
|
|
50
|
+
return (e3, t2) => (n(), r("div", { style: c([K.value, { position: "relative" }]), class: u([L.value, "amb-widget-chart"]), onClick: s(Y, ["stop"]), ref: "thisRef" }, [l(m(D, { headerInfo: N.value }, null, 8, ["headerInfo"]), [[f, N.value.showHeader]]), m(a(H), { ref: "chartRef", theme: P.value, option: M.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", S, [(n(true), r(p, null, d(e3.configure.items, (e4, t3) => (n(), r("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
|
|
51
51
|
e6 && e6.preventDefault();
|
|
52
52
|
const i2 = J.configure.items[t4];
|
|
53
53
|
if (!i2.selected) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, watch as i, onUnmounted as o, createElementBlock as r, openBlock as n, withModifiers as u, normalizeClass as s, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as f, unref as a, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as h } from "vue";
|
|
2
2
|
import { caculateComponentStyle as v } from "../../../../utils/container-design-util.js";
|
|
3
|
-
import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as
|
|
4
|
-
import { getUuidv4 as
|
|
5
|
-
import { getCustomTheme as
|
|
6
|
-
import
|
|
3
|
+
import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as x, initComponentDataConfig as j } from "../../../../utils/chart-design-util.js";
|
|
4
|
+
import { getUuidv4 as y } from "../../../../utils/common-util.js";
|
|
5
|
+
import { getCustomTheme as C } from "super-page-runtime";
|
|
6
|
+
import I from "./series/gauge-series-attr.vue.js";
|
|
7
7
|
import k from "../common/common-chart-header.vue.js";
|
|
8
8
|
import { use as T } from "echarts/core";
|
|
9
9
|
import { CanvasRenderer as w } from "echarts/renderers";
|
|
10
10
|
import { GaugeChart as A } from "echarts/charts";
|
|
11
11
|
import { GridComponent as D, TitleComponent as O, TooltipComponent as R, ToolboxComponent as _ } from "echarts/components";
|
|
12
12
|
import z from "vue-echarts";
|
|
13
|
-
const H = {
|
|
13
|
+
const H = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, S = ["onClick"], q = e({ __name: "gauge-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: q2 }) {
|
|
14
14
|
T([w, A, D, O, R, _]);
|
|
15
15
|
const B = e2;
|
|
16
|
-
B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid:
|
|
16
|
+
B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid: y(), name: "", index: 1, type: "gauge", label: "系列", props: { title: "系列1" }, style: {} }), B.configure.runtime || (B.configure.runtime = {});
|
|
17
17
|
const E = t({}), F = t(""), G = t(null), J = t({}), K = t({});
|
|
18
18
|
function L() {
|
|
19
|
-
const e3 =
|
|
19
|
+
const e3 = j(B.configure, K.value);
|
|
20
20
|
B.configure.runtime.dataConfig = e3;
|
|
21
21
|
}
|
|
22
22
|
i(B.configure.style, () => {
|
|
@@ -30,7 +30,7 @@ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "
|
|
|
30
30
|
L();
|
|
31
31
|
}, 100);
|
|
32
32
|
function N() {
|
|
33
|
-
|
|
33
|
+
x(B.configure, J), K.value = b(B.configure), G.value = C(B.configure.props.customTheme), B.configure.runtime.chartOption = J.value, B.configure.runtime.headerInfo = K.value;
|
|
34
34
|
}
|
|
35
35
|
function P() {
|
|
36
36
|
if (B.configure.items) for (let e3 of B.configure.items) e3.selected = false;
|
|
@@ -52,7 +52,7 @@ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "
|
|
|
52
52
|
e7.selected = false;
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
|
-
i2.selected = true, U("onCustomAttrWidget", i2,
|
|
55
|
+
i2.selected = true, U("onCustomAttrWidget", i2, I);
|
|
56
56
|
}
|
|
57
57
|
}(e5, t3), ["stop"]) }, h(e4.props.title), 11, S))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
|
|
58
58
|
} });
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, watch as i, onUnmounted as o, createElementBlock as r, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as m, vShow as f, unref as a, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as h } from "vue";
|
|
2
2
|
import { caculateComponentStyle as v } from "../../../../utils/container-design-util.js";
|
|
3
3
|
import { getUuidv4 as W } from "../../../../utils/common-util.js";
|
|
4
|
-
import { removComponentDataConfig as b, generateChartHeader as
|
|
5
|
-
import { getCustomTheme as
|
|
6
|
-
import
|
|
4
|
+
import { removComponentDataConfig as b, generateChartHeader as x, generateChartOption as j, initComponentDataConfig as y } from "../../../../utils/chart-design-util.js";
|
|
5
|
+
import { getCustomTheme as C } from "super-page-runtime";
|
|
6
|
+
import I from "./series/pie-series-attr.vue.js";
|
|
7
7
|
import k from "../common/common-chart-header.vue.js";
|
|
8
8
|
import { use as T } from "echarts/core";
|
|
9
9
|
import { CanvasRenderer as w } from "echarts/renderers";
|
|
10
10
|
import { PieChart as A } from "echarts/charts";
|
|
11
11
|
import { GridComponent as D, LegendComponent as O, TitleComponent as R, TooltipComponent as _, ToolboxComponent as z } from "echarts/components";
|
|
12
12
|
import H from "vue-echarts";
|
|
13
|
-
const S = {
|
|
13
|
+
const S = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, q = ["onClick"], B = e({ __name: "pie-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: B2 }) {
|
|
14
14
|
T([w, A, D, O, R, _, z]);
|
|
15
15
|
const E = e2;
|
|
16
16
|
E.configure.props || (E.configure.props = {}), E.configure.items || (E.configure.items = []), 0 == E.configure.items.length && E.configure.items.push({ uuid: W(), name: "", index: 1, type: "pie", label: "系列", props: { title: "系列1" }, style: {} }), E.configure.runtime || (E.configure.runtime = {});
|
|
17
17
|
const F = t({}), G = t(""), J = t(null), K = t({}), L = t({});
|
|
18
18
|
function M() {
|
|
19
|
-
const e3 =
|
|
19
|
+
const e3 = y(E.configure, L.value);
|
|
20
20
|
E.configure.runtime.dataConfig = e3;
|
|
21
21
|
}
|
|
22
22
|
i(E.configure.style, () => {
|
|
23
|
-
v(E.configure, F, G, null), E.configure.runtime.style = F.value, E.configure.runtime.class = G.value, L.value =
|
|
23
|
+
v(E.configure, F, G, null), E.configure.runtime.style = F.value, E.configure.runtime.class = G.value, L.value = x(E.configure), E.configure.runtime.headerInfo = L.value, P();
|
|
24
24
|
}, { immediate: true }), i(E.configure.props, () => {
|
|
25
25
|
P(), M();
|
|
26
26
|
}), i(E.configure.items, () => {
|
|
@@ -30,7 +30,7 @@ const S = { class: "amb-design-item-title" }, q = ["onClick"], B = e({ __name: "
|
|
|
30
30
|
M();
|
|
31
31
|
}, 100);
|
|
32
32
|
function P() {
|
|
33
|
-
|
|
33
|
+
j(E.configure, K), L.value = x(E.configure), J.value = C(E.configure.props.customTheme), E.configure.runtime.chartOption = K.value, E.configure.runtime.headerInfo = L.value;
|
|
34
34
|
}
|
|
35
35
|
function Q() {
|
|
36
36
|
if (E.configure.items) for (let e3 of E.configure.items) e3.selected = false;
|
|
@@ -52,7 +52,7 @@ const S = { class: "amb-design-item-title" }, q = ["onClick"], B = e({ __name: "
|
|
|
52
52
|
e7.selected = false;
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
|
-
i2.selected = true, V("onCustomAttrWidget", i2,
|
|
55
|
+
i2.selected = true, V("onCustomAttrWidget", i2, I);
|
|
56
56
|
}
|
|
57
57
|
}(e5, t3), ["stop"]) }, h(e4.props.title), 11, q))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
|
|
58
58
|
} });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as i, onUnmounted as r, createElementBlock as o, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as i, onUnmounted as r, createElementBlock as o, openBlock as n, withModifiers as s, normalizeClass as u, normalizeStyle as c, withDirectives as l, createVNode as a, vShow as f, unref as m, createElementVNode as g, Fragment as p, renderList as d, toDisplayString as v } from "vue";
|
|
2
2
|
import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
|
|
3
|
-
import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as
|
|
4
|
-
import { getUuidv4 as
|
|
5
|
-
import { getCustomTheme as
|
|
6
|
-
import
|
|
3
|
+
import { removComponentDataConfig as W, generateChartHeader as b, generateChartOption as x, initComponentDataConfig as j } from "../../../../utils/chart-design-util.js";
|
|
4
|
+
import { getUuidv4 as y } from "../../../../utils/common-util.js";
|
|
5
|
+
import { getCustomTheme as C } from "super-page-runtime";
|
|
6
|
+
import I from "./series/series-attr.vue.js";
|
|
7
7
|
import k from "../common/common-chart-header.vue.js";
|
|
8
8
|
import { use as D } from "echarts/core";
|
|
9
9
|
import { CanvasRenderer as F } from "echarts/renderers";
|
|
10
10
|
import { RadarChart as T } from "echarts/charts";
|
|
11
11
|
import { GridComponent as w, TitleComponent as A, TooltipComponent as O, ToolboxComponent as R, LegendComponent as _ } from "echarts/components";
|
|
12
12
|
import z from "vue-echarts";
|
|
13
|
-
const H = {
|
|
13
|
+
const H = { style: { position: "absolute", top: "0px", right: "60px", "text-align": "center" } }, S = ["onClick"], q = e({ __name: "radar-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: q2 }) {
|
|
14
14
|
D([F, T, w, A, O, R, _]);
|
|
15
15
|
const B = e2;
|
|
16
|
-
B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid:
|
|
16
|
+
B.configure.props || (B.configure.props = {}), B.configure.items || (B.configure.items = []), 0 == B.configure.items.length && B.configure.items.push({ uuid: y(), name: "", index: 1, type: "radar", label: "数据1", props: { title: "数据1" }, style: {} }), B.configure.runtime || (B.configure.runtime = {});
|
|
17
17
|
const E = t({}), G = t(""), J = t(null), K = t({}), L = t({});
|
|
18
18
|
function M() {
|
|
19
|
-
const e3 =
|
|
19
|
+
const e3 = j(B.configure, L.value);
|
|
20
20
|
B.configure.runtime.dataConfig = e3;
|
|
21
21
|
}
|
|
22
22
|
i(B.configure.style, () => {
|
|
@@ -30,7 +30,7 @@ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "
|
|
|
30
30
|
M();
|
|
31
31
|
}, 100);
|
|
32
32
|
function P() {
|
|
33
|
-
|
|
33
|
+
x(B.configure, K), L.value = b(B.configure), J.value = C(B.configure.props.customTheme), B.configure.runtime.chartOption = K.value, B.configure.runtime.headerInfo = L.value;
|
|
34
34
|
}
|
|
35
35
|
function Q() {
|
|
36
36
|
if (B.configure.items) for (let e3 of B.configure.items) e3.selected = false;
|
|
@@ -44,7 +44,7 @@ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "
|
|
|
44
44
|
B.selectWidget && B.selectWidget.value != B.configure.componentIndex && Q();
|
|
45
45
|
});
|
|
46
46
|
const V = q2;
|
|
47
|
-
return (e3, t2) => (n(), o("div", { style: c(E.value), class: u([G.value, "amb-widget-chart"]), onClick: s(U, ["stop"]), ref: "thisRef" }, [l(
|
|
47
|
+
return (e3, t2) => (n(), o("div", { style: c(E.value), class: u([G.value, "amb-widget-chart"]), onClick: s(U, ["stop"]), ref: "thisRef" }, [l(a(k, { headerInfo: L.value }, null, 8, ["headerInfo"]), [[f, L.value.showHeader]]), a(m(z), { ref: "chartRef", theme: J.value, option: K.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", H, [(n(true), o(p, null, d(e3.configure.items, (e4, t3) => (n(), o("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
|
|
48
48
|
e6 && e6.preventDefault();
|
|
49
49
|
const i2 = B.configure.items[t4];
|
|
50
50
|
if (!i2.selected) {
|
|
@@ -52,9 +52,9 @@ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "
|
|
|
52
52
|
e7.selected = false;
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
|
-
i2.serviceFields = B.configure.serviceFields, i2.serviceDataField = B.configure.serviceDataField, i2.selected = true, V("onCustomAttrWidget", i2,
|
|
55
|
+
i2.serviceFields = B.configure.serviceFields, i2.serviceDataField = B.configure.serviceDataField, i2.selected = true, V("onCustomAttrWidget", i2, I);
|
|
56
56
|
}
|
|
57
|
-
}(e5, t3), ["stop"]) }, v(e4.props.title), 11, S))), 256))], 512), [[
|
|
57
|
+
}(e5, t3), ["stop"]) }, v(e4.props.title), 11, S))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
|
|
58
58
|
} });
|
|
59
59
|
export {
|
|
60
60
|
q as default
|