epic-designer-gold 1.0.17 → 1.0.19
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-D871aFNX.cjs → attributeView-CU3Dk0My.cjs} +1 -1
- package/dist/{attributeView-Cb_lnXnd.js → attributeView-HxhlCLw0.js} +1 -1
- package/dist/{index-M1eoMHL_.cjs → index-9vCzllbk.cjs} +1 -1
- package/dist/{index-DvnclCBw.js → index-BE1w9DhI.js} +128 -127
- package/dist/{index-Cdz_E5uq.cjs → index-BX7CK_AK.cjs} +1 -1
- package/dist/{index-Cwf1fnCe.js → index-B_mrUGQ2.js} +1 -1
- package/dist/{index-B8VoR-rx.js → index-CAUVcvJK.js} +1 -1
- package/dist/{index-DXYNbYfi.js → index-CInzk-Ex.js} +1 -1
- package/dist/{index-BXLg5QG8.cjs → index-CNF2_p-m.cjs} +1 -1
- package/dist/{index-4Jbrf4oJ.js → index-CpleWjYN.js} +1 -1
- package/dist/{index-Cdfyd5o8.cjs → index-CyWcwJUU.cjs} +1 -1
- package/dist/index-DsURseKq.js +4 -0
- package/dist/{index-C-vzsLbI.cjs → index-Dt5ghoRX.cjs} +1 -1
- package/dist/{index-HBD4zD_h.js → index-I1yxSuJN.js} +1 -1
- package/dist/{index-DHgeDEYV.cjs → index-RXn2MvOX.cjs} +1 -1
- package/dist/{index-D7DryFmY.cjs → index-SCeJAHnE.cjs} +2 -2
- package/dist/{index-Bp5TeT0d.cjs → index-wnM1cDL1.cjs} +1 -1
- package/dist/{index-DpF28L2Q.js → index-xiA__w61.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{styleView-m63s2tRj.js → styleView-BF3bqKOa.js} +1 -1
- package/dist/{styleView-C-SMgcjX.cjs → styleView-Bi6JYW5u.cjs} +1 -1
- package/dist/ui/elementPlus/index.cjs +1 -1
- package/dist/ui/elementPlus/index.js +141 -134
- package/package.json +1 -1
- package/dist/index-CNFfjSi0.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { pluginManager as
|
|
1
|
+
import { pluginManager as k } 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 W, ElDrawer as A, 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"),
|
|
@@ -109,11 +109,11 @@ const { t: n } = a(), H = {
|
|
|
109
109
|
field: "componentProps.showPassword",
|
|
110
110
|
show: ({ values: e }) => e.componentProps.type === "password"
|
|
111
111
|
},
|
|
112
|
-
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
},
|
|
112
|
+
// {
|
|
113
|
+
// label: "只读",
|
|
114
|
+
// type: "switch",
|
|
115
|
+
// field: "componentProps.readonly",
|
|
116
|
+
// },
|
|
117
117
|
{
|
|
118
118
|
label: n("clearable"),
|
|
119
119
|
type: "switch",
|
|
@@ -122,13 +122,20 @@ const { t: n } = a(), H = {
|
|
|
122
122
|
{
|
|
123
123
|
label: "超链接",
|
|
124
124
|
type: "switch",
|
|
125
|
-
field: "componentProps.isLink"
|
|
126
|
-
onChange: ({ value
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
125
|
+
field: "componentProps.isLink"
|
|
126
|
+
// onChange: ({ value, values, componentAttributes }) => {
|
|
127
|
+
// if (value) {
|
|
128
|
+
// values.componentProps.class = "is-link";
|
|
129
|
+
// values.onClick = (e) => {
|
|
130
|
+
// if (values.componentProps.readonly) {
|
|
131
|
+
// window.open(e.target.value, "blank");
|
|
132
|
+
// }
|
|
133
|
+
// };
|
|
134
|
+
// } else {
|
|
135
|
+
// values.componentProps.class = "";
|
|
136
|
+
// values.onClick = () => {};
|
|
137
|
+
// }
|
|
138
|
+
// },
|
|
132
139
|
},
|
|
133
140
|
// {
|
|
134
141
|
// label: "禁用",
|
|
@@ -344,59 +351,59 @@ const { t: n } = a(), H = {
|
|
|
344
351
|
}
|
|
345
352
|
]
|
|
346
353
|
}
|
|
347
|
-
}, { t:
|
|
354
|
+
}, { t: c } = a(), G = {
|
|
348
355
|
component: async () => (await import("element-plus")).ElInputNumber,
|
|
349
|
-
groupName:
|
|
356
|
+
groupName: c("form"),
|
|
350
357
|
icon: "icon--epic--123-rounded",
|
|
351
358
|
sort: 710,
|
|
352
359
|
defaultSchema: {
|
|
353
|
-
label:
|
|
360
|
+
label: c("numberInput"),
|
|
354
361
|
type: "number",
|
|
355
362
|
field: "number",
|
|
356
363
|
input: !0,
|
|
357
364
|
componentProps: {
|
|
358
|
-
placeholder:
|
|
365
|
+
placeholder: c("pleaseEnter")
|
|
359
366
|
}
|
|
360
367
|
},
|
|
361
368
|
config: {
|
|
362
369
|
attribute: [
|
|
363
370
|
{
|
|
364
|
-
label:
|
|
371
|
+
label: c("fieldName"),
|
|
365
372
|
type: "input",
|
|
366
373
|
field: "field"
|
|
367
374
|
},
|
|
368
375
|
{
|
|
369
|
-
label:
|
|
376
|
+
label: c("title"),
|
|
370
377
|
type: "input",
|
|
371
378
|
field: "label"
|
|
372
379
|
},
|
|
373
380
|
{
|
|
374
|
-
label:
|
|
381
|
+
label: c("defaultValue"),
|
|
375
382
|
type: "number",
|
|
376
383
|
field: "componentProps.defaultValue"
|
|
377
384
|
},
|
|
378
385
|
{
|
|
379
|
-
label:
|
|
386
|
+
label: c("placeholder"),
|
|
380
387
|
type: "input",
|
|
381
388
|
field: "componentProps.placeholder"
|
|
382
389
|
},
|
|
383
390
|
{
|
|
384
|
-
label:
|
|
391
|
+
label: c("size"),
|
|
385
392
|
type: "select",
|
|
386
393
|
componentProps: {
|
|
387
|
-
placeholder:
|
|
394
|
+
placeholder: c("pleaseSelect"),
|
|
388
395
|
clearable: !0,
|
|
389
396
|
options: [
|
|
390
397
|
{
|
|
391
|
-
label:
|
|
398
|
+
label: c("large"),
|
|
392
399
|
value: "large"
|
|
393
400
|
},
|
|
394
401
|
{
|
|
395
|
-
label:
|
|
402
|
+
label: c("medium"),
|
|
396
403
|
value: "default"
|
|
397
404
|
},
|
|
398
405
|
{
|
|
399
|
-
label:
|
|
406
|
+
label: c("small"),
|
|
400
407
|
value: "small"
|
|
401
408
|
}
|
|
402
409
|
]
|
|
@@ -404,31 +411,31 @@ const { t: n } = a(), H = {
|
|
|
404
411
|
field: "componentProps.size"
|
|
405
412
|
},
|
|
406
413
|
{
|
|
407
|
-
label:
|
|
414
|
+
label: c("maxValue"),
|
|
408
415
|
type: "number",
|
|
409
416
|
field: "componentProps.max",
|
|
410
417
|
componentProps: {
|
|
411
|
-
placeholder:
|
|
418
|
+
placeholder: c("pleaseEnter")
|
|
412
419
|
}
|
|
413
420
|
},
|
|
414
421
|
{
|
|
415
|
-
label:
|
|
422
|
+
label: c("minValue"),
|
|
416
423
|
type: "number",
|
|
417
424
|
field: "componentProps.min",
|
|
418
425
|
componentProps: {
|
|
419
|
-
placeholder:
|
|
426
|
+
placeholder: c("pleaseEnter")
|
|
420
427
|
}
|
|
421
428
|
},
|
|
422
429
|
{
|
|
423
|
-
label:
|
|
430
|
+
label: c("step"),
|
|
424
431
|
type: "number",
|
|
425
432
|
field: "componentProps.step",
|
|
426
433
|
componentProps: {
|
|
427
|
-
placeholder:
|
|
434
|
+
placeholder: c("pleaseEnter")
|
|
428
435
|
}
|
|
429
436
|
},
|
|
430
437
|
{
|
|
431
|
-
label:
|
|
438
|
+
label: c("controlButtonPosition"),
|
|
432
439
|
type: "select",
|
|
433
440
|
defaultValue: "",
|
|
434
441
|
componentProps: {
|
|
@@ -442,21 +449,21 @@ const { t: n } = a(), H = {
|
|
|
442
449
|
value: "right"
|
|
443
450
|
}
|
|
444
451
|
],
|
|
445
|
-
placeholder:
|
|
452
|
+
placeholder: c("pleaseSelect"),
|
|
446
453
|
clearable: !0
|
|
447
454
|
},
|
|
448
455
|
field: "componentProps.controlsPosition"
|
|
449
456
|
},
|
|
450
457
|
{
|
|
451
|
-
label:
|
|
458
|
+
label: c("precision"),
|
|
452
459
|
type: "number",
|
|
453
460
|
field: "componentProps.precision",
|
|
454
461
|
componentProps: {
|
|
455
|
-
placeholder:
|
|
462
|
+
placeholder: c("pleaseEnter")
|
|
456
463
|
}
|
|
457
464
|
},
|
|
458
465
|
{
|
|
459
|
-
label:
|
|
466
|
+
label: c("inputControlIsMultipleOfStep"),
|
|
460
467
|
type: "switch",
|
|
461
468
|
field: "componentProps.stepStrictly"
|
|
462
469
|
},
|
|
@@ -471,11 +478,11 @@ const { t: n } = a(), H = {
|
|
|
471
478
|
// field: "componentProps.hidden",
|
|
472
479
|
// },
|
|
473
480
|
{
|
|
474
|
-
label:
|
|
481
|
+
label: c("formValidation"),
|
|
475
482
|
type: "ERuleEditor",
|
|
476
483
|
layout: "vertical",
|
|
477
484
|
field: "rules",
|
|
478
|
-
describe:
|
|
485
|
+
describe: c("validationRuleRequiresForm"),
|
|
479
486
|
componentProps: {
|
|
480
487
|
ruleType: "number"
|
|
481
488
|
}
|
|
@@ -484,7 +491,7 @@ const { t: n } = a(), H = {
|
|
|
484
491
|
event: [
|
|
485
492
|
{
|
|
486
493
|
type: "change",
|
|
487
|
-
describe:
|
|
494
|
+
describe: c("onValueChange")
|
|
488
495
|
}
|
|
489
496
|
]
|
|
490
497
|
}
|
|
@@ -948,10 +955,10 @@ const _ = {
|
|
|
948
955
|
// },
|
|
949
956
|
]
|
|
950
957
|
}
|
|
951
|
-
}, { t:
|
|
958
|
+
}, { t: F } = a(), Z = {
|
|
952
959
|
component: () => import("../../col-DcVPBKEc.js"),
|
|
953
960
|
defaultSchema: {
|
|
954
|
-
label:
|
|
961
|
+
label: F("gridLayout") + "-" + F("column"),
|
|
955
962
|
type: "col",
|
|
956
963
|
children: [],
|
|
957
964
|
componentProps: {
|
|
@@ -1044,8 +1051,8 @@ const _ = {
|
|
|
1044
1051
|
label: t("multiple"),
|
|
1045
1052
|
type: "switch",
|
|
1046
1053
|
field: "componentProps.multiple",
|
|
1047
|
-
onChange: ({ value: e, values:
|
|
1048
|
-
e ?
|
|
1054
|
+
onChange: ({ value: e, values: s }) => {
|
|
1055
|
+
e ? s.componentProps.defaultValue = [] : s.componentProps.defaultValue = null;
|
|
1049
1056
|
}
|
|
1050
1057
|
},
|
|
1051
1058
|
{
|
|
@@ -1364,25 +1371,25 @@ const _ = {
|
|
|
1364
1371
|
}
|
|
1365
1372
|
]
|
|
1366
1373
|
}
|
|
1367
|
-
}, { t:
|
|
1374
|
+
}, { t: i } = a(), te = {
|
|
1368
1375
|
component: () => import("../../checkbox-BMXONqwy.js"),
|
|
1369
|
-
groupName:
|
|
1376
|
+
groupName: i("form"),
|
|
1370
1377
|
icon: "icon--epic--dialogs-outline-rounded",
|
|
1371
1378
|
sort: 860,
|
|
1372
1379
|
defaultSchema: {
|
|
1373
|
-
label:
|
|
1380
|
+
label: i("checkbox"),
|
|
1374
1381
|
type: "checkbox",
|
|
1375
1382
|
field: "checkbox",
|
|
1376
1383
|
input: !0,
|
|
1377
1384
|
componentProps: {
|
|
1378
1385
|
options: [
|
|
1379
1386
|
{
|
|
1380
|
-
label:
|
|
1381
|
-
value:
|
|
1387
|
+
label: i("option1"),
|
|
1388
|
+
value: i("option1")
|
|
1382
1389
|
},
|
|
1383
1390
|
{
|
|
1384
|
-
label:
|
|
1385
|
-
value:
|
|
1391
|
+
label: i("option2"),
|
|
1392
|
+
value: i("option2")
|
|
1386
1393
|
}
|
|
1387
1394
|
]
|
|
1388
1395
|
}
|
|
@@ -1390,37 +1397,37 @@ const _ = {
|
|
|
1390
1397
|
config: {
|
|
1391
1398
|
attribute: [
|
|
1392
1399
|
{
|
|
1393
|
-
label:
|
|
1400
|
+
label: i("fieldName"),
|
|
1394
1401
|
type: "input",
|
|
1395
1402
|
field: "field"
|
|
1396
1403
|
},
|
|
1397
1404
|
{
|
|
1398
|
-
label:
|
|
1405
|
+
label: i("title"),
|
|
1399
1406
|
type: "input",
|
|
1400
1407
|
field: "label"
|
|
1401
1408
|
},
|
|
1402
1409
|
{
|
|
1403
|
-
label:
|
|
1410
|
+
label: i("defaultValue"),
|
|
1404
1411
|
type: "checkbox",
|
|
1405
1412
|
field: "componentProps.defaultValue"
|
|
1406
1413
|
},
|
|
1407
1414
|
{
|
|
1408
|
-
label:
|
|
1415
|
+
label: i("size"),
|
|
1409
1416
|
type: "select",
|
|
1410
1417
|
componentProps: {
|
|
1411
|
-
placeholder:
|
|
1418
|
+
placeholder: i("pleaseSelect"),
|
|
1412
1419
|
clearable: !0,
|
|
1413
1420
|
options: [
|
|
1414
1421
|
{
|
|
1415
|
-
label:
|
|
1422
|
+
label: i("large"),
|
|
1416
1423
|
value: "large"
|
|
1417
1424
|
},
|
|
1418
1425
|
{
|
|
1419
|
-
label:
|
|
1426
|
+
label: i("medium"),
|
|
1420
1427
|
value: "default"
|
|
1421
1428
|
},
|
|
1422
1429
|
{
|
|
1423
|
-
label:
|
|
1430
|
+
label: i("small"),
|
|
1424
1431
|
value: "small"
|
|
1425
1432
|
}
|
|
1426
1433
|
]
|
|
@@ -1428,41 +1435,41 @@ const _ = {
|
|
|
1428
1435
|
field: "componentProps.size"
|
|
1429
1436
|
},
|
|
1430
1437
|
{
|
|
1431
|
-
label:
|
|
1438
|
+
label: i("maxSelected"),
|
|
1432
1439
|
type: "number",
|
|
1433
1440
|
field: "componentProps.max",
|
|
1434
1441
|
componentProps: {
|
|
1435
|
-
placeholder:
|
|
1442
|
+
placeholder: i("pleaseEnter")
|
|
1436
1443
|
}
|
|
1437
1444
|
},
|
|
1438
1445
|
{
|
|
1439
|
-
label:
|
|
1446
|
+
label: i("minSelected"),
|
|
1440
1447
|
type: "number",
|
|
1441
1448
|
field: "componentProps.min",
|
|
1442
1449
|
componentProps: {
|
|
1443
|
-
placeholder:
|
|
1450
|
+
placeholder: i("pleaseEnter")
|
|
1444
1451
|
}
|
|
1445
1452
|
},
|
|
1446
1453
|
{
|
|
1447
|
-
label:
|
|
1454
|
+
label: i("buttonMode"),
|
|
1448
1455
|
type: "switch",
|
|
1449
1456
|
field: "componentProps.radioButton"
|
|
1450
1457
|
},
|
|
1451
1458
|
{
|
|
1452
|
-
label:
|
|
1459
|
+
label: i("optionTextColor"),
|
|
1453
1460
|
type: "color-picker",
|
|
1454
1461
|
layout: "horizontal",
|
|
1455
1462
|
field: "componentProps.textColor",
|
|
1456
1463
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1457
|
-
describe:
|
|
1464
|
+
describe: i("effectiveInButtonMode")
|
|
1458
1465
|
},
|
|
1459
1466
|
{
|
|
1460
|
-
label:
|
|
1467
|
+
label: i("optionButtonColor"),
|
|
1461
1468
|
type: "color-picker",
|
|
1462
1469
|
layout: "horizontal",
|
|
1463
1470
|
field: "componentProps.fill",
|
|
1464
1471
|
show: ({ values: e }) => e.componentProps.radioButton,
|
|
1465
|
-
describe:
|
|
1472
|
+
describe: i("effectiveInButtonMode")
|
|
1466
1473
|
},
|
|
1467
1474
|
// {
|
|
1468
1475
|
// label: "禁用",
|
|
@@ -1475,43 +1482,43 @@ const _ = {
|
|
|
1475
1482
|
// field: "componentProps.hidden",
|
|
1476
1483
|
// },
|
|
1477
1484
|
{
|
|
1478
|
-
label:
|
|
1485
|
+
label: i("optionManagement"),
|
|
1479
1486
|
type: "EOptionsEditor",
|
|
1480
1487
|
layout: "vertical",
|
|
1481
1488
|
field: "componentProps.options"
|
|
1482
1489
|
},
|
|
1483
1490
|
{
|
|
1484
|
-
label:
|
|
1491
|
+
label: i("formValidation"),
|
|
1485
1492
|
type: "ERuleEditor",
|
|
1486
1493
|
layout: "vertical",
|
|
1487
1494
|
field: "rules",
|
|
1488
|
-
describe:
|
|
1495
|
+
describe: i("validationRuleRequiresForm"),
|
|
1489
1496
|
componentProps: {
|
|
1490
1497
|
ruleType: "array"
|
|
1491
1498
|
}
|
|
1492
1499
|
},
|
|
1493
1500
|
{
|
|
1494
|
-
label:
|
|
1501
|
+
label: i("dataSource"),
|
|
1495
1502
|
type: "EDataSource",
|
|
1496
1503
|
layout: "vertical",
|
|
1497
1504
|
field: "componentProps.dataSource",
|
|
1498
|
-
describe:
|
|
1505
|
+
describe: i("dataSourceConfig")
|
|
1499
1506
|
}
|
|
1500
1507
|
],
|
|
1501
1508
|
event: [
|
|
1502
1509
|
{
|
|
1503
1510
|
type: "change",
|
|
1504
|
-
describe:
|
|
1511
|
+
describe: i("onValueChange")
|
|
1505
1512
|
}
|
|
1506
1513
|
]
|
|
1507
1514
|
}
|
|
1508
|
-
}, { t:
|
|
1515
|
+
}, { t: r } = a(), oe = {
|
|
1509
1516
|
component: async () => (await import("element-plus")).ElSlider,
|
|
1510
|
-
groupName:
|
|
1517
|
+
groupName: r("form"),
|
|
1511
1518
|
icon: "icon--epic--switches",
|
|
1512
1519
|
sort: 930,
|
|
1513
1520
|
defaultSchema: {
|
|
1514
|
-
label:
|
|
1521
|
+
label: r("slider"),
|
|
1515
1522
|
type: "slider",
|
|
1516
1523
|
field: "slider",
|
|
1517
1524
|
input: !0,
|
|
@@ -1523,37 +1530,37 @@ const _ = {
|
|
|
1523
1530
|
config: {
|
|
1524
1531
|
attribute: [
|
|
1525
1532
|
{
|
|
1526
|
-
label:
|
|
1533
|
+
label: r("fieldName"),
|
|
1527
1534
|
type: "input",
|
|
1528
1535
|
field: "field"
|
|
1529
1536
|
},
|
|
1530
1537
|
{
|
|
1531
|
-
label:
|
|
1538
|
+
label: r("title"),
|
|
1532
1539
|
type: "input",
|
|
1533
1540
|
field: "label"
|
|
1534
1541
|
},
|
|
1535
1542
|
{
|
|
1536
|
-
label:
|
|
1543
|
+
label: r("defaultValue"),
|
|
1537
1544
|
type: "slider",
|
|
1538
1545
|
field: "componentProps.defaultValue"
|
|
1539
1546
|
},
|
|
1540
1547
|
{
|
|
1541
|
-
label:
|
|
1548
|
+
label: r("size"),
|
|
1542
1549
|
type: "select",
|
|
1543
1550
|
componentProps: {
|
|
1544
|
-
placeholder:
|
|
1551
|
+
placeholder: r("pleaseSelect"),
|
|
1545
1552
|
clearable: !0,
|
|
1546
1553
|
options: [
|
|
1547
1554
|
{
|
|
1548
|
-
label:
|
|
1555
|
+
label: r("large"),
|
|
1549
1556
|
value: "large"
|
|
1550
1557
|
},
|
|
1551
1558
|
{
|
|
1552
|
-
label:
|
|
1559
|
+
label: r("medium"),
|
|
1553
1560
|
value: "default"
|
|
1554
1561
|
},
|
|
1555
1562
|
{
|
|
1556
|
-
label:
|
|
1563
|
+
label: r("small"),
|
|
1557
1564
|
value: "small"
|
|
1558
1565
|
}
|
|
1559
1566
|
]
|
|
@@ -1561,83 +1568,83 @@ const _ = {
|
|
|
1561
1568
|
field: "componentProps.size"
|
|
1562
1569
|
},
|
|
1563
1570
|
{
|
|
1564
|
-
label:
|
|
1571
|
+
label: r("minValue"),
|
|
1565
1572
|
type: "number",
|
|
1566
1573
|
field: "componentProps.min",
|
|
1567
1574
|
componentProps: {
|
|
1568
|
-
placeholder:
|
|
1575
|
+
placeholder: r("pleaseEnter")
|
|
1569
1576
|
},
|
|
1570
|
-
onChange: ({ value: e, values:
|
|
1571
|
-
const
|
|
1577
|
+
onChange: ({ value: e, values: s, componentAttributes: v }) => {
|
|
1578
|
+
const T = v.value.findIndex((R) => R.field === "componentProps.max"), I = v.value[T];
|
|
1572
1579
|
I.componentProps = {
|
|
1573
1580
|
min: e
|
|
1574
|
-
}, (
|
|
1581
|
+
}, (s.componentProps.max ?? 0) < e && (s.componentProps.max = e);
|
|
1575
1582
|
}
|
|
1576
1583
|
},
|
|
1577
1584
|
{
|
|
1578
|
-
label:
|
|
1585
|
+
label: r("maxValue"),
|
|
1579
1586
|
type: "number",
|
|
1580
1587
|
field: "componentProps.max",
|
|
1581
1588
|
componentProps: {
|
|
1582
|
-
placeholder:
|
|
1589
|
+
placeholder: r("pleaseEnter")
|
|
1583
1590
|
},
|
|
1584
|
-
onChange: ({ value: e, values:
|
|
1585
|
-
const
|
|
1591
|
+
onChange: ({ value: e, values: s, componentAttributes: v }) => {
|
|
1592
|
+
const T = v.value.findIndex((R) => R.field === "componentProps.min"), I = v.value[T];
|
|
1586
1593
|
I.componentProps = {
|
|
1587
1594
|
max: e
|
|
1588
|
-
}, (
|
|
1595
|
+
}, (s.componentProps.min ?? 0) > e && (s.componentProps.min = e);
|
|
1589
1596
|
}
|
|
1590
1597
|
},
|
|
1591
1598
|
{
|
|
1592
|
-
label:
|
|
1599
|
+
label: r("step"),
|
|
1593
1600
|
type: "number",
|
|
1594
1601
|
field: "componentProps.step",
|
|
1595
1602
|
componentProps: {
|
|
1596
|
-
placeholder:
|
|
1603
|
+
placeholder: r("pleaseEnter")
|
|
1597
1604
|
}
|
|
1598
1605
|
},
|
|
1599
1606
|
{
|
|
1600
|
-
label:
|
|
1607
|
+
label: r("showStops"),
|
|
1601
1608
|
type: "switch",
|
|
1602
1609
|
field: "componentProps.showStops"
|
|
1603
1610
|
},
|
|
1604
1611
|
{
|
|
1605
|
-
label:
|
|
1612
|
+
label: r("tooltip"),
|
|
1606
1613
|
type: "switch",
|
|
1607
1614
|
field: "componentProps.showTooltip"
|
|
1608
1615
|
},
|
|
1609
1616
|
{
|
|
1610
|
-
label:
|
|
1617
|
+
label: r("range"),
|
|
1611
1618
|
type: "switch",
|
|
1612
1619
|
field: "componentProps.range"
|
|
1613
1620
|
},
|
|
1614
1621
|
{
|
|
1615
|
-
label:
|
|
1622
|
+
label: r("vertical"),
|
|
1616
1623
|
type: "switch",
|
|
1617
1624
|
field: "componentProps.vertical"
|
|
1618
1625
|
},
|
|
1619
1626
|
{
|
|
1620
|
-
label:
|
|
1627
|
+
label: r("height"),
|
|
1621
1628
|
type: "EInputSize",
|
|
1622
1629
|
field: "componentProps.height",
|
|
1623
1630
|
show: ({ values: e }) => e.componentProps.vertical
|
|
1624
1631
|
},
|
|
1625
1632
|
{
|
|
1626
|
-
label:
|
|
1633
|
+
label: r("showInput"),
|
|
1627
1634
|
type: "switch",
|
|
1628
1635
|
field: "componentProps.showInput",
|
|
1629
|
-
onChange: ({ value: e, values:
|
|
1630
|
-
e && (
|
|
1636
|
+
onChange: ({ value: e, values: s }) => {
|
|
1637
|
+
e && (s.componentProps.showInputControls = !0);
|
|
1631
1638
|
}
|
|
1632
1639
|
},
|
|
1633
1640
|
{
|
|
1634
|
-
label:
|
|
1641
|
+
label: r("controlButtons"),
|
|
1635
1642
|
type: "switch",
|
|
1636
1643
|
field: "componentProps.showInputControls",
|
|
1637
1644
|
show: ({ values: e }) => e.componentProps.showInput
|
|
1638
1645
|
},
|
|
1639
1646
|
{
|
|
1640
|
-
label:
|
|
1647
|
+
label: r("tooltipPosition"),
|
|
1641
1648
|
type: "select",
|
|
1642
1649
|
defaultValue: "bottom-start",
|
|
1643
1650
|
componentProps: {
|
|
@@ -1705,11 +1712,11 @@ const _ = {
|
|
|
1705
1712
|
// field: "componentProps.hidden",
|
|
1706
1713
|
// },
|
|
1707
1714
|
{
|
|
1708
|
-
label:
|
|
1715
|
+
label: r("formValidation"),
|
|
1709
1716
|
type: "ERuleEditor",
|
|
1710
1717
|
layout: "vertical",
|
|
1711
1718
|
field: "rules",
|
|
1712
|
-
describe:
|
|
1719
|
+
describe: r("validationRuleRequiresForm"),
|
|
1713
1720
|
componentProps: {
|
|
1714
1721
|
ruleType: "number"
|
|
1715
1722
|
}
|
|
@@ -1718,11 +1725,11 @@ const _ = {
|
|
|
1718
1725
|
event: [
|
|
1719
1726
|
{
|
|
1720
1727
|
type: "input",
|
|
1721
|
-
describe:
|
|
1728
|
+
describe: r("realTimeTrigger")
|
|
1722
1729
|
},
|
|
1723
1730
|
{
|
|
1724
1731
|
type: "change",
|
|
1725
|
-
describe:
|
|
1732
|
+
describe: r("onChangeEnd")
|
|
1726
1733
|
}
|
|
1727
1734
|
]
|
|
1728
1735
|
}
|
|
@@ -1874,7 +1881,7 @@ const _ = {
|
|
|
1874
1881
|
placeholder: m("pleaseEnter")
|
|
1875
1882
|
},
|
|
1876
1883
|
onChange(e) {
|
|
1877
|
-
setTimeout(() =>
|
|
1884
|
+
setTimeout(() => N(e));
|
|
1878
1885
|
}
|
|
1879
1886
|
},
|
|
1880
1887
|
{
|
|
@@ -1885,7 +1892,7 @@ const _ = {
|
|
|
1885
1892
|
placeholder: m("pleaseEnter")
|
|
1886
1893
|
},
|
|
1887
1894
|
onChange(e) {
|
|
1888
|
-
setTimeout(() =>
|
|
1895
|
+
setTimeout(() => N(e));
|
|
1889
1896
|
}
|
|
1890
1897
|
},
|
|
1891
1898
|
{
|
|
@@ -1970,11 +1977,11 @@ const _ = {
|
|
|
1970
1977
|
]
|
|
1971
1978
|
}
|
|
1972
1979
|
};
|
|
1973
|
-
function
|
|
1980
|
+
function N(e) {
|
|
1974
1981
|
var v;
|
|
1975
|
-
let
|
|
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 =
|
|
1977
|
-
defaultValue:
|
|
1982
|
+
let s = ((v = e.values.componentProps) == null ? void 0 : v.inactiveValue) || !1;
|
|
1983
|
+
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 = s : e.values.componentProps = {
|
|
1984
|
+
defaultValue: s
|
|
1978
1985
|
};
|
|
1979
1986
|
}
|
|
1980
1987
|
const { t: l } = a(), pe = {
|
|
@@ -2085,8 +2092,8 @@ const { t: l } = a(), pe = {
|
|
|
2085
2092
|
label: l("multiple"),
|
|
2086
2093
|
type: "switch",
|
|
2087
2094
|
field: "componentProps.props.multiple",
|
|
2088
|
-
onChange: ({ value: e, values:
|
|
2089
|
-
e ?
|
|
2095
|
+
onChange: ({ value: e, values: s }) => {
|
|
2096
|
+
e ? s.componentProps.defaultValue = [] : s.componentProps.defaultValue = null;
|
|
2090
2097
|
}
|
|
2091
2098
|
},
|
|
2092
2099
|
{
|
|
@@ -2327,8 +2334,8 @@ const re = {
|
|
|
2327
2334
|
}
|
|
2328
2335
|
]
|
|
2329
2336
|
},
|
|
2330
|
-
onChange({ values: e, value:
|
|
2331
|
-
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(
|
|
2337
|
+
onChange({ values: e, value: s }) {
|
|
2338
|
+
e.componentProps.defaultValue = null, ["date", "daterange", "dates"].includes(s) ? (e.componentProps.format = "YYYY-MM-DD", e.componentProps.valueFormat = "YYYY-MM-DD") : ["week"].includes(s) ? (e.componentProps.format = "ww [周]", e.componentProps.valueFormat = "YYYY-MM-DD") : ["month", "monthrange"].includes(s) ? (e.componentProps.format = "YYYY-MM", e.componentProps.valueFormat = "YYYY-MM") : ["datetime", "datetimerange"].includes(s) ? (e.componentProps.format = "YYYY-MM-DD HH:mm:ss", e.componentProps.valueFormat = "YYYY-MM-DD HH:mm:ss") : ["year"].includes(s) && (e.componentProps.format = "YYYY", e.componentProps.valueFormat = "YYYY");
|
|
2332
2339
|
}
|
|
2333
2340
|
},
|
|
2334
2341
|
{
|
|
@@ -3004,7 +3011,7 @@ const he = {
|
|
|
3004
3011
|
config: {
|
|
3005
3012
|
attribute: []
|
|
3006
3013
|
}
|
|
3007
|
-
}, { t:
|
|
3014
|
+
}, { t: x } = a(), Pe = {
|
|
3008
3015
|
component: () => import("../../tabs-DCyifACM.js"),
|
|
3009
3016
|
groupName: "布局",
|
|
3010
3017
|
icon: "icon--epic--section",
|
|
@@ -3033,7 +3040,7 @@ const he = {
|
|
|
3033
3040
|
config: {
|
|
3034
3041
|
attribute: [
|
|
3035
3042
|
{
|
|
3036
|
-
label:
|
|
3043
|
+
label: x("fieldName"),
|
|
3037
3044
|
type: "input",
|
|
3038
3045
|
field: "field"
|
|
3039
3046
|
},
|
|
@@ -3041,7 +3048,7 @@ const he = {
|
|
|
3041
3048
|
label: "风格类型",
|
|
3042
3049
|
type: "select",
|
|
3043
3050
|
componentProps: {
|
|
3044
|
-
placeholder:
|
|
3051
|
+
placeholder: x("pleaseSelect"),
|
|
3045
3052
|
clearable: !0,
|
|
3046
3053
|
options: [
|
|
3047
3054
|
{
|
|
@@ -3060,7 +3067,7 @@ const he = {
|
|
|
3060
3067
|
label: "选项卡所在位置",
|
|
3061
3068
|
type: "select",
|
|
3062
3069
|
componentProps: {
|
|
3063
|
-
placeholder:
|
|
3070
|
+
placeholder: x("pleaseSelect"),
|
|
3064
3071
|
clearable: !0,
|
|
3065
3072
|
options: [
|
|
3066
3073
|
{
|
|
@@ -3084,11 +3091,11 @@ const he = {
|
|
|
3084
3091
|
field: "componentProps.tab-position"
|
|
3085
3092
|
},
|
|
3086
3093
|
{
|
|
3087
|
-
label:
|
|
3094
|
+
label: x("optionManagement"),
|
|
3088
3095
|
type: "EOptionsEditor",
|
|
3089
3096
|
layout: "vertical",
|
|
3090
3097
|
field: "children",
|
|
3091
|
-
describe:
|
|
3098
|
+
describe: x("configureOptions")
|
|
3092
3099
|
}
|
|
3093
3100
|
]
|
|
3094
3101
|
}
|
|
@@ -3519,8 +3526,8 @@ const Se = {
|
|
|
3519
3526
|
]
|
|
3520
3527
|
}
|
|
3521
3528
|
};
|
|
3522
|
-
function Re(e =
|
|
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",
|
|
3529
|
+
function Re(e = k) {
|
|
3530
|
+
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", W), e.component("Drawer", A), e.component("Dialog", $), e.component("ElTable", U), e.component("ElTableColumn", O), [
|
|
3524
3531
|
K,
|
|
3525
3532
|
_,
|
|
3526
3533
|
H,
|
|
@@ -3558,12 +3565,12 @@ function Re(e = N) {
|
|
|
3558
3565
|
e.registerComponent(v), e.addBaseComponentTypes(v.defaultSchema.type);
|
|
3559
3566
|
}), e.setInitialized(!0);
|
|
3560
3567
|
}
|
|
3561
|
-
function
|
|
3562
|
-
import("element-plus").then(({ provideGlobalConfig:
|
|
3563
|
-
|
|
3568
|
+
function Fe(e) {
|
|
3569
|
+
import("element-plus").then(({ provideGlobalConfig: s }) => {
|
|
3570
|
+
s(e);
|
|
3564
3571
|
});
|
|
3565
3572
|
}
|
|
3566
3573
|
export {
|
|
3567
|
-
|
|
3574
|
+
Fe as provideGlobalConfig,
|
|
3568
3575
|
Re as setupElementPlus
|
|
3569
3576
|
};
|