@igo2/core 1.9.3 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__ivy_ngcc__/locale/en.core.json +6 -0
- package/__ivy_ngcc__/locale/en.geo.json +31 -9
- package/__ivy_ngcc__/locale/en.integration.json +6 -4
- package/__ivy_ngcc__/locale/en.json +41 -11
- package/__ivy_ngcc__/locale/fr.core.json +6 -0
- package/__ivy_ngcc__/locale/fr.geo.json +29 -7
- package/__ivy_ngcc__/locale/fr.integration.json +5 -3
- package/__ivy_ngcc__/locale/fr.json +38 -8
- package/bundles/igo2-core.umd.js +138 -141
- package/bundles/igo2-core.umd.js.map +1 -1
- package/esm2015/lib/config/version.js +3 -3
- package/esm2015/lib/message/index.js +1 -2
- package/esm2015/lib/message/message.module.js +38 -9
- package/esm2015/lib/message/shared/index.js +1 -1
- package/esm2015/lib/message/shared/message.enum.js +3 -2
- package/esm2015/lib/message/shared/message.interface.js +1 -1
- package/esm2015/lib/message/shared/message.service.js +55 -72
- package/esm2015/lib/network/network.service.js +11 -3
- package/esm2015/lib/route/route.service.js +19 -4
- package/fesm2015/igo2-core.js +125 -129
- package/fesm2015/igo2-core.js.map +1 -1
- package/lib/message/index.d.ts +0 -1
- package/lib/message/message.module.d.ts +3 -4
- package/lib/message/shared/index.d.ts +1 -1
- package/lib/message/shared/message.enum.d.ts +2 -1
- package/lib/message/shared/message.interface.d.ts +4 -4
- package/lib/message/shared/message.service.d.ts +14 -11
- package/lib/network/network.service.d.ts +1 -0
- package/lib/route/route.service.d.ts +4 -3
- package/locale/en.core.json +6 -0
- package/locale/en.geo.json +31 -9
- package/locale/en.integration.json +6 -4
- package/locale/en.json +41 -11
- package/locale/fr.core.json +6 -0
- package/locale/fr.geo.json +29 -7
- package/locale/fr.integration.json +5 -3
- package/locale/fr.json +38 -8
- package/package.json +4 -4
- package/style/core.theming.scss +3 -1
- package/style/index.theming.scss +228 -36
- package/esm2015/lib/message/message-center/index.js +0 -2
- package/esm2015/lib/message/message-center/message-center.component.js +0 -43
- package/lib/message/message-center/index.d.ts +0 -1
- package/lib/message/message-center/message-center.component.d.ts +0 -19
package/style/index.theming.scss
CHANGED
|
@@ -59,54 +59,230 @@ a.mat-menu-item > mat-icon {
|
|
|
59
59
|
@include igo-core-theming($theme, $typography);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
/* based on angular-toastr css https://github.com/Foxandxss/angular-toastr/blob/cb508fe6801d6b288d3afc525bb40fee1b101650/dist/angular-toastr.css */
|
|
63
|
+
|
|
64
|
+
/* position */
|
|
65
|
+
.toast-center-center {
|
|
66
|
+
top: 50%;
|
|
67
|
+
left: 50%;
|
|
68
|
+
transform: translate(-50%, -50%);
|
|
69
|
+
}
|
|
70
|
+
.toast-top-center {
|
|
71
|
+
top: 0;
|
|
72
|
+
right: 0;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
.toast-bottom-center {
|
|
76
|
+
bottom: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
width: 100%;
|
|
79
|
+
}
|
|
80
|
+
.toast-top-full-width {
|
|
81
|
+
top: 0;
|
|
82
|
+
right: 0;
|
|
83
|
+
width: 100%;
|
|
84
|
+
}
|
|
85
|
+
.toast-bottom-full-width {
|
|
86
|
+
bottom: 0;
|
|
87
|
+
right: 0;
|
|
88
|
+
width: 100%;
|
|
89
|
+
}
|
|
90
|
+
.toast-top-left {
|
|
91
|
+
top: 12px;
|
|
92
|
+
left: 12px;
|
|
93
|
+
}
|
|
94
|
+
.toast-top-right {
|
|
95
|
+
top: 12px;
|
|
96
|
+
right: 12px;
|
|
97
|
+
}
|
|
98
|
+
.toast-bottom-right {
|
|
99
|
+
right: 12px;
|
|
100
|
+
bottom: 12px;
|
|
101
|
+
}
|
|
102
|
+
.toast-bottom-left {
|
|
103
|
+
bottom: 12px;
|
|
104
|
+
left: 12px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* toast styles */
|
|
108
|
+
.toast-title {
|
|
109
|
+
font-weight: bold;
|
|
110
|
+
}
|
|
111
|
+
.toast-message {
|
|
112
|
+
word-wrap: break-word;
|
|
113
|
+
}
|
|
114
|
+
.toast-message a,
|
|
115
|
+
.toast-message label {
|
|
116
|
+
color: #FFFFFF;
|
|
117
|
+
}
|
|
118
|
+
.toast-message a:hover {
|
|
119
|
+
color: #CCCCCC;
|
|
120
|
+
text-decoration: none;
|
|
121
|
+
}
|
|
122
|
+
.toast-close-button {
|
|
123
|
+
position: relative;
|
|
124
|
+
right: -0.3em;
|
|
125
|
+
top: -0.3em;
|
|
126
|
+
float: right;
|
|
127
|
+
font-size: 20px;
|
|
128
|
+
font-weight: bold;
|
|
129
|
+
color: #FFFFFF;
|
|
130
|
+
text-shadow: 0 1px 0 #ffffff;
|
|
131
|
+
/* opacity: 0.8; */
|
|
132
|
+
}
|
|
133
|
+
.toast-close-button:hover,
|
|
134
|
+
.toast-close-button:focus {
|
|
135
|
+
color: #000000;
|
|
136
|
+
text-decoration: none;
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
opacity: 0.4;
|
|
139
|
+
}
|
|
140
|
+
/*Additional properties for button version
|
|
141
|
+
iOS requires the button element instead of an anchor tag.
|
|
142
|
+
If you want the anchor version, it requires `href="#"`.*/
|
|
143
|
+
button.toast-close-button {
|
|
144
|
+
padding: 0;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
background: transparent;
|
|
147
|
+
border: 0;
|
|
148
|
+
}
|
|
149
|
+
.toast-container {
|
|
150
|
+
pointer-events: none;
|
|
151
|
+
position: fixed;
|
|
152
|
+
z-index: 999999;
|
|
153
|
+
}
|
|
154
|
+
.toast-container * {
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
}
|
|
157
|
+
.toast-container .ngx-toastr {
|
|
158
|
+
position: relative;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
margin: 0 0 6px;
|
|
161
|
+
padding: 15px 15px 15px 50px;
|
|
162
|
+
width: 300px;
|
|
163
|
+
border-radius: 3px 3px 3px 3px;
|
|
164
|
+
background-position: 15px center;
|
|
165
|
+
background-repeat: no-repeat;
|
|
166
|
+
background-size: 24px;
|
|
167
|
+
box-shadow: 0 0 12px #999999;
|
|
168
|
+
color: #FFFFFF;
|
|
169
|
+
}
|
|
170
|
+
.toast-container .ngx-toastr:hover {
|
|
171
|
+
box-shadow: 0 0 12px #000000;
|
|
172
|
+
opacity: 1;
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
}
|
|
175
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/info-circle.svg */
|
|
176
|
+
.toast-info {
|
|
177
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+");
|
|
178
|
+
}
|
|
179
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/times-circle.svg */
|
|
180
|
+
.toast-error {
|
|
181
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+");
|
|
182
|
+
}
|
|
183
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/check.svg */
|
|
184
|
+
.toast-success {
|
|
185
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==");
|
|
186
|
+
}
|
|
187
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/exclamation-triangle.svg */
|
|
188
|
+
.toast-warning {
|
|
189
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==");
|
|
190
|
+
}
|
|
191
|
+
.toast-container.toast-top-center .ngx-toastr,
|
|
192
|
+
.toast-container.toast-bottom-center .ngx-toastr {
|
|
193
|
+
width: 300px;
|
|
194
|
+
margin-left: auto;
|
|
195
|
+
margin-right: auto;
|
|
196
|
+
}
|
|
197
|
+
.toast-container.toast-top-full-width .ngx-toastr,
|
|
198
|
+
.toast-container.toast-bottom-full-width .ngx-toastr {
|
|
199
|
+
width: 96%;
|
|
200
|
+
margin-left: auto;
|
|
201
|
+
margin-right: auto;
|
|
202
|
+
}
|
|
203
|
+
.ngx-toastr {
|
|
204
|
+
background-color: #030303;
|
|
205
|
+
pointer-events: auto;
|
|
206
|
+
}
|
|
207
|
+
.toast-success {
|
|
208
|
+
background-color: #51A351;
|
|
209
|
+
}
|
|
210
|
+
.toast-error {
|
|
211
|
+
background-color: #BD362F;
|
|
212
|
+
}
|
|
213
|
+
.toast-info {
|
|
214
|
+
background-color: #2F96B4;
|
|
215
|
+
}
|
|
216
|
+
.toast-warning {
|
|
217
|
+
background-color: #F89406;
|
|
218
|
+
}
|
|
219
|
+
.toast-progress {
|
|
220
|
+
position: absolute;
|
|
221
|
+
left: 0;
|
|
222
|
+
bottom: 0;
|
|
223
|
+
height: 4px;
|
|
224
|
+
background-color: #000000;
|
|
225
|
+
opacity: 0.4;
|
|
226
|
+
}
|
|
227
|
+
/* Responsive Design */
|
|
228
|
+
@media all and (max-width: 240px) {
|
|
229
|
+
.toast-container .ngx-toastr.div {
|
|
230
|
+
padding: 8px 8px 8px 50px;
|
|
231
|
+
width: 11em;
|
|
232
|
+
}
|
|
233
|
+
.toast-container .toast-close-button {
|
|
234
|
+
right: -0.2em;
|
|
235
|
+
top: -0.2em;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
@media all and (min-width: 241px) and (max-width: 480px) {
|
|
239
|
+
.toast-container .ngx-toastr.div {
|
|
240
|
+
padding: 8px 8px 8px 50px;
|
|
241
|
+
width: 18em;
|
|
242
|
+
}
|
|
243
|
+
.toast-container .toast-close-button {
|
|
244
|
+
right: -0.2em;
|
|
245
|
+
top: -0.2em;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
@media all and (min-width: 481px) and (max-width: 768px) {
|
|
249
|
+
.toast-container .ngx-toastr.div {
|
|
250
|
+
padding: 15px 15px 15px 50px;
|
|
251
|
+
width: 25em;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
|
|
62
256
|
@mixin igo-core-theming($theme, $typography) {
|
|
63
|
-
@include igo-message-theming($theme);
|
|
257
|
+
@include igo-message-theming($theme, $typography);
|
|
64
258
|
|
|
65
259
|
button.mat-icon-button.mat-button-base[disabled="true"] {
|
|
66
260
|
color: rgba(0,0,0,.26);
|
|
67
261
|
}
|
|
68
262
|
}
|
|
69
263
|
|
|
70
|
-
@mixin igo-message-theming($theme) {
|
|
264
|
+
@mixin igo-message-theming($theme, $typography) {
|
|
71
265
|
$primary: map-get($theme, primary);
|
|
72
266
|
$accent: map-get($theme, accent);
|
|
73
267
|
$warn: map-get($theme, warn);
|
|
74
268
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
background-color: mat.get-color-from-palette($accent, darker);
|
|
92
|
-
}
|
|
93
|
-
svg {
|
|
94
|
-
fill: mat.get-color-from-palette($accent, default-contrast);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&.error {
|
|
99
|
-
color: mat.get-color-from-palette($warn, default-contrast);
|
|
100
|
-
background-color: mat.get-color-from-palette($warn);
|
|
101
|
-
.sn-progress-loader span {
|
|
102
|
-
background-color: mat.get-color-from-palette($warn, darker);
|
|
103
|
-
}
|
|
104
|
-
svg {
|
|
105
|
-
fill: mat.get-color-from-palette($warn, default-contrast);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
269
|
+
.toast-error {
|
|
270
|
+
background-color: mat.get-color-from-palette($warn);
|
|
271
|
+
}
|
|
272
|
+
.toast-info {
|
|
273
|
+
background-color: mat.get-color-from-palette($primary);
|
|
274
|
+
}
|
|
275
|
+
.toast-title {
|
|
276
|
+
line-height: 23px;
|
|
277
|
+
font-size: 15px;
|
|
278
|
+
font-weight: bold;
|
|
279
|
+
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
280
|
+
}
|
|
281
|
+
.toast-message {
|
|
282
|
+
line-height: 18px;
|
|
283
|
+
font-size: mat.font-size($typography, subheading-2);
|
|
284
|
+
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
108
285
|
}
|
|
109
|
-
|
|
110
286
|
}
|
|
111
287
|
|
|
112
288
|
.shepherd-button{background:#3288e6;border:0;border-radius:3px;color:hsla(0,0%,100%,.75);cursor:pointer;margin-right:.5rem;padding:.5rem 1.5rem;transition:all .5s ease}.shepherd-button:not(:disabled):hover{background:#196fcc;color:hsla(0,0%,100%,.75)}.shepherd-button.shepherd-button-secondary{background:#f1f2f3;color:rgba(0,0,0,.75)}.shepherd-button.shepherd-button-secondary:not(:disabled):hover{background:#d6d9db;color:rgba(0,0,0,.75)}.shepherd-button:disabled{cursor:not-allowed}
|
|
@@ -658,6 +834,7 @@ a.mat-menu-item > mat-icon {
|
|
|
658
834
|
@include igo-map-theming($theme, $typography);
|
|
659
835
|
@include igo-measure-theming($theme, $typography);
|
|
660
836
|
@include igo-directions-theming($theme);
|
|
837
|
+
@include igo-workspace-theming($theme, $typography);
|
|
661
838
|
}
|
|
662
839
|
|
|
663
840
|
@mixin igo-directions-theming($theme) {
|
|
@@ -874,6 +1051,21 @@ a.mat-menu-item > mat-icon {
|
|
|
874
1051
|
}
|
|
875
1052
|
}
|
|
876
1053
|
|
|
1054
|
+
@mixin igo-workspace-theming($theme, $typography) {
|
|
1055
|
+
@include igo-confirmation-popup-theming($theme, $typography);
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
@mixin igo-confirmation-popup-theming($theme, $typography) {
|
|
1059
|
+
$foreground: map-get($theme, foreground);
|
|
1060
|
+
|
|
1061
|
+
igo-confirmation-popup-component {
|
|
1062
|
+
h1 {
|
|
1063
|
+
font-size: mat.font-size($typography, display-1);
|
|
1064
|
+
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
|
|
877
1069
|
.blue-theme {
|
|
878
1070
|
$primary: mat.define-palette(mat.$blue-palette, 700, 400, 900);
|
|
879
1071
|
$accent: mat.define-palette(mat.$blue-palette, 200);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './message-center.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb3JlL3NyYy9saWIvbWVzc2FnZS9tZXNzYWdlLWNlbnRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tZXNzYWdlLWNlbnRlci5jb21wb25lbnQnO1xyXG4iXX0=
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@igo2/angular2-notifications";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
const _c0 = function (a0) { return { closeIcon: a0 }; };
|
|
6
|
-
export class MessageCenterComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this._options = {};
|
|
9
|
-
}
|
|
10
|
-
get options() {
|
|
11
|
-
return Object.assign({}, MessageCenterComponent.defaultOptions, this._options);
|
|
12
|
-
}
|
|
13
|
-
set options(value) {
|
|
14
|
-
this._options = value;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
MessageCenterComponent.defaultOptions = {
|
|
18
|
-
timeOut: 5000,
|
|
19
|
-
hasCloseIcon: false,
|
|
20
|
-
showProgressBar: true,
|
|
21
|
-
pauseOnHover: true,
|
|
22
|
-
clickToClose: true,
|
|
23
|
-
maxLength: 100,
|
|
24
|
-
maxStack: 3,
|
|
25
|
-
preventDuplicates: true
|
|
26
|
-
};
|
|
27
|
-
MessageCenterComponent.ɵfac = function MessageCenterComponent_Factory(t) { return new (t || MessageCenterComponent)(); };
|
|
28
|
-
MessageCenterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MessageCenterComponent, selectors: [["igo-message-center"]], inputs: { options: "options" }, decls: 1, vars: 4, consts: [[1, "mat-typography", 3, "ngClass", "options"]], template: function MessageCenterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
-
i0.ɵɵelement(0, "simple-notifications", 0);
|
|
30
|
-
} if (rf & 2) {
|
|
31
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0, ctx.options.hasCloseIcon))("options", ctx.options);
|
|
32
|
-
} }, directives: [i1.SimpleNotificationsComponent, i2.NgClass], styles: ["[_nghost-%COMP%] div.simple-notification-wrapper{bottom:0;right:calc(50% - 150px)}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%] div.simple-notification-wrapper{right:0;left:0;width:100%}}[_nghost-%COMP%] .closeIcon .sn-title:after{content:\"close\";font-family:\"Material Icons\";font-feature-settings:\"liga\" 1;font-size:24px;font-weight:normal;right:5px;top:5px;position:absolute}[_nghost-%COMP%] .simple-notification .icon{top:0;left:0;width:45px;height:45px;height:100%;padding:7px}[_nghost-%COMP%] .simple-notification .icon mat-icon{display:flex;align-items:center;height:100%;font-size:32px}[_nghost-%COMP%] div.simple-notification{min-height:50px;margin-bottom:5px;padding-left:45px;padding-right:25px}[_nghost-%COMP%] div.simple-notification.noIcon{padding-left:25px}@media only screen and (orientation:portrait) and (max-width: 599px),only screen and (orientation:landscape) and (max-width: 959px){[_nghost-%COMP%] div.simple-notification{margin-bottom:0}}[_nghost-%COMP%] div.simple-notification .sn-title{line-height:23px;font-size:15px;font-weight:bold}[_nghost-%COMP%] div.simple-notification .sn-content{line-height:18px;font-size:15px}"] });
|
|
33
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageCenterComponent, [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: 'igo-message-center',
|
|
37
|
-
templateUrl: './message-center.component.html',
|
|
38
|
-
styleUrls: ['./message-center.component.scss']
|
|
39
|
-
}]
|
|
40
|
-
}], function () { return []; }, { options: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] }); })();
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS1jZW50ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9zcmMvbGliL21lc3NhZ2UvbWVzc2FnZS1jZW50ZXIvbWVzc2FnZS1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TtcclxuICB9XHJcbiAgcHJpdmF0ZSBfb3B0aW9uczogYW55ID0ge307XHJcblxyXG4gIGNvbnN0cnVjdG9yKCkge31cclxufVxyXG4iLCI8c2ltcGxlLW5vdGlmaWNhdGlvbnNcclxuICBjbGFzcz1cIm1hdC10eXBvZ3JhcGh5XCJcclxuICBbbmdDbGFzc109XCJ7Y2xvc2VJY29uOiBvcHRpb25zLmhhc0Nsb3NlSWNvbn1cIlxyXG4gIFtvcHRpb25zXT1cIm9wdGlvbnNcIj5cclxuPC9zaW1wbGUtbm90aWZpY2F0aW9ucz5cclxuIl19
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './message-center.component';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MessageCenterComponent {
|
|
3
|
-
static defaultOptions: {
|
|
4
|
-
timeOut: number;
|
|
5
|
-
hasCloseIcon: boolean;
|
|
6
|
-
showProgressBar: boolean;
|
|
7
|
-
pauseOnHover: boolean;
|
|
8
|
-
clickToClose: boolean;
|
|
9
|
-
maxLength: number;
|
|
10
|
-
maxStack: number;
|
|
11
|
-
preventDuplicates: boolean;
|
|
12
|
-
};
|
|
13
|
-
get options(): any;
|
|
14
|
-
set options(value: any);
|
|
15
|
-
private _options;
|
|
16
|
-
constructor();
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageCenterComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageCenterComponent, "igo-message-center", never, { "options": "options"; }, {}, never, never>;
|
|
19
|
-
}
|