@smartsoft001-mobilems/angular 2.12.0 → 2.13.0

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,5 +1,6 @@
1
1
  import { TranslateService } from '@ngx-translate/core';
2
- import { Config, Page, IUser as IUser$1, MsFile } from '@smartsoft001-mobilems/models';
2
+ import * as _smartsoft001_mobilems_models from '@smartsoft001-mobilems/models';
3
+ import { Config, Page, IUser as IUser$1, MsFile, ConfigPageType, ConfigMenuItem } from '@smartsoft001-mobilems/models';
3
4
  import * as i0 from '@angular/core';
4
5
  import { ModuleWithProviders, ElementRef, Signal, AfterContentInit, TemplateRef, OnInit } from '@angular/core';
5
6
  import * as i1 from '@angular/router';
@@ -364,6 +365,36 @@ declare class ScrollTopComponent {
364
365
  static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollTopComponent, never, never, {}, {}, never, never, true, never>;
365
366
  }
366
367
 
368
+ interface IFooterStaticPage {
369
+ type: ConfigPageType.static;
370
+ title: string;
371
+ page: {
372
+ id: number;
373
+ title: string;
374
+ };
375
+ }
376
+ interface IFooterConfig {
377
+ theme?: {
378
+ footer?: {
379
+ menu?: ConfigMenuItem[];
380
+ };
381
+ };
382
+ }
383
+ declare class FooterComponent {
384
+ private configsFacade;
385
+ readonly config: i0.Signal<_smartsoft001_mobilems_models.Config | null>;
386
+ readonly currentYear: i0.Signal<number>;
387
+ readonly staticPages: i0.Signal<IFooterStaticPage[]>;
388
+ readonly hasStaticPages: i0.Signal<boolean>;
389
+ readonly menuItems: i0.Signal<ConfigMenuItem[]>;
390
+ readonly hasMenuItems: i0.Signal<boolean>;
391
+ getStaticPageById(id: number): IFooterStaticPage | undefined;
392
+ getStaticPageTitle(id: number): string | undefined;
393
+ updateConfig(_config: IFooterConfig): void;
394
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
395
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "smart-mobilems-footer", never, {}, {}, never, never, true, never>;
396
+ }
397
+
367
398
  declare const COMPONENTS: (typeof AppComponent)[];
368
399
 
369
400
  declare enum ListMode {
@@ -686,5 +717,5 @@ declare const authenticationGuard: CanActivateFn;
686
717
 
687
718
  declare const unauthorizedGuard: CanActivateFn;
688
719
 
689
- export { AppComponent, AuthStorageService, COMPONENTS, ConfigsFacade, ConfigsService, ContrastService, CrudBaseService, DIRECTIVES, DictionaryService, FileUrlService, FiltersBaseComponent, FiltersContext, GameType, GlobalService, HoverDirective, ImageBox, ListMode, MetaService, PageComponent, SERVICES, ScrollTopComponent, ScrollableDirective, SeoService, SettingsService, SharedConfig, SharedModule, StyleService, TRANSLATE_DATA_PL, TranslationService, WcagService, authenticationGuard, environment, setTranslationsAndLang, unauthorizedGuard };
690
- export type { ChangePasswordErrorMessage, FileUrlMode, FilterType, ForgotPasswordErrorMessage, IAudio, IDictionaryItem, IErrorMessages, IFilterItem, IFilterOne, IGame, IGameAnswer, IGameMemoConfig, IGamePuzzleConfig, IGameQuestion, IGameQuizConfig, IImages, ILoginResponse, IObjectGallery, IObjectGalleryItem, IObjectGallerySingleObject, IQuickMenu, ISingleObjectMultimedia, ITranslateData, ITranslationConfig, IUser, IUserInfo, IUserModify, IUserQuery, IUserQueryList, IUserRegister, IVideo, IWcagConfig, ModifyUserErrorMessage, RegisterErrorMessage, SearchQuery, WcagChangeType, WcagContrast, WcagLetterSpacing, WcagText, WcagWordSpacing };
720
+ export { AppComponent, AuthStorageService, COMPONENTS, ConfigsFacade, ConfigsService, ContrastService, CrudBaseService, DIRECTIVES, DictionaryService, FileUrlService, FiltersBaseComponent, FiltersContext, FooterComponent, GameType, GlobalService, HoverDirective, ImageBox, ListMode, MetaService, PageComponent, SERVICES, ScrollTopComponent, ScrollableDirective, SeoService, SettingsService, SharedConfig, SharedModule, StyleService, TRANSLATE_DATA_PL, TranslationService, WcagService, authenticationGuard, environment, setTranslationsAndLang, unauthorizedGuard };
721
+ export type { ChangePasswordErrorMessage, FileUrlMode, FilterType, ForgotPasswordErrorMessage, IAudio, IDictionaryItem, IErrorMessages, IFilterItem, IFilterOne, IFooterConfig, IFooterStaticPage, IGame, IGameAnswer, IGameMemoConfig, IGamePuzzleConfig, IGameQuestion, IGameQuizConfig, IImages, ILoginResponse, IObjectGallery, IObjectGalleryItem, IObjectGallerySingleObject, IQuickMenu, ISingleObjectMultimedia, ITranslateData, ITranslationConfig, IUser, IUserInfo, IUserModify, IUserQuery, IUserQueryList, IUserRegister, IVideo, IWcagConfig, ModifyUserErrorMessage, RegisterErrorMessage, SearchQuery, WcagChangeType, WcagContrast, WcagLetterSpacing, WcagText, WcagWordSpacing };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001-mobilems/angular",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "module": "fesm2022/smartsoft001-mobilems-angular.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {