form-custom-test 3.0.173 → 3.0.174
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 +96 -79
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +3 -3
- package/dist/render.es.js +94 -77
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +3 -3
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -2161,14 +2161,14 @@ const _sfc_main$1f = {
|
|
|
2161
2161
|
}
|
|
2162
2162
|
}
|
|
2163
2163
|
};
|
|
2164
|
-
const _hoisted_1$
|
|
2164
|
+
const _hoisted_1$O = ["xlink:href"];
|
|
2165
2165
|
const _hoisted_2$B = { key: 0 };
|
|
2166
2166
|
function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2167
2167
|
return openBlock(), createElementBlock("svg", {
|
|
2168
2168
|
class: normalizeClass($options.svgClass),
|
|
2169
2169
|
"aria-hidden": "true"
|
|
2170
2170
|
}, [
|
|
2171
|
-
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$
|
|
2171
|
+
createElementVNode("use", { "xlink:href": $options.iconName }, null, 8, _hoisted_1$O),
|
|
2172
2172
|
!!$props.title ? (openBlock(), createElementBlock("title", _hoisted_2$B, toDisplayString($props.title), 1)) : createCommentVNode("", true)
|
|
2173
2173
|
], 2);
|
|
2174
2174
|
}
|
|
@@ -2260,7 +2260,7 @@ const _sfc_main$1e = {
|
|
|
2260
2260
|
}
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
|
-
const _hoisted_1$
|
|
2263
|
+
const _hoisted_1$N = {
|
|
2264
2264
|
key: 0,
|
|
2265
2265
|
class: "field-action"
|
|
2266
2266
|
};
|
|
@@ -2289,7 +2289,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2289
2289
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2290
2290
|
], 6)) : createCommentVNode("", true),
|
|
2291
2291
|
!!this.designer ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
2292
|
-
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2292
|
+
$props.designer.selectedId === $props.field.id ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
2293
2293
|
createElementVNode("i", {
|
|
2294
2294
|
title: _ctx.i18nt("designer.hint.selectParentWidget"),
|
|
2295
2295
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => $options.selectParentWidget($props.field), ["stop"]))
|
|
@@ -9460,7 +9460,7 @@ const _sfc_main$1c = {
|
|
|
9460
9460
|
}
|
|
9461
9461
|
}
|
|
9462
9462
|
};
|
|
9463
|
-
const _hoisted_1$
|
|
9463
|
+
const _hoisted_1$M = {
|
|
9464
9464
|
key: 0,
|
|
9465
9465
|
class: "custom-label"
|
|
9466
9466
|
};
|
|
@@ -9501,7 +9501,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9501
9501
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => $options.selectField($props.field), ["stop"]))
|
|
9502
9502
|
}, {
|
|
9503
9503
|
label: withCtx(() => [
|
|
9504
|
-
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
9504
|
+
!!$props.field.options.labelIconClass ? (openBlock(), createElementBlock("span", _hoisted_1$M, [
|
|
9505
9505
|
$props.field.options.labelIconPosition === "front" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9506
9506
|
!!$props.field.options.labelTooltip ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
9507
9507
|
createVNode(_component_el_tooltip, {
|
|
@@ -9672,7 +9672,7 @@ const _sfc_main$1b = {
|
|
|
9672
9672
|
},
|
|
9673
9673
|
methods: {}
|
|
9674
9674
|
};
|
|
9675
|
-
const _hoisted_1$
|
|
9675
|
+
const _hoisted_1$L = { class: "full-width-input" };
|
|
9676
9676
|
function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9677
9677
|
const _component_el_cascader = resolveComponent("el-cascader");
|
|
9678
9678
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -9689,7 +9689,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9689
9689
|
"sub-form-row-id": $props.subFormRowId
|
|
9690
9690
|
}, {
|
|
9691
9691
|
default: withCtx(() => [
|
|
9692
|
-
createElementVNode("div", _hoisted_1$
|
|
9692
|
+
createElementVNode("div", _hoisted_1$L, [
|
|
9693
9693
|
createVNode(_component_el_cascader, {
|
|
9694
9694
|
ref: "fieldEditor",
|
|
9695
9695
|
options: $props.field.options.optionItems,
|
|
@@ -10244,7 +10244,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
10244
10244
|
const _sfc_main$15 = defineComponent({
|
|
10245
10245
|
name: "ArrowDownBold"
|
|
10246
10246
|
});
|
|
10247
|
-
const _hoisted_1$
|
|
10247
|
+
const _hoisted_1$K = {
|
|
10248
10248
|
class: "icon",
|
|
10249
10249
|
width: "200",
|
|
10250
10250
|
height: "200",
|
|
@@ -10259,13 +10259,13 @@ const _hoisted_3$u = [
|
|
|
10259
10259
|
_hoisted_2$y
|
|
10260
10260
|
];
|
|
10261
10261
|
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10262
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10262
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$K, _hoisted_3$u);
|
|
10263
10263
|
}
|
|
10264
10264
|
var arrowDownBold = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$15]]);
|
|
10265
10265
|
const _sfc_main$14 = defineComponent({
|
|
10266
10266
|
name: "ArrowDown"
|
|
10267
10267
|
});
|
|
10268
|
-
const _hoisted_1$
|
|
10268
|
+
const _hoisted_1$J = {
|
|
10269
10269
|
class: "icon",
|
|
10270
10270
|
width: "200",
|
|
10271
10271
|
height: "200",
|
|
@@ -10280,13 +10280,13 @@ const _hoisted_3$t = [
|
|
|
10280
10280
|
_hoisted_2$x
|
|
10281
10281
|
];
|
|
10282
10282
|
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10283
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10283
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_3$t);
|
|
10284
10284
|
}
|
|
10285
10285
|
var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$14]]);
|
|
10286
10286
|
const _sfc_main$13 = defineComponent({
|
|
10287
10287
|
name: "ArrowUp"
|
|
10288
10288
|
});
|
|
10289
|
-
const _hoisted_1$
|
|
10289
|
+
const _hoisted_1$I = {
|
|
10290
10290
|
class: "icon",
|
|
10291
10291
|
width: "200",
|
|
10292
10292
|
height: "200",
|
|
@@ -10301,13 +10301,13 @@ const _hoisted_3$s = [
|
|
|
10301
10301
|
_hoisted_2$w
|
|
10302
10302
|
];
|
|
10303
10303
|
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10304
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10304
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_3$s);
|
|
10305
10305
|
}
|
|
10306
10306
|
var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$13]]);
|
|
10307
10307
|
const _sfc_main$12 = defineComponent({
|
|
10308
10308
|
name: "CirclePlus"
|
|
10309
10309
|
});
|
|
10310
|
-
const _hoisted_1$
|
|
10310
|
+
const _hoisted_1$H = {
|
|
10311
10311
|
class: "icon",
|
|
10312
10312
|
width: "200",
|
|
10313
10313
|
height: "200",
|
|
@@ -10332,13 +10332,13 @@ const _hoisted_5$f = [
|
|
|
10332
10332
|
_hoisted_4$i
|
|
10333
10333
|
];
|
|
10334
10334
|
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10335
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10335
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_5$f);
|
|
10336
10336
|
}
|
|
10337
10337
|
var circlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$12]]);
|
|
10338
10338
|
const _sfc_main$11 = defineComponent({
|
|
10339
10339
|
name: "Delete"
|
|
10340
10340
|
});
|
|
10341
|
-
const _hoisted_1$
|
|
10341
|
+
const _hoisted_1$G = {
|
|
10342
10342
|
class: "icon",
|
|
10343
10343
|
width: "200",
|
|
10344
10344
|
height: "200",
|
|
@@ -10353,13 +10353,13 @@ const _hoisted_3$q = [
|
|
|
10353
10353
|
_hoisted_2$u
|
|
10354
10354
|
];
|
|
10355
10355
|
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10356
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10356
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_3$q);
|
|
10357
10357
|
}
|
|
10358
10358
|
var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$11]]);
|
|
10359
10359
|
const _sfc_main$10 = defineComponent({
|
|
10360
10360
|
name: "Edit"
|
|
10361
10361
|
});
|
|
10362
|
-
const _hoisted_1$
|
|
10362
|
+
const _hoisted_1$F = {
|
|
10363
10363
|
class: "icon",
|
|
10364
10364
|
width: "200",
|
|
10365
10365
|
height: "200",
|
|
@@ -10379,13 +10379,13 @@ const _hoisted_4$h = [
|
|
|
10379
10379
|
_hoisted_3$p
|
|
10380
10380
|
];
|
|
10381
10381
|
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10382
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10382
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_4$h);
|
|
10383
10383
|
}
|
|
10384
10384
|
var edit = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$10]]);
|
|
10385
10385
|
const _sfc_main$$ = defineComponent({
|
|
10386
10386
|
name: "InfoFilled"
|
|
10387
10387
|
});
|
|
10388
|
-
const _hoisted_1$
|
|
10388
|
+
const _hoisted_1$E = {
|
|
10389
10389
|
class: "icon",
|
|
10390
10390
|
width: "200",
|
|
10391
10391
|
height: "200",
|
|
@@ -10400,13 +10400,13 @@ const _hoisted_3$o = [
|
|
|
10400
10400
|
_hoisted_2$s
|
|
10401
10401
|
];
|
|
10402
10402
|
function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10403
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10403
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_3$o);
|
|
10404
10404
|
}
|
|
10405
10405
|
var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$$]]);
|
|
10406
10406
|
const _sfc_main$_ = defineComponent({
|
|
10407
10407
|
name: "Loading"
|
|
10408
10408
|
});
|
|
10409
|
-
const _hoisted_1$
|
|
10409
|
+
const _hoisted_1$D = {
|
|
10410
10410
|
class: "icon",
|
|
10411
10411
|
width: "200",
|
|
10412
10412
|
height: "200",
|
|
@@ -10421,13 +10421,13 @@ const _hoisted_3$n = [
|
|
|
10421
10421
|
_hoisted_2$r
|
|
10422
10422
|
];
|
|
10423
10423
|
function _sfc_render$_(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10424
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10424
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_3$n);
|
|
10425
10425
|
}
|
|
10426
10426
|
var loading = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$_]]);
|
|
10427
10427
|
const _sfc_main$Z = defineComponent({
|
|
10428
10428
|
name: "Minus"
|
|
10429
10429
|
});
|
|
10430
|
-
const _hoisted_1$
|
|
10430
|
+
const _hoisted_1$C = {
|
|
10431
10431
|
class: "icon",
|
|
10432
10432
|
width: "200",
|
|
10433
10433
|
height: "200",
|
|
@@ -10442,13 +10442,13 @@ const _hoisted_3$m = [
|
|
|
10442
10442
|
_hoisted_2$q
|
|
10443
10443
|
];
|
|
10444
10444
|
function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10445
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10445
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_3$m);
|
|
10446
10446
|
}
|
|
10447
10447
|
var minus = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Z]]);
|
|
10448
10448
|
const _sfc_main$Y = defineComponent({
|
|
10449
10449
|
name: "Plus"
|
|
10450
10450
|
});
|
|
10451
|
-
const _hoisted_1$
|
|
10451
|
+
const _hoisted_1$B = {
|
|
10452
10452
|
class: "icon",
|
|
10453
10453
|
width: "200",
|
|
10454
10454
|
height: "200",
|
|
@@ -10463,13 +10463,13 @@ const _hoisted_3$l = [
|
|
|
10463
10463
|
_hoisted_2$p
|
|
10464
10464
|
];
|
|
10465
10465
|
function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10466
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10466
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_3$l);
|
|
10467
10467
|
}
|
|
10468
10468
|
var plus = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$Y]]);
|
|
10469
10469
|
const _sfc_main$X = defineComponent({
|
|
10470
10470
|
name: "Search"
|
|
10471
10471
|
});
|
|
10472
|
-
const _hoisted_1$
|
|
10472
|
+
const _hoisted_1$A = {
|
|
10473
10473
|
class: "icon",
|
|
10474
10474
|
width: "200",
|
|
10475
10475
|
height: "200",
|
|
@@ -10484,7 +10484,7 @@ const _hoisted_3$k = [
|
|
|
10484
10484
|
_hoisted_2$o
|
|
10485
10485
|
];
|
|
10486
10486
|
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10487
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
10487
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_3$k);
|
|
10488
10488
|
}
|
|
10489
10489
|
var search = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$X]]);
|
|
10490
10490
|
var defaultConfig = {
|
|
@@ -10967,7 +10967,7 @@ const _sfc_main$W = {
|
|
|
10967
10967
|
}
|
|
10968
10968
|
}
|
|
10969
10969
|
};
|
|
10970
|
-
const _hoisted_1$
|
|
10970
|
+
const _hoisted_1$z = { class: "file-upload-widget-container" };
|
|
10971
10971
|
const _hoisted_2$n = {
|
|
10972
10972
|
key: 0,
|
|
10973
10973
|
class: "no-data-wrap"
|
|
@@ -11004,7 +11004,7 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11004
11004
|
"sub-form-row-id": $props.subFormRowId
|
|
11005
11005
|
}, {
|
|
11006
11006
|
default: withCtx(() => [
|
|
11007
|
-
createElementVNode("div", _hoisted_1$
|
|
11007
|
+
createElementVNode("div", _hoisted_1$z, [
|
|
11008
11008
|
_ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$n, " \u6682\u65E0\u6570\u636E ")) : createCommentVNode("", true),
|
|
11009
11009
|
createVNode(_component_el_upload, {
|
|
11010
11010
|
ref: "fieldEditor",
|
|
@@ -11156,7 +11156,7 @@ const _sfc_main$V = {
|
|
|
11156
11156
|
},
|
|
11157
11157
|
methods: {}
|
|
11158
11158
|
};
|
|
11159
|
-
const _hoisted_1$
|
|
11159
|
+
const _hoisted_1$y = ["innerHTML"];
|
|
11160
11160
|
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11161
11161
|
const _component_static_content_wrapper = resolveComponent("static-content-wrapper");
|
|
11162
11162
|
return openBlock(), createBlock(_component_static_content_wrapper, {
|
|
@@ -11174,7 +11174,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11174
11174
|
createElementVNode("div", {
|
|
11175
11175
|
ref: "fieldEditor",
|
|
11176
11176
|
innerHTML: $props.field.options.htmlContent
|
|
11177
|
-
}, null, 8, _hoisted_1$
|
|
11177
|
+
}, null, 8, _hoisted_1$y)
|
|
11178
11178
|
]),
|
|
11179
11179
|
_: 1
|
|
11180
11180
|
}, 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"]);
|
|
@@ -11229,6 +11229,9 @@ const _sfc_main$U = {
|
|
|
11229
11229
|
return "text";
|
|
11230
11230
|
}
|
|
11231
11231
|
return this.field.options.type;
|
|
11232
|
+
},
|
|
11233
|
+
showDisabledTooltip() {
|
|
11234
|
+
return this.getDisabled();
|
|
11232
11235
|
}
|
|
11233
11236
|
},
|
|
11234
11237
|
beforeCreate() {
|
|
@@ -11248,10 +11251,12 @@ const _sfc_main$U = {
|
|
|
11248
11251
|
},
|
|
11249
11252
|
methods: {}
|
|
11250
11253
|
};
|
|
11254
|
+
const _hoisted_1$x = { class: "input-disabled-tooltip-wrap" };
|
|
11251
11255
|
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11252
11256
|
const _component_svg_icon = resolveComponent("svg-icon");
|
|
11253
11257
|
const _component_el_button = resolveComponent("el-button");
|
|
11254
11258
|
const _component_el_input = resolveComponent("el-input");
|
|
11259
|
+
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
11255
11260
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
11256
11261
|
return openBlock(), createBlock(_component_form_item_wrapper, {
|
|
11257
11262
|
designer: $props.designer,
|
|
@@ -11266,51 +11271,63 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11266
11271
|
"sub-form-row-id": $props.subFormRowId
|
|
11267
11272
|
}, {
|
|
11268
11273
|
default: withCtx(() => [
|
|
11269
|
-
createVNode(
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
|
|
11274
|
-
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
-
|
|
11280
|
-
|
|
11281
|
-
|
|
11282
|
-
|
|
11283
|
-
|
|
11284
|
-
|
|
11285
|
-
|
|
11286
|
-
|
|
11287
|
-
|
|
11288
|
-
|
|
11289
|
-
|
|
11290
|
-
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
|
|
11307
|
-
|
|
11308
|
-
|
|
11274
|
+
createVNode(_component_el_tooltip, {
|
|
11275
|
+
content: $data.fieldModel,
|
|
11276
|
+
disabled: !$options.showDisabledTooltip,
|
|
11277
|
+
effect: "dark",
|
|
11278
|
+
placement: "top"
|
|
11279
|
+
}, {
|
|
11280
|
+
default: withCtx(() => [
|
|
11281
|
+
createElementVNode("span", _hoisted_1$x, [
|
|
11282
|
+
createVNode(_component_el_input, {
|
|
11283
|
+
ref: "fieldEditor",
|
|
11284
|
+
modelValue: $data.fieldModel,
|
|
11285
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.fieldModel = $event),
|
|
11286
|
+
disabled: _ctx.getDisabled(),
|
|
11287
|
+
readonly: $props.field.options.readonly,
|
|
11288
|
+
size: _ctx.widgetSize,
|
|
11289
|
+
class: "hide-spin-button",
|
|
11290
|
+
type: $options.inputType,
|
|
11291
|
+
"show-password": $props.field.options.showPassword,
|
|
11292
|
+
placeholder: $props.field.options.placeholder,
|
|
11293
|
+
clearable: $props.field.options.clearable,
|
|
11294
|
+
minlength: $props.field.options.minLength,
|
|
11295
|
+
maxlength: $props.field.options.maxLength,
|
|
11296
|
+
"show-word-limit": $props.field.options.showWordLimit,
|
|
11297
|
+
"prefix-icon": $props.field.options.prefixIcon,
|
|
11298
|
+
"suffix-icon": $props.field.options.suffixIcon,
|
|
11299
|
+
onFocus: _ctx.handleFocusCustomEvent,
|
|
11300
|
+
onBlur: _ctx.handleBlurCustomEvent,
|
|
11301
|
+
onInput: _ctx.handleInputCustomEvent,
|
|
11302
|
+
onChange: _ctx.handleChangeEvent
|
|
11303
|
+
}, createSlots({ _: 2 }, [
|
|
11304
|
+
$props.field.options.appendButton ? {
|
|
11305
|
+
name: "append",
|
|
11306
|
+
fn: withCtx(() => [
|
|
11307
|
+
createVNode(_component_el_button, {
|
|
11308
|
+
disabled: _ctx.getDisabled() || $props.field.options.appendButtonDisabled,
|
|
11309
|
+
onClick: _ctx.emitAppendButtonClick
|
|
11310
|
+
}, {
|
|
11311
|
+
default: withCtx(() => [
|
|
11312
|
+
createVNode(_component_svg_icon, {
|
|
11313
|
+
"icon-class": $props.field.options.buttonIcon
|
|
11314
|
+
}, null, 8, ["icon-class"])
|
|
11315
|
+
]),
|
|
11316
|
+
_: 1
|
|
11317
|
+
}, 8, ["disabled", "onClick"])
|
|
11318
|
+
]),
|
|
11319
|
+
key: "0"
|
|
11320
|
+
} : void 0
|
|
11321
|
+
]), 1032, ["modelValue", "disabled", "readonly", "size", "type", "show-password", "placeholder", "clearable", "minlength", "maxlength", "show-word-limit", "prefix-icon", "suffix-icon", "onFocus", "onBlur", "onInput", "onChange"])
|
|
11322
|
+
])
|
|
11323
|
+
]),
|
|
11324
|
+
_: 1
|
|
11325
|
+
}, 8, ["content", "disabled"])
|
|
11309
11326
|
]),
|
|
11310
11327
|
_: 1
|
|
11311
11328
|
}, 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"]);
|
|
11312
11329
|
}
|
|
11313
|
-
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-
|
|
11330
|
+
var inputWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$U], ["__scopeId", "data-v-67ada1cc"]]);
|
|
11314
11331
|
var __glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11315
11332
|
__proto__: null,
|
|
11316
11333
|
"default": inputWidget
|
|
@@ -26492,13 +26509,13 @@ function registerIcon(app) {
|
|
|
26492
26509
|
if (typeof window !== "undefined") {
|
|
26493
26510
|
let loadSvg = function() {
|
|
26494
26511
|
var body = document.body;
|
|
26495
|
-
var svgDom = document.getElementById("
|
|
26512
|
+
var svgDom = document.getElementById("__svg__icons__dom__1780039538194__");
|
|
26496
26513
|
if (!svgDom) {
|
|
26497
26514
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26498
26515
|
svgDom.style.position = "absolute";
|
|
26499
26516
|
svgDom.style.width = "0";
|
|
26500
26517
|
svgDom.style.height = "0";
|
|
26501
|
-
svgDom.id = "
|
|
26518
|
+
svgDom.id = "__svg__icons__dom__1780039538194__";
|
|
26502
26519
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26503
26520
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26504
26521
|
}
|