tickera-angular-components 0.0.1-dev.3 → 0.0.1-dev.30

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,33 +1,31 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter, Injector, Type, OnInit, OnDestroy, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
3
- import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, FormControl } from '@angular/forms';
4
- import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
2
+ import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type, OnInit, ElementRef } from '@angular/core';
3
+ import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
5
4
  import * as rxjs from 'rxjs';
6
5
  import { Observable, Subject } from 'rxjs';
7
- import { TranslocoService } from '@jsverse/transloco';
6
+ import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, FormControl } from '@angular/forms';
7
+ import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
8
8
  import { Toolbar, Editor } from 'ngx-editor';
9
9
  import { Router } from '@angular/router';
10
10
 
11
11
  interface TickeraComponentsConfig {
12
12
  apiUrl: string;
13
13
  accessTokenKey?: string;
14
+ defaultLang?: string;
15
+ availableLangs?: string[];
14
16
  }
15
17
  declare const TICKERA_COMPONENTS_CONFIG: InjectionToken<TickeraComponentsConfig>;
16
18
  declare function provideTickeraComponents(config: TickeraComponentsConfig): EnvironmentProviders;
17
19
 
18
- declare const ALERT_BASE_CLASSES = "border rounded relative flex items-center gap-2 px-4 py-2";
19
- declare const ALERT_COLOR_CLASSES: {
20
- success: string;
21
- error: string;
22
- warning: string;
23
- info: string;
24
- };
25
- declare const ALERT_SIZE_CLASSES: {
26
- xs: string;
27
- sm: string;
28
- md: string;
29
- lg: string;
30
- };
20
+ declare class TickeraTranslocoLoader implements TranslocoLoader {
21
+ getTranslation(lang: string): Observable<Record<string, unknown>>;
22
+ }
23
+
24
+ declare function getStoredLanguage(): string;
25
+ declare function setStoredLanguage(lang: string): void;
26
+ declare function getBrowserLanguage(): string;
27
+ declare function resolveLanguage(): string;
28
+
31
29
  declare const ALERT_ICONS: {
32
30
  success: string;
33
31
  error: string;
@@ -35,26 +33,6 @@ declare const ALERT_ICONS: {
35
33
  info: string;
36
34
  };
37
35
 
38
- declare const BUTTON_VARIANT_CLASSES: {
39
- primary: string;
40
- secondary: string;
41
- terciary: string;
42
- success: string;
43
- transparent: string;
44
- };
45
- declare const BASE_BUTTON_CLASSES: string;
46
- declare const BUTTON_SIZES_CLASSES: {
47
- xs: string;
48
- sm: string;
49
- md: string;
50
- lg: string;
51
- };
52
-
53
- declare const FORM_ERROR_MESSAGES: Record<string, string>;
54
-
55
- declare const BASE_INPUT_CLASSES: string;
56
- declare const ERROR_INPUT_CLASSES: string;
57
-
58
36
  declare const ADMIN_API_ROUTES: {
59
37
  FIND_ALL: string;
60
38
  CREATE: string;
@@ -78,10 +56,10 @@ declare const COUNTRY_API_ENDPOINTS: {
78
56
  delete: (id: number) => string;
79
57
  };
80
58
 
81
- declare const STATE_API_ENDPOINTS: {
59
+ declare const CUSTOMERS_API_ROUTES: {
82
60
  findAll: string;
83
61
  create: string;
84
- findById: (id: number) => string;
62
+ findOne: (id: number) => string;
85
63
  update: (id: number) => string;
86
64
  delete: (id: number) => string;
87
65
  };
@@ -103,12 +81,49 @@ declare const PERFORMANCES_API_ROUTES: {
103
81
  publicAvailablePerformances: string;
104
82
  };
105
83
 
84
+ declare const PRICE_ZONES_API_ROUTES: {
85
+ FIND_ALL: string;
86
+ CREATE: string;
87
+ findOneById: (id: number) => string;
88
+ update: (id: number) => string;
89
+ delete: (id: number) => string;
90
+ updateElements: (id: number) => string;
91
+ duplicate: (id: number) => string;
92
+ };
93
+
94
+ declare const PRODUCT_CATEGORIES_API_ROUTES: {
95
+ FIND_ALL: string;
96
+ CREATE: string;
97
+ findById: (id: number) => string;
98
+ update: (id: number) => string;
99
+ delete: (id: number) => string;
100
+ };
101
+
102
+ declare const PRODUCT_TAGS_API_ROUTES: {
103
+ FIND_ALL: string;
104
+ CREATE: string;
105
+ findById: (id: number) => string;
106
+ update: (id: number) => string;
107
+ delete: (id: number) => string;
108
+ };
109
+
110
+ declare const PRODUCT_TYPES_API_ROUTES: {
111
+ FIND_ALL: string;
112
+ CREATE: string;
113
+ findById: (id: number) => string;
114
+ update: (id: number) => string;
115
+ delete: (id: number) => string;
116
+ };
117
+
106
118
  declare const PRODUCTS_API_ROUTES: {
107
119
  FIND_ALL: string;
108
120
  CREATE: string;
109
121
  findOneById: (id: number) => string;
110
122
  update: (id: number) => string;
111
123
  delete: (id: number) => string;
124
+ fetchImages: (id: number) => string;
125
+ uploadImages: (id: number) => string;
126
+ deleteOneImage: (productId: number, imageId: number) => string;
112
127
  };
113
128
 
114
129
  declare const SHOWS_API_ROUTES: {
@@ -123,22 +138,12 @@ declare const SHOWS_API_ROUTES: {
123
138
  publicAvailablePerformances: string;
124
139
  };
125
140
 
126
- declare const CUSTOMERS_API_ROUTES: {
141
+ declare const STATE_API_ENDPOINTS: {
127
142
  findAll: string;
128
143
  create: string;
129
- findOne: (id: number) => string;
130
- update: (id: number) => string;
131
- delete: (id: number) => string;
132
- };
133
-
134
- declare const PRICE_ZONES_API_ROUTES: {
135
- FIND_ALL: string;
136
- CREATE: string;
137
- findOneById: (id: number) => string;
144
+ findById: (id: number) => string;
138
145
  update: (id: number) => string;
139
146
  delete: (id: number) => string;
140
- updateElements: (id: number) => string;
141
- duplicate: (id: number) => string;
142
147
  };
143
148
 
144
149
  declare const VENUES_API_ROUTES: {
@@ -152,152 +157,14 @@ declare const VENUES_API_ROUTES: {
152
157
  deleteOneImage: (venueId: number, imageId: number) => string;
153
158
  };
154
159
 
155
- declare enum FileType {
156
- IMAGE = "image",
157
- PDF = "pdf",
158
- EXCEL = "excel",
159
- WORD = "word",
160
- TEXT = "text",
161
- DEFAULT = "default"
162
- }
160
+ declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
161
+ declare const BASE_BUTTON_CLASSES = "btn";
162
+ declare const BUTTON_SIZES_CLASSES: Record<string, string>;
163
163
 
164
- declare enum CouponApplicability {
165
- GENERAL = "GENERAL",
166
- CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
167
- MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
168
- SHOWS = "SHOWS",
169
- PERFORMANCES = "PERFORMANCES"
170
- }
171
-
172
- declare enum CouponDiscountType {
173
- PERCENTAGE = "PERCENTAGE",
174
- FIXED = "FIXED"
175
- }
176
-
177
- declare enum CorporateBondStatus {
178
- ACTIVE = "ACTIVE",
179
- INACTIVE = "INACTIVE",
180
- EXPIRED = "EXPIRED"
181
- }
182
-
183
- declare enum PerformanceStatus {
184
- ACTIVE = "active",
185
- CANCELLED = "cancelled",
186
- FINISHED = "finished",
187
- POSTPONED = "postponed"
188
- }
189
-
190
- declare enum PerformanceTicketStatus {
191
- AVAILABLE = "available",
192
- RESERVED = "reserved",
193
- SOLD = "sold",
194
- BLOCKED = "blocked"
195
- }
196
-
197
- declare enum RoomMapElementOrientation {
198
- TOP = "top",
199
- RIGHT = "right",
200
- BOTTOM = "bottom",
201
- LEFT = "left",
202
- CENTER = "center"
203
- }
204
-
205
- declare enum RoomMapElementType {
206
- SEAT_BLOCK = "seat_block",
207
- TABLE = "table",
208
- ZONE = "zone",
209
- EXIT = "exit",
210
- STAGE = "stage",
211
- PRODUCTION_AREA = "production_area",
212
- UNAVAILABLE_SPACE = "unavailable_space",
213
- STAIR = "stair",
214
- HALLWAY = "hallway"
215
- }
216
-
217
- declare enum OrderItemType {
218
- TICKET = "TICKET",
219
- PRODUCT = "PRODUCT"
220
- }
221
-
222
- declare enum OrderStatus {
223
- PENDING = "PENDING",
224
- COMPLETED = "COMPLETED",
225
- FAILED = "FAILED",
226
- CANCELLED = "CANCELLED"
227
- }
228
-
229
- interface RoomMapPosition {
230
- x: number;
231
- y: number;
232
- }
233
-
234
- interface RoomMapSize {
235
- width: number;
236
- height: number;
237
- }
238
-
239
- interface RoomMapBaseElement {
240
- id: string;
241
- type: RoomMapElementType;
242
- position: RoomMapPosition;
243
- size: RoomMapSize;
244
- rotation: number;
245
- name?: string;
246
- isLocked: boolean;
247
- isVisible: boolean;
248
- zIndex: number;
249
- }
250
-
251
- interface RoomMapExitElement extends RoomMapBaseElement {
252
- type: RoomMapElementType.EXIT;
253
- exitName?: string;
254
- exitType: 'emergency' | 'regular';
255
- width: number;
256
- }
257
-
258
- interface RoomMapProductionAreaElement extends RoomMapBaseElement {
259
- type: RoomMapElementType.PRODUCTION_AREA;
260
- areaName?: string;
261
- areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
262
- }
263
-
264
- interface RoomMapSeatElement extends RoomMapBaseElement {
265
- type: RoomMapElementType.SEAT_BLOCK;
266
- seatNumber?: string;
267
- isAvailable: boolean;
268
- priceCategory?: string;
269
- }
270
-
271
- interface RoomMapStageElement extends RoomMapBaseElement {
272
- type: RoomMapElementType.STAGE;
273
- stageName?: string;
274
- orientation: RoomMapElementOrientation;
275
- isMainStage: boolean;
276
- }
277
-
278
- interface RoomMapTableElement extends RoomMapBaseElement {
279
- type: RoomMapElementType.TABLE;
280
- tableNumber?: string;
281
- capacity: number;
282
- shape: 'round' | 'rectangular' | 'square';
283
- }
284
-
285
- interface RoomMapUnavailableElement extends RoomMapBaseElement {
286
- type: RoomMapElementType.UNAVAILABLE_SPACE;
287
- reason?: string;
288
- }
289
-
290
- interface RoomMapZoneElement extends RoomMapBaseElement {
291
- type: RoomMapElementType.ZONE;
292
- zoneName: string;
293
- zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
294
- color: string;
295
- capacity?: number;
296
- }
297
-
298
- type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
164
+ declare const FORM_ERROR_MESSAGES: Record<string, string>;
299
165
 
300
- type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
166
+ declare const BASE_INPUT_CLASSES: string;
167
+ declare const ERROR_INPUT_CLASSES: string;
301
168
 
302
169
  interface SelectOption {
303
170
  value: any;
@@ -373,20 +240,20 @@ interface AdminsResponse {
373
240
  }
374
241
 
375
242
  interface Country {
376
- id: string;
243
+ id: number;
377
244
  name: string;
378
245
  iso2: string;
379
246
  }
380
247
 
381
248
  interface State {
382
- id: string;
249
+ id: number;
383
250
  name: string;
384
251
  country_id: number;
385
252
  country?: Country;
386
253
  }
387
254
 
388
255
  interface City {
389
- id: string;
256
+ id: number;
390
257
  name: string;
391
258
  search_text: string | null;
392
259
  state_id: number;
@@ -550,8 +417,139 @@ interface CustomersResponse {
550
417
  message: string;
551
418
  }
552
419
 
420
+ declare enum OrderItemType {
421
+ TICKET = "TICKET",
422
+ PRODUCT = "PRODUCT"
423
+ }
424
+
425
+ declare enum OrderStatus {
426
+ ON_HOLD = "on-hold",
427
+ PENDING_PAYMENT = "pending-payment",
428
+ PROCESSING = "processing",
429
+ COMPLETED = "completed",
430
+ FAILED = "failed",
431
+ CANCELLED = "cancelled",
432
+ REFUNDED = "refunded"
433
+ }
434
+
435
+ declare enum RoomMapElementType {
436
+ SEAT_BLOCK = "seat_block",
437
+ TABLE = "table",
438
+ ZONE = "zone",
439
+ EXIT = "exit",
440
+ STAGE = "stage",
441
+ PRODUCTION_AREA = "production_area",
442
+ UNAVAILABLE_SPACE = "unavailable_space",
443
+ STAIR = "stair",
444
+ HALLWAY = "hallway"
445
+ }
446
+
447
+ interface RoomMapPosition {
448
+ x: number;
449
+ y: number;
450
+ }
451
+
452
+ interface RoomMapSize {
453
+ width: number;
454
+ height: number;
455
+ }
456
+
457
+ interface RoomMapBaseElement {
458
+ id: string;
459
+ type: RoomMapElementType;
460
+ position: RoomMapPosition;
461
+ size: RoomMapSize;
462
+ rotation: number;
463
+ name?: string;
464
+ isLocked: boolean;
465
+ isVisible: boolean;
466
+ zIndex: number;
467
+ }
468
+
469
+ interface RoomMapExitElement extends RoomMapBaseElement {
470
+ type: RoomMapElementType.EXIT;
471
+ exitName?: string;
472
+ exitType: 'emergency' | 'regular';
473
+ width: number;
474
+ }
475
+
476
+ interface RoomMapProductionAreaElement extends RoomMapBaseElement {
477
+ type: RoomMapElementType.PRODUCTION_AREA;
478
+ areaName?: string;
479
+ areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
480
+ }
481
+
482
+ interface RoomMapSeatElement extends RoomMapBaseElement {
483
+ type: RoomMapElementType.SEAT_BLOCK;
484
+ seatNumber?: string;
485
+ isAvailable: boolean;
486
+ priceCategory?: string;
487
+ }
488
+
489
+ declare enum RoomMapElementOrientation {
490
+ TOP = "top",
491
+ RIGHT = "right",
492
+ BOTTOM = "bottom",
493
+ LEFT = "left",
494
+ CENTER = "center"
495
+ }
496
+
497
+ interface RoomMapStageElement extends RoomMapBaseElement {
498
+ type: RoomMapElementType.STAGE;
499
+ stageName?: string;
500
+ orientation: RoomMapElementOrientation;
501
+ isMainStage: boolean;
502
+ }
503
+
504
+ interface RoomMapTableElement extends RoomMapBaseElement {
505
+ type: RoomMapElementType.TABLE;
506
+ tableNumber?: string;
507
+ capacity: number;
508
+ shape: 'round' | 'rectangular' | 'square';
509
+ }
510
+
511
+ interface RoomMapUnavailableElement extends RoomMapBaseElement {
512
+ type: RoomMapElementType.UNAVAILABLE_SPACE;
513
+ reason?: string;
514
+ }
515
+
516
+ interface RoomMapZoneElement extends RoomMapBaseElement {
517
+ type: RoomMapElementType.ZONE;
518
+ zoneName: string;
519
+ zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
520
+ color: string;
521
+ capacity?: number;
522
+ }
523
+
524
+ type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
525
+
526
+ type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
527
+
553
528
  type ShowType = 'play' | 'musical' | 'concert' | 'dance' | 'opera' | 'comedy' | 'other';
554
529
 
530
+ type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
531
+
532
+ type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
533
+
534
+ interface FeedbackModalElement {
535
+ id: string;
536
+ type: FeedbackModalType;
537
+ title: string;
538
+ isOpen: WritableSignal<boolean>;
539
+ message?: string;
540
+ showHeader?: boolean;
541
+ showCloseButton?: boolean;
542
+ showTitle?: boolean;
543
+ closeModal?: void;
544
+ }
545
+
546
+ interface FetchShowsParams {
547
+ page?: number;
548
+ limit?: number;
549
+ search?: string;
550
+ date?: string;
551
+ }
552
+
555
553
  interface ShowImage {
556
554
  id: number;
557
555
  path: string;
@@ -566,60 +564,129 @@ interface ShowImage {
566
564
  created_at: Date;
567
565
  }
568
566
 
569
- interface Show extends Auditable {
567
+ declare enum PerformanceStatus {
568
+ SCHEDULED = "scheduled",
569
+ OPEN = "open",
570
+ CLOSED = "closed",
571
+ CANCELLED = "cancelled",
572
+ COMPLETED = "completed",
573
+ POSTPONED = "postponed"
574
+ }
575
+
576
+ interface PriceZone {
570
577
  id: number;
571
- title: string;
578
+ name: string;
579
+ color: string;
580
+ normal_price: number | null;
581
+ is_active: boolean;
582
+ elements: any[];
583
+ room_map_id: number | null;
584
+ created_at: Date;
585
+ updated_at: Date;
586
+ created_by: number;
587
+ updated_by: number;
588
+ }
589
+
590
+ interface FetchProductCategoriesParams {
591
+ name?: string;
592
+ slug?: string;
593
+ page?: number;
594
+ limit?: number;
595
+ search?: string;
596
+ }
597
+
598
+ interface ProductCategory extends Auditable {
599
+ id: number;
600
+ name: string;
572
601
  slug: string;
573
- description: string;
574
- duration_minutes: number | null;
575
- type_of_costs: string | null;
576
- service_fee: number | null;
577
- show_type: ShowType | null;
578
- pulep: string | null;
579
- minimum_age: number | null;
580
- show_category_id: number | null;
581
- default_room_map_id: number | null;
582
- published_at?: Date;
583
- is_published: boolean;
584
- images: ShowImage[];
585
- terms_and_conditions: string;
586
- performances_quantity?: number;
587
602
  }
588
603
 
589
- interface ShowResponse {
604
+ interface ProductCategoriesResponse {
590
605
  statusCode: number;
591
- data: Show;
606
+ data: {
607
+ categories: ProductCategory[];
608
+ total: number;
609
+ };
610
+ message: string;
611
+ }
612
+
613
+ interface ProductCategoryResponse {
614
+ statusCode: number;
615
+ data: ProductCategory;
616
+ message: string;
617
+ }
618
+
619
+ interface FetchProductTagsParams {
620
+ name?: string;
621
+ slug?: string;
622
+ page?: number;
623
+ limit?: number;
624
+ search?: string;
625
+ }
626
+
627
+ interface ProductTag extends Auditable {
628
+ id: number;
629
+ name: string;
630
+ slug: string;
631
+ }
632
+
633
+ interface ProductTagResponse {
634
+ statusCode: number;
635
+ data: ProductTag;
636
+ message: string;
637
+ }
638
+
639
+ interface ProductTagsResponse {
640
+ statusCode: number;
641
+ data: {
642
+ tags: ProductTag[];
643
+ total: number;
644
+ };
645
+ message: string;
646
+ }
647
+
648
+ interface FetchProductTypesParams {
649
+ name?: string;
650
+ slug?: string;
651
+ page?: number;
652
+ limit?: number;
653
+ search?: string;
654
+ }
655
+
656
+ interface ProductType extends Auditable {
657
+ id: number;
658
+ name: string;
659
+ slug: string;
660
+ }
661
+
662
+ interface ProductTypeResponse {
663
+ statusCode: number;
664
+ data: ProductType;
592
665
  message: string;
593
666
  }
594
667
 
595
- interface ShowsResponseInterface {
668
+ interface ProductTypesResponse {
596
669
  statusCode: number;
597
670
  data: {
598
- shows: Show[];
671
+ types: ProductType[];
599
672
  total: number;
600
673
  };
601
674
  message: string;
602
675
  }
603
676
 
604
- interface FetchShowsParams {
605
- page?: number;
606
- limit?: number;
607
- search?: string;
608
- date?: string;
609
- }
610
-
611
- interface PriceZone {
677
+ interface ProductImage {
612
678
  id: number;
613
- name: string;
614
- color: string;
615
- normal_price: number | null;
616
- is_active: boolean;
617
- elements: any[];
618
- room_map_id: number | null;
679
+ path: string;
680
+ full_url: string;
681
+ original_name: string;
682
+ extension: string;
683
+ size: number;
684
+ mime_type: string;
685
+ width: number;
686
+ height: number;
687
+ product_id: number;
688
+ product: Product;
619
689
  created_at: Date;
620
- updated_at: Date;
621
- created_by: number;
622
- updated_by: number;
623
690
  }
624
691
 
625
692
  interface Product extends Auditable {
@@ -634,10 +701,10 @@ interface Product extends Auditable {
634
701
  is_limited_edition: boolean;
635
702
  is_active: boolean;
636
703
  deleted_at: Date | null;
637
- categories?: any[];
638
- tags?: any[];
639
- types?: any[];
640
- images?: any[];
704
+ categories?: ProductCategory[];
705
+ tags?: ProductTag[];
706
+ types?: ProductType[];
707
+ images?: ProductImage[];
641
708
  }
642
709
 
643
710
  interface NumerationConfig {
@@ -748,6 +815,85 @@ interface Performance {
748
815
  updated_at: Date;
749
816
  }
750
817
 
818
+ interface Show extends Auditable {
819
+ id: number;
820
+ title: string;
821
+ slug: string;
822
+ description: string;
823
+ duration_minutes: number | null;
824
+ type_of_costs: string | null;
825
+ service_fee: number | null;
826
+ show_type: ShowType | null;
827
+ pulep: string | null;
828
+ minimum_age: number | null;
829
+ show_category_id: number | null;
830
+ default_room_map_id: number | null;
831
+ published_at?: Date;
832
+ is_published: boolean;
833
+ images: ShowImage[];
834
+ terms_and_conditions: string;
835
+ performances_quantity?: number;
836
+ performances?: Performance[];
837
+ next_performance?: Performance;
838
+ }
839
+
840
+ interface ShowResponse {
841
+ statusCode: number;
842
+ data: Show;
843
+ message: string;
844
+ }
845
+
846
+ interface ShowsResponseInterface {
847
+ statusCode: number;
848
+ data: {
849
+ shows: Show[];
850
+ total: number;
851
+ };
852
+ message: string;
853
+ }
854
+
855
+ interface ShowCategory extends Auditable {
856
+ id: number;
857
+ name: string;
858
+ slug: string;
859
+ }
860
+
861
+ interface ShowCategoriesResponse {
862
+ statusCode: number;
863
+ data: {
864
+ categories: ShowCategory[];
865
+ total: number;
866
+ };
867
+ message: string;
868
+ }
869
+
870
+ interface ShowCategoryResponse {
871
+ statusCode: number;
872
+ data: ShowCategory;
873
+ message: string;
874
+ }
875
+
876
+ interface ShowGender extends Auditable {
877
+ id: number;
878
+ name: string;
879
+ slug: string;
880
+ }
881
+
882
+ interface ShowGenderResponse {
883
+ statusCode: number;
884
+ data: ShowGender;
885
+ message: string;
886
+ }
887
+
888
+ interface ShowGendersResponse {
889
+ statusCode: number;
890
+ data: {
891
+ genders: ShowGender[];
892
+ total: number;
893
+ };
894
+ message: string;
895
+ }
896
+
751
897
  interface PerformanceResponse {
752
898
  statusCode: number;
753
899
  data: Performance;
@@ -763,6 +909,13 @@ interface PerformancesResponseInterface {
763
909
  message: string;
764
910
  }
765
911
 
912
+ declare enum PerformanceTicketStatus {
913
+ AVAILABLE = "available",
914
+ RESERVED = "reserved",
915
+ SOLD = "sold",
916
+ BLOCKED = "blocked"
917
+ }
918
+
766
919
  interface OrderItem {
767
920
  id: number;
768
921
  order: Order;
@@ -782,20 +935,39 @@ interface OrderItem {
782
935
  updated_by: number;
783
936
  }
784
937
 
938
+ declare enum CouponApplicability {
939
+ GENERAL = "GENERAL",
940
+ CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
941
+ MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
942
+ SHOWS = "SHOWS",
943
+ PERFORMANCES = "PERFORMANCES"
944
+ }
945
+
946
+ declare enum CouponDiscountType {
947
+ PERCENTAGE = "PERCENTAGE",
948
+ FIXED = "FIXED"
949
+ }
950
+
951
+ declare enum CouponStatus {
952
+ ACTIVE = "ACTIVE",
953
+ INACTIVE = "INACTIVE",
954
+ EXPIRED = "EXPIRED",
955
+ CONSUMED = "CONSUMED"
956
+ }
957
+
785
958
  interface Coupon extends Auditable {
786
959
  id: number;
787
960
  code: string;
961
+ billing_code: string;
788
962
  description?: string;
789
963
  discount_type: CouponDiscountType;
790
- discount_type_string?: string;
791
964
  discount_value: number;
792
- discount_value_string?: string;
793
965
  start_date: Date | null;
794
966
  end_date: Date | null;
795
967
  max_uses: number | null;
796
- max_uses_per_user?: number | null;
968
+ max_uses_per_customer?: number | null;
797
969
  uses_count: number;
798
- is_active: boolean;
970
+ status: CouponStatus;
799
971
  applicability_type: CouponApplicability;
800
972
  applicable_customer_emails: string[] | null;
801
973
  applicable_membership_types: string[] | null;
@@ -803,6 +975,15 @@ interface Coupon extends Auditable {
803
975
  applicable_performance_ids?: number[];
804
976
  applicable_price_zone_ids?: number[];
805
977
  applies_to_service_fee?: boolean;
978
+ orders?: Order[];
979
+ customers?: Customer[];
980
+ }
981
+
982
+ declare enum CorporateBondStatus {
983
+ ACTIVE = "ACTIVE",
984
+ INACTIVE = "INACTIVE",
985
+ EXPIRED = "EXPIRED",
986
+ CONSUMED = "CONSUMED"
806
987
  }
807
988
 
808
989
  interface CorporateBond {
@@ -1003,6 +1184,13 @@ interface ProductResponse {
1003
1184
  message: string;
1004
1185
  }
1005
1186
 
1187
+ interface ProductTaxonomy extends Auditable {
1188
+ id: number;
1189
+ name: string;
1190
+ slug: string;
1191
+ selected?: boolean;
1192
+ }
1193
+
1006
1194
  interface ProductsResponseInterface {
1007
1195
  statusCode: number;
1008
1196
  data: {
@@ -1043,6 +1231,54 @@ interface FindAllPriceZoneParams {
1043
1231
  limit?: number;
1044
1232
  }
1045
1233
 
1234
+ declare enum GiftBondStatus {
1235
+ ACTIVE = "ACTIVE",
1236
+ INACTIVE = "INACTIVE",
1237
+ EXPIRED = "EXPIRED",
1238
+ CONSUMED = "CONSUMED"
1239
+ }
1240
+
1241
+ interface GiftBond {
1242
+ id: number;
1243
+ uuid: string;
1244
+ name: string;
1245
+ description?: string;
1246
+ status: GiftBondStatus;
1247
+ value: number;
1248
+ customer: Customer;
1249
+ customer_id: number;
1250
+ created_at: Date;
1251
+ updated_at: Date;
1252
+ created_by: number;
1253
+ updated_by: number;
1254
+ }
1255
+
1256
+ interface GiftBondResponse {
1257
+ statusCode: number;
1258
+ data: GiftBond;
1259
+ message: string;
1260
+ }
1261
+
1262
+ interface GiftBondsResponse {
1263
+ statusCode: number;
1264
+ data: {
1265
+ gift_bonds: GiftBond[];
1266
+ total: number;
1267
+ };
1268
+ message: string;
1269
+ }
1270
+
1271
+ interface ValidateGiftBondResponse {
1272
+ data: {
1273
+ valid: boolean;
1274
+ message: string;
1275
+ code: string;
1276
+ bond?: GiftBond;
1277
+ };
1278
+ statusCode: number;
1279
+ message: string;
1280
+ }
1281
+
1046
1282
  interface CouponResponse {
1047
1283
  statusCode: number;
1048
1284
  data: Coupon;
@@ -1056,6 +1292,19 @@ interface ValidateCouponResponse {
1056
1292
  };
1057
1293
  }
1058
1294
 
1295
+ declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
1296
+
1297
+ declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
1298
+
1299
+ declare enum FileType {
1300
+ IMAGE = "image",
1301
+ PDF = "pdf",
1302
+ EXCEL = "excel",
1303
+ WORD = "word",
1304
+ TEXT = "text",
1305
+ DEFAULT = "default"
1306
+ }
1307
+
1059
1308
  declare const getCustomerFullname: (customer: Customer) => string;
1060
1309
 
1061
1310
  declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
@@ -1063,7 +1312,7 @@ declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
1063
1312
  declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
1064
1313
 
1065
1314
  declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
1066
- value: string;
1315
+ value: number;
1067
1316
  label: string;
1068
1317
  }[];
1069
1318
 
@@ -1097,16 +1346,6 @@ declare class ToastService {
1097
1346
  static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
1098
1347
  }
1099
1348
 
1100
- declare class LoadingModalService {
1101
- title: WritableSignal<string>;
1102
- isOpen: WritableSignal<boolean>;
1103
- get modalIsOpen(): WritableSignal<boolean>;
1104
- open(title?: string): void;
1105
- close(): void;
1106
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingModalService, never>;
1107
- static ɵprov: i0.ɵɵInjectableDeclaration<LoadingModalService>;
1108
- }
1109
-
1110
1349
  declare class DeleteConfirmationService {
1111
1350
  title: WritableSignal<string>;
1112
1351
  resourceName: WritableSignal<string>;
@@ -1235,25 +1474,6 @@ declare class PerformancesListEventsService {
1235
1474
  static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
1236
1475
  }
1237
1476
 
1238
- declare class ProductService {
1239
- private apiService;
1240
- private productsSubject;
1241
- products$: Observable<Product[]>;
1242
- constructor(apiService: ApiService);
1243
- fetchProducts(page: number, search: string): Observable<ProductsResponseInterface>;
1244
- loadProducts({ page, search }?: {
1245
- page?: number;
1246
- search?: string;
1247
- }): void;
1248
- getCurrentProducts(): Product[];
1249
- fetchOneById(id: number): Observable<ProductResponse>;
1250
- createOne(data: Product): Observable<any>;
1251
- updateOne(id: number, data: any): Observable<ProductResponse>;
1252
- deleteOne(id: number): Observable<any>;
1253
- static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
1254
- static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
1255
- }
1256
-
1257
1477
  declare class ShowService {
1258
1478
  private apiService;
1259
1479
  private showsSubject;
@@ -1334,6 +1554,88 @@ declare class PriceZoneFormModalService {
1334
1554
  static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
1335
1555
  }
1336
1556
 
1557
+ declare class ProductCategoryService {
1558
+ private apiService;
1559
+ constructor(apiService: ApiService);
1560
+ fetchCategories({ page, search, limit, }: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
1561
+ fetchOneById(id: number): Observable<ProductCategoryResponse>;
1562
+ createOne(data: ProductCategory): Observable<any>;
1563
+ updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
1564
+ deleteOne(id: number): Observable<any>;
1565
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
1566
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
1567
+ }
1568
+
1569
+ declare class ProductTagService {
1570
+ private apiService;
1571
+ constructor(apiService: ApiService);
1572
+ fetchTags({ page, search, limit }: FetchProductTagsParams): Observable<ProductTagsResponse>;
1573
+ fetchOneById(id: number): Observable<ProductTagResponse>;
1574
+ createOne(data: ProductTag): Observable<any>;
1575
+ updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
1576
+ deleteOne(id: number): Observable<any>;
1577
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
1578
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
1579
+ }
1580
+
1581
+ declare class ProductTypeService {
1582
+ private apiService;
1583
+ constructor(apiService: ApiService);
1584
+ fetchTypes({ page, search, limit }: FetchProductTypesParams): Observable<ProductTypesResponse>;
1585
+ fetchOneById(id: number): Observable<ProductTypeResponse>;
1586
+ createOne(data: ProductType): Observable<any>;
1587
+ updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
1588
+ deleteOne(id: number): Observable<any>;
1589
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
1590
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
1591
+ }
1592
+
1593
+ interface FetchProductsParams {
1594
+ page?: number;
1595
+ limit?: number;
1596
+ search?: string;
1597
+ }
1598
+
1599
+ declare class ProductService {
1600
+ private apiService;
1601
+ private productsSubject;
1602
+ products$: Observable<Product[]>;
1603
+ constructor(apiService: ApiService);
1604
+ fetchProducts({ page, search, limit, }: FetchProductsParams): Observable<ProductsResponseInterface>;
1605
+ loadProducts(params: FetchProductsParams): void;
1606
+ getCurrentProducts(): Product[];
1607
+ fetchOneById(id: number): Observable<ProductResponse>;
1608
+ createOne(data: Product): Observable<any>;
1609
+ updateOne(id: number, data: any): Observable<ProductResponse>;
1610
+ deleteOne(id: number): Observable<any>;
1611
+ fetchImages(id: number): Observable<{
1612
+ data: ProductImage[];
1613
+ }>;
1614
+ uploadImages(id: number, files?: FormData): Observable<{
1615
+ data: ProductImage[];
1616
+ }>;
1617
+ deleteOneImage(productId: number, imageId: number): Observable<any>;
1618
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
1619
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
1620
+ }
1621
+
1622
+ declare class BaseModalService {
1623
+ readonly isOpen: WritableSignal<boolean>;
1624
+ get modalIsOpen(): WritableSignal<boolean>;
1625
+ open(): void;
1626
+ close(): void;
1627
+ }
1628
+
1629
+ declare class FeedbackModalService {
1630
+ private _modals;
1631
+ readonly modals: i0.Signal<FeedbackModalElement[]>;
1632
+ addModal(modal: FeedbackModalElement): void;
1633
+ removeModal(id: string): void;
1634
+ removeAllModals(): void;
1635
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
1636
+ static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
1637
+ }
1638
+
1337
1639
  declare const authInterceptor: HttpInterceptorFn;
1338
1640
 
1339
1641
  declare class AppButtonComponent {
@@ -1341,7 +1643,7 @@ declare class AppButtonComponent {
1341
1643
  disabled: boolean;
1342
1644
  loading: boolean;
1343
1645
  type: 'button' | 'submit';
1344
- variant: 'primary' | 'secondary' | 'terciary' | 'success' | 'transparent';
1646
+ variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
1345
1647
  text: string;
1346
1648
  size: 'xs' | 'sm' | 'md' | 'lg';
1347
1649
  loadingText: string;
@@ -1353,7 +1655,6 @@ declare class AppButtonComponent {
1353
1655
  }
1354
1656
 
1355
1657
  declare class AppLinkButtonComponent {
1356
- protected readonly BASE_BUTTON_CLASSES: string;
1357
1658
  disabled: boolean;
1358
1659
  loading: boolean;
1359
1660
  target: '_blank' | '_self' | '_parent' | '_top';
@@ -1363,7 +1664,7 @@ declare class AppLinkButtonComponent {
1363
1664
  route: string;
1364
1665
  queryParams: Record<string, any>;
1365
1666
  size: 'xs' | 'sm' | 'md' | 'lg';
1366
- variant: 'primary' | 'secondary' | 'terciary' | 'success' | 'transparent';
1667
+ variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
1367
1668
  get buttonClasses(): string;
1368
1669
  static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
1369
1670
  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>;
@@ -1374,23 +1675,34 @@ declare class AppAlertComponent {
1374
1675
  text: string;
1375
1676
  closeable: boolean;
1376
1677
  size: 'xs' | 'sm' | 'md' | 'lg';
1377
- get alertColorClasses(): string;
1378
- get alertSizeClasses(): string;
1379
- get alertClasses(): string;
1380
1678
  get alertIcon(): string;
1381
1679
  static ɵfac: i0.ɵɵFactoryDeclaration<AppAlertComponent, never>;
1382
1680
  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>;
1383
1681
  }
1384
1682
 
1385
- declare class LoadingmModalComponent {
1386
- private loadingModalService;
1387
- constructor(loadingModalService: LoadingModalService);
1388
- get isOpen(): i0.WritableSignal<boolean>;
1389
- get title(): i0.WritableSignal<string>;
1683
+ declare class FeedbackModalComponent implements OnChanges, OnDestroy {
1684
+ isOpen: WritableSignal<boolean>;
1685
+ type: FeedbackModalType;
1686
+ title: string;
1687
+ message: string;
1688
+ showHeader: boolean;
1689
+ showCloseButton: boolean;
1690
+ showTitle: boolean;
1691
+ autoClose: boolean;
1692
+ autoCloseDuration: number;
1693
+ buttonText: string;
1694
+ closed: EventEmitter<void>;
1695
+ private autoCloseTimeout;
1696
+ get defaultButtonText(): string;
1697
+ get resolvedButtonText(): string;
1698
+ get buttonVariant(): 'primary' | 'secondary';
1699
+ ngOnChanges(changes: SimpleChanges): void;
1700
+ ngOnDestroy(): void;
1390
1701
  closeModal(): void;
1391
- onCitySaved(): void;
1392
- static ɵfac: i0.ɵɵFactoryDeclaration<LoadingmModalComponent, never>;
1393
- static ɵcmp: i0.ɵɵComponentDeclaration<LoadingmModalComponent, "loading-modal", never, {}, {}, never, never, true, never>;
1702
+ private scheduleAutoClose;
1703
+ private clearAutoClose;
1704
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
1705
+ 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>;
1394
1706
  }
1395
1707
 
1396
1708
  declare class DeleteConfirmationComponent {
@@ -1413,14 +1725,16 @@ declare class DeleteConfirmationComponent {
1413
1725
  declare class AppModalComponent {
1414
1726
  title: string;
1415
1727
  disableClose: boolean;
1728
+ showHeader: boolean;
1729
+ showCloseButton: boolean;
1730
+ showTitle: boolean;
1416
1731
  isOpen: WritableSignal<boolean>;
1417
- size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
1732
+ size: ModalSize;
1418
1733
  closeModal: EventEmitter<void>;
1419
- private readonly SIZE_CLASSES;
1420
- get sizeClass(): string;
1421
1734
  onCloseModal(): void;
1735
+ onKeydownEscape(): void;
1422
1736
  static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
1423
- 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>;
1737
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
1424
1738
  }
1425
1739
 
1426
1740
  declare class AuditInformationComponent {
@@ -1527,7 +1841,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
1527
1841
  get showError(): boolean;
1528
1842
  get errorMessage(): string;
1529
1843
  get resolvedDefaultOptionLabel(): string;
1530
- get selectClasses(): string;
1531
1844
  get fieldGroupClasses(): string;
1532
1845
  static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
1533
1846
  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>;
@@ -1560,7 +1873,6 @@ declare class FormTextareaComponent implements ControlValueAccessor {
1560
1873
  get inputId(): string;
1561
1874
  get showError(): boolean;
1562
1875
  get errorMessage(): string;
1563
- get inputClasses(): string;
1564
1876
  get fieldGroupClasses(): string;
1565
1877
  static ɵfac: i0.ɵɵFactoryDeclaration<FormTextareaComponent, [{ optional: true; self: true; }, null]>;
1566
1878
  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>;
@@ -1628,7 +1940,6 @@ declare class ColorPickerComponent implements ControlValueAccessor {
1628
1940
  selectPresetColor(color: string): void;
1629
1941
  get inputId(): string;
1630
1942
  get showError(): boolean;
1631
- get inputClasses(): string;
1632
1943
  get fieldGroupClasses(): string;
1633
1944
  isValidHexColor(color: string): boolean;
1634
1945
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, [{ optional: true; self: true; }, null]>;
@@ -1665,7 +1976,6 @@ declare class DateInputComponent implements ControlValueAccessor {
1665
1976
  get inputId(): string;
1666
1977
  get showError(): boolean;
1667
1978
  get errorMessage(): string;
1668
- get inputClasses(): string;
1669
1979
  get fieldGroupClasses(): string;
1670
1980
  static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, null]>;
1671
1981
  static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "date-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "includeTime": { "alias": "includeTime"; "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; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never, true, never>;
@@ -1692,9 +2002,6 @@ declare class ToggleSwitchComponent implements ControlValueAccessor {
1692
2002
  setDisabledState(isDisabled: boolean): void;
1693
2003
  onToggle(): void;
1694
2004
  get inputId(): string;
1695
- get toggleSizeClasses(): string;
1696
- get toggleThumbSizeClasses(): string;
1697
- get toggleThumbTranslateClasses(): string;
1698
2005
  get fieldGroupClasses(): string;
1699
2006
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchComponent, [{ optional: true; self: true; }]>;
1700
2007
  static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitchComponent, "toggle-switch", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, { "toggleClick": "toggleClick"; }, never, never, true, never>;
@@ -1783,6 +2090,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
1783
2090
  notFoundText: string;
1784
2091
  bindLabel: string;
1785
2092
  bindValue: string;
2093
+ disabled: boolean;
1786
2094
  value: any;
1787
2095
  onChange: any;
1788
2096
  onTouched: any;
@@ -1812,7 +2120,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
1812
2120
  registerOnTouched(fn: any): void;
1813
2121
  setDisabledState(isDisabled: boolean): void;
1814
2122
  static ɵfac: i0.ɵɵFactoryDeclaration<AsyncSelectComponent, never>;
1815
- 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>;
2123
+ 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>;
1816
2124
  }
1817
2125
 
1818
2126
  declare class ChangePasswordFormComponent {
@@ -2336,5 +2644,5 @@ declare class ZonePriceListComponent {
2336
2644
  static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
2337
2645
  }
2338
2646
 
2339
- export { ADMIN_API_ROUTES, ALERT_BASE_CLASSES, ALERT_COLOR_CLASSES, ALERT_ICONS, ALERT_SIZE_CLASSES, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppButtonComponent, AppLinkButtonComponent, AppModalComponent, AsyncSelectComponent, AuditInformationComponent, BASE_BUTTON_CLASSES, BASE_INPUT_CLASSES, BUTTON_SIZES_CLASSES, BUTTON_VARIANT_CLASSES, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CustomerSelectComponent, CustomerService, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, 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, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, formatCitiesResponseToSelect, getCustomerFullname, parseJsonToFormDataAdvanced, provideTickeraComponents, transformImageToFile };
2340
- 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, 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, Venue, VenueImage };
2647
+ 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, BaseModalService, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CouponStatus, CustomerSelectComponent, CustomerService, DOCUMENT_TYPES_OPTIONS, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FeedbackModalComponent, FeedbackModalService, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondStatus, LanguageSwitcherComponent, MinTodayValidator, MustMatchValidator, OrderItemType, OrderStatus, PAYMENT_METHODS_OPTIONS, PERFORMANCES_API_ROUTES, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PRODUCT_CATEGORIES_API_ROUTES, PRODUCT_TAGS_API_ROUTES, PRODUCT_TYPES_API_ROUTES, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStepperComponent, PerformanceTicketStatus, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductCategoryService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, ProductTagService, ProductTypeService, 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 };
2648
+ 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, FeedbackModalElement, FeedbackModalType, FetchCitiesParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, ModalSize, NumerationConfig, Order, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductCategoriesResponse, ProductCategory, ProductCategoryResponse, ProductImage, ProductResponse, ProductTag, ProductTagResponse, ProductTagsResponse, ProductTaxonomy, ProductType, ProductTypeResponse, ProductTypesResponse, ProductsResponseInterface, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, Show, ShowCategoriesResponse, ShowCategory, ShowCategoryResponse, ShowGender, ShowGenderResponse, ShowGendersResponse, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };