@next-bricks/presentational 1.12.2 → 1.12.3

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.
Files changed (120) hide show
  1. package/dist/bricks.json +14 -14
  2. package/dist/chunks/1045.33180525.js +2 -0
  3. package/dist/chunks/{1045.d555344c.js.map → 1045.33180525.js.map} +1 -1
  4. package/dist/chunks/{1122.dceec5bc.js → 1122.05a2b3ed.js} +2 -2
  5. package/dist/chunks/{1122.dceec5bc.js.map → 1122.05a2b3ed.js.map} +1 -1
  6. package/dist/chunks/{114.cf5cec1c.js → 114.51c83651.js} +2 -2
  7. package/dist/chunks/{114.cf5cec1c.js.map → 114.51c83651.js.map} +1 -1
  8. package/dist/chunks/{1940.a0c08e86.js → 1940.79c875bd.js} +2 -2
  9. package/dist/chunks/{1940.a0c08e86.js.map → 1940.79c875bd.js.map} +1 -1
  10. package/dist/chunks/{2277.3ce87091.js → 2277.6fc42642.js} +2 -2
  11. package/dist/chunks/{2277.3ce87091.js.map → 2277.6fc42642.js.map} +1 -1
  12. package/dist/chunks/3171.37a4a5ec.js +2 -0
  13. package/dist/chunks/{3171.c62aa0e4.js.map → 3171.37a4a5ec.js.map} +1 -1
  14. package/dist/chunks/{3933.4b99633a.js → 3933.bf652d4b.js} +2 -2
  15. package/dist/chunks/{6314.e632ecfe.js.map → 3933.bf652d4b.js.map} +1 -1
  16. package/dist/chunks/4185.d75ff5bd.js +3 -0
  17. package/dist/chunks/4185.d75ff5bd.js.map +1 -0
  18. package/dist/chunks/{4306.9fc2004c.js → 4306.3f0221e0.js} +2 -2
  19. package/dist/chunks/{4306.9fc2004c.js.map → 4306.3f0221e0.js.map} +1 -1
  20. package/dist/chunks/{4658.8b92e0e1.js → 4658.87d2cc42.js} +2 -2
  21. package/dist/chunks/{4658.8b92e0e1.js.map → 4658.87d2cc42.js.map} +1 -1
  22. package/dist/chunks/{4837.755b609f.js → 4837.0b4ec8f9.js} +2 -2
  23. package/dist/chunks/{7218.775396ae.js.map → 4837.0b4ec8f9.js.map} +1 -1
  24. package/dist/chunks/5552.85197bd7.js +2 -0
  25. package/dist/chunks/{5552.eb5f4b45.js.map → 5552.85197bd7.js.map} +1 -1
  26. package/dist/chunks/5746.8a6b13e0.js +3 -0
  27. package/dist/chunks/{5746.d9e58a49.js.map → 5746.8a6b13e0.js.map} +1 -1
  28. package/dist/chunks/{6314.e632ecfe.js → 6314.9eb2f84e.js} +2 -2
  29. package/dist/chunks/{3933.4b99633a.js.map → 6314.9eb2f84e.js.map} +1 -1
  30. package/dist/chunks/{6519.661eb71e.js → 6519.10bb5305.js} +2 -2
  31. package/dist/chunks/{6519.661eb71e.js.map → 6519.10bb5305.js.map} +1 -1
  32. package/dist/chunks/7082.d6a7b628.js +2 -0
  33. package/dist/chunks/7082.d6a7b628.js.map +1 -0
  34. package/dist/chunks/{7218.775396ae.js → 7218.f02bb22c.js} +2 -2
  35. package/dist/chunks/{4837.755b609f.js.map → 7218.f02bb22c.js.map} +1 -1
  36. package/dist/chunks/{726.f04b49ab.js → 726.15fc2850.js} +2 -2
  37. package/dist/chunks/726.15fc2850.js.map +1 -0
  38. package/dist/chunks/{7733.cb9f1fcf.js → 7733.26cfc597.js} +2 -2
  39. package/dist/chunks/{7733.cb9f1fcf.js.map → 7733.26cfc597.js.map} +1 -1
  40. package/dist/chunks/{8097.1d069b37.js → 8097.72885a75.js} +2 -2
  41. package/dist/chunks/{8097.1d069b37.js.map → 8097.72885a75.js.map} +1 -1
  42. package/dist/chunks/8989.366af911.js +2 -0
  43. package/dist/chunks/{8989.25c3b86a.js.map → 8989.366af911.js.map} +1 -1
  44. package/dist/chunks/{9559.f81514da.js → 9559.b0ede732.js} +2 -2
  45. package/dist/chunks/{9559.f81514da.js.map → 9559.b0ede732.js.map} +1 -1
  46. package/dist/chunks/9780.7c3006a2.js +2 -0
  47. package/dist/chunks/{9780.0506df1e.js.map → 9780.7c3006a2.js.map} +1 -1
  48. package/dist/chunks/eo-alert.f4cdae7b.js +3 -0
  49. package/dist/chunks/eo-alert.f4cdae7b.js.map +1 -0
  50. package/dist/chunks/eo-card-item.e7f1e7e4.js +3 -0
  51. package/dist/chunks/{eo-card-item.55d97e57.js.map → eo-card-item.e7f1e7e4.js.map} +1 -1
  52. package/dist/chunks/eo-carousel-text.b95a5d3a.js +2 -0
  53. package/dist/chunks/{eo-carousel-text.f3749137.js.map → eo-carousel-text.b95a5d3a.js.map} +1 -1
  54. package/dist/chunks/eo-code-display.62a545d2.js +2 -0
  55. package/dist/chunks/{eo-code-display.0f6eb112.js.map → eo-code-display.62a545d2.js.map} +1 -1
  56. package/dist/chunks/eo-current-time.8a1ab32e.js +2 -0
  57. package/dist/chunks/{eo-current-time.53d8feac.js.map → eo-current-time.8a1ab32e.js.map} +1 -1
  58. package/dist/chunks/eo-descriptions.ff76ecc8.js +3 -0
  59. package/dist/chunks/{eo-descriptions.588186d3.js.map → eo-descriptions.ff76ecc8.js.map} +1 -1
  60. package/dist/chunks/eo-divider.b2c12367.js +3 -0
  61. package/dist/chunks/{eo-divider.4cfaaef1.js.map → eo-divider.b2c12367.js.map} +1 -1
  62. package/dist/chunks/eo-humanize-time.f638634f.js +2 -0
  63. package/dist/chunks/{eo-humanize-time.faaba5e7.js.map → eo-humanize-time.f638634f.js.map} +1 -1
  64. package/dist/chunks/eo-info-card-item.b348374e.js +3 -0
  65. package/dist/chunks/{eo-info-card-item.81d58b38.js.map → eo-info-card-item.b348374e.js.map} +1 -1
  66. package/dist/chunks/eo-loading-step.505b64b4.js +3 -0
  67. package/dist/chunks/{eo-loading-step.837b7359.js.map → eo-loading-step.505b64b4.js.map} +1 -1
  68. package/dist/chunks/eo-pagination.be44ddb9.js +3 -0
  69. package/dist/chunks/{eo-pagination.65c6dc26.js.map → eo-pagination.be44ddb9.js.map} +1 -1
  70. package/dist/chunks/eo-statistics-card.de98b8cd.js +2 -0
  71. package/dist/chunks/{eo-statistics-card.2af4f9ba.js.map → eo-statistics-card.de98b8cd.js.map} +1 -1
  72. package/dist/chunks/main.66e9c68e.js +2 -0
  73. package/dist/chunks/main.66e9c68e.js.map +1 -0
  74. package/dist/examples.json +6 -6
  75. package/dist/index.0254377f.js +2 -0
  76. package/dist/index.0254377f.js.map +1 -0
  77. package/dist/manifest.json +121 -121
  78. package/dist/types.json +120 -120
  79. package/package.json +6 -6
  80. package/dist/chunks/1045.d555344c.js +0 -2
  81. package/dist/chunks/3171.c62aa0e4.js +0 -2
  82. package/dist/chunks/4185.30183340.js +0 -3
  83. package/dist/chunks/4185.30183340.js.map +0 -1
  84. package/dist/chunks/4196.140b906b.js +0 -2
  85. package/dist/chunks/4196.140b906b.js.map +0 -1
  86. package/dist/chunks/5552.eb5f4b45.js +0 -2
  87. package/dist/chunks/5746.d9e58a49.js +0 -3
  88. package/dist/chunks/726.f04b49ab.js.map +0 -1
  89. package/dist/chunks/7399.de646f71.js +0 -2
  90. package/dist/chunks/7399.de646f71.js.map +0 -1
  91. package/dist/chunks/7620.c7e867e7.js +0 -2
  92. package/dist/chunks/7620.c7e867e7.js.map +0 -1
  93. package/dist/chunks/8989.25c3b86a.js +0 -2
  94. package/dist/chunks/9780.0506df1e.js +0 -2
  95. package/dist/chunks/eo-alert.33bff8eb.js +0 -3
  96. package/dist/chunks/eo-alert.33bff8eb.js.map +0 -1
  97. package/dist/chunks/eo-card-item.55d97e57.js +0 -3
  98. package/dist/chunks/eo-carousel-text.f3749137.js +0 -2
  99. package/dist/chunks/eo-code-display.0f6eb112.js +0 -2
  100. package/dist/chunks/eo-current-time.53d8feac.js +0 -2
  101. package/dist/chunks/eo-descriptions.588186d3.js +0 -3
  102. package/dist/chunks/eo-divider.4cfaaef1.js +0 -3
  103. package/dist/chunks/eo-humanize-time.faaba5e7.js +0 -2
  104. package/dist/chunks/eo-info-card-item.81d58b38.js +0 -3
  105. package/dist/chunks/eo-loading-step.837b7359.js +0 -3
  106. package/dist/chunks/eo-pagination.65c6dc26.js +0 -3
  107. package/dist/chunks/eo-statistics-card.2af4f9ba.js +0 -2
  108. package/dist/chunks/main.108db715.js +0 -2
  109. package/dist/chunks/main.108db715.js.map +0 -1
  110. package/dist/index.78d338a8.js +0 -2
  111. package/dist/index.78d338a8.js.map +0 -1
  112. /package/dist/chunks/{4185.30183340.js.LICENSE.txt → 4185.d75ff5bd.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{5746.d9e58a49.js.LICENSE.txt → 5746.8a6b13e0.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{eo-alert.33bff8eb.js.LICENSE.txt → eo-alert.f4cdae7b.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{eo-card-item.55d97e57.js.LICENSE.txt → eo-card-item.e7f1e7e4.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{eo-descriptions.588186d3.js.LICENSE.txt → eo-descriptions.ff76ecc8.js.LICENSE.txt} +0 -0
  117. /package/dist/chunks/{eo-divider.4cfaaef1.js.LICENSE.txt → eo-divider.b2c12367.js.LICENSE.txt} +0 -0
  118. /package/dist/chunks/{eo-info-card-item.81d58b38.js.LICENSE.txt → eo-info-card-item.b348374e.js.LICENSE.txt} +0 -0
  119. /package/dist/chunks/{eo-loading-step.837b7359.js.LICENSE.txt → eo-loading-step.505b64b4.js.LICENSE.txt} +0 -0
  120. /package/dist/chunks/{eo-pagination.65c6dc26.js.LICENSE.txt → eo-pagination.be44ddb9.js.LICENSE.txt} +0 -0
@@ -3,6 +3,65 @@
3
3
  "package": "@next-bricks/presentational",
4
4
  "name": "presentational",
5
5
  "bricks": [
6
+ {
7
+ "name": "eo-alert",
8
+ "alias": [
9
+ "presentational.general-alert"
10
+ ],
11
+ "properties": [
12
+ {
13
+ "name": "type",
14
+ "description": "警告类型",
15
+ "attribute": false,
16
+ "type": "AlertType"
17
+ },
18
+ {
19
+ "name": "hasTitle",
20
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
21
+ "type": "boolean"
22
+ },
23
+ {
24
+ "name": "showIcon",
25
+ "description": "是否显示提示图标",
26
+ "type": "boolean"
27
+ },
28
+ {
29
+ "name": "closable",
30
+ "description": "是否显示关闭按钮",
31
+ "type": "boolean"
32
+ },
33
+ {
34
+ "name": "localStorageKey",
35
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "disableUrlNamespace",
40
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
41
+ "type": "boolean"
42
+ },
43
+ {
44
+ "name": "textContent",
45
+ "type": "string",
46
+ "description": "文本内容"
47
+ }
48
+ ],
49
+ "events": [],
50
+ "slots": [
51
+ {
52
+ "name": null,
53
+ "description": "内容区"
54
+ },
55
+ {
56
+ "name": "title",
57
+ "description": "标题"
58
+ }
59
+ ],
60
+ "methods": [],
61
+ "parts": [],
62
+ "description": "告警提示",
63
+ "category": "display-component"
64
+ },
6
65
  {
7
66
  "name": "eo-descriptions",
8
67
  "alias": [
@@ -121,65 +180,6 @@
121
180
  "description": "代码展示",
122
181
  "category": "display-component"
123
182
  },
124
- {
125
- "name": "eo-alert",
126
- "alias": [
127
- "presentational.general-alert"
128
- ],
129
- "properties": [
130
- {
131
- "name": "type",
132
- "description": "警告类型",
133
- "attribute": false,
134
- "type": "AlertType"
135
- },
136
- {
137
- "name": "hasTitle",
138
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
139
- "type": "boolean"
140
- },
141
- {
142
- "name": "showIcon",
143
- "description": "是否显示提示图标",
144
- "type": "boolean"
145
- },
146
- {
147
- "name": "closable",
148
- "description": "是否显示关闭按钮",
149
- "type": "boolean"
150
- },
151
- {
152
- "name": "localStorageKey",
153
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
154
- "type": "string"
155
- },
156
- {
157
- "name": "disableUrlNamespace",
158
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
159
- "type": "boolean"
160
- },
161
- {
162
- "name": "textContent",
163
- "type": "string",
164
- "description": "文本内容"
165
- }
166
- ],
167
- "events": [],
168
- "slots": [
169
- {
170
- "name": null,
171
- "description": "内容区"
172
- },
173
- {
174
- "name": "title",
175
- "description": "标题"
176
- }
177
- ],
178
- "methods": [],
179
- "parts": [],
180
- "description": "告警提示",
181
- "category": "display-component"
182
- },
183
183
  {
184
184
  "name": "eo-pagination",
185
185
  "properties": [
@@ -615,68 +615,6 @@
615
615
  "parts": [],
616
616
  "description": "统计卡片"
617
617
  },
618
- {
619
- "name": "eo-current-time",
620
- "properties": [
621
- {
622
- "name": "format",
623
- "description": "时间格式",
624
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
625
- "type": "string"
626
- },
627
- {
628
- "name": "icon",
629
- "description": "前置图标",
630
- "attribute": false,
631
- "type": "GeneralIconProps"
632
- }
633
- ],
634
- "events": [],
635
- "slots": [],
636
- "methods": [],
637
- "parts": [],
638
- "description": "构件 `eo-current-time`"
639
- },
640
- {
641
- "name": "eo-carousel-text",
642
- "properties": [
643
- {
644
- "name": "text",
645
- "description": "展示内容",
646
- "default": "\"\"",
647
- "type": "string"
648
- },
649
- {
650
- "name": "containerWidth",
651
- "description": "容器宽度",
652
- "default": "\"100%\"",
653
- "type": "CSSProperties[\"width\"]"
654
- },
655
- {
656
- "name": "fontSize",
657
- "description": "字体大小",
658
- "default": "\"var(--normal-font-size)\"",
659
- "type": "CSSProperties[\"fontSize\"]"
660
- },
661
- {
662
- "name": "fontColor",
663
- "description": "字体颜色",
664
- "default": "\"var(--text-color-default)\"",
665
- "type": "CSSProperties[\"color\"]"
666
- },
667
- {
668
- "name": "speed",
669
- "description": "移动速度,单位 px/s",
670
- "default": "100",
671
- "type": "number"
672
- }
673
- ],
674
- "events": [],
675
- "slots": [],
676
- "methods": [],
677
- "parts": [],
678
- "description": "构件 `eo-carousel-text`"
679
- },
680
618
  {
681
619
  "name": "eo-loading-step",
682
620
  "properties": [
@@ -740,6 +678,68 @@
740
678
  ],
741
679
  "parts": [],
742
680
  "description": "加载步骤框"
681
+ },
682
+ {
683
+ "name": "eo-current-time",
684
+ "properties": [
685
+ {
686
+ "name": "format",
687
+ "description": "时间格式",
688
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
689
+ "type": "string"
690
+ },
691
+ {
692
+ "name": "icon",
693
+ "description": "前置图标",
694
+ "attribute": false,
695
+ "type": "GeneralIconProps"
696
+ }
697
+ ],
698
+ "events": [],
699
+ "slots": [],
700
+ "methods": [],
701
+ "parts": [],
702
+ "description": "构件 `eo-current-time`"
703
+ },
704
+ {
705
+ "name": "eo-carousel-text",
706
+ "properties": [
707
+ {
708
+ "name": "text",
709
+ "description": "展示内容",
710
+ "default": "\"\"",
711
+ "type": "string"
712
+ },
713
+ {
714
+ "name": "containerWidth",
715
+ "description": "容器宽度",
716
+ "default": "\"100%\"",
717
+ "type": "CSSProperties[\"width\"]"
718
+ },
719
+ {
720
+ "name": "fontSize",
721
+ "description": "字体大小",
722
+ "default": "\"var(--normal-font-size)\"",
723
+ "type": "CSSProperties[\"fontSize\"]"
724
+ },
725
+ {
726
+ "name": "fontColor",
727
+ "description": "字体颜色",
728
+ "default": "\"var(--text-color-default)\"",
729
+ "type": "CSSProperties[\"color\"]"
730
+ },
731
+ {
732
+ "name": "speed",
733
+ "description": "移动速度,单位 px/s",
734
+ "default": "100",
735
+ "type": "number"
736
+ }
737
+ ],
738
+ "events": [],
739
+ "slots": [],
740
+ "methods": [],
741
+ "parts": [],
742
+ "description": "构件 `eo-carousel-text`"
743
743
  }
744
744
  ],
745
745
  "providers": []
package/dist/types.json CHANGED
@@ -1354,100 +1354,6 @@
1354
1354
  }
1355
1355
  ]
1356
1356
  },
1357
- "eo-current-time": {
1358
- "properties": [
1359
- {
1360
- "name": "format",
1361
- "annotation": {
1362
- "type": "keyword",
1363
- "value": "string"
1364
- }
1365
- },
1366
- {
1367
- "name": "icon",
1368
- "annotation": {
1369
- "type": "reference",
1370
- "typeName": {
1371
- "type": "identifier",
1372
- "name": "GeneralIconProps"
1373
- }
1374
- }
1375
- }
1376
- ],
1377
- "events": [],
1378
- "methods": []
1379
- },
1380
- "eo-carousel-text": {
1381
- "properties": [
1382
- {
1383
- "name": "text",
1384
- "annotation": {
1385
- "type": "keyword",
1386
- "value": "string"
1387
- }
1388
- },
1389
- {
1390
- "name": "containerWidth",
1391
- "annotation": {
1392
- "type": "indexedAccess",
1393
- "objectType": {
1394
- "type": "reference",
1395
- "typeName": {
1396
- "type": "identifier",
1397
- "name": "CSSProperties"
1398
- }
1399
- },
1400
- "indexType": {
1401
- "type": "jsLiteral",
1402
- "value": "width"
1403
- }
1404
- }
1405
- },
1406
- {
1407
- "name": "fontSize",
1408
- "annotation": {
1409
- "type": "indexedAccess",
1410
- "objectType": {
1411
- "type": "reference",
1412
- "typeName": {
1413
- "type": "identifier",
1414
- "name": "CSSProperties"
1415
- }
1416
- },
1417
- "indexType": {
1418
- "type": "jsLiteral",
1419
- "value": "fontSize"
1420
- }
1421
- }
1422
- },
1423
- {
1424
- "name": "fontColor",
1425
- "annotation": {
1426
- "type": "indexedAccess",
1427
- "objectType": {
1428
- "type": "reference",
1429
- "typeName": {
1430
- "type": "identifier",
1431
- "name": "CSSProperties"
1432
- }
1433
- },
1434
- "indexType": {
1435
- "type": "jsLiteral",
1436
- "value": "color"
1437
- }
1438
- }
1439
- },
1440
- {
1441
- "name": "speed",
1442
- "annotation": {
1443
- "type": "keyword",
1444
- "value": "number"
1445
- }
1446
- }
1447
- ],
1448
- "events": [],
1449
- "methods": []
1450
- },
1451
1357
  "eo-loading-step": {
1452
1358
  "properties": [
1453
1359
  {
@@ -1557,62 +1463,94 @@
1557
1463
  }
1558
1464
  ]
1559
1465
  },
1560
- "eo-code-display": {
1466
+ "eo-current-time": {
1561
1467
  "properties": [
1562
1468
  {
1563
- "name": "value",
1564
- "annotation": {
1565
- "type": "keyword",
1566
- "value": "string"
1567
- }
1568
- },
1569
- {
1570
- "name": "language",
1469
+ "name": "format",
1571
1470
  "annotation": {
1572
1471
  "type": "keyword",
1573
1472
  "value": "string"
1574
1473
  }
1575
1474
  },
1576
1475
  {
1577
- "name": "hideLineNumber",
1476
+ "name": "icon",
1578
1477
  "annotation": {
1579
- "type": "keyword",
1580
- "value": "boolean"
1478
+ "type": "reference",
1479
+ "typeName": {
1480
+ "type": "identifier",
1481
+ "name": "GeneralIconProps"
1482
+ }
1581
1483
  }
1582
- },
1484
+ }
1485
+ ],
1486
+ "events": [],
1487
+ "methods": []
1488
+ },
1489
+ "eo-carousel-text": {
1490
+ "properties": [
1583
1491
  {
1584
- "name": "maxLines",
1492
+ "name": "text",
1585
1493
  "annotation": {
1586
1494
  "type": "keyword",
1587
- "value": "number"
1495
+ "value": "string"
1588
1496
  }
1589
1497
  },
1590
1498
  {
1591
- "name": "minLines",
1499
+ "name": "containerWidth",
1592
1500
  "annotation": {
1593
- "type": "keyword",
1594
- "value": "number"
1501
+ "type": "indexedAccess",
1502
+ "objectType": {
1503
+ "type": "reference",
1504
+ "typeName": {
1505
+ "type": "identifier",
1506
+ "name": "CSSProperties"
1507
+ }
1508
+ },
1509
+ "indexType": {
1510
+ "type": "jsLiteral",
1511
+ "value": "width"
1512
+ }
1595
1513
  }
1596
1514
  },
1597
1515
  {
1598
- "name": "showCopyButton",
1516
+ "name": "fontSize",
1599
1517
  "annotation": {
1600
- "type": "keyword",
1601
- "value": "boolean"
1518
+ "type": "indexedAccess",
1519
+ "objectType": {
1520
+ "type": "reference",
1521
+ "typeName": {
1522
+ "type": "identifier",
1523
+ "name": "CSSProperties"
1524
+ }
1525
+ },
1526
+ "indexType": {
1527
+ "type": "jsLiteral",
1528
+ "value": "fontSize"
1529
+ }
1602
1530
  }
1603
1531
  },
1604
1532
  {
1605
- "name": "showExportButton",
1533
+ "name": "fontColor",
1606
1534
  "annotation": {
1607
- "type": "keyword",
1608
- "value": "boolean"
1535
+ "type": "indexedAccess",
1536
+ "objectType": {
1537
+ "type": "reference",
1538
+ "typeName": {
1539
+ "type": "identifier",
1540
+ "name": "CSSProperties"
1541
+ }
1542
+ },
1543
+ "indexType": {
1544
+ "type": "jsLiteral",
1545
+ "value": "color"
1546
+ }
1609
1547
  }
1610
1548
  },
1611
1549
  {
1612
- "name": "exportFileName",
1550
+ "name": "speed",
1613
1551
  "annotation": {
1614
1552
  "type": "keyword",
1615
- "value": "string"
1553
+ "value": "number"
1616
1554
  }
1617
1555
  }
1618
1556
  ],
@@ -1729,6 +1667,68 @@
1729
1667
  }
1730
1668
  ]
1731
1669
  },
1670
+ "eo-code-display": {
1671
+ "properties": [
1672
+ {
1673
+ "name": "value",
1674
+ "annotation": {
1675
+ "type": "keyword",
1676
+ "value": "string"
1677
+ }
1678
+ },
1679
+ {
1680
+ "name": "language",
1681
+ "annotation": {
1682
+ "type": "keyword",
1683
+ "value": "string"
1684
+ }
1685
+ },
1686
+ {
1687
+ "name": "hideLineNumber",
1688
+ "annotation": {
1689
+ "type": "keyword",
1690
+ "value": "boolean"
1691
+ }
1692
+ },
1693
+ {
1694
+ "name": "maxLines",
1695
+ "annotation": {
1696
+ "type": "keyword",
1697
+ "value": "number"
1698
+ }
1699
+ },
1700
+ {
1701
+ "name": "minLines",
1702
+ "annotation": {
1703
+ "type": "keyword",
1704
+ "value": "number"
1705
+ }
1706
+ },
1707
+ {
1708
+ "name": "showCopyButton",
1709
+ "annotation": {
1710
+ "type": "keyword",
1711
+ "value": "boolean"
1712
+ }
1713
+ },
1714
+ {
1715
+ "name": "showExportButton",
1716
+ "annotation": {
1717
+ "type": "keyword",
1718
+ "value": "boolean"
1719
+ }
1720
+ },
1721
+ {
1722
+ "name": "exportFileName",
1723
+ "annotation": {
1724
+ "type": "keyword",
1725
+ "value": "string"
1726
+ }
1727
+ }
1728
+ ],
1729
+ "events": [],
1730
+ "methods": []
1731
+ },
1732
1732
  "eo-pagination": {
1733
1733
  "properties": [
1734
1734
  {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@next-bricks/presentational",
3
- "version": "1.12.2",
4
- "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
3
+ "version": "1.12.3",
4
+ "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/presentational",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git@github.com:easyops-cn/next-bricks.git",
7
+ "url": "git@github.com:easyops-cn/next-advanced-bricks.git",
8
8
  "directory": "bricks/presentational"
9
9
  },
10
10
  "license": "GPL-3.0",
@@ -35,8 +35,8 @@
35
35
  "postpublish": "mv package.json.bak package.json"
36
36
  },
37
37
  "devDependencies": {
38
- "@next-core/build-next-bricks": "^1.23.8",
39
- "@next-core/test-next": "^1.1.7",
38
+ "@next-core/build-next-bricks": "^1.23.9",
39
+ "@next-core/test-next": "^1.1.8",
40
40
  "babel-plugin-prismjs": "^2.1.0"
41
41
  },
42
42
  "peerDependencies": {
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/containers": "*",
45
45
  "@next-bricks/icons": "*"
46
46
  },
47
- "gitHead": "61f7df5abe941b15ae1fed6a231764fedb105db7"
47
+ "gitHead": "bd20e7cd3c0d30cd3048f4bde97e7f67090ab8bd"
48
48
  }
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[1045,7620,3426],{12559:(t,e,n)=>{function i(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>i})},72016:(t,e,n)=>{function i(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>i})},70829:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(12559);function r(t,e){return t.get((0,i.A)(t,e))}},70918:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(72016);function r(t,e,n){(0,i.A)(t,e),e.set(t,n)}},86121:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(12559);function r(t,e,n){return t.set((0,i.A)(t,e),n),n}},24586:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(11369);function r(t,e,n){return(e=(0,i.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},11369:(t,e,n)=>{n.d(e,{A:()=>r});var i=n(17545);function r(t){var e=function(t,e){if("object"!=(0,i.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!=(0,i.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,i.A)(e)?e:e+""}},17545:(t,e,n)=>{function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>i})},21045:(t,e,n)=>{n.r(e),n.d(e,{NextElement:()=>A,createDecorators:()=>a,supportsAdoptingStyleSheets:()=>_});const i=Symbol.for("attributeHasBeenSet"),r=Symbol.for("markAttributeHasBeenSet"),o=Symbol.for("stopAttributeChangedCallback"),s={attribute:!0,type:String,converter:{toAttribute:(t,e)=>e===Boolean?t?"":null:t,fromAttribute(t,e){switch(e){case Boolean:return null!==t&&"false"!==t;case Number:return null===t?null:Number(t)}return t}},render:!0,hasChanged:(t,e)=>e!==t&&(e==e||t==t)};function a(){const t=new Map,e=new Set,n=new Set,a=new Set;return{defineElement:function(i){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(o,s)=>{let{kind:d,name:c,addInitializer:h}=s;h((function(){var s,d,c,h,f;const p=Object.getPrototypeOf(this);if(l(this,"observedAttributes",u(null!==(s=p.observedAttributes)&&void 0!==s?s:[],t.keys())),l(this,"__attributeReflections",new Map([...null!==(d=p.__attributeReflections)&&void 0!==d?d:[],...t])),l(this,"styleTexts",r.styleTexts),l(this,"shadowOptions",!1!==r.shadowOptions?{mode:"open",...r.shadowOptions}:null),l(this,"__tagName",i),l(this,"_dev_only_definedProperties",u(null!==(c=p._dev_only_definedProperties)&&void 0!==c?c:[],e)),l(this,"_dev_only_definedMethods",u(null!==(h=p._dev_only_definedMethods)&&void 0!==h?h:[],n)),l(this,"_dev_only_definedEvents",u(null!==(f=p._dev_only_definedEvents)&&void 0!==f?f:[],a)),customElements.define(i,this),Array.isArray(r.alias))for(const t of r.alias){const e=class extends o{};l(e,"__tagName",t),customElements.define(t,e)}}))}},property:function(n){return function(a,l){let{get:u,set:d}=a,{kind:c,name:h,static:f,private:p}=l;e.add(h);const b=Object.assign({},s,n),v=function(t,e){const n=e.attribute;return!1===n?void 0:"string"==typeof n?n:t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}(h,b);return void 0!==v&&t.set(v,{...b,property:h}),{get(){return void 0!==v&&this[i](v)?b.converter.fromAttribute(this.getAttribute(v),b.type):u.call(this)},set(t){const e=u.call(this);if(d.call(this,t),b.hasChanged(t,e)){if(void 0!==v){const e=b.converter.toAttribute(t,b.type);this[o](!0),null==e?this.removeAttribute(v):this.setAttribute(v,e),this[r](v),this[o](!1)}b.render&&this._requestRender()}},init(t){if(void 0!==v&&b.hasChanged(t,void 0)){const e=b.converter.toAttribute(t,b.type);null!=e&&requestAnimationFrame((()=>{this[i](v)||(this[o](!0),this.setAttribute(v,e),this[o](!1))}))}return t}}}},method:function(t){return function(e,i){let{kind:r,name:o,static:s,private:a,addInitializer:l}=i;null!=t&&t.bound&&l((function(){this[o]=this[o].bind(this)})),n.add(o)}},event:function(t){return function(e,n){let{get:i}=e,{kind:r,name:o,static:s,private:l}=n;const{type:u,...d}=t;return a.add(u),{get(){return i.call(this)},set(){throw new Error("Decorated events are readonly")},init(t){return Object.freeze({emit:t=>this.dispatchEvent(new CustomEvent(u,{...d,detail:t}))})}}}}}}function l(t,e,n){Object.defineProperty(t,e,{get:()=>n,configurable:!0})}function u(t,e){const n=new Set(t);for(const t of e)n.add(t);return[...n]}new Set(["prefix"]);var d=n(70918),c=n(24586),h=n(70829),f=n(86121),p=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap;class A extends HTMLElement{constructor(){super(...arguments),(0,d.A)(this,p,!1),(0,d.A)(this,b,!1),(0,d.A)(this,v,!1),(0,d.A)(this,y,new Set)}_markConnectedCallbackCalled(){(0,f.A)(b,this,!0)}connectedCallback(){this._markConnectedCallbackCalled(),this._render()}[i](t){return(0,h.A)(y,this).has(t)}[r](t){(0,h.A)(y,this).add(t)}[o](t){(0,f.A)(v,this,t)}attributeChangedCallback(t,e,n){if((0,h.A)(y,this).add(t),!(0,h.A)(v,this)&&e!==n){const e=this.constructor.__attributeReflections.get(t),i=e.converter.fromAttribute(n,e.type);this[e.property]=i}}_requestRender(){this.isConnected&&(0,h.A)(b,this)&&!(0,h.A)(p,this)&&((0,f.A)(p,this,!0),Promise.resolve().then((()=>{(0,f.A)(p,this,!1),this._render()})))}}let m;function _(){return void 0===m&&(m=!!(window.ShadowRoot&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype)),m}(0,c.A)(A,"styleTexts",void 0),(0,c.A)(A,"shadowOptions",void 0),(0,c.A)(A,"__attributeReflections",void 0),(0,c.A)(A,"__tagName",void 0)}}]);
2
- //# sourceMappingURL=1045.d555344c.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_presentational=globalThis.webpackChunk_next_bricks_presentational||[]).push([[3171,5552],{75552:(n,e,t)=>{t.r(e),t.d(e,{i18n:()=>p,i18nText:()=>l,initializeI18n:()=>u});var i=t(2350),s=t(90413),r=t(27072);let a=!1;const o=new Set;function u(n,e){if(a||(a=!0,s.i18n.use(r.default).init({fallbackLng:"zh",debug:!1,supportedLngs:["zh","en"],nonExplicitSupportedLngs:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1},compatibilityJSON:"v3",resources:{}})),n&&e&&!o.has(n)){o.add(n);for(const[t,i]of Object.entries(e))s.i18n.addResourceBundle(t,n,i)}}var c=t(86878);function l(n){var e;if(!n)return;const t=null!==(e=s.i18n.language)&&void 0!==e?e:"zh-CN";if((0,c.hasOwnProperty)(n,t))return n[t];const i=t.split("-")[0];if(i!==t)return(0,c.hasOwnProperty)(n,i)?n[i]:void 0;const r=`${i}-`;for(const e of Object.keys(n))if(e.startsWith(r))return n[e]}const p=i.default}}]);
2
- //# sourceMappingURL=3171.c62aa0e4.js.map