schedulant 1.0.0-alpha.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/LICENSE +21 -0
- package/README.md +46 -0
- package/dist/components/datagrid/body-cell.d.ts +10 -0
- package/dist/components/datagrid/datagrid-body.d.ts +4 -0
- package/dist/components/datagrid/datagrid-colgroup.d.ts +4 -0
- package/dist/components/datagrid/datagrid-head.d.ts +4 -0
- package/dist/components/datagrid/head-cell.d.ts +7 -0
- package/dist/components/schedulant.d.ts +2 -0
- package/dist/components/timeline/timeline-body-slot.d.ts +6 -0
- package/dist/components/timeline/timeline-body.d.ts +4 -0
- package/dist/components/timeline/timeline-checkpoint-harness.d.ts +9 -0
- package/dist/components/timeline/timeline-colgroup.d.ts +5 -0
- package/dist/components/timeline/timeline-drawing-board.d.ts +4 -0
- package/dist/components/timeline/timeline-event-harness.d.ts +11 -0
- package/dist/components/timeline/timeline-header-slot.d.ts +9 -0
- package/dist/components/timeline/timeline-header.d.ts +4 -0
- package/dist/components/timeline/timeline-lane.d.ts +7 -0
- package/dist/components/timeline/timeline-milestone-harness.d.ts +9 -0
- package/dist/context/schedulant-context.d.ts +8 -0
- package/dist/context/schedulant-provider.d.ts +4 -0
- package/dist/context/schedulant-reducer.d.ts +2 -0
- package/dist/context/schedulant-state.d.ts +21 -0
- package/dist/hooks/mounts/use-checkpoint-mount.d.ts +8 -0
- package/dist/hooks/mounts/use-event-mount.d.ts +8 -0
- package/dist/hooks/mounts/use-milestone-mount.d.ts +8 -0
- package/dist/hooks/mounts/use-resource-label-mount.d.ts +4 -0
- package/dist/hooks/mounts/use-resource-lane-mount.d.ts +4 -0
- package/dist/hooks/mounts/use-schedulant-mount.d.ts +3 -0
- package/dist/hooks/use-move-timeline-event.d.ts +15 -0
- package/dist/hooks/use-move-timeline-marker.d.ts +14 -0
- package/dist/hooks/use-resource-area-width.d.ts +2 -0
- package/dist/hooks/use-schedulant-context.d.ts +4 -0
- package/dist/hooks/use-schedulant-height.d.ts +1 -0
- package/dist/hooks/use-sync-scroll.d.ts +2 -0
- package/dist/hooks/use-timeline-width.d.ts +1 -0
- package/dist/icons/drag-icon.d.ts +5 -0
- package/dist/icons/droplet-icon.d.ts +5 -0
- package/dist/icons/flag-icon.d.ts +5 -0
- package/dist/icons/triangle-left-icon.d.ts +5 -0
- package/dist/icons/triangle-right-icon.d.ts +5 -0
- package/dist/schedulant.css +1 -0
- package/dist/schedulant.d.ts +8 -0
- package/dist/schedulant.js +19898 -0
- package/dist/types/base.d.ts +41 -0
- package/dist/types/checkpoint.d.ts +47 -0
- package/dist/types/day-timeline-view.d.ts +12 -0
- package/dist/types/event.d.ts +66 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/milestone.d.ts +51 -0
- package/dist/types/misc.d.ts +8 -0
- package/dist/types/month-timeline-view.d.ts +12 -0
- package/dist/types/option.d.ts +10 -0
- package/dist/types/quarter-timeline-view.d.ts +12 -0
- package/dist/types/resource.d.ts +85 -0
- package/dist/types/schedulant-view.d.ts +20 -0
- package/dist/types/schedulant.d.ts +143 -0
- package/dist/types/timeline-view.d.ts +24 -0
- package/dist/types/timeline.d.ts +75 -0
- package/dist/types/week-timeline-view.d.ts +12 -0
- package/dist/types/year-timeline-view.d.ts +12 -0
- package/dist/utils/array.d.ts +1 -0
- package/dist/utils/dom.d.ts +3 -0
- package/dist/utils/if.d.ts +6 -0
- package/package.json +58 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": false,
|
|
3
|
+
"type": "module",
|
|
4
|
+
"name": "schedulant",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"author": "mengen.dai@outlook.com",
|
|
10
|
+
"version": "1.0.0-alpha.1",
|
|
11
|
+
"main": "dist/schedulant.js",
|
|
12
|
+
"typings": "dist/schedulant.d.ts",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"gantt",
|
|
15
|
+
"timeline",
|
|
16
|
+
"schedule"
|
|
17
|
+
],
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/DAIMENGEN/schedulant/issues"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/DAIMENGEN/schedulant.git"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"lint": "eslint .",
|
|
27
|
+
"build": "tsc -b && vite build --config vite.config.prod.ts",
|
|
28
|
+
"build-dev": "tsc -b && vite build --config vite.config.dev.ts",
|
|
29
|
+
"preview": "yarn build-dev && cd example && yarn dev"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"dayjs": "^1.11.13",
|
|
33
|
+
"react": "^18.3.1",
|
|
34
|
+
"react-dom": "^18.3.1"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@ant-design/icons": "^5.6.1",
|
|
38
|
+
"@eslint/js": "^9.21.0",
|
|
39
|
+
"@types/node": "^22.13.9",
|
|
40
|
+
"@types/react": "^18.3.18",
|
|
41
|
+
"@types/react-dom": "^18.3.5",
|
|
42
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
43
|
+
"antd": "^5.24.3",
|
|
44
|
+
"dayjs": "^1.11.13",
|
|
45
|
+
"eslint": "^9.21.0",
|
|
46
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
47
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
48
|
+
"globals": "^16.0.0",
|
|
49
|
+
"react": "^18.3.1",
|
|
50
|
+
"react-dom": "^18.3.1",
|
|
51
|
+
"rollup-plugin-scss": "^4.0.1",
|
|
52
|
+
"sass": "^1.85.1",
|
|
53
|
+
"typescript": "^5.8.3",
|
|
54
|
+
"typescript-eslint": "^8.24.1",
|
|
55
|
+
"vite": "^6.3.5",
|
|
56
|
+
"vite-plugin-dts": "^4.5.3"
|
|
57
|
+
}
|
|
58
|
+
}
|