super-page-designer 2.3.4-sit1-design1 → 2.3.4-sit1-design2
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/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +16 -16
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +8 -8
- 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-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/package.json +2 -2
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as i, resolveComponent as u, createElementBlock as t, openBlock as
|
|
2
|
-
import { caculateDetailComponentStyle as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as i, resolveComponent as u, createElementBlock as t, openBlock as n, createVNode as o, normalizeStyle as r, normalizeClass as a, withCtx as s, createCommentVNode as m, createBlock as c, Fragment as d, createTextVNode as p, toDisplayString as v } from "vue";
|
|
2
|
+
import { caculateDetailComponentStyle as f, caculateComponentProps as g } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import b from "../common/title-suffix-element.vue.js";
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
return i(
|
|
9
|
-
|
|
10
|
-
}, { immediate: true }), i(
|
|
11
|
-
g(
|
|
12
|
-
let e3 =
|
|
4
|
+
const h = e({ __name: "input-number-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
5
|
+
const h2 = e2;
|
|
6
|
+
h2.configure.runtime || (h2.configure.runtime = {});
|
|
7
|
+
const y = l({}), x = l(""), w = l({}), B = l({}), V = l({});
|
|
8
|
+
return i(h2.configure.style, () => {
|
|
9
|
+
f(h2.configure, y, x, w), h2.configure.runtime.style = y.value, h2.configure.runtime.class = x.value, h2.configure.runtime.headerStyle = w.value;
|
|
10
|
+
}, { immediate: true }), i(h2.configure.props, () => {
|
|
11
|
+
g(h2.configure, B, V), function() {
|
|
12
|
+
let e3 = h2.configure.props ? h2.configure.props : {};
|
|
13
13
|
const l2 = e3.base ? e3.base : {}, i2 = {};
|
|
14
|
-
l2.min && (i2.min = l2.min), l2.max && (i2.max = l2.max), l2.step && (i2.step = l2.step), l2.precision && (i2.precision = l2.precision), 0 == l2.showButton && (i2.showButton = false), Object.assign(
|
|
15
|
-
}(),
|
|
14
|
+
void 0 !== l2.min && null !== l2.min && (i2.min = l2.min), void 0 !== l2.max && null !== l2.max && (i2.max = l2.max), void 0 !== l2.step && null !== l2.step && (i2.step = l2.step), void 0 !== l2.precision && null !== l2.precision && (i2.precision = l2.precision), void 0 !== l2.showButton && null !== l2.showButton && 0 == l2.showButton && (i2.showButton = false), Object.assign(B.value, i2);
|
|
15
|
+
}(), h2.configure.runtime.props = B.value, h2.configure.runtime.titleExceedStyle = V.value;
|
|
16
16
|
}, { immediate: true }), (l2, i2) => {
|
|
17
|
-
const
|
|
18
|
-
return
|
|
17
|
+
const f2 = u("el-input-number"), g2 = u("el-form-item");
|
|
18
|
+
return n(), t("div", null, [o(g2, { required: B.value.required, class: a([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": B.value.labelWidth, style: r(y.value) }, { label: s(() => [B.value.tittleShow ? (n(), t("div", { key: 0, style: r({ ...w.value, ...V.value, "padding-right": "12px" }) }, [B.value.prefixType ? (n(), c(b, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (n(), t(d, { key: 1 }, [p(v(B.value.title), 1)], 64))], 4)) : m("", true)]), default: s(() => [o(f2, { disabled: "disabled" === B.value.state, readonly: "", controls: B.value.showButton, size: B.value.size, placeholder: B.value.placeholder, modelValue: B.value.defaultValue, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => B.value.defaultValue = e3), precision: B.value.precision, step: B.value.step, min: B.value.min, max: B.value.max }, null, 8, ["disabled", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
|
|
19
19
|
};
|
|
20
20
|
} });
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
h as default
|
|
23
23
|
};
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as o, withCtx as t, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as p, Fragment as d, renderList as f, unref as m, createTextVNode as c, vShow as g } from "vue";
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import { componentNameChange as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import { componentNameChange as v } from "../../../../utils/form-design-util.js";
|
|
4
|
+
import _ from "../common/verification.vue.js";
|
|
5
|
+
import V from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import y from "../common/pre-suffix.vue.js";
|
|
7
7
|
import x from "../common/bar-code-rule.vue.js";
|
|
8
8
|
import h from "../../common/common-variable-bind.vue.js";
|
|
@@ -14,10 +14,10 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
14
14
|
} }, pageDesign: { type: Object, default: () => {
|
|
15
15
|
} } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
|
|
16
16
|
const L = e2, W = l(L.configure.name), O = T2;
|
|
17
|
-
L.configure.props.base || (L.configure.props.base = { prop: "" }), L.configure.props.preSuffix || (L.configure.props.preSuffix = {}), L.configure.props.prefix || (L.configure.props.prefix = {}), L.configure.props.scan || (L.configure.props.scan = {})
|
|
17
|
+
L.configure.props.base || (L.configure.props.base = { prop: "" }), L.configure.props.preSuffix || (L.configure.props.preSuffix = {}), L.configure.props.prefix || (L.configure.props.prefix = {}), L.configure.props.scan || (L.configure.props.scan = {});
|
|
18
18
|
const C = l(false);
|
|
19
19
|
function I(e3) {
|
|
20
|
-
|
|
20
|
+
v(L.configure, e3, O);
|
|
21
21
|
}
|
|
22
22
|
L.configure.isTable && (C.value = true);
|
|
23
23
|
const N = l(["base"]), q = l(false);
|
|
@@ -33,9 +33,9 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
33
33
|
function B(e3) {
|
|
34
34
|
L.configure.props.base.defaultValue = e3;
|
|
35
35
|
}
|
|
36
|
-
return (l2,
|
|
36
|
+
return (l2, v2) => {
|
|
37
37
|
const T3 = a("el-option"), L2 = a("el-select"), O2 = a("el-form-item"), E = a("el-input"), F = a("el-radio"), G = a("el-radio-group"), H = a("el-input-number"), J = a("el-switch"), K = a("el-collapse-item"), M = a("el-button"), Q = a("el-collapse"), X = a("el-form");
|
|
38
|
-
return
|
|
38
|
+
return o(), u(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: N.value, "onUpdate:modelValue": v2[14] || (v2[14] = (e3) => N.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(K, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", w, [i(O2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(L2, { modelValue: W.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => W.value = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [(o(true), p(d, null, f(m(b)(), (e3) => (o(), u(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": R }, null, 8, ["modelValue"]))]), _: 1 })), i(O2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? r("", true) : (o(), u(O2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[15] || (v2[15] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[16] || (v2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(O2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(H, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "block" }, { default: t(() => v2[17] || (v2[17] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[18] || (v2[18] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[19] || (v2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(O2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[20] || (v2[20] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [i(J, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "large" }, { default: t(() => v2[22] || (v2[22] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[23] || (v2[23] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[24] || (v2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "default" }, { default: t(() => v2[25] || (v2[25] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[26] || (v2[26] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[27] || (v2[27] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[28] || (v2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(O2, { label: "是否开启", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.enable, "onUpdate:modelValue": v2[11] || (v2[11] = (l3) => e2.configure.props.scan.enable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[29] || (v2[29] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[30] || (v2[30] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "自动打开扫描", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.autoOpen, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.scan.autoOpen = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[31] || (v2[31] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[32] || (v2[32] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[13] || (v2[13] = (e3) => q.value = true) }, { default: t(() => v2[33] || (v2[33] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(S, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(y, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), s(i(K, { title: "后缀图标跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", D, [i(k, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (o(), u(_, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), C.value ? r("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (o(), u(x, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
39
39
|
};
|
|
40
40
|
} });
|
|
41
41
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as m, withCtx as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, Fragment as g, renderList as b, createBlock as y } from "vue";
|
|
2
2
|
import { ElMessageBox as x, ElMessage as h } from "element-plus";
|
|
3
|
-
import C from "./config.
|
|
3
|
+
import C from "./config.vue.js";
|
|
4
4
|
import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
|
|
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
|
|
|
16
16
|
import "@codemirror/language";
|
|
17
17
|
import "@codemirror/search";
|
|
18
18
|
import "js-beautify";
|
|
19
|
-
/* empty css
|
|
19
|
+
/* empty css */
|
|
20
20
|
import "../../../utils/assemblys-config.js";
|
|
21
21
|
import "../../../../../stores/page-store.js";
|
|
22
22
|
import "../../../../../stores/event-undo-redo-store.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.3.4-sit1-
|
|
3
|
+
"version": "2.3.4-sit1-design2",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.1.39-
|
|
32
|
+
"agilebuilder-ui": "1.1.39-sit2",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|