super-page-designer 2.0.67 → 2.0.73
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/form-design-util.js +6 -0
- package/dist/es/components/design/utils/page-table-util.js +17 -14
- 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 +1 -702
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +702 -1
- 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.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +12 -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/table-children-column.vue.js +11 -3
- 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-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +10 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +4 -5
- 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.vue2.js +9 -1
- 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 +1 -217
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue3.js +217 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +27 -8
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -0
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +2 -2
- 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-design.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +2 -2
- package/dist/es/stores/table-store.js +3 -1
- package/dist/es/style.css +110 -102
- package/package.json +4 -4
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, createTextVNode, withModifiers, unref, renderList, withDirectives, vShow, createBlock, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { Search, Close } from "@element-plus/icons";
|
|
3
|
-
import _sfc_main$
|
|
4
|
-
import _sfc_main$
|
|
5
|
-
import _sfc_main$
|
|
3
|
+
import _sfc_main$4 from "./linkpage-page-callback.vue.js";
|
|
4
|
+
import _sfc_main$5 from "../../common/common-select-page.vue.js";
|
|
5
|
+
import _sfc_main$3 from "./parameter-table.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _sfc_main$1 from "./condition.vue.js";
|
|
8
|
+
import _sfc_main$2 from "../../common/common-icon-bind.vue.js";
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
10
|
__name: "suffixmodule",
|
|
10
11
|
props: {
|
|
@@ -104,6 +105,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
104
105
|
function handleClose(tag, index) {
|
|
105
106
|
linkPage.value.dynamicTags.splice(index, 1);
|
|
106
107
|
}
|
|
108
|
+
function afterBindIcon(iconType, iconValue) {
|
|
109
|
+
linkPage.value.iconType = iconType;
|
|
110
|
+
linkPage.value.icon = iconValue;
|
|
111
|
+
}
|
|
107
112
|
return (_ctx, _cache) => {
|
|
108
113
|
const _component_el_radio = resolveComponent("el-radio");
|
|
109
114
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -445,6 +450,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
445
450
|
})) : createCommentVNode("", true),
|
|
446
451
|
_ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
|
|
447
452
|
key: 2,
|
|
453
|
+
label: "图标",
|
|
454
|
+
class: "amb-design-attr-item"
|
|
455
|
+
}, {
|
|
456
|
+
default: withCtx(() => [
|
|
457
|
+
createVNode(_sfc_main$2, {
|
|
458
|
+
iconType: linkPage.value.iconType,
|
|
459
|
+
iconValue: linkPage.value.icon,
|
|
460
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
461
|
+
}, null, 8, ["iconType", "iconValue"])
|
|
462
|
+
]),
|
|
463
|
+
_: 1
|
|
464
|
+
})) : createCommentVNode("", true),
|
|
465
|
+
_ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
|
|
466
|
+
key: 3,
|
|
448
467
|
label: "显示值",
|
|
449
468
|
class: "amb-design-attr-item"
|
|
450
469
|
}, {
|
|
@@ -476,24 +495,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
476
495
|
_: 1
|
|
477
496
|
}),
|
|
478
497
|
_ctx.isButton ? (openBlock(), createBlock(_component_el_form_item, {
|
|
479
|
-
key:
|
|
498
|
+
key: 4,
|
|
480
499
|
label: "自动拼接id",
|
|
481
500
|
class: "amb-design-attr-item"
|
|
482
501
|
}, {
|
|
483
502
|
default: withCtx(() => [
|
|
484
503
|
createVNode(_component_el_switch, {
|
|
485
504
|
modelValue: linkPage.value.isNeedId,
|
|
486
|
-
"onUpdate:modelValue": _cache[
|
|
505
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => linkPage.value.isNeedId = $event)
|
|
487
506
|
}, null, 8, ["modelValue"])
|
|
488
507
|
]),
|
|
489
508
|
_: 1
|
|
490
509
|
})) : createCommentVNode("", true),
|
|
491
|
-
createVNode(_sfc_main$
|
|
510
|
+
createVNode(_sfc_main$3, {
|
|
492
511
|
data: linkPage.value.jumpPageAdditional,
|
|
493
512
|
onDataChange: ParameterDataChange
|
|
494
513
|
}, null, 8, ["data"]),
|
|
495
|
-
createVNode(_sfc_main$
|
|
496
|
-
createVNode(_sfc_main$
|
|
514
|
+
createVNode(_sfc_main$4, { linkPage: linkPage.value }, null, 8, ["linkPage"]),
|
|
515
|
+
createVNode(_sfc_main$5, {
|
|
497
516
|
ref_key: "selectPageDialog",
|
|
498
517
|
ref: selectPageDialog,
|
|
499
518
|
onSelectPage,
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js
CHANGED
|
@@ -108,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
108
|
"range-separator": "-",
|
|
109
109
|
clearable: designProperty.value.clearable,
|
|
110
110
|
disabled: designProperty.value.state === "disabled",
|
|
111
|
-
readonly:
|
|
111
|
+
readonly: "",
|
|
112
112
|
size: designProperty.value.size,
|
|
113
113
|
style: { "width": "100%" },
|
|
114
114
|
placeholder: designProperty.value.placeholder,
|
|
@@ -119,11 +119,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
119
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => designProperty.value.value = $event),
|
|
120
120
|
shortcuts: shortCuts.value,
|
|
121
121
|
type: designProperty.value.dateType
|
|
122
|
-
}, null, 8, ["is-range", "clearable", "disabled", "
|
|
122
|
+
}, null, 8, ["is-range", "clearable", "disabled", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (openBlock(), createBlock(_component_el_date_picker, {
|
|
123
123
|
key: 1,
|
|
124
124
|
clearable: designProperty.value.clearable,
|
|
125
125
|
disabled: designProperty.value.state === "disabled",
|
|
126
|
-
readonly:
|
|
126
|
+
readonly: "",
|
|
127
127
|
size: designProperty.value.size,
|
|
128
128
|
style: { "width": "100%" },
|
|
129
129
|
placeholder: designProperty.value.placeholder,
|
|
@@ -134,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => designProperty.value.value = $event),
|
|
135
135
|
shortcuts: shortCuts.value,
|
|
136
136
|
type: designProperty.value.dateType
|
|
137
|
-
}, null, 8, ["clearable", "disabled", "
|
|
137
|
+
}, null, 8, ["clearable", "disabled", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
|
|
138
138
|
]),
|
|
139
139
|
_: 1
|
|
140
140
|
}, 8, ["required", "class", "label-width", "style"]);
|
|
@@ -26,7 +26,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
props.configure.props.base.otherFieldSets = [];
|
|
27
27
|
}
|
|
28
28
|
const propsBase = props.configure.props.base;
|
|
29
|
-
console.log("%c描述-175029", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure.isTable);
|
|
30
29
|
const otherFieldSets = propsBase.otherFieldSets;
|
|
31
30
|
if (otherFieldSets.length == 0) {
|
|
32
31
|
addData(null);
|
|
@@ -106,6 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
value: tempModels.value.value,
|
|
107
107
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => tempModels.value.value = $event),
|
|
108
108
|
models: tempModels.value,
|
|
109
|
+
openTree: false,
|
|
109
110
|
fields: [],
|
|
110
111
|
placeholder: "请选择",
|
|
111
112
|
separator: ",",
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js
CHANGED
|
@@ -89,6 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
"file-list": _ctx.fileList,
|
|
90
90
|
"on-success": _ctx.onSuccess,
|
|
91
91
|
"on-remove": _ctx.onRemove,
|
|
92
|
+
openFsUpload: false,
|
|
92
93
|
"before-upload": _ctx.beforeUpload
|
|
93
94
|
}, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])
|
|
94
95
|
]),
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js
CHANGED
|
@@ -85,7 +85,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
default: withCtx(() => [
|
|
86
86
|
createVNode(_component_el_input_number, {
|
|
87
87
|
disabled: designProperty.value.state === "disabled",
|
|
88
|
-
readonly:
|
|
88
|
+
readonly: "",
|
|
89
89
|
controls: designProperty.value.showButton,
|
|
90
90
|
size: designProperty.value.size,
|
|
91
91
|
placeholder: designProperty.value.placeholder,
|
|
@@ -95,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
step: designProperty.value.step,
|
|
96
96
|
min: designProperty.value.min,
|
|
97
97
|
max: designProperty.value.max
|
|
98
|
-
}, null, 8, ["disabled", "
|
|
98
|
+
}, null, 8, ["disabled", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
|
|
99
99
|
]),
|
|
100
100
|
_: 1
|
|
101
101
|
}, 8, ["required", "class", "label-width", "style"])
|
|
@@ -82,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
default: withCtx(() => [
|
|
83
83
|
createVNode(_component_el_input, {
|
|
84
84
|
disabled: designProperty.value.state === "disabled",
|
|
85
|
-
readonly:
|
|
85
|
+
readonly: "",
|
|
86
86
|
size: designProperty.value.size,
|
|
87
87
|
clearable: designProperty.value.clearable,
|
|
88
88
|
placeholder: designProperty.value.placeholder,
|
|
@@ -139,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
139
139
|
]),
|
|
140
140
|
key: "3"
|
|
141
141
|
} : void 0
|
|
142
|
-
]), 1032, ["disabled", "
|
|
142
|
+
]), 1032, ["disabled", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"])
|
|
143
143
|
]),
|
|
144
144
|
_: 1
|
|
145
145
|
}, 8, ["required", "class", "label-width", "style"]);
|
|
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
createVNode(_component_el_select, {
|
|
108
108
|
ref_key: "thisRef",
|
|
109
109
|
ref: thisRef,
|
|
110
|
-
disabled:
|
|
110
|
+
disabled: "",
|
|
111
111
|
size: designProperty.value.size,
|
|
112
112
|
clearable: designProperty.value.clearable,
|
|
113
113
|
multiple: designProperty.value.multiple,
|
|
@@ -130,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
130
130
|
}), 128))
|
|
131
131
|
]),
|
|
132
132
|
_: 1
|
|
133
|
-
}, 8, ["
|
|
133
|
+
}, 8, ["size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "modelValue"])
|
|
134
134
|
]),
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["required", "class", "label-width", "style"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -76,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76
76
|
]),
|
|
77
77
|
default: withCtx(() => [
|
|
78
78
|
createVNode(_component_el_switch, {
|
|
79
|
-
disabled:
|
|
79
|
+
disabled: "",
|
|
80
80
|
"active-value:": designProperty.value.activeValue,
|
|
81
81
|
"active-text": designProperty.value.activeText,
|
|
82
82
|
"inactive-value": designProperty.value.inactiveValue,
|
|
@@ -86,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
86
|
style: normalizeStyle(switchStyle.value),
|
|
87
87
|
modelValue: designProperty.value.value,
|
|
88
88
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => designProperty.value.value = $event)
|
|
89
|
-
}, null, 8, ["
|
|
89
|
+
}, null, 8, ["active-value:", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])
|
|
90
90
|
]),
|
|
91
91
|
_: 1
|
|
92
92
|
}, 8, ["required", "class", "label-width", "style"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
default: withCtx(() => [
|
|
63
63
|
createVNode(_component_el_input, {
|
|
64
64
|
disabled: designProperty.value.state === "disabled",
|
|
65
|
-
readonly:
|
|
65
|
+
readonly: "",
|
|
66
66
|
size: designProperty.value.size,
|
|
67
67
|
placeholder: designProperty.value.placeholder,
|
|
68
68
|
modelValue: designProperty.value.value,
|
|
@@ -71,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
71
|
maxlength: designProperty.value.maxLength,
|
|
72
72
|
"show-word-limit": designProperty.value.showInputNum,
|
|
73
73
|
type: "textarea"
|
|
74
|
-
}, null, 8, ["disabled", "
|
|
74
|
+
}, null, 8, ["disabled", "size", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])
|
|
75
75
|
]),
|
|
76
76
|
_: 1
|
|
77
77
|
}, 8, ["required", "class", "label-width", "style"])
|
|
@@ -3,12 +3,14 @@ import { defineStore } from "pinia";
|
|
|
3
3
|
const tableField = defineStore("dataOptions", () => {
|
|
4
4
|
const fieldList = ref([]);
|
|
5
5
|
function addFieldList(tableFields) {
|
|
6
|
+
console.log("%c描述-161256", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", tableFields);
|
|
6
7
|
let arr = [];
|
|
7
8
|
tableFields.forEach((item) => {
|
|
8
9
|
arr.push({
|
|
9
10
|
value: item.name,
|
|
10
11
|
label: item.alias,
|
|
11
|
-
alias: item.alias
|
|
12
|
+
alias: item.alias,
|
|
13
|
+
dbColumnName: item.dbColumnName
|
|
12
14
|
});
|
|
13
15
|
});
|
|
14
16
|
fieldList.value = arr;
|