form-custom-test 3.0.173 → 3.0.175
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/designer.es.js +98 -79
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +96 -77
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -4255,14 +4255,14 @@ const _sfc_main$3H = {
|
|
|
4255
4255
|
}
|
|
4256
4256
|
}
|
|
4257
4257
|
};
|
|
4258
|
-
const _hoisted_1$
|
|
4258
|
+
const _hoisted_1$_ = ["xlink:href"];
|
|
4259
4259
|
const _hoisted_2$H = { key: 0 };
|
|
4260
4260
|
function _sfc_render$3H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4261
4261
|
return openBlock(), createElementBlock("svg", {
|
|
4262
4262
|
class: normalizeClass($options.svgClass),
|
|
4263
4263
|
"aria-hidden": "true"
|
|
4264
4264
|
}, [
|
|
4265
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
4265
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$_),
|
|
4266
4266
|
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$H, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
4267
4267
|
], 2);
|
|
4268
4268
|
}
|
|
@@ -4396,7 +4396,7 @@ const _sfc_main$3G = {
|
|
|
4396
4396
|
}
|
|
4397
4397
|
}
|
|
4398
4398
|
};
|
|
4399
|
-
const _hoisted_1$
|
|
4399
|
+
const _hoisted_1$Z = { class: "panel-container" };
|
|
4400
4400
|
const _hoisted_2$G = ["title", "onDblclick"];
|
|
4401
4401
|
const _hoisted_3$B = ["title", "onDblclick"];
|
|
4402
4402
|
const _hoisted_4$p = ["title", "onDblclick"];
|
|
@@ -4418,7 +4418,7 @@ function _sfc_render$3G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4418
4418
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
4419
4419
|
return openBlock(), createBlock(_component_el_scrollbar, { class: "side-scroll-bar" }, {
|
|
4420
4420
|
default: withCtx(() => [
|
|
4421
|
-
createElementVNode("div", _hoisted_1$
|
|
4421
|
+
createElementVNode("div", _hoisted_1$Z, [
|
|
4422
4422
|
createVNode(_component_el_tabs, {
|
|
4423
4423
|
modelValue: $data.firstTab,
|
|
4424
4424
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $data.firstTab = $event),
|
|
@@ -4863,7 +4863,7 @@ const _sfc_main$3E = {
|
|
|
4863
4863
|
}
|
|
4864
4864
|
}
|
|
4865
4865
|
};
|
|
4866
|
-
const _hoisted_1$
|
|
4866
|
+
const _hoisted_1$Y = {
|
|
4867
4867
|
key: 0,
|
|
4868
4868
|
class: "field-action"
|
|
4869
4869
|
};
|
|
@@ -4892,7 +4892,7 @@ function _sfc_render$3E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4892
4892
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
4893
4893
|
], 6)) : createCommentVNode("", true),
|
|
4894
4894
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
4895
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4895
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
4896
4896
|
createElementVNode("i", {
|
|
4897
4897
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
4898
4898
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
@@ -11309,7 +11309,7 @@ const _sfc_main$3C = {
|
|
|
11309
11309
|
}
|
|
11310
11310
|
}
|
|
11311
11311
|
};
|
|
11312
|
-
const _hoisted_1$
|
|
11312
|
+
const _hoisted_1$X = {
|
|
11313
11313
|
key: 0,
|
|
11314
11314
|
class: "custom-label"
|
|
11315
11315
|
};
|
|
@@ -11350,7 +11350,7 @@ function _sfc_render$3C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11350
11350
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
11351
11351
|
}, {
|
|
11352
11352
|
label: withCtx(() => [
|
|
11353
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
11353
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$X, [
|
|
11354
11354
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11355
11355
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11356
11356
|
createVNode(_component_el_tooltip, {
|
|
@@ -11521,7 +11521,7 @@ const _sfc_main$3B = {
|
|
|
11521
11521
|
},
|
|
11522
11522
|
methods: {}
|
|
11523
11523
|
};
|
|
11524
|
-
const _hoisted_1$
|
|
11524
|
+
const _hoisted_1$W = { class: "full-width-input" };
|
|
11525
11525
|
function _sfc_render$3B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11526
11526
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
11527
11527
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -11538,7 +11538,7 @@ function _sfc_render$3B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11538
11538
|
"sub-form-row-id": $props.subFormRowId
|
|
11539
11539
|
}, {
|
|
11540
11540
|
default: withCtx(() => [
|
|
11541
|
-
createElementVNode("div", _hoisted_1$
|
|
11541
|
+
createElementVNode("div", _hoisted_1$W, [
|
|
11542
11542
|
createVNode(_component_el_cascader, {
|
|
11543
11543
|
ref: "fieldEditor",
|
|
11544
11544
|
options: $props.field.options.optionItems,
|
|
@@ -12093,7 +12093,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
12093
12093
|
const _sfc_main$3v = defineComponent({
|
|
12094
12094
|
name: "ArrowDownBold"
|
|
12095
12095
|
});
|
|
12096
|
-
const _hoisted_1$
|
|
12096
|
+
const _hoisted_1$V = {
|
|
12097
12097
|
class: "icon",
|
|
12098
12098
|
width: "200",
|
|
12099
12099
|
height: "200",
|
|
@@ -12108,13 +12108,13 @@ const _hoisted_3$y = [
|
|
|
12108
12108
|
_hoisted_2$D
|
|
12109
12109
|
];
|
|
12110
12110
|
function _sfc_render$3v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12111
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12111
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$V, _hoisted_3$y);
|
|
12112
12112
|
}
|
|
12113
12113
|
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$3v, [["render", _sfc_render$3v]]);
|
|
12114
12114
|
const _sfc_main$3u = defineComponent({
|
|
12115
12115
|
name: "ArrowDown"
|
|
12116
12116
|
});
|
|
12117
|
-
const _hoisted_1$
|
|
12117
|
+
const _hoisted_1$U = {
|
|
12118
12118
|
class: "icon",
|
|
12119
12119
|
width: "200",
|
|
12120
12120
|
height: "200",
|
|
@@ -12129,13 +12129,13 @@ const _hoisted_3$x = [
|
|
|
12129
12129
|
_hoisted_2$C
|
|
12130
12130
|
];
|
|
12131
12131
|
function _sfc_render$3u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12132
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12132
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$U, _hoisted_3$x);
|
|
12133
12133
|
}
|
|
12134
12134
|
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$3u, [["render", _sfc_render$3u]]);
|
|
12135
12135
|
const _sfc_main$3t = defineComponent({
|
|
12136
12136
|
name: "ArrowUp"
|
|
12137
12137
|
});
|
|
12138
|
-
const _hoisted_1$
|
|
12138
|
+
const _hoisted_1$T = {
|
|
12139
12139
|
class: "icon",
|
|
12140
12140
|
width: "200",
|
|
12141
12141
|
height: "200",
|
|
@@ -12150,13 +12150,13 @@ const _hoisted_3$w = [
|
|
|
12150
12150
|
_hoisted_2$B
|
|
12151
12151
|
];
|
|
12152
12152
|
function _sfc_render$3t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12153
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12153
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$T, _hoisted_3$w);
|
|
12154
12154
|
}
|
|
12155
12155
|
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$3t, [["render", _sfc_render$3t]]);
|
|
12156
12156
|
const _sfc_main$3s = defineComponent({
|
|
12157
12157
|
name: "CirclePlus"
|
|
12158
12158
|
});
|
|
12159
|
-
const _hoisted_1$
|
|
12159
|
+
const _hoisted_1$S = {
|
|
12160
12160
|
class: "icon",
|
|
12161
12161
|
width: "200",
|
|
12162
12162
|
height: "200",
|
|
@@ -12181,13 +12181,13 @@ const _hoisted_5$i = [
|
|
|
12181
12181
|
_hoisted_4$m
|
|
12182
12182
|
];
|
|
12183
12183
|
function _sfc_render$3s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12184
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12184
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$S, _hoisted_5$i);
|
|
12185
12185
|
}
|
|
12186
12186
|
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$3s, [["render", _sfc_render$3s]]);
|
|
12187
12187
|
const _sfc_main$3r = defineComponent({
|
|
12188
12188
|
name: "Delete"
|
|
12189
12189
|
});
|
|
12190
|
-
const _hoisted_1$
|
|
12190
|
+
const _hoisted_1$R = {
|
|
12191
12191
|
class: "icon",
|
|
12192
12192
|
width: "200",
|
|
12193
12193
|
height: "200",
|
|
@@ -12202,13 +12202,13 @@ const _hoisted_3$u = [
|
|
|
12202
12202
|
_hoisted_2$z
|
|
12203
12203
|
];
|
|
12204
12204
|
function _sfc_render$3r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12205
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12205
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$R, _hoisted_3$u);
|
|
12206
12206
|
}
|
|
12207
12207
|
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$3r, [["render", _sfc_render$3r]]);
|
|
12208
12208
|
const _sfc_main$3q = defineComponent({
|
|
12209
12209
|
name: "Edit"
|
|
12210
12210
|
});
|
|
12211
|
-
const _hoisted_1$
|
|
12211
|
+
const _hoisted_1$Q = {
|
|
12212
12212
|
class: "icon",
|
|
12213
12213
|
width: "200",
|
|
12214
12214
|
height: "200",
|
|
@@ -12228,13 +12228,13 @@ const _hoisted_4$l = [
|
|
|
12228
12228
|
_hoisted_3$t
|
|
12229
12229
|
];
|
|
12230
12230
|
function _sfc_render$3q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12231
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12231
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$Q, _hoisted_4$l);
|
|
12232
12232
|
}
|
|
12233
12233
|
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$3q, [["render", _sfc_render$3q]]);
|
|
12234
12234
|
const _sfc_main$3p = defineComponent({
|
|
12235
12235
|
name: "InfoFilled"
|
|
12236
12236
|
});
|
|
12237
|
-
const _hoisted_1$
|
|
12237
|
+
const _hoisted_1$P = {
|
|
12238
12238
|
class: "icon",
|
|
12239
12239
|
width: "200",
|
|
12240
12240
|
height: "200",
|
|
@@ -12249,13 +12249,13 @@ const _hoisted_3$s = [
|
|
|
12249
12249
|
_hoisted_2$x
|
|
12250
12250
|
];
|
|
12251
12251
|
function _sfc_render$3p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12252
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12252
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$P, _hoisted_3$s);
|
|
12253
12253
|
}
|
|
12254
12254
|
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$3p, [["render", _sfc_render$3p]]);
|
|
12255
12255
|
const _sfc_main$3o = defineComponent({
|
|
12256
12256
|
name: "Loading"
|
|
12257
12257
|
});
|
|
12258
|
-
const _hoisted_1$
|
|
12258
|
+
const _hoisted_1$O = {
|
|
12259
12259
|
class: "icon",
|
|
12260
12260
|
width: "200",
|
|
12261
12261
|
height: "200",
|
|
@@ -12270,13 +12270,13 @@ const _hoisted_3$r = [
|
|
|
12270
12270
|
_hoisted_2$w
|
|
12271
12271
|
];
|
|
12272
12272
|
function _sfc_render$3o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12273
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12273
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$O, _hoisted_3$r);
|
|
12274
12274
|
}
|
|
12275
12275
|
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$3o, [["render", _sfc_render$3o]]);
|
|
12276
12276
|
const _sfc_main$3n = defineComponent({
|
|
12277
12277
|
name: "Minus"
|
|
12278
12278
|
});
|
|
12279
|
-
const _hoisted_1$
|
|
12279
|
+
const _hoisted_1$N = {
|
|
12280
12280
|
class: "icon",
|
|
12281
12281
|
width: "200",
|
|
12282
12282
|
height: "200",
|
|
@@ -12291,13 +12291,13 @@ const _hoisted_3$q = [
|
|
|
12291
12291
|
_hoisted_2$v
|
|
12292
12292
|
];
|
|
12293
12293
|
function _sfc_render$3n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12294
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12294
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$N, _hoisted_3$q);
|
|
12295
12295
|
}
|
|
12296
12296
|
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$3n, [["render", _sfc_render$3n]]);
|
|
12297
12297
|
const _sfc_main$3m = defineComponent({
|
|
12298
12298
|
name: "Plus"
|
|
12299
12299
|
});
|
|
12300
|
-
const _hoisted_1$
|
|
12300
|
+
const _hoisted_1$M = {
|
|
12301
12301
|
class: "icon",
|
|
12302
12302
|
width: "200",
|
|
12303
12303
|
height: "200",
|
|
@@ -12312,13 +12312,13 @@ const _hoisted_3$p = [
|
|
|
12312
12312
|
_hoisted_2$u
|
|
12313
12313
|
];
|
|
12314
12314
|
function _sfc_render$3m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12315
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12315
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$M, _hoisted_3$p);
|
|
12316
12316
|
}
|
|
12317
12317
|
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$3m, [["render", _sfc_render$3m]]);
|
|
12318
12318
|
const _sfc_main$3l = defineComponent({
|
|
12319
12319
|
name: "Search"
|
|
12320
12320
|
});
|
|
12321
|
-
const _hoisted_1$
|
|
12321
|
+
const _hoisted_1$L = {
|
|
12322
12322
|
class: "icon",
|
|
12323
12323
|
width: "200",
|
|
12324
12324
|
height: "200",
|
|
@@ -12333,7 +12333,7 @@ const _hoisted_3$o = [
|
|
|
12333
12333
|
_hoisted_2$t
|
|
12334
12334
|
];
|
|
12335
12335
|
function _sfc_render$3l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12336
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
12336
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_3$o);
|
|
12337
12337
|
}
|
|
12338
12338
|
var search = /* @__PURE__ */ _export_sfc(_sfc_main$3l, [["render", _sfc_render$3l]]);
|
|
12339
12339
|
var defaultConfig = {
|
|
@@ -12816,7 +12816,7 @@ const _sfc_main$3k = {
|
|
|
12816
12816
|
}
|
|
12817
12817
|
}
|
|
12818
12818
|
};
|
|
12819
|
-
const _hoisted_1$
|
|
12819
|
+
const _hoisted_1$K = { class: "file-upload-widget-container" };
|
|
12820
12820
|
const _hoisted_2$s = {
|
|
12821
12821
|
key: 0,
|
|
12822
12822
|
class: "no-data-wrap"
|
|
@@ -12853,7 +12853,7 @@ function _sfc_render$3k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12853
12853
|
"sub-form-row-id": $props.subFormRowId
|
|
12854
12854
|
}, {
|
|
12855
12855
|
default: withCtx(() => [
|
|
12856
|
-
createElementVNode("div", _hoisted_1$
|
|
12856
|
+
createElementVNode("div", _hoisted_1$K, [
|
|
12857
12857
|
_ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$s, " \u6682\u65E0\u6570\u636E ")) : createCommentVNode("", true),
|
|
12858
12858
|
createVNode(_component_el_upload, {
|
|
12859
12859
|
ref: "fieldEditor",
|
|
@@ -13005,7 +13005,7 @@ const _sfc_main$3j = {
|
|
|
13005
13005
|
},
|
|
13006
13006
|
methods: {}
|
|
13007
13007
|
};
|
|
13008
|
-
const _hoisted_1$
|
|
13008
|
+
const _hoisted_1$J = ["innerHTML"];
|
|
13009
13009
|
function _sfc_render$3j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13010
13010
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
13011
13011
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -13023,7 +13023,7 @@ function _sfc_render$3j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13023
13023
|
createElementVNode("div", {
|
|
13024
13024
|
ref: "fieldEditor",
|
|
13025
13025
|
innerHTML: $props.field.options.htmlContent
|
|
13026
|
-
}, null, 8, _hoisted_1$
|
|
13026
|
+
}, null, 8, _hoisted_1$J)
|
|
13027
13027
|
]),
|
|
13028
13028
|
_: 1
|
|
13029
13029
|
}, 8, ["designer", "field", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
@@ -13034,6 +13034,7 @@ var __glob_0_9$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
13034
13034
|
"default": htmlTextWidget
|
|
13035
13035
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13036
13036
|
var inputWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13037
|
+
var inputWidget_vue_vue_type_style_index_1_lang = "";
|
|
13037
13038
|
const _sfc_main$3i = {
|
|
13038
13039
|
name: "input-widget",
|
|
13039
13040
|
componentName: "FieldWidget",
|
|
@@ -13078,6 +13079,9 @@ const _sfc_main$3i = {
|
|
|
13078
13079
|
return "text";
|
|
13079
13080
|
}
|
|
13080
13081
|
return this.field.options.type;
|
|
13082
|
+
},
|
|
13083
|
+
showDisabledTooltip() {
|
|
13084
|
+
return this.getDisabled();
|
|
13081
13085
|
}
|
|
13082
13086
|
},
|
|
13083
13087
|
beforeCreate() {
|
|
@@ -13097,10 +13101,12 @@ const _sfc_main$3i = {
|
|
|
13097
13101
|
},
|
|
13098
13102
|
methods: {}
|
|
13099
13103
|
};
|
|
13104
|
+
const _hoisted_1$I = { class: "input-disabled-tooltip-wrap" };
|
|
13100
13105
|
function _sfc_render$3i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13101
13106
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
13102
13107
|
const _component_el_button = resolveComponent("el-button");
|
|
13103
13108
|
const _component_el_input = resolveComponent("el-input");
|
|
13109
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
13104
13110
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
13105
13111
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
13106
13112
|
designer: $props.designer,
|
|
@@ -13115,51 +13121,64 @@ function _sfc_render$3i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13115
13121
|
"sub-form-row-id": $props.subFormRowId
|
|
13116
13122
|
}, {
|
|
13117
13123
|
default: withCtx(() => [
|
|
13118
|
-
createVNode(
|
|
13119
|
-
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13124
|
+
createVNode(_component_el_tooltip, {
|
|
13125
|
+
content: $data.fieldModel,
|
|
13126
|
+
disabled: !$options.showDisabledTooltip,
|
|
13127
|
+
effect: "dark",
|
|
13128
|
+
placement: "top",
|
|
13129
|
+
"popper-class": "input-disabled-tooltip-popper"
|
|
13130
|
+
}, {
|
|
13131
|
+
default: withCtx(() => [
|
|
13132
|
+
createElementVNode("span", _hoisted_1$I, [
|
|
13133
|
+
createVNode(_component_el_input, {
|
|
13134
|
+
ref: "fieldEditor",
|
|
13135
|
+
modelValue: $data.fieldModel,
|
|
13136
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
13137
|
+
disabled: _ctx.getDisabled(),
|
|
13138
|
+
readonly: $props.field.options.readonly,
|
|
13139
|
+
size: _ctx.widgetSize,
|
|
13140
|
+
class: "hide-spin-button",
|
|
13141
|
+
type: $options.inputType,
|
|
13142
|
+
"show-password": $props.field.options.showPassword,
|
|
13143
|
+
placeholder: $props.field.options.placeholder,
|
|
13144
|
+
clearable: $props.field.options.clearable,
|
|
13145
|
+
minlength: $props.field.options.minLength,
|
|
13146
|
+
maxlength: $props.field.options.maxLength,
|
|
13147
|
+
"show-word-limit": $props.field.options.showWordLimit,
|
|
13148
|
+
"prefix-icon": $props.field.options.prefixIcon,
|
|
13149
|
+
"suffix-icon": $props.field.options.suffixIcon,
|
|
13150
|
+
onFocus: _ctx.handleFocusCustomEvent,
|
|
13151
|
+
onBlur: _ctx.handleBlurCustomEvent,
|
|
13152
|
+
onInput: _ctx.handleInputCustomEvent,
|
|
13153
|
+
onChange: _ctx.handleChangeEvent
|
|
13154
|
+
}, createSlots({ _: 2 }, [
|
|
13155
|
+
$props.field.options.appendButton ? {
|
|
13156
|
+
name: "append",
|
|
13157
|
+
fn: withCtx(() => [
|
|
13158
|
+
createVNode(_component_el_button, {
|
|
13159
|
+
disabled: _ctx.getDisabled() || $props.field.options.appendButtonDisabled,
|
|
13160
|
+
onClick: _ctx.emitAppendButtonClick
|
|
13161
|
+
}, {
|
|
13162
|
+
default: withCtx(() => [
|
|
13163
|
+
createVNode(_component_svg_icon, {
|
|
13164
|
+
"icon-class": $props.field.options.buttonIcon
|
|
13165
|
+
}, null, 8, ["icon-class"])
|
|
13166
|
+
]),
|
|
13167
|
+
_: 1
|
|
13168
|
+
}, 8, ["disabled", "onClick"])
|
|
13169
|
+
]),
|
|
13170
|
+
key: "0"
|
|
13171
|
+
} : void 0
|
|
13172
|
+
]), 1032, ["modelValue", "disabled", "readonly", "size", "type", "show-password", "placeholder", "clearable", "minlength", "maxlength", "show-word-limit", "prefix-icon", "suffix-icon", "onFocus", "onBlur", "onInput", "onChange"])
|
|
13173
|
+
])
|
|
13174
|
+
]),
|
|
13175
|
+
_: 1
|
|
13176
|
+
}, 8, ["content", "disabled"])
|
|
13158
13177
|
]),
|
|
13159
13178
|
_: 1
|
|
13160
13179
|
}, 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"]);
|
|
13161
13180
|
}
|
|
13162
|
-
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3i, [["render", _sfc_render$3i], ["__scopeId", "data-v-
|
|
13181
|
+
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3i, [["render", _sfc_render$3i], ["__scopeId", "data-v-a879d020"]]);
|
|
13163
13182
|
var __glob_0_10$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13164
13183
|
__proto__: null,
|
|
13165
13184
|
"default": inputWidget
|
|
@@ -69012,13 +69031,13 @@ function registerIcon(app) {
|
|
|
69012
69031
|
if (typeof window !== "undefined") {
|
|
69013
69032
|
let loadSvg = function() {
|
|
69014
69033
|
var body = document.body;
|
|
69015
|
-
var svgDom = document.getElementById("
|
|
69034
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780040094066__");
|
|
69016
69035
|
if (!svgDom) {
|
|
69017
69036
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69018
69037
|
svgDom.style.position = "absolute";
|
|
69019
69038
|
svgDom.style.width = "0";
|
|
69020
69039
|
svgDom.style.height = "0";
|
|
69021
|
-
svgDom.id = "
|
|
69040
|
+
svgDom.id = "__svg__icons__dom__1780040094066__";
|
|
69022
69041
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69023
69042
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69024
69043
|
}
|