super-page-designer 2.0.83 → 2.0.86
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/assets/design-attr.css.js +1 -0
- package/dist/es/assets/fonts/iconfont.css.js +1 -0
- package/dist/es/components/design/utils/assemblys-config.js +3 -2
- package/dist/es/components/design/utils/chart-design-util.js +2 -1
- package/dist/es/components/design/utils/form-design-util.js +20 -10
- package/dist/es/components/design/utils/page-table-util.d.ts +3 -1
- package/dist/es/components/design/utils/page-table-util.js +36 -14
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +4 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +8 -4
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +706 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -701
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +9 -5
- package/dist/es/components/design/views/assemblys/common/state-button.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/state-button.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr.vue3.js +1 -0
- 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.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.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.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +5 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -5
- 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/table-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -5
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue4.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-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/table/tablecolumn-attr-base.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +5 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr.vue3.js +1 -0
- 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.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue3.js +1 -0
- 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-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +217 -0
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue3.js +1 -217
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/custom/custom-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/select/select-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/object-design.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +2 -5
- 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/picture-flow/pictureflow-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr.vue3.js +1 -0
- package/dist/es/components/design/views/design/page-design.vue.js +14 -9
- package/dist/es/components/design/views/design/page-event/config.vue.js +7 -0
- package/dist/es/components/design/views/design/page-event/config.vue2.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue3.js +2 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +6 -6
- 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 +3 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue3.js +1 -0
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/stores/page-store.js +2 -1
- package/dist/es/style.css +221 -221
- package/package.json +5 -5
|
@@ -70,15 +70,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
}
|
|
71
71
|
console.log("click contains--------not");
|
|
72
72
|
if (popoverVisible.value) {
|
|
73
|
-
closePopover();
|
|
73
|
+
closePopover(true);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
let popoverTimeout = null;
|
|
78
78
|
function closePopover(immediate) {
|
|
79
79
|
clearTimeout(popoverTimeout);
|
|
80
|
-
{
|
|
80
|
+
if (immediate) {
|
|
81
81
|
popoverVisible.value = false;
|
|
82
|
+
} else {
|
|
83
|
+
popoverTimeout = setTimeout(() => {
|
|
84
|
+
popoverVisible.value = false;
|
|
85
|
+
}, 2e3);
|
|
82
86
|
}
|
|
83
87
|
}
|
|
84
88
|
function openPopover() {
|
|
@@ -265,12 +269,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
265
269
|
codeType.value = "";
|
|
266
270
|
thisValue.value = "";
|
|
267
271
|
emits("update:modelValue", "", "", "");
|
|
268
|
-
closePopover();
|
|
272
|
+
closePopover(true);
|
|
269
273
|
}
|
|
270
274
|
function selectRow(row) {
|
|
271
275
|
thisValue.value = row.code;
|
|
272
276
|
emits("update:modelValue", codeType.value, thisValue.value, row.name, row.id);
|
|
273
|
-
closePopover();
|
|
277
|
+
closePopover(true);
|
|
274
278
|
}
|
|
275
279
|
function addCustom() {
|
|
276
280
|
if (!inputCode.value) {
|
|
@@ -279,7 +283,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
279
283
|
}
|
|
280
284
|
thisValue.value = inputCode.value;
|
|
281
285
|
emits("update:modelValue", codeType.value, thisValue.value, "");
|
|
282
|
-
closePopover();
|
|
286
|
+
closePopover(true);
|
|
283
287
|
}
|
|
284
288
|
console.log("init", props.value, props.type);
|
|
285
289
|
function showPopover() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./state-button.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./state-button.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const StateButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ae2798fb"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./composite-header.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./composite-header.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const CompositeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b436905c"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, createCommentVNode, createElementBlock, Fragment, renderList } from "vue";
|
|
2
2
|
import "@element-plus/icons-vue";
|
|
3
|
-
|
|
3
|
+
import "../../form/common/icon-set-dialog.vue3.js";
|
|
4
4
|
import http from "agilebuilder-ui/src/utils/request";
|
|
5
5
|
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin-tree.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./data-origin-tree.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-97438be5"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./data-origin.vue3.js";
|
|
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-a8c75465"]]);
|
|
5
5
|
export {
|
|
6
6
|
DataOrigin as default
|
|
7
7
|
};
|
|
@@ -373,15 +373,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
373
373
|
modelValue: __props.configure.props.dataOrigin.tableName,
|
|
374
374
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.dataOrigin.tableName = $event),
|
|
375
375
|
title: __props.configure.props.dataOrigin.tableName,
|
|
376
|
+
onClick: selectTable,
|
|
376
377
|
clearable: "",
|
|
377
378
|
readonly: "true"
|
|
378
379
|
}, {
|
|
379
|
-
|
|
380
|
+
prepend: withCtx(() => [
|
|
380
381
|
createVNode(_component_el_button, {
|
|
381
382
|
icon: unref(Search),
|
|
382
383
|
onClick: selectTable,
|
|
383
384
|
size: "small"
|
|
384
|
-
}, null, 8, ["icon"])
|
|
385
|
+
}, null, 8, ["icon"])
|
|
386
|
+
]),
|
|
387
|
+
append: withCtx(() => [
|
|
385
388
|
createVNode(_component_el_button, {
|
|
386
389
|
icon: unref(Close),
|
|
387
390
|
onClick: clearTable,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, createCommentVNode, unref } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../form/common/suffixmodule.vue.js";
|
|
3
3
|
import { Search } from "@element-plus/icons-vue";
|
|
4
|
-
|
|
4
|
+
import "../../form/common/icon-set-dialog.vue3.js";
|
|
5
5
|
import _sfc_main$2 from "./formatting-icon-label.vue.js";
|
|
6
6
|
const _hoisted_1 = { class: "dialog-footer" };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode } from "vue";
|
|
2
2
|
import "@element-plus/icons-vue";
|
|
3
|
-
|
|
3
|
+
import "../../form/common/icon-set-dialog.vue3.js";
|
|
4
4
|
const _hoisted_1 = { class: "dialog-footer" };
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "querySetting",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./row-backgroud-color.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./row-backgroud-color.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const RowBackgroudColor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b203475d"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -35,7 +35,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
const selectValue = ref("");
|
|
36
36
|
function selectChange() {
|
|
37
37
|
emit("update:prop", selectValue);
|
|
38
|
-
if (selectValue === "dynamicColumnSelect" || selectValue === null)
|
|
38
|
+
if (selectValue === "dynamicColumnSelect" || selectValue === null)
|
|
39
|
+
return;
|
|
39
40
|
if (props.propType != "") {
|
|
40
41
|
props.tableConfigure.modelFields.forEach((item) => {
|
|
41
42
|
if (item.dbColumnName === selectValue.value) {
|
|
@@ -4,7 +4,7 @@ import { Plus, Remove, Delete } from "@element-plus/icons-vue";
|
|
|
4
4
|
import _sfc_main$1 from "../component/variate-select.vue.js";
|
|
5
5
|
import CompositeHeader from "../component/composite-header.vue.js";
|
|
6
6
|
import _sfc_main$2 from "../component/import-header.vue.js";
|
|
7
|
-
import { querySublist,
|
|
7
|
+
import { querySublist, queryTableFields, changeFeieldToMap } from "../../../../utils/page-table-util.js";
|
|
8
8
|
import _sfc_main$4 from "../../workflow/component/combination.vue.js";
|
|
9
9
|
import _sfc_main$3 from "../../common/common-select-table.vue.js";
|
|
10
10
|
import { Search, Close } from "@element-plus/icons";
|
|
@@ -120,10 +120,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
120
120
|
props.configure.props.otherSettings.alias = tableInfo.alias;
|
|
121
121
|
const systemCode = tableInfo.systemCode ? tableInfo.systemCode : props.pageDesign.systemCode;
|
|
122
122
|
const systemVersion = tableInfo.systemVersion ? tableInfo.systemVersion : props.pageDesign.version;
|
|
123
|
-
|
|
124
|
-
props.configure.props["otherSettings"]["modelFields"] = tableFields
|
|
125
|
-
props.configure.props["otherSettings"]["modelFieldsMap"]
|
|
126
|
-
|
|
123
|
+
queryTableFields(systemCode, systemVersion, tableInfo.name).then((tableFields) => {
|
|
124
|
+
props.configure.props["otherSettings"]["modelFields"] = tableFields;
|
|
125
|
+
if (!props.configure.props["otherSettings"]["modelFieldsMap"]) {
|
|
126
|
+
props.configure.props["otherSettings"]["modelFieldsMap"] = {};
|
|
127
|
+
}
|
|
128
|
+
changeFeieldToMap(props.configure.props["otherSettings"]["modelFieldsMap"], tableFields);
|
|
127
129
|
});
|
|
128
130
|
}
|
|
129
131
|
}
|
|
@@ -8,7 +8,7 @@ import "agilebuilder-ui/src/utils/request";
|
|
|
8
8
|
import "uuid";
|
|
9
9
|
import "../../../../../../stores/page-store.js";
|
|
10
10
|
import "../../../../../../stores/table-store.js";
|
|
11
|
-
|
|
11
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
12
12
|
import "../../../../utils/eventBus.js";
|
|
13
13
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
14
14
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
tableConfigure.value = val.tableConfigure;
|
|
44
44
|
});
|
|
45
45
|
return (_ctx, _cache) => {
|
|
46
|
-
return Object.keys(columnData.value).length > 0
|
|
46
|
+
return Object.keys(columnData.value).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
47
47
|
createVNode(AttrHeader, {
|
|
48
48
|
modelValue: unref(currentConfigType),
|
|
49
49
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(currentConfigType) ? currentConfigType.value = $event : currentConfigType = $event),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main from "./table-design.vue2.js";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import "./table-design.vue3.js";
|
|
3
|
+
import "./table-design.vue4.js";
|
|
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-81648b04"]]);
|
|
6
6
|
export {
|
|
7
7
|
tableDesign as default
|
|
8
8
|
};
|
|
@@ -11,7 +11,7 @@ import "@element-plus/icons";
|
|
|
11
11
|
import "super-page-runtime";
|
|
12
12
|
import "../../../../../../stores/page-store.js";
|
|
13
13
|
import _sfc_main$1 from "../component/table-children-column.vue.js";
|
|
14
|
-
import { queryTableFields } from "../../../../utils/page-table-util.js";
|
|
14
|
+
import { queryTableFields, changeFeieldToMap } from "../../../../utils/page-table-util.js";
|
|
15
15
|
const _hoisted_1 = {
|
|
16
16
|
id: "tableDesignMenu",
|
|
17
17
|
ref: "headerMenu",
|
|
@@ -143,10 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
143
143
|
const systemVersion = props.configure.tableSysVersion ? props.configure.tableSysVersion : props.pageDesign.version;
|
|
144
144
|
const tableName = props.configure.props.dataOrigin.tableName;
|
|
145
145
|
queryTableFields(systemCode, systemVersion, tableName).then((tableFields) => {
|
|
146
|
-
props.configure.modelFieldsMap
|
|
147
|
-
tableFields.forEach((attrbt) => {
|
|
148
|
-
props.configure.modelFieldsMap[attrbt.dbColumnName] = attrbt;
|
|
149
|
-
});
|
|
146
|
+
changeFeieldToMap(props.configure.modelFieldsMap, tableFields);
|
|
150
147
|
props.configure.modelFields = tableFields;
|
|
151
148
|
});
|
|
152
149
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./tablecolumn-attr-base.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./tablecolumn-attr-base.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const TablecolumnAttrBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3560b979"]]);
|
|
5
5
|
export {
|
|
@@ -9,7 +9,7 @@ import { getUuidv4 } from "../../../../utils/common-util.js";
|
|
|
9
9
|
import eventBus from "../../../../utils/eventBus.js";
|
|
10
10
|
import _sfc_main$1 from "../component/variate-select.vue.js";
|
|
11
11
|
import _sfc_main$6 from "../../form/common/suffixmodule.vue.js";
|
|
12
|
-
|
|
12
|
+
import "../../form/common/icon-set-dialog.vue3.js";
|
|
13
13
|
import _sfc_main$2 from "../../common/common-function-code.vue.js";
|
|
14
14
|
import _sfc_main$9 from "../../common/common-select-table.vue.js";
|
|
15
15
|
import { queryTableFields, tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -48,9 +48,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
props.configure.props.base.prop = modelValue;
|
|
49
49
|
}
|
|
50
50
|
function afterBindIcon(iconType, iconValue, fieldType) {
|
|
51
|
-
{
|
|
51
|
+
if (fieldType == "suf") {
|
|
52
52
|
props.configure.props.base.iconType = iconType;
|
|
53
53
|
props.configure.props.base.iconType = iconValue;
|
|
54
|
+
} else {
|
|
55
|
+
props.configure.props.base.iconType = iconType;
|
|
56
|
+
props.configure.props.base.icon = iconValue;
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
return (_ctx, _cache) => {
|
|
@@ -329,7 +332,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
329
332
|
createVNode(_sfc_main$1, {
|
|
330
333
|
iconType: __props.configure.props.base.iconType,
|
|
331
334
|
iconValue: __props.configure.props.base.icon,
|
|
332
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
335
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = (iconType, iconValue) => afterBindIcon(iconType, iconValue, "suf"))
|
|
333
336
|
}, null, 8, ["iconType", "iconValue"])
|
|
334
337
|
]),
|
|
335
338
|
_: 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./attr-event.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./attr-event.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const AttrEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c7ab7527"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./attr-header.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./attr-header.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const AttrHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-226997f7"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -7,7 +7,7 @@ import "@element-plus/icons-vue";
|
|
|
7
7
|
import http from "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import { usePageContextStore } from "../../../../../../stores/page-store.js";
|
|
9
9
|
import "../../../../../../stores/table-store.js";
|
|
10
|
-
|
|
10
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
11
11
|
import _sfc_main$4 from "./data-origin-service-in.vue.js";
|
|
12
12
|
import { queryTableFields } from "../../../../utils/page-table-util.js";
|
|
13
13
|
import { getCustomFuncs } from "../../../../utils/page-event-util.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./data-origin.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./data-origin.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const DataOrigin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e6c84ad9"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _sfc_main from "./icon-set-dialog.
|
|
2
|
-
|
|
1
|
+
import _sfc_main from "./icon-set-dialog.vue2.js";
|
|
2
|
+
import "./icon-set-dialog.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const IconSetDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4aa5ce08"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { defineComponent, ref, reactive, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode, renderList, normalizeClass, createBlock, resolveDynamicComponent, toDisplayString, pushScopeId, popScopeId } from "vue";
|
|
2
|
+
import { Search, Plus, ChatLineRound, Unlock, MuteNotification, Operation, WarningFilled } from "@element-plus/icons-vue";
|
|
3
|
+
const _withScopeId = (n) => (pushScopeId("data-v-4aa5ce08"), n = n(), popScopeId(), n);
|
|
4
|
+
const _hoisted_1 = { class: "icon-set-center-body" };
|
|
5
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "新建", -1));
|
|
6
|
+
const _hoisted_3 = ["onClick"];
|
|
7
|
+
const _hoisted_4 = { class: "dialog-footer" };
|
|
8
|
+
const _hoisted_5 = { class: "dialog-footer" };
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "icon-set-dialog",
|
|
11
|
+
props: {
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ""
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emit = __emit;
|
|
21
|
+
const iconValue = ref(props.modelValue);
|
|
22
|
+
const dialogVisible = ref(false);
|
|
23
|
+
const selectIconName = ref("");
|
|
24
|
+
const addIconDialogVisible = ref(false);
|
|
25
|
+
const form = reactive({});
|
|
26
|
+
const iconList = [
|
|
27
|
+
{ name: "ChatLineRound", icon: ChatLineRound },
|
|
28
|
+
{ name: "Unlock", icon: Unlock },
|
|
29
|
+
{ name: "MuteNotification", icon: MuteNotification },
|
|
30
|
+
{ name: "Operation", icon: Operation },
|
|
31
|
+
{ name: "WarningFilled", icon: WarningFilled }
|
|
32
|
+
];
|
|
33
|
+
watch(() => props.modelValue, (newVal) => {
|
|
34
|
+
iconValue.value = newVal;
|
|
35
|
+
});
|
|
36
|
+
function selectIcon(name) {
|
|
37
|
+
selectIconName.value = name;
|
|
38
|
+
}
|
|
39
|
+
function openDialog() {
|
|
40
|
+
dialogVisible.value = true;
|
|
41
|
+
}
|
|
42
|
+
function addIcon() {
|
|
43
|
+
console.log("%c描述-105701", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", selectIconName.value);
|
|
44
|
+
emit("update:modelValue", selectIconName.value);
|
|
45
|
+
dialogVisible.value = false;
|
|
46
|
+
}
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
const _component_el_button = resolveComponent("el-button");
|
|
49
|
+
const _component_el_input = resolveComponent("el-input");
|
|
50
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
51
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
52
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
53
|
+
const _component_el_option = resolveComponent("el-option");
|
|
54
|
+
const _component_el_select = resolveComponent("el-select");
|
|
55
|
+
const _component_el_form = resolveComponent("el-form");
|
|
56
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
57
|
+
createVNode(_component_el_input, {
|
|
58
|
+
modelValue: iconValue.value,
|
|
59
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => iconValue.value = $event),
|
|
60
|
+
onClick: openDialog
|
|
61
|
+
}, {
|
|
62
|
+
append: withCtx(() => [
|
|
63
|
+
createVNode(_component_el_button, {
|
|
64
|
+
icon: unref(Search),
|
|
65
|
+
onClick: openDialog
|
|
66
|
+
}, null, 8, ["icon"])
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 8, ["modelValue"]),
|
|
70
|
+
createVNode(_component_el_dialog, {
|
|
71
|
+
modelValue: dialogVisible.value,
|
|
72
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
|
|
73
|
+
title: "选择icon",
|
|
74
|
+
width: "40%"
|
|
75
|
+
}, {
|
|
76
|
+
footer: withCtx(() => [
|
|
77
|
+
createElementVNode("div", _hoisted_4, [
|
|
78
|
+
createVNode(_component_el_button, {
|
|
79
|
+
onClick: _cache[2] || (_cache[2] = ($event) => dialogVisible.value = false)
|
|
80
|
+
}, {
|
|
81
|
+
default: withCtx(() => [
|
|
82
|
+
createTextVNode("取消")
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}),
|
|
86
|
+
createVNode(_component_el_button, {
|
|
87
|
+
type: "primary",
|
|
88
|
+
onClick: addIcon
|
|
89
|
+
}, {
|
|
90
|
+
default: withCtx(() => [
|
|
91
|
+
createTextVNode(" 确定 ")
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
})
|
|
95
|
+
])
|
|
96
|
+
]),
|
|
97
|
+
default: withCtx(() => [
|
|
98
|
+
createElementVNode("div", _hoisted_1, [
|
|
99
|
+
createElementVNode("div", {
|
|
100
|
+
class: "icon-set-center-creation",
|
|
101
|
+
onClick: _cache[1] || (_cache[1] = ($event) => addIconDialogVisible.value = true)
|
|
102
|
+
}, [
|
|
103
|
+
createVNode(_component_el_icon, null, {
|
|
104
|
+
default: withCtx(() => [
|
|
105
|
+
createVNode(unref(Plus))
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
}),
|
|
109
|
+
_hoisted_2
|
|
110
|
+
]),
|
|
111
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(iconList, (item, index) => {
|
|
112
|
+
return createElementVNode("div", {
|
|
113
|
+
key: index,
|
|
114
|
+
class: normalizeClass(selectIconName.value === item.name ? "icon-set-center-item icon-set-center-item-border" : "icon-set-center-item"),
|
|
115
|
+
onClick: ($event) => selectIcon(item.name)
|
|
116
|
+
}, [
|
|
117
|
+
(openBlock(), createBlock(resolveDynamicComponent(item.icon), { style: { "width": "40px", "height": "40px" } })),
|
|
118
|
+
createElementVNode("span", null, toDisplayString(item.name), 1)
|
|
119
|
+
], 10, _hoisted_3);
|
|
120
|
+
}), 64))
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
}, 8, ["modelValue"]),
|
|
125
|
+
createVNode(_component_el_dialog, {
|
|
126
|
+
modelValue: addIconDialogVisible.value,
|
|
127
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => addIconDialogVisible.value = $event),
|
|
128
|
+
title: "创建icon",
|
|
129
|
+
width: "30%"
|
|
130
|
+
}, {
|
|
131
|
+
footer: withCtx(() => [
|
|
132
|
+
createElementVNode("div", _hoisted_5, [
|
|
133
|
+
createVNode(_component_el_button, {
|
|
134
|
+
onClick: _cache[7] || (_cache[7] = ($event) => addIconDialogVisible.value = false)
|
|
135
|
+
}, {
|
|
136
|
+
default: withCtx(() => [
|
|
137
|
+
createTextVNode("取消")
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}),
|
|
141
|
+
createVNode(_component_el_button, {
|
|
142
|
+
type: "primary",
|
|
143
|
+
onClick: _cache[8] || (_cache[8] = ($event) => addIconDialogVisible.value = false)
|
|
144
|
+
}, {
|
|
145
|
+
default: withCtx(() => [
|
|
146
|
+
createTextVNode(" 确定 ")
|
|
147
|
+
]),
|
|
148
|
+
_: 1
|
|
149
|
+
})
|
|
150
|
+
])
|
|
151
|
+
]),
|
|
152
|
+
default: withCtx(() => [
|
|
153
|
+
createVNode(_component_el_form, {
|
|
154
|
+
model: form,
|
|
155
|
+
"label-width": "80px"
|
|
156
|
+
}, {
|
|
157
|
+
default: withCtx(() => [
|
|
158
|
+
createVNode(_component_el_form_item, {
|
|
159
|
+
label: "类名",
|
|
160
|
+
prop: "name",
|
|
161
|
+
rules: [{ required: true, message: "请输入类名", trigger: "blur" }]
|
|
162
|
+
}, {
|
|
163
|
+
default: withCtx(() => [
|
|
164
|
+
createVNode(_component_el_input, {
|
|
165
|
+
size: "default",
|
|
166
|
+
modelValue: form.name,
|
|
167
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.name = $event)
|
|
168
|
+
}, null, 8, ["modelValue"])
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
}),
|
|
172
|
+
createVNode(_component_el_form_item, { label: "标准按钮" }, {
|
|
173
|
+
default: withCtx(() => [
|
|
174
|
+
createVNode(_component_el_select, {
|
|
175
|
+
size: "default",
|
|
176
|
+
modelValue: form.region,
|
|
177
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.region = $event),
|
|
178
|
+
placeholder: "please select your zone"
|
|
179
|
+
}, {
|
|
180
|
+
default: withCtx(() => [
|
|
181
|
+
createVNode(_component_el_option, {
|
|
182
|
+
label: "Zone one",
|
|
183
|
+
value: "shanghai"
|
|
184
|
+
}),
|
|
185
|
+
createVNode(_component_el_option, {
|
|
186
|
+
label: "Zone two",
|
|
187
|
+
value: "beijing"
|
|
188
|
+
})
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["modelValue"])
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
}),
|
|
195
|
+
createVNode(_component_el_form_item, { label: "备注" }, {
|
|
196
|
+
default: withCtx(() => [
|
|
197
|
+
createVNode(_component_el_input, {
|
|
198
|
+
size: "default",
|
|
199
|
+
modelValue: form.name,
|
|
200
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.name = $event)
|
|
201
|
+
}, null, 8, ["modelValue"])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
})
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["model"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}, 8, ["modelValue"])
|
|
211
|
+
], 64);
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
export {
|
|
216
|
+
_sfc_main as default
|
|
217
|
+
};
|