@indice/ng-components 0.2.161 → 0.2.162
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.css +630 -3
- package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +112 -0
- package/esm2020/lib/controls/advanced-search/models.mjs +90 -0
- package/esm2020/lib/controls/combobox/combobox.component.mjs +4 -3
- package/esm2020/lib/controls/list-view/list-view.component.mjs +18 -4
- package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +7 -3
- package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +17 -13
- package/esm2020/lib/controls/stepper/lib-step.component.mjs +3 -3
- package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +34 -11
- package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +3 -2
- package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +3 -3
- package/esm2020/lib/helpers/base-list.component.mjs +47 -3
- package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +6 -7
- package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +7 -9
- package/esm2020/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +7 -7
- package/esm2020/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +45 -0
- package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +25 -0
- package/esm2020/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +21 -0
- package/esm2020/lib/ng-components.module.mjs +22 -6
- package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +1 -2
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/indice-ng-components.mjs +744 -379
- package/fesm2015/indice-ng-components.mjs.map +1 -1
- package/fesm2020/indice-ng-components.mjs +735 -378
- package/fesm2020/indice-ng-components.mjs.map +1 -1
- package/lib/controls/advanced-search/advanced-search.component.d.ts +26 -0
- package/lib/controls/advanced-search/models.d.ts +83 -0
- package/lib/controls/list-view/list-view.component.d.ts +6 -1
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +5 -2
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +3 -3
- package/lib/controls/stepper/lib-stepper.component.d.ts +15 -4
- package/lib/helpers/base-list.component.d.ts +11 -0
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +2 -3
- package/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.d.ts +14 -0
- package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +12 -0
- package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +10 -0
- package/lib/ng-components.module.d.ts +9 -4
- package/package.json +2 -2
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MenuOption } from '../../types';
|
|
3
|
+
import { SearchOption, FilterClause } from './models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AdvancedSearchComponent implements OnInit {
|
|
6
|
+
advancedSearchChanged: EventEmitter<FilterClause[]>;
|
|
7
|
+
searchOptions: SearchOption[];
|
|
8
|
+
filters: FilterClause[];
|
|
9
|
+
menuOptions: MenuOption[];
|
|
10
|
+
selectedField?: SearchOption;
|
|
11
|
+
fieldValue?: string;
|
|
12
|
+
fieldValueDateFrom: any;
|
|
13
|
+
fieldValueDateTo: any;
|
|
14
|
+
menuOptionsDictionary: {
|
|
15
|
+
[key: string]: MenuOption[];
|
|
16
|
+
};
|
|
17
|
+
constructor();
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
selectedFieldChanged(field: string): void;
|
|
20
|
+
selectedFieldValueChanged(fieldValue: string): void;
|
|
21
|
+
search(): void;
|
|
22
|
+
removeFilter(index: number): void;
|
|
23
|
+
clear(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSearchComponent, "lib-advanced-search", never, { "searchOptions": "search-options"; "filters": "filters"; }, { "advancedSearchChanged": "advancedSearchChanged"; }, never, never, false>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export declare namespace Operators {
|
|
2
|
+
const EQUALS: {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
const NOT_EQUALS: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
const GREATER_THAN: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
const LESS_THAN: {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
const GREATER_THAN_EQUAL: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
const LESS_THAN_EQUAL: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
const CONTAINS: {
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
const IN: {
|
|
38
|
+
label: string;
|
|
39
|
+
value: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export declare enum QueryParameters {
|
|
44
|
+
VIEW = "view",
|
|
45
|
+
PAGE_SIZE = "pagesize",
|
|
46
|
+
PAGE = "page",
|
|
47
|
+
SEARCH = "search",
|
|
48
|
+
SORT_FIELD = "sort",
|
|
49
|
+
SORT_DIRECTION = "dir",
|
|
50
|
+
FILTER = "filter",
|
|
51
|
+
FILTER_FROM = "from",
|
|
52
|
+
FILTER_TO = "to"
|
|
53
|
+
}
|
|
54
|
+
export interface SearchOption {
|
|
55
|
+
name: string;
|
|
56
|
+
field: string;
|
|
57
|
+
dataType: FilterClause.Dt;
|
|
58
|
+
array?: boolean;
|
|
59
|
+
multiTerm?: boolean;
|
|
60
|
+
options?: SelectInputOption[];
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface SelectInputOption {
|
|
64
|
+
value: any;
|
|
65
|
+
label: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
}
|
|
68
|
+
export declare namespace FilterClause {
|
|
69
|
+
type Op = 'eq' | 'neq' | 'gt' | 'lt' | 'gte' | 'lte' | 'contains' | 'in';
|
|
70
|
+
type Dt = 'string' | 'integer' | 'number' | 'boolean' | 'datetime' | 'array' | 'daterange' | undefined;
|
|
71
|
+
}
|
|
72
|
+
export declare class FilterClause {
|
|
73
|
+
member: string;
|
|
74
|
+
value: any;
|
|
75
|
+
operator: FilterClause.Op;
|
|
76
|
+
dataType: FilterClause.Dt;
|
|
77
|
+
uiName: string | undefined;
|
|
78
|
+
uiOperator: string | undefined;
|
|
79
|
+
uiValue: string | undefined;
|
|
80
|
+
constructor(member: string, value: any, operator?: FilterClause.Op, dataType?: FilterClause.Dt, searchOptions?: SearchOption[]);
|
|
81
|
+
static parse(text: string): FilterClause | undefined;
|
|
82
|
+
toString(): string;
|
|
83
|
+
}
|
|
@@ -3,8 +3,11 @@ import { MenuOption } from '../../types';
|
|
|
3
3
|
import { ListTileComponent } from './list-tile.component';
|
|
4
4
|
import { ListColumnComponent } from './list-column.component';
|
|
5
5
|
import { ListDetailsSectionComponent } from './list-details-section.component';
|
|
6
|
+
import { FilterClause, SearchOption } from '../advanced-search/models';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ListViewComponent implements OnChanges {
|
|
9
|
+
searchOptions: SearchOption[];
|
|
10
|
+
filters: FilterClause[];
|
|
8
11
|
busy: boolean;
|
|
9
12
|
items: any[] | null | undefined;
|
|
10
13
|
count: number | null;
|
|
@@ -30,6 +33,7 @@ export declare class ListViewComponent implements OnChanges {
|
|
|
30
33
|
}>;
|
|
31
34
|
sortChanged: EventEmitter<string>;
|
|
32
35
|
sortdirChanged: EventEmitter<string>;
|
|
36
|
+
advancedSearchChanged: EventEmitter<FilterClause[]>;
|
|
33
37
|
private multipleFullWidth;
|
|
34
38
|
expandIcon: string;
|
|
35
39
|
collapseIcon: string;
|
|
@@ -49,8 +53,9 @@ export declare class ListViewComponent implements OnChanges {
|
|
|
49
53
|
emitPageSizeChanged($event: number): void;
|
|
50
54
|
emitSortChanged($event: string): void;
|
|
51
55
|
emitSortdirChanged($event: string): void;
|
|
56
|
+
emitAdvancedSearchChanged($event: FilterClause[]): void;
|
|
52
57
|
toggleDetails(item: any): void;
|
|
53
58
|
private setTilesDeckClass;
|
|
54
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "lib-list-view", never, { "busy": "busy"; "items": "items"; "count": "count"; "page": "page"; "view": "view"; "sort": "sort"; "pageSize": "page-size"; "pageSizeOptions": "page-size-options"; "sortOptions": "sort-options"; "sortdir": "sort-dir"; "tilesCount": "tiles-count"; "showPager": "show-pager"; "pagerPosition": "pager-position"; "detailsSectionPropertyCount": "details-section-property-count"; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "detailsOpened": "detailsOpened"; "sortChanged": "sortChanged"; "sortdirChanged": "sortdirChanged"; }, ["tiles", "details", "cols"], ["*"], false>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewComponent, "lib-list-view", never, { "searchOptions": "search-options"; "filters": "filters"; "busy": "busy"; "items": "items"; "count": "count"; "page": "page"; "view": "view"; "sort": "sort"; "pageSize": "page-size"; "pageSizeOptions": "page-size-options"; "sortOptions": "sort-options"; "sortdir": "sort-dir"; "tilesCount": "tiles-count"; "showPager": "show-pager"; "pagerPosition": "pager-position"; "detailsSectionPropertyCount": "details-section-property-count"; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "detailsOpened": "detailsOpened"; "sortChanged": "sortChanged"; "sortdirChanged": "sortdirChanged"; "advancedSearchChanged": "advancedSearchChanged"; }, ["tiles", "details", "cols"], ["*"], false>;
|
|
56
61
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { NavLink } from '../../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NavLinksListComponent implements OnInit {
|
|
5
|
+
export declare class NavLinksListComponent implements OnInit, OnDestroy {
|
|
6
6
|
links: Observable<NavLink[]> | undefined;
|
|
7
7
|
activeFragment: Observable<string> | undefined;
|
|
8
8
|
navLinkClass: string | string;
|
|
9
9
|
navLinkActiveClass: string | string[];
|
|
10
10
|
containerClass: string | string[] | undefined;
|
|
11
11
|
showIcons: boolean | undefined;
|
|
12
|
+
fragmentValue: string | undefined;
|
|
13
|
+
private fragmentSub$;
|
|
12
14
|
constructor();
|
|
15
|
+
ngOnDestroy(): void;
|
|
13
16
|
ngOnInit(): void;
|
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavLinksListComponent, never>;
|
|
15
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavLinksListComponent, "lib-nav-links-list", never, { "links": "links"; "activeFragment": "active-fragment"; "navLinkClass": "link-class"; "navLinkActiveClass": "link-active-class"; "containerClass": "container-class"; "showIcons": "show-icons"; }, {}, never, never, false>;
|
|
@@ -2,8 +2,8 @@ import { IAppNotifications, NavLink } from './../../types';
|
|
|
2
2
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NotificationsIndicatorComponent implements OnInit, OnDestroy {
|
|
5
|
-
notifications
|
|
6
|
-
links
|
|
5
|
+
notifications?: IAppNotifications | undefined;
|
|
6
|
+
links?: any;
|
|
7
7
|
menuExpanded: boolean;
|
|
8
8
|
unreadCount: number;
|
|
9
9
|
items: any[];
|
|
@@ -11,7 +11,7 @@ export declare class NotificationsIndicatorComponent implements OnInit, OnDestro
|
|
|
11
11
|
private notificationsSub$;
|
|
12
12
|
private inboxAction;
|
|
13
13
|
newArrival: boolean;
|
|
14
|
-
constructor(notifications
|
|
14
|
+
constructor(notifications?: IAppNotifications | undefined, links?: any);
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
doInboxAction(): void;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { LibStepComponent, StepState } from './lib-step.component';
|
|
3
3
|
import { StepperType } from './types/stepper-type';
|
|
4
4
|
import { StepSelectedEvent } from './types/step-selected-event';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LibStepperComponent implements OnInit {
|
|
6
|
+
export declare class LibStepperComponent implements OnInit, AfterViewChecked {
|
|
7
|
+
private _changeDetectorRef;
|
|
7
8
|
private _currentStepIndex;
|
|
8
|
-
|
|
9
|
+
private _isCompleted;
|
|
10
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
9
11
|
/** The inner steps of the wizard. */
|
|
10
12
|
steps: QueryList<LibStepComponent>;
|
|
11
13
|
/** Emmited when a step change occurs. */
|
|
12
14
|
readonly stepChanged: EventEmitter<StepSelectedEvent>;
|
|
15
|
+
/** Emmited when the stepper navigates away from the final step. Only emits once. */
|
|
16
|
+
readonly completed: EventEmitter<void>;
|
|
13
17
|
/** Indicates whether each step has to be validated before proceeding to the next. */
|
|
14
18
|
linear: boolean;
|
|
15
19
|
/** The type of the stepper. */
|
|
@@ -20,7 +24,14 @@ export declare class LibStepperComponent implements OnInit {
|
|
|
20
24
|
get currentStep(): LibStepComponent | undefined;
|
|
21
25
|
/** The index (starting from zero) of the current wizard step. */
|
|
22
26
|
get currentStepIndex(): number;
|
|
27
|
+
/** Indicates whether stepper can go a step back. */
|
|
28
|
+
get canGoBack(): boolean;
|
|
29
|
+
/** Indicates whether stepper can go a step forward. */
|
|
30
|
+
get canGoForward(): boolean;
|
|
31
|
+
/** Indicates whether */
|
|
32
|
+
get isCompleted(): boolean;
|
|
23
33
|
ngOnInit(): void;
|
|
34
|
+
ngAfterViewChecked(): void;
|
|
24
35
|
/** Proceeds to the next step, if any. */
|
|
25
36
|
goToNextStep(): void;
|
|
26
37
|
/** Proceeds to the previous step, if any. */
|
|
@@ -28,5 +39,5 @@ export declare class LibStepperComponent implements OnInit {
|
|
|
28
39
|
onSelectStep(selectedStep: LibStepComponent): void;
|
|
29
40
|
private updateCurrentStepIndex;
|
|
30
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibStepperComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibStepperComponent, "lib-stepper", never, { "linear": "linear"; "type": "type"; }, { "stepChanged": "stepChanged"; }, ["steps"], never, false>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibStepperComponent, "lib-stepper", never, { "linear": "linear"; "type": "type"; }, { "stepChanged": "stepChanged"; "completed": "completed"; }, ["steps"], never, false>;
|
|
32
43
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FilterClause, SearchOption } from './../controls/advanced-search/models';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
3
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
4
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
@@ -17,6 +18,8 @@ export declare abstract class BaseListComponent<T> implements OnInit, OnDestroy
|
|
|
17
18
|
sort: string | null;
|
|
18
19
|
sortdir: string | null;
|
|
19
20
|
search: string | null;
|
|
21
|
+
filters: FilterClause[];
|
|
22
|
+
searchOptions: SearchOption[];
|
|
20
23
|
sortOptions: MenuOption[];
|
|
21
24
|
metaItems: HeaderMetaItem[];
|
|
22
25
|
abstract newItemLink: string | null;
|
|
@@ -25,7 +28,14 @@ export declare abstract class BaseListComponent<T> implements OnInit, OnDestroy
|
|
|
25
28
|
ngOnDestroy(): void;
|
|
26
29
|
getViewActions(): Observable<ViewAction[]>;
|
|
27
30
|
ngOnInit(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Get filters from a querystring
|
|
33
|
+
* @param queryParamMap
|
|
34
|
+
* @returns filters found from a paramMap
|
|
35
|
+
*/
|
|
36
|
+
private getFiltersFrom;
|
|
28
37
|
private setRouteParams;
|
|
38
|
+
private filterClausesToString;
|
|
29
39
|
actionHandler($event: ViewAction): void;
|
|
30
40
|
private load;
|
|
31
41
|
private updateHeaderMeta;
|
|
@@ -36,6 +46,7 @@ export declare abstract class BaseListComponent<T> implements OnInit, OnDestroy
|
|
|
36
46
|
pageSizeChanged(pageSize: number): void;
|
|
37
47
|
sortChanged(sort: string): void;
|
|
38
48
|
sortdirChanged(sortdir: string): void;
|
|
49
|
+
advancedSearchChanged(filters: FilterClause[]): void;
|
|
39
50
|
searchChanged(searchText: string | null): void;
|
|
40
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseListComponent<any>, never>;
|
|
41
52
|
static ɵcmp: i0.ɵɵComponentDeclaration<BaseListComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ShellLayoutType } from './../../../types';
|
|
2
1
|
import { AuthService } from '@indice/ng-auth';
|
|
3
2
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
4
3
|
import { User } from 'oidc-client';
|
|
@@ -17,7 +16,7 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
17
16
|
profileMenuVisible: boolean;
|
|
18
17
|
showUserNameOnHeader: boolean | undefined;
|
|
19
18
|
showAlerts: boolean | undefined;
|
|
20
|
-
|
|
19
|
+
showLangs: boolean | undefined;
|
|
21
20
|
border: boolean;
|
|
22
21
|
sectionLinks: Observable<NavLink[]>;
|
|
23
22
|
mobileMenuExpanded: boolean;
|
|
@@ -36,5 +35,5 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
36
35
|
signin(event: any | null | undefined): void;
|
|
37
36
|
private setCurrentUser;
|
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellHeaderComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": "section-links"; "profileMenuVisible": "profile-menu"; "showUserNameOnHeader": "show-userName"; "showAlerts": "show-alerts"; "
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": "section-links"; "profileMenuVisible": "profile-menu"; "showUserNameOnHeader": "show-userName"; "showAlerts": "show-alerts"; "showLangs": "show-langs"; "border": "border"; }, {}, never, never, false>;
|
|
40
39
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AuthService } from '@indice/ng-auth';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { ShellHeaderComponent } from '../shell-header/shell-header.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ShellSidebarHeaderComponent extends ShellHeaderComponent {
|
|
6
|
+
protected authService: AuthService;
|
|
7
|
+
protected router: Router;
|
|
8
|
+
protected route: ActivatedRoute;
|
|
9
|
+
config: any;
|
|
10
|
+
links: any;
|
|
11
|
+
constructor(authService: AuthService, router: Router, route: ActivatedRoute, config: any, links: any);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarHeaderComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarHeaderComponent, "lib-shell-sidebar-header", never, {}, {}, never, never, false>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IShellConfig } from '../../../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShellSidebarLayoutComponent implements OnInit {
|
|
5
|
+
config: IShellConfig | undefined;
|
|
6
|
+
showMobileSidebar: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
toggleMobileSidebar(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellSidebarLayoutComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellSidebarLayoutComponent, "lib-shell-sidebar-layout", never, { "config": "config"; }, {}, never, never, false>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IShellConfig } from '../../../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShellStackedLayoutComponent implements OnInit {
|
|
5
|
+
config: IShellConfig | undefined;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellStackedLayoutComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellStackedLayoutComponent, "lib-shell-stacked-layout", never, { "config": "config"; }, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -45,12 +45,17 @@ import * as i42 from "./controls/stepper/lib-stepper.component";
|
|
|
45
45
|
import * as i43 from "./controls/stepper/lib-step.component";
|
|
46
46
|
import * as i44 from "./controls/stepper/lib-step-label.directive";
|
|
47
47
|
import * as i45 from "./controls/stepper/lib-step-info.directive";
|
|
48
|
-
import * as i46 from "
|
|
49
|
-
import * as i47 from "
|
|
50
|
-
import * as i48 from "
|
|
48
|
+
import * as i46 from "./layouts/shell/shell-sidebar-header/shell-sidebar-header.component";
|
|
49
|
+
import * as i47 from "./layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component";
|
|
50
|
+
import * as i48 from "./layouts/shell/shell-stacked-layout/shell-stacked-layout.component";
|
|
51
|
+
import * as i49 from "./controls/advanced-search/advanced-search.component";
|
|
52
|
+
import * as i50 from "@angular/common";
|
|
53
|
+
import * as i51 from "@angular/router";
|
|
54
|
+
import * as i52 from "@indice/ng-auth";
|
|
55
|
+
import * as i53 from "@angular/forms";
|
|
51
56
|
export declare class IndiceComponentsModule {
|
|
52
57
|
static forRoot(): ModuleWithProviders<IndiceComponentsModule>;
|
|
53
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<IndiceComponentsModule, never>;
|
|
54
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IndiceComponentsModule, [typeof i1.ClickOutsideDirective, typeof i2.DynamicComponentHostDirective, typeof i3.DropDownMenuComponent, typeof i4.PagerComponent, typeof i5.ListViewComponent, typeof i6.ListColumnComponent, typeof i7.ListTileComponent, typeof i8.ListDetailsSectionComponent, typeof i9.ListViewEmptyStateComponent, typeof i10.SkeletonLoaderComponent, typeof i11.CollapsiblePanelComponent, typeof i12.KpiTileComponent, typeof i13.SidePaneComponent, typeof i14.DatepickerComponent, typeof i15.AvatarInitialsComponent, typeof i16.ToggleComponent, typeof i17.ComboboxComponent, typeof i18.ToasterContainerComponent, typeof i19.ToasterComponent, typeof i20.ShellLayoutComponent, typeof i21.ShellHeaderComponent, typeof i22.ShellFooterComponent, typeof i23.ViewLayoutComponent, typeof i24.SideViewLayoutComponent, typeof i25.ModelViewLayoutComponent, typeof i26.FormLayoutComponent, typeof i27.AuthCallbackComponent, typeof i28.AuthRenewComponent, typeof i29.LoggedOutComponent, typeof i30.ErrorComponent, typeof i31.PageNotFoundComponent, typeof i32.UnauthorizedComponent, typeof i33.AddressPipe, typeof i34.DurationFormatPipe, typeof i35.NavLinksListComponent, typeof i36.NotificationsIndicatorComponent, typeof i37.LanguageSelectionComponent, typeof i38.UserProfileMenuComponent, typeof i39.ShellSidebarComponent, typeof i40.LibTabComponent, typeof i41.LibTabGroupComponent, typeof i42.LibStepperComponent, typeof i43.LibStepComponent, typeof i44.LibStepLabelDirective, typeof i45.LibStepInfoDirective], [typeof
|
|
59
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IndiceComponentsModule, [typeof i1.ClickOutsideDirective, typeof i2.DynamicComponentHostDirective, typeof i3.DropDownMenuComponent, typeof i4.PagerComponent, typeof i5.ListViewComponent, typeof i6.ListColumnComponent, typeof i7.ListTileComponent, typeof i8.ListDetailsSectionComponent, typeof i9.ListViewEmptyStateComponent, typeof i10.SkeletonLoaderComponent, typeof i11.CollapsiblePanelComponent, typeof i12.KpiTileComponent, typeof i13.SidePaneComponent, typeof i14.DatepickerComponent, typeof i15.AvatarInitialsComponent, typeof i16.ToggleComponent, typeof i17.ComboboxComponent, typeof i18.ToasterContainerComponent, typeof i19.ToasterComponent, typeof i20.ShellLayoutComponent, typeof i21.ShellHeaderComponent, typeof i22.ShellFooterComponent, typeof i23.ViewLayoutComponent, typeof i24.SideViewLayoutComponent, typeof i25.ModelViewLayoutComponent, typeof i26.FormLayoutComponent, typeof i27.AuthCallbackComponent, typeof i28.AuthRenewComponent, typeof i29.LoggedOutComponent, typeof i30.ErrorComponent, typeof i31.PageNotFoundComponent, typeof i32.UnauthorizedComponent, typeof i33.AddressPipe, typeof i34.DurationFormatPipe, typeof i35.NavLinksListComponent, typeof i36.NotificationsIndicatorComponent, typeof i37.LanguageSelectionComponent, typeof i38.UserProfileMenuComponent, typeof i39.ShellSidebarComponent, typeof i40.LibTabComponent, typeof i41.LibTabGroupComponent, typeof i42.LibStepperComponent, typeof i43.LibStepComponent, typeof i44.LibStepLabelDirective, typeof i45.LibStepInfoDirective, typeof i46.ShellSidebarHeaderComponent, typeof i47.ShellSidebarLayoutComponent, typeof i48.ShellStackedLayoutComponent, typeof i49.AdvancedSearchComponent], [typeof i50.CommonModule, typeof i51.RouterModule, typeof i52.IndiceAuthModule, typeof i53.FormsModule], [typeof i33.AddressPipe, typeof i27.AuthCallbackComponent, typeof i28.AuthRenewComponent, typeof i15.AvatarInitialsComponent, typeof i1.ClickOutsideDirective, typeof i11.CollapsiblePanelComponent, typeof i17.ComboboxComponent, typeof i14.DatepickerComponent, typeof i3.DropDownMenuComponent, typeof i34.DurationFormatPipe, typeof i30.ErrorComponent, typeof i26.FormLayoutComponent, typeof i12.KpiTileComponent, typeof i43.LibStepComponent, typeof i45.LibStepInfoDirective, typeof i44.LibStepLabelDirective, typeof i42.LibStepperComponent, typeof i40.LibTabComponent, typeof i41.LibTabGroupComponent, typeof i6.ListColumnComponent, typeof i8.ListDetailsSectionComponent, typeof i7.ListTileComponent, typeof i5.ListViewComponent, typeof i9.ListViewEmptyStateComponent, typeof i29.LoggedOutComponent, typeof i25.ModelViewLayoutComponent, typeof i31.PageNotFoundComponent, typeof i4.PagerComponent, typeof i22.ShellFooterComponent, typeof i21.ShellHeaderComponent, typeof i20.ShellLayoutComponent, typeof i13.SidePaneComponent, typeof i24.SideViewLayoutComponent, typeof i10.SkeletonLoaderComponent, typeof i19.ToasterComponent, typeof i18.ToasterContainerComponent, typeof i16.ToggleComponent, typeof i32.UnauthorizedComponent, typeof i23.ViewLayoutComponent]>;
|
|
55
60
|
static ɵinj: i0.ɵɵInjectorDeclaration<IndiceComponentsModule>;
|
|
56
61
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indice/ng-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.162",
|
|
4
4
|
"description": "Indice common components for Angular v12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@angular/common": ">=12.0.4",
|
|
25
25
|
"@angular/core": ">=12.0.4",
|
|
26
26
|
"@angular/router": ">=12.0.4",
|
|
27
|
-
"@indice/ng-auth": "^0.2.
|
|
27
|
+
"@indice/ng-auth": "^0.2.6",
|
|
28
28
|
"oidc-client": "^1.11.5",
|
|
29
29
|
"rxjs": "^6.6.7",
|
|
30
30
|
"tailwindcss": ">=2.1.2",
|
package/public-api.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export * from './lib/controls/stepper/types/stepper-type';
|
|
|
27
27
|
export * from './lib/layouts/shell/shell-layout/shell-layout.component';
|
|
28
28
|
export * from './lib/layouts/shell/shell-header/shell-header.component';
|
|
29
29
|
export * from './lib/layouts/shell/shell-footer/shell-footer.component';
|
|
30
|
+
export * from './lib/layouts/shell/shell-sidebar/shell-sidebar.component';
|
|
31
|
+
export * from './lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component';
|
|
30
32
|
export * from './lib/layouts/views/view-layout/view-layout.component';
|
|
31
33
|
export * from './lib/layouts/views/model-view-layout/model-view-layout.component';
|
|
32
34
|
export * from './lib/layouts/views/side-view-layout/side-view-layout.component';
|