super-page-designer 2.2.61 → 2.2.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +2 -2
- package/dist/es/components/design/utils/common-util.js +3 -0
- package/dist/es/components/design/utils/form-design-util.d.ts +1 -1
- package/dist/es/components/design/utils/form-design-util.js +7 -4
- package/dist/es/components/design/utils/page-table-util.d.ts +1 -1
- package/dist/es/components/design/utils/page-table-util.js +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +39 -39
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +22 -22
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +137 -5
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +1 -1
- 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 +55 -55
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +32 -16
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +37 -0
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +4 -4
- 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/bar-code-rule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.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/data-linkage.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/title-suffix.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +1 -1
- 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/dept-tree/depttree-autoset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +1 -1
- 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 +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-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/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 +1 -1
- 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/assemblys/workflow/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue3.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/assemblys-container.vue.js +13 -20
- package/dist/es/components/design/views/design/view/attr-container.vue.js +22 -29
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
- 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 +8 -8
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +5 -154
- package/dist/es/components/design/views/design/view/view-design-display.vue2.js +148 -2
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +5 -20
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +20 -2
- package/dist/es/style.css +1051 -821
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +0 -139
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, onUnmounted as l, resolveComponent as t, createElementBlock as a, openBlock as i, createVNode as n, withCtx as o, createElementVNode as r, unref as u } from "vue";
|
|
2
2
|
import { Plus as d, Delete as s } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as c } from "../../../../utils/common-util.js";
|
|
4
|
-
import p from "../../common/common-variable-bind.
|
|
4
|
+
import p from "../../common/common-variable-bind.vue.js";
|
|
5
5
|
const m = e({ __name: "data-origin-service-in", props: { dataOrigin: {} }, setup(e2) {
|
|
6
6
|
const m2 = e2;
|
|
7
7
|
function v(e3) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, onUnmounted as l, resolveComponent as a, createElementBlock as o, openBlock as n, createVNode as t, withDirectives as u, withCtx as i, createTextVNode as p, unref as r, vShow as c } from "vue";
|
|
2
2
|
import { Plus as s, Delete as d } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as m } from "../../../../utils/common-util.js";
|
|
4
|
-
import g from "../../common/common-variable-bind.
|
|
4
|
+
import g from "../../common/common-variable-bind.vue.js";
|
|
5
5
|
const k = e({ __name: "linkpage-page-callback", props: { linkPage: {} }, setup(e2) {
|
|
6
6
|
const k2 = e2;
|
|
7
7
|
function f(e3) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as r, createVNode as n, createElementVNode as i } from "vue";
|
|
2
2
|
import { getUuidv4 as d } from "../../../../utils/common-util.js";
|
|
3
|
-
import m from "../../common/common-variable-bind.
|
|
3
|
+
import m from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import { getModelOptionsByFields as p } from "../../../../utils/page-table-util.js";
|
|
5
5
|
const s = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, c = e({ __name: "parameter-table", props: { data: { type: Array, default: () => [] }, tableConfigure: { type: Object, default: () => [] } }, emits: ["dataChange"], setup(e2, { emit: c2 }) {
|
|
6
6
|
const f = e2, v = c2, b = l(null);
|
|
@@ -3,7 +3,7 @@ import { Search as j, Close as V } from "@element-plus/icons";
|
|
|
3
3
|
import P from "./linkpage-page-callback.vue.js";
|
|
4
4
|
import T from "../../common/common-select-page.vue.js";
|
|
5
5
|
import M from "./parameter-table.vue.js";
|
|
6
|
-
import k from "../../common/common-variable-bind.
|
|
6
|
+
import k from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _ from "./condition.vue.js";
|
|
8
8
|
import C from "../../common/common-icon-bind.vue.js";
|
|
9
9
|
import h from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as a, createBlock as l, openBlock as r, withCtx as p, createElementVNode as o, createVNode as t, withDirectives as i, vShow as u } from "vue";
|
|
2
|
-
import s from "../../common/common-variable-bind.
|
|
2
|
+
import s from "../../common/common-variable-bind.vue.js";
|
|
3
3
|
const f = { style: { padding: "8px 0px 0px 0px" } }, n = e({ __name: "title-suffix", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
4
4
|
const n2 = e2;
|
|
5
5
|
function d(e3, a2) {
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getFormComponentOptions as V } from "../../../../utils/assemblys-config
|
|
|
3
3
|
import { componentNameChange as v } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import { getCustomFuncs as _ } from "../../../../utils/page-event-util.js";
|
|
5
5
|
import y from "../../common/common-attr-size.vue.js";
|
|
6
|
-
import h from "../../common/common-variable-bind.
|
|
6
|
+
import h from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import k from "../../common/common-function-code.vue.js";
|
|
8
8
|
import U from "../common/title-suffix.vue.js";
|
|
9
9
|
import w from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -3,7 +3,7 @@ import { Search as g } from "@element-plus/icons-vue";
|
|
|
3
3
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import v from "../../common/common-attr-size.vue.js";
|
|
6
|
-
import h from "../../common/common-variable-bind.
|
|
6
|
+
import h from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import y from "./depttree-autoset.vue.js";
|
|
8
8
|
import { OrganizationInput as S } from "agilebuilder-ui";
|
|
9
9
|
import U from "../../common/common-function-code.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, computed as l, onUnmounted as t, resolveComponent as a, createBlock as o, openBlock as r, withCtx as u, createElementVNode as s, createVNode as n, unref as p, createElementBlock as i, Fragment as m, renderList as d, withDirectives as c, vShow as f } from "vue";
|
|
2
2
|
import { Plus as b, Delete as g } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as y } from "../../../../utils/common-util.js";
|
|
4
|
-
import v from "../../common/common-variable-bind.
|
|
4
|
+
import v from "../../common/common-variable-bind.vue.js";
|
|
5
5
|
const h = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "depttree-autoset", props: { configure: { type: Object, default: {} }, isTable: { type: Boolean } }, setup(e2) {
|
|
6
6
|
const w2 = e2;
|
|
7
7
|
w2.configure.props || (w2.configure.props = {}), w2.configure.props.base || (w2.configure.props.base = {}), w2.configure.props.base.otherFieldSets || (w2.configure.props.base.otherFieldSets = []);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as i, createTextVNode as s } from "vue";
|
|
2
2
|
import r from "../../common/common-attr-size.vue.js";
|
|
3
|
-
import m from "../../common/common-variable-bind.
|
|
3
|
+
import m from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import n from "../../common/common-i18n-key-input.vue.js";
|
|
5
5
|
const p = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "divider-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
6
6
|
} }, default: () => ({ props: {} }) }, setup(e2) {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getFormComponentOptions as b } from "../../../../utils/assemblys-config
|
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import v from "../common/uploading.vue.js";
|
|
6
|
-
import y from "../../common/common-variable-bind.
|
|
6
|
+
import y from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import h from "../../common/common-function-code.vue.js";
|
|
8
8
|
import x from "../../common/common-i18n-key-input.vue.js";
|
|
9
9
|
const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "fileupload-attr-base", props: { configure: { type: Object, required: true, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => {
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../common/title-suffix.vue.js";
|
|
8
8
|
import U from "../../common/common-i18n-key-input.vue.js";
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -5,7 +5,7 @@ import V from "../common/verification.vue.js";
|
|
|
5
5
|
import _ 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
|
-
import h from "../../common/common-variable-bind.
|
|
8
|
+
import h from "../../common/common-variable-bind.vue.js";
|
|
9
9
|
import k from "../../common/common-function-code.vue.js";
|
|
10
10
|
import S from "../common/suffixmodule.vue.js";
|
|
11
11
|
import U from "../common/title-suffix.vue.js";
|
|
@@ -3,7 +3,7 @@ import { getFormComponentOptions as b } from "../../../../utils/assemblys-config
|
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import v from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import _ from "../common/pre-suffix.vue.js";
|
|
6
|
-
import h from "../../common/common-variable-bind.
|
|
6
|
+
import h from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import y from "../common/data-format.vue.js";
|
|
8
8
|
import x from "../../common/common-function-code.vue.js";
|
|
9
9
|
import S from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -4,7 +4,7 @@ import { getFormComponentOptions as V } from "../../../../utils/assemblys-config
|
|
|
4
4
|
import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import v from "../common/icon-set-dialog.vue.js";
|
|
6
6
|
import y from "../../common/common-attr-size.vue.js";
|
|
7
|
-
import h from "../../common/common-variable-bind.
|
|
7
|
+
import h from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import x from "../common/condition.vue.js";
|
|
9
9
|
import k from "../../common/common-function-code.vue.js";
|
|
10
10
|
import U from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -4,7 +4,7 @@ import { componentNameChange as v } from "../../../../utils/form-design-util.js"
|
|
|
4
4
|
import V from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import _ from "../common/data-origin.vue.js";
|
|
6
6
|
import y from "../common/data-linkage.vue.js";
|
|
7
|
-
import h from "../../common/common-variable-bind.
|
|
7
|
+
import h from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import k from "../../common/common-function-code.vue.js";
|
|
9
9
|
import x from "../common/verification-custom.vue.js";
|
|
10
10
|
import U from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t
|
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const x = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, U = e({ __name: "richtext-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -4,7 +4,7 @@ import { componentNameChange as V } from "../../../../utils/form-design-util.js"
|
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import v from "../common/data-origin.vue.js";
|
|
6
6
|
import y from "../common/data-linkage.vue.js";
|
|
7
|
-
import h from "../../common/common-variable-bind.
|
|
7
|
+
import h from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import U from "../../common/common-function-code.vue.js";
|
|
9
9
|
import k from "../common/title-suffix.vue.js";
|
|
10
10
|
import w from "../common/verification-custom.vue.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "switch-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t
|
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import y from "../../common/common-function-code.vue.js";
|
|
7
7
|
import h from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const U = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "tag-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import v from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import _ from "../../common/common-variable-bind.
|
|
5
|
+
import _ from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../common/title-suffix.vue.js";
|
|
8
8
|
import x from "../common/verification-custom.vue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as o, withCtx as u, createVNode as d, unref as r, createTextVNode as n, createElementBlock as i, Fragment as p, renderList as m } from "vue";
|
|
2
2
|
import { CirclePlus as s, Delete as f, Top as c, Bottom as v } from "@element-plus/icons-vue";
|
|
3
|
-
import b from "../../common/common-variable-bind.
|
|
3
|
+
import b from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
import { getOperators as V } from "../../../../utils/data-table-util.js";
|
|
6
6
|
import { getModelOptionsByFields as y } from "../../../../utils/page-table-util.js";
|
|
@@ -130,7 +130,7 @@ const P = { class: "amb-page-container" }, T = { class: "amb-page-container-head
|
|
|
130
130
|
}
|
|
131
131
|
return (e3, l2) => {
|
|
132
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
|
|
133
|
+
return t(), s("div", P, [i("div", T, [u(g2, null, { default: r(() => [u(o2, { span: 23 }, { 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
134
|
};
|
|
135
135
|
} });
|
|
136
136
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { "amb-page-container": "_amb-page-
|
|
1
|
+
const a = { "amb-page-container": "_amb-page-container_1k9lg_1", "amb-page-container-header": "_amb-page-container-header_1k9lg_6", "amb-page-container-main": "_amb-page-container-main_1k9lg_9" };
|
|
2
2
|
export {
|
|
3
3
|
a as default
|
|
4
4
|
};
|
|
@@ -72,7 +72,7 @@ const F = { style: { margin: "10px" } }, z = { class: "amb-design-tool", style:
|
|
|
72
72
|
}
|
|
73
73
|
if (a2) {
|
|
74
74
|
if (Object.assign(a2, n2), e3.customEvents[l2] = a2, "customFunc" !== a2.name && a2.componentUuid) {
|
|
75
|
-
const t3 = S(e3, a2.componentUuid);
|
|
75
|
+
const t3 = S({ items: [e3] }, a2.componentUuid);
|
|
76
76
|
if (t3 && t3.events) {
|
|
77
77
|
const e4 = t3.events.findIndex((e5) => e5.name == a2.name && e5.componentUuid == a2.componentUuid);
|
|
78
78
|
e4 > -1 && (t3.events[e4] = a2);
|
|
@@ -1,32 +1,25 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l,
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as l, createElementBlock as s, openBlock as t, createElementVNode as a, normalizeClass as n, withDirectives as u, createVNode as i, vShow as o } from "vue";
|
|
2
|
+
import m from "./assemblys-container-list.vue.js";
|
|
3
|
+
import c from "./assemblys-container-explore.vue.js";
|
|
4
|
+
import v from "./assemblys-container-template.vue.js";
|
|
5
5
|
import "@element-plus/icons-vue";
|
|
6
6
|
import "element-plus";
|
|
7
7
|
import "../../../utils/assemblys-config.js";
|
|
8
8
|
import "uuid";
|
|
9
9
|
import "../../../utils/eventBus.js";
|
|
10
10
|
import "../../../../../stores/page-store.js";
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const r = { class: "amb-design-assembly-content" }, d = { class: "amb-assembly-header" }, p = { class: "amb-assembly-header-type" }, b = { class: "amb-design-assembly-list" }, g = e({ __name: "assemblys-container", props: { designItems: Array, selectWidget: Object, configure: Object }, emits: ["onSelectWidget", "addEvent", "changeEvent", "onSelectEvent"], setup(e2, { expose: g2, emit: y }) {
|
|
12
|
+
const f = y;
|
|
13
13
|
e2.configure;
|
|
14
|
-
const
|
|
15
|
-
function
|
|
16
|
-
"assembly" == e3 ? (
|
|
14
|
+
const j = l("selected"), W = l(""), x = l(""), E = l("");
|
|
15
|
+
function I(e3) {
|
|
16
|
+
"assembly" == e3 ? (j.value = "selected", W.value = "", x.value = "", E.value = "") : "pageEvent" == e3 ? (W.value = "", j.value = "", x.value = "", E.value = "selected") : "explorer" == e3 ? (W.value = "selected", j.value = "", x.value = "", E.value = "") : (W.value = "", j.value = "", x.value = "selected", E.value = "");
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
function O(e3, l2) {
|
|
21
|
-
W("onSelectWidget", e3, l2);
|
|
18
|
+
function S(e3, l2) {
|
|
19
|
+
f("onSelectWidget", e3, l2);
|
|
22
20
|
}
|
|
23
|
-
return t(() => {
|
|
24
|
-
if (I.value) {
|
|
25
|
-
const e3 = I.value.getBoundingClientRect();
|
|
26
|
-
e3.y && (S.value = window.innerHeight - e3.y);
|
|
27
|
-
}
|
|
28
|
-
}), f2({ selAsselbyType: "assembly" }), (l2, s2) => (n(), a("div", { class: "amb-design-assembly-content", ref_key: "ambDesignAssemblyContent", ref: I, style: i(A.value) }, [u("div", b, [u("div", g, [u("label", { class: o(h.value), onClick: s2[0] || (s2[0] = (e3) => E("assembly")) }, "组件", 2), u("label", { class: o(x.value), onClick: s2[1] || (s2[1] = (e3) => E("explorer")) }, "大纲", 2), u("label", { class: o(C.value), onClick: s2[2] || (s2[2] = (e3) => E("template")) }, "模板库", 2)])]), u("div", y, [c(m(r, null, null, 512), [[v, h.value]]), c(m(d, { onOnSelectWidget: O, designItems: e2.designItems, selectWidget: e2.selectWidget }, null, 8, ["designItems", "selectWidget"]), [[v, x.value]]), c(m(p, null, null, 512), [[v, C.value]])])], 4));
|
|
21
|
+
return l(null), l(null), g2({ selAsselbyType: "assembly" }), (l2, g3) => (t(), s("div", r, [a("div", d, [a("div", p, [a("label", { class: n(j.value), onClick: g3[0] || (g3[0] = (e3) => I("assembly")) }, "组件", 2), a("label", { class: n(W.value), onClick: g3[1] || (g3[1] = (e3) => I("explorer")) }, "大纲", 2), a("label", { class: n(x.value), onClick: g3[2] || (g3[2] = (e3) => I("template")) }, "模板库", 2)])]), a("div", b, [u(i(m, null, null, 512), [[o, j.value]]), u(i(c, { onOnSelectWidget: S, designItems: e2.designItems, selectWidget: e2.selectWidget }, null, 8, ["designItems", "selectWidget"]), [[o, W.value]]), u(i(v, null, null, 512), [[o, x.value]])])]));
|
|
29
22
|
} });
|
|
30
23
|
export {
|
|
31
|
-
|
|
24
|
+
g as default
|
|
32
25
|
};
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { defineComponent as e, ref as n,
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { getAttrComponentByName as
|
|
5
|
-
import { deepCopy as
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
if (d.value) {
|
|
12
|
-
const e3 = d.value.getBoundingClientRect();
|
|
13
|
-
e3.y && (j.value = window.innerHeight - e3.y);
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
const A = {};
|
|
17
|
-
function C(e3) {
|
|
1
|
+
import { defineComponent as e, ref as n, createElementBlock as t, openBlock as s, createBlock as a, resolveDynamicComponent as o } from "vue";
|
|
2
|
+
import u from "../../assemblys/page/page-attr.vue.js";
|
|
3
|
+
import l from "../../assemblys/error-attr.vue.js";
|
|
4
|
+
import { getAttrComponentByName as m, getComponentEventOptions as r } from "../../../utils/assemblys-config.js";
|
|
5
|
+
import { deepCopy as i } from "../../../utils/common-util.js";
|
|
6
|
+
const f = { style: { height: "100%" } }, p = e({ __name: "attr-container", props: { pageInfo: Object, system: Object }, setup(e2, { expose: p2 }) {
|
|
7
|
+
const c = e2, v = n({}), g = n({});
|
|
8
|
+
v.value = c.pageInfo, g.value = u;
|
|
9
|
+
const y = n({ index: 1 }), b = {};
|
|
10
|
+
function j(e3) {
|
|
18
11
|
if (e3 && e3.name && "page" !== e3.name) {
|
|
19
12
|
!function(e4) {
|
|
20
13
|
if (!e4 || !e4.name || !e4.events) return;
|
|
21
|
-
const n3 =
|
|
14
|
+
const n3 = r(e4.name);
|
|
22
15
|
if (!n3) return;
|
|
23
16
|
const t2 = {};
|
|
24
17
|
for (let n4 of e4.events) t2[n4.name] = n4;
|
|
25
|
-
for (let
|
|
26
|
-
if (t2[
|
|
27
|
-
const n4 =
|
|
18
|
+
for (let s2 of n3) {
|
|
19
|
+
if (t2[s2.name]) continue;
|
|
20
|
+
const n4 = i(s2);
|
|
28
21
|
e4.events.push(n4);
|
|
29
22
|
}
|
|
30
|
-
}(e3),
|
|
31
|
-
let n2 =
|
|
32
|
-
null == n2 && (n2 =
|
|
33
|
-
} else
|
|
23
|
+
}(e3), v.value = e3;
|
|
24
|
+
let n2 = b[e3.name];
|
|
25
|
+
null == n2 && (n2 = m(e3.name)), null == n2 && (n2 = l), b[e3.name] = n2, g.value = n2;
|
|
26
|
+
} else v.value = c.pageInfo, g.value = u;
|
|
34
27
|
}
|
|
35
|
-
return
|
|
36
|
-
|
|
37
|
-
} }), (n2,
|
|
28
|
+
return p2({ changeAssembly: j, changeAssemblyByComponent: function(e3, n2) {
|
|
29
|
+
v.value = e3, g.value = n2;
|
|
30
|
+
} }), (n2, u2) => (s(), t("div", f, [(s(), a(o(g.value), { key: "attr_" + v.value.uuid, indexObj: y.value, pageDesign: e2.pageInfo, system: e2.system, configure: v.value, onChangeAssembly: j }, null, 40, ["indexObj", "pageDesign", "system", "configure"]))]));
|
|
38
31
|
} });
|
|
39
32
|
export {
|
|
40
|
-
|
|
33
|
+
p as default
|
|
41
34
|
};
|
|
@@ -141,7 +141,7 @@ const I = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
141
141
|
if (-1 == t3) return;
|
|
142
142
|
const o2 = s3[t3];
|
|
143
143
|
if (0 == P.listButtons.length) return s3.splice(t3, 1), void (e5.props.base.showOperation = false);
|
|
144
|
-
e5.props.base.showOperation = true, o2.props.base.listColumnFixed = "right", s3.splice(t3, 1), s3.push(o2), e5.btnList = [], P.listButtons.sort((e6, t4) => {
|
|
144
|
+
e5.props.base.editable = true, e5.props.base.showOperation = true, o2.props.base.listColumnFixed = "right", s3.splice(t3, 1), s3.push(o2), e5.btnList = [], P.listButtons.sort((e6, t4) => {
|
|
145
145
|
const s4 = G[e6], o3 = G[t4];
|
|
146
146
|
if (!s4 || !o3) return 0;
|
|
147
147
|
const l2 = s4.index, i2 = o3.index;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, onUnmounted as o, resolveComponent as t, createBlock as u, openBlock as d, withCtx as n, createVNode as i, createCommentVNode as m, unref as r, createElementBlock as s, toDisplayString as f, Fragment as p, renderList as c, createElementVNode as b, createTextVNode as v, withDirectives as w, vShow as h } from "vue";
|
|
2
2
|
import { Top as y, Bottom as g, Plus as V, Delete as N } from "@element-plus/icons";
|
|
3
3
|
import { ElMessageBox as k } from "element-plus";
|
|
4
|
-
import _ from "../../../assemblys/common/common-variable-bind.
|
|
4
|
+
import _ from "../../../assemblys/common/common-variable-bind.vue.js";
|
|
5
5
|
import { getUuidv4 as x } from "../../../../utils/common-util.js";
|
|
6
6
|
import { getFormComponentOptions as I } from "../../../../utils/assemblys-config.js";
|
|
7
7
|
import { useDraggable as T } from "vue-draggable-plus";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./page-switch.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const p = t(e, [["__scopeId", "data-v-2076fde4"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as a, onMounted as l, resolveComponent as n, createElementBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as a, onMounted as l, resolveComponent as n, createElementBlock as o, openBlock as i, createVNode as s, withCtx as p, createElementVNode as d, createBlock as u, unref as r, toDisplayString as c, createTextVNode as g } from "vue";
|
|
2
2
|
import { Menu as m, Tickets as f, Folder as y, Operation as v, ArrowUp as h, ArrowDown as x } from "@element-plus/icons-vue";
|
|
3
3
|
import { ElMessageBox as w } from "element-plus";
|
|
4
4
|
import b from "agilebuilder-ui/src/utils/request";
|
|
5
5
|
import _ from "agilebuilder-ui/src/utils/i18n-util";
|
|
6
|
-
const k = { style: { display: "flex", width: "60px", height: "60px", "margin-left": "
|
|
6
|
+
const k = { style: { display: "flex", "min-width": "60px", height: "60px", "margin-left": "15px", "align-items": "center", cursor: "pointer" } }, C = { style: { "overflow-y": "auto" } }, I = { style: { "vertical-align": "middle" } }, T = { key: 3, style: { "margin-left": "5px" } }, N = { key: 4, style: { "margin-left": "5px" } }, P = e({ __name: "page-switch", props: { pageDesign: { type: Object, default: () => ({}) } }, emits: ["change-page", "init-loaded"], setup(e2, { emit: P2 }) {
|
|
7
7
|
const A = e2, D = P2, S = t(false), z = t(""), L = t(), $ = t(), B = t({ value: "id", label: "name", leaf: "leaf", emitPath: false, lazy: true, lazyLoad: async function(e3, t2) {
|
|
8
8
|
-1 === V.value && await b.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/systems/getByCode/" + A.pageDesign.systemCode).then((e4) => {
|
|
9
9
|
if (e4) {
|
|
@@ -25,14 +25,14 @@ const k = { style: { display: "flex", width: "60px", height: "60px", "margin-lef
|
|
|
25
25
|
b.get(a2).then((e4) => {
|
|
26
26
|
t2(e4);
|
|
27
27
|
});
|
|
28
|
-
}, expandTrigger: "hover" }), V = t(-1),
|
|
29
|
-
function
|
|
28
|
+
}, expandTrigger: "hover" }), V = t(-1), F = t("");
|
|
29
|
+
function R() {
|
|
30
30
|
S.value = true;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function U() {
|
|
33
33
|
S.value = false;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function j(e3) {
|
|
36
36
|
const t2 = e3.data.id.split("_")[2];
|
|
37
37
|
return e3.label + " (" + t2 + ")";
|
|
38
38
|
}
|
|
@@ -47,10 +47,10 @@ const k = { style: { display: "flex", width: "60px", height: "60px", "margin-lef
|
|
|
47
47
|
});
|
|
48
48
|
} else L.value.clearCheckedNodes();
|
|
49
49
|
}
|
|
50
|
-
return a(() => options.value.filter((e3) => !
|
|
50
|
+
return a(() => options.value.filter((e3) => !F.value || e3.name.toLowerCase().includes(F.value.toLowerCase()))), l(() => {
|
|
51
51
|
}), (t2, a2) => {
|
|
52
52
|
const l2 = n("el-icon"), w2 = n("el-button"), b2 = n("el-cascader-panel"), _2 = n("el-popover");
|
|
53
|
-
return
|
|
53
|
+
return i(), o("div", k, [s(_2, { onShow: R, onHide: U, ref_key: "popoverRef", ref: $, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;" }, { reference: p(() => [s(w2, { icon: r(v), style: { "font-size": "14px", "font-weight": "600" } }, { default: p(() => [g(c(e2.pageDesign.label + "(" + e2.pageDesign.version + ")") + " ", 1), S.value ? (i(), u(l2, { key: 0, class: "el-icon--right" }, { default: p(() => [s(r(h))]), _: 1 })) : (i(), u(l2, { key: 1, class: "el-icon--right" }, { default: p(() => [s(r(x))]), _: 1 }))]), _: 1 }, 8, ["icon"])]), default: p(() => [d("div", C, [s(b2, { ref_key: "cascaderRef", ref: L, style: { width: "fit-content", "margin-top": "6px" }, props: B.value, modelValue: z.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => z.value = e3), onChange: q }, { default: p(({ node: e3, data: t3 }) => [d("div", I, ["menu" === t3.menuType ? (i(), u(l2, { key: 0 }, { default: p(() => [s(r(m))]), _: 1 })) : "page" === t3.menuType ? (i(), u(l2, { key: 1 }, { default: p(() => [s(r(f))]), _: 1 })) : (i(), u(l2, { key: 2 }, { default: p(() => [s(r(y))]), _: 1 })), "page" === t3.menuType ? (i(), o("span", T, c(j(e3)), 1)) : (i(), o("span", N, c(e3.label), 1))])]), _: 1 }, 8, ["props", "modelValue"])])]), _: 1 }, 512)]);
|
|
54
54
|
};
|
|
55
55
|
} });
|
|
56
56
|
export {
|