@cqsjjb/course-res-design 0.0.1
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/Designable.d.ts +62 -0
- package/Preview.d.ts +91 -0
- package/PreviewVideo.d.ts +91 -0
- package/README.md +322 -0
- package/VideoPlayer.d.ts +63 -0
- package/course-res-design.css +1 -0
- package/index.cjs.js +73 -0
- package/index.d.ts +11 -0
- package/index.esm.d.ts +1 -0
- package/index.esm.js +2954 -0
- package/package.json +27 -0
- package/types.d.ts +24 -0
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cqsjjb/course-res-design",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "课程资源设计器",
|
|
5
|
+
"main": "index.cjs.js",
|
|
6
|
+
"module": "index.esm.js",
|
|
7
|
+
"types": "index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"*"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"course-res-design"
|
|
13
|
+
],
|
|
14
|
+
"author": "",
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
21
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
22
|
+
"antd": "5.x",
|
|
23
|
+
"axios": "^1.12.2",
|
|
24
|
+
"@cqsjjb/jjb-cloud-component": "^0.0.8",
|
|
25
|
+
"@cqsjjb/web-video-player": "1.0.0"
|
|
26
|
+
}
|
|
27
|
+
}
|
package/types.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 课程信息
|
|
3
|
+
*/
|
|
4
|
+
export interface CourseInfo {
|
|
5
|
+
/** 课程ID */
|
|
6
|
+
id: string | number;
|
|
7
|
+
/** 课程名称 */
|
|
8
|
+
courseName: string;
|
|
9
|
+
/** 学时规则ID(可选) */
|
|
10
|
+
hourRuleId?: string | number;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 资源标签/资源类型枚举
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceLabel {
|
|
18
|
+
/** 标签值 */
|
|
19
|
+
value: string | number;
|
|
20
|
+
/** 标签名称 */
|
|
21
|
+
label: string;
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}
|
|
24
|
+
|