@worktile/gantt 12.0.1 → 12.1.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/README.md +13 -116
- package/bundles/worktile-gantt.umd.js +3369 -0
- package/bundles/worktile-gantt.umd.js.map +1 -0
- package/class/date-point.d.ts +15 -0
- package/{packages/gantt/src/class/event.ts → class/event.d.ts} +6 -12
- package/class/group.d.ts +22 -0
- package/{packages/gantt/src/class/index.ts → class/index.d.ts} +0 -0
- package/class/item.d.ts +70 -0
- package/class/view-type.d.ts +7 -0
- package/components/bar/bar-drag.d.ts +37 -0
- package/components/bar/bar.component.d.ts +26 -0
- package/components/calendar/calendar.component.d.ts +28 -0
- package/components/drag-backdrop/drag-backdrop.component.d.ts +9 -0
- package/components/icon/icon.component.d.ts +13 -0
- package/components/icon/icons.d.ts +8 -0
- package/components/links/links.component.d.ts +47 -0
- package/components/main/gantt-main.component.d.ts +21 -0
- package/components/range/range.component.d.ts +13 -0
- package/components/table/gantt-table.component.d.ts +37 -0
- package/esm2015/class/date-point.js +10 -0
- package/esm2015/class/event.js +13 -0
- package/esm2015/class/group.js +17 -0
- package/esm2015/class/index.js +6 -0
- package/esm2015/class/item.js +78 -0
- package/esm2015/class/view-type.js +9 -0
- package/esm2015/components/bar/bar-drag.js +269 -0
- package/esm2015/components/bar/bar.component.js +98 -0
- package/esm2015/components/calendar/calendar.component.js +86 -0
- package/esm2015/components/drag-backdrop/drag-backdrop.component.js +21 -0
- package/esm2015/components/icon/icon.component.js +38 -0
- package/esm2015/components/icon/icons.js +87 -0
- package/esm2015/components/links/links.component.js +213 -0
- package/esm2015/components/main/gantt-main.component.js +53 -0
- package/esm2015/components/range/range.component.js +37 -0
- package/esm2015/components/table/gantt-table.component.js +149 -0
- package/esm2015/gantt-abstract.js +3 -0
- package/esm2015/gantt-dom.service.js +103 -0
- package/esm2015/gantt-drag-container.js +60 -0
- package/esm2015/gantt-item-upper.js +58 -0
- package/esm2015/gantt-print.service.js +94 -0
- package/esm2015/gantt-upper.js +280 -0
- package/esm2015/gantt.component.js +135 -0
- package/esm2015/gantt.config.js +13 -0
- package/esm2015/gantt.module.js +85 -0
- package/esm2015/gantt.pipe.js +43 -0
- package/esm2015/gantt.styles.js +15 -0
- package/esm2015/public-api.js +19 -0
- package/esm2015/root.component.js +123 -0
- package/esm2015/table/gantt-column.component.js +37 -0
- package/esm2015/table/gantt-table.component.js +20 -0
- package/esm2015/utils/date.js +160 -0
- package/esm2015/utils/helpers.js +55 -0
- package/esm2015/views/day.js +54 -0
- package/esm2015/views/factory.js +23 -0
- package/esm2015/views/month.js +48 -0
- package/esm2015/views/quarter.js +51 -0
- package/esm2015/views/view.js +123 -0
- package/esm2015/views/week.js +49 -0
- package/esm2015/views/year.js +50 -0
- package/esm2015/worktile-gantt.js +5 -0
- package/fesm2015/worktile-gantt.js +2697 -0
- package/fesm2015/worktile-gantt.js.map +1 -0
- package/{packages/gantt/src/gantt-abstract.ts → gantt-abstract.d.ts} +1 -3
- package/gantt-dom.service.d.ts +32 -0
- package/gantt-drag-container.d.ts +24 -0
- package/gantt-item-upper.d.ts +20 -0
- package/gantt-print.service.d.ts +13 -0
- package/gantt-upper.d.ts +69 -0
- package/gantt.component.d.ts +30 -0
- package/gantt.config.d.ts +23 -0
- package/gantt.module.d.ts +21 -0
- package/gantt.pipe.d.ts +18 -0
- package/gantt.styles.d.ts +15 -0
- package/main.bundle.scss +645 -0
- package/package.json +16 -113
- package/{packages/gantt/src/public-api.ts → public-api.d.ts} +1 -4
- package/root.component.d.ts +28 -0
- package/table/gantt-column.component.d.ts +15 -0
- package/table/gantt-table.component.d.ts +10 -0
- package/utils/date.d.ts +59 -0
- package/utils/helpers.d.ts +12 -0
- package/views/day.d.ts +14 -0
- package/views/factory.d.ts +8 -0
- package/views/month.d.ts +12 -0
- package/views/quarter.d.ts +12 -0
- package/views/view.d.ts +58 -0
- package/views/week.d.ts +12 -0
- package/views/year.d.ts +12 -0
- package/worktile-gantt.d.ts +5 -0
- package/.all-contributorsrc +0 -53
- package/.angulardoc.json +0 -4
- package/.circleci/config.yml +0 -17
- package/.coveralls.yml +0 -1
- package/.docgenirc.js +0 -64
- package/.editorconfig +0 -22
- package/.prettierrc +0 -24
- package/.travis.yml +0 -23
- package/CHANGELOG.md +0 -564
- package/Dockerfile +0 -4
- package/LICENSE +0 -21
- package/angular.json +0 -136
- package/docs/guides/basic/components.md +0 -54
- package/docs/guides/basic/event.md +0 -70
- package/docs/guides/basic/index.md +0 -4
- package/docs/guides/basic/style.md +0 -68
- package/docs/guides/basic/type.md +0 -70
- package/docs/guides/basic/usage.md +0 -189
- package/docs/guides/index.md +0 -5
- package/docs/guides/intro/getting-started.md +0 -79
- package/docs/guides/intro/index.md +0 -51
- package/docs/index.md +0 -0
- package/example/browserslist +0 -12
- package/example/src/app/app-routing.module.ts +0 -26
- package/example/src/app/app.component.html +0 -2
- package/example/src/app/app.component.ts +0 -11
- package/example/src/app/app.module.ts +0 -57
- package/example/src/app/components/components.component.html +0 -6
- package/example/src/app/components/components.component.ts +0 -33
- package/example/src/app/configuration/parameters/api/zh-cn.js +0 -350
- package/example/src/app/configuration/parameters/doc/zh-cn.md +0 -5
- package/example/src/app/gantt/gantt.component.html +0 -51
- package/example/src/app/gantt/gantt.component.ts +0 -119
- package/example/src/app/gantt-advanced/component/flat.component.html +0 -30
- package/example/src/app/gantt-advanced/component/flat.component.ts +0 -72
- package/example/src/app/gantt-advanced/component/flat.scss +0 -31
- package/example/src/app/gantt-advanced/gantt-advanced.component.html +0 -32
- package/example/src/app/gantt-advanced/gantt-advanced.component.ts +0 -34
- package/example/src/app/gantt-advanced/mocks.ts +0 -158
- package/example/src/app/gantt-groups/gantt-groups.component.html +0 -42
- package/example/src/app/gantt-groups/gantt-groups.component.ts +0 -62
- package/example/src/app/gantt-range/gantt-range.component.html +0 -66
- package/example/src/app/gantt-range/gantt-range.component.ts +0 -67
- package/example/src/app/gantt-range/mocks.ts +0 -150
- package/example/src/app/helper.ts +0 -38
- package/example/src/assets/.gitkeep +0 -0
- package/example/src/environments/environment.prod.ts +0 -3
- package/example/src/environments/environment.ts +0 -16
- package/example/src/favicon.ico +0 -0
- package/example/src/index.html +0 -13
- package/example/src/main.ts +0 -12
- package/example/src/polyfills.ts +0 -63
- package/example/src/styles.scss +0 -56
- package/example/tsconfig.app.json +0 -18
- package/nginx.conf +0 -17
- package/packages/gantt/README.md +0 -24
- package/packages/gantt/karma.conf.js +0 -46
- package/packages/gantt/ng-package.json +0 -7
- package/packages/gantt/ng-package.prod.json +0 -7
- package/packages/gantt/package.json +0 -16
- package/packages/gantt/src/class/date-point.ts +0 -14
- package/packages/gantt/src/class/group.ts +0 -36
- package/packages/gantt/src/class/item.ts +0 -129
- package/packages/gantt/src/class/test/group.spec.ts +0 -21
- package/packages/gantt/src/class/test/item.spec.ts +0 -102
- package/packages/gantt/src/class/view-type.ts +0 -7
- package/packages/gantt/src/components/bar/bar-drag.ts +0 -298
- package/packages/gantt/src/components/bar/bar.component.html +0 -17
- package/packages/gantt/src/components/bar/bar.component.scss +0 -169
- package/packages/gantt/src/components/bar/bar.component.ts +0 -109
- package/packages/gantt/src/components/bar/test/bar.component.spec.ts +0 -54
- package/packages/gantt/src/components/bar/test/bar.drag.spec.ts +0 -196
- package/packages/gantt/src/components/calendar/calendar.component.html +0 -52
- package/packages/gantt/src/components/calendar/calendar.component.scss +0 -77
- package/packages/gantt/src/components/calendar/calendar.component.ts +0 -100
- package/packages/gantt/src/components/drag-backdrop/drag-backdrop.component.html +0 -6
- package/packages/gantt/src/components/drag-backdrop/drag-backdrop.component.scss +0 -48
- package/packages/gantt/src/components/drag-backdrop/drag-backdrop.component.ts +0 -13
- package/packages/gantt/src/components/icon/icon.component.scss +0 -13
- package/packages/gantt/src/components/icon/icon.component.ts +0 -28
- package/packages/gantt/src/components/icon/icons.ts +0 -86
- package/packages/gantt/src/components/links/links.component.html +0 -19
- package/packages/gantt/src/components/links/links.component.scss +0 -27
- package/packages/gantt/src/components/links/links.component.ts +0 -263
- package/packages/gantt/src/components/main/gantt-main.component.html +0 -35
- package/packages/gantt/src/components/main/gantt-main.component.ts +0 -35
- package/packages/gantt/src/components/range/range.component.html +0 -8
- package/packages/gantt/src/components/range/range.component.scss +0 -35
- package/packages/gantt/src/components/range/range.component.ts +0 -27
- package/packages/gantt/src/components/range/test/range.component.spec.ts +0 -80
- package/packages/gantt/src/components/table/gantt-table.component.html +0 -105
- package/packages/gantt/src/components/table/gantt-table.component.scss +0 -144
- package/packages/gantt/src/components/table/gantt-table.component.ts +0 -166
- package/packages/gantt/src/components/table/test/table.spec.ts +0 -129
- package/packages/gantt/src/gantt-dom.service.ts +0 -134
- package/packages/gantt/src/gantt-drag-container.ts +0 -73
- package/packages/gantt/src/gantt-item-upper.ts +0 -50
- package/packages/gantt/src/gantt-print.service.ts +0 -104
- package/packages/gantt/src/gantt-upper.ts +0 -289
- package/packages/gantt/src/gantt.component.html +0 -18
- package/packages/gantt/src/gantt.component.scss +0 -77
- package/packages/gantt/src/gantt.component.ts +0 -134
- package/packages/gantt/src/gantt.module.ts +0 -47
- package/packages/gantt/src/gantt.pipe.ts +0 -31
- package/packages/gantt/src/gantt.styles.ts +0 -28
- package/packages/gantt/src/root.component.html +0 -12
- package/packages/gantt/src/root.component.ts +0 -121
- package/packages/gantt/src/styles/index.scss +0 -9
- package/packages/gantt/src/styles/variables.scss +0 -46
- package/packages/gantt/src/table/gantt-column.component.ts +0 -25
- package/packages/gantt/src/table/gantt-table.component.ts +0 -14
- package/packages/gantt/src/table/test/table.spec.ts +0 -56
- package/packages/gantt/src/test/gantt.component.spec.ts +0 -404
- package/packages/gantt/src/test/mocks/data.ts +0 -303
- package/packages/gantt/src/test.ts +0 -21
- package/packages/gantt/src/utils/date.ts +0 -276
- package/packages/gantt/src/utils/helpers.ts +0 -66
- package/packages/gantt/src/utils/test/date.spec.ts +0 -105
- package/packages/gantt/src/utils/test/helpers.spec.ts +0 -73
- package/packages/gantt/src/utils/testing.ts +0 -64
- package/packages/gantt/src/views/day.ts +0 -74
- package/packages/gantt/src/views/factory.ts +0 -25
- package/packages/gantt/src/views/month.ts +0 -66
- package/packages/gantt/src/views/quarter.ts +0 -68
- package/packages/gantt/src/views/test/day.spec.ts +0 -45
- package/packages/gantt/src/views/test/factory.spec.ts +0 -41
- package/packages/gantt/src/views/test/mock.ts +0 -14
- package/packages/gantt/src/views/test/month.spec.ts +0 -45
- package/packages/gantt/src/views/test/quarter.spec.ts +0 -45
- package/packages/gantt/src/views/test/view.spec.ts +0 -144
- package/packages/gantt/src/views/test/week.spec.ts +0 -45
- package/packages/gantt/src/views/test/year.spec.ts +0 -45
- package/packages/gantt/src/views/view.ts +0 -186
- package/packages/gantt/src/views/week.ts +0 -66
- package/packages/gantt/src/views/year.ts +0 -62
- package/packages/gantt/tsconfig.lib.json +0 -20
- package/packages/gantt/tsconfig.lib.prod.json +0 -9
- package/packages/gantt/tsconfig.schematics.json +0 -25
- package/packages/gantt/tsconfig.spec.json +0 -17
- package/packages/gantt/tslint.json +0 -18
- package/scss-bundle.config.json +0 -7
- package/tsconfig.json +0 -26
- package/tslint.json +0 -51
package/package.json
CHANGED
|
@@ -1,116 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worktile/gantt",
|
|
3
|
-
"version": "12.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"angular
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"build:lib:scss": "scss-bundle -c scss-bundle.config.json",
|
|
17
|
-
"test": "ng test",
|
|
18
|
-
"lint": "ng lint",
|
|
19
|
-
"e2e": "ng e2e",
|
|
20
|
-
"release": "standard-version",
|
|
21
|
-
"pub-only": "cd dist/gantt && npm publish --access=public",
|
|
22
|
-
"pub": "npm run build && npm run pub-only",
|
|
23
|
-
"report-coverage": "cat ./coverage/gantt/lcov.info | coveralls",
|
|
24
|
-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --pkg ./packages/gantt/package.json",
|
|
25
|
-
"contributors:init": "all-contributors init",
|
|
26
|
-
"contributors:add": "all-contributors add",
|
|
27
|
-
"contributors:generate": "all-contributors generate"
|
|
28
|
-
},
|
|
3
|
+
"version": "12.1.1",
|
|
4
|
+
"schematics": "./schematics/collection.json",
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": "^12.0.0",
|
|
7
|
+
"@angular/core": "^12.0.0"
|
|
8
|
+
},
|
|
9
|
+
"main": "bundles/worktile-gantt.umd.js",
|
|
10
|
+
"module": "fesm2015/worktile-gantt.js",
|
|
11
|
+
"es2015": "fesm2015/worktile-gantt.js",
|
|
12
|
+
"esm2015": "esm2015/worktile-gantt.js",
|
|
13
|
+
"fesm2015": "fesm2015/worktile-gantt.js",
|
|
14
|
+
"typings": "worktile-gantt.d.ts",
|
|
15
|
+
"sideEffects": false,
|
|
29
16
|
"dependencies": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"@angular/compiler": "~12.1.2",
|
|
34
|
-
"@angular/core": "~12.1.2",
|
|
35
|
-
"@angular/forms": "~12.1.2",
|
|
36
|
-
"@angular/platform-browser": "~12.1.2",
|
|
37
|
-
"@angular/platform-browser-dynamic": "~12.1.2",
|
|
38
|
-
"@angular/router": "~12.1.2",
|
|
39
|
-
"@types/es6-promise": "^3.3.0",
|
|
40
|
-
"date-fns": "^2.14.0",
|
|
41
|
-
"html2canvas": "1.0.0-rc.7",
|
|
42
|
-
"ngx-tethys": "^11.0.4",
|
|
43
|
-
"rxjs": "~6.6.3",
|
|
44
|
-
"tslib": "^2.0.0",
|
|
45
|
-
"zone.js": "~0.11.4"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@angular-devkit/build-angular": "~12.1.2",
|
|
49
|
-
"@angular/cli": "~12.1.2",
|
|
50
|
-
"@angular/compiler-cli": "~12.1.2",
|
|
51
|
-
"@angular/language-service": "~12.1.2",
|
|
52
|
-
"@commitlint/cli": "^7.5.2",
|
|
53
|
-
"@commitlint/config-conventional": "^7.5.0",
|
|
54
|
-
"@docgeni/cli": "1.0.7",
|
|
55
|
-
"@docgeni/template": "1.0.7",
|
|
56
|
-
"@types/jasmine": "~3.6.0",
|
|
57
|
-
"@types/jasminewd2": "~2.0.3",
|
|
58
|
-
"@types/node": "^12.11.1",
|
|
59
|
-
"codelyzer": "^6.0.0",
|
|
60
|
-
"concurrently": "^5.2.0",
|
|
61
|
-
"conventional-changelog-cli": "^2.0.12",
|
|
62
|
-
"coveralls": "^3.0.6",
|
|
63
|
-
"fs-extra": "^9.0.0",
|
|
64
|
-
"jasmine-core": "~3.6.0",
|
|
65
|
-
"jasmine-spec-reporter": "~5.0.0",
|
|
66
|
-
"karma": "~6.3.4",
|
|
67
|
-
"karma-chrome-launcher": "~3.1.0",
|
|
68
|
-
"karma-coverage": "~2.0.3",
|
|
69
|
-
"karma-jasmine": "~4.0.0",
|
|
70
|
-
"karma-jasmine-html-reporter": "^1.5.0",
|
|
71
|
-
"all-contributors-cli": "^6.6.0",
|
|
72
|
-
"ng-packagr": "^12.1.2",
|
|
73
|
-
"path": "^0.12.7",
|
|
74
|
-
"pretty-quick": "^1.10.0",
|
|
75
|
-
"protractor": "~7.0.0",
|
|
76
|
-
"scss-bundle": "^3.1.2",
|
|
77
|
-
"standard-version": "^8.0.1",
|
|
78
|
-
"ts-node": "~8.3.0",
|
|
79
|
-
"tslint": "~6.1.3",
|
|
80
|
-
"typescript": "~4.3.5"
|
|
81
|
-
},
|
|
82
|
-
"husky": {
|
|
83
|
-
"hooks": {
|
|
84
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
85
|
-
"pre-commit": "pretty-quick --staged"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"standard-version": {
|
|
89
|
-
"bumpFiles": [
|
|
90
|
-
"package.json",
|
|
91
|
-
"package-lock.json",
|
|
92
|
-
"packages/gantt/package.json"
|
|
93
|
-
],
|
|
94
|
-
"header": "Changelog\nAll notable changes to ngx-gantt will be documented in this file.\n",
|
|
95
|
-
"tagPrefix": "",
|
|
96
|
-
"skip": {
|
|
97
|
-
"tag": true,
|
|
98
|
-
"commit": true
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"main": ".docgenirc.js",
|
|
102
|
-
"directories": {
|
|
103
|
-
"doc": "docs",
|
|
104
|
-
"example": "example"
|
|
105
|
-
},
|
|
106
|
-
"repository": {
|
|
107
|
-
"type": "git",
|
|
108
|
-
"url": "git+https://github.com/worktile/ngx-gantt.git"
|
|
109
|
-
},
|
|
110
|
-
"author": "walkerkay001",
|
|
111
|
-
"license": "ISC",
|
|
112
|
-
"bugs": {
|
|
113
|
-
"url": "https://github.com/worktile/ngx-gantt/issues"
|
|
114
|
-
},
|
|
115
|
-
"homepage": "https://github.com/worktile/ngx-gantt#readme"
|
|
116
|
-
}
|
|
17
|
+
"tslib": "^2.2.0"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of gantt
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
export * from './gantt.module';
|
|
6
2
|
export * from './gantt-upper';
|
|
7
3
|
export * from './root.component';
|
|
@@ -16,3 +12,4 @@ export * from './views/view';
|
|
|
16
12
|
export * from './gantt-item-upper';
|
|
17
13
|
export * from './gantt.pipe';
|
|
18
14
|
export * from './gantt-print.service';
|
|
15
|
+
export * from './gantt.config';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit, NgZone, ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { GanttDomService } from './gantt-dom.service';
|
|
3
|
+
import { GanttDragContainer } from './gantt-drag-container';
|
|
4
|
+
import { GanttUpper } from './gantt-upper';
|
|
5
|
+
import { GanttPrintService } from './gantt-print.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class NgxGanttRootComponent implements OnInit {
|
|
8
|
+
private elementRef;
|
|
9
|
+
private ngZone;
|
|
10
|
+
private dom;
|
|
11
|
+
dragContainer: GanttDragContainer;
|
|
12
|
+
private ganttUpper;
|
|
13
|
+
private printService;
|
|
14
|
+
sideWidth: number;
|
|
15
|
+
ganttClass: boolean;
|
|
16
|
+
sideTemplate: TemplateRef<any>;
|
|
17
|
+
mainTemplate: TemplateRef<any>;
|
|
18
|
+
private unsubscribe$;
|
|
19
|
+
private get view();
|
|
20
|
+
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, dom: GanttDomService, dragContainer: GanttDragContainer, ganttUpper: GanttUpper, printService: GanttPrintService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
private setupViewScroll;
|
|
23
|
+
private setupResize;
|
|
24
|
+
private setupScrollClass;
|
|
25
|
+
private scrollToToday;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttRootComponent, [null, null, null, null, null, { optional: true; }]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttRootComponent, "ngx-gantt-root", never, { "sideWidth": "sideWidth"; }, {}, ["sideTemplate", "mainTemplate"], never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { GanttUpper } from '../gantt-upper';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NgxGanttTableColumnComponent implements OnInit {
|
|
5
|
+
ganttUpper: GanttUpper;
|
|
6
|
+
columnWidth: string;
|
|
7
|
+
set width(width: number | string);
|
|
8
|
+
name: string;
|
|
9
|
+
templateRef: TemplateRef<any>;
|
|
10
|
+
headerTemplateRef: TemplateRef<any>;
|
|
11
|
+
constructor(ganttUpper: GanttUpper);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttTableColumnComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttTableColumnComponent, "ngx-gantt-column", never, { "width": "width"; "name": "name"; }, {}, ["templateRef", "headerTemplateRef"], never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { GanttTableEvent } from '../class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NgxGanttTableComponent implements OnInit {
|
|
5
|
+
columnChanges: EventEmitter<GanttTableEvent>;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxGanttTableComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxGanttTableComponent, "ngx-gantt-table", never, {}, { "columnChanges": "columnChanges"; }, never, never>;
|
|
10
|
+
}
|
package/utils/date.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export { addYears, addMonths, addDays, addWeeks, addQuarters, getUnixTime, startOfDay, startOfWeek, startOfMonth, startOfQuarter, startOfYear, endOfDay, endOfWeek, endOfMonth, endOfQuarter, endOfYear, format, fromUnixTime, getDaysInMonth, addSeconds, setDate, addMinutes, addHours, differenceInCalendarDays, isWeekend, getWeek, isToday, differenceInDays, differenceInCalendarQuarters, eachMonthOfInterval, eachWeekOfInterval, eachDayOfInterval } from 'date-fns';
|
|
2
|
+
export declare type GanttDateUtil = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
3
|
+
export declare class GanttDate {
|
|
4
|
+
value: Date;
|
|
5
|
+
constructor(date?: Date | string | number);
|
|
6
|
+
getYear(): number;
|
|
7
|
+
getMonth(): number;
|
|
8
|
+
getDay(): number;
|
|
9
|
+
getTime(): number;
|
|
10
|
+
getDate(): number;
|
|
11
|
+
getHours(): number;
|
|
12
|
+
getMinutes(): number;
|
|
13
|
+
getSeconds(): number;
|
|
14
|
+
getMilliseconds(): number;
|
|
15
|
+
getWeek(options?: {
|
|
16
|
+
locale?: Locale;
|
|
17
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
18
|
+
}): number;
|
|
19
|
+
getDaysInMonth(): number;
|
|
20
|
+
getDaysInQuarter(): number;
|
|
21
|
+
getDaysInYear(): number;
|
|
22
|
+
setDate(dayOfMonth: number): GanttDate;
|
|
23
|
+
clone(): GanttDate;
|
|
24
|
+
add(amount: number, unit?: GanttDateUtil): GanttDate;
|
|
25
|
+
addSeconds(amount: number): GanttDate;
|
|
26
|
+
addMinutes(amount: number): GanttDate;
|
|
27
|
+
addHours(amount: number): GanttDate;
|
|
28
|
+
addDays(amount: number): GanttDate;
|
|
29
|
+
addWeeks(amount: number): GanttDate;
|
|
30
|
+
addMonths(amount: number): GanttDate;
|
|
31
|
+
addQuarters(amount: number): GanttDate;
|
|
32
|
+
addYears(amount: number): GanttDate;
|
|
33
|
+
startOfDay(): GanttDate;
|
|
34
|
+
startOfWeek(options?: {
|
|
35
|
+
locale?: Locale;
|
|
36
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
37
|
+
}): GanttDate;
|
|
38
|
+
startOfMonth(): GanttDate;
|
|
39
|
+
startOfQuarter(): GanttDate;
|
|
40
|
+
startOfYear(): GanttDate;
|
|
41
|
+
endOfDay(): GanttDate;
|
|
42
|
+
endOfWeek(options?: {
|
|
43
|
+
locale?: Locale;
|
|
44
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
45
|
+
}): GanttDate;
|
|
46
|
+
endOfMonth(): GanttDate;
|
|
47
|
+
endOfQuarter(): GanttDate;
|
|
48
|
+
endOfYear(): GanttDate;
|
|
49
|
+
getUnixTime(): number;
|
|
50
|
+
format(mat: string, options?: {
|
|
51
|
+
locale?: Locale;
|
|
52
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
53
|
+
firstWeekContainsDate?: number;
|
|
54
|
+
useAdditionalWeekYearTokens?: boolean;
|
|
55
|
+
useAdditionalDayOfYearTokens?: boolean;
|
|
56
|
+
}): string;
|
|
57
|
+
isWeekend(): boolean;
|
|
58
|
+
isToday(): boolean;
|
|
59
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GanttItem, GanttItemInternal } from '../class/item';
|
|
2
|
+
export interface Dictionary<T = unknown> {
|
|
3
|
+
[key: string]: T;
|
|
4
|
+
}
|
|
5
|
+
export declare function isNumber(value: any): boolean;
|
|
6
|
+
export declare function isString(value: any): boolean;
|
|
7
|
+
export declare function isUndefined(value: any): boolean;
|
|
8
|
+
export declare function hexToRgb(color: string, opacity?: number): string;
|
|
9
|
+
export declare function uniqBy<T = unknown>(array: T[], key: keyof T): any[];
|
|
10
|
+
export declare function flatten<T = unknown>(array: T[]): any;
|
|
11
|
+
export declare function recursiveItems(items: GanttItemInternal[]): any[];
|
|
12
|
+
export declare function getFlatItems(items: GanttItem[]): any[];
|
package/views/day.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GanttView, GanttViewOptions, GanttViewDate } from './view';
|
|
2
|
+
import { GanttDate } from '../utils/date';
|
|
3
|
+
import { GanttDatePoint } from '../class/date-point';
|
|
4
|
+
export declare class GanttViewDay extends GanttView {
|
|
5
|
+
showWeekBackdrop: boolean;
|
|
6
|
+
showTimeline: boolean;
|
|
7
|
+
constructor(start: GanttViewDate, end: GanttViewDate, options?: GanttViewOptions);
|
|
8
|
+
startOf(date: GanttDate): GanttDate;
|
|
9
|
+
endOf(date: GanttDate): GanttDate;
|
|
10
|
+
getPrimaryWidth(): number;
|
|
11
|
+
getDayOccupancyWidth(): number;
|
|
12
|
+
getPrimaryDatePoints(): GanttDatePoint[];
|
|
13
|
+
getSecondaryDatePoints(): GanttDatePoint[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GanttViewOptions, GanttViewDate } from './view';
|
|
2
|
+
import { GanttViewMonth } from './month';
|
|
3
|
+
import { GanttViewType } from '../class/view-type';
|
|
4
|
+
import { GanttViewQuarter } from './quarter';
|
|
5
|
+
import { GanttViewDay } from './day';
|
|
6
|
+
import { GanttViewWeek } from './week';
|
|
7
|
+
import { GanttViewYear } from './year';
|
|
8
|
+
export declare function createViewFactory(type: GanttViewType, start: GanttViewDate, end: GanttViewDate, options?: GanttViewOptions): GanttViewMonth | GanttViewQuarter | GanttViewDay | GanttViewWeek | GanttViewYear;
|
package/views/month.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GanttView, GanttViewOptions, GanttViewDate } from './view';
|
|
2
|
+
import { GanttDate } from '../utils/date';
|
|
3
|
+
import { GanttDatePoint } from '../class/date-point';
|
|
4
|
+
export declare class GanttViewMonth extends GanttView {
|
|
5
|
+
constructor(start: GanttViewDate, end: GanttViewDate, options?: GanttViewOptions);
|
|
6
|
+
startOf(date: GanttDate): GanttDate;
|
|
7
|
+
endOf(date: GanttDate): GanttDate;
|
|
8
|
+
getPrimaryWidth(): number;
|
|
9
|
+
getDayOccupancyWidth(date: GanttDate): number;
|
|
10
|
+
getPrimaryDatePoints(): GanttDatePoint[];
|
|
11
|
+
getSecondaryDatePoints(): GanttDatePoint[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GanttView, GanttViewOptions, GanttViewDate } from './view';
|
|
2
|
+
import { GanttDate } from '../utils/date';
|
|
3
|
+
import { GanttDatePoint } from '../class/date-point';
|
|
4
|
+
export declare class GanttViewQuarter extends GanttView {
|
|
5
|
+
constructor(start: GanttViewDate, end: GanttViewDate, options?: GanttViewOptions);
|
|
6
|
+
startOf(date: GanttDate): GanttDate;
|
|
7
|
+
endOf(date: GanttDate): GanttDate;
|
|
8
|
+
getPrimaryWidth(): number;
|
|
9
|
+
getDayOccupancyWidth(date: GanttDate): number;
|
|
10
|
+
getPrimaryDatePoints(): GanttDatePoint[];
|
|
11
|
+
getSecondaryDatePoints(): GanttDatePoint[];
|
|
12
|
+
}
|
package/views/view.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { GanttDate, GanttDateUtil } from '../utils/date';
|
|
2
|
+
import { GanttDatePoint } from '../class/date-point';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { GanttDateFormat } from '../gantt.config';
|
|
5
|
+
export declare const primaryDatePointTop = 18;
|
|
6
|
+
export declare const secondaryDatePointTop = 36;
|
|
7
|
+
export interface GanttViewDate {
|
|
8
|
+
date: GanttDate;
|
|
9
|
+
isCustom?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface GanttViewOptions {
|
|
12
|
+
start?: GanttDate;
|
|
13
|
+
end?: GanttDate;
|
|
14
|
+
min?: GanttDate;
|
|
15
|
+
max?: GanttDate;
|
|
16
|
+
cellWidth?: number;
|
|
17
|
+
addAmount?: number;
|
|
18
|
+
addUnit?: GanttDateUtil;
|
|
19
|
+
dateFormat?: GanttDateFormat;
|
|
20
|
+
}
|
|
21
|
+
export declare abstract class GanttView {
|
|
22
|
+
start$: BehaviorSubject<GanttDate>;
|
|
23
|
+
end$: BehaviorSubject<GanttDate>;
|
|
24
|
+
get start(): GanttDate;
|
|
25
|
+
get end(): GanttDate;
|
|
26
|
+
primaryDatePoints: GanttDatePoint[];
|
|
27
|
+
secondaryDatePoints: GanttDatePoint[];
|
|
28
|
+
width: number;
|
|
29
|
+
cellWidth: number;
|
|
30
|
+
primaryWidth: number;
|
|
31
|
+
showTimeline: boolean;
|
|
32
|
+
showWeekBackdrop: boolean;
|
|
33
|
+
options: GanttViewOptions;
|
|
34
|
+
constructor(start: GanttViewDate, end: GanttViewDate, options: GanttViewOptions);
|
|
35
|
+
abstract startOf(date: GanttDate): GanttDate;
|
|
36
|
+
abstract endOf(date: GanttDate): GanttDate;
|
|
37
|
+
abstract getPrimaryWidth(): number;
|
|
38
|
+
abstract getDayOccupancyWidth(date: GanttDate): number;
|
|
39
|
+
abstract getPrimaryDatePoints(): GanttDatePoint[];
|
|
40
|
+
abstract getSecondaryDatePoints(): GanttDatePoint[];
|
|
41
|
+
protected getDateIntervalWidth(start: GanttDate, end: GanttDate): number;
|
|
42
|
+
protected initialize(): void;
|
|
43
|
+
addStartDate(): {
|
|
44
|
+
start: GanttDate;
|
|
45
|
+
end: GanttDate;
|
|
46
|
+
};
|
|
47
|
+
addEndDate(): {
|
|
48
|
+
start: GanttDate;
|
|
49
|
+
end: GanttDate;
|
|
50
|
+
};
|
|
51
|
+
updateDate(start: GanttDate, end: GanttDate): void;
|
|
52
|
+
getWidth(): number;
|
|
53
|
+
getCellWidth(): number;
|
|
54
|
+
getTodayXPoint(): number;
|
|
55
|
+
getXPointByDate(date: GanttDate): number;
|
|
56
|
+
getDateByXPoint(x: number): GanttDate;
|
|
57
|
+
getDateRangeWidth(start: GanttDate, end: GanttDate): number;
|
|
58
|
+
}
|
package/views/week.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GanttDatePoint } from '../class/date-point';
|
|
2
|
+
import { GanttDate } from '../utils/date';
|
|
3
|
+
import { GanttView, GanttViewDate, GanttViewOptions } from './view';
|
|
4
|
+
export declare class GanttViewWeek extends GanttView {
|
|
5
|
+
constructor(start: GanttViewDate, end: GanttViewDate, options?: GanttViewOptions);
|
|
6
|
+
startOf(date: GanttDate): GanttDate;
|
|
7
|
+
endOf(date: GanttDate): GanttDate;
|
|
8
|
+
getPrimaryWidth(): number;
|
|
9
|
+
getDayOccupancyWidth(): number;
|
|
10
|
+
getPrimaryDatePoints(): GanttDatePoint[];
|
|
11
|
+
getSecondaryDatePoints(): GanttDatePoint[];
|
|
12
|
+
}
|
package/views/year.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GanttView, GanttViewOptions, GanttViewDate } from './view';
|
|
2
|
+
import { GanttDate } from '../utils/date';
|
|
3
|
+
import { GanttDatePoint } from '../class/date-point';
|
|
4
|
+
export declare class GanttViewYear extends GanttView {
|
|
5
|
+
constructor(start: GanttViewDate, end: GanttViewDate, options?: GanttViewOptions);
|
|
6
|
+
startOf(date: GanttDate): GanttDate;
|
|
7
|
+
endOf(date: GanttDate): GanttDate;
|
|
8
|
+
getPrimaryWidth(): number;
|
|
9
|
+
getDayOccupancyWidth(date: GanttDate): number;
|
|
10
|
+
getPrimaryDatePoints(): GanttDatePoint[];
|
|
11
|
+
getSecondaryDatePoints(): GanttDatePoint[];
|
|
12
|
+
}
|
package/.all-contributorsrc
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"projectName": "ngx-gantt",
|
|
3
|
-
"projectOwner": "walkerkay",
|
|
4
|
-
"repoType": "github",
|
|
5
|
-
"repoHost": "https://github.com",
|
|
6
|
-
"files": [
|
|
7
|
-
"README.md"
|
|
8
|
-
],
|
|
9
|
-
"imageSize": 100,
|
|
10
|
-
"commit": true,
|
|
11
|
-
"commitConvention": "angular",
|
|
12
|
-
"contributors": [
|
|
13
|
-
{
|
|
14
|
-
"login": "walkerkay",
|
|
15
|
-
"name": "Walker",
|
|
16
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/15701592?v=4",
|
|
17
|
-
"profile": "https://github.com/walkerkay",
|
|
18
|
-
"contributions": [
|
|
19
|
-
"question",
|
|
20
|
-
"code",
|
|
21
|
-
"design",
|
|
22
|
-
"doc",
|
|
23
|
-
"infra",
|
|
24
|
-
"maintenance",
|
|
25
|
-
"projectManagement",
|
|
26
|
-
"review"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"login": "HandsomeButterball",
|
|
31
|
-
"name": "zhangwen",
|
|
32
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/17664721?v=4",
|
|
33
|
-
"profile": "https://github.com/HandsomeButterball",
|
|
34
|
-
"contributions": [
|
|
35
|
-
"question",
|
|
36
|
-
"code",
|
|
37
|
-
"doc",
|
|
38
|
-
"review"
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"login": "mengshuicmq",
|
|
43
|
-
"name": "cmq",
|
|
44
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/13193164?v=4",
|
|
45
|
-
"profile": "https://github.com/mengshuicmq",
|
|
46
|
-
"contributions": [
|
|
47
|
-
"code"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"contributorsPerLine": 7,
|
|
52
|
-
"skipCi": true
|
|
53
|
-
}
|
package/.angulardoc.json
DELETED
package/.circleci/config.yml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
version: 2
|
|
2
|
-
jobs:
|
|
3
|
-
build:
|
|
4
|
-
working_directory: ~/ngx-gantt
|
|
5
|
-
docker:
|
|
6
|
-
- image: circleci/node:14-browsers
|
|
7
|
-
steps:
|
|
8
|
-
- checkout
|
|
9
|
-
- restore_cache:
|
|
10
|
-
key: ngx-gantt-{{ .Branch }}-{{ checksum "package-lock.json" }}
|
|
11
|
-
- run: npm install
|
|
12
|
-
- save_cache:
|
|
13
|
-
key: ngx-gantt-{{ .Branch }}-{{ checksum "package-lock.json" }}
|
|
14
|
-
paths:
|
|
15
|
-
- 'node_modules'
|
|
16
|
-
- run: npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
|
|
17
|
-
- run: npm run report-coverage
|
package/.coveralls.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
repo_token: owC51u3H1UjhuPi9RlUrxwX2n1dMzqn4V
|
package/.docgenirc.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
mode: 'full',
|
|
3
|
-
title: 'NgxGantt',
|
|
4
|
-
siteProjectName: 'example',
|
|
5
|
-
outputDir: 'dist/site',
|
|
6
|
-
logoUrl: 'https://cdn.pingcode.com/open-sources/gantt/logo.png',
|
|
7
|
-
repoUrl: 'https://github.com/worktile/ngx-gantt',
|
|
8
|
-
defaultLocale: 'zh-cn',
|
|
9
|
-
navs: [
|
|
10
|
-
null,
|
|
11
|
-
{
|
|
12
|
-
title: '组件',
|
|
13
|
-
path: 'components',
|
|
14
|
-
locales: {
|
|
15
|
-
'en-us': {
|
|
16
|
-
title: 'Component'
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
title: '参数',
|
|
22
|
-
path: 'configuration',
|
|
23
|
-
lib: 'ngx-gantt',
|
|
24
|
-
locales: {
|
|
25
|
-
'en-us': {
|
|
26
|
-
title: 'Configuration'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
title: 'GitHub',
|
|
32
|
-
path: 'https://github.com/worktile/ngx-gantt',
|
|
33
|
-
isExternal: true
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
title: '更新日志',
|
|
37
|
-
path: 'https://github.com/worktile/ngx-gantt/blob/master/CHANGELOG.md',
|
|
38
|
-
isExternal: true,
|
|
39
|
-
locales: {
|
|
40
|
-
'en-us': {
|
|
41
|
-
title: 'Changelog'
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
libs: [
|
|
47
|
-
{
|
|
48
|
-
name: 'ngx-gantt',
|
|
49
|
-
rootDir: './example/src/app/configuration',
|
|
50
|
-
exclude: [],
|
|
51
|
-
categories: [
|
|
52
|
-
{
|
|
53
|
-
id: 'config',
|
|
54
|
-
title: '配置',
|
|
55
|
-
locales: {
|
|
56
|
-
'en-us': {
|
|
57
|
-
title: 'Configuration'
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
]
|
|
64
|
-
};
|
package/.editorconfig
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Editor configuration, see https://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 2
|
|
8
|
-
insert_final_newline = true
|
|
9
|
-
trim_trailing_whitespace = true
|
|
10
|
-
|
|
11
|
-
[*.ts]
|
|
12
|
-
indent_size = 4
|
|
13
|
-
|
|
14
|
-
[*.scss]
|
|
15
|
-
indent_size = 4
|
|
16
|
-
|
|
17
|
-
[*.js]
|
|
18
|
-
indent_size = 4
|
|
19
|
-
|
|
20
|
-
[*.md]
|
|
21
|
-
max_line_length = off
|
|
22
|
-
trim_trailing_whitespace = false
|
package/.prettierrc
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"eslintIntegration": true,
|
|
3
|
-
"stylelintIntegration": true,
|
|
4
|
-
"tabWidth": 2,
|
|
5
|
-
"semi": true,
|
|
6
|
-
"printWidth": 140,
|
|
7
|
-
"proseWrap": "preserve",
|
|
8
|
-
"trailingComma": "none",
|
|
9
|
-
"singleQuote": true,
|
|
10
|
-
"overrides": [
|
|
11
|
-
{
|
|
12
|
-
"files": "*.js",
|
|
13
|
-
"options": {
|
|
14
|
-
"tabWidth": 4
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"files": "*.ts",
|
|
19
|
-
"options": {
|
|
20
|
-
"tabWidth": 4
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
}
|
package/.travis.yml
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
dist: trusty
|
|
2
|
-
sudo: false
|
|
3
|
-
|
|
4
|
-
language: node_js
|
|
5
|
-
node_js:
|
|
6
|
-
- 10.16.0
|
|
7
|
-
|
|
8
|
-
addons:
|
|
9
|
-
apt:
|
|
10
|
-
sources:
|
|
11
|
-
- google-chrome
|
|
12
|
-
packages:
|
|
13
|
-
- google-chrome-stable
|
|
14
|
-
|
|
15
|
-
cache:
|
|
16
|
-
directories:
|
|
17
|
-
- ./node_modules
|
|
18
|
-
|
|
19
|
-
install:
|
|
20
|
-
- npm install
|
|
21
|
-
|
|
22
|
-
script:
|
|
23
|
-
- npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
|