tickera-angular-components 0.0.1-dev.2 → 0.0.1-dev.20

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
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';
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,20 +33,9 @@ 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
- };
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>;
52
39
 
53
40
  declare const FORM_ERROR_MESSAGES: Record<string, string>;
54
41
 
@@ -103,14 +90,6 @@ declare const PERFORMANCES_API_ROUTES: {
103
90
  publicAvailablePerformances: string;
104
91
  };
105
92
 
106
- declare const PRODUCTS_API_ROUTES: {
107
- FIND_ALL: string;
108
- CREATE: string;
109
- findOneById: (id: number) => string;
110
- update: (id: number) => string;
111
- delete: (id: number) => string;
112
- };
113
-
114
93
  declare const SHOWS_API_ROUTES: {
115
94
  findAll: string;
116
95
  create: string;
@@ -152,6 +131,41 @@ declare const VENUES_API_ROUTES: {
152
131
  deleteOneImage: (venueId: number, imageId: number) => string;
153
132
  };
154
133
 
134
+ declare const PRODUCT_TYPES_API_ROUTES: {
135
+ FIND_ALL: string;
136
+ CREATE: string;
137
+ findById: (id: number) => string;
138
+ update: (id: number) => string;
139
+ delete: (id: number) => string;
140
+ };
141
+
142
+ declare const PRODUCT_TAGS_API_ROUTES: {
143
+ FIND_ALL: string;
144
+ CREATE: string;
145
+ findById: (id: number) => string;
146
+ update: (id: number) => string;
147
+ delete: (id: number) => string;
148
+ };
149
+
150
+ declare const PRODUCT_CATEGORIES_API_ROUTES: {
151
+ FIND_ALL: string;
152
+ CREATE: string;
153
+ findById: (id: number) => string;
154
+ update: (id: number) => string;
155
+ delete: (id: number) => string;
156
+ };
157
+
158
+ declare const PRODUCTS_API_ROUTES: {
159
+ FIND_ALL: string;
160
+ CREATE: string;
161
+ findOneById: (id: number) => string;
162
+ update: (id: number) => string;
163
+ delete: (id: number) => string;
164
+ fetchImages: (id: number) => string;
165
+ uploadImages: (id: number) => string;
166
+ deleteOneImage: (productId: number, imageId: number) => string;
167
+ };
168
+
155
169
  declare enum FileType {
156
170
  IMAGE = "image",
157
171
  PDF = "pdf",
@@ -174,10 +188,18 @@ declare enum CouponDiscountType {
174
188
  FIXED = "FIXED"
175
189
  }
176
190
 
191
+ declare enum CouponStatus {
192
+ ACTIVE = "ACTIVE",
193
+ INACTIVE = "INACTIVE",
194
+ EXPIRED = "EXPIRED",
195
+ CONSUMED = "CONSUMED"
196
+ }
197
+
177
198
  declare enum CorporateBondStatus {
178
199
  ACTIVE = "ACTIVE",
179
200
  INACTIVE = "INACTIVE",
180
- EXPIRED = "EXPIRED"
201
+ EXPIRED = "EXPIRED",
202
+ CONSUMED = "CONSUMED"
181
203
  }
182
204
 
183
205
  declare enum PerformanceStatus {
@@ -214,16 +236,26 @@ declare enum RoomMapElementType {
214
236
  HALLWAY = "hallway"
215
237
  }
216
238
 
239
+ declare enum GiftBondStatus {
240
+ ACTIVE = "ACTIVE",
241
+ INACTIVE = "INACTIVE",
242
+ EXPIRED = "EXPIRED",
243
+ CONSUMED = "CONSUMED"
244
+ }
245
+
217
246
  declare enum OrderItemType {
218
247
  TICKET = "TICKET",
219
248
  PRODUCT = "PRODUCT"
220
249
  }
221
250
 
222
251
  declare enum OrderStatus {
223
- PENDING = "PENDING",
224
- COMPLETED = "COMPLETED",
225
- FAILED = "FAILED",
226
- CANCELLED = "CANCELLED"
252
+ ON_HOLD = "on-hold",
253
+ PENDING_PAYMENT = "pending-payment",
254
+ PROCESSING = "processing",
255
+ COMPLETED = "completed",
256
+ FAILED = "failed",
257
+ CANCELLED = "cancelled",
258
+ REFUNDED = "refunded"
227
259
  }
228
260
 
229
261
  interface RoomMapPosition {
@@ -622,6 +654,108 @@ interface PriceZone {
622
654
  updated_by: number;
623
655
  }
624
656
 
657
+ interface FetchProductCategoriesParams {
658
+ name?: string;
659
+ slug?: string;
660
+ page?: number;
661
+ limit?: number;
662
+ search?: string;
663
+ }
664
+
665
+ interface ProductCategory extends Auditable {
666
+ id: string;
667
+ name: string;
668
+ slug: string;
669
+ }
670
+
671
+ interface ProductCategoriesResponse {
672
+ statusCode: number;
673
+ data: {
674
+ categories: ProductCategory[];
675
+ total: number;
676
+ };
677
+ message: string;
678
+ }
679
+
680
+ interface ProductCategoryResponse {
681
+ statusCode: number;
682
+ data: ProductCategory;
683
+ message: string;
684
+ }
685
+
686
+ interface FetchProductTagsParams {
687
+ name?: string;
688
+ slug?: string;
689
+ page?: number;
690
+ limit?: number;
691
+ search?: string;
692
+ }
693
+
694
+ interface ProductTag extends Auditable {
695
+ id: string;
696
+ name: string;
697
+ slug: string;
698
+ }
699
+
700
+ interface ProductTagResponse {
701
+ statusCode: number;
702
+ data: ProductTag;
703
+ message: string;
704
+ }
705
+
706
+ interface ProductTagsResponse {
707
+ statusCode: number;
708
+ data: {
709
+ tags: ProductTag[];
710
+ total: number;
711
+ };
712
+ message: string;
713
+ }
714
+
715
+ interface FetchProductTypesParams {
716
+ name?: string;
717
+ slug?: string;
718
+ page?: number;
719
+ limit?: number;
720
+ search?: string;
721
+ }
722
+
723
+ interface ProductType extends Auditable {
724
+ id: string;
725
+ name: string;
726
+ slug: string;
727
+ }
728
+
729
+ interface ProductTypeResponse {
730
+ statusCode: number;
731
+ data: ProductType;
732
+ message: string;
733
+ }
734
+
735
+ interface ProductTypesResponse {
736
+ statusCode: number;
737
+ data: {
738
+ types: ProductType[];
739
+ total: number;
740
+ };
741
+ message: string;
742
+ }
743
+
744
+ interface ProductImage {
745
+ id: number;
746
+ path: string;
747
+ full_url: string;
748
+ original_name: string;
749
+ extension: string;
750
+ size: number;
751
+ mime_type: string;
752
+ width: number;
753
+ height: number;
754
+ product_id: number;
755
+ product: Product;
756
+ created_at: Date;
757
+ }
758
+
625
759
  interface Product extends Auditable {
626
760
  id: number;
627
761
  name: string;
@@ -634,10 +768,10 @@ interface Product extends Auditable {
634
768
  is_limited_edition: boolean;
635
769
  is_active: boolean;
636
770
  deleted_at: Date | null;
637
- categories?: any[];
638
- tags?: any[];
639
- types?: any[];
640
- images?: any[];
771
+ categories?: ProductCategory[];
772
+ tags?: ProductTag[];
773
+ types?: ProductType[];
774
+ images?: ProductImage[];
641
775
  }
642
776
 
643
777
  interface NumerationConfig {
@@ -785,17 +919,16 @@ interface OrderItem {
785
919
  interface Coupon extends Auditable {
786
920
  id: number;
787
921
  code: string;
922
+ billing_code: string;
788
923
  description?: string;
789
924
  discount_type: CouponDiscountType;
790
- discount_type_string?: string;
791
925
  discount_value: number;
792
- discount_value_string?: string;
793
926
  start_date: Date | null;
794
927
  end_date: Date | null;
795
928
  max_uses: number | null;
796
- max_uses_per_user?: number | null;
929
+ max_uses_per_customer?: number | null;
797
930
  uses_count: number;
798
- is_active: boolean;
931
+ status: CouponStatus;
799
932
  applicability_type: CouponApplicability;
800
933
  applicable_customer_emails: string[] | null;
801
934
  applicable_membership_types: string[] | null;
@@ -803,6 +936,8 @@ interface Coupon extends Auditable {
803
936
  applicable_performance_ids?: number[];
804
937
  applicable_price_zone_ids?: number[];
805
938
  applies_to_service_fee?: boolean;
939
+ orders?: Order[];
940
+ customers?: Customer[];
806
941
  }
807
942
 
808
943
  interface CorporateBond {
@@ -1003,6 +1138,13 @@ interface ProductResponse {
1003
1138
  message: string;
1004
1139
  }
1005
1140
 
1141
+ interface ProductTaxonomy {
1142
+ id: string;
1143
+ name: string;
1144
+ slug: string;
1145
+ selected?: boolean;
1146
+ }
1147
+
1006
1148
  interface ProductsResponseInterface {
1007
1149
  statusCode: number;
1008
1150
  data: {
@@ -1043,6 +1185,47 @@ interface FindAllPriceZoneParams {
1043
1185
  limit?: number;
1044
1186
  }
1045
1187
 
1188
+ interface GiftBond {
1189
+ id: number;
1190
+ uuid: string;
1191
+ name: string;
1192
+ description?: string;
1193
+ status: GiftBondStatus;
1194
+ value: number;
1195
+ customer: Customer;
1196
+ customer_id: number;
1197
+ created_at: Date;
1198
+ updated_at: Date;
1199
+ created_by: number;
1200
+ updated_by: number;
1201
+ }
1202
+
1203
+ interface GiftBondResponse {
1204
+ statusCode: number;
1205
+ data: GiftBond;
1206
+ message: string;
1207
+ }
1208
+
1209
+ interface GiftBondsResponse {
1210
+ statusCode: number;
1211
+ data: {
1212
+ gift_bonds: GiftBond[];
1213
+ total: number;
1214
+ };
1215
+ message: string;
1216
+ }
1217
+
1218
+ interface ValidateGiftBondResponse {
1219
+ data: {
1220
+ valid: boolean;
1221
+ message: string;
1222
+ code: string;
1223
+ bond?: GiftBond;
1224
+ };
1225
+ statusCode: number;
1226
+ message: string;
1227
+ }
1228
+
1046
1229
  interface CouponResponse {
1047
1230
  statusCode: number;
1048
1231
  data: Coupon;
@@ -1235,25 +1418,6 @@ declare class PerformancesListEventsService {
1235
1418
  static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
1236
1419
  }
1237
1420
 
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
1421
  declare class ShowService {
1258
1422
  private apiService;
1259
1423
  private showsSubject;
@@ -1334,6 +1498,71 @@ declare class PriceZoneFormModalService {
1334
1498
  static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
1335
1499
  }
1336
1500
 
1501
+ declare class ProductCategoryService {
1502
+ private apiService;
1503
+ constructor(apiService: ApiService);
1504
+ fetchCategories({ page, search, limit, }: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
1505
+ fetchOneById(id: number): Observable<ProductCategoryResponse>;
1506
+ createOne(data: ProductCategory): Observable<any>;
1507
+ updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
1508
+ deleteOne(id: number): Observable<any>;
1509
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
1510
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
1511
+ }
1512
+
1513
+ declare class ProductTagService {
1514
+ private apiService;
1515
+ constructor(apiService: ApiService);
1516
+ fetchTags({ page, search, limit }: FetchProductTagsParams): Observable<ProductTagsResponse>;
1517
+ fetchOneById(id: number): Observable<ProductTagResponse>;
1518
+ createOne(data: ProductTag): Observable<any>;
1519
+ updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
1520
+ deleteOne(id: number): Observable<any>;
1521
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
1522
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
1523
+ }
1524
+
1525
+ declare class ProductTypeService {
1526
+ private apiService;
1527
+ constructor(apiService: ApiService);
1528
+ fetchTypes({ page, search, limit }: FetchProductTypesParams): Observable<ProductTypesResponse>;
1529
+ fetchOneById(id: number): Observable<ProductTypeResponse>;
1530
+ createOne(data: ProductType): Observable<any>;
1531
+ updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
1532
+ deleteOne(id: number): Observable<any>;
1533
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
1534
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
1535
+ }
1536
+
1537
+ interface FetchProductsParams {
1538
+ page?: number;
1539
+ limit?: number;
1540
+ search?: string;
1541
+ }
1542
+
1543
+ declare class ProductService {
1544
+ private apiService;
1545
+ private productsSubject;
1546
+ products$: Observable<Product[]>;
1547
+ constructor(apiService: ApiService);
1548
+ fetchProducts({ page, search, limit, }: FetchProductsParams): Observable<ProductsResponseInterface>;
1549
+ loadProducts(params: FetchProductsParams): void;
1550
+ getCurrentProducts(): Product[];
1551
+ fetchOneById(id: number): Observable<ProductResponse>;
1552
+ createOne(data: Product): Observable<any>;
1553
+ updateOne(id: number, data: any): Observable<ProductResponse>;
1554
+ deleteOne(id: number): Observable<any>;
1555
+ fetchImages(id: number): Observable<{
1556
+ data: ProductImage[];
1557
+ }>;
1558
+ uploadImages(id: number, files?: FormData): Observable<{
1559
+ data: ProductImage[];
1560
+ }>;
1561
+ deleteOneImage(productId: number, imageId: number): Observable<any>;
1562
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
1563
+ static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
1564
+ }
1565
+
1337
1566
  declare const authInterceptor: HttpInterceptorFn;
1338
1567
 
1339
1568
  declare class AppButtonComponent {
@@ -1341,7 +1570,7 @@ declare class AppButtonComponent {
1341
1570
  disabled: boolean;
1342
1571
  loading: boolean;
1343
1572
  type: 'button' | 'submit';
1344
- variant: 'primary' | 'secondary' | 'terciary' | 'success' | 'transparent';
1573
+ variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
1345
1574
  text: string;
1346
1575
  size: 'xs' | 'sm' | 'md' | 'lg';
1347
1576
  loadingText: string;
@@ -1353,7 +1582,6 @@ declare class AppButtonComponent {
1353
1582
  }
1354
1583
 
1355
1584
  declare class AppLinkButtonComponent {
1356
- protected readonly BASE_BUTTON_CLASSES: string;
1357
1585
  disabled: boolean;
1358
1586
  loading: boolean;
1359
1587
  target: '_blank' | '_self' | '_parent' | '_top';
@@ -1363,7 +1591,7 @@ declare class AppLinkButtonComponent {
1363
1591
  route: string;
1364
1592
  queryParams: Record<string, any>;
1365
1593
  size: 'xs' | 'sm' | 'md' | 'lg';
1366
- variant: 'primary' | 'secondary' | 'terciary' | 'success' | 'transparent';
1594
+ variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
1367
1595
  get buttonClasses(): string;
1368
1596
  static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
1369
1597
  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,9 +1602,6 @@ declare class AppAlertComponent {
1374
1602
  text: string;
1375
1603
  closeable: boolean;
1376
1604
  size: 'xs' | 'sm' | 'md' | 'lg';
1377
- get alertColorClasses(): string;
1378
- get alertSizeClasses(): string;
1379
- get alertClasses(): string;
1380
1605
  get alertIcon(): string;
1381
1606
  static ɵfac: i0.ɵɵFactoryDeclaration<AppAlertComponent, never>;
1382
1607
  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>;
@@ -1416,8 +1641,6 @@ declare class AppModalComponent {
1416
1641
  isOpen: WritableSignal<boolean>;
1417
1642
  size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
1418
1643
  closeModal: EventEmitter<void>;
1419
- private readonly SIZE_CLASSES;
1420
- get sizeClass(): string;
1421
1644
  onCloseModal(): void;
1422
1645
  static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
1423
1646
  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>;
@@ -1527,7 +1750,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
1527
1750
  get showError(): boolean;
1528
1751
  get errorMessage(): string;
1529
1752
  get resolvedDefaultOptionLabel(): string;
1530
- get selectClasses(): string;
1531
1753
  get fieldGroupClasses(): string;
1532
1754
  static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
1533
1755
  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 +1782,6 @@ declare class FormTextareaComponent implements ControlValueAccessor {
1560
1782
  get inputId(): string;
1561
1783
  get showError(): boolean;
1562
1784
  get errorMessage(): string;
1563
- get inputClasses(): string;
1564
1785
  get fieldGroupClasses(): string;
1565
1786
  static ɵfac: i0.ɵɵFactoryDeclaration<FormTextareaComponent, [{ optional: true; self: true; }, null]>;
1566
1787
  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 +1849,6 @@ declare class ColorPickerComponent implements ControlValueAccessor {
1628
1849
  selectPresetColor(color: string): void;
1629
1850
  get inputId(): string;
1630
1851
  get showError(): boolean;
1631
- get inputClasses(): string;
1632
1852
  get fieldGroupClasses(): string;
1633
1853
  isValidHexColor(color: string): boolean;
1634
1854
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, [{ optional: true; self: true; }, null]>;
@@ -1665,7 +1885,6 @@ declare class DateInputComponent implements ControlValueAccessor {
1665
1885
  get inputId(): string;
1666
1886
  get showError(): boolean;
1667
1887
  get errorMessage(): string;
1668
- get inputClasses(): string;
1669
1888
  get fieldGroupClasses(): string;
1670
1889
  static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, null]>;
1671
1890
  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 +1911,6 @@ declare class ToggleSwitchComponent implements ControlValueAccessor {
1692
1911
  setDisabledState(isDisabled: boolean): void;
1693
1912
  onToggle(): void;
1694
1913
  get inputId(): string;
1695
- get toggleSizeClasses(): string;
1696
- get toggleThumbSizeClasses(): string;
1697
- get toggleThumbTranslateClasses(): string;
1698
1914
  get fieldGroupClasses(): string;
1699
1915
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchComponent, [{ optional: true; self: true; }]>;
1700
1916
  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 +1999,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
1783
1999
  notFoundText: string;
1784
2000
  bindLabel: string;
1785
2001
  bindValue: string;
2002
+ disabled: boolean;
1786
2003
  value: any;
1787
2004
  onChange: any;
1788
2005
  onTouched: any;
@@ -1812,7 +2029,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
1812
2029
  registerOnTouched(fn: any): void;
1813
2030
  setDisabledState(isDisabled: boolean): void;
1814
2031
  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>;
2032
+ 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
2033
  }
1817
2034
 
1818
2035
  declare class ChangePasswordFormComponent {
@@ -2336,5 +2553,5 @@ declare class ZonePriceListComponent {
2336
2553
  static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
2337
2554
  }
2338
2555
 
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 };
2556
+ 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, 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 };
2557
+ 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, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, 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, 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, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tickera-angular-components",
3
- "version": "0.0.1-dev.2",
3
+ "version": "0.0.1-dev.20",
4
4
  "description": "Angular 20 standalone component library for Tickera backoffice system",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -0,0 +1 @@
1
+ @font-face{font-family:"Open Sans";font-style:normal;font-weight:300;font-display:swap;src:url("./assets/fonts/open-sans-latin-300-normal.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:italic;font-weight:300;font-display:swap;src:url("./assets/fonts/open-sans-latin-300-italic.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:normal;font-weight:400;font-display:swap;src:url("./assets/fonts/open-sans-latin-400-normal.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:italic;font-weight:400;font-display:swap;src:url("./assets/fonts/open-sans-latin-400-italic.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:normal;font-weight:500;font-display:swap;src:url("./assets/fonts/open-sans-latin-500-normal.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:italic;font-weight:500;font-display:swap;src:url("./assets/fonts/open-sans-latin-500-italic.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:normal;font-weight:600;font-display:swap;src:url("./assets/fonts/open-sans-latin-600-normal.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:italic;font-weight:600;font-display:swap;src:url("./assets/fonts/open-sans-latin-600-italic.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;font-display:swap;src:url("./assets/fonts/open-sans-latin-700-normal.woff2") format("woff2")}@font-face{font-family:"Open Sans";font-style:italic;font-weight:700;font-display:swap;src:url("./assets/fonts/open-sans-latin-700-italic.woff2") format("woff2")}@font-face{font-family:"remixicon";font-style:normal;font-weight:normal;font-display:swap;src:url("./assets/fonts/remixicon.woff2") format("woff2")}[class^=ri-],[class*=" ri-"]{font-family:"remixicon" !important;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*::before,*::after{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1rem;line-height:1.5;color:#111827;background-color:#fff}:focus-visible{outline:2px solid #4f46e5;outline-offset:2px}button{font-family:inherit}input,textarea,select{font-family:inherit}a{color:inherit;text-decoration:inherit}