@jsb188/calendar 1.1.10 → 1.1.11
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 +8 -6
- package/src/constants/calendar.ts +8 -1
- package/src/libs/calendar-geometry.ts +167 -91
- package/src/libs/calendar-gesture.ts +58 -15
- package/src/libs/calendar-now.ts +39 -0
- package/src/libs/calendar-range.ts +86 -27
- package/src/libs/calendar-state.ts +10 -3
- package/src/libs/calendar-url.ts +31 -8
- package/src/main.ts +3 -0
- package/src/modules/Calendar.tsx +369 -275
- package/src/modules/MiniCalendar.tsx +370 -0
- package/src/ui/CalendarAgendaUI.tsx +31 -11
- package/src/ui/CalendarCoverageUI.tsx +66 -23
- package/src/ui/CalendarEventDetailUI.tsx +122 -117
- package/src/ui/CalendarEventFormUI.tsx +86 -59
- package/src/ui/CalendarMonthUI.tsx +25 -21
- package/src/ui/CalendarRailUI.tsx +199 -139
- package/src/ui/CalendarRequestUI.tsx +216 -177
- package/src/ui/CalendarToolbarUI.tsx +27 -18
- package/src/ui/CalendarUI.tsx +255 -229
- package/src/ui/CalendarViolationUI.tsx +53 -30
- package/src/ui/CalendarYearUI.tsx +36 -50
- package/tests/calendar-geometry.test.ts +226 -78
- package/tests/calendar-gesture.test.ts +43 -12
- package/tests/calendar-range.test.ts +159 -33
- package/tests/calendar-url.test.ts +55 -12
package/src/ui/CalendarUI.tsx
CHANGED
|
@@ -6,7 +6,10 @@ import {
|
|
|
6
6
|
CALENDAR_GUTTER_WIDTH,
|
|
7
7
|
} from '../constants/calendar.ts';
|
|
8
8
|
import type { CalendarAllDayBarObj } from '../libs/calendar-geometry.ts';
|
|
9
|
-
import type {
|
|
9
|
+
import type {
|
|
10
|
+
CalendarDayObj,
|
|
11
|
+
CalendarEventLayoutObj,
|
|
12
|
+
} from '../types/calendar.d.ts';
|
|
10
13
|
|
|
11
14
|
/**
|
|
12
15
|
* Stateless calendar UI.
|
|
@@ -27,70 +30,63 @@ import type { CalendarDayObj, CalendarEventLayoutObj } from '../types/calendar.d
|
|
|
27
30
|
* The left-hand hour labels.
|
|
28
31
|
*/
|
|
29
32
|
|
|
30
|
-
export const CalendarTimeGutterUI = memo(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
export const CalendarTimeGutterUI = memo(
|
|
34
|
+
(p: {
|
|
35
|
+
hourHeight: number;
|
|
36
|
+
// Labels for hours 0..23, already formatted and localized by the caller
|
|
37
|
+
hourLabels: string[];
|
|
38
|
+
}) => {
|
|
39
|
+
const { hourHeight, hourLabels } = p;
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
);
|
|
56
|
-
});
|
|
41
|
+
return (
|
|
42
|
+
<div className="no_shrink rel" style={{ width: CALENDAR_GUTTER_WIDTH }}>
|
|
43
|
+
{hourLabels.map((label, hour) => (
|
|
44
|
+
<div
|
|
45
|
+
key={hour}
|
|
46
|
+
className="abs w_f a_r ft_tn cl_lt"
|
|
47
|
+
// Pulled up by half a line so the label sits ON its gridline
|
|
48
|
+
// rather than hanging below it. Midnight is unlabelled: it is
|
|
49
|
+
// the day boundary the header already names.
|
|
50
|
+
style={{ top: hour * hourHeight - 7, paddingRight: 6 }}
|
|
51
|
+
>
|
|
52
|
+
{hour === 0 ? null : label}
|
|
53
|
+
</div>
|
|
54
|
+
))}
|
|
55
|
+
</div>
|
|
56
|
+
);
|
|
57
|
+
},
|
|
58
|
+
);
|
|
57
59
|
|
|
58
60
|
/**
|
|
59
61
|
* The horizontal hour lines behind the day columns.
|
|
60
62
|
*/
|
|
61
63
|
|
|
62
|
-
export const CalendarHourLinesUI = memo(
|
|
63
|
-
hourCount: number;
|
|
64
|
-
|
|
65
|
-
}) => {
|
|
66
|
-
const { hourCount, hourHeight } = p;
|
|
64
|
+
export const CalendarHourLinesUI = memo(
|
|
65
|
+
(p: { hourCount: number; hourHeight: number }) => {
|
|
66
|
+
const { hourCount, hourHeight } = p;
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
68
|
+
return (
|
|
69
|
+
<>
|
|
70
|
+
{Array.from({ length: hourCount }, (_unused, hour) => (
|
|
71
|
+
<div
|
|
72
|
+
key={hour}
|
|
73
|
+
className="abs w_f bd_t_1 bd_t_bd"
|
|
74
|
+
style={{ top: hour * hourHeight }}
|
|
75
|
+
/>
|
|
76
|
+
))}
|
|
77
|
+
</>
|
|
78
|
+
);
|
|
79
|
+
},
|
|
80
|
+
);
|
|
80
81
|
|
|
81
82
|
/**
|
|
82
83
|
* The "now" line, drawn only on the day that is actually today.
|
|
83
84
|
*/
|
|
84
85
|
|
|
85
|
-
export const CalendarNowLineUI = memo((p: {
|
|
86
|
-
topOffset: number;
|
|
87
|
-
}) => {
|
|
86
|
+
export const CalendarNowLineUI = memo((p: { topOffset: number }) => {
|
|
88
87
|
return (
|
|
89
|
-
<div
|
|
90
|
-
className=
|
|
91
|
-
style={{ top: p.topOffset }}
|
|
92
|
-
>
|
|
93
|
-
<div className='bg_red' style={{ height: 2 }} />
|
|
88
|
+
<div className="abs w_f z3" style={{ top: p.topOffset }}>
|
|
89
|
+
<div className="bg_red" style={{ height: 2 }} />
|
|
94
90
|
</div>
|
|
95
91
|
);
|
|
96
92
|
});
|
|
@@ -131,181 +127,209 @@ export interface CalendarEventUIProps {
|
|
|
131
127
|
* One event block in the time grid.
|
|
132
128
|
*/
|
|
133
129
|
|
|
134
|
-
export const CalendarEventUI = memo(
|
|
135
|
-
|
|
136
|
-
|
|
130
|
+
export const CalendarEventUI = memo(
|
|
131
|
+
(p: CalendarEventUIProps) => {
|
|
132
|
+
const { layout, hourHeight, selected, editable, timeLabel, onSelect } = p;
|
|
133
|
+
const { event } = layout;
|
|
137
134
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
const top = (layout.startMinute / 60) * hourHeight;
|
|
136
|
+
// Never shorter than a line of text, or it stops being clickable
|
|
137
|
+
const height = Math.max(
|
|
138
|
+
((layout.endMinute - layout.startMinute) / 60) * hourHeight,
|
|
139
|
+
16,
|
|
140
|
+
);
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
142
|
+
return (
|
|
143
|
+
<button
|
|
144
|
+
type="button"
|
|
145
|
+
className={cn(
|
|
146
|
+
'abs of a_l r_xs bd_1 bd_bd',
|
|
147
|
+
// A stacked event has to paint over the ones behind it, and the
|
|
148
|
+
// selected one over everything
|
|
149
|
+
selected ? 'z3' : 'z2',
|
|
150
|
+
getCalendarEventStatusClassName(event.status),
|
|
151
|
+
event.isMine ? 'bg_active' : 'bg_alt',
|
|
152
|
+
)}
|
|
153
|
+
style={{
|
|
154
|
+
top,
|
|
155
|
+
height,
|
|
156
|
+
left: `${layout.left * 100}%`,
|
|
157
|
+
width: `calc(${layout.width * 100}% - 2px)`,
|
|
158
|
+
paddingLeft: 4,
|
|
159
|
+
paddingRight: 4,
|
|
160
|
+
// A continued block keeps square edges where it was cut, so the
|
|
161
|
+
// user can see it runs off the end of the day
|
|
162
|
+
borderTopLeftRadius: layout.continuesFromPreviousDay ? 0 : undefined,
|
|
163
|
+
borderTopRightRadius: layout.continuesFromPreviousDay ? 0 : undefined,
|
|
164
|
+
borderBottomLeftRadius: layout.continuesToNextDay ? 0 : undefined,
|
|
165
|
+
borderBottomRightRadius: layout.continuesToNextDay ? 0 : undefined,
|
|
166
|
+
borderLeftColor: event.color || undefined,
|
|
167
|
+
borderLeftWidth: event.color ? 3 : undefined,
|
|
168
|
+
}}
|
|
169
|
+
onClick={() => onSelect(event.id)}
|
|
170
|
+
aria-current={selected ? 'true' : undefined}
|
|
171
|
+
data-calendar-event-id={event.id}
|
|
172
|
+
>
|
|
173
|
+
<span className="ellip ft_tn ft_bold">{event.title}</span>
|
|
174
174
|
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
{/* Below roughly 40 minutes there is only room for one line */}
|
|
176
|
+
{height >= 32 ? (
|
|
177
|
+
<span className="ellip ft_tn cl_lt">{timeLabel}</span>
|
|
178
|
+
) : null}
|
|
177
179
|
|
|
178
|
-
|
|
180
|
+
{/* Resize grips. Only offered when the block is tall enough to leave
|
|
179
181
|
a middle over to grab for moving — on a short block the grips
|
|
180
182
|
would cover the whole thing and moving would become impossible */}
|
|
181
|
-
|
|
182
|
-
? (
|
|
183
|
+
{editable && height >= 28 ? (
|
|
183
184
|
<>
|
|
184
185
|
<span
|
|
185
|
-
className=
|
|
186
|
-
style={{
|
|
187
|
-
|
|
186
|
+
className="abs w_f"
|
|
187
|
+
style={{
|
|
188
|
+
top: 0,
|
|
189
|
+
left: 0,
|
|
190
|
+
height: 6,
|
|
191
|
+
cursor: 'ns-resize',
|
|
192
|
+
touchAction: 'none',
|
|
193
|
+
}}
|
|
194
|
+
data-calendar-edge="START"
|
|
188
195
|
/>
|
|
189
196
|
<span
|
|
190
|
-
className=
|
|
191
|
-
style={{
|
|
192
|
-
|
|
197
|
+
className="abs w_f"
|
|
198
|
+
style={{
|
|
199
|
+
bottom: 0,
|
|
200
|
+
left: 0,
|
|
201
|
+
height: 6,
|
|
202
|
+
cursor: 'ns-resize',
|
|
203
|
+
touchAction: 'none',
|
|
204
|
+
}}
|
|
205
|
+
data-calendar-edge="END"
|
|
193
206
|
/>
|
|
194
207
|
</>
|
|
195
|
-
)
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
208
|
+
) : null}
|
|
209
|
+
</button>
|
|
210
|
+
);
|
|
211
|
+
},
|
|
212
|
+
(prev, next) =>
|
|
213
|
+
// The layout objects are rebuilt on every data change, so comparing them by
|
|
214
|
+
// identity would defeat the memo; compare what is actually drawn
|
|
215
|
+
prev.layout.event === next.layout.event &&
|
|
216
|
+
prev.layout.startMinute === next.layout.startMinute &&
|
|
217
|
+
prev.layout.endMinute === next.layout.endMinute &&
|
|
218
|
+
prev.layout.left === next.layout.left &&
|
|
219
|
+
prev.layout.width === next.layout.width &&
|
|
220
|
+
prev.layout.continuesFromPreviousDay ===
|
|
221
|
+
next.layout.continuesFromPreviousDay &&
|
|
222
|
+
prev.layout.continuesToNextDay === next.layout.continuesToNextDay &&
|
|
223
|
+
prev.hourHeight === next.hourHeight &&
|
|
224
|
+
prev.selected === next.selected &&
|
|
225
|
+
prev.editable === next.editable &&
|
|
226
|
+
prev.timeLabel === next.timeLabel &&
|
|
227
|
+
prev.onSelect === next.onSelect,
|
|
228
|
+
);
|
|
215
229
|
|
|
216
230
|
/**
|
|
217
231
|
* The all-day band above the time grid.
|
|
218
232
|
*/
|
|
219
233
|
|
|
220
|
-
export const CalendarAllDayBandUI = memo(
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
234
|
+
export const CalendarAllDayBandUI = memo(
|
|
235
|
+
(p: {
|
|
236
|
+
bars: CalendarAllDayBarObj[];
|
|
237
|
+
dayCount: number;
|
|
238
|
+
selectedEventId: string | null;
|
|
239
|
+
onSelect: (eventId: string) => void;
|
|
240
|
+
}) => {
|
|
241
|
+
const { bars, dayCount, selectedEventId, onSelect } = p;
|
|
227
242
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
243
|
+
if (!bars.length) {
|
|
244
|
+
return null;
|
|
245
|
+
}
|
|
231
246
|
|
|
232
|
-
|
|
247
|
+
const rowCount = Math.max(...bars.map((bar) => bar.row)) + 1;
|
|
233
248
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
249
|
+
return (
|
|
250
|
+
<div
|
|
251
|
+
className="no_shrink rel bd_b_1 bd_b_bd"
|
|
252
|
+
style={{
|
|
253
|
+
marginLeft: CALENDAR_GUTTER_WIDTH,
|
|
254
|
+
height: rowCount * (CALENDAR_ALL_DAY_ROW_HEIGHT + 2) + 4,
|
|
255
|
+
}}
|
|
256
|
+
>
|
|
257
|
+
{bars.map((bar) => (
|
|
258
|
+
<button
|
|
259
|
+
key={bar.event.id}
|
|
260
|
+
type="button"
|
|
261
|
+
className={cn(
|
|
262
|
+
'abs of a_l r_xs ellip ft_tn',
|
|
263
|
+
getCalendarEventStatusClassName(bar.event.status),
|
|
264
|
+
bar.event.isMine ? 'bg_active' : 'bg_alt',
|
|
265
|
+
selectedEventId === bar.event.id ? 'z3' : 'z2',
|
|
266
|
+
)}
|
|
267
|
+
style={{
|
|
268
|
+
top: bar.row * (CALENDAR_ALL_DAY_ROW_HEIGHT + 2) + 2,
|
|
269
|
+
height: CALENDAR_ALL_DAY_ROW_HEIGHT,
|
|
270
|
+
left: `${(bar.startDayIndex / dayCount) * 100}%`,
|
|
271
|
+
width: `calc(${((bar.endDayIndex - bar.startDayIndex + 1) / dayCount) * 100}% - 2px)`,
|
|
272
|
+
paddingLeft: 4,
|
|
273
|
+
paddingRight: 4,
|
|
274
|
+
borderTopLeftRadius: bar.continuesFromPreviousDay ? 0 : undefined,
|
|
275
|
+
borderBottomLeftRadius: bar.continuesFromPreviousDay
|
|
276
|
+
? 0
|
|
277
|
+
: undefined,
|
|
278
|
+
borderTopRightRadius: bar.continuesToNextDay ? 0 : undefined,
|
|
279
|
+
borderBottomRightRadius: bar.continuesToNextDay ? 0 : undefined,
|
|
280
|
+
}}
|
|
281
|
+
onClick={() => onSelect(bar.event.id)}
|
|
282
|
+
aria-current={selectedEventId === bar.event.id ? 'true' : undefined}
|
|
283
|
+
>
|
|
284
|
+
{bar.event.title}
|
|
285
|
+
</button>
|
|
286
|
+
))}
|
|
287
|
+
</div>
|
|
288
|
+
);
|
|
289
|
+
},
|
|
290
|
+
);
|
|
273
291
|
|
|
274
292
|
/**
|
|
275
293
|
* The day-of-week header row above the grid.
|
|
276
294
|
*/
|
|
277
295
|
|
|
278
|
-
export const CalendarDayHeaderUI = memo(
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
296
|
+
export const CalendarDayHeaderUI = memo(
|
|
297
|
+
(p: {
|
|
298
|
+
days: CalendarDayObj[];
|
|
299
|
+
// Pre-formatted per day: the weekday abbreviation and the day number
|
|
300
|
+
dayLabels: Array<{ weekday: string; dayNumber: string }>;
|
|
301
|
+
onSelectDay?: (dateKey: string) => void;
|
|
302
|
+
}) => {
|
|
303
|
+
const { days, dayLabels, onSelectDay } = p;
|
|
285
304
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
305
|
+
return (
|
|
306
|
+
<div
|
|
307
|
+
className="no_shrink h_stretch bd_b_1 bd_b_bd"
|
|
308
|
+
style={{ marginLeft: CALENDAR_GUTTER_WIDTH }}
|
|
309
|
+
>
|
|
310
|
+
{days.map((day, index) => (
|
|
311
|
+
<button
|
|
312
|
+
key={day.dateKey}
|
|
313
|
+
type="button"
|
|
314
|
+
className={cn('f a_c', day.isWeekend ? 'bg_alt' : '')}
|
|
315
|
+
style={{ paddingTop: 4, paddingBottom: 4 }}
|
|
316
|
+
disabled={!onSelectDay}
|
|
317
|
+
onClick={onSelectDay ? () => onSelectDay(day.dateKey) : undefined}
|
|
318
|
+
>
|
|
319
|
+
<span className="ellip ft_tn cl_lt">
|
|
320
|
+
{dayLabels[index]?.weekday}
|
|
321
|
+
</span>
|
|
322
|
+
<span
|
|
323
|
+
className={cn('ellip ft_sm', day.isToday ? 'ft_bold' : 'cl_md')}
|
|
324
|
+
>
|
|
325
|
+
{dayLabels[index]?.dayNumber}
|
|
326
|
+
</span>
|
|
327
|
+
</button>
|
|
328
|
+
))}
|
|
329
|
+
</div>
|
|
330
|
+
);
|
|
331
|
+
},
|
|
332
|
+
);
|
|
309
333
|
|
|
310
334
|
/**
|
|
311
335
|
* The ghost block shown while a range is being drawn, moved, or resized.
|
|
@@ -315,33 +339,35 @@ export const CalendarDayHeaderUI = memo((p: {
|
|
|
315
339
|
* than something that exists yet.
|
|
316
340
|
*/
|
|
317
341
|
|
|
318
|
-
export const CalendarDraftBlockUI = memo(
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
342
|
+
export const CalendarDraftBlockUI = memo(
|
|
343
|
+
(p: {
|
|
344
|
+
startMinute: number;
|
|
345
|
+
endMinute: number;
|
|
346
|
+
hourHeight: number;
|
|
347
|
+
label: string;
|
|
348
|
+
}) => {
|
|
349
|
+
const { startMinute, endMinute, hourHeight, label } = p;
|
|
325
350
|
|
|
326
|
-
|
|
327
|
-
|
|
351
|
+
const top = (startMinute / 60) * hourHeight;
|
|
352
|
+
const height = Math.max(((endMinute - startMinute) / 60) * hourHeight, 16);
|
|
328
353
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}
|
|
354
|
+
return (
|
|
355
|
+
<div
|
|
356
|
+
className="abs of a_l r_xs bd_1 bd_bd bg_active z4"
|
|
357
|
+
style={{
|
|
358
|
+
top,
|
|
359
|
+
height,
|
|
360
|
+
left: 0,
|
|
361
|
+
width: 'calc(100% - 2px)',
|
|
362
|
+
paddingLeft: 4,
|
|
363
|
+
paddingRight: 4,
|
|
364
|
+
opacity: 0.8,
|
|
365
|
+
// The ghost must never eat the pointer stream that is drawing it
|
|
366
|
+
pointerEvents: 'none',
|
|
367
|
+
}}
|
|
368
|
+
>
|
|
369
|
+
<span className="ellip ft_tn ft_bold">{label}</span>
|
|
370
|
+
</div>
|
|
371
|
+
);
|
|
372
|
+
},
|
|
373
|
+
);
|