@next-bricks/presentational 1.14.2 → 1.14.4

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,186 @@
69
69
  "description": "通用描述列表构件",
70
70
  "category": "text"
71
71
  },
72
+ {
73
+ "name": "eo-code-display",
74
+ "alias": [
75
+ "presentational.code-display"
76
+ ],
77
+ "properties": [
78
+ {
79
+ "name": "value",
80
+ "description": "代码内容",
81
+ "default": "\"\"",
82
+ "type": "string"
83
+ },
84
+ {
85
+ "name": "language",
86
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
87
+ "type": "string"
88
+ },
89
+ {
90
+ "name": "hideLineNumber",
91
+ "description": "是否隐藏行号",
92
+ "type": "boolean"
93
+ },
94
+ {
95
+ "name": "maxLines",
96
+ "description": "最大行数",
97
+ "type": "number"
98
+ },
99
+ {
100
+ "name": "minLines",
101
+ "description": "最小行数",
102
+ "type": "number"
103
+ },
104
+ {
105
+ "name": "showCopyButton",
106
+ "description": "是否显示复制按钮",
107
+ "default": "true",
108
+ "type": "boolean"
109
+ },
110
+ {
111
+ "name": "showExportButton",
112
+ "description": "是否显示导出按钮",
113
+ "type": "boolean"
114
+ },
115
+ {
116
+ "name": "exportFileName",
117
+ "description": "导出的文件名",
118
+ "default": "download.txt",
119
+ "type": "string"
120
+ }
121
+ ],
122
+ "events": [],
123
+ "slots": [],
124
+ "methods": [],
125
+ "parts": [],
126
+ "description": "代码展示",
127
+ "category": "display-component"
128
+ },
129
+ {
130
+ "name": "eo-alert",
131
+ "alias": [
132
+ "presentational.general-alert"
133
+ ],
134
+ "properties": [
135
+ {
136
+ "name": "type",
137
+ "description": "警告类型",
138
+ "attribute": false,
139
+ "type": "AlertType"
140
+ },
141
+ {
142
+ "name": "hasTitle",
143
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
144
+ "type": "boolean"
145
+ },
146
+ {
147
+ "name": "showIcon",
148
+ "description": "是否显示提示图标",
149
+ "type": "boolean"
150
+ },
151
+ {
152
+ "name": "closable",
153
+ "description": "是否显示关闭按钮",
154
+ "type": "boolean"
155
+ },
156
+ {
157
+ "name": "localStorageKey",
158
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
159
+ "type": "string"
160
+ },
161
+ {
162
+ "name": "disableUrlNamespace",
163
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
164
+ "type": "boolean"
165
+ },
166
+ {
167
+ "name": "textContent",
168
+ "type": "string",
169
+ "description": "文本内容"
170
+ }
171
+ ],
172
+ "events": [],
173
+ "slots": [
174
+ {
175
+ "name": null,
176
+ "description": "内容区"
177
+ },
178
+ {
179
+ "name": "title",
180
+ "description": "标题"
181
+ }
182
+ ],
183
+ "methods": [],
184
+ "parts": [],
185
+ "description": "告警提示",
186
+ "category": "display-component"
187
+ },
188
+ {
189
+ "name": "eo-pagination",
190
+ "properties": [
191
+ {
192
+ "name": "type",
193
+ "description": "",
194
+ "default": "\"page\"",
195
+ "type": "\"page\" | \"token\""
196
+ },
197
+ {
198
+ "name": "total",
199
+ "description": "数据总数",
200
+ "default": "0",
201
+ "type": "number"
202
+ },
203
+ {
204
+ "name": "page",
205
+ "description": "当前页数",
206
+ "default": "1",
207
+ "type": "number"
208
+ },
209
+ {
210
+ "name": "pageSize",
211
+ "description": "每页条数",
212
+ "default": "20",
213
+ "type": "number"
214
+ },
215
+ {
216
+ "name": "pageSizeOptions",
217
+ "description": "指定每页可以显示多少条",
218
+ "default": "[10, 20, 50, 100]",
219
+ "attribute": false,
220
+ "type": "number[]"
221
+ },
222
+ {
223
+ "name": "showSizeChanger",
224
+ "description": "是否展示`pageSize`分页器",
225
+ "default": "true",
226
+ "type": "boolean"
227
+ },
228
+ {
229
+ "name": "nextToken",
230
+ "type": "string"
231
+ },
232
+ {
233
+ "name": "previousToken",
234
+ "type": "string"
235
+ }
236
+ ],
237
+ "events": [
238
+ {
239
+ "name": "change",
240
+ "description": "页码及每页条数改变事件",
241
+ "detail": {
242
+ "type": "ChangeDetail"
243
+ }
244
+ }
245
+ ],
246
+ "slots": [],
247
+ "methods": [],
248
+ "parts": [],
249
+ "description": "分页",
250
+ "category": "navigation"
251
+ },
72
252
  {
73
253
  "name": "eo-card-item",
74
254
  "properties": [
@@ -248,70 +428,6 @@
248
428
  "description": "分割线",
249
429
  "category": "container-display"
250
430
  },
251
- {
252
- "name": "eo-pagination",
253
- "properties": [
254
- {
255
- "name": "type",
256
- "description": "",
257
- "default": "\"page\"",
258
- "type": "\"page\" | \"token\""
259
- },
260
- {
261
- "name": "total",
262
- "description": "数据总数",
263
- "default": "0",
264
- "type": "number"
265
- },
266
- {
267
- "name": "page",
268
- "description": "当前页数",
269
- "default": "1",
270
- "type": "number"
271
- },
272
- {
273
- "name": "pageSize",
274
- "description": "每页条数",
275
- "default": "20",
276
- "type": "number"
277
- },
278
- {
279
- "name": "pageSizeOptions",
280
- "description": "指定每页可以显示多少条",
281
- "default": "[10, 20, 50, 100]",
282
- "attribute": false,
283
- "type": "number[]"
284
- },
285
- {
286
- "name": "showSizeChanger",
287
- "description": "是否展示`pageSize`分页器",
288
- "default": "true",
289
- "type": "boolean"
290
- },
291
- {
292
- "name": "nextToken",
293
- "type": "string"
294
- },
295
- {
296
- "name": "previousToken",
297
- "type": "string"
298
- }
299
- ],
300
- "events": [
301
- {
302
- "name": "change",
303
- "description": "页码及每页条数改变事件",
304
- "detail": {
305
- "type": "ChangeDetail"
306
- }
307
- }
308
- ],
309
- "slots": [],
310
- "methods": [],
311
- "parts": [],
312
- "description": "分页",
313
- "category": "navigation"
314
- },
315
431
  {
316
432
  "name": "eo-info-card-item",
317
433
  "properties": [
@@ -574,87 +690,6 @@
574
690
  "parts": [],
575
691
  "description": "加载步骤框"
576
692
  },
577
- {
578
- "name": "eo-current-time",
579
- "properties": [
580
- {
581
- "name": "format",
582
- "description": "时间格式",
583
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
584
- "type": "string"
585
- },
586
- {
587
- "name": "icon",
588
- "description": "前置图标",
589
- "attribute": false,
590
- "type": "GeneralIconProps"
591
- }
592
- ],
593
- "events": [],
594
- "slots": [],
595
- "methods": [],
596
- "parts": [],
597
- "description": "构件 `eo-current-time`"
598
- },
599
- {
600
- "name": "eo-alert",
601
- "alias": [
602
- "presentational.general-alert"
603
- ],
604
- "properties": [
605
- {
606
- "name": "type",
607
- "description": "警告类型",
608
- "attribute": false,
609
- "type": "AlertType"
610
- },
611
- {
612
- "name": "hasTitle",
613
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
614
- "type": "boolean"
615
- },
616
- {
617
- "name": "showIcon",
618
- "description": "是否显示提示图标",
619
- "type": "boolean"
620
- },
621
- {
622
- "name": "closable",
623
- "description": "是否显示关闭按钮",
624
- "type": "boolean"
625
- },
626
- {
627
- "name": "localStorageKey",
628
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
629
- "type": "string"
630
- },
631
- {
632
- "name": "disableUrlNamespace",
633
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
634
- "type": "boolean"
635
- },
636
- {
637
- "name": "textContent",
638
- "type": "string",
639
- "description": "文本内容"
640
- }
641
- ],
642
- "events": [],
643
- "slots": [
644
- {
645
- "name": null,
646
- "description": "内容区"
647
- },
648
- {
649
- "name": "title",
650
- "description": "标题"
651
- }
652
- ],
653
- "methods": [],
654
- "parts": [],
655
- "description": "告警提示",
656
- "category": "display-component"
657
- },
658
693
  {
659
694
  "name": "eo-carousel-text",
660
695
  "properties": [
@@ -696,61 +731,26 @@
696
731
  "description": "构件 `eo-carousel-text`"
697
732
  },
698
733
  {
699
- "name": "eo-code-display",
700
- "alias": [
701
- "presentational.code-display"
702
- ],
734
+ "name": "eo-current-time",
703
735
  "properties": [
704
736
  {
705
- "name": "value",
706
- "description": "代码内容",
707
- "default": "\"\"",
708
- "type": "string"
709
- },
710
- {
711
- "name": "language",
712
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
737
+ "name": "format",
738
+ "description": "时间格式",
739
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
713
740
  "type": "string"
714
741
  },
715
742
  {
716
- "name": "hideLineNumber",
717
- "description": "是否隐藏行号",
718
- "type": "boolean"
719
- },
720
- {
721
- "name": "maxLines",
722
- "description": "最大行数",
723
- "type": "number"
724
- },
725
- {
726
- "name": "minLines",
727
- "description": "最小行数",
728
- "type": "number"
729
- },
730
- {
731
- "name": "showCopyButton",
732
- "description": "是否显示复制按钮",
733
- "default": "true",
734
- "type": "boolean"
735
- },
736
- {
737
- "name": "showExportButton",
738
- "description": "是否显示导出按钮",
739
- "type": "boolean"
740
- },
741
- {
742
- "name": "exportFileName",
743
- "description": "导出的文件名",
744
- "default": "download.txt",
745
- "type": "string"
743
+ "name": "icon",
744
+ "description": "前置图标",
745
+ "attribute": false,
746
+ "type": "GeneralIconProps"
746
747
  }
747
748
  ],
748
749
  "events": [],
749
750
  "slots": [],
750
751
  "methods": [],
751
752
  "parts": [],
752
- "description": "代码展示",
753
- "category": "display-component"
753
+ "description": "构件 `eo-current-time`"
754
754
  }
755
755
  ],
756
756
  "providers": []