tickera-angular-components 0.0.1-dev.29 → 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
@@ -417,6 +417,132 @@ interface CustomersResponse {
417
417
  message: string;
418
418
  }
419
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
+
528
+ type ShowType = 'play' | 'musical' | 'concert' | 'dance' | 'opera' | 'comedy' | 'other';
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
+
420
546
  interface FetchShowsParams {
421
547
  page?: number;
422
548
  limit?: number;
@@ -438,8 +564,6 @@ interface ShowImage {
438
564
  created_at: Date;
439
565
  }
440
566
 
441
- type ShowType = 'play' | 'musical' | 'concert' | 'dance' | 'opera' | 'comedy' | 'other';
442
-
443
567
  declare enum PerformanceStatus {
444
568
  SCHEDULED = "scheduled",
445
569
  OPEN = "open",
@@ -583,18 +707,6 @@ interface Product extends Auditable {
583
707
  images?: ProductImage[];
584
708
  }
585
709
 
586
- declare enum RoomMapElementType {
587
- SEAT_BLOCK = "seat_block",
588
- TABLE = "table",
589
- ZONE = "zone",
590
- EXIT = "exit",
591
- STAGE = "stage",
592
- PRODUCTION_AREA = "production_area",
593
- UNAVAILABLE_SPACE = "unavailable_space",
594
- STAIR = "stair",
595
- HALLWAY = "hallway"
596
- }
597
-
598
710
  interface NumerationConfig {
599
711
  start_row_letter: string;
600
712
  row_order: 'TOP_TO_BOTTOM' | 'BOTTOM_TO_TOP';
@@ -650,85 +762,6 @@ interface RoomMap {
650
762
  updated_at: Date;
651
763
  }
652
764
 
653
- interface RoomMapPosition {
654
- x: number;
655
- y: number;
656
- }
657
-
658
- interface RoomMapSize {
659
- width: number;
660
- height: number;
661
- }
662
-
663
- interface RoomMapBaseElement {
664
- id: string;
665
- type: RoomMapElementType;
666
- position: RoomMapPosition;
667
- size: RoomMapSize;
668
- rotation: number;
669
- name?: string;
670
- isLocked: boolean;
671
- isVisible: boolean;
672
- zIndex: number;
673
- }
674
-
675
- interface RoomMapExitElement extends RoomMapBaseElement {
676
- type: RoomMapElementType.EXIT;
677
- exitName?: string;
678
- exitType: 'emergency' | 'regular';
679
- width: number;
680
- }
681
-
682
- interface RoomMapProductionAreaElement extends RoomMapBaseElement {
683
- type: RoomMapElementType.PRODUCTION_AREA;
684
- areaName?: string;
685
- areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
686
- }
687
-
688
- interface RoomMapSeatElement extends RoomMapBaseElement {
689
- type: RoomMapElementType.SEAT_BLOCK;
690
- seatNumber?: string;
691
- isAvailable: boolean;
692
- priceCategory?: string;
693
- }
694
-
695
- declare enum RoomMapElementOrientation {
696
- TOP = "top",
697
- RIGHT = "right",
698
- BOTTOM = "bottom",
699
- LEFT = "left",
700
- CENTER = "center"
701
- }
702
-
703
- interface RoomMapStageElement extends RoomMapBaseElement {
704
- type: RoomMapElementType.STAGE;
705
- stageName?: string;
706
- orientation: RoomMapElementOrientation;
707
- isMainStage: boolean;
708
- }
709
-
710
- interface RoomMapTableElement extends RoomMapBaseElement {
711
- type: RoomMapElementType.TABLE;
712
- tableNumber?: string;
713
- capacity: number;
714
- shape: 'round' | 'rectangular' | 'square';
715
- }
716
-
717
- interface RoomMapUnavailableElement extends RoomMapBaseElement {
718
- type: RoomMapElementType.UNAVAILABLE_SPACE;
719
- reason?: string;
720
- }
721
-
722
- interface RoomMapZoneElement extends RoomMapBaseElement {
723
- type: RoomMapElementType.ZONE;
724
- zoneName: string;
725
- zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
726
- color: string;
727
- capacity?: number;
728
- }
729
-
730
- type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
731
-
732
765
  interface RoomMapCanvasConfiguration {
733
766
  id: string;
734
767
  name: string;
@@ -746,27 +779,6 @@ interface RoomMapCanvasConfiguration {
746
779
  };
747
780
  }
748
781
 
749
- declare enum OrderItemType {
750
- TICKET = "TICKET",
751
- PRODUCT = "PRODUCT"
752
- }
753
-
754
- declare enum OrderStatus {
755
- ON_HOLD = "on-hold",
756
- PENDING_PAYMENT = "pending-payment",
757
- PROCESSING = "processing",
758
- COMPLETED = "completed",
759
- FAILED = "failed",
760
- CANCELLED = "cancelled",
761
- REFUNDED = "refunded"
762
- }
763
-
764
- type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
765
-
766
- type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
767
-
768
- type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
769
-
770
782
  interface RoomMapChairPosition {
771
783
  position: RoomMapPosition;
772
784
  isOccupied: boolean;
@@ -1614,6 +1626,16 @@ declare class BaseModalService {
1614
1626
  close(): void;
1615
1627
  }
1616
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
+
1617
1639
  declare const authInterceptor: HttpInterceptorFn;
1618
1640
 
1619
1641
  declare class AppButtonComponent {
@@ -2622,5 +2644,5 @@ declare class ZonePriceListComponent {
2622
2644
  static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
2623
2645
  }
2624
2646
 
2625
- 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, 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 };
2626
- 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, 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 };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tickera-angular-components",
3
- "version": "0.0.1-dev.29",
3
+ "version": "0.0.1-dev.30",
4
4
  "description": "Angular 20 standalone component library for Tickera backoffice system",
5
5
  "license": "MIT",
6
6
  "repository": {