@next-bricks/presentational 1.4.0 → 1.4.2
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/253.03440cab.js +2 -0
- package/dist/chunks/{253.245fcab0.js.map → 253.03440cab.js.map} +1 -1
- package/dist/chunks/5669.92572cea.js +2 -0
- package/dist/chunks/5669.92572cea.js.map +1 -0
- package/dist/chunks/7733.f8600d45.js +2 -0
- package/dist/chunks/7733.f8600d45.js.map +1 -0
- package/dist/chunks/8050.0cc9058b.js +2 -0
- package/dist/chunks/8050.0cc9058b.js.map +1 -0
- package/dist/chunks/{8728.7ed60e93.js → 8728.ae47241c.js} +3 -3
- package/dist/chunks/{8728.7ed60e93.js.map → 8728.ae47241c.js.map} +1 -1
- package/dist/chunks/875.d210c08e.js +2 -0
- package/dist/chunks/875.d210c08e.js.map +1 -0
- package/dist/chunks/eo-alert.fa465aa9.js +3 -0
- package/dist/chunks/{eo-alert.e9d3d369.js.map → eo-alert.fa465aa9.js.map} +1 -1
- package/dist/chunks/eo-card-item.4c0314bc.js +3 -0
- package/dist/chunks/{eo-card-item.2ca4b7e6.js.map → eo-card-item.4c0314bc.js.map} +1 -1
- package/dist/chunks/eo-code-display.3781058a.js +2 -0
- package/dist/chunks/{eo-code-display.082d27e6.js.map → eo-code-display.3781058a.js.map} +1 -1
- package/dist/chunks/eo-descriptions.0b56cffd.js +3 -0
- package/dist/chunks/{eo-descriptions.988ca8a8.js.map → eo-descriptions.0b56cffd.js.map} +1 -1
- package/dist/chunks/eo-divider.b80414c6.js +3 -0
- package/dist/chunks/{eo-divider.29e95bbe.js.map → eo-divider.b80414c6.js.map} +1 -1
- package/dist/chunks/eo-humanize-time.88d58e1e.js +2 -0
- package/dist/chunks/{eo-humanize-time.d449cb7b.js.map → eo-humanize-time.88d58e1e.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.a3a94c1a.js +3 -0
- package/dist/chunks/{eo-info-card-item.9f88287a.js.map → eo-info-card-item.a3a94c1a.js.map} +1 -1
- package/dist/chunks/eo-loading-step.e7f7ed93.js +3 -0
- package/dist/chunks/{eo-loading-step.386d1e87.js.map → eo-loading-step.e7f7ed93.js.map} +1 -1
- package/dist/chunks/eo-pagination.7ffa2e23.js +3 -0
- package/dist/chunks/{eo-pagination.eb9fd2a7.js.map → eo-pagination.7ffa2e23.js.map} +1 -1
- package/dist/chunks/eo-statistics-card.ca340f9e.js +2 -0
- package/dist/chunks/{eo-statistics-card.af80d51d.js.map → eo-statistics-card.ca340f9e.js.map} +1 -1
- package/dist/chunks/main.74510b4a.js +2 -0
- package/dist/chunks/main.74510b4a.js.map +1 -0
- package/dist/examples.json +9 -9
- package/dist/index.ffc27a9b.js +2 -0
- package/dist/index.ffc27a9b.js.map +1 -0
- package/dist/manifest.json +153 -153
- package/dist/types.json +254 -254
- package/package.json +3 -3
- package/dist/chunks/1972.e005885d.js +0 -2
- package/dist/chunks/1972.e005885d.js.map +0 -1
- package/dist/chunks/253.245fcab0.js +0 -2
- package/dist/chunks/3208.b234c0ec.js +0 -2
- package/dist/chunks/3208.b234c0ec.js.map +0 -1
- package/dist/chunks/7733.07ed3571.js +0 -2
- package/dist/chunks/7733.07ed3571.js.map +0 -1
- package/dist/chunks/9591.d4fc1ca8.js +0 -2
- package/dist/chunks/9591.d4fc1ca8.js.map +0 -1
- package/dist/chunks/eo-alert.e9d3d369.js +0 -3
- package/dist/chunks/eo-card-item.2ca4b7e6.js +0 -3
- package/dist/chunks/eo-code-display.082d27e6.js +0 -2
- package/dist/chunks/eo-descriptions.988ca8a8.js +0 -3
- package/dist/chunks/eo-divider.29e95bbe.js +0 -3
- package/dist/chunks/eo-humanize-time.d449cb7b.js +0 -2
- package/dist/chunks/eo-info-card-item.9f88287a.js +0 -3
- package/dist/chunks/eo-loading-step.386d1e87.js +0 -3
- package/dist/chunks/eo-pagination.eb9fd2a7.js +0 -3
- package/dist/chunks/eo-statistics-card.af80d51d.js +0 -2
- package/dist/chunks/main.2070f9b4.js +0 -2
- package/dist/chunks/main.2070f9b4.js.map +0 -1
- package/dist/index.d36164a8.js +0 -2
- package/dist/index.d36164a8.js.map +0 -1
- /package/dist/chunks/{8728.7ed60e93.js.LICENSE.txt → 8728.ae47241c.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-alert.e9d3d369.js.LICENSE.txt → eo-alert.fa465aa9.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-card-item.2ca4b7e6.js.LICENSE.txt → eo-card-item.4c0314bc.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-descriptions.988ca8a8.js.LICENSE.txt → eo-descriptions.0b56cffd.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-divider.29e95bbe.js.LICENSE.txt → eo-divider.b80414c6.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-info-card-item.9f88287a.js.LICENSE.txt → eo-info-card-item.a3a94c1a.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-loading-step.386d1e87.js.LICENSE.txt → eo-loading-step.e7f7ed93.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-pagination.eb9fd2a7.js.LICENSE.txt → eo-pagination.7ffa2e23.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -655,6 +655,109 @@
|
|
|
655
655
|
}
|
|
656
656
|
]
|
|
657
657
|
},
|
|
658
|
+
"eo-divider": {
|
|
659
|
+
"properties": [
|
|
660
|
+
{
|
|
661
|
+
"name": "orientation",
|
|
662
|
+
"annotation": {
|
|
663
|
+
"type": "reference",
|
|
664
|
+
"typeName": {
|
|
665
|
+
"type": "identifier",
|
|
666
|
+
"name": "OrientationType"
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"name": "dashed",
|
|
672
|
+
"annotation": {
|
|
673
|
+
"type": "keyword",
|
|
674
|
+
"value": "boolean"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "type",
|
|
679
|
+
"annotation": {
|
|
680
|
+
"type": "reference",
|
|
681
|
+
"typeName": {
|
|
682
|
+
"type": "identifier",
|
|
683
|
+
"name": "dividerType"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "proportion",
|
|
689
|
+
"annotation": {
|
|
690
|
+
"type": "tuple",
|
|
691
|
+
"elementTypes": [
|
|
692
|
+
{
|
|
693
|
+
"type": "keyword",
|
|
694
|
+
"value": "number"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"type": "keyword",
|
|
698
|
+
"value": "number"
|
|
699
|
+
}
|
|
700
|
+
]
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "dividerStyle",
|
|
705
|
+
"annotation": {
|
|
706
|
+
"type": "reference",
|
|
707
|
+
"typeName": {
|
|
708
|
+
"type": "identifier",
|
|
709
|
+
"name": "CSSProperties"
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"events": [],
|
|
715
|
+
"methods": [],
|
|
716
|
+
"types": [
|
|
717
|
+
{
|
|
718
|
+
"type": "typeAlias",
|
|
719
|
+
"name": "OrientationType",
|
|
720
|
+
"annotation": {
|
|
721
|
+
"type": "union",
|
|
722
|
+
"types": [
|
|
723
|
+
{
|
|
724
|
+
"type": "jsLiteral",
|
|
725
|
+
"value": "left"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"type": "jsLiteral",
|
|
729
|
+
"value": "center"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"type": "jsLiteral",
|
|
733
|
+
"value": "right"
|
|
734
|
+
}
|
|
735
|
+
]
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"type": "typeAlias",
|
|
740
|
+
"name": "dividerType",
|
|
741
|
+
"annotation": {
|
|
742
|
+
"type": "union",
|
|
743
|
+
"types": [
|
|
744
|
+
{
|
|
745
|
+
"type": "jsLiteral",
|
|
746
|
+
"value": "horizontal"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"type": "jsLiteral",
|
|
750
|
+
"value": "vertical"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"type": "jsLiteral",
|
|
754
|
+
"value": "radiation"
|
|
755
|
+
}
|
|
756
|
+
]
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
]
|
|
760
|
+
},
|
|
658
761
|
"eo-info-card-item": {
|
|
659
762
|
"properties": [
|
|
660
763
|
{
|
|
@@ -1211,109 +1314,6 @@
|
|
|
1211
1314
|
}
|
|
1212
1315
|
]
|
|
1213
1316
|
},
|
|
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
|
-
},
|
|
1317
1317
|
"eo-loading-step": {
|
|
1318
1318
|
"properties": [
|
|
1319
1319
|
{
|
|
@@ -1423,84 +1423,108 @@
|
|
|
1423
1423
|
}
|
|
1424
1424
|
]
|
|
1425
1425
|
},
|
|
1426
|
-
"eo-
|
|
1426
|
+
"eo-alert": {
|
|
1427
1427
|
"properties": [
|
|
1428
1428
|
{
|
|
1429
|
-
"name": "
|
|
1429
|
+
"name": "type",
|
|
1430
|
+
"annotation": {
|
|
1431
|
+
"type": "reference",
|
|
1432
|
+
"typeName": {
|
|
1433
|
+
"type": "identifier",
|
|
1434
|
+
"name": "AlertType"
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "hasTitle",
|
|
1430
1440
|
"annotation": {
|
|
1431
1441
|
"type": "keyword",
|
|
1432
|
-
"value": "
|
|
1442
|
+
"value": "boolean"
|
|
1433
1443
|
}
|
|
1434
1444
|
},
|
|
1435
1445
|
{
|
|
1436
|
-
"name": "
|
|
1446
|
+
"name": "showIcon",
|
|
1437
1447
|
"annotation": {
|
|
1438
1448
|
"type": "keyword",
|
|
1439
|
-
"value": "
|
|
1449
|
+
"value": "boolean"
|
|
1440
1450
|
}
|
|
1441
1451
|
},
|
|
1442
1452
|
{
|
|
1443
|
-
"name": "
|
|
1453
|
+
"name": "closable",
|
|
1444
1454
|
"annotation": {
|
|
1445
1455
|
"type": "keyword",
|
|
1446
|
-
"value": "
|
|
1456
|
+
"value": "boolean"
|
|
1447
1457
|
}
|
|
1448
1458
|
},
|
|
1449
1459
|
{
|
|
1450
|
-
"name": "
|
|
1460
|
+
"name": "localStorageKey",
|
|
1451
1461
|
"annotation": {
|
|
1452
|
-
"type": "
|
|
1453
|
-
"
|
|
1454
|
-
"type": "keyword",
|
|
1455
|
-
"value": "number"
|
|
1456
|
-
}
|
|
1462
|
+
"type": "keyword",
|
|
1463
|
+
"value": "string"
|
|
1457
1464
|
}
|
|
1458
1465
|
},
|
|
1459
1466
|
{
|
|
1460
|
-
"name": "
|
|
1467
|
+
"name": "disableUrlNamespace",
|
|
1461
1468
|
"annotation": {
|
|
1462
1469
|
"type": "keyword",
|
|
1463
1470
|
"value": "boolean"
|
|
1464
1471
|
}
|
|
1465
1472
|
}
|
|
1466
1473
|
],
|
|
1467
|
-
"events": [
|
|
1474
|
+
"events": [],
|
|
1475
|
+
"methods": [],
|
|
1476
|
+
"types": [
|
|
1468
1477
|
{
|
|
1469
|
-
"
|
|
1470
|
-
"
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
"
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1478
|
+
"type": "enum",
|
|
1479
|
+
"name": "AlertType",
|
|
1480
|
+
"members": [
|
|
1481
|
+
{
|
|
1482
|
+
"type": "enumMember",
|
|
1483
|
+
"id": {
|
|
1484
|
+
"type": "jsLiteral",
|
|
1485
|
+
"value": "SUCCESS"
|
|
1486
|
+
},
|
|
1487
|
+
"initializer": {
|
|
1488
|
+
"type": "jsLiteral",
|
|
1489
|
+
"value": "success"
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"type": "enumMember",
|
|
1494
|
+
"id": {
|
|
1495
|
+
"type": "jsLiteral",
|
|
1496
|
+
"value": "INFO"
|
|
1497
|
+
},
|
|
1498
|
+
"initializer": {
|
|
1499
|
+
"type": "jsLiteral",
|
|
1500
|
+
"value": "info"
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"type": "enumMember",
|
|
1505
|
+
"id": {
|
|
1506
|
+
"type": "jsLiteral",
|
|
1507
|
+
"value": "WARNING"
|
|
1508
|
+
},
|
|
1509
|
+
"initializer": {
|
|
1510
|
+
"type": "jsLiteral",
|
|
1511
|
+
"value": "warning"
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"type": "enumMember",
|
|
1516
|
+
"id": {
|
|
1517
|
+
"type": "jsLiteral",
|
|
1518
|
+
"value": "ERROR"
|
|
1519
|
+
},
|
|
1520
|
+
"initializer": {
|
|
1521
|
+
"type": "jsLiteral",
|
|
1522
|
+
"value": "error"
|
|
1523
|
+
}
|
|
1499
1524
|
}
|
|
1500
|
-
|
|
1525
|
+
]
|
|
1501
1526
|
}
|
|
1502
|
-
]
|
|
1503
|
-
"methods": []
|
|
1527
|
+
]
|
|
1504
1528
|
},
|
|
1505
1529
|
"eo-code-display": {
|
|
1506
1530
|
"properties": [
|
|
@@ -1564,6 +1588,85 @@
|
|
|
1564
1588
|
"events": [],
|
|
1565
1589
|
"methods": []
|
|
1566
1590
|
},
|
|
1591
|
+
"eo-pagination": {
|
|
1592
|
+
"properties": [
|
|
1593
|
+
{
|
|
1594
|
+
"name": "total",
|
|
1595
|
+
"annotation": {
|
|
1596
|
+
"type": "keyword",
|
|
1597
|
+
"value": "number"
|
|
1598
|
+
}
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"name": "page",
|
|
1602
|
+
"annotation": {
|
|
1603
|
+
"type": "keyword",
|
|
1604
|
+
"value": "number"
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"name": "pageSize",
|
|
1609
|
+
"annotation": {
|
|
1610
|
+
"type": "keyword",
|
|
1611
|
+
"value": "number"
|
|
1612
|
+
}
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"name": "pageSizeOptions",
|
|
1616
|
+
"annotation": {
|
|
1617
|
+
"type": "array",
|
|
1618
|
+
"elementType": {
|
|
1619
|
+
"type": "keyword",
|
|
1620
|
+
"value": "number"
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "showSizeChanger",
|
|
1626
|
+
"annotation": {
|
|
1627
|
+
"type": "keyword",
|
|
1628
|
+
"value": "boolean"
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
],
|
|
1632
|
+
"events": [
|
|
1633
|
+
{
|
|
1634
|
+
"name": "change",
|
|
1635
|
+
"detail": {
|
|
1636
|
+
"annotation": {
|
|
1637
|
+
"type": "typeLiteral",
|
|
1638
|
+
"members": [
|
|
1639
|
+
{
|
|
1640
|
+
"type": "propertySignature",
|
|
1641
|
+
"key": {
|
|
1642
|
+
"type": "identifier",
|
|
1643
|
+
"name": "page"
|
|
1644
|
+
},
|
|
1645
|
+
"annotation": {
|
|
1646
|
+
"type": "keyword",
|
|
1647
|
+
"value": "number"
|
|
1648
|
+
},
|
|
1649
|
+
"computed": false
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"type": "propertySignature",
|
|
1653
|
+
"key": {
|
|
1654
|
+
"type": "identifier",
|
|
1655
|
+
"name": "pageSize"
|
|
1656
|
+
},
|
|
1657
|
+
"annotation": {
|
|
1658
|
+
"type": "keyword",
|
|
1659
|
+
"value": "number"
|
|
1660
|
+
},
|
|
1661
|
+
"computed": false
|
|
1662
|
+
}
|
|
1663
|
+
]
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
],
|
|
1668
|
+
"methods": []
|
|
1669
|
+
},
|
|
1567
1670
|
"eo-humanize-time": {
|
|
1568
1671
|
"properties": [
|
|
1569
1672
|
{
|
|
@@ -1669,108 +1772,5 @@
|
|
|
1669
1772
|
]
|
|
1670
1773
|
}
|
|
1671
1774
|
]
|
|
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
|
-
]
|
|
1775
1775
|
}
|
|
1776
1776
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"postpublish": "mv package.json.bak package.json"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@next-core/build-next-bricks": "^1.20.
|
|
37
|
+
"@next-core/build-next-bricks": "^1.20.7",
|
|
38
38
|
"@next-core/test-next": "^1.0.16",
|
|
39
39
|
"babel-plugin-prismjs": "^2.1.0"
|
|
40
40
|
},
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@next-bricks/containers": "*",
|
|
44
44
|
"@next-bricks/icons": "*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "d83074d08c531f406960f8bbd9e30ecb7584c34c"
|
|
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(5530),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.e005885d.js.map
|