tickera-angular-components 0.0.1-dev.0 → 0.0.1-dev.10

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/i18n/en.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "formErrors": {
3
+ "required": "This field is required",
4
+ "minlength": "Must be at least {{minLength}} characters",
5
+ "maxlength": "Must not exceed {{maxLength}} characters",
6
+ "pattern": "Invalid format",
7
+ "email": "Invalid format",
8
+ "mustMatch": "Passwords do not match",
9
+ "invalidField": "Invalid field",
10
+ "invalidSelection": "Invalid selection"
11
+ },
12
+ "common": {
13
+ "selectOption": "Select option"
14
+ },
15
+ "fileUpload": {
16
+ "dropSingle": "Drag and drop a file here, or click to select",
17
+ "dropMultiple": "Drag and drop files here, or click to select",
18
+ "allowedExtensions": "Allowed extensions:",
19
+ "maxSize": "Maximum size:",
20
+ "sizeError": "File {{fileName}} exceeds maximum size of {{maxSize}} MB",
21
+ "extensionError": "File {{fileName}} has an invalid extension. Use: {{extensions}}",
22
+ "fileTypeImages": "Images",
23
+ "fileTypeExcel": "Excel",
24
+ "fileTypeWord": "Word",
25
+ "fileTypeText": "Text",
26
+ "fileTypeOther": "Other"
27
+ },
28
+ "deleteConfirmation": {
29
+ "warning": "Are you sure you want to delete this item?",
30
+ "instructions": "Type <strong>delete</strong> to confirm",
31
+ "placeholder": "Type delete",
32
+ "cancel": "Cancel",
33
+ "delete": "Delete"
34
+ },
35
+ "changePassword": {
36
+ "title": "Change password",
37
+ "newPasswordLabel": "New password",
38
+ "newPasswordPlaceholder": "Enter new password",
39
+ "confirmPasswordLabel": "Confirm password",
40
+ "confirmPasswordPlaceholder": "Confirm new password",
41
+ "cancel": "Cancel",
42
+ "save": "Save",
43
+ "saving": "Saving..."
44
+ }
45
+ }
package/i18n/es.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "formErrors": {
3
+ "required": "Este campo es requerido",
4
+ "minlength": "Debe tener al menos {{minLength}} caracteres",
5
+ "maxlength": "No debe exceder {{maxLength}} caracteres",
6
+ "pattern": "El formato no es válido",
7
+ "email": "El formato no es válido",
8
+ "mustMatch": "Las contraseñas no coinciden",
9
+ "invalidField": "Campo inválido",
10
+ "invalidSelection": "Selección inválida"
11
+ },
12
+ "common": {
13
+ "selectOption": "Seleccionar opción"
14
+ },
15
+ "fileUpload": {
16
+ "dropSingle": "Arrastra y suelta un archivo aquí, o haz clic para seleccionar",
17
+ "dropMultiple": "Arrastra y suelta archivos aquí, o haz clic para seleccionar",
18
+ "allowedExtensions": "Extensiones permitidas:",
19
+ "maxSize": "Tamaño máximo:",
20
+ "sizeError": "El archivo {{fileName}} excede el tamaño máximo de {{maxSize}} MB",
21
+ "extensionError": "El archivo {{fileName}} no tiene una extensión permitida. Use: {{extensions}}",
22
+ "fileTypeImages": "Imágenes",
23
+ "fileTypeExcel": "Excel",
24
+ "fileTypeWord": "Word",
25
+ "fileTypeText": "Texto",
26
+ "fileTypeOther": "Otro"
27
+ },
28
+ "deleteConfirmation": {
29
+ "warning": "¿Estás seguro de que deseas eliminar este elemento?",
30
+ "instructions": "Escriba <strong>eliminar</strong> para confirmar",
31
+ "placeholder": "Escriba eliminar",
32
+ "cancel": "Cancelar",
33
+ "delete": "Eliminar"
34
+ },
35
+ "changePassword": {
36
+ "title": "Cambiar contraseña",
37
+ "newPasswordLabel": "Nueva contraseña",
38
+ "newPasswordPlaceholder": "Ingrese la nueva contraseña",
39
+ "confirmPasswordLabel": "Confirmar contraseña",
40
+ "confirmPasswordPlaceholder": "Confirme la nueva contraseña",
41
+ "cancel": "Cancelar",
42
+ "save": "Guardar",
43
+ "saving": "Guardando..."
44
+ }
45
+ }
package/index.d.ts CHANGED
@@ -1,32 +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
+ import { Router } from '@angular/router';
9
10
 
10
11
  interface TickeraComponentsConfig {
11
12
  apiUrl: string;
12
13
  accessTokenKey?: string;
14
+ defaultLang?: string;
15
+ availableLangs?: string[];
13
16
  }
14
17
  declare const TICKERA_COMPONENTS_CONFIG: InjectionToken<TickeraComponentsConfig>;
15
18
  declare function provideTickeraComponents(config: TickeraComponentsConfig): EnvironmentProviders;
16
19
 
17
- declare const ALERT_BASE_CLASSES = "border rounded relative flex items-center gap-2 px-4 py-2";
18
- declare const ALERT_COLOR_CLASSES: {
19
- success: string;
20
- error: string;
21
- warning: string;
22
- info: string;
23
- };
24
- declare const ALERT_SIZE_CLASSES: {
25
- xs: string;
26
- sm: string;
27
- md: string;
28
- lg: string;
29
- };
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
+
30
29
  declare const ALERT_ICONS: {
31
30
  success: string;
32
31
  error: string;
@@ -34,20 +33,9 @@ declare const ALERT_ICONS: {
34
33
  info: string;
35
34
  };
36
35
 
37
- declare const BUTTON_VARIANT_CLASSES: {
38
- primary: string;
39
- secondary: string;
40
- terciary: string;
41
- success: string;
42
- transparent: string;
43
- };
44
- declare const BASE_BUTTON_CLASSES: string;
45
- declare const BUTTON_SIZES_CLASSES: {
46
- xs: string;
47
- sm: string;
48
- md: string;
49
- lg: string;
50
- };
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>;
51
39
 
52
40
  declare const FORM_ERROR_MESSAGES: Record<string, string>;
53
41
 
@@ -213,16 +201,26 @@ declare enum RoomMapElementType {
213
201
  HALLWAY = "hallway"
214
202
  }
215
203
 
204
+ declare enum GiftBondStatus {
205
+ ACTIVE = "ACTIVE",
206
+ REDEEMED = "REDEEMED",
207
+ EXPIRED = "EXPIRED",
208
+ INACTIVE = "INACTIVE"
209
+ }
210
+
216
211
  declare enum OrderItemType {
217
212
  TICKET = "TICKET",
218
213
  PRODUCT = "PRODUCT"
219
214
  }
220
215
 
221
216
  declare enum OrderStatus {
222
- PENDING = "PENDING",
223
- COMPLETED = "COMPLETED",
224
- FAILED = "FAILED",
225
- CANCELLED = "CANCELLED"
217
+ ON_HOLD = "on-hold",
218
+ PENDING_PAYMENT = "pending-payment",
219
+ PROCESSING = "processing",
220
+ COMPLETED = "completed",
221
+ FAILED = "failed",
222
+ CANCELLED = "cancelled",
223
+ REFUNDED = "refunded"
226
224
  }
227
225
 
228
226
  interface RoomMapPosition {
@@ -1042,6 +1040,47 @@ interface FindAllPriceZoneParams {
1042
1040
  limit?: number;
1043
1041
  }
1044
1042
 
1043
+ interface GiftBond {
1044
+ id: number;
1045
+ uuid: string;
1046
+ name: string;
1047
+ description?: string;
1048
+ status: GiftBondStatus;
1049
+ value: number;
1050
+ customer: Customer;
1051
+ customer_id: number;
1052
+ created_at: Date;
1053
+ updated_at: Date;
1054
+ created_by: number;
1055
+ updated_by: number;
1056
+ }
1057
+
1058
+ interface GiftBondResponse {
1059
+ statusCode: number;
1060
+ data: GiftBond;
1061
+ message: string;
1062
+ }
1063
+
1064
+ interface GiftBondsResponse {
1065
+ statusCode: number;
1066
+ data: {
1067
+ gift_bonds: GiftBond[];
1068
+ total: number;
1069
+ };
1070
+ message: string;
1071
+ }
1072
+
1073
+ interface ValidateGiftBondResponse {
1074
+ data: {
1075
+ valid: boolean;
1076
+ message: string;
1077
+ code: string;
1078
+ bond?: GiftBond;
1079
+ };
1080
+ statusCode: number;
1081
+ message: string;
1082
+ }
1083
+
1045
1084
  interface CouponResponse {
1046
1085
  statusCode: number;
1047
1086
  data: Coupon;
@@ -1340,7 +1379,7 @@ declare class AppButtonComponent {
1340
1379
  disabled: boolean;
1341
1380
  loading: boolean;
1342
1381
  type: 'button' | 'submit';
1343
- variant: 'primary' | 'secondary' | 'terciary' | 'success' | 'transparent';
1382
+ variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
1344
1383
  text: string;
1345
1384
  size: 'xs' | 'sm' | 'md' | 'lg';
1346
1385
  loadingText: string;
@@ -1352,7 +1391,6 @@ declare class AppButtonComponent {
1352
1391
  }
1353
1392
 
1354
1393
  declare class AppLinkButtonComponent {
1355
- protected readonly BASE_BUTTON_CLASSES: string;
1356
1394
  disabled: boolean;
1357
1395
  loading: boolean;
1358
1396
  target: '_blank' | '_self' | '_parent' | '_top';
@@ -1362,7 +1400,7 @@ declare class AppLinkButtonComponent {
1362
1400
  route: string;
1363
1401
  queryParams: Record<string, any>;
1364
1402
  size: 'xs' | 'sm' | 'md' | 'lg';
1365
- variant: 'primary' | 'secondary' | 'terciary' | 'success' | 'transparent';
1403
+ variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
1366
1404
  get buttonClasses(): string;
1367
1405
  static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
1368
1406
  static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
@@ -1373,9 +1411,6 @@ declare class AppAlertComponent {
1373
1411
  text: string;
1374
1412
  closeable: boolean;
1375
1413
  size: 'xs' | 'sm' | 'md' | 'lg';
1376
- get alertColorClasses(): string;
1377
- get alertSizeClasses(): string;
1378
- get alertClasses(): string;
1379
1414
  get alertIcon(): string;
1380
1415
  static ɵfac: i0.ɵɵFactoryDeclaration<AppAlertComponent, never>;
1381
1416
  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>;
@@ -1524,7 +1559,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
1524
1559
  get showError(): boolean;
1525
1560
  get errorMessage(): string;
1526
1561
  get resolvedDefaultOptionLabel(): string;
1527
- get selectClasses(): string;
1528
1562
  get fieldGroupClasses(): string;
1529
1563
  static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
1530
1564
  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>;
@@ -1557,7 +1591,6 @@ declare class FormTextareaComponent implements ControlValueAccessor {
1557
1591
  get inputId(): string;
1558
1592
  get showError(): boolean;
1559
1593
  get errorMessage(): string;
1560
- get inputClasses(): string;
1561
1594
  get fieldGroupClasses(): string;
1562
1595
  static ɵfac: i0.ɵɵFactoryDeclaration<FormTextareaComponent, [{ optional: true; self: true; }, null]>;
1563
1596
  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>;
@@ -1625,7 +1658,6 @@ declare class ColorPickerComponent implements ControlValueAccessor {
1625
1658
  selectPresetColor(color: string): void;
1626
1659
  get inputId(): string;
1627
1660
  get showError(): boolean;
1628
- get inputClasses(): string;
1629
1661
  get fieldGroupClasses(): string;
1630
1662
  isValidHexColor(color: string): boolean;
1631
1663
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, [{ optional: true; self: true; }, null]>;
@@ -1662,7 +1694,6 @@ declare class DateInputComponent implements ControlValueAccessor {
1662
1694
  get inputId(): string;
1663
1695
  get showError(): boolean;
1664
1696
  get errorMessage(): string;
1665
- get inputClasses(): string;
1666
1697
  get fieldGroupClasses(): string;
1667
1698
  static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, null]>;
1668
1699
  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>;
@@ -1689,9 +1720,6 @@ declare class ToggleSwitchComponent implements ControlValueAccessor {
1689
1720
  setDisabledState(isDisabled: boolean): void;
1690
1721
  onToggle(): void;
1691
1722
  get inputId(): string;
1692
- get toggleSizeClasses(): string;
1693
- get toggleThumbSizeClasses(): string;
1694
- get toggleThumbTranslateClasses(): string;
1695
1723
  get fieldGroupClasses(): string;
1696
1724
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchComponent, [{ optional: true; self: true; }]>;
1697
1725
  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>;
@@ -2246,5 +2274,92 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
2246
2274
  static ɵcmp: i0.ɵɵComponentDeclaration<PriceZoneSelectComponent, "price-zone-select", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "priceZoneChange": "priceZoneChange"; }, never, never, true, never>;
2247
2275
  }
2248
2276
 
2249
- 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, 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, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceTicketStatus, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, STATE_API_ENDPOINTS, ShowMultiSelectComponent, ShowSelectComponent, ShowService, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, authInterceptor, formatCitiesResponseToSelect, getCustomerFullname, parseJsonToFormDataAdvanced, provideTickeraComponents, transformImageToFile };
2250
- 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 };
2277
+ declare class DaySelectorGridComponent {
2278
+ private platformId;
2279
+ protected performanceService: PerformanceService;
2280
+ protected listEventService: PerformancesListEventsService;
2281
+ protected toastService: ToastService;
2282
+ displayMode: 'grid' | 'carousel';
2283
+ loadingData: WritableSignal<boolean>;
2284
+ days: WritableSignal<PerformanceAvailableDay[]>;
2285
+ carouselTrack?: ElementRef<HTMLElement>;
2286
+ constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
2287
+ private loadData;
2288
+ isDayActive(day: PerformanceAvailableDay): boolean;
2289
+ onToggle(day: PerformanceAvailableDay): void;
2290
+ scrollCarousel(direction: 1 | -1): void;
2291
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaySelectorGridComponent, never>;
2292
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaySelectorGridComponent, "day-selector-grid", never, { "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, true, never>;
2293
+ }
2294
+
2295
+ declare class PerformanceCardComponent {
2296
+ protected listEventService: PerformancesListEventsService;
2297
+ card: DailyPerformanceItem;
2298
+ constructor(listEventService: PerformancesListEventsService);
2299
+ onSelect(): void;
2300
+ isSelected(): boolean;
2301
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
2302
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
2303
+ }
2304
+
2305
+ declare class PerformanceCardListComponent {
2306
+ private platformId;
2307
+ protected performanceService: PerformanceService;
2308
+ protected listEventService: PerformancesListEventsService;
2309
+ protected toastService: ToastService;
2310
+ loadingData: WritableSignal<boolean>;
2311
+ performances: WritableSignal<DailyPerformanceItem[]>;
2312
+ constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
2313
+ ngOnInit(): void;
2314
+ private loadData;
2315
+ get selectedDayDate(): string | null;
2316
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
2317
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
2318
+ }
2319
+
2320
+ declare class PerformanceStepperComponent {
2321
+ stepLabel: string;
2322
+ title: string;
2323
+ highlight: string;
2324
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceStepperComponent, never>;
2325
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceStepperComponent, "performance-stepper", never, { "stepLabel": { "alias": "stepLabel"; "required": true; }; "title": { "alias": "title"; "required": true; }; "highlight": { "alias": "highlight"; "required": true; }; }, {}, never, never, true, never>;
2326
+ }
2327
+
2328
+ declare class ShowsFilterComponent {
2329
+ private platformId;
2330
+ protected showService: ShowService;
2331
+ protected listEventService: PerformancesListEventsService;
2332
+ protected toastService: ToastService;
2333
+ private router;
2334
+ loadingData: WritableSignal<boolean>;
2335
+ shows: WritableSignal<Show[]>;
2336
+ constructor(platformId: object, showService: ShowService, listEventService: PerformancesListEventsService, toastService: ToastService, router: Router);
2337
+ ngOnInit(): void;
2338
+ private loadData;
2339
+ isActive(showId: number): boolean;
2340
+ onFilter(show: Show): void;
2341
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowsFilterComponent, never>;
2342
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShowsFilterComponent, "shows-filter", never, {}, {}, never, never, true, never>;
2343
+ }
2344
+
2345
+ interface PriceZoneItem {
2346
+ colorClass: string;
2347
+ name: string;
2348
+ seatsAvailable: number;
2349
+ price: string;
2350
+ }
2351
+
2352
+ declare class ZonePriceItemComponent {
2353
+ zone: PriceZoneItem;
2354
+ static ɵfac: i0.ɵɵFactoryDeclaration<ZonePriceItemComponent, never>;
2355
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceItemComponent, "zone-price-item", never, { "zone": { "alias": "zone"; "required": true; }; }, {}, never, never, true, never>;
2356
+ }
2357
+
2358
+ declare class ZonePriceListComponent {
2359
+ zones: PriceZoneItem[];
2360
+ static ɵfac: i0.ɵɵFactoryDeclaration<ZonePriceListComponent, never>;
2361
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
2362
+ }
2363
+
2364
+ export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppButtonComponent, AppLinkButtonComponent, AppModalComponent, AsyncSelectComponent, AuditInformationComponent, BASE_BUTTON_CLASSES, BASE_INPUT_CLASSES, BUTTON_SIZES_CLASSES, BUTTON_VARIANT_CLASSES, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CustomerSelectComponent, CustomerService, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondStatus, LanguageSwitcherComponent, LoadingModalService, LoadingmModalComponent, MinTodayValidator, MustMatchValidator, OrderItemType, OrderStatus, PERFORMANCES_API_ROUTES, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStepperComponent, PerformanceTicketStatus, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, STATE_API_ENDPOINTS, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TickeraTranslocoLoader, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, formatCitiesResponseToSelect, getBrowserLanguage, getCustomerFullname, getStoredLanguage, parseJsonToFormDataAdvanced, provideTickeraComponents, resolveLanguage, setStoredLanguage, transformImageToFile };
2365
+ export type { Admin, AdminsResponse, AsyncSelectConfig, Auditable, CitiesResponse, City, CityResponse, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, FetchCitiesParams, FetchDailyPerformancesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, NumerationConfig, Order, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductResponse, ProductsResponseInterface, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, Show, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tickera-angular-components",
3
- "version": "0.0.1-dev.0",
3
+ "version": "0.0.1-dev.10",
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}