javascriptgantt 1.0.1 → 1.3.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 -21
- package/package.json +72 -30
- package/readme.md +405 -158
- package/src/gantt.js +9697 -9671
- package/.github/workflows/npm-publish-github-packages.yml +0 -21
- package/docs/Gantt-Chart-Documentation.pdf +0 -0
- package/index.html +0 -1112
- package/src/assets/images/jsGanttLogo.png +0 -0
- package/src/assets/images/jsgantt-screenshot.png +0 -0
- package/src/assets/images/links.gif +0 -0
- package/src/assets/images/popup.gif +0 -0
- package/src/assets/images/taskColor.gif +0 -0
- package/src/assets/images/theme.gif +0 -0
- package/src/assets/zt-tour/zt-tour.css +0 -227
- package/src/assets/zt-tour/zt-tour.js +0 -1095
- package/style.css +0 -216
package/style.css
DELETED
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--bg-color: #fff;
|
|
3
|
-
--text-color: #000;
|
|
4
|
-
--text-secondary-color: #fff;
|
|
5
|
-
--index-primary-color: #4ca0fff2;
|
|
6
|
-
--index-primary-hover-color: #3585e0f2;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
* {
|
|
10
|
-
font-family: sans-serif;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-weight: 400;
|
|
13
|
-
font-size: 13px;
|
|
14
|
-
color: var(--text-color);
|
|
15
|
-
margin: 0;
|
|
16
|
-
padding: 0;
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
body {
|
|
21
|
-
background-color: var(--bg-color);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.btn {
|
|
25
|
-
padding: 10px 20px;
|
|
26
|
-
background-color: var(--index-primary-color);
|
|
27
|
-
color: var(--text-secondary-color);
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
border-radius: 3px;
|
|
30
|
-
border: transparent;
|
|
31
|
-
margin: 5px 0;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
transition: all 0.3s ease-in-out;
|
|
34
|
-
}
|
|
35
|
-
.btn:hover {
|
|
36
|
-
background-color: var(--index-primary-hover-color);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.hint-icon path {
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
fill: var(--index-primary-color);
|
|
42
|
-
transition: all 0.3s ease-in-out;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.hint-icon path:hover {
|
|
46
|
-
fill: var(--index-primary-hover-color);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.scale-zoom,
|
|
50
|
-
.lang,
|
|
51
|
-
.export {
|
|
52
|
-
padding: 8px;
|
|
53
|
-
height: 35px;
|
|
54
|
-
border: 1px solid var(--index-primary-color);
|
|
55
|
-
background-color: var(--bg-color);
|
|
56
|
-
color: var(--text-color);
|
|
57
|
-
outline: transparent;
|
|
58
|
-
font-family: sans-serif;
|
|
59
|
-
color: #000;
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.js-gantt-folder-icon > div {
|
|
65
|
-
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16px" height="10px" viewBox="0 0 48 48"><defs><style>.a{fill:none;stroke:%23000000;stroke-linecap:round;stroke-linejoin:round;}</style></defs><path class="a" d="M41.6783,13.0436H24.77c-1.9628-.1072-5.9311-4.2372-8.1881-4.2372H6.6806V8.8046A2.1762,2.1762,0,0,0,4.5,10.9763v7.3063h39V14.8652A1.8217,1.8217,0,0,0,41.6783,13.0436Z"/><path class="a" d="M43.5,18.2826H4.5V37.0165a2.1762,2.1762,0,0,0,2.1735,2.1789H41.3194A2.1762,2.1762,0,0,0,43.5,37.0237V18.2826Z"/></svg>');
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.js-gantt-folder-icon > div {
|
|
69
|
-
background-size: 24px;
|
|
70
|
-
height: 100%;
|
|
71
|
-
background-repeat: no-repeat;
|
|
72
|
-
width: 24px;
|
|
73
|
-
margin-top: 2px;
|
|
74
|
-
margin-right: 2px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.link-issue {
|
|
78
|
-
margin-right: 8px;
|
|
79
|
-
}
|
|
80
|
-
input[type="search"] {
|
|
81
|
-
height: 35px;
|
|
82
|
-
width: 280px;
|
|
83
|
-
color: var(--text-color);
|
|
84
|
-
border: 1px solid #cecece;
|
|
85
|
-
margin-bottom: 0px;
|
|
86
|
-
display: inline-block;
|
|
87
|
-
text-align: left;
|
|
88
|
-
font-size: 14px;
|
|
89
|
-
font-weight: 500;
|
|
90
|
-
padding: 0px 10px 0px 10px;
|
|
91
|
-
background: var(--bg-color);
|
|
92
|
-
border-radius: 6px;
|
|
93
|
-
}
|
|
94
|
-
input[type="search"]:focus {
|
|
95
|
-
outline: none;
|
|
96
|
-
}
|
|
97
|
-
#js-gantt {
|
|
98
|
-
width: 100vw;
|
|
99
|
-
height: calc(100vh - 100px);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
input[type="checkbox"] {
|
|
103
|
-
height: 0;
|
|
104
|
-
width: 0;
|
|
105
|
-
visibility: hidden;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.action-container label {
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
text-indent: -9999px;
|
|
111
|
-
width: 44px;
|
|
112
|
-
height: 24px;
|
|
113
|
-
background: #cccccc;
|
|
114
|
-
display: inline-block;
|
|
115
|
-
border-radius: 30px;
|
|
116
|
-
position: relative;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.action-container label:after {
|
|
120
|
-
content: "";
|
|
121
|
-
position: absolute;
|
|
122
|
-
top: 2px;
|
|
123
|
-
left: 2px;
|
|
124
|
-
width: 20px;
|
|
125
|
-
height: 20px;
|
|
126
|
-
background: var(--bg-color);
|
|
127
|
-
border-radius: 20px;
|
|
128
|
-
transition: 0.3s;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.action-container input:checked + label {
|
|
132
|
-
background: var(--index-primary-color);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.action-container input:checked + label:after {
|
|
136
|
-
left: 22px;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/* .my-scale-class-2{
|
|
140
|
-
background-color: #fafafa;
|
|
141
|
-
} */
|
|
142
|
-
|
|
143
|
-
.collapse-container {
|
|
144
|
-
display: flex;
|
|
145
|
-
align-items: center;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.action-container * {
|
|
149
|
-
font-weight: 500;
|
|
150
|
-
font-size: 13px;
|
|
151
|
-
}
|
|
152
|
-
.action-container {
|
|
153
|
-
margin: 0 10px;
|
|
154
|
-
height: 80px;
|
|
155
|
-
align-items: center;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.action-container div {
|
|
159
|
-
margin-right: 15px;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.collapse-container span {
|
|
163
|
-
margin-right: 5px;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.gantt-search {
|
|
167
|
-
position: absolute;
|
|
168
|
-
right: 10px;
|
|
169
|
-
float: right;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.coming-soon {
|
|
173
|
-
color: #fff;
|
|
174
|
-
font-size: 5px;
|
|
175
|
-
padding: 2px;
|
|
176
|
-
border-radius: 5px;
|
|
177
|
-
background-color: #21cfff;
|
|
178
|
-
position: absolute;
|
|
179
|
-
right: 7px;
|
|
180
|
-
top: 7px;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.auto-scheduling {
|
|
184
|
-
position: relative;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.toggle-theme {
|
|
188
|
-
margin-left: 2px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.export,
|
|
192
|
-
.scale-zoom,
|
|
193
|
-
.lang {
|
|
194
|
-
background-color: var(--bg-color);
|
|
195
|
-
color: var(--text-color);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.finish p:not(:first-child) {
|
|
199
|
-
opacity: 0.5;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.dark-mode {
|
|
203
|
-
display: flex;
|
|
204
|
-
align-items: center;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.zt-tour-hint {
|
|
208
|
-
background-color: var(--bg-color) !important;
|
|
209
|
-
box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px !important;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.party .js-gantt-marker-content {
|
|
213
|
-
width: max-content;
|
|
214
|
-
font-size: 16px;
|
|
215
|
-
padding: 8px;
|
|
216
|
-
}
|