@next-bricks/presentational 1.14.0 → 1.14.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.
@@ -69,228 +69,6 @@
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
- },
252
- {
253
- "name": "eo-divider",
254
- "properties": [
255
- {
256
- "name": "orientation",
257
- "description": "标题位置,在horizontal类型的分割线中使用",
258
- "default": "center",
259
- "attribute": false,
260
- "type": "OrientationType"
261
- },
262
- {
263
- "name": "dashed",
264
- "description": "是否虚线",
265
- "default": "false",
266
- "type": "boolean"
267
- },
268
- {
269
- "name": "type",
270
- "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
271
- "default": "\"horizontal\"",
272
- "type": "dividerType"
273
- },
274
- {
275
- "name": "proportion",
276
- "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
277
- "attribute": false,
278
- "type": "[number, number]"
279
- },
280
- {
281
- "name": "dividerStyle",
282
- "description": "分割线自定义样式",
283
- "attribute": false,
284
- "type": "CSSProperties"
285
- }
286
- ],
287
- "events": [],
288
- "slots": [],
289
- "methods": [],
290
- "parts": [],
291
- "description": "分割线",
292
- "category": "container-display"
293
- },
294
72
  {
295
73
  "name": "eo-card-item",
296
74
  "properties": [
@@ -428,6 +206,112 @@
428
206
  "description": "信息类卡片 —— 通用卡片",
429
207
  "category": "card-info"
430
208
  },
209
+ {
210
+ "name": "eo-divider",
211
+ "properties": [
212
+ {
213
+ "name": "orientation",
214
+ "description": "标题位置,在horizontal类型的分割线中使用",
215
+ "default": "center",
216
+ "attribute": false,
217
+ "type": "OrientationType"
218
+ },
219
+ {
220
+ "name": "dashed",
221
+ "description": "是否虚线",
222
+ "default": "false",
223
+ "type": "boolean"
224
+ },
225
+ {
226
+ "name": "type",
227
+ "description": "水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的",
228
+ "default": "\"horizontal\"",
229
+ "type": "dividerType"
230
+ },
231
+ {
232
+ "name": "proportion",
233
+ "description": "当用于数值显示的情况,eg: 如果要展示\"1/3\",那么传入就是[1,3], 该字段只适配于 type 为 radiation",
234
+ "attribute": false,
235
+ "type": "[number, number]"
236
+ },
237
+ {
238
+ "name": "dividerStyle",
239
+ "description": "分割线自定义样式",
240
+ "attribute": false,
241
+ "type": "CSSProperties"
242
+ }
243
+ ],
244
+ "events": [],
245
+ "slots": [],
246
+ "methods": [],
247
+ "parts": [],
248
+ "description": "分割线",
249
+ "category": "container-display"
250
+ },
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
+ },
431
315
  {
432
316
  "name": "eo-info-card-item",
433
317
  "properties": [
@@ -712,6 +596,65 @@
712
596
  "parts": [],
713
597
  "description": "构件 `eo-current-time`"
714
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
+ },
715
658
  {
716
659
  "name": "eo-carousel-text",
717
660
  "properties": [
@@ -751,6 +694,63 @@
751
694
  "methods": [],
752
695
  "parts": [],
753
696
  "description": "构件 `eo-carousel-text`"
697
+ },
698
+ {
699
+ "name": "eo-code-display",
700
+ "alias": [
701
+ "presentational.code-display"
702
+ ],
703
+ "properties": [
704
+ {
705
+ "name": "value",
706
+ "description": "代码内容",
707
+ "default": "\"\"",
708
+ "type": "string"
709
+ },
710
+ {
711
+ "name": "language",
712
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
713
+ "type": "string"
714
+ },
715
+ {
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"
746
+ }
747
+ ],
748
+ "events": [],
749
+ "slots": [],
750
+ "methods": [],
751
+ "parts": [],
752
+ "description": "代码展示",
753
+ "category": "display-component"
754
754
  }
755
755
  ],
756
756
  "providers": []