@next-bricks/ai-portal 0.59.3 → 0.59.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.
- package/dist/bricks.json +32 -32
- package/dist/chunks/{2621.9485ac01.js → 2621.30041500.js} +2 -2
- package/dist/chunks/2621.30041500.js.map +1 -0
- package/dist/chunks/{main.7a2dc87b.js → main.5ba2de01.js} +2 -2
- package/dist/chunks/{main.7a2dc87b.js.map → main.5ba2de01.js.map} +1 -1
- package/dist/chunks/{notice-dropdown.c4604581.js → notice-dropdown.365134e6.js} +2 -2
- package/dist/chunks/notice-dropdown.365134e6.js.map +1 -0
- package/dist/chunks/notice-list.d51c0103.js +3 -0
- package/dist/chunks/notice-list.d51c0103.js.map +1 -0
- package/dist/examples.json +21 -21
- package/dist/{index.9f3c3997.js → index.a425606e.js} +2 -2
- package/dist/{index.9f3c3997.js.map → index.a425606e.js.map} +1 -1
- package/dist/manifest.json +234 -234
- package/dist/types.json +138 -110
- package/dist-types/notice-dropdown/index.d.ts +10 -1
- package/dist-types/notice-list/index.d.ts +1 -1
- package/dist-types/shared/interfaces.d.ts +0 -8
- package/docs/notice-dropdown.md +13 -13
- package/docs/notice-list.md +5 -5
- package/package.json +2 -2
- package/dist/chunks/2621.9485ac01.js.map +0 -1
- package/dist/chunks/notice-dropdown.c4604581.js.map +0 -1
- package/dist/chunks/notice-list.4eda2f51.js +0 -3
- package/dist/chunks/notice-list.4eda2f51.js.map +0 -1
- /package/dist/chunks/{notice-list.4eda2f51.js.LICENSE.txt → notice-list.d51c0103.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -1,4 +1,89 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ai-portal.icon-button": {
|
|
3
|
+
"properties": [
|
|
4
|
+
{
|
|
5
|
+
"name": "icon",
|
|
6
|
+
"annotation": {
|
|
7
|
+
"type": "reference",
|
|
8
|
+
"typeName": {
|
|
9
|
+
"type": "identifier",
|
|
10
|
+
"name": "GeneralIconProps"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "tooltip",
|
|
16
|
+
"annotation": {
|
|
17
|
+
"type": "keyword",
|
|
18
|
+
"value": "string"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "tooltipHoist",
|
|
23
|
+
"annotation": {
|
|
24
|
+
"type": "keyword",
|
|
25
|
+
"value": "boolean"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "disabled",
|
|
30
|
+
"annotation": {
|
|
31
|
+
"type": "keyword",
|
|
32
|
+
"value": "boolean"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "variant",
|
|
37
|
+
"annotation": {
|
|
38
|
+
"type": "reference",
|
|
39
|
+
"typeName": {
|
|
40
|
+
"type": "identifier",
|
|
41
|
+
"name": "IconButtonVariant"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "reduceIconSize",
|
|
47
|
+
"annotation": {
|
|
48
|
+
"type": "keyword",
|
|
49
|
+
"value": "boolean"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"events": [],
|
|
54
|
+
"methods": [],
|
|
55
|
+
"types": [
|
|
56
|
+
{
|
|
57
|
+
"type": "typeAlias",
|
|
58
|
+
"name": "IconButtonVariant",
|
|
59
|
+
"annotation": {
|
|
60
|
+
"type": "union",
|
|
61
|
+
"types": [
|
|
62
|
+
{
|
|
63
|
+
"type": "jsLiteral",
|
|
64
|
+
"value": "default"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "jsLiteral",
|
|
68
|
+
"value": "light"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "jsLiteral",
|
|
72
|
+
"value": "mini"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "jsLiteral",
|
|
76
|
+
"value": "mini-light"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "jsLiteral",
|
|
80
|
+
"value": "bordered"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
2
87
|
"ai-portal.stat-with-mini-chart": {
|
|
3
88
|
"properties": [
|
|
4
89
|
{
|
|
@@ -103,51 +188,10 @@
|
|
|
103
188
|
"events": [],
|
|
104
189
|
"methods": []
|
|
105
190
|
},
|
|
106
|
-
"ai-portal.
|
|
191
|
+
"ai-portal.home-container": {
|
|
107
192
|
"properties": [
|
|
108
193
|
{
|
|
109
|
-
"name": "
|
|
110
|
-
"annotation": {
|
|
111
|
-
"type": "reference",
|
|
112
|
-
"typeName": {
|
|
113
|
-
"type": "identifier",
|
|
114
|
-
"name": "GeneralIconProps"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "tooltip",
|
|
120
|
-
"annotation": {
|
|
121
|
-
"type": "keyword",
|
|
122
|
-
"value": "string"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"name": "tooltipHoist",
|
|
127
|
-
"annotation": {
|
|
128
|
-
"type": "keyword",
|
|
129
|
-
"value": "boolean"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "disabled",
|
|
134
|
-
"annotation": {
|
|
135
|
-
"type": "keyword",
|
|
136
|
-
"value": "boolean"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "variant",
|
|
141
|
-
"annotation": {
|
|
142
|
-
"type": "reference",
|
|
143
|
-
"typeName": {
|
|
144
|
-
"type": "identifier",
|
|
145
|
-
"name": "IconButtonVariant"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "reduceIconSize",
|
|
194
|
+
"name": "sticky",
|
|
151
195
|
"annotation": {
|
|
152
196
|
"type": "keyword",
|
|
153
197
|
"value": "boolean"
|
|
@@ -155,38 +199,7 @@
|
|
|
155
199
|
}
|
|
156
200
|
],
|
|
157
201
|
"events": [],
|
|
158
|
-
"methods": []
|
|
159
|
-
"types": [
|
|
160
|
-
{
|
|
161
|
-
"type": "typeAlias",
|
|
162
|
-
"name": "IconButtonVariant",
|
|
163
|
-
"annotation": {
|
|
164
|
-
"type": "union",
|
|
165
|
-
"types": [
|
|
166
|
-
{
|
|
167
|
-
"type": "jsLiteral",
|
|
168
|
-
"value": "default"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"type": "jsLiteral",
|
|
172
|
-
"value": "light"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "jsLiteral",
|
|
176
|
-
"value": "mini"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"type": "jsLiteral",
|
|
180
|
-
"value": "mini-light"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"type": "jsLiteral",
|
|
184
|
-
"value": "bordered"
|
|
185
|
-
}
|
|
186
|
-
]
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
]
|
|
202
|
+
"methods": []
|
|
190
203
|
},
|
|
191
204
|
"ai-portal.call-tool": {
|
|
192
205
|
"type": "provider",
|
|
@@ -990,19 +1003,6 @@
|
|
|
990
1003
|
}
|
|
991
1004
|
]
|
|
992
1005
|
},
|
|
993
|
-
"ai-portal.home-container": {
|
|
994
|
-
"properties": [
|
|
995
|
-
{
|
|
996
|
-
"name": "sticky",
|
|
997
|
-
"annotation": {
|
|
998
|
-
"type": "keyword",
|
|
999
|
-
"value": "boolean"
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
],
|
|
1003
|
-
"events": [],
|
|
1004
|
-
"methods": []
|
|
1005
|
-
},
|
|
1006
1006
|
"ai-portal.elevo-logo": {
|
|
1007
1007
|
"properties": [],
|
|
1008
1008
|
"events": [],
|
|
@@ -1936,26 +1936,6 @@
|
|
|
1936
1936
|
}
|
|
1937
1937
|
]
|
|
1938
1938
|
},
|
|
1939
|
-
"ai-portal.preview-container": {
|
|
1940
|
-
"properties": [
|
|
1941
|
-
{
|
|
1942
|
-
"name": "source",
|
|
1943
|
-
"annotation": {
|
|
1944
|
-
"type": "keyword",
|
|
1945
|
-
"value": "string"
|
|
1946
|
-
}
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"name": "url",
|
|
1950
|
-
"annotation": {
|
|
1951
|
-
"type": "keyword",
|
|
1952
|
-
"value": "string"
|
|
1953
|
-
}
|
|
1954
|
-
}
|
|
1955
|
-
],
|
|
1956
|
-
"events": [],
|
|
1957
|
-
"methods": []
|
|
1958
|
-
},
|
|
1959
1939
|
"ai-portal.action-buttons": {
|
|
1960
1940
|
"properties": [
|
|
1961
1941
|
{
|
|
@@ -2074,6 +2054,26 @@
|
|
|
2074
2054
|
}
|
|
2075
2055
|
]
|
|
2076
2056
|
},
|
|
2057
|
+
"ai-portal.preview-container": {
|
|
2058
|
+
"properties": [
|
|
2059
|
+
{
|
|
2060
|
+
"name": "source",
|
|
2061
|
+
"annotation": {
|
|
2062
|
+
"type": "keyword",
|
|
2063
|
+
"value": "string"
|
|
2064
|
+
}
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "url",
|
|
2068
|
+
"annotation": {
|
|
2069
|
+
"type": "keyword",
|
|
2070
|
+
"value": "string"
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
],
|
|
2074
|
+
"events": [],
|
|
2075
|
+
"methods": []
|
|
2076
|
+
},
|
|
2077
2077
|
"ai-portal.project-conversations": {
|
|
2078
2078
|
"properties": [
|
|
2079
2079
|
{
|
|
@@ -4471,7 +4471,7 @@
|
|
|
4471
4471
|
"type": "propertySignature",
|
|
4472
4472
|
"key": {
|
|
4473
4473
|
"type": "identifier",
|
|
4474
|
-
"name": "
|
|
4474
|
+
"name": "isRead"
|
|
4475
4475
|
},
|
|
4476
4476
|
"annotation": {
|
|
4477
4477
|
"type": "keyword",
|
|
@@ -4515,6 +4515,20 @@
|
|
|
4515
4515
|
"value": "number"
|
|
4516
4516
|
},
|
|
4517
4517
|
"computed": false
|
|
4518
|
+
},
|
|
4519
|
+
{
|
|
4520
|
+
"type": "propertySignature",
|
|
4521
|
+
"key": {
|
|
4522
|
+
"type": "identifier",
|
|
4523
|
+
"name": "url"
|
|
4524
|
+
},
|
|
4525
|
+
"annotation": {
|
|
4526
|
+
"type": "keyword",
|
|
4527
|
+
"value": "string"
|
|
4528
|
+
},
|
|
4529
|
+
"optional": true,
|
|
4530
|
+
"computed": false,
|
|
4531
|
+
"description": "单个消息详情链接,优先级高于 urlTemplate"
|
|
4518
4532
|
}
|
|
4519
4533
|
]
|
|
4520
4534
|
}
|
|
@@ -4642,7 +4656,7 @@
|
|
|
4642
4656
|
"type": "propertySignature",
|
|
4643
4657
|
"key": {
|
|
4644
4658
|
"type": "identifier",
|
|
4645
|
-
"name": "
|
|
4659
|
+
"name": "isRead"
|
|
4646
4660
|
},
|
|
4647
4661
|
"annotation": {
|
|
4648
4662
|
"type": "keyword",
|
|
@@ -4686,6 +4700,20 @@
|
|
|
4686
4700
|
"value": "number"
|
|
4687
4701
|
},
|
|
4688
4702
|
"computed": false
|
|
4703
|
+
},
|
|
4704
|
+
{
|
|
4705
|
+
"type": "propertySignature",
|
|
4706
|
+
"key": {
|
|
4707
|
+
"type": "identifier",
|
|
4708
|
+
"name": "url"
|
|
4709
|
+
},
|
|
4710
|
+
"annotation": {
|
|
4711
|
+
"type": "keyword",
|
|
4712
|
+
"value": "string"
|
|
4713
|
+
},
|
|
4714
|
+
"optional": true,
|
|
4715
|
+
"computed": false,
|
|
4716
|
+
"description": "单个消息详情链接,优先级高于 urlTemplate"
|
|
4689
4717
|
}
|
|
4690
4718
|
]
|
|
4691
4719
|
}
|
|
@@ -3,7 +3,16 @@ import { ReactNextElement } from "@next-core/react-element";
|
|
|
3
3
|
import "@next-core/theme";
|
|
4
4
|
import { Placement } from "@next-bricks/basic/popover";
|
|
5
5
|
import { Target } from "@next-bricks/basic/link";
|
|
6
|
-
|
|
6
|
+
export interface NoticeItem {
|
|
7
|
+
id: string;
|
|
8
|
+
type: string;
|
|
9
|
+
isRead: boolean;
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
time: number;
|
|
13
|
+
/** 单个消息详情链接,优先级高于 urlTemplate */
|
|
14
|
+
url?: string;
|
|
15
|
+
}
|
|
7
16
|
export interface NoticeDropdownProps {
|
|
8
17
|
/** 消息数据列表 */
|
|
9
18
|
dataSource?: NoticeItem[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ReactNextElement } from "@next-core/react-element";
|
|
3
3
|
import "@next-core/theme";
|
|
4
|
-
import { NoticeItem } from "../shared/interfaces.js";
|
|
5
4
|
import { Target } from "@next-bricks/basic/link";
|
|
6
5
|
import type { CheckboxValueType } from "@next-bricks/form/checkbox";
|
|
6
|
+
import { NoticeItem } from "../notice-dropdown/index.js";
|
|
7
7
|
export interface CheckboxEvents {
|
|
8
8
|
change: CustomEvent<CheckboxValueType[]>;
|
|
9
9
|
}
|
|
@@ -230,14 +230,6 @@ export interface PlanStep {
|
|
|
230
230
|
taskId?: string;
|
|
231
231
|
state?: TaskState;
|
|
232
232
|
}
|
|
233
|
-
export interface NoticeItem {
|
|
234
|
-
id: string;
|
|
235
|
-
type: string;
|
|
236
|
-
isUnread: boolean;
|
|
237
|
-
title: string;
|
|
238
|
-
description?: string;
|
|
239
|
-
time: number;
|
|
240
|
-
}
|
|
241
233
|
export interface ActiveImages {
|
|
242
234
|
files: FileInfo[];
|
|
243
235
|
file: FileInfo;
|
package/docs/notice-dropdown.md
CHANGED
|
@@ -11,44 +11,44 @@ brick: ai-portal.notice-dropdown
|
|
|
11
11
|
properties:
|
|
12
12
|
dataSource:
|
|
13
13
|
- id: "msg-1"
|
|
14
|
-
|
|
14
|
+
isRead: false
|
|
15
15
|
type: "project"
|
|
16
16
|
title: "协作流【研发设计】已完成【项目协作功能】已发布【项目协作功能】已发布【项目协作功能】已发布【项目协作功能】已发布"
|
|
17
17
|
- id: "msg-2"
|
|
18
|
-
|
|
18
|
+
isRead: false
|
|
19
19
|
title: "协作流【协作流名称】 - 【活动名称】需要人工确认"
|
|
20
20
|
type: "space"
|
|
21
21
|
- id: "msg-3"
|
|
22
22
|
type: "account"
|
|
23
|
-
|
|
23
|
+
isRead: true
|
|
24
24
|
title: "【项目协作功能】已发布"
|
|
25
25
|
- id: "msg-4"
|
|
26
26
|
type: "system"
|
|
27
|
-
|
|
27
|
+
isRead: true
|
|
28
28
|
title: "Samuel在项目【项目A】@了你"
|
|
29
29
|
- id: "msg-2"
|
|
30
30
|
type: "account"
|
|
31
|
-
|
|
31
|
+
isRead: false
|
|
32
32
|
title: "协作流【协作流名称】 - 【活动名称】需要人工确认"
|
|
33
33
|
- id: "msg-3"
|
|
34
34
|
type: "system"
|
|
35
|
-
|
|
35
|
+
isRead: true
|
|
36
36
|
title: "【项目协作功能】已发布"
|
|
37
37
|
- id: "msg-4"
|
|
38
38
|
type: "project"
|
|
39
|
-
|
|
39
|
+
isRead: true
|
|
40
40
|
title: "Samuel在项目【项目A】@了你"
|
|
41
41
|
- id: "msg-2"
|
|
42
42
|
type: "space"
|
|
43
|
-
|
|
43
|
+
isRead: false
|
|
44
44
|
title: "协作流【协作流名称】 - 【活动名称】需要人工确认"
|
|
45
45
|
- id: "msg-3"
|
|
46
46
|
type: "space"
|
|
47
|
-
|
|
47
|
+
isRead: true
|
|
48
48
|
title: "【项目协作功能】已发布"
|
|
49
49
|
- id: "msg-4"
|
|
50
50
|
type: "system"
|
|
51
|
-
|
|
51
|
+
isRead: true
|
|
52
52
|
title: "Samuel在项目【项目A】@了你"
|
|
53
53
|
|
|
54
54
|
events:
|
|
@@ -78,16 +78,16 @@ brick: ai-portal.notice-dropdown
|
|
|
78
78
|
properties:
|
|
79
79
|
dataSource:
|
|
80
80
|
- id: "msg-1"
|
|
81
|
-
|
|
81
|
+
isRead: false
|
|
82
82
|
type: "project"
|
|
83
83
|
title: "协作流【研发设计】已完成"
|
|
84
84
|
- id: "msg-2"
|
|
85
|
-
|
|
85
|
+
isRead: false
|
|
86
86
|
type: "space"
|
|
87
87
|
title: "协作流【协作流名称】需要人工确认"
|
|
88
88
|
- id: "msg-3"
|
|
89
89
|
type: "account"
|
|
90
|
-
|
|
90
|
+
isRead: true
|
|
91
91
|
title: "【项目协作功能】已发布"
|
|
92
92
|
children:
|
|
93
93
|
- brick: eo-button
|
package/docs/notice-list.md
CHANGED
|
@@ -14,27 +14,27 @@ properties:
|
|
|
14
14
|
dataSource:
|
|
15
15
|
- id: "1"
|
|
16
16
|
type: "project"
|
|
17
|
-
|
|
17
|
+
isRead: true
|
|
18
18
|
title: "协作流【研发设计】已完成"
|
|
19
19
|
time: 1761207261887
|
|
20
20
|
- id: "2"
|
|
21
21
|
type: "account"
|
|
22
|
-
|
|
22
|
+
isRead: true
|
|
23
23
|
title: "您的账户资源配额即将达到限制"
|
|
24
24
|
time: 1761812267887
|
|
25
25
|
- id: "3"
|
|
26
26
|
type: "system"
|
|
27
|
-
|
|
27
|
+
isRead: false
|
|
28
28
|
title: "服务通知:服务维护"
|
|
29
29
|
time: 1761818247887
|
|
30
30
|
- id: "4"
|
|
31
31
|
type: "space"
|
|
32
|
-
|
|
32
|
+
isRead: false
|
|
33
33
|
title: "Luna 在项目【系统资源收集】中@了你"
|
|
34
34
|
time: 1761820851887
|
|
35
35
|
- id: "5"
|
|
36
36
|
type: "project"
|
|
37
|
-
|
|
37
|
+
isRead: false
|
|
38
38
|
title: "协作流【设计规范】已完成"
|
|
39
39
|
time: 1761821891887
|
|
40
40
|
events:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.5",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@next-bricks/presentational": "*",
|
|
48
48
|
"@next-bricks/vs": "*"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "e6b1d42b07a32b108f730d2cb2e3df5ee650708b"
|
|
51
51
|
}
|