tickera-angular-components 0.0.1-dev.6 → 0.0.1-dev.61
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 +3256 -336
- package/fesm2022/tickera-angular-components.mjs.map +1 -1
- package/i18n/en.json +29 -1
- package/i18n/es.json +29 -1
- package/index.d.ts +1289 -335
- 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,322 @@ 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
|
-
|
|
550
|
-
width: number;
|
|
551
|
-
height: number;
|
|
552
|
-
show_id: number;
|
|
553
|
-
created_at: Date;
|
|
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"
|
|
554
431
|
}
|
|
555
432
|
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
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;
|
|
433
|
+
declare enum CreatorType {
|
|
434
|
+
ADMIN = "admin",
|
|
435
|
+
CUSTOMER = "customer"
|
|
574
436
|
}
|
|
575
437
|
|
|
576
|
-
|
|
438
|
+
declare enum PaymentMethod {
|
|
439
|
+
PAYROLL = "payroll",
|
|
440
|
+
CASH = "cash",
|
|
441
|
+
DATAFONO = "datafono",
|
|
442
|
+
INTERNAL_EXCHANGE = "internal_exchange",
|
|
443
|
+
CLIENT_EXCHANGE = "client_exchange",
|
|
444
|
+
MERCADO_PAGO = "mercado_pago"
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
declare enum RoomMapElementType {
|
|
448
|
+
SEAT_BLOCK = "seat_block",
|
|
449
|
+
TABLE = "table",
|
|
450
|
+
ZONE = "zone",
|
|
451
|
+
EXIT = "exit",
|
|
452
|
+
STAGE = "stage",
|
|
453
|
+
PRODUCTION_AREA = "production_area",
|
|
454
|
+
UNAVAILABLE_SPACE = "unavailable_space",
|
|
455
|
+
STAIR = "stair",
|
|
456
|
+
HALLWAY = "hallway"
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
interface RoomMapPosition {
|
|
460
|
+
x: number;
|
|
461
|
+
y: number;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
interface RoomMapSize {
|
|
465
|
+
width: number;
|
|
466
|
+
height: number;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
interface RoomMapBaseElement {
|
|
470
|
+
id: string;
|
|
471
|
+
type: RoomMapElementType;
|
|
472
|
+
position: RoomMapPosition;
|
|
473
|
+
size: RoomMapSize;
|
|
474
|
+
rotation: number;
|
|
475
|
+
name?: string;
|
|
476
|
+
isLocked: boolean;
|
|
477
|
+
isVisible: boolean;
|
|
478
|
+
zIndex: number;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
482
|
+
type: RoomMapElementType.EXIT;
|
|
483
|
+
exitName?: string;
|
|
484
|
+
exitType: 'emergency' | 'regular';
|
|
485
|
+
width: number;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
489
|
+
type: RoomMapElementType.PRODUCTION_AREA;
|
|
490
|
+
areaName?: string;
|
|
491
|
+
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
495
|
+
type: RoomMapElementType.SEAT_BLOCK;
|
|
496
|
+
seatNumber?: string;
|
|
497
|
+
isAvailable: boolean;
|
|
498
|
+
priceCategory?: string;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
declare enum RoomMapElementOrientation {
|
|
502
|
+
TOP = "top",
|
|
503
|
+
RIGHT = "right",
|
|
504
|
+
BOTTOM = "bottom",
|
|
505
|
+
LEFT = "left",
|
|
506
|
+
CENTER = "center"
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
510
|
+
type: RoomMapElementType.STAGE;
|
|
511
|
+
stageName?: string;
|
|
512
|
+
orientation: RoomMapElementOrientation;
|
|
513
|
+
isMainStage: boolean;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
517
|
+
type: RoomMapElementType.TABLE;
|
|
518
|
+
tableNumber?: string;
|
|
519
|
+
capacity: number;
|
|
520
|
+
shape: 'round' | 'rectangular' | 'square';
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
524
|
+
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
525
|
+
reason?: string;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
interface RoomMapZoneElement extends RoomMapBaseElement {
|
|
529
|
+
type: RoomMapElementType.ZONE;
|
|
530
|
+
zoneName: string;
|
|
531
|
+
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
532
|
+
color: string;
|
|
533
|
+
capacity?: number;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
|
|
537
|
+
|
|
538
|
+
type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
|
|
539
|
+
|
|
540
|
+
declare enum ShowType {
|
|
541
|
+
PLAY = "PLAY",
|
|
542
|
+
CONCERT = "CONCERT",
|
|
543
|
+
STAND_UP_COMEDY = "STAND_UP_COMEDY",
|
|
544
|
+
OPERA = "OPERA",
|
|
545
|
+
MUSICAL = "MUSICAL",
|
|
546
|
+
DANCE = "DANCE",
|
|
547
|
+
SPORT = "SPORT",
|
|
548
|
+
OTHER = "OTHER",
|
|
549
|
+
DEFAULT = "DEFAULT"
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
553
|
+
|
|
554
|
+
type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
|
|
555
|
+
|
|
556
|
+
interface FeedbackModalElement {
|
|
557
|
+
id: string;
|
|
558
|
+
type: FeedbackModalType;
|
|
559
|
+
title: string;
|
|
560
|
+
isOpen: WritableSignal<boolean>;
|
|
561
|
+
message?: string;
|
|
562
|
+
showHeader?: boolean;
|
|
563
|
+
showCloseButton?: boolean;
|
|
564
|
+
showTitle?: boolean;
|
|
565
|
+
closeModal?: void;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
declare enum FileType {
|
|
569
|
+
IMAGE = "image",
|
|
570
|
+
PDF = "pdf",
|
|
571
|
+
EXCEL = "excel",
|
|
572
|
+
WORD = "word",
|
|
573
|
+
TEXT = "text",
|
|
574
|
+
DEFAULT = "default"
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
declare enum CouponApplicability {
|
|
578
|
+
GENERAL = "GENERAL",
|
|
579
|
+
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
580
|
+
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
581
|
+
SHOWS = "SHOWS",
|
|
582
|
+
PERFORMANCES = "PERFORMANCES"
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
declare enum CouponDiscountType {
|
|
586
|
+
PERCENTAGE = "PERCENTAGE",
|
|
587
|
+
FIXED = "FIXED"
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
declare enum CouponStatus {
|
|
591
|
+
ACTIVE = "ACTIVE",
|
|
592
|
+
INACTIVE = "INACTIVE",
|
|
593
|
+
EXPIRED = "EXPIRED",
|
|
594
|
+
CONSUMED = "CONSUMED"
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
declare enum CorporateBondStatus {
|
|
598
|
+
ACTIVE = "ACTIVE",
|
|
599
|
+
INACTIVE = "INACTIVE",
|
|
600
|
+
EXPIRED = "EXPIRED",
|
|
601
|
+
CONSUMED = "CONSUMED"
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
declare enum PerformanceStatus {
|
|
605
|
+
SCHEDULED = "scheduled",
|
|
606
|
+
OPEN = "open",
|
|
607
|
+
CLOSED = "closed",
|
|
608
|
+
CANCELLED = "cancelled",
|
|
609
|
+
COMPLETED = "completed",
|
|
610
|
+
POSTPONED = "postponed"
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
declare enum PerformanceTicketStatus {
|
|
614
|
+
AVAILABLE = "available",
|
|
615
|
+
RESERVED = "reserved",
|
|
616
|
+
SOLD = "sold",
|
|
617
|
+
BLOCKED = "blocked"
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
declare enum GiftBondStatus {
|
|
621
|
+
ACTIVE = "ACTIVE",
|
|
622
|
+
INACTIVE = "INACTIVE",
|
|
623
|
+
EXPIRED = "EXPIRED",
|
|
624
|
+
CONSUMED = "CONSUMED"
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
declare enum TransactionStatus {
|
|
628
|
+
PENDING = "PENDING",
|
|
629
|
+
APPROVED = "APPROVED",
|
|
630
|
+
REJECTED = "REJECTED",
|
|
631
|
+
ERROR = "ERROR"
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
interface FetchProductCategoriesParams {
|
|
635
|
+
name?: string;
|
|
636
|
+
slug?: string;
|
|
637
|
+
page?: number;
|
|
638
|
+
limit?: number;
|
|
639
|
+
search?: string;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
interface ProductCategory extends Auditable {
|
|
643
|
+
id: number;
|
|
644
|
+
name: string;
|
|
645
|
+
slug: string;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
interface ProductCategoriesResponse {
|
|
577
649
|
statusCode: number;
|
|
578
|
-
data:
|
|
650
|
+
data: {
|
|
651
|
+
categories: ProductCategory[];
|
|
652
|
+
total: number;
|
|
653
|
+
};
|
|
579
654
|
message: string;
|
|
580
655
|
}
|
|
581
656
|
|
|
582
|
-
interface
|
|
657
|
+
interface ProductCategoryResponse {
|
|
658
|
+
statusCode: number;
|
|
659
|
+
data: ProductCategory;
|
|
660
|
+
message: string;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
interface FetchProductTagsParams {
|
|
664
|
+
name?: string;
|
|
665
|
+
slug?: string;
|
|
666
|
+
page?: number;
|
|
667
|
+
limit?: number;
|
|
668
|
+
search?: string;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
interface ProductTag extends Auditable {
|
|
672
|
+
id: number;
|
|
673
|
+
name: string;
|
|
674
|
+
slug: string;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
interface ProductTagResponse {
|
|
678
|
+
statusCode: number;
|
|
679
|
+
data: ProductTag;
|
|
680
|
+
message: string;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
interface ProductTagsResponse {
|
|
583
684
|
statusCode: number;
|
|
584
685
|
data: {
|
|
585
|
-
|
|
686
|
+
tags: ProductTag[];
|
|
586
687
|
total: number;
|
|
587
688
|
};
|
|
588
689
|
message: string;
|
|
589
690
|
}
|
|
590
691
|
|
|
591
|
-
interface
|
|
692
|
+
interface FetchProductTypesParams {
|
|
693
|
+
name?: string;
|
|
694
|
+
slug?: string;
|
|
592
695
|
page?: number;
|
|
593
696
|
limit?: number;
|
|
594
697
|
search?: string;
|
|
595
|
-
date?: string;
|
|
596
698
|
}
|
|
597
699
|
|
|
598
|
-
interface
|
|
700
|
+
interface ProductType extends Auditable {
|
|
599
701
|
id: number;
|
|
600
702
|
name: string;
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
703
|
+
slug: string;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
interface ProductTypeResponse {
|
|
707
|
+
statusCode: number;
|
|
708
|
+
data: ProductType;
|
|
709
|
+
message: string;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
interface ProductTypesResponse {
|
|
713
|
+
statusCode: number;
|
|
714
|
+
data: {
|
|
715
|
+
types: ProductType[];
|
|
716
|
+
total: number;
|
|
717
|
+
};
|
|
718
|
+
message: string;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
interface ProductImage {
|
|
722
|
+
id: number;
|
|
723
|
+
path: string;
|
|
724
|
+
full_url: string;
|
|
725
|
+
original_name: string;
|
|
726
|
+
extension: string;
|
|
727
|
+
size: number;
|
|
728
|
+
mime_type: string;
|
|
729
|
+
width: number;
|
|
730
|
+
height: number;
|
|
731
|
+
product_id: number;
|
|
732
|
+
product: Product;
|
|
606
733
|
created_at: Date;
|
|
607
|
-
updated_at: Date;
|
|
608
|
-
created_by: number;
|
|
609
|
-
updated_by: number;
|
|
610
734
|
}
|
|
611
735
|
|
|
612
736
|
interface Product extends Auditable {
|
|
@@ -621,10 +745,34 @@ interface Product extends Auditable {
|
|
|
621
745
|
is_limited_edition: boolean;
|
|
622
746
|
is_active: boolean;
|
|
623
747
|
deleted_at: Date | null;
|
|
624
|
-
categories?:
|
|
625
|
-
tags?:
|
|
626
|
-
types?:
|
|
627
|
-
images?:
|
|
748
|
+
categories?: ProductCategory[];
|
|
749
|
+
tags?: ProductTag[];
|
|
750
|
+
types?: ProductType[];
|
|
751
|
+
images?: ProductImage[];
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
interface ShowImage {
|
|
755
|
+
id: number;
|
|
756
|
+
path: string;
|
|
757
|
+
full_url: string;
|
|
758
|
+
original_name: string;
|
|
759
|
+
extension: string;
|
|
760
|
+
size: number;
|
|
761
|
+
mime_type: string;
|
|
762
|
+
width: number;
|
|
763
|
+
height: number;
|
|
764
|
+
show_id: number;
|
|
765
|
+
created_at: Date;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
interface PriceZone extends Auditable {
|
|
769
|
+
id: number;
|
|
770
|
+
name: string;
|
|
771
|
+
color: string;
|
|
772
|
+
normal_price: number | null;
|
|
773
|
+
is_active: boolean;
|
|
774
|
+
elements: any[];
|
|
775
|
+
room_map_id: number | null;
|
|
628
776
|
}
|
|
629
777
|
|
|
630
778
|
interface NumerationConfig {
|
|
@@ -662,7 +810,7 @@ interface RoomMapElementTemplate {
|
|
|
662
810
|
price_zone?: PriceZone;
|
|
663
811
|
}
|
|
664
812
|
|
|
665
|
-
interface RoomMap {
|
|
813
|
+
interface RoomMap extends Auditable {
|
|
666
814
|
id: number;
|
|
667
815
|
name: string;
|
|
668
816
|
canvas_settings: {
|
|
@@ -678,8 +826,6 @@ interface RoomMap {
|
|
|
678
826
|
related_product_ids: number[];
|
|
679
827
|
products?: Product[];
|
|
680
828
|
venue_name?: string;
|
|
681
|
-
created_at: Date;
|
|
682
|
-
updated_at: Date;
|
|
683
829
|
}
|
|
684
830
|
|
|
685
831
|
interface RoomMapCanvasConfiguration {
|
|
@@ -721,7 +867,7 @@ interface ElementPropertiesTab {
|
|
|
721
867
|
elements_access: string[];
|
|
722
868
|
}
|
|
723
869
|
|
|
724
|
-
interface Performance {
|
|
870
|
+
interface Performance extends Auditable {
|
|
725
871
|
id: number;
|
|
726
872
|
start_time: Date | string;
|
|
727
873
|
end_time: Date | string;
|
|
@@ -731,26 +877,32 @@ interface Performance {
|
|
|
731
877
|
show?: Show;
|
|
732
878
|
room_map: RoomMap;
|
|
733
879
|
room_map_id: number;
|
|
734
|
-
created_at: Date;
|
|
735
|
-
updated_at: Date;
|
|
736
880
|
}
|
|
737
881
|
|
|
738
|
-
interface
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
882
|
+
interface Show extends Auditable {
|
|
883
|
+
id: number;
|
|
884
|
+
title: string;
|
|
885
|
+
slug: string;
|
|
886
|
+
description: string;
|
|
887
|
+
duration_minutes: number | null;
|
|
888
|
+
type_of_costs: string | null;
|
|
889
|
+
service_fee: number | null;
|
|
890
|
+
show_type: ShowType | null;
|
|
891
|
+
pulep: string | null;
|
|
892
|
+
minimum_age: number | null;
|
|
893
|
+
show_category_id: number | null;
|
|
894
|
+
default_room_map_id: number | null;
|
|
895
|
+
is_published: boolean;
|
|
896
|
+
images: ShowImage[];
|
|
897
|
+
terms_and_conditions: string;
|
|
898
|
+
performances_quantity?: number;
|
|
899
|
+
performances?: Performance[];
|
|
900
|
+
next_performance?: Performance;
|
|
901
|
+
days_of_week?: number[];
|
|
902
|
+
unique_start_times?: string[];
|
|
751
903
|
}
|
|
752
904
|
|
|
753
|
-
interface OrderItem {
|
|
905
|
+
interface OrderItem extends Auditable {
|
|
754
906
|
id: number;
|
|
755
907
|
order: Order;
|
|
756
908
|
item_type: OrderItemType;
|
|
@@ -763,26 +915,21 @@ interface OrderItem {
|
|
|
763
915
|
ticket_id?: number;
|
|
764
916
|
ticket_uuid?: string;
|
|
765
917
|
item: Show | Product;
|
|
766
|
-
created_at: Date;
|
|
767
|
-
updated_at: Date;
|
|
768
|
-
created_by: number;
|
|
769
|
-
updated_by: number;
|
|
770
918
|
}
|
|
771
919
|
|
|
772
920
|
interface Coupon extends Auditable {
|
|
773
921
|
id: number;
|
|
774
922
|
code: string;
|
|
923
|
+
billing_code: string;
|
|
775
924
|
description?: string;
|
|
776
925
|
discount_type: CouponDiscountType;
|
|
777
|
-
discount_type_string?: string;
|
|
778
926
|
discount_value: number;
|
|
779
|
-
discount_value_string?: string;
|
|
780
927
|
start_date: Date | null;
|
|
781
928
|
end_date: Date | null;
|
|
782
929
|
max_uses: number | null;
|
|
783
|
-
|
|
930
|
+
max_uses_per_customer?: number | null;
|
|
784
931
|
uses_count: number;
|
|
785
|
-
|
|
932
|
+
status: CouponStatus;
|
|
786
933
|
applicability_type: CouponApplicability;
|
|
787
934
|
applicable_customer_emails: string[] | null;
|
|
788
935
|
applicable_membership_types: string[] | null;
|
|
@@ -790,9 +937,11 @@ interface Coupon extends Auditable {
|
|
|
790
937
|
applicable_performance_ids?: number[];
|
|
791
938
|
applicable_price_zone_ids?: number[];
|
|
792
939
|
applies_to_service_fee?: boolean;
|
|
940
|
+
orders?: Order[];
|
|
941
|
+
customers?: Customer[];
|
|
793
942
|
}
|
|
794
943
|
|
|
795
|
-
interface CorporateBond {
|
|
944
|
+
interface CorporateBond extends Auditable {
|
|
796
945
|
id: number;
|
|
797
946
|
name: string;
|
|
798
947
|
description?: string;
|
|
@@ -803,10 +952,6 @@ interface CorporateBond {
|
|
|
803
952
|
status: CorporateBondStatus;
|
|
804
953
|
value: number;
|
|
805
954
|
codes: CorporateBondCode[];
|
|
806
|
-
created_at: Date;
|
|
807
|
-
updated_at: Date;
|
|
808
|
-
created_by: number;
|
|
809
|
-
updated_by: number;
|
|
810
955
|
}
|
|
811
956
|
|
|
812
957
|
interface CorporateBondCode {
|
|
@@ -836,38 +981,89 @@ interface ValidateCorporateBondResponse {
|
|
|
836
981
|
statusCode: number;
|
|
837
982
|
}
|
|
838
983
|
|
|
839
|
-
interface
|
|
984
|
+
interface GiftBond extends Auditable {
|
|
840
985
|
id: number;
|
|
841
986
|
uuid: string;
|
|
987
|
+
name: string;
|
|
988
|
+
description?: string;
|
|
989
|
+
status: GiftBondStatus;
|
|
990
|
+
value: number;
|
|
842
991
|
customer: Customer;
|
|
843
|
-
|
|
844
|
-
|
|
992
|
+
customer_id: number;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
interface GiftBondResponse {
|
|
996
|
+
statusCode: number;
|
|
997
|
+
data: GiftBond;
|
|
998
|
+
message: string;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
interface GiftBondsResponse {
|
|
1002
|
+
statusCode: number;
|
|
1003
|
+
data: {
|
|
1004
|
+
gift_bonds: GiftBond[];
|
|
1005
|
+
total: number;
|
|
1006
|
+
};
|
|
1007
|
+
message: string;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
interface ValidateGiftBondResponse {
|
|
1011
|
+
data: {
|
|
1012
|
+
valid: boolean;
|
|
1013
|
+
message: string;
|
|
1014
|
+
code: string;
|
|
1015
|
+
bond?: GiftBond;
|
|
1016
|
+
};
|
|
1017
|
+
statusCode: number;
|
|
1018
|
+
message: string;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
interface Transaction extends Auditable {
|
|
1022
|
+
id: number;
|
|
1023
|
+
status: TransactionStatus;
|
|
1024
|
+
amount: number;
|
|
1025
|
+
currency: string;
|
|
1026
|
+
payment_gateway: string;
|
|
1027
|
+
gateway_transaction_id: string;
|
|
1028
|
+
gateway_response: any;
|
|
1029
|
+
order: Order;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
interface Order extends Auditable {
|
|
1033
|
+
id: number;
|
|
1034
|
+
customer_id: number | null;
|
|
1035
|
+
customer: Customer | null;
|
|
845
1036
|
order_items: OrderItem[];
|
|
846
|
-
|
|
1037
|
+
transactions: Transaction[];
|
|
1038
|
+
sub_total: number;
|
|
847
1039
|
discount_amount: number;
|
|
848
1040
|
total: number;
|
|
849
|
-
total_discounted: number;
|
|
850
|
-
sub_total: number;
|
|
851
1041
|
sub_total_discounted: number;
|
|
1042
|
+
total_discounted: number;
|
|
852
1043
|
service_fee: number;
|
|
853
1044
|
service_fee_discounted: number;
|
|
854
1045
|
coupon: Coupon;
|
|
855
1046
|
coupon_snapshot: Record<string, any>;
|
|
856
|
-
corporate_bond_code: CorporateBondCode;
|
|
857
|
-
corporate_bond_code_snapshot: Record<string, any>;
|
|
858
1047
|
status: OrderStatus;
|
|
859
1048
|
show_snapshot: Record<string, any>;
|
|
860
1049
|
performance_snapshot: Record<string, any>;
|
|
861
|
-
|
|
862
|
-
updated_at: Date;
|
|
863
|
-
payment_method: string;
|
|
1050
|
+
payment_method: PaymentMethod;
|
|
864
1051
|
terms_accepted: boolean;
|
|
865
1052
|
data_processing_accepted: boolean;
|
|
866
|
-
billing_info:
|
|
1053
|
+
billing_info: Record<string, any>;
|
|
1054
|
+
corporate_bond_code_snapshot: Record<string, any>;
|
|
1055
|
+
gift_bond_snapshot: Record<string, any>;
|
|
1056
|
+
corporate_bond_code: CorporateBondCode | null;
|
|
1057
|
+
corporate_bond_code_id: number | null;
|
|
1058
|
+
gift_bond: GiftBond | null;
|
|
1059
|
+
gift_bond_id: number | null;
|
|
867
1060
|
comments: string;
|
|
868
1061
|
address_notes: string;
|
|
1062
|
+
mercado_pago_preference_id: string;
|
|
869
1063
|
created_by: number;
|
|
1064
|
+
created_by_type: CreatorType;
|
|
870
1065
|
updated_by: number;
|
|
1066
|
+
updated_by_type: CreatorType;
|
|
871
1067
|
}
|
|
872
1068
|
|
|
873
1069
|
interface OrderResponse {
|
|
@@ -885,7 +1081,7 @@ interface OrdersResponse {
|
|
|
885
1081
|
message: string;
|
|
886
1082
|
}
|
|
887
1083
|
|
|
888
|
-
interface PerformanceTicket {
|
|
1084
|
+
interface PerformanceTicket extends Auditable {
|
|
889
1085
|
id: number;
|
|
890
1086
|
uuid: string;
|
|
891
1087
|
is_accessible: boolean;
|
|
@@ -905,8 +1101,181 @@ interface PerformanceTicket {
|
|
|
905
1101
|
checked_in_at: Date | null;
|
|
906
1102
|
order_items: OrderItem[];
|
|
907
1103
|
element_qty?: number;
|
|
908
|
-
|
|
909
|
-
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
interface TicketMapSeatPosition {
|
|
1107
|
+
rowIndex: number;
|
|
1108
|
+
colIndex: number;
|
|
1109
|
+
seatLabel: string;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
interface TicketMapTableChairPosition {
|
|
1113
|
+
index: number;
|
|
1114
|
+
angle: number;
|
|
1115
|
+
x: number;
|
|
1116
|
+
y: number;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
interface ElementRenderData {
|
|
1120
|
+
elementId: number;
|
|
1121
|
+
hallFloorId: number | null;
|
|
1122
|
+
type: RoomMapElementType;
|
|
1123
|
+
shapeConfig: Record<string, any>;
|
|
1124
|
+
tickets: PerformanceTicket[];
|
|
1125
|
+
ticketByNumeration: Map<string, PerformanceTicket>;
|
|
1126
|
+
elementName: string;
|
|
1127
|
+
seatPositions?: TicketMapSeatPosition[][];
|
|
1128
|
+
chairPositions?: TicketMapTableChairPosition[];
|
|
1129
|
+
zoneCapacity?: number;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
interface TicketMapTooltipData {
|
|
1133
|
+
x: number;
|
|
1134
|
+
y: number;
|
|
1135
|
+
elementName: string;
|
|
1136
|
+
seatLabel: string | null;
|
|
1137
|
+
price: number;
|
|
1138
|
+
status: PerformanceTicketStatus;
|
|
1139
|
+
statusLabel: string;
|
|
1140
|
+
statusColor: string;
|
|
1141
|
+
isSelected: boolean;
|
|
1142
|
+
ticketId: number;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
interface TicketMapZoneQuantityState {
|
|
1146
|
+
elementId: number;
|
|
1147
|
+
selectedCount: number;
|
|
1148
|
+
maxCapacity: number;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
interface ReservePerformanceDto {
|
|
1152
|
+
ticket_ids: number[];
|
|
1153
|
+
products?: {
|
|
1154
|
+
id: number;
|
|
1155
|
+
quantity: number;
|
|
1156
|
+
}[];
|
|
1157
|
+
coupon_code?: string;
|
|
1158
|
+
gift_bond_code?: string;
|
|
1159
|
+
corporate_bond_code?: string;
|
|
1160
|
+
payment_method?: string;
|
|
1161
|
+
billing?: {
|
|
1162
|
+
first_name: string;
|
|
1163
|
+
last_name: string;
|
|
1164
|
+
email: string;
|
|
1165
|
+
mobile: string;
|
|
1166
|
+
document_type: string;
|
|
1167
|
+
document_number: string;
|
|
1168
|
+
address: string;
|
|
1169
|
+
city_id: number;
|
|
1170
|
+
postal_code?: string;
|
|
1171
|
+
address_notes?: string;
|
|
1172
|
+
terms_accepted: boolean;
|
|
1173
|
+
data_processing_accepted: boolean;
|
|
1174
|
+
comments?: string;
|
|
1175
|
+
};
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
interface TicketMapZoomConfig {
|
|
1179
|
+
minZoom: number;
|
|
1180
|
+
maxZoom: number;
|
|
1181
|
+
zoomStep: number;
|
|
1182
|
+
scaleBy: number;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
interface HallFloorOption {
|
|
1186
|
+
id: number | null;
|
|
1187
|
+
name: string;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
declare enum SelectedDiscountCardType {
|
|
1191
|
+
COUPON = "COUPON",
|
|
1192
|
+
CORPORATE_BOND = "CORPORATE_BOND",
|
|
1193
|
+
GIFT_BOND = "GIFT_BOND"
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
interface SelectedDiscountCard {
|
|
1197
|
+
name: string;
|
|
1198
|
+
type: SelectedDiscountCardType;
|
|
1199
|
+
value: number;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
interface FetchShowsParams {
|
|
1203
|
+
page?: number;
|
|
1204
|
+
limit?: number;
|
|
1205
|
+
search?: string;
|
|
1206
|
+
date?: string;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
interface ShowResponse {
|
|
1210
|
+
statusCode: number;
|
|
1211
|
+
data: Show;
|
|
1212
|
+
message: string;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
interface ShowsResponseInterface {
|
|
1216
|
+
statusCode: number;
|
|
1217
|
+
data: {
|
|
1218
|
+
shows: Show[];
|
|
1219
|
+
total: number;
|
|
1220
|
+
};
|
|
1221
|
+
message: string;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
interface ShowCategory extends Auditable {
|
|
1225
|
+
id: number;
|
|
1226
|
+
name: string;
|
|
1227
|
+
slug: string;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
interface ShowCategoriesResponse {
|
|
1231
|
+
statusCode: number;
|
|
1232
|
+
data: {
|
|
1233
|
+
categories: ShowCategory[];
|
|
1234
|
+
total: number;
|
|
1235
|
+
};
|
|
1236
|
+
message: string;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
interface ShowCategoryResponse {
|
|
1240
|
+
statusCode: number;
|
|
1241
|
+
data: ShowCategory;
|
|
1242
|
+
message: string;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
interface ShowGender extends Auditable {
|
|
1246
|
+
id: number;
|
|
1247
|
+
name: string;
|
|
1248
|
+
slug: string;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
interface ShowGenderResponse {
|
|
1252
|
+
statusCode: number;
|
|
1253
|
+
data: ShowGender;
|
|
1254
|
+
message: string;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
interface ShowGendersResponse {
|
|
1258
|
+
statusCode: number;
|
|
1259
|
+
data: {
|
|
1260
|
+
genders: ShowGender[];
|
|
1261
|
+
total: number;
|
|
1262
|
+
};
|
|
1263
|
+
message: string;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
interface PerformanceResponse {
|
|
1267
|
+
statusCode: number;
|
|
1268
|
+
data: Performance;
|
|
1269
|
+
message: string;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
interface PerformancesResponseInterface {
|
|
1273
|
+
statusCode: number;
|
|
1274
|
+
data: {
|
|
1275
|
+
performances: Performance[];
|
|
1276
|
+
total: number;
|
|
1277
|
+
};
|
|
1278
|
+
message: string;
|
|
910
1279
|
}
|
|
911
1280
|
|
|
912
1281
|
interface PerformanceBookingDataResponse {
|
|
@@ -990,6 +1359,13 @@ interface ProductResponse {
|
|
|
990
1359
|
message: string;
|
|
991
1360
|
}
|
|
992
1361
|
|
|
1362
|
+
interface ProductTaxonomy extends Auditable {
|
|
1363
|
+
id: number;
|
|
1364
|
+
name: string;
|
|
1365
|
+
slug: string;
|
|
1366
|
+
selected?: boolean;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
993
1369
|
interface ProductsResponseInterface {
|
|
994
1370
|
statusCode: number;
|
|
995
1371
|
data: {
|
|
@@ -1043,6 +1419,58 @@ interface ValidateCouponResponse {
|
|
|
1043
1419
|
};
|
|
1044
1420
|
}
|
|
1045
1421
|
|
|
1422
|
+
declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
1423
|
+
|
|
1424
|
+
declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
|
|
1425
|
+
|
|
1426
|
+
declare const TICKET_MAP_LAST_TICKETS_LIMIT = 10;
|
|
1427
|
+
declare const TICKET_ELEMENT_TYPES: RoomMapElementType[];
|
|
1428
|
+
declare const DEFAULT_STAGE_CONFIG: {
|
|
1429
|
+
[x: string]: any;
|
|
1430
|
+
};
|
|
1431
|
+
declare const TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, string>;
|
|
1432
|
+
declare const TICKET_STATUS_FILLS: Record<PerformanceTicketStatus, string>;
|
|
1433
|
+
declare const TICKET_STATUS_LABELS: Record<PerformanceTicketStatus, string>;
|
|
1434
|
+
declare const TICKET_MAP_GRID_SIZE = 30;
|
|
1435
|
+
declare const TICKET_MAP_TITLE_HEIGHT = 30;
|
|
1436
|
+
|
|
1437
|
+
interface KonvaShapeConfig {
|
|
1438
|
+
config: ShapeConfig;
|
|
1439
|
+
layer: 'background' | 'elements' | 'foreground' | 'overlay';
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
declare function drawRoundedRect(con: Context, shape: Shape, x: number, y: number, width: number, height: number, cornerRadius: number): void;
|
|
1443
|
+
|
|
1444
|
+
declare const generateExitScene: (con: Context, shape: Shape) => void;
|
|
1445
|
+
|
|
1446
|
+
declare const generateHallwayScene: (con: Context, shape: Shape) => void;
|
|
1447
|
+
|
|
1448
|
+
declare const generateProductionAreaScene: (con: Context, shape: Shape) => void;
|
|
1449
|
+
|
|
1450
|
+
declare const generateSeatBlockScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1451
|
+
start_row_letter: string;
|
|
1452
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1453
|
+
start_column_number: number;
|
|
1454
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1455
|
+
}) => void;
|
|
1456
|
+
|
|
1457
|
+
declare const generateStageScene: (con: Context, shape: Shape) => void;
|
|
1458
|
+
|
|
1459
|
+
declare const generateStairScene: (con: Context, shape: Shape) => void;
|
|
1460
|
+
|
|
1461
|
+
declare const generateTableScene: (con: Context, shape: Shape) => void;
|
|
1462
|
+
|
|
1463
|
+
declare const generateUnavailableSpaceScene: (con: Context, shape: Shape) => void;
|
|
1464
|
+
|
|
1465
|
+
declare const generateZoneScene: (con: Context, shape: Shape) => void;
|
|
1466
|
+
|
|
1467
|
+
declare const KONVA_SHAPE_MAPPINGS: Record<RoomMapElementType, KonvaShapeConfig>;
|
|
1468
|
+
|
|
1469
|
+
declare const SHOW_TYPE_COLORS: Record<ShowType, {
|
|
1470
|
+
bg: string;
|
|
1471
|
+
text: string;
|
|
1472
|
+
}>;
|
|
1473
|
+
|
|
1046
1474
|
declare const getCustomerFullname: (customer: Customer) => string;
|
|
1047
1475
|
|
|
1048
1476
|
declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
@@ -1050,10 +1478,42 @@ declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
|
1050
1478
|
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1051
1479
|
|
|
1052
1480
|
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1053
|
-
value:
|
|
1481
|
+
value: number;
|
|
1054
1482
|
label: string;
|
|
1055
1483
|
}[];
|
|
1056
1484
|
|
|
1485
|
+
declare function tintColor(hex: string, amount?: number): string;
|
|
1486
|
+
|
|
1487
|
+
declare const drawChairIcon: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1488
|
+
|
|
1489
|
+
declare const drawHappyFace: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1490
|
+
|
|
1491
|
+
declare const drawWheelchairIcon: (con: Context, shape: Shape, cx: number, cy: number, size: number, fillColor?: string, strokeColor?: string) => void;
|
|
1492
|
+
|
|
1493
|
+
declare const numberToLetter: (num: number) => string;
|
|
1494
|
+
|
|
1495
|
+
declare const getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
1496
|
+
|
|
1497
|
+
declare const generateSeatBlockTicketScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1498
|
+
start_row_letter: string;
|
|
1499
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1500
|
+
start_column_number: number;
|
|
1501
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1502
|
+
}, ticketStatusMap?: Map<string, PerformanceTicketStatus>) => void;
|
|
1503
|
+
|
|
1504
|
+
declare const generateTableTicketScene: (con: Context, shape: Shape, chairTicketStatuses?: PerformanceTicketStatus[], tableSeats?: RoomMapSeatState[][]) => void;
|
|
1505
|
+
|
|
1506
|
+
declare function processElementsToRenderData(elements: RoomMapElementTemplate[], tickets: PerformanceTicket[], priceZones?: {
|
|
1507
|
+
id: number;
|
|
1508
|
+
color: string;
|
|
1509
|
+
}[]): ElementRenderData[];
|
|
1510
|
+
declare function findTicketAtPosition(renderData: ElementRenderData, relX: number, relY: number): PerformanceTicket | null;
|
|
1511
|
+
declare function findElementAtPosition(renderDataList: ElementRenderData[], stageX: number, stageY: number): {
|
|
1512
|
+
element: ElementRenderData;
|
|
1513
|
+
relX: number;
|
|
1514
|
+
relY: number;
|
|
1515
|
+
} | null;
|
|
1516
|
+
|
|
1057
1517
|
declare function MinTodayValidator(controlName: string): ValidatorFn;
|
|
1058
1518
|
declare function EndDateGreaterThanStartValidator(startDateControlName: string, endDateControlName: string): ValidatorFn;
|
|
1059
1519
|
|
|
@@ -1084,16 +1544,6 @@ declare class ToastService {
|
|
|
1084
1544
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1085
1545
|
}
|
|
1086
1546
|
|
|
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
1547
|
declare class DeleteConfirmationService {
|
|
1098
1548
|
title: WritableSignal<string>;
|
|
1099
1549
|
resourceName: WritableSignal<string>;
|
|
@@ -1222,25 +1672,6 @@ declare class PerformancesListEventsService {
|
|
|
1222
1672
|
static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
|
|
1223
1673
|
}
|
|
1224
1674
|
|
|
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
1675
|
declare class ShowService {
|
|
1245
1676
|
private apiService;
|
|
1246
1677
|
private showsSubject;
|
|
@@ -1321,6 +1752,304 @@ declare class PriceZoneFormModalService {
|
|
|
1321
1752
|
static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
|
|
1322
1753
|
}
|
|
1323
1754
|
|
|
1755
|
+
declare class ProductCategoryService {
|
|
1756
|
+
private apiService;
|
|
1757
|
+
constructor(apiService: ApiService);
|
|
1758
|
+
fetchCategories({ page, search, limit, }: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
|
|
1759
|
+
fetchOneById(id: number): Observable<ProductCategoryResponse>;
|
|
1760
|
+
createOne(data: ProductCategory): Observable<any>;
|
|
1761
|
+
updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
|
|
1762
|
+
deleteOne(id: number): Observable<any>;
|
|
1763
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
|
|
1764
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
declare class ProductTagService {
|
|
1768
|
+
private apiService;
|
|
1769
|
+
constructor(apiService: ApiService);
|
|
1770
|
+
fetchTags({ page, search, limit }: FetchProductTagsParams): Observable<ProductTagsResponse>;
|
|
1771
|
+
fetchOneById(id: number): Observable<ProductTagResponse>;
|
|
1772
|
+
createOne(data: ProductTag): Observable<any>;
|
|
1773
|
+
updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
|
|
1774
|
+
deleteOne(id: number): Observable<any>;
|
|
1775
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
|
|
1776
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
declare class ProductTypeService {
|
|
1780
|
+
private apiService;
|
|
1781
|
+
constructor(apiService: ApiService);
|
|
1782
|
+
fetchTypes({ page, search, limit }: FetchProductTypesParams): Observable<ProductTypesResponse>;
|
|
1783
|
+
fetchOneById(id: number): Observable<ProductTypeResponse>;
|
|
1784
|
+
createOne(data: ProductType): Observable<any>;
|
|
1785
|
+
updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
|
|
1786
|
+
deleteOne(id: number): Observable<any>;
|
|
1787
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
|
|
1788
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
interface FetchProductsParams {
|
|
1792
|
+
page?: number;
|
|
1793
|
+
limit?: number;
|
|
1794
|
+
search?: string;
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
declare class ProductService {
|
|
1798
|
+
private apiService;
|
|
1799
|
+
private productsSubject;
|
|
1800
|
+
products$: Observable<Product[]>;
|
|
1801
|
+
constructor(apiService: ApiService);
|
|
1802
|
+
fetchProducts({ page, search, limit, }: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
1803
|
+
loadProducts(params: FetchProductsParams): void;
|
|
1804
|
+
getCurrentProducts(): Product[];
|
|
1805
|
+
fetchOneById(id: number): Observable<ProductResponse>;
|
|
1806
|
+
createOne(data: Product): Observable<any>;
|
|
1807
|
+
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
1808
|
+
deleteOne(id: number): Observable<any>;
|
|
1809
|
+
fetchImages(id: number): Observable<{
|
|
1810
|
+
data: ProductImage[];
|
|
1811
|
+
}>;
|
|
1812
|
+
uploadImages(id: number, files?: FormData): Observable<{
|
|
1813
|
+
data: ProductImage[];
|
|
1814
|
+
}>;
|
|
1815
|
+
deleteOneImage(productId: number, imageId: number): Observable<any>;
|
|
1816
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
1817
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
declare class BaseModalService {
|
|
1821
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
1822
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
1823
|
+
open(): void;
|
|
1824
|
+
close(): void;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
declare class FeedbackModalService {
|
|
1828
|
+
private _modals;
|
|
1829
|
+
readonly modals: i0.Signal<FeedbackModalElement[]>;
|
|
1830
|
+
addModal(modal: FeedbackModalElement): void;
|
|
1831
|
+
removeModal(id: string): void;
|
|
1832
|
+
removeAllModals(): void;
|
|
1833
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
|
|
1834
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
declare class PerformanceBookingDataService {
|
|
1838
|
+
private _show;
|
|
1839
|
+
private _performance;
|
|
1840
|
+
private _roomMap;
|
|
1841
|
+
private _hallFloors;
|
|
1842
|
+
private _selectedHallFloor;
|
|
1843
|
+
private _allRenderData;
|
|
1844
|
+
private _stageConfig;
|
|
1845
|
+
readonly show: i0.Signal<Show | null>;
|
|
1846
|
+
readonly hallFloors: i0.Signal<HallFloor[]>;
|
|
1847
|
+
readonly selectedHallFloor: i0.Signal<HallFloor | null>;
|
|
1848
|
+
readonly performance: i0.Signal<Performance | null>;
|
|
1849
|
+
readonly stageConfig: i0.Signal<{
|
|
1850
|
+
[x: string]: any;
|
|
1851
|
+
}>;
|
|
1852
|
+
readonly roomMap: i0.Signal<RoomMap | null>;
|
|
1853
|
+
readonly renderData: i0.Signal<ElementRenderData[]>;
|
|
1854
|
+
setPerformanceBookingData({ data }: PerformanceBookingDataResponse): void;
|
|
1855
|
+
setRoomMap(roomMap: RoomMap | null): void;
|
|
1856
|
+
setPerformance(performance: Performance | null): void;
|
|
1857
|
+
setShow(show: Show | null): void;
|
|
1858
|
+
setSelectedHallFloor(id: number): void;
|
|
1859
|
+
updateStageConfig(data: {
|
|
1860
|
+
[x: string]: any;
|
|
1861
|
+
}): void;
|
|
1862
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceBookingDataService, never>;
|
|
1863
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PerformanceBookingDataService>;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
declare class TicketSelectionDetailsService {
|
|
1867
|
+
private _customerEmail;
|
|
1868
|
+
private _customerId;
|
|
1869
|
+
private _paymentMethod;
|
|
1870
|
+
private _billingInformation;
|
|
1871
|
+
readonly customerEmail: i0.Signal<string | null>;
|
|
1872
|
+
readonly customerId: i0.Signal<number | null>;
|
|
1873
|
+
readonly paymentMethod: i0.Signal<string | null>;
|
|
1874
|
+
readonly billingInformation: i0.Signal<Customer | null>;
|
|
1875
|
+
setCustomerEmail(email: string | null): void;
|
|
1876
|
+
setCustomerId(id: number | null): void;
|
|
1877
|
+
setPaymentMethod(method: string | null): void;
|
|
1878
|
+
setBillingInformation(values: Customer): void;
|
|
1879
|
+
clearSelection(): void;
|
|
1880
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDetailsService, never>;
|
|
1881
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDetailsService>;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
declare class TicketSelectionDiscountService {
|
|
1885
|
+
private _coupon;
|
|
1886
|
+
private _corporateBond;
|
|
1887
|
+
private _corporateBondCode;
|
|
1888
|
+
private _giftBond;
|
|
1889
|
+
private _giftBondCode;
|
|
1890
|
+
readonly coupon: Signal<Coupon | null>;
|
|
1891
|
+
readonly corporateBond: Signal<CorporateBond | null>;
|
|
1892
|
+
readonly corporateBondCode: Signal<string | null>;
|
|
1893
|
+
readonly giftBond: Signal<GiftBond | null>;
|
|
1894
|
+
readonly giftBondCode: Signal<string | null>;
|
|
1895
|
+
readonly selectedDiscount: Signal<SelectedDiscountCard | null>;
|
|
1896
|
+
readonly selectedDiscountType: Signal<SelectedDiscountCardType | undefined>;
|
|
1897
|
+
readonly selectedDiscountValue: Signal<number | undefined>;
|
|
1898
|
+
setCoupon(coupon: Coupon | null): void;
|
|
1899
|
+
setCorporateBond(corporateBond: CorporateBond | null): void;
|
|
1900
|
+
setCorporateBondCode(code: string | null): void;
|
|
1901
|
+
setGiftBond(giftBond: GiftBond | null): void;
|
|
1902
|
+
setGiftBondCode(code: string | null): void;
|
|
1903
|
+
clearSelection(): void;
|
|
1904
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDiscountService, never>;
|
|
1905
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDiscountService>;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
declare class TicketSelectionTotalsService {
|
|
1909
|
+
private bookingDataService;
|
|
1910
|
+
private selectionService;
|
|
1911
|
+
private selectionDiscountService;
|
|
1912
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
1913
|
+
id: number;
|
|
1914
|
+
quantity: number;
|
|
1915
|
+
}[]>;
|
|
1916
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
1917
|
+
readonly productSubtotal: i0.Signal<number>;
|
|
1918
|
+
readonly ticketSubtotal: i0.Signal<number>;
|
|
1919
|
+
readonly serviceFee: i0.Signal<number>;
|
|
1920
|
+
subtotalValue(): number;
|
|
1921
|
+
totalValue(): number;
|
|
1922
|
+
totalDiscounted(): number | null;
|
|
1923
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionTotalsService, never>;
|
|
1924
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionTotalsService>;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
declare class TicketSelectionService {
|
|
1928
|
+
private bookingDataService;
|
|
1929
|
+
private feedbackModalService;
|
|
1930
|
+
private selectionDetailsService;
|
|
1931
|
+
private selectionDiscountService;
|
|
1932
|
+
private _zoneQuantities;
|
|
1933
|
+
private _allTickets;
|
|
1934
|
+
private _selectedTickets;
|
|
1935
|
+
private _selectedBlockedTickets;
|
|
1936
|
+
private _products;
|
|
1937
|
+
private _productQuantities;
|
|
1938
|
+
readonly selectedTickets: i0.Signal<PerformanceTicket[]>;
|
|
1939
|
+
readonly selectedBlockedTickets: i0.Signal<PerformanceTicket[]>;
|
|
1940
|
+
readonly selectedCount: i0.Signal<number>;
|
|
1941
|
+
readonly blockedSelectedCount: i0.Signal<number>;
|
|
1942
|
+
readonly selectedTicketIds: i0.Signal<Set<PerformanceTicket>>;
|
|
1943
|
+
readonly selectedBlockedTicketIds: i0.Signal<number[]>;
|
|
1944
|
+
readonly selectedTicketIdList: i0.Signal<number[]>;
|
|
1945
|
+
readonly products: i0.Signal<Product[]>;
|
|
1946
|
+
readonly productQuantities: i0.Signal<Map<number, number>>;
|
|
1947
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
1948
|
+
id: number;
|
|
1949
|
+
quantity: number;
|
|
1950
|
+
}[]>;
|
|
1951
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
1952
|
+
readonly serviceFee: i0.Signal<number>;
|
|
1953
|
+
setTickets(tickets: PerformanceTicket[]): void;
|
|
1954
|
+
setProducts(products: Product[]): void;
|
|
1955
|
+
updateProductQuantity(productId: number, delta: number): void;
|
|
1956
|
+
getProductQuantity(productId: number): number;
|
|
1957
|
+
private getListByStatus;
|
|
1958
|
+
setSelectedTickets(tickets: PerformanceTicket[]): void;
|
|
1959
|
+
toggle(ticket: PerformanceTicket): void;
|
|
1960
|
+
select(ticket: PerformanceTicket): void;
|
|
1961
|
+
deselect(ticket: PerformanceTicket): void;
|
|
1962
|
+
clearBlockedSelection(): void;
|
|
1963
|
+
clearSelection(): void;
|
|
1964
|
+
isSelected(ticket: PerformanceTicket): boolean;
|
|
1965
|
+
initZoneQuantity(elementId: number, maxCapacity: number): void;
|
|
1966
|
+
adjustZoneQuantity(elementId: number, delta: number): void;
|
|
1967
|
+
getZoneTickets(elementId: number): PerformanceTicket[];
|
|
1968
|
+
buildTooltipData(ticket: PerformanceTicket, elementName: string, seatLabel: string | null, x: number, y: number): TicketMapTooltipData;
|
|
1969
|
+
buildReservePerformanceDto(paymentMethod?: string, termsAccepted?: boolean, dataProcessingAccepted?: boolean): ReservePerformanceDto;
|
|
1970
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionService, never>;
|
|
1971
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionService>;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
declare class TicketMapZoomService {
|
|
1975
|
+
readonly currentZoom: i0.WritableSignal<number>;
|
|
1976
|
+
private stage?;
|
|
1977
|
+
private bookingDataService;
|
|
1978
|
+
private readonly defaultConfig;
|
|
1979
|
+
constructor();
|
|
1980
|
+
/**
|
|
1981
|
+
* Set the Konva stage instance
|
|
1982
|
+
*/
|
|
1983
|
+
setStage(stage: Stage): void;
|
|
1984
|
+
/**
|
|
1985
|
+
* Zoom in by one step
|
|
1986
|
+
*/
|
|
1987
|
+
zoomIn(): void;
|
|
1988
|
+
/**
|
|
1989
|
+
* Zoom out by one step
|
|
1990
|
+
*/
|
|
1991
|
+
zoomOut(): void;
|
|
1992
|
+
/**
|
|
1993
|
+
* Reset zoom to 100%
|
|
1994
|
+
*/
|
|
1995
|
+
resetZoom(): void;
|
|
1996
|
+
/**
|
|
1997
|
+
* Get current zoom as percentage string
|
|
1998
|
+
*/
|
|
1999
|
+
getZoomPercentage(): string;
|
|
2000
|
+
/**
|
|
2001
|
+
* Get current zoom value
|
|
2002
|
+
*/
|
|
2003
|
+
getCurrentZoom(): number;
|
|
2004
|
+
/**
|
|
2005
|
+
* Apply zoom with center point
|
|
2006
|
+
*/
|
|
2007
|
+
private applyZoom;
|
|
2008
|
+
/**
|
|
2009
|
+
* Apply zoom scale with specific center point
|
|
2010
|
+
*/
|
|
2011
|
+
private applyZoomScale;
|
|
2012
|
+
/**
|
|
2013
|
+
* Handle mouse wheel zoom toward the cursor position
|
|
2014
|
+
*/
|
|
2015
|
+
handleWheelZoom(deltaY: number): void;
|
|
2016
|
+
/**
|
|
2017
|
+
* Fit the content bounds to fill the stage container
|
|
2018
|
+
*/
|
|
2019
|
+
fitToContainer(padding?: number): void;
|
|
2020
|
+
/**
|
|
2021
|
+
* Get current stage position
|
|
2022
|
+
*/
|
|
2023
|
+
getStagePosition(): {
|
|
2024
|
+
x: number;
|
|
2025
|
+
y: number;
|
|
2026
|
+
};
|
|
2027
|
+
/**
|
|
2028
|
+
* Set stage position (useful for programmatic panning)
|
|
2029
|
+
*/
|
|
2030
|
+
setStagePosition(position: {
|
|
2031
|
+
x: number;
|
|
2032
|
+
y: number;
|
|
2033
|
+
}): void;
|
|
2034
|
+
/**
|
|
2035
|
+
* Fit the stage content bounds to the container, centering and scaling
|
|
2036
|
+
* to show the full content with optional padding.
|
|
2037
|
+
*/
|
|
2038
|
+
fitToBounds(contentBounds: {
|
|
2039
|
+
x: number;
|
|
2040
|
+
y: number;
|
|
2041
|
+
width: number;
|
|
2042
|
+
height: number;
|
|
2043
|
+
}, containerWidth: number, containerHeight: number, padding?: number): void;
|
|
2044
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomService, never>;
|
|
2045
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketMapZoomService>;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
declare class ConfirmationOrderModalService extends BaseModalService {
|
|
2049
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalService, never>;
|
|
2050
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationOrderModalService>;
|
|
2051
|
+
}
|
|
2052
|
+
|
|
1324
2053
|
declare const authInterceptor: HttpInterceptorFn;
|
|
1325
2054
|
|
|
1326
2055
|
declare class AppButtonComponent {
|
|
@@ -1365,15 +2094,29 @@ declare class AppAlertComponent {
|
|
|
1365
2094
|
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
2095
|
}
|
|
1367
2096
|
|
|
1368
|
-
declare class
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
2097
|
+
declare class FeedbackModalComponent implements OnChanges, OnDestroy {
|
|
2098
|
+
isOpen: WritableSignal<boolean>;
|
|
2099
|
+
type: FeedbackModalType;
|
|
2100
|
+
title: string;
|
|
2101
|
+
message: string;
|
|
2102
|
+
showHeader: boolean;
|
|
2103
|
+
showCloseButton: boolean;
|
|
2104
|
+
showTitle: boolean;
|
|
2105
|
+
autoClose: boolean;
|
|
2106
|
+
autoCloseDuration: number;
|
|
2107
|
+
buttonText: string;
|
|
2108
|
+
closed: EventEmitter<void>;
|
|
2109
|
+
private autoCloseTimeout;
|
|
2110
|
+
get defaultButtonText(): string;
|
|
2111
|
+
get resolvedButtonText(): string;
|
|
2112
|
+
get buttonVariant(): 'primary' | 'secondary';
|
|
2113
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2114
|
+
ngOnDestroy(): void;
|
|
1373
2115
|
closeModal(): void;
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
static
|
|
2116
|
+
private scheduleAutoClose;
|
|
2117
|
+
private clearAutoClose;
|
|
2118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
|
|
2119
|
+
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
2120
|
}
|
|
1378
2121
|
|
|
1379
2122
|
declare class DeleteConfirmationComponent {
|
|
@@ -1396,12 +2139,26 @@ declare class DeleteConfirmationComponent {
|
|
|
1396
2139
|
declare class AppModalComponent {
|
|
1397
2140
|
title: string;
|
|
1398
2141
|
disableClose: boolean;
|
|
2142
|
+
showHeader: boolean;
|
|
2143
|
+
showCloseButton: boolean;
|
|
2144
|
+
showTitle: boolean;
|
|
1399
2145
|
isOpen: WritableSignal<boolean>;
|
|
1400
|
-
size:
|
|
2146
|
+
size: ModalSize;
|
|
1401
2147
|
closeModal: EventEmitter<void>;
|
|
1402
2148
|
onCloseModal(): void;
|
|
2149
|
+
onKeydownEscape(): void;
|
|
1403
2150
|
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>;
|
|
2151
|
+
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>;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
declare class AppBadgeComponent {
|
|
2155
|
+
text: string;
|
|
2156
|
+
color: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
2157
|
+
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
2158
|
+
backgroundColor: string;
|
|
2159
|
+
textColor: string;
|
|
2160
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBadgeComponent, never>;
|
|
2161
|
+
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
2162
|
}
|
|
1406
2163
|
|
|
1407
2164
|
declare class AuditInformationComponent {
|
|
@@ -1436,6 +2193,27 @@ declare class DynamicTableComponent {
|
|
|
1436
2193
|
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
2194
|
}
|
|
1438
2195
|
|
|
2196
|
+
declare class ShowCardComponent {
|
|
2197
|
+
show: Show;
|
|
2198
|
+
linkText: string;
|
|
2199
|
+
linkUrlFn?: (show: Show) => string;
|
|
2200
|
+
linkQueryParams?: Record<string, any>;
|
|
2201
|
+
transloco: TranslocoService;
|
|
2202
|
+
dateService: DateService;
|
|
2203
|
+
get showTypeColor(): {
|
|
2204
|
+
bg: string;
|
|
2205
|
+
text: string;
|
|
2206
|
+
};
|
|
2207
|
+
formatTimeDate(date: string): Date;
|
|
2208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardComponent, never>;
|
|
2209
|
+
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>;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
declare class ShowCardSkeletonComponent {
|
|
2213
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardSkeletonComponent, never>;
|
|
2214
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardSkeletonComponent, "show-card-skeleton", never, {}, {}, never, never, true, never>;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
1439
2217
|
declare class LanguageSwitcherComponent {
|
|
1440
2218
|
protected transloco: TranslocoService;
|
|
1441
2219
|
availableLangs: string[];
|
|
@@ -1483,7 +2261,7 @@ declare class FormInputComponent implements ControlValueAccessor {
|
|
|
1483
2261
|
|
|
1484
2262
|
declare class FormSelectComponent implements ControlValueAccessor {
|
|
1485
2263
|
ngControl: NgControl;
|
|
1486
|
-
|
|
2264
|
+
protected transloco: TranslocoService;
|
|
1487
2265
|
label: string;
|
|
1488
2266
|
name: string;
|
|
1489
2267
|
id: string;
|
|
@@ -1507,7 +2285,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
|
|
|
1507
2285
|
get inputId(): string;
|
|
1508
2286
|
get showError(): boolean;
|
|
1509
2287
|
get errorMessage(): string;
|
|
1510
|
-
get resolvedDefaultOptionLabel(): string;
|
|
1511
2288
|
get fieldGroupClasses(): string;
|
|
1512
2289
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
|
|
1513
2290
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectComponent, "form-select", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "options": { "alias": "options"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "showDefaultOption": { "alias": "showDefaultOption"; "required": false; }; "defaultOptionLabel": { "alias": "defaultOptionLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1757,6 +2534,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1757
2534
|
notFoundText: string;
|
|
1758
2535
|
bindLabel: string;
|
|
1759
2536
|
bindValue: string;
|
|
2537
|
+
disabled: boolean;
|
|
1760
2538
|
value: any;
|
|
1761
2539
|
onChange: any;
|
|
1762
2540
|
onTouched: any;
|
|
@@ -1786,7 +2564,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1786
2564
|
registerOnTouched(fn: any): void;
|
|
1787
2565
|
setDisabledState(isDisabled: boolean): void;
|
|
1788
2566
|
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>;
|
|
2567
|
+
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
2568
|
}
|
|
1791
2569
|
|
|
1792
2570
|
declare class ChangePasswordFormComponent {
|
|
@@ -2244,11 +3022,15 @@ declare class DaySelectorGridComponent {
|
|
|
2244
3022
|
declare class PerformanceCardComponent {
|
|
2245
3023
|
protected listEventService: PerformancesListEventsService;
|
|
2246
3024
|
card: DailyPerformanceItem;
|
|
3025
|
+
linkText: string;
|
|
3026
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3027
|
+
linkQueryParams?: Record<string, any>;
|
|
2247
3028
|
constructor(listEventService: PerformancesListEventsService);
|
|
3029
|
+
get badgeColor(): 'success' | 'error';
|
|
2248
3030
|
onSelect(): void;
|
|
2249
3031
|
isSelected(): boolean;
|
|
2250
3032
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
|
|
2251
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
3033
|
+
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
3034
|
}
|
|
2253
3035
|
|
|
2254
3036
|
declare class PerformanceCardListComponent {
|
|
@@ -2256,6 +3038,9 @@ declare class PerformanceCardListComponent {
|
|
|
2256
3038
|
protected performanceService: PerformanceService;
|
|
2257
3039
|
protected listEventService: PerformancesListEventsService;
|
|
2258
3040
|
protected toastService: ToastService;
|
|
3041
|
+
linkText: string;
|
|
3042
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3043
|
+
linkQueryParams?: Record<string, any>;
|
|
2259
3044
|
loadingData: WritableSignal<boolean>;
|
|
2260
3045
|
performances: WritableSignal<DailyPerformanceItem[]>;
|
|
2261
3046
|
constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
|
|
@@ -2263,7 +3048,7 @@ declare class PerformanceCardListComponent {
|
|
|
2263
3048
|
private loadData;
|
|
2264
3049
|
get selectedDayDate(): string | null;
|
|
2265
3050
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
|
|
2266
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
|
|
3051
|
+
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
3052
|
}
|
|
2268
3053
|
|
|
2269
3054
|
declare class PerformanceStepperComponent {
|
|
@@ -2292,9 +3077,9 @@ declare class ShowsFilterComponent {
|
|
|
2292
3077
|
}
|
|
2293
3078
|
|
|
2294
3079
|
interface PriceZoneItem {
|
|
2295
|
-
|
|
3080
|
+
color: string;
|
|
2296
3081
|
name: string;
|
|
2297
|
-
|
|
3082
|
+
available_seats: number;
|
|
2298
3083
|
price: string;
|
|
2299
3084
|
}
|
|
2300
3085
|
|
|
@@ -2310,5 +3095,174 @@ declare class ZonePriceListComponent {
|
|
|
2310
3095
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
|
|
2311
3096
|
}
|
|
2312
3097
|
|
|
2313
|
-
|
|
2314
|
-
|
|
3098
|
+
declare class TicketMapWidgetComponent {
|
|
3099
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetComponent, never>;
|
|
3100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetComponent, "ticket-map-widget", never, {}, {}, never, ["*"], true, never>;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
declare class TicketMapWidgetHeaderComponent {
|
|
3104
|
+
title: string;
|
|
3105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetHeaderComponent, never>;
|
|
3106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetHeaderComponent, "ticket-map-widget-header", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
declare class TicketMapZoomControlsComponent {
|
|
3110
|
+
private zoomService;
|
|
3111
|
+
readonly currentZoom: i0.Signal<number>;
|
|
3112
|
+
readonly zoomPercentage: i0.Signal<string>;
|
|
3113
|
+
constructor(zoomService: TicketMapZoomService);
|
|
3114
|
+
zoomIn(): void;
|
|
3115
|
+
zoomOut(): void;
|
|
3116
|
+
resetZoom(): void;
|
|
3117
|
+
fitToContainer(): void;
|
|
3118
|
+
handleZoomAction(action: string): void;
|
|
3119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomControlsComponent, never>;
|
|
3120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapZoomControlsComponent, "ticket-map-zoom-controls", never, {}, {}, never, never, true, never>;
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3123
|
+
declare class PerformanceTicketMapComponent implements OnDestroy, AfterViewInit {
|
|
3124
|
+
private platformId;
|
|
3125
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3126
|
+
protected feedbackModalService: FeedbackModalService;
|
|
3127
|
+
protected selectionService: TicketSelectionService;
|
|
3128
|
+
protected zoomService: TicketMapZoomService;
|
|
3129
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3130
|
+
needsLoginError: EventEmitter<any>;
|
|
3131
|
+
readOnly: boolean;
|
|
3132
|
+
needsLogin: boolean;
|
|
3133
|
+
isLoggedIn: boolean;
|
|
3134
|
+
stageComponent?: StageComponent;
|
|
3135
|
+
protected tooltipData: i0.WritableSignal<TicketMapTooltipData | null>;
|
|
3136
|
+
private stageReady;
|
|
3137
|
+
private autoFitDone;
|
|
3138
|
+
private resizeObserver?;
|
|
3139
|
+
constructor(platformId: object, bookingDataService: PerformanceBookingDataService, feedbackModalService: FeedbackModalService, selectionService: TicketSelectionService, zoomService: TicketMapZoomService);
|
|
3140
|
+
protected get isBrowser(): boolean;
|
|
3141
|
+
ngAfterViewInit(): void;
|
|
3142
|
+
private setupResizeObserver;
|
|
3143
|
+
private syncStageToContainer;
|
|
3144
|
+
ngOnDestroy(): void;
|
|
3145
|
+
private getInternalPointer;
|
|
3146
|
+
protected selectHallFloor(floorId: number): void;
|
|
3147
|
+
protected handleStageClick(konvaEvent: any): void;
|
|
3148
|
+
protected handleStageMouseMove(konvaEvent: any): void;
|
|
3149
|
+
protected handleStageMouseLeave(): void;
|
|
3150
|
+
protected handleWheel(konvaEvent: any): void;
|
|
3151
|
+
protected trackByElementId(_index: number, item: ElementRenderData): number;
|
|
3152
|
+
protected trackByFloorId(_index: number, floor: HallFloorOption): HallFloorOption;
|
|
3153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketMapComponent, never>;
|
|
3154
|
+
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>;
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
declare class TicketMapPriceZonesComponent {
|
|
3158
|
+
title: string;
|
|
3159
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3160
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapPriceZonesComponent, never>;
|
|
3161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapPriceZonesComponent, "ticket-map-price-zones", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
declare class TicketMapProductSelectionItemComponent {
|
|
3165
|
+
protected selectionService: TicketSelectionService;
|
|
3166
|
+
product: Product;
|
|
3167
|
+
constructor(selectionService: TicketSelectionService);
|
|
3168
|
+
get quantity(): number;
|
|
3169
|
+
get firstImage(): string | undefined;
|
|
3170
|
+
increment(): void;
|
|
3171
|
+
decrement(): void;
|
|
3172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapProductSelectionItemComponent, never>;
|
|
3173
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapProductSelectionItemComponent, "ticket-map-product-selection-item", never, { "product": { "alias": "product"; "required": true; }; }, {}, never, never, true, never>;
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
declare class TIcketMapProductSelectionComponent {
|
|
3177
|
+
private bookingDataService;
|
|
3178
|
+
readonly products: i0.Signal<tickera_angular_components.Product[]>;
|
|
3179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TIcketMapProductSelectionComponent, never>;
|
|
3180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TIcketMapProductSelectionComponent, "ticket-map-product-selection", never, {}, {}, never, never, true, never>;
|
|
3181
|
+
}
|
|
3182
|
+
|
|
3183
|
+
declare class TicketMapTotalsComponent {
|
|
3184
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3185
|
+
protected selectionDetailsService: TicketSelectionDetailsService;
|
|
3186
|
+
protected selectionDiscountService: TicketSelectionDiscountService;
|
|
3187
|
+
protected selectionTotalsService: TicketSelectionTotalsService;
|
|
3188
|
+
protected selectionService: TicketSelectionService;
|
|
3189
|
+
private activatedRoute;
|
|
3190
|
+
title: string;
|
|
3191
|
+
buttonText: string;
|
|
3192
|
+
loadingButtonText: string;
|
|
3193
|
+
isLoading: boolean;
|
|
3194
|
+
onPurchaseClick: EventEmitter<void>;
|
|
3195
|
+
constructor(bookingDataService: PerformanceBookingDataService, selectionDetailsService: TicketSelectionDetailsService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, activatedRoute: ActivatedRoute);
|
|
3196
|
+
get serviceFee(): number;
|
|
3197
|
+
get performanceId(): number;
|
|
3198
|
+
get selectedTicketIds(): number[];
|
|
3199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapTotalsComponent, never>;
|
|
3200
|
+
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>;
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
declare class TicketMapWrapperComponent {
|
|
3204
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3205
|
+
needsLoginError: EventEmitter<any>;
|
|
3206
|
+
readOnly: boolean;
|
|
3207
|
+
needsLogin: boolean;
|
|
3208
|
+
isLoggedIn: boolean;
|
|
3209
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWrapperComponent, never>;
|
|
3210
|
+
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>;
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
declare class SeatSelectionEmptySummaryComponent {
|
|
3214
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionEmptySummaryComponent, never>;
|
|
3215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionEmptySummaryComponent, "seat-selection-empty-summary", never, {}, {}, never, never, true, never>;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
declare class SeatSelectionSummaryComponent {
|
|
3219
|
+
protected selectionService: TicketSelectionService;
|
|
3220
|
+
title: string;
|
|
3221
|
+
clearButtonText: string;
|
|
3222
|
+
constructor(selectionService: TicketSelectionService);
|
|
3223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryComponent, never>;
|
|
3224
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryComponent, "seat-selection-summary", never, { "title": { "alias": "title"; "required": false; }; "clearButtonText": { "alias": "clearButtonText"; "required": false; }; }, {}, never, never, true, never>;
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
declare class SeatSelectionSummaryItemComponent {
|
|
3228
|
+
protected selectionService: TicketSelectionService;
|
|
3229
|
+
item: PerformanceTicket;
|
|
3230
|
+
constructor(selectionService: TicketSelectionService);
|
|
3231
|
+
getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
3232
|
+
removeItem(ticket: PerformanceTicket): void;
|
|
3233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryItemComponent, never>;
|
|
3234
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryItemComponent, "seat-selection-summary-item", never, { "item": { "alias": "item"; "required": true; }; }, {}, never, never, true, never>;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
declare class ConfirmationOrderModalComponent {
|
|
3238
|
+
private confirmationOrderModalService;
|
|
3239
|
+
private selectionDiscountService;
|
|
3240
|
+
private selectionTotalsService;
|
|
3241
|
+
private selectionService;
|
|
3242
|
+
private bookingDataService;
|
|
3243
|
+
modalTitle: string;
|
|
3244
|
+
confirmButtonText: string;
|
|
3245
|
+
confirmButtonTextLoading: string;
|
|
3246
|
+
loading: boolean;
|
|
3247
|
+
onConfirm: EventEmitter<any>;
|
|
3248
|
+
constructor(confirmationOrderModalService: ConfirmationOrderModalService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, bookingDataService: PerformanceBookingDataService);
|
|
3249
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
3250
|
+
get selectedCount(): number;
|
|
3251
|
+
get serviceFee(): number;
|
|
3252
|
+
get subtotalValue(): number;
|
|
3253
|
+
get ticketSubtotal(): number;
|
|
3254
|
+
get productSubtotal(): number;
|
|
3255
|
+
get productCount(): number;
|
|
3256
|
+
get totalValue(): number;
|
|
3257
|
+
get totalDiscounted(): number | null;
|
|
3258
|
+
get coupon(): tickera_angular_components.Coupon | null;
|
|
3259
|
+
get corporateBond(): tickera_angular_components.CorporateBond | null;
|
|
3260
|
+
get giftBond(): tickera_angular_components.GiftBond | null;
|
|
3261
|
+
onClose(): void;
|
|
3262
|
+
confirmOrder(): void;
|
|
3263
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalComponent, never>;
|
|
3264
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationOrderModalComponent, "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>;
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
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, ConfirmationOrderModalComponent, ConfirmationOrderModalService, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CouponStatus, CreatorType, 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, PaymentMethod, 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, TransactionStatus, 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 };
|
|
3268
|
+
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, Transaction, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
|