@indice/ng-components 0.2.167-beta.30 → 0.2.167-beta.32
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/esm2020/lib/controls/combobox/combobox.component.mjs +3 -3
- package/esm2020/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +4 -6
- package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +16 -14
- package/esm2020/lib/ng-components.module.mjs +4 -3
- package/esm2020/lib/services/user-settings.service.mjs +35 -0
- package/esm2020/lib/types.mjs +1 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/indice-ng-components.mjs +50 -17
- package/fesm2015/indice-ng-components.mjs.map +1 -1
- package/fesm2020/indice-ng-components.mjs +50 -17
- package/fesm2020/indice-ng-components.mjs.map +1 -1
- package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +2 -2
- package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +3 -1
- package/lib/services/user-settings.service.d.ts +13 -0
- package/lib/types.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -7,13 +7,13 @@ export declare class ShellSidebarComponent implements OnInit {
|
|
|
7
7
|
protected router: Router;
|
|
8
8
|
protected route: ActivatedRoute;
|
|
9
9
|
links: any;
|
|
10
|
+
constructor(router: Router, route: ActivatedRoute, links: any);
|
|
10
11
|
sectionLinksPath: string;
|
|
11
|
-
sectionLinks: Observable<NavLink[]>;
|
|
12
12
|
shellConfig: IShellConfig | undefined;
|
|
13
13
|
sticky: boolean;
|
|
14
|
+
sectionLinks: Observable<NavLink[]>;
|
|
14
15
|
activeFragment: any | null;
|
|
15
16
|
get activeNavLinkClass(): string;
|
|
16
|
-
constructor(router: Router, route: ActivatedRoute, links: any);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarComponent, never>;
|
|
19
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarComponent, "lib-shell-sidebar", never, { "sectionLinksPath": "section-links"; "shellConfig": "config"; "sticky": "sticky"; }, {}, never, never, false>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { IShellConfig } from '../../../types';
|
|
3
|
+
import { UserSettingsService } from '../../../services/user-settings.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ShellSidebarLayoutComponent implements OnInit {
|
|
6
|
+
private _userSettings;
|
|
7
|
+
constructor(_userSettings: UserSettingsService);
|
|
5
8
|
config: IShellConfig | undefined;
|
|
6
9
|
showMobileSidebar: boolean;
|
|
7
|
-
constructor();
|
|
8
10
|
ngOnInit(): void;
|
|
9
11
|
toggleMobileSidebar(): void;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarLayoutComponent, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UserSettingKey } from '../types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UserSettingsService {
|
|
4
|
+
private static SETTINGS_KEY;
|
|
5
|
+
private _defaultPreferences;
|
|
6
|
+
getAll(): {
|
|
7
|
+
[key in UserSettingKey]: any;
|
|
8
|
+
};
|
|
9
|
+
get(key: UserSettingKey): any;
|
|
10
|
+
set(key: UserSettingKey, value: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSettingsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserSettingsService>;
|
|
13
|
+
}
|
package/lib/types.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -54,4 +54,5 @@ export { ModalOptions, MODAL_CONFIG_DEFAULT_OVERRIDE, CloseInterceptorFn } from
|
|
|
54
54
|
export * from './lib/services/modal-service/modal.class';
|
|
55
55
|
export * from './lib/services/toaster.service';
|
|
56
56
|
export * from './lib/services/breadcrumb.service';
|
|
57
|
+
export * from './lib/services/user-settings.service';
|
|
57
58
|
export * from './lib/ng-components.module';
|