super-page-designer 2.2.85 → 2.2.89-sit3
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 +4 -4
- 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 +4 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
- 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 +20 -19
- 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 +9 -8
- 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 +39 -36
- 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 +24 -23
- 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 +64 -60
- 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 +67 -63
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
- 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 +10 -10
- 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 -11
- 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 +83 -80
- 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 +29 -9
- 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 +3 -3
- 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 +9 -9
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
- 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 +33 -30
- 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 +4 -0
- package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -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 +25 -34
- 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 +4 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
- 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 +64 -64
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
- package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
- package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
- 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 +10 -9
- 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 +148 -5
- package/dist/es/components/design/views/design/view/view-design-display.vue2.js +2 -148
- 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 +27 -26
- package/dist/es/index.js +1 -1
- package/dist/es/style.css +13887 -11224
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
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 o, createBlock as u, openBlock as t, withCtx as i, createVNode as s, createElementVNode as n, createElementBlock as d, Fragment as p, renderList as r, unref as m, createTextVNode as c, withDirectives as f, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import V from "../../common/common-icon-bind.vue.js";
|
|
4
|
+
import v from "../../common/common-function-code.vue.js";
|
|
5
|
+
import _ from "agilebuilder-ui/src/utils/request";
|
|
6
6
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
import { Close as x, Check as U } from "@element-plus/icons-vue";
|
|
8
|
+
const h = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
9
|
+
const k2 = e2, w = l(["base", "appearance", "otherSettings", "linkPage"]), F = l([]), T = l([]);
|
|
10
|
+
function z() {
|
|
11
|
+
T.value.length > 0 ? (k2.configure.props.base.templateFiles || (k2.configure.props.base.templateFiles = []), F.value.filter((e3) => T.value.includes(e3.uuid)).forEach((e3) => {
|
|
12
|
+
k2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
|
|
13
|
+
})) : k2.configure.props.base.templateFiles = [];
|
|
13
14
|
}
|
|
14
15
|
return a(() => {
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
k2.configure.props.base.templateFiles && k2.configure.props.base.templateFiles.forEach((e3) => {
|
|
17
|
+
T.value.push(e3.templateUuid);
|
|
17
18
|
}), function() {
|
|
18
19
|
let e3 = {};
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
_.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${k2.pageDesign.systemCode}`, e3).then((e4) => {
|
|
21
|
+
F.value = e4.data;
|
|
21
22
|
});
|
|
22
23
|
}();
|
|
23
24
|
}), (l2, a2) => {
|
|
24
|
-
const
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }),
|
|
25
|
+
const _2 = o("el-option"), N = o("el-select"), A = o("el-form-item"), C = o("el-input"), D = o("el-radio"), E = o("el-radio-group"), O = o("el-collapse-item"), S = o("el-radio-button"), $ = o("el-switch"), q = o("el-collapse"), I = o("el-form");
|
|
26
|
+
return t(), u(I, { "label-width": "80px", size: "small" }, { default: i(() => [s(q, { modelValue: w.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", h, [s(A, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: i(() => [(t(true), d(p, null, r(m(g)(), (e3) => (t(), u(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(A, { label: "自定义编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(A, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "尺寸", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "large" }, { default: i(() => a2[18] || (a2[18] = [c("大")])), _: 1 }), s(D, { value: "default" }, { default: i(() => a2[19] || (a2[19] = [c("中")])), _: 1 }), s(D, { value: "small" }, { default: i(() => a2[20] || (a2[20] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "default" }, { default: i(() => a2[21] || (a2[21] = [c("普通")])), _: 1 }), s(D, { value: "disabled" }, { default: i(() => a2[22] || (a2[22] = [c("禁用")])), _: 1 }), s(D, { value: "hidden" }, { default: i(() => a2[23] || (a2[23] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "模板", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: T.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => T.value = e3), multiple: "", onChange: z }, { default: i(() => [(t(true), d(p, null, r(F.value, (e3) => (t(), u(_2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", P, [s(A, { label: "按钮类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: i(() => [s(_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(A, { label: "图标", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(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) {
|
|
27
|
+
k2.configure.props.base.iconType = e4, k2.configure.props.base.iconValue = l4;
|
|
28
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(A, { label: "图标位置", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: i(() => [s(S, { value: "left" }, { default: i(() => a2[24] || (a2[24] = [c("标题前")])), _: 1 }), s(S, { value: "right" }, { default: i(() => a2[25] || (a2[25] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), s(A, { label: "文字按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "加载状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[26] || (a2[26] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[27] || (a2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[28] || (a2[28] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[29] || (a2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "原生type", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "button" }, { default: i(() => a2[30] || (a2[30] = [c("button")])), _: 1 }), s(D, { value: "submit" }, { default: i(() => a2[31] || (a2[31] = [c("submit")])), _: 1 }), s(D, { value: "reset" }, { default: i(() => a2[32] || (a2[32] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", j, [s(A, { label: "权限保护", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
28
29
|
};
|
|
29
30
|
} });
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
k as default
|
|
32
33
|
};
|
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 l, resolveComponent as u, createBlock as a, openBlock as t, normalizeStyle as o, normalizeClass as n, withCtx as s, createElementBlock as r, createCommentVNode as c, Fragment as p, createTextVNode as v, toDisplayString as g, unref as y } from "vue";
|
|
2
2
|
import { SuperIcon as d } from "agilebuilder-ui";
|
|
3
|
-
import { caculateDetailComponentStyle as
|
|
3
|
+
import { caculateDetailComponentStyle as f, caculateComponentProps as m } 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 k = e({ __name: "exportpdf-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
|
+
const k2 = e2;
|
|
7
|
+
k2.configure.runtime || (k2.configure.runtime = {});
|
|
8
|
+
const V = i({}), T = i(""), z = i({}), h = i({});
|
|
9
|
+
l(k2.configure.style, () => {
|
|
10
|
+
f(k2.configure, V, T, z), k2.configure.runtime.style = V.value, k2.configure.runtime.class = T.value, k2.configure.runtime.headerStyle = z.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 j = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
|
|
13
|
+
let P = j.title;
|
|
14
|
+
return l(k2.configure.props, (e3, i2) => {
|
|
15
|
+
m(k2.configure, h), function() {
|
|
16
|
+
let e4 = k2.configure.props ? k2.configure.props : {};
|
|
17
|
+
const i3 = e4.base ? e4.base : {}, l2 = e4.dropdown ? e4.dropdown : {};
|
|
18
|
+
Object.assign(h.value, l2), Object.assign(h.value, i3);
|
|
19
|
+
}(), j.title !== P && k2.pageDesign && (b(k2.configure, k2.pageDesign), P = j.title), k2.configure.runtime.props = h.value;
|
|
20
20
|
}, { immediate: true }), (e3, i2) => {
|
|
21
|
-
const
|
|
22
|
-
return
|
|
21
|
+
const l2 = u("el-link"), f2 = u("el-button");
|
|
22
|
+
return h.value.text ? (t(), a(l2, { key: 0, disabled: "disabled" === h.value.state, class: n(T.value), style: o(V.value), type: h.value.type, size: h.value.size }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (t(), a(f2, { key: 1, disabled: "disabled" === h.value.state, class: n(T.value), style: o(V.value), type: h.value.type, size: h.value.size, round: h.value.round, plain: h.value.plain }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
k as default
|
|
27
27
|
};
|
package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
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 n, createElementVNode as i, createElementBlock as s, Fragment as r, renderList as p, unref as m, createTextVNode as c, withDirectives as f, vShow as b, createCommentVNode as g } 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
|
-
|
|
7
|
+
import { Close as U, Check as w } from "@element-plus/icons-vue";
|
|
8
|
+
const h = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, P = e({ __name: "printlabel-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
9
|
+
const P2 = e2, z = l(["base", "appearance", "otherSettings", "linkPage"]);
|
|
9
10
|
return a(() => {
|
|
10
11
|
}), (l2, a2) => {
|
|
11
|
-
const
|
|
12
|
-
return u(), t(
|
|
13
|
-
|
|
14
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }),
|
|
12
|
+
const E = o("el-option"), B = o("el-select"), O = o("el-form-item"), S = o("el-input"), A = o("el-radio"), D = o("el-radio-group"), q = o("el-collapse-item"), C = o("el-radio-button"), F = o("el-switch"), G = o("el-collapse"), H = o("el-form");
|
|
13
|
+
return u(), t(H, { "label-width": "80px", size: "small" }, { default: d(() => [n(G, { modelValue: z.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [n(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", h, [n(O, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), s(r, null, p(m(_)(), (e3) => (u(), t(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(O, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), n(O, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [n(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [c("大")])), _: 1 }), n(A, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [c("中")])), _: 1 }), n(A, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [c("普通")])), _: 1 }), n(A, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [c("禁用")])), _: 1 }), n(A, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", k, [n(O, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
|
|
14
|
+
P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
|
|
15
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(n(O, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [n(C, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [c("标题前")])), _: 1 }), n(C, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), n(O, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[30] || (a2[30] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[31] || (a2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[32] || (a2[32] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[33] || (a2[33] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[34] || (a2[34] = [c("button")])), _: 1 }), n(A, { value: "submit" }, { default: d(() => a2[35] || (a2[35] = [c("submit")])), _: 1 }), n(A, { value: "reset" }, { default: d(() => a2[36] || (a2[36] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", T, [n(O, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "hover" }, { default: d(() => a2[37] || (a2[37] = [c("鼠标移动")])), _: 1 }), n(A, { value: "click" }, { default: d(() => a2[38] || (a2[38] = [c("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[39] || (a2[39] = [c("按钮")])), _: 1 }), n(A, { value: "text" }, { default: d(() => a2[40] || (a2[40] = [c("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[41] || (a2[41] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[42] || (a2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), n(O, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [n(E, { value: "bottom" }, { default: d(() => a2[43] || (a2[43] = [c("bottom")])), _: 1 }), n(E, { value: "top" }, { default: d(() => a2[44] || (a2[44] = [c("top")])), _: 1 }), n(E, { value: "top-start" }, { default: d(() => a2[45] || (a2[45] = [c("top-start")])), _: 1 }), n(E, { value: "top-end" }, { default: d(() => a2[46] || (a2[46] = [c("top-end")])), _: 1 }), n(E, { value: "bottom-start" }, { default: d(() => a2[47] || (a2[47] = [c("bottom-start")])), _: 1 }), n(E, { value: "bottom-end" }, { default: d(() => a2[48] || (a2[48] = [c("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", j, [n(O, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
15
16
|
};
|
|
16
17
|
} });
|
|
17
18
|
export {
|
|
18
|
-
|
|
19
|
+
P as default
|
|
19
20
|
};
|
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 l, resolveComponent as u, createBlock as a, openBlock as t, normalizeStyle as n, normalizeClass as o, withCtx as s, createElementBlock as r, createCommentVNode as c, Fragment as p, createTextVNode as v, toDisplayString as g, unref as y } from "vue";
|
|
2
2
|
import { SuperIcon as d } from "agilebuilder-ui";
|
|
3
|
-
import { caculateDetailComponentStyle as
|
|
3
|
+
import { caculateDetailComponentStyle as f, caculateComponentProps as m } 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 k = e({ __name: "printlabel-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
|
+
const k2 = e2;
|
|
7
|
+
k2.configure.runtime || (k2.configure.runtime = {});
|
|
8
|
+
const V = i({}), T = i(""), z = i({}), h = i({});
|
|
9
|
+
l(k2.configure.style, () => {
|
|
10
|
+
f(k2.configure, V, T, z), k2.configure.runtime.style = V.value, k2.configure.runtime.class = T.value, k2.configure.runtime.headerStyle = z.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 j = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
|
|
13
|
+
let P = j.title;
|
|
14
|
+
return l(k2.configure.props, (e3, i2) => {
|
|
15
|
+
m(k2.configure, h), function() {
|
|
16
|
+
let e4 = k2.configure.props ? k2.configure.props : {};
|
|
17
|
+
const i3 = e4.base ? e4.base : {}, l2 = e4.dropdown ? e4.dropdown : {};
|
|
18
|
+
Object.assign(h.value, l2), Object.assign(h.value, i3);
|
|
19
|
+
}(), j.title !== P && k2.pageDesign && (b(k2.configure, k2.pageDesign), P = j.title), k2.configure.runtime.props = h.value;
|
|
20
20
|
}, { immediate: true }), (e3, i2) => {
|
|
21
|
-
const
|
|
22
|
-
return
|
|
21
|
+
const l2 = u("el-link"), f2 = u("el-button");
|
|
22
|
+
return h.value.text ? (t(), a(l2, { key: 0, disabled: "disabled" === h.value.state, class: o(T.value), style: n(V.value), type: h.value.type, size: h.value.size }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (t(), a(f2, { key: 1, disabled: "disabled" === h.value.state, class: o(T.value), style: n(V.value), type: h.value.type, size: h.value.size, round: h.value.round, plain: h.value.plain }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v(" ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
k 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 r, createElementBlock as o, 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 j, generateChartOption as C, updateDynamicSeriesField as I, initComponentDataConfig as x } from "../../../../utils/chart-design-util.js";
|
|
5
|
+
import { getCustomTheme as y } 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 = { class: "amb-design-item-title" }, 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 = x(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 = j(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
33
33
|
Q();
|
|
34
34
|
}, 100);
|
|
35
35
|
function V() {
|
|
36
|
-
|
|
36
|
+
C(J.configure, M), N.value = j(J.configure), P.value = y(J.configure.props.customTheme), J.configure.runtime.chartOption = M.value, J.configure.runtime.headerInfo = N.value, I(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
41
41
|
function Y(e3) {
|
|
42
42
|
X();
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
r(() => {
|
|
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(), o("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), 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) {
|
|
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 j, initComponentDataConfig as C } from "../../../../utils/chart-design-util.js";
|
|
4
|
+
import { getUuidv4 as I } from "../../../../utils/common-util.js";
|
|
5
|
+
import { getCustomTheme as x } from "super-page-runtime";
|
|
6
|
+
import y 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 = { class: "amb-design-item-title" }, 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: I(), 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 = C(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
30
30
|
L();
|
|
31
31
|
}, 100);
|
|
32
32
|
function N() {
|
|
33
|
-
|
|
33
|
+
j(B.configure, J), K.value = b(B.configure), G.value = x(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
52
52
|
e7.selected = false;
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
|
-
i2.selected = true, U("onCustomAttrWidget", i2,
|
|
55
|
+
i2.selected = true, U("onCustomAttrWidget", i2, y);
|
|
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 j, generateChartOption as C, initComponentDataConfig as I } from "../../../../utils/chart-design-util.js";
|
|
5
|
+
import { getCustomTheme as x } from "super-page-runtime";
|
|
6
|
+
import y 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 = { class: "amb-design-item-title" }, 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 = I(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 = j(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
30
30
|
M();
|
|
31
31
|
}, 100);
|
|
32
32
|
function P() {
|
|
33
|
-
|
|
33
|
+
C(E.configure, K), L.value = j(E.configure), J.value = x(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
52
52
|
e7.selected = false;
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
|
-
i2.selected = true, V("onCustomAttrWidget", i2,
|
|
55
|
+
i2.selected = true, V("onCustomAttrWidget", i2, y);
|
|
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 m, vShow as a, unref as f, createElementVNode as g, Fragment as d, renderList as p, 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 j, initComponentDataConfig as C } from "../../../../utils/chart-design-util.js";
|
|
4
|
+
import { getUuidv4 as I } from "../../../../utils/common-util.js";
|
|
5
|
+
import { getCustomTheme as x } from "super-page-runtime";
|
|
6
|
+
import y 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 = { class: "amb-design-item-title" }, 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: I(), 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 = C(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
30
30
|
M();
|
|
31
31
|
}, 100);
|
|
32
32
|
function P() {
|
|
33
|
-
|
|
33
|
+
j(B.configure, K), L.value = b(B.configure), J.value = x(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
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(m(k, { headerInfo: L.value }, null, 8, ["headerInfo"]), [[a, L.value.showHeader]]), m(f(z), { ref: "chartRef", theme: J.value, option: K.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", H, [(n(true), o(d, null, p(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 = { style: { position: "absolute", top: "0px", right: "60px", "text-alig
|
|
|
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, y);
|
|
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), [[a, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
|
|
58
58
|
} });
|
|
59
59
|
export {
|
|
60
60
|
q as default
|