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

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
@@ -6,6 +6,7 @@ import * as rxjs from 'rxjs';
6
6
  import { Observable, Subject } from 'rxjs';
7
7
  import { TranslocoService } from '@jsverse/transloco';
8
8
  import { Toolbar, Editor } from 'ngx-editor';
9
+ import { Router } from '@angular/router';
9
10
 
10
11
  interface TickeraComponentsConfig {
11
12
  apiUrl: string;
@@ -1415,6 +1416,8 @@ declare class AppModalComponent {
1415
1416
  isOpen: WritableSignal<boolean>;
1416
1417
  size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
1417
1418
  closeModal: EventEmitter<void>;
1419
+ private readonly SIZE_CLASSES;
1420
+ get sizeClass(): string;
1418
1421
  onCloseModal(): void;
1419
1422
  static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
1420
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>;
@@ -2246,5 +2249,92 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
2246
2249
  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
2250
  }
2248
2251
 
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 };
2252
+ declare class DaySelectorGridComponent {
2253
+ private platformId;
2254
+ protected performanceService: PerformanceService;
2255
+ protected listEventService: PerformancesListEventsService;
2256
+ protected toastService: ToastService;
2257
+ displayMode: 'grid' | 'carousel';
2258
+ loadingData: WritableSignal<boolean>;
2259
+ days: WritableSignal<PerformanceAvailableDay[]>;
2260
+ carouselTrack?: ElementRef<HTMLElement>;
2261
+ constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
2262
+ private loadData;
2263
+ isDayActive(day: PerformanceAvailableDay): boolean;
2264
+ onToggle(day: PerformanceAvailableDay): void;
2265
+ scrollCarousel(direction: 1 | -1): void;
2266
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaySelectorGridComponent, never>;
2267
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaySelectorGridComponent, "day-selector-grid", never, { "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, true, never>;
2268
+ }
2269
+
2270
+ declare class PerformanceCardComponent {
2271
+ protected listEventService: PerformancesListEventsService;
2272
+ card: DailyPerformanceItem;
2273
+ constructor(listEventService: PerformancesListEventsService);
2274
+ onSelect(): void;
2275
+ isSelected(): boolean;
2276
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
2277
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
2278
+ }
2279
+
2280
+ declare class PerformanceCardListComponent {
2281
+ private platformId;
2282
+ protected performanceService: PerformanceService;
2283
+ protected listEventService: PerformancesListEventsService;
2284
+ protected toastService: ToastService;
2285
+ loadingData: WritableSignal<boolean>;
2286
+ performances: WritableSignal<DailyPerformanceItem[]>;
2287
+ constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
2288
+ ngOnInit(): void;
2289
+ private loadData;
2290
+ get selectedDayDate(): string | null;
2291
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
2292
+ static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
2293
+ }
2294
+
2295
+ declare class PerformanceStepperComponent {
2296
+ stepLabel: string;
2297
+ title: string;
2298
+ highlight: string;
2299
+ static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceStepperComponent, never>;
2300
+ 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>;
2301
+ }
2302
+
2303
+ declare class ShowsFilterComponent {
2304
+ private platformId;
2305
+ protected showService: ShowService;
2306
+ protected listEventService: PerformancesListEventsService;
2307
+ protected toastService: ToastService;
2308
+ private router;
2309
+ loadingData: WritableSignal<boolean>;
2310
+ shows: WritableSignal<Show[]>;
2311
+ constructor(platformId: object, showService: ShowService, listEventService: PerformancesListEventsService, toastService: ToastService, router: Router);
2312
+ ngOnInit(): void;
2313
+ private loadData;
2314
+ isActive(showId: number): boolean;
2315
+ onFilter(show: Show): void;
2316
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowsFilterComponent, never>;
2317
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShowsFilterComponent, "shows-filter", never, {}, {}, never, never, true, never>;
2318
+ }
2319
+
2320
+ interface PriceZoneItem {
2321
+ colorClass: string;
2322
+ name: string;
2323
+ seatsAvailable: number;
2324
+ price: string;
2325
+ }
2326
+
2327
+ declare class ZonePriceItemComponent {
2328
+ zone: PriceZoneItem;
2329
+ static ɵfac: i0.ɵɵFactoryDeclaration<ZonePriceItemComponent, never>;
2330
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceItemComponent, "zone-price-item", never, { "zone": { "alias": "zone"; "required": true; }; }, {}, never, never, true, never>;
2331
+ }
2332
+
2333
+ declare class ZonePriceListComponent {
2334
+ zones: PriceZoneItem[];
2335
+ static ɵfac: i0.ɵɵFactoryDeclaration<ZonePriceListComponent, never>;
2336
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
2337
+ }
2338
+
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 };
2250
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 };
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.2",
4
4
  "description": "Angular 20 standalone component library for Tickera backoffice system",
5
5
  "license": "MIT",
6
6
  "repository": {