@form-create/element-ui 3.1.1 → 3.1.2
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/auto-import.js +0 -14
- package/dist/form-create.esm.js +247 -22
- package/dist/form-create.esm.min.js +2 -2
- package/dist/form-create.js +246 -21
- package/dist/form-create.min.js +2 -2
- package/package.json +13 -13
- package/src/components/icon/IconWarning.vue +12 -0
- package/src/components/index.js +2 -0
- package/src/core/manager.js +1 -1
package/dist/form-create.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @form-create/element-ui v3.1.
|
|
2
|
+
* @form-create/element-ui v3.1.2
|
|
3
3
|
* (c) 2018-2022 xaboy
|
|
4
4
|
* Github https://github.com/xaboy/form-create
|
|
5
5
|
* Released under the MIT License.
|
|
@@ -346,9 +346,124 @@
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
var css_248z$2 = "._fc-frame ._fc-files img{display:inline-block;height:100%;vertical-align:top;width:100%}._fc-frame ._fc-upload-btn{border:1px dashed #c0ccda}._fc-frame ._fc-upload-cover{background:rgba(0,0,0,.6);bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}._fc-frame ._fc-upload-cover i{color:#fff;cursor:pointer;font-size:20px;margin:0 2px}._fc-frame ._fc-files:hover ._fc-upload-cover{opacity:1}._fc-frame .el-upload{display:block}._fc-frame ._fc-upload-
|
|
349
|
+
var css_248z$2 = "._fc-frame ._fc-files img{display:inline-block;height:100%;vertical-align:top;width:100%}._fc-frame ._fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-frame ._fc-upload-cover{background:rgba(0,0,0,.6);bottom:0;left:0;opacity:0;position:absolute;right:0;top:0;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}._fc-frame ._fc-upload-cover i{color:#fff;cursor:pointer;font-size:20px;margin:0 2px}._fc-frame ._fc-files:hover ._fc-upload-cover{opacity:1}._fc-frame .el-upload{display:block}._fc-frame ._fc-upload-icon{cursor:pointer}._fc-files,._fc-frame ._fc-upload-btn{background:#fff;border:1px solid #c0ccda;border-radius:4px;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,.1);box-shadow:2px 2px 5px rgba(0,0,0,.1);-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:58px;line-height:58px;margin-right:4px;overflow:hidden;position:relative;text-align:center;width:58px}";
|
|
350
350
|
styleInject(css_248z$2);
|
|
351
351
|
|
|
352
|
+
var script$8 = {
|
|
353
|
+
name: 'IconCircleClose'
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
var _hoisted_1$8 = {
|
|
357
|
+
"class": "icon",
|
|
358
|
+
viewBox: "0 0 1024 1024",
|
|
359
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
var _hoisted_2$8 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
363
|
+
fill: "currentColor",
|
|
364
|
+
d: "M466.752 512l-90.496-90.496a32 32 0 0145.248-45.248L512 466.752l90.496-90.496a32 32 0 1145.248 45.248L557.248 512l90.496 90.496a32 32 0 11-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 01-45.248-45.248L466.752 512z"
|
|
365
|
+
}, null, -1);
|
|
366
|
+
|
|
367
|
+
var _hoisted_3$8 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
368
|
+
fill: "currentColor",
|
|
369
|
+
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
370
|
+
}, null, -1);
|
|
371
|
+
|
|
372
|
+
var _hoisted_4$2 = [_hoisted_2$8, _hoisted_3$8];
|
|
373
|
+
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
374
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, _hoisted_4$2);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
script$8.render = render$8;
|
|
378
|
+
|
|
379
|
+
var script$7 = {
|
|
380
|
+
name: 'IconDocument'
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
var _hoisted_1$7 = {
|
|
384
|
+
"class": "icon",
|
|
385
|
+
viewBox: "0 0 1024 1024",
|
|
386
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
var _hoisted_2$7 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
390
|
+
fill: "currentColor",
|
|
391
|
+
d: "M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 01-32 32H160a32 32 0 01-32-32V96a32 32 0 0132-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"
|
|
392
|
+
}, null, -1);
|
|
393
|
+
|
|
394
|
+
var _hoisted_3$7 = [_hoisted_2$7];
|
|
395
|
+
function render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
396
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, _hoisted_3$7);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
script$7.render = render$7;
|
|
400
|
+
|
|
401
|
+
var script$6 = {
|
|
402
|
+
name: 'IconDelete'
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
var _hoisted_1$6 = {
|
|
406
|
+
"class": "icon",
|
|
407
|
+
viewBox: "0 0 1024 1024",
|
|
408
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
var _hoisted_2$6 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
412
|
+
fill: "currentColor",
|
|
413
|
+
d: "M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"
|
|
414
|
+
}, null, -1);
|
|
415
|
+
|
|
416
|
+
var _hoisted_3$6 = [_hoisted_2$6];
|
|
417
|
+
function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
418
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$6, _hoisted_3$6);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
script$6.render = render$6;
|
|
422
|
+
|
|
423
|
+
var script$5 = {
|
|
424
|
+
name: 'IconView'
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
var _hoisted_1$5 = {
|
|
428
|
+
"class": "icon",
|
|
429
|
+
viewBox: "0 0 1024 1024",
|
|
430
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
var _hoisted_2$5 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
434
|
+
fill: "currentColor",
|
|
435
|
+
d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 110 448 224 224 0 010-448zm0 64a160.192 160.192 0 00-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"
|
|
436
|
+
}, null, -1);
|
|
437
|
+
|
|
438
|
+
var _hoisted_3$5 = [_hoisted_2$5];
|
|
439
|
+
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
440
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$5, _hoisted_3$5);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
script$5.render = render$5;
|
|
444
|
+
|
|
445
|
+
var script$4 = {
|
|
446
|
+
name: 'IconFolderOpened'
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
var _hoisted_1$4 = {
|
|
450
|
+
"class": "icon",
|
|
451
|
+
viewBox: "0 0 1024 1024",
|
|
452
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
var _hoisted_2$4 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
456
|
+
fill: "currentColor",
|
|
457
|
+
d: "M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 01216.96 384H832zm-24.96 512H96a32 32 0 01-32-32V160a32 32 0 0132-32h287.872l128.384 128H864a32 32 0 0132 32v96h23.04a32 32 0 0131.04 39.744l-112 448A32 32 0 01807.04 896z"
|
|
458
|
+
}, null, -1);
|
|
459
|
+
|
|
460
|
+
var _hoisted_3$4 = [_hoisted_2$4];
|
|
461
|
+
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
462
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$4, _hoisted_3$4);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
script$4.render = render$4;
|
|
466
|
+
|
|
352
467
|
function _isSlot$1(s) {
|
|
353
468
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
|
|
354
469
|
}
|
|
@@ -376,7 +491,7 @@
|
|
|
376
491
|
},
|
|
377
492
|
icon: {
|
|
378
493
|
type: String,
|
|
379
|
-
"default": '
|
|
494
|
+
"default": 'IconFolderOpened'
|
|
380
495
|
},
|
|
381
496
|
width: {
|
|
382
497
|
type: String,
|
|
@@ -461,6 +576,10 @@
|
|
|
461
576
|
formCreateInject: Object
|
|
462
577
|
},
|
|
463
578
|
emits: ['update:modelValue', 'change'],
|
|
579
|
+
components: {
|
|
580
|
+
IconFolderOpened: script$4,
|
|
581
|
+
IconView: script$5
|
|
582
|
+
},
|
|
464
583
|
data: function data() {
|
|
465
584
|
return {
|
|
466
585
|
fileList: toArray(this.modelValue),
|
|
@@ -519,7 +638,7 @@
|
|
|
519
638
|
}), {
|
|
520
639
|
append: function append() {
|
|
521
640
|
return vue.createVNode(vue.resolveComponent("ElButton"), {
|
|
522
|
-
"icon": _this.icon,
|
|
641
|
+
"icon": vue.resolveComponent(_this.icon),
|
|
523
642
|
"onClick": function onClick() {
|
|
524
643
|
return _this.showModel();
|
|
525
644
|
}
|
|
@@ -527,7 +646,7 @@
|
|
|
527
646
|
},
|
|
528
647
|
suffix: function suffix() {
|
|
529
648
|
return _this.fileList.length ? vue.createVNode(vue.resolveComponent("ElIcon"), {
|
|
530
|
-
"class": "el-input__icon",
|
|
649
|
+
"class": "el-input__icon _fc-upload-icon",
|
|
531
650
|
"onClick": function onClick() {
|
|
532
651
|
_this.fileList = [];
|
|
533
652
|
|
|
@@ -535,7 +654,7 @@
|
|
|
535
654
|
}
|
|
536
655
|
}, {
|
|
537
656
|
"default": function _default() {
|
|
538
|
-
return [vue.createVNode(
|
|
657
|
+
return [vue.createVNode(script$8, null, null)];
|
|
539
658
|
}
|
|
540
659
|
}) : null;
|
|
541
660
|
}
|
|
@@ -584,7 +703,7 @@
|
|
|
584
703
|
makeHandleIcon: function makeHandleIcon(val, index) {
|
|
585
704
|
var _this2 = this;
|
|
586
705
|
|
|
587
|
-
var Type = vue.resolveComponent(this.handleIcon === true || this.handleIcon === undefined ? 'view' : this.handleIcon);
|
|
706
|
+
var Type = vue.resolveComponent(this.handleIcon === true || this.handleIcon === undefined ? 'icon-view' : this.handleIcon);
|
|
588
707
|
return vue.createVNode(vue.resolveComponent("ElIcon"), {
|
|
589
708
|
"onClick": function onClick() {
|
|
590
709
|
return _this2.handleClick(val);
|
|
@@ -606,7 +725,7 @@
|
|
|
606
725
|
"key": '6' + index
|
|
607
726
|
}, {
|
|
608
727
|
"default": function _default() {
|
|
609
|
-
return [vue.createVNode(
|
|
728
|
+
return [vue.createVNode(script$6, null, null)];
|
|
610
729
|
}
|
|
611
730
|
});
|
|
612
731
|
},
|
|
@@ -620,7 +739,7 @@
|
|
|
620
739
|
}
|
|
621
740
|
}, {
|
|
622
741
|
"default": function _default() {
|
|
623
|
-
return [vue.createVNode(
|
|
742
|
+
return [vue.createVNode(script$7, null, null)];
|
|
624
743
|
}
|
|
625
744
|
}), _this4.makeIcons(src, index)]);
|
|
626
745
|
}));
|
|
@@ -1003,6 +1122,28 @@
|
|
|
1003
1122
|
var css_248z$1 = "._fc-exceed .el-upload{display:none}";
|
|
1004
1123
|
styleInject(css_248z$1);
|
|
1005
1124
|
|
|
1125
|
+
var script$3 = {
|
|
1126
|
+
name: 'IconUpload'
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
var _hoisted_1$3 = {
|
|
1130
|
+
"class": "icon",
|
|
1131
|
+
viewBox: "0 0 1024 1024",
|
|
1132
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1133
|
+
};
|
|
1134
|
+
|
|
1135
|
+
var _hoisted_2$3 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
1136
|
+
fill: "currentColor",
|
|
1137
|
+
d: "M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"
|
|
1138
|
+
}, null, -1);
|
|
1139
|
+
|
|
1140
|
+
var _hoisted_3$3 = [_hoisted_2$3];
|
|
1141
|
+
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1142
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$3, _hoisted_3$3);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
script$3.render = render$3;
|
|
1146
|
+
|
|
1006
1147
|
function parseFile(file, i) {
|
|
1007
1148
|
return {
|
|
1008
1149
|
url: file,
|
|
@@ -1097,7 +1238,7 @@
|
|
|
1097
1238
|
"default": function _default() {
|
|
1098
1239
|
return [((_this$$slots$default = (_this$$slots = _this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)) || vue.createVNode(vue.resolveComponent("ElIcon"), null, {
|
|
1099
1240
|
"default": function _default() {
|
|
1100
|
-
return [vue.createVNode(
|
|
1241
|
+
return [vue.createVNode(script$3, null, null)];
|
|
1101
1242
|
}
|
|
1102
1243
|
})];
|
|
1103
1244
|
}
|
|
@@ -1141,6 +1282,65 @@
|
|
|
1141
1282
|
return {}.hasOwnProperty.call(rule, k);
|
|
1142
1283
|
}
|
|
1143
1284
|
|
|
1285
|
+
var script$2 = {
|
|
1286
|
+
name: 'IconCirclePlus'
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
var _hoisted_1$2 = {
|
|
1290
|
+
"class": "icon",
|
|
1291
|
+
viewBox: "0 0 1024 1024",
|
|
1292
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
var _hoisted_2$2 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
1296
|
+
fill: "currentColor",
|
|
1297
|
+
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
1298
|
+
}, null, -1);
|
|
1299
|
+
|
|
1300
|
+
var _hoisted_3$2 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
1301
|
+
fill: "currentColor",
|
|
1302
|
+
d: "M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"
|
|
1303
|
+
}, null, -1);
|
|
1304
|
+
|
|
1305
|
+
var _hoisted_4$1 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
1306
|
+
fill: "currentColor",
|
|
1307
|
+
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
1308
|
+
}, null, -1);
|
|
1309
|
+
|
|
1310
|
+
var _hoisted_5 = [_hoisted_2$2, _hoisted_3$2, _hoisted_4$1];
|
|
1311
|
+
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1312
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$2, _hoisted_5);
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
script$2.render = render$2;
|
|
1316
|
+
|
|
1317
|
+
var script$1 = {
|
|
1318
|
+
name: 'IconRemove'
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
var _hoisted_1$1 = {
|
|
1322
|
+
"class": "icon",
|
|
1323
|
+
viewBox: "0 0 1024 1024",
|
|
1324
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
var _hoisted_2$1 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
1328
|
+
fill: "currentColor",
|
|
1329
|
+
d: "M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"
|
|
1330
|
+
}, null, -1);
|
|
1331
|
+
|
|
1332
|
+
var _hoisted_3$1 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
1333
|
+
fill: "currentColor",
|
|
1334
|
+
d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
|
|
1335
|
+
}, null, -1);
|
|
1336
|
+
|
|
1337
|
+
var _hoisted_4 = [_hoisted_2$1, _hoisted_3$1];
|
|
1338
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1339
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1, _hoisted_4);
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
script$1.render = render$1;
|
|
1343
|
+
|
|
1144
1344
|
function _isSlot(s) {
|
|
1145
1345
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
|
|
1146
1346
|
}
|
|
@@ -1370,13 +1570,13 @@
|
|
|
1370
1570
|
this.input(this.modelValue);
|
|
1371
1571
|
},
|
|
1372
1572
|
addIcon: function addIcon(key) {
|
|
1373
|
-
return vue.createVNode(vue.resolveComponent("
|
|
1573
|
+
return vue.createVNode(vue.resolveComponent("ElIcon"), {
|
|
1374
1574
|
"key": "a".concat(key),
|
|
1375
1575
|
"style": "font-size:".concat(this.fontSize, "px;cursor:").concat(this.disabled ? 'not-allowed;color:#c9cdd4' : 'pointer', ";"),
|
|
1376
1576
|
"onClick": this.add
|
|
1377
1577
|
}, {
|
|
1378
1578
|
"default": function _default() {
|
|
1379
|
-
return [vue.createVNode(
|
|
1579
|
+
return [vue.createVNode(script$2, null, null)];
|
|
1380
1580
|
}
|
|
1381
1581
|
});
|
|
1382
1582
|
},
|
|
@@ -1392,7 +1592,7 @@
|
|
|
1392
1592
|
}
|
|
1393
1593
|
}, {
|
|
1394
1594
|
"default": function _default() {
|
|
1395
|
-
return [vue.createVNode(
|
|
1595
|
+
return [vue.createVNode(script$1, null, null)];
|
|
1396
1596
|
}
|
|
1397
1597
|
});
|
|
1398
1598
|
},
|
|
@@ -1449,12 +1649,15 @@
|
|
|
1449
1649
|
return keys.length === 0 ? this.$slots["default"] ? this.$slots["default"]({
|
|
1450
1650
|
vm: this,
|
|
1451
1651
|
add: this.add
|
|
1452
|
-
}) : vue.createVNode("
|
|
1652
|
+
}) : vue.createVNode(vue.resolveComponent("ElIcon"), {
|
|
1453
1653
|
"key": 1,
|
|
1454
|
-
"class": "el-icon-circle-plus-outline",
|
|
1455
1654
|
"style": "font-size:".concat(this.fontSize, "px;vertical-align:middle;color:").concat(this.disabled ? '#c9cdd4;cursor: not-allowed' : '#606266;cursor:pointer', ";"),
|
|
1456
1655
|
"onClick": this.add
|
|
1457
|
-
},
|
|
1656
|
+
}, {
|
|
1657
|
+
"default": function _default() {
|
|
1658
|
+
return [vue.createVNode(script$2, null, null)];
|
|
1659
|
+
}
|
|
1660
|
+
}) : vue.createVNode("div", {
|
|
1458
1661
|
"key": 2
|
|
1459
1662
|
}, [keys.map(function (key, index) {
|
|
1460
1663
|
var _slot;
|
|
@@ -1601,7 +1804,29 @@
|
|
|
1601
1804
|
}
|
|
1602
1805
|
});
|
|
1603
1806
|
|
|
1604
|
-
var
|
|
1807
|
+
var script = {
|
|
1808
|
+
name: 'IconWarning'
|
|
1809
|
+
};
|
|
1810
|
+
|
|
1811
|
+
var _hoisted_1 = {
|
|
1812
|
+
"class": "icon",
|
|
1813
|
+
viewBox: "0 0 1024 1024",
|
|
1814
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
var _hoisted_2 = /*#__PURE__*/vue.createElementVNode("path", {
|
|
1818
|
+
fill: "currentColor",
|
|
1819
|
+
d: "M512 64a448 448 0 110 896 448 448 0 010-896zm0 832a384 384 0 000-768 384 384 0 000 768zm48-176a48 48 0 11-96 0 48 48 0 0196 0zm-48-464a32 32 0 0132 32v288a32 32 0 01-64 0V288a32 32 0 0132-32z"
|
|
1820
|
+
}, null, -1);
|
|
1821
|
+
|
|
1822
|
+
var _hoisted_3 = [_hoisted_2];
|
|
1823
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1824
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _hoisted_3);
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
script.render = render;
|
|
1828
|
+
|
|
1829
|
+
var components = [Checkbox, Frame, Radio, Select, Tree, Upload, Group, Sub, script];
|
|
1605
1830
|
|
|
1606
1831
|
var NAME$1 = 'FormCreate';
|
|
1607
1832
|
function $FormCreate(FormCreate) {
|
|
@@ -3924,7 +4149,7 @@
|
|
|
3924
4149
|
}
|
|
3925
4150
|
},
|
|
3926
4151
|
setFormData: function setFormData(ctx, value) {
|
|
3927
|
-
$set(this.formData, ctx.id, value ===
|
|
4152
|
+
$set(this.formData, ctx.id, value === null ? undefined : value);
|
|
3928
4153
|
},
|
|
3929
4154
|
getFormData: function getFormData(ctx) {
|
|
3930
4155
|
return this.formData[ctx.id];
|
|
@@ -4939,7 +5164,7 @@
|
|
|
4939
5164
|
return components[name];
|
|
4940
5165
|
}
|
|
4941
5166
|
} else {
|
|
4942
|
-
name = toCase(id.name);
|
|
5167
|
+
name = toCase(id.displayName || id.name);
|
|
4943
5168
|
component = id;
|
|
4944
5169
|
}
|
|
4945
5170
|
|
|
@@ -5598,7 +5823,7 @@
|
|
|
5598
5823
|
}, {
|
|
5599
5824
|
"default": function _default() {
|
|
5600
5825
|
return _this4.$r({
|
|
5601
|
-
type: infoProp.icon === true ? 'warning' : infoProp.icon
|
|
5826
|
+
type: infoProp.icon === true ? 'icon-warning' : infoProp.icon
|
|
5602
5827
|
});
|
|
5603
5828
|
}
|
|
5604
5829
|
}, true);
|
|
@@ -5969,7 +6194,7 @@
|
|
|
5969
6194
|
function elmFormCreate() {
|
|
5970
6195
|
return FormCreateFactory({
|
|
5971
6196
|
ui: 'element-ui',
|
|
5972
|
-
version: '3.1.
|
|
6197
|
+
version: '3.1.2',
|
|
5973
6198
|
manager: manager,
|
|
5974
6199
|
extendApi: extendApi,
|
|
5975
6200
|
install: install,
|