@hpcc-js/timeline 2.56.0 → 2.57.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 +43 -43
- package/README.md +91 -91
- package/dist/index.es6.js +1625 -0
- package/dist/index.es6.js.map +1 -0
- package/dist/index.js +1626 -1201
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -0
- package/dist/index.min.js.map +1 -0
- package/package.json +38 -36
- package/src/MiniGantt.css +30 -30
- package/src/MiniGantt.ts +611 -612
- package/src/ReactAxisGantt.ts +279 -286
- package/src/ReactAxisGanttSeries.ts +265 -265
- package/src/ReactGantt.ts +696 -700
- package/src/ReactTimeline.ts +115 -126
- package/src/ReactTimelineSeries.ts +113 -124
- package/src/__package__.ts +3 -3
- package/src/index.ts +7 -7
- package/types/MiniGantt.d.ts +5 -4
- package/types/MiniGantt.d.ts.map +1 -0
- package/types/ReactAxisGantt.d.ts +2 -2
- package/types/ReactAxisGantt.d.ts.map +1 -0
- package/types/ReactAxisGanttSeries.d.ts +3 -2
- package/types/ReactAxisGanttSeries.d.ts.map +1 -0
- package/types/ReactGantt.d.ts +1 -1
- package/types/ReactGantt.d.ts.map +1 -0
- package/types/ReactTimeline.d.ts +3 -2
- package/types/ReactTimeline.d.ts.map +1 -0
- package/types/ReactTimelineSeries.d.ts +2 -1
- package/types/ReactTimelineSeries.d.ts.map +1 -0
- package/types/__package__.d.ts +3 -2
- package/types/__package__.d.ts.map +1 -0
- package/types/index.d.ts +8 -7
- package/types/index.d.ts.map +1 -0
- package/types-3.4/MiniGantt.d.ts +106 -0
- package/types-3.4/ReactAxisGantt.d.ts +83 -0
- package/types-3.4/ReactAxisGanttSeries.d.ts +82 -0
- package/types-3.4/ReactGantt.d.ts +135 -0
- package/types-3.4/ReactTimeline.d.ts +18 -0
- package/types-3.4/ReactTimelineSeries.d.ts +18 -0
- package/types-3.4/__package__.d.ts +4 -0
- package/types-3.4/index.d.ts +8 -0
- package/dist/index.umd.cjs +0 -2
- package/dist/index.umd.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,56 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/timeline",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.57.1",
|
|
4
4
|
"description": "hpcc-js - Viz Timeline",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.es6",
|
|
7
|
+
"unpkg": "dist/index.min.js",
|
|
8
|
+
"jsdelivr": "dist/index.min.js",
|
|
9
|
+
"types": "types/index.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
"<3.8": {
|
|
12
|
+
"*": [
|
|
13
|
+
"types-3.4/index.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
15
16
|
},
|
|
16
|
-
"browser": "./dist/index.umd.cjs",
|
|
17
|
-
"types": "./types/index.d.ts",
|
|
18
17
|
"files": [
|
|
19
18
|
"dist/*",
|
|
20
|
-
"
|
|
21
|
-
"types/*"
|
|
19
|
+
"types/*",
|
|
20
|
+
"types-3.4/*",
|
|
21
|
+
"src/*"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"clean": "rimraf --glob lib* types dist *.tsbuildinfo
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
24
|
+
"clean": "rimraf --glob lib* types dist *.tsbuildinfo",
|
|
25
|
+
"compile-es6": "tsc --module es6 --outDir ./lib-es6",
|
|
26
|
+
"compile-es6-watch": "npm run compile-es6 -- -w",
|
|
27
|
+
"compile-umd": "tsc --module umd --outDir ./lib-umd",
|
|
28
|
+
"compile-umd-watch": "npm run compile-umd -- -w",
|
|
29
|
+
"bundle": "rollup -c",
|
|
30
|
+
"bundle-watch": "npm run bundle -- -w",
|
|
31
|
+
"minimize": "terser dist/index.js -c -m --source-map \"content='dist/index.js.map',url='index.min.js.map'\" -o dist/index.min.js",
|
|
32
|
+
"gen-legacy-types": "downlevel-dts ./types ./types-3.4",
|
|
33
|
+
"build": "npm run compile-es6 && npm run bundle",
|
|
34
|
+
"watch": "npm-run-all compile-es6 -p compile-es6-watch bundle-watch",
|
|
35
|
+
"stamp": "node ../../node_modules/@hpcc-js/bundle/src/stamp.js",
|
|
30
36
|
"lint": "eslint ./src",
|
|
31
|
-
"lint-fix": "eslint --fix src/**/*.ts",
|
|
32
37
|
"docs": "typedoc --options tdoptions.json .",
|
|
33
|
-
"
|
|
34
|
-
"test": "vitest run",
|
|
35
|
-
"coverage": "vitest run --coverage",
|
|
36
|
-
"update": "npx --yes npm-check-updates -u -t minor",
|
|
37
|
-
"update-major": "npx --yes npm-check-updates -u"
|
|
38
|
+
"update": "npx --yes npm-check-updates -u -t minor"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
|
-
"@hpcc-js/api": "^
|
|
41
|
-
"@hpcc-js/chart": "^
|
|
42
|
-
"@hpcc-js/common": "^
|
|
43
|
-
"@hpcc-js/html": "^
|
|
44
|
-
"@hpcc-js/layout": "^
|
|
45
|
-
"@hpcc-js/react": "^
|
|
41
|
+
"@hpcc-js/api": "^2.14.3",
|
|
42
|
+
"@hpcc-js/chart": "^2.86.3",
|
|
43
|
+
"@hpcc-js/common": "^2.73.3",
|
|
44
|
+
"@hpcc-js/html": "^2.44.3",
|
|
45
|
+
"@hpcc-js/layout": "^2.51.3",
|
|
46
|
+
"@hpcc-js/react": "^2.55.3"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
|
-
"@hpcc-js/
|
|
49
|
+
"@hpcc-js/bundle": "^2.12.0",
|
|
49
50
|
"d3-array": "^1",
|
|
50
51
|
"d3-scale": "^1",
|
|
51
52
|
"d3-selection": "^1",
|
|
52
53
|
"d3-time-format": "^2",
|
|
53
|
-
"d3-zoom": "^1"
|
|
54
|
+
"d3-zoom": "^1",
|
|
55
|
+
"tslib": "2.8.1"
|
|
54
56
|
},
|
|
55
57
|
"repository": {
|
|
56
58
|
"type": "git",
|
|
@@ -63,5 +65,5 @@
|
|
|
63
65
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
64
66
|
},
|
|
65
67
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
66
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "0907b8d15d369c89483954a1d96e2247ba020cb6"
|
|
67
69
|
}
|
package/src/MiniGantt.css
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
.timeline_MiniGantt .line {
|
|
2
|
-
fill: none;
|
|
3
|
-
stroke: lightgrey;
|
|
4
|
-
opacity: 0.7;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.timeline_MiniGantt .common_TextBox .rect {
|
|
8
|
-
fill: lightskyblue;
|
|
9
|
-
stroke: blue;
|
|
10
|
-
opacity: 0.5;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.timeline_MiniGantt .buckets .entity_shape rect {
|
|
14
|
-
stroke: #333;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.timeline_MiniGantt .buckets.selected .common_EntityRect .common_Shape > rect {
|
|
18
|
-
stroke: red;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.timeline_MiniGantt .common_TextBox .rect text {
|
|
22
|
-
fill: black;
|
|
23
|
-
stroke: none;
|
|
24
|
-
}
|
|
25
|
-
.timeline_MiniGantt .over {
|
|
26
|
-
stroke: transparent;
|
|
27
|
-
opacity: 0.8;
|
|
28
|
-
}
|
|
29
|
-
.timeline_MiniGantt rect {
|
|
30
|
-
shape-rendering: crispEdges;
|
|
1
|
+
.timeline_MiniGantt .line {
|
|
2
|
+
fill: none;
|
|
3
|
+
stroke: lightgrey;
|
|
4
|
+
opacity: 0.7;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.timeline_MiniGantt .common_TextBox .rect {
|
|
8
|
+
fill: lightskyblue;
|
|
9
|
+
stroke: blue;
|
|
10
|
+
opacity: 0.5;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.timeline_MiniGantt .buckets .entity_shape rect {
|
|
14
|
+
stroke: #333;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.timeline_MiniGantt .buckets.selected .common_EntityRect .common_Shape > rect {
|
|
18
|
+
stroke: red;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.timeline_MiniGantt .common_TextBox .rect text {
|
|
22
|
+
fill: black;
|
|
23
|
+
stroke: none;
|
|
24
|
+
}
|
|
25
|
+
.timeline_MiniGantt .over {
|
|
26
|
+
stroke: transparent;
|
|
27
|
+
opacity: 0.8;
|
|
28
|
+
}
|
|
29
|
+
.timeline_MiniGantt rect {
|
|
30
|
+
shape-rendering: crispEdges;
|
|
31
31
|
}
|