seat-editor 3.3.45 → 3.3.46
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/dist/app/constant.d.ts +1 -3
- package/dist/app/constant.js +3 -3
- package/dist/app/only-view/constant.d.ts +288 -30
- package/dist/app/only-view/constant.js +7227 -912
- package/dist/app/only-view/page.jsx +7 -7
- package/dist/features/view-only-2/index.jsx +1 -1
- package/dist/features/view-only-3/index.jsx +6 -2
- package/package.json +1 -1
package/dist/app/constant.d.ts
CHANGED
|
@@ -280,10 +280,9 @@ export declare const test4: ({
|
|
|
280
280
|
stroke?: undefined;
|
|
281
281
|
strokeWidth?: undefined;
|
|
282
282
|
text?: undefined;
|
|
283
|
-
status?: undefined;
|
|
284
283
|
};
|
|
285
284
|
} | {
|
|
286
|
-
status:
|
|
285
|
+
status: number;
|
|
287
286
|
rsvp: number;
|
|
288
287
|
properties: {
|
|
289
288
|
x: number;
|
|
@@ -297,7 +296,6 @@ export declare const test4: ({
|
|
|
297
296
|
width: number;
|
|
298
297
|
height: number;
|
|
299
298
|
gapTags: number;
|
|
300
|
-
status: string;
|
|
301
299
|
labels: {
|
|
302
300
|
x: number;
|
|
303
301
|
y: number;
|
package/dist/app/constant.js
CHANGED
|
@@ -3440,8 +3440,8 @@ export const test4 = [
|
|
|
3440
3440
|
}
|
|
3441
3441
|
},
|
|
3442
3442
|
{
|
|
3443
|
-
status:
|
|
3444
|
-
rsvp:
|
|
3443
|
+
status: 1,
|
|
3444
|
+
rsvp: 2,
|
|
3445
3445
|
properties: {
|
|
3446
3446
|
x: 400,
|
|
3447
3447
|
y: 20,
|
|
@@ -3454,7 +3454,7 @@ export const test4 = [
|
|
|
3454
3454
|
width: 100,
|
|
3455
3455
|
height: 100,
|
|
3456
3456
|
gapTags: 20, //gap antara tags secara vertical,
|
|
3457
|
-
status: "hold",
|
|
3457
|
+
// status: "hold",
|
|
3458
3458
|
labels: [
|
|
3459
3459
|
{
|
|
3460
3460
|
x: 0,
|
|
@@ -18,43 +18,301 @@ export declare const dummyImage: {
|
|
|
18
18
|
}[];
|
|
19
19
|
}[];
|
|
20
20
|
export declare const dataDummy: ({
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
21
|
+
uuid_table: string;
|
|
22
|
+
uuid_rsvp: string;
|
|
23
|
+
uuid_event_outlet: any;
|
|
24
|
+
uuid_reserved: any;
|
|
25
|
+
uuid_rsvp_table: string;
|
|
26
|
+
code: string;
|
|
27
|
+
name: string;
|
|
28
|
+
capacity: number;
|
|
29
|
+
pax: {
|
|
30
|
+
adults: number;
|
|
31
|
+
};
|
|
32
|
+
req_pax: {
|
|
33
|
+
adults: number;
|
|
34
|
+
};
|
|
35
|
+
total_pax: number;
|
|
36
|
+
total_req_pax: number;
|
|
37
|
+
uuid_status: string;
|
|
38
|
+
status_bg_color: string;
|
|
39
|
+
status_name: string;
|
|
40
|
+
status_color: string;
|
|
41
|
+
status_icon: string;
|
|
42
|
+
title: string;
|
|
43
|
+
firstname: string;
|
|
44
|
+
lastname: string;
|
|
45
|
+
fullname: string;
|
|
46
|
+
ranks: {
|
|
47
|
+
name: string;
|
|
48
|
+
image: string;
|
|
49
|
+
}[];
|
|
50
|
+
tags: any;
|
|
51
|
+
rank_sp: string;
|
|
52
|
+
rank_ts: string;
|
|
53
|
+
start_date: string;
|
|
54
|
+
end_date: string;
|
|
55
|
+
start_time: string;
|
|
56
|
+
end_time: string;
|
|
57
|
+
walk_in: number;
|
|
58
|
+
dp_amount: string;
|
|
59
|
+
dp_status: number;
|
|
60
|
+
online_payment: number;
|
|
61
|
+
rsvp_type: number;
|
|
62
|
+
rsvp_input: number;
|
|
63
|
+
is_reserved: number;
|
|
64
|
+
is_hold: number;
|
|
65
|
+
is_lock: number;
|
|
66
|
+
is_overtime: number;
|
|
67
|
+
is_upcoming: number;
|
|
68
|
+
conflicted: number;
|
|
69
|
+
is_late: number;
|
|
70
|
+
properties: {
|
|
71
|
+
x: number;
|
|
34
72
|
y: number;
|
|
73
|
+
id: string;
|
|
74
|
+
fill: string;
|
|
75
|
+
tags: ({
|
|
76
|
+
gap: string;
|
|
77
|
+
key: string;
|
|
78
|
+
items: {
|
|
79
|
+
type: string;
|
|
80
|
+
value: string;
|
|
81
|
+
}[];
|
|
82
|
+
direction: string;
|
|
83
|
+
offsetX?: undefined;
|
|
84
|
+
offsetY?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
gap: string;
|
|
87
|
+
key: string;
|
|
88
|
+
items: {
|
|
89
|
+
type: string;
|
|
90
|
+
value: string;
|
|
91
|
+
}[];
|
|
92
|
+
offsetX: string;
|
|
93
|
+
offsetY: string;
|
|
94
|
+
direction: string;
|
|
95
|
+
} | {
|
|
96
|
+
gap: string;
|
|
97
|
+
key: string;
|
|
98
|
+
items: {
|
|
99
|
+
type: string;
|
|
100
|
+
value: string;
|
|
101
|
+
fontWeight: string;
|
|
102
|
+
textDecoration: string;
|
|
103
|
+
}[];
|
|
104
|
+
offsetY: string;
|
|
105
|
+
direction: string;
|
|
106
|
+
offsetX?: undefined;
|
|
107
|
+
})[];
|
|
108
|
+
shape: string;
|
|
109
|
+
width: number;
|
|
110
|
+
height: number;
|
|
111
|
+
labels: {
|
|
112
|
+
x: number;
|
|
113
|
+
y: number;
|
|
114
|
+
label: string;
|
|
115
|
+
fontSize: number;
|
|
116
|
+
fontColor: string;
|
|
117
|
+
}[];
|
|
118
|
+
opacity: number;
|
|
119
|
+
rotation: number;
|
|
120
|
+
seatCount: number;
|
|
121
|
+
uuid_table: string;
|
|
122
|
+
stroke?: undefined;
|
|
123
|
+
};
|
|
124
|
+
image_mapping: ({
|
|
125
|
+
x: number;
|
|
126
|
+
y: number;
|
|
127
|
+
id: string;
|
|
128
|
+
src: string;
|
|
129
|
+
image: string;
|
|
130
|
+
shape: string;
|
|
131
|
+
width: number;
|
|
132
|
+
height: number;
|
|
133
|
+
fill?: undefined;
|
|
35
134
|
} | {
|
|
36
|
-
|
|
135
|
+
x: number;
|
|
37
136
|
y: number;
|
|
38
|
-
|
|
137
|
+
id: string;
|
|
138
|
+
shape: string;
|
|
139
|
+
width: number;
|
|
140
|
+
height: number;
|
|
141
|
+
src?: undefined;
|
|
142
|
+
image?: undefined;
|
|
143
|
+
fill?: undefined;
|
|
144
|
+
} | {
|
|
145
|
+
x: number;
|
|
146
|
+
y: number;
|
|
147
|
+
id: string;
|
|
148
|
+
fill: string;
|
|
149
|
+
shape: string;
|
|
150
|
+
width: number;
|
|
151
|
+
height: number;
|
|
152
|
+
src?: undefined;
|
|
153
|
+
image?: undefined;
|
|
39
154
|
})[];
|
|
155
|
+
upcomings: {
|
|
156
|
+
time: string;
|
|
157
|
+
uuid: string;
|
|
158
|
+
}[];
|
|
159
|
+
areas: {
|
|
160
|
+
name: string;
|
|
161
|
+
uuid: string;
|
|
162
|
+
}[];
|
|
163
|
+
sections: {
|
|
164
|
+
icon: string;
|
|
165
|
+
name: string;
|
|
166
|
+
uuid: string;
|
|
167
|
+
image: any;
|
|
168
|
+
}[];
|
|
40
169
|
} | {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
170
|
+
uuid_table: string;
|
|
171
|
+
uuid_rsvp: string;
|
|
172
|
+
uuid_event_outlet: any;
|
|
173
|
+
uuid_reserved: any;
|
|
174
|
+
uuid_rsvp_table: string;
|
|
175
|
+
code: string;
|
|
176
|
+
name: string;
|
|
177
|
+
capacity: number;
|
|
178
|
+
pax: {
|
|
179
|
+
adults: number;
|
|
180
|
+
};
|
|
181
|
+
req_pax: {
|
|
182
|
+
adults: number;
|
|
183
|
+
};
|
|
184
|
+
total_pax: number;
|
|
185
|
+
total_req_pax: number;
|
|
186
|
+
uuid_status: string;
|
|
187
|
+
status_bg_color: string;
|
|
188
|
+
status_name: string;
|
|
189
|
+
status_color: string;
|
|
190
|
+
status_icon: string;
|
|
191
|
+
title: string;
|
|
192
|
+
firstname: string;
|
|
193
|
+
lastname: string;
|
|
194
|
+
fullname: string;
|
|
195
|
+
ranks: {
|
|
196
|
+
name: string;
|
|
197
|
+
image: string;
|
|
198
|
+
}[];
|
|
199
|
+
tags: any;
|
|
200
|
+
rank_sp: string;
|
|
201
|
+
rank_ts: string;
|
|
202
|
+
start_date: string;
|
|
203
|
+
end_date: string;
|
|
204
|
+
start_time: string;
|
|
205
|
+
end_time: string;
|
|
206
|
+
walk_in: number;
|
|
207
|
+
dp_amount: string;
|
|
208
|
+
dp_status: number;
|
|
209
|
+
online_payment: number;
|
|
210
|
+
rsvp_type: number;
|
|
211
|
+
rsvp_input: number;
|
|
212
|
+
is_reserved: number;
|
|
213
|
+
is_hold: number;
|
|
214
|
+
is_lock: number;
|
|
215
|
+
is_overtime: number;
|
|
216
|
+
is_upcoming: number;
|
|
217
|
+
conflicted: number;
|
|
218
|
+
is_late: number;
|
|
219
|
+
properties: {
|
|
220
|
+
x: number;
|
|
54
221
|
y: number;
|
|
222
|
+
id: string;
|
|
223
|
+
fill: string;
|
|
224
|
+
tags: ({
|
|
225
|
+
gap: string;
|
|
226
|
+
key: string;
|
|
227
|
+
items: {
|
|
228
|
+
type: string;
|
|
229
|
+
value: string;
|
|
230
|
+
}[];
|
|
231
|
+
direction: string;
|
|
232
|
+
offsetX?: undefined;
|
|
233
|
+
offsetY?: undefined;
|
|
234
|
+
} | {
|
|
235
|
+
gap: string;
|
|
236
|
+
key: string;
|
|
237
|
+
items: {
|
|
238
|
+
type: string;
|
|
239
|
+
value: string;
|
|
240
|
+
}[];
|
|
241
|
+
offsetX: string;
|
|
242
|
+
offsetY: string;
|
|
243
|
+
direction: string;
|
|
244
|
+
} | {
|
|
245
|
+
gap: string;
|
|
246
|
+
key: string;
|
|
247
|
+
items: {
|
|
248
|
+
type: string;
|
|
249
|
+
value: string;
|
|
250
|
+
fontWeight: string;
|
|
251
|
+
textDecoration: string;
|
|
252
|
+
}[];
|
|
253
|
+
offsetY: string;
|
|
254
|
+
direction: string;
|
|
255
|
+
offsetX?: undefined;
|
|
256
|
+
})[];
|
|
257
|
+
shape: string;
|
|
258
|
+
width: number;
|
|
259
|
+
height: number;
|
|
260
|
+
labels: {
|
|
261
|
+
x: number;
|
|
262
|
+
y: number;
|
|
263
|
+
label: string;
|
|
264
|
+
fontSize: number;
|
|
265
|
+
fontColor: string;
|
|
266
|
+
}[];
|
|
267
|
+
stroke: string;
|
|
268
|
+
opacity: number;
|
|
269
|
+
rotation: number;
|
|
270
|
+
seatCount: number;
|
|
271
|
+
uuid_table: string;
|
|
272
|
+
};
|
|
273
|
+
image_mapping: ({
|
|
274
|
+
x: number;
|
|
275
|
+
y: number;
|
|
276
|
+
id: string;
|
|
277
|
+
src: string;
|
|
278
|
+
image: string;
|
|
279
|
+
shape: string;
|
|
280
|
+
width: number;
|
|
281
|
+
height: number;
|
|
282
|
+
fill?: undefined;
|
|
55
283
|
} | {
|
|
56
|
-
|
|
284
|
+
x: number;
|
|
285
|
+
y: number;
|
|
286
|
+
id: string;
|
|
287
|
+
shape: string;
|
|
288
|
+
width: number;
|
|
289
|
+
height: number;
|
|
290
|
+
src?: undefined;
|
|
291
|
+
image?: undefined;
|
|
292
|
+
fill?: undefined;
|
|
293
|
+
} | {
|
|
294
|
+
x: number;
|
|
57
295
|
y: number;
|
|
58
|
-
|
|
296
|
+
id: string;
|
|
297
|
+
fill: string;
|
|
298
|
+
shape: string;
|
|
299
|
+
width: number;
|
|
300
|
+
height: number;
|
|
301
|
+
src?: undefined;
|
|
302
|
+
image?: undefined;
|
|
59
303
|
})[];
|
|
304
|
+
upcomings: {
|
|
305
|
+
time: string;
|
|
306
|
+
uuid: string;
|
|
307
|
+
}[];
|
|
308
|
+
areas: {
|
|
309
|
+
name: string;
|
|
310
|
+
uuid: string;
|
|
311
|
+
}[];
|
|
312
|
+
sections: {
|
|
313
|
+
icon: string;
|
|
314
|
+
name: string;
|
|
315
|
+
uuid: string;
|
|
316
|
+
image: any;
|
|
317
|
+
}[];
|
|
60
318
|
})[];
|