@operato/scene-gantt 2.0.0-beta.0 → 2.0.0-beta.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +24 -0
- package/db.sqlite +0 -0
- package/dist/editors/index.d.ts +6 -0
- package/dist/editors/index.js +8 -0
- package/dist/editors/index.js.map +1 -0
- package/dist/gantt.d.ts +61 -0
- package/dist/gantt.js +224 -0
- package/dist/gantt.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/templates/gantt.d.ts +14 -0
- package/dist/templates/gantt.js +16 -0
- package/dist/templates/gantt.js.map +1 -0
- package/dist/templates/index.js +2 -2
- package/dist/templates/index.js.map +1 -1
- package/icons/gantt.png +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +71 -6
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +80 -15
- package/logs/application-2024-06-10-00.log +6 -0
- package/logs/application-2024-06-10-12.log +6 -0
- package/logs/application-2024-06-10-13.log +18 -0
- package/logs/application-2024-06-10-22.log +10 -0
- package/logs/application-2024-06-11-00.log +6 -0
- package/logs/application-2024-06-11-01.log +7 -0
- package/logs/application-2024-06-11-02.log +12 -0
- package/logs/application-2024-06-11-03.log +12 -0
- package/logs/application-2024-06-11-04.log +12 -0
- package/logs/application-2024-06-11-14.log +6 -0
- package/logs/application-2024-06-11-15.log +6 -0
- package/logs/application-2024-06-11-16.log +6 -0
- package/logs/application-2024-06-11-17.log +24 -0
- package/logs/application-2024-06-11-19.log +36 -0
- package/logs/application-2024-06-11-20.log +6 -0
- package/logs/connections-2024-06-04-11.log +50 -0
- package/logs/connections-2024-06-04-12.log +0 -0
- package/logs/connections-2024-06-04-13.log +50 -0
- package/logs/connections-2024-06-10-00.log +50 -0
- package/logs/connections-2024-06-10-12.log +50 -0
- package/logs/connections-2024-06-10-13.log +150 -0
- package/logs/connections-2024-06-10-22.log +50 -0
- package/logs/connections-2024-06-11-00.log +50 -0
- package/logs/connections-2024-06-11-01.log +50 -0
- package/logs/connections-2024-06-11-02.log +100 -0
- package/logs/connections-2024-06-11-03.log +100 -0
- package/logs/connections-2024-06-11-04.log +100 -0
- package/logs/connections-2024-06-11-14.log +50 -0
- package/logs/connections-2024-06-11-15.log +50 -0
- package/logs/connections-2024-06-11-16.log +50 -0
- package/logs/connections-2024-06-11-17.log +200 -0
- package/logs/connections-2024-06-11-19.log +300 -0
- package/logs/connections-2024-06-11-20.log +50 -0
- package/package.json +3 -3
- package/src/editors/index.ts +8 -0
- package/src/gantt.ts +261 -0
- package/src/index.ts +1 -1
- package/src/templates/{wellstek-gantt.ts → gantt.ts} +4 -4
- package/src/templates/index.ts +2 -2
- package/things-scene.config.js +3 -1
- package/translations/en.json +15 -10
- package/translations/ja.json +15 -10
- package/translations/ko.json +15 -11
- package/translations/ms.json +15 -10
- package/translations/zh.json +15 -11
- package/tsconfig.tsbuildinfo +1 -1
- package/cache/translations/system/en.json +0 -1
- package/cache/translations/system/ko.json +0 -1
- package/logs/application-2024-05-27-14.log +0 -6
- package/logs/application-2024-05-27-17.log +0 -6
- package/logs/connections-2024-05-20-22.log +0 -50
- package/logs/connections-2024-05-21-00.log +0 -100
- package/logs/connections-2024-05-21-01.log +0 -50
- package/logs/connections-2024-05-27-14.log +0 -50
- package/logs/connections-2024-05-27-17.log +0 -50
- /package/src/{wellstek-gantt.ts → wellstek-gantt.ts.backup} +0 -0
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,30 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [2.0.0-beta.2](https://github.com/things-scene/operato-scene/compare/v2.0.0-beta.1...v2.0.0-beta.2) (2024-06-11)
|
7
|
+
|
8
|
+
|
9
|
+
### :bug: Bug Fix
|
10
|
+
|
11
|
+
* remove wellstek-gantt component ([88b6453](https://github.com/things-scene/operato-scene/commit/88b6453ce9d5a271dcd20af4b894f3692d2def22))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
## [2.0.0-beta.1](https://github.com/things-scene/operato-scene/compare/v2.0.0-beta.0...v2.0.0-beta.1) (2024-06-11)
|
16
|
+
|
17
|
+
|
18
|
+
### :rocket: New Features
|
19
|
+
|
20
|
+
* add gantt component ([720ab2d](https://github.com/things-scene/operato-scene/commit/720ab2d3097c26892c903ebe11d93f8b9879fd7d))
|
21
|
+
|
22
|
+
|
23
|
+
### :bug: Bug Fix
|
24
|
+
|
25
|
+
* remove anchor from gantt ([7603333](https://github.com/things-scene/operato-scene/commit/76033335c563f9ef2a972ad932abe4591a99161e))
|
26
|
+
* scene-gantt reverse scaling ([0764e60](https://github.com/things-scene/operato-scene/commit/0764e609b59a52fee2280d2f2c2a90c8871e8e95))
|
27
|
+
|
28
|
+
|
29
|
+
|
6
30
|
## [2.0.0-beta.0](https://github.com/things-scene/operato-scene/compare/v2.0.0-alpha.12...v2.0.0-beta.0) (2024-06-01)
|
7
31
|
|
8
32
|
|
package/db.sqlite
CHANGED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editors/index.ts"],"names":[],"mappings":"AAAA,OAAO,oEAAoE,CAAA;AAE3E,eAAe;IACb;QACE,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,wCAAwC;KAClD;CACF,CAAA","sourcesContent":["import '@operato/property-editor/ox-property-editor-table-column-config.js'\n\nexport default [\n {\n type: 'column-config',\n element: 'ox-property-editor-table-column-config'\n }\n]\n"]}
|
package/dist/gantt.d.ts
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
import '@operato/gantt/ox-gantt.js';
|
2
|
+
import { HTMLOverlayContainer, Properties } from '@hatiolab/things-scene';
|
3
|
+
export default class GanttScene extends HTMLOverlayContainer {
|
4
|
+
static get nature(): {
|
5
|
+
mutable: boolean;
|
6
|
+
resizable: boolean;
|
7
|
+
rotatable: boolean;
|
8
|
+
properties: ({
|
9
|
+
type: string;
|
10
|
+
label: string;
|
11
|
+
name: string;
|
12
|
+
defaultValue: () => string;
|
13
|
+
property?: undefined;
|
14
|
+
} | {
|
15
|
+
type: string;
|
16
|
+
label: string;
|
17
|
+
name: string;
|
18
|
+
defaultValue: boolean;
|
19
|
+
property?: undefined;
|
20
|
+
} | {
|
21
|
+
type: string;
|
22
|
+
label: string;
|
23
|
+
name: string;
|
24
|
+
property: {
|
25
|
+
options: {
|
26
|
+
display: string;
|
27
|
+
value: string;
|
28
|
+
}[];
|
29
|
+
};
|
30
|
+
defaultValue: string;
|
31
|
+
} | {
|
32
|
+
type: string;
|
33
|
+
label: string;
|
34
|
+
name: string;
|
35
|
+
defaultValue: () => {
|
36
|
+
name: string;
|
37
|
+
label: string;
|
38
|
+
visible: boolean;
|
39
|
+
width: string;
|
40
|
+
order: number;
|
41
|
+
}[];
|
42
|
+
property?: undefined;
|
43
|
+
})[];
|
44
|
+
'value-property': string;
|
45
|
+
};
|
46
|
+
private _tasks;
|
47
|
+
private listenTo?;
|
48
|
+
private listener?;
|
49
|
+
private gantt;
|
50
|
+
createElement(): void;
|
51
|
+
dispose(): void;
|
52
|
+
setElementProperties(div: HTMLDivElement): void;
|
53
|
+
reposition(): void;
|
54
|
+
get tagName(): string;
|
55
|
+
get tasks(): any;
|
56
|
+
set tasks(tasks: any);
|
57
|
+
ready(): void;
|
58
|
+
removed(): void;
|
59
|
+
rescale(): void;
|
60
|
+
onchange(props: Properties): void;
|
61
|
+
}
|
package/dist/gantt.js
ADDED
@@ -0,0 +1,224 @@
|
|
1
|
+
import { i18next } from '@operato/i18n';
|
2
|
+
/*
|
3
|
+
* Copyright © HatioLab Inc. All rights reserved.
|
4
|
+
*/
|
5
|
+
const NATURE = {
|
6
|
+
mutable: false,
|
7
|
+
resizable: true,
|
8
|
+
rotatable: true,
|
9
|
+
properties: [
|
10
|
+
{
|
11
|
+
type: 'date',
|
12
|
+
label: 'gantt-from-date',
|
13
|
+
name: 'fromDate',
|
14
|
+
defaultValue: () => new Date(new Date().getFullYear(), 0, 1).toISOString().split('T')[0] /* beginning of this year */
|
15
|
+
},
|
16
|
+
{
|
17
|
+
type: 'date',
|
18
|
+
label: 'gantt-to-date',
|
19
|
+
name: 'toDate',
|
20
|
+
defaultValue: () => new Date(new Date().getFullYear(), 11, 31).toISOString().split('T')[0] /* end of this year */
|
21
|
+
},
|
22
|
+
{
|
23
|
+
type: 'boolean',
|
24
|
+
label: 'gantt-gridline',
|
25
|
+
name: 'gridline',
|
26
|
+
defaultValue: true
|
27
|
+
},
|
28
|
+
{
|
29
|
+
type: 'select',
|
30
|
+
label: 'gantt-time-scale',
|
31
|
+
name: 'timeScale',
|
32
|
+
property: {
|
33
|
+
options: [
|
34
|
+
{
|
35
|
+
display: 'week-day',
|
36
|
+
value: 'week-day'
|
37
|
+
},
|
38
|
+
{
|
39
|
+
display: 'month-week',
|
40
|
+
value: 'month-week'
|
41
|
+
},
|
42
|
+
{
|
43
|
+
display: 'quarter-week',
|
44
|
+
value: 'quarter-week'
|
45
|
+
},
|
46
|
+
{
|
47
|
+
display: 'year-quarter',
|
48
|
+
value: 'year-quarter'
|
49
|
+
}
|
50
|
+
]
|
51
|
+
},
|
52
|
+
defaultValue: 'week-day'
|
53
|
+
},
|
54
|
+
{
|
55
|
+
type: 'column-config',
|
56
|
+
label: 'gantt-column-config',
|
57
|
+
name: 'columnConfig',
|
58
|
+
defaultValue: () => [
|
59
|
+
{ name: 'id', label: i18next.t('label.gantt-task-id') || 'ID', visible: true, width: '50px', order: 1 },
|
60
|
+
{
|
61
|
+
name: 'section',
|
62
|
+
label: i18next.t('label.gantt-task-section') || 'section',
|
63
|
+
visible: true,
|
64
|
+
width: '100px',
|
65
|
+
order: 2
|
66
|
+
},
|
67
|
+
{
|
68
|
+
name: 'title',
|
69
|
+
label: i18next.t('label.gantt-task-title') || 'title',
|
70
|
+
visible: true,
|
71
|
+
width: '150px',
|
72
|
+
order: 3
|
73
|
+
},
|
74
|
+
{ name: 'type', label: i18next.t('label.gantt-task-type') || 'type', visible: true, width: '100px', order: 4 },
|
75
|
+
{
|
76
|
+
name: 'startDate',
|
77
|
+
label: i18next.t('label.gantt-task-start-date') || 'start date',
|
78
|
+
visible: true,
|
79
|
+
width: '100px',
|
80
|
+
order: 5
|
81
|
+
},
|
82
|
+
{
|
83
|
+
name: 'endDate',
|
84
|
+
label: i18next.t('label.gantt-task-end-date') || 'end date',
|
85
|
+
visible: true,
|
86
|
+
width: '100px',
|
87
|
+
order: 6
|
88
|
+
},
|
89
|
+
{ name: 'tags', label: i18next.t('label.gantt-task-tags') || 'tags', visible: true, width: '100px', order: 7 },
|
90
|
+
{
|
91
|
+
name: 'progress',
|
92
|
+
label: i18next.t('label.gantt-task-progress') || 'progress',
|
93
|
+
visible: true,
|
94
|
+
width: '100px',
|
95
|
+
order: 8
|
96
|
+
},
|
97
|
+
{
|
98
|
+
name: 'dependsOn',
|
99
|
+
label: i18next.t('label.gantt-task-previous') || 'previous',
|
100
|
+
visible: true,
|
101
|
+
width: '100px',
|
102
|
+
order: 9
|
103
|
+
}
|
104
|
+
]
|
105
|
+
}
|
106
|
+
],
|
107
|
+
'value-property': 'tasks'
|
108
|
+
};
|
109
|
+
import '@operato/gantt/ox-gantt.js';
|
110
|
+
import { Component, HTMLOverlayContainer } from '@hatiolab/things-scene';
|
111
|
+
function getGlobalScale(component) {
|
112
|
+
var scale = { x: 1, y: 1 };
|
113
|
+
var parent = component;
|
114
|
+
while (parent) {
|
115
|
+
let { x, y } = parent.get('scale') || { x: 1, y: 1 };
|
116
|
+
scale.x *= x || 1;
|
117
|
+
scale.y *= y || 1;
|
118
|
+
parent = parent.parent;
|
119
|
+
}
|
120
|
+
return scale;
|
121
|
+
}
|
122
|
+
export default class GanttScene extends HTMLOverlayContainer {
|
123
|
+
constructor() {
|
124
|
+
super(...arguments);
|
125
|
+
this._tasks = [];
|
126
|
+
this.listener = function (after) {
|
127
|
+
after.scale && this.rescale();
|
128
|
+
}.bind(this);
|
129
|
+
}
|
130
|
+
static get nature() {
|
131
|
+
return NATURE;
|
132
|
+
}
|
133
|
+
createElement() {
|
134
|
+
super.createElement();
|
135
|
+
this.gantt = document.createElement('ox-gantt');
|
136
|
+
this.gantt.style.width = 'inherit';
|
137
|
+
this.gantt.style.height = 'inherit';
|
138
|
+
this.element.appendChild(this.gantt);
|
139
|
+
this.rescale();
|
140
|
+
const { fromDate, toDate, gridline, columnConfig, timeScale = 'week-day' } = this.state;
|
141
|
+
this.gantt.fromDate = fromDate;
|
142
|
+
this.gantt.toDate = toDate;
|
143
|
+
this.gantt.extendGridLines = gridline;
|
144
|
+
this.gantt.columnConfig = columnConfig;
|
145
|
+
this.gantt.timeScale = timeScale;
|
146
|
+
}
|
147
|
+
dispose() {
|
148
|
+
super.dispose();
|
149
|
+
}
|
150
|
+
/*
|
151
|
+
* 컴포넌트의 생성 또는 속성 변화 시에 호출되며,
|
152
|
+
* 그에 따른 html element의 반영이 필요한 부분을 구현한다.
|
153
|
+
*
|
154
|
+
* ThingsComponent state => HTML element properties
|
155
|
+
*/
|
156
|
+
setElementProperties(div) {
|
157
|
+
this.rescale();
|
158
|
+
}
|
159
|
+
/*
|
160
|
+
* 컴포넌트가 ready 상태가 되거나, 컴포넌트의 속성이 변화될 시 setElementProperties 뒤에 호출된다.
|
161
|
+
* 변화에 따른 기본적인 html 속성이 super.reposition()에서 진행되고, 그 밖의 작업이 필요할 때, 오버라이드 한다.
|
162
|
+
*/
|
163
|
+
reposition() {
|
164
|
+
super.reposition();
|
165
|
+
}
|
166
|
+
get tagName() {
|
167
|
+
return 'div';
|
168
|
+
}
|
169
|
+
get tasks() {
|
170
|
+
return this.get('tasks');
|
171
|
+
}
|
172
|
+
set tasks(tasks) {
|
173
|
+
this.set('tasks', tasks);
|
174
|
+
this.gantt.tasks = tasks;
|
175
|
+
}
|
176
|
+
ready() {
|
177
|
+
super.ready();
|
178
|
+
if (this.rootModel) {
|
179
|
+
this.listenTo = this.rootModel;
|
180
|
+
this.rootModel.on('change', this.listener);
|
181
|
+
}
|
182
|
+
}
|
183
|
+
removed() {
|
184
|
+
if (this.listenTo) {
|
185
|
+
this.listenTo.off('change', this.listener);
|
186
|
+
delete this.listenTo;
|
187
|
+
delete this.listener;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
/*
|
191
|
+
* gantt은 scale된 상태에서 마우스/터치 포지션을 정확히 매핑하지 못하므로, 타임 범위를 정상적으로 지정하지 못한다.
|
192
|
+
* 따라서, gantt의 경우에는 부모의 스케일의 역으로 transform해서, scale을 1로 맞추어야 한다.
|
193
|
+
*/
|
194
|
+
rescale() {
|
195
|
+
var scale = getGlobalScale(this);
|
196
|
+
var sx = 1 / scale.x;
|
197
|
+
var sy = 1 / scale.y;
|
198
|
+
var transform = `scale(${sx}, ${sy})`;
|
199
|
+
['-webkit-', '-moz-', '-ms-', '-o-', ''].forEach(prefix => {
|
200
|
+
this.gantt.style[(prefix + 'transform')] = transform;
|
201
|
+
this.gantt.style[(prefix + 'transform-origin')] = '0px 0px';
|
202
|
+
});
|
203
|
+
var { width, height } = this.state;
|
204
|
+
this.gantt.style.width = width * scale.x + 'px';
|
205
|
+
this.gantt.style.height = height * scale.y + 'px';
|
206
|
+
this.gantt.requestUpdate();
|
207
|
+
}
|
208
|
+
onchange(props) {
|
209
|
+
;
|
210
|
+
['fromDate', 'toDate', 'timeScale', 'columnConfig'].forEach(prop => {
|
211
|
+
if (prop in props) {
|
212
|
+
;
|
213
|
+
this.gantt[prop] = this.state[prop];
|
214
|
+
}
|
215
|
+
});
|
216
|
+
if ('gridline' in props) {
|
217
|
+
;
|
218
|
+
this.gantt.extendGridLines = this.state['gridline'];
|
219
|
+
}
|
220
|
+
this.rescale();
|
221
|
+
}
|
222
|
+
}
|
223
|
+
Component.register('gantt', GanttScene);
|
224
|
+
//# sourceMappingURL=gantt.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"gantt.js","sourceRoot":"","sources":["../src/gantt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C,KAAK,CAAC,CAAC,MAAM,GAAG,WAAW,CAAQ,CAAC,GAAG,SAAS,CAAA;YAC5D,IAAI,CAAC,KAAM,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,kBAAkB,CAAQ,CAAC,GAAG,SAAS,CAAA;QACrE,CAAC,CAAC,CAAA;QAEF,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,CAAA;QAClC,IAAI,CAAC,KAAM,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,CAAA;QAChD,IAAI,CAAC,KAAM,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,CAAA;QAElD,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAA;IAC5B,CAAC;IAED,QAAQ,CAAC,KAAiB;QACxB,CAAC;QAAA,CAAC,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YAClE,IAAI,IAAI,IAAI,KAAK,EAAE,CAAC;gBAClB,CAAC;gBAAC,IAAI,CAAC,KAAa,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;YAC/C,CAAC;QACH,CAAC,CAAC,CAAA;QAEF,IAAI,UAAU,IAAI,KAAK,EAAE,CAAC;YACxB,CAAC;YAAC,IAAI,CAAC,KAAiB,CAAC,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;QACnE,CAAC;QAED,IAAI,CAAC,OAAO,EAAE,CAAA;IAChB,CAAC;CACF;AAED,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA","sourcesContent":["import { i18next } from '@operato/i18n'\n\n/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\n\nconst NATURE = {\n mutable: false,\n resizable: true,\n rotatable: true,\n properties: [\n {\n type: 'date',\n label: 'gantt-from-date',\n name: 'fromDate',\n defaultValue: () =>\n new Date(new Date().getFullYear(), 0, 1).toISOString().split('T')[0] /* beginning of this year */\n },\n {\n type: 'date',\n label: 'gantt-to-date',\n name: 'toDate',\n defaultValue: () => new Date(new Date().getFullYear(), 11, 31).toISOString().split('T')[0] /* end of this year */\n },\n {\n type: 'boolean',\n label: 'gantt-gridline',\n name: 'gridline',\n defaultValue: true\n },\n {\n type: 'select',\n label: 'gantt-time-scale',\n name: 'timeScale',\n property: {\n options: [\n {\n display: 'week-day',\n value: 'week-day'\n },\n {\n display: 'month-week',\n value: 'month-week'\n },\n {\n display: 'quarter-week',\n value: 'quarter-week'\n },\n {\n display: 'year-quarter',\n value: 'year-quarter'\n }\n ]\n },\n defaultValue: 'week-day'\n },\n {\n type: 'column-config',\n label: 'gantt-column-config',\n name: 'columnConfig',\n defaultValue: () => [\n { name: 'id', label: i18next.t('label.gantt-task-id') || 'ID', visible: true, width: '50px', order: 1 },\n {\n name: 'section',\n label: i18next.t('label.gantt-task-section') || 'section',\n visible: true,\n width: '100px',\n order: 2\n },\n {\n name: 'title',\n label: i18next.t('label.gantt-task-title') || 'title',\n visible: true,\n width: '150px',\n order: 3\n },\n { name: 'type', label: i18next.t('label.gantt-task-type') || 'type', visible: true, width: '100px', order: 4 },\n {\n name: 'startDate',\n label: i18next.t('label.gantt-task-start-date') || 'start date',\n visible: true,\n width: '100px',\n order: 5\n },\n {\n name: 'endDate',\n label: i18next.t('label.gantt-task-end-date') || 'end date',\n visible: true,\n width: '100px',\n order: 6\n },\n { name: 'tags', label: i18next.t('label.gantt-task-tags') || 'tags', visible: true, width: '100px', order: 7 },\n {\n name: 'progress',\n label: i18next.t('label.gantt-task-progress') || 'progress',\n visible: true,\n width: '100px',\n order: 8\n },\n {\n name: 'dependsOn',\n label: i18next.t('label.gantt-task-previous') || 'previous',\n visible: true,\n width: '100px',\n order: 9\n }\n ]\n }\n ],\n 'value-property': 'tasks'\n}\n\nimport '@operato/gantt/ox-gantt.js'\n\nimport { OxGantt } from '@operato/gantt/dist/src/ox-gantt.js'\nimport { Task } from '@operato/gantt/dist/src/types.js'\n\nimport { Component, HTMLOverlayContainer, Properties, error } from '@hatiolab/things-scene'\n\nfunction getGlobalScale(component: GanttScene) {\n var scale = { x: 1, y: 1 }\n var parent: Component = component\n\n while (parent) {\n let { x, y } = parent.get('scale') || { x: 1, y: 1 }\n scale.x *= x || 1\n scale.y *= y || 1\n\n parent = parent.parent\n }\n return scale\n}\n\nexport default class GanttScene extends HTMLOverlayContainer {\n static get nature() {\n return NATURE\n }\n\n private _tasks: Task[] = []\n\n private listenTo?: Component\n private listener? = function (this: GanttScene, after: any) {\n after.scale && this.rescale()\n }.bind(this)\n\n private gantt!: OxGantt\n\n createElement() {\n super.createElement()\n\n this.gantt = document.createElement('ox-gantt') as OxGantt\n this.gantt.style.width = 'inherit'\n this.gantt.style.height = 'inherit'\n\n this.element.appendChild(this.gantt)\n\n this.rescale()\n\n const { fromDate, toDate, gridline, columnConfig, timeScale = 'week-day' } = this.state\n\n this.gantt.fromDate = fromDate\n this.gantt.toDate = toDate\n this.gantt.extendGridLines = gridline\n this.gantt.columnConfig = columnConfig\n this.gantt.timeScale = timeScale\n }\n\n dispose() {\n super.dispose()\n }\n\n /*\n * 컴포넌트의 생성 또는 속성 변화 시에 호출되며,\n * 그에 따른 html element의 반영이 필요한 부분을 구현한다.\n *\n * ThingsComponent state => HTML element properties\n */\n\n setElementProperties(div: HTMLDivElement) {\n this.rescale()\n }\n\n /*\n * 컴포넌트가 ready 상태가 되거나, 컴포넌트의 속성이 변화될 시 setElementProperties 뒤에 호출된다.\n * 변화에 따른 기본적인 html 속성이 super.reposition()에서 진행되고, 그 밖의 작업이 필요할 때, 오버라이드 한다.\n */\n reposition() {\n super.reposition()\n }\n\n get tagName() {\n return 'div'\n }\n\n get tasks() {\n return this.get('tasks')\n }\n\n set tasks(tasks) {\n this.set('tasks', tasks)\n ;(this.gantt as OxGantt).tasks = tasks\n }\n\n ready() {\n super.ready()\n\n if (this.rootModel) {\n this.listenTo = this.rootModel\n this.rootModel.on('change', this.listener!)\n }\n }\n\n removed() {\n if (this.listenTo) {\n this.listenTo.off('change', this.listener!)\n\n delete this.listenTo\n delete this.listener\n }\n }\n\n /*\n * gantt은 scale된 상태에서 마우스/터치 포지션을 정확히 매핑하지 못하므로, 타임 범위를 정상적으로 지정하지 못한다.\n * 따라서, gantt의 경우에는 부모의 스케일의 역으로 transform해서, scale을 1로 맞추어야 한다.\n */\n rescale() {\n var scale = getGlobalScale(this)\n\n var sx = 1 / scale.x\n var sy = 1 / scale.y\n\n var transform = `scale(${sx}, ${sy})`\n\n ;['-webkit-', '-moz-', '-ms-', '-o-', ''].forEach(prefix => {\n this.gantt!.style[(prefix + 'transform') as any] = transform\n this.gantt!.style[(prefix + 'transform-origin') as any] = '0px 0px'\n })\n\n var { width, height } = this.state\n this.gantt!.style.width = width * scale.x + 'px'\n this.gantt!.style.height = height * scale.y + 'px'\n\n this.gantt.requestUpdate()\n }\n\n onchange(props: Properties) {\n ;['fromDate', 'toDate', 'timeScale', 'columnConfig'].forEach(prop => {\n if (prop in props) {\n ;(this.gantt as any)[prop] = this.state[prop]\n }\n })\n\n if ('gridline' in props) {\n ;(this.gantt as OxGantt).extendGridLines = this.state['gridline']\n }\n\n this.rescale()\n }\n}\n\nComponent.register('gantt', GanttScene)\n"]}
|
package/dist/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as GanttScene } from './gantt';
|
package/dist/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { default as
|
1
|
+
export { default as GanttScene } from './gantt';
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,SAAS,CAAA","sourcesContent":["export { default as GanttScene } from './gantt'\n"]}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
const icon = new URL('../../icons/gantt.png', import.meta.url).href;
|
2
|
+
export default {
|
3
|
+
type: 'gantt',
|
4
|
+
description: 'gantt',
|
5
|
+
group: 'etc',
|
6
|
+
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */
|
7
|
+
icon,
|
8
|
+
model: {
|
9
|
+
type: 'gantt',
|
10
|
+
left: 150,
|
11
|
+
top: 150,
|
12
|
+
width: 300,
|
13
|
+
height: 200
|
14
|
+
}
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=gantt.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"gantt.js","sourceRoot":"","sources":["../../src/templates/gantt.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,uBAAuB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEnE,eAAe;IACb,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,OAAO;IACpB,KAAK,EAAE,KAAK;IACZ,gGAAgG;IAChG,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;KACZ;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/gantt.png', import.meta.url).href\n\nexport default {\n type: 'gantt',\n description: 'gantt',\n group: 'etc',\n /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */\n icon,\n model: {\n type: 'gantt',\n left: 150,\n top: 150,\n width: 300,\n height: 200\n }\n}\n"]}
|
package/dist/templates/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import
|
2
|
-
export default [
|
1
|
+
import Gantt from './gantt';
|
2
|
+
export default [Gantt];
|
3
3
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAE3B,eAAe,CAAC,KAAK,CAAC,CAAA","sourcesContent":["import Gantt from './gantt'\n\nexport default [Gantt]\n"]}
|
package/icons/gantt.png
ADDED
Binary file
|
@@ -6,14 +6,79 @@
|
|
6
6
|
"auditLog": "logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json",
|
7
7
|
"files": [
|
8
8
|
{
|
9
|
-
"date":
|
10
|
-
"name": "logs/application-2024-
|
11
|
-
"hash": "
|
9
|
+
"date": 1717946822839,
|
10
|
+
"name": "logs/application-2024-06-10-00.log",
|
11
|
+
"hash": "4caf2ff66151fc9a08e71876c85ed3f04ab26111aa964a666a32e88731feadc6"
|
12
12
|
},
|
13
13
|
{
|
14
|
-
"date":
|
15
|
-
"name": "logs/application-2024-
|
16
|
-
"hash": "
|
14
|
+
"date": 1717991267792,
|
15
|
+
"name": "logs/application-2024-06-10-12.log",
|
16
|
+
"hash": "eeb4275549b1e70de1fdae26a2060de05db42217a6ae364ad70fa3842ef472c3"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"date": 1717992591611,
|
20
|
+
"name": "logs/application-2024-06-10-13.log",
|
21
|
+
"hash": "7c198c077715e3a0c78ea5e0fac0a96b987feb62f2575b6e0eaf4ba53e339b5d"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"date": 1718024692403,
|
25
|
+
"name": "logs/application-2024-06-10-22.log",
|
26
|
+
"hash": "570d536d54c37bb2036695c6808abd8e21145c6401df885a4e065af6bdb350aa"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"date": 1718034695847,
|
30
|
+
"name": "logs/application-2024-06-11-00.log",
|
31
|
+
"hash": "e4ed4ec65c7129203c783bfcc80c74cda5217a09842e37daa68bb588b09476c3"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"date": 1718038741761,
|
35
|
+
"name": "logs/application-2024-06-11-01.log",
|
36
|
+
"hash": "0fb8ccec3bef14eda5853e54c74eea9eef81a0049e979240e6f0bd3cd634fc9b"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"date": 1718040750818,
|
40
|
+
"name": "logs/application-2024-06-11-02.log",
|
41
|
+
"hash": "53c288beacc2c6a128e74788541d3b697121d9933e1520436ddca9fede33b00b"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"date": 1718045447197,
|
45
|
+
"name": "logs/application-2024-06-11-03.log",
|
46
|
+
"hash": "edcba41c028c2380fa70240c50495943247ed484f9bb8300e798a6f60dad6366"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"date": 1718046615074,
|
50
|
+
"name": "logs/application-2024-06-11-04.log",
|
51
|
+
"hash": "d1df10714afcb09883e1a4473a6d7118d0302e4509f9e3a41187f489ee8c398e"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"date": 1718083818996,
|
55
|
+
"name": "logs/application-2024-06-11-14.log",
|
56
|
+
"hash": "410d27c7f23e837674bdfb60b208e3da5ea6ea5646a9f7e9e8c1038a4d8977dd"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"date": 1718088851483,
|
60
|
+
"name": "logs/application-2024-06-11-15.log",
|
61
|
+
"hash": "13e8a2e40bf5bb49b3dd3ecc2ddff5760c659a7ce9989ff7d17295269f44f6a2"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"date": 1718091933554,
|
65
|
+
"name": "logs/application-2024-06-11-16.log",
|
66
|
+
"hash": "38219b28c8cbeddcaf84c05fd58c01a12f039b14848e16dbd78715835ccbdc20"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"date": 1718093770636,
|
70
|
+
"name": "logs/application-2024-06-11-17.log",
|
71
|
+
"hash": "092b66ed70631656288ea6f1287519df2b460ec2d391bc81e6d8a1cbb1c5a610"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"date": 1718100142515,
|
75
|
+
"name": "logs/application-2024-06-11-19.log",
|
76
|
+
"hash": "30c09dd604bce185de36513403a62cc51a4bd4dfde8b6a95edb25677edf56b3d"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"date": 1718104028639,
|
80
|
+
"name": "logs/application-2024-06-11-20.log",
|
81
|
+
"hash": "c8f87e7b4366ea94380d5d250f21da27b40fafbd5b1d80b9397d611789c110a8"
|
17
82
|
}
|
18
83
|
],
|
19
84
|
"hashType": "sha256"
|
@@ -6,29 +6,94 @@
|
|
6
6
|
"auditLog": "logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json",
|
7
7
|
"files": [
|
8
8
|
{
|
9
|
-
"date":
|
10
|
-
"name": "logs/connections-2024-
|
11
|
-
"hash": "
|
9
|
+
"date": 1717468938119,
|
10
|
+
"name": "logs/connections-2024-06-04-11.log",
|
11
|
+
"hash": "1caf24454578b5357b6bccf4ba91901eb316d263e284cb3716127734f8ff8e7d"
|
12
12
|
},
|
13
13
|
{
|
14
|
-
"date":
|
15
|
-
"name": "logs/connections-2024-
|
16
|
-
"hash": "
|
14
|
+
"date": 1717471418699,
|
15
|
+
"name": "logs/connections-2024-06-04-12.log",
|
16
|
+
"hash": "8e4f6db64c0eba0cf6a0b108198522a9ca4e8efe22b6abda5c24b891c8e313d0"
|
17
17
|
},
|
18
18
|
{
|
19
|
-
"date":
|
20
|
-
"name": "logs/connections-2024-
|
21
|
-
"hash": "
|
19
|
+
"date": 1717476190537,
|
20
|
+
"name": "logs/connections-2024-06-04-13.log",
|
21
|
+
"hash": "97e50feb8776032e99b749453ed16f3166dba1522355f19d6e6b3d0b90d428e3"
|
22
22
|
},
|
23
23
|
{
|
24
|
-
"date":
|
25
|
-
"name": "logs/connections-2024-
|
26
|
-
"hash": "
|
24
|
+
"date": 1717947275762,
|
25
|
+
"name": "logs/connections-2024-06-10-00.log",
|
26
|
+
"hash": "001ba1e3fdd4ed90d33e4e34cdaf4e2980b4fc306110a2750a82cf8ba20ae052"
|
27
27
|
},
|
28
28
|
{
|
29
|
-
"date":
|
30
|
-
"name": "logs/connections-2024-
|
31
|
-
"hash": "
|
29
|
+
"date": 1717991269614,
|
30
|
+
"name": "logs/connections-2024-06-10-12.log",
|
31
|
+
"hash": "9c51978dfca2e97f2a000f6751af0e337f06d141ef47b69c54a332730aa8eae4"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"date": 1717992593284,
|
35
|
+
"name": "logs/connections-2024-06-10-13.log",
|
36
|
+
"hash": "d5899921f965c34b580beb044314cd0a90ea0235f7f68783ed651170d4ad8a4c"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"date": 1718024694259,
|
40
|
+
"name": "logs/connections-2024-06-10-22.log",
|
41
|
+
"hash": "8e60153b5bc81853fe1758a5e081714c3b29ba770a83e4a266b866d87efd4f60"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"date": 1718034697653,
|
45
|
+
"name": "logs/connections-2024-06-11-00.log",
|
46
|
+
"hash": "4825b202b4a32f3034212f3c1325c8fc5f62cfcd1f131ecacf2815cca20c407c"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"date": 1718038757922,
|
50
|
+
"name": "logs/connections-2024-06-11-01.log",
|
51
|
+
"hash": "abeb5a7bdc56bbd18fefb8d531b32c093825aa6a77c392598dea63a328c03c4b"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"date": 1718040752498,
|
55
|
+
"name": "logs/connections-2024-06-11-02.log",
|
56
|
+
"hash": "f0ec84b7c3c78a2a0b5a2361df4a794f9c603c0c9fed5f4602720982ce379a6a"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"date": 1718045449434,
|
60
|
+
"name": "logs/connections-2024-06-11-03.log",
|
61
|
+
"hash": "ff2362ef82a10190adbd2ea9e58f4881051adab075ff366ea01ed6227cbda926"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"date": 1718046616881,
|
65
|
+
"name": "logs/connections-2024-06-11-04.log",
|
66
|
+
"hash": "43bfbada43420b17d19aef2cdff918524b935523068c4f54457c4463c2020ca1"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"date": 1718083820830,
|
70
|
+
"name": "logs/connections-2024-06-11-14.log",
|
71
|
+
"hash": "48b599ab8afc0142c584f2c989fb8319632933609520d158ff7b4bffeea413bc"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"date": 1718088853417,
|
75
|
+
"name": "logs/connections-2024-06-11-15.log",
|
76
|
+
"hash": "d73a68d9ad5bf2be354aab04e72ca223abfa36b16a4a1555a25743f0bf730439"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"date": 1718091935324,
|
80
|
+
"name": "logs/connections-2024-06-11-16.log",
|
81
|
+
"hash": "dbdae76d7ca82aa604eddb0ff2eaaa6b1d8a4e4f4b1e905bcd21b280924932d4"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"date": 1718093772364,
|
85
|
+
"name": "logs/connections-2024-06-11-17.log",
|
86
|
+
"hash": "8f068b58aaaf2d1401a0d3eac509a7452c4023b6afc7b6fa844b865b6ba8d4d7"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"date": 1718100144208,
|
90
|
+
"name": "logs/connections-2024-06-11-19.log",
|
91
|
+
"hash": "8760d38083a1aaf6ca1448b78da83270d5e2ee5520c7aa068b9b3c755b296c51"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"date": 1718104030420,
|
95
|
+
"name": "logs/connections-2024-06-11-20.log",
|
96
|
+
"hash": "41a48086a1b255424dcf719ee4fc8a2f1e9a8c7e57e24dbd1d246373d024adf4"
|
32
97
|
}
|
33
98
|
],
|
34
99
|
"hashType": "sha256"
|
@@ -0,0 +1,6 @@
|
|
1
|
+
2024-06-10T00:34:35+09:00 info: File Storage is Ready.
|
2
|
+
2024-06-10T00:34:36+09:00 error: oracledb module loading failed
|
3
|
+
2024-06-10T00:34:36+09:00 error: oracledb module loading failed
|
4
|
+
2024-06-10T00:34:37+09:00 info: Default DataSource established
|
5
|
+
2024-06-10T00:34:39+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
6
|
+
2024-06-10T00:34:39+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|
@@ -0,0 +1,6 @@
|
|
1
|
+
2024-06-10T12:47:49+09:00 info: File Storage is Ready.
|
2
|
+
2024-06-10T12:47:49+09:00 error: oracledb module loading failed
|
3
|
+
2024-06-10T12:47:50+09:00 error: oracledb module loading failed
|
4
|
+
2024-06-10T12:47:51+09:00 info: Default DataSource established
|
5
|
+
2024-06-10T12:47:53+09:00 info: 🚀 Server ready at http://0.0.0.0:3000/graphql
|
6
|
+
2024-06-10T12:47:53+09:00 info: 🚀 Subscriptions ready at ws://0.0.0.0:3000/graphql
|