epic-designer-gold 1.0.13 → 1.0.15
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-Dar8AuZK.js → attributeView-Cb_lnXnd.js} +1 -1
- package/dist/{attributeView-Cto6UYr-.cjs → attributeView-D871aFNX.cjs} +1 -1
- package/dist/{index-B94wvWSQ.js → index-4Jbrf4oJ.js} +1 -1
- package/dist/{index-jWfUweKA.js → index-B8VoR-rx.js} +1 -1
- package/dist/{index-BgYKll2r.cjs → index-BXLg5QG8.cjs} +1 -1
- package/dist/{index-DUN8BFHy.cjs → index-Bp5TeT0d.cjs} +1 -1
- package/dist/{index-BJ-zqZpe.cjs → index-C-vzsLbI.cjs} +1 -1
- package/dist/index-CNFfjSi0.js +4 -0
- package/dist/{index-CQB8OCTr.cjs → index-Cdfyd5o8.cjs} +1 -1
- package/dist/{index-JZ_IAUan.cjs → index-Cdz_E5uq.cjs} +1 -1
- package/dist/{index-actvF0fY.js → index-Cwf1fnCe.js} +1 -1
- package/dist/index-D7DryFmY.cjs +10 -0
- package/dist/{index-BWT6j2ee.cjs → index-DHgeDEYV.cjs} +1 -1
- package/dist/{index-DiAGyPfO.js → index-DXYNbYfi.js} +1 -1
- package/dist/{index-D1i5X_8B.js → index-DpF28L2Q.js} +1 -1
- package/dist/{index-BSAIj91z.js → index-DvnclCBw.js} +24 -24
- package/dist/{index-CpAA6j9n.js → index-HBD4zD_h.js} +1 -1
- package/dist/{index-CjAUEf3i.cjs → index-M1eoMHL_.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{styleView-C7LeDv02.cjs → styleView-C-SMgcjX.cjs} +1 -1
- package/dist/{styleView-CNdvZnXq.js → styleView-m63s2tRj.js} +1 -1
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +138 -129
- package/package.json +1 -1
- package/dist/index-BqKXyGaY.js +0 -4
- package/dist/index-CX-dLT00.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,11 +109,11 @@ 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",
|
|
@@ -119,7 +122,13 @@ const { t: n } = a(), H = {
|
|
|
119
122
|
{
|
|
120
123
|
label: "超链接",
|
|
121
124
|
type: "switch",
|
|
122
|
-
field: "
|
|
125
|
+
field: "isLink",
|
|
126
|
+
onChange: ({ value: e, values: i, componentAttributes: v }) => {
|
|
127
|
+
e ? i.onClick = (x) => {
|
|
128
|
+
i.componentProps.readonly && window.open(x.target.value, "blank");
|
|
129
|
+
} : i.onClick = () => {
|
|
130
|
+
};
|
|
131
|
+
}
|
|
123
132
|
},
|
|
124
133
|
// {
|
|
125
134
|
// label: "禁用",
|
|
@@ -335,59 +344,59 @@ const { t: n } = a(), H = {
|
|
|
335
344
|
}
|
|
336
345
|
]
|
|
337
346
|
}
|
|
338
|
-
}, { t:
|
|
347
|
+
}, { t: s } = a(), G = {
|
|
339
348
|
component: async () => (await import("element-plus")).ElInputNumber,
|
|
340
|
-
groupName:
|
|
349
|
+
groupName: s("form"),
|
|
341
350
|
icon: "icon--epic--123-rounded",
|
|
342
351
|
sort: 710,
|
|
343
352
|
defaultSchema: {
|
|
344
|
-
label:
|
|
353
|
+
label: s("numberInput"),
|
|
345
354
|
type: "number",
|
|
346
355
|
field: "number",
|
|
347
356
|
input: !0,
|
|
348
357
|
componentProps: {
|
|
349
|
-
placeholder:
|
|
358
|
+
placeholder: s("pleaseEnter")
|
|
350
359
|
}
|
|
351
360
|
},
|
|
352
361
|
config: {
|
|
353
362
|
attribute: [
|
|
354
363
|
{
|
|
355
|
-
label:
|
|
364
|
+
label: s("fieldName"),
|
|
356
365
|
type: "input",
|
|
357
366
|
field: "field"
|
|
358
367
|
},
|
|
359
368
|
{
|
|
360
|
-
label:
|
|
369
|
+
label: s("title"),
|
|
361
370
|
type: "input",
|
|
362
371
|
field: "label"
|
|
363
372
|
},
|
|
364
373
|
{
|
|
365
|
-
label:
|
|
374
|
+
label: s("defaultValue"),
|
|
366
375
|
type: "number",
|
|
367
376
|
field: "componentProps.defaultValue"
|
|
368
377
|
},
|
|
369
378
|
{
|
|
370
|
-
label:
|
|
379
|
+
label: s("placeholder"),
|
|
371
380
|
type: "input",
|
|
372
381
|
field: "componentProps.placeholder"
|
|
373
382
|
},
|
|
374
383
|
{
|
|
375
|
-
label:
|
|
384
|
+
label: s("size"),
|
|
376
385
|
type: "select",
|
|
377
386
|
componentProps: {
|
|
378
|
-
placeholder:
|
|
387
|
+
placeholder: s("pleaseSelect"),
|
|
379
388
|
clearable: !0,
|
|
380
389
|
options: [
|
|
381
390
|
{
|
|
382
|
-
label:
|
|
391
|
+
label: s("large"),
|
|
383
392
|
value: "large"
|
|
384
393
|
},
|
|
385
394
|
{
|
|
386
|
-
label:
|
|
395
|
+
label: s("medium"),
|
|
387
396
|
value: "default"
|
|
388
397
|
},
|
|
389
398
|
{
|
|
390
|
-
label:
|
|
399
|
+
label: s("small"),
|
|
391
400
|
value: "small"
|
|
392
401
|
}
|
|
393
402
|
]
|
|
@@ -395,31 +404,31 @@ const { t: n } = a(), H = {
|
|
|
395
404
|
field: "componentProps.size"
|
|
396
405
|
},
|
|
397
406
|
{
|
|
398
|
-
label:
|
|
407
|
+
label: s("maxValue"),
|
|
399
408
|
type: "number",
|
|
400
409
|
field: "componentProps.max",
|
|
401
410
|
componentProps: {
|
|
402
|
-
placeholder:
|
|
411
|
+
placeholder: s("pleaseEnter")
|
|
403
412
|
}
|
|
404
413
|
},
|
|
405
414
|
{
|
|
406
|
-
label:
|
|
415
|
+
label: s("minValue"),
|
|
407
416
|
type: "number",
|
|
408
417
|
field: "componentProps.min",
|
|
409
418
|
componentProps: {
|
|
410
|
-
placeholder:
|
|
419
|
+
placeholder: s("pleaseEnter")
|
|
411
420
|
}
|
|
412
421
|
},
|
|
413
422
|
{
|
|
414
|
-
label:
|
|
423
|
+
label: s("step"),
|
|
415
424
|
type: "number",
|
|
416
425
|
field: "componentProps.step",
|
|
417
426
|
componentProps: {
|
|
418
|
-
placeholder:
|
|
427
|
+
placeholder: s("pleaseEnter")
|
|
419
428
|
}
|
|
420
429
|
},
|
|
421
430
|
{
|
|
422
|
-
label:
|
|
431
|
+
label: s("controlButtonPosition"),
|
|
423
432
|
type: "select",
|
|
424
433
|
defaultValue: "",
|
|
425
434
|
componentProps: {
|
|
@@ -433,21 +442,21 @@ const { t: n } = a(), H = {
|
|
|
433
442
|
value: "right"
|
|
434
443
|
}
|
|
435
444
|
],
|
|
436
|
-
placeholder:
|
|
445
|
+
placeholder: s("pleaseSelect"),
|
|
437
446
|
clearable: !0
|
|
438
447
|
},
|
|
439
448
|
field: "componentProps.controlsPosition"
|
|
440
449
|
},
|
|
441
450
|
{
|
|
442
|
-
label:
|
|
451
|
+
label: s("precision"),
|
|
443
452
|
type: "number",
|
|
444
453
|
field: "componentProps.precision",
|
|
445
454
|
componentProps: {
|
|
446
|
-
placeholder:
|
|
455
|
+
placeholder: s("pleaseEnter")
|
|
447
456
|
}
|
|
448
457
|
},
|
|
449
458
|
{
|
|
450
|
-
label:
|
|
459
|
+
label: s("inputControlIsMultipleOfStep"),
|
|
451
460
|
type: "switch",
|
|
452
461
|
field: "componentProps.stepStrictly"
|
|
453
462
|
},
|
|
@@ -462,11 +471,11 @@ const { t: n } = a(), H = {
|
|
|
462
471
|
// field: "componentProps.hidden",
|
|
463
472
|
// },
|
|
464
473
|
{
|
|
465
|
-
label:
|
|
474
|
+
label: s("formValidation"),
|
|
466
475
|
type: "ERuleEditor",
|
|
467
476
|
layout: "vertical",
|
|
468
477
|
field: "rules",
|
|
469
|
-
describe:
|
|
478
|
+
describe: s("validationRuleRequiresForm"),
|
|
470
479
|
componentProps: {
|
|
471
480
|
ruleType: "number"
|
|
472
481
|
}
|
|
@@ -475,7 +484,7 @@ const { t: n } = a(), H = {
|
|
|
475
484
|
event: [
|
|
476
485
|
{
|
|
477
486
|
type: "change",
|
|
478
|
-
describe:
|
|
487
|
+
describe: s("onValueChange")
|
|
479
488
|
}
|
|
480
489
|
]
|
|
481
490
|
}
|
|
@@ -939,10 +948,10 @@ const _ = {
|
|
|
939
948
|
// },
|
|
940
949
|
]
|
|
941
950
|
}
|
|
942
|
-
}, { t:
|
|
951
|
+
}, { t: k } = a(), Z = {
|
|
943
952
|
component: () => import("../../col-DcVPBKEc.js"),
|
|
944
953
|
defaultSchema: {
|
|
945
|
-
label:
|
|
954
|
+
label: k("gridLayout") + "-" + k("column"),
|
|
946
955
|
type: "col",
|
|
947
956
|
children: [],
|
|
948
957
|
componentProps: {
|
|
@@ -1035,8 +1044,8 @@ const _ = {
|
|
|
1035
1044
|
label: t("multiple"),
|
|
1036
1045
|
type: "switch",
|
|
1037
1046
|
field: "componentProps.multiple",
|
|
1038
|
-
onChange: ({ value: e, values:
|
|
1039
|
-
e ?
|
|
1047
|
+
onChange: ({ value: e, values: i }) => {
|
|
1048
|
+
e ? i.componentProps.defaultValue = [] : i.componentProps.defaultValue = null;
|
|
1040
1049
|
}
|
|
1041
1050
|
},
|
|
1042
1051
|
{
|
|
@@ -1355,25 +1364,25 @@ const _ = {
|
|
|
1355
1364
|
}
|
|
1356
1365
|
]
|
|
1357
1366
|
}
|
|
1358
|
-
}, { t:
|
|
1367
|
+
}, { t: r } = a(), te = {
|
|
1359
1368
|
component: () => import("../../checkbox-BMXONqwy.js"),
|
|
1360
|
-
groupName:
|
|
1369
|
+
groupName: r("form"),
|
|
1361
1370
|
icon: "icon--epic--dialogs-outline-rounded",
|
|
1362
1371
|
sort: 860,
|
|
1363
1372
|
defaultSchema: {
|
|
1364
|
-
label:
|
|
1373
|
+
label: r("checkbox"),
|
|
1365
1374
|
type: "checkbox",
|
|
1366
1375
|
field: "checkbox",
|
|
1367
1376
|
input: !0,
|
|
1368
1377
|
componentProps: {
|
|
1369
1378
|
options: [
|
|
1370
1379
|
{
|
|
1371
|
-
label:
|
|
1372
|
-
value:
|
|
1380
|
+
label: r("option1"),
|
|
1381
|
+
value: r("option1")
|
|
1373
1382
|
},
|
|
1374
1383
|
{
|
|
1375
|
-
label:
|
|
1376
|
-
value:
|
|
1384
|
+
label: r("option2"),
|
|
1385
|
+
value: r("option2")
|
|
1377
1386
|
}
|
|
1378
1387
|
]
|
|
1379
1388
|
}
|
|
@@ -1381,37 +1390,37 @@ const _ = {
|
|
|
1381
1390
|
config: {
|
|
1382
1391
|
attribute: [
|
|
1383
1392
|
{
|
|
1384
|
-
label:
|
|
1393
|
+
label: r("fieldName"),
|
|
1385
1394
|
type: "input",
|
|
1386
1395
|
field: "field"
|
|
1387
1396
|
},
|
|
1388
1397
|
{
|
|
1389
|
-
label:
|
|
1398
|
+
label: r("title"),
|
|
1390
1399
|
type: "input",
|
|
1391
1400
|
field: "label"
|
|
1392
1401
|
},
|
|
1393
1402
|
{
|
|
1394
|
-
label:
|
|
1403
|
+
label: r("defaultValue"),
|
|
1395
1404
|
type: "checkbox",
|
|
1396
1405
|
field: "componentProps.defaultValue"
|
|
1397
1406
|
},
|
|
1398
1407
|
{
|
|
1399
|
-
label:
|
|
1408
|
+
label: r("size"),
|
|
1400
1409
|
type: "select",
|
|
1401
1410
|
componentProps: {
|
|
1402
|
-
placeholder:
|
|
1411
|
+
placeholder: r("pleaseSelect"),
|
|
1403
1412
|
clearable: !0,
|
|
1404
1413
|
options: [
|
|
1405
1414
|
{
|
|
1406
|
-
label:
|
|
1415
|
+
label: r("large"),
|
|
1407
1416
|
value: "large"
|
|
1408
1417
|
},
|
|
1409
1418
|
{
|
|
1410
|
-
label:
|
|
1419
|
+
label: r("medium"),
|
|
1411
1420
|
value: "default"
|
|
1412
1421
|
},
|
|
1413
1422
|
{
|
|
1414
|
-
label:
|
|
1423
|
+
label: r("small"),
|
|
1415
1424
|
value: "small"
|
|
1416
1425
|
}
|
|
1417
1426
|
]
|
|
@@ -1419,41 +1428,41 @@ const _ = {
|
|
|
1419
1428
|
field: "componentProps.size"
|
|
1420
1429
|
},
|
|
1421
1430
|
{
|
|
1422
|
-
label:
|
|
1431
|
+
label: r("maxSelected"),
|
|
1423
1432
|
type: "number",
|
|
1424
1433
|
field: "componentProps.max",
|
|
1425
1434
|
componentProps: {
|
|
1426
|
-
placeholder:
|
|
1435
|
+
placeholder: r("pleaseEnter")
|
|
1427
1436
|
}
|
|
1428
1437
|
},
|
|
1429
1438
|
{
|
|
1430
|
-
label:
|
|
1439
|
+
label: r("minSelected"),
|
|
1431
1440
|
type: "number",
|
|
1432
1441
|
field: "componentProps.min",
|
|
1433
1442
|
componentProps: {
|
|
1434
|
-
placeholder:
|
|
1443
|
+
placeholder: r("pleaseEnter")
|
|
1435
1444
|
}
|
|
1436
1445
|
},
|
|
1437
1446
|
{
|
|
1438
|
-
label:
|
|
1447
|
+
label: r("buttonMode"),
|
|
1439
1448
|
type: "switch",
|
|
1440
1449
|
field: "componentProps.radioButton"
|
|
1441
1450
|
},
|
|
1442
1451
|
{
|
|
1443
|
-
label:
|
|
1452
|
+
label: r("optionTextColor"),
|
|
1444
1453
|
type: "color-picker",
|
|
1445
1454
|
layout: "horizontal",
|
|
1446
1455
|
field: "componentProps.textColor",
|
|
1447
1456
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1448
|
-
describe:
|
|
1457
|
+
describe: r("effectiveInButtonMode")
|
|
1449
1458
|
},
|
|
1450
1459
|
{
|
|
1451
|
-
label:
|
|
1460
|
+
label: r("optionButtonColor"),
|
|
1452
1461
|
type: "color-picker",
|
|
1453
1462
|
layout: "horizontal",
|
|
1454
1463
|
field: "componentProps.fill",
|
|
1455
1464
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1456
|
-
describe:
|
|
1465
|
+
describe: r("effectiveInButtonMode")
|
|
1457
1466
|
},
|
|
1458
1467
|
// {
|
|
1459
1468
|
// label: "禁用",
|
|
@@ -1466,43 +1475,43 @@ const _ = {
|
|
|
1466
1475
|
// field: "componentProps.hidden",
|
|
1467
1476
|
// },
|
|
1468
1477
|
{
|
|
1469
|
-
label:
|
|
1478
|
+
label: r("optionManagement"),
|
|
1470
1479
|
type: "EOptionsEditor",
|
|
1471
1480
|
layout: "vertical",
|
|
1472
1481
|
field: "componentProps.options"
|
|
1473
1482
|
},
|
|
1474
1483
|
{
|
|
1475
|
-
label:
|
|
1484
|
+
label: r("formValidation"),
|
|
1476
1485
|
type: "ERuleEditor",
|
|
1477
1486
|
layout: "vertical",
|
|
1478
1487
|
field: "rules",
|
|
1479
|
-
describe:
|
|
1488
|
+
describe: r("validationRuleRequiresForm"),
|
|
1480
1489
|
componentProps: {
|
|
1481
1490
|
ruleType: "array"
|
|
1482
1491
|
}
|
|
1483
1492
|
},
|
|
1484
1493
|
{
|
|
1485
|
-
label:
|
|
1494
|
+
label: r("dataSource"),
|
|
1486
1495
|
type: "EDataSource",
|
|
1487
1496
|
layout: "vertical",
|
|
1488
1497
|
field: "componentProps.dataSource",
|
|
1489
|
-
describe:
|
|
1498
|
+
describe: r("dataSourceConfig")
|
|
1490
1499
|
}
|
|
1491
1500
|
],
|
|
1492
1501
|
event: [
|
|
1493
1502
|
{
|
|
1494
1503
|
type: "change",
|
|
1495
|
-
describe:
|
|
1504
|
+
describe: r("onValueChange")
|
|
1496
1505
|
}
|
|
1497
1506
|
]
|
|
1498
1507
|
}
|
|
1499
|
-
}, { t:
|
|
1508
|
+
}, { t: c } = a(), oe = {
|
|
1500
1509
|
component: async () => (await import("element-plus")).ElSlider,
|
|
1501
|
-
groupName:
|
|
1510
|
+
groupName: c("form"),
|
|
1502
1511
|
icon: "icon--epic--switches",
|
|
1503
1512
|
sort: 930,
|
|
1504
1513
|
defaultSchema: {
|
|
1505
|
-
label:
|
|
1514
|
+
label: c("slider"),
|
|
1506
1515
|
type: "slider",
|
|
1507
1516
|
field: "slider",
|
|
1508
1517
|
input: !0,
|
|
@@ -1514,37 +1523,37 @@ const _ = {
|
|
|
1514
1523
|
config: {
|
|
1515
1524
|
attribute: [
|
|
1516
1525
|
{
|
|
1517
|
-
label:
|
|
1526
|
+
label: c("fieldName"),
|
|
1518
1527
|
type: "input",
|
|
1519
1528
|
field: "field"
|
|
1520
1529
|
},
|
|
1521
1530
|
{
|
|
1522
|
-
label:
|
|
1531
|
+
label: c("title"),
|
|
1523
1532
|
type: "input",
|
|
1524
1533
|
field: "label"
|
|
1525
1534
|
},
|
|
1526
1535
|
{
|
|
1527
|
-
label:
|
|
1536
|
+
label: c("defaultValue"),
|
|
1528
1537
|
type: "slider",
|
|
1529
1538
|
field: "componentProps.defaultValue"
|
|
1530
1539
|
},
|
|
1531
1540
|
{
|
|
1532
|
-
label:
|
|
1541
|
+
label: c("size"),
|
|
1533
1542
|
type: "select",
|
|
1534
1543
|
componentProps: {
|
|
1535
|
-
placeholder:
|
|
1544
|
+
placeholder: c("pleaseSelect"),
|
|
1536
1545
|
clearable: !0,
|
|
1537
1546
|
options: [
|
|
1538
1547
|
{
|
|
1539
|
-
label:
|
|
1548
|
+
label: c("large"),
|
|
1540
1549
|
value: "large"
|
|
1541
1550
|
},
|
|
1542
1551
|
{
|
|
1543
|
-
label:
|
|
1552
|
+
label: c("medium"),
|
|
1544
1553
|
value: "default"
|
|
1545
1554
|
},
|
|
1546
1555
|
{
|
|
1547
|
-
label:
|
|
1556
|
+
label: c("small"),
|
|
1548
1557
|
value: "small"
|
|
1549
1558
|
}
|
|
1550
1559
|
]
|
|
@@ -1552,83 +1561,83 @@ const _ = {
|
|
|
1552
1561
|
field: "componentProps.size"
|
|
1553
1562
|
},
|
|
1554
1563
|
{
|
|
1555
|
-
label:
|
|
1564
|
+
label: c("minValue"),
|
|
1556
1565
|
type: "number",
|
|
1557
1566
|
field: "componentProps.min",
|
|
1558
1567
|
componentProps: {
|
|
1559
|
-
placeholder:
|
|
1568
|
+
placeholder: c("pleaseEnter")
|
|
1560
1569
|
},
|
|
1561
|
-
onChange: ({ value: e, values:
|
|
1562
|
-
const
|
|
1570
|
+
onChange: ({ value: e, values: i, componentAttributes: v }) => {
|
|
1571
|
+
const x = v.value.findIndex((R) => R.field === "componentProps.max"), I = v.value[x];
|
|
1563
1572
|
I.componentProps = {
|
|
1564
1573
|
min: e
|
|
1565
|
-
}, (
|
|
1574
|
+
}, (i.componentProps.max ?? 0) < e && (i.componentProps.max = e);
|
|
1566
1575
|
}
|
|
1567
1576
|
},
|
|
1568
1577
|
{
|
|
1569
|
-
label:
|
|
1578
|
+
label: c("maxValue"),
|
|
1570
1579
|
type: "number",
|
|
1571
1580
|
field: "componentProps.max",
|
|
1572
1581
|
componentProps: {
|
|
1573
|
-
placeholder:
|
|
1582
|
+
placeholder: c("pleaseEnter")
|
|
1574
1583
|
},
|
|
1575
|
-
onChange: ({ value: e, values:
|
|
1576
|
-
const
|
|
1584
|
+
onChange: ({ value: e, values: i, componentAttributes: v }) => {
|
|
1585
|
+
const x = v.value.findIndex((R) => R.field === "componentProps.min"), I = v.value[x];
|
|
1577
1586
|
I.componentProps = {
|
|
1578
1587
|
max: e
|
|
1579
|
-
}, (
|
|
1588
|
+
}, (i.componentProps.min ?? 0) > e && (i.componentProps.min = e);
|
|
1580
1589
|
}
|
|
1581
1590
|
},
|
|
1582
1591
|
{
|
|
1583
|
-
label:
|
|
1592
|
+
label: c("step"),
|
|
1584
1593
|
type: "number",
|
|
1585
1594
|
field: "componentProps.step",
|
|
1586
1595
|
componentProps: {
|
|
1587
|
-
placeholder:
|
|
1596
|
+
placeholder: c("pleaseEnter")
|
|
1588
1597
|
}
|
|
1589
1598
|
},
|
|
1590
1599
|
{
|
|
1591
|
-
label:
|
|
1600
|
+
label: c("showStops"),
|
|
1592
1601
|
type: "switch",
|
|
1593
1602
|
field: "componentProps.showStops"
|
|
1594
1603
|
},
|
|
1595
1604
|
{
|
|
1596
|
-
label:
|
|
1605
|
+
label: c("tooltip"),
|
|
1597
1606
|
type: "switch",
|
|
1598
1607
|
field: "componentProps.showTooltip"
|
|
1599
1608
|
},
|
|
1600
1609
|
{
|
|
1601
|
-
label:
|
|
1610
|
+
label: c("range"),
|
|
1602
1611
|
type: "switch",
|
|
1603
1612
|
field: "componentProps.range"
|
|
1604
1613
|
},
|
|
1605
1614
|
{
|
|
1606
|
-
label:
|
|
1615
|
+
label: c("vertical"),
|
|
1607
1616
|
type: "switch",
|
|
1608
1617
|
field: "componentProps.vertical"
|
|
1609
1618
|
},
|
|
1610
1619
|
{
|
|
1611
|
-
label:
|
|
1620
|
+
label: c("height"),
|
|
1612
1621
|
type: "EInputSize",
|
|
1613
1622
|
field: "componentProps.height",
|
|
1614
1623
|
show: ({ values: e }) => e.componentProps.vertical
|
|
1615
1624
|
},
|
|
1616
1625
|
{
|
|
1617
|
-
label:
|
|
1626
|
+
label: c("showInput"),
|
|
1618
1627
|
type: "switch",
|
|
1619
1628
|
field: "componentProps.showInput",
|
|
1620
|
-
onChange: ({ value: e, values:
|
|
1621
|
-
e && (
|
|
1629
|
+
onChange: ({ value: e, values: i }) => {
|
|
1630
|
+
e && (i.componentProps.showInputControls = !0);
|
|
1622
1631
|
}
|
|
1623
1632
|
},
|
|
1624
1633
|
{
|
|
1625
|
-
label:
|
|
1634
|
+
label: c("controlButtons"),
|
|
1626
1635
|
type: "switch",
|
|
1627
1636
|
field: "componentProps.showInputControls",
|
|
1628
1637
|
show: ({ values: e }) => e.componentProps.showInput
|
|
1629
1638
|
},
|
|
1630
1639
|
{
|
|
1631
|
-
label:
|
|
1640
|
+
label: c("tooltipPosition"),
|
|
1632
1641
|
type: "select",
|
|
1633
1642
|
defaultValue: "bottom-start",
|
|
1634
1643
|
componentProps: {
|
|
@@ -1696,11 +1705,11 @@ const _ = {
|
|
|
1696
1705
|
// field: "componentProps.hidden",
|
|
1697
1706
|
// },
|
|
1698
1707
|
{
|
|
1699
|
-
label:
|
|
1708
|
+
label: c("formValidation"),
|
|
1700
1709
|
type: "ERuleEditor",
|
|
1701
1710
|
layout: "vertical",
|
|
1702
1711
|
field: "rules",
|
|
1703
|
-
describe:
|
|
1712
|
+
describe: c("validationRuleRequiresForm"),
|
|
1704
1713
|
componentProps: {
|
|
1705
1714
|
ruleType: "number"
|
|
1706
1715
|
}
|
|
@@ -1709,11 +1718,11 @@ const _ = {
|
|
|
1709
1718
|
event: [
|
|
1710
1719
|
{
|
|
1711
1720
|
type: "input",
|
|
1712
|
-
describe:
|
|
1721
|
+
describe: c("realTimeTrigger")
|
|
1713
1722
|
},
|
|
1714
1723
|
{
|
|
1715
1724
|
type: "change",
|
|
1716
|
-
describe:
|
|
1725
|
+
describe: c("onChangeEnd")
|
|
1717
1726
|
}
|
|
1718
1727
|
]
|
|
1719
1728
|
}
|
|
@@ -1865,7 +1874,7 @@ const _ = {
|
|
|
1865
1874
|
placeholder: m("pleaseEnter")
|
|
1866
1875
|
},
|
|
1867
1876
|
onChange(e) {
|
|
1868
|
-
setTimeout(() =>
|
|
1877
|
+
setTimeout(() => F(e));
|
|
1869
1878
|
}
|
|
1870
1879
|
},
|
|
1871
1880
|
{
|
|
@@ -1876,7 +1885,7 @@ const _ = {
|
|
|
1876
1885
|
placeholder: m("pleaseEnter")
|
|
1877
1886
|
},
|
|
1878
1887
|
onChange(e) {
|
|
1879
|
-
setTimeout(() =>
|
|
1888
|
+
setTimeout(() => F(e));
|
|
1880
1889
|
}
|
|
1881
1890
|
},
|
|
1882
1891
|
{
|
|
@@ -1961,11 +1970,11 @@ const _ = {
|
|
|
1961
1970
|
]
|
|
1962
1971
|
}
|
|
1963
1972
|
};
|
|
1964
|
-
function
|
|
1973
|
+
function F(e) {
|
|
1965
1974
|
var v;
|
|
1966
|
-
let
|
|
1967
|
-
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 =
|
|
1968
|
-
defaultValue:
|
|
1975
|
+
let i = ((v = e.values.componentProps) == null ? void 0 : v.inactiveValue) || !1;
|
|
1976
|
+
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 = {
|
|
1977
|
+
defaultValue: i
|
|
1969
1978
|
};
|
|
1970
1979
|
}
|
|
1971
1980
|
const { t: l } = a(), pe = {
|
|
@@ -2076,8 +2085,8 @@ const { t: l } = a(), pe = {
|
|
|
2076
2085
|
label: l("multiple"),
|
|
2077
2086
|
type: "switch",
|
|
2078
2087
|
field: "componentProps.props.multiple",
|
|
2079
|
-
onChange: ({ value: e, values:
|
|
2080
|
-
e ?
|
|
2088
|
+
onChange: ({ value: e, values: i }) => {
|
|
2089
|
+
e ? i.componentProps.defaultValue = [] : i.componentProps.defaultValue = null;
|
|
2081
2090
|
}
|
|
2082
2091
|
},
|
|
2083
2092
|
{
|
|
@@ -2318,8 +2327,8 @@ const re = {
|
|
|
2318
2327
|
}
|
|
2319
2328
|
]
|
|
2320
2329
|
},
|
|
2321
|
-
onChange({ values: e, value:
|
|
2322
|
-
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(
|
|
2330
|
+
onChange({ values: e, value: i }) {
|
|
2331
|
+
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");
|
|
2323
2332
|
}
|
|
2324
2333
|
},
|
|
2325
2334
|
{
|
|
@@ -2995,7 +3004,7 @@ const he = {
|
|
|
2995
3004
|
config: {
|
|
2996
3005
|
attribute: []
|
|
2997
3006
|
}
|
|
2998
|
-
}, { t:
|
|
3007
|
+
}, { t: T } = a(), Pe = {
|
|
2999
3008
|
component: () => import("../../tabs-DCyifACM.js"),
|
|
3000
3009
|
groupName: "布局",
|
|
3001
3010
|
icon: "icon--epic--section",
|
|
@@ -3024,7 +3033,7 @@ const he = {
|
|
|
3024
3033
|
config: {
|
|
3025
3034
|
attribute: [
|
|
3026
3035
|
{
|
|
3027
|
-
label:
|
|
3036
|
+
label: T("fieldName"),
|
|
3028
3037
|
type: "input",
|
|
3029
3038
|
field: "field"
|
|
3030
3039
|
},
|
|
@@ -3032,7 +3041,7 @@ const he = {
|
|
|
3032
3041
|
label: "风格类型",
|
|
3033
3042
|
type: "select",
|
|
3034
3043
|
componentProps: {
|
|
3035
|
-
placeholder:
|
|
3044
|
+
placeholder: T("pleaseSelect"),
|
|
3036
3045
|
clearable: !0,
|
|
3037
3046
|
options: [
|
|
3038
3047
|
{
|
|
@@ -3051,7 +3060,7 @@ const he = {
|
|
|
3051
3060
|
label: "选项卡所在位置",
|
|
3052
3061
|
type: "select",
|
|
3053
3062
|
componentProps: {
|
|
3054
|
-
placeholder:
|
|
3063
|
+
placeholder: T("pleaseSelect"),
|
|
3055
3064
|
clearable: !0,
|
|
3056
3065
|
options: [
|
|
3057
3066
|
{
|
|
@@ -3075,11 +3084,11 @@ const he = {
|
|
|
3075
3084
|
field: "componentProps.tab-position"
|
|
3076
3085
|
},
|
|
3077
3086
|
{
|
|
3078
|
-
label:
|
|
3087
|
+
label: T("optionManagement"),
|
|
3079
3088
|
type: "EOptionsEditor",
|
|
3080
3089
|
layout: "vertical",
|
|
3081
3090
|
field: "children",
|
|
3082
|
-
describe:
|
|
3091
|
+
describe: T("configureOptions")
|
|
3083
3092
|
}
|
|
3084
3093
|
]
|
|
3085
3094
|
}
|
|
@@ -3510,8 +3519,8 @@ const Se = {
|
|
|
3510
3519
|
]
|
|
3511
3520
|
}
|
|
3512
3521
|
};
|
|
3513
|
-
function Re(e =
|
|
3514
|
-
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",
|
|
3522
|
+
function Re(e = N) {
|
|
3523
|
+
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), [
|
|
3515
3524
|
K,
|
|
3516
3525
|
_,
|
|
3517
3526
|
H,
|
|
@@ -3549,12 +3558,12 @@ function Re(e = k) {
|
|
|
3549
3558
|
e.registerComponent(v), e.addBaseComponentTypes(v.defaultSchema.type);
|
|
3550
3559
|
}), e.setInitialized(!0);
|
|
3551
3560
|
}
|
|
3552
|
-
function
|
|
3553
|
-
import("element-plus").then(({ provideGlobalConfig:
|
|
3554
|
-
|
|
3561
|
+
function ke(e) {
|
|
3562
|
+
import("element-plus").then(({ provideGlobalConfig: i }) => {
|
|
3563
|
+
i(e);
|
|
3555
3564
|
});
|
|
3556
3565
|
}
|
|
3557
3566
|
export {
|
|
3558
|
-
|
|
3567
|
+
ke as provideGlobalConfig,
|
|
3559
3568
|
Re as setupElementPlus
|
|
3560
3569
|
};
|