@next-bricks/presentational 1.3.0 → 1.4.0
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/bricks.json +22 -22
- package/dist/chunks/1972.e005885d.js +2 -0
- package/dist/chunks/{1972.c6807389.js.map → 1972.e005885d.js.map} +1 -1
- package/dist/chunks/253.245fcab0.js +2 -0
- package/dist/chunks/253.245fcab0.js.map +1 -0
- package/dist/chunks/3208.b234c0ec.js +2 -0
- package/dist/chunks/3208.b234c0ec.js.map +1 -0
- package/dist/chunks/{8728.ae47241c.js → 8728.7ed60e93.js} +3 -3
- package/dist/chunks/{8728.ae47241c.js.map → 8728.7ed60e93.js.map} +1 -1
- package/dist/chunks/9591.d4fc1ca8.js +2 -0
- package/dist/chunks/{9591.4cb0d3f3.js.map → 9591.d4fc1ca8.js.map} +1 -1
- package/dist/chunks/eo-alert.e9d3d369.js +3 -0
- package/dist/chunks/{eo-alert.fa465aa9.js.map → eo-alert.e9d3d369.js.map} +1 -1
- package/dist/chunks/eo-card-item.2ca4b7e6.js +3 -0
- package/dist/chunks/eo-card-item.2ca4b7e6.js.map +1 -0
- package/dist/chunks/eo-code-display.082d27e6.js +2 -0
- package/dist/chunks/{eo-code-display.3781058a.js.map → eo-code-display.082d27e6.js.map} +1 -1
- package/dist/chunks/eo-descriptions.988ca8a8.js +3 -0
- package/dist/chunks/{eo-descriptions.caf49b56.js.map → eo-descriptions.988ca8a8.js.map} +1 -1
- package/dist/chunks/eo-divider.29e95bbe.js +3 -0
- package/dist/chunks/{eo-divider.b80414c6.js.map → eo-divider.29e95bbe.js.map} +1 -1
- package/dist/chunks/eo-humanize-time.d449cb7b.js +2 -0
- package/dist/chunks/{eo-humanize-time.88d58e1e.js.map → eo-humanize-time.d449cb7b.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.9f88287a.js +3 -0
- package/dist/chunks/{eo-info-card-item.a353e6d3.js.map → eo-info-card-item.9f88287a.js.map} +1 -1
- package/dist/chunks/eo-loading-step.386d1e87.js +3 -0
- package/dist/chunks/{eo-loading-step.994de2c0.js.map → eo-loading-step.386d1e87.js.map} +1 -1
- package/dist/chunks/eo-pagination.eb9fd2a7.js +3 -0
- package/dist/chunks/{eo-pagination.7ffa2e23.js.map → eo-pagination.eb9fd2a7.js.map} +1 -1
- package/dist/chunks/eo-statistics-card.af80d51d.js +2 -0
- package/dist/chunks/{eo-statistics-card.ca340f9e.js.map → eo-statistics-card.af80d51d.js.map} +1 -1
- package/dist/chunks/{main.20237d57.js → main.2070f9b4.js} +2 -2
- package/dist/chunks/main.2070f9b4.js.map +1 -0
- package/dist/examples.json +9 -9
- package/dist/{index.68cb6a25.js → index.d36164a8.js} +2 -2
- package/dist/index.d36164a8.js.map +1 -0
- package/dist/manifest.json +159 -153
- package/dist/types.json +280 -256
- package/dist-types/card-item/index.d.ts +5 -0
- package/package.json +2 -2
- package/dist/chunks/1972.c6807389.js +0 -2
- package/dist/chunks/253.f8271ebd.js +0 -2
- package/dist/chunks/253.f8271ebd.js.map +0 -1
- package/dist/chunks/3208.44bb4993.js +0 -2
- package/dist/chunks/3208.44bb4993.js.map +0 -1
- package/dist/chunks/9591.4cb0d3f3.js +0 -2
- package/dist/chunks/eo-alert.fa465aa9.js +0 -3
- package/dist/chunks/eo-card-item.f41ac580.js +0 -3
- package/dist/chunks/eo-card-item.f41ac580.js.map +0 -1
- package/dist/chunks/eo-code-display.3781058a.js +0 -2
- package/dist/chunks/eo-descriptions.caf49b56.js +0 -3
- package/dist/chunks/eo-divider.b80414c6.js +0 -3
- package/dist/chunks/eo-humanize-time.88d58e1e.js +0 -2
- package/dist/chunks/eo-info-card-item.a353e6d3.js +0 -3
- package/dist/chunks/eo-loading-step.994de2c0.js +0 -3
- package/dist/chunks/eo-pagination.7ffa2e23.js +0 -3
- package/dist/chunks/eo-statistics-card.ca340f9e.js +0 -2
- package/dist/chunks/main.20237d57.js.map +0 -1
- package/dist/index.68cb6a25.js.map +0 -1
- /package/dist/chunks/{8728.ae47241c.js.LICENSE.txt → 8728.7ed60e93.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-alert.fa465aa9.js.LICENSE.txt → eo-alert.e9d3d369.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.f41ac580.js.LICENSE.txt → eo-card-item.2ca4b7e6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.caf49b56.js.LICENSE.txt → eo-descriptions.988ca8a8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-divider.b80414c6.js.LICENSE.txt → eo-divider.29e95bbe.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.a353e6d3.js.LICENSE.txt → eo-info-card-item.9f88287a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.994de2c0.js.LICENSE.txt → eo-loading-step.386d1e87.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-pagination.7ffa2e23.js.LICENSE.txt → eo-pagination.eb9fd2a7.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -343,6 +343,30 @@
|
|
|
343
343
|
"value": "string"
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
|
+
{
|
|
347
|
+
"name": "coverImageSize",
|
|
348
|
+
"annotation": {
|
|
349
|
+
"type": "indexedAccess",
|
|
350
|
+
"objectType": {
|
|
351
|
+
"type": "reference",
|
|
352
|
+
"typeName": {
|
|
353
|
+
"type": "qualifiedName",
|
|
354
|
+
"left": {
|
|
355
|
+
"type": "identifier",
|
|
356
|
+
"name": "React"
|
|
357
|
+
},
|
|
358
|
+
"right": {
|
|
359
|
+
"type": "identifier",
|
|
360
|
+
"name": "CSSProperties"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"indexType": {
|
|
365
|
+
"type": "jsLiteral",
|
|
366
|
+
"value": "backgroundSize"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
},
|
|
346
370
|
{
|
|
347
371
|
"name": "avatarPosition",
|
|
348
372
|
"annotation": {
|
|
@@ -631,109 +655,6 @@
|
|
|
631
655
|
}
|
|
632
656
|
]
|
|
633
657
|
},
|
|
634
|
-
"eo-divider": {
|
|
635
|
-
"properties": [
|
|
636
|
-
{
|
|
637
|
-
"name": "orientation",
|
|
638
|
-
"annotation": {
|
|
639
|
-
"type": "reference",
|
|
640
|
-
"typeName": {
|
|
641
|
-
"type": "identifier",
|
|
642
|
-
"name": "OrientationType"
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"name": "dashed",
|
|
648
|
-
"annotation": {
|
|
649
|
-
"type": "keyword",
|
|
650
|
-
"value": "boolean"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
"name": "type",
|
|
655
|
-
"annotation": {
|
|
656
|
-
"type": "reference",
|
|
657
|
-
"typeName": {
|
|
658
|
-
"type": "identifier",
|
|
659
|
-
"name": "dividerType"
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"name": "proportion",
|
|
665
|
-
"annotation": {
|
|
666
|
-
"type": "tuple",
|
|
667
|
-
"elementTypes": [
|
|
668
|
-
{
|
|
669
|
-
"type": "keyword",
|
|
670
|
-
"value": "number"
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
"type": "keyword",
|
|
674
|
-
"value": "number"
|
|
675
|
-
}
|
|
676
|
-
]
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"name": "dividerStyle",
|
|
681
|
-
"annotation": {
|
|
682
|
-
"type": "reference",
|
|
683
|
-
"typeName": {
|
|
684
|
-
"type": "identifier",
|
|
685
|
-
"name": "CSSProperties"
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
],
|
|
690
|
-
"events": [],
|
|
691
|
-
"methods": [],
|
|
692
|
-
"types": [
|
|
693
|
-
{
|
|
694
|
-
"type": "typeAlias",
|
|
695
|
-
"name": "OrientationType",
|
|
696
|
-
"annotation": {
|
|
697
|
-
"type": "union",
|
|
698
|
-
"types": [
|
|
699
|
-
{
|
|
700
|
-
"type": "jsLiteral",
|
|
701
|
-
"value": "left"
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"type": "jsLiteral",
|
|
705
|
-
"value": "center"
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
"type": "jsLiteral",
|
|
709
|
-
"value": "right"
|
|
710
|
-
}
|
|
711
|
-
]
|
|
712
|
-
}
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
"type": "typeAlias",
|
|
716
|
-
"name": "dividerType",
|
|
717
|
-
"annotation": {
|
|
718
|
-
"type": "union",
|
|
719
|
-
"types": [
|
|
720
|
-
{
|
|
721
|
-
"type": "jsLiteral",
|
|
722
|
-
"value": "horizontal"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"type": "jsLiteral",
|
|
726
|
-
"value": "vertical"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"type": "jsLiteral",
|
|
730
|
-
"value": "radiation"
|
|
731
|
-
}
|
|
732
|
-
]
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
658
|
"eo-info-card-item": {
|
|
738
659
|
"properties": [
|
|
739
660
|
{
|
|
@@ -1290,6 +1211,109 @@
|
|
|
1290
1211
|
}
|
|
1291
1212
|
]
|
|
1292
1213
|
},
|
|
1214
|
+
"eo-divider": {
|
|
1215
|
+
"properties": [
|
|
1216
|
+
{
|
|
1217
|
+
"name": "orientation",
|
|
1218
|
+
"annotation": {
|
|
1219
|
+
"type": "reference",
|
|
1220
|
+
"typeName": {
|
|
1221
|
+
"type": "identifier",
|
|
1222
|
+
"name": "OrientationType"
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"name": "dashed",
|
|
1228
|
+
"annotation": {
|
|
1229
|
+
"type": "keyword",
|
|
1230
|
+
"value": "boolean"
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "type",
|
|
1235
|
+
"annotation": {
|
|
1236
|
+
"type": "reference",
|
|
1237
|
+
"typeName": {
|
|
1238
|
+
"type": "identifier",
|
|
1239
|
+
"name": "dividerType"
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "proportion",
|
|
1245
|
+
"annotation": {
|
|
1246
|
+
"type": "tuple",
|
|
1247
|
+
"elementTypes": [
|
|
1248
|
+
{
|
|
1249
|
+
"type": "keyword",
|
|
1250
|
+
"value": "number"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"type": "keyword",
|
|
1254
|
+
"value": "number"
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"name": "dividerStyle",
|
|
1261
|
+
"annotation": {
|
|
1262
|
+
"type": "reference",
|
|
1263
|
+
"typeName": {
|
|
1264
|
+
"type": "identifier",
|
|
1265
|
+
"name": "CSSProperties"
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
],
|
|
1270
|
+
"events": [],
|
|
1271
|
+
"methods": [],
|
|
1272
|
+
"types": [
|
|
1273
|
+
{
|
|
1274
|
+
"type": "typeAlias",
|
|
1275
|
+
"name": "OrientationType",
|
|
1276
|
+
"annotation": {
|
|
1277
|
+
"type": "union",
|
|
1278
|
+
"types": [
|
|
1279
|
+
{
|
|
1280
|
+
"type": "jsLiteral",
|
|
1281
|
+
"value": "left"
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"type": "jsLiteral",
|
|
1285
|
+
"value": "center"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"type": "jsLiteral",
|
|
1289
|
+
"value": "right"
|
|
1290
|
+
}
|
|
1291
|
+
]
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"type": "typeAlias",
|
|
1296
|
+
"name": "dividerType",
|
|
1297
|
+
"annotation": {
|
|
1298
|
+
"type": "union",
|
|
1299
|
+
"types": [
|
|
1300
|
+
{
|
|
1301
|
+
"type": "jsLiteral",
|
|
1302
|
+
"value": "horizontal"
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"type": "jsLiteral",
|
|
1306
|
+
"value": "vertical"
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"type": "jsLiteral",
|
|
1310
|
+
"value": "radiation"
|
|
1311
|
+
}
|
|
1312
|
+
]
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
]
|
|
1316
|
+
},
|
|
1293
1317
|
"eo-loading-step": {
|
|
1294
1318
|
"properties": [
|
|
1295
1319
|
{
|
|
@@ -1399,108 +1423,84 @@
|
|
|
1399
1423
|
}
|
|
1400
1424
|
]
|
|
1401
1425
|
},
|
|
1402
|
-
"eo-
|
|
1426
|
+
"eo-pagination": {
|
|
1403
1427
|
"properties": [
|
|
1404
1428
|
{
|
|
1405
|
-
"name": "
|
|
1429
|
+
"name": "total",
|
|
1406
1430
|
"annotation": {
|
|
1407
|
-
"type": "
|
|
1408
|
-
"
|
|
1409
|
-
"type": "identifier",
|
|
1410
|
-
"name": "AlertType"
|
|
1411
|
-
}
|
|
1431
|
+
"type": "keyword",
|
|
1432
|
+
"value": "number"
|
|
1412
1433
|
}
|
|
1413
1434
|
},
|
|
1414
1435
|
{
|
|
1415
|
-
"name": "
|
|
1436
|
+
"name": "page",
|
|
1416
1437
|
"annotation": {
|
|
1417
1438
|
"type": "keyword",
|
|
1418
|
-
"value": "
|
|
1439
|
+
"value": "number"
|
|
1419
1440
|
}
|
|
1420
1441
|
},
|
|
1421
1442
|
{
|
|
1422
|
-
"name": "
|
|
1443
|
+
"name": "pageSize",
|
|
1423
1444
|
"annotation": {
|
|
1424
1445
|
"type": "keyword",
|
|
1425
|
-
"value": "
|
|
1446
|
+
"value": "number"
|
|
1426
1447
|
}
|
|
1427
1448
|
},
|
|
1428
1449
|
{
|
|
1429
|
-
"name": "
|
|
1450
|
+
"name": "pageSizeOptions",
|
|
1430
1451
|
"annotation": {
|
|
1431
|
-
"type": "
|
|
1432
|
-
"
|
|
1452
|
+
"type": "array",
|
|
1453
|
+
"elementType": {
|
|
1454
|
+
"type": "keyword",
|
|
1455
|
+
"value": "number"
|
|
1456
|
+
}
|
|
1433
1457
|
}
|
|
1434
1458
|
},
|
|
1435
1459
|
{
|
|
1436
|
-
"name": "
|
|
1460
|
+
"name": "showSizeChanger",
|
|
1437
1461
|
"annotation": {
|
|
1438
1462
|
"type": "keyword",
|
|
1439
|
-
"value": "
|
|
1440
|
-
}
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
"name": "disableUrlNamespace",
|
|
1444
|
-
"annotation": {
|
|
1445
|
-
"type": "keyword",
|
|
1446
|
-
"value": "boolean"
|
|
1463
|
+
"value": "boolean"
|
|
1447
1464
|
}
|
|
1448
1465
|
}
|
|
1449
1466
|
],
|
|
1450
|
-
"events": [
|
|
1451
|
-
"methods": [],
|
|
1452
|
-
"types": [
|
|
1467
|
+
"events": [
|
|
1453
1468
|
{
|
|
1454
|
-
"
|
|
1455
|
-
"
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
"
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
},
|
|
1485
|
-
"initializer": {
|
|
1486
|
-
"type": "jsLiteral",
|
|
1487
|
-
"value": "warning"
|
|
1488
|
-
}
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"type": "enumMember",
|
|
1492
|
-
"id": {
|
|
1493
|
-
"type": "jsLiteral",
|
|
1494
|
-
"value": "ERROR"
|
|
1495
|
-
},
|
|
1496
|
-
"initializer": {
|
|
1497
|
-
"type": "jsLiteral",
|
|
1498
|
-
"value": "error"
|
|
1499
|
-
}
|
|
1469
|
+
"name": "change",
|
|
1470
|
+
"detail": {
|
|
1471
|
+
"annotation": {
|
|
1472
|
+
"type": "typeLiteral",
|
|
1473
|
+
"members": [
|
|
1474
|
+
{
|
|
1475
|
+
"type": "propertySignature",
|
|
1476
|
+
"key": {
|
|
1477
|
+
"type": "identifier",
|
|
1478
|
+
"name": "page"
|
|
1479
|
+
},
|
|
1480
|
+
"annotation": {
|
|
1481
|
+
"type": "keyword",
|
|
1482
|
+
"value": "number"
|
|
1483
|
+
},
|
|
1484
|
+
"computed": false
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"type": "propertySignature",
|
|
1488
|
+
"key": {
|
|
1489
|
+
"type": "identifier",
|
|
1490
|
+
"name": "pageSize"
|
|
1491
|
+
},
|
|
1492
|
+
"annotation": {
|
|
1493
|
+
"type": "keyword",
|
|
1494
|
+
"value": "number"
|
|
1495
|
+
},
|
|
1496
|
+
"computed": false
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1500
1499
|
}
|
|
1501
|
-
|
|
1500
|
+
}
|
|
1502
1501
|
}
|
|
1503
|
-
]
|
|
1502
|
+
],
|
|
1503
|
+
"methods": []
|
|
1504
1504
|
},
|
|
1505
1505
|
"eo-code-display": {
|
|
1506
1506
|
"properties": [
|
|
@@ -1564,85 +1564,6 @@
|
|
|
1564
1564
|
"events": [],
|
|
1565
1565
|
"methods": []
|
|
1566
1566
|
},
|
|
1567
|
-
"eo-pagination": {
|
|
1568
|
-
"properties": [
|
|
1569
|
-
{
|
|
1570
|
-
"name": "total",
|
|
1571
|
-
"annotation": {
|
|
1572
|
-
"type": "keyword",
|
|
1573
|
-
"value": "number"
|
|
1574
|
-
}
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
"name": "page",
|
|
1578
|
-
"annotation": {
|
|
1579
|
-
"type": "keyword",
|
|
1580
|
-
"value": "number"
|
|
1581
|
-
}
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"name": "pageSize",
|
|
1585
|
-
"annotation": {
|
|
1586
|
-
"type": "keyword",
|
|
1587
|
-
"value": "number"
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"name": "pageSizeOptions",
|
|
1592
|
-
"annotation": {
|
|
1593
|
-
"type": "array",
|
|
1594
|
-
"elementType": {
|
|
1595
|
-
"type": "keyword",
|
|
1596
|
-
"value": "number"
|
|
1597
|
-
}
|
|
1598
|
-
}
|
|
1599
|
-
},
|
|
1600
|
-
{
|
|
1601
|
-
"name": "showSizeChanger",
|
|
1602
|
-
"annotation": {
|
|
1603
|
-
"type": "keyword",
|
|
1604
|
-
"value": "boolean"
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
],
|
|
1608
|
-
"events": [
|
|
1609
|
-
{
|
|
1610
|
-
"name": "change",
|
|
1611
|
-
"detail": {
|
|
1612
|
-
"annotation": {
|
|
1613
|
-
"type": "typeLiteral",
|
|
1614
|
-
"members": [
|
|
1615
|
-
{
|
|
1616
|
-
"type": "propertySignature",
|
|
1617
|
-
"key": {
|
|
1618
|
-
"type": "identifier",
|
|
1619
|
-
"name": "page"
|
|
1620
|
-
},
|
|
1621
|
-
"annotation": {
|
|
1622
|
-
"type": "keyword",
|
|
1623
|
-
"value": "number"
|
|
1624
|
-
},
|
|
1625
|
-
"computed": false
|
|
1626
|
-
},
|
|
1627
|
-
{
|
|
1628
|
-
"type": "propertySignature",
|
|
1629
|
-
"key": {
|
|
1630
|
-
"type": "identifier",
|
|
1631
|
-
"name": "pageSize"
|
|
1632
|
-
},
|
|
1633
|
-
"annotation": {
|
|
1634
|
-
"type": "keyword",
|
|
1635
|
-
"value": "number"
|
|
1636
|
-
},
|
|
1637
|
-
"computed": false
|
|
1638
|
-
}
|
|
1639
|
-
]
|
|
1640
|
-
}
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
],
|
|
1644
|
-
"methods": []
|
|
1645
|
-
},
|
|
1646
1567
|
"eo-humanize-time": {
|
|
1647
1568
|
"properties": [
|
|
1648
1569
|
{
|
|
@@ -1748,5 +1669,108 @@
|
|
|
1748
1669
|
]
|
|
1749
1670
|
}
|
|
1750
1671
|
]
|
|
1672
|
+
},
|
|
1673
|
+
"eo-alert": {
|
|
1674
|
+
"properties": [
|
|
1675
|
+
{
|
|
1676
|
+
"name": "type",
|
|
1677
|
+
"annotation": {
|
|
1678
|
+
"type": "reference",
|
|
1679
|
+
"typeName": {
|
|
1680
|
+
"type": "identifier",
|
|
1681
|
+
"name": "AlertType"
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "hasTitle",
|
|
1687
|
+
"annotation": {
|
|
1688
|
+
"type": "keyword",
|
|
1689
|
+
"value": "boolean"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"name": "showIcon",
|
|
1694
|
+
"annotation": {
|
|
1695
|
+
"type": "keyword",
|
|
1696
|
+
"value": "boolean"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"name": "closable",
|
|
1701
|
+
"annotation": {
|
|
1702
|
+
"type": "keyword",
|
|
1703
|
+
"value": "boolean"
|
|
1704
|
+
}
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "localStorageKey",
|
|
1708
|
+
"annotation": {
|
|
1709
|
+
"type": "keyword",
|
|
1710
|
+
"value": "string"
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
"name": "disableUrlNamespace",
|
|
1715
|
+
"annotation": {
|
|
1716
|
+
"type": "keyword",
|
|
1717
|
+
"value": "boolean"
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
],
|
|
1721
|
+
"events": [],
|
|
1722
|
+
"methods": [],
|
|
1723
|
+
"types": [
|
|
1724
|
+
{
|
|
1725
|
+
"type": "enum",
|
|
1726
|
+
"name": "AlertType",
|
|
1727
|
+
"members": [
|
|
1728
|
+
{
|
|
1729
|
+
"type": "enumMember",
|
|
1730
|
+
"id": {
|
|
1731
|
+
"type": "jsLiteral",
|
|
1732
|
+
"value": "SUCCESS"
|
|
1733
|
+
},
|
|
1734
|
+
"initializer": {
|
|
1735
|
+
"type": "jsLiteral",
|
|
1736
|
+
"value": "success"
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"type": "enumMember",
|
|
1741
|
+
"id": {
|
|
1742
|
+
"type": "jsLiteral",
|
|
1743
|
+
"value": "INFO"
|
|
1744
|
+
},
|
|
1745
|
+
"initializer": {
|
|
1746
|
+
"type": "jsLiteral",
|
|
1747
|
+
"value": "info"
|
|
1748
|
+
}
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"type": "enumMember",
|
|
1752
|
+
"id": {
|
|
1753
|
+
"type": "jsLiteral",
|
|
1754
|
+
"value": "WARNING"
|
|
1755
|
+
},
|
|
1756
|
+
"initializer": {
|
|
1757
|
+
"type": "jsLiteral",
|
|
1758
|
+
"value": "warning"
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"type": "enumMember",
|
|
1763
|
+
"id": {
|
|
1764
|
+
"type": "jsLiteral",
|
|
1765
|
+
"value": "ERROR"
|
|
1766
|
+
},
|
|
1767
|
+
"initializer": {
|
|
1768
|
+
"type": "jsLiteral",
|
|
1769
|
+
"value": "error"
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
]
|
|
1773
|
+
}
|
|
1774
|
+
]
|
|
1751
1775
|
}
|
|
1752
1776
|
}
|
|
@@ -56,6 +56,7 @@ export interface EoCardItemProps {
|
|
|
56
56
|
coverColor?: string;
|
|
57
57
|
tagConfig?: TagConfig;
|
|
58
58
|
avatarPosition?: "content" | "cover";
|
|
59
|
+
coverImageSize?: React.CSSProperties["backgroundSize"];
|
|
59
60
|
}
|
|
60
61
|
/**
|
|
61
62
|
* 信息类卡片 —— 通用卡片
|
|
@@ -117,6 +118,10 @@ export declare class EoCardItem extends ReactNextElement implements EoCardItemPr
|
|
|
117
118
|
* 卡片封面背景颜色(使用纯色背景)
|
|
118
119
|
*/
|
|
119
120
|
accessor coverColor: string;
|
|
121
|
+
/**
|
|
122
|
+
* 卡片封面图片尺寸 ,配置参考 https://developer.mozilla.org/zh-CN/docs/Web/CSS/background-size
|
|
123
|
+
*/
|
|
124
|
+
accessor coverImageSize: React.CSSProperties["backgroundSize"] | undefined;
|
|
120
125
|
/**
|
|
121
126
|
* 图标是否放置在卡片封面
|
|
122
127
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@next-bricks/containers": "*",
|
|
44
44
|
"@next-bricks/icons": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "511f5ca16f39dcde810439f3ad0a86ad8ddb7624"
|
|
47
47
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_presentational=self.webpackChunk_next_bricks_presentational||[]).push([[1972,9591,45],{86330:(e,r,t)=>{function n(e,r,t,n,u,c,i){try{var o=e[c](i),a=o.value}catch(e){return void t(e)}o.done?r(a):Promise.resolve(a).then(n,u)}function u(e){return function(){var r=this,t=arguments;return new Promise((function(u,c){var i=e.apply(r,t);function o(e){n(i,u,c,o,a,"next",e)}function a(e){n(i,u,c,o,a,"throw",e)}o(void 0)}))}}t.d(r,{A:()=>u})},24586:(e,r,t)=>{t.d(r,{A:()=>u});var n=t(11369);function u(e,r,t){return(r=(0,n.A)(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}},69740:(e,r,t)=>{t.d(r,{A:()=>c});var n=t(24586);function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?u(Object(t),!0).forEach((function(r){(0,n.A)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}},14223:(e,r,t)=>{function n(e,r){if(null==e)return{};var t,n,u=function(e,r){if(null==e)return{};var t,n,u={},c=Object.keys(e);for(n=0;n<c.length;n++)t=c[n],r.indexOf(t)>=0||(u[t]=e[t]);return u}(e,r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n<c.length;n++)t=c[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(u[t]=e[t])}return u}t.d(r,{A:()=>n})},11369:(e,r,t)=>{t.d(r,{A:()=>u});var n=t(17545);function u(e){var r=function(e,r){if("object"!=(0,n.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var u=t.call(e,"string");if("object"!=(0,n.A)(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(r)?r:String(r)}},17545:(e,r,t)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}t.d(r,{A:()=>n})},91972:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>i,ReactUseMultipleBricks:()=>o,useCurrentApp:()=>d,useCurrentTheme:()=>f,useProvider:()=>k,useRecentApps:()=>p,useRouteRender:()=>v});var n=t(86330),u=t(18769),c=t(27410),i=function(e){var{useBrick:r,data:t,refCallback:i,ignoredCallback:o}=e,[a,s]=(0,u.useState)(null),l=(0,u.useRef)(),[f,p]=(0,u.useState)(),d=(0,u.useRef)(0),v=(0,u.useMemo)((()=>{var e;return null===(e=c.__secret_internals.getRenderId)||void 0===e?void 0:e.call(c.__secret_internals)}),[]);(0,u.useEffect)((()=>{var e=!1;function u(){return u=(0,n.A)((function*(){try{var n=yield c.__secret_internals.renderUseBrick(r,t);if(e)return;s(n),p(++d.current)}catch(e){(function(e){var r,t=null===(r=c.__secret_internals.getRenderId)||void 0===r?void 0:r.call(c.__secret_internals);return!e||!t||e===t})(v)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,c.handleHttpError)(e))}})),u.apply(this,arguments)}return function(){u.apply(this,arguments)}(),()=>{e=!0}}),[t,r,v]);var y=(0,u.useCallback)((e=>{e?l.current=c.__secret_internals.mountUseBrick(a,e):(c.__secret_internals.unmountUseBrick(a,l.current),l.current=void 0),null==i||i(e)}),[i,a]);if(!a)return null;var{tagName:b}=a;if(null===b)return null==o||o(),null;var m=b;return u.createElement(m,{key:f,ref:y})},o=function(e){var{useBrick:r,data:t}=e;return Array.isArray(r)?u.createElement(u.Fragment,null,r.map(((e,r)=>u.createElement(i,{key:r,useBrick:e,data:t})))):u.createElement(i,{useBrick:r,data:t})},a=(0,c.getV2RuntimeFromDll)();if(a){var{SingleBrickAsComponentFactory:s,BrickAsComponentFactory:l}=a;s&&l&&(i=s(u),o=l(u))}function f(){var[e,r]=(0,u.useState)(c.getCurrentTheme);return(0,u.useEffect)((()=>{var e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function p(){var[e,r]=u.useState((()=>(0,c.getRuntime)().getRecentApps()));return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function d(){return p().currentApp}function v(){var[e,r]=u.useState(null);return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}var y=t(69740),b=t(14223),m={provider:"",customOptions:{onError:()=>{},transform:(e,r)=>r,data:void 0,loading:!1,suspense:!1,cache:!0},dependencies:void 0};const g=Object.entries(m).reduce(((e,r)=>{var[t,n]=r;return"[object Object]"===Object.prototype.toString.call(n)?(0,y.A)((0,y.A)({},e),n):(0,y.A)((0,y.A)({},e),{},{[t]:n})}),{});var A=t(72445),O=["args"],h=new Map;function j(){return(j=(0,n.A)((function*(e,r,t){var n,u=function(e){for(var r,t=e=>Object.keys(e).sort().map((r=>({[r]:e[r]}))),n=arguments.length,u=new Array(n>1?n-1:0),c=1;c<n;c++)u[c-1]=arguments[c];try{var i="object"!=typeof(r=u)||null===r||Array.isArray(r)?u.map((e=>function(e){return"string"==typeof e}(e)?e:t(e))):t(u);return JSON.stringify({provider:e,args:i})}catch(r){return JSON.stringify({provider:e,args:u})}}(e,...t);return!r&&h.has(u)&&h.delete(u),h.has(u)?n=h.get(u):(n=(0,c.fetchByProvider)(e,t),r&&h.set(u,n)),n}))).apply(this,arguments)}var w=["onError","transform","suspense","cache"];function k(){var{provider:e,customOptions:r,dependencies:t,requestInit:c}=function(e,r,t){var n=(0,u.useMemo)((()=>"string"==typeof e?e:m.provider),[e,r]),c=(0,u.useMemo)((()=>{var t={};return(0,A.isObject)(e)?t=e:(0,A.isObject)(r)&&(t=r),(0,y.A)((0,y.A)({},g),t)}),[e,r]),i=(0,u.useMemo)((()=>{var e=[...Object.keys(m),...Object.keys(m.customOptions)],r=Object.keys(c).reduce(((r,t)=>(e.includes(t)||(r[t]=c[t]),r)),{}),{args:t=null}=r,n=(0,b.A)(r,O);return{options:(0,y.A)({},n),args:t}}),[c]),o=(0,u.useMemo)((()=>Array.isArray(r)?r:Array.isArray(t)?t:g.dependencies),[r,t]),a=c.loading||Array.isArray(o);return{provider:n,customOptions:(0,u.useMemo)((()=>{var e=Object.keys(m.customOptions).reduce(((e,r)=>(e[r]=c[r],e)),{});return(0,y.A)((0,y.A)({},e),{},{loading:a})}),[c]),requestInit:i,dependencies:o}}(...arguments),{onError:i,transform:o,suspense:a,cache:s}=r,l=(0,b.A)(r,w),[f,p]=(0,u.useState)(l.loading),d=(0,u.useRef)("pending"),v=(0,u.useRef)(),h=(0,u.useRef)(!1),k=(0,u.useRef)(),_=(0,u.useRef)(),E=(0,u.useRef)(l.data),S=(0,u.useReducer)((()=>({})),[])[1],R=(0,u.useCallback)(function(){var e=(0,n.A)((function*(e,r){try{k.current=void 0,a||p(!0);var t=yield function(e,r,t){return j.apply(this,arguments)}(e,s,r);_.current=t,E.current=o(E.current,t)}catch(e){k.current=e,E.current=void 0}return a||p(!1),k.current&&i(k.current),E.current}));return function(r,t){return e.apply(this,arguments)}}(),[e,r,t,c,a,o,l.data,i,s]),P=(0,u.useCallback)(function(){var r=(0,n.A)((function*(r,t){var u=e,c=[];return(0,A.isString)(r)&&(u=r),(0,A.isObject)(r)?c=r:(0,A.isObject)(t)&&(c=t),a?(0,n.A)((function*(){return v.current=R(u,c).then((e=>(d.current="success",e)),(e=>(d.current="error",e.current=e,e))),S(),yield v.current}))():R(u,c)}));return function(e,t){return r.apply(this,arguments)}}(),[R]),B=(0,u.useMemo)((()=>Object.defineProperties({query:P},{loading:{get:()=>f},data:{get:()=>E.current},error:{get:()=>k.current}})),[P]);if((0,u.useEffect)((()=>(h.current=!0,Array.isArray(t)&&e&&B.query(e,c.args),()=>h.current=!1)),t),a&&v.current)switch(d.current){case"pending":throw v.current;case"error":throw k.current}return Object.assign([B,_.current,f,k.current],(0,y.A)((0,y.A)({request:B},B),{},{response:_.current,data:E.current,loading:f,error:k.current}))}}}]);
|
|
2
|
-
//# sourceMappingURL=1972.c6807389.js.map
|