seat-editor 3.3.44 → 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/layout.d.ts +1 -1
- package/dist/app/new-board/page.d.ts +1 -1
- package/dist/app/old-board/page.d.ts +2 -1
- package/dist/app/only-view/chair.d.ts +1 -1
- package/dist/app/only-view/chair.js +10 -2
- 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.d.ts +1 -1
- package/dist/app/only-view/page.jsx +8 -8
- package/dist/app/only-view/user.d.ts +1 -1
- package/dist/app/only-view/user.js +10 -2
- package/dist/app/page.d.ts +1 -1
- package/dist/app/test/page.d.ts +2 -1
- package/dist/app/v2/page.d.ts +1 -1
- package/dist/components/button-tools/index.d.ts +1 -1
- package/dist/components/form-tools/label.d.ts +1 -1
- package/dist/components/form-tools/shape.d.ts +1 -1
- package/dist/components/input/number-indicator.d.ts +1 -1
- package/dist/components/joystick/index.d.ts +2 -1
- package/dist/components/layer/index.d.ts +1 -1
- package/dist/components/layer-v2/index.d.ts +1 -1
- package/dist/components/layer-v3/index.d.ts +1 -1
- package/dist/components/layer-v4/index.d.ts +1 -1
- package/dist/components/lib/index.d.ts +1 -1
- package/dist/components/modal-preview/index.d.ts +1 -1
- package/dist/features/board/index.d.ts +1 -1
- package/dist/features/board-v2/index.d.ts +2 -1
- package/dist/features/board-v3/index.d.ts +1 -1
- package/dist/features/board-v3/index.jsx +10 -4
- package/dist/features/navbar/index.d.ts +1 -1
- package/dist/features/package/index.d.ts +1 -1
- package/dist/features/package/index.jsx +8 -2
- package/dist/features/panel/index.d.ts +1 -1
- package/dist/features/panel/select-tool.d.ts +1 -1
- package/dist/features/panel/selected-group.d.ts +1 -1
- package/dist/features/panel/square-circle-tool.d.ts +1 -1
- package/dist/features/panel/table-seat-circle.d.ts +1 -1
- package/dist/features/panel/table-seat-square.d.ts +1 -1
- package/dist/features/panel/text-tool.d.ts +1 -1
- package/dist/features/panel/upload-tool.d.ts +1 -1
- package/dist/features/side-tool/index.d.ts +1 -1
- package/dist/features/view-only/index.d.ts +1 -1
- package/dist/features/view-only-2/index.d.ts +1 -1
- package/dist/features/view-only-2/index.jsx +14 -8
- package/dist/features/view-only-3/index.d.ts +1 -1
- package/dist/features/view-only-3/index.jsx +21 -14
- package/dist/provider/redux-provider.d.ts +1 -1
- package/dist/provider/store-provider.d.ts +1 -1
- 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,
|
package/dist/app/layout.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function NewBoard(): import("react
|
|
1
|
+
export default function NewBoard(): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function ChairIcon(): import("react
|
|
1
|
+
export function ChairIcon(): import("react").JSX.Element;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
1
|
export const ChairIcon = () => {
|
|
3
|
-
return (
|
|
2
|
+
return (<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g clip-path="url(#clip0_3019_14165)">
|
|
4
|
+
<path d="M15.9717 7.5339V4.70339C15.9717 3.07627 14.7076 2.5 13.5189 2.5H6.46226C5.27359 2.5 4.00943 3.07627 4.00943 4.70339V7.5339C3.14151 7.73729 2.5 8.4322 2.5 9.27966V13.822C2.5 15.161 3.5 15.6864 4.48113 15.7373V16.8898C4.48113 17.2288 4.78302 17.5 5.16038 17.5H5.85849C6.23585 17.5 6.53774 17.2288 6.53774 16.8898V15.7373H13.4623V16.8898C13.4623 17.2288 13.7642 17.5 14.1415 17.5H14.8396C15.217 17.5 15.5189 17.2288 15.5189 16.8898V15.7373C16.9717 15.6695 17.5 14.7203 17.5 13.822V9.26271C17.4623 8.4322 16.8208 7.72034 15.9717 7.5339ZM4.68868 4.70339C4.68868 3.31356 5.80189 3.09322 6.46226 3.09322H13.5189C14.1792 3.09322 15.2925 3.29661 15.2925 4.68644V7.4661C14.2736 7.55085 13.4623 8.31356 13.4623 9.26271V9.68644H6.51887V9.26271C6.51887 8.31356 5.70755 7.55085 4.68868 7.4661V4.70339ZM13.4434 10.2966V12.3983H6.51887V10.2966H13.4434ZM5.85849 16.8898H5.16038V15.7373H5.85849V16.8898ZM14.8208 16.8898H14.1226V15.7373H14.8208V16.8898ZM16.8208 13.822H16.8019C16.8019 14.4153 16.5566 15.1441 15.3302 15.1441H14.8208H14.1226H5.85849H5.16038H4.65094C3.99057 15.1441 3.17925 14.9237 3.17925 13.822V9.26271C3.17925 8.6017 3.78302 8.05932 4.51887 8.05932C5.25472 8.05932 5.85849 8.6017 5.85849 9.26271V12.7034C5.85849 12.8729 6.00943 13.0085 6.19811 13.0085H13.8019C13.9906 13.0085 14.1415 12.8729 14.1415 12.7034V9.26271C14.1415 8.6017 14.7453 8.05932 15.4811 8.05932C16.217 8.05932 16.8208 8.6017 16.8208 9.26271V13.822Z" fill="#347ADB" stroke="#347ADB" stroke-width="0.8"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_3019_14165">
|
|
8
|
+
<rect width="16.6667" height="16.6667" fill="white" transform="translate(1.66675 1.6665)"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>);
|
|
4
12
|
};
|
|
@@ -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
|
})[];
|