gantt-source_management 3.37.5
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/.editorconfig +9 -0
- package/.eslintrc.json +39 -0
- package/.prettierrc.cjs +5 -0
- package/README.md +129 -0
- package/cypress/e2e/add-rows-items.test.ts +26 -0
- package/cypress/e2e/basic.test.ts +173 -0
- package/cypress/e2e/calculated-zoom-mode.test.ts +163 -0
- package/cypress/e2e/calendar-dates.test.ts +285 -0
- package/cypress/e2e/dst.test.ts +691 -0
- package/cypress/e2e/grid-cells.test.ts +72 -0
- package/cypress/e2e/items-vertical.test.ts +305 -0
- package/cypress/e2e/items.test.ts +501 -0
- package/cypress/e2e/list-columns-toggle.test.ts +124 -0
- package/cypress/e2e/list-header-resize.test.ts +30 -0
- package/cypress/e2e/locale.test.ts +102 -0
- package/cypress/e2e/move-items-outside.test.ts +437 -0
- package/cypress/e2e/rows.test.ts +50 -0
- package/cypress/e2e/scroll-bar.test.ts +357 -0
- package/cypress/e2e/time-bookmarks.test.ts +92 -0
- package/cypress/e2e/utc-mode.test.ts +51 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/helpers.ts +12 -0
- package/cypress/plugins/index.js +22 -0
- package/cypress/support/commands.ts +175 -0
- package/cypress/support/e2e.ts +31 -0
- package/cypress.config.js +24 -0
- package/dist/api/api.d.ts +182 -0
- package/dist/api/helpers.d.ts +9 -0
- package/dist/api/id.d.ts +14 -0
- package/dist/api/locale.d.ts +3 -0
- package/dist/api/main.d.ts +47 -0
- package/dist/api/public.d.ts +32 -0
- package/dist/api/slots.d.ts +22 -0
- package/dist/api/time.d.ts +104 -0
- package/dist/assets/2f1f893a.wasm +0 -0
- package/dist/gstc.d.ts +708 -0
- package/dist/gstc.esm.min.d.ts +708 -0
- package/dist/gstc.esm.min.js +574 -0
- package/dist/gstc.umd.min.d.ts +708 -0
- package/dist/gstc.umd.min.js +701 -0
- package/dist/gstc.wasm.esm.min.d.ts +708 -0
- package/dist/gstc.wasm.esm.min.js +574 -0
- package/dist/gstc.wasm.umd.min.d.ts +708 -0
- package/dist/gstc.wasm.umd.min.js +701 -0
- package/dist/plugins/calendar-scroll.d.ts +15 -0
- package/dist/plugins/calendar-scroll.esm.min.d.ts +15 -0
- package/dist/plugins/calendar-scroll.esm.min.js +13 -0
- package/dist/plugins/calendar-scroll.umd.min.d.ts +15 -0
- package/dist/plugins/calendar-scroll.umd.min.js +13 -0
- package/dist/plugins/dependency-lines.d.ts +47 -0
- package/dist/plugins/dependency-lines.esm.min.d.ts +47 -0
- package/dist/plugins/dependency-lines.esm.min.js +38 -0
- package/dist/plugins/dependency-lines.umd.min.d.ts +47 -0
- package/dist/plugins/dependency-lines.umd.min.js +38 -0
- package/dist/plugins/export-image.d.ts +12 -0
- package/dist/plugins/export-image.esm.min.d.ts +12 -0
- package/dist/plugins/export-image.esm.min.js +28 -0
- package/dist/plugins/export-image.umd.min.d.ts +12 -0
- package/dist/plugins/export-image.umd.min.js +34 -0
- package/dist/plugins/export-pdf.d.ts +12 -0
- package/dist/plugins/export-pdf.esm.min.d.ts +12 -0
- package/dist/plugins/export-pdf.esm.min.js +389 -0
- package/dist/plugins/export-pdf.umd.min.d.ts +12 -0
- package/dist/plugins/export-pdf.umd.min.js +511 -0
- package/dist/plugins/grab-scroll.d.ts +14 -0
- package/dist/plugins/grab-scroll.esm.min.d.ts +14 -0
- package/dist/plugins/grab-scroll.umd.min.d.ts +14 -0
- package/dist/plugins/highlight-weekends.d.ts +12 -0
- package/dist/plugins/highlight-weekends.esm.min.d.ts +12 -0
- package/dist/plugins/highlight-weekends.esm.min.js +14 -0
- package/dist/plugins/highlight-weekends.umd.min.d.ts +12 -0
- package/dist/plugins/highlight-weekends.umd.min.js +14 -0
- package/dist/plugins/item-movement.d.ts +97 -0
- package/dist/plugins/item-movement.esm.min.d.ts +97 -0
- package/dist/plugins/item-movement.esm.min.js +25 -0
- package/dist/plugins/item-movement.umd.min.d.ts +97 -0
- package/dist/plugins/item-movement.umd.min.js +25 -0
- package/dist/plugins/item-resizing.d.ts +102 -0
- package/dist/plugins/item-resizing.esm.min.d.ts +102 -0
- package/dist/plugins/item-resizing.esm.min.js +37 -0
- package/dist/plugins/item-resizing.umd.min.d.ts +102 -0
- package/dist/plugins/item-resizing.umd.min.js +37 -0
- package/dist/plugins/item-types.d.ts +13 -0
- package/dist/plugins/item-types.esm.min.d.ts +13 -0
- package/dist/plugins/item-types.esm.min.js +127 -0
- package/dist/plugins/item-types.umd.min.d.ts +13 -0
- package/dist/plugins/item-types.umd.min.js +127 -0
- package/dist/plugins/progress-bar.d.ts +13 -0
- package/dist/plugins/progress-bar.esm.min.d.ts +13 -0
- package/dist/plugins/progress-bar.esm.min.js +27 -0
- package/dist/plugins/progress-bar.umd.min.d.ts +13 -0
- package/dist/plugins/progress-bar.umd.min.js +27 -0
- package/dist/plugins/selection.d.ts +94 -0
- package/dist/plugins/selection.esm.min.d.ts +94 -0
- package/dist/plugins/selection.esm.min.js +26 -0
- package/dist/plugins/selection.umd.min.d.ts +94 -0
- package/dist/plugins/selection.umd.min.js +26 -0
- package/dist/plugins/time-bookmarks.d.ts +38 -0
- package/dist/plugins/time-bookmarks.esm.min.d.ts +38 -0
- package/dist/plugins/time-bookmarks.esm.min.js +50 -0
- package/dist/plugins/time-bookmarks.umd.min.d.ts +38 -0
- package/dist/plugins/time-bookmarks.umd.min.js +50 -0
- package/dist/plugins/timeline-pointer.d.ts +83 -0
- package/dist/plugins/timeline-pointer.esm.min.d.ts +83 -0
- package/dist/plugins/timeline-pointer.esm.min.js +13 -0
- package/dist/plugins/timeline-pointer.umd.min.d.ts +83 -0
- package/dist/plugins/timeline-pointer.umd.min.js +13 -0
- package/dist/style.css +811 -0
- package/dist/vendor.esm.min.js +128 -0
- package/examples/complex-1/faces/face-1.jpg +0 -0
- package/examples/complex-1/faces/face-10.jpg +0 -0
- package/examples/complex-1/faces/face-11.jpg +0 -0
- package/examples/complex-1/faces/face-12.jpg +0 -0
- package/examples/complex-1/faces/face-13.jpg +0 -0
- package/examples/complex-1/faces/face-14.jpg +0 -0
- package/examples/complex-1/faces/face-15.jpg +0 -0
- package/examples/complex-1/faces/face-16.jpg +0 -0
- package/examples/complex-1/faces/face-17.jpg +0 -0
- package/examples/complex-1/faces/face-18.jpg +0 -0
- package/examples/complex-1/faces/face-19.jpg +0 -0
- package/examples/complex-1/faces/face-2.jpg +0 -0
- package/examples/complex-1/faces/face-20.jpg +0 -0
- package/examples/complex-1/faces/face-21.jpg +0 -0
- package/examples/complex-1/faces/face-22.jpg +0 -0
- package/examples/complex-1/faces/face-23.jpg +0 -0
- package/examples/complex-1/faces/face-24.jpg +0 -0
- package/examples/complex-1/faces/face-25.jpg +0 -0
- package/examples/complex-1/faces/face-26.jpg +0 -0
- package/examples/complex-1/faces/face-27.jpg +0 -0
- package/examples/complex-1/faces/face-28.jpg +0 -0
- package/examples/complex-1/faces/face-29.jpg +0 -0
- package/examples/complex-1/faces/face-3.jpg +0 -0
- package/examples/complex-1/faces/face-30.jpg +0 -0
- package/examples/complex-1/faces/face-31.jpg +0 -0
- package/examples/complex-1/faces/face-32.jpg +0 -0
- package/examples/complex-1/faces/face-33.jpg +0 -0
- package/examples/complex-1/faces/face-34.jpg +0 -0
- package/examples/complex-1/faces/face-35.jpg +0 -0
- package/examples/complex-1/faces/face-36.jpg +0 -0
- package/examples/complex-1/faces/face-37.jpg +0 -0
- package/examples/complex-1/faces/face-38.jpg +0 -0
- package/examples/complex-1/faces/face-39.jpg +0 -0
- package/examples/complex-1/faces/face-4.jpg +0 -0
- package/examples/complex-1/faces/face-40.jpg +0 -0
- package/examples/complex-1/faces/face-41.jpg +0 -0
- package/examples/complex-1/faces/face-42.jpg +0 -0
- package/examples/complex-1/faces/face-43.jpg +0 -0
- package/examples/complex-1/faces/face-44.jpg +0 -0
- package/examples/complex-1/faces/face-45.jpg +0 -0
- package/examples/complex-1/faces/face-46.jpg +0 -0
- package/examples/complex-1/faces/face-47.jpg +0 -0
- package/examples/complex-1/faces/face-48.jpg +0 -0
- package/examples/complex-1/faces/face-49.jpg +0 -0
- package/examples/complex-1/faces/face-5.jpg +0 -0
- package/examples/complex-1/faces/face-50.jpg +0 -0
- package/examples/complex-1/faces/face-6.jpg +0 -0
- package/examples/complex-1/faces/face-7.jpg +0 -0
- package/examples/complex-1/faces/face-8.jpg +0 -0
- package/examples/complex-1/faces/face-9.jpg +0 -0
- package/examples/complex-1/index.html +61 -0
- package/examples/complex-1/index.js +923 -0
- package/examples/index.html +22 -0
- package/examples/reset.css +455 -0
- package/examples/server.js +18 -0
- package/package.json +150 -0
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf8" />
|
|
5
|
+
<base href="./" />
|
|
6
|
+
<title>GSTC Examples</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width" />
|
|
8
|
+
<style>
|
|
9
|
+
body {
|
|
10
|
+
font-family: Roboto, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
</head>
|
|
14
|
+
|
|
15
|
+
<body>
|
|
16
|
+
<div id="app">
|
|
17
|
+
<ul>
|
|
18
|
+
<li><a href="./complex-1/">Complex 1</a></li>
|
|
19
|
+
</ul>
|
|
20
|
+
</div>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
/* @import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600&display=swap'); */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display:ital,wght@0,200;0,300;0,400;0,500;0,700;1,200;1,300;1,400;1,500;1,700&display=swap');
|
|
3
|
+
|
|
4
|
+
html,
|
|
5
|
+
body,
|
|
6
|
+
div,
|
|
7
|
+
span,
|
|
8
|
+
applet,
|
|
9
|
+
object,
|
|
10
|
+
iframe,
|
|
11
|
+
h1,
|
|
12
|
+
h2,
|
|
13
|
+
h3,
|
|
14
|
+
h4,
|
|
15
|
+
h5,
|
|
16
|
+
h6,
|
|
17
|
+
p,
|
|
18
|
+
blockquote,
|
|
19
|
+
pre,
|
|
20
|
+
a,
|
|
21
|
+
abbr,
|
|
22
|
+
acronym,
|
|
23
|
+
address,
|
|
24
|
+
big,
|
|
25
|
+
cite,
|
|
26
|
+
code,
|
|
27
|
+
del,
|
|
28
|
+
dfn,
|
|
29
|
+
em,
|
|
30
|
+
img,
|
|
31
|
+
ins,
|
|
32
|
+
kbd,
|
|
33
|
+
q,
|
|
34
|
+
s,
|
|
35
|
+
samp,
|
|
36
|
+
small,
|
|
37
|
+
strike,
|
|
38
|
+
strong,
|
|
39
|
+
sub,
|
|
40
|
+
sup,
|
|
41
|
+
tt,
|
|
42
|
+
var,
|
|
43
|
+
b,
|
|
44
|
+
u,
|
|
45
|
+
i,
|
|
46
|
+
center,
|
|
47
|
+
dl,
|
|
48
|
+
dt,
|
|
49
|
+
dd,
|
|
50
|
+
ol,
|
|
51
|
+
ul,
|
|
52
|
+
li,
|
|
53
|
+
fieldset,
|
|
54
|
+
form,
|
|
55
|
+
label,
|
|
56
|
+
legend,
|
|
57
|
+
table,
|
|
58
|
+
caption,
|
|
59
|
+
tbody,
|
|
60
|
+
tfoot,
|
|
61
|
+
thead,
|
|
62
|
+
tr,
|
|
63
|
+
th,
|
|
64
|
+
td,
|
|
65
|
+
article,
|
|
66
|
+
aside,
|
|
67
|
+
canvas,
|
|
68
|
+
details,
|
|
69
|
+
embed,
|
|
70
|
+
figure,
|
|
71
|
+
figcaption,
|
|
72
|
+
footer,
|
|
73
|
+
header,
|
|
74
|
+
hgroup,
|
|
75
|
+
menu,
|
|
76
|
+
nav,
|
|
77
|
+
output,
|
|
78
|
+
ruby,
|
|
79
|
+
section,
|
|
80
|
+
summary,
|
|
81
|
+
time,
|
|
82
|
+
mark,
|
|
83
|
+
audio,
|
|
84
|
+
video {
|
|
85
|
+
margin: 0;
|
|
86
|
+
padding: 0;
|
|
87
|
+
border: 0;
|
|
88
|
+
font-size: 100%;
|
|
89
|
+
font: inherit;
|
|
90
|
+
vertical-align: baseline;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* make sure to set some focus styles for accessibility */
|
|
94
|
+
:focus {
|
|
95
|
+
outline: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* HTML5 display-role reset for older browsers */
|
|
99
|
+
article,
|
|
100
|
+
aside,
|
|
101
|
+
details,
|
|
102
|
+
figcaption,
|
|
103
|
+
figure,
|
|
104
|
+
footer,
|
|
105
|
+
header,
|
|
106
|
+
hgroup,
|
|
107
|
+
menu,
|
|
108
|
+
nav,
|
|
109
|
+
section {
|
|
110
|
+
display: block;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
body {
|
|
114
|
+
line-height: 1;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
ol,
|
|
118
|
+
ul {
|
|
119
|
+
list-style: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
blockquote,
|
|
123
|
+
q {
|
|
124
|
+
quotes: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
blockquote:before,
|
|
128
|
+
blockquote:after,
|
|
129
|
+
q:before,
|
|
130
|
+
q:after {
|
|
131
|
+
content: '';
|
|
132
|
+
content: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
table {
|
|
136
|
+
border-collapse: collapse;
|
|
137
|
+
border-spacing: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
input[type='search']::-webkit-search-cancel-button,
|
|
141
|
+
input[type='search']::-webkit-search-decoration,
|
|
142
|
+
input[type='search']::-webkit-search-results-button,
|
|
143
|
+
input[type='search']::-webkit-search-results-decoration {
|
|
144
|
+
-webkit-appearance: none;
|
|
145
|
+
-moz-appearance: none;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
input[type='search'] {
|
|
149
|
+
-webkit-appearance: none;
|
|
150
|
+
-moz-appearance: none;
|
|
151
|
+
-webkit-box-sizing: content-box;
|
|
152
|
+
-moz-box-sizing: content-box;
|
|
153
|
+
box-sizing: content-box;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
textarea {
|
|
157
|
+
overflow: auto;
|
|
158
|
+
vertical-align: top;
|
|
159
|
+
resize: vertical;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
audio,
|
|
167
|
+
canvas,
|
|
168
|
+
video {
|
|
169
|
+
display: inline-block;
|
|
170
|
+
*display: inline;
|
|
171
|
+
*zoom: 1;
|
|
172
|
+
max-width: 100%;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
|
177
|
+
* Remove excess height in iOS 5 devices.
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
audio:not([controls]) {
|
|
181
|
+
display: none;
|
|
182
|
+
height: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
|
|
187
|
+
* Known issue: no IE 6 support.
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
[hidden] {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
|
|
196
|
+
* `em` units.
|
|
197
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
|
198
|
+
* user zoom.
|
|
199
|
+
*/
|
|
200
|
+
|
|
201
|
+
html {
|
|
202
|
+
font-size: 100%; /* 1 */
|
|
203
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
204
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Address `outline` inconsistency between Chrome and other browsers.
|
|
209
|
+
*/
|
|
210
|
+
|
|
211
|
+
a:focus {
|
|
212
|
+
outline: thin dotted;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
|
217
|
+
*/
|
|
218
|
+
|
|
219
|
+
a:active,
|
|
220
|
+
a:hover {
|
|
221
|
+
outline: 0;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
|
|
226
|
+
* 2. Improve image quality when scaled in IE 7.
|
|
227
|
+
*/
|
|
228
|
+
|
|
229
|
+
img {
|
|
230
|
+
border: 0; /* 1 */
|
|
231
|
+
-ms-interpolation-mode: bicubic; /* 2 */
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
|
|
236
|
+
*/
|
|
237
|
+
|
|
238
|
+
figure {
|
|
239
|
+
margin: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Correct margin displayed oddly in IE 6/7.
|
|
244
|
+
*/
|
|
245
|
+
|
|
246
|
+
form {
|
|
247
|
+
margin: 0;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Define consistent border, margin, and padding.
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
fieldset {
|
|
255
|
+
border: 1px solid #c0c0c0;
|
|
256
|
+
margin: 0 2px;
|
|
257
|
+
padding: 0.35em 0.625em 0.75em;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* 1. Correct color not being inherited in IE 6/7/8/9.
|
|
262
|
+
* 2. Correct text not wrapping in Firefox 3.
|
|
263
|
+
* 3. Correct alignment displayed oddly in IE 6/7.
|
|
264
|
+
*/
|
|
265
|
+
|
|
266
|
+
legend {
|
|
267
|
+
border: 0; /* 1 */
|
|
268
|
+
padding: 0;
|
|
269
|
+
white-space: normal; /* 2 */
|
|
270
|
+
*margin-left: -7px; /* 3 */
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* 1. Correct font size not being inherited in all browsers.
|
|
275
|
+
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
|
|
276
|
+
* and Chrome.
|
|
277
|
+
* 3. Improve appearance and consistency in all browsers.
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
button,
|
|
281
|
+
input,
|
|
282
|
+
select,
|
|
283
|
+
textarea {
|
|
284
|
+
font-size: 100%; /* 1 */
|
|
285
|
+
margin: 0; /* 2 */
|
|
286
|
+
vertical-align: baseline; /* 3 */
|
|
287
|
+
*vertical-align: middle; /* 3 */
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
|
|
292
|
+
* the UA stylesheet.
|
|
293
|
+
*/
|
|
294
|
+
|
|
295
|
+
button,
|
|
296
|
+
input {
|
|
297
|
+
line-height: normal;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
|
302
|
+
* All other form control elements do not inherit `text-transform` values.
|
|
303
|
+
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
|
|
304
|
+
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
button,
|
|
308
|
+
select {
|
|
309
|
+
text-transform: none;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
|
314
|
+
* and `video` controls.
|
|
315
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
|
316
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
|
317
|
+
* `input` and others.
|
|
318
|
+
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
|
|
319
|
+
* Known issue: inner spacing remains in IE 6.
|
|
320
|
+
*/
|
|
321
|
+
|
|
322
|
+
button,
|
|
323
|
+
html input[type="button"], /* 1 */
|
|
324
|
+
input[type="reset"],
|
|
325
|
+
input[type="submit"] {
|
|
326
|
+
-webkit-appearance: button; /* 2 */
|
|
327
|
+
cursor: pointer; /* 3 */
|
|
328
|
+
*overflow: visible; /* 4 */
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Re-set default cursor for disabled elements.
|
|
333
|
+
*/
|
|
334
|
+
|
|
335
|
+
button[disabled],
|
|
336
|
+
html input[disabled] {
|
|
337
|
+
cursor: default;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* 1. Address box sizing set to content-box in IE 8/9.
|
|
342
|
+
* 2. Remove excess padding in IE 8/9.
|
|
343
|
+
* 3. Remove excess padding in IE 7.
|
|
344
|
+
* Known issue: excess padding remains in IE 6.
|
|
345
|
+
*/
|
|
346
|
+
|
|
347
|
+
input[type='checkbox'],
|
|
348
|
+
input[type='radio'] {
|
|
349
|
+
box-sizing: border-box; /* 1 */
|
|
350
|
+
padding: 0; /* 2 */
|
|
351
|
+
*height: 13px; /* 3 */
|
|
352
|
+
*width: 13px; /* 3 */
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
|
357
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
|
358
|
+
* (include `-moz` to future-proof).
|
|
359
|
+
*/
|
|
360
|
+
|
|
361
|
+
input[type='search'] {
|
|
362
|
+
-webkit-appearance: textfield; /* 1 */
|
|
363
|
+
-moz-box-sizing: content-box;
|
|
364
|
+
-webkit-box-sizing: content-box; /* 2 */
|
|
365
|
+
box-sizing: content-box;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
|
370
|
+
* on OS X.
|
|
371
|
+
*/
|
|
372
|
+
|
|
373
|
+
input[type='search']::-webkit-search-cancel-button,
|
|
374
|
+
input[type='search']::-webkit-search-decoration {
|
|
375
|
+
-webkit-appearance: none;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Remove inner padding and border in Firefox 3+.
|
|
380
|
+
*/
|
|
381
|
+
|
|
382
|
+
button::-moz-focus-inner,
|
|
383
|
+
input::-moz-focus-inner {
|
|
384
|
+
border: 0;
|
|
385
|
+
padding: 0;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
|
|
390
|
+
* 2. Improve readability and alignment in all browsers.
|
|
391
|
+
*/
|
|
392
|
+
|
|
393
|
+
textarea {
|
|
394
|
+
overflow: auto; /* 1 */
|
|
395
|
+
vertical-align: top; /* 2 */
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Remove most spacing between table cells.
|
|
400
|
+
*/
|
|
401
|
+
|
|
402
|
+
table {
|
|
403
|
+
border-collapse: collapse;
|
|
404
|
+
border-spacing: 0;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
html,
|
|
408
|
+
button,
|
|
409
|
+
input,
|
|
410
|
+
select,
|
|
411
|
+
textarea {
|
|
412
|
+
color: #222;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
::-moz-selection {
|
|
416
|
+
background: #b3d4fc;
|
|
417
|
+
text-shadow: none;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
::selection {
|
|
421
|
+
background: #b3d4fc;
|
|
422
|
+
text-shadow: none;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
img {
|
|
426
|
+
vertical-align: middle;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
fieldset {
|
|
430
|
+
border: 0;
|
|
431
|
+
margin: 0;
|
|
432
|
+
padding: 0;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
textarea {
|
|
436
|
+
resize: vertical;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.chromeframe {
|
|
440
|
+
margin: 0.2em 0;
|
|
441
|
+
background: #ccc;
|
|
442
|
+
color: #000;
|
|
443
|
+
padding: 0.2em 0;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
body, body *{
|
|
447
|
+
font-family: "Noto Sans Display", sans-serif;
|
|
448
|
+
font-weight: 400;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
button {
|
|
452
|
+
background-color: #efefef;
|
|
453
|
+
border: 1px solid #ddd;
|
|
454
|
+
border-radius: 5px;
|
|
455
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
import Polonez from 'polonez';
|
|
3
|
+
import ServeStatic from 'serve-static';
|
|
4
|
+
import compression from 'compression';
|
|
5
|
+
|
|
6
|
+
const polonez = Polonez();
|
|
7
|
+
polonez.use(compression());
|
|
8
|
+
polonez.use(ServeStatic(path.resolve('./')));
|
|
9
|
+
|
|
10
|
+
let port = 8080;
|
|
11
|
+
if (process.argv.length > 2) {
|
|
12
|
+
port = Number(process.argv[2]);
|
|
13
|
+
}
|
|
14
|
+
if (process.env.PORT) {
|
|
15
|
+
port = Number(process.env.PORT);
|
|
16
|
+
}
|
|
17
|
+
polonez.listen(port);
|
|
18
|
+
console.log(`Visit: http://localhost:${port}/examples/index.html`); // eslint-disable-line no-console
|
package/package.json
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gantt-source_management",
|
|
3
|
+
"version": "3.37.5",
|
|
4
|
+
"description": "Gantt, Schedule, ",
|
|
5
|
+
"main": "dist/gstc.wasm.esm.min.js",
|
|
6
|
+
"module": "dist/gstc.wasm.esm.min.js",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"types": "dist/gstc.d.ts",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"examples": "node ./examples/server.js",
|
|
11
|
+
"lint": "eslint --fix --ext .ts .",
|
|
12
|
+
"build": "echo 'nothing to build here ;)'",
|
|
13
|
+
"test": "if ! pgrep -a -f -x 'node ./examples/server.js' && ! pgrep -a -f -x 'node ./tests/server.js 8080'; then node ./examples/server.js; fi & ./node_modules/.bin/cypress run --record --key 70a72be1-45d1-487f-8c76-9b7df228e0e6 && { pkill -e -f -x 'node ./examples/server.js'; echo 'ok'; exit 0; } || { pkill -e -f -x 'node ./examples/server.js'; echo 'not ok'; exit 1; }",
|
|
14
|
+
"test:dev": "if ! pgrep -a -f -x 'node ./examples/server.js' && ! pgrep -a -f -x 'node ./tests/server.js 8080'; then node ./examples/server.js; fi & ./node_modules/.bin/cypress run --config video=false --browser chrome --headed && { pkill -e -f -x 'node ./examples/server.js'; echo 'ok'; exit 0; } || { pkill -e -f -x 'node ./examples/server.js'; echo 'not ok'; exit 1; }",
|
|
15
|
+
"test:browsers": "if ! pgrep -a -f -x 'node ./examples/server.js' && ! pgrep -a -f -x 'node ./tests/server.js 8080'; then node ./examples/server.js; fi & cypress run --browser chrome && ./node_modules/.bin/cypress run --browser firefox && { pkill -e -f -x 'node ./examples/server.js'; echo 'ok'; exit 0; } || { pkill -e -f -x 'node ./examples/server.js'; echo 'not ok'; exit 1; }",
|
|
16
|
+
"test:repeat": "if ! pgrep -a -f -x 'node ./examples/server.js' && ! pgrep -a -f -x 'node ./tests/server.js 8080'; then node ./examples/server.js; fi & npx cypress-repeat run -n 6 && { pkill -e -f -x 'node ./examples/server.js'; echo 'ok'; exit 0; } || { pkill -e -f -x 'node ./examples/server.js'; echo 'not ok'; exit 1; }",
|
|
17
|
+
"cypress:open": "./node_modules/.bin/cypress open --config video=false"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"gantt",
|
|
21
|
+
"timeline",
|
|
22
|
+
"schedule",
|
|
23
|
+
"scheduler",
|
|
24
|
+
"calendar",
|
|
25
|
+
"booking",
|
|
26
|
+
"gantt chart",
|
|
27
|
+
"reservation",
|
|
28
|
+
"javascript gantt",
|
|
29
|
+
"javascript timeline",
|
|
30
|
+
"javascript schedule",
|
|
31
|
+
"javascript scheduler",
|
|
32
|
+
"javascript calendar",
|
|
33
|
+
"javascript booking",
|
|
34
|
+
"javascript gantt chart",
|
|
35
|
+
"javascript reservation",
|
|
36
|
+
"js gantt",
|
|
37
|
+
"js timeline",
|
|
38
|
+
"js schedule",
|
|
39
|
+
"js scheduler",
|
|
40
|
+
"js calendar",
|
|
41
|
+
"js booking",
|
|
42
|
+
"js gantt chart",
|
|
43
|
+
"js reservation",
|
|
44
|
+
"typescript gantt",
|
|
45
|
+
"typescript timeline",
|
|
46
|
+
"typescript schedule",
|
|
47
|
+
"typescript scheduler",
|
|
48
|
+
"typescript calendar",
|
|
49
|
+
"typescript booking",
|
|
50
|
+
"typescript gantt chart",
|
|
51
|
+
"typescript reservation",
|
|
52
|
+
"vue gantt",
|
|
53
|
+
"vue timeline",
|
|
54
|
+
"vue schedule",
|
|
55
|
+
"vue scheduler",
|
|
56
|
+
"vue calendar",
|
|
57
|
+
"vue booking",
|
|
58
|
+
"vue gantt chart",
|
|
59
|
+
"vue reservation",
|
|
60
|
+
"react gantt",
|
|
61
|
+
"react timeline",
|
|
62
|
+
"react schedule",
|
|
63
|
+
"react scheduler",
|
|
64
|
+
"react calendar",
|
|
65
|
+
"react booking",
|
|
66
|
+
"react gantt chart",
|
|
67
|
+
"react reservation",
|
|
68
|
+
"angular gantt",
|
|
69
|
+
"angular timeline",
|
|
70
|
+
"angular schedule",
|
|
71
|
+
"angular scheduler",
|
|
72
|
+
"angular calendar",
|
|
73
|
+
"angular booking",
|
|
74
|
+
"angular gantt chart",
|
|
75
|
+
"angular reservation",
|
|
76
|
+
"svelte gantt",
|
|
77
|
+
"svelte timeline",
|
|
78
|
+
"svelte schedule",
|
|
79
|
+
"svelte scheduler",
|
|
80
|
+
"svelte calendar",
|
|
81
|
+
"svelte booking",
|
|
82
|
+
"svelte gantt chart",
|
|
83
|
+
"svelte reservation",
|
|
84
|
+
"jQuery gantt",
|
|
85
|
+
"jQuery timeline",
|
|
86
|
+
"jQuery schedule",
|
|
87
|
+
"jQuery scheduler",
|
|
88
|
+
"jQuery calendar",
|
|
89
|
+
"jQuery booking",
|
|
90
|
+
"jQuery gantt chart",
|
|
91
|
+
"jQuery reservation",
|
|
92
|
+
"component gantt",
|
|
93
|
+
"component timeline",
|
|
94
|
+
"component schedule",
|
|
95
|
+
"component scheduler",
|
|
96
|
+
"component calendar",
|
|
97
|
+
"component booking",
|
|
98
|
+
"component gantt chart",
|
|
99
|
+
"component reservation",
|
|
100
|
+
"javascript horizontal timeline",
|
|
101
|
+
"javascript multimedia editor",
|
|
102
|
+
"javascript timeline editor",
|
|
103
|
+
"js horizontal timeline",
|
|
104
|
+
"js multimedia editor",
|
|
105
|
+
"js timeline editor",
|
|
106
|
+
"typescript horizontal timeline",
|
|
107
|
+
"typescript multimedia editor",
|
|
108
|
+
"typescript timeline editor",
|
|
109
|
+
"vue horizontal timeline",
|
|
110
|
+
"vue multimedia editor",
|
|
111
|
+
"vue timeline editor",
|
|
112
|
+
"react horizontal timeline",
|
|
113
|
+
"react multimedia editor",
|
|
114
|
+
"react timeline editor",
|
|
115
|
+
"angular horizontal timeline",
|
|
116
|
+
"angular multimedia editor",
|
|
117
|
+
"angular timeline editor",
|
|
118
|
+
"svelte horizontal timeline",
|
|
119
|
+
"svelte multimedia editor",
|
|
120
|
+
"svelte timeline editor",
|
|
121
|
+
"jQuery horizontal timeline",
|
|
122
|
+
"jQuery multimedia editor",
|
|
123
|
+
"jQuery timeline editor",
|
|
124
|
+
"component horizontal timeline",
|
|
125
|
+
"component multimedia editor",
|
|
126
|
+
"component timeline editor"
|
|
127
|
+
],
|
|
128
|
+
"devDependencies": {
|
|
129
|
+
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
130
|
+
"@typescript-eslint/parser": "^5.27.0",
|
|
131
|
+
"compression": "^1.7.4",
|
|
132
|
+
"cypress": "^13.1.0",
|
|
133
|
+
"deep-state-observer": "^5.5.9",
|
|
134
|
+
"eslint": "^7.15.0",
|
|
135
|
+
"eslint-config-prettier": "^6.15.0",
|
|
136
|
+
"eslint-plugin-cypress": "^2.12.1",
|
|
137
|
+
"eslint-plugin-prettier": "^3.2.0",
|
|
138
|
+
"polonez": "^1.1.1",
|
|
139
|
+
"prettier": "^2.2.1",
|
|
140
|
+
"serve-static": "^1.14.1",
|
|
141
|
+
"tippy.js": "^6.2.7",
|
|
142
|
+
"tslib": "^2.4.0",
|
|
143
|
+
"typescript": "^4.7.4"
|
|
144
|
+
},
|
|
145
|
+
"dependencies": {
|
|
146
|
+
"@neuronet.io/vido": "^4.2.15",
|
|
147
|
+
"dayjs": "^1.11.4",
|
|
148
|
+
"lit-html": "^2.2.7"
|
|
149
|
+
}
|
|
150
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"include": ["./*.ts", "./cypress/**/*.ts"],
|
|
3
|
+
"exclude": ["node_modules/**", "dist/**", "cypress.config.js"],
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"moduleResolution": "node",
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"strict": false,
|
|
8
|
+
"module": "ESNext",
|
|
9
|
+
"downlevelIteration": true,
|
|
10
|
+
"allowSyntheticDefaultImports": true,
|
|
11
|
+
"allowJs": true,
|
|
12
|
+
"target": "ES2015",
|
|
13
|
+
"skipLibCheck": true,
|
|
14
|
+
"skipDefaultLibCheck": true,
|
|
15
|
+
"types": ["cypress"]
|
|
16
|
+
}
|
|
17
|
+
}
|