tickera-angular-components 0.0.1-dev.14 → 0.0.1-dev.142

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/index.d.ts CHANGED
@@ -1,12 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter, Injector, Type, OnInit, OnDestroy, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { InjectionToken, EnvironmentProviders, WritableSignal, Signal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type, OnInit, ElementRef, AfterViewInit } from '@angular/core';
3
+ export { TippyDirective } from '@ngneat/helipopper';
4
+ export * from '@ngneat/helipopper/config';
3
5
  import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
4
6
  import * as rxjs from 'rxjs';
5
7
  import { Observable, Subject } from 'rxjs';
6
- import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, FormControl } from '@angular/forms';
8
+ import { ShapeConfig, Shape } from 'konva/lib/Shape';
9
+ import { Context } from 'konva/lib/Context';
10
+ import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, ValidationErrors, FormControl } from '@angular/forms';
7
11
  import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
12
+ import { Stage } from 'konva/lib/Stage';
13
+ import * as tickera_angular_components from 'tickera-angular-components';
8
14
  import { Toolbar, Editor } from 'ngx-editor';
9
- import { Router } from '@angular/router';
15
+ import { Router, ActivatedRoute } from '@angular/router';
16
+ import { StageComponent } from 'ng2-konva';
10
17
 
11
18
  interface TickeraComponentsConfig {
12
19
  apiUrl: string;
@@ -14,6 +21,7 @@ interface TickeraComponentsConfig {
14
21
  defaultLang?: string;
15
22
  availableLangs?: string[];
16
23
  }
24
+
17
25
  declare const TICKERA_COMPONENTS_CONFIG: InjectionToken<TickeraComponentsConfig>;
18
26
  declare function provideTickeraComponents(config: TickeraComponentsConfig): EnvironmentProviders;
19
27
 
@@ -33,15 +41,6 @@ declare const ALERT_ICONS: {
33
41
  info: string;
34
42
  };
35
43
 
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
44
  declare const ADMIN_API_ROUTES: {
46
45
  FIND_ALL: string;
47
46
  CREATE: string;
@@ -65,10 +64,10 @@ declare const COUNTRY_API_ENDPOINTS: {
65
64
  delete: (id: number) => string;
66
65
  };
67
66
 
68
- declare const STATE_API_ENDPOINTS: {
67
+ declare const CUSTOMERS_API_ROUTES: {
69
68
  findAll: string;
70
69
  create: string;
71
- findById: (id: number) => string;
70
+ findOne: (id: number) => string;
72
71
  update: (id: number) => string;
73
72
  delete: (id: number) => string;
74
73
  };
@@ -79,6 +78,7 @@ declare const PERFORMANCES_API_ROUTES: {
79
78
  createBulk: string;
80
79
  findOneById: (id: number) => string;
81
80
  findOneBookingData: (id: number) => string;
81
+ findOneBookingDataAdmin: (id: number) => string;
82
82
  update: (id: number) => string;
83
83
  delete: (id: number) => string;
84
84
  deleteMany: string;
@@ -90,12 +90,49 @@ declare const PERFORMANCES_API_ROUTES: {
90
90
  publicAvailablePerformances: string;
91
91
  };
92
92
 
93
+ declare const PRICE_ZONES_API_ROUTES: {
94
+ FIND_ALL: string;
95
+ CREATE: string;
96
+ findOneById: (id: number) => string;
97
+ update: (id: number) => string;
98
+ delete: (id: number) => string;
99
+ updateElements: (id: number) => string;
100
+ duplicate: (id: number) => string;
101
+ };
102
+
103
+ declare const PRODUCT_CATEGORIES_API_ROUTES: {
104
+ FIND_ALL: string;
105
+ CREATE: string;
106
+ findById: (id: number) => string;
107
+ update: (id: number) => string;
108
+ delete: (id: number) => string;
109
+ };
110
+
111
+ declare const PRODUCT_TAGS_API_ROUTES: {
112
+ FIND_ALL: string;
113
+ CREATE: string;
114
+ findById: (id: number) => string;
115
+ update: (id: number) => string;
116
+ delete: (id: number) => string;
117
+ };
118
+
119
+ declare const PRODUCT_TYPES_API_ROUTES: {
120
+ FIND_ALL: string;
121
+ CREATE: string;
122
+ findById: (id: number) => string;
123
+ update: (id: number) => string;
124
+ delete: (id: number) => string;
125
+ };
126
+
93
127
  declare const PRODUCTS_API_ROUTES: {
94
128
  FIND_ALL: string;
95
129
  CREATE: string;
96
130
  findOneById: (id: number) => string;
97
131
  update: (id: number) => string;
98
132
  delete: (id: number) => string;
133
+ fetchImages: (id: number) => string;
134
+ uploadImages: (id: number) => string;
135
+ deleteOneImage: (productId: number, imageId: number) => string;
99
136
  };
100
137
 
101
138
  declare const SHOWS_API_ROUTES: {
@@ -110,22 +147,12 @@ declare const SHOWS_API_ROUTES: {
110
147
  publicAvailablePerformances: string;
111
148
  };
112
149
 
113
- declare const CUSTOMERS_API_ROUTES: {
150
+ declare const STATE_API_ENDPOINTS: {
114
151
  findAll: string;
115
152
  create: string;
116
- findOne: (id: number) => string;
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;
153
+ findById: (id: number) => string;
125
154
  update: (id: number) => string;
126
155
  delete: (id: number) => string;
127
- updateElements: (id: number) => string;
128
- duplicate: (id: number) => string;
129
156
  };
130
157
 
131
158
  declare const VENUES_API_ROUTES: {
@@ -139,162 +166,36 @@ declare const VENUES_API_ROUTES: {
139
166
  deleteOneImage: (venueId: number, imageId: number) => string;
140
167
  };
141
168
 
142
- declare enum FileType {
143
- IMAGE = "image",
144
- PDF = "pdf",
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 GiftBondStatus {
205
- ACTIVE = "ACTIVE",
206
- REDEEMED = "REDEEMED",
207
- EXPIRED = "EXPIRED",
208
- INACTIVE = "INACTIVE"
209
- }
210
-
211
- declare enum OrderItemType {
212
- TICKET = "TICKET",
213
- PRODUCT = "PRODUCT"
214
- }
215
-
216
- declare enum OrderStatus {
217
- ON_HOLD = "on-hold",
218
- PENDING_PAYMENT = "pending-payment",
219
- PROCESSING = "processing",
220
- COMPLETED = "completed",
221
- FAILED = "failed",
222
- CANCELLED = "cancelled",
223
- REFUNDED = "refunded"
224
- }
225
-
226
- interface RoomMapPosition {
227
- x: number;
228
- y: number;
229
- }
230
-
231
- interface RoomMapSize {
232
- width: number;
233
- height: number;
234
- }
235
-
236
- interface RoomMapBaseElement {
237
- id: string;
238
- type: RoomMapElementType;
239
- position: RoomMapPosition;
240
- size: RoomMapSize;
241
- rotation: number;
242
- name?: string;
243
- isLocked: boolean;
244
- isVisible: boolean;
245
- zIndex: number;
246
- }
247
-
248
- interface RoomMapExitElement extends RoomMapBaseElement {
249
- type: RoomMapElementType.EXIT;
250
- exitName?: string;
251
- exitType: 'emergency' | 'regular';
252
- width: number;
253
- }
254
-
255
- interface RoomMapProductionAreaElement extends RoomMapBaseElement {
256
- type: RoomMapElementType.PRODUCTION_AREA;
257
- areaName?: string;
258
- areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
259
- }
260
-
261
- interface RoomMapSeatElement extends RoomMapBaseElement {
262
- type: RoomMapElementType.SEAT_BLOCK;
263
- seatNumber?: string;
264
- isAvailable: boolean;
265
- priceCategory?: string;
266
- }
169
+ declare const VIP_CARDS_API_ROUTES: {
170
+ findAll: string;
171
+ findOne: (id: number) => string;
172
+ activateAdmin: string;
173
+ rechargeAdmin: (id: number) => string;
174
+ updateStatus: (id: number) => string;
175
+ updateTerms: (id: number) => string;
176
+ transactions: (id: number) => string;
177
+ findMy: string;
178
+ activate: string;
179
+ recharge: string;
180
+ };
267
181
 
268
- interface RoomMapStageElement extends RoomMapBaseElement {
269
- type: RoomMapElementType.STAGE;
270
- stageName?: string;
271
- orientation: RoomMapElementOrientation;
272
- isMainStage: boolean;
273
- }
182
+ declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
183
+ declare const BASE_BUTTON_CLASSES = "btn";
184
+ declare const BUTTON_SIZES_CLASSES: Record<string, string>;
274
185
 
275
- interface RoomMapTableElement extends RoomMapBaseElement {
276
- type: RoomMapElementType.TABLE;
277
- tableNumber?: string;
278
- capacity: number;
279
- shape: 'round' | 'rectangular' | 'square';
280
- }
186
+ declare const FORM_ERROR_MESSAGES: Record<string, string>;
281
187
 
282
- interface RoomMapUnavailableElement extends RoomMapBaseElement {
283
- type: RoomMapElementType.UNAVAILABLE_SPACE;
284
- reason?: string;
285
- }
188
+ declare const BASE_INPUT_CLASSES: string;
189
+ declare const ERROR_INPUT_CLASSES: string;
286
190
 
287
- interface RoomMapZoneElement extends RoomMapBaseElement {
288
- type: RoomMapElementType.ZONE;
289
- zoneName: string;
290
- zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
291
- color: string;
292
- capacity?: number;
191
+ interface PhoneCountry {
192
+ name: string;
193
+ isoCode: string;
194
+ dialCode: string;
293
195
  }
294
196
 
295
- type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
296
-
297
- type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
197
+ declare function phoneCountryFlag(isoCode: string): string;
198
+ declare const PHONE_COUNTRIES: PhoneCountry[];
298
199
 
299
200
  interface SelectOption {
300
201
  value: any;
@@ -302,7 +203,7 @@ interface SelectOption {
302
203
  disabled?: boolean;
303
204
  }
304
205
 
305
- interface Admin {
206
+ interface Admin extends Auditable {
306
207
  id: number;
307
208
  username: string;
308
209
  email: string;
@@ -318,16 +219,17 @@ interface Admin {
318
219
  reset_password_expires: Date;
319
220
  email_verified_at: Date;
320
221
  last_login: Date;
321
- created_at: Date;
322
- updated_at: Date;
323
- deleted_at: Date;
324
222
  }
325
223
 
326
224
  interface Auditable {
327
225
  created_at: Date;
328
226
  updated_at: Date;
227
+ deleted_at?: Date | null;
329
228
  is_published?: boolean;
330
229
  published_at?: Date;
230
+ published_by?: number;
231
+ deleted_by?: number;
232
+ deleted_by_admin?: Admin;
331
233
  created_by_admin?: Admin;
332
234
  updated_by_admin?: Admin;
333
235
  published_by_admin?: Admin;
@@ -370,20 +272,20 @@ interface AdminsResponse {
370
272
  }
371
273
 
372
274
  interface Country {
373
- id: string;
275
+ id: number;
374
276
  name: string;
375
277
  iso2: string;
376
278
  }
377
279
 
378
280
  interface State {
379
- id: string;
281
+ id: number;
380
282
  name: string;
381
283
  country_id: number;
382
284
  country?: Country;
383
285
  }
384
286
 
385
287
  interface City {
386
- id: string;
288
+ id: number;
387
289
  name: string;
388
290
  search_text: string | null;
389
291
  state_id: number;
@@ -422,27 +324,21 @@ interface Venue extends Auditable {
422
324
  images: VenueImage[];
423
325
  }
424
326
 
425
- interface HallFloor {
327
+ interface HallFloor extends Auditable {
426
328
  id: number;
427
329
  name: string;
428
330
  level: number;
429
331
  max_capacity: number;
430
332
  description: string;
431
333
  hall_id: number;
432
- created_at: Date;
433
- updated_at: Date;
434
- deleted_at: Date | null;
435
334
  }
436
335
 
437
- interface Hall {
336
+ interface Hall extends Auditable {
438
337
  id: number;
439
338
  name: string;
440
339
  venue_id: number;
441
340
  venue?: Venue;
442
341
  hall_floors?: HallFloor[];
443
- created_at: Date;
444
- updated_at: Date;
445
- deleted_at: Date | null;
446
342
  }
447
343
 
448
344
  interface CountryResponse {
@@ -496,7 +392,25 @@ interface FetchCitiesParams {
496
392
  search?: string;
497
393
  }
498
394
 
499
- interface Customer {
395
+ interface BreadcrumbStep {
396
+ label: string;
397
+ href?: string;
398
+ icon?: string;
399
+ }
400
+
401
+ interface CommonFetchAllParams {
402
+ id?: number;
403
+ page?: number;
404
+ limit?: number;
405
+ search?: string;
406
+ sort_by?: string;
407
+ sort_order?: 'ASC' | 'DESC';
408
+ is_published?: boolean;
409
+ ids_in?: number[];
410
+ ids_not_in?: number[];
411
+ }
412
+
413
+ interface Customer extends Auditable {
500
414
  username: string;
501
415
  email: string;
502
416
  mobile: string;
@@ -527,9 +441,6 @@ interface Customer {
527
441
  membership_expires_at: Date | null;
528
442
  id: number;
529
443
  is_active: boolean;
530
- created_at: Date;
531
- updated_at: Date;
532
- deleted_at: Date | null;
533
444
  }
534
445
 
535
446
  interface CustomerResponse {
@@ -547,76 +458,362 @@ interface CustomersResponse {
547
458
  message: string;
548
459
  }
549
460
 
550
- type ShowType = 'play' | 'musical' | 'concert' | 'dance' | 'opera' | 'comedy' | 'other';
461
+ interface FetchCustomersParams extends CommonFetchAllParams {
462
+ first_name?: string;
463
+ last_name?: string;
464
+ email?: string;
465
+ username?: string;
466
+ mobile?: string;
467
+ document_type?: Customer['document_type'];
468
+ document_number?: string;
469
+ address?: string;
470
+ sort_by?: 'customer.id' | 'customer.email' | 'customer.mobile' | 'customer.first_name' | 'customer.last_name' | 'customer.birthday_date' | 'customer.document_type' | 'customer.document_number' | 'customer.address' | 'customer.postal_code' | 'customer.country_id' | 'customer.city_id' | 'customer.state_id' | 'customer.phone' | 'customer.created_at';
471
+ }
551
472
 
552
- interface ShowImage {
553
- id: number;
554
- path: string;
555
- full_url: string;
556
- original_name: string;
557
- extension: string;
558
- size: number;
559
- mime_type: string;
560
- width: number;
561
- height: number;
562
- show_id: number;
563
- created_at: Date;
473
+ declare enum OrderItemType {
474
+ TICKET = "TICKET",
475
+ PRODUCT = "PRODUCT",
476
+ GIFT_BOND = "GIFT_BOND",
477
+ CORPORATE_BOND = "CORPORATE_BOND"
564
478
  }
565
479
 
566
- interface Show extends Auditable {
567
- id: number;
480
+ declare enum OrderStatus {
481
+ ON_HOLD = "on-hold",
482
+ PENDING_PAYMENT = "pending-payment",
483
+ PROCESSING = "processing",
484
+ COMPLETED = "completed",
485
+ FAILED = "failed",
486
+ CANCELLED = "cancelled",
487
+ REFUNDED = "refunded"
488
+ }
489
+
490
+ declare enum CreatorType {
491
+ ADMIN = "admin",
492
+ CUSTOMER = "customer"
493
+ }
494
+
495
+ declare enum PaymentMethod {
496
+ PAYROLL = "payroll",
497
+ CASH = "cash",
498
+ DATAFONO = "datafono",
499
+ INTERNAL_EXCHANGE = "internal_exchange",
500
+ CLIENT_EXCHANGE = "client_exchange",
501
+ MERCADO_PAGO = "mercado_pago"
502
+ }
503
+
504
+ declare enum RoomMapElementType {
505
+ SEAT_BLOCK = "seat_block",
506
+ TABLE = "table",
507
+ ZONE = "zone",
508
+ EXIT = "exit",
509
+ STAGE = "stage",
510
+ PRODUCTION_AREA = "production_area",
511
+ UNAVAILABLE_SPACE = "unavailable_space",
512
+ STAIR = "stair",
513
+ HALLWAY = "hallway"
514
+ }
515
+
516
+ interface RoomMapPosition {
517
+ x: number;
518
+ y: number;
519
+ }
520
+
521
+ interface RoomMapSize {
522
+ width: number;
523
+ height: number;
524
+ }
525
+
526
+ interface RoomMapBaseElement {
527
+ id: string;
528
+ type: RoomMapElementType;
529
+ position: RoomMapPosition;
530
+ size: RoomMapSize;
531
+ rotation: number;
532
+ name?: string;
533
+ isLocked: boolean;
534
+ isVisible: boolean;
535
+ zIndex: number;
536
+ }
537
+
538
+ interface RoomMapExitElement extends RoomMapBaseElement {
539
+ type: RoomMapElementType.EXIT;
540
+ exitName?: string;
541
+ exitType: 'emergency' | 'regular';
542
+ width: number;
543
+ }
544
+
545
+ interface RoomMapProductionAreaElement extends RoomMapBaseElement {
546
+ type: RoomMapElementType.PRODUCTION_AREA;
547
+ areaName?: string;
548
+ areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
549
+ }
550
+
551
+ interface RoomMapSeatElement extends RoomMapBaseElement {
552
+ type: RoomMapElementType.SEAT_BLOCK;
553
+ seatNumber?: string;
554
+ isAvailable: boolean;
555
+ priceCategory?: string;
556
+ }
557
+
558
+ declare enum RoomMapElementOrientation {
559
+ TOP = "top",
560
+ RIGHT = "right",
561
+ BOTTOM = "bottom",
562
+ LEFT = "left",
563
+ CENTER = "center"
564
+ }
565
+
566
+ interface RoomMapStageElement extends RoomMapBaseElement {
567
+ type: RoomMapElementType.STAGE;
568
+ stageName?: string;
569
+ orientation: RoomMapElementOrientation;
570
+ isMainStage: boolean;
571
+ }
572
+
573
+ interface RoomMapTableElement extends RoomMapBaseElement {
574
+ type: RoomMapElementType.TABLE;
575
+ tableNumber?: string;
576
+ capacity: number;
577
+ shape: 'round' | 'rectangular' | 'square';
578
+ }
579
+
580
+ interface RoomMapUnavailableElement extends RoomMapBaseElement {
581
+ type: RoomMapElementType.UNAVAILABLE_SPACE;
582
+ reason?: string;
583
+ }
584
+
585
+ interface RoomMapZoneElement extends RoomMapBaseElement {
586
+ type: RoomMapElementType.ZONE;
587
+ zoneName: string;
588
+ zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
589
+ color: string;
590
+ capacity?: number;
591
+ }
592
+
593
+ type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
594
+
595
+ type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
596
+
597
+ declare enum ShowType {
598
+ PLAY = "PLAY",
599
+ CONCERT = "CONCERT",
600
+ STAND_UP_COMEDY = "STAND_UP_COMEDY",
601
+ OPERA = "OPERA",
602
+ MUSICAL = "MUSICAL",
603
+ DANCE = "DANCE",
604
+ SPORT = "SPORT",
605
+ OTHER = "OTHER",
606
+ DEFAULT = "DEFAULT"
607
+ }
608
+
609
+ type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
610
+
611
+ type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
612
+
613
+ type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
614
+
615
+ type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
616
+
617
+ type BreadcrumbTheme = 'light' | 'dark';
618
+
619
+ type TextFontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
620
+
621
+ interface FeedbackModalElement {
622
+ id: string;
623
+ type: FeedbackModalType;
568
624
  title: string;
625
+ isOpen: WritableSignal<boolean>;
626
+ message?: string;
627
+ showHeader?: boolean;
628
+ showCloseButton?: boolean;
629
+ showTitle?: boolean;
630
+ closeModal?: void;
631
+ }
632
+
633
+ declare enum FileType {
634
+ IMAGE = "image",
635
+ PDF = "pdf",
636
+ EXCEL = "excel",
637
+ WORD = "word",
638
+ TEXT = "text",
639
+ DEFAULT = "default"
640
+ }
641
+
642
+ declare enum CouponApplicability {
643
+ GENERAL = "GENERAL",
644
+ CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
645
+ MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
646
+ SHOWS = "SHOWS",
647
+ PERFORMANCES = "PERFORMANCES"
648
+ }
649
+
650
+ declare enum CouponDiscountType {
651
+ PERCENTAGE = "PERCENTAGE",
652
+ FIXED = "FIXED"
653
+ }
654
+
655
+ declare enum CouponStatus {
656
+ ACTIVE = "ACTIVE",
657
+ INACTIVE = "INACTIVE",
658
+ EXPIRED = "EXPIRED",
659
+ CONSUMED = "CONSUMED"
660
+ }
661
+
662
+ declare enum CorporateBondStatus {
663
+ ACTIVE = "ACTIVE",
664
+ INACTIVE = "INACTIVE",
665
+ PENDING = "PENDING",
666
+ PAYMENT_FAILED = "PAYMENT_FAILED",
667
+ EXPIRED = "EXPIRED",
668
+ CONSUMED = "CONSUMED"
669
+ }
670
+
671
+ declare enum PerformanceStatus {
672
+ SCHEDULED = "scheduled",
673
+ OPEN = "open",
674
+ CLOSED = "closed",
675
+ CANCELLED = "cancelled",
676
+ COMPLETED = "completed",
677
+ POSTPONED = "postponed"
678
+ }
679
+
680
+ declare enum PerformanceTicketStatus {
681
+ AVAILABLE = "available",
682
+ RESERVED = "reserved",
683
+ SOLD = "sold",
684
+ BLOCKED = "blocked"
685
+ }
686
+
687
+ declare enum GiftBondStatus {
688
+ ACTIVE = "ACTIVE",
689
+ INACTIVE = "INACTIVE"
690
+ }
691
+
692
+ declare enum GiftBondPurchaseStatus {
693
+ AVAILABLE = "AVAILABLE",
694
+ REDEEMED = "REDEEMED",
695
+ EXPIRED = "EXPIRED",
696
+ CANCELLED = "CANCELLED"
697
+ }
698
+
699
+ declare enum TransactionStatus {
700
+ PENDING = "PENDING",
701
+ APPROVED = "APPROVED",
702
+ REJECTED = "REJECTED",
703
+ ERROR = "ERROR"
704
+ }
705
+
706
+ declare enum VipCardStatus {
707
+ ACTIVE = "ACTIVE",
708
+ INACTIVE = "INACTIVE",
709
+ EXPIRED = "EXPIRED"
710
+ }
711
+
712
+ declare enum VipTransactionType {
713
+ INITIAL_RECHARGE = "INITIAL_RECHARGE",
714
+ RECHARGE = "RECHARGE",
715
+ PURCHASE_PAYMENT = "PURCHASE_PAYMENT"
716
+ }
717
+
718
+ declare enum MembershipStatus {
719
+ ACTIVE = "ACTIVE",
720
+ INACTIVE = "INACTIVE"
721
+ }
722
+
723
+ interface FetchProductCategoriesParams extends CommonFetchAllParams {
724
+ name?: string;
725
+ slug?: string;
726
+ sort_by?: 'category.id' | 'category.name' | 'category.slug' | 'category.created_at';
727
+ }
728
+
729
+ interface ProductCategory extends Auditable {
730
+ id: number;
731
+ name: string;
569
732
  slug: string;
570
- description: string;
571
- duration_minutes: number | null;
572
- type_of_costs: string | null;
573
- service_fee: number | null;
574
- show_type: ShowType | null;
575
- pulep: string | null;
576
- minimum_age: number | null;
577
- show_category_id: number | null;
578
- default_room_map_id: number | null;
579
- published_at?: Date;
580
- is_published: boolean;
581
- images: ShowImage[];
582
- terms_and_conditions: string;
583
- performances_quantity?: number;
584
733
  }
585
734
 
586
- interface ShowResponse {
735
+ interface ProductCategoriesResponse {
587
736
  statusCode: number;
588
- data: Show;
737
+ data: {
738
+ categories: ProductCategory[];
739
+ total: number;
740
+ };
589
741
  message: string;
590
742
  }
591
743
 
592
- interface ShowsResponseInterface {
744
+ interface ProductCategoryResponse {
745
+ statusCode: number;
746
+ data: ProductCategory;
747
+ message: string;
748
+ }
749
+
750
+ interface FetchProductTagsParams extends CommonFetchAllParams {
751
+ name?: string;
752
+ slug?: string;
753
+ sort_by?: 'tag.id' | 'tag.name' | 'tag.slug' | 'tag.created_at';
754
+ }
755
+
756
+ interface ProductTag extends Auditable {
757
+ id: number;
758
+ name: string;
759
+ slug: string;
760
+ }
761
+
762
+ interface ProductTagResponse {
763
+ statusCode: number;
764
+ data: ProductTag;
765
+ message: string;
766
+ }
767
+
768
+ interface ProductTagsResponse {
593
769
  statusCode: number;
594
770
  data: {
595
- shows: Show[];
771
+ tags: ProductTag[];
596
772
  total: number;
597
773
  };
598
774
  message: string;
599
775
  }
600
776
 
601
- interface FetchShowsParams {
602
- page?: number;
603
- limit?: number;
604
- search?: string;
605
- date?: string;
777
+ interface FetchProductTypesParams extends CommonFetchAllParams {
778
+ name?: string;
779
+ slug?: string;
780
+ sort_by?: 'type.id' | 'type.name' | 'type.slug' | 'type.created_at';
606
781
  }
607
782
 
608
- interface PriceZone {
783
+ interface ProductType extends Auditable {
609
784
  id: number;
610
785
  name: string;
611
- color: string;
612
- normal_price: number | null;
613
- is_active: boolean;
614
- elements: any[];
615
- room_map_id: number | null;
786
+ slug: string;
787
+ }
788
+
789
+ interface ProductTypeResponse {
790
+ statusCode: number;
791
+ data: ProductType;
792
+ message: string;
793
+ }
794
+
795
+ interface ProductTypesResponse {
796
+ statusCode: number;
797
+ data: {
798
+ types: ProductType[];
799
+ total: number;
800
+ };
801
+ message: string;
802
+ }
803
+
804
+ interface ProductImage {
805
+ id: number;
806
+ path: string;
807
+ full_url: string;
808
+ original_name: string;
809
+ extension: string;
810
+ size: number;
811
+ mime_type: string;
812
+ width: number;
813
+ height: number;
814
+ product_id: number;
815
+ product: Product;
616
816
  created_at: Date;
617
- updated_at: Date;
618
- created_by: number;
619
- updated_by: number;
620
817
  }
621
818
 
622
819
  interface Product extends Auditable {
@@ -629,12 +826,35 @@ interface Product extends Auditable {
629
826
  slug: string;
630
827
  sku?: string;
631
828
  is_limited_edition: boolean;
632
- is_active: boolean;
633
829
  deleted_at: Date | null;
634
- categories?: any[];
635
- tags?: any[];
636
- types?: any[];
637
- images?: any[];
830
+ categories?: ProductCategory[];
831
+ tags?: ProductTag[];
832
+ types?: ProductType[];
833
+ images?: ProductImage[];
834
+ }
835
+
836
+ interface ShowImage {
837
+ id: number;
838
+ path: string;
839
+ full_url: string;
840
+ original_name: string;
841
+ extension: string;
842
+ size: number;
843
+ mime_type: string;
844
+ width: number;
845
+ height: number;
846
+ show_id: number;
847
+ created_at: Date;
848
+ }
849
+
850
+ interface PriceZone extends Auditable {
851
+ id: number;
852
+ name: string;
853
+ color: string;
854
+ normal_price: number | null;
855
+ is_active: boolean;
856
+ elements: any[];
857
+ room_map_id: number | null;
638
858
  }
639
859
 
640
860
  interface NumerationConfig {
@@ -672,7 +892,7 @@ interface RoomMapElementTemplate {
672
892
  price_zone?: PriceZone;
673
893
  }
674
894
 
675
- interface RoomMap {
895
+ interface RoomMap extends Auditable {
676
896
  id: number;
677
897
  name: string;
678
898
  canvas_settings: {
@@ -688,8 +908,6 @@ interface RoomMap {
688
908
  related_product_ids: number[];
689
909
  products?: Product[];
690
910
  venue_name?: string;
691
- created_at: Date;
692
- updated_at: Date;
693
911
  }
694
912
 
695
913
  interface RoomMapCanvasConfiguration {
@@ -731,7 +949,7 @@ interface ElementPropertiesTab {
731
949
  elements_access: string[];
732
950
  }
733
951
 
734
- interface Performance {
952
+ interface Performance extends Auditable {
735
953
  id: number;
736
954
  start_time: Date | string;
737
955
  end_time: Date | string;
@@ -741,26 +959,95 @@ interface Performance {
741
959
  show?: Show;
742
960
  room_map: RoomMap;
743
961
  room_map_id: number;
744
- created_at: Date;
745
- updated_at: Date;
962
+ performance_tickets?: PerformanceTicket[];
963
+ can_delete?: boolean;
964
+ can_cancel?: boolean;
965
+ can_modify?: boolean;
966
+ can_reserve?: boolean;
746
967
  }
747
968
 
748
- interface PerformanceResponse {
969
+ interface FetchShowCategoriesParams extends CommonFetchAllParams {
970
+ name?: string;
971
+ slug?: string;
972
+ sort_by?: 'category.id' | 'category.name' | 'category.slug' | 'category.created_at';
973
+ }
974
+
975
+ interface ShowCategory extends Auditable {
976
+ id: number;
977
+ name: string;
978
+ slug: string;
979
+ }
980
+
981
+ interface ShowCategoriesResponse {
749
982
  statusCode: number;
750
- data: Performance;
983
+ data: {
984
+ categories: ShowCategory[];
985
+ total: number;
986
+ };
751
987
  message: string;
752
988
  }
753
989
 
754
- interface PerformancesResponseInterface {
990
+ interface ShowCategoryResponse {
991
+ statusCode: number;
992
+ data: ShowCategory;
993
+ message: string;
994
+ }
995
+
996
+ interface FetchShowGendersParams extends CommonFetchAllParams {
997
+ name?: string;
998
+ slug?: string;
999
+ sort_by?: 'gender.id' | 'gender.name' | 'gender.slug' | 'gender.created_at';
1000
+ }
1001
+
1002
+ interface ShowGender extends Auditable {
1003
+ id: number;
1004
+ name: string;
1005
+ slug: string;
1006
+ }
1007
+
1008
+ interface ShowGenderResponse {
1009
+ statusCode: number;
1010
+ data: ShowGender;
1011
+ message: string;
1012
+ }
1013
+
1014
+ interface ShowGendersResponse {
755
1015
  statusCode: number;
756
1016
  data: {
757
- performances: Performance[];
1017
+ genders: ShowGender[];
758
1018
  total: number;
759
1019
  };
760
1020
  message: string;
761
1021
  }
762
1022
 
763
- interface OrderItem {
1023
+ interface Show extends Auditable {
1024
+ id: number;
1025
+ title: string;
1026
+ slug: string;
1027
+ description: string;
1028
+ duration_minutes: number | null;
1029
+ type_of_costs: string | null;
1030
+ service_fee: number | null;
1031
+ show_type: ShowType | null;
1032
+ pulep: string | null;
1033
+ minimum_age: number | null;
1034
+ show_gender?: ShowGender | null;
1035
+ show_gender_id: number | null;
1036
+ show_category?: ShowCategory | null;
1037
+ show_category_id: number | null;
1038
+ default_room_map?: RoomMap | null;
1039
+ default_room_map_id: number | null;
1040
+ is_published: boolean;
1041
+ images: ShowImage[];
1042
+ terms_and_conditions: string | null;
1043
+ performances_quantity?: number;
1044
+ performances?: Performance[];
1045
+ next_performance?: Performance;
1046
+ days_of_week?: number[];
1047
+ unique_start_times?: string[];
1048
+ }
1049
+
1050
+ interface OrderItem extends Auditable {
764
1051
  id: number;
765
1052
  order: Order;
766
1053
  item_type: OrderItemType;
@@ -773,26 +1060,21 @@ interface OrderItem {
773
1060
  ticket_id?: number;
774
1061
  ticket_uuid?: string;
775
1062
  item: Show | Product;
776
- created_at: Date;
777
- updated_at: Date;
778
- created_by: number;
779
- updated_by: number;
780
1063
  }
781
1064
 
782
1065
  interface Coupon extends Auditable {
783
1066
  id: number;
784
1067
  code: string;
1068
+ billing_code: string;
785
1069
  description?: string;
786
1070
  discount_type: CouponDiscountType;
787
- discount_type_string?: string;
788
1071
  discount_value: number;
789
- discount_value_string?: string;
790
1072
  start_date: Date | null;
791
1073
  end_date: Date | null;
792
1074
  max_uses: number | null;
793
- max_uses_per_user?: number | null;
1075
+ max_uses_per_customer?: number | null;
794
1076
  uses_count: number;
795
- is_active: boolean;
1077
+ status: CouponStatus;
796
1078
  applicability_type: CouponApplicability;
797
1079
  applicable_customer_emails: string[] | null;
798
1080
  applicable_membership_types: string[] | null;
@@ -800,9 +1082,11 @@ interface Coupon extends Auditable {
800
1082
  applicable_performance_ids?: number[];
801
1083
  applicable_price_zone_ids?: number[];
802
1084
  applies_to_service_fee?: boolean;
1085
+ orders?: Order[];
1086
+ customers?: Customer[];
803
1087
  }
804
1088
 
805
- interface CorporateBond {
1089
+ interface CorporateBond extends Auditable {
806
1090
  id: number;
807
1091
  name: string;
808
1092
  description?: string;
@@ -812,11 +1096,13 @@ interface CorporateBond {
812
1096
  quantity: number;
813
1097
  status: CorporateBondStatus;
814
1098
  value: number;
1099
+ purchase_value: number;
1100
+ buyer_customer_id: number | null;
1101
+ buyer: Customer | null;
1102
+ order_id: number | null;
1103
+ order: Order | null;
1104
+ payment_method?: PaymentMethod;
815
1105
  codes: CorporateBondCode[];
816
- created_at: Date;
817
- updated_at: Date;
818
- created_by: number;
819
- updated_by: number;
820
1106
  }
821
1107
 
822
1108
  interface CorporateBondCode {
@@ -829,55 +1115,185 @@ interface CorporateBondCode {
829
1115
  created_at: Date;
830
1116
  }
831
1117
 
832
- interface CorporateBondResponse {
1118
+ interface CorporateBondResponse {
1119
+ statusCode: number;
1120
+ data: CorporateBond;
1121
+ message: string;
1122
+ }
1123
+
1124
+ interface ValidateCorporateBondResponse {
1125
+ data: {
1126
+ valid: boolean;
1127
+ message: string;
1128
+ code: string;
1129
+ bond?: CorporateBond;
1130
+ };
1131
+ message: string;
1132
+ statusCode: number;
1133
+ }
1134
+
1135
+ interface GiftBondImage {
1136
+ id: number;
1137
+ path: string;
1138
+ full_url: string;
1139
+ original_name: string;
1140
+ extension: string;
1141
+ size: number;
1142
+ mime_type: string;
1143
+ width: number;
1144
+ height: number;
1145
+ is_featured: boolean;
1146
+ gift_bond_id: number;
1147
+ gift_bond: GiftBond;
1148
+ created_at: Date;
1149
+ }
1150
+
1151
+ interface GiftBond extends Auditable {
1152
+ id: number;
1153
+ name: string;
1154
+ description?: string;
1155
+ slug?: string;
1156
+ status: GiftBondStatus;
1157
+ value: number;
1158
+ page_content?: string;
1159
+ images?: GiftBondImage[];
1160
+ }
1161
+
1162
+ interface GiftBondResponse {
1163
+ statusCode: number;
1164
+ data: GiftBond;
1165
+ message: string;
1166
+ }
1167
+
1168
+ interface GiftBondsResponse {
833
1169
  statusCode: number;
834
- data: CorporateBond;
1170
+ data: {
1171
+ gift_bonds: GiftBond[];
1172
+ total: number;
1173
+ };
835
1174
  message: string;
836
1175
  }
837
1176
 
838
- interface ValidateCorporateBondResponse {
1177
+ interface GiftBondPurchase extends Auditable {
1178
+ id: number;
1179
+ code: string;
1180
+ original_value: number;
1181
+ used_value: number | null;
1182
+ lost_value: number | null;
1183
+ beneficiary_email: string;
1184
+ beneficiary: Customer | null;
1185
+ personalized_message: string | null;
1186
+ status: GiftBondPurchaseStatus;
1187
+ purchased_at: string;
1188
+ expires_at: string;
1189
+ redeemed_at: string | null;
1190
+ gift_bond?: GiftBond;
1191
+ gift_bond_id: number;
1192
+ buyer_customer_id: number;
1193
+ buyer: Customer;
1194
+ order: Order | null;
1195
+ order_id: number;
1196
+ redemption_order_id: number | null;
1197
+ redemption_order: Order | null;
1198
+ }
1199
+
1200
+ interface ValidateGiftBondResponse {
839
1201
  data: {
840
1202
  valid: boolean;
841
1203
  message: string;
842
1204
  code: string;
843
- bond?: CorporateBond;
1205
+ bond?: GiftBondPurchase;
844
1206
  };
1207
+ statusCode: number;
845
1208
  message: string;
1209
+ }
1210
+
1211
+ interface GiftBondPurchaseResponse {
1212
+ statusCode: number;
1213
+ data: GiftBondPurchase;
1214
+ message: string;
1215
+ }
1216
+
1217
+ interface GiftBondPurchasesResponse {
846
1218
  statusCode: number;
1219
+ data: {
1220
+ items: GiftBondPurchase[];
1221
+ total: number;
1222
+ };
1223
+ message: string;
1224
+ }
1225
+
1226
+ interface Transaction extends Auditable {
1227
+ id: number;
1228
+ status: TransactionStatus;
1229
+ amount: number;
1230
+ currency: string;
1231
+ payment_gateway: string;
1232
+ gateway_transaction_id: string;
1233
+ gateway_response: any;
1234
+ order: Order;
1235
+ }
1236
+
1237
+ interface OrderBillingInfo {
1238
+ first_name: string;
1239
+ last_name: string;
1240
+ email: string;
1241
+ mobile: string;
1242
+ document_type: string;
1243
+ document_number: string;
1244
+ address: string;
1245
+ city_id: number;
1246
+ postal_code?: string;
1247
+ address_notes?: string;
1248
+ payment_method: PaymentMethod;
1249
+ terms_accepted: boolean;
1250
+ data_processing_accepted: boolean;
1251
+ comments?: string;
1252
+ products?: Array<{
1253
+ id: number;
1254
+ quantity: number;
1255
+ }>;
847
1256
  }
848
1257
 
849
- interface Order {
1258
+ interface Order extends Auditable {
850
1259
  id: number;
851
1260
  uuid: string;
852
- customer: Customer;
1261
+ customer_id: number | null;
1262
+ customer: Customer | null;
853
1263
  customer_name?: string;
854
1264
  customer_email?: string;
855
1265
  order_items: OrderItem[];
856
1266
  order_items_quantity?: number;
857
- discount_amount: number;
1267
+ transactions: Transaction[];
1268
+ sub_total: number;
1269
+ discount_amount: number | null;
858
1270
  total: number;
1271
+ sub_total_discounted: number | null;
859
1272
  total_discounted: number;
860
- sub_total: number;
861
- sub_total_discounted: number;
862
- service_fee: number;
863
- service_fee_discounted: number;
864
- coupon: Coupon;
865
- coupon_snapshot: Record<string, any>;
866
- corporate_bond_code: CorporateBondCode;
867
- corporate_bond_code_snapshot: Record<string, any>;
1273
+ service_fee: number | null;
1274
+ service_fee_discounted: number | null;
1275
+ coupon: Coupon | null;
1276
+ coupon_snapshot: Record<string, any> | null;
868
1277
  status: OrderStatus;
869
- show_snapshot: Record<string, any>;
870
- performance_snapshot: Record<string, any>;
871
- created_at: Date;
872
- updated_at: Date;
873
- payment_method: string;
1278
+ show_snapshot: Record<string, any> | null;
1279
+ performance_snapshot: Record<string, any> | null;
1280
+ payment_method: PaymentMethod | null;
874
1281
  terms_accepted: boolean;
875
1282
  data_processing_accepted: boolean;
876
- billing_info: Partial<Customer>;
877
- comments: string;
878
- address_notes: string;
1283
+ billing_info: OrderBillingInfo | null;
1284
+ corporate_bond_code_snapshot: Record<string, any> | null;
1285
+ gift_bond_snapshot: Record<string, any> | null;
1286
+ corporate_bond_code: CorporateBondCode | null;
1287
+ corporate_bond_code_id: number | null;
1288
+ gift_bond: GiftBond | null;
1289
+ gift_bond_id: number | null;
1290
+ comments: string | null;
1291
+ address_notes: string | null;
1292
+ mercado_pago_preference_id: string;
879
1293
  created_by: number;
1294
+ created_by_type: CreatorType;
880
1295
  updated_by: number;
1296
+ updated_by_type: CreatorType;
881
1297
  }
882
1298
 
883
1299
  interface OrderResponse {
@@ -895,7 +1311,15 @@ interface OrdersResponse {
895
1311
  message: string;
896
1312
  }
897
1313
 
898
- interface PerformanceTicket {
1314
+ interface MercadoPagoPreference {
1315
+ data: {
1316
+ id: string;
1317
+ init_point: string;
1318
+ sandbox_init_point: string;
1319
+ };
1320
+ }
1321
+
1322
+ interface PerformanceTicket extends Auditable {
899
1323
  id: number;
900
1324
  uuid: string;
901
1325
  is_accessible: boolean;
@@ -915,8 +1339,131 @@ interface PerformanceTicket {
915
1339
  checked_in_at: Date | null;
916
1340
  order_items: OrderItem[];
917
1341
  element_qty?: number;
918
- created_at: Date;
919
- updated_at: Date;
1342
+ }
1343
+
1344
+ interface TicketMapSeatPosition {
1345
+ rowIndex: number;
1346
+ colIndex: number;
1347
+ seatLabel: string;
1348
+ }
1349
+
1350
+ interface TicketMapTableChairPosition {
1351
+ index: number;
1352
+ angle: number;
1353
+ x: number;
1354
+ y: number;
1355
+ }
1356
+
1357
+ interface ElementRenderData {
1358
+ elementId: number;
1359
+ hallFloorId: number | null;
1360
+ type: RoomMapElementType;
1361
+ shapeConfig: Record<string, any>;
1362
+ tickets: PerformanceTicket[];
1363
+ ticketByNumeration: Map<string, PerformanceTicket>;
1364
+ elementName: string;
1365
+ seatPositions?: TicketMapSeatPosition[][];
1366
+ chairPositions?: TicketMapTableChairPosition[];
1367
+ zoneCapacity?: number;
1368
+ }
1369
+
1370
+ interface TicketMapTooltipData {
1371
+ x: number;
1372
+ y: number;
1373
+ elementName: string;
1374
+ seatLabel: string | null;
1375
+ price: number;
1376
+ status: PerformanceTicketStatus;
1377
+ statusLabel: string;
1378
+ statusColor: string;
1379
+ isSelected: boolean;
1380
+ ticketId: number;
1381
+ }
1382
+
1383
+ interface TicketMapZoneQuantityState {
1384
+ elementId: number;
1385
+ selectedCount: number;
1386
+ maxCapacity: number;
1387
+ }
1388
+
1389
+ interface ReservePerformanceDto {
1390
+ ticket_ids: number[];
1391
+ products?: {
1392
+ id: number;
1393
+ quantity: number;
1394
+ }[];
1395
+ coupon_code?: string;
1396
+ gift_bond_code?: string;
1397
+ corporate_bond_code?: string;
1398
+ payment_method?: string;
1399
+ billing?: {
1400
+ first_name: string;
1401
+ last_name: string;
1402
+ email: string;
1403
+ mobile: string;
1404
+ document_type: string;
1405
+ document_number: string;
1406
+ address: string;
1407
+ city_id: number;
1408
+ postal_code?: string;
1409
+ address_notes?: string;
1410
+ terms_accepted: boolean;
1411
+ data_processing_accepted: boolean;
1412
+ comments?: string;
1413
+ };
1414
+ }
1415
+
1416
+ interface TicketMapZoomConfig {
1417
+ minZoom: number;
1418
+ maxZoom: number;
1419
+ zoomStep: number;
1420
+ scaleBy: number;
1421
+ }
1422
+
1423
+ interface HallFloorOption {
1424
+ id: number | null;
1425
+ name: string;
1426
+ }
1427
+
1428
+ declare enum SelectedDiscountCardType {
1429
+ COUPON = "COUPON",
1430
+ CORPORATE_BOND = "CORPORATE_BOND",
1431
+ GIFT_BOND = "GIFT_BOND"
1432
+ }
1433
+
1434
+ interface SelectedDiscountCard {
1435
+ name: string;
1436
+ type: SelectedDiscountCardType;
1437
+ value: number;
1438
+ }
1439
+
1440
+ interface FetchShowsParams extends CommonFetchAllParams {
1441
+ date?: string;
1442
+ sort_by?: 'show.id' | 'show.created_at' | 'show.title' | 'show.slug' | 'show.type_of_costs' | 'show.pulep' | 'show_category.name' | 'show_gender.name';
1443
+ }
1444
+
1445
+ interface ShowResponse {
1446
+ statusCode: number;
1447
+ data: Show;
1448
+ message: string;
1449
+ }
1450
+
1451
+ interface ShowsResponseInterface {
1452
+ statusCode: number;
1453
+ data: {
1454
+ shows: Show[];
1455
+ total: number;
1456
+ };
1457
+ message: string;
1458
+ }
1459
+
1460
+ interface FindAllPerformancesParams {
1461
+ roomMapId?: number;
1462
+ showId?: number;
1463
+ hallId?: number;
1464
+ page?: number;
1465
+ search?: string;
1466
+ limit?: number;
920
1467
  }
921
1468
 
922
1469
  interface PerformanceBookingDataResponse {
@@ -930,6 +1477,12 @@ interface PerformanceBookingDataResponse {
930
1477
  message: string;
931
1478
  }
932
1479
 
1480
+ interface PerformanceResponse {
1481
+ statusCode: number;
1482
+ data: Performance;
1483
+ message: string;
1484
+ }
1485
+
933
1486
  interface PerformanceAvailableDay {
934
1487
  date: string;
935
1488
  count: number;
@@ -942,6 +1495,15 @@ interface PerformancesAvailableDaysResponse {
942
1495
  message: string;
943
1496
  }
944
1497
 
1498
+ interface PerformancesResponseInterface {
1499
+ statusCode: number;
1500
+ data: {
1501
+ performances: Performance[];
1502
+ total: number;
1503
+ };
1504
+ message: string;
1505
+ }
1506
+
945
1507
  interface DailyPerformanceHall {
946
1508
  name: string | null;
947
1509
  }
@@ -994,12 +1556,27 @@ interface FetchDailyPerformancesParams {
994
1556
  limit?: number;
995
1557
  }
996
1558
 
1559
+ interface FetchProductsParams extends CommonFetchAllParams {
1560
+ name?: string;
1561
+ category_id?: number;
1562
+ tag_id?: number;
1563
+ type_id?: number;
1564
+ sort_by?: 'product.id' | 'product.name' | 'product.price' | 'product.stock_quantity' | 'product.slug' | 'product.sku' | 'product.created_at' | 'category.name' | 'tag.name' | 'type.name';
1565
+ }
1566
+
997
1567
  interface ProductResponse {
998
1568
  statusCode: number;
999
1569
  data: Product;
1000
1570
  message: string;
1001
1571
  }
1002
1572
 
1573
+ interface ProductTaxonomy extends Auditable {
1574
+ id: number;
1575
+ name: string;
1576
+ slug: string;
1577
+ selected?: boolean;
1578
+ }
1579
+
1003
1580
  interface ProductsResponseInterface {
1004
1581
  statusCode: number;
1005
1582
  data: {
@@ -1040,70 +1617,273 @@ interface FindAllPriceZoneParams {
1040
1617
  limit?: number;
1041
1618
  }
1042
1619
 
1043
- interface GiftBond {
1620
+ interface CouponResponse {
1621
+ statusCode: number;
1622
+ data: Coupon;
1623
+ message: string;
1624
+ }
1625
+
1626
+ interface ValidateCouponResponse {
1627
+ data: {
1628
+ coupon: Coupon;
1629
+ message: string;
1630
+ };
1631
+ }
1632
+
1633
+ interface RecentOrder {
1044
1634
  id: number;
1635
+ customer_name: string;
1636
+ event: string;
1637
+ total: number;
1638
+ status: string;
1045
1639
  uuid: string;
1640
+ }
1641
+
1642
+ interface RecentRoomMap {
1643
+ id: number;
1046
1644
  name: string;
1047
- description?: string;
1048
- status: GiftBondStatus;
1049
- value: number;
1050
- customer: Customer;
1051
- customer_id: number;
1645
+ capacity: number;
1052
1646
  created_at: Date;
1053
1647
  updated_at: Date;
1054
- created_by: number;
1055
- updated_by: number;
1056
1648
  }
1057
1649
 
1058
- interface GiftBondResponse {
1650
+ interface QrTokenData {
1651
+ token: string;
1652
+ expires_at: string;
1653
+ refresh_in: number;
1654
+ }
1655
+
1656
+ interface QrTokenResponse {
1059
1657
  statusCode: number;
1060
- data: GiftBond;
1658
+ data: QrTokenData;
1061
1659
  message: string;
1062
1660
  }
1063
1661
 
1064
- interface GiftBondsResponse {
1065
- statusCode: number;
1662
+ interface VipCategorySnapshot {
1663
+ membership_id: number;
1664
+ name: string;
1665
+ discount_percentage: number;
1666
+ service_fee_exempt: boolean;
1667
+ applicable_show_ids: number[] | null;
1668
+ excluded_show_ids: number[] | null;
1669
+ duration_days: number;
1670
+ }
1671
+
1672
+ interface VipCard extends Auditable {
1673
+ id: number;
1674
+ uuid: string;
1675
+ customer: Customer;
1676
+ customer_id: number;
1677
+ membership: {
1678
+ id: number;
1679
+ name: string;
1680
+ } | null;
1681
+ membership_id: number;
1682
+ category_snapshot: VipCategorySnapshot;
1683
+ balance: number;
1684
+ status: VipCardStatus;
1685
+ activated_at: string | null;
1686
+ last_activity_at: string | null;
1687
+ expires_at: string | null;
1688
+ last_low_balance_alert_at: string | null;
1689
+ last_expiry_alert_at: string | null;
1690
+ }
1691
+
1692
+ interface VipTransaction {
1693
+ id: number;
1694
+ uuid: string;
1695
+ vip_card_id: number;
1696
+ type: VipTransactionType;
1697
+ amount: number;
1698
+ balance_before: number;
1699
+ balance_after: number;
1700
+ order: Order | null;
1701
+ order_id: number | null;
1702
+ description: string | null;
1703
+ created_at: string;
1704
+ }
1705
+
1706
+ interface VipCardResponse {
1707
+ data: VipCard;
1708
+ }
1709
+ interface VipCardsResponse {
1066
1710
  data: {
1067
- gift_bonds: GiftBond[];
1711
+ vip_cards: VipCard[];
1068
1712
  total: number;
1069
1713
  };
1070
- message: string;
1071
1714
  }
1072
-
1073
- interface ValidateGiftBondResponse {
1715
+ interface VipTransactionsResponse {
1074
1716
  data: {
1075
- valid: boolean;
1076
- message: string;
1077
- code: string;
1078
- bond?: GiftBond;
1717
+ transactions: VipTransaction[];
1718
+ total: number;
1079
1719
  };
1080
- statusCode: number;
1081
- message: string;
1720
+ }
1721
+ interface VipOrderResponse {
1722
+ data: Order;
1082
1723
  }
1083
1724
 
1084
- interface CouponResponse {
1085
- statusCode: number;
1086
- data: Coupon;
1087
- message: string;
1725
+ interface Membership extends Auditable {
1726
+ id: number;
1727
+ name: string;
1728
+ description: string;
1729
+ benefits: string[] | null;
1730
+ price: number;
1731
+ duration_days: number;
1732
+ min_recharge: number;
1733
+ status: MembershipStatus;
1734
+ discount_percentage: number;
1735
+ service_fee_exempt: boolean;
1736
+ applicable_show_ids: number[] | null;
1737
+ excluded_show_ids: number[] | null;
1088
1738
  }
1089
1739
 
1090
- interface ValidateCouponResponse {
1091
- data: {
1092
- coupon: Coupon;
1093
- message: string;
1094
- };
1740
+ interface FetchVipCardsParams {
1741
+ page?: number;
1742
+ limit?: number;
1743
+ status?: VipCardStatus;
1744
+ membership_id?: number;
1745
+ customer_id?: number;
1746
+ search?: string;
1747
+ }
1748
+
1749
+ interface ActivateVipCardParams {
1750
+ customer_id: number;
1751
+ membership_id: number;
1752
+ amount: number;
1753
+ }
1754
+
1755
+ declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
1756
+
1757
+ declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
1758
+ declare const ORDER_STATUS_COLORS: Record<OrderStatus, {
1759
+ text: string;
1760
+ bg: string;
1761
+ }>;
1762
+ declare const ORDER_ITEM_TYPES_COLORS: Record<OrderItemType, {
1763
+ text: string;
1764
+ bg: string;
1765
+ }>;
1766
+ declare const ORDER_DISCOUNT_COLORS: Record<string, {
1767
+ text: string;
1768
+ bg: string;
1769
+ }>;
1770
+ declare const TRANSACTION_STATUS_COLORS: Record<TransactionStatus, {
1771
+ text: string;
1772
+ bg: string;
1773
+ }>;
1774
+
1775
+ declare const PERFORMANCE_TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, {
1776
+ text: string;
1777
+ bg: string;
1778
+ }>;
1779
+ declare const PERFORMANCE_STATUS_COLORS: Record<PerformanceStatus, {
1780
+ text: string;
1781
+ bg: string;
1782
+ }>;
1783
+
1784
+ declare const TICKET_MAP_LAST_TICKETS_LIMIT = 10;
1785
+ declare const TICKET_ELEMENT_TYPES: RoomMapElementType[];
1786
+ declare const DEFAULT_STAGE_CONFIG: {
1787
+ [x: string]: any;
1788
+ };
1789
+ declare const TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, string>;
1790
+ declare const TICKET_STATUS_FILLS: Record<PerformanceTicketStatus, string>;
1791
+ declare const TICKET_STATUS_LABELS: Record<PerformanceTicketStatus, string>;
1792
+ declare const TICKET_MAP_GRID_SIZE = 30;
1793
+ declare const TICKET_MAP_TITLE_HEIGHT = 30;
1794
+
1795
+ interface KonvaShapeConfig {
1796
+ config: ShapeConfig;
1797
+ layer: 'background' | 'elements' | 'foreground' | 'overlay';
1095
1798
  }
1096
1799
 
1800
+ declare function drawRoundedRect(con: Context, shape: Shape, x: number, y: number, width: number, height: number, cornerRadius: number): void;
1801
+
1802
+ declare const generateExitScene: (con: Context, shape: Shape) => void;
1803
+
1804
+ declare const generateHallwayScene: (con: Context, shape: Shape) => void;
1805
+
1806
+ declare const generateProductionAreaScene: (con: Context, shape: Shape) => void;
1807
+
1808
+ declare const generateSeatBlockScene: (con: Context, shape: Shape, numerationConfig?: {
1809
+ start_row_letter: string;
1810
+ row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
1811
+ start_column_number: number;
1812
+ column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
1813
+ }) => void;
1814
+
1815
+ declare const generateStageScene: (con: Context, shape: Shape) => void;
1816
+
1817
+ declare const generateStairScene: (con: Context, shape: Shape) => void;
1818
+
1819
+ declare const generateTableScene: (con: Context, shape: Shape) => void;
1820
+
1821
+ declare const generateUnavailableSpaceScene: (con: Context, shape: Shape) => void;
1822
+
1823
+ declare const generateZoneScene: (con: Context, shape: Shape) => void;
1824
+
1825
+ declare const KONVA_SHAPE_MAPPINGS: Record<RoomMapElementType, KonvaShapeConfig>;
1826
+
1827
+ declare const SHOW_TYPE_COLORS: Record<ShowType, {
1828
+ bg: string;
1829
+ text: string;
1830
+ }>;
1831
+
1097
1832
  declare const getCustomerFullname: (customer: Customer) => string;
1098
1833
 
1099
- declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
1834
+ type OrderDiscountType = 'coupon' | 'corporate_bond' | 'gift_bond';
1835
+ interface OrderDiscountInfo {
1836
+ type: OrderDiscountType | null;
1837
+ code: string | null;
1838
+ name: string | null;
1839
+ value: number;
1840
+ discountType: 'percentage' | 'fixed' | null;
1841
+ icon: string;
1842
+ }
1843
+ declare function getOrderDiscount(order: Order): OrderDiscountInfo;
1844
+
1845
+ declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
1846
+
1847
+ declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
1848
+
1849
+ declare const transformUrlParams: (params: any) => URLSearchParams;
1850
+
1851
+ declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
1852
+ value: number;
1853
+ label: string;
1854
+ }[];
1855
+
1856
+ declare function tintColor(hex: string, amount?: number): string;
1857
+
1858
+ declare const drawChairIcon: (con: Context, cx: number, cy: number, size: number) => void;
1859
+
1860
+ declare const drawHappyFace: (con: Context, cx: number, cy: number, size: number) => void;
1861
+
1862
+ declare const drawWheelchairIcon: (con: Context, shape: Shape, cx: number, cy: number, size: number, fillColor?: string, strokeColor?: string) => void;
1863
+
1864
+ declare const numberToLetter: (num: number) => string;
1865
+
1866
+ declare const getItemTypeIcon: (ticket: PerformanceTicket) => string;
1867
+
1868
+ declare const generateSeatBlockTicketScene: (con: Context, shape: Shape, numerationConfig?: {
1869
+ start_row_letter: string;
1870
+ row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
1871
+ start_column_number: number;
1872
+ column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
1873
+ }, ticketStatusMap?: Map<string, PerformanceTicketStatus>) => void;
1100
1874
 
1101
- declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
1875
+ declare const generateTableTicketScene: (con: Context, shape: Shape, chairTicketStatuses?: PerformanceTicketStatus[], tableSeats?: RoomMapSeatState[][]) => void;
1102
1876
 
1103
- declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
1104
- value: string;
1105
- label: string;
1106
- }[];
1877
+ declare function processElementsToRenderData(elements: RoomMapElementTemplate[], tickets: PerformanceTicket[], priceZones?: {
1878
+ id: number;
1879
+ color: string;
1880
+ }[]): ElementRenderData[];
1881
+ declare function findTicketAtPosition(renderData: ElementRenderData, relX: number, relY: number): PerformanceTicket | null;
1882
+ declare function findElementAtPosition(renderDataList: ElementRenderData[], stageX: number, stageY: number): {
1883
+ element: ElementRenderData;
1884
+ relX: number;
1885
+ relY: number;
1886
+ } | null;
1107
1887
 
1108
1888
  declare function MinTodayValidator(controlName: string): ValidatorFn;
1109
1889
  declare function EndDateGreaterThanStartValidator(startDateControlName: string, endDateControlName: string): ValidatorFn;
@@ -1135,16 +1915,6 @@ declare class ToastService {
1135
1915
  static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
1136
1916
  }
1137
1917
 
1138
- declare class LoadingModalService {
1139
- title: WritableSignal<string>;
1140
- isOpen: WritableSignal<boolean>;
1141
- get modalIsOpen(): WritableSignal<boolean>;
1142
- open(title?: string): void;
1143
- close(): void;
1144
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingModalService, never>;
1145
- static ɵprov: i0.ɵɵInjectableDeclaration<LoadingModalService>;
1146
- }
1147
-
1148
1918
  declare class DeleteConfirmationService {
1149
1919
  title: WritableSignal<string>;
1150
1920
  resourceName: WritableSignal<string>;
@@ -1235,7 +2005,7 @@ declare class PerformanceService {
1235
2005
  private performancesSubject;
1236
2006
  performances$: Observable<Performance[]>;
1237
2007
  constructor(apiService: ApiService);
1238
- fetchPerformances(showId?: number, search?: string): Observable<PerformancesResponseInterface>;
2008
+ fetchPerformances({ showId, roomMapId, hallId, search, page, limit, }: FindAllPerformancesParams): Observable<PerformancesResponseInterface>;
1239
2009
  fetchDailyPerformances({ show_id, search, limit, date, }: FetchDailyPerformancesParams): Observable<DailyPerformancesResponse>;
1240
2010
  loadPerformances({ showId, search }?: {
1241
2011
  showId?: number;
@@ -1243,7 +2013,7 @@ declare class PerformanceService {
1243
2013
  }): void;
1244
2014
  getCurrentPerformances(): Performance[];
1245
2015
  fetchOneById(id: number): Observable<PerformanceResponse>;
1246
- fetchOneBookingData(id: number): Observable<PerformanceBookingDataResponse>;
2016
+ fetchOneBookingData(id: number, isAdmin?: boolean): Observable<PerformanceBookingDataResponse>;
1247
2017
  fetchAvailableDays(params?: {
1248
2018
  show_id?: number;
1249
2019
  }): Observable<PerformancesAvailableDaysResponse>;
@@ -1273,25 +2043,6 @@ declare class PerformancesListEventsService {
1273
2043
  static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
1274
2044
  }
1275
2045
 
1276
- declare class ProductService {
1277
- private apiService;
1278
- private productsSubject;
1279
- products$: Observable<Product[]>;
1280
- constructor(apiService: ApiService);
1281
- fetchProducts(page: number, search: string): Observable<ProductsResponseInterface>;
1282
- loadProducts({ page, search }?: {
1283
- page?: number;
1284
- search?: string;
1285
- }): void;
1286
- getCurrentProducts(): Product[];
1287
- fetchOneById(id: number): Observable<ProductResponse>;
1288
- createOne(data: Product): Observable<any>;
1289
- updateOne(id: number, data: any): Observable<ProductResponse>;
1290
- deleteOne(id: number): Observable<any>;
1291
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
1292
- static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
1293
- }
1294
-
1295
2046
  declare class ShowService {
1296
2047
  private apiService;
1297
2048
  private showsSubject;
@@ -1299,7 +2050,7 @@ declare class ShowService {
1299
2050
  constructor(apiService: ApiService);
1300
2051
  loadShows({ page, search }?: FetchShowsParams): void;
1301
2052
  getCurrentShows(): Show[];
1302
- fetchShows({ limit, page, search }: FetchShowsParams): Observable<ShowsResponseInterface>;
2053
+ fetchShows(params: FetchShowsParams): Observable<ShowsResponseInterface>;
1303
2054
  fetchAvailableShows({ date, limit, page, search, }: FetchShowsParams): Observable<ShowsResponseInterface>;
1304
2055
  fetchOneById(id: number): Observable<ShowResponse>;
1305
2056
  createOne(data: Show): Observable<ShowResponse>;
@@ -1320,7 +2071,7 @@ declare class CustomerService {
1320
2071
  private apiService;
1321
2072
  constructor(apiService: ApiService);
1322
2073
  createOne(data: Customer): Observable<CustomerResponse>;
1323
- fetchCustomers(page: number, search: string, limit?: number): Observable<CustomersResponse>;
2074
+ fetchCustomers(params: FetchCustomersParams): Observable<CustomersResponse>;
1324
2075
  fetchOneById(id: number): Observable<CustomerResponse>;
1325
2076
  updateOne(id: number, data: any): Observable<CustomerResponse>;
1326
2077
  deleteOne(id: number): Observable<any>;
@@ -1372,6 +2123,347 @@ declare class PriceZoneFormModalService {
1372
2123
  static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
1373
2124
  }
1374
2125
 
2126
+ declare class ProductCategoryService {
2127
+ private apiService;
2128
+ constructor(apiService: ApiService);
2129
+ fetchCategories(params: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
2130
+ fetchOneById(id: number): Observable<ProductCategoryResponse>;
2131
+ createOne(data: ProductCategory): Observable<any>;
2132
+ updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
2133
+ deleteOne(id: number): Observable<any>;
2134
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
2135
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
2136
+ }
2137
+
2138
+ declare class ProductTagService {
2139
+ private apiService;
2140
+ constructor(apiService: ApiService);
2141
+ fetchTags(params: FetchProductTagsParams): Observable<ProductTagsResponse>;
2142
+ fetchOneById(id: number): Observable<ProductTagResponse>;
2143
+ createOne(data: ProductTag): Observable<any>;
2144
+ updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
2145
+ deleteOne(id: number): Observable<any>;
2146
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
2147
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
2148
+ }
2149
+
2150
+ declare class ProductTypeService {
2151
+ private apiService;
2152
+ constructor(apiService: ApiService);
2153
+ fetchTypes(params: FetchProductTypesParams): Observable<ProductTypesResponse>;
2154
+ fetchOneById(id: number): Observable<ProductTypeResponse>;
2155
+ createOne(data: ProductType): Observable<any>;
2156
+ updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
2157
+ deleteOne(id: number): Observable<any>;
2158
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
2159
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
2160
+ }
2161
+
2162
+ declare class ProductService {
2163
+ private apiService;
2164
+ private productsSubject;
2165
+ products$: Observable<Product[]>;
2166
+ constructor(apiService: ApiService);
2167
+ fetchProducts(params: FetchProductsParams): Observable<ProductsResponseInterface>;
2168
+ loadProducts(params: FetchProductsParams): void;
2169
+ getCurrentProducts(): Product[];
2170
+ fetchOneById(id: number): Observable<ProductResponse>;
2171
+ createOne(data: Product): Observable<any>;
2172
+ updateOne(id: number, data: any): Observable<ProductResponse>;
2173
+ deleteOne(id: number): Observable<any>;
2174
+ fetchImages(id: number): Observable<{
2175
+ data: ProductImage[];
2176
+ }>;
2177
+ uploadImages(id: number, files?: FormData): Observable<{
2178
+ data: ProductImage[];
2179
+ }>;
2180
+ deleteOneImage(productId: number, imageId: number): Observable<any>;
2181
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
2182
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
2183
+ }
2184
+
2185
+ declare class BaseModalService {
2186
+ readonly isOpen: WritableSignal<boolean>;
2187
+ get modalIsOpen(): WritableSignal<boolean>;
2188
+ open(): void;
2189
+ close(): void;
2190
+ }
2191
+
2192
+ declare class FeedbackModalService {
2193
+ private _modals;
2194
+ readonly modals: i0.Signal<FeedbackModalElement[]>;
2195
+ addModal(modal: FeedbackModalElement): void;
2196
+ removeModal(id: string): void;
2197
+ removeAllModals(): void;
2198
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
2199
+ static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
2200
+ }
2201
+
2202
+ declare class OrderTransactionDetailsModalService {
2203
+ readonly isOpen: WritableSignal<boolean>;
2204
+ transaction: WritableSignal<Transaction | null>;
2205
+ get modalIsOpen(): WritableSignal<boolean>;
2206
+ open(transaction: Transaction): void;
2207
+ close(): void;
2208
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalService, never>;
2209
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrderTransactionDetailsModalService>;
2210
+ }
2211
+
2212
+ declare class PerformanceBookingDataService {
2213
+ private _show;
2214
+ private _performance;
2215
+ private _roomMap;
2216
+ private _hallFloors;
2217
+ private _selectedHallFloor;
2218
+ private _allRenderData;
2219
+ private _stageConfig;
2220
+ readonly show: i0.Signal<Show | null>;
2221
+ readonly hallFloors: i0.Signal<HallFloor[]>;
2222
+ readonly selectedHallFloor: i0.Signal<HallFloor | null>;
2223
+ readonly performance: i0.Signal<Performance | null>;
2224
+ readonly stageConfig: i0.Signal<{
2225
+ [x: string]: any;
2226
+ }>;
2227
+ readonly roomMap: i0.Signal<RoomMap | null>;
2228
+ readonly renderData: i0.Signal<ElementRenderData[]>;
2229
+ setPerformanceBookingData({ data }: PerformanceBookingDataResponse): void;
2230
+ setRoomMap(roomMap: RoomMap | null): void;
2231
+ setAllRenderData(data: ElementRenderData[]): void;
2232
+ setPerformance(performance: Performance | null): void;
2233
+ setShow(show: Show | null): void;
2234
+ setHallFloors(data: HallFloor[]): void;
2235
+ setSelectedHallFloor(id: number): void;
2236
+ updateStageConfig(data: {
2237
+ [x: string]: any;
2238
+ }): void;
2239
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceBookingDataService, never>;
2240
+ static ɵprov: i0.ɵɵInjectableDeclaration<PerformanceBookingDataService>;
2241
+ }
2242
+
2243
+ declare class TicketSelectionDetailsService {
2244
+ private _customerEmail;
2245
+ private _customerId;
2246
+ private _paymentMethod;
2247
+ private _billingInformation;
2248
+ readonly customerEmail: i0.Signal<string | null>;
2249
+ readonly customerId: i0.Signal<number | null>;
2250
+ readonly paymentMethod: i0.Signal<string | null>;
2251
+ readonly billingInformation: i0.Signal<Customer | null>;
2252
+ setCustomerEmail(email: string | null): void;
2253
+ setCustomerId(id: number | null): void;
2254
+ setPaymentMethod(method: string | null): void;
2255
+ setBillingInformation(values: Customer): void;
2256
+ clearSelection(): void;
2257
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDetailsService, never>;
2258
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDetailsService>;
2259
+ }
2260
+
2261
+ declare class TicketSelectionDiscountService {
2262
+ private _coupon;
2263
+ private _corporateBond;
2264
+ private _corporateBondCode;
2265
+ private _giftBond;
2266
+ private _giftBondCode;
2267
+ readonly coupon: Signal<Coupon | null>;
2268
+ readonly corporateBond: Signal<CorporateBond | null>;
2269
+ readonly corporateBondCode: Signal<string | null>;
2270
+ readonly giftBond: Signal<GiftBondPurchase | null>;
2271
+ readonly giftBondCode: Signal<string | null>;
2272
+ readonly selectedDiscount: Signal<SelectedDiscountCard | null>;
2273
+ readonly selectedDiscountType: Signal<SelectedDiscountCardType | undefined>;
2274
+ readonly selectedDiscountValue: Signal<number | undefined>;
2275
+ setCoupon(coupon: Coupon | null): void;
2276
+ setCorporateBond(corporateBond: CorporateBond | null): void;
2277
+ setCorporateBondCode(code: string | null): void;
2278
+ setGiftBond(giftBond: GiftBondPurchase | null): void;
2279
+ setGiftBondCode(code: string | null): void;
2280
+ clearSelection(): void;
2281
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDiscountService, never>;
2282
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDiscountService>;
2283
+ }
2284
+
2285
+ declare class TicketSelectionTotalsService {
2286
+ private bookingDataService;
2287
+ private selectionService;
2288
+ private selectionDiscountService;
2289
+ readonly selectedProductEntries: i0.Signal<{
2290
+ id: number;
2291
+ quantity: number;
2292
+ }[]>;
2293
+ readonly selectedProductCount: i0.Signal<number>;
2294
+ readonly productSubtotal: i0.Signal<number>;
2295
+ readonly ticketSubtotal: i0.Signal<number>;
2296
+ readonly serviceFee: i0.Signal<number>;
2297
+ subtotalValue(): number;
2298
+ totalValue(): number;
2299
+ totalDiscounted(): number | null;
2300
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionTotalsService, never>;
2301
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionTotalsService>;
2302
+ }
2303
+
2304
+ declare class TicketSelectionService {
2305
+ private bookingDataService;
2306
+ private feedbackModalService;
2307
+ private selectionDetailsService;
2308
+ private selectionDiscountService;
2309
+ private _zoneQuantities;
2310
+ private _allTickets;
2311
+ private _selectedTickets;
2312
+ private _selectedBlockedTickets;
2313
+ private _products;
2314
+ private _productQuantities;
2315
+ readonly selectedTickets: i0.Signal<PerformanceTicket[]>;
2316
+ readonly selectedBlockedTickets: i0.Signal<PerformanceTicket[]>;
2317
+ readonly selectedCount: i0.Signal<number>;
2318
+ readonly blockedSelectedCount: i0.Signal<number>;
2319
+ readonly selectedTicketIds: i0.Signal<Set<PerformanceTicket>>;
2320
+ readonly selectedBlockedTicketIds: i0.Signal<number[]>;
2321
+ readonly selectedTicketIdList: i0.Signal<number[]>;
2322
+ readonly products: i0.Signal<Product[]>;
2323
+ readonly productQuantities: i0.Signal<Map<number, number>>;
2324
+ readonly selectedProductEntries: i0.Signal<{
2325
+ id: number;
2326
+ quantity: number;
2327
+ }[]>;
2328
+ readonly selectedProductCount: i0.Signal<number>;
2329
+ readonly serviceFee: i0.Signal<number>;
2330
+ setTickets(tickets: PerformanceTicket[]): void;
2331
+ setProducts(products: Product[]): void;
2332
+ updateProductQuantity(productId: number, delta: number): void;
2333
+ getProductQuantity(productId: number): number;
2334
+ private getListByStatus;
2335
+ setSelectedTickets(tickets: PerformanceTicket[]): void;
2336
+ toggle(ticket: PerformanceTicket): void;
2337
+ select(ticket: PerformanceTicket): void;
2338
+ deselect(ticket: PerformanceTicket): void;
2339
+ clearBlockedSelection(): void;
2340
+ clearSelection(): void;
2341
+ isSelected(ticket: PerformanceTicket): boolean;
2342
+ initZoneQuantity(elementId: number, maxCapacity: number): void;
2343
+ adjustZoneQuantity(elementId: number, delta: number): void;
2344
+ getZoneTickets(elementId: number): PerformanceTicket[];
2345
+ buildTooltipData(ticket: PerformanceTicket, elementName: string, seatLabel: string | null, x: number, y: number): TicketMapTooltipData;
2346
+ buildReservePerformanceDto(paymentMethod?: string, termsAccepted?: boolean, dataProcessingAccepted?: boolean): ReservePerformanceDto;
2347
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionService, never>;
2348
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionService>;
2349
+ }
2350
+
2351
+ declare class TicketMapZoomService {
2352
+ readonly currentZoom: i0.WritableSignal<number>;
2353
+ private stage?;
2354
+ private bookingDataService;
2355
+ private readonly defaultConfig;
2356
+ constructor();
2357
+ /**
2358
+ * Set the Konva stage instance
2359
+ */
2360
+ setStage(stage: Stage): void;
2361
+ /**
2362
+ * Zoom in by one step
2363
+ */
2364
+ zoomIn(): void;
2365
+ /**
2366
+ * Zoom out by one step
2367
+ */
2368
+ zoomOut(): void;
2369
+ /**
2370
+ * Reset zoom to 100%
2371
+ */
2372
+ resetZoom(): void;
2373
+ /**
2374
+ * Get current zoom as percentage string
2375
+ */
2376
+ getZoomPercentage(): string;
2377
+ /**
2378
+ * Get current zoom value
2379
+ */
2380
+ getCurrentZoom(): number;
2381
+ /**
2382
+ * Apply zoom with center point
2383
+ */
2384
+ private applyZoom;
2385
+ /**
2386
+ * Apply zoom scale with specific center point
2387
+ */
2388
+ private applyZoomScale;
2389
+ /**
2390
+ * Handle mouse wheel zoom toward the cursor position
2391
+ */
2392
+ handleWheelZoom(deltaY: number): void;
2393
+ /**
2394
+ * Fit the content bounds to fill the stage container
2395
+ */
2396
+ fitToContainer(padding?: number): void;
2397
+ /**
2398
+ * Get current stage position
2399
+ */
2400
+ getStagePosition(): {
2401
+ x: number;
2402
+ y: number;
2403
+ };
2404
+ /**
2405
+ * Set stage position (useful for programmatic panning)
2406
+ */
2407
+ setStagePosition(position: {
2408
+ x: number;
2409
+ y: number;
2410
+ }): void;
2411
+ /**
2412
+ * Fit the stage content bounds to the container, centering and scaling
2413
+ * to show the full content with optional padding.
2414
+ */
2415
+ fitToBounds(contentBounds: {
2416
+ x: number;
2417
+ y: number;
2418
+ width: number;
2419
+ height: number;
2420
+ }, containerWidth: number, containerHeight: number, padding?: number): void;
2421
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomService, never>;
2422
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketMapZoomService>;
2423
+ }
2424
+
2425
+ declare class ConfirmationOrderModalService extends BaseModalService {
2426
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalService, never>;
2427
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationOrderModalService>;
2428
+ }
2429
+
2430
+ declare class TicketQrService {
2431
+ private apiService;
2432
+ constructor(apiService: ApiService);
2433
+ fetchQrToken(ticketUuid: string): Observable<QrTokenResponse>;
2434
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrService, never>;
2435
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrService>;
2436
+ }
2437
+
2438
+ declare class TicketQrModalService {
2439
+ isOpen: WritableSignal<boolean>;
2440
+ ticketUuid: WritableSignal<string | null>;
2441
+ ticketDescription: WritableSignal<string | null>;
2442
+ open(ticketUuid: string, description?: string): void;
2443
+ close(): void;
2444
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalService, never>;
2445
+ static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrModalService>;
2446
+ }
2447
+
2448
+ declare class VipCardService {
2449
+ private apiService;
2450
+ constructor(apiService: ApiService);
2451
+ findMy(): Observable<{
2452
+ data: VipCard | null;
2453
+ }>;
2454
+ activate(data: any): Observable<VipOrderResponse>;
2455
+ recharge(data: any): Observable<VipOrderResponse>;
2456
+ fetchAll(params?: FetchVipCardsParams): Observable<VipCardsResponse>;
2457
+ fetchOneById(id: number): Observable<VipCardResponse>;
2458
+ activateAdmin(data: ActivateVipCardParams): Observable<VipOrderResponse>;
2459
+ rechargeAdmin(id: number, data: any): Observable<VipOrderResponse>;
2460
+ updateStatus(id: number, status: VipCardStatus): Observable<VipCardResponse>;
2461
+ updateTerms(id: number): Observable<VipCardResponse>;
2462
+ fetchTransactions(id: number, page?: number, limit?: number): Observable<VipTransactionsResponse>;
2463
+ static ɵfac: i0.ɵɵFactoryDeclaration<VipCardService, never>;
2464
+ static ɵprov: i0.ɵɵInjectableDeclaration<VipCardService>;
2465
+ }
2466
+
1375
2467
  declare const authInterceptor: HttpInterceptorFn;
1376
2468
 
1377
2469
  declare class AppButtonComponent {
@@ -1384,10 +2476,11 @@ declare class AppButtonComponent {
1384
2476
  size: 'xs' | 'sm' | 'md' | 'lg';
1385
2477
  loadingText: string;
1386
2478
  icon: string;
2479
+ tooltip: string;
1387
2480
  handleClick(): void;
1388
2481
  get buttonClasses(): string;
1389
2482
  static ɵfac: i0.ɵɵFactoryDeclaration<AppButtonComponent, never>;
1390
- static ɵcmp: i0.ɵɵComponentDeclaration<AppButtonComponent, "app-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
2483
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppButtonComponent, "app-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
1391
2484
  }
1392
2485
 
1393
2486
  declare class AppLinkButtonComponent {
@@ -1401,9 +2494,10 @@ declare class AppLinkButtonComponent {
1401
2494
  queryParams: Record<string, any>;
1402
2495
  size: 'xs' | 'sm' | 'md' | 'lg';
1403
2496
  variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
2497
+ tooltip: string;
1404
2498
  get buttonClasses(): string;
1405
2499
  static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
1406
- static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
2500
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
1407
2501
  }
1408
2502
 
1409
2503
  declare class AppAlertComponent {
@@ -1416,15 +2510,29 @@ declare class AppAlertComponent {
1416
2510
  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>;
1417
2511
  }
1418
2512
 
1419
- declare class LoadingmModalComponent {
1420
- private loadingModalService;
1421
- constructor(loadingModalService: LoadingModalService);
1422
- get isOpen(): i0.WritableSignal<boolean>;
1423
- get title(): i0.WritableSignal<string>;
2513
+ declare class FeedbackModalComponent implements OnChanges, OnDestroy {
2514
+ isOpen: WritableSignal<boolean>;
2515
+ type: FeedbackModalType;
2516
+ title: string;
2517
+ message: string;
2518
+ showHeader: boolean;
2519
+ showCloseButton: boolean;
2520
+ showTitle: boolean;
2521
+ autoClose: boolean;
2522
+ autoCloseDuration: number;
2523
+ buttonText: string;
2524
+ closed: EventEmitter<void>;
2525
+ private autoCloseTimeout;
2526
+ get defaultButtonText(): string;
2527
+ get resolvedButtonText(): string;
2528
+ get buttonVariant(): 'primary' | 'secondary';
2529
+ ngOnChanges(changes: SimpleChanges): void;
2530
+ ngOnDestroy(): void;
1424
2531
  closeModal(): void;
1425
- onCitySaved(): void;
1426
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingmModalComponent, never>;
1427
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingmModalComponent, "loading-modal", never, {}, {}, never, never, true, never>;
2532
+ private scheduleAutoClose;
2533
+ private clearAutoClose;
2534
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
2535
+ 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>;
1428
2536
  }
1429
2537
 
1430
2538
  declare class DeleteConfirmationComponent {
@@ -1447,12 +2555,29 @@ declare class DeleteConfirmationComponent {
1447
2555
  declare class AppModalComponent {
1448
2556
  title: string;
1449
2557
  disableClose: boolean;
2558
+ showHeader: boolean;
2559
+ showCloseButton: boolean;
2560
+ showTitle: boolean;
2561
+ interactiveClose: boolean;
1450
2562
  isOpen: WritableSignal<boolean>;
1451
- size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
2563
+ size: ModalSize;
1452
2564
  closeModal: EventEmitter<void>;
1453
2565
  onCloseModal(): void;
2566
+ onInteractiveClose(): void;
2567
+ onKeydownEscape(): void;
1454
2568
  static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
1455
- 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>;
2569
+ 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; }; "interactiveClose": { "alias": "interactiveClose"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
2570
+ }
2571
+
2572
+ declare class AppBadgeComponent {
2573
+ text: string;
2574
+ color: BadgeColor;
2575
+ size: BadgeSize;
2576
+ bordered: boolean;
2577
+ backgroundColor: string;
2578
+ textColor: string;
2579
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppBadgeComponent, never>;
2580
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppBadgeComponent, "app-badge", never, { "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, never, true, never>;
1456
2581
  }
1457
2582
 
1458
2583
  declare class AuditInformationComponent {
@@ -1467,6 +2592,7 @@ declare class DynamicTableComponent {
1467
2592
  title: string;
1468
2593
  data: any[];
1469
2594
  headers: any[];
2595
+ searcherPlaceholder: string;
1470
2596
  columnComponents: {
1471
2597
  [key: string]: Type<any>;
1472
2598
  };
@@ -1474,17 +2600,79 @@ declare class DynamicTableComponent {
1474
2600
  totalItems: number;
1475
2601
  itemsPerPage: number;
1476
2602
  currentPage: number;
2603
+ searchValue: string;
1477
2604
  pageChange: EventEmitter<number>;
1478
2605
  searchChange: EventEmitter<string>;
2606
+ pageSizeChange: EventEmitter<number>;
2607
+ pageSizeOptions: number[];
1479
2608
  showPagination: boolean;
1480
2609
  showSearch: boolean;
1481
2610
  showTitle: boolean;
1482
2611
  get totalPages(): number;
1483
2612
  onSearch(event: any): void;
1484
2613
  changePage(delta: number): void;
2614
+ changePageSize(event: any): void;
1485
2615
  createInjector(row: any): Injector;
1486
2616
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
1487
- 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>;
2617
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "searcherPlaceholder": { "alias": "searcherPlaceholder"; "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; }; "searchValue": { "alias": "searchValue"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; }, { "pageChange": "pageChange"; "searchChange": "searchChange"; "pageSizeChange": "pageSizeChange"; }, never, never, true, never>;
2618
+ }
2619
+
2620
+ declare class TextExpandableComponent implements OnChanges {
2621
+ text: string;
2622
+ maxLength: number;
2623
+ fontSize: TextFontSize;
2624
+ allowHtml: boolean;
2625
+ maxLines?: number;
2626
+ protected expanded: boolean;
2627
+ ngOnChanges(): void;
2628
+ get plainText(): string;
2629
+ get truncated(): boolean;
2630
+ get visibleText(): string;
2631
+ get lines(): number;
2632
+ toggleExpanded(): void;
2633
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextExpandableComponent, never>;
2634
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextExpandableComponent, "text-expandable", never, { "text": { "alias": "text"; "required": true; }; "maxLength": { "alias": "maxLength"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "allowHtml": { "alias": "allowHtml"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; }, {}, never, never, true, never>;
2635
+ }
2636
+
2637
+ declare class ShowCardComponent {
2638
+ show: Show;
2639
+ linkText: string;
2640
+ linkUrlFn?: (show: Show) => string;
2641
+ linkQueryParams?: Record<string, any>;
2642
+ transloco: TranslocoService;
2643
+ dateService: DateService;
2644
+ get showTypeColor(): {
2645
+ bg: string;
2646
+ text: string;
2647
+ };
2648
+ formatTimeDate(date: string): Date;
2649
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardComponent, never>;
2650
+ 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>;
2651
+ }
2652
+
2653
+ declare class ShowTypeBadgeComponent {
2654
+ show: Show;
2655
+ size: BadgeSize;
2656
+ transloco: TranslocoService;
2657
+ get showTypeColor(): {
2658
+ bg: string;
2659
+ text: string;
2660
+ };
2661
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowTypeBadgeComponent, never>;
2662
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShowTypeBadgeComponent, "show-type-badge", never, { "show": { "alias": "show"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
2663
+ }
2664
+
2665
+ declare class ShowCardSkeletonComponent {
2666
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardSkeletonComponent, never>;
2667
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardSkeletonComponent, "show-card-skeleton", never, {}, {}, never, never, true, never>;
2668
+ }
2669
+
2670
+ declare class AppBreadcumbComponent {
2671
+ homeUrl: string | undefined;
2672
+ steps: BreadcrumbStep[];
2673
+ theme: BreadcrumbTheme;
2674
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcumbComponent, never>;
2675
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppBreadcumbComponent, "app-breadcrumb", never, { "homeUrl": { "alias": "homeUrl"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, never, true, never>;
1488
2676
  }
1489
2677
 
1490
2678
  declare class LanguageSwitcherComponent {
@@ -1507,7 +2695,9 @@ declare class FormInputComponent implements ControlValueAccessor {
1507
2695
  placeholder: string;
1508
2696
  required: boolean;
1509
2697
  readonly: boolean;
2698
+ maxlength: number | null;
1510
2699
  minlength: number | null;
2700
+ max: number | null;
1511
2701
  min: number | null;
1512
2702
  step: number | null;
1513
2703
  pattern: string | null;
@@ -1529,12 +2719,12 @@ declare class FormInputComponent implements ControlValueAccessor {
1529
2719
  get inputClasses(): string;
1530
2720
  get fieldGroupClasses(): string;
1531
2721
  static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, [{ optional: true; self: true; }, null]>;
1532
- static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "form-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, true, never>;
2722
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "form-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, true, never>;
1533
2723
  }
1534
2724
 
1535
2725
  declare class FormSelectComponent implements ControlValueAccessor {
1536
2726
  ngControl: NgControl;
1537
- private transloco;
2727
+ protected transloco: TranslocoService;
1538
2728
  label: string;
1539
2729
  name: string;
1540
2730
  id: string;
@@ -1558,7 +2748,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
1558
2748
  get inputId(): string;
1559
2749
  get showError(): boolean;
1560
2750
  get errorMessage(): string;
1561
- get resolvedDefaultOptionLabel(): string;
1562
2751
  get fieldGroupClasses(): string;
1563
2752
  static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
1564
2753
  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>;
@@ -1596,6 +2785,103 @@ declare class FormTextareaComponent implements ControlValueAccessor {
1596
2785
  static ɵcmp: i0.ɵɵComponentDeclaration<FormTextareaComponent, "form-textarea", 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; }; "readonly": { "alias": "readonly"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
1597
2786
  }
1598
2787
 
2788
+ declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
2789
+ transloco: TranslocoService;
2790
+ private injector;
2791
+ label: string;
2792
+ name: string;
2793
+ id: string;
2794
+ placeholder: string;
2795
+ required: boolean;
2796
+ readonly: boolean;
2797
+ min: number | null;
2798
+ max: number | null;
2799
+ step: number;
2800
+ fieldGroupClass: string;
2801
+ value: number | null;
2802
+ disabled: boolean;
2803
+ onChange: any;
2804
+ onTouched: any;
2805
+ private _ngControl;
2806
+ constructor(transloco: TranslocoService, injector: Injector);
2807
+ get ngControl(): NgControl | null;
2808
+ ngOnChanges(changes: SimpleChanges): void;
2809
+ validate(control: AbstractControl): ValidationErrors | null;
2810
+ writeValue(value: any): void;
2811
+ registerOnChange(fn: any): void;
2812
+ registerOnTouched(fn: any): void;
2813
+ setDisabledState(isDisabled: boolean): void;
2814
+ onInput(value: any): void;
2815
+ increment(): void;
2816
+ decrement(): void;
2817
+ get canIncrement(): boolean;
2818
+ get canDecrement(): boolean;
2819
+ get inputId(): string;
2820
+ get showError(): boolean;
2821
+ get errorMessage(): string;
2822
+ get fieldGroupClasses(): string;
2823
+ private clamp;
2824
+ private round;
2825
+ private minValidator;
2826
+ private maxValidator;
2827
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
2828
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "number-input", 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; }; "readonly": { "alias": "readonly"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
2829
+ }
2830
+
2831
+ declare class PhoneInputComponent implements ControlValueAccessor, Validator, OnChanges {
2832
+ private transloco;
2833
+ private injector;
2834
+ label: string;
2835
+ name: string;
2836
+ id: string;
2837
+ placeholder: string;
2838
+ required: boolean;
2839
+ readonly: boolean;
2840
+ maxNationalDigits: number | null;
2841
+ minNationalDigits: number | null;
2842
+ defaultCountry: string;
2843
+ fieldGroupClass: string;
2844
+ readonly countries: tickera_angular_components.PhoneCountry[];
2845
+ readonly phoneOptions: {
2846
+ search: string;
2847
+ name: string;
2848
+ isoCode: string;
2849
+ dialCode: string;
2850
+ }[];
2851
+ selectedIso: string;
2852
+ nationalNumber: string;
2853
+ disabled: boolean;
2854
+ onChange: any;
2855
+ onTouched: any;
2856
+ onValidatorChange: () => void;
2857
+ private _ngControl;
2858
+ constructor(transloco: TranslocoService, injector: Injector);
2859
+ get ngControl(): NgControl | null;
2860
+ get selectedCountry(): tickera_angular_components.PhoneCountry;
2861
+ get dialCode(): string;
2862
+ dialCodeOf(isoCode: string): string;
2863
+ get value(): string;
2864
+ ngOnChanges(changes: SimpleChanges): void;
2865
+ registerOnValidatorChange(fn: () => void): void;
2866
+ validate(control: AbstractControl): ValidationErrors | null;
2867
+ writeValue(value: string | null | undefined): void;
2868
+ registerOnChange(fn: any): void;
2869
+ registerOnTouched(fn: any): void;
2870
+ setDisabledState(isDisabled: boolean): void;
2871
+ onInput(event: Event): void;
2872
+ onCountryChange(isoCode: string): void;
2873
+ get inputId(): string;
2874
+ get showError(): boolean;
2875
+ get errorMessage(): string;
2876
+ get effectivePlaceholder(): string;
2877
+ get fieldGroupClasses(): string;
2878
+ flag(isoCode: string): string;
2879
+ private sanitize;
2880
+ private nationalDigits;
2881
+ static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
2882
+ static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "phone-input", 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; }; "readonly": { "alias": "readonly"; "required": false; }; "maxNationalDigits": { "alias": "maxNationalDigits"; "required": false; }; "minNationalDigits": { "alias": "minNationalDigits"; "required": false; }; "defaultCountry": { "alias": "defaultCountry"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
2883
+ }
2884
+
1599
2885
  declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDestroy {
1600
2886
  ngControl: NgControl;
1601
2887
  private transloco;
@@ -1613,7 +2899,8 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
1613
2899
  onChange: any;
1614
2900
  onTouched: any;
1615
2901
  private subscription;
1616
- constructor(ngControl: NgControl, transloco: TranslocoService);
2902
+ isBrowser: boolean;
2903
+ constructor(ngControl: NgControl, transloco: TranslocoService, platformId: object);
1617
2904
  ngOnInit(): void;
1618
2905
  ngOnDestroy(): void;
1619
2906
  writeValue(value: any): void;
@@ -1624,7 +2911,7 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
1624
2911
  get showError(): boolean;
1625
2912
  get errorMessage(): string;
1626
2913
  get fieldGroupClasses(): string;
1627
- static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null]>;
2914
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null, null]>;
1628
2915
  static ɵcmp: i0.ɵɵComponentDeclaration<FormEditorComponent, "form-editor", 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; }; "readonly": { "alias": "readonly"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
1629
2916
  }
1630
2917
 
@@ -1808,6 +3095,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
1808
3095
  notFoundText: string;
1809
3096
  bindLabel: string;
1810
3097
  bindValue: string;
3098
+ disabled: boolean;
1811
3099
  value: any;
1812
3100
  onChange: any;
1813
3101
  onTouched: any;
@@ -1837,7 +3125,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
1837
3125
  registerOnTouched(fn: any): void;
1838
3126
  setDisabledState(isDisabled: boolean): void;
1839
3127
  static ɵfac: i0.ɵɵFactoryDeclaration<AsyncSelectComponent, never>;
1840
- 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>;
3128
+ 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>;
1841
3129
  }
1842
3130
 
1843
3131
  declare class ChangePasswordFormComponent {
@@ -2274,6 +3562,28 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
2274
3562
  static ɵcmp: i0.ɵɵComponentDeclaration<PriceZoneSelectComponent, "price-zone-select", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "priceZoneChange": "priceZoneChange"; }, never, never, true, never>;
2275
3563
  }
2276
3564
 
3565
+ declare class PerformanceTicketStatusBadgeComponent {
3566
+ ticket: PerformanceTicket;
3567
+ size: BadgeSize;
3568
+ protected get statusColors(): {
3569
+ text: string;
3570
+ bg: string;
3571
+ };
3572
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketStatusBadgeComponent, never>;
3573
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceTicketStatusBadgeComponent, "performance-ticket-status-badge", never, { "ticket": { "alias": "ticket"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
3574
+ }
3575
+
3576
+ declare class PerformanceStatusBadgeComponent {
3577
+ performance: Performance;
3578
+ size: BadgeSize;
3579
+ protected get statusColors(): {
3580
+ text: string;
3581
+ bg: string;
3582
+ };
3583
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceStatusBadgeComponent, never>;
3584
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceStatusBadgeComponent, "performance-status-badge", never, { "performance": { "alias": "performance"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
3585
+ }
3586
+
2277
3587
  declare class DaySelectorGridComponent {
2278
3588
  private platformId;
2279
3589
  protected performanceService: PerformanceService;
@@ -2295,11 +3605,15 @@ declare class DaySelectorGridComponent {
2295
3605
  declare class PerformanceCardComponent {
2296
3606
  protected listEventService: PerformancesListEventsService;
2297
3607
  card: DailyPerformanceItem;
3608
+ linkText: string;
3609
+ linkUrlFn?: (card: DailyPerformanceItem) => string;
3610
+ linkQueryParams?: Record<string, any>;
2298
3611
  constructor(listEventService: PerformancesListEventsService);
3612
+ get badgeColor(): 'success' | 'error';
2299
3613
  onSelect(): void;
2300
3614
  isSelected(): boolean;
2301
3615
  static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
2302
- static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
3616
+ 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>;
2303
3617
  }
2304
3618
 
2305
3619
  declare class PerformanceCardListComponent {
@@ -2307,6 +3621,9 @@ declare class PerformanceCardListComponent {
2307
3621
  protected performanceService: PerformanceService;
2308
3622
  protected listEventService: PerformancesListEventsService;
2309
3623
  protected toastService: ToastService;
3624
+ linkText: string;
3625
+ linkUrlFn?: (card: DailyPerformanceItem) => string;
3626
+ linkQueryParams?: Record<string, any>;
2310
3627
  loadingData: WritableSignal<boolean>;
2311
3628
  performances: WritableSignal<DailyPerformanceItem[]>;
2312
3629
  constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
@@ -2314,7 +3631,7 @@ declare class PerformanceCardListComponent {
2314
3631
  private loadData;
2315
3632
  get selectedDayDate(): string | null;
2316
3633
  static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
2317
- static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
3634
+ 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>;
2318
3635
  }
2319
3636
 
2320
3637
  declare class PerformanceStepperComponent {
@@ -2343,9 +3660,9 @@ declare class ShowsFilterComponent {
2343
3660
  }
2344
3661
 
2345
3662
  interface PriceZoneItem {
2346
- colorClass: string;
3663
+ color: string;
2347
3664
  name: string;
2348
- seatsAvailable: number;
3665
+ available_seats: number;
2349
3666
  price: string;
2350
3667
  }
2351
3668
 
@@ -2361,5 +3678,376 @@ declare class ZonePriceListComponent {
2361
3678
  static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
2362
3679
  }
2363
3680
 
2364
- export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppButtonComponent, AppLinkButtonComponent, AppModalComponent, AsyncSelectComponent, AuditInformationComponent, BASE_BUTTON_CLASSES, BASE_INPUT_CLASSES, BUTTON_SIZES_CLASSES, BUTTON_VARIANT_CLASSES, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CustomerSelectComponent, CustomerService, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondStatus, LanguageSwitcherComponent, LoadingModalService, LoadingmModalComponent, MinTodayValidator, MustMatchValidator, OrderItemType, OrderStatus, PERFORMANCES_API_ROUTES, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStepperComponent, PerformanceTicketStatus, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, STATE_API_ENDPOINTS, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TickeraTranslocoLoader, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, formatCitiesResponseToSelect, getBrowserLanguage, getCustomerFullname, getStoredLanguage, parseJsonToFormDataAdvanced, provideTickeraComponents, resolveLanguage, setStoredLanguage, transformImageToFile };
2365
- 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, FetchCitiesParams, FetchDailyPerformancesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, NumerationConfig, Order, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductResponse, ProductsResponseInterface, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, Show, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
3681
+ declare class TicketMapWidgetComponent {
3682
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetComponent, never>;
3683
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetComponent, "ticket-map-widget", never, {}, {}, never, ["*"], true, never>;
3684
+ }
3685
+
3686
+ declare class TicketMapWidgetHeaderComponent {
3687
+ title: string;
3688
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetHeaderComponent, never>;
3689
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetHeaderComponent, "ticket-map-widget-header", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
3690
+ }
3691
+
3692
+ declare class TicketMapZoomControlsComponent {
3693
+ private zoomService;
3694
+ readonly currentZoom: i0.Signal<number>;
3695
+ readonly zoomPercentage: i0.Signal<string>;
3696
+ constructor(zoomService: TicketMapZoomService);
3697
+ zoomIn(): void;
3698
+ zoomOut(): void;
3699
+ resetZoom(): void;
3700
+ fitToContainer(): void;
3701
+ handleZoomAction(action: string): void;
3702
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomControlsComponent, never>;
3703
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapZoomControlsComponent, "ticket-map-zoom-controls", never, {}, {}, never, never, true, never>;
3704
+ }
3705
+
3706
+ declare class PerformanceTicketMapComponent implements OnDestroy, AfterViewInit {
3707
+ private platformId;
3708
+ protected bookingDataService: PerformanceBookingDataService;
3709
+ protected feedbackModalService: FeedbackModalService;
3710
+ protected selectionService: TicketSelectionService;
3711
+ protected zoomService: TicketMapZoomService;
3712
+ selectionChange: EventEmitter<PerformanceTicket[]>;
3713
+ needsLoginError: EventEmitter<any>;
3714
+ readOnly: boolean;
3715
+ needsLogin: boolean;
3716
+ isLoggedIn: boolean;
3717
+ stageComponent?: StageComponent;
3718
+ protected tooltipData: i0.WritableSignal<TicketMapTooltipData | null>;
3719
+ private stageReady;
3720
+ private autoFitDone;
3721
+ private resizeObserver?;
3722
+ constructor(platformId: object, bookingDataService: PerformanceBookingDataService, feedbackModalService: FeedbackModalService, selectionService: TicketSelectionService, zoomService: TicketMapZoomService);
3723
+ protected get isBrowser(): boolean;
3724
+ ngAfterViewInit(): void;
3725
+ private setupResizeObserver;
3726
+ private syncStageToContainer;
3727
+ ngOnDestroy(): void;
3728
+ private getInternalPointer;
3729
+ protected selectHallFloor(floorId: number): void;
3730
+ protected handleStageClick(konvaEvent: any): void;
3731
+ protected handleStageMouseMove(konvaEvent: any): void;
3732
+ protected handleStageMouseLeave(): void;
3733
+ protected handleWheel(konvaEvent: any): void;
3734
+ protected trackByElementId(_index: number, item: ElementRenderData): number;
3735
+ protected trackByFloorId(_index: number, floor: HallFloorOption): HallFloorOption;
3736
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketMapComponent, never>;
3737
+ 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>;
3738
+ }
3739
+
3740
+ declare class TicketMapPriceZonesComponent {
3741
+ title: string;
3742
+ protected bookingDataService: PerformanceBookingDataService;
3743
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapPriceZonesComponent, never>;
3744
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapPriceZonesComponent, "ticket-map-price-zones", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
3745
+ }
3746
+
3747
+ declare class TicketMapProductSelectionItemComponent {
3748
+ protected selectionService: TicketSelectionService;
3749
+ product: Product;
3750
+ constructor(selectionService: TicketSelectionService);
3751
+ get quantity(): number;
3752
+ get firstImage(): string | undefined;
3753
+ increment(): void;
3754
+ decrement(): void;
3755
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapProductSelectionItemComponent, never>;
3756
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapProductSelectionItemComponent, "ticket-map-product-selection-item", never, { "product": { "alias": "product"; "required": true; }; }, {}, never, never, true, never>;
3757
+ }
3758
+
3759
+ declare class TIcketMapProductSelectionComponent {
3760
+ private bookingDataService;
3761
+ readonly products: i0.Signal<tickera_angular_components.Product[]>;
3762
+ static ɵfac: i0.ɵɵFactoryDeclaration<TIcketMapProductSelectionComponent, never>;
3763
+ static ɵcmp: i0.ɵɵComponentDeclaration<TIcketMapProductSelectionComponent, "ticket-map-product-selection", never, {}, {}, never, never, true, never>;
3764
+ }
3765
+
3766
+ declare class TicketMapTotalsComponent {
3767
+ protected bookingDataService: PerformanceBookingDataService;
3768
+ protected selectionDetailsService: TicketSelectionDetailsService;
3769
+ protected selectionDiscountService: TicketSelectionDiscountService;
3770
+ protected selectionTotalsService: TicketSelectionTotalsService;
3771
+ protected selectionService: TicketSelectionService;
3772
+ private activatedRoute;
3773
+ title: string;
3774
+ buttonText: string;
3775
+ loadingButtonText: string;
3776
+ isLoading: boolean;
3777
+ onPurchaseClick: EventEmitter<void>;
3778
+ constructor(bookingDataService: PerformanceBookingDataService, selectionDetailsService: TicketSelectionDetailsService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, activatedRoute: ActivatedRoute);
3779
+ get serviceFee(): number;
3780
+ get performanceId(): number;
3781
+ get selectedTicketIds(): number[];
3782
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapTotalsComponent, never>;
3783
+ 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>;
3784
+ }
3785
+
3786
+ declare class TicketMapWrapperComponent {
3787
+ selectionChange: EventEmitter<PerformanceTicket[]>;
3788
+ needsLoginError: EventEmitter<any>;
3789
+ readOnly: boolean;
3790
+ needsLogin: boolean;
3791
+ isLoggedIn: boolean;
3792
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWrapperComponent, never>;
3793
+ 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>;
3794
+ }
3795
+
3796
+ declare class SeatSelectionEmptySummaryComponent {
3797
+ static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionEmptySummaryComponent, never>;
3798
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionEmptySummaryComponent, "seat-selection-empty-summary", never, {}, {}, never, never, true, never>;
3799
+ }
3800
+
3801
+ declare class SeatSelectionSummaryComponent {
3802
+ protected selectionService: TicketSelectionService;
3803
+ title: string;
3804
+ clearButtonText: string;
3805
+ constructor(selectionService: TicketSelectionService);
3806
+ static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryComponent, never>;
3807
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryComponent, "seat-selection-summary", never, { "title": { "alias": "title"; "required": false; }; "clearButtonText": { "alias": "clearButtonText"; "required": false; }; }, {}, never, never, true, never>;
3808
+ }
3809
+
3810
+ declare class SeatSelectionSummaryItemComponent {
3811
+ protected selectionService: TicketSelectionService;
3812
+ item: PerformanceTicket;
3813
+ constructor(selectionService: TicketSelectionService);
3814
+ getItemTypeIcon: (ticket: PerformanceTicket) => string;
3815
+ removeItem(ticket: PerformanceTicket): void;
3816
+ static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryItemComponent, never>;
3817
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryItemComponent, "seat-selection-summary-item", never, { "item": { "alias": "item"; "required": true; }; }, {}, never, never, true, never>;
3818
+ }
3819
+
3820
+ declare class ConfirmationOrderModalComponent {
3821
+ private confirmationOrderModalService;
3822
+ private selectionDiscountService;
3823
+ private selectionTotalsService;
3824
+ private selectionService;
3825
+ private bookingDataService;
3826
+ modalTitle: string;
3827
+ confirmButtonText: string;
3828
+ confirmButtonTextLoading: string;
3829
+ loading: boolean;
3830
+ onConfirm: EventEmitter<any>;
3831
+ constructor(confirmationOrderModalService: ConfirmationOrderModalService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, bookingDataService: PerformanceBookingDataService);
3832
+ get isOpen(): i0.WritableSignal<boolean>;
3833
+ get selectedCount(): number;
3834
+ get serviceFee(): number;
3835
+ get subtotalValue(): number;
3836
+ get ticketSubtotal(): number;
3837
+ get productSubtotal(): number;
3838
+ get productCount(): number;
3839
+ get totalValue(): number;
3840
+ get totalDiscounted(): number | null;
3841
+ get coupon(): tickera_angular_components.Coupon | null;
3842
+ get corporateBond(): tickera_angular_components.CorporateBond | null;
3843
+ get giftBond(): tickera_angular_components.GiftBondPurchase | null;
3844
+ onClose(): void;
3845
+ confirmOrder(): void;
3846
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalComponent, never>;
3847
+ 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>;
3848
+ }
3849
+
3850
+ declare class OrderInformationComponent {
3851
+ readonly transloco: TranslocoService;
3852
+ private readonly toastService;
3853
+ order: Order;
3854
+ showPayButton: boolean;
3855
+ createMpPreference?: (order: Order) => Observable<MercadoPagoPreference>;
3856
+ paymentLinkCreated: EventEmitter<MercadoPagoPreference>;
3857
+ isLoading: boolean;
3858
+ constructor(transloco: TranslocoService, toastService: ToastService);
3859
+ get showMpButton(): boolean;
3860
+ payWithMercadoPago(): void;
3861
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderInformationComponent, never>;
3862
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderInformationComponent, "order-information", never, { "order": { "alias": "order"; "required": true; }; "showPayButton": { "alias": "showPayButton"; "required": false; }; "createMpPreference": { "alias": "createMpPreference"; "required": false; }; }, { "paymentLinkCreated": "paymentLinkCreated"; }, never, never, true, never>;
3863
+ }
3864
+
3865
+ declare class OrderStatusBadgeComponent {
3866
+ protected transloco: TranslocoService;
3867
+ order: Order | RecentOrder;
3868
+ size: BadgeSize;
3869
+ constructor(transloco: TranslocoService);
3870
+ protected get statusColors(): {
3871
+ text: string;
3872
+ bg: string;
3873
+ };
3874
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderStatusBadgeComponent, never>;
3875
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderStatusBadgeComponent, "order-status-badge", never, { "order": { "alias": "order"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
3876
+ }
3877
+
3878
+ declare class OrderItemTypeBadgeComponent {
3879
+ protected transloco: TranslocoService;
3880
+ item: OrderItem;
3881
+ size: BadgeSize;
3882
+ constructor(transloco: TranslocoService);
3883
+ protected get statusColors(): {
3884
+ text: string;
3885
+ bg: string;
3886
+ };
3887
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemTypeBadgeComponent, never>;
3888
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemTypeBadgeComponent, "order-item-type-badge", never, { "item": { "alias": "item"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
3889
+ }
3890
+
3891
+ declare class OrderItemsComponent {
3892
+ private ticketQrModalService;
3893
+ order: Order;
3894
+ constructor(ticketQrModalService: TicketQrModalService);
3895
+ protected get orderItems(): Order['order_items'];
3896
+ protected get products(): Order['order_items'];
3897
+ protected get tickets(): Order['order_items'];
3898
+ protected get giftBonds(): Order['order_items'];
3899
+ protected get corporateBonds(): Order['order_items'];
3900
+ protected get showActionColumn(): boolean;
3901
+ protected itemTotal(quantity: number, price: number): number;
3902
+ protected hasDiscount(): boolean;
3903
+ protected get totals(): {
3904
+ giftBonds: number;
3905
+ corporateBonds: number;
3906
+ products: number;
3907
+ tickets: number;
3908
+ };
3909
+ openTicketQr(ticketUuid: string, description: string): void;
3910
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemsComponent, never>;
3911
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemsComponent, "order-items", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
3912
+ }
3913
+
3914
+ declare class OrderDiscountAppliedComponent {
3915
+ order: Order;
3916
+ protected get discountInfo(): OrderDiscountInfo;
3917
+ protected get hasDiscount(): boolean;
3918
+ protected get discountPct(): number | null;
3919
+ protected get badgeColors(): {
3920
+ text: string;
3921
+ bg: string;
3922
+ };
3923
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderDiscountAppliedComponent, never>;
3924
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderDiscountAppliedComponent, "order-discount-applied", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
3925
+ }
3926
+
3927
+ interface BillingField {
3928
+ label: string;
3929
+ value: string | number | null;
3930
+ }
3931
+ declare class OrderBillingInfoComponent {
3932
+ order: Order;
3933
+ protected get fields(): BillingField[];
3934
+ protected get hasFields(): boolean;
3935
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderBillingInfoComponent, never>;
3936
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderBillingInfoComponent, "order-billing-info", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
3937
+ }
3938
+
3939
+ declare class OrderTransactionsComponent {
3940
+ private transactionDetailsModalService;
3941
+ order: Order;
3942
+ constructor(transactionDetailsModalService: OrderTransactionDetailsModalService);
3943
+ protected get transactions(): Transaction[];
3944
+ protected get hasTransactions(): boolean;
3945
+ protected get txColors(): Record<string, {
3946
+ text: string;
3947
+ bg: string;
3948
+ }>;
3949
+ protected openTransaction(transaction: Transaction): void;
3950
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionsComponent, never>;
3951
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionsComponent, "order-transactions", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
3952
+ }
3953
+
3954
+ declare class OrderTransactionDetailsModalComponent {
3955
+ private modalService;
3956
+ isOpen: WritableSignal<boolean> | null;
3957
+ transaction: Transaction | null;
3958
+ get modalIsOpen(): WritableSignal<boolean>;
3959
+ get selectedTransaction(): WritableSignal<Transaction | null>;
3960
+ protected get txColors(): Record<TransactionStatus, {
3961
+ text: string;
3962
+ bg: string;
3963
+ }>;
3964
+ protected get gatewayResponse(): string;
3965
+ onClose(): void;
3966
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalComponent, never>;
3967
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionDetailsModalComponent, "order-transaction-details-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, true, never>;
3968
+ }
3969
+
3970
+ declare class TicketQrComponent implements OnInit, OnDestroy {
3971
+ private ticketQrService;
3972
+ private platformId;
3973
+ ticketUuid: string;
3974
+ qrCanvas: ElementRef<HTMLCanvasElement>;
3975
+ loading: i0.WritableSignal<boolean>;
3976
+ error: i0.WritableSignal<boolean>;
3977
+ refreshing: i0.WritableSignal<boolean>;
3978
+ countdown: i0.WritableSignal<number>;
3979
+ private destroy$;
3980
+ private refreshTimeout;
3981
+ private countdownInterval;
3982
+ private isFetching;
3983
+ constructor(ticketQrService: TicketQrService, platformId: Object);
3984
+ ngOnInit(): void;
3985
+ ngOnDestroy(): void;
3986
+ private onVisibilityChange;
3987
+ private onFocus;
3988
+ private refreshFromReenter;
3989
+ retry(): void;
3990
+ private clearTimers;
3991
+ private fetchAndRender;
3992
+ private scheduleRefresh;
3993
+ private startCountdown;
3994
+ private renderQr;
3995
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrComponent, never>;
3996
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrComponent, "performance-ticket-qr", never, { "ticketUuid": { "alias": "ticketUuid"; "required": true; }; }, {}, never, never, true, never>;
3997
+ }
3998
+
3999
+ declare class TicketQrModalComponent {
4000
+ private ticketQrModalService;
4001
+ constructor(ticketQrModalService: TicketQrModalService);
4002
+ get isOpen(): i0.WritableSignal<boolean>;
4003
+ get ticketUuid(): i0.WritableSignal<string | null>;
4004
+ get ticketDescription(): i0.WritableSignal<string | null>;
4005
+ onClose(): void;
4006
+ static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalComponent, never>;
4007
+ static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrModalComponent, "ticket-qr-modal", never, {}, {}, never, never, true, never>;
4008
+ }
4009
+
4010
+ declare class VipBalanceCardComponent {
4011
+ card: VipCard | null;
4012
+ static ɵfac: i0.ɵɵFactoryDeclaration<VipBalanceCardComponent, never>;
4013
+ static ɵcmp: i0.ɵɵComponentDeclaration<VipBalanceCardComponent, "vip-balance-card", never, { "card": { "alias": "card"; "required": false; }; }, {}, never, never, true, never>;
4014
+ }
4015
+
4016
+ declare class VipCardStatusBadgeComponent {
4017
+ protected readonly tranloco: TranslocoService;
4018
+ card: VipCard;
4019
+ get statusColor(): BadgeColor;
4020
+ get statusTranslationKey(): string;
4021
+ static ɵfac: i0.ɵɵFactoryDeclaration<VipCardStatusBadgeComponent, never>;
4022
+ static ɵcmp: i0.ɵɵComponentDeclaration<VipCardStatusBadgeComponent, "vip-card-status-badge", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
4023
+ }
4024
+
4025
+ declare class VipRechargeModalComponent {
4026
+ private fb;
4027
+ title: string;
4028
+ submitLabel: string;
4029
+ loading: boolean;
4030
+ minAmount: number;
4031
+ isOpen: WritableSignal<boolean>;
4032
+ closeModal: EventEmitter<void>;
4033
+ confirm: EventEmitter<{
4034
+ amount: number;
4035
+ }>;
4036
+ rechargeForm: FormGroup;
4037
+ constructor(fb: FormBuilder);
4038
+ onClose(): void;
4039
+ onSubmit(): void;
4040
+ static ɵfac: i0.ɵɵFactoryDeclaration<VipRechargeModalComponent, never>;
4041
+ static ɵcmp: i0.ɵɵComponentDeclaration<VipRechargeModalComponent, "vip-recharge-modal", never, { "title": { "alias": "title"; "required": false; }; "submitLabel": { "alias": "submitLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "minAmount": { "alias": "minAmount"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "closeModal": "closeModal"; "confirm": "confirm"; }, never, never, true, never>;
4042
+ }
4043
+
4044
+ declare class VipTransactionsTableComponent {
4045
+ transactions: VipTransaction[];
4046
+ loading: boolean;
4047
+ typeLabel(type: VipTransactionType): string;
4048
+ static ɵfac: i0.ɵɵFactoryDeclaration<VipTransactionsTableComponent, never>;
4049
+ static ɵcmp: i0.ɵɵComponentDeclaration<VipTransactionsTableComponent, "vip-transactions-table", never, { "transactions": { "alias": "transactions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
4050
+ }
4051
+
4052
+ export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppBadgeComponent, AppBreadcumbComponent, 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, GiftBondPurchaseStatus, GiftBondStatus, KONVA_SHAPE_MAPPINGS, LanguageSwitcherComponent, MembershipStatus, MinTodayValidator, MustMatchValidator, NumberInputComponent, ORDER_DISCOUNT_COLORS, ORDER_ITEM_TYPES_COLORS, ORDER_STATUS_COLORS, OrderBillingInfoComponent, OrderDiscountAppliedComponent, OrderInformationComponent, OrderItemType, OrderItemTypeBadgeComponent, OrderItemsComponent, OrderStatus, OrderStatusBadgeComponent, OrderTransactionDetailsModalComponent, OrderTransactionDetailsModalService, OrderTransactionsComponent, PAYMENT_METHODS_OPTIONS, PERFORMANCES_API_ROUTES, PERFORMANCE_STATUS_COLORS, PERFORMANCE_TICKET_STATUS_COLORS, PHONE_COUNTRIES, 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, PerformanceStatusBadgeComponent, PerformanceStepperComponent, PerformanceTicketMapComponent, PerformanceTicketStatus, PerformanceTicketStatusBadgeComponent, PerformancesListEventsService, PhoneInputComponent, 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, ShowTypeBadgeComponent, 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, TRANSACTION_STATUS_COLORS, TextExpandableComponent, TickeraTranslocoLoader, TicketMapPriceZonesComponent, TicketMapProductSelectionItemComponent, TicketMapTotalsComponent, TicketMapWidgetComponent, TicketMapWidgetHeaderComponent, TicketMapWrapperComponent, TicketMapZoomControlsComponent, TicketMapZoomService, TicketQrComponent, TicketQrModalComponent, TicketQrModalService, TicketQrService, TicketSelectionDetailsService, TicketSelectionDiscountService, TicketSelectionService, TicketSelectionTotalsService, ToastService, ToggleSwitchComponent, TransactionStatus, VENUES_API_ROUTES, VIP_CARDS_API_ROUTES, VipBalanceCardComponent, VipCardService, VipCardStatus, VipCardStatusBadgeComponent, VipRechargeModalComponent, VipTransactionType, VipTransactionsTableComponent, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, drawChairIcon, drawHappyFace, drawRoundedRect, drawWheelchairIcon, findElementAtPosition, findTicketAtPosition, formatCitiesResponseToSelect, generateExitScene, generateHallwayScene, generateProductionAreaScene, generateSeatBlockScene, generateSeatBlockTicketScene, generateStageScene, generateStairScene, generateTableScene, generateTableTicketScene, generateUnavailableSpaceScene, generateZoneScene, getBrowserLanguage, getCustomerFullname, getItemTypeIcon, getOrderDiscount, getStoredLanguage, numberToLetter, parseJsonToFormDataAdvanced, phoneCountryFlag, processElementsToRenderData, provideTickeraComponents, resolveLanguage, setStoredLanguage, tintColor, transformImageToFile, transformUrlParams };
4053
+ export type { ActivateVipCardParams, Admin, AdminsResponse, AsyncSelectConfig, Auditable, BadgeColor, BadgeSize, BreadcrumbStep, BreadcrumbTheme, CitiesResponse, City, CityResponse, CommonFetchAllParams, 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, FetchCustomersParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchProductsParams, FetchShowCategoriesParams, FetchShowGendersParams, FetchShowsParams, FetchVipCardsParams, FileUploadConfig, FindAllPerformancesParams, FindAllPriceZoneParams, GiftBond, GiftBondImage, GiftBondPurchase, GiftBondPurchaseResponse, GiftBondPurchasesResponse, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, HallFloorOption, KonvaShapeConfig, Membership, MercadoPagoPreference, ModalSize, NumerationConfig, Order, OrderBillingInfo, OrderDiscountInfo, OrderDiscountType, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PhoneCountry, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductCategoriesResponse, ProductCategory, ProductCategoryResponse, ProductImage, ProductResponse, ProductTag, ProductTagResponse, ProductTagsResponse, ProductTaxonomy, ProductType, ProductTypeResponse, ProductTypesResponse, ProductsResponseInterface, QrTokenData, QrTokenResponse, RecentOrder, RecentRoomMap, 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, TextFontSize, TickeraComponentsConfig, TicketMapSeatPosition, TicketMapTableChairPosition, TicketMapTooltipData, TicketMapZoneQuantityState, TicketMapZoomConfig, Transaction, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage, VipCard, VipCardResponse, VipCardsResponse, VipCategorySnapshot, VipOrderResponse, VipTransaction, VipTransactionsResponse };