@indice/ng-components 0.2.148-beta → 0.2.148

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