@forsion/calendar 0.0.0-stage → 0.1.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.
- package/CHANGELOG.md +22 -0
- package/README.md +19 -2
- package/THIRD_PARTY_NOTICES.md +155 -0
- package/main.js +597 -0
- package/manifest.json +13 -0
- package/package.json +26 -4
- package/spaces/calendar/space.json +18 -0
- package/spaces/todo/space.json +13 -0
package/manifest.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "forsion-calendar",
|
|
3
|
+
"name": "日历与待办",
|
|
4
|
+
"nameEn": "Calendar and tasks",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"apiVersion": 1,
|
|
7
|
+
"minAppVersion": "2.13.6",
|
|
8
|
+
"main": "main.js",
|
|
9
|
+
"author": "Forsion",
|
|
10
|
+
"capabilities": ["databases", "noteTasks", "calendar"],
|
|
11
|
+
"description": "Calendar 与待办 Space,支持快捷添加、日期安排、完成反馈与撤销。Calendar 右栏共用同一个待办视图。",
|
|
12
|
+
"descriptionEn": "Calendar and Tasks Spaces with quick capture, scheduling, completion feedback and undo. The Calendar companion uses the same task view."
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsion/calendar",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Forsion core Calendar and Tasks: quick capture, scheduling, completion feedback and undo.",
|
|
5
|
+
"publishConfig": { "access": "public" },
|
|
6
|
+
"type": "module",
|
|
7
|
+
"license": "UNLICENSED",
|
|
8
|
+
"files": ["manifest.json", "main.js", "spaces", "THIRD_PARTY_NOTICES.md", "CHANGELOG.md", "README.md"],
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "node scripts/build.mjs",
|
|
11
|
+
"test": "npm run build && vitest run",
|
|
12
|
+
"typecheck": "tsc --noEmit",
|
|
13
|
+
"prepack": "npm run build",
|
|
14
|
+
"install:dev": "npm run build && node scripts/install-dev.mjs"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/react": "19.2.17",
|
|
18
|
+
"@types/react-dom": "19.2.3",
|
|
19
|
+
"esbuild": "0.25.12",
|
|
20
|
+
"happy-dom": "20.10.6",
|
|
21
|
+
"lucide-react": "1.21.0",
|
|
22
|
+
"react": "19.2.7",
|
|
23
|
+
"react-dom": "19.2.7",
|
|
24
|
+
"typescript": "5.9.3",
|
|
25
|
+
"vitest": "3.2.6",
|
|
26
|
+
"zustand": "5.0.14"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "forsion-calendar",
|
|
3
|
+
"name": { "zh": "日历", "en": "Calendar" },
|
|
4
|
+
"icon": "calendar-days",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"layout": {
|
|
7
|
+
"main": [{ "type": "plugin:forsion-calendar:calendar", "pinned": true }],
|
|
8
|
+
"left": [{ "type": "plugin:forsion-calendar:config" }],
|
|
9
|
+
"right": [{ "type": "plugin:forsion-calendar:side" }],
|
|
10
|
+
"bottom": []
|
|
11
|
+
},
|
|
12
|
+
"mini": {
|
|
13
|
+
"name": { "zh": "待办", "en": "To-dos" },
|
|
14
|
+
"view": { "type": "plugin:forsion-calendar:todo-mini" },
|
|
15
|
+
"mainView": { "type": "plugin:forsion-calendar:todo" }
|
|
16
|
+
},
|
|
17
|
+
"requires": { "views": ["plugin:forsion-calendar:calendar", "plugin:forsion-calendar:config", "plugin:forsion-calendar:side"] }
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "forsion-todo",
|
|
3
|
+
"name": { "zh": "待办", "en": "Tasks" },
|
|
4
|
+
"icon": "list-todo",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"layout": {
|
|
7
|
+
"main": [{ "type": "plugin:forsion-calendar:todo", "params": { "filter": "all" }, "pinned": true }],
|
|
8
|
+
"left": [{ "type": "workspace", "params": { "mode": "plugin:forsion-calendar:lists" } }],
|
|
9
|
+
"right": [], "bottom": []
|
|
10
|
+
},
|
|
11
|
+
"mini": { "name": { "zh": "待办", "en": "Tasks" }, "view": { "type": "plugin:forsion-calendar:todo-mini" }, "mainView": { "type": "plugin:forsion-calendar:todo" } },
|
|
12
|
+
"requires": { "views": ["plugin:forsion-calendar:todo"] }
|
|
13
|
+
}
|