@kp-ui/lowcode 2.14.0-beta.6 → 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/cascader-widget.vue.js +32 -39
- package/src/components/form-designer/form-widget/field-widget/date-range-widget.vue.js +24 -31
- package/src/components/form-designer/form-widget/field-widget/date-widget.vue.js +26 -33
- 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 +31 -38
- package/src/components/form-designer/form-widget/field-widget/number-widget.vue.js +23 -30
- package/src/components/form-designer/form-widget/field-widget/select-widget.vue.js +56 -63
- package/src/components/form-designer/form-widget/field-widget/switch-widget.vue.js +1 -1
- package/src/components/form-designer/form-widget/field-widget/textarea-widget.vue.js +23 -32
- package/src/components/form-designer/form-widget/field-widget/treeSelect-widget.vue.js +26 -33
- 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/RenderWigetList.vue.js +2 -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/components/form-render/index.vue.js +47 -37
- 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
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { SvgIcon as
|
|
6
|
-
import
|
|
7
|
-
import { resolveComponent as
|
|
1
|
+
import g from "./form-item-wrapper.vue.js";
|
|
2
|
+
import b from "../../../../utils/emitter.js";
|
|
3
|
+
import w from "../../../../utils/i18n.js";
|
|
4
|
+
import C from "./fieldMixin.js";
|
|
5
|
+
import { SvgIcon as v } from "tmgc2-share";
|
|
6
|
+
import F from "../../../../mixins/useSelectMixin.js";
|
|
7
|
+
import { resolveComponent as l, createBlock as I, createCommentVNode as s, openBlock as d, withCtx as M, withDirectives as r, createElementBlock as a, createElementVNode as O, normalizeClass as x, createVNode as m, mergeProps as y, vShow as u, toDisplayString as R } from "vue";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import
|
|
10
|
-
const
|
|
9
|
+
import k from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
10
|
+
const z = {
|
|
11
11
|
name: "select-widget",
|
|
12
12
|
componentName: "FieldWidget",
|
|
13
13
|
//必须固定为FieldWidget,用于接收父级组件的broadcast事件
|
|
14
|
-
mixins: [
|
|
14
|
+
mixins: [b, C, w, F],
|
|
15
15
|
props: {
|
|
16
16
|
field: Object,
|
|
17
17
|
parentWidget: Object,
|
|
@@ -38,7 +38,7 @@ const S = {
|
|
|
38
38
|
default: ""
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
components: { SvgIcon:
|
|
41
|
+
components: { SvgIcon: v, FormItemWrapper: g },
|
|
42
42
|
data() {
|
|
43
43
|
return {
|
|
44
44
|
oldFieldValue: null,
|
|
@@ -64,8 +64,8 @@ const S = {
|
|
|
64
64
|
watch: {
|
|
65
65
|
"field.options.dsEnabled": {
|
|
66
66
|
deep: !0,
|
|
67
|
-
handler(
|
|
68
|
-
|
|
67
|
+
handler(t) {
|
|
68
|
+
t && this.initOptionItems();
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
},
|
|
@@ -100,72 +100,65 @@ const S = {
|
|
|
100
100
|
// }
|
|
101
101
|
// }
|
|
102
102
|
}
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
}, E = {
|
|
104
|
+
key: 0,
|
|
105
|
+
class: "readonly-mode-field"
|
|
106
|
+
};
|
|
107
|
+
function L(t, i, e, S, o, f) {
|
|
108
|
+
const c = l("a-select"), p = l("svg-icon"), h = l("form-item-wrapper");
|
|
109
|
+
return t.handleHidden() ? s("", !0) : (d(), I(h, {
|
|
107
110
|
key: 0,
|
|
108
|
-
designer:
|
|
109
|
-
field:
|
|
110
|
-
rules:
|
|
111
|
-
"design-state":
|
|
112
|
-
"parent-widget":
|
|
113
|
-
"parent-list":
|
|
114
|
-
"index-of-parent-list":
|
|
115
|
-
"sub-form-row-index":
|
|
116
|
-
"sub-form-col-index":
|
|
117
|
-
"sub-form-row-id":
|
|
111
|
+
designer: e.designer,
|
|
112
|
+
field: e.field,
|
|
113
|
+
rules: o.rules,
|
|
114
|
+
"design-state": e.designState,
|
|
115
|
+
"parent-widget": e.parentWidget,
|
|
116
|
+
"parent-list": e.parentList,
|
|
117
|
+
"index-of-parent-list": e.indexOfParentList,
|
|
118
|
+
"sub-form-row-index": e.subFormRowIndex,
|
|
119
|
+
"sub-form-col-index": e.subFormColIndex,
|
|
120
|
+
"sub-form-row-id": e.subFormRowId
|
|
118
121
|
}, {
|
|
119
|
-
default:
|
|
120
|
-
|
|
121
|
-
class:
|
|
122
|
+
default: M(() => [
|
|
123
|
+
r(O("div", {
|
|
124
|
+
class: x(["design-select-box", { useModal: e.field.options.useModal }])
|
|
122
125
|
}, [
|
|
123
|
-
m(
|
|
126
|
+
r(m(c, y({
|
|
124
127
|
ref: "fieldEditor",
|
|
125
|
-
value:
|
|
126
|
-
"onUpdate:value": i[0] || (i[0] = (
|
|
127
|
-
size:
|
|
128
|
+
value: o.fieldModel,
|
|
129
|
+
"onUpdate:value": i[0] || (i[0] = (n) => o.fieldModel = n),
|
|
130
|
+
size: f.size,
|
|
128
131
|
class: "full-width-input",
|
|
129
|
-
disabled:
|
|
130
|
-
allowClear:
|
|
132
|
+
disabled: t.handleDisabled(),
|
|
133
|
+
allowClear: e.field.options.allowClear,
|
|
131
134
|
showArrow: !0,
|
|
132
135
|
dropdownMatchSelectWidth: !1,
|
|
133
|
-
mode:
|
|
134
|
-
maxTagCount:
|
|
135
|
-
placeholder:
|
|
136
|
-
onFocus:
|
|
137
|
-
onBlur:
|
|
138
|
-
onChange:
|
|
139
|
-
options:
|
|
140
|
-
},
|
|
141
|
-
[
|
|
136
|
+
mode: e.field.options.mode,
|
|
137
|
+
maxTagCount: e.field.options.maxTagCount,
|
|
138
|
+
placeholder: e.field.options.placeholder || t.i18nt("render.hint.selectPlaceholder"),
|
|
139
|
+
onFocus: t.handleFocusCustomEvent,
|
|
140
|
+
onBlur: t.handleBlurCustomEvent,
|
|
141
|
+
onChange: t.handleChangeEvent,
|
|
142
|
+
options: e.field.options.optionItems
|
|
143
|
+
}, t.selectOps), null, 16, ["value", "size", "disabled", "allowClear", "mode", "maxTagCount", "placeholder", "onFocus", "onBlur", "onChange", "options"]), [
|
|
144
|
+
[u, !t.isReadMode]
|
|
142
145
|
]),
|
|
143
|
-
|
|
146
|
+
e.field.options.useModal ? (d(), a("div", {
|
|
144
147
|
key: 0,
|
|
145
148
|
class: "useModal-svg",
|
|
146
|
-
onClick: i[1] || (i[1] = (...
|
|
149
|
+
onClick: i[1] || (i[1] = (...n) => t.handleClickIcon && t.handleClickIcon(...n))
|
|
147
150
|
}, [
|
|
148
|
-
|
|
149
|
-
])) :
|
|
151
|
+
m(p, { "icon-class": "icon-sousuo" })
|
|
152
|
+
])) : s("", !0)
|
|
150
153
|
], 2), [
|
|
151
|
-
[
|
|
154
|
+
[u, !t.isReadMode]
|
|
152
155
|
]),
|
|
153
|
-
|
|
154
|
-
key: 0,
|
|
155
|
-
placement: "topLeft",
|
|
156
|
-
title: e.optionLabel,
|
|
157
|
-
overlayStyle: { zIndex: 1e3 }
|
|
158
|
-
}, {
|
|
159
|
-
default: a(() => [
|
|
160
|
-
u("span", k, z(e.optionLabel), 1)
|
|
161
|
-
]),
|
|
162
|
-
_: 1
|
|
163
|
-
}, 8, ["title"])) : d("", !0)
|
|
156
|
+
t.isReadMode ? (d(), a("span", E, R(t.optionLabel), 1)) : s("", !0)
|
|
164
157
|
]),
|
|
165
158
|
_: 1
|
|
166
159
|
}, 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"]));
|
|
167
160
|
}
|
|
168
|
-
const
|
|
161
|
+
const A = /* @__PURE__ */ k(z, [["render", L], ["__scopeId", "data-v-99c8e24a"]]);
|
|
169
162
|
export {
|
|
170
|
-
|
|
163
|
+
A as default
|
|
171
164
|
};
|
|
@@ -95,7 +95,7 @@ function k(t, d, e, C, i, F) {
|
|
|
95
95
|
_: 1
|
|
96
96
|
}, 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"]));
|
|
97
97
|
}
|
|
98
|
-
const v = /* @__PURE__ */ w(x, [["render", k], ["__scopeId", "data-v-
|
|
98
|
+
const v = /* @__PURE__ */ w(x, [["render", k], ["__scopeId", "data-v-f3730a31"]]);
|
|
99
99
|
export {
|
|
100
100
|
v as default
|
|
101
101
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { resolveComponent as
|
|
1
|
+
import u from "./form-item-wrapper.vue.js";
|
|
2
|
+
import f from "../../../../utils/emitter.js";
|
|
3
|
+
import h from "../../../../utils/i18n.js";
|
|
4
|
+
import g from "./fieldMixin.js";
|
|
5
|
+
import { resolveComponent as o, createBlock as p, createCommentVNode as d, openBlock as r, withCtx as c, withDirectives as b, createElementBlock as w, createVNode as C, vShow as x } from "vue";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
8
|
-
const
|
|
7
|
+
import F from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const v = {
|
|
9
9
|
name: "textarea-widget",
|
|
10
10
|
componentName: "FieldWidget",
|
|
11
11
|
//必须固定为FieldWidget,用于接收父级组件的broadcast事件
|
|
12
|
-
mixins: [
|
|
12
|
+
mixins: [f, g, h],
|
|
13
13
|
props: {
|
|
14
14
|
field: Object,
|
|
15
15
|
parentWidget: Object,
|
|
@@ -37,7 +37,7 @@ const y = {
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
components: {
|
|
40
|
-
FormItemWrapper:
|
|
40
|
+
FormItemWrapper: u
|
|
41
41
|
},
|
|
42
42
|
data() {
|
|
43
43
|
return {
|
|
@@ -64,10 +64,10 @@ const y = {
|
|
|
64
64
|
this.unregisterFromRefList();
|
|
65
65
|
},
|
|
66
66
|
methods: {}
|
|
67
|
-
},
|
|
68
|
-
function I(t,
|
|
69
|
-
const
|
|
70
|
-
return t.handleHidden() ?
|
|
67
|
+
}, y = ["innerHTML"];
|
|
68
|
+
function I(t, i, e, M, n, l) {
|
|
69
|
+
const s = o("a-textarea"), a = o("form-item-wrapper");
|
|
70
|
+
return t.handleHidden() ? d("", !0) : (r(), p(a, {
|
|
71
71
|
key: 0,
|
|
72
72
|
designer: e.designer,
|
|
73
73
|
field: e.field,
|
|
@@ -80,13 +80,13 @@ function I(t, o, e, M, n, a) {
|
|
|
80
80
|
"sub-form-col-index": e.subFormColIndex,
|
|
81
81
|
"sub-form-row-id": e.subFormRowId
|
|
82
82
|
}, {
|
|
83
|
-
default:
|
|
84
|
-
|
|
83
|
+
default: c(() => [
|
|
84
|
+
b(C(s, {
|
|
85
85
|
type: "textarea",
|
|
86
86
|
ref: "fieldEditor",
|
|
87
87
|
value: n.fieldModel,
|
|
88
|
-
"onUpdate:value":
|
|
89
|
-
size:
|
|
88
|
+
"onUpdate:value": i[0] || (i[0] = (m) => n.fieldModel = m),
|
|
89
|
+
size: l.size,
|
|
90
90
|
disabled: t.handleDisabled(),
|
|
91
91
|
allowClear: e.field.options.allowClear,
|
|
92
92
|
readonly: e.field.options.readonly,
|
|
@@ -102,25 +102,16 @@ function I(t, o, e, M, n, a) {
|
|
|
102
102
|
}, null, 8, ["value", "size", "disabled", "allowClear", "readonly", "placeholder", "rows", "minlength", "maxlength", "showCount", "onFocus", "onBlur", "onInput", "onChange"]), [
|
|
103
103
|
[x, !t.isReadMode]
|
|
104
104
|
]),
|
|
105
|
-
t.isReadMode ? (r(),
|
|
105
|
+
t.isReadMode ? (r(), w("div", {
|
|
106
106
|
key: 0,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}, {
|
|
111
|
-
default: s(() => [
|
|
112
|
-
F("div", {
|
|
113
|
-
innerHTML: n.fieldModel,
|
|
114
|
-
class: "readonly-mode-field"
|
|
115
|
-
}, null, 8, _)
|
|
116
|
-
]),
|
|
117
|
-
_: 1
|
|
118
|
-
}, 8, ["title"])) : l("", !0)
|
|
107
|
+
innerHTML: n.fieldModel,
|
|
108
|
+
class: "readonly-mode-field"
|
|
109
|
+
}, null, 8, y)) : d("", !0)
|
|
119
110
|
]),
|
|
120
111
|
_: 1
|
|
121
112
|
}, 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"]));
|
|
122
113
|
}
|
|
123
|
-
const
|
|
114
|
+
const N = /* @__PURE__ */ F(v, [["render", I], ["__scopeId", "data-v-e90fbb68"]]);
|
|
124
115
|
export {
|
|
125
|
-
|
|
116
|
+
N as default
|
|
126
117
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { formateTreeToName as
|
|
6
|
-
import { isArray as
|
|
7
|
-
import { resolveComponent as
|
|
1
|
+
import m from "./form-item-wrapper.vue.js";
|
|
2
|
+
import u from "../../../../utils/emitter.js";
|
|
3
|
+
import h from "../../../../utils/i18n.js";
|
|
4
|
+
import c from "./fieldMixin.js";
|
|
5
|
+
import { formateTreeToName as p } from "../../../../utils/format.js";
|
|
6
|
+
import { isArray as b } from "lodash-es";
|
|
7
|
+
import { resolveComponent as n, createBlock as g, createCommentVNode as o, openBlock as r, withCtx as y, createElementVNode as w, normalizeClass as v, withDirectives as C, createElementBlock as F, createVNode as M, vShow as x, toDisplayString as K } from "vue";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import R from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
10
10
|
const I = {
|
|
11
11
|
name: "treeSelect-widget",
|
|
12
12
|
componentName: "FieldWidget",
|
|
13
13
|
//必须固定为FieldWidget,用于接收父级组件的broadcast事件
|
|
14
|
-
mixins: [
|
|
14
|
+
mixins: [u, c, h],
|
|
15
15
|
props: {
|
|
16
16
|
field: Object,
|
|
17
17
|
parentWidget: Object,
|
|
@@ -39,7 +39,7 @@ const I = {
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
components: {
|
|
42
|
-
FormItemWrapper:
|
|
42
|
+
FormItemWrapper: m
|
|
43
43
|
},
|
|
44
44
|
data() {
|
|
45
45
|
return {
|
|
@@ -67,8 +67,8 @@ const I = {
|
|
|
67
67
|
// },
|
|
68
68
|
contentForReadMode() {
|
|
69
69
|
if (!this.fieldModel) return "";
|
|
70
|
-
const t =
|
|
71
|
-
return
|
|
70
|
+
const t = b(this.fieldModel) ? this.fieldModel : [this.fieldModel];
|
|
71
|
+
return p(t, this.field.options.optionItems, {
|
|
72
72
|
label: this.labelKey,
|
|
73
73
|
value: this.valueKey,
|
|
74
74
|
children: this.childrenKey
|
|
@@ -91,10 +91,13 @@ const I = {
|
|
|
91
91
|
hideDropDownOnClick() {
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
}, N = {
|
|
95
|
+
key: 0,
|
|
96
|
+
class: "readonly-mode-field"
|
|
97
|
+
};
|
|
98
|
+
function _(t, d, e, z, l, i) {
|
|
99
|
+
const s = n("a-tree-select"), a = n("form-item-wrapper");
|
|
100
|
+
return t.handleHidden() ? o("", !0) : (r(), g(a, {
|
|
98
101
|
key: 0,
|
|
99
102
|
designer: e.designer,
|
|
100
103
|
field: e.field,
|
|
@@ -107,17 +110,17 @@ function z(t, d, e, N, l, i) {
|
|
|
107
110
|
"sub-form-col-index": e.subFormColIndex,
|
|
108
111
|
"sub-form-row-id": e.subFormRowId
|
|
109
112
|
}, {
|
|
110
|
-
default:
|
|
111
|
-
|
|
112
|
-
class:
|
|
113
|
+
default: y(() => [
|
|
114
|
+
w("div", {
|
|
115
|
+
class: v(["full-width-input", { "readonly-mode-cascader": t.isReadMode }])
|
|
113
116
|
}, [
|
|
114
|
-
|
|
117
|
+
C(M(s, {
|
|
115
118
|
"tree-default-expand-all": e.field.options.treeDefaultExpandAll,
|
|
116
119
|
ref: "fieldEditor",
|
|
117
120
|
size: i.size,
|
|
118
121
|
treeData: e.field.options.optionItems,
|
|
119
122
|
value: l.fieldModel,
|
|
120
|
-
"onUpdate:value": d[0] || (d[0] = (
|
|
123
|
+
"onUpdate:value": d[0] || (d[0] = (f) => l.fieldModel = f),
|
|
121
124
|
disabled: t.handleDisabled(),
|
|
122
125
|
allowClear: e.field.options.allowClear,
|
|
123
126
|
placeholder: e.field.options.placeholder || t.i18nt("render.hint.selectPlaceholder"),
|
|
@@ -127,25 +130,15 @@ function z(t, d, e, N, l, i) {
|
|
|
127
130
|
onBlur: t.handleBlurCustomEvent,
|
|
128
131
|
onChange: t.handleChangeEvent
|
|
129
132
|
}, null, 8, ["tree-default-expand-all", "size", "treeData", "value", "disabled", "allowClear", "placeholder", "fieldNames", "multiple", "onFocus", "onBlur", "onChange"]), [
|
|
130
|
-
[
|
|
133
|
+
[x, !t.isReadMode]
|
|
131
134
|
]),
|
|
132
|
-
t.isReadMode ? (
|
|
133
|
-
key: 0,
|
|
134
|
-
placement: "topLeft",
|
|
135
|
-
title: i.contentForReadMode,
|
|
136
|
-
overlayStyle: { zIndex: 1e3 }
|
|
137
|
-
}, {
|
|
138
|
-
default: s(() => [
|
|
139
|
-
f("span", K, x(i.contentForReadMode), 1)
|
|
140
|
-
]),
|
|
141
|
-
_: 1
|
|
142
|
-
}, 8, ["title"])) : r("", !0)
|
|
135
|
+
t.isReadMode ? (r(), F("span", N, K(i.contentForReadMode), 1)) : o("", !0)
|
|
143
136
|
], 2)
|
|
144
137
|
]),
|
|
145
138
|
_: 1
|
|
146
139
|
}, 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"]));
|
|
147
140
|
}
|
|
148
|
-
const j = /* @__PURE__ */ R(I, [["render",
|
|
141
|
+
const j = /* @__PURE__ */ R(I, [["render", _], ["__scopeId", "data-v-d7cc9ef8"]]);
|
|
149
142
|
export {
|
|
150
143
|
j as default
|
|
151
144
|
};
|
|
@@ -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
|
};
|