@next-bricks/presentational 1.6.9 → 1.7.0

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.
@@ -64,60 +64,6 @@
64
64
  "description": "通用描述列表构件",
65
65
  "category": "text"
66
66
  },
67
- {
68
- "name": "eo-alert",
69
- "alias": [
70
- "presentational.general-alert"
71
- ],
72
- "properties": [
73
- {
74
- "name": "type",
75
- "description": "警告类型",
76
- "attribute": false,
77
- "type": "AlertType"
78
- },
79
- {
80
- "name": "hasTitle",
81
- "description": "是否显示标题。开启后,可以使用 `title` 插槽",
82
- "type": "boolean"
83
- },
84
- {
85
- "name": "showIcon",
86
- "description": "是否显示提示图标",
87
- "type": "boolean"
88
- },
89
- {
90
- "name": "closable",
91
- "description": "是否显示关闭按钮",
92
- "type": "boolean"
93
- },
94
- {
95
- "name": "localStorageKey",
96
- "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
97
- "type": "string"
98
- },
99
- {
100
- "name": "disableUrlNamespace",
101
- "description": "关闭后仅以 `localStorageKey` 作为命名空间",
102
- "type": "boolean"
103
- }
104
- ],
105
- "events": [],
106
- "slots": [
107
- {
108
- "name": null,
109
- "description": "内容区"
110
- },
111
- {
112
- "name": "title",
113
- "description": "标题"
114
- }
115
- ],
116
- "methods": [],
117
- "parts": [],
118
- "description": "告警提示",
119
- "category": "display-component"
120
- },
121
67
  {
122
68
  "name": "eo-pagination",
123
69
  "properties": [
@@ -169,60 +115,57 @@
169
115
  "category": "navigation"
170
116
  },
171
117
  {
172
- "name": "eo-code-display",
118
+ "name": "eo-alert",
173
119
  "alias": [
174
- "presentational.code-display"
120
+ "presentational.general-alert"
175
121
  ],
176
122
  "properties": [
177
123
  {
178
- "name": "value",
179
- "description": "代码内容",
180
- "default": "\"\"",
181
- "type": "string"
124
+ "name": "type",
125
+ "description": "警告类型",
126
+ "attribute": false,
127
+ "type": "AlertType"
182
128
  },
183
129
  {
184
- "name": "language",
185
- "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
186
- "type": "string"
130
+ "name": "hasTitle",
131
+ "description": "是否显示标题。开启后,可以使用 `title` 插槽",
132
+ "type": "boolean"
187
133
  },
188
134
  {
189
- "name": "hideLineNumber",
190
- "description": "是否隐藏行号",
135
+ "name": "showIcon",
136
+ "description": "是否显示提示图标",
191
137
  "type": "boolean"
192
138
  },
193
139
  {
194
- "name": "maxLines",
195
- "description": "最大行数",
196
- "type": "number"
140
+ "name": "closable",
141
+ "description": "是否显示关闭按钮",
142
+ "type": "boolean"
197
143
  },
198
144
  {
199
- "name": "minLines",
200
- "description": "最小行数",
201
- "type": "number"
145
+ "name": "localStorageKey",
146
+ "description": "以该值和页面 url 作为命名空间,决定是否显示该警告提示",
147
+ "type": "string"
202
148
  },
203
149
  {
204
- "name": "showCopyButton",
205
- "description": "是否显示复制按钮",
206
- "default": "true",
150
+ "name": "disableUrlNamespace",
151
+ "description": "关闭后仅以 `localStorageKey` 作为命名空间",
207
152
  "type": "boolean"
208
- },
153
+ }
154
+ ],
155
+ "events": [],
156
+ "slots": [
209
157
  {
210
- "name": "showExportButton",
211
- "description": "是否显示导出按钮",
212
- "type": "boolean"
158
+ "name": null,
159
+ "description": "内容区"
213
160
  },
214
161
  {
215
- "name": "exportFileName",
216
- "description": "导出的文件名",
217
- "default": "download.txt",
218
- "type": "string"
162
+ "name": "title",
163
+ "description": "标题"
219
164
  }
220
165
  ],
221
- "events": [],
222
- "slots": [],
223
166
  "methods": [],
224
167
  "parts": [],
225
- "description": "代码展示",
168
+ "description": "告警提示",
226
169
  "category": "display-component"
227
170
  },
228
171
  {
@@ -276,6 +219,11 @@
276
219
  "attribute": false,
277
220
  "type": "ActionType[]"
278
221
  },
222
+ {
223
+ "name": "selected",
224
+ "description": "是否选中",
225
+ "type": "boolean"
226
+ },
279
227
  {
280
228
  "name": "styleType",
281
229
  "description": "卡片样式类型",
@@ -381,6 +329,63 @@
381
329
  "description": "分割线",
382
330
  "category": "container-display"
383
331
  },
332
+ {
333
+ "name": "eo-code-display",
334
+ "alias": [
335
+ "presentational.code-display"
336
+ ],
337
+ "properties": [
338
+ {
339
+ "name": "value",
340
+ "description": "代码内容",
341
+ "default": "\"\"",
342
+ "type": "string"
343
+ },
344
+ {
345
+ "name": "language",
346
+ "description": "语言,具体查阅 [Supported languages](https://prismjs.com/#supported-languages)",
347
+ "type": "string"
348
+ },
349
+ {
350
+ "name": "hideLineNumber",
351
+ "description": "是否隐藏行号",
352
+ "type": "boolean"
353
+ },
354
+ {
355
+ "name": "maxLines",
356
+ "description": "最大行数",
357
+ "type": "number"
358
+ },
359
+ {
360
+ "name": "minLines",
361
+ "description": "最小行数",
362
+ "type": "number"
363
+ },
364
+ {
365
+ "name": "showCopyButton",
366
+ "description": "是否显示复制按钮",
367
+ "default": "true",
368
+ "type": "boolean"
369
+ },
370
+ {
371
+ "name": "showExportButton",
372
+ "description": "是否显示导出按钮",
373
+ "type": "boolean"
374
+ },
375
+ {
376
+ "name": "exportFileName",
377
+ "description": "导出的文件名",
378
+ "default": "download.txt",
379
+ "type": "string"
380
+ }
381
+ ],
382
+ "events": [],
383
+ "slots": [],
384
+ "methods": [],
385
+ "parts": [],
386
+ "description": "代码展示",
387
+ "category": "display-component"
388
+ },
384
389
  {
385
390
  "name": "eo-info-card-item",
386
391
  "properties": [
@@ -477,6 +482,92 @@
477
482
  "parts": [],
478
483
  "description": "人性化时间展示,可显示完整时间、相对时间、未来时间、耗时等,支持自定义输入值格式和输出格式。"
479
484
  },
485
+ {
486
+ "name": "eo-loading-step",
487
+ "properties": [
488
+ {
489
+ "name": "visible",
490
+ "description": "是否可见",
491
+ "type": "boolean"
492
+ },
493
+ {
494
+ "name": "width",
495
+ "description": "宽度",
496
+ "type": "string"
497
+ },
498
+ {
499
+ "name": "stepTitle",
500
+ "description": "步骤标题",
501
+ "type": "string"
502
+ },
503
+ {
504
+ "name": "stepList",
505
+ "description": "步骤列表",
506
+ "attribute": false,
507
+ "type": "StepItem[]"
508
+ },
509
+ {
510
+ "name": "curStep",
511
+ "description": "当前步骤",
512
+ "type": "string"
513
+ }
514
+ ],
515
+ "events": [
516
+ {
517
+ "name": "open",
518
+ "description": "打开事件",
519
+ "detail": {
520
+ "type": "void"
521
+ }
522
+ },
523
+ {
524
+ "name": "close",
525
+ "description": "关闭事件",
526
+ "detail": {
527
+ "type": "void"
528
+ }
529
+ }
530
+ ],
531
+ "slots": [],
532
+ "methods": [
533
+ {
534
+ "name": "open",
535
+ "params": [],
536
+ "description": "打开",
537
+ "returns": {}
538
+ },
539
+ {
540
+ "name": "close",
541
+ "params": [],
542
+ "description": "关闭",
543
+ "returns": {}
544
+ }
545
+ ],
546
+ "parts": [],
547
+ "description": "加载步骤框"
548
+ },
549
+ {
550
+ "name": "eo-current-time",
551
+ "properties": [
552
+ {
553
+ "name": "format",
554
+ "description": "时间格式",
555
+ "default": "\"YYYY-MM-DD HH:mm:ss\"",
556
+ "type": "string"
557
+ },
558
+ {
559
+ "name": "icon",
560
+ "description": "前置图标",
561
+ "attribute": false,
562
+ "type": "GeneralIconProps"
563
+ }
564
+ ],
565
+ "events": [],
566
+ "slots": [],
567
+ "methods": [],
568
+ "parts": [],
569
+ "description": "构件 `eo-current-time`"
570
+ },
480
571
  {
481
572
  "name": "eo-statistics-card",
482
573
  "properties": [
@@ -567,92 +658,6 @@
567
658
  "parts": [],
568
659
  "description": "统计卡片"
569
660
  },
570
- {
571
- "name": "eo-loading-step",
572
- "properties": [
573
- {
574
- "name": "visible",
575
- "description": "是否可见",
576
- "type": "boolean"
577
- },
578
- {
579
- "name": "width",
580
- "description": "宽度",
581
- "type": "string"
582
- },
583
- {
584
- "name": "stepTitle",
585
- "description": "步骤标题",
586
- "type": "string"
587
- },
588
- {
589
- "name": "stepList",
590
- "description": "步骤列表",
591
- "attribute": false,
592
- "type": "StepItem[]"
593
- },
594
- {
595
- "name": "curStep",
596
- "description": "当前步骤",
597
- "type": "string"
598
- }
599
- ],
600
- "events": [
601
- {
602
- "name": "open",
603
- "description": "打开事件",
604
- "detail": {
605
- "type": "void"
606
- }
607
- },
608
- {
609
- "name": "close",
610
- "description": "关闭事件",
611
- "detail": {
612
- "type": "void"
613
- }
614
- }
615
- ],
616
- "slots": [],
617
- "methods": [
618
- {
619
- "name": "open",
620
- "params": [],
621
- "description": "打开",
622
- "returns": {}
623
- },
624
- {
625
- "name": "close",
626
- "params": [],
627
- "description": "关闭",
628
- "returns": {}
629
- }
630
- ],
631
- "parts": [],
632
- "description": "加载步骤框"
633
- },
634
- {
635
- "name": "eo-current-time",
636
- "properties": [
637
- {
638
- "name": "format",
639
- "description": "时间格式",
640
- "default": "\"YYYY-MM-DD HH:mm:ss\"",
641
- "type": "string"
642
- },
643
- {
644
- "name": "icon",
645
- "description": "前置图标",
646
- "attribute": false,
647
- "type": "GeneralIconProps"
648
- }
649
- ],
650
- "events": [],
651
- "slots": [],
652
- "methods": [],
653
- "parts": [],
654
- "description": "构件 `eo-current-time`"
655
- },
656
661
  {
657
662
  "name": "eo-carousel-text",
658
663
  "properties": [