@indice/ng-components 0.2.151-beta → 0.2.153-beta.2
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/README.md +4 -4
- package/_styles.css +154 -84
- package/{esm2015/indice-ng-components.js → esm2020/indice-ng-components.mjs} +0 -0
- package/{esm2015/lib/controls/avatar-initials/avatar-initials.component.js → esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs} +5 -8
- package/esm2020/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -0
- package/esm2020/lib/controls/combobox/combobox.component.mjs +96 -0
- package/esm2020/lib/controls/date-picker/date-picker.component.mjs +260 -0
- package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +68 -0
- package/esm2020/lib/controls/kpi-tile/kpi-tile.component.mjs +36 -0
- package/esm2020/lib/controls/language-selection/language-selection.component.mjs +31 -0
- package/{esm2015/lib/controls/list-view/list-column.component.js → esm2020/lib/controls/list-view/list-column.component.mjs} +4 -4
- package/{esm2015/lib/controls/list-view/list-details-section.component.js → esm2020/lib/controls/list-view/list-details-section.component.mjs} +3 -3
- package/{esm2015/lib/controls/list-view/list-tile.component.js → esm2020/lib/controls/list-view/list-tile.component.mjs} +3 -3
- package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
- package/esm2020/lib/controls/list-view/list-view.component.mjs +183 -0
- package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +42 -0
- package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +73 -0
- package/esm2020/lib/controls/pager/pager.component.mjs +130 -0
- package/esm2020/lib/controls/side-pane/side-pane.component.mjs +72 -0
- package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +25 -0
- package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +54 -0
- package/esm2020/lib/controls/tabs/lib-tab.component.mjs +56 -0
- package/{esm2015/lib/controls/toaster/toaster-container.component.js → esm2020/lib/controls/toaster/toaster-container.component.mjs} +7 -10
- package/esm2020/lib/controls/toaster/toaster.component.mjs +31 -0
- package/{esm2015/lib/controls/toggle/toggle.component.js → esm2020/lib/controls/toggle/toggle.component.mjs} +7 -11
- package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +71 -0
- package/{esm2015/lib/directives/click-outside.directive.js → esm2020/lib/directives/click-outside.directive.mjs} +3 -3
- package/{esm2015/lib/directives/dynamic-component-host.directive.js → esm2020/lib/directives/dynamic-component-host.directive.mjs} +3 -3
- package/esm2020/lib/helpers/base-list.component.mjs +181 -0
- package/esm2020/lib/icons.mjs +34 -0
- package/{esm2015/lib/layouts/shell/shell-footer/shell-footer.component.js → esm2020/lib/layouts/shell/shell-footer/shell-footer.component.mjs} +5 -8
- package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +131 -0
- package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +103 -0
- package/esm2020/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +47 -0
- package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +80 -0
- package/{esm2015/lib/layouts/views/model-view-layout/model-view-layout.component.js → esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs} +7 -13
- package/{esm2015/lib/layouts/views/side-view-layout/side-view-layout.component.js → esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs} +5 -8
- package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
- package/esm2020/lib/ng-components.module.mjs +245 -0
- package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
- package/{esm2015/lib/pages/auth/auth-renew/auth-renew.component.js → esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs} +3 -3
- package/{esm2015/lib/pages/auth/logged-out/logged-out.component.js → esm2020/lib/pages/auth/logged-out/logged-out.component.mjs} +5 -9
- package/esm2020/lib/pages/http-status/error/error.component.mjs +17 -0
- package/esm2020/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -0
- package/esm2020/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -0
- package/{esm2015/lib/pipes/address.pipe.js → esm2020/lib/pipes/address.pipe.mjs} +3 -3
- package/{esm2015/lib/pipes/duration-format.pipe.js → esm2020/lib/pipes/duration-format.pipe.mjs} +3 -3
- package/{esm2015/lib/services/component-loader/component-loader-options.class.js → esm2020/lib/services/component-loader/component-loader-options.class.mjs} +0 -0
- package/esm2020/lib/services/component-loader/component-loader.class.mjs +188 -0
- package/{esm2015/lib/services/component-loader/component-loader.factory.js → esm2020/lib/services/component-loader/component-loader.factory.mjs} +3 -3
- package/{esm2015/lib/services/component-loader/content-ref.class.js → esm2020/lib/services/component-loader/content-ref.class.mjs} +0 -0
- package/{esm2015/lib/services/modal-service/modal-backdrop-component.js → esm2020/lib/services/modal-service/modal-backdrop-component.mjs} +5 -5
- package/esm2020/lib/services/modal-service/modal-container-component.mjs +126 -0
- package/{esm2015/lib/services/modal-service/modal-options.class.js → esm2020/lib/services/modal-service/modal-options.class.mjs} +3 -3
- package/esm2020/lib/services/modal-service/modal-service.mjs +219 -0
- package/{esm2015/lib/services/modal-service/modal-styles.class.js → esm2020/lib/services/modal-service/modal-styles.class.mjs} +0 -0
- package/{esm2015/lib/services/modal-service/modal.class.js → esm2020/lib/services/modal-service/modal.class.mjs} +3 -3
- package/{esm2015/lib/services/toaster.service.js → esm2020/lib/services/toaster.service.mjs} +4 -4
- package/esm2020/lib/tokens.mjs +6 -0
- package/esm2020/lib/types.mjs +123 -0
- package/esm2020/public-api.mjs +56 -0
- package/fesm2015/{indice-ng-components.js → indice-ng-components.mjs} +875 -510
- package/fesm2015/indice-ng-components.mjs.map +1 -0
- package/fesm2020/indice-ng-components.mjs +3565 -0
- package/fesm2020/indice-ng-components.mjs.map +1 -0
- package/{indice-ng-components.d.ts → index.d.ts} +0 -0
- package/lib/controls/avatar-initials/avatar-initials.component.d.ts +1 -1
- package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +1 -1
- package/lib/controls/combobox/combobox.component.d.ts +29 -0
- package/lib/controls/date-picker/date-picker.component.d.ts +1 -1
- package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +1 -1
- package/lib/controls/kpi-tile/kpi-tile.component.d.ts +1 -1
- package/lib/controls/language-selection/language-selection.component.d.ts +14 -0
- package/lib/controls/list-view/list-column.component.d.ts +1 -1
- package/lib/controls/list-view/list-details-section.component.d.ts +1 -1
- package/lib/controls/list-view/list-tile.component.d.ts +1 -1
- package/lib/controls/list-view/list-view-empty-state.component.d.ts +1 -1
- package/lib/controls/list-view/list-view.component.d.ts +1 -1
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +16 -0
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +22 -0
- package/lib/controls/pager/pager.component.d.ts +1 -1
- package/lib/controls/side-pane/side-pane.component.d.ts +1 -1
- package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +1 -1
- package/lib/controls/tabs/lib-tab-group.component.d.ts +21 -0
- package/lib/controls/tabs/lib-tab.component.d.ts +23 -0
- package/lib/controls/toaster/toaster-container.component.d.ts +1 -1
- package/lib/controls/toaster/toaster.component.d.ts +1 -1
- package/lib/controls/toggle/toggle.component.d.ts +1 -1
- package/lib/controls/user-profile-menu/user-profile-menu.component.d.ts +24 -0
- package/lib/directives/click-outside.directive.d.ts +1 -1
- package/lib/directives/dynamic-component-host.directive.d.ts +1 -1
- package/lib/helpers/base-list.component.d.ts +1 -1
- package/lib/icons.d.ts +2 -0
- package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +1 -1
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +20 -28
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +5 -3
- package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +18 -0
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +3 -4
- package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +1 -1
- package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +1 -1
- package/lib/layouts/views/view-layout/view-layout.component.d.ts +1 -1
- package/lib/ng-components.module.d.ts +31 -24
- package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +1 -1
- package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +1 -1
- package/lib/pages/auth/logged-out/logged-out.component.d.ts +1 -1
- package/lib/pages/http-status/error/error.component.d.ts +1 -1
- package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +1 -1
- package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +1 -1
- package/lib/pipes/address.pipe.d.ts +1 -1
- package/lib/pipes/duration-format.pipe.d.ts +1 -1
- package/lib/services/modal-service/modal-backdrop-component.d.ts +1 -1
- package/lib/services/modal-service/modal-container-component.d.ts +1 -1
- package/lib/tokens.d.ts +3 -1
- package/lib/types.d.ts +42 -11
- package/package.json +31 -17
- package/public-api.d.ts +4 -1
- package/bundles/indice-ng-components.umd.js +0 -3799
- package/bundles/indice-ng-components.umd.js.map +0 -1
- package/esm2015/lib/controls/collapsible-panel/collapsible-panel.component.js +0 -23
- package/esm2015/lib/controls/date-picker/date-picker.component.js +0 -269
- package/esm2015/lib/controls/drop-down-menu/drop-down-menu.component.js +0 -72
- package/esm2015/lib/controls/kpi-tile/kpi-tile.component.js +0 -39
- package/esm2015/lib/controls/list-view/list-view-empty-state.component.js +0 -32
- package/esm2015/lib/controls/list-view/list-view.component.js +0 -186
- package/esm2015/lib/controls/pager/pager.component.js +0 -133
- package/esm2015/lib/controls/side-pane/side-pane.component.js +0 -76
- package/esm2015/lib/controls/skeleton-loader/skeleton-loader.component.js +0 -29
- package/esm2015/lib/controls/toaster/toaster.component.js +0 -34
- package/esm2015/lib/helpers/base-list.component.js +0 -182
- package/esm2015/lib/icons.js +0 -32
- package/esm2015/lib/layouts/shell/shell-header/shell-header.component.js +0 -152
- package/esm2015/lib/layouts/shell/shell-layout/shell-layout.component.js +0 -101
- package/esm2015/lib/layouts/views/form-layout/form-layout.component.js +0 -86
- package/esm2015/lib/layouts/views/view-layout/view-layout.component.js +0 -110
- package/esm2015/lib/ng-components.module.js +0 -220
- package/esm2015/lib/pages/auth/auth-callback/auth-callback.component.js +0 -34
- package/esm2015/lib/pages/http-status/error/error.component.js +0 -20
- package/esm2015/lib/pages/http-status/page-not-found/page-not-found.component.js +0 -18
- package/esm2015/lib/pages/http-status/unauthorized/unauthorized.component.js +0 -17
- package/esm2015/lib/pipes/obs-with-status.pipe.js +0 -26
- package/esm2015/lib/services/component-loader/component-loader.class.js +0 -192
- package/esm2015/lib/services/modal-service/modal-container-component.js +0 -128
- package/esm2015/lib/services/modal-service/modal-service.js +0 -220
- package/esm2015/lib/tokens.js +0 -4
- package/esm2015/lib/types.js +0 -114
- package/esm2015/public-api.js +0 -53
- package/fesm2015/indice-ng-components.js.map +0 -1
- package/lib/pipes/obs-with-status.pipe.d.ts +0 -13
|
@@ -9,5 +9,5 @@ export declare class AuthCallbackComponent implements OnInit {
|
|
|
9
9
|
status: string;
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "lib-auth-callback", never, {}, {}, never, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "lib-auth-callback", never, {}, {}, never, never, false>;
|
|
13
13
|
}
|
|
@@ -8,5 +8,5 @@ export declare class AuthRenewComponent implements OnInit {
|
|
|
8
8
|
constructor(authService: AuthService, router: Router);
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuthRenewComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthRenewComponent, "lib-auth-renew", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthRenewComponent, "lib-auth-renew", never, {}, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -8,5 +8,5 @@ export declare class LoggedOutComponent implements OnInit {
|
|
|
8
8
|
finished: boolean;
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoggedOutComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoggedOutComponent, "lib-logged-out", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoggedOutComponent, "lib-logged-out", never, {}, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -4,5 +4,5 @@ export declare class ErrorComponent implements OnInit {
|
|
|
4
4
|
error: string;
|
|
5
5
|
ngOnInit(): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "lib-error", never, {}, {}, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "lib-error", never, {}, {}, never, never, false>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ export declare class PageNotFoundComponent implements OnInit {
|
|
|
4
4
|
constructor();
|
|
5
5
|
ngOnInit(): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageNotFoundComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageNotFoundComponent, "lib-page-not-found", never, {}, {}, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageNotFoundComponent, "lib-page-not-found", never, {}, {}, never, never, false>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ export declare class UnauthorizedComponent implements OnInit {
|
|
|
4
4
|
constructor();
|
|
5
5
|
ngOnInit(): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<UnauthorizedComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UnauthorizedComponent, "lib-unauthorized", never, {}, {}, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnauthorizedComponent, "lib-unauthorized", never, {}, {}, never, never, false>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AddressPipe implements PipeTransform {
|
|
5
5
|
transform(value: IAddress | undefined): string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddressPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<AddressPipe, "address">;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AddressPipe, "address", false>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ export declare class DurationFormatPipe implements PipeTransform {
|
|
|
4
4
|
transform(value: any, arg1: any, arg2: any): string;
|
|
5
5
|
private format;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<DurationFormatPipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DurationFormatPipe, "durationFormat">;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DurationFormatPipe, "durationFormat", false>;
|
|
8
8
|
}
|
|
@@ -16,5 +16,5 @@ export declare class ModalBackdropComponent implements OnInit {
|
|
|
16
16
|
hide(): void;
|
|
17
17
|
reflow(element: any): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalBackdropComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalBackdropComponent, "lib-modal-backdrop", never, {}, {}, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalBackdropComponent, "lib-modal-backdrop", never, {}, {}, never, never, false>;
|
|
20
20
|
}
|
|
@@ -29,5 +29,5 @@ export declare class ModalContainerComponent implements OnInit, OnDestroy {
|
|
|
29
29
|
hide(result?: any): void;
|
|
30
30
|
private _hide;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "lib-modal-container", never, {}, {}, never, ["*"]>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "lib-modal-container", never, {}, {}, never, ["*"], false>;
|
|
33
33
|
}
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { IAppLinks, IShellConfig } from './types';
|
|
2
|
+
import { IAppLinks, IAppLanguagesService, IAppNotifications, IShellConfig } from './types';
|
|
3
3
|
export declare const APP_LINKS: InjectionToken<IAppLinks>;
|
|
4
|
+
export declare const APP_NOTIFICATIONS: InjectionToken<IAppNotifications>;
|
|
4
5
|
export declare const SHELL_CONFIG: InjectionToken<IShellConfig>;
|
|
6
|
+
export declare const APP_LANGUAGES: InjectionToken<IAppLanguagesService>;
|
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
import { Observable } from
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
export interface IAppNotifications {
|
|
3
|
+
messages: Observable<IResultSet<NavLink>>;
|
|
4
|
+
getMessage?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
|
|
5
|
+
refresh?: () => void | undefined;
|
|
6
|
+
inboxAction?: () => void | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface IAppLanguagesService {
|
|
9
|
+
options: Observable<MenuOption[]> | undefined;
|
|
10
|
+
selected?: string;
|
|
11
|
+
default?: string;
|
|
12
|
+
setSelected?: (lang: string) => void | undefined;
|
|
13
|
+
}
|
|
2
14
|
export interface IAppLinks {
|
|
3
15
|
public: Observable<NavLink[]>;
|
|
4
16
|
main: Observable<NavLink[]>;
|
|
@@ -6,28 +18,30 @@ export interface IAppLinks {
|
|
|
6
18
|
profileActions: Observable<NavLink[]>;
|
|
7
19
|
legal: Observable<NavLink[]>;
|
|
8
20
|
brand: Observable<NavLink[]>;
|
|
9
|
-
notifications?: Observable<
|
|
10
|
-
allNotifications?: Observable<NavLink>;
|
|
11
|
-
notificationsCounter?: Observable<number>;
|
|
21
|
+
notifications?: Observable<NavLink>;
|
|
12
22
|
}
|
|
13
23
|
export declare class NavLink {
|
|
14
|
-
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string,
|
|
24
|
+
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, data?: any);
|
|
15
25
|
text: string;
|
|
16
26
|
path: string;
|
|
17
27
|
exact: boolean;
|
|
18
28
|
external: boolean;
|
|
19
29
|
icon: string | undefined;
|
|
20
|
-
|
|
21
|
-
|
|
30
|
+
type: string;
|
|
31
|
+
data: any | undefined;
|
|
22
32
|
}
|
|
23
33
|
export declare class ExternalNavLink extends NavLink {
|
|
24
34
|
constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
|
|
35
|
+
type: string;
|
|
25
36
|
}
|
|
26
37
|
export declare class FragmentNavLink extends NavLink {
|
|
27
38
|
constructor(text: string, path: string, icon?: string);
|
|
39
|
+
type: string;
|
|
28
40
|
}
|
|
29
41
|
export declare class NotificationNavLink extends NavLink {
|
|
30
|
-
|
|
42
|
+
isRead: boolean;
|
|
43
|
+
creationDate?: Date | undefined;
|
|
44
|
+
constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
|
|
31
45
|
}
|
|
32
46
|
export declare class ViewAction {
|
|
33
47
|
type: string;
|
|
@@ -78,22 +92,29 @@ export interface IAddress {
|
|
|
78
92
|
country?: string | null;
|
|
79
93
|
}
|
|
80
94
|
export interface IShellConfig {
|
|
95
|
+
layout?: ShellLayoutType;
|
|
81
96
|
appLogo: string;
|
|
82
97
|
appLogoAlt: string;
|
|
83
98
|
showHeader: boolean;
|
|
84
99
|
showUserNameOnHeader?: boolean;
|
|
85
|
-
|
|
86
|
-
showFooter: boolean;
|
|
100
|
+
showAlertsOnHeader?: boolean;
|
|
87
101
|
customHeaderComponent?: any;
|
|
102
|
+
showFooter: boolean;
|
|
88
103
|
customFooterComponent?: any;
|
|
89
104
|
fluid: boolean;
|
|
105
|
+
showLangsOnHeader?: boolean;
|
|
106
|
+
}
|
|
107
|
+
export declare enum ShellLayoutType {
|
|
108
|
+
Stacked = "Stacked",
|
|
109
|
+
Sidebar = "Sidebar"
|
|
90
110
|
}
|
|
91
111
|
export declare class DefaultShellConfig implements IShellConfig {
|
|
112
|
+
layout: ShellLayoutType;
|
|
92
113
|
appLogo: string;
|
|
93
114
|
appLogoAlt: string;
|
|
94
115
|
showHeader: boolean;
|
|
95
116
|
showUserNameOnHeader: boolean;
|
|
96
|
-
|
|
117
|
+
showAlertsOnHeader: boolean;
|
|
97
118
|
showFooter: boolean;
|
|
98
119
|
fluid: boolean;
|
|
99
120
|
}
|
|
@@ -134,3 +155,13 @@ export declare enum SidePaneOverlayType {
|
|
|
134
155
|
Light = "",
|
|
135
156
|
Dark = "-opacity-50"
|
|
136
157
|
}
|
|
158
|
+
export interface IValidationProblemDetails {
|
|
159
|
+
type?: string | undefined;
|
|
160
|
+
title?: string | undefined;
|
|
161
|
+
status?: number | undefined;
|
|
162
|
+
detail?: string | undefined;
|
|
163
|
+
instance?: string | undefined;
|
|
164
|
+
errors?: {
|
|
165
|
+
[key: string]: string[];
|
|
166
|
+
} | undefined;
|
|
167
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indice/ng-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.153-beta.2",
|
|
4
4
|
"description": "Indice common components for Angular v12",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,26 +21,40 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/indice-co/Indice.Angular#readme",
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@angular/common": "
|
|
25
|
-
"@angular/core": "
|
|
26
|
-
"@angular/router": "
|
|
27
|
-
"@indice/ng-auth": "
|
|
28
|
-
"oidc-client": "^1.11.5",
|
|
29
|
-
"tailwindcss": "^2.1.2",
|
|
24
|
+
"@angular/common": ">=13.3.11",
|
|
25
|
+
"@angular/core": ">=13.3.11",
|
|
26
|
+
"@angular/router": ">=13.3.11",
|
|
27
|
+
"@indice/ng-auth": "~0.1",
|
|
30
28
|
"@tailwindcss/aspect-ratio": "^0.2.0",
|
|
31
29
|
"@tailwindcss/forms": "^0.3.2",
|
|
32
30
|
"@tailwindcss/line-clamp": "^0.2.0",
|
|
33
31
|
"@tailwindcss/typography": "^0.4.0",
|
|
34
|
-
"
|
|
32
|
+
"oidc-client": "^1.11.5",
|
|
33
|
+
"rxjs": "^6.6.7",
|
|
34
|
+
"tailwindcss": "^2.1.2",
|
|
35
|
+
"uuid": "8.3.2"
|
|
35
36
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
37
|
+
"module": "fesm2015/indice-ng-components.mjs",
|
|
38
|
+
"es2020": "fesm2020/indice-ng-components.mjs",
|
|
39
|
+
"esm2020": "esm2020/indice-ng-components.mjs",
|
|
40
|
+
"fesm2020": "fesm2020/indice-ng-components.mjs",
|
|
41
|
+
"fesm2015": "fesm2015/indice-ng-components.mjs",
|
|
42
|
+
"typings": "index.d.ts",
|
|
43
|
+
"exports": {
|
|
44
|
+
"./package.json": {
|
|
45
|
+
"default": "./package.json"
|
|
46
|
+
},
|
|
47
|
+
".": {
|
|
48
|
+
"types": "./index.d.ts",
|
|
49
|
+
"esm2020": "./esm2020/indice-ng-components.mjs",
|
|
50
|
+
"es2020": "./fesm2020/indice-ng-components.mjs",
|
|
51
|
+
"es2015": "./fesm2015/indice-ng-components.mjs",
|
|
52
|
+
"node": "./fesm2015/indice-ng-components.mjs",
|
|
53
|
+
"default": "./fesm2020/indice-ng-components.mjs"
|
|
54
|
+
}
|
|
38
55
|
},
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"fesm2015": "fesm2015/indice-ng-components.js",
|
|
44
|
-
"typings": "indice-ng-components.d.ts",
|
|
45
|
-
"sideEffects": false
|
|
56
|
+
"sideEffects": false,
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"tslib": "^2.3.0"
|
|
59
|
+
}
|
|
46
60
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export * from './lib/controls/toaster/toaster.component';
|
|
|
15
15
|
export * from './lib/controls/avatar-initials/avatar-initials.component';
|
|
16
16
|
export * from './lib/controls/toggle/toggle.component';
|
|
17
17
|
export * from './lib/controls/side-pane/side-pane.component';
|
|
18
|
+
export * from './lib/controls/nav-links-list/nav-links-list.component';
|
|
19
|
+
export * from './lib/controls/combobox/combobox.component';
|
|
20
|
+
export * from './lib/controls/tabs/lib-tab.component';
|
|
21
|
+
export * from './lib/controls/tabs/lib-tab-group.component';
|
|
18
22
|
export * from './lib/layouts/shell/shell-layout/shell-layout.component';
|
|
19
23
|
export * from './lib/layouts/shell/shell-header/shell-header.component';
|
|
20
24
|
export * from './lib/layouts/shell/shell-footer/shell-footer.component';
|
|
@@ -30,7 +34,6 @@ export * from './lib/pages/http-status/page-not-found/page-not-found.component';
|
|
|
30
34
|
export * from './lib/pages/http-status/unauthorized/unauthorized.component';
|
|
31
35
|
export * from './lib/pipes/address.pipe';
|
|
32
36
|
export * from './lib/pipes/duration-format.pipe';
|
|
33
|
-
export * from './lib/pipes/obs-with-status.pipe';
|
|
34
37
|
export * from './lib/tokens';
|
|
35
38
|
export * from './lib/types';
|
|
36
39
|
export * from './lib/icons';
|