tickera-angular-components 0.0.1-dev.5 → 0.0.1-dev.51
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/fesm2022/tickera-angular-components.mjs +3213 -337
- package/fesm2022/tickera-angular-components.mjs.map +1 -1
- package/i18n/en.json +22 -1
- package/i18n/es.json +22 -1
- package/index.d.ts +1300 -385
- package/package.json +1 -1
- package/tickera.styles.css +1 -1
package/index.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter, Injector, Type, OnInit,
|
|
2
|
+
import { InjectionToken, EnvironmentProviders, WritableSignal, Signal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type, OnInit, ElementRef, AfterViewInit } from '@angular/core';
|
|
3
3
|
import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
|
6
|
+
import { ShapeConfig, Shape } from 'konva/lib/Shape';
|
|
7
|
+
import { Context } from 'konva/lib/Context';
|
|
6
8
|
import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, FormControl } from '@angular/forms';
|
|
7
9
|
import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
|
|
10
|
+
import { Stage } from 'konva/lib/Stage';
|
|
8
11
|
import { Toolbar, Editor } from 'ngx-editor';
|
|
9
|
-
import { Router } from '@angular/router';
|
|
12
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
13
|
+
import { StageComponent } from 'ng2-konva';
|
|
14
|
+
import * as tickera_angular_components from 'tickera-angular-components';
|
|
10
15
|
|
|
11
16
|
interface TickeraComponentsConfig {
|
|
12
17
|
apiUrl: string;
|
|
@@ -14,6 +19,7 @@ interface TickeraComponentsConfig {
|
|
|
14
19
|
defaultLang?: string;
|
|
15
20
|
availableLangs?: string[];
|
|
16
21
|
}
|
|
22
|
+
|
|
17
23
|
declare const TICKERA_COMPONENTS_CONFIG: InjectionToken<TickeraComponentsConfig>;
|
|
18
24
|
declare function provideTickeraComponents(config: TickeraComponentsConfig): EnvironmentProviders;
|
|
19
25
|
|
|
@@ -33,15 +39,6 @@ declare const ALERT_ICONS: {
|
|
|
33
39
|
info: string;
|
|
34
40
|
};
|
|
35
41
|
|
|
36
|
-
declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
|
|
37
|
-
declare const BASE_BUTTON_CLASSES = "btn";
|
|
38
|
-
declare const BUTTON_SIZES_CLASSES: Record<string, string>;
|
|
39
|
-
|
|
40
|
-
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
41
|
-
|
|
42
|
-
declare const BASE_INPUT_CLASSES: string;
|
|
43
|
-
declare const ERROR_INPUT_CLASSES: string;
|
|
44
|
-
|
|
45
42
|
declare const ADMIN_API_ROUTES: {
|
|
46
43
|
FIND_ALL: string;
|
|
47
44
|
CREATE: string;
|
|
@@ -65,10 +62,10 @@ declare const COUNTRY_API_ENDPOINTS: {
|
|
|
65
62
|
delete: (id: number) => string;
|
|
66
63
|
};
|
|
67
64
|
|
|
68
|
-
declare const
|
|
65
|
+
declare const CUSTOMERS_API_ROUTES: {
|
|
69
66
|
findAll: string;
|
|
70
67
|
create: string;
|
|
71
|
-
|
|
68
|
+
findOne: (id: number) => string;
|
|
72
69
|
update: (id: number) => string;
|
|
73
70
|
delete: (id: number) => string;
|
|
74
71
|
};
|
|
@@ -90,12 +87,49 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
90
87
|
publicAvailablePerformances: string;
|
|
91
88
|
};
|
|
92
89
|
|
|
90
|
+
declare const PRICE_ZONES_API_ROUTES: {
|
|
91
|
+
FIND_ALL: string;
|
|
92
|
+
CREATE: string;
|
|
93
|
+
findOneById: (id: number) => string;
|
|
94
|
+
update: (id: number) => string;
|
|
95
|
+
delete: (id: number) => string;
|
|
96
|
+
updateElements: (id: number) => string;
|
|
97
|
+
duplicate: (id: number) => string;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
declare const PRODUCT_CATEGORIES_API_ROUTES: {
|
|
101
|
+
FIND_ALL: string;
|
|
102
|
+
CREATE: string;
|
|
103
|
+
findById: (id: number) => string;
|
|
104
|
+
update: (id: number) => string;
|
|
105
|
+
delete: (id: number) => string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
declare const PRODUCT_TAGS_API_ROUTES: {
|
|
109
|
+
FIND_ALL: string;
|
|
110
|
+
CREATE: string;
|
|
111
|
+
findById: (id: number) => string;
|
|
112
|
+
update: (id: number) => string;
|
|
113
|
+
delete: (id: number) => string;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
declare const PRODUCT_TYPES_API_ROUTES: {
|
|
117
|
+
FIND_ALL: string;
|
|
118
|
+
CREATE: string;
|
|
119
|
+
findById: (id: number) => string;
|
|
120
|
+
update: (id: number) => string;
|
|
121
|
+
delete: (id: number) => string;
|
|
122
|
+
};
|
|
123
|
+
|
|
93
124
|
declare const PRODUCTS_API_ROUTES: {
|
|
94
125
|
FIND_ALL: string;
|
|
95
126
|
CREATE: string;
|
|
96
127
|
findOneById: (id: number) => string;
|
|
97
128
|
update: (id: number) => string;
|
|
98
129
|
delete: (id: number) => string;
|
|
130
|
+
fetchImages: (id: number) => string;
|
|
131
|
+
uploadImages: (id: number) => string;
|
|
132
|
+
deleteOneImage: (productId: number, imageId: number) => string;
|
|
99
133
|
};
|
|
100
134
|
|
|
101
135
|
declare const SHOWS_API_ROUTES: {
|
|
@@ -110,22 +144,12 @@ declare const SHOWS_API_ROUTES: {
|
|
|
110
144
|
publicAvailablePerformances: string;
|
|
111
145
|
};
|
|
112
146
|
|
|
113
|
-
declare const
|
|
147
|
+
declare const STATE_API_ENDPOINTS: {
|
|
114
148
|
findAll: string;
|
|
115
149
|
create: string;
|
|
116
|
-
|
|
117
|
-
update: (id: number) => string;
|
|
118
|
-
delete: (id: number) => string;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
declare const PRICE_ZONES_API_ROUTES: {
|
|
122
|
-
FIND_ALL: string;
|
|
123
|
-
CREATE: string;
|
|
124
|
-
findOneById: (id: number) => string;
|
|
150
|
+
findById: (id: number) => string;
|
|
125
151
|
update: (id: number) => string;
|
|
126
152
|
delete: (id: number) => string;
|
|
127
|
-
updateElements: (id: number) => string;
|
|
128
|
-
duplicate: (id: number) => string;
|
|
129
153
|
};
|
|
130
154
|
|
|
131
155
|
declare const VENUES_API_ROUTES: {
|
|
@@ -139,152 +163,14 @@ declare const VENUES_API_ROUTES: {
|
|
|
139
163
|
deleteOneImage: (venueId: number, imageId: number) => string;
|
|
140
164
|
};
|
|
141
165
|
|
|
142
|
-
declare
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
EXCEL = "excel",
|
|
146
|
-
WORD = "word",
|
|
147
|
-
TEXT = "text",
|
|
148
|
-
DEFAULT = "default"
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
declare enum CouponApplicability {
|
|
152
|
-
GENERAL = "GENERAL",
|
|
153
|
-
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
154
|
-
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
155
|
-
SHOWS = "SHOWS",
|
|
156
|
-
PERFORMANCES = "PERFORMANCES"
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
declare enum CouponDiscountType {
|
|
160
|
-
PERCENTAGE = "PERCENTAGE",
|
|
161
|
-
FIXED = "FIXED"
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
declare enum CorporateBondStatus {
|
|
165
|
-
ACTIVE = "ACTIVE",
|
|
166
|
-
INACTIVE = "INACTIVE",
|
|
167
|
-
EXPIRED = "EXPIRED"
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
declare enum PerformanceStatus {
|
|
171
|
-
ACTIVE = "active",
|
|
172
|
-
CANCELLED = "cancelled",
|
|
173
|
-
FINISHED = "finished",
|
|
174
|
-
POSTPONED = "postponed"
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare enum PerformanceTicketStatus {
|
|
178
|
-
AVAILABLE = "available",
|
|
179
|
-
RESERVED = "reserved",
|
|
180
|
-
SOLD = "sold",
|
|
181
|
-
BLOCKED = "blocked"
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
declare enum RoomMapElementOrientation {
|
|
185
|
-
TOP = "top",
|
|
186
|
-
RIGHT = "right",
|
|
187
|
-
BOTTOM = "bottom",
|
|
188
|
-
LEFT = "left",
|
|
189
|
-
CENTER = "center"
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
declare enum RoomMapElementType {
|
|
193
|
-
SEAT_BLOCK = "seat_block",
|
|
194
|
-
TABLE = "table",
|
|
195
|
-
ZONE = "zone",
|
|
196
|
-
EXIT = "exit",
|
|
197
|
-
STAGE = "stage",
|
|
198
|
-
PRODUCTION_AREA = "production_area",
|
|
199
|
-
UNAVAILABLE_SPACE = "unavailable_space",
|
|
200
|
-
STAIR = "stair",
|
|
201
|
-
HALLWAY = "hallway"
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
declare enum OrderItemType {
|
|
205
|
-
TICKET = "TICKET",
|
|
206
|
-
PRODUCT = "PRODUCT"
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
declare enum OrderStatus {
|
|
210
|
-
PENDING = "PENDING",
|
|
211
|
-
COMPLETED = "COMPLETED",
|
|
212
|
-
FAILED = "FAILED",
|
|
213
|
-
CANCELLED = "CANCELLED"
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
interface RoomMapPosition {
|
|
217
|
-
x: number;
|
|
218
|
-
y: number;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
interface RoomMapSize {
|
|
222
|
-
width: number;
|
|
223
|
-
height: number;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
interface RoomMapBaseElement {
|
|
227
|
-
id: string;
|
|
228
|
-
type: RoomMapElementType;
|
|
229
|
-
position: RoomMapPosition;
|
|
230
|
-
size: RoomMapSize;
|
|
231
|
-
rotation: number;
|
|
232
|
-
name?: string;
|
|
233
|
-
isLocked: boolean;
|
|
234
|
-
isVisible: boolean;
|
|
235
|
-
zIndex: number;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
239
|
-
type: RoomMapElementType.EXIT;
|
|
240
|
-
exitName?: string;
|
|
241
|
-
exitType: 'emergency' | 'regular';
|
|
242
|
-
width: number;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
246
|
-
type: RoomMapElementType.PRODUCTION_AREA;
|
|
247
|
-
areaName?: string;
|
|
248
|
-
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
252
|
-
type: RoomMapElementType.SEAT_BLOCK;
|
|
253
|
-
seatNumber?: string;
|
|
254
|
-
isAvailable: boolean;
|
|
255
|
-
priceCategory?: string;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
259
|
-
type: RoomMapElementType.STAGE;
|
|
260
|
-
stageName?: string;
|
|
261
|
-
orientation: RoomMapElementOrientation;
|
|
262
|
-
isMainStage: boolean;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
266
|
-
type: RoomMapElementType.TABLE;
|
|
267
|
-
tableNumber?: string;
|
|
268
|
-
capacity: number;
|
|
269
|
-
shape: 'round' | 'rectangular' | 'square';
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
273
|
-
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
274
|
-
reason?: string;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
interface RoomMapZoneElement extends RoomMapBaseElement {
|
|
278
|
-
type: RoomMapElementType.ZONE;
|
|
279
|
-
zoneName: string;
|
|
280
|
-
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
281
|
-
color: string;
|
|
282
|
-
capacity?: number;
|
|
283
|
-
}
|
|
166
|
+
declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
|
|
167
|
+
declare const BASE_BUTTON_CLASSES = "btn";
|
|
168
|
+
declare const BUTTON_SIZES_CLASSES: Record<string, string>;
|
|
284
169
|
|
|
285
|
-
|
|
170
|
+
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
286
171
|
|
|
287
|
-
|
|
172
|
+
declare const BASE_INPUT_CLASSES: string;
|
|
173
|
+
declare const ERROR_INPUT_CLASSES: string;
|
|
288
174
|
|
|
289
175
|
interface SelectOption {
|
|
290
176
|
value: any;
|
|
@@ -292,7 +178,7 @@ interface SelectOption {
|
|
|
292
178
|
disabled?: boolean;
|
|
293
179
|
}
|
|
294
180
|
|
|
295
|
-
interface Admin {
|
|
181
|
+
interface Admin extends Auditable {
|
|
296
182
|
id: number;
|
|
297
183
|
username: string;
|
|
298
184
|
email: string;
|
|
@@ -308,16 +194,17 @@ interface Admin {
|
|
|
308
194
|
reset_password_expires: Date;
|
|
309
195
|
email_verified_at: Date;
|
|
310
196
|
last_login: Date;
|
|
311
|
-
created_at: Date;
|
|
312
|
-
updated_at: Date;
|
|
313
|
-
deleted_at: Date;
|
|
314
197
|
}
|
|
315
198
|
|
|
316
199
|
interface Auditable {
|
|
317
200
|
created_at: Date;
|
|
318
201
|
updated_at: Date;
|
|
202
|
+
deleted_at?: Date | null;
|
|
319
203
|
is_published?: boolean;
|
|
320
204
|
published_at?: Date;
|
|
205
|
+
published_by?: number;
|
|
206
|
+
deleted_by?: number;
|
|
207
|
+
deleted_by_admin?: Admin;
|
|
321
208
|
created_by_admin?: Admin;
|
|
322
209
|
updated_by_admin?: Admin;
|
|
323
210
|
published_by_admin?: Admin;
|
|
@@ -360,20 +247,20 @@ interface AdminsResponse {
|
|
|
360
247
|
}
|
|
361
248
|
|
|
362
249
|
interface Country {
|
|
363
|
-
id:
|
|
250
|
+
id: number;
|
|
364
251
|
name: string;
|
|
365
252
|
iso2: string;
|
|
366
253
|
}
|
|
367
254
|
|
|
368
255
|
interface State {
|
|
369
|
-
id:
|
|
256
|
+
id: number;
|
|
370
257
|
name: string;
|
|
371
258
|
country_id: number;
|
|
372
259
|
country?: Country;
|
|
373
260
|
}
|
|
374
261
|
|
|
375
262
|
interface City {
|
|
376
|
-
id:
|
|
263
|
+
id: number;
|
|
377
264
|
name: string;
|
|
378
265
|
search_text: string | null;
|
|
379
266
|
state_id: number;
|
|
@@ -412,27 +299,21 @@ interface Venue extends Auditable {
|
|
|
412
299
|
images: VenueImage[];
|
|
413
300
|
}
|
|
414
301
|
|
|
415
|
-
interface HallFloor {
|
|
302
|
+
interface HallFloor extends Auditable {
|
|
416
303
|
id: number;
|
|
417
304
|
name: string;
|
|
418
305
|
level: number;
|
|
419
306
|
max_capacity: number;
|
|
420
307
|
description: string;
|
|
421
308
|
hall_id: number;
|
|
422
|
-
created_at: Date;
|
|
423
|
-
updated_at: Date;
|
|
424
|
-
deleted_at: Date | null;
|
|
425
309
|
}
|
|
426
310
|
|
|
427
|
-
interface Hall {
|
|
311
|
+
interface Hall extends Auditable {
|
|
428
312
|
id: number;
|
|
429
313
|
name: string;
|
|
430
314
|
venue_id: number;
|
|
431
315
|
venue?: Venue;
|
|
432
316
|
hall_floors?: HallFloor[];
|
|
433
|
-
created_at: Date;
|
|
434
|
-
updated_at: Date;
|
|
435
|
-
deleted_at: Date | null;
|
|
436
317
|
}
|
|
437
318
|
|
|
438
319
|
interface CountryResponse {
|
|
@@ -486,7 +367,7 @@ interface FetchCitiesParams {
|
|
|
486
367
|
search?: string;
|
|
487
368
|
}
|
|
488
369
|
|
|
489
|
-
interface Customer {
|
|
370
|
+
interface Customer extends Auditable {
|
|
490
371
|
username: string;
|
|
491
372
|
email: string;
|
|
492
373
|
mobile: string;
|
|
@@ -517,9 +398,6 @@ interface Customer {
|
|
|
517
398
|
membership_expires_at: Date | null;
|
|
518
399
|
id: number;
|
|
519
400
|
is_active: boolean;
|
|
520
|
-
created_at: Date;
|
|
521
|
-
updated_at: Date;
|
|
522
|
-
deleted_at: Date | null;
|
|
523
401
|
}
|
|
524
402
|
|
|
525
403
|
interface CustomerResponse {
|
|
@@ -537,76 +415,301 @@ interface CustomersResponse {
|
|
|
537
415
|
message: string;
|
|
538
416
|
}
|
|
539
417
|
|
|
540
|
-
|
|
418
|
+
declare enum OrderItemType {
|
|
419
|
+
TICKET = "TICKET",
|
|
420
|
+
PRODUCT = "PRODUCT"
|
|
421
|
+
}
|
|
541
422
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
423
|
+
declare enum OrderStatus {
|
|
424
|
+
ON_HOLD = "on-hold",
|
|
425
|
+
PENDING_PAYMENT = "pending-payment",
|
|
426
|
+
PROCESSING = "processing",
|
|
427
|
+
COMPLETED = "completed",
|
|
428
|
+
FAILED = "failed",
|
|
429
|
+
CANCELLED = "cancelled",
|
|
430
|
+
REFUNDED = "refunded"
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
declare enum RoomMapElementType {
|
|
434
|
+
SEAT_BLOCK = "seat_block",
|
|
435
|
+
TABLE = "table",
|
|
436
|
+
ZONE = "zone",
|
|
437
|
+
EXIT = "exit",
|
|
438
|
+
STAGE = "stage",
|
|
439
|
+
PRODUCTION_AREA = "production_area",
|
|
440
|
+
UNAVAILABLE_SPACE = "unavailable_space",
|
|
441
|
+
STAIR = "stair",
|
|
442
|
+
HALLWAY = "hallway"
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
interface RoomMapPosition {
|
|
446
|
+
x: number;
|
|
447
|
+
y: number;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
interface RoomMapSize {
|
|
550
451
|
width: number;
|
|
551
452
|
height: number;
|
|
552
|
-
show_id: number;
|
|
553
|
-
created_at: Date;
|
|
554
453
|
}
|
|
555
454
|
|
|
556
|
-
interface
|
|
557
|
-
id:
|
|
455
|
+
interface RoomMapBaseElement {
|
|
456
|
+
id: string;
|
|
457
|
+
type: RoomMapElementType;
|
|
458
|
+
position: RoomMapPosition;
|
|
459
|
+
size: RoomMapSize;
|
|
460
|
+
rotation: number;
|
|
461
|
+
name?: string;
|
|
462
|
+
isLocked: boolean;
|
|
463
|
+
isVisible: boolean;
|
|
464
|
+
zIndex: number;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
468
|
+
type: RoomMapElementType.EXIT;
|
|
469
|
+
exitName?: string;
|
|
470
|
+
exitType: 'emergency' | 'regular';
|
|
471
|
+
width: number;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
475
|
+
type: RoomMapElementType.PRODUCTION_AREA;
|
|
476
|
+
areaName?: string;
|
|
477
|
+
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
481
|
+
type: RoomMapElementType.SEAT_BLOCK;
|
|
482
|
+
seatNumber?: string;
|
|
483
|
+
isAvailable: boolean;
|
|
484
|
+
priceCategory?: string;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare enum RoomMapElementOrientation {
|
|
488
|
+
TOP = "top",
|
|
489
|
+
RIGHT = "right",
|
|
490
|
+
BOTTOM = "bottom",
|
|
491
|
+
LEFT = "left",
|
|
492
|
+
CENTER = "center"
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
496
|
+
type: RoomMapElementType.STAGE;
|
|
497
|
+
stageName?: string;
|
|
498
|
+
orientation: RoomMapElementOrientation;
|
|
499
|
+
isMainStage: boolean;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
503
|
+
type: RoomMapElementType.TABLE;
|
|
504
|
+
tableNumber?: string;
|
|
505
|
+
capacity: number;
|
|
506
|
+
shape: 'round' | 'rectangular' | 'square';
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
510
|
+
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
511
|
+
reason?: string;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
interface RoomMapZoneElement extends RoomMapBaseElement {
|
|
515
|
+
type: RoomMapElementType.ZONE;
|
|
516
|
+
zoneName: string;
|
|
517
|
+
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
518
|
+
color: string;
|
|
519
|
+
capacity?: number;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
|
|
523
|
+
|
|
524
|
+
type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
|
|
525
|
+
|
|
526
|
+
declare enum ShowType {
|
|
527
|
+
PLAY = "PLAY",
|
|
528
|
+
CONCERT = "CONCERT",
|
|
529
|
+
STAND_UP_COMEDY = "STAND_UP_COMEDY",
|
|
530
|
+
OPERA = "OPERA",
|
|
531
|
+
MUSICAL = "MUSICAL",
|
|
532
|
+
DANCE = "DANCE",
|
|
533
|
+
SPORT = "SPORT",
|
|
534
|
+
OTHER = "OTHER",
|
|
535
|
+
DEFAULT = "DEFAULT"
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
539
|
+
|
|
540
|
+
type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
|
|
541
|
+
|
|
542
|
+
interface FeedbackModalElement {
|
|
543
|
+
id: string;
|
|
544
|
+
type: FeedbackModalType;
|
|
558
545
|
title: string;
|
|
546
|
+
isOpen: WritableSignal<boolean>;
|
|
547
|
+
message?: string;
|
|
548
|
+
showHeader?: boolean;
|
|
549
|
+
showCloseButton?: boolean;
|
|
550
|
+
showTitle?: boolean;
|
|
551
|
+
closeModal?: void;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
declare enum FileType {
|
|
555
|
+
IMAGE = "image",
|
|
556
|
+
PDF = "pdf",
|
|
557
|
+
EXCEL = "excel",
|
|
558
|
+
WORD = "word",
|
|
559
|
+
TEXT = "text",
|
|
560
|
+
DEFAULT = "default"
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
declare enum CouponApplicability {
|
|
564
|
+
GENERAL = "GENERAL",
|
|
565
|
+
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
566
|
+
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
567
|
+
SHOWS = "SHOWS",
|
|
568
|
+
PERFORMANCES = "PERFORMANCES"
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
declare enum CouponDiscountType {
|
|
572
|
+
PERCENTAGE = "PERCENTAGE",
|
|
573
|
+
FIXED = "FIXED"
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
declare enum CouponStatus {
|
|
577
|
+
ACTIVE = "ACTIVE",
|
|
578
|
+
INACTIVE = "INACTIVE",
|
|
579
|
+
EXPIRED = "EXPIRED",
|
|
580
|
+
CONSUMED = "CONSUMED"
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
declare enum CorporateBondStatus {
|
|
584
|
+
ACTIVE = "ACTIVE",
|
|
585
|
+
INACTIVE = "INACTIVE",
|
|
586
|
+
EXPIRED = "EXPIRED",
|
|
587
|
+
CONSUMED = "CONSUMED"
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
declare enum PerformanceStatus {
|
|
591
|
+
SCHEDULED = "scheduled",
|
|
592
|
+
OPEN = "open",
|
|
593
|
+
CLOSED = "closed",
|
|
594
|
+
CANCELLED = "cancelled",
|
|
595
|
+
COMPLETED = "completed",
|
|
596
|
+
POSTPONED = "postponed"
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
declare enum PerformanceTicketStatus {
|
|
600
|
+
AVAILABLE = "available",
|
|
601
|
+
RESERVED = "reserved",
|
|
602
|
+
SOLD = "sold",
|
|
603
|
+
BLOCKED = "blocked"
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
declare enum GiftBondStatus {
|
|
607
|
+
ACTIVE = "ACTIVE",
|
|
608
|
+
INACTIVE = "INACTIVE",
|
|
609
|
+
EXPIRED = "EXPIRED",
|
|
610
|
+
CONSUMED = "CONSUMED"
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
interface FetchProductCategoriesParams {
|
|
614
|
+
name?: string;
|
|
615
|
+
slug?: string;
|
|
616
|
+
page?: number;
|
|
617
|
+
limit?: number;
|
|
618
|
+
search?: string;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
interface ProductCategory extends Auditable {
|
|
622
|
+
id: number;
|
|
623
|
+
name: string;
|
|
559
624
|
slug: string;
|
|
560
|
-
description: string;
|
|
561
|
-
duration_minutes: number | null;
|
|
562
|
-
type_of_costs: string | null;
|
|
563
|
-
service_fee: number | null;
|
|
564
|
-
show_type: ShowType | null;
|
|
565
|
-
pulep: string | null;
|
|
566
|
-
minimum_age: number | null;
|
|
567
|
-
show_category_id: number | null;
|
|
568
|
-
default_room_map_id: number | null;
|
|
569
|
-
published_at?: Date;
|
|
570
|
-
is_published: boolean;
|
|
571
|
-
images: ShowImage[];
|
|
572
|
-
terms_and_conditions: string;
|
|
573
|
-
performances_quantity?: number;
|
|
574
625
|
}
|
|
575
626
|
|
|
576
|
-
interface
|
|
627
|
+
interface ProductCategoriesResponse {
|
|
577
628
|
statusCode: number;
|
|
578
|
-
data:
|
|
629
|
+
data: {
|
|
630
|
+
categories: ProductCategory[];
|
|
631
|
+
total: number;
|
|
632
|
+
};
|
|
579
633
|
message: string;
|
|
580
634
|
}
|
|
581
635
|
|
|
582
|
-
interface
|
|
636
|
+
interface ProductCategoryResponse {
|
|
637
|
+
statusCode: number;
|
|
638
|
+
data: ProductCategory;
|
|
639
|
+
message: string;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
interface FetchProductTagsParams {
|
|
643
|
+
name?: string;
|
|
644
|
+
slug?: string;
|
|
645
|
+
page?: number;
|
|
646
|
+
limit?: number;
|
|
647
|
+
search?: string;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
interface ProductTag extends Auditable {
|
|
651
|
+
id: number;
|
|
652
|
+
name: string;
|
|
653
|
+
slug: string;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
interface ProductTagResponse {
|
|
657
|
+
statusCode: number;
|
|
658
|
+
data: ProductTag;
|
|
659
|
+
message: string;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
interface ProductTagsResponse {
|
|
583
663
|
statusCode: number;
|
|
584
664
|
data: {
|
|
585
|
-
|
|
665
|
+
tags: ProductTag[];
|
|
586
666
|
total: number;
|
|
587
667
|
};
|
|
588
668
|
message: string;
|
|
589
669
|
}
|
|
590
670
|
|
|
591
|
-
interface
|
|
671
|
+
interface FetchProductTypesParams {
|
|
672
|
+
name?: string;
|
|
673
|
+
slug?: string;
|
|
592
674
|
page?: number;
|
|
593
675
|
limit?: number;
|
|
594
676
|
search?: string;
|
|
595
|
-
date?: string;
|
|
596
677
|
}
|
|
597
678
|
|
|
598
|
-
interface
|
|
679
|
+
interface ProductType extends Auditable {
|
|
599
680
|
id: number;
|
|
600
681
|
name: string;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
682
|
+
slug: string;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
interface ProductTypeResponse {
|
|
686
|
+
statusCode: number;
|
|
687
|
+
data: ProductType;
|
|
688
|
+
message: string;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
interface ProductTypesResponse {
|
|
692
|
+
statusCode: number;
|
|
693
|
+
data: {
|
|
694
|
+
types: ProductType[];
|
|
695
|
+
total: number;
|
|
696
|
+
};
|
|
697
|
+
message: string;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
interface ProductImage {
|
|
701
|
+
id: number;
|
|
702
|
+
path: string;
|
|
703
|
+
full_url: string;
|
|
704
|
+
original_name: string;
|
|
705
|
+
extension: string;
|
|
706
|
+
size: number;
|
|
707
|
+
mime_type: string;
|
|
708
|
+
width: number;
|
|
709
|
+
height: number;
|
|
710
|
+
product_id: number;
|
|
711
|
+
product: Product;
|
|
606
712
|
created_at: Date;
|
|
607
|
-
updated_at: Date;
|
|
608
|
-
created_by: number;
|
|
609
|
-
updated_by: number;
|
|
610
713
|
}
|
|
611
714
|
|
|
612
715
|
interface Product extends Auditable {
|
|
@@ -621,10 +724,34 @@ interface Product extends Auditable {
|
|
|
621
724
|
is_limited_edition: boolean;
|
|
622
725
|
is_active: boolean;
|
|
623
726
|
deleted_at: Date | null;
|
|
624
|
-
categories?:
|
|
625
|
-
tags?:
|
|
626
|
-
types?:
|
|
627
|
-
images?:
|
|
727
|
+
categories?: ProductCategory[];
|
|
728
|
+
tags?: ProductTag[];
|
|
729
|
+
types?: ProductType[];
|
|
730
|
+
images?: ProductImage[];
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
interface ShowImage {
|
|
734
|
+
id: number;
|
|
735
|
+
path: string;
|
|
736
|
+
full_url: string;
|
|
737
|
+
original_name: string;
|
|
738
|
+
extension: string;
|
|
739
|
+
size: number;
|
|
740
|
+
mime_type: string;
|
|
741
|
+
width: number;
|
|
742
|
+
height: number;
|
|
743
|
+
show_id: number;
|
|
744
|
+
created_at: Date;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
interface PriceZone extends Auditable {
|
|
748
|
+
id: number;
|
|
749
|
+
name: string;
|
|
750
|
+
color: string;
|
|
751
|
+
normal_price: number | null;
|
|
752
|
+
is_active: boolean;
|
|
753
|
+
elements: any[];
|
|
754
|
+
room_map_id: number | null;
|
|
628
755
|
}
|
|
629
756
|
|
|
630
757
|
interface NumerationConfig {
|
|
@@ -662,7 +789,7 @@ interface RoomMapElementTemplate {
|
|
|
662
789
|
price_zone?: PriceZone;
|
|
663
790
|
}
|
|
664
791
|
|
|
665
|
-
interface RoomMap {
|
|
792
|
+
interface RoomMap extends Auditable {
|
|
666
793
|
id: number;
|
|
667
794
|
name: string;
|
|
668
795
|
canvas_settings: {
|
|
@@ -678,8 +805,6 @@ interface RoomMap {
|
|
|
678
805
|
related_product_ids: number[];
|
|
679
806
|
products?: Product[];
|
|
680
807
|
venue_name?: string;
|
|
681
|
-
created_at: Date;
|
|
682
|
-
updated_at: Date;
|
|
683
808
|
}
|
|
684
809
|
|
|
685
810
|
interface RoomMapCanvasConfiguration {
|
|
@@ -721,7 +846,7 @@ interface ElementPropertiesTab {
|
|
|
721
846
|
elements_access: string[];
|
|
722
847
|
}
|
|
723
848
|
|
|
724
|
-
interface Performance {
|
|
849
|
+
interface Performance extends Auditable {
|
|
725
850
|
id: number;
|
|
726
851
|
start_time: Date | string;
|
|
727
852
|
end_time: Date | string;
|
|
@@ -731,26 +856,32 @@ interface Performance {
|
|
|
731
856
|
show?: Show;
|
|
732
857
|
room_map: RoomMap;
|
|
733
858
|
room_map_id: number;
|
|
734
|
-
created_at: Date;
|
|
735
|
-
updated_at: Date;
|
|
736
859
|
}
|
|
737
860
|
|
|
738
|
-
interface
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
861
|
+
interface Show extends Auditable {
|
|
862
|
+
id: number;
|
|
863
|
+
title: string;
|
|
864
|
+
slug: string;
|
|
865
|
+
description: string;
|
|
866
|
+
duration_minutes: number | null;
|
|
867
|
+
type_of_costs: string | null;
|
|
868
|
+
service_fee: number | null;
|
|
869
|
+
show_type: ShowType | null;
|
|
870
|
+
pulep: string | null;
|
|
871
|
+
minimum_age: number | null;
|
|
872
|
+
show_category_id: number | null;
|
|
873
|
+
default_room_map_id: number | null;
|
|
874
|
+
is_published: boolean;
|
|
875
|
+
images: ShowImage[];
|
|
876
|
+
terms_and_conditions: string;
|
|
877
|
+
performances_quantity?: number;
|
|
878
|
+
performances?: Performance[];
|
|
879
|
+
next_performance?: Performance;
|
|
880
|
+
days_of_week?: number[];
|
|
881
|
+
unique_start_times?: string[];
|
|
751
882
|
}
|
|
752
883
|
|
|
753
|
-
interface OrderItem {
|
|
884
|
+
interface OrderItem extends Auditable {
|
|
754
885
|
id: number;
|
|
755
886
|
order: Order;
|
|
756
887
|
item_type: OrderItemType;
|
|
@@ -763,26 +894,21 @@ interface OrderItem {
|
|
|
763
894
|
ticket_id?: number;
|
|
764
895
|
ticket_uuid?: string;
|
|
765
896
|
item: Show | Product;
|
|
766
|
-
created_at: Date;
|
|
767
|
-
updated_at: Date;
|
|
768
|
-
created_by: number;
|
|
769
|
-
updated_by: number;
|
|
770
897
|
}
|
|
771
898
|
|
|
772
899
|
interface Coupon extends Auditable {
|
|
773
900
|
id: number;
|
|
774
901
|
code: string;
|
|
902
|
+
billing_code: string;
|
|
775
903
|
description?: string;
|
|
776
904
|
discount_type: CouponDiscountType;
|
|
777
|
-
discount_type_string?: string;
|
|
778
905
|
discount_value: number;
|
|
779
|
-
discount_value_string?: string;
|
|
780
906
|
start_date: Date | null;
|
|
781
907
|
end_date: Date | null;
|
|
782
908
|
max_uses: number | null;
|
|
783
|
-
|
|
909
|
+
max_uses_per_customer?: number | null;
|
|
784
910
|
uses_count: number;
|
|
785
|
-
|
|
911
|
+
status: CouponStatus;
|
|
786
912
|
applicability_type: CouponApplicability;
|
|
787
913
|
applicable_customer_emails: string[] | null;
|
|
788
914
|
applicable_membership_types: string[] | null;
|
|
@@ -790,9 +916,11 @@ interface Coupon extends Auditable {
|
|
|
790
916
|
applicable_performance_ids?: number[];
|
|
791
917
|
applicable_price_zone_ids?: number[];
|
|
792
918
|
applies_to_service_fee?: boolean;
|
|
919
|
+
orders?: Order[];
|
|
920
|
+
customers?: Customer[];
|
|
793
921
|
}
|
|
794
922
|
|
|
795
|
-
interface CorporateBond {
|
|
923
|
+
interface CorporateBond extends Auditable {
|
|
796
924
|
id: number;
|
|
797
925
|
name: string;
|
|
798
926
|
description?: string;
|
|
@@ -803,10 +931,6 @@ interface CorporateBond {
|
|
|
803
931
|
status: CorporateBondStatus;
|
|
804
932
|
value: number;
|
|
805
933
|
codes: CorporateBondCode[];
|
|
806
|
-
created_at: Date;
|
|
807
|
-
updated_at: Date;
|
|
808
|
-
created_by: number;
|
|
809
|
-
updated_by: number;
|
|
810
934
|
}
|
|
811
935
|
|
|
812
936
|
interface CorporateBondCode {
|
|
@@ -819,96 +943,265 @@ interface CorporateBondCode {
|
|
|
819
943
|
created_at: Date;
|
|
820
944
|
}
|
|
821
945
|
|
|
822
|
-
interface CorporateBondResponse {
|
|
946
|
+
interface CorporateBondResponse {
|
|
947
|
+
statusCode: number;
|
|
948
|
+
data: CorporateBond;
|
|
949
|
+
message: string;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
interface ValidateCorporateBondResponse {
|
|
953
|
+
data: {
|
|
954
|
+
valid: boolean;
|
|
955
|
+
message: string;
|
|
956
|
+
code: string;
|
|
957
|
+
bond?: CorporateBond;
|
|
958
|
+
};
|
|
959
|
+
message: string;
|
|
960
|
+
statusCode: number;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
interface Order extends Auditable {
|
|
964
|
+
id: number;
|
|
965
|
+
uuid: string;
|
|
966
|
+
customer: Customer;
|
|
967
|
+
customer_name?: string;
|
|
968
|
+
customer_email?: string;
|
|
969
|
+
order_items: OrderItem[];
|
|
970
|
+
order_items_quantity?: number;
|
|
971
|
+
discount_amount: number;
|
|
972
|
+
total: number;
|
|
973
|
+
total_discounted: number;
|
|
974
|
+
sub_total: number;
|
|
975
|
+
sub_total_discounted: number;
|
|
976
|
+
service_fee: number;
|
|
977
|
+
service_fee_discounted: number;
|
|
978
|
+
coupon: Coupon;
|
|
979
|
+
coupon_snapshot: Record<string, any>;
|
|
980
|
+
corporate_bond_code: CorporateBondCode;
|
|
981
|
+
corporate_bond_code_snapshot: Record<string, any>;
|
|
982
|
+
status: OrderStatus;
|
|
983
|
+
show_snapshot: Record<string, any>;
|
|
984
|
+
performance_snapshot: Record<string, any>;
|
|
985
|
+
payment_method: string;
|
|
986
|
+
terms_accepted: boolean;
|
|
987
|
+
data_processing_accepted: boolean;
|
|
988
|
+
billing_info: Partial<Customer>;
|
|
989
|
+
comments: string;
|
|
990
|
+
address_notes: string;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
interface OrderResponse {
|
|
994
|
+
statusCode: number;
|
|
995
|
+
data: Order;
|
|
996
|
+
message: string;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
interface OrdersResponse {
|
|
1000
|
+
statusCode: number;
|
|
1001
|
+
data: {
|
|
1002
|
+
orders: Order[];
|
|
1003
|
+
total: number;
|
|
1004
|
+
};
|
|
1005
|
+
message: string;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
interface PerformanceTicket extends Auditable {
|
|
1009
|
+
id: number;
|
|
1010
|
+
uuid: string;
|
|
1011
|
+
is_accessible: boolean;
|
|
1012
|
+
performance_id: number;
|
|
1013
|
+
room_map_element_id: number;
|
|
1014
|
+
element_type: RoomMapElementType;
|
|
1015
|
+
seat_label: string | null;
|
|
1016
|
+
seat_numeration: string | null;
|
|
1017
|
+
normal_price: number;
|
|
1018
|
+
discount_price: number | null;
|
|
1019
|
+
presale_price: number | null;
|
|
1020
|
+
status: PerformanceTicketStatus;
|
|
1021
|
+
reserved_until: Date | null;
|
|
1022
|
+
order_id: number | null;
|
|
1023
|
+
customer_id: number | null;
|
|
1024
|
+
checked_in: boolean;
|
|
1025
|
+
checked_in_at: Date | null;
|
|
1026
|
+
order_items: OrderItem[];
|
|
1027
|
+
element_qty?: number;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
interface TicketMapSeatPosition {
|
|
1031
|
+
rowIndex: number;
|
|
1032
|
+
colIndex: number;
|
|
1033
|
+
seatLabel: string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
interface TicketMapTableChairPosition {
|
|
1037
|
+
index: number;
|
|
1038
|
+
angle: number;
|
|
1039
|
+
x: number;
|
|
1040
|
+
y: number;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
interface ElementRenderData {
|
|
1044
|
+
elementId: number;
|
|
1045
|
+
hallFloorId: number | null;
|
|
1046
|
+
type: RoomMapElementType;
|
|
1047
|
+
shapeConfig: Record<string, any>;
|
|
1048
|
+
tickets: PerformanceTicket[];
|
|
1049
|
+
ticketByNumeration: Map<string, PerformanceTicket>;
|
|
1050
|
+
elementName: string;
|
|
1051
|
+
seatPositions?: TicketMapSeatPosition[][];
|
|
1052
|
+
chairPositions?: TicketMapTableChairPosition[];
|
|
1053
|
+
zoneCapacity?: number;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
interface TicketMapTooltipData {
|
|
1057
|
+
x: number;
|
|
1058
|
+
y: number;
|
|
1059
|
+
elementName: string;
|
|
1060
|
+
seatLabel: string | null;
|
|
1061
|
+
price: number;
|
|
1062
|
+
status: PerformanceTicketStatus;
|
|
1063
|
+
statusLabel: string;
|
|
1064
|
+
statusColor: string;
|
|
1065
|
+
isSelected: boolean;
|
|
1066
|
+
ticketId: number;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
interface TicketMapZoneQuantityState {
|
|
1070
|
+
elementId: number;
|
|
1071
|
+
selectedCount: number;
|
|
1072
|
+
maxCapacity: number;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
interface ReservePerformanceDto {
|
|
1076
|
+
ticket_ids: number[];
|
|
1077
|
+
products?: {
|
|
1078
|
+
id: number;
|
|
1079
|
+
quantity: number;
|
|
1080
|
+
}[];
|
|
1081
|
+
coupon_code?: string;
|
|
1082
|
+
gift_bond_code?: string;
|
|
1083
|
+
corporate_bond_code?: string;
|
|
1084
|
+
billing: {
|
|
1085
|
+
first_name: string;
|
|
1086
|
+
last_name: string;
|
|
1087
|
+
email: string;
|
|
1088
|
+
mobile: string;
|
|
1089
|
+
document_type: string;
|
|
1090
|
+
document_number: string;
|
|
1091
|
+
address: string;
|
|
1092
|
+
city_id: number;
|
|
1093
|
+
postal_code?: string;
|
|
1094
|
+
address_notes?: string;
|
|
1095
|
+
payment_method: string;
|
|
1096
|
+
terms_accepted: boolean;
|
|
1097
|
+
data_processing_accepted: boolean;
|
|
1098
|
+
comments?: string;
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
interface TicketMapZoomConfig {
|
|
1103
|
+
minZoom: number;
|
|
1104
|
+
maxZoom: number;
|
|
1105
|
+
zoomStep: number;
|
|
1106
|
+
scaleBy: number;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
interface HallFloorOption {
|
|
1110
|
+
id: number | null;
|
|
1111
|
+
name: string;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
declare enum SelectedDiscountCardType {
|
|
1115
|
+
COUPON = "COUPON",
|
|
1116
|
+
CORPORATE_BOND = "CORPORATE_BOND",
|
|
1117
|
+
GIFT_BOND = "GIFT_BOND"
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
interface SelectedDiscountCard {
|
|
1121
|
+
name: string;
|
|
1122
|
+
type: SelectedDiscountCardType;
|
|
1123
|
+
value: number;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
interface FetchShowsParams {
|
|
1127
|
+
page?: number;
|
|
1128
|
+
limit?: number;
|
|
1129
|
+
search?: string;
|
|
1130
|
+
date?: string;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
interface ShowResponse {
|
|
1134
|
+
statusCode: number;
|
|
1135
|
+
data: Show;
|
|
1136
|
+
message: string;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
interface ShowsResponseInterface {
|
|
1140
|
+
statusCode: number;
|
|
1141
|
+
data: {
|
|
1142
|
+
shows: Show[];
|
|
1143
|
+
total: number;
|
|
1144
|
+
};
|
|
1145
|
+
message: string;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
interface ShowCategory extends Auditable {
|
|
1149
|
+
id: number;
|
|
1150
|
+
name: string;
|
|
1151
|
+
slug: string;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
interface ShowCategoriesResponse {
|
|
1155
|
+
statusCode: number;
|
|
1156
|
+
data: {
|
|
1157
|
+
categories: ShowCategory[];
|
|
1158
|
+
total: number;
|
|
1159
|
+
};
|
|
1160
|
+
message: string;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
interface ShowCategoryResponse {
|
|
1164
|
+
statusCode: number;
|
|
1165
|
+
data: ShowCategory;
|
|
1166
|
+
message: string;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
interface ShowGender extends Auditable {
|
|
1170
|
+
id: number;
|
|
1171
|
+
name: string;
|
|
1172
|
+
slug: string;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
interface ShowGenderResponse {
|
|
823
1176
|
statusCode: number;
|
|
824
|
-
data:
|
|
1177
|
+
data: ShowGender;
|
|
825
1178
|
message: string;
|
|
826
1179
|
}
|
|
827
1180
|
|
|
828
|
-
interface
|
|
1181
|
+
interface ShowGendersResponse {
|
|
1182
|
+
statusCode: number;
|
|
829
1183
|
data: {
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
code: string;
|
|
833
|
-
bond?: CorporateBond;
|
|
1184
|
+
genders: ShowGender[];
|
|
1185
|
+
total: number;
|
|
834
1186
|
};
|
|
835
1187
|
message: string;
|
|
836
|
-
statusCode: number;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
interface Order {
|
|
840
|
-
id: number;
|
|
841
|
-
uuid: string;
|
|
842
|
-
customer: Customer;
|
|
843
|
-
customer_name?: string;
|
|
844
|
-
customer_email?: string;
|
|
845
|
-
order_items: OrderItem[];
|
|
846
|
-
order_items_quantity?: number;
|
|
847
|
-
discount_amount: number;
|
|
848
|
-
total: number;
|
|
849
|
-
total_discounted: number;
|
|
850
|
-
sub_total: number;
|
|
851
|
-
sub_total_discounted: number;
|
|
852
|
-
service_fee: number;
|
|
853
|
-
service_fee_discounted: number;
|
|
854
|
-
coupon: Coupon;
|
|
855
|
-
coupon_snapshot: Record<string, any>;
|
|
856
|
-
corporate_bond_code: CorporateBondCode;
|
|
857
|
-
corporate_bond_code_snapshot: Record<string, any>;
|
|
858
|
-
status: OrderStatus;
|
|
859
|
-
show_snapshot: Record<string, any>;
|
|
860
|
-
performance_snapshot: Record<string, any>;
|
|
861
|
-
created_at: Date;
|
|
862
|
-
updated_at: Date;
|
|
863
|
-
payment_method: string;
|
|
864
|
-
terms_accepted: boolean;
|
|
865
|
-
data_processing_accepted: boolean;
|
|
866
|
-
billing_info: Partial<Customer>;
|
|
867
|
-
comments: string;
|
|
868
|
-
address_notes: string;
|
|
869
|
-
created_by: number;
|
|
870
|
-
updated_by: number;
|
|
871
1188
|
}
|
|
872
1189
|
|
|
873
|
-
interface
|
|
1190
|
+
interface PerformanceResponse {
|
|
874
1191
|
statusCode: number;
|
|
875
|
-
data:
|
|
1192
|
+
data: Performance;
|
|
876
1193
|
message: string;
|
|
877
1194
|
}
|
|
878
1195
|
|
|
879
|
-
interface
|
|
1196
|
+
interface PerformancesResponseInterface {
|
|
880
1197
|
statusCode: number;
|
|
881
1198
|
data: {
|
|
882
|
-
|
|
1199
|
+
performances: Performance[];
|
|
883
1200
|
total: number;
|
|
884
1201
|
};
|
|
885
1202
|
message: string;
|
|
886
1203
|
}
|
|
887
1204
|
|
|
888
|
-
interface PerformanceTicket {
|
|
889
|
-
id: number;
|
|
890
|
-
uuid: string;
|
|
891
|
-
is_accessible: boolean;
|
|
892
|
-
performance_id: number;
|
|
893
|
-
room_map_element_id: number;
|
|
894
|
-
element_type: RoomMapElementType;
|
|
895
|
-
seat_label: string | null;
|
|
896
|
-
seat_numeration: string | null;
|
|
897
|
-
normal_price: number;
|
|
898
|
-
discount_price: number | null;
|
|
899
|
-
presale_price: number | null;
|
|
900
|
-
status: PerformanceTicketStatus;
|
|
901
|
-
reserved_until: Date | null;
|
|
902
|
-
order_id: number | null;
|
|
903
|
-
customer_id: number | null;
|
|
904
|
-
checked_in: boolean;
|
|
905
|
-
checked_in_at: Date | null;
|
|
906
|
-
order_items: OrderItem[];
|
|
907
|
-
element_qty?: number;
|
|
908
|
-
created_at: Date;
|
|
909
|
-
updated_at: Date;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
1205
|
interface PerformanceBookingDataResponse {
|
|
913
1206
|
statusCode: number;
|
|
914
1207
|
data: {
|
|
@@ -990,6 +1283,13 @@ interface ProductResponse {
|
|
|
990
1283
|
message: string;
|
|
991
1284
|
}
|
|
992
1285
|
|
|
1286
|
+
interface ProductTaxonomy extends Auditable {
|
|
1287
|
+
id: number;
|
|
1288
|
+
name: string;
|
|
1289
|
+
slug: string;
|
|
1290
|
+
selected?: boolean;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
993
1293
|
interface ProductsResponseInterface {
|
|
994
1294
|
statusCode: number;
|
|
995
1295
|
data: {
|
|
@@ -1030,6 +1330,43 @@ interface FindAllPriceZoneParams {
|
|
|
1030
1330
|
limit?: number;
|
|
1031
1331
|
}
|
|
1032
1332
|
|
|
1333
|
+
interface GiftBond extends Auditable {
|
|
1334
|
+
id: number;
|
|
1335
|
+
uuid: string;
|
|
1336
|
+
name: string;
|
|
1337
|
+
description?: string;
|
|
1338
|
+
status: GiftBondStatus;
|
|
1339
|
+
value: number;
|
|
1340
|
+
customer: Customer;
|
|
1341
|
+
customer_id: number;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
interface GiftBondResponse {
|
|
1345
|
+
statusCode: number;
|
|
1346
|
+
data: GiftBond;
|
|
1347
|
+
message: string;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
interface GiftBondsResponse {
|
|
1351
|
+
statusCode: number;
|
|
1352
|
+
data: {
|
|
1353
|
+
gift_bonds: GiftBond[];
|
|
1354
|
+
total: number;
|
|
1355
|
+
};
|
|
1356
|
+
message: string;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
interface ValidateGiftBondResponse {
|
|
1360
|
+
data: {
|
|
1361
|
+
valid: boolean;
|
|
1362
|
+
message: string;
|
|
1363
|
+
code: string;
|
|
1364
|
+
bond?: GiftBond;
|
|
1365
|
+
};
|
|
1366
|
+
statusCode: number;
|
|
1367
|
+
message: string;
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1033
1370
|
interface CouponResponse {
|
|
1034
1371
|
statusCode: number;
|
|
1035
1372
|
data: Coupon;
|
|
@@ -1043,6 +1380,58 @@ interface ValidateCouponResponse {
|
|
|
1043
1380
|
};
|
|
1044
1381
|
}
|
|
1045
1382
|
|
|
1383
|
+
declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
1384
|
+
|
|
1385
|
+
declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
|
|
1386
|
+
|
|
1387
|
+
declare const TICKET_MAP_LAST_TICKETS_LIMIT = 10;
|
|
1388
|
+
declare const TICKET_ELEMENT_TYPES: RoomMapElementType[];
|
|
1389
|
+
declare const DEFAULT_STAGE_CONFIG: {
|
|
1390
|
+
[x: string]: any;
|
|
1391
|
+
};
|
|
1392
|
+
declare const TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, string>;
|
|
1393
|
+
declare const TICKET_STATUS_FILLS: Record<PerformanceTicketStatus, string>;
|
|
1394
|
+
declare const TICKET_STATUS_LABELS: Record<PerformanceTicketStatus, string>;
|
|
1395
|
+
declare const TICKET_MAP_GRID_SIZE = 30;
|
|
1396
|
+
declare const TICKET_MAP_TITLE_HEIGHT = 30;
|
|
1397
|
+
|
|
1398
|
+
interface KonvaShapeConfig {
|
|
1399
|
+
config: ShapeConfig;
|
|
1400
|
+
layer: 'background' | 'elements' | 'foreground' | 'overlay';
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
declare function drawRoundedRect(con: Context, shape: Shape, x: number, y: number, width: number, height: number, cornerRadius: number): void;
|
|
1404
|
+
|
|
1405
|
+
declare const generateExitScene: (con: Context, shape: Shape) => void;
|
|
1406
|
+
|
|
1407
|
+
declare const generateHallwayScene: (con: Context, shape: Shape) => void;
|
|
1408
|
+
|
|
1409
|
+
declare const generateProductionAreaScene: (con: Context, shape: Shape) => void;
|
|
1410
|
+
|
|
1411
|
+
declare const generateSeatBlockScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1412
|
+
start_row_letter: string;
|
|
1413
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1414
|
+
start_column_number: number;
|
|
1415
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1416
|
+
}) => void;
|
|
1417
|
+
|
|
1418
|
+
declare const generateStageScene: (con: Context, shape: Shape) => void;
|
|
1419
|
+
|
|
1420
|
+
declare const generateStairScene: (con: Context, shape: Shape) => void;
|
|
1421
|
+
|
|
1422
|
+
declare const generateTableScene: (con: Context, shape: Shape) => void;
|
|
1423
|
+
|
|
1424
|
+
declare const generateUnavailableSpaceScene: (con: Context, shape: Shape) => void;
|
|
1425
|
+
|
|
1426
|
+
declare const generateZoneScene: (con: Context, shape: Shape) => void;
|
|
1427
|
+
|
|
1428
|
+
declare const KONVA_SHAPE_MAPPINGS: Record<RoomMapElementType, KonvaShapeConfig>;
|
|
1429
|
+
|
|
1430
|
+
declare const SHOW_TYPE_COLORS: Record<ShowType, {
|
|
1431
|
+
bg: string;
|
|
1432
|
+
text: string;
|
|
1433
|
+
}>;
|
|
1434
|
+
|
|
1046
1435
|
declare const getCustomerFullname: (customer: Customer) => string;
|
|
1047
1436
|
|
|
1048
1437
|
declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
@@ -1050,10 +1439,42 @@ declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
|
1050
1439
|
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1051
1440
|
|
|
1052
1441
|
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1053
|
-
value:
|
|
1442
|
+
value: number;
|
|
1054
1443
|
label: string;
|
|
1055
1444
|
}[];
|
|
1056
1445
|
|
|
1446
|
+
declare function tintColor(hex: string, amount?: number): string;
|
|
1447
|
+
|
|
1448
|
+
declare const drawChairIcon: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1449
|
+
|
|
1450
|
+
declare const drawHappyFace: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1451
|
+
|
|
1452
|
+
declare const drawWheelchairIcon: (con: Context, shape: Shape, cx: number, cy: number, size: number, fillColor?: string, strokeColor?: string) => void;
|
|
1453
|
+
|
|
1454
|
+
declare const numberToLetter: (num: number) => string;
|
|
1455
|
+
|
|
1456
|
+
declare const getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
1457
|
+
|
|
1458
|
+
declare const generateSeatBlockTicketScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1459
|
+
start_row_letter: string;
|
|
1460
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1461
|
+
start_column_number: number;
|
|
1462
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1463
|
+
}, ticketStatusMap?: Map<string, PerformanceTicketStatus>) => void;
|
|
1464
|
+
|
|
1465
|
+
declare const generateTableTicketScene: (con: Context, shape: Shape, chairTicketStatuses?: PerformanceTicketStatus[], tableSeats?: RoomMapSeatState[][]) => void;
|
|
1466
|
+
|
|
1467
|
+
declare function processElementsToRenderData(elements: RoomMapElementTemplate[], tickets: PerformanceTicket[], priceZones?: {
|
|
1468
|
+
id: number;
|
|
1469
|
+
color: string;
|
|
1470
|
+
}[]): ElementRenderData[];
|
|
1471
|
+
declare function findTicketAtPosition(renderData: ElementRenderData, relX: number, relY: number): PerformanceTicket | null;
|
|
1472
|
+
declare function findElementAtPosition(renderDataList: ElementRenderData[], stageX: number, stageY: number): {
|
|
1473
|
+
element: ElementRenderData;
|
|
1474
|
+
relX: number;
|
|
1475
|
+
relY: number;
|
|
1476
|
+
} | null;
|
|
1477
|
+
|
|
1057
1478
|
declare function MinTodayValidator(controlName: string): ValidatorFn;
|
|
1058
1479
|
declare function EndDateGreaterThanStartValidator(startDateControlName: string, endDateControlName: string): ValidatorFn;
|
|
1059
1480
|
|
|
@@ -1084,16 +1505,6 @@ declare class ToastService {
|
|
|
1084
1505
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1085
1506
|
}
|
|
1086
1507
|
|
|
1087
|
-
declare class LoadingModalService {
|
|
1088
|
-
title: WritableSignal<string>;
|
|
1089
|
-
isOpen: WritableSignal<boolean>;
|
|
1090
|
-
get modalIsOpen(): WritableSignal<boolean>;
|
|
1091
|
-
open(title?: string): void;
|
|
1092
|
-
close(): void;
|
|
1093
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingModalService, never>;
|
|
1094
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingModalService>;
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
1508
|
declare class DeleteConfirmationService {
|
|
1098
1509
|
title: WritableSignal<string>;
|
|
1099
1510
|
resourceName: WritableSignal<string>;
|
|
@@ -1222,25 +1633,6 @@ declare class PerformancesListEventsService {
|
|
|
1222
1633
|
static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
|
|
1223
1634
|
}
|
|
1224
1635
|
|
|
1225
|
-
declare class ProductService {
|
|
1226
|
-
private apiService;
|
|
1227
|
-
private productsSubject;
|
|
1228
|
-
products$: Observable<Product[]>;
|
|
1229
|
-
constructor(apiService: ApiService);
|
|
1230
|
-
fetchProducts(page: number, search: string): Observable<ProductsResponseInterface>;
|
|
1231
|
-
loadProducts({ page, search }?: {
|
|
1232
|
-
page?: number;
|
|
1233
|
-
search?: string;
|
|
1234
|
-
}): void;
|
|
1235
|
-
getCurrentProducts(): Product[];
|
|
1236
|
-
fetchOneById(id: number): Observable<ProductResponse>;
|
|
1237
|
-
createOne(data: Product): Observable<any>;
|
|
1238
|
-
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
1239
|
-
deleteOne(id: number): Observable<any>;
|
|
1240
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
1241
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
1636
|
declare class ShowService {
|
|
1245
1637
|
private apiService;
|
|
1246
1638
|
private showsSubject;
|
|
@@ -1321,6 +1713,298 @@ declare class PriceZoneFormModalService {
|
|
|
1321
1713
|
static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
|
|
1322
1714
|
}
|
|
1323
1715
|
|
|
1716
|
+
declare class ProductCategoryService {
|
|
1717
|
+
private apiService;
|
|
1718
|
+
constructor(apiService: ApiService);
|
|
1719
|
+
fetchCategories({ page, search, limit, }: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
|
|
1720
|
+
fetchOneById(id: number): Observable<ProductCategoryResponse>;
|
|
1721
|
+
createOne(data: ProductCategory): Observable<any>;
|
|
1722
|
+
updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
|
|
1723
|
+
deleteOne(id: number): Observable<any>;
|
|
1724
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
|
|
1725
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
declare class ProductTagService {
|
|
1729
|
+
private apiService;
|
|
1730
|
+
constructor(apiService: ApiService);
|
|
1731
|
+
fetchTags({ page, search, limit }: FetchProductTagsParams): Observable<ProductTagsResponse>;
|
|
1732
|
+
fetchOneById(id: number): Observable<ProductTagResponse>;
|
|
1733
|
+
createOne(data: ProductTag): Observable<any>;
|
|
1734
|
+
updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
|
|
1735
|
+
deleteOne(id: number): Observable<any>;
|
|
1736
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
|
|
1737
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
declare class ProductTypeService {
|
|
1741
|
+
private apiService;
|
|
1742
|
+
constructor(apiService: ApiService);
|
|
1743
|
+
fetchTypes({ page, search, limit }: FetchProductTypesParams): Observable<ProductTypesResponse>;
|
|
1744
|
+
fetchOneById(id: number): Observable<ProductTypeResponse>;
|
|
1745
|
+
createOne(data: ProductType): Observable<any>;
|
|
1746
|
+
updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
|
|
1747
|
+
deleteOne(id: number): Observable<any>;
|
|
1748
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
|
|
1749
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
interface FetchProductsParams {
|
|
1753
|
+
page?: number;
|
|
1754
|
+
limit?: number;
|
|
1755
|
+
search?: string;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
declare class ProductService {
|
|
1759
|
+
private apiService;
|
|
1760
|
+
private productsSubject;
|
|
1761
|
+
products$: Observable<Product[]>;
|
|
1762
|
+
constructor(apiService: ApiService);
|
|
1763
|
+
fetchProducts({ page, search, limit, }: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
1764
|
+
loadProducts(params: FetchProductsParams): void;
|
|
1765
|
+
getCurrentProducts(): Product[];
|
|
1766
|
+
fetchOneById(id: number): Observable<ProductResponse>;
|
|
1767
|
+
createOne(data: Product): Observable<any>;
|
|
1768
|
+
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
1769
|
+
deleteOne(id: number): Observable<any>;
|
|
1770
|
+
fetchImages(id: number): Observable<{
|
|
1771
|
+
data: ProductImage[];
|
|
1772
|
+
}>;
|
|
1773
|
+
uploadImages(id: number, files?: FormData): Observable<{
|
|
1774
|
+
data: ProductImage[];
|
|
1775
|
+
}>;
|
|
1776
|
+
deleteOneImage(productId: number, imageId: number): Observable<any>;
|
|
1777
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
1778
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
declare class BaseModalService {
|
|
1782
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
1783
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
1784
|
+
open(): void;
|
|
1785
|
+
close(): void;
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
declare class FeedbackModalService {
|
|
1789
|
+
private _modals;
|
|
1790
|
+
readonly modals: i0.Signal<FeedbackModalElement[]>;
|
|
1791
|
+
addModal(modal: FeedbackModalElement): void;
|
|
1792
|
+
removeModal(id: string): void;
|
|
1793
|
+
removeAllModals(): void;
|
|
1794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
|
|
1795
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
declare class PerformanceBookingDataService {
|
|
1799
|
+
private _show;
|
|
1800
|
+
private _performance;
|
|
1801
|
+
private _roomMap;
|
|
1802
|
+
private _hallFloors;
|
|
1803
|
+
private _selectedHallFloor;
|
|
1804
|
+
private _selectedTicketIds;
|
|
1805
|
+
private _allRenderData;
|
|
1806
|
+
private _stageConfig;
|
|
1807
|
+
readonly selectedCount: i0.Signal<number>;
|
|
1808
|
+
readonly selectedTicketIds: i0.Signal<Set<number>>;
|
|
1809
|
+
readonly show: i0.Signal<Show | null>;
|
|
1810
|
+
readonly hallFloors: i0.Signal<HallFloor[]>;
|
|
1811
|
+
readonly selectedHallFloor: i0.Signal<HallFloor | null>;
|
|
1812
|
+
readonly performance: i0.Signal<Performance | null>;
|
|
1813
|
+
readonly stageConfig: i0.Signal<{
|
|
1814
|
+
[x: string]: any;
|
|
1815
|
+
}>;
|
|
1816
|
+
readonly roomMap: i0.Signal<RoomMap | null>;
|
|
1817
|
+
readonly renderData: i0.Signal<ElementRenderData[]>;
|
|
1818
|
+
setPerformanceBookingData({ data }: PerformanceBookingDataResponse): void;
|
|
1819
|
+
setSelectedHallFloor(id: number): void;
|
|
1820
|
+
updateStageConfig(data: {
|
|
1821
|
+
[x: string]: any;
|
|
1822
|
+
}): void;
|
|
1823
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceBookingDataService, never>;
|
|
1824
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PerformanceBookingDataService>;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
declare class TicketSelectionDetailsService {
|
|
1828
|
+
private _customerEmail;
|
|
1829
|
+
private _customerId;
|
|
1830
|
+
private _paymentMethod;
|
|
1831
|
+
private _billingInformation;
|
|
1832
|
+
readonly customerEmail: i0.Signal<string | null>;
|
|
1833
|
+
readonly customerId: i0.Signal<number | null>;
|
|
1834
|
+
readonly paymentMethod: i0.Signal<string | null>;
|
|
1835
|
+
readonly billingInformation: i0.Signal<Customer | null>;
|
|
1836
|
+
setCustomerEmail(email: string | null): void;
|
|
1837
|
+
setCustomerId(id: number | null): void;
|
|
1838
|
+
setPaymentMethod(method: string | null): void;
|
|
1839
|
+
setBillingInformation(values: Customer): void;
|
|
1840
|
+
clearSelection(): void;
|
|
1841
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDetailsService, never>;
|
|
1842
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDetailsService>;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
declare class TicketSelectionDiscountService {
|
|
1846
|
+
private _coupon;
|
|
1847
|
+
private _corporateBond;
|
|
1848
|
+
private _corporateBondCode;
|
|
1849
|
+
private _giftBond;
|
|
1850
|
+
private _giftBondCode;
|
|
1851
|
+
readonly coupon: Signal<Coupon | null>;
|
|
1852
|
+
readonly corporateBond: Signal<CorporateBond | null>;
|
|
1853
|
+
readonly corporateBondCode: Signal<string | null>;
|
|
1854
|
+
readonly giftBond: Signal<GiftBond | null>;
|
|
1855
|
+
readonly giftBondCode: Signal<string | null>;
|
|
1856
|
+
readonly selectedDiscount: Signal<SelectedDiscountCard | null>;
|
|
1857
|
+
readonly selectedDiscountType: Signal<SelectedDiscountCardType | undefined>;
|
|
1858
|
+
readonly selectedDiscountValue: Signal<number | undefined>;
|
|
1859
|
+
setCoupon(coupon: Coupon | null): void;
|
|
1860
|
+
setCorporateBond(corporateBond: CorporateBond | null): void;
|
|
1861
|
+
setCorporateBondCode(code: string | null): void;
|
|
1862
|
+
setGiftBond(giftBond: GiftBond | null): void;
|
|
1863
|
+
setGiftBondCode(code: string | null): void;
|
|
1864
|
+
clearSelection(): void;
|
|
1865
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDiscountService, never>;
|
|
1866
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDiscountService>;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
declare class TicketSelectionTotalsService {
|
|
1870
|
+
private bookingDataService;
|
|
1871
|
+
private selectionService;
|
|
1872
|
+
private selectionDiscountService;
|
|
1873
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
1874
|
+
id: number;
|
|
1875
|
+
quantity: number;
|
|
1876
|
+
}[]>;
|
|
1877
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
1878
|
+
readonly productSubtotal: i0.Signal<number>;
|
|
1879
|
+
readonly ticketSubtotal: i0.Signal<number>;
|
|
1880
|
+
readonly serviceFee: i0.Signal<number>;
|
|
1881
|
+
subtotalValue(): number;
|
|
1882
|
+
totalValue(): number;
|
|
1883
|
+
totalDiscounted(): number | null;
|
|
1884
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionTotalsService, never>;
|
|
1885
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionTotalsService>;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
declare class TicketSelectionService {
|
|
1889
|
+
private bookingDataService;
|
|
1890
|
+
private feedbackModalService;
|
|
1891
|
+
private selectionDetailsService;
|
|
1892
|
+
private selectionDiscountService;
|
|
1893
|
+
private _zoneQuantities;
|
|
1894
|
+
private _allTickets;
|
|
1895
|
+
private _selectedTickets;
|
|
1896
|
+
private _selectedBlockedTickets;
|
|
1897
|
+
private _products;
|
|
1898
|
+
private _productQuantities;
|
|
1899
|
+
readonly selectedTickets: i0.Signal<PerformanceTicket[]>;
|
|
1900
|
+
readonly selectedBlockedTickets: i0.Signal<PerformanceTicket[]>;
|
|
1901
|
+
readonly selectedCount: i0.Signal<number>;
|
|
1902
|
+
readonly blockedSelectedCount: i0.Signal<number>;
|
|
1903
|
+
readonly selectedTicketIds: i0.Signal<Set<PerformanceTicket>>;
|
|
1904
|
+
readonly selectedBlockedTicketIds: i0.Signal<number[]>;
|
|
1905
|
+
readonly selectedTicketIdList: i0.Signal<number[]>;
|
|
1906
|
+
readonly products: i0.Signal<Product[]>;
|
|
1907
|
+
readonly productQuantities: i0.Signal<Map<number, number>>;
|
|
1908
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
1909
|
+
id: number;
|
|
1910
|
+
quantity: number;
|
|
1911
|
+
}[]>;
|
|
1912
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
1913
|
+
readonly serviceFee: i0.Signal<number>;
|
|
1914
|
+
setTickets(tickets: PerformanceTicket[]): void;
|
|
1915
|
+
setProducts(products: Product[]): void;
|
|
1916
|
+
updateProductQuantity(productId: number, delta: number): void;
|
|
1917
|
+
getProductQuantity(productId: number): number;
|
|
1918
|
+
private getListByStatus;
|
|
1919
|
+
toggle(ticket: PerformanceTicket): void;
|
|
1920
|
+
select(ticket: PerformanceTicket): void;
|
|
1921
|
+
deselect(ticket: PerformanceTicket): void;
|
|
1922
|
+
clearBlockedSelection(): void;
|
|
1923
|
+
clearSelection(): void;
|
|
1924
|
+
isSelected(ticket: PerformanceTicket): boolean;
|
|
1925
|
+
initZoneQuantity(elementId: number, maxCapacity: number): void;
|
|
1926
|
+
adjustZoneQuantity(elementId: number, delta: number): void;
|
|
1927
|
+
getZoneTickets(elementId: number): PerformanceTicket[];
|
|
1928
|
+
buildTooltipData(ticket: PerformanceTicket, elementName: string, seatLabel: string | null, x: number, y: number): TicketMapTooltipData;
|
|
1929
|
+
buildReservePerformanceDto(paymentMethod?: string, termsAccepted?: boolean, dataProcessingAccepted?: boolean): ReservePerformanceDto;
|
|
1930
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionService, never>;
|
|
1931
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionService>;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
declare class TicketMapZoomService {
|
|
1935
|
+
readonly currentZoom: i0.WritableSignal<number>;
|
|
1936
|
+
private stage?;
|
|
1937
|
+
private bookingDataService;
|
|
1938
|
+
private readonly defaultConfig;
|
|
1939
|
+
constructor();
|
|
1940
|
+
/**
|
|
1941
|
+
* Set the Konva stage instance
|
|
1942
|
+
*/
|
|
1943
|
+
setStage(stage: Stage): void;
|
|
1944
|
+
/**
|
|
1945
|
+
* Zoom in by one step
|
|
1946
|
+
*/
|
|
1947
|
+
zoomIn(): void;
|
|
1948
|
+
/**
|
|
1949
|
+
* Zoom out by one step
|
|
1950
|
+
*/
|
|
1951
|
+
zoomOut(): void;
|
|
1952
|
+
/**
|
|
1953
|
+
* Reset zoom to 100%
|
|
1954
|
+
*/
|
|
1955
|
+
resetZoom(): void;
|
|
1956
|
+
/**
|
|
1957
|
+
* Get current zoom as percentage string
|
|
1958
|
+
*/
|
|
1959
|
+
getZoomPercentage(): string;
|
|
1960
|
+
/**
|
|
1961
|
+
* Get current zoom value
|
|
1962
|
+
*/
|
|
1963
|
+
getCurrentZoom(): number;
|
|
1964
|
+
/**
|
|
1965
|
+
* Apply zoom with center point
|
|
1966
|
+
*/
|
|
1967
|
+
private applyZoom;
|
|
1968
|
+
/**
|
|
1969
|
+
* Apply zoom scale with specific center point
|
|
1970
|
+
*/
|
|
1971
|
+
private applyZoomScale;
|
|
1972
|
+
/**
|
|
1973
|
+
* Handle mouse wheel zoom toward the cursor position
|
|
1974
|
+
*/
|
|
1975
|
+
handleWheelZoom(deltaY: number): void;
|
|
1976
|
+
/**
|
|
1977
|
+
* Fit the content bounds to fill the stage container
|
|
1978
|
+
*/
|
|
1979
|
+
fitToContainer(padding?: number): void;
|
|
1980
|
+
/**
|
|
1981
|
+
* Get current stage position
|
|
1982
|
+
*/
|
|
1983
|
+
getStagePosition(): {
|
|
1984
|
+
x: number;
|
|
1985
|
+
y: number;
|
|
1986
|
+
};
|
|
1987
|
+
/**
|
|
1988
|
+
* Set stage position (useful for programmatic panning)
|
|
1989
|
+
*/
|
|
1990
|
+
setStagePosition(position: {
|
|
1991
|
+
x: number;
|
|
1992
|
+
y: number;
|
|
1993
|
+
}): void;
|
|
1994
|
+
/**
|
|
1995
|
+
* Fit the stage content bounds to the container, centering and scaling
|
|
1996
|
+
* to show the full content with optional padding.
|
|
1997
|
+
*/
|
|
1998
|
+
fitToBounds(contentBounds: {
|
|
1999
|
+
x: number;
|
|
2000
|
+
y: number;
|
|
2001
|
+
width: number;
|
|
2002
|
+
height: number;
|
|
2003
|
+
}, containerWidth: number, containerHeight: number, padding?: number): void;
|
|
2004
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomService, never>;
|
|
2005
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketMapZoomService>;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
1324
2008
|
declare const authInterceptor: HttpInterceptorFn;
|
|
1325
2009
|
|
|
1326
2010
|
declare class AppButtonComponent {
|
|
@@ -1349,7 +2033,7 @@ declare class AppLinkButtonComponent {
|
|
|
1349
2033
|
route: string;
|
|
1350
2034
|
queryParams: Record<string, any>;
|
|
1351
2035
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1352
|
-
variant: 'primary' | 'secondary' | '
|
|
2036
|
+
variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
|
|
1353
2037
|
get buttonClasses(): string;
|
|
1354
2038
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
|
|
1355
2039
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1365,15 +2049,29 @@ declare class AppAlertComponent {
|
|
|
1365
2049
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppAlertComponent, "app-alert", never, { "type": { "alias": "type"; "required": false; }; "text": { "alias": "text"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
1366
2050
|
}
|
|
1367
2051
|
|
|
1368
|
-
declare class
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
2052
|
+
declare class FeedbackModalComponent implements OnChanges, OnDestroy {
|
|
2053
|
+
isOpen: WritableSignal<boolean>;
|
|
2054
|
+
type: FeedbackModalType;
|
|
2055
|
+
title: string;
|
|
2056
|
+
message: string;
|
|
2057
|
+
showHeader: boolean;
|
|
2058
|
+
showCloseButton: boolean;
|
|
2059
|
+
showTitle: boolean;
|
|
2060
|
+
autoClose: boolean;
|
|
2061
|
+
autoCloseDuration: number;
|
|
2062
|
+
buttonText: string;
|
|
2063
|
+
closed: EventEmitter<void>;
|
|
2064
|
+
private autoCloseTimeout;
|
|
2065
|
+
get defaultButtonText(): string;
|
|
2066
|
+
get resolvedButtonText(): string;
|
|
2067
|
+
get buttonVariant(): 'primary' | 'secondary';
|
|
2068
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2069
|
+
ngOnDestroy(): void;
|
|
1373
2070
|
closeModal(): void;
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
static
|
|
2071
|
+
private scheduleAutoClose;
|
|
2072
|
+
private clearAutoClose;
|
|
2073
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
|
|
2074
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackModalComponent, "feedback-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "autoCloseDuration": { "alias": "autoCloseDuration"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
1377
2075
|
}
|
|
1378
2076
|
|
|
1379
2077
|
declare class DeleteConfirmationComponent {
|
|
@@ -1396,12 +2094,26 @@ declare class DeleteConfirmationComponent {
|
|
|
1396
2094
|
declare class AppModalComponent {
|
|
1397
2095
|
title: string;
|
|
1398
2096
|
disableClose: boolean;
|
|
2097
|
+
showHeader: boolean;
|
|
2098
|
+
showCloseButton: boolean;
|
|
2099
|
+
showTitle: boolean;
|
|
1399
2100
|
isOpen: WritableSignal<boolean>;
|
|
1400
|
-
size:
|
|
2101
|
+
size: ModalSize;
|
|
1401
2102
|
closeModal: EventEmitter<void>;
|
|
1402
2103
|
onCloseModal(): void;
|
|
2104
|
+
onKeydownEscape(): void;
|
|
1403
2105
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
|
|
1404
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
|
|
2106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
declare class AppBadgeComponent {
|
|
2110
|
+
text: string;
|
|
2111
|
+
color: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
2112
|
+
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
2113
|
+
backgroundColor: string;
|
|
2114
|
+
textColor: string;
|
|
2115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBadgeComponent, never>;
|
|
2116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBadgeComponent, "app-badge", never, { "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
1405
2117
|
}
|
|
1406
2118
|
|
|
1407
2119
|
declare class AuditInformationComponent {
|
|
@@ -1436,6 +2148,27 @@ declare class DynamicTableComponent {
|
|
|
1436
2148
|
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "columnComponents": { "alias": "columnComponents"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; }, { "pageChange": "pageChange"; "searchChange": "searchChange"; }, never, never, true, never>;
|
|
1437
2149
|
}
|
|
1438
2150
|
|
|
2151
|
+
declare class ShowCardComponent {
|
|
2152
|
+
show: Show;
|
|
2153
|
+
linkText: string;
|
|
2154
|
+
linkUrlFn?: (show: Show) => string;
|
|
2155
|
+
linkQueryParams?: Record<string, any>;
|
|
2156
|
+
transloco: TranslocoService;
|
|
2157
|
+
dateService: DateService;
|
|
2158
|
+
get showTypeColor(): {
|
|
2159
|
+
bg: string;
|
|
2160
|
+
text: string;
|
|
2161
|
+
};
|
|
2162
|
+
formatTimeDate(date: string): Date;
|
|
2163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardComponent, never>;
|
|
2164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardComponent, "show-card", never, { "show": { "alias": "show"; "required": true; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
declare class ShowCardSkeletonComponent {
|
|
2168
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardSkeletonComponent, never>;
|
|
2169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardSkeletonComponent, "show-card-skeleton", never, {}, {}, never, never, true, never>;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
1439
2172
|
declare class LanguageSwitcherComponent {
|
|
1440
2173
|
protected transloco: TranslocoService;
|
|
1441
2174
|
availableLangs: string[];
|
|
@@ -1757,6 +2490,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1757
2490
|
notFoundText: string;
|
|
1758
2491
|
bindLabel: string;
|
|
1759
2492
|
bindValue: string;
|
|
2493
|
+
disabled: boolean;
|
|
1760
2494
|
value: any;
|
|
1761
2495
|
onChange: any;
|
|
1762
2496
|
onTouched: any;
|
|
@@ -1786,7 +2520,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1786
2520
|
registerOnTouched(fn: any): void;
|
|
1787
2521
|
setDisabledState(isDisabled: boolean): void;
|
|
1788
2522
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncSelectComponent, never>;
|
|
1789
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncSelectComponent, "async-select", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
2523
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncSelectComponent, "async-select", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
1790
2524
|
}
|
|
1791
2525
|
|
|
1792
2526
|
declare class ChangePasswordFormComponent {
|
|
@@ -2244,11 +2978,15 @@ declare class DaySelectorGridComponent {
|
|
|
2244
2978
|
declare class PerformanceCardComponent {
|
|
2245
2979
|
protected listEventService: PerformancesListEventsService;
|
|
2246
2980
|
card: DailyPerformanceItem;
|
|
2981
|
+
linkText: string;
|
|
2982
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
2983
|
+
linkQueryParams?: Record<string, any>;
|
|
2247
2984
|
constructor(listEventService: PerformancesListEventsService);
|
|
2985
|
+
get badgeColor(): 'success' | 'error';
|
|
2248
2986
|
onSelect(): void;
|
|
2249
2987
|
isSelected(): boolean;
|
|
2250
2988
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
|
|
2251
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
2989
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2252
2990
|
}
|
|
2253
2991
|
|
|
2254
2992
|
declare class PerformanceCardListComponent {
|
|
@@ -2256,6 +2994,9 @@ declare class PerformanceCardListComponent {
|
|
|
2256
2994
|
protected performanceService: PerformanceService;
|
|
2257
2995
|
protected listEventService: PerformancesListEventsService;
|
|
2258
2996
|
protected toastService: ToastService;
|
|
2997
|
+
linkText: string;
|
|
2998
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
2999
|
+
linkQueryParams?: Record<string, any>;
|
|
2259
3000
|
loadingData: WritableSignal<boolean>;
|
|
2260
3001
|
performances: WritableSignal<DailyPerformanceItem[]>;
|
|
2261
3002
|
constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
|
|
@@ -2263,7 +3004,7 @@ declare class PerformanceCardListComponent {
|
|
|
2263
3004
|
private loadData;
|
|
2264
3005
|
get selectedDayDate(): string | null;
|
|
2265
3006
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
|
|
2266
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
|
|
3007
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, { "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2267
3008
|
}
|
|
2268
3009
|
|
|
2269
3010
|
declare class PerformanceStepperComponent {
|
|
@@ -2292,9 +3033,9 @@ declare class ShowsFilterComponent {
|
|
|
2292
3033
|
}
|
|
2293
3034
|
|
|
2294
3035
|
interface PriceZoneItem {
|
|
2295
|
-
|
|
3036
|
+
color: string;
|
|
2296
3037
|
name: string;
|
|
2297
|
-
|
|
3038
|
+
available_seats: number;
|
|
2298
3039
|
price: string;
|
|
2299
3040
|
}
|
|
2300
3041
|
|
|
@@ -2310,5 +3051,179 @@ declare class ZonePriceListComponent {
|
|
|
2310
3051
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
|
|
2311
3052
|
}
|
|
2312
3053
|
|
|
2313
|
-
|
|
2314
|
-
|
|
3054
|
+
declare class TicketMapWidgetComponent {
|
|
3055
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetComponent, never>;
|
|
3056
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetComponent, "ticket-map-widget", never, {}, {}, never, ["*"], true, never>;
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
declare class TicketMapWidgetHeaderComponent {
|
|
3060
|
+
title: string;
|
|
3061
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetHeaderComponent, never>;
|
|
3062
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetHeaderComponent, "ticket-map-widget-header", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
declare class TicketMapZoomControlsComponent {
|
|
3066
|
+
private zoomService;
|
|
3067
|
+
readonly currentZoom: i0.Signal<number>;
|
|
3068
|
+
readonly zoomPercentage: i0.Signal<string>;
|
|
3069
|
+
constructor(zoomService: TicketMapZoomService);
|
|
3070
|
+
zoomIn(): void;
|
|
3071
|
+
zoomOut(): void;
|
|
3072
|
+
resetZoom(): void;
|
|
3073
|
+
fitToContainer(): void;
|
|
3074
|
+
handleZoomAction(action: string): void;
|
|
3075
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomControlsComponent, never>;
|
|
3076
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapZoomControlsComponent, "ticket-map-zoom-controls", never, {}, {}, never, never, true, never>;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
3079
|
+
declare class PerformanceTicketMapComponent implements OnDestroy, AfterViewInit {
|
|
3080
|
+
private platformId;
|
|
3081
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3082
|
+
protected feedbackModalService: FeedbackModalService;
|
|
3083
|
+
protected selectionService: TicketSelectionService;
|
|
3084
|
+
protected zoomService: TicketMapZoomService;
|
|
3085
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3086
|
+
needsLoginError: EventEmitter<any>;
|
|
3087
|
+
readOnly: boolean;
|
|
3088
|
+
needsLogin: boolean;
|
|
3089
|
+
isLoggedIn: boolean;
|
|
3090
|
+
stageComponent?: StageComponent;
|
|
3091
|
+
protected tooltipData: i0.WritableSignal<TicketMapTooltipData | null>;
|
|
3092
|
+
private stageReady;
|
|
3093
|
+
private autoFitDone;
|
|
3094
|
+
private resizeObserver?;
|
|
3095
|
+
constructor(platformId: object, bookingDataService: PerformanceBookingDataService, feedbackModalService: FeedbackModalService, selectionService: TicketSelectionService, zoomService: TicketMapZoomService);
|
|
3096
|
+
protected get isBrowser(): boolean;
|
|
3097
|
+
ngAfterViewInit(): void;
|
|
3098
|
+
private setupResizeObserver;
|
|
3099
|
+
private syncStageToContainer;
|
|
3100
|
+
ngOnDestroy(): void;
|
|
3101
|
+
private getInternalPointer;
|
|
3102
|
+
protected selectHallFloor(floorId: number): void;
|
|
3103
|
+
protected handleStageClick(konvaEvent: any): void;
|
|
3104
|
+
protected handleStageMouseMove(konvaEvent: any): void;
|
|
3105
|
+
protected handleStageMouseLeave(): void;
|
|
3106
|
+
protected handleWheel(konvaEvent: any): void;
|
|
3107
|
+
protected trackByElementId(_index: number, item: ElementRenderData): number;
|
|
3108
|
+
protected trackByFloorId(_index: number, floor: HallFloorOption): HallFloorOption;
|
|
3109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketMapComponent, never>;
|
|
3110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceTicketMapComponent, "performance-ticket-map", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "needsLogin": { "alias": "needsLogin"; "required": false; }; "isLoggedIn": { "alias": "isLoggedIn"; "required": false; }; }, { "selectionChange": "selectionChange"; "needsLoginError": "needsLoginError"; }, never, never, true, never>;
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
declare class TicketMapPriceZonesComponent {
|
|
3114
|
+
title: string;
|
|
3115
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapPriceZonesComponent, never>;
|
|
3117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapPriceZonesComponent, "ticket-map-price-zones", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
declare class TicketMapProductSelectionItemComponent {
|
|
3121
|
+
protected selectionService: TicketSelectionService;
|
|
3122
|
+
product: Product;
|
|
3123
|
+
constructor(selectionService: TicketSelectionService);
|
|
3124
|
+
get quantity(): number;
|
|
3125
|
+
get firstImage(): string | undefined;
|
|
3126
|
+
increment(): void;
|
|
3127
|
+
decrement(): void;
|
|
3128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapProductSelectionItemComponent, never>;
|
|
3129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapProductSelectionItemComponent, "ticket-map-product-selection-item", never, { "product": { "alias": "product"; "required": true; }; }, {}, never, never, true, never>;
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
declare class TIcketMapProductSelectionComponent {
|
|
3133
|
+
private bookingDataService;
|
|
3134
|
+
readonly products: i0.Signal<tickera_angular_components.Product[]>;
|
|
3135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TIcketMapProductSelectionComponent, never>;
|
|
3136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TIcketMapProductSelectionComponent, "ticket-map-product-selection", never, {}, {}, never, never, true, never>;
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
declare class TicketMapTotalsComponent {
|
|
3140
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3141
|
+
protected selectionDetailsService: TicketSelectionDetailsService;
|
|
3142
|
+
protected selectionDiscountService: TicketSelectionDiscountService;
|
|
3143
|
+
protected selectionTotalsService: TicketSelectionTotalsService;
|
|
3144
|
+
protected selectionService: TicketSelectionService;
|
|
3145
|
+
private activatedRoute;
|
|
3146
|
+
title: string;
|
|
3147
|
+
buttonText: string;
|
|
3148
|
+
loadingButtonText: string;
|
|
3149
|
+
isLoading: boolean;
|
|
3150
|
+
onPurchaseClick: EventEmitter<void>;
|
|
3151
|
+
constructor(bookingDataService: PerformanceBookingDataService, selectionDetailsService: TicketSelectionDetailsService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, activatedRoute: ActivatedRoute);
|
|
3152
|
+
get serviceFee(): number;
|
|
3153
|
+
get performanceId(): number;
|
|
3154
|
+
get selectedTicketIds(): number[];
|
|
3155
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapTotalsComponent, never>;
|
|
3156
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapTotalsComponent, "ticket-map-totals", never, { "title": { "alias": "title"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "loadingButtonText": { "alias": "loadingButtonText"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "onPurchaseClick": "onPurchaseClick"; }, never, never, true, never>;
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
declare class TicketMapWrapperComponent {
|
|
3160
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3161
|
+
needsLoginError: EventEmitter<any>;
|
|
3162
|
+
readOnly: boolean;
|
|
3163
|
+
needsLogin: boolean;
|
|
3164
|
+
isLoggedIn: boolean;
|
|
3165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWrapperComponent, never>;
|
|
3166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWrapperComponent, "ticket-map-wrapper", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "needsLogin": { "alias": "needsLogin"; "required": false; }; "isLoggedIn": { "alias": "isLoggedIn"; "required": false; }; }, { "selectionChange": "selectionChange"; "needsLoginError": "needsLoginError"; }, never, never, true, never>;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
declare class SeatSelectionEmptySummaryComponent {
|
|
3170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionEmptySummaryComponent, never>;
|
|
3171
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionEmptySummaryComponent, "seat-selection-empty-summary", never, {}, {}, never, never, true, never>;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
declare class SeatSelectionSummaryComponent {
|
|
3175
|
+
protected selectionService: TicketSelectionService;
|
|
3176
|
+
title: string;
|
|
3177
|
+
clearButtonText: string;
|
|
3178
|
+
constructor(selectionService: TicketSelectionService);
|
|
3179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryComponent, never>;
|
|
3180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryComponent, "seat-selection-summary", never, { "title": { "alias": "title"; "required": false; }; "clearButtonText": { "alias": "clearButtonText"; "required": false; }; }, {}, never, never, true, never>;
|
|
3181
|
+
}
|
|
3182
|
+
|
|
3183
|
+
declare class SeatSelectionSummaryItemComponent {
|
|
3184
|
+
protected selectionService: TicketSelectionService;
|
|
3185
|
+
item: PerformanceTicket;
|
|
3186
|
+
constructor(selectionService: TicketSelectionService);
|
|
3187
|
+
getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
3188
|
+
removeItem(ticket: PerformanceTicket): void;
|
|
3189
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryItemComponent, never>;
|
|
3190
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryItemComponent, "seat-selection-summary-item", never, { "item": { "alias": "item"; "required": true; }; }, {}, never, never, true, never>;
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
declare class ConfirmationOrderModalService extends BaseModalService {
|
|
3194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalService, never>;
|
|
3195
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationOrderModalService>;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
declare class ConfirmationOrderComponent {
|
|
3199
|
+
private confirmationOrderModalService;
|
|
3200
|
+
private selectionDiscountService;
|
|
3201
|
+
private selectionTotalsService;
|
|
3202
|
+
private selectionService;
|
|
3203
|
+
private bookingDataService;
|
|
3204
|
+
modalTitle: string;
|
|
3205
|
+
confirmButtonText: string;
|
|
3206
|
+
confirmButtonTextLoading: string;
|
|
3207
|
+
loading: boolean;
|
|
3208
|
+
onConfirm: EventEmitter<any>;
|
|
3209
|
+
constructor(confirmationOrderModalService: ConfirmationOrderModalService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, bookingDataService: PerformanceBookingDataService);
|
|
3210
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
3211
|
+
get selectedCount(): number;
|
|
3212
|
+
get serviceFee(): number;
|
|
3213
|
+
get subtotalValue(): number;
|
|
3214
|
+
get ticketSubtotal(): number;
|
|
3215
|
+
get productSubtotal(): number;
|
|
3216
|
+
get productCount(): number;
|
|
3217
|
+
get totalValue(): number;
|
|
3218
|
+
get totalDiscounted(): number | null;
|
|
3219
|
+
get coupon(): tickera_angular_components.Coupon | null;
|
|
3220
|
+
get corporateBond(): tickera_angular_components.CorporateBond | null;
|
|
3221
|
+
get giftBond(): tickera_angular_components.GiftBond | null;
|
|
3222
|
+
onClose(): void;
|
|
3223
|
+
confirmOrder(): void;
|
|
3224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderComponent, never>;
|
|
3225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationOrderComponent, "confirmation-order-modal", never, { "modalTitle": { "alias": "modalTitle"; "required": false; }; "confirmButtonText": { "alias": "confirmButtonText"; "required": false; }; "confirmButtonTextLoading": { "alias": "confirmButtonTextLoading"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "onConfirm": "onConfirm"; }, never, never, true, never>;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppBadgeComponent, AppButtonComponent, AppLinkButtonComponent, AppModalComponent, AsyncSelectComponent, AuditInformationComponent, BASE_BUTTON_CLASSES, BASE_INPUT_CLASSES, BUTTON_SIZES_CLASSES, BUTTON_VARIANT_CLASSES, BaseModalService, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, ConfirmationOrderComponent, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CouponStatus, CustomerSelectComponent, CustomerService, DEFAULT_STAGE_CONFIG, DOCUMENT_TYPES_OPTIONS, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FeedbackModalComponent, FeedbackModalService, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondStatus, KONVA_SHAPE_MAPPINGS, LanguageSwitcherComponent, MinTodayValidator, MustMatchValidator, OrderItemType, OrderStatus, PAYMENT_METHODS_OPTIONS, PERFORMANCES_API_ROUTES, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PRODUCT_CATEGORIES_API_ROUTES, PRODUCT_TAGS_API_ROUTES, PRODUCT_TYPES_API_ROUTES, PerformanceBookingDataService, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStepperComponent, PerformanceTicketMapComponent, PerformanceTicketStatus, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductCategoryService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, ProductTagService, ProductTypeService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, SHOW_TYPE_COLORS, STATE_API_ENDPOINTS, SeatSelectionEmptySummaryComponent, SeatSelectionSummaryComponent, SeatSelectionSummaryItemComponent, SelectedDiscountCardType, ShowCardComponent, ShowCardSkeletonComponent, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowType, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TICKET_ELEMENT_TYPES, TICKET_MAP_GRID_SIZE, TICKET_MAP_LAST_TICKETS_LIMIT, TICKET_MAP_TITLE_HEIGHT, TICKET_STATUS_COLORS, TICKET_STATUS_FILLS, TICKET_STATUS_LABELS, TIcketMapProductSelectionComponent, TickeraTranslocoLoader, TicketMapPriceZonesComponent, TicketMapProductSelectionItemComponent, TicketMapTotalsComponent, TicketMapWidgetComponent, TicketMapWidgetHeaderComponent, TicketMapWrapperComponent, TicketMapZoomControlsComponent, TicketMapZoomService, TicketSelectionDetailsService, TicketSelectionDiscountService, TicketSelectionService, TicketSelectionTotalsService, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, drawChairIcon, drawHappyFace, drawRoundedRect, drawWheelchairIcon, findElementAtPosition, findTicketAtPosition, formatCitiesResponseToSelect, generateExitScene, generateHallwayScene, generateProductionAreaScene, generateSeatBlockScene, generateSeatBlockTicketScene, generateStageScene, generateStairScene, generateTableScene, generateTableTicketScene, generateUnavailableSpaceScene, generateZoneScene, getBrowserLanguage, getCustomerFullname, getItemTypeIcon, getStoredLanguage, numberToLetter, parseJsonToFormDataAdvanced, processElementsToRenderData, provideTickeraComponents, resolveLanguage, setStoredLanguage, tintColor, transformImageToFile };
|
|
3229
|
+
export type { Admin, AdminsResponse, AsyncSelectConfig, Auditable, CitiesResponse, City, CityResponse, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, ElementRenderData, FeedbackModalElement, FeedbackModalType, FetchCitiesParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, HallFloorOption, KonvaShapeConfig, ModalSize, NumerationConfig, Order, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductCategoriesResponse, ProductCategory, ProductCategoryResponse, ProductImage, ProductResponse, ProductTag, ProductTagResponse, ProductTagsResponse, ProductTaxonomy, ProductType, ProductTypeResponse, ProductTypesResponse, ProductsResponseInterface, ReservePerformanceDto, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, SelectedDiscountCard, Show, ShowCategoriesResponse, ShowCategory, ShowCategoryResponse, ShowGender, ShowGenderResponse, ShowGendersResponse, ShowImage, ShowResponse, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, TicketMapSeatPosition, TicketMapTableChairPosition, TicketMapTooltipData, TicketMapZoneQuantityState, TicketMapZoomConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
|