super-page-designer 0.0.1-tmp5 → 0.0.1-tmp6
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/data-table-util.js +2 -5
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- 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/attr-style.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.css +8 -8
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +4 -7
- package/dist/es/components/design/views/assemblys/data/component/data-origin.css +3 -3
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +16 -6
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +2 -3
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +1 -2
- package/dist/es/components/design/views/assemblys/data/table/table-design.css +11 -11
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +36 -24
- package/dist/es/components/design/views/assemblys/data/table/table-design2.css +25 -25
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -4
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/attr-event.css +5 -5
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +2 -3
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue3.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/title.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +5 -17
- package/dist/es/components/design/views/design/page-event/page-event-content.css +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/page-event/page-event-content.vue2.js +3 -4
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +1 -2
- package/dist/lib/components/design/utils/data-table-util.js +2 -5
- package/dist/lib/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/data/component/attr-style.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/data/component/composite-header.css +8 -8
- package/dist/lib/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/data/component/composite-header.vue2.js +4 -7
- package/dist/lib/components/design/views/assemblys/data/component/data-origin.css +3 -3
- package/dist/lib/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/data/component/data-origin.vue2.js +16 -6
- package/dist/lib/components/design/views/assemblys/data/component/table-children-column.vue.js +2 -3
- package/dist/lib/components/design/views/assemblys/data/table/table-attr-base.vue.js +0 -1
- package/dist/lib/components/design/views/assemblys/data/table/table-attr.vue2.js +1 -2
- package/dist/lib/components/design/views/assemblys/data/table/table-design.css +11 -11
- package/dist/lib/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/data/table/table-design.vue2.js +36 -24
- package/dist/lib/components/design/views/assemblys/data/table/table-design2.css +25 -25
- package/dist/lib/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -4
- package/dist/lib/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
- package/dist/lib/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +2 -2
- package/dist/lib/components/design/views/assemblys/form/common/attr-event.css +5 -5
- package/dist/lib/components/design/views/assemblys/form/common/attr-event.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/form/common/attr-event.vue2.js +2 -3
- package/dist/lib/components/design/views/assemblys/form/common/dimension-input.vue3.js +2 -2
- package/dist/lib/components/design/views/assemblys/form/common/title.vue.js +2 -2
- package/dist/lib/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue.js +1 -1
- package/dist/lib/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +1 -1
- package/dist/lib/components/design/views/design/page-event/page-event-container.vue.js +5 -17
- package/dist/lib/components/design/views/design/page-event/page-event-content.css +1 -1
- package/dist/lib/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/lib/components/design/views/design/page-event/page-event-content.vue2.js +3 -4
- package/dist/lib/components/design/views/design/view/assemblys-container.vue.js +1 -2
- package/package.json +1 -1
- package/dist/es/components/design/utils/eventBus.js +0 -10
- package/dist/lib/components/design/utils/eventBus.js +0 -9
- /package/dist/es/components/design/views/assemblys/form/common/{dimension-input.vue.js → dimension-input.vue2.js} +0 -0
- /package/dist/lib/components/design/views/assemblys/form/common/{dimension-input.vue.js → dimension-input.vue2.js} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { getUuidv4 } from "./common-util.js";
|
|
2
|
-
import eventBus from "./eventBus.js";
|
|
3
2
|
function formatConditionList(conditionList, attributeMap, fieldMap) {
|
|
4
3
|
if (conditionList) {
|
|
5
4
|
const jsonStr = JSON.parse(conditionList);
|
|
@@ -13,9 +12,7 @@ function formatConditionList(conditionList, attributeMap, fieldMap) {
|
|
|
13
12
|
for (var i = 0; i < conditionList.length; i++) {
|
|
14
13
|
const item = conditionList[i];
|
|
15
14
|
if (item && item.propName && attributeMap) {
|
|
16
|
-
const operatorsArr = getOperators(
|
|
17
|
-
fieldMap[item.propName]
|
|
18
|
-
);
|
|
15
|
+
const operatorsArr = getOperators(fieldMap[item.propName]);
|
|
19
16
|
if (operatorsArr && operatorsArr.length > 0) {
|
|
20
17
|
const operator = operatorsArr.filter((operItem) => {
|
|
21
18
|
return operItem.name === item.operator;
|
|
@@ -270,7 +267,7 @@ function getTopGroupHeaderColumnList(groupHeaders, columnItems) {
|
|
|
270
267
|
item.isLeaf = true;
|
|
271
268
|
}
|
|
272
269
|
});
|
|
273
|
-
eventBus.$emit("setFieldGroup", compositeHeaderFieldGroup);
|
|
270
|
+
window["$eventBus"].$emit("setFieldGroup", compositeHeaderFieldGroup);
|
|
274
271
|
columnItems.forEach((item) => {
|
|
275
272
|
if (item.props.base && item.props.base.prop == "$selection") {
|
|
276
273
|
topGroupHeaderList.unshift(item);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import "../../../../../../stores/page-store.js";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
import _sfc_main$2 from "../../common/common-icon-bind.vue.js";
|
|
6
6
|
import http from "agilebuilder-ui/src/utils/request";
|
|
7
7
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx
|
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import "@element-plus/icons-vue";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
5
|
-
/* empty css
|
|
5
|
+
/* empty css */
|
|
6
6
|
import "@element-plus/icons";
|
|
7
7
|
import "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import _sfc_main$1 from "../../form/common/dataorigin-input-table.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createElementVNode, createBlock, createCommentVNode } from "vue";
|
|
2
|
-
/* empty css
|
|
2
|
+
/* empty css */
|
|
3
3
|
import RowBackgroudColor from "./row-backgroud-color.vue.js";
|
|
4
4
|
import _sfc_main$1 from "../../common/common-style-position.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../../common/common-style-margin.vue.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
li[data-v-
|
|
2
|
+
li[data-v-4524bd8e] {
|
|
3
3
|
color: #333;
|
|
4
4
|
}
|
|
5
|
-
.context-menu[data-v-
|
|
5
|
+
.context-menu[data-v-4524bd8e] {
|
|
6
6
|
position: fixed;
|
|
7
7
|
background: #fff;
|
|
8
8
|
z-index: 999;
|
|
@@ -10,7 +10,7 @@ li[data-v-73667c88] {
|
|
|
10
10
|
margin: 0;
|
|
11
11
|
margin-top: 30px;
|
|
12
12
|
}
|
|
13
|
-
.context-menu li[data-v-
|
|
13
|
+
.context-menu li[data-v-4524bd8e] {
|
|
14
14
|
min-width: 75px;
|
|
15
15
|
height: 28px;
|
|
16
16
|
line-height: 28px;
|
|
@@ -23,15 +23,15 @@ li[data-v-73667c88] {
|
|
|
23
23
|
/* background: #5893ef;*/
|
|
24
24
|
/* color: #fff;*/
|
|
25
25
|
/*}*/
|
|
26
|
-
.context-menuLi[data-v-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
.context-menuLi[data-v-4524bd8e]:hover {
|
|
27
|
+
background: #5893ef;
|
|
28
|
+
color: #fff;
|
|
29
29
|
}
|
|
30
|
-
.context-menu[data-v-
|
|
30
|
+
.context-menu[data-v-4524bd8e] {
|
|
31
31
|
border: 1px solid #eee;
|
|
32
32
|
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
33
33
|
border-radius: 5px;
|
|
34
34
|
}
|
|
35
|
-
li[data-v-
|
|
35
|
+
li[data-v-4524bd8e] {
|
|
36
36
|
list-style-type: none;
|
|
37
37
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./composite-header.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const CompositeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const CompositeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4524bd8e"]]);
|
|
5
5
|
export {
|
|
6
6
|
CompositeHeader as default
|
|
7
7
|
};
|
|
@@ -3,7 +3,6 @@ import { Plus, EditPen, FolderAdd, Document, Delete } from "@element-plus/icons-
|
|
|
3
3
|
import { getUuidv4 } from "../../../../utils/common-util.js";
|
|
4
4
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
5
5
|
import { getTopGroupHeaderList, setGroupHeaderDataDisplayOrder, getChildrenList, addColumnToGroupHeaders, isLeafNode } from "../../../../utils/data-table-util.js";
|
|
6
|
-
import eventBus from "../../../../utils/eventBus.js";
|
|
7
6
|
const _hoisted_1 = { key: 0 };
|
|
8
7
|
const _hoisted_2 = { style: { "display": "flex", "margin": "8px 0" } };
|
|
9
8
|
const _hoisted_3 = { key: 0 };
|
|
@@ -57,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
58
|
const fieldGroup = ref([]);
|
|
60
|
-
eventBus.$on("setFieldGroup", (value) => {
|
|
59
|
+
window["$eventBus"].$on("setFieldGroup", (value) => {
|
|
61
60
|
if (value.length > 0) {
|
|
62
61
|
fieldGroup.value = value;
|
|
63
62
|
console.log("%c描述-164737", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", fieldGroup.value);
|
|
@@ -90,9 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
89
|
notChooseListColumns.value = [];
|
|
91
90
|
listColumns.forEach((column) => {
|
|
92
91
|
if (column.props.base.prop !== "$selection" && column.props.base.prop !== "$index" && column.props.base.prop !== "operation") {
|
|
93
|
-
const hasColumns = groupHeaders.value.filter(
|
|
94
|
-
(item) => item.columnUuid && item.columnUuid === column.uuid
|
|
95
|
-
);
|
|
92
|
+
const hasColumns = groupHeaders.value.filter((item) => item.columnUuid && item.columnUuid === column.uuid);
|
|
96
93
|
if (!hasColumns || hasColumns.length === 0) {
|
|
97
94
|
notChooseListColumns.value.push(column);
|
|
98
95
|
}
|
|
@@ -372,7 +369,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
372
369
|
}
|
|
373
370
|
}
|
|
374
371
|
function hadleDragStart(draggingNode, event) {
|
|
375
|
-
eventBus.$emit("hadleDragging", true);
|
|
372
|
+
window["$eventBus"].$emit("hadleDragging", true);
|
|
376
373
|
dragNode.value = draggingNode;
|
|
377
374
|
}
|
|
378
375
|
function handleDrop(draggingNode, dropNode, dropType, ev) {
|
|
@@ -425,7 +422,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
425
422
|
}
|
|
426
423
|
}
|
|
427
424
|
setTimeout(() => {
|
|
428
|
-
eventBus.$emit("hadleDragging", false);
|
|
425
|
+
window["$eventBus"].$emit("hadleDragging", false);
|
|
429
426
|
}, 50);
|
|
430
427
|
console.log("%c描述-155324", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", dropData);
|
|
431
428
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d2060470"]]);
|
|
5
5
|
export {
|
|
6
6
|
DataOrigin as default
|
|
7
7
|
};
|
|
@@ -8,7 +8,6 @@ import _sfc_main$3 from "../../common/common-select-table.vue.js";
|
|
|
8
8
|
import { Search, Close } from "@element-plus/icons";
|
|
9
9
|
import { queryTableFieldsOrMap } from "../../../../utils/page-table-util.js";
|
|
10
10
|
import "uuid";
|
|
11
|
-
import eventBus from "../../../../utils/eventBus.js";
|
|
12
11
|
import StateButton from "../../common/state-button.vue.js";
|
|
13
12
|
import _sfc_main$2 from "../../form/common/data-origin-service-in.vue.js";
|
|
14
13
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -63,7 +62,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
62
|
}
|
|
64
63
|
function saveCondition(table) {
|
|
65
64
|
props.configure.props.dataOrigin["sqlFilterCondition"] = JSON.stringify(table);
|
|
66
|
-
console.log(
|
|
65
|
+
console.log(
|
|
66
|
+
"%c描述-142553",
|
|
67
|
+
"color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px",
|
|
68
|
+
props.configure.props.dataOrigin["sqlFilterCondition"]
|
|
69
|
+
);
|
|
67
70
|
}
|
|
68
71
|
function closeDefaultQuery() {
|
|
69
72
|
defaultQueryVisible.value = false;
|
|
@@ -73,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
76
|
}
|
|
74
77
|
function setConfigure(tableData) {
|
|
75
78
|
props.configure.items = tableData;
|
|
76
|
-
eventBus.$emit("reloadTable");
|
|
79
|
+
window["$eventBus"].$emit("reloadTable");
|
|
77
80
|
columnConfigClose();
|
|
78
81
|
}
|
|
79
82
|
function selectTable() {
|
|
@@ -118,7 +121,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
118
121
|
returnVisible.value = false;
|
|
119
122
|
}
|
|
120
123
|
function removeReturnSet(rowVal) {
|
|
121
|
-
props.configure.props.dataOrigin.returnSetList = props.configure.props.dataOrigin.returnSetList.filter(
|
|
124
|
+
props.configure.props.dataOrigin.returnSetList = props.configure.props.dataOrigin.returnSetList.filter(
|
|
125
|
+
(item) => item != rowVal
|
|
126
|
+
);
|
|
122
127
|
}
|
|
123
128
|
function columnConfigClose() {
|
|
124
129
|
columnConfigVisible.value = false;
|
|
@@ -337,7 +342,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
337
342
|
key: index,
|
|
338
343
|
onClick: ($event) => seleteSort(index),
|
|
339
344
|
style: { "margin-top": "10px" },
|
|
340
|
-
class: normalizeClass(
|
|
345
|
+
class: normalizeClass(
|
|
346
|
+
atPresentSortIndex.value === index ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline"
|
|
347
|
+
)
|
|
341
348
|
}, [
|
|
342
349
|
createVNode(_component_el_select, {
|
|
343
350
|
modelValue: item.name,
|
|
@@ -439,7 +446,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
439
446
|
]),
|
|
440
447
|
_: 1
|
|
441
448
|
}, 512), [
|
|
442
|
-
[
|
|
449
|
+
[
|
|
450
|
+
vShow,
|
|
451
|
+
__props.remote && (__props.configure.props.dataOrigin.optionValueSetType === "dataTable" || __props.configure.props.dataOrigin.optionValueSetType === "service")
|
|
452
|
+
]
|
|
443
453
|
]),
|
|
444
454
|
__props.configure.props.dataOrigin.optionValueSetType === "service" ? (openBlock(), createBlock(_component_el_form_item, {
|
|
445
455
|
key: 4,
|
package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, createElementVNode, normalizeStyle, unref, normalizeClass, toDisplayString, reactive } from "vue";
|
|
2
2
|
import { columnTittleStyle, columnCustomTittleClass } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { VueDraggable } from "vue-draggable-plus";
|
|
4
|
-
import eventBus from "../../../../utils/eventBus.js";
|
|
5
4
|
import { deepCopy, getUuidv4 } from "../../../../utils/common-util.js";
|
|
6
5
|
import _sfc_main$1 from "../../object-design.vue.js";
|
|
7
6
|
import { ElMessage } from "element-plus";
|
|
@@ -49,7 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
48
|
// table 表格总体数据
|
|
50
49
|
};
|
|
51
50
|
emit("closeMenuVisible");
|
|
52
|
-
eventBus.$emit("selectColumn", obj);
|
|
51
|
+
window["$eventBus"].$emit("selectColumn", obj);
|
|
53
52
|
setHeaderLabel(column.label);
|
|
54
53
|
} else {
|
|
55
54
|
return ElMessage.warning("组合表头顶级菜单不能进行列配置");
|
|
@@ -83,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
const compositeDragging = ref(false);
|
|
86
|
-
eventBus.$on("hadleDragging", (val) => {
|
|
85
|
+
window["$eventBus"].$on("hadleDragging", (val) => {
|
|
87
86
|
compositeDragging.value = val;
|
|
88
87
|
});
|
|
89
88
|
function onSelectWidget(selIndex, objConfigure) {
|
|
@@ -5,7 +5,6 @@ import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
|
5
5
|
import _sfc_main$1 from "../../form/common/data-linkage.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import { getUuidv4 } from "../../../../utils/common-util.js";
|
|
8
|
-
import "../../../../utils/eventBus.js";
|
|
9
8
|
import "agilebuilder-ui/src/utils/request";
|
|
10
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
10
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -8,7 +8,6 @@ import AttrHeader from "../../form/common/attr-header.vue.js";
|
|
|
8
8
|
import _sfc_main$1 from "./tablecolumn-attr-base.vue.js";
|
|
9
9
|
import _sfc_main$2 from "./tablecolumn-attr-style.vue.js";
|
|
10
10
|
import _sfc_main$3 from "./tablecolumn-attr-event.vue.js";
|
|
11
|
-
import eventBus from "../../../../utils/eventBus.js";
|
|
12
11
|
import "../../../../utils/assemblys-config.js";
|
|
13
12
|
const _hoisted_1 = {
|
|
14
13
|
key: 0,
|
|
@@ -39,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
38
|
let currentConfigType = ref("base");
|
|
40
39
|
const ColumnData = ref({});
|
|
41
40
|
const tableConfigure = ref({});
|
|
42
|
-
eventBus.$on("selectColumn", (val) => {
|
|
41
|
+
window["$eventBus"].$on("selectColumn", (val) => {
|
|
43
42
|
ColumnData.value = val.columnData;
|
|
44
43
|
tableConfigure.value = val.tableConfigure;
|
|
45
44
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
/*不显示列样式*/
|
|
3
|
-
.hiddenBorder{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
.hiddenBorder {
|
|
4
|
+
border-right: solid 1px #ebebeb !important;
|
|
5
|
+
border-left: solid 1px #ebebeb !important;
|
|
6
|
+
background-color: #ebebeb !important;
|
|
7
7
|
}
|
|
8
8
|
/*选中列样式*/
|
|
9
|
-
.addBorder{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
.addBorder {
|
|
10
|
+
border-right: solid 1px #5893ef !important;
|
|
11
|
+
border-left: solid 1px #5893ef !important;
|
|
12
|
+
background-color: #5893ef !important;
|
|
13
|
+
color: #ffffff;
|
|
14
14
|
}
|
|
15
15
|
.ghost {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
opacity: 0.5;
|
|
17
|
+
background: #c8ebfb;
|
|
18
18
|
}
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./table-design.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const tableDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const tableDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-03944dbc"]]);
|
|
6
6
|
export {
|
|
7
7
|
tableDesign as default
|
|
8
8
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, watch, resolveComponent, openBlock, createElementBlock, createVNode, normalizeClass, normalizeStyle, withCtx, Fragment, renderList, createBlock, createElementVNode, withDirectives, unref, createTextVNode, createCommentVNode, vShow } from "vue";
|
|
2
|
-
import eventBus from "../../../../utils/eventBus.js";
|
|
3
2
|
import { useDraggable } from "vue-draggable-plus";
|
|
4
3
|
import { caculateDetailComponentStyle, caculateComponentProps } from "../../../../utils/form-design-util.js";
|
|
5
4
|
import "../../../../utils/assemblys-config.js";
|
|
@@ -32,9 +31,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
31
|
setup(__props, { emit: __emit }) {
|
|
33
32
|
const props = __props;
|
|
34
33
|
const emit = __emit;
|
|
35
|
-
const tableData = ref([
|
|
36
|
-
{}
|
|
37
|
-
]);
|
|
34
|
+
const tableData = ref([{}]);
|
|
38
35
|
const currentPage = ref(1);
|
|
39
36
|
const pageSize = ref(1);
|
|
40
37
|
const designStyle = ref({});
|
|
@@ -78,31 +75,42 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
75
|
}
|
|
79
76
|
});
|
|
80
77
|
});
|
|
81
|
-
eventBus.$on("setHiddenColumsName", (data) => {
|
|
78
|
+
window["$eventBus"].$on("setHiddenColumsName", (data) => {
|
|
82
79
|
if (!data.value) {
|
|
83
80
|
hiddenColumsName.value.push(data.name);
|
|
84
81
|
} else {
|
|
85
82
|
hiddenColumsName.value = hiddenColumsName.value.filter((item) => item != data.name);
|
|
86
83
|
}
|
|
87
84
|
});
|
|
88
|
-
watch(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
85
|
+
watch(
|
|
86
|
+
props.configure.style,
|
|
87
|
+
() => {
|
|
88
|
+
caculateDetailComponentStyle(props.configure, designStyle, designClass, designHeaderStyle);
|
|
89
|
+
props.configure.runtime.style = designStyle.value;
|
|
90
|
+
props.configure.runtime.class = designClass.value;
|
|
91
|
+
props.configure.runtime.headerStyle = designHeaderStyle.value;
|
|
92
|
+
},
|
|
93
|
+
{ immediate: true }
|
|
94
|
+
);
|
|
95
|
+
watch(
|
|
96
|
+
props.configure.props,
|
|
97
|
+
() => {
|
|
98
|
+
caculateComponentProps(props.configure, designProperty);
|
|
99
|
+
getRestsParameter();
|
|
100
|
+
props.configure.runtime.props = designProperty.value;
|
|
101
|
+
},
|
|
102
|
+
{ immediate: true }
|
|
103
|
+
);
|
|
104
|
+
watch(
|
|
105
|
+
() => props.configure.props.isChangeGroupHeader,
|
|
106
|
+
() => {
|
|
107
|
+
if (props.configure.props.isChangeGroupHeader) {
|
|
108
|
+
listColumns.value = getColumnsWithGroupHeader(props.configure);
|
|
109
|
+
tableRef.value.doLayout();
|
|
110
|
+
}
|
|
103
111
|
}
|
|
104
|
-
|
|
105
|
-
eventBus.$on("reloadTable", () => {
|
|
112
|
+
);
|
|
113
|
+
window["$eventBus"].$on("reloadTable", () => {
|
|
106
114
|
listColumns.value = getColumnsWithGroupHeader(props.configure);
|
|
107
115
|
tableRef.value.doLayout();
|
|
108
116
|
});
|
|
@@ -117,7 +125,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
125
|
let obj = {
|
|
118
126
|
columnData: {}
|
|
119
127
|
};
|
|
120
|
-
eventBus.$emit("selectColumn", obj);
|
|
128
|
+
window["$eventBus"].$emit("selectColumn", obj);
|
|
121
129
|
}
|
|
122
130
|
function headerContextmenu(column, event) {
|
|
123
131
|
var evt = event || window.event;
|
|
@@ -185,7 +193,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
185
193
|
};
|
|
186
194
|
props.configure.items.splice(columnDataIndex.value + 1, 0, newObj);
|
|
187
195
|
if (props.configure.props.base.isEnableGroupHeader) {
|
|
188
|
-
addColumnToGroupHeaders(
|
|
196
|
+
addColumnToGroupHeaders(
|
|
197
|
+
props.configure.items[columnDataIndex.value + 1],
|
|
198
|
+
null,
|
|
199
|
+
props.configure.props.groupHeaders
|
|
200
|
+
);
|
|
189
201
|
}
|
|
190
202
|
} else if (type === "deleteNode") {
|
|
191
203
|
ElMessageBox.confirm("当前操作会删除当前列", "Warning", {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
|
|
2
|
-
li[data-v-
|
|
3
|
-
|
|
2
|
+
li[data-v-03944dbc] {
|
|
3
|
+
color: #333;
|
|
4
4
|
}
|
|
5
|
-
.context-menu[data-v-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
.context-menu[data-v-03944dbc] {
|
|
6
|
+
position: fixed;
|
|
7
|
+
background: #fff;
|
|
8
|
+
z-index: 999;
|
|
9
|
+
padding: 5px;
|
|
10
|
+
margin: 0;
|
|
11
|
+
margin-top: 30px;
|
|
12
12
|
}
|
|
13
|
-
.context-menu li[data-v-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
.context-menu li[data-v-03944dbc] {
|
|
14
|
+
min-width: 75px;
|
|
15
|
+
height: 28px;
|
|
16
|
+
line-height: 28px;
|
|
17
|
+
text-align: left;
|
|
18
|
+
color: #1a1a1a;
|
|
19
|
+
cursor: pointer;
|
|
20
20
|
}
|
|
21
|
-
.context-menu li[data-v-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
.context-menu li[data-v-03944dbc]:hover {
|
|
22
|
+
background: #5893ef;
|
|
23
|
+
color: #fff;
|
|
24
24
|
}
|
|
25
|
-
.context-menu[data-v-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
.context-menu[data-v-03944dbc] {
|
|
26
|
+
border: 1px solid #eee;
|
|
27
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
28
|
+
border-radius: 5px;
|
|
29
29
|
}
|
|
30
|
-
li[data-v-
|
|
31
|
-
|
|
30
|
+
li[data-v-03944dbc] {
|
|
31
|
+
list-style-type: none;
|
|
32
32
|
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createCommentVNode, createTextVNode, unref, createElementBlock, Fragment, renderList } from "vue";
|
|
2
2
|
import { Setting, Search } from "@element-plus/icons-vue";
|
|
3
3
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
import _sfc_main$3 from "../component/formatting.vue.js";
|
|
6
6
|
import _sfc_main$4 from "../component/querySetting.vue.js";
|
|
7
7
|
import DataOrigin from "../../form/common/data-origin.vue.js";
|
|
8
8
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
9
9
|
import { setGroupHeaderDataDisplayOrder, deleteGroupHeaderByColumnUuid } from "../../../../utils/data-table-util.js";
|
|
10
10
|
import { getUuidv4 } from "../../../../utils/common-util.js";
|
|
11
|
-
import eventBus from "../../../../utils/eventBus.js";
|
|
12
11
|
import _sfc_main$1 from "../component/variate-select.vue.js";
|
|
13
12
|
import _sfc_main$2 from "../../form/common/suffixmodule.vue.js";
|
|
14
13
|
import _sfc_main$5 from "../component/select-data-table.vue.js";
|
|
@@ -86,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
85
|
deleteGroupHeaderByColumnUuid(groupHeaders, columnUuid);
|
|
87
86
|
}
|
|
88
87
|
} else {
|
|
89
|
-
eventBus.$emit("setHiddenColumsName", { name: props.configure.props.base.name, value: newValue });
|
|
88
|
+
window["$eventBus"].$emit("setHiddenColumsName", { name: props.configure.props.base.name, value: newValue });
|
|
90
89
|
}
|
|
91
90
|
}
|
|
92
91
|
function afterBindDefaultValue(modelValue) {
|
|
@@ -100,7 +99,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
100
99
|
formData.value.childAnnexDataTableCode = selectCode;
|
|
101
100
|
}
|
|
102
101
|
function updateOrder() {
|
|
103
|
-
eventBus.$emit("reloadTable");
|
|
102
|
+
window["$eventBus"].$emit("reloadTable");
|
|
104
103
|
}
|
|
105
104
|
return (_ctx, _cache) => {
|
|
106
105
|
const _component_el_input = resolveComponent("el-input");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, createElementBlock, Fragment, renderList } from "vue";
|
|
2
|
-
/* empty css
|
|
2
|
+
/* empty css */
|
|
3
3
|
import RowBackgroudColor from "../component/row-backgroud-color.vue.js";
|
|
4
4
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
5
5
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import _sfc_main$1 from "../../form/common/dimension-input.
|
|
4
|
-
/* empty css
|
|
3
|
+
import _sfc_main$1 from "../../form/common/dimension-input.vue2.js";
|
|
4
|
+
/* empty css */
|
|
5
5
|
import IconSetDialog from "../../form/common/icon-set-dialog.vue.js";
|
|
6
6
|
import _sfc_main$2 from "../../form/common/dataorigin-input-table.vue.js";
|
|
7
7
|
import DataOriginTree from "../component/data-origin-tree.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../form/common/attr-style.vue.js";
|
|
3
|
-
import _sfc_main$2 from "../../form/common/dimension-input.
|
|
4
|
-
/* empty css
|
|
3
|
+
import _sfc_main$2 from "../../form/common/dimension-input.vue2.js";
|
|
4
|
+
/* empty css */
|
|
5
5
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "tree-attr-style",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
.event-item[data-v-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
.event-item[data-v-b4059d4f] {
|
|
3
|
+
font-size: 12px;
|
|
4
|
+
border-bottom: 2px dashed #f5f6f8;
|
|
5
|
+
padding-top: 5px;
|
|
6
|
+
padding-bottom: 5px;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./attr-event.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const AttrEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const AttrEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b4059d4f"]]);
|
|
5
5
|
export {
|
|
6
6
|
AttrEvent as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, renderList, createBlock, withCtx, createVNode, createTextVNode, toDisplayString, createCommentVNode, unref } from "vue";
|
|
2
2
|
import { Edit } from "@element-plus/icons";
|
|
3
|
-
import eventBus from "../../../../utils/eventBus.js";
|
|
4
3
|
const _hoisted_1 = {
|
|
5
4
|
key: 1,
|
|
6
5
|
style: { "padding-left": "5px", "font-weight": "700" }
|
|
@@ -22,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
21
|
setup(__props) {
|
|
23
22
|
const props = __props;
|
|
24
23
|
function editEvent(event) {
|
|
25
|
-
eventBus.$emit("editEvent", { configureObj: props.configure, event });
|
|
24
|
+
window["$eventBus"].$emit("editEvent", { configureObj: props.configure, event });
|
|
26
25
|
}
|
|
27
26
|
return (_ctx, _cache) => {
|
|
28
27
|
const _component_el_col = resolveComponent("el-col");
|
|
@@ -55,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
54
|
}, {
|
|
56
55
|
default: withCtx(() => [
|
|
57
56
|
createVNode(_component_el_icon, {
|
|
58
|
-
style: { "cursor": "pointer", "color": "#
|
|
57
|
+
style: { "cursor": "pointer", "color": "#5893ef", "margin-right": "6px" },
|
|
59
58
|
onClick: ($event) => editEvent(event)
|
|
60
59
|
}, {
|
|
61
60
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode } from "vue";
|
|
2
|
-
import _sfc_main$1 from "./dimension-input.
|
|
3
|
-
/* empty css
|
|
2
|
+
import _sfc_main$1 from "./dimension-input.vue2.js";
|
|
3
|
+
/* empty css */
|
|
4
4
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "title",
|
package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$1 from "../../common/common-attr-size.vue.js";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "pictureflow-attr-base",
|