@kp-ui/lowcode 2.14.0-beta.8 → 2.14.0-beta.9
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/package.json +1 -1
- package/src/components/FormRender/useFormRender.js +9 -8
- package/src/components/form-designer/form-widget/container-widget/index.js +6 -6
- package/src/components/form-designer/form-widget/field-widget/form-item-wrapper.vue.js +84 -152
- package/src/components/form-designer/form-widget/field-widget/input-widget.vue.js +1 -1
- package/src/components/form-designer/setting-panel/property-editor/index.js +41 -42
- package/src/components/form-designer/setting-panel/propertyRegister.js +0 -1
- package/src/components/form-designer/widget-panel/advanced/cascader.js +0 -1
- package/src/components/form-designer/widget-panel/advanced/file-upload.js +0 -1
- package/src/components/form-designer/widget-panel/advanced/rich-editor.js +4 -5
- package/src/components/form-designer/widget-panel/advanced/tree-select.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/checkbox.js +2 -3
- package/src/components/form-designer/widget-panel/basicFields/color.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/date.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/dateRange.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/input.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/number.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/radio.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/rate.js +5 -6
- package/src/components/form-designer/widget-panel/basicFields/select.js +2 -3
- package/src/components/form-designer/widget-panel/basicFields/slider.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/switch.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/textarea.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/time.js +0 -1
- package/src/components/form-designer/widget-panel/basicFields/timeRange.js +0 -1
- package/src/components/form-designer/widget-panel/business/department-select.js +0 -1
- package/src/components/form-designer/widget-panel/business/material-select.js +0 -1
- package/src/components/form-designer/widget-panel/business/operation-select.js +2 -3
- package/src/components/form-designer/widget-panel/business/post-select.js +0 -1
- package/src/components/form-designer/widget-panel/business/project-group-select.js +2 -3
- package/src/components/form-designer/widget-panel/business/project-select.js +2 -3
- package/src/components/form-designer/widget-panel/business/user-select.js +0 -1
- package/src/components/form-render/container-item/index.js +11 -11
- package/src/components/form-render/container-item/sub-form-item.vue.js +115 -146
- package/src/lang/en-US.js +0 -1
- package/src/lang/zh-CN.js +0 -1
- package/stats.html +1 -1
- package/styles/style.css +1 -1
- package/src/components/form-designer/setting-panel/property-editor/labelTooltip-editor.vue.js +0 -31
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { ContainerWidgetMap as t } from "../form-render/container-item/index.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import o from "../form-designer/form-widget/field-widget/index.js";
|
|
3
|
+
function m() {
|
|
4
|
+
function i(e) {
|
|
5
|
+
var n;
|
|
5
6
|
if (!e) return "";
|
|
6
|
-
const
|
|
7
|
-
return t[
|
|
7
|
+
const r = `./${e.type}-item.vue`;
|
|
8
|
+
return t[r] || console.warn(`未找到容器组件类型: ${e.type},请确保已注册该组件。`), (n = t[r]) == null ? void 0 : n.default;
|
|
8
9
|
}
|
|
9
10
|
return {
|
|
10
|
-
getFieldWidget: (e) => e
|
|
11
|
-
getContainerWidget:
|
|
11
|
+
getFieldWidget: (e) => e && o[e.type + "-widget"] || "",
|
|
12
|
+
getContainerWidget: i,
|
|
12
13
|
ContainerWidgetMap: t
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
+
m as useFormRender
|
|
17
18
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as r } from "vue";
|
|
2
2
|
import { getFileName as m } from "../../../../utils/getFileName.js";
|
|
3
|
-
const
|
|
4
|
-
install(
|
|
5
|
-
for (const e in
|
|
6
|
-
const
|
|
7
|
-
|
|
3
|
+
const i = /* @__PURE__ */ Object.assign({ "./container-wrapper.vue": () => import("./container-wrapper.vue.js"), "./data-table-widget.vue": () => import("./data-table-widget.vue.js"), "./grid-col-widget.vue": () => import("./grid-col-widget.vue.js"), "./grid-sub-form-widget.vue": () => import("./grid-sub-form-widget.vue.js"), "./grid-widget.vue": () => import("./grid-widget.vue.js"), "./sub-form-widget.vue": () => import("./sub-form-widget.vue.js"), "./tab-widget.vue": () => import("./tab-widget.vue.js"), "./table-cell-widget.vue": () => import("./table-cell-widget.vue.js"), "./table-widget.vue": () => import("./table-widget.vue.js"), "./vf-box-item.vue": () => import("./vf-box-item.vue.js"), "./vf-box-widget.vue": () => import("./vf-box-widget.vue.js"), "./vf-collapse-widget.vue": () => import("./vf-collapse-widget.vue.js"), "./vf-dialog-widget.vue": () => import("./vf-dialog-widget.vue.js"), "./vf-drawer-widget.vue": () => import("./vf-drawer-widget.vue.js") }), g = {
|
|
4
|
+
install(o) {
|
|
5
|
+
for (const e in i) {
|
|
6
|
+
const t = m(e);
|
|
7
|
+
console.log(t), o.component(t, r(i[e]));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
g as default
|
|
13
13
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { SvgIcon as
|
|
2
|
-
import
|
|
3
|
-
import { resolveComponent as
|
|
1
|
+
import { SvgIcon as F } from "tmgc2-share";
|
|
2
|
+
import C from "../../../../utils/i18n.js";
|
|
3
|
+
import { resolveComponent as c, createElementBlock as l, openBlock as s, normalizeClass as u, createBlock as W, createCommentVNode as r, withModifiers as m, withCtx as b, renderSlot as _, createElementVNode as a, Fragment as f, createVNode as o, toDisplayString as h } from "vue";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import p from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const y = {
|
|
7
7
|
name: "form-item-wrapper",
|
|
8
|
-
mixins: [
|
|
8
|
+
mixins: [C],
|
|
9
9
|
components: {
|
|
10
|
-
SvgIcon:
|
|
10
|
+
SvgIcon: F
|
|
11
11
|
},
|
|
12
12
|
props: {
|
|
13
13
|
field: Object,
|
|
@@ -57,8 +57,8 @@ const k = {
|
|
|
57
57
|
return this.field.options.size ? this.field.options.size : this.designer ? this.designer.formConfig.size || "middle" : this.formConfig.size || "middle";
|
|
58
58
|
},
|
|
59
59
|
customClass() {
|
|
60
|
-
var
|
|
61
|
-
return ((
|
|
60
|
+
var t;
|
|
61
|
+
return ((t = this.field.options.customClass) == null ? void 0 : t.join(" ")) || "";
|
|
62
62
|
},
|
|
63
63
|
subFormName() {
|
|
64
64
|
return this.getSubFormName ? this.getSubFormName() : "";
|
|
@@ -82,8 +82,8 @@ const k = {
|
|
|
82
82
|
// }
|
|
83
83
|
// return false;
|
|
84
84
|
// },
|
|
85
|
-
selectField(
|
|
86
|
-
this.designer && (this.designer.setSelected(
|
|
85
|
+
selectField(t) {
|
|
86
|
+
this.designer && (this.designer.setSelected(t), this.designer.emitEvent("field-selected", this.parentWidget));
|
|
87
87
|
},
|
|
88
88
|
selectParentWidget() {
|
|
89
89
|
this.parentWidget ? this.designer.setSelected(this.parentWidget) : this.designer.clearSelected();
|
|
@@ -96,9 +96,9 @@ const k = {
|
|
|
96
96
|
},
|
|
97
97
|
removeFieldWidget() {
|
|
98
98
|
if (this.parentList) {
|
|
99
|
-
let
|
|
100
|
-
this.parentList.length === 1 ? this.parentWidget && (
|
|
101
|
-
this.parentList.splice(this.indexOfParentList, 1), this.designer.setSelected(
|
|
99
|
+
let t = null;
|
|
100
|
+
this.parentList.length === 1 ? this.parentWidget && (t = this.parentWidget) : this.parentList.length === 1 + this.indexOfParentList ? t = this.parentList[this.indexOfParentList - 1] : t = this.parentList[this.indexOfParentList + 1], this.$nextTick(() => {
|
|
101
|
+
this.parentList.splice(this.indexOfParentList, 1), this.designer.setSelected(t), this.designer.emitHistoryChange();
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
},
|
|
@@ -106,172 +106,104 @@ const k = {
|
|
|
106
106
|
return this.subFormItemFlag && !this.designState ? this.subFormName + "." + this.subFormRowIndex + "." + this.field.options.name : this.field.options.name;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, k = { class: "label-box" }, L = {
|
|
110
110
|
key: 0,
|
|
111
111
|
class: "custom-label"
|
|
112
|
-
},
|
|
112
|
+
}, I = { class: "label-text" }, S = { class: "label-text" }, x = {
|
|
113
|
+
key: 1,
|
|
114
|
+
class: "label-text"
|
|
115
|
+
}, w = {
|
|
113
116
|
key: 0,
|
|
114
117
|
class: "field-action"
|
|
115
|
-
},
|
|
118
|
+
}, P = ["title"], N = ["title"], A = ["title"], O = ["title"], z = {
|
|
116
119
|
key: 1,
|
|
117
120
|
class: "drag-handler background-opacity"
|
|
118
|
-
},
|
|
119
|
-
function
|
|
120
|
-
const
|
|
121
|
-
return
|
|
122
|
-
class:
|
|
121
|
+
}, H = ["title"], j = { key: 0 };
|
|
122
|
+
function D(t, n, e, B, U, i) {
|
|
123
|
+
const d = c("svg-icon"), v = c("a-form-item");
|
|
124
|
+
return s(), l("div", {
|
|
125
|
+
class: u(["field-wrapper", { "design-time-bottom-margin": !!this.designer }])
|
|
123
126
|
}, [
|
|
124
|
-
e.field.formItemFlag ? (
|
|
127
|
+
e.field.formItemFlag ? (s(), W(v, {
|
|
125
128
|
key: 0,
|
|
126
|
-
labelCol: { style: { width:
|
|
127
|
-
title:
|
|
128
|
-
size:
|
|
129
|
+
labelCol: { style: { width: i.labelWidth + "px" } },
|
|
130
|
+
title: i.label,
|
|
131
|
+
size: i.size,
|
|
129
132
|
rules: e.rules,
|
|
130
|
-
name:
|
|
131
|
-
labelAlign:
|
|
132
|
-
class:
|
|
133
|
-
onClick:
|
|
133
|
+
name: i.getPropName(),
|
|
134
|
+
labelAlign: i.labelAlign,
|
|
135
|
+
class: u([i.selected ? "selected" : "", i.customClass]),
|
|
136
|
+
onClick: n[0] || (n[0] = m((g) => i.selectField(e.field), ["stop"]))
|
|
134
137
|
}, {
|
|
135
|
-
label:
|
|
136
|
-
a("div",
|
|
137
|
-
e.field.options.labelIconClass ? (
|
|
138
|
-
e.field.options.labelIconPosition === "front" ? (
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}, 8, ["title"]),
|
|
151
|
-
s(f, {
|
|
152
|
-
title: t.label,
|
|
153
|
-
overlayStyle: { zIndex: 1e3 }
|
|
154
|
-
}, {
|
|
155
|
-
default: r(() => [
|
|
156
|
-
a("div", L, m(t.label), 1)
|
|
157
|
-
]),
|
|
158
|
-
_: 1
|
|
159
|
-
}, 8, ["title"])
|
|
160
|
-
], 64)) : (l(), n(g, { key: 1 }, [
|
|
161
|
-
s(o, {
|
|
162
|
-
"icon-class": e.field.options.labelIconClass
|
|
163
|
-
}, null, 8, ["icon-class"]),
|
|
164
|
-
s(f, {
|
|
165
|
-
title: t.label,
|
|
166
|
-
overlayStyle: { zIndex: 1e3 }
|
|
167
|
-
}, {
|
|
168
|
-
default: r(() => [
|
|
169
|
-
a("div", p, m(t.label), 1)
|
|
170
|
-
]),
|
|
171
|
-
_: 1
|
|
172
|
-
}, 8, ["title"])
|
|
173
|
-
], 64))
|
|
174
|
-
], 64)) : e.field.options.labelIconPosition === "rear" ? (l(), n(g, { key: 1 }, [
|
|
175
|
-
e.field.options.labelTooltip ? (l(), n(g, { key: 0 }, [
|
|
176
|
-
s(f, {
|
|
177
|
-
title: t.label,
|
|
178
|
-
overlayStyle: { zIndex: 1e3 }
|
|
179
|
-
}, {
|
|
180
|
-
default: r(() => [
|
|
181
|
-
a("div", z, m(t.label), 1)
|
|
182
|
-
]),
|
|
183
|
-
_: 1
|
|
184
|
-
}, 8, ["title"]),
|
|
185
|
-
s(f, {
|
|
186
|
-
title: e.field.options.labelTooltip,
|
|
187
|
-
overlayStyle: { zIndex: 1e3 }
|
|
188
|
-
}, {
|
|
189
|
-
default: r(() => [
|
|
190
|
-
s(o, {
|
|
191
|
-
"icon-class": e.field.options.labelIconClass
|
|
192
|
-
}, null, 8, ["icon-class"])
|
|
193
|
-
]),
|
|
194
|
-
_: 1
|
|
195
|
-
}, 8, ["title"])
|
|
196
|
-
], 64)) : (l(), n(g, { key: 1 }, [
|
|
197
|
-
s(f, {
|
|
198
|
-
title: t.label,
|
|
199
|
-
overlayStyle: { zIndex: 1e3 }
|
|
200
|
-
}, {
|
|
201
|
-
default: r(() => [
|
|
202
|
-
a("div", w, m(t.label), 1)
|
|
203
|
-
]),
|
|
204
|
-
_: 1
|
|
205
|
-
}, 8, ["title"]),
|
|
206
|
-
s(o, {
|
|
207
|
-
"icon-class": e.field.options.labelIconClass
|
|
208
|
-
}, null, 8, ["icon-class"])
|
|
209
|
-
], 64))
|
|
210
|
-
], 64)) : c("", !0)
|
|
211
|
-
])) : (l(), v(f, {
|
|
212
|
-
key: 1,
|
|
213
|
-
title: t.label,
|
|
214
|
-
overlayStyle: { zIndex: 1e3 }
|
|
215
|
-
}, {
|
|
216
|
-
default: r(() => [
|
|
217
|
-
a("div", P, m(t.label), 1)
|
|
218
|
-
]),
|
|
219
|
-
_: 1
|
|
220
|
-
}, 8, ["title"]))
|
|
138
|
+
label: b(() => [
|
|
139
|
+
a("div", k, [
|
|
140
|
+
e.field.options.labelIconClass ? (s(), l("span", L, [
|
|
141
|
+
e.field.options.labelIconPosition === "front" ? (s(), l(f, { key: 0 }, [
|
|
142
|
+
o(d, {
|
|
143
|
+
"icon-class": e.field.options.labelIconClass
|
|
144
|
+
}, null, 8, ["icon-class"]),
|
|
145
|
+
a("div", I, h(i.label), 1)
|
|
146
|
+
], 64)) : e.field.options.labelIconPosition === "rear" ? (s(), l(f, { key: 1 }, [
|
|
147
|
+
a("div", S, h(i.label), 1),
|
|
148
|
+
o(d, {
|
|
149
|
+
"icon-class": e.field.options.labelIconClass
|
|
150
|
+
}, null, 8, ["icon-class"])
|
|
151
|
+
], 64)) : r("", !0)
|
|
152
|
+
])) : (s(), l("div", x, h(i.label), 1))
|
|
221
153
|
])
|
|
222
154
|
]),
|
|
223
|
-
default:
|
|
224
|
-
|
|
155
|
+
default: b(() => [
|
|
156
|
+
_(t.$slots, "default", {}, void 0, !0)
|
|
225
157
|
]),
|
|
226
158
|
_: 3
|
|
227
|
-
}, 8, ["labelCol", "title", "size", "rules", "name", "labelAlign", "class"])) :
|
|
228
|
-
this.designer ? (
|
|
229
|
-
e.designer.selectedId === e.field.id ? (
|
|
159
|
+
}, 8, ["labelCol", "title", "size", "rules", "name", "labelAlign", "class"])) : r("", !0),
|
|
160
|
+
this.designer ? (s(), l(f, { key: 1 }, [
|
|
161
|
+
e.designer.selectedId === e.field.id ? (s(), l("div", w, [
|
|
230
162
|
a("i", {
|
|
231
|
-
title:
|
|
232
|
-
onClick:
|
|
163
|
+
title: t.i18nt("designer.hint.selectParentWidget"),
|
|
164
|
+
onClick: n[1] || (n[1] = m((g) => i.selectParentWidget(e.field), ["stop"]))
|
|
233
165
|
}, [
|
|
234
|
-
|
|
235
|
-
], 8,
|
|
236
|
-
e.parentList && e.parentList.length > 1 ? (
|
|
166
|
+
o(d, { "icon-class": "icon-el-back" })
|
|
167
|
+
], 8, P),
|
|
168
|
+
e.parentList && e.parentList.length > 1 ? (s(), l("i", {
|
|
237
169
|
key: 0,
|
|
238
|
-
title:
|
|
239
|
-
onClick:
|
|
170
|
+
title: t.i18nt("designer.hint.moveUpWidget"),
|
|
171
|
+
onClick: n[2] || (n[2] = m((g) => i.moveUpWidget(e.field), ["stop"]))
|
|
240
172
|
}, [
|
|
241
|
-
|
|
242
|
-
], 8,
|
|
243
|
-
e.parentList && e.parentList.length > 1 ? (
|
|
173
|
+
o(d, { "icon-class": "icon-el-move-up" })
|
|
174
|
+
], 8, N)) : r("", !0),
|
|
175
|
+
e.parentList && e.parentList.length > 1 ? (s(), l("i", {
|
|
244
176
|
key: 1,
|
|
245
|
-
title:
|
|
246
|
-
onClick:
|
|
177
|
+
title: t.i18nt("designer.hint.moveDownWidget"),
|
|
178
|
+
onClick: n[3] || (n[3] = m((g) => i.moveDownWidget(e.field), ["stop"]))
|
|
247
179
|
}, [
|
|
248
|
-
|
|
249
|
-
], 8,
|
|
180
|
+
o(d, { "icon-class": "icon-el-move-down" })
|
|
181
|
+
], 8, A)) : r("", !0),
|
|
250
182
|
a("i", {
|
|
251
|
-
title:
|
|
252
|
-
onClick:
|
|
183
|
+
title: t.i18nt("designer.hint.remove"),
|
|
184
|
+
onClick: n[4] || (n[4] = m((...g) => i.removeFieldWidget && i.removeFieldWidget(...g), ["stop"]))
|
|
253
185
|
}, [
|
|
254
|
-
|
|
255
|
-
], 8,
|
|
256
|
-
])) :
|
|
257
|
-
e.designer.selectedId === e.field.id ? (
|
|
186
|
+
o(d, { "icon-class": "icon-el-delete" })
|
|
187
|
+
], 8, O)
|
|
188
|
+
])) : r("", !0),
|
|
189
|
+
e.designer.selectedId === e.field.id ? (s(), l("div", z, [
|
|
258
190
|
a("i", {
|
|
259
|
-
title:
|
|
191
|
+
title: t.i18nt("designer.hint.dragHandler")
|
|
260
192
|
}, [
|
|
261
|
-
|
|
262
|
-
], 8,
|
|
263
|
-
a("i", null,
|
|
193
|
+
o(d, { "icon-class": "icon-el-drag-move" })
|
|
194
|
+
], 8, H),
|
|
195
|
+
a("i", null, h(t.i18n2t(
|
|
264
196
|
`designer.widgetLabel.${e.field.type}`,
|
|
265
197
|
`extension.widgetLabel.${e.field.type}`
|
|
266
198
|
)), 1),
|
|
267
|
-
e.field.options.hidden === !0 ? (
|
|
268
|
-
|
|
269
|
-
])) :
|
|
270
|
-
])) :
|
|
271
|
-
], 64)) :
|
|
199
|
+
e.field.options.hidden === !0 ? (s(), l("i", j, [
|
|
200
|
+
o(d, { "icon-class": "icon-el-hide" })
|
|
201
|
+
])) : r("", !0)
|
|
202
|
+
])) : r("", !0)
|
|
203
|
+
], 64)) : r("", !0)
|
|
272
204
|
], 2);
|
|
273
205
|
}
|
|
274
|
-
const
|
|
206
|
+
const q = /* @__PURE__ */ p(y, [["render", D], ["__scopeId", "data-v-30542ff6"]]);
|
|
275
207
|
export {
|
|
276
|
-
|
|
208
|
+
q as default
|
|
277
209
|
};
|
|
@@ -126,7 +126,7 @@ function R(t, o, e, z, n, d) {
|
|
|
126
126
|
_: 1
|
|
127
127
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]));
|
|
128
128
|
}
|
|
129
|
-
const D = /* @__PURE__ */ _(M, [["render", R], ["__scopeId", "data-v-
|
|
129
|
+
const D = /* @__PURE__ */ _(M, [["render", R], ["__scopeId", "data-v-10f4a56c"]]);
|
|
130
130
|
export {
|
|
131
131
|
D as default
|
|
132
132
|
};
|
|
@@ -17,8 +17,8 @@ import * as b from "./columnWidth-editor.vue.js";
|
|
|
17
17
|
import * as g from "./container-data-table/customRowEvent/data-table-customRow-editor.vue.js";
|
|
18
18
|
import * as C from "./container-data-table/data-table-colorRow-editor.vue.js";
|
|
19
19
|
import * as w from "./container-data-table/data-table-customClass-editor.vue.js";
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
20
|
+
import * as k from "./container-data-table/data-table-dsEnabled-editor.vue.js";
|
|
21
|
+
import * as T from "./container-data-table/data-table-pagination-editor.vue.js";
|
|
22
22
|
import * as B from "./container-data-table/data-table-rowKey-editor.vue.js";
|
|
23
23
|
import * as D from "./container-data-table/data-table-selections-editor.vue.js";
|
|
24
24
|
import * as S from "./container-data-table/data-table-showButtonsColumn-editor.vue.js";
|
|
@@ -70,8 +70,8 @@ import * as bo from "./customClass-editor.vue.js";
|
|
|
70
70
|
import * as go from "./customRender-editor.vue.js";
|
|
71
71
|
import * as Co from "./defaultValue-editor.vue.js";
|
|
72
72
|
import * as wo from "./disabled-editor.vue.js";
|
|
73
|
-
import * as
|
|
74
|
-
import * as
|
|
73
|
+
import * as ko from "./editable-editor.vue.js";
|
|
74
|
+
import * as To from "./endPlaceholder-editor.vue.js";
|
|
75
75
|
import * as Bo from "./event-handler/onAppendButtonClick-editor.vue.js";
|
|
76
76
|
import * as Do from "./event-handler/onBeforeUpload-editor.vue.js";
|
|
77
77
|
import * as So from "./event-handler/onBlur-editor.vue.js";
|
|
@@ -124,8 +124,8 @@ import * as be from "./field-button/round-editor.vue.js";
|
|
|
124
124
|
import * as ge from "./field-button/shape-editor.vue.js";
|
|
125
125
|
import * as Ce from "./field-button/type-editor.vue.js";
|
|
126
126
|
import * as we from "./field-cascader/cascader-defaultValue-editor.vue.js";
|
|
127
|
-
import * as
|
|
128
|
-
import * as
|
|
127
|
+
import * as ke from "./field-cascader/cascader-multiple-editor.vue.js";
|
|
128
|
+
import * as Te from "./field-checkbox/checkbox-defaultValue-editor.vue.js";
|
|
129
129
|
import * as Be from "./field-color/color-defaultValue-editor.vue.js";
|
|
130
130
|
import * as De from "./field-date-range/date-range-defaultValue-editor.vue.js";
|
|
131
131
|
import * as Se from "./field-date-range/date-range-format-editor.vue.js";
|
|
@@ -176,45 +176,44 @@ import * as Et from "./labelAlign-editor.vue.js";
|
|
|
176
176
|
import * as ht from "./labelHidden-editor.vue.js";
|
|
177
177
|
import * as bt from "./labelIconClass-editor.vue.js";
|
|
178
178
|
import * as gt from "./labelIconPosition-editor.vue.js";
|
|
179
|
-
import * as Ct from "./
|
|
180
|
-
import * as wt from "./
|
|
181
|
-
import * as Tt from "./limit-editor.vue.js";
|
|
179
|
+
import * as Ct from "./labelWidth-editor.vue.js";
|
|
180
|
+
import * as wt from "./limit-editor.vue.js";
|
|
182
181
|
import * as kt from "./loadingPage-editor.vue.js";
|
|
183
|
-
import * as
|
|
184
|
-
import * as
|
|
185
|
-
import * as
|
|
186
|
-
import * as
|
|
187
|
-
import * as
|
|
188
|
-
import * as
|
|
189
|
-
import * as
|
|
190
|
-
import * as
|
|
191
|
-
import * as
|
|
192
|
-
import * as
|
|
193
|
-
import * as
|
|
194
|
-
import * as
|
|
195
|
-
import * as
|
|
196
|
-
import * as
|
|
197
|
-
import * as
|
|
198
|
-
import * as
|
|
199
|
-
import * as
|
|
200
|
-
import * as
|
|
201
|
-
import * as
|
|
202
|
-
import * as
|
|
203
|
-
import * as
|
|
204
|
-
import * as
|
|
205
|
-
import * as
|
|
206
|
-
import * as
|
|
207
|
-
import * as
|
|
208
|
-
import * as
|
|
209
|
-
import * as
|
|
210
|
-
import * as
|
|
211
|
-
import * as
|
|
212
|
-
import * as
|
|
213
|
-
const
|
|
182
|
+
import * as Tt from "./max-editor.vue.js";
|
|
183
|
+
import * as Bt from "./maxLength-editor.vue.js";
|
|
184
|
+
import * as Dt from "./maxSize-editor.vue.js";
|
|
185
|
+
import * as St from "./min-editor.vue.js";
|
|
186
|
+
import * as Rt from "./minLength-editor.vue.js";
|
|
187
|
+
import * as Vt from "./multiple-editor.vue.js";
|
|
188
|
+
import * as yt from "./name-editor.vue.js";
|
|
189
|
+
import * as Pt from "./optionItems-editor.vue.js";
|
|
190
|
+
import * as Ft from "./placeholder-editor.vue.js";
|
|
191
|
+
import * as Ht from "./placement-editor.vue.js";
|
|
192
|
+
import * as xt from "./precision-editor.vue.js";
|
|
193
|
+
import * as It from "./readonly-editor.vue.js";
|
|
194
|
+
import * as Ot from "./required-editor.vue.js";
|
|
195
|
+
import * as Mt from "./requiredHint-editor.vue.js";
|
|
196
|
+
import * as Lt from "./rightSlotCss-editor.vue.js";
|
|
197
|
+
import * as At from "./rows-editor.vue.js";
|
|
198
|
+
import * as Wt from "./showCount-editor.vue.js";
|
|
199
|
+
import * as zt from "./showFileList-editor.vue.js";
|
|
200
|
+
import * as Gt from "./showPassword-editor.vue.js";
|
|
201
|
+
import * as Ut from "./showSearch-editor.vue.js";
|
|
202
|
+
import * as qt from "./showTime-editor.vue.js";
|
|
203
|
+
import * as Nt from "./size-editor.vue.js";
|
|
204
|
+
import * as Kt from "./slot-compontent-editor.vue.js";
|
|
205
|
+
import * as Qt from "./startPlaceholder-editor.vue.js";
|
|
206
|
+
import * as jt from "./step-editor.vue.js";
|
|
207
|
+
import * as $t from "./type-editor.vue.js";
|
|
208
|
+
import * as Jt from "./uploadListType-editor.vue.js";
|
|
209
|
+
import * as Xt from "./useModel-editor.vue.js";
|
|
210
|
+
import * as Yt from "./validation-editor.vue.js";
|
|
211
|
+
import * as Zt from "./validationHint-editor.vue.js";
|
|
212
|
+
const _t = {}, o = /* @__PURE__ */ Object.assign({ "./accept-editor.vue": r, "./actionColumnPosition-editor.vue": i, "./addonAfter-editor.vue": a, "./addonBefore-editor.vue": d, "./allowClear-editor.vue": l, "./appendButton-editor.vue": n, "./appendButtonDisabled-editor.vue": m, "./autoFullWidth-editor.vue": u, "./border-editor.vue": s, "./boxModel-editor.vue": f, "./button-list-editor.vue": p, "./button-position-editor.vue": v, "./buttonIcon-editor.vue": c, "./buttonStyle-editor.vue": E, "./code-editor/code-editor-mode.vue": h, "./columnWidth-editor.vue": b, "./container-data-table/customRowEvent/data-table-customRow-editor.vue": g, "./container-data-table/data-table-colorRow-editor.vue": C, "./container-data-table/data-table-customClass-editor.vue": w, "./container-data-table/data-table-dsEnabled-editor.vue": k, "./container-data-table/data-table-pagination-editor.vue": T, "./container-data-table/data-table-rowKey-editor.vue": B, "./container-data-table/data-table-selections-editor.vue": D, "./container-data-table/data-table-showButtonsColumn-editor.vue": S, "./container-data-table/data-table-showIndex-editor.vue": R, "./container-data-table/data-table-stripe-editor.vue": V, "./container-data-table/data-table-tableColumns-editor.vue": y, "./container-data-table/data-table-tableHeight-editor.vue": P, "./container-data-table/data-table-tableSize-editor.vue": F, "./container-data-table/data-table-tableWidth-editor.vue": H, "./container-data-table/data-table-treeDataEnabled-editor.vue": x, "./container-grid-col/grid-col-offset-editor.vue": I, "./container-grid-col/grid-col-pull-editor.vue": O, "./container-grid-col/grid-col-push-editor.vue": M, "./container-grid-col/grid-col-responsive-editor.vue": L, "./container-grid-col/grid-col-span-editor.vue": A, "./container-grid/colHeight-editor.vue": W, "./container-grid/gutter-editor.vue": z, "./container-sub-form/showBlankRow-editor.vue": G, "./container-sub-form/showRowNumber-editor.vue": U, "./container-sub-form/sub-form-labelAlign-editor.vue": q, "./container-tab/tab-customClass-editor.vue": N, "./container-tab/tab-tabBarGutter-editor.vue": K, "./container-tab/tab-tabPosition-editor.vue": Q, "./container-tab/tab-type-editor.vue": j, "./container-table-cell/cellHeight-editor.vue": $, "./container-table-cell/cellWidth-editor.vue": J, "./container-vf-dialog/bodyStyle-editor.vue": X, "./container-vf-dialog/cancelButtonHidden-editor.vue": Y, "./container-vf-dialog/cancelButtonLabel-editor.vue": Z, "./container-vf-dialog/closeOnClickModal-editor.vue": _, "./container-vf-dialog/closeOnPressEscape-editor.vue": oo, "./container-vf-dialog/collapseIcon-editor.vue": eo, "./container-vf-dialog/disabledMode-editor.vue": to, "./container-vf-dialog/formCode-editor.vue": ro, "./container-vf-dialog/fullscreen-editor.vue": io, "./container-vf-dialog/height-editor.vue": ao, "./container-vf-dialog/isCollapse-editor.vue": lo, "./container-vf-dialog/line-height-editor.vue": no, "./container-vf-dialog/okButtonHidden-editor.vue": mo, "./container-vf-dialog/okButtonLabel-editor.vue": uo, "./container-vf-dialog/readMode-editor.vue": so, "./container-vf-dialog/showClose-editor.vue": fo, "./container-vf-dialog/title-editor.vue": po, "./container-vf-dialog/unCollapseIcon-editor.vue": vo, "./container-vf-dialog/width-editor.vue": co, "./container-vf-drawer/vf-drawer-direction-editor.vue": Eo, "./container-vf-drawer/vf-drawer-size-editor.vue": ho, "./customClass-editor.vue": bo, "./customRender-editor.vue": go, "./defaultValue-editor.vue": Co, "./disabled-editor.vue": wo, "./editable-editor.vue": ko, "./endPlaceholder-editor.vue": To, "./event-handler/onAppendButtonClick-editor.vue": Bo, "./event-handler/onBeforeUpload-editor.vue": Do, "./event-handler/onBlur-editor.vue": So, "./event-handler/onCancelButtonClick-editor.vue": Ro, "./event-handler/onCellClick-editor.vue": Vo, "./event-handler/onCellDoubleClick-editor.vue": yo, "./event-handler/onChange-editor.vue": Po, "./event-handler/onCheck-editor.vue": Fo, "./event-handler/onClick-editor.vue": Ho, "./event-handler/onClickIcon-editor.vue": xo, "./event-handler/onCreated-editor.vue": Io, "./event-handler/onCurrentPageChange-editor.vue": Oo, "./event-handler/onDialogBeforeClose-editor.vue": Mo, "./event-handler/onDialogOpened-editor.vue": Lo, "./event-handler/onDisableOperationButton-editor.vue": Ao, "./event-handler/onDrawerBeforeClose-editor.vue": Wo, "./event-handler/onDrawerOpened-editor.vue": zo, "./event-handler/onFileRemove.vue": Go, "./event-handler/onFocus-editor.vue": Uo, "./event-handler/onGetOperationButtonLabel-editor.vue": qo, "./event-handler/onGetRowClassName-editor.vue": No, "./event-handler/onGetSpanMethod-editor.vue": Ko, "./event-handler/onHeaderClick-editor.vue": Qo, "./event-handler/onHideOperationButton-editor.vue": jo, "./event-handler/onInput-editor.vue": $o, "./event-handler/onMenuClick-editor.vue": Jo, "./event-handler/onMounted-editor.vue": Xo, "./event-handler/onOkButtonClick-editor.vue": Yo, "./event-handler/onOperationButtonClick-editor.vue": Zo, "./event-handler/onPageSizeChange-editor.vue": _o, "./event-handler/onRemoteQuery-editor.vue": oe, "./event-handler/onRowClick-editor.vue": ee, "./event-handler/onRowDoubleClick-editor.vue": te, "./event-handler/onSelectionChange-editor.vue": re, "./event-handler/onSubFormRowAdd-editor.vue": ie, "./event-handler/onSubFormRowChange-editor.vue": ae, "./event-handler/onSubFormRowDelete-editor.vue": de, "./event-handler/onSubFormRowInsert-editor.vue": le, "./event-handler/onTabClick-editor.vue": ne, "./event-handler/onTableChange-editor.vue": me, "./event-handler/onUploadError-editor.vue": ue, "./event-handler/onUploadSuccess-editor.vue": se, "./event-handler/onValidate-editor.vue": fe, "./field-button/circle-editor.vue": pe, "./field-button/danger-editor.vue": ve, "./field-button/ghost-editor.vue": ce, "./field-button/icon-editor.vue": Ee, "./field-button/plain-editor.vue": he, "./field-button/round-editor.vue": be, "./field-button/shape-editor.vue": ge, "./field-button/type-editor.vue": Ce, "./field-cascader/cascader-defaultValue-editor.vue": we, "./field-cascader/cascader-multiple-editor.vue": ke, "./field-checkbox/checkbox-defaultValue-editor.vue": Te, "./field-color/color-defaultValue-editor.vue": Be, "./field-date-range/date-range-defaultValue-editor.vue": De, "./field-date-range/date-range-format-editor.vue": Se, "./field-date-range/date-range-type-editor.vue": Re, "./field-date-range/date-range-valueFormat-editor.vue": Ve, "./field-date/date-defaultValue-editor.vue": ye, "./field-date/date-format-editor.vue": Pe, "./field-date/date-type-editor.vue": Fe, "./field-date/date-valueFormat-editor.vue": He, "./field-divider/contentPosition-editor.vue": xe, "./field-divider/divider-direction-editor.vue": Ie, "./field-dropdown/dropdown-menuList-editor.vue": Oe, "./field-file-upload/file-upload-fileTypes-editor.vue": Me, "./field-html-text/htmlContent-editor.vue": Le, "./field-number/controlsPosition-editor.vue": Ae, "./field-number/number-defaultValue-editor.vue": We, "./field-picture-upload/picture-upload-fileTypes-editor.vue": ze, "./field-radio/radio-defaultValue-editor.vue": Ge, "./field-rate/allowHalf-editor.vue": Ue, "./field-rate/highThreshold-editor.vue": qe, "./field-rate/lowThreshold-editor.vue": Ne, "./field-rate/rate-count-editor.vue": Ke, "./field-rate/rate-defaultValue-editor.vue": Qe, "./field-rate/showScore-editor.vue": je, "./field-rate/showText-editor.vue": $e, "./field-rich-editor/rich-editor-contentHeight-editor.vue": Je, "./field-select/mode-editor.vue": Xe, "./field-select/select-defaultValue-editor.vue": Ye, "./field-slider/range-editor.vue": Ze, "./field-slider/vertical-editor.vue": _e, "./field-static-text/textContent-editor.vue": ot, "./field-switch/activeColor-editor.vue": et, "./field-switch/checkedValue-editor.vue": tt, "./field-switch/inactiveColor-editor.vue": rt, "./field-switch/switch-defaultValue-editor.vue": it, "./field-switch/switchWidth-editor.vue": at, "./field-switch/unCheckedValue-editor.vue": dt, "./field-time-range/time-range-defaultValue-editor.vue": lt, "./field-time-range/time-range-format-editor.vue": nt, "./field-time/time-defaultValue-editor.vue": mt, "./field-time/time-format-editor.vue": ut, "./field-tree/tree-data-editor.vue": st, "./field-treeSelect/treeSelect-treeDefaultExpandAll-editor.vue": ft, "./flex-editor.vue": pt, "./hidden-editor.vue": vt, "./label-editor.vue": ct, "./labelAlign-editor.vue": Et, "./labelHidden-editor.vue": ht, "./labelIconClass-editor.vue": bt, "./labelIconPosition-editor.vue": gt, "./labelWidth-editor.vue": Ct, "./limit-editor.vue": wt, "./loadingPage-editor.vue": kt, "./max-editor.vue": Tt, "./maxLength-editor.vue": Bt, "./maxSize-editor.vue": Dt, "./min-editor.vue": St, "./minLength-editor.vue": Rt, "./multiple-editor.vue": Vt, "./name-editor.vue": yt, "./optionItems-editor.vue": Pt, "./placeholder-editor.vue": Ft, "./placement-editor.vue": Ht, "./precision-editor.vue": xt, "./readonly-editor.vue": It, "./required-editor.vue": Ot, "./requiredHint-editor.vue": Mt, "./rightSlotCss-editor.vue": Lt, "./rows-editor.vue": At, "./showCount-editor.vue": Wt, "./showFileList-editor.vue": zt, "./showPassword-editor.vue": Gt, "./showSearch-editor.vue": Ut, "./showTime-editor.vue": qt, "./size-editor.vue": Nt, "./slot-compontent-editor.vue": Kt, "./startPlaceholder-editor.vue": Qt, "./step-editor.vue": jt, "./type-editor.vue": $t, "./uploadListType-editor.vue": Jt, "./useModel-editor.vue": Xt, "./validation-editor.vue": Yt, "./validationHint-editor.vue": Zt });
|
|
214
213
|
for (const e in o) {
|
|
215
214
|
const t = o[e].default.name;
|
|
216
|
-
|
|
215
|
+
_t[t] = o[e].default;
|
|
217
216
|
}
|
|
218
217
|
export {
|
|
219
|
-
|
|
218
|
+
_t as default
|
|
220
219
|
};
|
|
@@ -142,7 +142,6 @@ const e = {
|
|
|
142
142
|
icon: "icon-editor",
|
|
143
143
|
labelIconClass: "labelIconClass-editor",
|
|
144
144
|
labelIconPosition: "labelIconPosition-editor",
|
|
145
|
-
labelTooltip: "labelTooltip-editor",
|
|
146
145
|
appendButton: "appendButton-editor",
|
|
147
146
|
appendButtonDisabled: "appendButtonDisabled-editor",
|
|
148
147
|
buttonIcon: "buttonIcon-editor"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const
|
|
1
|
+
const l = (e = {}) => ({
|
|
2
2
|
type: "rich-editor",
|
|
3
3
|
icon: "rich-editor-field",
|
|
4
|
-
id:
|
|
4
|
+
id: e.name,
|
|
5
5
|
formItemFlag: !0,
|
|
6
6
|
options: {
|
|
7
7
|
name: "",
|
|
@@ -21,15 +21,14 @@ const e = (l = {}) => ({
|
|
|
21
21
|
customClass: [],
|
|
22
22
|
labelIconClass: null,
|
|
23
23
|
labelIconPosition: "rear",
|
|
24
|
-
labelTooltip: null,
|
|
25
24
|
maxLength: null,
|
|
26
25
|
showCount: !1,
|
|
27
26
|
onCreated: "",
|
|
28
27
|
onMounted: "",
|
|
29
28
|
onValidate: "",
|
|
30
|
-
...
|
|
29
|
+
...e
|
|
31
30
|
}
|
|
32
31
|
});
|
|
33
32
|
export {
|
|
34
|
-
|
|
33
|
+
l as richEditor
|
|
35
34
|
};
|