@indice/ng-components 0.2.167-beta.4 → 0.2.167-beta.40

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 (100) hide show
  1. package/_styles.css +247 -83
  2. package/esm2020/lib/controls/advanced-search/advanced-search.component.mjs +12 -6
  3. package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +3 -3
  4. package/esm2020/lib/controls/breadcrumb/breadcrumb-item.mjs +14 -0
  5. package/esm2020/lib/controls/breadcrumb/breadcrumb.component.mjs +26 -0
  6. package/esm2020/lib/controls/collapsible-panel/collapsible-panel.component.mjs +3 -3
  7. package/esm2020/lib/controls/combobox/combobox.component.mjs +33 -13
  8. package/esm2020/lib/controls/date-picker/date-picker.component.mjs +3 -3
  9. package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +9 -5
  10. package/esm2020/lib/controls/kpi-tile/kpi-tile.component.mjs +9 -5
  11. package/esm2020/lib/controls/language-selection/language-selection.component.mjs +3 -3
  12. package/esm2020/lib/controls/list-view/list-column.component.mjs +3 -3
  13. package/esm2020/lib/controls/list-view/list-details-section.component.mjs +3 -3
  14. package/esm2020/lib/controls/list-view/list-tile.component.mjs +3 -3
  15. package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +3 -3
  16. package/esm2020/lib/controls/list-view/list-view.component.mjs +8 -8
  17. package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +13 -5
  18. package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +3 -3
  19. package/esm2020/lib/controls/pager/pager.component.mjs +3 -3
  20. package/esm2020/lib/controls/side-pane/side-pane.component.mjs +3 -3
  21. package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +3 -3
  22. package/esm2020/lib/controls/stepper/lib-step-info.directive.mjs +3 -3
  23. package/esm2020/lib/controls/stepper/lib-step-label.directive.mjs +5 -5
  24. package/esm2020/lib/controls/stepper/lib-step.component.mjs +3 -3
  25. package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +6 -6
  26. package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +20 -14
  27. package/esm2020/lib/controls/tabs/lib-tab-label.directive.mjs +16 -0
  28. package/esm2020/lib/controls/tabs/lib-tab.component.mjs +14 -7
  29. package/esm2020/lib/controls/toaster/toaster-container.component.mjs +3 -3
  30. package/esm2020/lib/controls/toaster/toaster.component.mjs +3 -3
  31. package/esm2020/lib/controls/toggle/toggle.component.mjs +3 -3
  32. package/esm2020/lib/controls/toggle-button/toggle-button.component.mjs +87 -0
  33. package/esm2020/lib/controls/toggle-buttons-list/toggle-buttons-list.component.mjs +32 -0
  34. package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +3 -3
  35. package/esm2020/lib/directives/click-outside.directive.mjs +3 -3
  36. package/esm2020/lib/directives/dynamic-component-host.directive.mjs +3 -3
  37. package/esm2020/lib/helpers/base-list.component.mjs +3 -3
  38. package/esm2020/lib/icons.mjs +4 -2
  39. package/esm2020/lib/layouts/shell/shell-footer/shell-footer.component.mjs +3 -3
  40. package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +6 -6
  41. package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +41 -52
  42. package/esm2020/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +15 -8
  43. package/esm2020/lib/layouts/shell/shell-sidebar-header/shell-sidebar-header.component.mjs +5 -5
  44. package/esm2020/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.mjs +19 -14
  45. package/esm2020/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.mjs +8 -9
  46. package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +3 -3
  47. package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +14 -5
  48. package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +3 -3
  49. package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +5 -5
  50. package/esm2020/lib/ng-components.module.mjs +112 -107
  51. package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +3 -3
  52. package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +3 -3
  53. package/esm2020/lib/pages/auth/logged-out/logged-out.component.mjs +3 -3
  54. package/esm2020/lib/pages/http-status/error/error.component.mjs +3 -3
  55. package/esm2020/lib/pages/http-status/page-not-found/page-not-found.component.mjs +3 -3
  56. package/esm2020/lib/pages/http-status/unauthorized/unauthorized.component.mjs +3 -3
  57. package/esm2020/lib/pipes/address.pipe.mjs +3 -3
  58. package/esm2020/lib/pipes/duration-format.pipe.mjs +3 -3
  59. package/esm2020/lib/services/breadcrumb.service.mjs +174 -0
  60. package/esm2020/lib/services/component-loader/component-loader.class.mjs +2 -2
  61. package/esm2020/lib/services/component-loader/component-loader.factory.mjs +3 -3
  62. package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +3 -3
  63. package/esm2020/lib/services/modal-service/modal-container-component.mjs +3 -3
  64. package/esm2020/lib/services/modal-service/modal-options.class.mjs +3 -3
  65. package/esm2020/lib/services/modal-service/modal-service.mjs +3 -3
  66. package/esm2020/lib/services/modal-service/modal.class.mjs +3 -3
  67. package/esm2020/lib/services/toaster.service.mjs +10 -8
  68. package/esm2020/lib/services/user-settings.service.mjs +35 -0
  69. package/esm2020/lib/services/utilities.service.mjs +47 -0
  70. package/esm2020/lib/types.mjs +12 -9
  71. package/esm2020/public-api.mjs +8 -1
  72. package/fesm2015/indice-ng-components.mjs +933 -450
  73. package/fesm2015/indice-ng-components.mjs.map +1 -1
  74. package/fesm2020/indice-ng-components.mjs +925 -455
  75. package/fesm2020/indice-ng-components.mjs.map +1 -1
  76. package/lib/controls/breadcrumb/breadcrumb-item.d.ts +7 -0
  77. package/lib/controls/breadcrumb/breadcrumb.component.d.ts +12 -0
  78. package/lib/controls/combobox/combobox.component.d.ts +10 -5
  79. package/lib/controls/drop-down-menu/drop-down-menu.component.d.ts +3 -2
  80. package/lib/controls/kpi-tile/kpi-tile.component.d.ts +2 -1
  81. package/lib/controls/nav-links-list/nav-links-list.component.d.ts +3 -1
  82. package/lib/controls/tabs/lib-tab-group.component.d.ts +3 -3
  83. package/lib/controls/tabs/lib-tab-label.directive.d.ts +8 -0
  84. package/lib/controls/tabs/lib-tab.component.d.ts +8 -6
  85. package/lib/controls/toggle-button/toggle-button.component.d.ts +25 -0
  86. package/lib/controls/toggle-buttons-list/toggle-buttons-list.component.d.ts +14 -0
  87. package/lib/icons.d.ts +2 -0
  88. package/lib/layouts/shell/shell-layout/shell-layout.component.d.ts +10 -13
  89. package/lib/layouts/shell/shell-sidebar/shell-sidebar.component.d.ts +5 -3
  90. package/lib/layouts/shell/shell-sidebar-layout/shell-sidebar-layout.component.d.ts +6 -3
  91. package/lib/layouts/shell/shell-stacked-layout/shell-stacked-layout.component.d.ts +1 -1
  92. package/lib/layouts/views/model-view-layout/model-view-layout.component.d.ts +5 -2
  93. package/lib/ng-components.module.d.ts +57 -53
  94. package/lib/services/breadcrumb.service.d.ts +29 -0
  95. package/lib/services/toaster.service.d.ts +2 -2
  96. package/lib/services/user-settings.service.d.ts +13 -0
  97. package/lib/services/utilities.service.d.ts +11 -0
  98. package/lib/types.d.ts +16 -12
  99. package/package.json +1 -1
  100. package/public-api.d.ts +7 -0
package/lib/types.d.ts CHANGED
@@ -50,7 +50,8 @@ export declare class ViewAction {
50
50
  param: any;
51
51
  icon: string;
52
52
  tooltip: string | null;
53
- constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null);
53
+ text?: string;
54
+ constructor(type: string, key: string | null, param: any, icon: string, tooltip: string | null, text?: string);
54
55
  }
55
56
  export declare class ListViewType {
56
57
  static Tiles: string;
@@ -61,7 +62,7 @@ export declare class ListViewType {
61
62
  export declare class RouterViewAction extends ViewAction {
62
63
  outlet: string | null;
63
64
  link: string | null;
64
- constructor(icon: string, link: string, outlet: string | null, tooltip: string | null);
65
+ constructor(icon: string, link: string, outlet: string | null, tooltip: string | null, text?: string);
65
66
  }
66
67
  export declare class SwitchViewAction extends ViewAction {
67
68
  constructor(view: string, icon: string, tooltip: string | null);
@@ -98,31 +99,33 @@ export interface IAddress {
98
99
  country?: string | null;
99
100
  }
100
101
  export interface IShellConfig {
101
- layout?: ShellLayoutType;
102
102
  appLogo: string;
103
103
  appLogoAlt: string;
104
- showHeader: boolean;
105
- showUserNameOnHeader?: boolean;
106
- showAlertsOnHeader?: boolean;
107
- customHeaderComponent?: any;
108
- showFooter: boolean;
104
+ breadcrumb: boolean;
109
105
  customFooterComponent?: any;
106
+ customHeaderComponent?: any;
110
107
  fluid: boolean;
108
+ layout?: ShellLayoutType;
109
+ showAlertsOnHeader?: boolean;
110
+ showFooter: boolean;
111
+ showHeader: boolean;
111
112
  showLangsOnHeader?: boolean;
113
+ showUserNameOnHeader?: boolean;
112
114
  }
113
115
  export declare enum ShellLayoutType {
114
116
  Stacked = "Stacked",
115
117
  Sidebar = "Sidebar"
116
118
  }
117
119
  export declare class DefaultShellConfig implements IShellConfig {
118
- layout: ShellLayoutType;
119
120
  appLogo: string;
120
121
  appLogoAlt: string;
121
- showHeader: boolean;
122
- showUserNameOnHeader: boolean;
122
+ breadcrumb: boolean;
123
+ fluid: boolean;
124
+ layout: ShellLayoutType;
123
125
  showAlertsOnHeader: boolean;
124
126
  showFooter: boolean;
125
- fluid: boolean;
127
+ showHeader: boolean;
128
+ showUserNameOnHeader: boolean;
126
129
  }
127
130
  export declare enum SCREEN_SIZE {
128
131
  XS = 0,
@@ -171,3 +174,4 @@ export interface IValidationProblemDetails {
171
174
  [key: string]: string[];
172
175
  } | undefined;
173
176
  }
177
+ export declare type UserSettingKey = 'MobileSideBar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indice/ng-components",
3
- "version": "0.2.167-beta.4",
3
+ "version": "0.2.167-beta.40",
4
4
  "description": "Indice common components for Angular v12",
5
5
  "repository": {
6
6
  "type": "git",
package/public-api.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export * from './lib/directives/click-outside.directive';
2
2
  export * from './lib/controls/drop-down-menu/drop-down-menu.component';
3
3
  export * from './lib/controls/pager/pager.component';
4
+ export * from './lib/controls/breadcrumb/breadcrumb.component';
5
+ export * from './lib/controls/breadcrumb/breadcrumb-item';
4
6
  export * from './lib/controls/list-view/list-view.component';
5
7
  export * from './lib/controls/list-view/list-column.component';
6
8
  export * from './lib/controls/list-view/list-tile.component';
@@ -19,11 +21,14 @@ export * from './lib/controls/nav-links-list/nav-links-list.component';
19
21
  export * from './lib/controls/combobox/combobox.component';
20
22
  export * from './lib/controls/tabs/lib-tab.component';
21
23
  export * from './lib/controls/tabs/lib-tab-group.component';
24
+ export * from './lib/controls/tabs/lib-tab-label.directive';
22
25
  export * from './lib/controls/stepper/lib-stepper.component';
23
26
  export * from './lib/controls/stepper/lib-step.component';
24
27
  export * from './lib/controls/stepper/lib-step-label.directive';
25
28
  export * from './lib/controls/stepper/lib-step-info.directive';
26
29
  export * from './lib/controls/stepper/types/stepper-type';
30
+ export * from './lib/controls/toggle-button/toggle-button.component';
31
+ export * from './lib/controls/toggle-buttons-list/toggle-buttons-list.component';
27
32
  export * from './lib/layouts/shell/shell-layout/shell-layout.component';
28
33
  export * from './lib/layouts/shell/shell-header/shell-header.component';
29
34
  export * from './lib/layouts/shell/shell-footer/shell-footer.component';
@@ -50,4 +55,6 @@ export * from './lib/services/modal-service/modal-service';
50
55
  export { ModalOptions, MODAL_CONFIG_DEFAULT_OVERRIDE, CloseInterceptorFn } from './lib/services/modal-service/modal-options.class';
51
56
  export * from './lib/services/modal-service/modal.class';
52
57
  export * from './lib/services/toaster.service';
58
+ export * from './lib/services/breadcrumb.service';
59
+ export * from './lib/services/user-settings.service';
53
60
  export * from './lib/ng-components.module';