@indice/ng-components 0.3.2-beta.6 → 0.3.2-beta.61
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/_styles.scss +99 -95
- package/esm2022/lib/controls/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +3 -3
- package/esm2022/lib/controls/nav-links-list/nav-links-list.component.mjs +3 -3
- package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +3 -3
- package/esm2022/lib/controls/side-pane/side-pane.component.mjs +5 -2
- package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +3 -3
- package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +3 -3
- package/esm2022/lib/helpers/base-list.component.mjs +10 -5
- package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +6 -3
- package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +8 -6
- package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +6 -3
- package/esm2022/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +8 -4
- package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +1 -1
- package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +6 -4
- package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +3 -3
- package/esm2022/lib/pages/http-status/error/error.component.mjs +3 -3
- package/esm2022/lib/pages/http-status/page-not-found/page-not-found.component.mjs +3 -3
- package/esm2022/lib/pages/http-status/unauthorized/unauthorized.component.mjs +3 -3
- package/esm2022/lib/types.mjs +9 -1
- package/fesm2022/indice-ng-components.mjs +71 -41
- package/fesm2022/indice-ng-components.mjs.map +1 -1
- package/lib/controls/side-pane/side-pane.component.d.ts +3 -1
- package/lib/helpers/base-list.component.d.ts +2 -1
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +2 -1
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +3 -2
- package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +3 -2
- package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +2 -1
- package/lib/types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SidePaneSize } from './../../types';
|
|
1
2
|
import { Router } from '@angular/router';
|
|
2
3
|
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
@@ -7,6 +8,7 @@ export declare class SidePaneComponent implements OnInit, OnDestroy {
|
|
|
7
8
|
protected showPane: boolean;
|
|
8
9
|
sizeContainerStyle: string;
|
|
9
10
|
overlayStyle: string;
|
|
11
|
+
size: SidePaneSize | undefined;
|
|
10
12
|
onComplete: EventEmitter<boolean>;
|
|
11
13
|
onOpen: EventEmitter<any>;
|
|
12
14
|
onClose: EventEmitter<any>;
|
|
@@ -18,5 +20,5 @@ export declare class SidePaneComponent implements OnInit, OnDestroy {
|
|
|
18
20
|
show(): void;
|
|
19
21
|
hide(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SidePaneComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SidePaneComponent, "lib-side-pane", never, { "showPane": { "alias": "visible"; "required": false; }; }, { "onComplete": "onComplete"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, ["*"], false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidePaneComponent, "lib-side-pane", never, { "showPane": { "alias": "visible"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "onComplete": "onComplete"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, ["*"], false, never>;
|
|
22
24
|
}
|
|
@@ -25,6 +25,7 @@ export declare abstract class BaseListComponent<T> implements OnInit, OnDestroy
|
|
|
25
25
|
abstract newItemLink: string | null;
|
|
26
26
|
private routeSub$;
|
|
27
27
|
private loadSub$;
|
|
28
|
+
autoLoad: boolean;
|
|
28
29
|
constructor(route$: ActivatedRoute, router$: Router);
|
|
29
30
|
ngOnDestroy(): void;
|
|
30
31
|
getViewActions(): Observable<ViewAction[]>;
|
|
@@ -50,5 +51,5 @@ export declare abstract class BaseListComponent<T> implements OnInit, OnDestroy
|
|
|
50
51
|
advancedSearchChanged(filters: FilterClause[]): void;
|
|
51
52
|
searchChanged(searchText: string | null): void;
|
|
52
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseListComponent<any>, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseListComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseListComponent<any>, "ng-component", never, { "autoLoad": { "alias": "auto-load"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
55
|
}
|
|
@@ -18,6 +18,7 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
showAlerts: boolean | undefined;
|
|
19
19
|
showLangs: boolean | undefined;
|
|
20
20
|
border: boolean;
|
|
21
|
+
busy: boolean;
|
|
21
22
|
sectionLinks: Observable<NavLink[]>;
|
|
22
23
|
mobileMenuExpanded: boolean;
|
|
23
24
|
userMenuExpanded: boolean;
|
|
@@ -35,5 +36,5 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
35
36
|
signin(event: any | null | undefined): void;
|
|
36
37
|
private setCurrentUser;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellHeaderComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": { "alias": "section-links"; "required": false; }; "profileMenuVisible": { "alias": "profile-menu"; "required": false; }; "showUserNameOnHeader": { "alias": "show-userName"; "required": false; }; "showAlerts": { "alias": "show-alerts"; "required": false; }; "showLangs": { "alias": "show-langs"; "required": false; }; "border": { "alias": "border"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": { "alias": "section-links"; "required": false; }; "profileMenuVisible": { "alias": "profile-menu"; "required": false; }; "showUserNameOnHeader": { "alias": "show-userName"; "required": false; }; "showAlerts": { "alias": "show-alerts"; "required": false; }; "showLangs": { "alias": "show-langs"; "required": false; }; "border": { "alias": "border"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
40
|
}
|
|
@@ -8,9 +8,10 @@ export declare class ShellLayoutComponent implements OnInit, OnDestroy, AfterVie
|
|
|
8
8
|
private _componentLoaderFactory;
|
|
9
9
|
private _config;
|
|
10
10
|
private _dynamicComponentHosts;
|
|
11
|
+
busy: boolean;
|
|
12
|
+
sidebarFooterTemplate?: TemplateRef<any>;
|
|
11
13
|
private _routerSub$;
|
|
12
14
|
constructor(_router: Router, _componentLoaderFactory: ComponentLoaderFactory, _config: IShellConfig | undefined);
|
|
13
|
-
sidebarFooterTemplate?: TemplateRef<any>;
|
|
14
15
|
showRightPaneSM: boolean;
|
|
15
16
|
activeConfig: IShellConfig;
|
|
16
17
|
loaded: boolean;
|
|
@@ -22,5 +23,5 @@ export declare class ShellLayoutComponent implements OnInit, OnDestroy, AfterVie
|
|
|
22
23
|
ngOnDestroy(): void;
|
|
23
24
|
private loadCustomComponent;
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellLayoutComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellLayoutComponent, "lib-shell-layout", never, { "sidebarFooterTemplate": { "alias": "sidebarFooterTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellLayoutComponent, "lib-shell-layout", never, { "busy": { "alias": "busy"; "required": false; }; "sidebarFooterTemplate": { "alias": "sidebarFooterTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
27
|
}
|
|
@@ -4,12 +4,13 @@ import { UserSettingsService } from '../../../services/user-settings.service';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ShellSidebarLayoutComponent implements OnInit {
|
|
6
6
|
private _userSettings;
|
|
7
|
-
constructor(_userSettings: UserSettingsService);
|
|
8
7
|
config: IShellConfig | undefined;
|
|
9
8
|
sidebarFooterTemplate?: TemplateRef<any>;
|
|
9
|
+
busy: boolean;
|
|
10
|
+
constructor(_userSettings: UserSettingsService);
|
|
10
11
|
showMobileSidebar: boolean;
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
toggleMobileSidebar(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarLayoutComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarLayoutComponent, "lib-shell-sidebar-layout", never, { "config": { "alias": "config"; "required": false; }; "sidebarFooterTemplate": { "alias": "sidebarFooterTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarLayoutComponent, "lib-shell-sidebar-layout", never, { "config": { "alias": "config"; "required": false; }; "sidebarFooterTemplate": { "alias": "sidebarFooterTemplate"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
16
|
}
|
|
@@ -4,7 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class ShellStackedLayoutComponent implements OnInit {
|
|
5
5
|
constructor();
|
|
6
6
|
config: IShellConfig | undefined;
|
|
7
|
+
busy: boolean;
|
|
7
8
|
ngOnInit(): void;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellStackedLayoutComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellStackedLayoutComponent, "lib-shell-stacked-layout", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellStackedLayoutComponent, "lib-shell-stacked-layout", never, { "config": { "alias": "config"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
11
|
}
|
package/lib/types.d.ts
CHANGED
|
@@ -46,6 +46,12 @@ export declare class NotificationNavLink extends NavLink {
|
|
|
46
46
|
creationDate?: Date | undefined;
|
|
47
47
|
constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
|
|
48
48
|
}
|
|
49
|
+
export declare class NavLinkSeparator extends NavLink {
|
|
50
|
+
isRead: boolean;
|
|
51
|
+
creationDate?: Date | undefined;
|
|
52
|
+
constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
|
|
53
|
+
type: string;
|
|
54
|
+
}
|
|
49
55
|
export declare class ViewAction {
|
|
50
56
|
type: string;
|
|
51
57
|
key: string | null;
|