@smartsoft001-mobilems/angular 2.15.0 → 2.17.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
|
@@ -526,6 +526,47 @@ declare class HeaderComponent {
|
|
|
526
526
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "smart-mobilems-header", never, {}, {}, never, never, true, never>;
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
+
interface IMenuItem {
|
|
530
|
+
label: string;
|
|
531
|
+
route: string;
|
|
532
|
+
icon?: string;
|
|
533
|
+
title?: string;
|
|
534
|
+
ariaLabel?: string;
|
|
535
|
+
}
|
|
536
|
+
interface IMenuConfig {
|
|
537
|
+
theme?: {
|
|
538
|
+
menu?: {
|
|
539
|
+
enabled?: boolean;
|
|
540
|
+
mobileBreakpoint?: number;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
declare class MenuComponent {
|
|
545
|
+
private configsFacade;
|
|
546
|
+
private router;
|
|
547
|
+
private platformId;
|
|
548
|
+
readonly menuItems: i0.InputSignal<IMenuItem[]>;
|
|
549
|
+
readonly searchEnabled: i0.InputSignal<boolean>;
|
|
550
|
+
readonly config: i0.Signal<dist_packages_shared_models_src.Config | null>;
|
|
551
|
+
readonly menuConfig: i0.Signal<{
|
|
552
|
+
menu?: {
|
|
553
|
+
enabled?: boolean;
|
|
554
|
+
mobileBreakpoint?: number;
|
|
555
|
+
};
|
|
556
|
+
}>;
|
|
557
|
+
readonly mobileBreakpoint: i0.Signal<number>;
|
|
558
|
+
readonly isMobileMenu: i0.Signal<boolean>;
|
|
559
|
+
private _menuOpenState;
|
|
560
|
+
toggleMenu(): void;
|
|
561
|
+
closeMenu(): void;
|
|
562
|
+
isOpened(): boolean;
|
|
563
|
+
isRouteActive(route: string): boolean;
|
|
564
|
+
getMenuItemTitle(item: IMenuItem): string;
|
|
565
|
+
getMenuItemAriaLabel(item: IMenuItem): string;
|
|
566
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
567
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "smart-mobilems-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
568
|
+
}
|
|
569
|
+
|
|
529
570
|
declare const COMPONENTS: (typeof AppComponent)[];
|
|
530
571
|
|
|
531
572
|
declare enum ListMode {
|
|
@@ -848,5 +889,5 @@ declare const authenticationGuard: CanActivateFn;
|
|
|
848
889
|
|
|
849
890
|
declare const unauthorizedGuard: CanActivateFn;
|
|
850
891
|
|
|
851
|
-
export { AppComponent, AuthStorageService, COMPONENTS, ConfigsFacade, ConfigsService, ContrastService, CrudBaseService, DIRECTIVES, DictionaryService, FileUrlService, FiltersBaseComponent, FiltersContext, FooterComponent, GameType, GlobalService, HeaderComponent, HoverDirective, ImageBox, ListMode, MetaService, ModalContainerComponent, ModalRef, ModalService, PageComponent, SERVICES, ScrollTopComponent, ScrollableDirective, SeoService, SettingsService, SharedConfig, SharedModule, StyleService, TRANSLATE_DATA_PL, TranslationService, WcagService, authenticationGuard, environment, setTranslationsAndLang, unauthorizedGuard };
|
|
852
|
-
export type { ChangePasswordErrorMessage, FileUrlMode, FilterType, ForgotPasswordErrorMessage, IAudio, IDictionaryItem, IErrorMessages, IFilterItem, IFilterOne, IFooterConfig, IFooterStaticPage, IGame, IGameAnswer, IGameMemoConfig, IGamePuzzleConfig, IGameQuestion, IGameQuizConfig, IHeaderConfig, IHeaderUser, 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 };
|
|
892
|
+
export { AppComponent, AuthStorageService, COMPONENTS, ConfigsFacade, ConfigsService, ContrastService, CrudBaseService, DIRECTIVES, DictionaryService, FileUrlService, FiltersBaseComponent, FiltersContext, FooterComponent, GameType, GlobalService, HeaderComponent, HoverDirective, ImageBox, ListMode, MenuComponent, MetaService, ModalContainerComponent, ModalRef, ModalService, PageComponent, SERVICES, ScrollTopComponent, ScrollableDirective, SeoService, SettingsService, SharedConfig, SharedModule, StyleService, TRANSLATE_DATA_PL, TranslationService, WcagService, authenticationGuard, environment, setTranslationsAndLang, unauthorizedGuard };
|
|
893
|
+
export type { ChangePasswordErrorMessage, FileUrlMode, FilterType, ForgotPasswordErrorMessage, IAudio, IDictionaryItem, IErrorMessages, IFilterItem, IFilterOne, IFooterConfig, IFooterStaticPage, IGame, IGameAnswer, IGameMemoConfig, IGamePuzzleConfig, IGameQuestion, IGameQuizConfig, IHeaderConfig, IHeaderUser, IImages, ILoginResponse, IMenuConfig, IMenuItem, IObjectGallery, IObjectGalleryItem, IObjectGallerySingleObject, IQuickMenu, ISingleObjectMultimedia, ITranslateData, ITranslationConfig, IUser, IUserInfo, IUserModify, IUserQuery, IUserQueryList, IUserRegister, IVideo, IWcagConfig, ModifyUserErrorMessage, RegisterErrorMessage, SearchQuery, WcagChangeType, WcagContrast, WcagLetterSpacing, WcagText, WcagWordSpacing };
|