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.
@@ -1,4 +1,4 @@
1
- import o from "./common-variable-bind.vue2.js";
1
+ import o from "./common-variable-bind.vue3.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-3324003e"]]);
@@ -1,23 +1,23 @@
1
- import { defineComponent as e, ref as l, watch as i, resolveComponent as u, createElementBlock as t, openBlock as r, createVNode as n, normalizeStyle as o, normalizeClass as a, withCtx as s, createCommentVNode as m, createBlock as c, Fragment as p, createTextVNode as d, toDisplayString as f } from "vue";
2
- import { caculateDetailComponentStyle as v, caculateComponentProps as g } from "../../../../utils/form-design-util.js";
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 y = e({ __name: "input-number-design", props: { configure: { type: Object, required: true } }, setup(e2) {
5
- const y2 = e2;
6
- y2.configure.runtime || (y2.configure.runtime = {});
7
- const h = l({}), x = l(""), w = l({}), V = l({}), j = l({});
8
- return i(y2.configure.style, () => {
9
- v(y2.configure, h, x, w), y2.configure.runtime.style = h.value, y2.configure.runtime.class = x.value, y2.configure.runtime.headerStyle = w.value;
10
- }, { immediate: true }), i(y2.configure.props, () => {
11
- g(y2.configure, V, j), function() {
12
- let e3 = y2.configure.props ? y2.configure.props : {};
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(V.value, i2);
15
- }(), y2.configure.runtime.props = V.value, y2.configure.runtime.titleExceedStyle = j.value;
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 v2 = u("el-input-number"), g2 = u("el-form-item");
18
- return r(), t("div", null, [n(g2, { required: V.value.required, class: a([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": V.value.labelWidth, style: o(h.value) }, { label: s(() => [V.value.tittleShow ? (r(), t("div", { key: 0, style: o({ ...w.value, ...j.value, "padding-right": "12px" }) }, [V.value.prefixType ? (r(), c(b, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (r(), t(p, { key: 1 }, [d(f(V.value.title), 1)], 64))], 4)) : m("", true)]), default: s(() => [n(v2, { disabled: "disabled" === V.value.state, readonly: "", controls: V.value.showButton, size: V.value.size, placeholder: V.value.placeholder, modelValue: V.value.defaultValue, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => V.value.defaultValue = e3), precision: V.value.precision, step: V.value.step, min: V.value.min, max: V.value.max }, null, 8, ["disabled", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
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
- y as default
22
+ h as default
23
23
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, 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";
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 V } from "../../../../utils/form-design-util.js";
4
- import v from "../common/verification.vue.js";
5
- import _ from "../../common/common-attr-size.vue.js";
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 = {}), void 0 === L.configure.props.base.trimable && (L.configure.props.base.trimable = true);
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
- V(L.configure, e3, O);
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, V2) => {
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 u(), o(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: N.value, "onUpdate:modelValue": V2[15] || (V2[15] = (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(() => [(u(true), p(d, null, f(m(b)(), (e3) => (u(), o(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) : (u(), o(O2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(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(() => [(u(), o(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) : (u(), o(O2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? r("", true) : (u(), o(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[16] || (V2[16] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => V2[17] || (V2[17] = [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[18] || (V2[18] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [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[21] || (V2[21] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => V2[22] || (V2[22] = [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[23] || (V2[23] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [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[26] || (V2[26] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "清空前后空格", class: "amb-design-attr-item" }, { default: t(() => [i(J, { modelValue: e2.configure.props.base.trimable, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.trimable = l3) }, null, 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[12] || (V2[12] = (l3) => e2.configure.props.scan.enable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => V2[30] || (V2[30] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => V2[31] || (V2[31] = [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[13] || (V2[13] = (l3) => e2.configure.props.scan.autoOpen = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => V2[32] || (V2[32] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => V2[33] || (V2[33] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: V2[14] || (V2[14] = (e3) => q.value = true) }, { default: t(() => V2[34] || (V2[34] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(S, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (u(), o(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]]), (u(), o(v, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), C.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (u(), o(x, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
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,5 +1,5 @@
1
1
  import o from "./config.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-c8908117"]]);
5
5
  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.vue2.js";
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-design1",
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-sit1",
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",