tickera-angular-components 0.0.1-dev.15 → 0.0.1-dev.150

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