@indice/ng-components 0.2.32 → 0.2.33
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 +3457 -3457
- package/bundles/indice-ng-components.umd.js +3204 -3198
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/indice-ng-components.js +6 -6
- package/esm2015/lib/controls/avatar-initials/avatar-initials.component.js +47 -47
- package/esm2015/lib/controls/collapsible-panel/collapsible-panel.component.js +20 -20
- package/esm2015/lib/controls/date-picker/date-picker.component.js +217 -217
- package/esm2015/lib/controls/drop-down-menu/drop-down-menu.component.js +62 -62
- package/esm2015/lib/controls/kpi-tile/kpi-tile.component.js +32 -32
- package/esm2015/lib/controls/list-view/list-column.component.js +19 -19
- package/esm2015/lib/controls/list-view/list-details-section.component.js +14 -14
- package/esm2015/lib/controls/list-view/list-tile.component.js +14 -14
- package/esm2015/lib/controls/list-view/list-view-empty-state.component.js +25 -25
- package/esm2015/lib/controls/list-view/list-view.component.js +133 -133
- package/esm2015/lib/controls/pager/pager.component.js +114 -114
- package/esm2015/lib/controls/side-pane/side-pane.component.js +71 -71
- package/esm2015/lib/controls/skeleton-loader/skeleton-loader.component.js +25 -25
- package/esm2015/lib/controls/toaster/toaster-container.component.js +28 -28
- package/esm2015/lib/controls/toaster/toaster.component.js +29 -29
- package/esm2015/lib/controls/toggle/toggle.component.js +56 -56
- package/esm2015/lib/directives/click-outside.directive.js +181 -181
- package/esm2015/lib/directives/dynamic-component-host.directive.js +17 -17
- package/esm2015/lib/helpers/base-list.component.js +182 -182
- package/esm2015/lib/icons.js +30 -30
- package/esm2015/lib/layouts/shell/shell-footer/shell-footer.component.js +17 -17
- package/esm2015/lib/layouts/shell/shell-header/shell-header.component.js +98 -98
- package/esm2015/lib/layouts/shell/shell-layout/shell-layout.component.js +92 -92
- package/esm2015/lib/layouts/views/form-layout/form-layout.component.js +72 -72
- package/esm2015/lib/layouts/views/model-view-layout/model-view-layout.component.js +47 -47
- package/esm2015/lib/layouts/views/side-view-layout/side-view-layout.component.js +73 -73
- package/esm2015/lib/layouts/views/view-layout/view-layout.component.js +87 -87
- package/esm2015/lib/ng-components.module.js +133 -133
- package/esm2015/lib/pages/auth/auth-callback/auth-callback.component.js +74 -74
- package/esm2015/lib/pages/auth/auth-renew/auth-renew.component.js +25 -25
- package/esm2015/lib/pages/auth/logged-out/logged-out.component.js +26 -26
- package/esm2015/lib/pages/http-status/error/error.component.js +15 -15
- package/esm2015/lib/pages/http-status/page-not-found/page-not-found.component.js +14 -14
- package/esm2015/lib/pages/http-status/unauthorized/unauthorized.component.js +22 -22
- package/esm2015/lib/pipes/address.pipe.js +17 -17
- package/esm2015/lib/pipes/duration-format.pipe.js +60 -60
- package/esm2015/lib/services/component-loader/component-loader-options.class.js +8 -8
- package/esm2015/lib/services/component-loader/component-loader.class.js +192 -192
- package/esm2015/lib/services/component-loader/component-loader.factory.js +35 -35
- package/esm2015/lib/services/component-loader/content-ref.class.js +13 -13
- package/esm2015/lib/services/modal-service/modal-backdrop-component.js +44 -44
- package/esm2015/lib/services/modal-service/modal-container-component.js +117 -117
- package/esm2015/lib/services/modal-service/modal-options.class.js +31 -31
- package/esm2015/lib/services/modal-service/modal-service.js +214 -214
- package/esm2015/lib/services/modal-service/modal-styles.class.js +11 -11
- package/esm2015/lib/services/modal-service/modal.class.js +24 -24
- package/esm2015/lib/services/toaster.service.js +23 -23
- package/esm2015/lib/tokens.js +4 -4
- package/esm2015/lib/types.js +104 -104
- package/esm2015/public-api.js +53 -53
- package/fesm2015/indice-ng-components.js +2758 -2758
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/indice-ng-components.d.ts +6 -6
- package/indice-ng-components.metadata.json +1 -1
- package/lib/controls/avatar-initials/avatar-initials.component.d.ts +11 -11
- package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +7 -7
- package/lib/controls/date-picker/date-picker.component.d.ts +43 -43
- package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +22 -22
- package/lib/controls/kpi-tile/kpi-tile.component.d.ts +10 -10
- package/lib/controls/list-view/list-column.component.d.ts +6 -6
- package/lib/controls/list-view/list-details-section.component.d.ts +4 -4
- package/lib/controls/list-view/list-tile.component.d.ts +4 -4
- package/lib/controls/list-view/list-view-empty-state.component.d.ts +8 -8
- package/lib/controls/list-view/list-view.component.d.ts +50 -50
- package/lib/controls/pager/pager.component.d.ts +32 -32
- package/lib/controls/side-pane/side-pane.component.d.ts +15 -15
- package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +8 -8
- package/lib/controls/toaster/toaster-container.component.d.ts +10 -10
- package/lib/controls/toaster/toaster.component.d.ts +12 -12
- package/lib/controls/toggle/toggle.component.d.ts +16 -16
- package/lib/directives/click-outside.directive.d.ts +37 -37
- package/lib/directives/dynamic-component-host.directive.d.ts +6 -6
- package/lib/helpers/base-list.component.d.ts +39 -39
- package/lib/icons.d.ts +28 -28
- package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +5 -5
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +33 -33
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +23 -23
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +21 -21
- package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +22 -22
- package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +24 -24
- package/lib/layouts/views/view-layout/view-layout.component.d.ts +27 -27
- package/lib/ng-components.module.d.ts +7 -7
- package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +11 -11
- package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +9 -9
- package/lib/pages/auth/logged-out/logged-out.component.d.ts +9 -9
- package/lib/pages/http-status/error/error.component.d.ts +5 -5
- package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +5 -5
- package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -8
- package/lib/pipes/address.pipe.d.ts +5 -5
- package/lib/pipes/duration-format.pipe.d.ts +5 -5
- package/lib/services/component-loader/component-loader-options.class.d.ts +30 -30
- package/lib/services/component-loader/component-loader.class.d.ts +92 -92
- package/lib/services/component-loader/component-loader.factory.d.ts +21 -21
- package/lib/services/component-loader/content-ref.class.d.ts +12 -12
- package/lib/services/modal-service/modal-backdrop-component.d.ts +17 -17
- package/lib/services/modal-service/modal-container-component.d.ts +30 -30
- package/lib/services/modal-service/modal-options.class.d.ts +77 -77
- package/lib/services/modal-service/modal-service.d.ts +55 -55
- package/lib/services/modal-service/modal-styles.class.d.ts +10 -10
- package/lib/services/modal-service/modal.class.d.ts +40 -40
- package/lib/services/toaster.service.d.ts +8 -8
- package/lib/tokens.d.ts +4 -4
- package/lib/types.d.ts +124 -124
- package/modal.css +157 -157
- package/package.json +1 -1
- package/public-api.d.ts +41 -41
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { OnDestroy, RendererFactory2, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ModalContainerComponent } from './modal-container-component';
|
|
3
|
-
import { ModalOptions } from './modal-options.class';
|
|
4
|
-
import { Modal } from './modal.class';
|
|
5
|
-
import { ComponentLoaderFactory } from '../component-loader/component-loader.factory';
|
|
6
|
-
/**
|
|
7
|
-
* A service for using modals.
|
|
8
|
-
*
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export declare class ModalService implements OnDestroy {
|
|
12
|
-
private clf;
|
|
13
|
-
private document;
|
|
14
|
-
private onBeforeShow;
|
|
15
|
-
private onShown;
|
|
16
|
-
private onBeforeHide;
|
|
17
|
-
private onHidden;
|
|
18
|
-
private backdropRef?;
|
|
19
|
-
private defaultConfig;
|
|
20
|
-
private backdropLoader;
|
|
21
|
-
private loaders;
|
|
22
|
-
private renderer;
|
|
23
|
-
private modalsCount;
|
|
24
|
-
private initialPadding;
|
|
25
|
-
constructor(clf: ComponentLoaderFactory, rendererFactory: RendererFactory2, document: any, modalDefaultOption: ModalOptions);
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Opens a new modal.
|
|
29
|
-
*
|
|
30
|
-
* @param content - `Component` or `TemplateRef` type.
|
|
31
|
-
* @param config - Specific {@link ModalOptions | options} for this modal. Global and specific options are merged.
|
|
32
|
-
* @returns An instance of {@link Modal}
|
|
33
|
-
*/
|
|
34
|
-
show<T>(content: string | TemplateRef<any> | {
|
|
35
|
-
new (...args: any[]): T;
|
|
36
|
-
}, config?: ModalOptions<T>): Modal<T>;
|
|
37
|
-
/**
|
|
38
|
-
* Hide an active modal.
|
|
39
|
-
* @param id - Id of modal to hide. If not provided all active modals are hidden.
|
|
40
|
-
* @param result - A result to be sent to observers.
|
|
41
|
-
*/
|
|
42
|
-
hide(id?: number | string, result?: any): void;
|
|
43
|
-
getActiveModal(): ModalContainerComponent;
|
|
44
|
-
private showModal;
|
|
45
|
-
private hideModal;
|
|
46
|
-
private showBackdrop;
|
|
47
|
-
private hideBackdrop;
|
|
48
|
-
private removeLoaders;
|
|
49
|
-
private addBodyPadding;
|
|
50
|
-
private revertScrollbar;
|
|
51
|
-
private getScrollbarWidth;
|
|
52
|
-
private isScrollBarPresent;
|
|
53
|
-
private createLoaders;
|
|
54
|
-
private copyEvent;
|
|
55
|
-
}
|
|
1
|
+
import { OnDestroy, RendererFactory2, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ModalContainerComponent } from './modal-container-component';
|
|
3
|
+
import { ModalOptions } from './modal-options.class';
|
|
4
|
+
import { Modal } from './modal.class';
|
|
5
|
+
import { ComponentLoaderFactory } from '../component-loader/component-loader.factory';
|
|
6
|
+
/**
|
|
7
|
+
* A service for using modals.
|
|
8
|
+
*
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare class ModalService implements OnDestroy {
|
|
12
|
+
private clf;
|
|
13
|
+
private document;
|
|
14
|
+
private onBeforeShow;
|
|
15
|
+
private onShown;
|
|
16
|
+
private onBeforeHide;
|
|
17
|
+
private onHidden;
|
|
18
|
+
private backdropRef?;
|
|
19
|
+
private defaultConfig;
|
|
20
|
+
private backdropLoader;
|
|
21
|
+
private loaders;
|
|
22
|
+
private renderer;
|
|
23
|
+
private modalsCount;
|
|
24
|
+
private initialPadding;
|
|
25
|
+
constructor(clf: ComponentLoaderFactory, rendererFactory: RendererFactory2, document: any, modalDefaultOption: ModalOptions);
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
/**
|
|
28
|
+
* Opens a new modal.
|
|
29
|
+
*
|
|
30
|
+
* @param content - `Component` or `TemplateRef` type.
|
|
31
|
+
* @param config - Specific {@link ModalOptions | options} for this modal. Global and specific options are merged.
|
|
32
|
+
* @returns An instance of {@link Modal}
|
|
33
|
+
*/
|
|
34
|
+
show<T>(content: string | TemplateRef<any> | {
|
|
35
|
+
new (...args: any[]): T;
|
|
36
|
+
}, config?: ModalOptions<T>): Modal<T>;
|
|
37
|
+
/**
|
|
38
|
+
* Hide an active modal.
|
|
39
|
+
* @param id - Id of modal to hide. If not provided all active modals are hidden.
|
|
40
|
+
* @param result - A result to be sent to observers.
|
|
41
|
+
*/
|
|
42
|
+
hide(id?: number | string, result?: any): void;
|
|
43
|
+
getActiveModal(): ModalContainerComponent;
|
|
44
|
+
private showModal;
|
|
45
|
+
private hideModal;
|
|
46
|
+
private showBackdrop;
|
|
47
|
+
private hideBackdrop;
|
|
48
|
+
private removeLoaders;
|
|
49
|
+
private addBodyPadding;
|
|
50
|
+
private revertScrollbar;
|
|
51
|
+
private getScrollbarWidth;
|
|
52
|
+
private isScrollBarPresent;
|
|
53
|
+
private createLoaders;
|
|
54
|
+
private copyEvent;
|
|
55
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const cssClassNames: {
|
|
2
|
-
backdrop: string;
|
|
3
|
-
show: string;
|
|
4
|
-
fade: string;
|
|
5
|
-
modalOpen: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const animationTime: {
|
|
8
|
-
backdrop: number;
|
|
9
|
-
modal: number;
|
|
10
|
-
};
|
|
1
|
+
export declare const cssClassNames: {
|
|
2
|
+
backdrop: string;
|
|
3
|
+
show: string;
|
|
4
|
+
fade: string;
|
|
5
|
+
modalOpen: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const animationTime: {
|
|
8
|
+
backdrop: number;
|
|
9
|
+
modal: number;
|
|
10
|
+
};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
/**
|
|
3
|
-
* Modal class.
|
|
4
|
-
* @remarks
|
|
5
|
-
* This is returned from {@link ModalService.show}.
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export declare class Modal<T = any> {
|
|
9
|
-
/**
|
|
10
|
-
* Event that is fired when the modal behind the ref starts hiding.
|
|
11
|
-
* @returns
|
|
12
|
-
* Modal component instance.
|
|
13
|
-
*/
|
|
14
|
-
onBeforeHide?: Subject<unknown>;
|
|
15
|
-
/**
|
|
16
|
-
* Event that is fired when the modal behind the ref finishes hiding.
|
|
17
|
-
* @returns
|
|
18
|
-
* An object containing the id of the closed modal and result.
|
|
19
|
-
*/
|
|
20
|
-
onHidden?: Subject<unknown>;
|
|
21
|
-
/**
|
|
22
|
-
* Id of this modal.
|
|
23
|
-
*/
|
|
24
|
-
id?: number | string;
|
|
25
|
-
/**
|
|
26
|
-
* Reference to a component inside the modal. Null if modal's been created with TemplateRef.
|
|
27
|
-
* @remarks
|
|
28
|
-
* You can use this to do nasty stuff with opened modal instance.
|
|
29
|
-
*/
|
|
30
|
-
content?: T;
|
|
31
|
-
/**
|
|
32
|
-
* Hides the modal
|
|
33
|
-
* @param result - A result to the observers.
|
|
34
|
-
*/
|
|
35
|
-
hide: (result?: any) => void;
|
|
36
|
-
/**
|
|
37
|
-
* Sets new class to modal window.
|
|
38
|
-
*/
|
|
39
|
-
setClass: (newClass: string) => void;
|
|
40
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
/**
|
|
3
|
+
* Modal class.
|
|
4
|
+
* @remarks
|
|
5
|
+
* This is returned from {@link ModalService.show}.
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class Modal<T = any> {
|
|
9
|
+
/**
|
|
10
|
+
* Event that is fired when the modal behind the ref starts hiding.
|
|
11
|
+
* @returns
|
|
12
|
+
* Modal component instance.
|
|
13
|
+
*/
|
|
14
|
+
onBeforeHide?: Subject<unknown>;
|
|
15
|
+
/**
|
|
16
|
+
* Event that is fired when the modal behind the ref finishes hiding.
|
|
17
|
+
* @returns
|
|
18
|
+
* An object containing the id of the closed modal and result.
|
|
19
|
+
*/
|
|
20
|
+
onHidden?: Subject<unknown>;
|
|
21
|
+
/**
|
|
22
|
+
* Id of this modal.
|
|
23
|
+
*/
|
|
24
|
+
id?: number | string;
|
|
25
|
+
/**
|
|
26
|
+
* Reference to a component inside the modal. Null if modal's been created with TemplateRef.
|
|
27
|
+
* @remarks
|
|
28
|
+
* You can use this to do nasty stuff with opened modal instance.
|
|
29
|
+
*/
|
|
30
|
+
content?: T;
|
|
31
|
+
/**
|
|
32
|
+
* Hides the modal
|
|
33
|
+
* @param result - A result to the observers.
|
|
34
|
+
*/
|
|
35
|
+
hide: (result?: any) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Sets new class to modal window.
|
|
38
|
+
*/
|
|
39
|
+
setClass: (newClass: string) => void;
|
|
40
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Toast, ToastType } from '../types';
|
|
3
|
-
export declare class ToasterService {
|
|
4
|
-
private subject;
|
|
5
|
-
toast$: Observable<Toast>;
|
|
6
|
-
constructor();
|
|
7
|
-
show(type: ToastType, title?: string, body?: string, delay?: number): void;
|
|
8
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Toast, ToastType } from '../types';
|
|
3
|
+
export declare class ToasterService {
|
|
4
|
+
private subject;
|
|
5
|
+
toast$: Observable<Toast>;
|
|
6
|
+
constructor();
|
|
7
|
+
show(type: ToastType, title?: string, body?: string, delay?: number): void;
|
|
8
|
+
}
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { IAppLinks, IShellConfig } from './types';
|
|
3
|
-
export declare const APP_LINKS: InjectionToken<IAppLinks>;
|
|
4
|
-
export declare const SHELL_CONFIG: InjectionToken<IShellConfig>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { IAppLinks, IShellConfig } from './types';
|
|
3
|
+
export declare const APP_LINKS: InjectionToken<IAppLinks>;
|
|
4
|
+
export declare const SHELL_CONFIG: InjectionToken<IShellConfig>;
|
package/lib/types.d.ts
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
export interface IAppLinks {
|
|
2
|
-
public: NavLink[];
|
|
3
|
-
main: NavLink[];
|
|
4
|
-
profile: NavLink[];
|
|
5
|
-
profileActions: NavLink[];
|
|
6
|
-
legal: NavLink[];
|
|
7
|
-
brand: NavLink[];
|
|
8
|
-
}
|
|
9
|
-
export declare class NavLink {
|
|
10
|
-
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string);
|
|
11
|
-
text: string;
|
|
12
|
-
path: string;
|
|
13
|
-
exact: boolean;
|
|
14
|
-
external: boolean;
|
|
15
|
-
icon: string | undefined;
|
|
16
|
-
}
|
|
17
|
-
export declare class ExternalNavLink extends NavLink {
|
|
18
|
-
constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
|
|
19
|
-
}
|
|
20
|
-
export declare class FragmentNavLink extends NavLink {
|
|
21
|
-
constructor(text: string, path: string, icon?: string);
|
|
22
|
-
}
|
|
23
|
-
export declare class ViewAction {
|
|
24
|
-
type: string;
|
|
25
|
-
key: string | null;
|
|
26
|
-
param: any;
|
|
27
|
-
icon: string;
|
|
28
|
-
tooltip: string | null;
|
|
29
|
-
constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null);
|
|
30
|
-
}
|
|
31
|
-
export declare class ListViewType {
|
|
32
|
-
static Tiles: string;
|
|
33
|
-
static Table: string;
|
|
34
|
-
static Map: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class RouterViewAction extends ViewAction {
|
|
37
|
-
outlet: string | null;
|
|
38
|
-
link: string | null;
|
|
39
|
-
constructor(icon: string, link: string, outlet: string | null, tooltip: string | null);
|
|
40
|
-
}
|
|
41
|
-
export declare class SwitchViewAction extends ViewAction {
|
|
42
|
-
constructor(view: string, icon: string, tooltip: string | null);
|
|
43
|
-
}
|
|
44
|
-
export interface IResultSet<T> {
|
|
45
|
-
count: number;
|
|
46
|
-
items: T[];
|
|
47
|
-
}
|
|
48
|
-
export declare class HeaderMetaItem {
|
|
49
|
-
key: string | null;
|
|
50
|
-
icon: string | null;
|
|
51
|
-
text: string | null;
|
|
52
|
-
}
|
|
53
|
-
export declare class MenuOption {
|
|
54
|
-
constructor(text: string, value: any, description?: string, data?: any, icon?: string);
|
|
55
|
-
text: string;
|
|
56
|
-
value: any;
|
|
57
|
-
description: string | undefined;
|
|
58
|
-
data: any | undefined;
|
|
59
|
-
icon: string | undefined;
|
|
60
|
-
}
|
|
61
|
-
export interface IAddress {
|
|
62
|
-
id?: string;
|
|
63
|
-
street?: string | null;
|
|
64
|
-
streetNumber?: string | null;
|
|
65
|
-
city?: string | null;
|
|
66
|
-
region?: string | null;
|
|
67
|
-
postalCode?: string | null;
|
|
68
|
-
country?: string | null;
|
|
69
|
-
}
|
|
70
|
-
export interface IShellConfig {
|
|
71
|
-
appLogo: string;
|
|
72
|
-
appLogoAlt: string;
|
|
73
|
-
showHeader: boolean;
|
|
74
|
-
showUserNameOnHeader: boolean;
|
|
75
|
-
customHeaderComponent?: any;
|
|
76
|
-
showFooter: boolean;
|
|
77
|
-
customFooterComponent?: any;
|
|
78
|
-
fluid: boolean;
|
|
79
|
-
}
|
|
80
|
-
export declare class DefaultShellConfig implements IShellConfig {
|
|
81
|
-
appLogo: string;
|
|
82
|
-
appLogoAlt: string;
|
|
83
|
-
showHeader: boolean;
|
|
84
|
-
showUserNameOnHeader: boolean;
|
|
85
|
-
showFooter: boolean;
|
|
86
|
-
fluid: boolean;
|
|
87
|
-
}
|
|
88
|
-
export declare enum SCREEN_SIZE {
|
|
89
|
-
XS = 0,
|
|
90
|
-
SM = 1,
|
|
91
|
-
MD = 2,
|
|
92
|
-
LG = 3,
|
|
93
|
-
XL = 4
|
|
94
|
-
}
|
|
95
|
-
export interface IScreenSize {
|
|
96
|
-
id: SCREEN_SIZE;
|
|
97
|
-
name: string;
|
|
98
|
-
css: string;
|
|
99
|
-
}
|
|
100
|
-
export declare enum ToastType {
|
|
101
|
-
Info = "info",
|
|
102
|
-
Success = "success",
|
|
103
|
-
Error = "error",
|
|
104
|
-
Warning = "warning"
|
|
105
|
-
}
|
|
106
|
-
export declare const NULL_TOAST: Toast;
|
|
107
|
-
export interface Toast {
|
|
108
|
-
type: ToastType;
|
|
109
|
-
title: string;
|
|
110
|
-
body: string;
|
|
111
|
-
delay: number;
|
|
112
|
-
}
|
|
113
|
-
export declare enum SidePaneSize {
|
|
114
|
-
Default = "",
|
|
115
|
-
Small25 = "25%",
|
|
116
|
-
Medium50 = "50%",
|
|
117
|
-
Large75 = "75%"
|
|
118
|
-
}
|
|
119
|
-
export declare enum SidePaneOverlayType {
|
|
120
|
-
Default = "",
|
|
121
|
-
None = "-opacity-0",
|
|
122
|
-
Light = "",
|
|
123
|
-
Dark = "-opacity-50"
|
|
124
|
-
}
|
|
1
|
+
export interface IAppLinks {
|
|
2
|
+
public: NavLink[];
|
|
3
|
+
main: NavLink[];
|
|
4
|
+
profile: NavLink[];
|
|
5
|
+
profileActions: NavLink[];
|
|
6
|
+
legal: NavLink[];
|
|
7
|
+
brand: NavLink[];
|
|
8
|
+
}
|
|
9
|
+
export declare class NavLink {
|
|
10
|
+
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string);
|
|
11
|
+
text: string;
|
|
12
|
+
path: string;
|
|
13
|
+
exact: boolean;
|
|
14
|
+
external: boolean;
|
|
15
|
+
icon: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare class ExternalNavLink extends NavLink {
|
|
18
|
+
constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
|
|
19
|
+
}
|
|
20
|
+
export declare class FragmentNavLink extends NavLink {
|
|
21
|
+
constructor(text: string, path: string, icon?: string);
|
|
22
|
+
}
|
|
23
|
+
export declare class ViewAction {
|
|
24
|
+
type: string;
|
|
25
|
+
key: string | null;
|
|
26
|
+
param: any;
|
|
27
|
+
icon: string;
|
|
28
|
+
tooltip: string | null;
|
|
29
|
+
constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null);
|
|
30
|
+
}
|
|
31
|
+
export declare class ListViewType {
|
|
32
|
+
static Tiles: string;
|
|
33
|
+
static Table: string;
|
|
34
|
+
static Map: string;
|
|
35
|
+
}
|
|
36
|
+
export declare class RouterViewAction extends ViewAction {
|
|
37
|
+
outlet: string | null;
|
|
38
|
+
link: string | null;
|
|
39
|
+
constructor(icon: string, link: string, outlet: string | null, tooltip: string | null);
|
|
40
|
+
}
|
|
41
|
+
export declare class SwitchViewAction extends ViewAction {
|
|
42
|
+
constructor(view: string, icon: string, tooltip: string | null);
|
|
43
|
+
}
|
|
44
|
+
export interface IResultSet<T> {
|
|
45
|
+
count: number;
|
|
46
|
+
items: T[];
|
|
47
|
+
}
|
|
48
|
+
export declare class HeaderMetaItem {
|
|
49
|
+
key: string | null;
|
|
50
|
+
icon: string | null;
|
|
51
|
+
text: string | null;
|
|
52
|
+
}
|
|
53
|
+
export declare class MenuOption {
|
|
54
|
+
constructor(text: string, value: any, description?: string, data?: any, icon?: string);
|
|
55
|
+
text: string;
|
|
56
|
+
value: any;
|
|
57
|
+
description: string | undefined;
|
|
58
|
+
data: any | undefined;
|
|
59
|
+
icon: string | undefined;
|
|
60
|
+
}
|
|
61
|
+
export interface IAddress {
|
|
62
|
+
id?: string;
|
|
63
|
+
street?: string | null;
|
|
64
|
+
streetNumber?: string | null;
|
|
65
|
+
city?: string | null;
|
|
66
|
+
region?: string | null;
|
|
67
|
+
postalCode?: string | null;
|
|
68
|
+
country?: string | null;
|
|
69
|
+
}
|
|
70
|
+
export interface IShellConfig {
|
|
71
|
+
appLogo: string;
|
|
72
|
+
appLogoAlt: string;
|
|
73
|
+
showHeader: boolean;
|
|
74
|
+
showUserNameOnHeader: boolean;
|
|
75
|
+
customHeaderComponent?: any;
|
|
76
|
+
showFooter: boolean;
|
|
77
|
+
customFooterComponent?: any;
|
|
78
|
+
fluid: boolean;
|
|
79
|
+
}
|
|
80
|
+
export declare class DefaultShellConfig implements IShellConfig {
|
|
81
|
+
appLogo: string;
|
|
82
|
+
appLogoAlt: string;
|
|
83
|
+
showHeader: boolean;
|
|
84
|
+
showUserNameOnHeader: boolean;
|
|
85
|
+
showFooter: boolean;
|
|
86
|
+
fluid: boolean;
|
|
87
|
+
}
|
|
88
|
+
export declare enum SCREEN_SIZE {
|
|
89
|
+
XS = 0,
|
|
90
|
+
SM = 1,
|
|
91
|
+
MD = 2,
|
|
92
|
+
LG = 3,
|
|
93
|
+
XL = 4
|
|
94
|
+
}
|
|
95
|
+
export interface IScreenSize {
|
|
96
|
+
id: SCREEN_SIZE;
|
|
97
|
+
name: string;
|
|
98
|
+
css: string;
|
|
99
|
+
}
|
|
100
|
+
export declare enum ToastType {
|
|
101
|
+
Info = "info",
|
|
102
|
+
Success = "success",
|
|
103
|
+
Error = "error",
|
|
104
|
+
Warning = "warning"
|
|
105
|
+
}
|
|
106
|
+
export declare const NULL_TOAST: Toast;
|
|
107
|
+
export interface Toast {
|
|
108
|
+
type: ToastType;
|
|
109
|
+
title: string;
|
|
110
|
+
body: string;
|
|
111
|
+
delay: number;
|
|
112
|
+
}
|
|
113
|
+
export declare enum SidePaneSize {
|
|
114
|
+
Default = "",
|
|
115
|
+
Small25 = "25%",
|
|
116
|
+
Medium50 = "50%",
|
|
117
|
+
Large75 = "75%"
|
|
118
|
+
}
|
|
119
|
+
export declare enum SidePaneOverlayType {
|
|
120
|
+
Default = "",
|
|
121
|
+
None = "-opacity-0",
|
|
122
|
+
Light = "",
|
|
123
|
+
Dark = "-opacity-50"
|
|
124
|
+
}
|