@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.
Files changed (219) hide show
  1. package/_styles.scss +63 -15
  2. package/{esm2020 → esm2022}/indice-ng-components.mjs +4 -4
  3. package/esm2022/lib/controls/advanced-search/advanced-search.component.mjs +156 -0
  4. package/esm2022/lib/controls/advanced-search/models.mjs +109 -0
  5. package/esm2022/lib/controls/avatar-initials/avatar-initials.component.mjs +48 -0
  6. package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb-item.mjs +14 -14
  7. package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb.component.mjs +26 -26
  8. package/{esm2020 → esm2022}/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -20
  9. package/esm2022/lib/controls/combobox/combobox.component.mjs +121 -0
  10. package/esm2022/lib/controls/content-tile/content-tile-header/content-tile-header.component.mjs +17 -0
  11. package/esm2022/lib/controls/content-tile/content-tile-item/content-tile-item.component.mjs +19 -0
  12. package/esm2022/lib/controls/content-tile/content-tile.component.mjs +63 -0
  13. package/esm2022/lib/controls/date-picker/date-picker.component.mjs +300 -0
  14. package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +72 -0
  15. package/{esm2020 → esm2022}/lib/controls/kpi-tile/kpi-tile.component.mjs +43 -43
  16. package/esm2022/lib/controls/language-selection/language-selection.component.mjs +31 -0
  17. package/{esm2020 → esm2022}/lib/controls/list-view/list-column.component.mjs +25 -25
  18. package/{esm2020 → esm2022}/lib/controls/list-view/list-details-section.component.mjs +17 -17
  19. package/{esm2020 → esm2022}/lib/controls/list-view/list-tile.component.mjs +17 -17
  20. package/esm2022/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
  21. package/esm2022/lib/controls/list-view/list-view.component.mjs +210 -0
  22. package/{esm2020 → esm2022}/lib/controls/nav-links-list/nav-links-list.component.mjs +54 -54
  23. package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +79 -0
  24. package/esm2022/lib/controls/pager/pager.component.mjs +130 -0
  25. package/esm2022/lib/controls/progress-bar/progress-bar.component.mjs +46 -0
  26. package/esm2022/lib/controls/side-pane/side-pane.component.mjs +87 -0
  27. package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +29 -0
  28. package/esm2022/lib/controls/stats-grid/stats-grid.component.mjs +49 -0
  29. package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-info.directive.mjs +16 -16
  30. package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-label.directive.mjs +16 -16
  31. package/esm2022/lib/controls/stepper/lib-step.component.mjs +81 -0
  32. package/esm2022/lib/controls/stepper/lib-stepper.component.mjs +108 -0
  33. package/{esm2020 → esm2022}/lib/controls/stepper/types/step-selected-event.mjs +3 -3
  34. package/{esm2020 → esm2022}/lib/controls/stepper/types/stepper-type.mjs +11 -11
  35. package/esm2022/lib/controls/tabs/lib-tab-group.component.mjs +66 -0
  36. package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab-label.directive.mjs +16 -16
  37. package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab.component.mjs +57 -57
  38. package/{esm2020 → esm2022}/lib/controls/toaster/toaster-container.component.mjs +28 -28
  39. package/{esm2020 → esm2022}/lib/controls/toaster/toaster.component.mjs +31 -31
  40. package/esm2022/lib/controls/toggle/toggle.component.mjs +64 -0
  41. package/esm2022/lib/controls/toggle-button/toggle-button.component.mjs +87 -0
  42. package/esm2022/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +34 -0
  43. package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +71 -0
  44. package/esm2022/lib/directives/click-outside.directive.mjs +189 -0
  45. package/{esm2020 → esm2022}/lib/directives/dynamic-component-host.directive.mjs +17 -17
  46. package/esm2022/lib/helpers/base-list.component.mjs +230 -0
  47. package/esm2022/lib/icons.mjs +36 -0
  48. package/{esm2020 → esm2022}/lib/layouts/shell/shell-footer/shell-footer.component.mjs +19 -19
  49. package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +130 -0
  50. package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +90 -0
  51. package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +54 -54
  52. package/{esm2020 → esm2022}/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +45 -45
  53. package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +30 -0
  54. package/{esm2020 → esm2022}/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +20 -20
  55. package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +86 -0
  56. package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +101 -0
  57. package/esm2022/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +106 -0
  58. package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
  59. package/esm2022/lib/ng-components.module.mjs +320 -0
  60. package/esm2022/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
  61. package/esm2022/lib/pages/auth/auth-renew/auth-renew.component.mjs +31 -0
  62. package/{esm2020 → esm2022}/lib/pages/auth/logged-out/logged-out.component.mjs +28 -28
  63. package/{esm2020 → esm2022}/lib/pages/http-status/error/error.component.mjs +17 -17
  64. package/{esm2020 → esm2022}/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -15
  65. package/{esm2020 → esm2022}/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -14
  66. package/esm2022/lib/pipes/address.pipe.mjs +21 -0
  67. package/esm2022/lib/pipes/duration-format.pipe.mjs +64 -0
  68. package/esm2022/lib/pipes/short-number.pipe.mjs +43 -0
  69. package/esm2022/lib/services/breadcrumb.service.mjs +174 -0
  70. package/{esm2020 → esm2022}/lib/services/component-loader/component-loader-options.class.mjs +7 -7
  71. package/esm2022/lib/services/component-loader/component-loader.class.mjs +188 -0
  72. package/esm2022/lib/services/component-loader/component-loader.factory.mjs +32 -0
  73. package/{esm2020 → esm2022}/lib/services/component-loader/content-ref.class.mjs +12 -12
  74. package/esm2022/lib/services/modal-service/modal-backdrop-component.mjs +44 -0
  75. package/esm2022/lib/services/modal-service/modal-container-component.mjs +126 -0
  76. package/{esm2020 → esm2022}/lib/services/modal-service/modal-options.class.mjs +35 -35
  77. package/esm2022/lib/services/modal-service/modal-service.mjs +220 -0
  78. package/{esm2020 → esm2022}/lib/services/modal-service/modal-styles.class.mjs +10 -10
  79. package/{esm2020 → esm2022}/lib/services/modal-service/modal.class.mjs +27 -27
  80. package/{esm2020 → esm2022}/lib/services/toaster.service.mjs +26 -26
  81. package/esm2022/lib/services/user-settings.service.mjs +35 -0
  82. package/esm2022/lib/services/utilities.service.mjs +47 -0
  83. package/{esm2020 → esm2022}/lib/tokens.mjs +7 -7
  84. package/esm2022/lib/types.mjs +133 -0
  85. package/{esm2020 → esm2022}/public-api.mjs +78 -70
  86. package/{fesm2020 → fesm2022}/indice-ng-components.mjs +4898 -4592
  87. package/fesm2022/indice-ng-components.mjs.map +1 -0
  88. package/index.d.ts +5 -5
  89. package/lib/controls/advanced-search/advanced-search.component.d.ts +40 -40
  90. package/lib/controls/advanced-search/models.d.ts +91 -91
  91. package/lib/controls/avatar-initials/avatar-initials.component.d.ts +14 -14
  92. package/lib/controls/breadcrumb/breadcrumb-item.d.ts +7 -7
  93. package/lib/controls/breadcrumb/breadcrumb.component.d.ts +12 -12
  94. package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +10 -10
  95. package/lib/controls/combobox/combobox.component.d.ts +35 -34
  96. package/lib/controls/content-tile/content-tile-header/content-tile-header.component.d.ts +7 -0
  97. package/lib/controls/content-tile/content-tile-item/content-tile-item.component.d.ts +8 -0
  98. package/lib/controls/content-tile/content-tile.component.d.ts +23 -0
  99. package/lib/controls/date-picker/date-picker.component.d.ts +53 -53
  100. package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +26 -26
  101. package/lib/controls/kpi-tile/kpi-tile.component.d.ts +15 -15
  102. package/lib/controls/language-selection/language-selection.component.d.ts +14 -14
  103. package/lib/controls/list-view/list-column.component.d.ts +9 -9
  104. package/lib/controls/list-view/list-details-section.component.d.ts +7 -7
  105. package/lib/controls/list-view/list-tile.component.d.ts +7 -7
  106. package/lib/controls/list-view/list-view-empty-state.component.d.ts +11 -11
  107. package/lib/controls/list-view/list-view.component.d.ts +62 -61
  108. package/lib/controls/nav-links-list/nav-links-list.component.d.ts +21 -21
  109. package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +22 -22
  110. package/lib/controls/pager/pager.component.d.ts +36 -36
  111. package/lib/controls/progress-bar/progress-bar.component.d.ts +16 -0
  112. package/lib/controls/side-pane/side-pane.component.d.ts +22 -18
  113. package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +12 -11
  114. package/lib/controls/stats-grid/stats-grid.component.d.ts +16 -0
  115. package/lib/controls/stepper/lib-step-info.directive.d.ts +8 -8
  116. package/lib/controls/stepper/lib-step-label.directive.d.ts +8 -8
  117. package/lib/controls/stepper/lib-step.component.d.ts +34 -34
  118. package/lib/controls/stepper/lib-stepper.component.d.ts +43 -43
  119. package/lib/controls/stepper/types/step-selected-event.d.ts +12 -12
  120. package/lib/controls/stepper/types/stepper-type.d.ts +10 -10
  121. package/lib/controls/tabs/lib-tab-group.component.d.ts +21 -21
  122. package/lib/controls/tabs/lib-tab-label.directive.d.ts +8 -8
  123. package/lib/controls/tabs/lib-tab.component.d.ts +24 -24
  124. package/lib/controls/toaster/toaster-container.component.d.ts +13 -13
  125. package/lib/controls/toaster/toaster.component.d.ts +15 -15
  126. package/lib/controls/toggle/toggle.component.d.ts +19 -19
  127. package/lib/controls/toggle-button/toggle-button.component.d.ts +25 -25
  128. package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +15 -14
  129. package/lib/controls/user-profile-menu/user-profile-menu.component.d.ts +24 -24
  130. package/lib/directives/click-outside.directive.d.ts +40 -40
  131. package/lib/directives/dynamic-component-host.directive.d.ts +9 -9
  132. package/lib/helpers/base-list.component.d.ts +54 -53
  133. package/lib/icons.d.ts +34 -34
  134. package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +8 -8
  135. package/lib/layouts/shell/shell-header/shell-header.component.d.ts +39 -39
  136. package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +26 -26
  137. package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +20 -20
  138. package/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.d.ts +14 -14
  139. package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +15 -15
  140. package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +10 -10
  141. package/lib/layouts/views/form-layout/form-layout.component.d.ts +26 -24
  142. package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +42 -42
  143. package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +29 -28
  144. package/lib/layouts/views/view-layout/view-layout.component.d.ts +31 -31
  145. package/lib/ng-components.module.d.ts +71 -65
  146. package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +13 -13
  147. package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +12 -12
  148. package/lib/pages/auth/logged-out/logged-out.component.d.ts +12 -12
  149. package/lib/pages/http-status/error/error.component.d.ts +8 -8
  150. package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +8 -8
  151. package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -8
  152. package/lib/pipes/address.pipe.d.ts +8 -8
  153. package/lib/pipes/duration-format.pipe.d.ts +8 -8
  154. package/lib/pipes/short-number.pipe.d.ts +7 -0
  155. package/lib/services/breadcrumb.service.d.ts +29 -29
  156. package/lib/services/component-loader/component-loader-options.class.d.ts +30 -30
  157. package/lib/services/component-loader/component-loader.class.d.ts +92 -92
  158. package/lib/services/component-loader/component-loader.factory.d.ts +24 -24
  159. package/lib/services/component-loader/content-ref.class.d.ts +12 -12
  160. package/lib/services/modal-service/modal-backdrop-component.d.ts +20 -20
  161. package/lib/services/modal-service/modal-container-component.d.ts +33 -33
  162. package/lib/services/modal-service/modal-options.class.d.ts +81 -81
  163. package/lib/services/modal-service/modal-service.d.ts +58 -58
  164. package/lib/services/modal-service/modal-styles.class.d.ts +10 -10
  165. package/lib/services/modal-service/modal.class.d.ts +43 -43
  166. package/lib/services/toaster.service.d.ts +11 -11
  167. package/lib/services/user-settings.service.d.ts +13 -13
  168. package/lib/services/utilities.service.d.ts +11 -11
  169. package/lib/tokens.d.ts +10 -10
  170. package/lib/types.d.ts +179 -177
  171. package/package.json +14 -21
  172. package/public-api.d.ts +68 -60
  173. package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +0 -156
  174. package/esm2020/lib/controls/advanced-search/models.mjs +0 -109
  175. package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +0 -48
  176. package/esm2020/lib/controls/combobox/combobox.component.mjs +0 -117
  177. package/esm2020/lib/controls/date-picker/date-picker.component.mjs +0 -292
  178. package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +0 -72
  179. package/esm2020/lib/controls/language-selection/language-selection.component.mjs +0 -31
  180. package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +0 -29
  181. package/esm2020/lib/controls/list-view/list-view.component.mjs +0 -206
  182. package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +0 -79
  183. package/esm2020/lib/controls/pager/pager.component.mjs +0 -130
  184. package/esm2020/lib/controls/side-pane/side-pane.component.mjs +0 -72
  185. package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +0 -25
  186. package/esm2020/lib/controls/stepper/lib-step.component.mjs +0 -81
  187. package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +0 -108
  188. package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +0 -66
  189. package/esm2020/lib/controls/toggle/toggle.component.mjs +0 -64
  190. package/esm2020/lib/controls/toggle-button/toggle-button.component.mjs +0 -87
  191. package/esm2020/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +0 -31
  192. package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +0 -71
  193. package/esm2020/lib/directives/click-outside.directive.mjs +0 -189
  194. package/esm2020/lib/helpers/base-list.component.mjs +0 -226
  195. package/esm2020/lib/icons.mjs +0 -36
  196. package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +0 -130
  197. package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +0 -90
  198. package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +0 -30
  199. package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +0 -80
  200. package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +0 -101
  201. package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +0 -98
  202. package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +0 -104
  203. package/esm2020/lib/ng-components.module.mjs +0 -288
  204. package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +0 -30
  205. package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +0 -31
  206. package/esm2020/lib/pipes/address.pipe.mjs +0 -21
  207. package/esm2020/lib/pipes/duration-format.pipe.mjs +0 -64
  208. package/esm2020/lib/services/breadcrumb.service.mjs +0 -174
  209. package/esm2020/lib/services/component-loader/component-loader.class.mjs +0 -188
  210. package/esm2020/lib/services/component-loader/component-loader.factory.mjs +0 -32
  211. package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +0 -44
  212. package/esm2020/lib/services/modal-service/modal-container-component.mjs +0 -126
  213. package/esm2020/lib/services/modal-service/modal-service.mjs +0 -220
  214. package/esm2020/lib/services/user-settings.service.mjs +0 -35
  215. package/esm2020/lib/services/utilities.service.mjs +0 -47
  216. package/esm2020/lib/types.mjs +0 -132
  217. package/fesm2015/indice-ng-components.mjs +0 -4852
  218. package/fesm2015/indice-ng-components.mjs.map +0 -1
  219. 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>;