@indice/ng-components 0.2.175 → 0.3.1

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 (243) hide show
  1. package/README.md +4 -4
  2. package/_styles.scss +4323 -4275
  3. package/{esm2020 → esm2022}/indice-ng-components.mjs +4 -4
  4. package/esm2022/lib/controls/advanced-search/advanced-search.component.mjs +156 -0
  5. package/esm2022/lib/controls/advanced-search/models.mjs +109 -0
  6. package/esm2022/lib/controls/avatar-initials/avatar-initials.component.mjs +48 -0
  7. package/{esm2020 → esm2022}/lib/controls/breadcrumb/breadcrumb-item.mjs +14 -14
  8. package/esm2022/lib/controls/breadcrumb/breadcrumb.component.mjs +26 -0
  9. package/esm2022/lib/controls/collapsible-panel/collapsible-panel.component.mjs +20 -0
  10. package/esm2022/lib/controls/combobox/combobox.component.mjs +121 -0
  11. package/esm2022/lib/controls/content-tile/content-tile-header/content-tile-header.component.mjs +17 -0
  12. package/esm2022/lib/controls/content-tile/content-tile-item/content-tile-item.component.mjs +19 -0
  13. package/esm2022/lib/controls/content-tile/content-tile.component.mjs +63 -0
  14. package/esm2022/lib/controls/date-picker/date-picker.component.mjs +300 -0
  15. package/esm2022/lib/controls/drop-down-menu/drop-down-menu.component.mjs +72 -0
  16. package/esm2022/lib/controls/kpi-tile/kpi-tile.component.mjs +43 -0
  17. package/esm2022/lib/controls/language-selection/language-selection.component.mjs +31 -0
  18. package/{esm2020 → esm2022}/lib/controls/list-view/list-column.component.mjs +25 -25
  19. package/esm2022/lib/controls/list-view/list-details-section.component.mjs +17 -0
  20. package/{esm2020 → esm2022}/lib/controls/list-view/list-tile.component.mjs +17 -17
  21. package/esm2022/lib/controls/list-view/list-view-empty-state.component.mjs +29 -0
  22. package/esm2022/lib/controls/list-view/list-view.component.mjs +210 -0
  23. package/esm2022/lib/controls/nav-links-list/nav-links-list.component.mjs +54 -0
  24. package/esm2022/lib/controls/notifications-indicator/notifications-indicator.component.mjs +79 -0
  25. package/esm2022/lib/controls/pager/pager.component.mjs +130 -0
  26. package/esm2022/lib/controls/progress-bar/progress-bar.component.mjs +46 -0
  27. package/esm2022/lib/controls/side-pane/side-pane.component.mjs +87 -0
  28. package/esm2022/lib/controls/skeleton-loader/skeleton-loader.component.mjs +29 -0
  29. package/esm2022/lib/controls/stats-grid/stats-grid.component.mjs +49 -0
  30. package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-info.directive.mjs +16 -16
  31. package/{esm2020 → esm2022}/lib/controls/stepper/lib-step-label.directive.mjs +16 -16
  32. package/esm2022/lib/controls/stepper/lib-step.component.mjs +81 -0
  33. package/esm2022/lib/controls/stepper/lib-stepper.component.mjs +108 -0
  34. package/esm2022/lib/controls/stepper/types/step-selected-event.mjs +4 -0
  35. package/{esm2020 → esm2022}/lib/controls/stepper/types/stepper-type.mjs +12 -12
  36. package/esm2022/lib/controls/tabs/lib-tab-group.component.mjs +66 -0
  37. package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab-label.directive.mjs +16 -16
  38. package/{esm2020 → esm2022}/lib/controls/tabs/lib-tab.component.mjs +64 -64
  39. package/esm2022/lib/controls/toaster/toaster-container.component.mjs +28 -0
  40. package/esm2022/lib/controls/toaster/toaster.component.mjs +31 -0
  41. package/esm2022/lib/controls/toggle/toggle.component.mjs +64 -0
  42. package/esm2022/lib/controls/toggle-button/toggle-button.component.mjs +87 -0
  43. package/esm2022/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +34 -0
  44. package/esm2022/lib/controls/user-profile-menu/user-profile-menu.component.mjs +71 -0
  45. package/esm2022/lib/directives/click-outside.directive.mjs +189 -0
  46. package/esm2022/lib/directives/dynamic-component-host.directive.mjs +17 -0
  47. package/esm2022/lib/helpers/base-list.component.mjs +230 -0
  48. package/esm2022/lib/icons.mjs +36 -0
  49. package/esm2022/lib/layouts/shell/shell-footer/shell-footer.component.mjs +19 -0
  50. package/esm2022/lib/layouts/shell/shell-header/shell-header.component.mjs +130 -0
  51. package/esm2022/lib/layouts/shell/shell-layout/shell-layout.component.mjs +90 -0
  52. package/esm2022/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +54 -0
  53. package/esm2022/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +45 -0
  54. package/esm2022/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +30 -0
  55. package/esm2022/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +20 -0
  56. package/esm2022/lib/layouts/views/form-layout/form-layout.component.mjs +86 -0
  57. package/esm2022/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +101 -0
  58. package/esm2022/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +106 -0
  59. package/esm2022/lib/layouts/views/view-layout/view-layout.component.mjs +104 -0
  60. package/esm2022/lib/ng-components.module.mjs +320 -0
  61. package/esm2022/lib/pages/auth/auth-callback/auth-callback.component.mjs +30 -0
  62. package/esm2022/lib/pages/auth/auth-renew/auth-renew.component.mjs +31 -0
  63. package/esm2022/lib/pages/auth/logged-out/logged-out.component.mjs +28 -0
  64. package/esm2022/lib/pages/http-status/error/error.component.mjs +17 -0
  65. package/esm2022/lib/pages/http-status/page-not-found/page-not-found.component.mjs +15 -0
  66. package/esm2022/lib/pages/http-status/unauthorized/unauthorized.component.mjs +14 -0
  67. package/esm2022/lib/pipes/address.pipe.mjs +21 -0
  68. package/esm2022/lib/pipes/duration-format.pipe.mjs +64 -0
  69. package/esm2022/lib/pipes/short-number.pipe.mjs +43 -0
  70. package/esm2022/lib/services/breadcrumb.service.mjs +174 -0
  71. package/esm2022/lib/services/component-loader/component-loader-options.class.mjs +8 -0
  72. package/esm2022/lib/services/component-loader/component-loader.class.mjs +188 -0
  73. package/esm2022/lib/services/component-loader/component-loader.factory.mjs +32 -0
  74. package/{esm2020 → esm2022}/lib/services/component-loader/content-ref.class.mjs +13 -13
  75. package/esm2022/lib/services/modal-service/modal-backdrop-component.mjs +44 -0
  76. package/esm2022/lib/services/modal-service/modal-container-component.mjs +126 -0
  77. package/esm2022/lib/services/modal-service/modal-options.class.mjs +35 -0
  78. package/esm2022/lib/services/modal-service/modal-service.mjs +220 -0
  79. package/{esm2020 → esm2022}/lib/services/modal-service/modal-styles.class.mjs +11 -11
  80. package/esm2022/lib/services/modal-service/modal.class.mjs +27 -0
  81. package/{esm2020 → esm2022}/lib/services/toaster.service.mjs +26 -26
  82. package/esm2022/lib/services/user-settings.service.mjs +35 -0
  83. package/esm2022/lib/services/utilities.service.mjs +47 -0
  84. package/{esm2020 → esm2022}/lib/tokens.mjs +8 -8
  85. package/esm2022/lib/types.mjs +133 -0
  86. package/esm2022/public-api.mjs +78 -0
  87. package/fesm2022/indice-ng-components.mjs +5069 -0
  88. package/fesm2022/indice-ng-components.mjs.map +1 -0
  89. package/index.d.ts +5 -5
  90. package/lib/controls/advanced-search/advanced-search.component.d.ts +40 -40
  91. package/lib/controls/advanced-search/models.d.ts +91 -91
  92. package/lib/controls/avatar-initials/avatar-initials.component.d.ts +14 -14
  93. package/lib/controls/breadcrumb/breadcrumb-item.d.ts +7 -7
  94. package/lib/controls/breadcrumb/breadcrumb.component.d.ts +12 -12
  95. package/lib/controls/collapsible-panel/collapsible-panel.component.d.ts +10 -10
  96. package/lib/controls/combobox/combobox.component.d.ts +35 -34
  97. package/lib/controls/content-tile/content-tile-header/content-tile-header.component.d.ts +7 -0
  98. package/lib/controls/content-tile/content-tile-item/content-tile-item.component.d.ts +8 -0
  99. package/lib/controls/content-tile/content-tile.component.d.ts +23 -0
  100. package/lib/controls/date-picker/date-picker.component.d.ts +53 -53
  101. package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +26 -26
  102. package/lib/controls/kpi-tile/kpi-tile.component.d.ts +15 -15
  103. package/lib/controls/language-selection/language-selection.component.d.ts +14 -14
  104. package/lib/controls/list-view/list-column.component.d.ts +9 -9
  105. package/lib/controls/list-view/list-details-section.component.d.ts +7 -7
  106. package/lib/controls/list-view/list-tile.component.d.ts +7 -7
  107. package/lib/controls/list-view/list-view-empty-state.component.d.ts +11 -11
  108. package/lib/controls/list-view/list-view.component.d.ts +62 -61
  109. package/lib/controls/nav-links-list/nav-links-list.component.d.ts +21 -21
  110. package/lib/controls/notifications-indicator/notifications-indicator.component.d.ts +22 -22
  111. package/lib/controls/pager/pager.component.d.ts +36 -36
  112. package/lib/controls/progress-bar/progress-bar.component.d.ts +16 -0
  113. package/lib/controls/side-pane/side-pane.component.d.ts +22 -18
  114. package/lib/controls/skeleton-loader/skeleton-loader.component.d.ts +12 -11
  115. package/lib/controls/stats-grid/stats-grid.component.d.ts +16 -0
  116. package/lib/controls/stepper/lib-step-info.directive.d.ts +8 -8
  117. package/lib/controls/stepper/lib-step-label.directive.d.ts +8 -8
  118. package/lib/controls/stepper/lib-step.component.d.ts +34 -34
  119. package/lib/controls/stepper/lib-stepper.component.d.ts +43 -43
  120. package/lib/controls/stepper/types/step-selected-event.d.ts +12 -12
  121. package/lib/controls/stepper/types/stepper-type.d.ts +10 -10
  122. package/lib/controls/tabs/lib-tab-group.component.d.ts +21 -21
  123. package/lib/controls/tabs/lib-tab-label.directive.d.ts +8 -8
  124. package/lib/controls/tabs/lib-tab.component.d.ts +24 -24
  125. package/lib/controls/toaster/toaster-container.component.d.ts +13 -13
  126. package/lib/controls/toaster/toaster.component.d.ts +15 -15
  127. package/lib/controls/toggle/toggle.component.d.ts +19 -19
  128. package/lib/controls/toggle-button/toggle-button.component.d.ts +25 -25
  129. package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +15 -14
  130. package/lib/controls/user-profile-menu/user-profile-menu.component.d.ts +24 -24
  131. package/lib/directives/click-outside.directive.d.ts +40 -40
  132. package/lib/directives/dynamic-component-host.directive.d.ts +9 -9
  133. package/lib/helpers/base-list.component.d.ts +54 -53
  134. package/lib/icons.d.ts +34 -34
  135. package/lib/layouts/shell/shell-footer/shell-footer.component.d.ts +8 -8
  136. package/lib/layouts/shell/shell-header/shell-header.component.d.ts +39 -39
  137. package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +26 -26
  138. package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +20 -20
  139. package/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.d.ts +14 -14
  140. package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +15 -15
  141. package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +10 -10
  142. package/lib/layouts/views/form-layout/form-layout.component.d.ts +26 -24
  143. package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +42 -42
  144. package/lib/layouts/views/side-view-layout/side-view-layout.component.d.ts +29 -28
  145. package/lib/layouts/views/view-layout/view-layout.component.d.ts +31 -31
  146. package/lib/ng-components.module.d.ts +71 -65
  147. package/lib/pages/auth/auth-callback/auth-callback.component.d.ts +13 -13
  148. package/lib/pages/auth/auth-renew/auth-renew.component.d.ts +12 -12
  149. package/lib/pages/auth/logged-out/logged-out.component.d.ts +12 -12
  150. package/lib/pages/http-status/error/error.component.d.ts +8 -8
  151. package/lib/pages/http-status/page-not-found/page-not-found.component.d.ts +8 -8
  152. package/lib/pages/http-status/unauthorized/unauthorized.component.d.ts +8 -8
  153. package/lib/pipes/address.pipe.d.ts +8 -8
  154. package/lib/pipes/duration-format.pipe.d.ts +8 -8
  155. package/lib/pipes/short-number.pipe.d.ts +7 -0
  156. package/lib/services/breadcrumb.service.d.ts +29 -29
  157. package/lib/services/component-loader/component-loader-options.class.d.ts +30 -30
  158. package/lib/services/component-loader/component-loader.class.d.ts +92 -92
  159. package/lib/services/component-loader/component-loader.factory.d.ts +24 -24
  160. package/lib/services/component-loader/content-ref.class.d.ts +12 -12
  161. package/lib/services/modal-service/modal-backdrop-component.d.ts +20 -20
  162. package/lib/services/modal-service/modal-container-component.d.ts +33 -33
  163. package/lib/services/modal-service/modal-options.class.d.ts +81 -81
  164. package/lib/services/modal-service/modal-service.d.ts +58 -58
  165. package/lib/services/modal-service/modal-styles.class.d.ts +10 -10
  166. package/lib/services/modal-service/modal.class.d.ts +43 -43
  167. package/lib/services/toaster.service.d.ts +11 -11
  168. package/lib/services/user-settings.service.d.ts +13 -13
  169. package/lib/services/utilities.service.d.ts +11 -11
  170. package/lib/tokens.d.ts +10 -10
  171. package/lib/types.d.ts +179 -177
  172. package/modal.css +157 -157
  173. package/package.json +13 -19
  174. package/public-api.d.ts +68 -60
  175. package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +0 -156
  176. package/esm2020/lib/controls/advanced-search/models.mjs +0 -109
  177. package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +0 -48
  178. package/esm2020/lib/controls/breadcrumb/breadcrumb.component.mjs +0 -26
  179. package/esm2020/lib/controls/collapsible-panel/collapsible-panel.component.mjs +0 -20
  180. package/esm2020/lib/controls/combobox/combobox.component.mjs +0 -117
  181. package/esm2020/lib/controls/date-picker/date-picker.component.mjs +0 -292
  182. package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +0 -72
  183. package/esm2020/lib/controls/kpi-tile/kpi-tile.component.mjs +0 -43
  184. package/esm2020/lib/controls/language-selection/language-selection.component.mjs +0 -31
  185. package/esm2020/lib/controls/list-view/list-details-section.component.mjs +0 -17
  186. package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +0 -29
  187. package/esm2020/lib/controls/list-view/list-view.component.mjs +0 -206
  188. package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +0 -54
  189. package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +0 -79
  190. package/esm2020/lib/controls/pager/pager.component.mjs +0 -130
  191. package/esm2020/lib/controls/side-pane/side-pane.component.mjs +0 -72
  192. package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +0 -25
  193. package/esm2020/lib/controls/stepper/lib-step.component.mjs +0 -81
  194. package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +0 -108
  195. package/esm2020/lib/controls/stepper/types/step-selected-event.mjs +0 -4
  196. package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +0 -66
  197. package/esm2020/lib/controls/toaster/toaster-container.component.mjs +0 -28
  198. package/esm2020/lib/controls/toaster/toaster.component.mjs +0 -31
  199. package/esm2020/lib/controls/toggle/toggle.component.mjs +0 -64
  200. package/esm2020/lib/controls/toggle-button/toggle-button.component.mjs +0 -87
  201. package/esm2020/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +0 -31
  202. package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +0 -71
  203. package/esm2020/lib/directives/click-outside.directive.mjs +0 -189
  204. package/esm2020/lib/directives/dynamic-component-host.directive.mjs +0 -17
  205. package/esm2020/lib/helpers/base-list.component.mjs +0 -226
  206. package/esm2020/lib/icons.mjs +0 -36
  207. package/esm2020/lib/layouts/shell/shell-footer/shell-footer.component.mjs +0 -19
  208. package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +0 -130
  209. package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +0 -90
  210. package/esm2020/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +0 -54
  211. package/esm2020/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +0 -45
  212. package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +0 -30
  213. package/esm2020/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +0 -20
  214. package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +0 -80
  215. package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +0 -101
  216. package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +0 -98
  217. package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +0 -104
  218. package/esm2020/lib/ng-components.module.mjs +0 -288
  219. package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +0 -30
  220. package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +0 -31
  221. package/esm2020/lib/pages/auth/logged-out/logged-out.component.mjs +0 -28
  222. package/esm2020/lib/pages/http-status/error/error.component.mjs +0 -17
  223. package/esm2020/lib/pages/http-status/page-not-found/page-not-found.component.mjs +0 -15
  224. package/esm2020/lib/pages/http-status/unauthorized/unauthorized.component.mjs +0 -14
  225. package/esm2020/lib/pipes/address.pipe.mjs +0 -21
  226. package/esm2020/lib/pipes/duration-format.pipe.mjs +0 -64
  227. package/esm2020/lib/services/breadcrumb.service.mjs +0 -174
  228. package/esm2020/lib/services/component-loader/component-loader-options.class.mjs +0 -8
  229. package/esm2020/lib/services/component-loader/component-loader.class.mjs +0 -188
  230. package/esm2020/lib/services/component-loader/component-loader.factory.mjs +0 -32
  231. package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +0 -44
  232. package/esm2020/lib/services/modal-service/modal-container-component.mjs +0 -126
  233. package/esm2020/lib/services/modal-service/modal-options.class.mjs +0 -35
  234. package/esm2020/lib/services/modal-service/modal-service.mjs +0 -220
  235. package/esm2020/lib/services/modal-service/modal.class.mjs +0 -27
  236. package/esm2020/lib/services/user-settings.service.mjs +0 -35
  237. package/esm2020/lib/services/utilities.service.mjs +0 -47
  238. package/esm2020/lib/types.mjs +0 -132
  239. package/esm2020/public-api.mjs +0 -70
  240. package/fesm2015/indice-ng-components.mjs +0 -4852
  241. package/fesm2015/indice-ng-components.mjs.map +0 -1
  242. package/fesm2020/indice-ng-components.mjs +0 -4763
  243. package/fesm2020/indice-ng-components.mjs.map +0 -1
package/lib/types.d.ts CHANGED
@@ -1,177 +1,179 @@
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
- markMessageRead?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
6
- refresh?: () => void | undefined;
7
- inboxAction?: () => void | undefined;
8
- }
9
- export interface IAppLanguagesService {
10
- options: Observable<MenuOption[]> | undefined;
11
- selected?: string;
12
- default?: string;
13
- setSelected?: (lang: string) => void | undefined;
14
- }
15
- export interface IAppLinks {
16
- public: Observable<NavLink[]>;
17
- main: Observable<NavLink[]>;
18
- profile: Observable<NavLink[]>;
19
- profileActions: Observable<NavLink[]>;
20
- legal: Observable<NavLink[]>;
21
- brand: Observable<NavLink[]>;
22
- notifications?: Observable<NavLink>;
23
- }
24
- export declare class NavLink {
25
- constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, data?: any);
26
- text: string;
27
- path: string;
28
- exact: boolean;
29
- external: boolean;
30
- icon: string | undefined;
31
- type: string;
32
- data: any | undefined;
33
- }
34
- export declare class ExternalNavLink extends NavLink {
35
- constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
36
- type: string;
37
- }
38
- export declare class FragmentNavLink extends NavLink {
39
- constructor(text: string, path: string, icon?: string);
40
- type: string;
41
- }
42
- export declare class NotificationNavLink extends NavLink {
43
- isRead: boolean;
44
- creationDate?: Date | undefined;
45
- constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
46
- }
47
- export declare class ViewAction {
48
- type: string;
49
- key: string | null;
50
- param: any;
51
- icon: string;
52
- tooltip: string | null;
53
- text?: string;
54
- constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null, text?: string);
55
- }
56
- export declare class ListViewType {
57
- static Tiles: string;
58
- static Table: string;
59
- static Map: string;
60
- static Gallery: string;
61
- }
62
- export declare class RouterViewAction extends ViewAction {
63
- outlet: string | null;
64
- link: string | null;
65
- constructor(icon: string, link: string, outlet: string | null, tooltip: string | null, text?: string);
66
- }
67
- export declare class SwitchViewAction extends ViewAction {
68
- constructor(view: string, icon: string, tooltip: string | null);
69
- }
70
- export interface IResultSet<T> {
71
- count: number;
72
- items: T[];
73
- }
74
- export declare class HeaderMetaItem {
75
- key: string | null;
76
- icon: string | null;
77
- text: string | null;
78
- }
79
- export declare class MenuOption {
80
- constructor(text: string, value: any, description?: string, data?: any, icon?: string);
81
- text: string;
82
- value: any;
83
- description: string | undefined;
84
- data: any | undefined;
85
- icon: string | undefined;
86
- }
87
- export declare enum PagerPosition {
88
- Top = "top",
89
- Bottom = "bottom",
90
- Both = "both"
91
- }
92
- export interface IAddress {
93
- id?: string;
94
- street?: string | null;
95
- streetNumber?: string | null;
96
- city?: string | null;
97
- region?: string | null;
98
- postalCode?: string | null;
99
- country?: string | null;
100
- }
101
- export interface IShellConfig {
102
- appLogo: string;
103
- appLogoAlt: string;
104
- breadcrumb: boolean;
105
- customFooterComponent?: any;
106
- customHeaderComponent?: any;
107
- fluid: boolean;
108
- layout?: ShellLayoutType;
109
- showAlertsOnHeader?: boolean;
110
- showFooter: boolean;
111
- showHeader: boolean;
112
- showLangsOnHeader?: boolean;
113
- showUserNameOnHeader?: boolean;
114
- }
115
- export declare enum ShellLayoutType {
116
- Stacked = "Stacked",
117
- Sidebar = "Sidebar"
118
- }
119
- export declare class DefaultShellConfig implements IShellConfig {
120
- appLogo: string;
121
- appLogoAlt: string;
122
- breadcrumb: boolean;
123
- fluid: boolean;
124
- layout: ShellLayoutType;
125
- showAlertsOnHeader: boolean;
126
- showFooter: boolean;
127
- showHeader: boolean;
128
- showUserNameOnHeader: boolean;
129
- }
130
- export declare enum SCREEN_SIZE {
131
- XS = 0,
132
- SM = 1,
133
- MD = 2,
134
- LG = 3,
135
- XL = 4
136
- }
137
- export interface IScreenSize {
138
- id: SCREEN_SIZE;
139
- name: string;
140
- css: string;
141
- }
142
- export declare enum ToastType {
143
- Info = "info",
144
- Success = "success",
145
- Error = "error",
146
- Warning = "warning"
147
- }
148
- export declare const NULL_TOAST: Toast;
149
- export interface Toast {
150
- type: ToastType;
151
- title: string;
152
- body: string;
153
- delay: number;
154
- }
155
- export declare enum SidePaneSize {
156
- Default = "",
157
- Small25 = "25%",
158
- Medium50 = "50%",
159
- Large75 = "75%"
160
- }
161
- export declare enum SidePaneOverlayType {
162
- Default = "",
163
- None = "-opacity-0",
164
- Light = "",
165
- Dark = "-opacity-50"
166
- }
167
- export interface IValidationProblemDetails {
168
- type?: string | undefined;
169
- title?: string | undefined;
170
- status?: number | undefined;
171
- detail?: string | undefined;
172
- instance?: string | undefined;
173
- errors?: {
174
- [key: string]: string[];
175
- } | undefined;
176
- }
177
- export declare type UserSettingKey = 'MobileSideBar';
1
+ import { Observable } from 'rxjs';
2
+ import { Params } from '@angular/router';
3
+ export interface IAppNotifications {
4
+ messages: Observable<IResultSet<NavLink>>;
5
+ getMessage?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
6
+ markMessageRead?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
7
+ refresh?: () => void | undefined;
8
+ inboxAction?: () => void | undefined;
9
+ }
10
+ export interface IAppLanguagesService {
11
+ options: Observable<MenuOption[]> | undefined;
12
+ selected?: string;
13
+ default?: string;
14
+ setSelected?: (lang: string) => void | undefined;
15
+ }
16
+ export interface IAppLinks {
17
+ public: Observable<NavLink[]>;
18
+ main: Observable<NavLink[]>;
19
+ profile: Observable<NavLink[]>;
20
+ profileActions: Observable<NavLink[]>;
21
+ legal: Observable<NavLink[]>;
22
+ brand: Observable<NavLink[]>;
23
+ notifications?: Observable<NavLink>;
24
+ }
25
+ export declare class NavLink {
26
+ constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, data?: any, queryParams?: Params);
27
+ text: string;
28
+ path: string;
29
+ exact: boolean;
30
+ external: boolean;
31
+ icon: string | undefined;
32
+ type: string;
33
+ data: any | undefined;
34
+ queryParams: Params | undefined;
35
+ }
36
+ export declare class ExternalNavLink extends NavLink {
37
+ constructor(text: string, path: string, openInNewTab?: boolean, icon?: string);
38
+ type: string;
39
+ }
40
+ export declare class FragmentNavLink extends NavLink {
41
+ constructor(text: string, path: string, icon?: string);
42
+ type: string;
43
+ }
44
+ export declare class NotificationNavLink extends NavLink {
45
+ isRead: boolean;
46
+ creationDate?: Date | undefined;
47
+ constructor(text: string, path: string, isRead: boolean, creationDate?: Date | undefined);
48
+ }
49
+ export declare class ViewAction {
50
+ type: string;
51
+ key: string | null;
52
+ param: any;
53
+ icon: string;
54
+ tooltip: string | null;
55
+ text?: string;
56
+ constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null, text?: string);
57
+ }
58
+ export declare class ListViewType {
59
+ static Tiles: string;
60
+ static Table: string;
61
+ static Map: string;
62
+ static Gallery: string;
63
+ }
64
+ export declare class RouterViewAction extends ViewAction {
65
+ outlet: string | null;
66
+ link: string | null;
67
+ constructor(icon: string, link: string, outlet: string | null, tooltip: string | null, text?: string);
68
+ }
69
+ export declare class SwitchViewAction extends ViewAction {
70
+ constructor(view: string, icon: string, tooltip: string | null);
71
+ }
72
+ export interface IResultSet<T> {
73
+ count: number;
74
+ items: T[];
75
+ }
76
+ export declare class HeaderMetaItem {
77
+ key: string | null;
78
+ icon: string | null;
79
+ text: string | null;
80
+ }
81
+ export declare class MenuOption {
82
+ constructor(text: string, value: any, description?: string, data?: any, icon?: string);
83
+ text: string;
84
+ value: any;
85
+ description: string | undefined;
86
+ data: any | undefined;
87
+ icon: string | undefined;
88
+ }
89
+ export declare enum PagerPosition {
90
+ Top = "top",
91
+ Bottom = "bottom",
92
+ Both = "both"
93
+ }
94
+ export interface IAddress {
95
+ id?: string;
96
+ street?: string | null;
97
+ streetNumber?: string | null;
98
+ city?: string | null;
99
+ region?: string | null;
100
+ postalCode?: string | null;
101
+ country?: string | null;
102
+ }
103
+ export interface IShellConfig {
104
+ appLogo: string;
105
+ appLogoAlt: string;
106
+ breadcrumb: boolean;
107
+ customFooterComponent?: any;
108
+ customHeaderComponent?: any;
109
+ fluid: boolean;
110
+ layout?: ShellLayoutType;
111
+ showAlertsOnHeader?: boolean;
112
+ showFooter: boolean;
113
+ showHeader: boolean;
114
+ showLangsOnHeader?: boolean;
115
+ showUserNameOnHeader?: boolean;
116
+ }
117
+ export declare enum ShellLayoutType {
118
+ Stacked = "Stacked",
119
+ Sidebar = "Sidebar"
120
+ }
121
+ export declare class DefaultShellConfig implements IShellConfig {
122
+ appLogo: string;
123
+ appLogoAlt: string;
124
+ breadcrumb: boolean;
125
+ fluid: boolean;
126
+ layout: ShellLayoutType;
127
+ showAlertsOnHeader: boolean;
128
+ showFooter: boolean;
129
+ showHeader: boolean;
130
+ showUserNameOnHeader: boolean;
131
+ }
132
+ export declare enum SCREEN_SIZE {
133
+ XS = 0,
134
+ SM = 1,
135
+ MD = 2,
136
+ LG = 3,
137
+ XL = 4
138
+ }
139
+ export interface IScreenSize {
140
+ id: SCREEN_SIZE;
141
+ name: string;
142
+ css: string;
143
+ }
144
+ export declare enum ToastType {
145
+ Info = "info",
146
+ Success = "success",
147
+ Error = "error",
148
+ Warning = "warning"
149
+ }
150
+ export declare const NULL_TOAST: Toast;
151
+ export interface Toast {
152
+ type: ToastType;
153
+ title: string;
154
+ body: string;
155
+ delay: number;
156
+ }
157
+ export declare enum SidePaneSize {
158
+ Default = "",
159
+ Small25 = "25%",
160
+ Medium50 = "50%",
161
+ Large75 = "75%"
162
+ }
163
+ export declare enum SidePaneOverlayType {
164
+ Default = "",
165
+ None = "-opacity-0",
166
+ Light = "",
167
+ Dark = "-opacity-50"
168
+ }
169
+ export interface IValidationProblemDetails {
170
+ type?: string | undefined;
171
+ title?: string | undefined;
172
+ status?: number | undefined;
173
+ detail?: string | undefined;
174
+ instance?: string | undefined;
175
+ errors?: {
176
+ [key: string]: string[];
177
+ } | undefined;
178
+ }
179
+ export type UserSettingKey = 'MobileSideBar';
package/modal.css CHANGED
@@ -1,157 +1,157 @@
1
- .modal-open {
2
- overflow: hidden;
3
- }
4
- .modal-open .modal {
5
- overflow-x: hidden;
6
- overflow-y: auto;
7
- }
8
- .modal {
9
- position: fixed;
10
- top: 0;
11
- left: 0;
12
- z-index: 1050;
13
- display: none;
14
- width: 100%;
15
- height: 100%;
16
- overflow: hidden;
17
- outline: 0;
18
- }
19
- .modal-dialog {
20
- position: relative;
21
- width: auto;
22
- margin: 0.5rem;
23
- pointer-events: none;
24
- }
25
- .modal.fade .modal-dialog {
26
- transition: transform 0.3s ease-out;
27
- transform: translate(0, -50px);
28
- }
29
-
30
- .fade {
31
- transition: opacity 0.15s linear;
32
- }
33
- .fade:not(.show) {
34
- opacity: 0;
35
- }
36
- @media (prefers-reduced-motion: reduce) {
37
- .modal.fade .modal-dialog {
38
- transition: none;
39
- }
40
- }
41
- .modal.show .modal-dialog {
42
- transform: none;
43
- }
44
- .modal.modal-static .modal-dialog {
45
- transform: scale(1.02);
46
- }
47
- .modal-dialog-scrollable {
48
- display: flex;
49
- max-height: subtract(100%, 1rem);
50
- }
51
- .modal-dialog-scrollable .modal-content {
52
- max-height: subtract(100vh, 1rem);
53
- overflow: hidden;
54
- }
55
- .modal-dialog-scrollable .modal-header,
56
- .modal-dialog-scrollable .modal-footer {
57
- flex-shrink: 0;
58
- }
59
- .modal-dialog-scrollable .modal-body {
60
- overflow-y: auto;
61
- }
62
- .modal-dialog-centered {
63
- display: flex;
64
- align-items: center;
65
- min-height: subtract(100%, 1rem);
66
- }
67
- .modal-dialog-centered::before {
68
- display: block;
69
- height: subtract(100vh, 1rem);
70
- height: -webkit-min-content;
71
- height: min-content;
72
- content: "";
73
- }
74
- .modal-dialog-centered.modal-dialog-scrollable {
75
- flex-direction: column;
76
- justify-content: center;
77
- height: 100%;
78
- }
79
- .modal-dialog-centered.modal-dialog-scrollable .modal-content {
80
- max-height: none;
81
- }
82
- .modal-dialog-centered.modal-dialog-scrollable::before {
83
- content: none;
84
- }
85
- .modal-content {
86
- position: relative;
87
- display: flex;
88
- flex-direction: column;
89
- width: 100%;
90
- pointer-events: auto;
91
- background-color: #fff;
92
- background-clip: padding-box;
93
- border: 1px solid rgba(0, 0, 0, 0.2);
94
- border-radius: 0.3rem;
95
- outline: 0;
96
- }
97
- .modal-backdrop {
98
- position: fixed;
99
- top: 0;
100
- left: 0;
101
- z-index: 1040;
102
- width: 100vw;
103
- height: 100vh;
104
- background-color: #000;
105
- }
106
- .modal-backdrop.fade {
107
- opacity: 0;
108
- }
109
- .modal-backdrop.show {
110
- opacity: 0.5;
111
- }
112
- .modal-scrollbar-measure {
113
- position: absolute;
114
- top: -9999px;
115
- width: 50px;
116
- height: 50px;
117
- overflow: scroll;
118
- }
119
- @media (min-width: 576px) {
120
- .modal-dialog {
121
- max-width: 500px;
122
- margin: 1.75rem auto;
123
- }
124
-
125
- .modal-dialog-scrollable {
126
- max-height: subtract(100%, 3.5rem);
127
- }
128
- .modal-dialog-scrollable .modal-content {
129
- max-height: subtract(100vh, 3.5rem);
130
- }
131
-
132
- .modal-dialog-centered {
133
- min-height: subtract(100%, 3.5rem);
134
- }
135
- .modal-dialog-centered::before {
136
- height: subtract(100vh, 3.5rem);
137
- height: -webkit-min-content;
138
- height: min-content;
139
- }
140
-
141
- .modal-sm {
142
- max-width: 300px;
143
- }
144
- }
145
- @media (min-width: 992px) {
146
- .modal-lg,
147
- .modal-xl {
148
- max-width: 800px;
149
- }
150
- }
151
- @media (min-width: 1200px) {
152
- .modal-xl {
153
- max-width: 1140px;
154
- }
155
- }
156
-
157
- /*# sourceMappingURL=styles.css.map*/
1
+ .modal-open {
2
+ overflow: hidden;
3
+ }
4
+ .modal-open .modal {
5
+ overflow-x: hidden;
6
+ overflow-y: auto;
7
+ }
8
+ .modal {
9
+ position: fixed;
10
+ top: 0;
11
+ left: 0;
12
+ z-index: 1050;
13
+ display: none;
14
+ width: 100%;
15
+ height: 100%;
16
+ overflow: hidden;
17
+ outline: 0;
18
+ }
19
+ .modal-dialog {
20
+ position: relative;
21
+ width: auto;
22
+ margin: 0.5rem;
23
+ pointer-events: none;
24
+ }
25
+ .modal.fade .modal-dialog {
26
+ transition: transform 0.3s ease-out;
27
+ transform: translate(0, -50px);
28
+ }
29
+
30
+ .fade {
31
+ transition: opacity 0.15s linear;
32
+ }
33
+ .fade:not(.show) {
34
+ opacity: 0;
35
+ }
36
+ @media (prefers-reduced-motion: reduce) {
37
+ .modal.fade .modal-dialog {
38
+ transition: none;
39
+ }
40
+ }
41
+ .modal.show .modal-dialog {
42
+ transform: none;
43
+ }
44
+ .modal.modal-static .modal-dialog {
45
+ transform: scale(1.02);
46
+ }
47
+ .modal-dialog-scrollable {
48
+ display: flex;
49
+ max-height: subtract(100%, 1rem);
50
+ }
51
+ .modal-dialog-scrollable .modal-content {
52
+ max-height: subtract(100vh, 1rem);
53
+ overflow: hidden;
54
+ }
55
+ .modal-dialog-scrollable .modal-header,
56
+ .modal-dialog-scrollable .modal-footer {
57
+ flex-shrink: 0;
58
+ }
59
+ .modal-dialog-scrollable .modal-body {
60
+ overflow-y: auto;
61
+ }
62
+ .modal-dialog-centered {
63
+ display: flex;
64
+ align-items: center;
65
+ min-height: subtract(100%, 1rem);
66
+ }
67
+ .modal-dialog-centered::before {
68
+ display: block;
69
+ height: subtract(100vh, 1rem);
70
+ height: -webkit-min-content;
71
+ height: min-content;
72
+ content: "";
73
+ }
74
+ .modal-dialog-centered.modal-dialog-scrollable {
75
+ flex-direction: column;
76
+ justify-content: center;
77
+ height: 100%;
78
+ }
79
+ .modal-dialog-centered.modal-dialog-scrollable .modal-content {
80
+ max-height: none;
81
+ }
82
+ .modal-dialog-centered.modal-dialog-scrollable::before {
83
+ content: none;
84
+ }
85
+ .modal-content {
86
+ position: relative;
87
+ display: flex;
88
+ flex-direction: column;
89
+ width: 100%;
90
+ pointer-events: auto;
91
+ background-color: #fff;
92
+ background-clip: padding-box;
93
+ border: 1px solid rgba(0, 0, 0, 0.2);
94
+ border-radius: 0.3rem;
95
+ outline: 0;
96
+ }
97
+ .modal-backdrop {
98
+ position: fixed;
99
+ top: 0;
100
+ left: 0;
101
+ z-index: 1040;
102
+ width: 100vw;
103
+ height: 100vh;
104
+ background-color: #000;
105
+ }
106
+ .modal-backdrop.fade {
107
+ opacity: 0;
108
+ }
109
+ .modal-backdrop.show {
110
+ opacity: 0.5;
111
+ }
112
+ .modal-scrollbar-measure {
113
+ position: absolute;
114
+ top: -9999px;
115
+ width: 50px;
116
+ height: 50px;
117
+ overflow: scroll;
118
+ }
119
+ @media (min-width: 576px) {
120
+ .modal-dialog {
121
+ max-width: 500px;
122
+ margin: 1.75rem auto;
123
+ }
124
+
125
+ .modal-dialog-scrollable {
126
+ max-height: subtract(100%, 3.5rem);
127
+ }
128
+ .modal-dialog-scrollable .modal-content {
129
+ max-height: subtract(100vh, 3.5rem);
130
+ }
131
+
132
+ .modal-dialog-centered {
133
+ min-height: subtract(100%, 3.5rem);
134
+ }
135
+ .modal-dialog-centered::before {
136
+ height: subtract(100vh, 3.5rem);
137
+ height: -webkit-min-content;
138
+ height: min-content;
139
+ }
140
+
141
+ .modal-sm {
142
+ max-width: 300px;
143
+ }
144
+ }
145
+ @media (min-width: 992px) {
146
+ .modal-lg,
147
+ .modal-xl {
148
+ max-width: 800px;
149
+ }
150
+ }
151
+ @media (min-width: 1200px) {
152
+ .modal-xl {
153
+ max-width: 1140px;
154
+ }
155
+ }
156
+
157
+ /*# sourceMappingURL=styles.css.map*/