super-page-designer 2.2.43 → 2.2.47-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/views/assemblys/button/button/button-attr-base.vue.js +2 -2
- 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/dropdown/dropdown-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.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/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +5 -5
- 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/link/link-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +1 -1
- 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/select/select-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/form/tag/tag-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue.js +5 -136
- package/dist/es/components/design/views/design/page-design.vue2.js +136 -2
- package/dist/es/components/design/views/design/page-design.vue3.js +4 -0
- package/dist/es/style.css +18 -8
- package/package.json +4 -4
|
@@ -21,7 +21,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
21
21
|
}
|
|
22
22
|
return L.configure.isTable && (W.value = true), (l2, V2) => {
|
|
23
23
|
const j3 = a("el-option"), L2 = a("el-select"), z2 = a("el-form-item"), q = a("el-input"), I = a("el-radio"), N = a("el-radio-group"), R = a("el-input-number"), A = a("el-switch"), C = a("el-collapse-item"), B = a("el-checkbox"), E = a("el-col"), F = a("el-collapse"), G = a("el-form");
|
|
24
|
-
return i(), o(G, { "label-width": "80px", size: "small" }, { default: t(() => [u(F, { modelValue: T.value, "onUpdate:modelValue": V2[19] || (V2[19] = (e3) => T.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(C, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [u(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [u(L2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: O, placeholder: "请选择" }, { default: t(() => [(i(true), d(m, null, p(f(b)(), (e3) => (i(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [u(q, { 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 }), W.value ? s("", true) : (i(), o(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": D }, null, 8, ["modelValue"]))]), _: 1 })), u(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": M }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? s("", true) : (i(), o(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? s("", true) : (i(), o(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [u(I, { value: true }, { default: t(() => V2[20] || (V2[20] = [c("显示")])), _: 1 }), u(I, { value: false }, { default: t(() => V2[21] || (V2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(u(z2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [u(U, { 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]]), n(u(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [u(R, { 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]]), n(u(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "block" }, { default: t(() => V2[22] || (V2[22] = [c("换行")])), _: 1 }), u(I, { value: "inline" }, { default: t(() => V2[23] || (V2[23] = [c("不换行")])), _: 1 }), u(I, { value: "omit" }, { default: t(() => V2[24] || (V2[24] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), u(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [u(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "行数", class: "amb-design-attr-item" }, { default: t(() => [u(R, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "意见控件", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.isOpinion, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.isOpinion = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "large" }, { default: t(() => V2[25] || (V2[25] = [c("大")])), _: 1 }), u(I, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("中")])), _: 1 }), u(I, { value: "small" }, { default: t(() => V2[27] || (V2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "default" }, { default: t(() => V2[28] || (V2[28] = [c("普通")])), _: 1 }), u(I, { value: "disabled" }, { default: t(() => V2[29] || (V2[29] = [c("禁用")])), _: 1 }), u(I, { value: "readonly" }, { default: t(() => V2[30] || (V2[30] = [c("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(u(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (i(), o(C, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", k, [u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMinLength, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.verification.verifyMinLength = l3), label: "最小长度", value: "min" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.minLength, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.minLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMaxLength, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.verifyMaxLength = l3), label: "最大长度", value: "max" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.maxLength, "onUpdate:modelValue": V2[16] || (V2[16] = (l3) => e2.configure.props.verification.maxLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": V2[17] || (V2[17] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(q, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": V2[18] || (V2[18] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), W.value ? s("", true) : (i(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
24
|
+
return i(), o(G, { "label-width": "80px", size: "small" }, { default: t(() => [u(F, { modelValue: T.value, "onUpdate:modelValue": V2[19] || (V2[19] = (e3) => T.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(C, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [u(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [u(L2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: O, placeholder: "请选择" }, { default: t(() => [(i(true), d(m, null, p(f(b)(), (e3) => (i(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [u(q, { 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 }), W.value ? s("", true) : (i(), o(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": D }, null, 8, ["modelValue"]))]), _: 1 })), u(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": M }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? s("", true) : (i(), o(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? s("", true) : (i(), o(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [u(I, { value: true }, { default: t(() => V2[20] || (V2[20] = [c("显示")])), _: 1 }), u(I, { value: false }, { default: t(() => V2[21] || (V2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(u(z2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [u(U, { 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]]), n(u(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [u(R, { 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]]), n(u(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "block" }, { default: t(() => V2[22] || (V2[22] = [c("换行")])), _: 1 }), u(I, { value: "inline" }, { default: t(() => V2[23] || (V2[23] = [c("不换行")])), _: 1 }), u(I, { value: "omit" }, { default: t(() => V2[24] || (V2[24] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), u(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [u(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "行数", class: "amb-design-attr-item" }, { default: t(() => [u(R, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "意见控件", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.isOpinion, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.isOpinion = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "large" }, { default: t(() => V2[25] || (V2[25] = [c("大")])), _: 1 }), u(I, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("中")])), _: 1 }), u(I, { value: "small" }, { default: t(() => V2[27] || (V2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "default" }, { default: t(() => V2[28] || (V2[28] = [c("普通")])), _: 1 }), u(I, { value: "disabled" }, { default: t(() => V2[29] || (V2[29] = [c("禁用")])), _: 1 }), u(I, { value: "readonly" }, { default: t(() => V2[30] || (V2[30] = [c("只读")])), _: 1 }), u(I, { value: "hidden" }, { default: t(() => V2[31] || (V2[31] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(u(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (i(), o(C, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", k, [u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMinLength, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.verification.verifyMinLength = l3), label: "最小长度", value: "min" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.minLength, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.minLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMaxLength, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.verifyMaxLength = l3), label: "最大长度", value: "max" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.maxLength, "onUpdate:modelValue": V2[16] || (V2[16] = (l3) => e2.configure.props.verification.maxLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": V2[17] || (V2[17] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(q, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": V2[18] || (V2[18] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), W.value ? s("", true) : (i(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|
|
@@ -1,138 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { addPermission as b, delPermission as h } from "../../utils/page-permission-util.js";
|
|
6
|
-
import { usePageContextStore as C } from "../../../../stores/page-store.js";
|
|
7
|
-
import S from "service-flow-designer";
|
|
8
|
-
import { getHighestVersionDefinition as V } from "../../utils/page-design-util.js";
|
|
9
|
-
import { getPageConf as j } from "../../utils/assemblys-config.js";
|
|
10
|
-
import { fetchPageDesignData as _ } from "../../utils/page-service-util.js";
|
|
11
|
-
import { ElMessage as D, ElLoading as M } from "element-plus";
|
|
12
|
-
import W from "./view/page-switch.vue.js";
|
|
13
|
-
import { undoRedo as I } from "../../../../stores/undo-redo-store.js";
|
|
14
|
-
import x from "./page-event/page-event-view.vue.js";
|
|
15
|
-
import B from "../../utils/eventBus.js";
|
|
16
|
-
import { v4 as J } from "uuid";
|
|
17
|
-
const P = { class: "amb-page-container" }, T = { class: "amb-page-container-header-page" }, $ = { class: "amb-page-container-header" }, N = { class: "amb-page-container-header-type" }, R = { key: 0, class: "amb-page-container-main" }, A = e({ __name: "page-design", props: { pageId: { type: Number, default: null } }, setup(e2) {
|
|
18
|
-
const A2 = I(), E = e2, F = l(null), G = l(null), O = l(), z = C(), q = l("page"), L = l(null), U = l(null), H = l(null), K = l(false), Q = l(true), X = l(0);
|
|
19
|
-
let Y = l(null);
|
|
20
|
-
const Z = l(null);
|
|
21
|
-
function ee() {
|
|
22
|
-
q.value = "front", O.value && O.value.resize && O.value.resize();
|
|
23
|
-
}
|
|
24
|
-
function le(e3) {
|
|
25
|
-
const l2 = j();
|
|
26
|
-
return e3 ? Object.assign(l2, e3) : l2.systemCode || (l2.systemCode = "iqc", l2.systemVersion = 1), l2;
|
|
27
|
-
}
|
|
28
|
-
function oe(e3) {
|
|
29
|
-
let l2;
|
|
30
|
-
g(e3);
|
|
31
|
-
const a2 = e3 == null ? void 0 : e3.tableUuids;
|
|
32
|
-
a2 && a2.length > 0 && (l2 = a2[0]);
|
|
33
|
-
const s2 = w(e3, l2);
|
|
34
|
-
if (s2) {
|
|
35
|
-
const l3 = e3.tableSysCode ? e3.tableSysCode : e3.systemCode, o2 = e3.tableSysVersion ? e3.tableSysVersion : e3.systemVersion;
|
|
36
|
-
k(l3, o2, s2).then((l4) => {
|
|
37
|
-
e3.modelFields = l4, e3.modelFieldsMap = y(e3.modelFieldsMap, l4), z.setPageContext(e3);
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
Y.value = e3.systemVersion, z.setPageContext(e3), o(() => e3, (e4) => {
|
|
41
|
-
se();
|
|
42
|
-
}, { deep: true }), o(e3.events, (l3) => {
|
|
43
|
-
if (e3.runtime || (e3.runtime = {}), e3.events) {
|
|
44
|
-
const l4 = e3.events.filter((e4) => !e4.isStandard && e4.jsContent || e4.isStandard && e4.eventName);
|
|
45
|
-
e3.runtime.events = l4;
|
|
46
|
-
}
|
|
47
|
-
}, { immediate: true }), o(() => e3.label, () => {
|
|
48
|
-
ue(e3);
|
|
49
|
-
}, { immediate: true }), o(() => e3.pageType, () => {
|
|
50
|
-
ue(e3);
|
|
51
|
-
}, { immediate: true }), e3.props && o(() => e3.props.activeWorkflow, () => {
|
|
52
|
-
ue(e3);
|
|
53
|
-
}, { immediate: true }), B.$emit("changePageDesign"), function() {
|
|
54
|
-
ae("_isMobile", { level: 0, code: J(), name: "_isMobile", alias: "是否是移动端", type: "string", defaultValue: "", items: [], $editing: false });
|
|
55
|
-
ae("_isMobileApp", { level: 0, code: J(), name: "_isMobileApp", alias: "是否是移动端APP", type: "string", defaultValue: "", items: [], $editing: false });
|
|
56
|
-
ae("_isMobileBrowser", { level: 0, code: J(), name: "_isMobileBrowser", alias: "是否是移动端浏览器", type: "string", defaultValue: "", items: [], $editing: false });
|
|
57
|
-
}();
|
|
58
|
-
}
|
|
59
|
-
function ae(e3, l2) {
|
|
60
|
-
var _a;
|
|
61
|
-
const o2 = (_a = F.value.variables) == null ? void 0 : _a.filter((l3) => l3.name && l3.name === e3);
|
|
62
|
-
o2 && 0 !== o2.length || (F.value.variables || (F.value.variables = []), F.value.variables.push(l2));
|
|
63
|
-
}
|
|
64
|
-
B.$on("editComponentEvent", () => {
|
|
65
|
-
ee();
|
|
66
|
-
}), E.pageId ? _(E.pageId).then((e3) => {
|
|
67
|
-
if (e3 && e3.designJson) {
|
|
68
|
-
const l2 = e3.designJson, o2 = le(JSON.parse(l2));
|
|
69
|
-
o2.id = E.pageId, F.value = o2, oe(F.value);
|
|
70
|
-
} else F.value = le(null), oe(F.value);
|
|
71
|
-
}) : (F.value = le(null), oe(F.value));
|
|
72
|
-
let se = /* @__PURE__ */ function(e3, l2) {
|
|
73
|
-
let o2 = null;
|
|
74
|
-
return function() {
|
|
75
|
-
let a2 = arguments;
|
|
76
|
-
o2 && clearTimeout(o2);
|
|
77
|
-
let s2 = !o2;
|
|
78
|
-
o2 = setTimeout(() => {
|
|
79
|
-
o2 = null;
|
|
80
|
-
}, l2), s2 && e3.apply(this, a2);
|
|
81
|
-
};
|
|
82
|
-
}(() => {
|
|
83
|
-
A2.addSnapshot(F.value);
|
|
84
|
-
}, 400);
|
|
85
|
-
function te() {
|
|
86
|
-
X.value++, A2.undo(F.value);
|
|
87
|
-
}
|
|
88
|
-
function ie() {
|
|
89
|
-
X.value++, A2.record(F.value);
|
|
90
|
-
}
|
|
91
|
-
function ne(e3) {
|
|
92
|
-
const l2 = e3.definitionVersion;
|
|
93
|
-
l2 && (F.value.props.workflowSource = "link", F.value.props.linkWorkflowVersion = l2, F.value.workflowVersion = l2, re(e3));
|
|
94
|
-
}
|
|
95
|
-
function ue(e3) {
|
|
96
|
-
b(e3, "page", e3.label, "-1");
|
|
97
|
-
const l2 = ["gets", "workflowGets", "listData", "listSubData"], o2 = [];
|
|
98
|
-
if (e3.pageType && "form" != e3.pageType) "list" == e3.pageType && (b(e3, "listData", "", "-1"), b(e3, "listSubData", "", "-1"), o2.push("listData"), o2.push("listSubData"));
|
|
99
|
-
else {
|
|
100
|
-
b(e3, "gets", "", "-1"), o2.push("gets");
|
|
101
|
-
(e3.props ? e3.props : {}).activeWorkflow && (b(e3, "workflowGets", "", "-1"), o2.push("workflowGets"));
|
|
102
|
-
}
|
|
103
|
-
for (let a2 of l2) o2.includes(a2) || h(e3, a2, "-1");
|
|
104
|
-
}
|
|
105
|
-
function re(e3) {
|
|
106
|
-
U.value = e3.code, H.value = e3.definitionVersion, L.value = e3.id;
|
|
107
|
-
}
|
|
108
|
-
function ve() {
|
|
109
|
-
if (!Q.value) return;
|
|
110
|
-
let e3, l2;
|
|
111
|
-
F.value.props.activeWorkflow && F.value.props.workflowSource && "link" === F.value.props.workflowSource ? (l2 = F.value.props.linkWorkflowCode, e3 = F.value.props.linkWorkflowVersion) : F.value.props.activeWorkflow && F.value.props.workflowSource && "create" === F.value.props.workflowSource && (l2 = F.value.props.createWorkflowCode, e3 = 1), l2 ? !U.value && !H.value || U.value !== l2 || H.value !== e3 ? (K.value = false, Q.value = false, function(e4, l3) {
|
|
112
|
-
V(e4, l3, Y.value).then((e5) => {
|
|
113
|
-
re(e5), q.value = "workflow", K.value = true;
|
|
114
|
-
}).finally(() => {
|
|
115
|
-
Q.value = true;
|
|
116
|
-
});
|
|
117
|
-
}(l2, e3)) : q.value = "workflow" : D({ type: "warning", showClose: true, message: "请在页面设计/属性/工作流中先绑定流程" });
|
|
118
|
-
}
|
|
119
|
-
function pe(e3) {
|
|
120
|
-
const l2 = M.service({ lock: true, text: "切换中,请稍后..." });
|
|
121
|
-
_(e3).then((o2) => {
|
|
122
|
-
if (X.value++, l2.close(), o2 && o2.designJson) {
|
|
123
|
-
const l3 = o2.designJson, a2 = le(JSON.parse(l3));
|
|
124
|
-
a2.id = e3, F.value = a2, F.value.items || (F.value.items = []), F.value.props || (F.value.props = {}), oe(F.value);
|
|
125
|
-
} else F.value = le(null), oe(F.value);
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
function ce(e3) {
|
|
129
|
-
e3 && e3.system && (Z.value = e3.system), Z.value && z.setEnableI18n(Z.value.enableI18n);
|
|
130
|
-
}
|
|
131
|
-
return (e3, l2) => {
|
|
132
|
-
const o2 = a("el-col"), g2 = a("el-row"), w2 = a("workflow-editor");
|
|
133
|
-
return t(), s("div", P, [i("div", T, [u(g2, null, { default: r(() => [u(o2, { span: 23, style: {} }, { default: r(() => [F.value && F.value.code ? (t(), v(W, { key: 0, pageDesign: F.value, onChangePage: pe, onInitLoaded: ce }, null, 8, ["pageDesign"])) : n("", true)]), _: 1 })]), _: 1 })]), i("div", $, [i("div", N, [i("label", { class: p({ selected: "page" === q.value }), onClick: l2[0] || (l2[0] = (e4) => q.value = "page") }, "页面设计", 2), i("label", { class: p({ selected: "front" === q.value }), onClick: l2[1] || (l2[1] = (e4) => ee()) }, "页面逻辑", 2), i("label", { class: p({ selected: "workflow" === q.value }), onClick: l2[2] || (l2[2] = (e4) => ve()) }, "工作流设计", 2), i("label", { class: p({ selected: "service" === q.value }), onClick: l2[3] || (l2[3] = (e4) => q.value = "service") }, "服务编排", 2)])]), F.value ? (t(), s("div", R, [c((t(), v(m, { ref_key: "ViewDesignRef", ref: G, key: X.value, configure: F.value, system: Z.value, onRegain: ie, onRevocation: te }, null, 8, ["configure", "system"])), [[f, "page" === q.value]]), K.value ? c((t(), v(w2, { key: 0, id: L.value, code: F.value.workflowCode, version: F.value.workflowVersion, "system-code": F.value.systemCode, "system-publish-version": F.value.systemVersion, "page-code": F.value.code, onBack: e3.goBack, onChangeDefVersion: ne }, null, 8, ["id", "code", "version", "system-code", "system-publish-version", "page-code", "onBack"])), [[f, "workflow" === q.value]]) : n("", true), "service" === q.value ? (t(), v(d(S), { key: 1, pageContext: F.value }, null, 8, ["pageContext"])) : n("", true), c(u(x, { ref_key: "pageEventContainerRef", ref: O, configure: F.value }, null, 8, ["configure"]), [[f, "front" === q.value]])])) : n("", true)]);
|
|
134
|
-
};
|
|
135
|
-
} });
|
|
1
|
+
import e from "./page-design.vue2.js";
|
|
2
|
+
import s from "./page-design.vue3.js";
|
|
3
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = o(e, [["__cssModules", { $style: s }]]);
|
|
136
5
|
export {
|
|
137
|
-
|
|
6
|
+
r as default
|
|
138
7
|
};
|
|
@@ -1,4 +1,138 @@
|
|
|
1
|
-
import e from "
|
|
1
|
+
import { defineComponent as e, ref as l, watch as o, resolveComponent as a, createElementBlock as s, openBlock as t, createElementVNode as i, createCommentVNode as n, createVNode as u, withCtx as r, createBlock as v, normalizeClass as p, withDirectives as c, vShow as f, unref as d } from "vue";
|
|
2
|
+
import m from "./view/view-design.vue.js";
|
|
3
|
+
import { initComponentRefState as g } from "../../utils/page-helper-util.js";
|
|
4
|
+
import { getTableNameByTableUuid as w, queryTableFields as k, changeFeieldToMap as y } from "../../utils/page-table-util.js";
|
|
5
|
+
import { addPermission as b, delPermission as h } from "../../utils/page-permission-util.js";
|
|
6
|
+
import { usePageContextStore as C } from "../../../../stores/page-store.js";
|
|
7
|
+
import S from "service-flow-designer";
|
|
8
|
+
import { getHighestVersionDefinition as V } from "../../utils/page-design-util.js";
|
|
9
|
+
import { getPageConf as j } from "../../utils/assemblys-config.js";
|
|
10
|
+
import { fetchPageDesignData as _ } from "../../utils/page-service-util.js";
|
|
11
|
+
import { ElMessage as D, ElLoading as M } from "element-plus";
|
|
12
|
+
import W from "./view/page-switch.vue.js";
|
|
13
|
+
import { undoRedo as I } from "../../../../stores/undo-redo-store.js";
|
|
14
|
+
import x from "./page-event/page-event-view.vue.js";
|
|
15
|
+
import B from "../../utils/eventBus.js";
|
|
16
|
+
import { v4 as J } from "uuid";
|
|
17
|
+
const P = { class: "amb-page-container" }, T = { class: "amb-page-container-header-page" }, $ = { class: "amb-page-container-header" }, N = { class: "amb-page-container-header-type" }, R = { key: 0, class: "amb-page-container-main" }, A = e({ __name: "page-design", props: { pageId: { type: Number, default: null } }, setup(e2) {
|
|
18
|
+
const A2 = I(), E = e2, F = l(null), G = l(null), O = l(), z = C(), q = l("page"), L = l(null), U = l(null), H = l(null), K = l(false), Q = l(true), X = l(0);
|
|
19
|
+
let Y = l(null);
|
|
20
|
+
const Z = l(null);
|
|
21
|
+
function ee() {
|
|
22
|
+
q.value = "front", O.value && O.value.resize && O.value.resize();
|
|
23
|
+
}
|
|
24
|
+
function le(e3) {
|
|
25
|
+
const l2 = j();
|
|
26
|
+
return e3 ? Object.assign(l2, e3) : l2.systemCode || (l2.systemCode = "iqc", l2.systemVersion = 1), l2;
|
|
27
|
+
}
|
|
28
|
+
function oe(e3) {
|
|
29
|
+
let l2;
|
|
30
|
+
g(e3);
|
|
31
|
+
const a2 = e3 == null ? void 0 : e3.tableUuids;
|
|
32
|
+
a2 && a2.length > 0 && (l2 = a2[0]);
|
|
33
|
+
const s2 = w(e3, l2);
|
|
34
|
+
if (s2) {
|
|
35
|
+
const l3 = e3.tableSysCode ? e3.tableSysCode : e3.systemCode, o2 = e3.tableSysVersion ? e3.tableSysVersion : e3.systemVersion;
|
|
36
|
+
k(l3, o2, s2).then((l4) => {
|
|
37
|
+
e3.modelFields = l4, e3.modelFieldsMap = y(e3.modelFieldsMap, l4), z.setPageContext(e3);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
Y.value = e3.systemVersion, z.setPageContext(e3), o(() => e3, (e4) => {
|
|
41
|
+
se();
|
|
42
|
+
}, { deep: true }), o(e3.events, (l3) => {
|
|
43
|
+
if (e3.runtime || (e3.runtime = {}), e3.events) {
|
|
44
|
+
const l4 = e3.events.filter((e4) => !e4.isStandard && e4.jsContent || e4.isStandard && e4.eventName);
|
|
45
|
+
e3.runtime.events = l4;
|
|
46
|
+
}
|
|
47
|
+
}, { immediate: true }), o(() => e3.label, () => {
|
|
48
|
+
ue(e3);
|
|
49
|
+
}, { immediate: true }), o(() => e3.pageType, () => {
|
|
50
|
+
ue(e3);
|
|
51
|
+
}, { immediate: true }), e3.props && o(() => e3.props.activeWorkflow, () => {
|
|
52
|
+
ue(e3);
|
|
53
|
+
}, { immediate: true }), B.$emit("changePageDesign"), function() {
|
|
54
|
+
ae("_isMobile", { level: 0, code: J(), name: "_isMobile", alias: "是否是移动端", type: "string", defaultValue: "", items: [], $editing: false });
|
|
55
|
+
ae("_isMobileApp", { level: 0, code: J(), name: "_isMobileApp", alias: "是否是移动端APP", type: "string", defaultValue: "", items: [], $editing: false });
|
|
56
|
+
ae("_isMobileBrowser", { level: 0, code: J(), name: "_isMobileBrowser", alias: "是否是移动端浏览器", type: "string", defaultValue: "", items: [], $editing: false });
|
|
57
|
+
}();
|
|
58
|
+
}
|
|
59
|
+
function ae(e3, l2) {
|
|
60
|
+
var _a;
|
|
61
|
+
const o2 = (_a = F.value.variables) == null ? void 0 : _a.filter((l3) => l3.name && l3.name === e3);
|
|
62
|
+
o2 && 0 !== o2.length || (F.value.variables || (F.value.variables = []), F.value.variables.push(l2));
|
|
63
|
+
}
|
|
64
|
+
B.$on("editComponentEvent", () => {
|
|
65
|
+
ee();
|
|
66
|
+
}), E.pageId ? _(E.pageId).then((e3) => {
|
|
67
|
+
if (e3 && e3.designJson) {
|
|
68
|
+
const l2 = e3.designJson, o2 = le(JSON.parse(l2));
|
|
69
|
+
o2.id = E.pageId, F.value = o2, oe(F.value);
|
|
70
|
+
} else F.value = le(null), oe(F.value);
|
|
71
|
+
}) : (F.value = le(null), oe(F.value));
|
|
72
|
+
let se = /* @__PURE__ */ function(e3, l2) {
|
|
73
|
+
let o2 = null;
|
|
74
|
+
return function() {
|
|
75
|
+
let a2 = arguments;
|
|
76
|
+
o2 && clearTimeout(o2);
|
|
77
|
+
let s2 = !o2;
|
|
78
|
+
o2 = setTimeout(() => {
|
|
79
|
+
o2 = null;
|
|
80
|
+
}, l2), s2 && e3.apply(this, a2);
|
|
81
|
+
};
|
|
82
|
+
}(() => {
|
|
83
|
+
A2.addSnapshot(F.value);
|
|
84
|
+
}, 400);
|
|
85
|
+
function te() {
|
|
86
|
+
X.value++, A2.undo(F.value);
|
|
87
|
+
}
|
|
88
|
+
function ie() {
|
|
89
|
+
X.value++, A2.record(F.value);
|
|
90
|
+
}
|
|
91
|
+
function ne(e3) {
|
|
92
|
+
const l2 = e3.definitionVersion;
|
|
93
|
+
l2 && (F.value.props.workflowSource = "link", F.value.props.linkWorkflowVersion = l2, F.value.workflowVersion = l2, re(e3));
|
|
94
|
+
}
|
|
95
|
+
function ue(e3) {
|
|
96
|
+
b(e3, "page", e3.label, "-1");
|
|
97
|
+
const l2 = ["gets", "workflowGets", "listData", "listSubData"], o2 = [];
|
|
98
|
+
if (e3.pageType && "form" != e3.pageType) "list" == e3.pageType && (b(e3, "listData", "", "-1"), b(e3, "listSubData", "", "-1"), o2.push("listData"), o2.push("listSubData"));
|
|
99
|
+
else {
|
|
100
|
+
b(e3, "gets", "", "-1"), o2.push("gets");
|
|
101
|
+
(e3.props ? e3.props : {}).activeWorkflow && (b(e3, "workflowGets", "", "-1"), o2.push("workflowGets"));
|
|
102
|
+
}
|
|
103
|
+
for (let a2 of l2) o2.includes(a2) || h(e3, a2, "-1");
|
|
104
|
+
}
|
|
105
|
+
function re(e3) {
|
|
106
|
+
U.value = e3.code, H.value = e3.definitionVersion, L.value = e3.id;
|
|
107
|
+
}
|
|
108
|
+
function ve() {
|
|
109
|
+
if (!Q.value) return;
|
|
110
|
+
let e3, l2;
|
|
111
|
+
F.value.props.activeWorkflow && F.value.props.workflowSource && "link" === F.value.props.workflowSource ? (l2 = F.value.props.linkWorkflowCode, e3 = F.value.props.linkWorkflowVersion) : F.value.props.activeWorkflow && F.value.props.workflowSource && "create" === F.value.props.workflowSource && (l2 = F.value.props.createWorkflowCode, e3 = 1), l2 ? !U.value && !H.value || U.value !== l2 || H.value !== e3 ? (K.value = false, Q.value = false, function(e4, l3) {
|
|
112
|
+
V(e4, l3, Y.value).then((e5) => {
|
|
113
|
+
re(e5), q.value = "workflow", K.value = true;
|
|
114
|
+
}).finally(() => {
|
|
115
|
+
Q.value = true;
|
|
116
|
+
});
|
|
117
|
+
}(l2, e3)) : q.value = "workflow" : D({ type: "warning", showClose: true, message: "请在页面设计/属性/工作流中先绑定流程" });
|
|
118
|
+
}
|
|
119
|
+
function pe(e3) {
|
|
120
|
+
const l2 = M.service({ lock: true, text: "切换中,请稍后..." });
|
|
121
|
+
_(e3).then((o2) => {
|
|
122
|
+
if (X.value++, l2.close(), o2 && o2.designJson) {
|
|
123
|
+
const l3 = o2.designJson, a2 = le(JSON.parse(l3));
|
|
124
|
+
a2.id = e3, F.value = a2, F.value.items || (F.value.items = []), F.value.props || (F.value.props = {}), oe(F.value);
|
|
125
|
+
} else F.value = le(null), oe(F.value);
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
function ce(e3) {
|
|
129
|
+
e3 && e3.system && (Z.value = e3.system), Z.value && z.setEnableI18n(Z.value.enableI18n);
|
|
130
|
+
}
|
|
131
|
+
return (e3, l2) => {
|
|
132
|
+
const o2 = a("el-col"), g2 = a("el-row"), w2 = a("workflow-editor");
|
|
133
|
+
return t(), s("div", P, [i("div", T, [u(g2, null, { default: r(() => [u(o2, { span: 23, style: {} }, { default: r(() => [F.value && F.value.code ? (t(), v(W, { key: 0, pageDesign: F.value, onChangePage: pe, onInitLoaded: ce }, null, 8, ["pageDesign"])) : n("", true)]), _: 1 })]), _: 1 })]), i("div", $, [i("div", N, [i("label", { class: p({ selected: "page" === q.value }), onClick: l2[0] || (l2[0] = (e4) => q.value = "page") }, "页面设计", 2), i("label", { class: p({ selected: "front" === q.value }), onClick: l2[1] || (l2[1] = (e4) => ee()) }, "页面逻辑", 2), i("label", { class: p({ selected: "workflow" === q.value }), onClick: l2[2] || (l2[2] = (e4) => ve()) }, "工作流设计", 2), i("label", { class: p({ selected: "service" === q.value }), onClick: l2[3] || (l2[3] = (e4) => q.value = "service") }, "服务编排", 2)])]), F.value ? (t(), s("div", R, [c((t(), v(m, { ref_key: "ViewDesignRef", ref: G, key: X.value, configure: F.value, system: Z.value, onRegain: ie, onRevocation: te }, null, 8, ["configure", "system"])), [[f, "page" === q.value]]), K.value ? c((t(), v(w2, { key: 0, id: L.value, code: F.value.workflowCode, version: F.value.workflowVersion, "system-code": F.value.systemCode, "system-publish-version": F.value.systemVersion, "page-code": F.value.code, onBack: e3.goBack, onChangeDefVersion: ne }, null, 8, ["id", "code", "version", "system-code", "system-publish-version", "page-code", "onBack"])), [[f, "workflow" === q.value]]) : n("", true), "service" === q.value ? (t(), v(d(S), { key: 1, pageContext: F.value }, null, 8, ["pageContext"])) : n("", true), c(u(x, { ref_key: "pageEventContainerRef", ref: O, configure: F.value }, null, 8, ["configure"]), [[f, "front" === q.value]])])) : n("", true)]);
|
|
134
|
+
};
|
|
135
|
+
} });
|
|
2
136
|
export {
|
|
3
|
-
|
|
137
|
+
A as default
|
|
4
138
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -671,7 +671,17 @@ fieldset.amb-design-item-selected {
|
|
|
671
671
|
[data-v-511b453b]::-webkit-scrollbar-thumb:hover {
|
|
672
672
|
background-color: grey;
|
|
673
673
|
}
|
|
674
|
-
|
|
674
|
+
._amb-page-container_19cmx_1 {
|
|
675
|
+
position: relative;
|
|
676
|
+
height: 100vh;
|
|
677
|
+
width: 100vw;
|
|
678
|
+
}
|
|
679
|
+
._amb-page-container_19cmx_1 ._amb-page-container-header_19cmx_6 {
|
|
680
|
+
height: 60px;
|
|
681
|
+
}
|
|
682
|
+
._amb-page-container_19cmx_1 ._amb-page-container-header_19cmx_6 ~ ._amb-page-container-main_19cmx_9 {
|
|
683
|
+
height: calc(100% - 60px);
|
|
684
|
+
}
|
|
675
685
|
.amb-design-attr-header[data-v-226997f7] {
|
|
676
686
|
position: sticky;
|
|
677
687
|
position: -webkit-sticky;
|
|
@@ -9057,10 +9067,10 @@ li[data-v-b0bcae22] {
|
|
|
9057
9067
|
border: 1px solid rgba(88, 147, 239);
|
|
9058
9068
|
}
|
|
9059
9069
|
|
|
9060
|
-
li[data-v-
|
|
9070
|
+
li[data-v-dbd1c08b] {
|
|
9061
9071
|
color: #333;
|
|
9062
9072
|
}
|
|
9063
|
-
.context-menu[data-v-
|
|
9073
|
+
.context-menu[data-v-dbd1c08b] {
|
|
9064
9074
|
position: fixed;
|
|
9065
9075
|
background: #fff;
|
|
9066
9076
|
z-index: 999;
|
|
@@ -9068,7 +9078,7 @@ li[data-v-8ac0bd71] {
|
|
|
9068
9078
|
margin: 0;
|
|
9069
9079
|
margin-top: 30px;
|
|
9070
9080
|
}
|
|
9071
|
-
.context-menu li[data-v-
|
|
9081
|
+
.context-menu li[data-v-dbd1c08b] {
|
|
9072
9082
|
min-width: 75px;
|
|
9073
9083
|
height: 28px;
|
|
9074
9084
|
line-height: 28px;
|
|
@@ -9081,16 +9091,16 @@ li[data-v-8ac0bd71] {
|
|
|
9081
9091
|
/* background: #5893ef;*/
|
|
9082
9092
|
/* color: #fff;*/
|
|
9083
9093
|
/*}*/
|
|
9084
|
-
.context-menuLi[data-v-
|
|
9094
|
+
.context-menuLi[data-v-dbd1c08b]:hover {
|
|
9085
9095
|
background: #5893ef;
|
|
9086
9096
|
color: #fff;
|
|
9087
9097
|
}
|
|
9088
|
-
.context-menu[data-v-
|
|
9098
|
+
.context-menu[data-v-dbd1c08b] {
|
|
9089
9099
|
border: 1px solid #eee;
|
|
9090
9100
|
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
9091
9101
|
border-radius: 5px;
|
|
9092
9102
|
}
|
|
9093
|
-
li[data-v-
|
|
9103
|
+
li[data-v-dbd1c08b] {
|
|
9094
9104
|
list-style-type: none;
|
|
9095
9105
|
}
|
|
9096
9106
|
|
|
@@ -15663,7 +15673,7 @@ li[data-v-21af26bc] {
|
|
|
15663
15673
|
list-style-type: none;
|
|
15664
15674
|
}
|
|
15665
15675
|
|
|
15666
|
-
.seleteSort[data-v-
|
|
15676
|
+
.seleteSort[data-v-89d780ed] {
|
|
15667
15677
|
border-radius: 5px;
|
|
15668
15678
|
border: 1px solid rgba(88, 147, 239);
|
|
15669
15679
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.47-sit3",
|
|
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.
|
|
32
|
+
"agilebuilder-ui": "1.1.16-sit1",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"pinia": "^2.1.7",
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
|
-
"service-flow-designer": "2.2.
|
|
44
|
-
"super-page-runtime": "2.2.
|
|
43
|
+
"service-flow-designer": "2.2.47-sit2",
|
|
44
|
+
"super-page-runtime": "2.2.47-sit1",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|