@indice/ng-components 0.2.174 → 0.3.0
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 +63 -15
- package/{esm2020 → esm2022}/indice-ng-components.mjs +4 -4
- package/esm2022/lib/controls/advanced-search/advanced-search.component.mjs +156 -0
- package/esm2022/lib/controls/advanced-search/models.mjs +109 -0
- package/esm2022/lib/controls/avatar-initials/avatar-initials.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb-item.mjs +14 -14
- package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb.component.mjs +26 -26
- package/{esm2020 → esm2022}/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -20
- package/esm2022/lib/controls/combobox/combobox.component.mjs +121 -0
- package/esm2022/lib/controls/content-tile/content-tile-header/content-tile-header.component.mjs +17 -0
- package/esm2022/lib/controls/content-tile/content-tile-item/content-tile-item.component.mjs +19 -0
- package/esm2022/lib/controls/content-tile/content-tile.component.mjs +63 -0
- package/esm2022/lib/controls/date-picker/date-picker.component.mjs +300 -0
- package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +72 -0
- package/{esm2020 → esm2022}/lib/controls/kpi-tile/kpi-tile.component.mjs +43 -43
- package/esm2022/lib/controls/language-selection/language-selection.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/controls/list-view/list-column.component.mjs +25 -25
- package/{esm2020 → esm2022}/lib/controls/list-view/list-details-section.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/controls/list-view/list-tile.component.mjs +17 -17
- package/esm2022/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
- package/esm2022/lib/controls/list-view/list-view.component.mjs +210 -0
- package/{esm2020 → esm2022}/lib/controls/nav-links-list/nav-links-list.component.mjs +54 -54
- package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +79 -0
- package/esm2022/lib/controls/pager/pager.component.mjs +130 -0
- package/esm2022/lib/controls/progress-bar/progress-bar.component.mjs +46 -0
- package/esm2022/lib/controls/side-pane/side-pane.component.mjs +87 -0
- package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +29 -0
- package/esm2022/lib/controls/stats-grid/stats-grid.component.mjs +49 -0
- package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-info.directive.mjs +16 -16
- package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-label.directive.mjs +16 -16
- package/esm2022/lib/controls/stepper/lib-step.component.mjs +81 -0
- package/esm2022/lib/controls/stepper/lib-stepper.component.mjs +108 -0
- package/{esm2020 → esm2022}/lib/controls/stepper/types/step-selected-event.mjs +3 -3
- package/{esm2020 → esm2022}/lib/controls/stepper/types/stepper-type.mjs +11 -11
- package/esm2022/lib/controls/tabs/lib-tab-group.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab-label.directive.mjs +16 -16
- package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab.component.mjs +57 -57
- package/{esm2020 → esm2022}/lib/controls/toaster/toaster-container.component.mjs +28 -28
- package/{esm2020 → esm2022}/lib/controls/toaster/toaster.component.mjs +31 -31
- package/esm2022/lib/controls/toggle/toggle.component.mjs +64 -0
- package/esm2022/lib/controls/toggle-button/toggle-button.component.mjs +87 -0
- package/esm2022/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +34 -0
- package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +71 -0
- package/esm2022/lib/directives/click-outside.directive.mjs +189 -0
- package/{esm2020 → esm2022}/lib/directives/dynamic-component-host.directive.mjs +17 -17
- package/esm2022/lib/helpers/base-list.component.mjs +230 -0
- package/esm2022/lib/icons.mjs +36 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-footer/shell-footer.component.mjs +19 -19
- package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +130 -0
- package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +90 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +54 -54
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +45 -45
- package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +20 -20
- package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +86 -0
- package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +101 -0
- package/esm2022/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +106 -0
- package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
- package/esm2022/lib/ng-components.module.mjs +320 -0
- package/esm2022/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
- package/esm2022/lib/pages/auth/auth-renew/auth-renew.component.mjs +31 -0
- package/{esm2020 → esm2022}/lib/pages/auth/logged-out/logged-out.component.mjs +28 -28
- package/{esm2020 → esm2022}/lib/pages/http-status/error/error.component.mjs +17 -17
- package/{esm2020 → esm2022}/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -15
- package/{esm2020 → esm2022}/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -14
- package/esm2022/lib/pipes/address.pipe.mjs +21 -0
- package/esm2022/lib/pipes/duration-format.pipe.mjs +64 -0
- package/esm2022/lib/pipes/short-number.pipe.mjs +43 -0
- package/esm2022/lib/services/breadcrumb.service.mjs +174 -0
- package/{esm2020 → esm2022}/lib/services/component-loader/component-loader-options.class.mjs +7 -7
- package/esm2022/lib/services/component-loader/component-loader.class.mjs +188 -0
- package/esm2022/lib/services/component-loader/component-loader.factory.mjs +32 -0
- package/{esm2020 → esm2022}/lib/services/component-loader/content-ref.class.mjs +12 -12
- package/esm2022/lib/services/modal-service/modal-backdrop-component.mjs +44 -0
- package/esm2022/lib/services/modal-service/modal-container-component.mjs +126 -0
- package/{esm2020 → esm2022}/lib/services/modal-service/modal-options.class.mjs +35 -35
- package/esm2022/lib/services/modal-service/modal-service.mjs +220 -0
- package/{esm2020 → esm2022}/lib/services/modal-service/modal-styles.class.mjs +10 -10
- package/{esm2020 → esm2022}/lib/services/modal-service/modal.class.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/toaster.service.mjs +26 -26
- package/esm2022/lib/services/user-settings.service.mjs +35 -0
- package/esm2022/lib/services/utilities.service.mjs +47 -0
- package/{esm2020 → esm2022}/lib/tokens.mjs +7 -7
- package/esm2022/lib/types.mjs +133 -0
- package/{esm2020 → esm2022}/public-api.mjs +78 -70
- package/{fesm2020 → fesm2022}/indice-ng-components.mjs +4898 -4592
- package/fesm2022/indice-ng-components.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/controls/advanced-search/advanced-search.component.d.ts +40 -40
- package/lib/controls/advanced-search/models.d.ts +91 -91
- package/lib/controls/avatar-initials/avatar-initials.component.d.ts +14 -14
- package/lib/controls/breadcrumb/breadcrumb-item.d.ts +7 -7
- package/lib/controls/breadcrumb/breadcrumb.component.d.ts +12 -12
- package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +10 -10
- package/lib/controls/combobox/combobox.component.d.ts +35 -34
- package/lib/controls/content-tile/content-tile-header/content-tile-header.component.d.ts +7 -0
- package/lib/controls/content-tile/content-tile-item/content-tile-item.component.d.ts +8 -0
- package/lib/controls/content-tile/content-tile.component.d.ts +23 -0
- package/lib/controls/date-picker/date-picker.component.d.ts +53 -53
- package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +26 -26
- package/lib/controls/kpi-tile/kpi-tile.component.d.ts +15 -15
- package/lib/controls/language-selection/language-selection.component.d.ts +14 -14
- package/lib/controls/list-view/list-column.component.d.ts +9 -9
- package/lib/controls/list-view/list-details-section.component.d.ts +7 -7
- package/lib/controls/list-view/list-tile.component.d.ts +7 -7
- package/lib/controls/list-view/list-view-empty-state.component.d.ts +11 -11
- package/lib/controls/list-view/list-view.component.d.ts +62 -61
- package/lib/controls/nav-links-list/nav-links-list.component.d.ts +21 -21
- package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +22 -22
- package/lib/controls/pager/pager.component.d.ts +36 -36
- package/lib/controls/progress-bar/progress-bar.component.d.ts +16 -0
- package/lib/controls/side-pane/side-pane.component.d.ts +22 -18
- package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +12 -11
- package/lib/controls/stats-grid/stats-grid.component.d.ts +16 -0
- package/lib/controls/stepper/lib-step-info.directive.d.ts +8 -8
- package/lib/controls/stepper/lib-step-label.directive.d.ts +8 -8
- package/lib/controls/stepper/lib-step.component.d.ts +34 -34
- package/lib/controls/stepper/lib-stepper.component.d.ts +43 -43
- package/lib/controls/stepper/types/step-selected-event.d.ts +12 -12
- package/lib/controls/stepper/types/stepper-type.d.ts +10 -10
- package/lib/controls/tabs/lib-tab-group.component.d.ts +21 -21
- package/lib/controls/tabs/lib-tab-label.directive.d.ts +8 -8
- package/lib/controls/tabs/lib-tab.component.d.ts +24 -24
- package/lib/controls/toaster/toaster-container.component.d.ts +13 -13
- package/lib/controls/toaster/toaster.component.d.ts +15 -15
- package/lib/controls/toggle/toggle.component.d.ts +19 -19
- package/lib/controls/toggle-button/toggle-button.component.d.ts +25 -25
- package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +15 -14
- package/lib/controls/user-profile-menu/user-profile-menu.component.d.ts +24 -24
- package/lib/directives/click-outside.directive.d.ts +40 -40
- package/lib/directives/dynamic-component-host.directive.d.ts +9 -9
- package/lib/helpers/base-list.component.d.ts +54 -53
- package/lib/icons.d.ts +34 -34
- package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +8 -8
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +39 -39
- package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +26 -26
- package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +20 -20
- package/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.d.ts +14 -14
- package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +15 -15
- package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +10 -10
- package/lib/layouts/views/form-layout/form-layout.component.d.ts +26 -24
- package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +42 -42
- package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +29 -28
- package/lib/layouts/views/view-layout/view-layout.component.d.ts +31 -31
- package/lib/ng-components.module.d.ts +71 -65
- package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +13 -13
- package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +12 -12
- package/lib/pages/auth/logged-out/logged-out.component.d.ts +12 -12
- package/lib/pages/http-status/error/error.component.d.ts +8 -8
- package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +8 -8
- package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -8
- package/lib/pipes/address.pipe.d.ts +8 -8
- package/lib/pipes/duration-format.pipe.d.ts +8 -8
- package/lib/pipes/short-number.pipe.d.ts +7 -0
- package/lib/services/breadcrumb.service.d.ts +29 -29
- 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 +24 -24
- package/lib/services/component-loader/content-ref.class.d.ts +12 -12
- package/lib/services/modal-service/modal-backdrop-component.d.ts +20 -20
- package/lib/services/modal-service/modal-container-component.d.ts +33 -33
- package/lib/services/modal-service/modal-options.class.d.ts +81 -81
- package/lib/services/modal-service/modal-service.d.ts +58 -58
- package/lib/services/modal-service/modal-styles.class.d.ts +10 -10
- package/lib/services/modal-service/modal.class.d.ts +43 -43
- package/lib/services/toaster.service.d.ts +11 -11
- package/lib/services/user-settings.service.d.ts +13 -13
- package/lib/services/utilities.service.d.ts +11 -11
- package/lib/tokens.d.ts +10 -10
- package/lib/types.d.ts +179 -177
- package/package.json +14 -21
- package/public-api.d.ts +68 -60
- package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +0 -156
- package/esm2020/lib/controls/advanced-search/models.mjs +0 -109
- package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +0 -48
- package/esm2020/lib/controls/combobox/combobox.component.mjs +0 -117
- package/esm2020/lib/controls/date-picker/date-picker.component.mjs +0 -292
- package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +0 -72
- package/esm2020/lib/controls/language-selection/language-selection.component.mjs +0 -31
- package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +0 -29
- package/esm2020/lib/controls/list-view/list-view.component.mjs +0 -206
- package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +0 -79
- package/esm2020/lib/controls/pager/pager.component.mjs +0 -130
- package/esm2020/lib/controls/side-pane/side-pane.component.mjs +0 -72
- package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +0 -25
- package/esm2020/lib/controls/stepper/lib-step.component.mjs +0 -81
- package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +0 -108
- package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +0 -66
- package/esm2020/lib/controls/toggle/toggle.component.mjs +0 -64
- package/esm2020/lib/controls/toggle-button/toggle-button.component.mjs +0 -87
- package/esm2020/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +0 -31
- package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +0 -71
- package/esm2020/lib/directives/click-outside.directive.mjs +0 -189
- package/esm2020/lib/helpers/base-list.component.mjs +0 -226
- package/esm2020/lib/icons.mjs +0 -36
- package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +0 -130
- package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +0 -90
- package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +0 -30
- package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +0 -80
- package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +0 -101
- package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +0 -98
- package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +0 -104
- package/esm2020/lib/ng-components.module.mjs +0 -288
- package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +0 -30
- package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +0 -31
- package/esm2020/lib/pipes/address.pipe.mjs +0 -21
- package/esm2020/lib/pipes/duration-format.pipe.mjs +0 -64
- package/esm2020/lib/services/breadcrumb.service.mjs +0 -174
- package/esm2020/lib/services/component-loader/component-loader.class.mjs +0 -188
- package/esm2020/lib/services/component-loader/component-loader.factory.mjs +0 -32
- package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +0 -44
- package/esm2020/lib/services/modal-service/modal-container-component.mjs +0 -126
- package/esm2020/lib/services/modal-service/modal-service.mjs +0 -220
- package/esm2020/lib/services/user-settings.service.mjs +0 -35
- package/esm2020/lib/services/utilities.service.mjs +0 -47
- package/esm2020/lib/types.mjs +0 -132
- package/fesm2015/indice-ng-components.mjs +0 -4852
- package/fesm2015/indice-ng-components.mjs.map +0 -1
- package/fesm2020/indice-ng-components.mjs.map +0 -1
|
@@ -1,58 +1,58 @@
|
|
|
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
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* A service for using modals.
|
|
9
|
-
*
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export declare class ModalService implements OnDestroy {
|
|
13
|
-
private clf;
|
|
14
|
-
private document;
|
|
15
|
-
private onBeforeShow;
|
|
16
|
-
private onShown;
|
|
17
|
-
private onBeforeHide;
|
|
18
|
-
private onHidden;
|
|
19
|
-
private backdropRef?;
|
|
20
|
-
private defaultConfig;
|
|
21
|
-
private backdropLoader;
|
|
22
|
-
private loaders;
|
|
23
|
-
private renderer;
|
|
24
|
-
private modalsCount;
|
|
25
|
-
private initialPadding;
|
|
26
|
-
constructor(clf: ComponentLoaderFactory, rendererFactory: RendererFactory2, document: any, modalDefaultOption: ModalOptions);
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
/**
|
|
29
|
-
* Opens a new modal.
|
|
30
|
-
*
|
|
31
|
-
* @param content - `Component` or `TemplateRef` type.
|
|
32
|
-
* @param config - Specific {@link ModalOptions | options} for this modal. Global and specific options are merged.
|
|
33
|
-
* @returns An instance of {@link Modal}
|
|
34
|
-
*/
|
|
35
|
-
show<T>(content: string | TemplateRef<any> | {
|
|
36
|
-
new (...args: any[]): T;
|
|
37
|
-
}, config?: ModalOptions<T>): Modal<T>;
|
|
38
|
-
/**
|
|
39
|
-
* Hide an active modal.
|
|
40
|
-
* @param id - Id of modal to hide. If not provided all active modals are hidden.
|
|
41
|
-
* @param result - A result to be sent to observers.
|
|
42
|
-
*/
|
|
43
|
-
hide(id?: number | string, result?: any): void;
|
|
44
|
-
getActiveModal(): ModalContainerComponent;
|
|
45
|
-
private showModal;
|
|
46
|
-
private hideModal;
|
|
47
|
-
private showBackdrop;
|
|
48
|
-
private hideBackdrop;
|
|
49
|
-
private removeLoaders;
|
|
50
|
-
private addBodyPadding;
|
|
51
|
-
private revertScrollbar;
|
|
52
|
-
private getScrollbarWidth;
|
|
53
|
-
private isScrollBarPresent;
|
|
54
|
-
private createLoaders;
|
|
55
|
-
private copyEvent;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, [null, null, null, { optional: true; }]>;
|
|
57
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
58
|
-
}
|
|
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
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* A service for using modals.
|
|
9
|
+
*
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare class ModalService implements OnDestroy {
|
|
13
|
+
private clf;
|
|
14
|
+
private document;
|
|
15
|
+
private onBeforeShow;
|
|
16
|
+
private onShown;
|
|
17
|
+
private onBeforeHide;
|
|
18
|
+
private onHidden;
|
|
19
|
+
private backdropRef?;
|
|
20
|
+
private defaultConfig;
|
|
21
|
+
private backdropLoader;
|
|
22
|
+
private loaders;
|
|
23
|
+
private renderer;
|
|
24
|
+
private modalsCount;
|
|
25
|
+
private initialPadding;
|
|
26
|
+
constructor(clf: ComponentLoaderFactory, rendererFactory: RendererFactory2, document: any, modalDefaultOption: ModalOptions);
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Opens a new modal.
|
|
30
|
+
*
|
|
31
|
+
* @param content - `Component` or `TemplateRef` type.
|
|
32
|
+
* @param config - Specific {@link ModalOptions | options} for this modal. Global and specific options are merged.
|
|
33
|
+
* @returns An instance of {@link Modal}
|
|
34
|
+
*/
|
|
35
|
+
show<T>(content: string | TemplateRef<any> | {
|
|
36
|
+
new (...args: any[]): T;
|
|
37
|
+
}, config?: ModalOptions<T>): Modal<T>;
|
|
38
|
+
/**
|
|
39
|
+
* Hide an active modal.
|
|
40
|
+
* @param id - Id of modal to hide. If not provided all active modals are hidden.
|
|
41
|
+
* @param result - A result to be sent to observers.
|
|
42
|
+
*/
|
|
43
|
+
hide(id?: number | string, result?: any): void;
|
|
44
|
+
getActiveModal(): ModalContainerComponent;
|
|
45
|
+
private showModal;
|
|
46
|
+
private hideModal;
|
|
47
|
+
private showBackdrop;
|
|
48
|
+
private hideBackdrop;
|
|
49
|
+
private removeLoaders;
|
|
50
|
+
private addBodyPadding;
|
|
51
|
+
private revertScrollbar;
|
|
52
|
+
private getScrollbarWidth;
|
|
53
|
+
private isScrollBarPresent;
|
|
54
|
+
private createLoaders;
|
|
55
|
+
private copyEvent;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, [null, null, null, { optional: true; }]>;
|
|
57
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
58
|
+
}
|
|
@@ -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,43 +1,43 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Modal class.
|
|
5
|
-
* @remarks
|
|
6
|
-
* This is returned from {@link ModalService.show}.
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare class Modal<T = any> {
|
|
10
|
-
/**
|
|
11
|
-
* Event that is fired when the modal behind the ref starts hiding.
|
|
12
|
-
* @returns
|
|
13
|
-
* Modal component instance.
|
|
14
|
-
*/
|
|
15
|
-
onBeforeHide?: Subject<unknown>;
|
|
16
|
-
/**
|
|
17
|
-
* Event that is fired when the modal behind the ref finishes hiding.
|
|
18
|
-
* @returns
|
|
19
|
-
* An object containing the id of the closed modal and result.
|
|
20
|
-
*/
|
|
21
|
-
onHidden?: Subject<unknown>;
|
|
22
|
-
/**
|
|
23
|
-
* Id of this modal.
|
|
24
|
-
*/
|
|
25
|
-
id?: number | string;
|
|
26
|
-
/**
|
|
27
|
-
* Reference to a component inside the modal. Null if modal's been created with TemplateRef.
|
|
28
|
-
* @remarks
|
|
29
|
-
* You can use this to do nasty stuff with opened modal instance.
|
|
30
|
-
*/
|
|
31
|
-
content?: T;
|
|
32
|
-
/**
|
|
33
|
-
* Hides the modal
|
|
34
|
-
* @param result - A result to the observers.
|
|
35
|
-
*/
|
|
36
|
-
hide: (result?: any) => void;
|
|
37
|
-
/**
|
|
38
|
-
* Sets new class to modal window.
|
|
39
|
-
*/
|
|
40
|
-
setClass: (newClass: string) => void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Modal<any>, never>;
|
|
42
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Modal<any>>;
|
|
43
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Modal class.
|
|
5
|
+
* @remarks
|
|
6
|
+
* This is returned from {@link ModalService.show}.
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class Modal<T = any> {
|
|
10
|
+
/**
|
|
11
|
+
* Event that is fired when the modal behind the ref starts hiding.
|
|
12
|
+
* @returns
|
|
13
|
+
* Modal component instance.
|
|
14
|
+
*/
|
|
15
|
+
onBeforeHide?: Subject<unknown>;
|
|
16
|
+
/**
|
|
17
|
+
* Event that is fired when the modal behind the ref finishes hiding.
|
|
18
|
+
* @returns
|
|
19
|
+
* An object containing the id of the closed modal and result.
|
|
20
|
+
*/
|
|
21
|
+
onHidden?: Subject<unknown>;
|
|
22
|
+
/**
|
|
23
|
+
* Id of this modal.
|
|
24
|
+
*/
|
|
25
|
+
id?: number | string;
|
|
26
|
+
/**
|
|
27
|
+
* Reference to a component inside the modal. Null if modal's been created with TemplateRef.
|
|
28
|
+
* @remarks
|
|
29
|
+
* You can use this to do nasty stuff with opened modal instance.
|
|
30
|
+
*/
|
|
31
|
+
content?: T;
|
|
32
|
+
/**
|
|
33
|
+
* Hides the modal
|
|
34
|
+
* @param result - A result to the observers.
|
|
35
|
+
*/
|
|
36
|
+
hide: (result?: any) => void;
|
|
37
|
+
/**
|
|
38
|
+
* Sets new class to modal window.
|
|
39
|
+
*/
|
|
40
|
+
setClass: (newClass: string) => void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Modal<any>, never>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Modal<any>>;
|
|
43
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Toast, ToastType } from '../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ToasterService {
|
|
5
|
-
private _subject;
|
|
6
|
-
constructor();
|
|
7
|
-
toast$: Observable<Toast>;
|
|
8
|
-
show(type: ToastType, title?: string, body?: string, delay?: number): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
11
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Toast, ToastType } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToasterService {
|
|
5
|
+
private _subject;
|
|
6
|
+
constructor();
|
|
7
|
+
toast$: Observable<Toast>;
|
|
8
|
+
show(type: ToastType, title?: string, body?: string, delay?: number): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
11
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { UserSettingKey } from '../types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class UserSettingsService {
|
|
4
|
-
private static SETTINGS_KEY;
|
|
5
|
-
private _defaultPreferences;
|
|
6
|
-
getAll(): {
|
|
7
|
-
[key in UserSettingKey]: any;
|
|
8
|
-
};
|
|
9
|
-
get(key: UserSettingKey): any;
|
|
10
|
-
set(key: UserSettingKey, value: any): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserSettingsService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserSettingsService>;
|
|
13
|
-
}
|
|
1
|
+
import { UserSettingKey } from '../types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UserSettingsService {
|
|
4
|
+
private static SETTINGS_KEY;
|
|
5
|
+
private _defaultPreferences;
|
|
6
|
+
getAll(): {
|
|
7
|
+
[key in UserSettingKey]: any;
|
|
8
|
+
};
|
|
9
|
+
get(key: UserSettingKey): any;
|
|
10
|
+
set(key: UserSettingKey, value: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSettingsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserSettingsService>;
|
|
13
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IValidationProblemDetails } from '../types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class UtilitiesService {
|
|
4
|
-
constructor();
|
|
5
|
-
problemDetails?: IValidationProblemDetails;
|
|
6
|
-
get validationErrors(): string[];
|
|
7
|
-
getValidationProblemDetails(problemDetails: IValidationProblemDetails): string[];
|
|
8
|
-
getPathFromUrl(url: string): string | undefined;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UtilitiesService>;
|
|
11
|
-
}
|
|
1
|
+
import { IValidationProblemDetails } from '../types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UtilitiesService {
|
|
4
|
+
constructor();
|
|
5
|
+
problemDetails?: IValidationProblemDetails;
|
|
6
|
+
get validationErrors(): string[];
|
|
7
|
+
getValidationProblemDetails(problemDetails: IValidationProblemDetails): string[];
|
|
8
|
+
getPathFromUrl(url: string): string | undefined;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilitiesService>;
|
|
11
|
+
}
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { IAppLinks, IAppLanguagesService, IAppNotifications, IShellConfig } from './types';
|
|
3
|
-
import { LibStepperComponent } from './controls/stepper/lib-stepper.component';
|
|
4
|
-
import { LibTabGroupComponent } from './controls/tabs/lib-tab-group.component';
|
|
5
|
-
export declare const APP_LANGUAGES: InjectionToken<IAppLanguagesService>;
|
|
6
|
-
export declare const APP_LINKS: InjectionToken<IAppLinks>;
|
|
7
|
-
export declare const APP_NOTIFICATIONS: InjectionToken<IAppNotifications>;
|
|
8
|
-
export declare const LIBSTEPPER_ACCESSOR: InjectionToken<LibStepperComponent>;
|
|
9
|
-
export declare const LIBTABGROUP_ACCESSOR: InjectionToken<LibTabGroupComponent>;
|
|
10
|
-
export declare const SHELL_CONFIG: InjectionToken<IShellConfig>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { IAppLinks, IAppLanguagesService, IAppNotifications, IShellConfig } from './types';
|
|
3
|
+
import { LibStepperComponent } from './controls/stepper/lib-stepper.component';
|
|
4
|
+
import { LibTabGroupComponent } from './controls/tabs/lib-tab-group.component';
|
|
5
|
+
export declare const APP_LANGUAGES: InjectionToken<IAppLanguagesService>;
|
|
6
|
+
export declare const APP_LINKS: InjectionToken<IAppLinks>;
|
|
7
|
+
export declare const APP_NOTIFICATIONS: InjectionToken<IAppNotifications>;
|
|
8
|
+
export declare const LIBSTEPPER_ACCESSOR: InjectionToken<LibStepperComponent>;
|
|
9
|
+
export declare const LIBTABGROUP_ACCESSOR: InjectionToken<LibTabGroupComponent>;
|
|
10
|
+
export declare const SHELL_CONFIG: InjectionToken<IShellConfig>;
|