react-big-schedule 5.4.6-beta.2 → 5.4.6
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/package.json +15 -15
- package/dist/components/AddMore.js +0 -50
- package/dist/components/AddMorePopover.js +0 -117
- package/dist/components/AgendaEventItem.js +0 -94
- package/dist/components/AgendaResourceEvents.js +0 -102
- package/dist/components/AgendaView.js +0 -69
- package/dist/components/BodyView.js +0 -59
- package/dist/components/DnDContext.js +0 -171
- package/dist/components/DnDSource.js +0 -125
- package/dist/components/EventItem.js +0 -771
- package/dist/components/EventItemPopover.js +0 -153
- package/dist/components/HeaderView.js +0 -183
- package/dist/components/ResourceEvents.js +0 -515
- package/dist/components/ResourceView.js +0 -158
- package/dist/components/SchedulerData.js +0 -1257
- package/dist/components/SchedulerHeader.js +0 -188
- package/dist/components/SelectedArea.js +0 -32
- package/dist/components/Summary.js +0 -61
- package/dist/components/WrapperFun.js +0 -23
- package/dist/components/index.js +0 -697
- package/dist/config/default.js +0 -36
- package/dist/config/i18n.js +0 -80
- package/dist/config/scheduler.js +0 -122
- package/dist/css/style.css +0 -256
- package/dist/helper/behaviors.js +0 -94
- package/dist/helper/utility.js +0 -20
- package/dist/index.d.ts +0 -457
- package/dist/index.js +0 -103
- package/dist/sample-data/sample1.js +0 -337
|
@@ -1,337 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var DemoData = {
|
|
8
|
-
resources: [{
|
|
9
|
-
id: 'r0',
|
|
10
|
-
name: 'Resource0',
|
|
11
|
-
title: 'Resource 0',
|
|
12
|
-
groupOnly: true
|
|
13
|
-
}, {
|
|
14
|
-
id: 'r1',
|
|
15
|
-
name: 'Resource1',
|
|
16
|
-
title: 'Resource 1',
|
|
17
|
-
parentId: 'r0'
|
|
18
|
-
}, {
|
|
19
|
-
id: 'r2',
|
|
20
|
-
name: 'Resource2',
|
|
21
|
-
parentId: 'r3'
|
|
22
|
-
}, {
|
|
23
|
-
id: 'r3',
|
|
24
|
-
name: 'Resource3',
|
|
25
|
-
parentId: 'r1'
|
|
26
|
-
}, {
|
|
27
|
-
id: 'r4',
|
|
28
|
-
name: 'Resource4'
|
|
29
|
-
}, {
|
|
30
|
-
id: 'r5',
|
|
31
|
-
name: 'Resource5'
|
|
32
|
-
}, {
|
|
33
|
-
id: 'r6',
|
|
34
|
-
name: 'Resource6'
|
|
35
|
-
}, {
|
|
36
|
-
id: 'r7',
|
|
37
|
-
name: 'Resource7'
|
|
38
|
-
}],
|
|
39
|
-
events: [{
|
|
40
|
-
id: 1,
|
|
41
|
-
start: '2022-12-18 09:30:00',
|
|
42
|
-
end: '2022-12-19 23:30:00',
|
|
43
|
-
resourceId: 'r1',
|
|
44
|
-
title: 'I am finished',
|
|
45
|
-
bgColor: '#D9D9D9',
|
|
46
|
-
showPopover: false
|
|
47
|
-
}, {
|
|
48
|
-
id: 2,
|
|
49
|
-
start: '2022-12-18 12:30:00',
|
|
50
|
-
end: '2022-12-26 23:30:00',
|
|
51
|
-
resourceId: 'r2',
|
|
52
|
-
title: 'I am not resizable',
|
|
53
|
-
resizable: false
|
|
54
|
-
}, {
|
|
55
|
-
id: 3,
|
|
56
|
-
start: '2022-12-19 12:30:00',
|
|
57
|
-
end: '2022-12-20 23:30:00',
|
|
58
|
-
resourceId: 'r3',
|
|
59
|
-
title: 'I am not movable',
|
|
60
|
-
movable: false
|
|
61
|
-
}, {
|
|
62
|
-
id: 4,
|
|
63
|
-
start: '2022-12-19 14:30:00',
|
|
64
|
-
end: '2022-12-20 23:30:00',
|
|
65
|
-
resourceId: 'r4',
|
|
66
|
-
title: 'I am not start-resizable',
|
|
67
|
-
startResizable: false
|
|
68
|
-
}, {
|
|
69
|
-
id: 5,
|
|
70
|
-
start: '2022-12-19 15:30:00',
|
|
71
|
-
end: '2022-12-20 23:30:00',
|
|
72
|
-
resourceId: 'r5',
|
|
73
|
-
title: 'I am not end-resizable',
|
|
74
|
-
endResizable: false
|
|
75
|
-
}, {
|
|
76
|
-
id: 6,
|
|
77
|
-
start: '2022-12-19 15:35:00',
|
|
78
|
-
end: '2022-12-19 23:30:00',
|
|
79
|
-
resourceId: 'r6',
|
|
80
|
-
title: 'I am normal'
|
|
81
|
-
}, {
|
|
82
|
-
id: 7,
|
|
83
|
-
start: '2022-12-19 15:40:00',
|
|
84
|
-
end: '2022-12-20 23:30:00',
|
|
85
|
-
resourceId: 'r7',
|
|
86
|
-
title: 'I am exceptional',
|
|
87
|
-
bgColor: '#FA9E95'
|
|
88
|
-
}, {
|
|
89
|
-
id: 8,
|
|
90
|
-
start: '2022-12-19 15:50:00',
|
|
91
|
-
end: '2022-12-19 23:30:00',
|
|
92
|
-
resourceId: 'r1',
|
|
93
|
-
title: 'I am locked',
|
|
94
|
-
movable: false,
|
|
95
|
-
resizable: false,
|
|
96
|
-
bgColor: 'red'
|
|
97
|
-
}, {
|
|
98
|
-
id: 9,
|
|
99
|
-
start: '2022-12-19 16:30:00',
|
|
100
|
-
end: '2022-12-27 23:30:00',
|
|
101
|
-
resourceId: 'r1',
|
|
102
|
-
title: 'R1 has many tasks 1'
|
|
103
|
-
}, {
|
|
104
|
-
id: 10,
|
|
105
|
-
start: '2022-12-19 17:30:00',
|
|
106
|
-
end: '2022-12-19 23:30:00',
|
|
107
|
-
resourceId: 'r1',
|
|
108
|
-
title: 'R1 has recurring tasks every week on Tuesday, Friday',
|
|
109
|
-
rrule: 'FREQ=WEEKLY;DTSTART=20221219T013000Z;BYDAY=TU,FR',
|
|
110
|
-
bgColor: '#f759ab'
|
|
111
|
-
}, {
|
|
112
|
-
id: 11,
|
|
113
|
-
start: '2022-12-19 18:30:00',
|
|
114
|
-
end: '2022-12-20 23:30:00',
|
|
115
|
-
resourceId: 'r1',
|
|
116
|
-
title: 'R1 has many tasks 3'
|
|
117
|
-
}, {
|
|
118
|
-
id: 12,
|
|
119
|
-
start: '2022-12-20 18:30:00',
|
|
120
|
-
end: '2022-12-20 23:30:00',
|
|
121
|
-
resourceId: 'r1',
|
|
122
|
-
title: 'R1 has many tasks 4'
|
|
123
|
-
}, {
|
|
124
|
-
id: 13,
|
|
125
|
-
start: '2022-12-21 18:30:00',
|
|
126
|
-
end: '2022-12-24 23:30:00',
|
|
127
|
-
resourceId: 'r1',
|
|
128
|
-
title: 'R1 has many tasks 5'
|
|
129
|
-
}, {
|
|
130
|
-
id: 14,
|
|
131
|
-
start: '2022-12-23 18:30:00',
|
|
132
|
-
end: '2022-12-27 23:30:00',
|
|
133
|
-
resourceId: 'r1',
|
|
134
|
-
title: 'R1 has many tasks 6'
|
|
135
|
-
}],
|
|
136
|
-
eventsForTaskView: [{
|
|
137
|
-
id: 1,
|
|
138
|
-
start: '2022-12-18 09:30:00',
|
|
139
|
-
end: '2022-12-18 23:30:00',
|
|
140
|
-
resourceId: 'r1',
|
|
141
|
-
title: 'I am finished',
|
|
142
|
-
bgColor: '#D9D9D9',
|
|
143
|
-
groupId: 1,
|
|
144
|
-
groupName: 'Task1'
|
|
145
|
-
}, {
|
|
146
|
-
id: 2,
|
|
147
|
-
start: '2022-12-18 12:30:00',
|
|
148
|
-
end: '2022-12-26 23:30:00',
|
|
149
|
-
resourceId: 'r2',
|
|
150
|
-
title: 'I am not resizable',
|
|
151
|
-
resizable: false,
|
|
152
|
-
groupId: 2,
|
|
153
|
-
groupName: 'Task2'
|
|
154
|
-
}, {
|
|
155
|
-
id: 3,
|
|
156
|
-
start: '2022-12-19 12:30:00',
|
|
157
|
-
end: '2022-12-20 23:30:00',
|
|
158
|
-
resourceId: 'r3',
|
|
159
|
-
title: 'I am not movable',
|
|
160
|
-
movable: false,
|
|
161
|
-
groupId: 3,
|
|
162
|
-
groupName: 'Task3'
|
|
163
|
-
}, {
|
|
164
|
-
id: 7,
|
|
165
|
-
start: '2022-12-19 15:40:00',
|
|
166
|
-
end: '2022-12-20 23:30:00',
|
|
167
|
-
resourceId: 'r7',
|
|
168
|
-
title: 'I am exceptional',
|
|
169
|
-
bgColor: '#FA9E95',
|
|
170
|
-
groupId: 4,
|
|
171
|
-
groupName: 'Task4'
|
|
172
|
-
}, {
|
|
173
|
-
id: 4,
|
|
174
|
-
start: '2022-12-20 14:30:00',
|
|
175
|
-
end: '2022-12-21 23:30:00',
|
|
176
|
-
resourceId: 'r4',
|
|
177
|
-
title: 'I am not start-resizable',
|
|
178
|
-
startResizable: false,
|
|
179
|
-
groupId: 1,
|
|
180
|
-
groupName: 'Task1'
|
|
181
|
-
}, {
|
|
182
|
-
id: 5,
|
|
183
|
-
start: '2022-12-21 15:30:00',
|
|
184
|
-
end: '2022-12-22 23:30:00',
|
|
185
|
-
resourceId: 'r5',
|
|
186
|
-
title: 'I am not end-resizable',
|
|
187
|
-
endResizable: false,
|
|
188
|
-
groupId: 3,
|
|
189
|
-
groupName: 'Task3'
|
|
190
|
-
}, {
|
|
191
|
-
id: 9,
|
|
192
|
-
start: '2022-12-21 16:30:00',
|
|
193
|
-
end: '2022-12-21 23:30:00',
|
|
194
|
-
resourceId: 'r1',
|
|
195
|
-
title: 'R1 has many tasks',
|
|
196
|
-
groupId: 4,
|
|
197
|
-
groupName: 'Task4'
|
|
198
|
-
}, {
|
|
199
|
-
id: 6,
|
|
200
|
-
start: '2022-12-22 15:35:00',
|
|
201
|
-
end: '2022-12-23 23:30:00',
|
|
202
|
-
resourceId: 'r6',
|
|
203
|
-
title: 'I am normal',
|
|
204
|
-
groupId: 1,
|
|
205
|
-
groupName: 'Task1'
|
|
206
|
-
}, {
|
|
207
|
-
id: 8,
|
|
208
|
-
start: '2022-12-25 15:50:00',
|
|
209
|
-
end: '2022-12-26 23:30:00',
|
|
210
|
-
resourceId: 'r1',
|
|
211
|
-
title: 'I am locked',
|
|
212
|
-
movable: false,
|
|
213
|
-
resizable: false,
|
|
214
|
-
bgColor: 'red',
|
|
215
|
-
groupId: 1,
|
|
216
|
-
groupName: 'Task1'
|
|
217
|
-
}, {
|
|
218
|
-
id: 10,
|
|
219
|
-
start: '2022-12-26 18:30:00',
|
|
220
|
-
end: '2022-12-26 23:30:00',
|
|
221
|
-
resourceId: 'r2',
|
|
222
|
-
title: 'R2 has many tasks',
|
|
223
|
-
groupId: 4,
|
|
224
|
-
groupName: 'Task4'
|
|
225
|
-
}, {
|
|
226
|
-
id: 11,
|
|
227
|
-
start: '2022-12-27 18:30:00',
|
|
228
|
-
end: '2022-12-27 23:30:00',
|
|
229
|
-
resourceId: 'r4',
|
|
230
|
-
title: 'R4 has many tasks',
|
|
231
|
-
groupId: 4,
|
|
232
|
-
groupName: 'Task4'
|
|
233
|
-
}, {
|
|
234
|
-
id: 12,
|
|
235
|
-
start: '2022-12-28 18:30:00',
|
|
236
|
-
end: '2022-12-28 23:30:00',
|
|
237
|
-
resourceId: 'r6',
|
|
238
|
-
title: 'R6 has many tasks',
|
|
239
|
-
groupId: 3,
|
|
240
|
-
groupName: 'Task3'
|
|
241
|
-
}],
|
|
242
|
-
eventsForCustomEventStyle: [{
|
|
243
|
-
id: 1,
|
|
244
|
-
start: '2022-12-18 09:30:00',
|
|
245
|
-
end: '2022-12-19 23:30:00',
|
|
246
|
-
resourceId: 'r1',
|
|
247
|
-
title: 'I am finished',
|
|
248
|
-
bgColor: '#D9D9D9',
|
|
249
|
-
type: 1
|
|
250
|
-
}, {
|
|
251
|
-
id: 2,
|
|
252
|
-
start: '2022-12-18 12:30:00',
|
|
253
|
-
end: '2022-12-26 23:30:00',
|
|
254
|
-
resourceId: 'r2',
|
|
255
|
-
title: 'I am not resizable',
|
|
256
|
-
resizable: false,
|
|
257
|
-
type: 2
|
|
258
|
-
}, {
|
|
259
|
-
id: 3,
|
|
260
|
-
start: '2022-12-19 12:30:00',
|
|
261
|
-
end: '2022-12-20 23:30:00',
|
|
262
|
-
resourceId: 'r3',
|
|
263
|
-
title: 'I am not movable',
|
|
264
|
-
movable: false,
|
|
265
|
-
type: 3
|
|
266
|
-
}, {
|
|
267
|
-
id: 4,
|
|
268
|
-
start: '2022-12-19 14:30:00',
|
|
269
|
-
end: '2022-12-20 23:30:00',
|
|
270
|
-
resourceId: 'r4',
|
|
271
|
-
title: 'I am not start-resizable',
|
|
272
|
-
startResizable: false,
|
|
273
|
-
type: 1
|
|
274
|
-
}, {
|
|
275
|
-
id: 5,
|
|
276
|
-
start: '2022-12-19 15:30:00',
|
|
277
|
-
end: '2022-12-20 23:30:00',
|
|
278
|
-
resourceId: 'r5',
|
|
279
|
-
title: 'I am not end-resizable',
|
|
280
|
-
endResizable: false,
|
|
281
|
-
type: 2
|
|
282
|
-
}, {
|
|
283
|
-
id: 6,
|
|
284
|
-
start: '2022-12-19 15:35:00',
|
|
285
|
-
end: '2022-12-19 23:30:00',
|
|
286
|
-
resourceId: 'r6',
|
|
287
|
-
title: 'I am normal',
|
|
288
|
-
type: 3
|
|
289
|
-
}, {
|
|
290
|
-
id: 7,
|
|
291
|
-
start: '2022-12-19 15:40:00',
|
|
292
|
-
end: '2022-12-20 23:30:00',
|
|
293
|
-
resourceId: 'r7',
|
|
294
|
-
title: 'I am exceptional',
|
|
295
|
-
bgColor: '#FA9E95',
|
|
296
|
-
type: 1
|
|
297
|
-
}, {
|
|
298
|
-
id: 8,
|
|
299
|
-
start: '2022-12-19 15:50:00',
|
|
300
|
-
end: '2022-12-19 23:30:00',
|
|
301
|
-
resourceId: 'r1',
|
|
302
|
-
title: 'I am locked',
|
|
303
|
-
movable: false,
|
|
304
|
-
resizable: false,
|
|
305
|
-
bgColor: 'red',
|
|
306
|
-
type: 2
|
|
307
|
-
}, {
|
|
308
|
-
id: 9,
|
|
309
|
-
start: '2022-12-19 16:30:00',
|
|
310
|
-
end: '2022-12-27 23:30:00',
|
|
311
|
-
resourceId: 'r1',
|
|
312
|
-
title: 'R1 has many tasks 1',
|
|
313
|
-
type: 3
|
|
314
|
-
}, {
|
|
315
|
-
id: 10,
|
|
316
|
-
start: '2022-12-20 18:30:00',
|
|
317
|
-
end: '2022-12-20 23:30:00',
|
|
318
|
-
resourceId: 'r1',
|
|
319
|
-
title: 'R1 has many tasks 2',
|
|
320
|
-
type: 1
|
|
321
|
-
}, {
|
|
322
|
-
id: 11,
|
|
323
|
-
start: '2022-12-21 18:30:00',
|
|
324
|
-
end: '2022-12-22 23:30:00',
|
|
325
|
-
resourceId: 'r1',
|
|
326
|
-
title: 'R1 has many tasks 3',
|
|
327
|
-
type: 2
|
|
328
|
-
}, {
|
|
329
|
-
id: 12,
|
|
330
|
-
start: '2022-12-23 18:30:00',
|
|
331
|
-
end: '2022-12-27 23:30:00',
|
|
332
|
-
resourceId: 'r1',
|
|
333
|
-
title: 'R1 has many tasks 4',
|
|
334
|
-
type: 3
|
|
335
|
-
}]
|
|
336
|
-
};
|
|
337
|
-
var _default = exports["default"] = DemoData;
|