epic-designer-gold 1.0.11 → 1.0.14
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/{attributeView-B__FQHVu.js → attributeView-Cb_lnXnd.js} +1 -1
- package/dist/{attributeView-D_snTI-K.cjs → attributeView-D871aFNX.cjs} +1 -1
- package/dist/col-C4lVVBzC.cjs +1 -0
- package/dist/col-DcVPBKEc.js +31 -0
- package/dist/{index-D5moT97y.js → index-4Jbrf4oJ.js} +140 -140
- package/dist/{index-CAkpmC6c.js → index-B8VoR-rx.js} +1 -1
- package/dist/{index-g2SN8VMi.cjs → index-BXLg5QG8.cjs} +1 -1
- package/dist/{index-CanuzqIT.cjs → index-Bp5TeT0d.cjs} +1 -1
- package/dist/{index-IDj-bwmO.cjs → index-C-vzsLbI.cjs} +1 -1
- package/dist/index-CNFfjSi0.js +4 -0
- package/dist/{index-CKKGzeVk.cjs → index-Cdfyd5o8.cjs} +1 -1
- package/dist/{index-Ch8hBndx.cjs → index-Cdz_E5uq.cjs} +1 -1
- package/dist/{index-AO9st9GO.js → index-Cwf1fnCe.js} +1 -1
- package/dist/index-D7DryFmY.cjs +10 -0
- package/dist/{index-BNDnGxRg.cjs → index-DHgeDEYV.cjs} +1 -1
- package/dist/{index-DNWIP087.js → index-DXYNbYfi.js} +1 -1
- package/dist/{index-Dgdrnlh5.js → index-DpF28L2Q.js} +1 -1
- package/dist/{index-Dx4IQxp4.js → index-DvnclCBw.js} +7 -7
- package/dist/{index-BdToAdGK.js → index-HBD4zD_h.js} +1 -1
- package/dist/{index-BEaUH_4C.cjs → index-M1eoMHL_.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{styleView-DSoOUApX.cjs → styleView-C-SMgcjX.cjs} +1 -1
- package/dist/{styleView-DwuC1nZJ.js → styleView-m63s2tRj.js} +1 -1
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +143 -129
- package/package.json +1 -1
- package/dist/col-B1GUMkMK.cjs +0 -1
- package/dist/col-D4hvKfJ6.js +0 -31
- package/dist/index-B34F68Fz.js +0 -4
- package/dist/index-CZ_nc70v.cjs +0 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { pluginManager as
|
|
1
|
+
import { pluginManager as N } from "epic-designer-gold";
|
|
2
2
|
import { u as a } from "../../index-B1s67XDZ.js";
|
|
3
|
-
import { ElFormItem as z, ElForm as Y, ElRadioGroup as D, ElRadioButton as B, ElTabs as M, ElTabPane as L, ElCollapse as q, ElCollapseItem as
|
|
3
|
+
import { ElFormItem as z, ElForm as Y, ElRadioGroup as D, ElRadioButton as B, ElTabs as M, ElTabPane as L, ElCollapse as q, ElCollapseItem as A, ElDrawer as W, ElDialog as $, ElTable as U, ElTableColumn as O } from "element-plus";
|
|
4
4
|
const { t: n } = a(), H = {
|
|
5
5
|
component: async () => (await import("element-plus")).ElInput,
|
|
6
6
|
groupName: n("form"),
|
|
@@ -12,7 +12,10 @@ const { t: n } = a(), H = {
|
|
|
12
12
|
field: "input",
|
|
13
13
|
input: !0,
|
|
14
14
|
componentProps: {
|
|
15
|
-
placeholder: n("pleaseEnter")
|
|
15
|
+
placeholder: n("pleaseEnter"),
|
|
16
|
+
style: {
|
|
17
|
+
cursor: ""
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
},
|
|
18
21
|
config: {
|
|
@@ -106,16 +109,27 @@ const { t: n } = a(), H = {
|
|
|
106
109
|
field: "componentProps.showPassword",
|
|
107
110
|
show: ({ values: e }) => e.componentProps.type === "password"
|
|
108
111
|
},
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
{
|
|
113
|
+
label: "只读",
|
|
114
|
+
type: "switch",
|
|
115
|
+
field: "componentProps.readonly"
|
|
116
|
+
},
|
|
114
117
|
{
|
|
115
118
|
label: n("clearable"),
|
|
116
119
|
type: "switch",
|
|
117
120
|
field: "componentProps.clearable"
|
|
118
121
|
},
|
|
122
|
+
{
|
|
123
|
+
label: "超链接",
|
|
124
|
+
type: "switch",
|
|
125
|
+
field: "isLink",
|
|
126
|
+
onChange: ({ value: e, values: i, componentAttributes: v }) => {
|
|
127
|
+
e && i.componentProps.readonly ? i.onClick = (x) => {
|
|
128
|
+
window.open(x.target.value, "blank");
|
|
129
|
+
} : i.onClick = () => {
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
},
|
|
119
133
|
// {
|
|
120
134
|
// label: "禁用",
|
|
121
135
|
// type: "switch",
|
|
@@ -326,59 +340,59 @@ const { t: n } = a(), H = {
|
|
|
326
340
|
}
|
|
327
341
|
]
|
|
328
342
|
}
|
|
329
|
-
}, { t:
|
|
343
|
+
}, { t: s } = a(), G = {
|
|
330
344
|
component: async () => (await import("element-plus")).ElInputNumber,
|
|
331
|
-
groupName:
|
|
345
|
+
groupName: s("form"),
|
|
332
346
|
icon: "icon--epic--123-rounded",
|
|
333
347
|
sort: 710,
|
|
334
348
|
defaultSchema: {
|
|
335
|
-
label:
|
|
349
|
+
label: s("numberInput"),
|
|
336
350
|
type: "number",
|
|
337
351
|
field: "number",
|
|
338
352
|
input: !0,
|
|
339
353
|
componentProps: {
|
|
340
|
-
placeholder:
|
|
354
|
+
placeholder: s("pleaseEnter")
|
|
341
355
|
}
|
|
342
356
|
},
|
|
343
357
|
config: {
|
|
344
358
|
attribute: [
|
|
345
359
|
{
|
|
346
|
-
label:
|
|
360
|
+
label: s("fieldName"),
|
|
347
361
|
type: "input",
|
|
348
362
|
field: "field"
|
|
349
363
|
},
|
|
350
364
|
{
|
|
351
|
-
label:
|
|
365
|
+
label: s("title"),
|
|
352
366
|
type: "input",
|
|
353
367
|
field: "label"
|
|
354
368
|
},
|
|
355
369
|
{
|
|
356
|
-
label:
|
|
370
|
+
label: s("defaultValue"),
|
|
357
371
|
type: "number",
|
|
358
372
|
field: "componentProps.defaultValue"
|
|
359
373
|
},
|
|
360
374
|
{
|
|
361
|
-
label:
|
|
375
|
+
label: s("placeholder"),
|
|
362
376
|
type: "input",
|
|
363
377
|
field: "componentProps.placeholder"
|
|
364
378
|
},
|
|
365
379
|
{
|
|
366
|
-
label:
|
|
380
|
+
label: s("size"),
|
|
367
381
|
type: "select",
|
|
368
382
|
componentProps: {
|
|
369
|
-
placeholder:
|
|
383
|
+
placeholder: s("pleaseSelect"),
|
|
370
384
|
clearable: !0,
|
|
371
385
|
options: [
|
|
372
386
|
{
|
|
373
|
-
label:
|
|
387
|
+
label: s("large"),
|
|
374
388
|
value: "large"
|
|
375
389
|
},
|
|
376
390
|
{
|
|
377
|
-
label:
|
|
391
|
+
label: s("medium"),
|
|
378
392
|
value: "default"
|
|
379
393
|
},
|
|
380
394
|
{
|
|
381
|
-
label:
|
|
395
|
+
label: s("small"),
|
|
382
396
|
value: "small"
|
|
383
397
|
}
|
|
384
398
|
]
|
|
@@ -386,31 +400,31 @@ const { t: n } = a(), H = {
|
|
|
386
400
|
field: "componentProps.size"
|
|
387
401
|
},
|
|
388
402
|
{
|
|
389
|
-
label:
|
|
403
|
+
label: s("maxValue"),
|
|
390
404
|
type: "number",
|
|
391
405
|
field: "componentProps.max",
|
|
392
406
|
componentProps: {
|
|
393
|
-
placeholder:
|
|
407
|
+
placeholder: s("pleaseEnter")
|
|
394
408
|
}
|
|
395
409
|
},
|
|
396
410
|
{
|
|
397
|
-
label:
|
|
411
|
+
label: s("minValue"),
|
|
398
412
|
type: "number",
|
|
399
413
|
field: "componentProps.min",
|
|
400
414
|
componentProps: {
|
|
401
|
-
placeholder:
|
|
415
|
+
placeholder: s("pleaseEnter")
|
|
402
416
|
}
|
|
403
417
|
},
|
|
404
418
|
{
|
|
405
|
-
label:
|
|
419
|
+
label: s("step"),
|
|
406
420
|
type: "number",
|
|
407
421
|
field: "componentProps.step",
|
|
408
422
|
componentProps: {
|
|
409
|
-
placeholder:
|
|
423
|
+
placeholder: s("pleaseEnter")
|
|
410
424
|
}
|
|
411
425
|
},
|
|
412
426
|
{
|
|
413
|
-
label:
|
|
427
|
+
label: s("controlButtonPosition"),
|
|
414
428
|
type: "select",
|
|
415
429
|
defaultValue: "",
|
|
416
430
|
componentProps: {
|
|
@@ -424,21 +438,21 @@ const { t: n } = a(), H = {
|
|
|
424
438
|
value: "right"
|
|
425
439
|
}
|
|
426
440
|
],
|
|
427
|
-
placeholder:
|
|
441
|
+
placeholder: s("pleaseSelect"),
|
|
428
442
|
clearable: !0
|
|
429
443
|
},
|
|
430
444
|
field: "componentProps.controlsPosition"
|
|
431
445
|
},
|
|
432
446
|
{
|
|
433
|
-
label:
|
|
447
|
+
label: s("precision"),
|
|
434
448
|
type: "number",
|
|
435
449
|
field: "componentProps.precision",
|
|
436
450
|
componentProps: {
|
|
437
|
-
placeholder:
|
|
451
|
+
placeholder: s("pleaseEnter")
|
|
438
452
|
}
|
|
439
453
|
},
|
|
440
454
|
{
|
|
441
|
-
label:
|
|
455
|
+
label: s("inputControlIsMultipleOfStep"),
|
|
442
456
|
type: "switch",
|
|
443
457
|
field: "componentProps.stepStrictly"
|
|
444
458
|
},
|
|
@@ -453,11 +467,11 @@ const { t: n } = a(), H = {
|
|
|
453
467
|
// field: "componentProps.hidden",
|
|
454
468
|
// },
|
|
455
469
|
{
|
|
456
|
-
label:
|
|
470
|
+
label: s("formValidation"),
|
|
457
471
|
type: "ERuleEditor",
|
|
458
472
|
layout: "vertical",
|
|
459
473
|
field: "rules",
|
|
460
|
-
describe:
|
|
474
|
+
describe: s("validationRuleRequiresForm"),
|
|
461
475
|
componentProps: {
|
|
462
476
|
ruleType: "number"
|
|
463
477
|
}
|
|
@@ -466,7 +480,7 @@ const { t: n } = a(), H = {
|
|
|
466
480
|
event: [
|
|
467
481
|
{
|
|
468
482
|
type: "change",
|
|
469
|
-
describe:
|
|
483
|
+
describe: s("onValueChange")
|
|
470
484
|
}
|
|
471
485
|
]
|
|
472
486
|
}
|
|
@@ -930,10 +944,10 @@ const _ = {
|
|
|
930
944
|
// },
|
|
931
945
|
]
|
|
932
946
|
}
|
|
933
|
-
}, { t:
|
|
934
|
-
component: () => import("../../col-
|
|
947
|
+
}, { t: k } = a(), Z = {
|
|
948
|
+
component: () => import("../../col-DcVPBKEc.js"),
|
|
935
949
|
defaultSchema: {
|
|
936
|
-
label:
|
|
950
|
+
label: k("gridLayout") + "-" + k("column"),
|
|
937
951
|
type: "col",
|
|
938
952
|
children: [],
|
|
939
953
|
componentProps: {
|
|
@@ -1026,8 +1040,8 @@ const _ = {
|
|
|
1026
1040
|
label: t("multiple"),
|
|
1027
1041
|
type: "switch",
|
|
1028
1042
|
field: "componentProps.multiple",
|
|
1029
|
-
onChange: ({ value: e, values:
|
|
1030
|
-
e ?
|
|
1043
|
+
onChange: ({ value: e, values: i }) => {
|
|
1044
|
+
e ? i.componentProps.defaultValue = [] : i.componentProps.defaultValue = null;
|
|
1031
1045
|
}
|
|
1032
1046
|
},
|
|
1033
1047
|
{
|
|
@@ -1346,25 +1360,25 @@ const _ = {
|
|
|
1346
1360
|
}
|
|
1347
1361
|
]
|
|
1348
1362
|
}
|
|
1349
|
-
}, { t:
|
|
1363
|
+
}, { t: r } = a(), te = {
|
|
1350
1364
|
component: () => import("../../checkbox-BMXONqwy.js"),
|
|
1351
|
-
groupName:
|
|
1365
|
+
groupName: r("form"),
|
|
1352
1366
|
icon: "icon--epic--dialogs-outline-rounded",
|
|
1353
1367
|
sort: 860,
|
|
1354
1368
|
defaultSchema: {
|
|
1355
|
-
label:
|
|
1369
|
+
label: r("checkbox"),
|
|
1356
1370
|
type: "checkbox",
|
|
1357
1371
|
field: "checkbox",
|
|
1358
1372
|
input: !0,
|
|
1359
1373
|
componentProps: {
|
|
1360
1374
|
options: [
|
|
1361
1375
|
{
|
|
1362
|
-
label:
|
|
1363
|
-
value:
|
|
1376
|
+
label: r("option1"),
|
|
1377
|
+
value: r("option1")
|
|
1364
1378
|
},
|
|
1365
1379
|
{
|
|
1366
|
-
label:
|
|
1367
|
-
value:
|
|
1380
|
+
label: r("option2"),
|
|
1381
|
+
value: r("option2")
|
|
1368
1382
|
}
|
|
1369
1383
|
]
|
|
1370
1384
|
}
|
|
@@ -1372,37 +1386,37 @@ const _ = {
|
|
|
1372
1386
|
config: {
|
|
1373
1387
|
attribute: [
|
|
1374
1388
|
{
|
|
1375
|
-
label:
|
|
1389
|
+
label: r("fieldName"),
|
|
1376
1390
|
type: "input",
|
|
1377
1391
|
field: "field"
|
|
1378
1392
|
},
|
|
1379
1393
|
{
|
|
1380
|
-
label:
|
|
1394
|
+
label: r("title"),
|
|
1381
1395
|
type: "input",
|
|
1382
1396
|
field: "label"
|
|
1383
1397
|
},
|
|
1384
1398
|
{
|
|
1385
|
-
label:
|
|
1399
|
+
label: r("defaultValue"),
|
|
1386
1400
|
type: "checkbox",
|
|
1387
1401
|
field: "componentProps.defaultValue"
|
|
1388
1402
|
},
|
|
1389
1403
|
{
|
|
1390
|
-
label:
|
|
1404
|
+
label: r("size"),
|
|
1391
1405
|
type: "select",
|
|
1392
1406
|
componentProps: {
|
|
1393
|
-
placeholder:
|
|
1407
|
+
placeholder: r("pleaseSelect"),
|
|
1394
1408
|
clearable: !0,
|
|
1395
1409
|
options: [
|
|
1396
1410
|
{
|
|
1397
|
-
label:
|
|
1411
|
+
label: r("large"),
|
|
1398
1412
|
value: "large"
|
|
1399
1413
|
},
|
|
1400
1414
|
{
|
|
1401
|
-
label:
|
|
1415
|
+
label: r("medium"),
|
|
1402
1416
|
value: "default"
|
|
1403
1417
|
},
|
|
1404
1418
|
{
|
|
1405
|
-
label:
|
|
1419
|
+
label: r("small"),
|
|
1406
1420
|
value: "small"
|
|
1407
1421
|
}
|
|
1408
1422
|
]
|
|
@@ -1410,41 +1424,41 @@ const _ = {
|
|
|
1410
1424
|
field: "componentProps.size"
|
|
1411
1425
|
},
|
|
1412
1426
|
{
|
|
1413
|
-
label:
|
|
1427
|
+
label: r("maxSelected"),
|
|
1414
1428
|
type: "number",
|
|
1415
1429
|
field: "componentProps.max",
|
|
1416
1430
|
componentProps: {
|
|
1417
|
-
placeholder:
|
|
1431
|
+
placeholder: r("pleaseEnter")
|
|
1418
1432
|
}
|
|
1419
1433
|
},
|
|
1420
1434
|
{
|
|
1421
|
-
label:
|
|
1435
|
+
label: r("minSelected"),
|
|
1422
1436
|
type: "number",
|
|
1423
1437
|
field: "componentProps.min",
|
|
1424
1438
|
componentProps: {
|
|
1425
|
-
placeholder:
|
|
1439
|
+
placeholder: r("pleaseEnter")
|
|
1426
1440
|
}
|
|
1427
1441
|
},
|
|
1428
1442
|
{
|
|
1429
|
-
label:
|
|
1443
|
+
label: r("buttonMode"),
|
|
1430
1444
|
type: "switch",
|
|
1431
1445
|
field: "componentProps.radioButton"
|
|
1432
1446
|
},
|
|
1433
1447
|
{
|
|
1434
|
-
label:
|
|
1448
|
+
label: r("optionTextColor"),
|
|
1435
1449
|
type: "color-picker",
|
|
1436
1450
|
layout: "horizontal",
|
|
1437
1451
|
field: "componentProps.textColor",
|
|
1438
1452
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1439
|
-
describe:
|
|
1453
|
+
describe: r("effectiveInButtonMode")
|
|
1440
1454
|
},
|
|
1441
1455
|
{
|
|
1442
|
-
label:
|
|
1456
|
+
label: r("optionButtonColor"),
|
|
1443
1457
|
type: "color-picker",
|
|
1444
1458
|
layout: "horizontal",
|
|
1445
1459
|
field: "componentProps.fill",
|
|
1446
1460
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1447
|
-
describe:
|
|
1461
|
+
describe: r("effectiveInButtonMode")
|
|
1448
1462
|
},
|
|
1449
1463
|
// {
|
|
1450
1464
|
// label: "禁用",
|
|
@@ -1457,43 +1471,43 @@ const _ = {
|
|
|
1457
1471
|
// field: "componentProps.hidden",
|
|
1458
1472
|
// },
|
|
1459
1473
|
{
|
|
1460
|
-
label:
|
|
1474
|
+
label: r("optionManagement"),
|
|
1461
1475
|
type: "EOptionsEditor",
|
|
1462
1476
|
layout: "vertical",
|
|
1463
1477
|
field: "componentProps.options"
|
|
1464
1478
|
},
|
|
1465
1479
|
{
|
|
1466
|
-
label:
|
|
1480
|
+
label: r("formValidation"),
|
|
1467
1481
|
type: "ERuleEditor",
|
|
1468
1482
|
layout: "vertical",
|
|
1469
1483
|
field: "rules",
|
|
1470
|
-
describe:
|
|
1484
|
+
describe: r("validationRuleRequiresForm"),
|
|
1471
1485
|
componentProps: {
|
|
1472
1486
|
ruleType: "array"
|
|
1473
1487
|
}
|
|
1474
1488
|
},
|
|
1475
1489
|
{
|
|
1476
|
-
label:
|
|
1490
|
+
label: r("dataSource"),
|
|
1477
1491
|
type: "EDataSource",
|
|
1478
1492
|
layout: "vertical",
|
|
1479
1493
|
field: "componentProps.dataSource",
|
|
1480
|
-
describe:
|
|
1494
|
+
describe: r("dataSourceConfig")
|
|
1481
1495
|
}
|
|
1482
1496
|
],
|
|
1483
1497
|
event: [
|
|
1484
1498
|
{
|
|
1485
1499
|
type: "change",
|
|
1486
|
-
describe:
|
|
1500
|
+
describe: r("onValueChange")
|
|
1487
1501
|
}
|
|
1488
1502
|
]
|
|
1489
1503
|
}
|
|
1490
|
-
}, { t:
|
|
1504
|
+
}, { t: c } = a(), oe = {
|
|
1491
1505
|
component: async () => (await import("element-plus")).ElSlider,
|
|
1492
|
-
groupName:
|
|
1506
|
+
groupName: c("form"),
|
|
1493
1507
|
icon: "icon--epic--switches",
|
|
1494
1508
|
sort: 930,
|
|
1495
1509
|
defaultSchema: {
|
|
1496
|
-
label:
|
|
1510
|
+
label: c("slider"),
|
|
1497
1511
|
type: "slider",
|
|
1498
1512
|
field: "slider",
|
|
1499
1513
|
input: !0,
|
|
@@ -1505,37 +1519,37 @@ const _ = {
|
|
|
1505
1519
|
config: {
|
|
1506
1520
|
attribute: [
|
|
1507
1521
|
{
|
|
1508
|
-
label:
|
|
1522
|
+
label: c("fieldName"),
|
|
1509
1523
|
type: "input",
|
|
1510
1524
|
field: "field"
|
|
1511
1525
|
},
|
|
1512
1526
|
{
|
|
1513
|
-
label:
|
|
1527
|
+
label: c("title"),
|
|
1514
1528
|
type: "input",
|
|
1515
1529
|
field: "label"
|
|
1516
1530
|
},
|
|
1517
1531
|
{
|
|
1518
|
-
label:
|
|
1532
|
+
label: c("defaultValue"),
|
|
1519
1533
|
type: "slider",
|
|
1520
1534
|
field: "componentProps.defaultValue"
|
|
1521
1535
|
},
|
|
1522
1536
|
{
|
|
1523
|
-
label:
|
|
1537
|
+
label: c("size"),
|
|
1524
1538
|
type: "select",
|
|
1525
1539
|
componentProps: {
|
|
1526
|
-
placeholder:
|
|
1540
|
+
placeholder: c("pleaseSelect"),
|
|
1527
1541
|
clearable: !0,
|
|
1528
1542
|
options: [
|
|
1529
1543
|
{
|
|
1530
|
-
label:
|
|
1544
|
+
label: c("large"),
|
|
1531
1545
|
value: "large"
|
|
1532
1546
|
},
|
|
1533
1547
|
{
|
|
1534
|
-
label:
|
|
1548
|
+
label: c("medium"),
|
|
1535
1549
|
value: "default"
|
|
1536
1550
|
},
|
|
1537
1551
|
{
|
|
1538
|
-
label:
|
|
1552
|
+
label: c("small"),
|
|
1539
1553
|
value: "small"
|
|
1540
1554
|
}
|
|
1541
1555
|
]
|
|
@@ -1543,83 +1557,83 @@ const _ = {
|
|
|
1543
1557
|
field: "componentProps.size"
|
|
1544
1558
|
},
|
|
1545
1559
|
{
|
|
1546
|
-
label:
|
|
1560
|
+
label: c("minValue"),
|
|
1547
1561
|
type: "number",
|
|
1548
1562
|
field: "componentProps.min",
|
|
1549
1563
|
componentProps: {
|
|
1550
|
-
placeholder:
|
|
1564
|
+
placeholder: c("pleaseEnter")
|
|
1551
1565
|
},
|
|
1552
|
-
onChange: ({ value: e, values:
|
|
1553
|
-
const
|
|
1566
|
+
onChange: ({ value: e, values: i, componentAttributes: v }) => {
|
|
1567
|
+
const x = v.value.findIndex((R) => R.field === "componentProps.max"), I = v.value[x];
|
|
1554
1568
|
I.componentProps = {
|
|
1555
1569
|
min: e
|
|
1556
|
-
}, (
|
|
1570
|
+
}, (i.componentProps.max ?? 0) < e && (i.componentProps.max = e);
|
|
1557
1571
|
}
|
|
1558
1572
|
},
|
|
1559
1573
|
{
|
|
1560
|
-
label:
|
|
1574
|
+
label: c("maxValue"),
|
|
1561
1575
|
type: "number",
|
|
1562
1576
|
field: "componentProps.max",
|
|
1563
1577
|
componentProps: {
|
|
1564
|
-
placeholder:
|
|
1578
|
+
placeholder: c("pleaseEnter")
|
|
1565
1579
|
},
|
|
1566
|
-
onChange: ({ value: e, values:
|
|
1567
|
-
const
|
|
1580
|
+
onChange: ({ value: e, values: i, componentAttributes: v }) => {
|
|
1581
|
+
const x = v.value.findIndex((R) => R.field === "componentProps.min"), I = v.value[x];
|
|
1568
1582
|
I.componentProps = {
|
|
1569
1583
|
max: e
|
|
1570
|
-
}, (
|
|
1584
|
+
}, (i.componentProps.min ?? 0) > e && (i.componentProps.min = e);
|
|
1571
1585
|
}
|
|
1572
1586
|
},
|
|
1573
1587
|
{
|
|
1574
|
-
label:
|
|
1588
|
+
label: c("step"),
|
|
1575
1589
|
type: "number",
|
|
1576
1590
|
field: "componentProps.step",
|
|
1577
1591
|
componentProps: {
|
|
1578
|
-
placeholder:
|
|
1592
|
+
placeholder: c("pleaseEnter")
|
|
1579
1593
|
}
|
|
1580
1594
|
},
|
|
1581
1595
|
{
|
|
1582
|
-
label:
|
|
1596
|
+
label: c("showStops"),
|
|
1583
1597
|
type: "switch",
|
|
1584
1598
|
field: "componentProps.showStops"
|
|
1585
1599
|
},
|
|
1586
1600
|
{
|
|
1587
|
-
label:
|
|
1601
|
+
label: c("tooltip"),
|
|
1588
1602
|
type: "switch",
|
|
1589
1603
|
field: "componentProps.showTooltip"
|
|
1590
1604
|
},
|
|
1591
1605
|
{
|
|
1592
|
-
label:
|
|
1606
|
+
label: c("range"),
|
|
1593
1607
|
type: "switch",
|
|
1594
1608
|
field: "componentProps.range"
|
|
1595
1609
|
},
|
|
1596
1610
|
{
|
|
1597
|
-
label:
|
|
1611
|
+
label: c("vertical"),
|
|
1598
1612
|
type: "switch",
|
|
1599
1613
|
field: "componentProps.vertical"
|
|
1600
1614
|
},
|
|
1601
1615
|
{
|
|
1602
|
-
label:
|
|
1616
|
+
label: c("height"),
|
|
1603
1617
|
type: "EInputSize",
|
|
1604
1618
|
field: "componentProps.height",
|
|
1605
1619
|
show: ({ values: e }) => e.componentProps.vertical
|
|
1606
1620
|
},
|
|
1607
1621
|
{
|
|
1608
|
-
label:
|
|
1622
|
+
label: c("showInput"),
|
|
1609
1623
|
type: "switch",
|
|
1610
1624
|
field: "componentProps.showInput",
|
|
1611
|
-
onChange: ({ value: e, values:
|
|
1612
|
-
e && (
|
|
1625
|
+
onChange: ({ value: e, values: i }) => {
|
|
1626
|
+
e && (i.componentProps.showInputControls = !0);
|
|
1613
1627
|
}
|
|
1614
1628
|
},
|
|
1615
1629
|
{
|
|
1616
|
-
label:
|
|
1630
|
+
label: c("controlButtons"),
|
|
1617
1631
|
type: "switch",
|
|
1618
1632
|
field: "componentProps.showInputControls",
|
|
1619
1633
|
show: ({ values: e }) => e.componentProps.showInput
|
|
1620
1634
|
},
|
|
1621
1635
|
{
|
|
1622
|
-
label:
|
|
1636
|
+
label: c("tooltipPosition"),
|
|
1623
1637
|
type: "select",
|
|
1624
1638
|
defaultValue: "bottom-start",
|
|
1625
1639
|
componentProps: {
|
|
@@ -1687,11 +1701,11 @@ const _ = {
|
|
|
1687
1701
|
// field: "componentProps.hidden",
|
|
1688
1702
|
// },
|
|
1689
1703
|
{
|
|
1690
|
-
label:
|
|
1704
|
+
label: c("formValidation"),
|
|
1691
1705
|
type: "ERuleEditor",
|
|
1692
1706
|
layout: "vertical",
|
|
1693
1707
|
field: "rules",
|
|
1694
|
-
describe:
|
|
1708
|
+
describe: c("validationRuleRequiresForm"),
|
|
1695
1709
|
componentProps: {
|
|
1696
1710
|
ruleType: "number"
|
|
1697
1711
|
}
|
|
@@ -1700,11 +1714,11 @@ const _ = {
|
|
|
1700
1714
|
event: [
|
|
1701
1715
|
{
|
|
1702
1716
|
type: "input",
|
|
1703
|
-
describe:
|
|
1717
|
+
describe: c("realTimeTrigger")
|
|
1704
1718
|
},
|
|
1705
1719
|
{
|
|
1706
1720
|
type: "change",
|
|
1707
|
-
describe:
|
|
1721
|
+
describe: c("onChangeEnd")
|
|
1708
1722
|
}
|
|
1709
1723
|
]
|
|
1710
1724
|
}
|
|
@@ -1856,7 +1870,7 @@ const _ = {
|
|
|
1856
1870
|
placeholder: m("pleaseEnter")
|
|
1857
1871
|
},
|
|
1858
1872
|
onChange(e) {
|
|
1859
|
-
setTimeout(() =>
|
|
1873
|
+
setTimeout(() => F(e));
|
|
1860
1874
|
}
|
|
1861
1875
|
},
|
|
1862
1876
|
{
|
|
@@ -1867,7 +1881,7 @@ const _ = {
|
|
|
1867
1881
|
placeholder: m("pleaseEnter")
|
|
1868
1882
|
},
|
|
1869
1883
|
onChange(e) {
|
|
1870
|
-
setTimeout(() =>
|
|
1884
|
+
setTimeout(() => F(e));
|
|
1871
1885
|
}
|
|
1872
1886
|
},
|
|
1873
1887
|
{
|
|
@@ -1952,11 +1966,11 @@ const _ = {
|
|
|
1952
1966
|
]
|
|
1953
1967
|
}
|
|
1954
1968
|
};
|
|
1955
|
-
function
|
|
1969
|
+
function F(e) {
|
|
1956
1970
|
var v;
|
|
1957
|
-
let
|
|
1958
|
-
e.values.componentProps.unCheckedValue === "" && delete e.values.componentProps.unCheckedValue, e.values.componentProps.activeValue === "" && delete e.values.componentProps.activeValue, e.values.componentProps ? e.values.componentProps.defaultValue =
|
|
1959
|
-
defaultValue:
|
|
1971
|
+
let i = ((v = e.values.componentProps) == null ? void 0 : v.inactiveValue) || !1;
|
|
1972
|
+
e.values.componentProps.unCheckedValue === "" && delete e.values.componentProps.unCheckedValue, e.values.componentProps.activeValue === "" && delete e.values.componentProps.activeValue, e.values.componentProps ? e.values.componentProps.defaultValue = i : e.values.componentProps = {
|
|
1973
|
+
defaultValue: i
|
|
1960
1974
|
};
|
|
1961
1975
|
}
|
|
1962
1976
|
const { t: l } = a(), pe = {
|
|
@@ -2067,8 +2081,8 @@ const { t: l } = a(), pe = {
|
|
|
2067
2081
|
label: l("multiple"),
|
|
2068
2082
|
type: "switch",
|
|
2069
2083
|
field: "componentProps.props.multiple",
|
|
2070
|
-
onChange: ({ value: e, values:
|
|
2071
|
-
e ?
|
|
2084
|
+
onChange: ({ value: e, values: i }) => {
|
|
2085
|
+
e ? i.componentProps.defaultValue = [] : i.componentProps.defaultValue = null;
|
|
2072
2086
|
}
|
|
2073
2087
|
},
|
|
2074
2088
|
{
|
|
@@ -2309,8 +2323,8 @@ const re = {
|
|
|
2309
2323
|
}
|
|
2310
2324
|
]
|
|
2311
2325
|
},
|
|
2312
|
-
onChange({ values: e, value:
|
|
2313
|
-
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(
|
|
2326
|
+
onChange({ values: e, value: i }) {
|
|
2327
|
+
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(i) ? (e.componentProps.format = "YYYY-MM-DD", e.componentProps.valueFormat = "YYYY-MM-DD") : ["week"].includes(i) ? (e.componentProps.format = "ww [周]", e.componentProps.valueFormat = "YYYY-MM-DD") : ["month", "monthrange"].includes(i) ? (e.componentProps.format = "YYYY-MM", e.componentProps.valueFormat = "YYYY-MM") : ["datetime", "datetimerange"].includes(i) ? (e.componentProps.format = "YYYY-MM-DD HH:mm:ss", e.componentProps.valueFormat = "YYYY-MM-DD HH:mm:ss") : ["year"].includes(i) && (e.componentProps.format = "YYYY", e.componentProps.valueFormat = "YYYY");
|
|
2314
2328
|
}
|
|
2315
2329
|
},
|
|
2316
2330
|
{
|
|
@@ -2986,7 +3000,7 @@ const he = {
|
|
|
2986
3000
|
config: {
|
|
2987
3001
|
attribute: []
|
|
2988
3002
|
}
|
|
2989
|
-
}, { t:
|
|
3003
|
+
}, { t: T } = a(), Pe = {
|
|
2990
3004
|
component: () => import("../../tabs-DCyifACM.js"),
|
|
2991
3005
|
groupName: "布局",
|
|
2992
3006
|
icon: "icon--epic--section",
|
|
@@ -3015,7 +3029,7 @@ const he = {
|
|
|
3015
3029
|
config: {
|
|
3016
3030
|
attribute: [
|
|
3017
3031
|
{
|
|
3018
|
-
label:
|
|
3032
|
+
label: T("fieldName"),
|
|
3019
3033
|
type: "input",
|
|
3020
3034
|
field: "field"
|
|
3021
3035
|
},
|
|
@@ -3023,7 +3037,7 @@ const he = {
|
|
|
3023
3037
|
label: "风格类型",
|
|
3024
3038
|
type: "select",
|
|
3025
3039
|
componentProps: {
|
|
3026
|
-
placeholder:
|
|
3040
|
+
placeholder: T("pleaseSelect"),
|
|
3027
3041
|
clearable: !0,
|
|
3028
3042
|
options: [
|
|
3029
3043
|
{
|
|
@@ -3042,7 +3056,7 @@ const he = {
|
|
|
3042
3056
|
label: "选项卡所在位置",
|
|
3043
3057
|
type: "select",
|
|
3044
3058
|
componentProps: {
|
|
3045
|
-
placeholder:
|
|
3059
|
+
placeholder: T("pleaseSelect"),
|
|
3046
3060
|
clearable: !0,
|
|
3047
3061
|
options: [
|
|
3048
3062
|
{
|
|
@@ -3066,11 +3080,11 @@ const he = {
|
|
|
3066
3080
|
field: "componentProps.tab-position"
|
|
3067
3081
|
},
|
|
3068
3082
|
{
|
|
3069
|
-
label:
|
|
3083
|
+
label: T("optionManagement"),
|
|
3070
3084
|
type: "EOptionsEditor",
|
|
3071
3085
|
layout: "vertical",
|
|
3072
3086
|
field: "children",
|
|
3073
|
-
describe:
|
|
3087
|
+
describe: T("configureOptions")
|
|
3074
3088
|
}
|
|
3075
3089
|
]
|
|
3076
3090
|
}
|
|
@@ -3501,8 +3515,8 @@ const Se = {
|
|
|
3501
3515
|
]
|
|
3502
3516
|
}
|
|
3503
3517
|
};
|
|
3504
|
-
function Re(e =
|
|
3505
|
-
e.component("FormItem", z), e.component("Form", Y), e.component("RadioGroup", D), e.component("RadioButton", B), e.component("Tabs", M), e.component("TabPane", L), e.component("Collapse", q), e.component("CollapseItem",
|
|
3518
|
+
function Re(e = N) {
|
|
3519
|
+
e.component("FormItem", z), e.component("Form", Y), e.component("RadioGroup", D), e.component("RadioButton", B), e.component("Tabs", M), e.component("TabPane", L), e.component("Collapse", q), e.component("CollapseItem", A), e.component("Drawer", W), e.component("Dialog", $), e.component("ElTable", U), e.component("ElTableColumn", O), [
|
|
3506
3520
|
K,
|
|
3507
3521
|
_,
|
|
3508
3522
|
H,
|
|
@@ -3540,12 +3554,12 @@ function Re(e = k) {
|
|
|
3540
3554
|
e.registerComponent(v), e.addBaseComponentTypes(v.defaultSchema.type);
|
|
3541
3555
|
}), e.setInitialized(!0);
|
|
3542
3556
|
}
|
|
3543
|
-
function
|
|
3544
|
-
import("element-plus").then(({ provideGlobalConfig:
|
|
3545
|
-
|
|
3557
|
+
function ke(e) {
|
|
3558
|
+
import("element-plus").then(({ provideGlobalConfig: i }) => {
|
|
3559
|
+
i(e);
|
|
3546
3560
|
});
|
|
3547
3561
|
}
|
|
3548
3562
|
export {
|
|
3549
|
-
|
|
3563
|
+
ke as provideGlobalConfig,
|
|
3550
3564
|
Re as setupElementPlus
|
|
3551
3565
|
};
|