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