@smartsoft001-mobilems/angular 2.11.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,8 +1,10 @@
|
|
|
1
1
|
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
-
import
|
|
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';
|
|
7
|
+
import { CanActivateFn } from '@angular/router';
|
|
6
8
|
import { AppBaseComponent, PageBaseComponent, BaseComponent } from '@smartsoft001/angular';
|
|
7
9
|
import { Observable, Subscription } from 'rxjs';
|
|
8
10
|
import { MetaDefinition } from '@angular/platform-browser';
|
|
@@ -266,7 +268,7 @@ declare abstract class CrudBaseService<T extends IEntity<string>> extends CrudSe
|
|
|
266
268
|
protected getQueryType(type: '=' | '!=' | '>=' | '<=' | '<' | '>', isArray: boolean): "" | "[from]" | "[to]" | "[]";
|
|
267
269
|
}
|
|
268
270
|
|
|
269
|
-
declare const SERVICES: (typeof
|
|
271
|
+
declare const SERVICES: (typeof AuthStorageService | typeof ConfigsService | typeof ContrastService | typeof DictionaryService | typeof FileUrlService | typeof GlobalService | typeof TranslationService | typeof MetaService | typeof SeoService | typeof SettingsService | typeof StyleService | typeof WcagService | typeof ConfigsFacade)[];
|
|
270
272
|
|
|
271
273
|
declare class PageComponent extends PageBaseComponent {
|
|
272
274
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
@@ -363,6 +365,36 @@ declare class ScrollTopComponent {
|
|
|
363
365
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollTopComponent, never, never, {}, {}, never, never, true, never>;
|
|
364
366
|
}
|
|
365
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
|
+
|
|
366
398
|
declare const COMPONENTS: (typeof AppComponent)[];
|
|
367
399
|
|
|
368
400
|
declare enum ListMode {
|
|
@@ -681,5 +713,9 @@ declare class ScrollableDirective implements OnInit {
|
|
|
681
713
|
|
|
682
714
|
declare const DIRECTIVES: never[];
|
|
683
715
|
|
|
684
|
-
|
|
685
|
-
|
|
716
|
+
declare const authenticationGuard: CanActivateFn;
|
|
717
|
+
|
|
718
|
+
declare const unauthorizedGuard: CanActivateFn;
|
|
719
|
+
|
|
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 };
|