@thepocman/gantt-task-react 1.0.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/LICENSE +21 -0
- package/README.md +197 -0
- package/dist/change-metadata/get-dependent-tasks.d.ts +3 -0
- package/dist/change-metadata/get-task-indexes.d.ts +9 -0
- package/dist/components/calendar/calendar.d.ts +19 -0
- package/dist/components/calendar/default-render-bottom-header.d.ts +3 -0
- package/dist/components/calendar/default-render-top-header.d.ts +2 -0
- package/dist/components/calendar/top-part-of-calendar.d.ts +14 -0
- package/dist/components/context-menu/index.d.ts +14 -0
- package/dist/components/context-menu/menu-option.d.ts +10 -0
- package/dist/components/gantt/default-check-is-holiday.d.ts +2 -0
- package/dist/components/gantt/default-get-copied-task-id.d.ts +2 -0
- package/dist/components/gantt/default-round-date.d.ts +2 -0
- package/dist/components/gantt/default-round-end-date.d.ts +2 -0
- package/dist/components/gantt/default-round-start-date.d.ts +2 -0
- package/dist/components/gantt/gantt.d.ts +3 -0
- package/dist/components/gantt/task-gantt-content.d.ts +49 -0
- package/dist/components/gantt/task-gantt.d.ts +23 -0
- package/dist/components/gantt/use-context-menu.d.ts +7 -0
- package/dist/components/gantt/use-create-relation.d.ts +16 -0
- package/dist/components/gantt/use-get-task-current-state.d.ts +14 -0
- package/dist/components/gantt/use-handle-action.d.ts +20 -0
- package/dist/components/gantt/use-holidays.d.ts +14 -0
- package/dist/components/gantt/use-horizontal-scrollbars.d.ts +2 -0
- package/dist/components/gantt/use-selection.d.ts +18 -0
- package/dist/components/gantt/use-tablelist-resize.d.ts +2 -0
- package/dist/components/gantt/use-task-drag.d.ts +25 -0
- package/dist/components/gantt/use-vertical-scrollbars.d.ts +2 -0
- package/dist/components/grid/grid-body.d.ts +19 -0
- package/dist/components/grid/grid.d.ts +4 -0
- package/dist/components/other/arrow.d.ts +27 -0
- package/dist/components/other/bar-fix-width.d.ts +13 -0
- package/dist/components/other/fix-dependency-position.d.ts +14 -0
- package/dist/components/other/relation-line.d.ts +9 -0
- package/dist/components/other/tooltip.d.ts +24 -0
- package/dist/components/task-item/bar/bar-date-handle.d.ts +12 -0
- package/dist/components/task-item/bar/bar-display.d.ts +19 -0
- package/dist/components/task-item/bar/bar-progress-handle.d.ts +8 -0
- package/dist/components/task-item/bar/bar-relation-handle.d.ts +11 -0
- package/dist/components/task-item/bar/bar-small.d.ts +6 -0
- package/dist/components/task-item/bar/bar.d.ts +6 -0
- package/dist/components/task-item/milestone/milestone.d.ts +6 -0
- package/dist/components/task-item/project/project-display.d.ts +21 -0
- package/dist/components/task-item/task-item.d.ts +41 -0
- package/dist/components/task-item/task-warning.d.ts +14 -0
- package/dist/components/task-list/TaskListHeaderActions.d.ts +9 -0
- package/dist/components/task-list/columns/add-column.d.ts +3 -0
- package/dist/components/task-list/columns/date-end-column.d.ts +3 -0
- package/dist/components/task-list/columns/date-start-column.d.ts +3 -0
- package/dist/components/task-list/columns/delete-column.d.ts +3 -0
- package/dist/components/task-list/columns/dependencies-column.d.ts +3 -0
- package/dist/components/task-list/columns/edit-column.d.ts +3 -0
- package/dist/components/task-list/columns/title-column.d.ts +3 -0
- package/dist/components/task-list/task-list-header.d.ts +4 -0
- package/dist/components/task-list/task-list-table-row.d.ts +40 -0
- package/dist/components/task-list/task-list-table.d.ts +3 -0
- package/dist/components/task-list/task-list.d.ts +84 -0
- package/dist/constants.d.ts +2 -0
- package/dist/context-menu-options/copy.d.ts +2 -0
- package/dist/context-menu-options/cut.d.ts +2 -0
- package/dist/context-menu-options/delete.d.ts +2 -0
- package/dist/context-menu-options/index.d.ts +4 -0
- package/dist/context-menu-options/paste.d.ts +2 -0
- package/dist/gantt-task-react.es.js +13077 -0
- package/dist/gantt-task-react.umd.js +13090 -0
- package/dist/helpers/adjust-task-to-working-dates.d.ts +12 -0
- package/dist/helpers/bar-helper.d.ts +11 -0
- package/dist/helpers/check-has-children.d.ts +2 -0
- package/dist/helpers/check-is-descendant.d.ts +2 -0
- package/dist/helpers/check-is-real-task.d.ts +2 -0
- package/dist/helpers/check-task-has-dependency-warning.d.ts +2 -0
- package/dist/helpers/collect-parents.d.ts +2 -0
- package/dist/helpers/collect-visible-tasks.d.ts +2 -0
- package/dist/helpers/compare-dates.d.ts +1 -0
- package/dist/helpers/copy-tasks.d.ts +2 -0
- package/dist/helpers/count-holidays.d.ts +2 -0
- package/dist/helpers/date-helper.d.ts +4 -0
- package/dist/helpers/generate-triangle-points.d.ts +1 -0
- package/dist/helpers/get-all-descendants.d.ts +2 -0
- package/dist/helpers/get-change-task-metadata.d.ts +13 -0
- package/dist/helpers/get-child-out-of-parent-warnings.d.ts +2 -0
- package/dist/helpers/get-childs-and-roots.d.ts +5 -0
- package/dist/helpers/get-critical-path.d.ts +2 -0
- package/dist/helpers/get-date-by-offset.d.ts +2 -0
- package/dist/helpers/get-dates-diff.d.ts +2 -0
- package/dist/helpers/get-dependency-map-and-warnings.d.ts +2 -0
- package/dist/helpers/get-initial-closed-tasks.d.ts +2 -0
- package/dist/helpers/get-map-task-to-coordinates.d.ts +7 -0
- package/dist/helpers/get-map-task-to-global-index.d.ts +5 -0
- package/dist/helpers/get-map-task-to-nested-index.d.ts +2 -0
- package/dist/helpers/get-map-task-to-row-index-with-grouping.d.ts +7 -0
- package/dist/helpers/get-map-task-to-row-index.d.ts +10 -0
- package/dist/helpers/get-previous-next-working-date.d.ts +3 -0
- package/dist/helpers/get-relation-circle-by-coordinates.d.ts +2 -0
- package/dist/helpers/get-task-coordinates.d.ts +4 -0
- package/dist/helpers/get-task-row-index.d.ts +2 -0
- package/dist/helpers/get-task-to-has-dependency-warning-map.d.ts +2 -0
- package/dist/helpers/get-tasks-map.d.ts +5 -0
- package/dist/helpers/round-task-dates.d.ts +7 -0
- package/dist/helpers/sort-tasks.d.ts +2 -0
- package/dist/helpers/sort-visible-tasks.d.ts +2 -0
- package/dist/helpers/use-optimized-list.d.ts +24 -0
- package/dist/helpers/use-task-tooltip.d.ts +12 -0
- package/dist/index.d.ts +13 -0
- package/dist/selected-tasks/get-parent-tasks.d.ts +2 -0
- package/dist/selected-tasks/get-selected-tasks.d.ts +2 -0
- package/dist/selected-tasks/get-tasks-with-descendants.d.ts +2 -0
- package/dist/style.css +563 -0
- package/dist/suggestions/change-start-and-end-descendants.d.ts +10 -0
- package/dist/test/date-helper.test.d.ts +1 -0
- package/dist/test/gant.test.d.ts +1 -0
- package/dist/types/gantt-task-actions.d.ts +9 -0
- package/dist/types/public-types.d.ts +860 -0
- package/package.json +133 -0
package/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@thepocman/gantt-task-react",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Fork of gantt-task-react with support for grouped tasks on a single row when collapsed",
|
|
5
|
+
"author": "Adrian Bueno <adrianlbueno@users.noreply.github.com>",
|
|
6
|
+
"homepage": "https://github.com/adrianlbueno/gantt-task-react#readme",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"contributors": [
|
|
9
|
+
{
|
|
10
|
+
"name": "MaTeMaTuK",
|
|
11
|
+
"url": "https://github.com/MaTeMaTuK"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Janlaywss",
|
|
15
|
+
"url": "https://github.com/Janlaywss"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Adrian Bueno",
|
|
19
|
+
"url": "https://github.com/adrianlbueno"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/adrianlbueno/gantt-task-react.git"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"main": "./dist/gantt-task-react.umd.js",
|
|
30
|
+
"module": "./dist/gantt-task-react.es.js",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"source": "src/index.tsx",
|
|
33
|
+
"keywords": [
|
|
34
|
+
"react",
|
|
35
|
+
"gantt",
|
|
36
|
+
"typescript",
|
|
37
|
+
"chart",
|
|
38
|
+
"svg",
|
|
39
|
+
"gantt-chart",
|
|
40
|
+
"gantt chart",
|
|
41
|
+
"react-gantt",
|
|
42
|
+
"task"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"storybook": "storybook dev",
|
|
46
|
+
"build": "vite build && tsc",
|
|
47
|
+
"start": "vite --host",
|
|
48
|
+
"prepare": "run-s build",
|
|
49
|
+
"test": "run-s test:unit test:lint test:build",
|
|
50
|
+
"test:build": "run-s build",
|
|
51
|
+
"test:lint": "eslint --ext .tsx src/**/*",
|
|
52
|
+
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
53
|
+
"test:watch": "react-scripts test --env=jsdom",
|
|
54
|
+
"predeploy": "yarn storybook build",
|
|
55
|
+
"deploy-storybook": "gh-pages -d storybook-static",
|
|
56
|
+
"build-storybook": "storybook build"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@floating-ui/dom": "1.1.1",
|
|
60
|
+
"@floating-ui/react": "0.19.2",
|
|
61
|
+
"date-fns": "2.29.3"
|
|
62
|
+
},
|
|
63
|
+
"overrides": {
|
|
64
|
+
"typescript": "~5.1.6"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@mui/icons-material": "^6.1.0",
|
|
68
|
+
"@mui/material": "^6.1.0",
|
|
69
|
+
"react": ">=18.0.0",
|
|
70
|
+
"react-dom": ">=18.0.0"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@babel/plugin-transform-regenerator": "~7.20.5",
|
|
74
|
+
"@babel/types": "~7.20.7",
|
|
75
|
+
"@emotion/react": "11.13.5",
|
|
76
|
+
"@emotion/styled": "11.13.5",
|
|
77
|
+
"@mdx-js/react": "~2.2.1",
|
|
78
|
+
"@mui/icons-material": "^6.1.9",
|
|
79
|
+
"@mui/material": "^6.1.9",
|
|
80
|
+
"@rollup/plugin-image": "2.1.1",
|
|
81
|
+
"@storybook/addon-controls": "~7.6.20",
|
|
82
|
+
"@storybook/addon-docs": "~7.6.20",
|
|
83
|
+
"@storybook/addons": "~7.6.20",
|
|
84
|
+
"@storybook/channel-postmessage": "~7.6.20",
|
|
85
|
+
"@storybook/channel-websocket": "~7.6.20",
|
|
86
|
+
"@storybook/client-api": "~7.6.20",
|
|
87
|
+
"@storybook/mdx2-csf": "~1.1.0",
|
|
88
|
+
"@storybook/node-logger": "~7.6.20",
|
|
89
|
+
"@storybook/preview-web": "~7.6.20",
|
|
90
|
+
"@storybook/react": "~7.6.20",
|
|
91
|
+
"@storybook/react-vite": "~7.6.20",
|
|
92
|
+
"@testing-library/jest-dom": "~5.16.5",
|
|
93
|
+
"@testing-library/react": "~16.0.1",
|
|
94
|
+
"@testing-library/user-event": "~14.2.6",
|
|
95
|
+
"@types/jest": "~27.5.2",
|
|
96
|
+
"@types/node": "~15.0.3",
|
|
97
|
+
"@types/react": "~18.3.12",
|
|
98
|
+
"@types/react-dom": "~18.3.1",
|
|
99
|
+
"@vitejs/plugin-react": "4.0.4",
|
|
100
|
+
"cross-env": "~7.0.3",
|
|
101
|
+
"doctrine": "~3.0.0",
|
|
102
|
+
"eslint": "^8.50.0",
|
|
103
|
+
"eslint-config-react-app": "^7.0.1",
|
|
104
|
+
"gh-pages": "~5.0.0",
|
|
105
|
+
"identity-obj-proxy": "~3.0.0",
|
|
106
|
+
"jsdom": "^25.0.1",
|
|
107
|
+
"mini-css-extract-plugin": "~2.7.7",
|
|
108
|
+
"npm-run-all": "~4.1.5",
|
|
109
|
+
"postcss-flexbugs-fixes": "~5.0.2",
|
|
110
|
+
"postcss-normalize": "~10.0.1",
|
|
111
|
+
"postcss-preset-env": "~8.0.1",
|
|
112
|
+
"prettier": "~2.8.8",
|
|
113
|
+
"react": "~18.3.1",
|
|
114
|
+
"react-dom": "~18.3.1",
|
|
115
|
+
"react-scripts": "^5.0.1",
|
|
116
|
+
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
117
|
+
"storybook": "7.6.20",
|
|
118
|
+
"typescript": "~5.1.6",
|
|
119
|
+
"vite": "^4.5.5",
|
|
120
|
+
"vitest": "0.34.6"
|
|
121
|
+
},
|
|
122
|
+
"files": [
|
|
123
|
+
"dist"
|
|
124
|
+
],
|
|
125
|
+
"jest": {
|
|
126
|
+
"transformIgnorePatterns": [
|
|
127
|
+
"/node_modules/(?!react-dnd|core-dnd|@react-dnd|dnd-core|react-dnd-html5-backend)"
|
|
128
|
+
],
|
|
129
|
+
"moduleNameMapper": {
|
|
130
|
+
"/~.+\\.module\\.(css|sass|scss)$/": "identity-obj-proxy"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|