@next-bricks/presentational 0.8.2 → 0.9.1
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 +17 -12
- package/dist/chunks/3522.754b257a.js +2 -0
- package/dist/chunks/3522.754b257a.js.map +1 -0
- package/dist/chunks/eo-card-item.2b40cb25.js +3 -0
- package/dist/chunks/{eo-card-item.d4d55b87.js.map → eo-card-item.2b40cb25.js.map} +1 -1
- package/dist/chunks/eo-info-card-item.8607f487.js +3 -0
- package/dist/chunks/eo-info-card-item.8607f487.js.LICENSE.txt +5 -0
- package/dist/chunks/eo-info-card-item.8607f487.js.map +1 -0
- package/dist/chunks/{main.8603180b.js → main.732e902c.js} +2 -2
- package/dist/chunks/{main.8603180b.js.map → main.732e902c.js.map} +1 -1
- package/dist/index.95825801.js +2 -0
- package/dist/index.95825801.js.map +1 -0
- package/dist/manifest.json +146 -99
- package/dist/types.json +210 -0
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/info-card-item/index.d.ts +64 -0
- package/dist-types/info-card-item/index.spec.d.ts +1 -0
- package/docs/eo-info-card-item.md +91 -0
- package/package.json +2 -2
- package/dist/chunks/7713.3f63ca66.js +0 -2
- package/dist/chunks/7713.3f63ca66.js.map +0 -1
- package/dist/chunks/eo-card-item.d4d55b87.js +0 -3
- package/dist/index.270841fb.js +0 -2
- package/dist/index.270841fb.js.map +0 -1
- /package/dist/chunks/{eo-card-item.d4d55b87.js.LICENSE.txt → eo-card-item.2b40cb25.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -111,105 +111,6 @@
|
|
|
111
111
|
"parts": [],
|
|
112
112
|
"description": "告警提示"
|
|
113
113
|
},
|
|
114
|
-
{
|
|
115
|
-
"name": "eo-code-display",
|
|
116
|
-
"alias": [
|
|
117
|
-
"presentational.code-display"
|
|
118
|
-
],
|
|
119
|
-
"properties": [
|
|
120
|
-
{
|
|
121
|
-
"name": "value",
|
|
122
|
-
"description": "代码内容",
|
|
123
|
-
"default": "\"\"",
|
|
124
|
-
"type": "string"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "language",
|
|
128
|
-
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
129
|
-
"type": "string"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": "hideLineNumber",
|
|
133
|
-
"description": "是否隐藏行号",
|
|
134
|
-
"type": "boolean"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"name": "maxLines",
|
|
138
|
-
"description": "最大行数",
|
|
139
|
-
"type": "number"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"name": "minLines",
|
|
143
|
-
"description": "最小行数",
|
|
144
|
-
"type": "number"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"name": "showCopyButton",
|
|
148
|
-
"description": "是否显示复制按钮",
|
|
149
|
-
"default": "true",
|
|
150
|
-
"type": "boolean"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "showExportButton",
|
|
154
|
-
"description": "是否显示导出按钮",
|
|
155
|
-
"type": "boolean"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "exportFileName",
|
|
159
|
-
"description": "导出的文件名",
|
|
160
|
-
"default": "download.txt",
|
|
161
|
-
"type": "string"
|
|
162
|
-
}
|
|
163
|
-
],
|
|
164
|
-
"events": [],
|
|
165
|
-
"slots": [],
|
|
166
|
-
"methods": [],
|
|
167
|
-
"parts": [],
|
|
168
|
-
"description": "代码展示"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "eo-pagination",
|
|
172
|
-
"properties": [
|
|
173
|
-
{
|
|
174
|
-
"name": "total",
|
|
175
|
-
"description": "数据总数",
|
|
176
|
-
"default": "0",
|
|
177
|
-
"type": "number"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"name": "page",
|
|
181
|
-
"description": "当前页数",
|
|
182
|
-
"default": "1",
|
|
183
|
-
"type": "number"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"name": "pageSize",
|
|
187
|
-
"description": "每页条数",
|
|
188
|
-
"default": "20",
|
|
189
|
-
"type": "number"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "pageSizeOptions",
|
|
193
|
-
"description": "指定每页可以显示多少条",
|
|
194
|
-
"default": "[10, 20, 50, 100]",
|
|
195
|
-
"attribute": false,
|
|
196
|
-
"type": "number[]"
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"events": [
|
|
200
|
-
{
|
|
201
|
-
"name": "change",
|
|
202
|
-
"description": "页码及每页条数改变事件",
|
|
203
|
-
"detail": {
|
|
204
|
-
"type": "{ page: number; pageSize: number }"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"slots": [],
|
|
209
|
-
"methods": [],
|
|
210
|
-
"parts": [],
|
|
211
|
-
"description": "分页"
|
|
212
|
-
},
|
|
213
114
|
{
|
|
214
115
|
"name": "eo-card-item",
|
|
215
116
|
"properties": [
|
|
@@ -382,6 +283,152 @@
|
|
|
382
283
|
"methods": [],
|
|
383
284
|
"parts": [],
|
|
384
285
|
"description": "构件 `eo-divider`"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "eo-info-card-item",
|
|
289
|
+
"properties": [
|
|
290
|
+
{
|
|
291
|
+
"name": "cardTitle",
|
|
292
|
+
"description": "title",
|
|
293
|
+
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "description",
|
|
297
|
+
"description": "description",
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "url",
|
|
302
|
+
"description": "链接地址",
|
|
303
|
+
"type": "string"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "cardIcon",
|
|
307
|
+
"description": "图标",
|
|
308
|
+
"attribute": false,
|
|
309
|
+
"type": "IconAvatar"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "detailList",
|
|
313
|
+
"description": "详细列表",
|
|
314
|
+
"attribute": false,
|
|
315
|
+
"type": "InfoCardDetail[]"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "target",
|
|
319
|
+
"description": "链接跳转目标",
|
|
320
|
+
"type": "LinkProps[\"target\"]"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "hasIcon",
|
|
324
|
+
"description": "是否有Icon",
|
|
325
|
+
"type": "boolean"
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"events": [],
|
|
329
|
+
"slots": [],
|
|
330
|
+
"methods": [],
|
|
331
|
+
"parts": [],
|
|
332
|
+
"description": "构件 `eo-info-card-item`"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "eo-code-display",
|
|
336
|
+
"alias": [
|
|
337
|
+
"presentational.code-display"
|
|
338
|
+
],
|
|
339
|
+
"properties": [
|
|
340
|
+
{
|
|
341
|
+
"name": "value",
|
|
342
|
+
"description": "代码内容",
|
|
343
|
+
"default": "\"\"",
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "language",
|
|
348
|
+
"description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "hideLineNumber",
|
|
353
|
+
"description": "是否隐藏行号",
|
|
354
|
+
"type": "boolean"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "maxLines",
|
|
358
|
+
"description": "最大行数",
|
|
359
|
+
"type": "number"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "minLines",
|
|
363
|
+
"description": "最小行数",
|
|
364
|
+
"type": "number"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"name": "showCopyButton",
|
|
368
|
+
"description": "是否显示复制按钮",
|
|
369
|
+
"default": "true",
|
|
370
|
+
"type": "boolean"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "showExportButton",
|
|
374
|
+
"description": "是否显示导出按钮",
|
|
375
|
+
"type": "boolean"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "exportFileName",
|
|
379
|
+
"description": "导出的文件名",
|
|
380
|
+
"default": "download.txt",
|
|
381
|
+
"type": "string"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"events": [],
|
|
385
|
+
"slots": [],
|
|
386
|
+
"methods": [],
|
|
387
|
+
"parts": [],
|
|
388
|
+
"description": "代码展示"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "eo-pagination",
|
|
392
|
+
"properties": [
|
|
393
|
+
{
|
|
394
|
+
"name": "total",
|
|
395
|
+
"description": "数据总数",
|
|
396
|
+
"default": "0",
|
|
397
|
+
"type": "number"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "page",
|
|
401
|
+
"description": "当前页数",
|
|
402
|
+
"default": "1",
|
|
403
|
+
"type": "number"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "pageSize",
|
|
407
|
+
"description": "每页条数",
|
|
408
|
+
"default": "20",
|
|
409
|
+
"type": "number"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "pageSizeOptions",
|
|
413
|
+
"description": "指定每页可以显示多少条",
|
|
414
|
+
"default": "[10, 20, 50, 100]",
|
|
415
|
+
"attribute": false,
|
|
416
|
+
"type": "number[]"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"events": [
|
|
420
|
+
{
|
|
421
|
+
"name": "change",
|
|
422
|
+
"description": "页码及每页条数改变事件",
|
|
423
|
+
"detail": {
|
|
424
|
+
"type": "{ page: number; pageSize: number }"
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"slots": [],
|
|
429
|
+
"methods": [],
|
|
430
|
+
"parts": [],
|
|
431
|
+
"description": "分页"
|
|
385
432
|
}
|
|
386
433
|
],
|
|
387
434
|
"providers": []
|
package/dist/types.json
CHANGED
|
@@ -664,6 +664,216 @@
|
|
|
664
664
|
}
|
|
665
665
|
]
|
|
666
666
|
},
|
|
667
|
+
"eo-info-card-item": {
|
|
668
|
+
"properties": [
|
|
669
|
+
{
|
|
670
|
+
"name": "cardTitle",
|
|
671
|
+
"annotation": {
|
|
672
|
+
"type": "keyword",
|
|
673
|
+
"value": "string"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "description",
|
|
678
|
+
"annotation": {
|
|
679
|
+
"type": "keyword",
|
|
680
|
+
"value": "string"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "url",
|
|
685
|
+
"annotation": {
|
|
686
|
+
"type": "keyword",
|
|
687
|
+
"value": "string"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "cardIcon",
|
|
692
|
+
"annotation": {
|
|
693
|
+
"type": "reference",
|
|
694
|
+
"typeName": {
|
|
695
|
+
"type": "identifier",
|
|
696
|
+
"name": "IconAvatar"
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "detailList",
|
|
702
|
+
"annotation": {
|
|
703
|
+
"type": "array",
|
|
704
|
+
"elementType": {
|
|
705
|
+
"type": "reference",
|
|
706
|
+
"typeName": {
|
|
707
|
+
"type": "identifier",
|
|
708
|
+
"name": "InfoCardDetail"
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "target",
|
|
715
|
+
"annotation": {
|
|
716
|
+
"type": "indexedAccess",
|
|
717
|
+
"objectType": {
|
|
718
|
+
"type": "reference",
|
|
719
|
+
"typeName": {
|
|
720
|
+
"type": "identifier",
|
|
721
|
+
"name": "LinkProps"
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"indexType": {
|
|
725
|
+
"type": "jsLiteral",
|
|
726
|
+
"value": "target"
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "hasIcon",
|
|
732
|
+
"annotation": {
|
|
733
|
+
"type": "keyword",
|
|
734
|
+
"value": "boolean"
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
],
|
|
738
|
+
"events": [],
|
|
739
|
+
"methods": [],
|
|
740
|
+
"types": [
|
|
741
|
+
{
|
|
742
|
+
"type": "interface",
|
|
743
|
+
"name": "IconAvatar",
|
|
744
|
+
"body": [
|
|
745
|
+
{
|
|
746
|
+
"type": "propertySignature",
|
|
747
|
+
"key": {
|
|
748
|
+
"type": "identifier",
|
|
749
|
+
"name": "icon"
|
|
750
|
+
},
|
|
751
|
+
"annotation": {
|
|
752
|
+
"type": "reference",
|
|
753
|
+
"typeName": {
|
|
754
|
+
"type": "identifier",
|
|
755
|
+
"name": "GeneralIconProps"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"computed": false
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"type": "propertySignature",
|
|
762
|
+
"key": {
|
|
763
|
+
"type": "identifier",
|
|
764
|
+
"name": "color"
|
|
765
|
+
},
|
|
766
|
+
"annotation": {
|
|
767
|
+
"type": "keyword",
|
|
768
|
+
"value": "string"
|
|
769
|
+
},
|
|
770
|
+
"optional": true,
|
|
771
|
+
"computed": false
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"type": "propertySignature",
|
|
775
|
+
"key": {
|
|
776
|
+
"type": "identifier",
|
|
777
|
+
"name": "size"
|
|
778
|
+
},
|
|
779
|
+
"annotation": {
|
|
780
|
+
"type": "keyword",
|
|
781
|
+
"value": "number"
|
|
782
|
+
},
|
|
783
|
+
"optional": true,
|
|
784
|
+
"computed": false
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
"type": "propertySignature",
|
|
788
|
+
"key": {
|
|
789
|
+
"type": "identifier",
|
|
790
|
+
"name": "shape"
|
|
791
|
+
},
|
|
792
|
+
"annotation": {
|
|
793
|
+
"type": "union",
|
|
794
|
+
"types": [
|
|
795
|
+
{
|
|
796
|
+
"type": "jsLiteral",
|
|
797
|
+
"value": "circle"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"type": "jsLiteral",
|
|
801
|
+
"value": "square"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"type": "jsLiteral",
|
|
805
|
+
"value": "round-square"
|
|
806
|
+
}
|
|
807
|
+
]
|
|
808
|
+
},
|
|
809
|
+
"optional": true,
|
|
810
|
+
"computed": false
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"type": "propertySignature",
|
|
814
|
+
"key": {
|
|
815
|
+
"type": "identifier",
|
|
816
|
+
"name": "bgColor"
|
|
817
|
+
},
|
|
818
|
+
"annotation": {
|
|
819
|
+
"type": "keyword",
|
|
820
|
+
"value": "string"
|
|
821
|
+
},
|
|
822
|
+
"optional": true,
|
|
823
|
+
"computed": false
|
|
824
|
+
}
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"type": "interface",
|
|
829
|
+
"name": "InfoCardDetail",
|
|
830
|
+
"body": [
|
|
831
|
+
{
|
|
832
|
+
"type": "propertySignature",
|
|
833
|
+
"key": {
|
|
834
|
+
"type": "identifier",
|
|
835
|
+
"name": "title"
|
|
836
|
+
},
|
|
837
|
+
"annotation": {
|
|
838
|
+
"type": "keyword",
|
|
839
|
+
"value": "string"
|
|
840
|
+
},
|
|
841
|
+
"optional": true,
|
|
842
|
+
"computed": false
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"type": "propertySignature",
|
|
846
|
+
"key": {
|
|
847
|
+
"type": "identifier",
|
|
848
|
+
"name": "desc"
|
|
849
|
+
},
|
|
850
|
+
"annotation": {
|
|
851
|
+
"type": "keyword",
|
|
852
|
+
"value": "string"
|
|
853
|
+
},
|
|
854
|
+
"optional": true,
|
|
855
|
+
"computed": false
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"type": "propertySignature",
|
|
859
|
+
"key": {
|
|
860
|
+
"type": "identifier",
|
|
861
|
+
"name": "useBrick"
|
|
862
|
+
},
|
|
863
|
+
"annotation": {
|
|
864
|
+
"type": "reference",
|
|
865
|
+
"typeName": {
|
|
866
|
+
"type": "identifier",
|
|
867
|
+
"name": "UseSingleBrickConf"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"optional": true,
|
|
871
|
+
"computed": false
|
|
872
|
+
}
|
|
873
|
+
]
|
|
874
|
+
}
|
|
875
|
+
]
|
|
876
|
+
},
|
|
667
877
|
"eo-alert": {
|
|
668
878
|
"properties": [
|
|
669
879
|
{
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Ref } from "react";
|
|
2
|
+
import { ReactNextElement } from "@next-core/react-element";
|
|
3
|
+
import { UseSingleBrickConf } from "@next-core/types";
|
|
4
|
+
import "@next-core/theme";
|
|
5
|
+
import type { LinkProps } from "@next-bricks/basic/link";
|
|
6
|
+
import type { GeneralIconProps } from "@next-bricks/icons/general-icon";
|
|
7
|
+
/**
|
|
8
|
+
* 构件 `eo-info-card-item`
|
|
9
|
+
*/
|
|
10
|
+
export declare class EoInfoCardItem extends ReactNextElement {
|
|
11
|
+
#private;
|
|
12
|
+
/**
|
|
13
|
+
* title
|
|
14
|
+
*/
|
|
15
|
+
accessor cardTitle: string;
|
|
16
|
+
/**
|
|
17
|
+
* description
|
|
18
|
+
*/
|
|
19
|
+
accessor description: string;
|
|
20
|
+
/**
|
|
21
|
+
* 链接地址
|
|
22
|
+
*/
|
|
23
|
+
accessor url: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* 图标
|
|
26
|
+
*/
|
|
27
|
+
accessor cardIcon: IconAvatar | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* 详细列表
|
|
30
|
+
*/
|
|
31
|
+
accessor detailList: InfoCardDetail[];
|
|
32
|
+
/**
|
|
33
|
+
* 链接跳转目标
|
|
34
|
+
*/
|
|
35
|
+
accessor target: LinkProps["target"] | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* 是否有Icon
|
|
38
|
+
*/
|
|
39
|
+
accessor hasIcon: boolean | undefined;
|
|
40
|
+
render(): JSX.Element;
|
|
41
|
+
}
|
|
42
|
+
interface IconAvatar {
|
|
43
|
+
icon: GeneralIconProps;
|
|
44
|
+
color?: string;
|
|
45
|
+
size?: number;
|
|
46
|
+
shape?: "circle" | "square" | "round-square";
|
|
47
|
+
bgColor?: string;
|
|
48
|
+
}
|
|
49
|
+
interface InfoCardDetail {
|
|
50
|
+
title?: string;
|
|
51
|
+
desc?: string;
|
|
52
|
+
useBrick?: UseSingleBrickConf;
|
|
53
|
+
}
|
|
54
|
+
interface EoInfoCardItemComponentProps {
|
|
55
|
+
url?: string;
|
|
56
|
+
target?: LinkProps["target"];
|
|
57
|
+
cardTitle: string;
|
|
58
|
+
description?: string;
|
|
59
|
+
cardIcon?: IconAvatar | undefined;
|
|
60
|
+
detailList?: InfoCardDetail[];
|
|
61
|
+
callback?: Ref<HTMLDivElement>;
|
|
62
|
+
}
|
|
63
|
+
export declare function EoInfoCardItemComponent({ url, target, cardTitle, description, cardIcon, detailList, callback, }: EoInfoCardItemComponentProps): JSX.Element;
|
|
64
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./";
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
构件 `eo-info-card-item`
|
|
2
|
+
|
|
3
|
+
## Examples
|
|
4
|
+
|
|
5
|
+
### Basic
|
|
6
|
+
|
|
7
|
+
```yaml preview
|
|
8
|
+
brick: eo-info-card-item
|
|
9
|
+
properties:
|
|
10
|
+
style:
|
|
11
|
+
width: 100%
|
|
12
|
+
cardTitle: 资源监控微应用
|
|
13
|
+
cardIcon:
|
|
14
|
+
color: blue
|
|
15
|
+
icon:
|
|
16
|
+
icon: chart-pie
|
|
17
|
+
lib: fa
|
|
18
|
+
description: F5管理将企业F5BIG-IP设备统一管理,可在F5设备卡片页概览全部设备的状态,了解 VirtualServer、Pool、iRules资源信息
|
|
19
|
+
detailList:
|
|
20
|
+
- useBrick:
|
|
21
|
+
brick: eo-switch
|
|
22
|
+
properties:
|
|
23
|
+
name: enabled
|
|
24
|
+
size: small
|
|
25
|
+
style:
|
|
26
|
+
marginTop: "-2.5px"
|
|
27
|
+
value: true
|
|
28
|
+
title: 是否启用
|
|
29
|
+
- desc: "7663"
|
|
30
|
+
title: 下载次数
|
|
31
|
+
- desc: 90%
|
|
32
|
+
title: 下载率
|
|
33
|
+
- desc: 3%
|
|
34
|
+
title: 失败率
|
|
35
|
+
slots:
|
|
36
|
+
title:
|
|
37
|
+
type: bricks
|
|
38
|
+
bricks:
|
|
39
|
+
- brick: eo-tag
|
|
40
|
+
properties:
|
|
41
|
+
textContent: 测试
|
|
42
|
+
color: green
|
|
43
|
+
action:
|
|
44
|
+
type: bricks
|
|
45
|
+
bricks:
|
|
46
|
+
- brick: eo-dropdown-actions
|
|
47
|
+
events:
|
|
48
|
+
advanced.setting:
|
|
49
|
+
- action: message.success
|
|
50
|
+
args:
|
|
51
|
+
- click advanced button
|
|
52
|
+
button.delete:
|
|
53
|
+
- useProvider: basic.show-dialog
|
|
54
|
+
args:
|
|
55
|
+
- type: confirm
|
|
56
|
+
title: Please Confirm
|
|
57
|
+
content: Are you sure?
|
|
58
|
+
callback:
|
|
59
|
+
success:
|
|
60
|
+
action: message.success
|
|
61
|
+
args:
|
|
62
|
+
- You just confirmed!
|
|
63
|
+
error:
|
|
64
|
+
action: message.warn
|
|
65
|
+
args:
|
|
66
|
+
- You just canceled.
|
|
67
|
+
children:
|
|
68
|
+
- brick: eo-button
|
|
69
|
+
properties:
|
|
70
|
+
type: link
|
|
71
|
+
icon:
|
|
72
|
+
lib: fa
|
|
73
|
+
icon: ellipsis-v
|
|
74
|
+
size: small
|
|
75
|
+
properties:
|
|
76
|
+
actions:
|
|
77
|
+
- text: 高级设置
|
|
78
|
+
icon:
|
|
79
|
+
icon: setting
|
|
80
|
+
lib: antd
|
|
81
|
+
event: advanced.setting
|
|
82
|
+
- text: 删除
|
|
83
|
+
icon:
|
|
84
|
+
lib: easyops
|
|
85
|
+
category: default
|
|
86
|
+
icon: delete
|
|
87
|
+
event: button.delete
|
|
88
|
+
tooltip: 删除
|
|
89
|
+
tooltipPlacement: right
|
|
90
|
+
color: var(--theme-red-color)
|
|
91
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/presentational",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/presentational",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"@next-core/test-next": "^1.0.8",
|
|
39
39
|
"babel-plugin-prismjs": "^2.1.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "807a07c66dd642082bcf5e3a0d168188c2f1b492"
|
|
42
42
|
}
|