@next-bricks/ai-portal 0.59.4 → 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 +28 -28
- package/dist/chunks/{2621.2e553d56.js → 2621.30041500.js} +2 -2
- package/dist/chunks/2621.30041500.js.map +1 -0
- package/dist/chunks/{main.2a8a7df5.js → main.5ba2de01.js} +2 -2
- package/dist/chunks/{main.2a8a7df5.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.f15560fb.js → notice-list.d51c0103.js} +3 -3
- package/dist/chunks/notice-list.d51c0103.js.map +1 -0
- package/dist/examples.json +18 -18
- package/dist/{index.8eb595d7.js → index.a425606e.js} +2 -2
- package/dist/{index.8eb595d7.js.map → index.a425606e.js.map} +1 -1
- package/dist/manifest.json +168 -168
- package/dist/types.json +413 -385
- 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/package.json +2 -2
- package/dist/chunks/2621.2e553d56.js.map +0 -1
- package/dist/chunks/notice-dropdown.c4604581.js.map +0 -1
- package/dist/chunks/notice-list.f15560fb.js.map +0 -1
- /package/dist/chunks/{notice-list.f15560fb.js.LICENSE.txt → notice-list.d51c0103.js.LICENSE.txt} +0 -0
|
@@ -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
|
-
isRead: 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/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
|
}
|