@indice/ng-components 0.3.2-beta.7 → 0.3.2-beta.71

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.
Files changed (31) hide show
  1. package/_styles.scss +105 -96
  2. package/esm2022/lib/controls/date-picker/date-picker.component.mjs +3 -3
  3. package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +3 -3
  4. package/esm2022/lib/controls/nav-links-list/nav-links-list.component.mjs +3 -3
  5. package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +3 -3
  6. package/esm2022/lib/controls/side-pane/side-pane.component.mjs +44 -28
  7. package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +3 -3
  8. package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +3 -3
  9. package/esm2022/lib/helpers/base-list.component.mjs +10 -5
  10. package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +6 -3
  11. package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +8 -6
  12. package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +6 -3
  13. package/esm2022/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +8 -4
  14. package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +1 -1
  15. package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +6 -4
  16. package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +3 -3
  17. package/esm2022/lib/pages/http-status/error/error.component.mjs +3 -3
  18. package/esm2022/lib/pages/http-status/page-not-found/page-not-found.component.mjs +3 -3
  19. package/esm2022/lib/pages/http-status/unauthorized/unauthorized.component.mjs +3 -3
  20. package/esm2022/lib/types.mjs +10 -1
  21. package/fesm2022/indice-ng-components.mjs +111 -67
  22. package/fesm2022/indice-ng-components.mjs.map +1 -1
  23. package/lib/controls/side-pane/side-pane.component.d.ts +9 -4
  24. package/lib/helpers/base-list.component.d.ts +2 -1
  25. package/lib/layouts/shell/shell-header/shell-header.component.d.ts +2 -1
  26. package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +3 -2
  27. package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +3 -2
  28. package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +2 -1
  29. package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +2 -0
  30. package/lib/types.d.ts +8 -1
  31. package/package.json +1 -1
@@ -1,22 +1,27 @@
1
+ import { SidePaneSize } from './../../types';
1
2
  import { Router } from '@angular/router';
2
- import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
3
+ import { OnInit, OnDestroy, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
3
4
  import * as i0 from "@angular/core";
4
- export declare class SidePaneComponent implements OnInit, OnDestroy {
5
+ export declare class SidePaneComponent implements OnInit, OnDestroy, OnChanges {
5
6
  private router;
6
7
  private document;
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>;
13
15
  constructor(router: Router, document: any);
16
+ ngOnChanges(changes: SimpleChanges): void;
14
17
  ngOnDestroy(): void;
15
18
  ngOnInit(): void;
16
- onSidePaneActivated(component: any): void;
19
+ onSidePaneActivated(component?: any): void;
20
+ private overlayToClass;
21
+ private sizeToClass;
17
22
  onSidePaneDeactivated($event: any): void;
18
23
  show(): void;
19
24
  hide(): void;
20
25
  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>;
26
+ 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
27
  }
@@ -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
  }
@@ -10,12 +10,14 @@ export declare class ModelViewLayoutComponent implements OnInit, OnDestroy {
10
10
  showRightPaneSM: boolean;
11
11
  title: string;
12
12
  primary: {
13
+ type?: string;
13
14
  text: string;
14
15
  link: string;
15
16
  icon?: string;
16
17
  exact?: boolean;
17
18
  }[] | null;
18
19
  secondary: {
20
+ type?: string;
19
21
  text: string;
20
22
  link: string;
21
23
  icon?: string;
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;
@@ -158,7 +164,8 @@ export declare enum SidePaneSize {
158
164
  Default = "",
159
165
  Small25 = "25%",
160
166
  Medium50 = "50%",
161
- Large75 = "75%"
167
+ Large75 = "75%",
168
+ Fullscreen = "100%"
162
169
  }
163
170
  export declare enum SidePaneOverlayType {
164
171
  Default = "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indice/ng-components",
3
- "version": "0.3.2-beta.7",
3
+ "version": "0.3.2-beta.71",
4
4
  "description": "Indice common components for Angular v12",
5
5
  "repository": {
6
6
  "type": "git",