@next-bricks/presentational 1.14.3 → 1.14.5

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.
@@ -69,6 +69,122 @@
69
69
  "description": "通用描述列表构件",
70
70
  "category": "text"
71
71
  },
72
+ {
73
+ "name": "eo-alert",
74
+ "alias": [
75
+ "presentational.general-alert"
76
+ ],
77
+ "properties": [
78
+ {
79
+ "name": "type",
80
+ "description": "警告类型",
81
+ "attribute": false,
82
+ "type": "AlertType"
83
+ },
84
+ {
85
+ "name": "hasTitle",
86
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
87
+ "type": "boolean"
88
+ },
89
+ {
90
+ "name": "showIcon",
91
+ "description": "是否显示提示图标",
92
+ "type": "boolean"
93
+ },
94
+ {
95
+ "name": "closable",
96
+ "description": "是否显示关闭按钮",
97
+ "type": "boolean"
98
+ },
99
+ {
100
+ "name": "localStorageKey",
101
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
102
+ "type": "string"
103
+ },
104
+ {
105
+ "name": "disableUrlNamespace",
106
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
107
+ "type": "boolean"
108
+ },
109
+ {
110
+ "name": "textContent",
111
+ "type": "string",
112
+ "description": "文本内容"
113
+ }
114
+ ],
115
+ "events": [],
116
+ "slots": [
117
+ {
118
+ "name": null,
119
+ "description": "内容区"
120
+ },
121
+ {
122
+ "name": "title",
123
+ "description": "标题"
124
+ }
125
+ ],
126
+ "methods": [],
127
+ "parts": [],
128
+ "description": "告警提示",
129
+ "category": "display-component"
130
+ },
131
+ {
132
+ "name": "eo-code-display",
133
+ "alias": [
134
+ "presentational.code-display"
135
+ ],
136
+ "properties": [
137
+ {
138
+ "name": "value",
139
+ "description": "代码内容",
140
+ "default": "\"\"",
141
+ "type": "string"
142
+ },
143
+ {
144
+ "name": "language",
145
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
146
+ "type": "string"
147
+ },
148
+ {
149
+ "name": "hideLineNumber",
150
+ "description": "是否隐藏行号",
151
+ "type": "boolean"
152
+ },
153
+ {
154
+ "name": "maxLines",
155
+ "description": "最大行数",
156
+ "type": "number"
157
+ },
158
+ {
159
+ "name": "minLines",
160
+ "description": "最小行数",
161
+ "type": "number"
162
+ },
163
+ {
164
+ "name": "showCopyButton",
165
+ "description": "是否显示复制按钮",
166
+ "default": "true",
167
+ "type": "boolean"
168
+ },
169
+ {
170
+ "name": "showExportButton",
171
+ "description": "是否显示导出按钮",
172
+ "type": "boolean"
173
+ },
174
+ {
175
+ "name": "exportFileName",
176
+ "description": "导出的文件名",
177
+ "default": "download.txt",
178
+ "type": "string"
179
+ }
180
+ ],
181
+ "events": [],
182
+ "slots": [],
183
+ "methods": [],
184
+ "parts": [],
185
+ "description": "代码展示",
186
+ "category": "display-component"
187
+ },
72
188
  {
73
189
  "name": "eo-pagination",
74
190
  "properties": [
@@ -133,65 +249,6 @@
133
249
  "description": "分页",
134
250
  "category": "navigation"
135
251
  },
136
- {
137
- "name": "eo-alert",
138
- "alias": [
139
- "presentational.general-alert"
140
- ],
141
- "properties": [
142
- {
143
- "name": "type",
144
- "description": "警告类型",
145
- "attribute": false,
146
- "type": "AlertType"
147
- },
148
- {
149
- "name": "hasTitle",
150
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
151
- "type": "boolean"
152
- },
153
- {
154
- "name": "showIcon",
155
- "description": "是否显示提示图标",
156
- "type": "boolean"
157
- },
158
- {
159
- "name": "closable",
160
- "description": "是否显示关闭按钮",
161
- "type": "boolean"
162
- },
163
- {
164
- "name": "localStorageKey",
165
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
166
- "type": "string"
167
- },
168
- {
169
- "name": "disableUrlNamespace",
170
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
171
- "type": "boolean"
172
- },
173
- {
174
- "name": "textContent",
175
- "type": "string",
176
- "description": "文本内容"
177
- }
178
- ],
179
- "events": [],
180
- "slots": [
181
- {
182
- "name": null,
183
- "description": "内容区"
184
- },
185
- {
186
- "name": "title",
187
- "description": "标题"
188
- }
189
- ],
190
- "methods": [],
191
- "parts": [],
192
- "description": "告警提示",
193
- "category": "display-component"
194
- },
195
252
  {
196
253
  "name": "eo-card-item",
197
254
  "properties": [
@@ -372,61 +429,47 @@
372
429
  "category": "container-display"
373
430
  },
374
431
  {
375
- "name": "eo-code-display",
376
- "alias": [
377
- "presentational.code-display"
378
- ],
432
+ "name": "eo-info-card-item",
379
433
  "properties": [
380
434
  {
381
- "name": "value",
382
- "description": "代码内容",
383
- "default": "\"\"",
435
+ "name": "cardTitle",
436
+ "description": "title",
384
437
  "type": "string"
385
438
  },
386
439
  {
387
- "name": "language",
388
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
440
+ "name": "description",
441
+ "description": "description",
389
442
  "type": "string"
390
443
  },
391
444
  {
392
- "name": "hideLineNumber",
393
- "description": "是否隐藏行号",
394
- "type": "boolean"
395
- },
396
- {
397
- "name": "maxLines",
398
- "description": "最大行数",
399
- "type": "number"
400
- },
401
- {
402
- "name": "minLines",
403
- "description": "最小行数",
404
- "type": "number"
445
+ "name": "url",
446
+ "description": "链接地址",
447
+ "type": "string"
405
448
  },
406
449
  {
407
- "name": "showCopyButton",
408
- "description": "是否显示复制按钮",
409
- "default": "true",
410
- "type": "boolean"
450
+ "name": "cardIcon",
451
+ "description": "图标",
452
+ "attribute": false,
453
+ "type": "IconAvatar"
411
454
  },
412
455
  {
413
- "name": "showExportButton",
414
- "description": "是否显示导出按钮",
415
- "type": "boolean"
456
+ "name": "detailList",
457
+ "description": "详细列表",
458
+ "attribute": false,
459
+ "type": "InfoCardDetail[]"
416
460
  },
417
461
  {
418
- "name": "exportFileName",
419
- "description": "导出的文件名",
420
- "default": "download.txt",
421
- "type": "string"
462
+ "name": "target",
463
+ "description": "链接跳转目标",
464
+ "type": "LinkProps[\"target\"]"
422
465
  }
423
466
  ],
424
467
  "events": [],
425
468
  "slots": [],
426
469
  "methods": [],
427
470
  "parts": [],
428
- "description": "代码展示",
429
- "category": "display-component"
471
+ "description": "信息卡片",
472
+ "category": "card-info"
430
473
  },
431
474
  {
432
475
  "name": "eo-humanize-time",
@@ -583,68 +626,6 @@
583
626
  "parts": [],
584
627
  "description": "统计卡片"
585
628
  },
586
- {
587
- "name": "eo-current-time",
588
- "properties": [
589
- {
590
- "name": "format",
591
- "description": "时间格式",
592
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
593
- "type": "string"
594
- },
595
- {
596
- "name": "icon",
597
- "description": "前置图标",
598
- "attribute": false,
599
- "type": "GeneralIconProps"
600
- }
601
- ],
602
- "events": [],
603
- "slots": [],
604
- "methods": [],
605
- "parts": [],
606
- "description": "构件 `eo-current-time`"
607
- },
608
- {
609
- "name": "eo-carousel-text",
610
- "properties": [
611
- {
612
- "name": "text",
613
- "description": "展示内容",
614
- "default": "\"\"",
615
- "type": "string"
616
- },
617
- {
618
- "name": "containerWidth",
619
- "description": "容器宽度",
620
- "default": "\"100%\"",
621
- "type": "CSSProperties[\"width\"]"
622
- },
623
- {
624
- "name": "fontSize",
625
- "description": "字体大小",
626
- "default": "\"var(--normal-font-size)\"",
627
- "type": "CSSProperties[\"fontSize\"]"
628
- },
629
- {
630
- "name": "fontColor",
631
- "description": "字体颜色",
632
- "default": "\"var(--text-color-default)\"",
633
- "type": "CSSProperties[\"color\"]"
634
- },
635
- {
636
- "name": "speed",
637
- "description": "移动速度,单位 px/s",
638
- "default": "100",
639
- "type": "number"
640
- }
641
- ],
642
- "events": [],
643
- "slots": [],
644
- "methods": [],
645
- "parts": [],
646
- "description": "构件 `eo-carousel-text`"
647
- },
648
629
  {
649
630
  "name": "eo-loading-step",
650
631
  "properties": [
@@ -710,47 +691,66 @@
710
691
  "description": "加载步骤框"
711
692
  },
712
693
  {
713
- "name": "eo-info-card-item",
694
+ "name": "eo-current-time",
714
695
  "properties": [
715
696
  {
716
- "name": "cardTitle",
717
- "description": "title",
697
+ "name": "format",
698
+ "description": "时间格式",
699
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
718
700
  "type": "string"
719
701
  },
720
702
  {
721
- "name": "description",
722
- "description": "description",
703
+ "name": "icon",
704
+ "description": "前置图标",
705
+ "attribute": false,
706
+ "type": "GeneralIconProps"
707
+ }
708
+ ],
709
+ "events": [],
710
+ "slots": [],
711
+ "methods": [],
712
+ "parts": [],
713
+ "description": "构件 `eo-current-time`"
714
+ },
715
+ {
716
+ "name": "eo-carousel-text",
717
+ "properties": [
718
+ {
719
+ "name": "text",
720
+ "description": "展示内容",
721
+ "default": "\"\"",
723
722
  "type": "string"
724
723
  },
725
724
  {
726
- "name": "url",
727
- "description": "链接地址",
728
- "type": "string"
725
+ "name": "containerWidth",
726
+ "description": "容器宽度",
727
+ "default": "\"100%\"",
728
+ "type": "CSSProperties[\"width\"]"
729
729
  },
730
730
  {
731
- "name": "cardIcon",
732
- "description": "图标",
733
- "attribute": false,
734
- "type": "IconAvatar"
731
+ "name": "fontSize",
732
+ "description": "字体大小",
733
+ "default": "\"var(--normal-font-size)\"",
734
+ "type": "CSSProperties[\"fontSize\"]"
735
735
  },
736
736
  {
737
- "name": "detailList",
738
- "description": "详细列表",
739
- "attribute": false,
740
- "type": "InfoCardDetail[]"
737
+ "name": "fontColor",
738
+ "description": "字体颜色",
739
+ "default": "\"var(--text-color-default)\"",
740
+ "type": "CSSProperties[\"color\"]"
741
741
  },
742
742
  {
743
- "name": "target",
744
- "description": "链接跳转目标",
745
- "type": "LinkProps[\"target\"]"
743
+ "name": "speed",
744
+ "description": "移动速度,单位 px/s",
745
+ "default": "100",
746
+ "type": "number"
746
747
  }
747
748
  ],
748
749
  "events": [],
749
750
  "slots": [],
750
751
  "methods": [],
751
752
  "parts": [],
752
- "description": "信息卡片",
753
- "category": "card-info"
753
+ "description": "构件 `eo-carousel-text`"
754
754
  }
755
755
  ],
756
756
  "providers": []