@abp/ng.theme.basic 9.3.5 → 10.0.0-rc.1

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,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ChangeDetectorRef, AfterViewInit, TrackByFunction, Renderer2, QueryList, ElementRef, Injector, TemplateRef, ModuleWithProviders, InjectionToken } from '@angular/core';
2
+ import { AfterViewInit, TrackByFunction, Renderer2, QueryList, ElementRef, TemplateRef, Injector, ModuleWithProviders, InjectionToken } from '@angular/core';
3
3
  import * as _abp_ng_core from '@abp/ng.core';
4
- import { SubscriptionService, RouterEvents, eLayoutType, ApplicationInfo, EnvironmentService, CurrentUserDto, AuthService, ConfigStateService, SessionStateService, LanguageInfo, RoutesService, TreeNode, ABP, DomInsertionService, ReplaceableComponentsService } from '@abp/ng.core';
4
+ import { eLayoutType, CurrentUserDto, LanguageInfo, RoutesService, TreeNode, ABP, DomInsertionService, ReplaceableComponentsService } from '@abp/ng.core';
5
5
  import { AuthWrapperService, TenantBoxService } from '@abp/ng.account.core';
6
6
  import { UserMenuService, UserMenu, NavItemsService, NavItem, PageAlertService, LocaleDirection } from '@abp/ng.theme.shared';
7
7
  import { Observable } from 'rxjs';
@@ -26,12 +26,13 @@ declare const enum eUserMenuItems {
26
26
  declare class LayoutService {
27
27
  private subscription;
28
28
  private cdRef;
29
+ document: Document;
29
30
  isCollapsed: boolean;
30
31
  smallScreen: boolean;
31
32
  logoComponentKey: eThemeBasicComponents;
32
33
  routesComponentKey: eThemeBasicComponents;
33
34
  navItemsComponentKey: eThemeBasicComponents;
34
- constructor(subscription: SubscriptionService, cdRef: ChangeDetectorRef, routerEvents: RouterEvents);
35
+ constructor();
35
36
  private checkWindowWidth;
36
37
  subscribeWindowSize(): void;
37
38
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutService, never>;
@@ -42,7 +43,6 @@ declare class AccountLayoutComponent implements AfterViewInit {
42
43
  service: LayoutService;
43
44
  static type: eLayoutType;
44
45
  authWrapperKey: string;
45
- constructor(service: LayoutService);
46
46
  ngAfterViewInit(): void;
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountLayoutComponent, never>;
48
48
  static ɵcmp: i0.ɵɵComponentDeclaration<AccountLayoutComponent, "abp-layout-account", never, {}, {}, never, never, true, never>;
@@ -50,14 +50,12 @@ declare class AccountLayoutComponent implements AfterViewInit {
50
50
 
51
51
  declare class AuthWrapperComponent {
52
52
  service: AuthWrapperService;
53
- constructor(service: AuthWrapperService);
54
53
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthWrapperComponent, never>;
55
54
  static ɵcmp: i0.ɵɵComponentDeclaration<AuthWrapperComponent, "abp-auth-wrapper", never, {}, {}, never, ["*"], true, never>;
56
55
  }
57
56
 
58
57
  declare class TenantBoxComponent {
59
58
  service: TenantBoxService;
60
- constructor(service: TenantBoxService);
61
59
  static ɵfac: i0.ɵɵFactoryDeclaration<TenantBoxComponent, never>;
62
60
  static ɵcmp: i0.ɵɵComponentDeclaration<TenantBoxComponent, "abp-tenant-box", never, {}, {}, never, never, true, never>;
63
61
  }
@@ -78,8 +76,10 @@ declare class EmptyLayoutComponent {
78
76
 
79
77
  declare class LogoComponent {
80
78
  private environment;
81
- get appInfo(): ApplicationInfo;
82
- constructor(environment: EnvironmentService);
79
+ private readonly providedLogoUrl;
80
+ private readonly providedAppName;
81
+ get logoUrl(): string;
82
+ get appName(): string;
83
83
  static ɵfac: i0.ɵɵFactoryDeclaration<LogoComponent, never>;
84
84
  static ɵcmp: i0.ɵɵComponentDeclaration<LogoComponent, "abp-logo", never, {}, {}, never, never, true, never>;
85
85
  }
@@ -90,11 +90,11 @@ declare class CurrentUserComponent {
90
90
  private authService;
91
91
  private configState;
92
92
  private sessionState;
93
+ private document;
93
94
  currentUser$: Observable<CurrentUserDto>;
94
95
  selectedTenant$: Observable<_abp_ng_core.CurrentTenantDto>;
95
96
  trackByFn: TrackByFunction<UserMenu>;
96
97
  get smallScreen(): boolean;
97
- constructor(navigateToManageProfile: () => void, userMenu: UserMenuService, authService: AuthService, configState: ConfigStateService, sessionState: SessionStateService);
98
98
  navigateToLogin(): void;
99
99
  logout(): void;
100
100
  static ɵfac: i0.ɵɵFactoryDeclaration<CurrentUserComponent, never>;
@@ -104,12 +104,12 @@ declare class CurrentUserComponent {
104
104
  declare class LanguagesComponent {
105
105
  private sessionState;
106
106
  private configState;
107
+ document: Document;
107
108
  get smallScreen(): boolean;
108
109
  languages$: Observable<LanguageInfo[]>;
109
110
  get defaultLanguage$(): Observable<string>;
110
111
  get dropdownLanguages$(): Observable<LanguageInfo[]>;
111
112
  get selectedLangCulture(): string;
112
- constructor(sessionState: SessionStateService, configState: ConfigStateService);
113
113
  onChangeLang(cultureName: string): void;
114
114
  static ɵfac: i0.ɵɵFactoryDeclaration<LanguagesComponent, never>;
115
115
  static ɵcmp: i0.ɵɵComponentDeclaration<LanguagesComponent, "abp-languages", never, {}, {}, never, never, true, never>;
@@ -117,15 +117,15 @@ declare class LanguagesComponent {
117
117
 
118
118
  declare class NavItemsComponent {
119
119
  readonly navItems: NavItemsService;
120
+ private platformId;
121
+ readonly isBrowser: boolean;
120
122
  trackByFn: TrackByFunction<NavItem>;
121
- constructor(navItems: NavItemsService);
122
123
  static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsComponent, never>;
123
124
  static ɵcmp: i0.ɵɵComponentDeclaration<NavItemsComponent, "abp-nav-items", never, {}, {}, never, never, true, never>;
124
125
  }
125
126
 
126
127
  declare class PageAlertContainerComponent {
127
128
  service: PageAlertService;
128
- constructor(service: PageAlertService);
129
129
  static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertContainerComponent, never>;
130
130
  static ɵcmp: i0.ɵɵComponentDeclaration<PageAlertContainerComponent, "abp-page-alert-container", never, {}, {}, never, never, true, never>;
131
131
  }
@@ -155,13 +155,14 @@ declare class ValidationErrorComponent extends ValidationErrorComponent$1 {
155
155
 
156
156
  declare const BOOTSTRAP = "bootstrap-{{dir}}.min.css";
157
157
  declare class LazyStyleHandler {
158
+ private document;
158
159
  private lazyLoad;
159
160
  private styles;
160
161
  private _dir;
161
162
  readonly loaded: Map<string, HTMLLinkElement>;
162
163
  set dir(dir: LocaleDirection);
163
164
  get dir(): LocaleDirection;
164
- constructor(injector: Injector);
165
+ constructor();
165
166
  private getHrefFromLink;
166
167
  private getLoadedBootstrap;
167
168
  private listenToDirectionChanges;
@@ -172,7 +173,7 @@ declare class LazyStyleHandler {
172
173
  static ɵprov: i0.ɵɵInjectableDeclaration<LazyStyleHandler>;
173
174
  }
174
175
  declare function createLazyStyleHref(style: string, dir: string): string;
175
- declare function initLazyStyleHandler(injector: Injector): () => LazyStyleHandler;
176
+ declare function initLazyStyleHandler(): () => LazyStyleHandler;
176
177
 
177
178
  declare namespace Layout {
178
179
  interface State {
@@ -196,8 +197,8 @@ declare function configureUserMenu(injector: Injector): () => void;
196
197
 
197
198
  declare function provideThemeBasicConfig(): i0.EnvironmentProviders;
198
199
 
199
- declare const LAYOUTS: (typeof AccountLayoutComponent | typeof EmptyLayoutComponent)[];
200
- declare const THEME_BASIC_COMPONENTS: (typeof LogoComponent | typeof RoutesComponent | typeof NavItemsComponent | typeof TenantBoxComponent | typeof AuthWrapperComponent | typeof PageAlertContainerComponent | typeof AccountLayoutComponent | typeof EmptyLayoutComponent | typeof CurrentUserComponent | typeof LanguagesComponent | typeof ValidationErrorComponent)[];
200
+ declare const LAYOUTS: (typeof EmptyLayoutComponent)[];
201
+ declare const THEME_BASIC_COMPONENTS: (typeof LogoComponent | typeof RoutesComponent | typeof NavItemsComponent | typeof TenantBoxComponent | typeof AuthWrapperComponent | typeof PageAlertContainerComponent | typeof EmptyLayoutComponent | typeof CurrentUserComponent | typeof LanguagesComponent | typeof ValidationErrorComponent)[];
201
202
  declare class BaseThemeBasicModule {
202
203
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeBasicModule, never>;
203
204
  static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeBasicModule, never, [typeof ApplicationLayoutComponent, typeof AccountLayoutComponent, typeof EmptyLayoutComponent, typeof ValidationErrorComponent, typeof LogoComponent, typeof NavItemsComponent, typeof RoutesComponent, typeof CurrentUserComponent, typeof LanguagesComponent, typeof PageAlertContainerComponent, typeof AuthWrapperComponent, typeof TenantBoxComponent], [typeof ApplicationLayoutComponent, typeof AccountLayoutComponent, typeof EmptyLayoutComponent, typeof ValidationErrorComponent, typeof LogoComponent, typeof NavItemsComponent, typeof RoutesComponent, typeof CurrentUserComponent, typeof LanguagesComponent, typeof PageAlertContainerComponent, typeof AuthWrapperComponent, typeof TenantBoxComponent]>;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@abp/ng.theme.basic",
3
- "version": "9.3.5",
3
+ "version": "10.0.0-rc.1",
4
4
  "homepage": "https://abp.io",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/abpframework/abp.git"
8
8
  },
9
9
  "dependencies": {
10
- "@abp/ng.account.core": "~9.3.5",
11
- "@abp/ng.theme.shared": "~9.3.5",
10
+ "@abp/ng.account.core": "~10.0.0-rc.1",
11
+ "@abp/ng.theme.shared": "~10.0.0-rc.1",
12
12
  "tslib": "^2.0.0"
13
13
  },
14
14
  "publishConfig": {