@indice/ng-components 0.2.155-beta.1 → 0.2.157

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 (74) hide show
  1. package/README.md +4 -4
  2. package/_styles.css +3571 -3571
  3. package/esm2020/lib/controls/avatar-initials/avatar-initials.component.mjs +3 -3
  4. package/esm2020/lib/controls/collapsible-panel/collapsible-panel.component.mjs +3 -3
  5. package/esm2020/lib/controls/combobox/combobox.component.mjs +3 -3
  6. package/esm2020/lib/controls/date-picker/date-picker.component.mjs +3 -3
  7. package/esm2020/lib/controls/drop-down-menu/drop-down-menu.component.mjs +3 -3
  8. package/esm2020/lib/controls/kpi-tile/kpi-tile.component.mjs +3 -3
  9. package/esm2020/lib/controls/language-selection/language-selection.component.mjs +3 -3
  10. package/esm2020/lib/controls/list-view/list-column.component.mjs +1 -1
  11. package/esm2020/lib/controls/list-view/list-details-section.component.mjs +1 -1
  12. package/esm2020/lib/controls/list-view/list-tile.component.mjs +1 -1
  13. package/esm2020/lib/controls/list-view/list-view-empty-state.component.mjs +3 -3
  14. package/esm2020/lib/controls/list-view/list-view.component.mjs +3 -3
  15. package/esm2020/lib/controls/nav-links-list/nav-links-list.component.mjs +3 -3
  16. package/esm2020/lib/controls/notifications-indicator/notifications-indicator.component.mjs +3 -3
  17. package/esm2020/lib/controls/pager/pager.component.mjs +3 -3
  18. package/esm2020/lib/controls/side-pane/side-pane.component.mjs +3 -3
  19. package/esm2020/lib/controls/skeleton-loader/skeleton-loader.component.mjs +3 -3
  20. package/esm2020/lib/controls/stepper/lib-step-info.directive.mjs +1 -1
  21. package/esm2020/lib/controls/stepper/lib-step-label.directive.mjs +1 -1
  22. package/esm2020/lib/controls/stepper/lib-step.component.mjs +9 -9
  23. package/esm2020/lib/controls/stepper/lib-stepper.component.mjs +3 -3
  24. package/esm2020/lib/controls/stepper/types/step-selected-event.mjs +1 -1
  25. package/esm2020/lib/controls/stepper/types/stepper-type.mjs +1 -1
  26. package/esm2020/lib/controls/tabs/lib-tab-group.component.mjs +3 -3
  27. package/esm2020/lib/controls/tabs/lib-tab.component.mjs +9 -9
  28. package/esm2020/lib/controls/toaster/toaster-container.component.mjs +3 -3
  29. package/esm2020/lib/controls/toaster/toaster.component.mjs +3 -3
  30. package/esm2020/lib/controls/toggle/toggle.component.mjs +3 -3
  31. package/esm2020/lib/controls/user-profile-menu/user-profile-menu.component.mjs +3 -3
  32. package/esm2020/lib/directives/click-outside.directive.mjs +1 -1
  33. package/esm2020/lib/directives/dynamic-component-host.directive.mjs +1 -1
  34. package/esm2020/lib/helpers/base-list.component.mjs +1 -1
  35. package/esm2020/lib/icons.mjs +1 -1
  36. package/esm2020/lib/layouts/shell/shell-footer/shell-footer.component.mjs +3 -3
  37. package/esm2020/lib/layouts/shell/shell-header/shell-header.component.mjs +3 -3
  38. package/esm2020/lib/layouts/shell/shell-layout/shell-layout.component.mjs +3 -3
  39. package/esm2020/lib/layouts/shell/shell-sidebar/shell-sidebar.component.mjs +3 -3
  40. package/esm2020/lib/layouts/views/form-layout/form-layout.component.mjs +3 -3
  41. package/esm2020/lib/layouts/views/model-view-layout/model-view-layout.component.mjs +3 -3
  42. package/esm2020/lib/layouts/views/side-view-layout/side-view-layout.component.mjs +3 -3
  43. package/esm2020/lib/layouts/views/view-layout/view-layout.component.mjs +3 -3
  44. package/esm2020/lib/ng-components.module.mjs +1 -1
  45. package/esm2020/lib/pages/auth/auth-callback/auth-callback.component.mjs +1 -1
  46. package/esm2020/lib/pages/auth/auth-renew/auth-renew.component.mjs +1 -1
  47. package/esm2020/lib/pages/auth/logged-out/logged-out.component.mjs +1 -1
  48. package/esm2020/lib/pages/http-status/error/error.component.mjs +3 -3
  49. package/esm2020/lib/pages/http-status/page-not-found/page-not-found.component.mjs +3 -3
  50. package/esm2020/lib/pages/http-status/unauthorized/unauthorized.component.mjs +3 -3
  51. package/esm2020/lib/pipes/address.pipe.mjs +1 -1
  52. package/esm2020/lib/pipes/duration-format.pipe.mjs +1 -1
  53. package/esm2020/lib/services/component-loader/component-loader-options.class.mjs +1 -1
  54. package/esm2020/lib/services/component-loader/component-loader.class.mjs +1 -1
  55. package/esm2020/lib/services/component-loader/component-loader.factory.mjs +1 -1
  56. package/esm2020/lib/services/component-loader/content-ref.class.mjs +1 -1
  57. package/esm2020/lib/services/modal-service/modal-backdrop-component.mjs +1 -1
  58. package/esm2020/lib/services/modal-service/modal-container-component.mjs +13 -13
  59. package/esm2020/lib/services/modal-service/modal-options.class.mjs +1 -1
  60. package/esm2020/lib/services/modal-service/modal-service.mjs +1 -1
  61. package/esm2020/lib/services/modal-service/modal-styles.class.mjs +1 -1
  62. package/esm2020/lib/services/modal-service/modal.class.mjs +1 -1
  63. package/esm2020/lib/services/toaster.service.mjs +1 -1
  64. package/esm2020/lib/tokens.mjs +1 -1
  65. package/esm2020/lib/types.mjs +1 -1
  66. package/esm2020/public-api.mjs +2 -1
  67. package/fesm2015/indice-ng-components.mjs +91 -91
  68. package/fesm2015/indice-ng-components.mjs.map +1 -1
  69. package/fesm2020/indice-ng-components.mjs +91 -91
  70. package/fesm2020/indice-ng-components.mjs.map +1 -1
  71. package/lib/types.d.ts +1 -0
  72. package/modal.css +157 -157
  73. package/package.json +5 -5
  74. package/public-api.d.ts +1 -0
package/lib/types.d.ts CHANGED
@@ -2,6 +2,7 @@ import { Observable } from 'rxjs';
2
2
  export interface IAppNotifications {
3
3
  messages: Observable<IResultSet<NavLink>>;
4
4
  getMessage?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
5
+ markMessageRead?: (predicate: (value: any, index: number, obj: any[]) => any) => any | undefined;
5
6
  refresh?: () => void | undefined;
6
7
  inboxAction?: () => void | undefined;
7
8
  }
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.155-beta.1",
3
+ "version": "0.2.157",
4
4
  "description": "Indice common components for Angular v12",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,10 +21,10 @@
21
21
  },
22
22
  "homepage": "https://github.com/indice-co/Indice.Angular#readme",
23
23
  "peerDependencies": {
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",
24
+ "@angular/common": ">=12.0.4",
25
+ "@angular/core": ">=12.0.4",
26
+ "@angular/router": ">=12.0.4",
27
+ "@indice/ng-auth": "^0.2.0",
28
28
  "@tailwindcss/aspect-ratio": "^0.2.0",
29
29
  "@tailwindcss/forms": "^0.3.2",
30
30
  "@tailwindcss/line-clamp": "^0.2.0",
package/public-api.d.ts CHANGED
@@ -23,6 +23,7 @@ export * from './lib/controls/stepper/lib-stepper.component';
23
23
  export * from './lib/controls/stepper/lib-step.component';
24
24
  export * from './lib/controls/stepper/lib-step-label.directive';
25
25
  export * from './lib/controls/stepper/lib-step-info.directive';
26
+ export * from './lib/controls/stepper/types/stepper-type';
26
27
  export * from './lib/layouts/shell/shell-layout/shell-layout.component';
27
28
  export * from './lib/layouts/shell/shell-header/shell-header.component';
28
29
  export * from './lib/layouts/shell/shell-footer/shell-footer.component';