@fecp/designer 5.6.21 → 5.6.22
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +3 -3
- package/es/packages/vue/src/components/forms/textarea/Textarea.vue.mjs +8 -3
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +3 -3
- package/lib/packages/vue/src/components/forms/textarea/Textarea.vue.js +8 -3
- package/package.json +1 -1
|
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
52
52
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
53
53
|
import "../../table/default.mjs";
|
|
54
54
|
/* empty css */
|
|
55
|
-
/* empty css
|
|
56
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
57
|
import "../../../store/index.mjs";
|
|
58
58
|
/* empty css */
|
|
59
59
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
package/es/designer.css
CHANGED
|
@@ -6092,14 +6092,14 @@ body,
|
|
|
6092
6092
|
color: #fff;
|
|
6093
6093
|
outline: none;
|
|
6094
6094
|
box-shadow: 0 1px 0 0 #c0c4cc inset, 0 -1px 0 0 #c0c4cc inset, -1px 0 0 0 #c0c4cc inset;
|
|
6095
|
-
}.textarea-field-wrapper[data-v-
|
|
6095
|
+
}.textarea-field-wrapper[data-v-620bceff] {
|
|
6096
6096
|
height: 100%;
|
|
6097
6097
|
width: 100%;
|
|
6098
6098
|
}
|
|
6099
|
-
.textarea-field-wrapper[data-v-
|
|
6099
|
+
.textarea-field-wrapper[data-v-620bceff] .el-textarea {
|
|
6100
6100
|
height: 100%;
|
|
6101
6101
|
}
|
|
6102
|
-
.textarea-field-wrapper[data-v-
|
|
6102
|
+
.textarea-field-wrapper[data-v-620bceff] .el-textarea .el-textarea__inner {
|
|
6103
6103
|
height: 100%;
|
|
6104
6104
|
}[data-v-93ac5b02] .el-input-group__append {
|
|
6105
6105
|
background-color: #409eff;
|
|
@@ -41,7 +41,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
41
41
|
default: false
|
|
42
42
|
},
|
|
43
43
|
rows: {
|
|
44
|
-
|
|
44
|
+
// 兼容历史模板数据中字符串类型的 rows(如 "3")
|
|
45
|
+
type: [Number, String],
|
|
45
46
|
default: 4
|
|
46
47
|
},
|
|
47
48
|
autosize: {
|
|
@@ -63,6 +64,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
63
64
|
const realMaxLength = computed(() => {
|
|
64
65
|
return Math.floor(props.maxLength / (ctx.$dbFieldLengthRatio || 1));
|
|
65
66
|
});
|
|
67
|
+
const realRows = computed(() => {
|
|
68
|
+
const num = Number(props.rows);
|
|
69
|
+
return Number.isFinite(num) && num > 0 ? num : 4;
|
|
70
|
+
});
|
|
66
71
|
function handleChange(val) {
|
|
67
72
|
emit("change", val);
|
|
68
73
|
}
|
|
@@ -79,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
79
84
|
readonly: __props.readonly,
|
|
80
85
|
maxlength: realMaxLength.value,
|
|
81
86
|
"show-word-limit": __props.showWordCount,
|
|
82
|
-
rows:
|
|
87
|
+
rows: realRows.value,
|
|
83
88
|
autosize: __props.autosize,
|
|
84
89
|
resize: "none",
|
|
85
90
|
onChange: handleChange
|
|
@@ -88,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
88
93
|
};
|
|
89
94
|
}
|
|
90
95
|
});
|
|
91
|
-
const _Textarea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
96
|
+
const _Textarea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-620bceff"]]);
|
|
92
97
|
export {
|
|
93
98
|
_Textarea as default
|
|
94
99
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = Vue.ref(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = Vue.ref(false);
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
package/lib/designer.css
CHANGED
|
@@ -6092,14 +6092,14 @@ body,
|
|
|
6092
6092
|
color: #fff;
|
|
6093
6093
|
outline: none;
|
|
6094
6094
|
box-shadow: 0 1px 0 0 #c0c4cc inset, 0 -1px 0 0 #c0c4cc inset, -1px 0 0 0 #c0c4cc inset;
|
|
6095
|
-
}.textarea-field-wrapper[data-v-
|
|
6095
|
+
}.textarea-field-wrapper[data-v-620bceff] {
|
|
6096
6096
|
height: 100%;
|
|
6097
6097
|
width: 100%;
|
|
6098
6098
|
}
|
|
6099
|
-
.textarea-field-wrapper[data-v-
|
|
6099
|
+
.textarea-field-wrapper[data-v-620bceff] .el-textarea {
|
|
6100
6100
|
height: 100%;
|
|
6101
6101
|
}
|
|
6102
|
-
.textarea-field-wrapper[data-v-
|
|
6102
|
+
.textarea-field-wrapper[data-v-620bceff] .el-textarea .el-textarea__inner {
|
|
6103
6103
|
height: 100%;
|
|
6104
6104
|
}[data-v-93ac5b02] .el-input-group__append {
|
|
6105
6105
|
background-color: #409eff;
|
|
@@ -43,7 +43,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
43
43
|
default: false
|
|
44
44
|
},
|
|
45
45
|
rows: {
|
|
46
|
-
|
|
46
|
+
// 兼容历史模板数据中字符串类型的 rows(如 "3")
|
|
47
|
+
type: [Number, String],
|
|
47
48
|
default: 4
|
|
48
49
|
},
|
|
49
50
|
autosize: {
|
|
@@ -65,6 +66,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
65
66
|
const realMaxLength = Vue.computed(() => {
|
|
66
67
|
return Math.floor(props.maxLength / (ctx.$dbFieldLengthRatio || 1));
|
|
67
68
|
});
|
|
69
|
+
const realRows = Vue.computed(() => {
|
|
70
|
+
const num = Number(props.rows);
|
|
71
|
+
return Number.isFinite(num) && num > 0 ? num : 4;
|
|
72
|
+
});
|
|
68
73
|
function handleChange(val) {
|
|
69
74
|
emit("change", val);
|
|
70
75
|
}
|
|
@@ -81,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
81
86
|
readonly: __props.readonly,
|
|
82
87
|
maxlength: realMaxLength.value,
|
|
83
88
|
"show-word-limit": __props.showWordCount,
|
|
84
|
-
rows:
|
|
89
|
+
rows: realRows.value,
|
|
85
90
|
autosize: __props.autosize,
|
|
86
91
|
resize: "none",
|
|
87
92
|
onChange: handleChange
|
|
@@ -90,5 +95,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
90
95
|
};
|
|
91
96
|
}
|
|
92
97
|
});
|
|
93
|
-
const _Textarea = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
98
|
+
const _Textarea = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-620bceff"]]);
|
|
94
99
|
exports.default = _Textarea;
|