@igo2/core 1.9.4 → 1.10.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 +8 -4
- package/__ivy_ngcc__/locale/en.integration.json +3 -1
- package/__ivy_ngcc__/locale/en.json +15 -3
- package/__ivy_ngcc__/locale/fr.core.json +6 -0
- package/__ivy_ngcc__/locale/fr.geo.json +9 -5
- package/__ivy_ngcc__/locale/fr.integration.json +3 -1
- package/__ivy_ngcc__/locale/fr.json +16 -4
- package/bundles/igo2-core.umd.js +104 -142
- 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 +48 -71
- package/fesm2015/igo2-core.js +97 -130
- 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 +12 -11
- package/locale/en.core.json +6 -0
- package/locale/en.geo.json +8 -4
- package/locale/en.integration.json +3 -1
- package/locale/en.json +15 -3
- package/locale/fr.core.json +6 -0
- package/locale/fr.geo.json +9 -5
- package/locale/fr.integration.json +3 -1
- package/locale/fr.json +16 -4
- package/package.json +4 -4
- package/style/core.theming.scss +3 -1
- package/style/index.theming.scss +212 -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
|
@@ -96,7 +96,9 @@
|
|
|
96
96
|
"copyTitle": "Coordonnées du centre",
|
|
97
97
|
"center": "Centre",
|
|
98
98
|
"coordSystem": "Système de coordonnées",
|
|
99
|
-
"zoom": "Niveau de zoom courant: "
|
|
99
|
+
"zoom": "Niveau de zoom courant: ",
|
|
100
|
+
"scale": "Échelle cartographique: ",
|
|
101
|
+
"resolution": "Résolution cartographique: "
|
|
100
102
|
}
|
|
101
103
|
|
|
102
104
|
}
|
package/locale/fr.json
CHANGED
|
@@ -262,6 +262,12 @@
|
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
264
|
"core": {
|
|
265
|
+
"message": {
|
|
266
|
+
"success": "Succès",
|
|
267
|
+
"error": "Erreur",
|
|
268
|
+
"info": "Info",
|
|
269
|
+
"alert": "Alerte"
|
|
270
|
+
},
|
|
265
271
|
"errors": {
|
|
266
272
|
"uncaught": {
|
|
267
273
|
"message": "Désolé! Le service que vous voulez utiliser n’est malheureusement pas disponible pour le moment. Essayez plus tard!",
|
|
@@ -392,16 +398,18 @@
|
|
|
392
398
|
"encoding": {
|
|
393
399
|
"LATIN1": "LATIN-1",
|
|
394
400
|
"UTF8": "UTF-8"
|
|
395
|
-
}
|
|
401
|
+
},
|
|
402
|
+
"combinedLayers": "couchesCombinees"
|
|
396
403
|
},
|
|
397
404
|
"importExportForm": {
|
|
398
405
|
"exportButton": "Exporter",
|
|
399
406
|
"exportButtonLink": "Ouvrir le lien",
|
|
400
407
|
"exportButtonLinks": "Ouvrir les liens",
|
|
401
|
-
"
|
|
408
|
+
"exportCombineResults": "Combiner les couches dans un seul fichier",
|
|
402
409
|
"exportFormatPlaceholder": "Format",
|
|
403
410
|
"exportLayerPlaceholder": "Couche(s)",
|
|
404
411
|
"exportFileNamePlaceholder": "Nom du fichier",
|
|
412
|
+
"exportSeparator": "Insérer un séparateur (ligne vide) entre les couches",
|
|
405
413
|
"encodingPlaceholder": "Encodage",
|
|
406
414
|
"exportTabTitle": "Exporter",
|
|
407
415
|
"exportFeatureInExtent": "Seulement les entités contenues dans la carte",
|
|
@@ -819,10 +827,12 @@
|
|
|
819
827
|
"removeLayer": "Retirer les résultats",
|
|
820
828
|
"exportLayer": "Exporter les résultats",
|
|
821
829
|
"clearForm": "Retirer le dessin",
|
|
822
|
-
"clearSearch": "Réinitialiser
|
|
830
|
+
"clearSearch": "Réinitialiser",
|
|
823
831
|
"Address": "Adresses",
|
|
824
832
|
"Thematics": "Thématiques",
|
|
825
833
|
"searchResults": "Résultats de la recherche",
|
|
834
|
+
"showSearchResults": "Afficher les résultats de la recherche",
|
|
835
|
+
"hideSearchResults": "Masquer les résultats de la recherche",
|
|
826
836
|
"type": "Type",
|
|
827
837
|
"radius": "Rayon",
|
|
828
838
|
"radiusAlert": "Le rayon doit être compris entre 0 et 100 kilomètres (ou 100 000 mètres)",
|
|
@@ -1075,7 +1085,9 @@
|
|
|
1075
1085
|
"copyTitle": "Coordonnées du centre",
|
|
1076
1086
|
"center": "Centre",
|
|
1077
1087
|
"coordSystem": "Système de coordonnées",
|
|
1078
|
-
"zoom": "Niveau de zoom courant: "
|
|
1088
|
+
"zoom": "Niveau de zoom courant: ",
|
|
1089
|
+
"scale": "Échelle cartographique: ",
|
|
1090
|
+
"resolution": "Résolution cartographique: "
|
|
1079
1091
|
}
|
|
1080
1092
|
}
|
|
1081
1093
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igo2/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "IGO Library",
|
|
5
5
|
"author": "MSP",
|
|
6
6
|
"keywords": [
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@ngx-translate/core": "^13.0.0",
|
|
20
|
-
"@igo2/angular2-notifications": "^12.0.1",
|
|
21
20
|
"tslib": "^2.0.0"
|
|
22
21
|
},
|
|
23
22
|
"peerDependencies": {
|
|
24
23
|
"@angular/cdk": "^12.2.9",
|
|
25
24
|
"@angular/common": "^12.2.9",
|
|
26
25
|
"@angular/core": "^12.2.9",
|
|
27
|
-
"@igo2/utils": "^1.
|
|
28
|
-
"rxjs": "^6.6.7"
|
|
26
|
+
"@igo2/utils": "^1.10.0",
|
|
27
|
+
"rxjs": "^6.6.7",
|
|
28
|
+
"ngx-toastr": "^14.1.3"
|
|
29
29
|
},
|
|
30
30
|
"main": "bundles/igo2-core.umd.js",
|
|
31
31
|
"module": "fesm2015/igo2-core.js",
|
package/style/core.theming.scss
CHANGED
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}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './message-center.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb3JlL3NyYy9saWIvbWVzc2FnZS9tZXNzYWdlLWNlbnRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tZXNzYWdlLWNlbnRlci5jb21wb25lbnQnO1xuIl19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS1jZW50ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9zcmMvbGliL21lc3NhZ2UvbWVzc2FnZS1jZW50ZXIvbWVzc2FnZS1jZW50ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29yZS9zcmMvbGliL21lc3NhZ2UvbWVzc2FnZS1jZW50ZXIvbWVzc2FnZS1jZW50ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0FBT2pELE1BQU0sT0FBTyxzQkFBc0I7SUF5QmpDO1FBRlEsYUFBUSxHQUFRLEVBQUUsQ0FBQztJQUVaLENBQUM7SUFiaEIsSUFDSSxPQUFPO1FBQ1QsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUNsQixFQUFFLEVBQ0Ysc0JBQXNCLENBQUMsY0FBYyxFQUNyQyxJQUFJLENBQUMsUUFBUSxDQUNkLENBQUM7SUFDSixDQUFDO0lBQ0QsSUFBSSxPQUFPLENBQUMsS0FBVTtRQUNwQixJQUFJLENBQUMsUUFBUSxHQUFHLEtBQUssQ0FBQztJQUN4QixDQUFDOztBQXJCTSxxQ0FBYyxHQUFHO0lBQ3RCLE9BQU8sRUFBRSxJQUFJO0lBQ2IsWUFBWSxFQUFFLEtBQUs7SUFDbkIsZUFBZSxFQUFFLElBQUk7SUFDckIsWUFBWSxFQUFFLElBQUk7SUFDbEIsWUFBWSxFQUFFLElBQUk7SUFDbEIsU0FBUyxFQUFFLEdBQUc7SUFDZCxRQUFRLEVBQUUsQ0FBQztJQUNYLGlCQUFpQixFQUFFLElBQUk7Q0FDeEIsQ0FBQzs0RkFWUyxzQkFBc0I7eUVBQXRCLHNCQUFzQjtRQ1BuQywwQ0FJdUI7O1FBRnJCLDhFQUE2Qyx3QkFBQTs7dUZES2xDLHNCQUFzQjtjQUxsQyxTQUFTO2VBQUM7Z0JBQ1QsUUFBUSxFQUFFLG9CQUFvQjtnQkFDOUIsV0FBVyxFQUFFLGlDQUFpQztnQkFDOUMsU0FBUyxFQUFFLENBQUMsaUNBQWlDLENBQUM7YUFDL0M7c0NBY0ssT0FBTztrQkFEVixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdpZ28tbWVzc2FnZS1jZW50ZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vbWVzc2FnZS1jZW50ZXIuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9tZXNzYWdlLWNlbnRlci5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIE1lc3NhZ2VDZW50ZXJDb21wb25lbnQge1xuICBzdGF0aWMgZGVmYXVsdE9wdGlvbnMgPSB7XG4gICAgdGltZU91dDogNTAwMCxcbiAgICBoYXNDbG9zZUljb246IGZhbHNlLFxuICAgIHNob3dQcm9ncmVzc0JhcjogdHJ1ZSxcbiAgICBwYXVzZU9uSG92ZXI6IHRydWUsXG4gICAgY2xpY2tUb0Nsb3NlOiB0cnVlLFxuICAgIG1heExlbmd0aDogMTAwLFxuICAgIG1heFN0YWNrOiAzLFxuICAgIHByZXZlbnREdXBsaWNhdGVzOiB0cnVlXG4gIH07XG5cbiAgQElucHV0KClcbiAgZ2V0IG9wdGlvbnMoKTogYW55IHtcbiAgICByZXR1cm4gT2JqZWN0LmFzc2lnbihcbiAgICAgIHt9LFxuICAgICAgTWVzc2FnZUNlbnRlckNvbXBvbmVudC5kZWZhdWx0T3B0aW9ucyxcbiAgICAgIHRoaXMuX29wdGlvbnNcbiAgICApO1xuICB9XG4gIHNldCBvcHRpb25zKHZhbHVlOiBhbnkpIHtcbiAgICB0aGlzLl9vcHRpb25zID0gdmFsdWU7XG4gIH1cbiAgcHJpdmF0ZSBfb3B0aW9uczogYW55ID0ge307XG5cbiAgY29uc3RydWN0b3IoKSB7fVxufVxuIiwiPHNpbXBsZS1ub3RpZmljYXRpb25zXG4gIGNsYXNzPVwibWF0LXR5cG9ncmFwaHlcIlxuICBbbmdDbGFzc109XCJ7Y2xvc2VJY29uOiBvcHRpb25zLmhhc0Nsb3NlSWNvbn1cIlxuICBbb3B0aW9uc109XCJvcHRpb25zXCI+XG48L3NpbXBsZS1ub3RpZmljYXRpb25zPlxuIl19
|
|
@@ -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
|
-
}
|