@igo2/core 1.15.4 → 16.0.0-rc.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.
Files changed (241) hide show
  1. package/_index.scss +8 -0
  2. package/assets/icons/mdi.svg +1 -1
  3. package/core-theme.scss +5 -0
  4. package/{esm2020 → esm2022}/igo2-core.mjs +4 -4
  5. package/{esm2020 → esm2022}/lib/activity/activity.interceptor.mjs +32 -30
  6. package/{esm2020 → esm2022}/lib/activity/activity.module.mjs +30 -30
  7. package/esm2022/lib/activity/activity.service.mjs +32 -0
  8. package/{esm2020 → esm2022}/lib/activity/index.mjs +3 -3
  9. package/{esm2020 → esm2022}/lib/analytics/index.mjs +2 -2
  10. package/{esm2020 → esm2022}/lib/analytics/shared/analytics.interface.mjs +2 -2
  11. package/esm2022/lib/analytics/shared/analytics.service.mjs +84 -0
  12. package/{esm2020 → esm2022}/lib/analytics/shared/index.mjs +3 -3
  13. package/{esm2020 → esm2022}/lib/compression/compressedData.interface.mjs +2 -2
  14. package/esm2022/lib/compression/compression.service.mjs +142 -0
  15. package/{esm2020 → esm2022}/lib/compression/index.mjs +3 -3
  16. package/{esm2020 → esm2022}/lib/config/config.interface.mjs +1 -1
  17. package/{esm2020 → esm2022}/lib/config/config.module.mjs +23 -23
  18. package/{esm2020 → esm2022}/lib/config/config.provider.mjs +21 -21
  19. package/esm2022/lib/config/config.service.mjs +53 -0
  20. package/{esm2020 → esm2022}/lib/config/index.mjs +4 -4
  21. package/esm2022/lib/config/version.mjs +5 -0
  22. package/esm2022/lib/core.module.mjs +104 -0
  23. package/{esm2020 → esm2022}/lib/gesture/gesture.module.mjs +30 -30
  24. package/{esm2020 → esm2022}/lib/gesture/gesture.provider.mjs +16 -16
  25. package/{esm2020 → esm2022}/lib/language/index.mjs +2 -2
  26. package/esm2022/lib/language/language.module.mjs +39 -0
  27. package/{esm2020 → esm2022}/lib/language/shared/index.mjs +5 -5
  28. package/{esm2020 → esm2022}/lib/language/shared/language.interface.mjs +2 -2
  29. package/esm2022/lib/language/shared/language.loader.mjs +31 -0
  30. package/esm2022/lib/language/shared/language.provider.mjs +22 -0
  31. package/esm2022/lib/language/shared/language.service.mjs +38 -0
  32. package/{esm2020 → esm2022}/lib/language/shared/missing-translation.guard.mjs +16 -16
  33. package/{esm2020 → esm2022}/lib/media/index.mjs +3 -3
  34. package/{esm2020 → esm2022}/lib/media/media.enum.mjs +12 -12
  35. package/esm2022/lib/media/media.service.mjs +82 -0
  36. package/{esm2020 → esm2022}/lib/message/index.mjs +2 -2
  37. package/esm2022/lib/message/message.module.mjs +60 -0
  38. package/{esm2020 → esm2022}/lib/message/shared/index.mjs +4 -4
  39. package/{esm2020 → esm2022}/lib/message/shared/message.enum.mjs +10 -10
  40. package/{esm2020 → esm2022}/lib/message/shared/message.interface.mjs +2 -2
  41. package/esm2022/lib/message/shared/message.service.mjs +218 -0
  42. package/{esm2020 → esm2022}/lib/network/index.mjs +3 -3
  43. package/{esm2020 → esm2022}/lib/network/network.interfaces.mjs +2 -2
  44. package/esm2022/lib/network/network.service.mjs +66 -0
  45. package/{esm2020 → esm2022}/lib/regex/index.mjs +3 -3
  46. package/{esm2020 → esm2022}/lib/regex/regex.interface.mjs +2 -2
  47. package/esm2022/lib/regex/regex.service.mjs +30 -0
  48. package/esm2022/lib/request/error.interceptor.mjs +67 -0
  49. package/esm2022/lib/request/error.module.mjs +39 -0
  50. package/{esm2020 → esm2022}/lib/request/index.mjs +3 -3
  51. package/esm2022/lib/request/logging.interceptor.mjs +29 -0
  52. package/{esm2020 → esm2022}/lib/request/logging.module.mjs +30 -30
  53. package/esm2022/lib/route/route.interface.mjs +2 -0
  54. package/esm2022/lib/route/route.service.mjs +75 -0
  55. package/esm2022/lib/storage/index.mjs +4 -0
  56. package/{esm2020 → esm2022}/lib/storage/storage.interface.mjs +13 -13
  57. package/esm2022/lib/storage/storage.mjs +76 -0
  58. package/esm2022/lib/storage/storage.service.mjs +21 -0
  59. package/{esm2020 → esm2022}/public_api.mjs +27 -27
  60. package/{fesm2020 → fesm2022}/igo2-core.mjs +1364 -1288
  61. package/fesm2022/igo2-core.mjs.map +1 -0
  62. package/index.d.ts +5 -5
  63. package/lib/activity/activity.interceptor.d.ts +11 -11
  64. package/lib/activity/activity.module.d.ts +8 -8
  65. package/lib/activity/activity.service.d.ts +11 -11
  66. package/lib/activity/index.d.ts +2 -2
  67. package/lib/analytics/index.d.ts +1 -1
  68. package/lib/analytics/shared/analytics.interface.d.ts +6 -6
  69. package/lib/analytics/shared/analytics.service.d.ts +23 -23
  70. package/lib/analytics/shared/index.d.ts +2 -2
  71. package/lib/compression/compressedData.interface.d.ts +5 -5
  72. package/lib/compression/compression.service.d.ts +15 -15
  73. package/lib/compression/index.d.ts +2 -2
  74. package/lib/config/config.interface.d.ts +6 -6
  75. package/lib/config/config.module.d.ts +8 -8
  76. package/lib/config/config.provider.d.ts +15 -15
  77. package/lib/config/config.service.d.ts +18 -18
  78. package/lib/config/index.d.ts +3 -3
  79. package/lib/config/version.d.ts +5 -5
  80. package/lib/core.module.d.ts +19 -19
  81. package/lib/gesture/gesture.module.d.ts +9 -9
  82. package/lib/gesture/gesture.provider.d.ts +7 -7
  83. package/lib/language/index.d.ts +1 -1
  84. package/lib/language/language.module.d.ts +9 -9
  85. package/lib/language/shared/index.d.ts +4 -4
  86. package/lib/language/shared/language.interface.d.ts +3 -3
  87. package/lib/language/shared/language.loader.d.ts +11 -11
  88. package/lib/language/shared/language.provider.d.ts +15 -15
  89. package/lib/language/shared/language.service.d.ts +13 -13
  90. package/lib/language/shared/missing-translation.guard.d.ts +4 -4
  91. package/lib/media/index.d.ts +2 -2
  92. package/lib/media/media.enum.d.ts +9 -9
  93. package/lib/media/media.service.d.ts +16 -16
  94. package/lib/message/index.d.ts +1 -1
  95. package/lib/message/message.module.d.ts +10 -10
  96. package/lib/message/message.theming.scss +26 -0
  97. package/lib/message/shared/index.d.ts +4 -4
  98. package/lib/message/shared/message.enum.d.ts +8 -8
  99. package/lib/message/shared/message.interface.d.ts +21 -21
  100. package/lib/message/shared/message.service.d.ts +31 -31
  101. package/lib/network/index.d.ts +2 -2
  102. package/lib/network/network.interfaces.d.ts +3 -3
  103. package/lib/network/network.service.d.ts +21 -21
  104. package/lib/regex/index.d.ts +2 -2
  105. package/lib/regex/regex.interface.d.ts +3 -3
  106. package/lib/regex/regex.service.d.ts +12 -12
  107. package/lib/request/error.interceptor.d.ts +14 -14
  108. package/lib/request/error.module.d.ts +9 -9
  109. package/lib/request/index.d.ts +2 -2
  110. package/lib/request/logging.interceptor.d.ts +8 -8
  111. package/lib/request/logging.module.d.ts +8 -8
  112. package/lib/route/route.interface.d.ts +23 -23
  113. package/lib/route/route.service.d.ts +19 -19
  114. package/lib/storage/index.d.ts +3 -2
  115. package/lib/storage/storage.d.ts +15 -0
  116. package/lib/storage/storage.interface.d.ts +20 -20
  117. package/lib/storage/storage.service.d.ts +10 -19
  118. package/locale/en.core.json +1 -2
  119. package/locale/en.json +1 -1205
  120. package/locale/fr.core.json +1 -2
  121. package/locale/fr.json +1 -1210
  122. package/package.json +40 -30
  123. package/packages.import.scss +4 -0
  124. package/public_api.d.ts +24 -24
  125. package/style/all-style.css +793 -0
  126. package/style/all-style.scss +3 -0
  127. package/style/layout.scss +163 -0
  128. package/style/partial/core-utils.scss +5 -0
  129. package/style/partial/core.variables.scss +1 -1
  130. package/style/partial/media.scss +80 -80
  131. package/style/style.css +237 -0
  132. package/style/style.scss +19 -0
  133. package/theming/all-theme.scss +14 -0
  134. package/theming/material-theme-override.scss +39 -0
  135. package/theming/prebuilt-themes/blue-theme.css +2986 -0
  136. package/theming/prebuilt-themes/blue-theme.scss +34 -0
  137. package/theming/prebuilt-themes/bluedark-theme.css +2986 -0
  138. package/theming/prebuilt-themes/bluedark-theme.scss +67 -0
  139. package/theming/prebuilt-themes/bluedq-theme.css +2986 -0
  140. package/theming/prebuilt-themes/bluedq-theme.scss +66 -0
  141. package/theming/prebuilt-themes/bluegrey-theme.css +2986 -0
  142. package/theming/prebuilt-themes/bluegrey-theme.scss +25 -0
  143. package/theming/prebuilt-themes/dark-theme.css +2993 -0
  144. package/theming/prebuilt-themes/dark-theme.scss +25 -0
  145. package/theming/prebuilt-themes/deeppurple-theme.css +2986 -0
  146. package/theming/prebuilt-themes/deeppurple-theme.scss +25 -0
  147. package/theming/prebuilt-themes/indigo-theme.css +2986 -0
  148. package/theming/prebuilt-themes/indigo-theme.scss +25 -0
  149. package/theming/prebuilt-themes/orange-theme.css +2986 -0
  150. package/theming/prebuilt-themes/orange-theme.scss +25 -0
  151. package/theming/prebuilt-themes/qcca/_index.scss +2 -0
  152. package/theming/prebuilt-themes/qcca/base/_index.scss +4 -0
  153. package/theming/prebuilt-themes/qcca/base/breakpoints.scss +57 -0
  154. package/theming/prebuilt-themes/qcca/base/colors.scss +40 -0
  155. package/theming/prebuilt-themes/qcca/base/palette.scss +50 -0
  156. package/theming/prebuilt-themes/qcca/base/typography/_index.scss +2 -0
  157. package/theming/prebuilt-themes/qcca/base/typography/typography.scss +138 -0
  158. package/theming/prebuilt-themes/qcca/base/typography/typography.utils.scss +18 -0
  159. package/theming/prebuilt-themes/qcca/components/_index.scss +9 -0
  160. package/theming/prebuilt-themes/qcca/components/_index.theme.scss +5 -0
  161. package/theming/prebuilt-themes/qcca/components/button.scss +24 -0
  162. package/theming/prebuilt-themes/qcca/components/dialog.scss +36 -0
  163. package/theming/prebuilt-themes/qcca/components/form-field.scss +5 -0
  164. package/theming/prebuilt-themes/qcca/components/input.scss +6 -0
  165. package/theming/prebuilt-themes/qcca/components/list.scss +24 -0
  166. package/theming/prebuilt-themes/qcca/components/panel.scss +8 -0
  167. package/theming/prebuilt-themes/qcca/components/search-bar.scss +41 -0
  168. package/theming/prebuilt-themes/qcca/components/search-bar.theme.scss +29 -0
  169. package/theming/prebuilt-themes/qcca-theme.css +3373 -0
  170. package/theming/prebuilt-themes/qcca-theme.scss +47 -0
  171. package/theming/prebuilt-themes/teal-theme.css +2986 -0
  172. package/theming/prebuilt-themes/teal-theme.scss +25 -0
  173. package/theming/typography.scss +28 -0
  174. package/theming/utils/_foreground.scss +22 -0
  175. package/__ivy_ngcc__/locale/en.auth.json +0 -29
  176. package/__ivy_ngcc__/locale/en.common.json +0 -43
  177. package/__ivy_ngcc__/locale/en.context.json +0 -199
  178. package/__ivy_ngcc__/locale/en.core.json +0 -29
  179. package/__ivy_ngcc__/locale/en.geo.json +0 -805
  180. package/__ivy_ngcc__/locale/en.integration.json +0 -124
  181. package/__ivy_ngcc__/locale/en.json +0 -1205
  182. package/__ivy_ngcc__/locale/fr.auth.json +0 -32
  183. package/__ivy_ngcc__/locale/fr.common.json +0 -43
  184. package/__ivy_ngcc__/locale/fr.context.json +0 -199
  185. package/__ivy_ngcc__/locale/fr.core.json +0 -29
  186. package/__ivy_ngcc__/locale/fr.geo.json +0 -805
  187. package/__ivy_ngcc__/locale/fr.integration.json +0 -125
  188. package/__ivy_ngcc__/locale/fr.json +0 -1210
  189. package/esm2020/lib/activity/activity.service.mjs +0 -33
  190. package/esm2020/lib/analytics/shared/analytics.service.mjs +0 -81
  191. package/esm2020/lib/compression/compression.service.mjs +0 -140
  192. package/esm2020/lib/config/config.service.mjs +0 -52
  193. package/esm2020/lib/config/version.mjs +0 -5
  194. package/esm2020/lib/core.module.mjs +0 -92
  195. package/esm2020/lib/language/language.module.mjs +0 -39
  196. package/esm2020/lib/language/shared/language.loader.mjs +0 -26
  197. package/esm2020/lib/language/shared/language.provider.mjs +0 -22
  198. package/esm2020/lib/language/shared/language.service.mjs +0 -32
  199. package/esm2020/lib/media/media.service.mjs +0 -76
  200. package/esm2020/lib/message/message.module.mjs +0 -56
  201. package/esm2020/lib/message/shared/message.service.mjs +0 -201
  202. package/esm2020/lib/network/network.service.mjs +0 -60
  203. package/esm2020/lib/regex/regex.service.mjs +0 -27
  204. package/esm2020/lib/request/error.interceptor.mjs +0 -66
  205. package/esm2020/lib/request/error.module.mjs +0 -39
  206. package/esm2020/lib/request/logging.interceptor.mjs +0 -29
  207. package/esm2020/lib/route/route.interface.mjs +0 -2
  208. package/esm2020/lib/route/route.service.mjs +0 -71
  209. package/esm2020/lib/storage/index.mjs +0 -3
  210. package/esm2020/lib/storage/storage.service.mjs +0 -79
  211. package/fesm2015/igo2-core.mjs +0 -1418
  212. package/fesm2015/igo2-core.mjs.map +0 -1
  213. package/fesm2020/igo2-core.mjs.map +0 -1
  214. package/locale/en.auth.json +0 -29
  215. package/locale/en.common.json +0 -43
  216. package/locale/en.context.json +0 -199
  217. package/locale/en.geo.json +0 -805
  218. package/locale/en.integration.json +0 -124
  219. package/locale/fr.auth.json +0 -32
  220. package/locale/fr.common.json +0 -43
  221. package/locale/fr.context.json +0 -199
  222. package/locale/fr.geo.json +0 -805
  223. package/locale/fr.integration.json +0 -125
  224. package/style/all.theming.scss +0 -5
  225. package/style/core.theming.scss +0 -9
  226. package/style/foreground.scss +0 -20
  227. package/style/index.theming.scss +0 -1465
  228. package/style/material.font.scss +0 -10
  229. package/style/setup.scss +0 -2
  230. package/style/themes/blue.theme.scss +0 -19
  231. package/style/themes/bluedark.theme.scss +0 -52
  232. package/style/themes/bluedq.theme.scss +0 -52
  233. package/style/themes/bluegrey.theme.scss +0 -16
  234. package/style/themes/dark.theme.scss +0 -16
  235. package/style/themes/deeppurple.theme.scss +0 -16
  236. package/style/themes/indigo.theme.scss +0 -16
  237. package/style/themes/orange.theme.scss +0 -16
  238. package/style/themes/qcca.theme.scss +0 -98
  239. package/style/themes/teal.theme.scss +0 -16
  240. package/style/theming.scss +0 -5
  241. package/style/typography.scss +0 -17
@@ -0,0 +1,3 @@
1
+ @use './style.scss' as core;
2
+ @use '../../../common/src/style/style.scss' as common;
3
+ @use '../../../geo/src/style/style.scss' as geo;
@@ -0,0 +1,163 @@
1
+ /*
2
+ * ------------------------------
3
+ * Padding et margin
4
+ * ------------------------------
5
+ */
6
+ // Les dimensions suivantes suivent les normes de Material Design, mais ne sont pas incluses dans Angular Material
7
+ $layout-spacing-sizes: 0 4 8 12 16 24 32 40 48;
8
+
9
+ $layout-sides: (
10
+ t: top,
11
+ r: right,
12
+ b: bottom,
13
+ l: left
14
+ );
15
+
16
+ @each $size in $layout-spacing-sizes {
17
+ @each $shortSide, $side in $layout-sides {
18
+ .m-#{$shortSide}-#{$size} {
19
+ margin-#{$side}: #{$size}px !important;
20
+ }
21
+ .m-#{$shortSide}-#{$size}-neg {
22
+ margin-#{$side}: -#{$size}px !important;
23
+ }
24
+ .p-#{$shortSide}-#{$size} {
25
+ padding-#{$side}: #{$size}px !important;
26
+ }
27
+ }
28
+
29
+ .m-#{$size} {
30
+ margin: #{$size}px !important;
31
+ }
32
+ .m-#{$size}-neg {
33
+ margin: -#{$size}px !important;
34
+ }
35
+
36
+ .p-#{$size} {
37
+ padding: #{$size}px !important;
38
+ }
39
+
40
+ .m-h-#{$size} {
41
+ margin-left: #{$size}px !important;
42
+ margin-right: #{$size}px !important;
43
+ }
44
+
45
+ .m-h-#{$size}-neg {
46
+ margin-left: -#{$size}px !important;
47
+ margin-right: -#{$size}px !important;
48
+ }
49
+
50
+ .m-v-#{$size} {
51
+ margin-top: #{$size}px !important;
52
+ margin-bottom: #{$size}px !important;
53
+ }
54
+
55
+ .m-v-#{$size}-neg {
56
+ margin-top: -#{$size}px !important;
57
+ margin-bottom: -#{$size}px !important;
58
+ }
59
+
60
+ .p-h-#{$size} {
61
+ padding-left: #{$size}px !important;
62
+ padding-right: #{$size}px !important;
63
+ }
64
+
65
+ .p-v-#{$size} {
66
+ padding-top: #{$size}px !important;
67
+ padding-bottom: #{$size}px !important;
68
+ }
69
+ }
70
+
71
+ .flex {
72
+ display: flex;
73
+
74
+ &-col {
75
+ flex-direction: column;
76
+ }
77
+
78
+ &-1 {
79
+ flex: 1;
80
+ }
81
+
82
+ &-wrap {
83
+ flex-wrap: wrap !important;
84
+ }
85
+ }
86
+
87
+ .align-items {
88
+ &-center {
89
+ align-items: center;
90
+ }
91
+ &-end {
92
+ align-items: flex-end;
93
+ }
94
+ &-start {
95
+ align-items: start;
96
+ }
97
+ }
98
+
99
+ .align-self {
100
+ &-center {
101
+ align-self: center;
102
+ }
103
+ &-end {
104
+ align-self: flex-end;
105
+ }
106
+ &-start {
107
+ align-self: start;
108
+ }
109
+ }
110
+
111
+ .justify-content {
112
+ &-center {
113
+ justify-content: center;
114
+ }
115
+ &-end {
116
+ justify-content: flex-end;
117
+ }
118
+ &-start {
119
+ justify-content: start;
120
+ }
121
+ &-space-between {
122
+ justify-content: space-between;
123
+ }
124
+ }
125
+
126
+ .d {
127
+ &-block {
128
+ display: block;
129
+ }
130
+
131
+ &-none {
132
+ display: none;
133
+ }
134
+ }
135
+
136
+ .w-100 {
137
+ width: 100%;
138
+ }
139
+
140
+ .h-100 {
141
+ height: 100%;
142
+ }
143
+
144
+ .overflow {
145
+ &-y-auto {
146
+ overflow-y: auto;
147
+ }
148
+ &-y-hidden {
149
+ overflow-y: hidden;
150
+ }
151
+ &-x-auto {
152
+ overflow-x: auto;
153
+ }
154
+ &-x-hidden {
155
+ overflow-x: hidden;
156
+ }
157
+ &-auto {
158
+ overflow: auto;
159
+ }
160
+ &-hidden {
161
+ overflow: hidden;
162
+ }
163
+ }
@@ -0,0 +1,5 @@
1
+ @mixin text-ellipsis {
2
+ text-overflow: ellipsis;
3
+ white-space: nowrap;
4
+ overflow: hidden;
5
+ }
@@ -2,4 +2,4 @@ $igo-margin: 5px;
2
2
  $igo-padding: 5px;
3
3
  $igo-icon-size: 40px;
4
4
 
5
- $app-background-color: rgb(255, 255, 255);
5
+ $app-background-color: rgb(255, 255, 255);
@@ -1,80 +1,80 @@
1
- $mobile-portrait: 'only screen and (orientation:portrait) and (max-width: 599px)';
2
- $tablet-portrait: 'only screen and (orientation:portrait) and (min-width: 600px) and (max-width: 839px)';
3
- $desktop-portrait: 'only screen and (orientation:portrait) and (min-width: 840px)';
4
-
5
- $mobile-landscape: 'only screen and (orientation:landscape) and (max-width: 959px)';
6
- $tablet-landscape: 'only screen and (orientation:landscape) and (min-width: 960px) and (max-width: 1279px)';
7
- $desktop-landscape: 'only screen and (orientation:landscape) and (min-width: 1280px)';
8
-
9
- $mobile: $mobile-portrait + ',' + $mobile-landscape;
10
- $tablet: $tablet-portrait + ',' + $tablet-landscape;
11
- $desktop: $desktop-portrait + ',' + $desktop-landscape;
12
-
13
- $portrait: 'only screen and (orientation:portrait)';
14
- $landscape: 'only screen and (orientation:landscape)';
15
-
16
- $xsmall-screen: 'only screen and (max-width: 599px)';
17
- $small-screen: 'only screen and (min-width: 600px) and (max-width: 959px)';
18
- $medium-screen: 'only screen and (min-width: 960px) and (max-width: 1280px)';
19
- $large-screen: 'only screen and (min-width: 1280px) and (max-width: 1919px)';
20
- $xlarge-screen: 'only screen and (min-width: 1920px)';
21
-
22
- @mixin mobile {
23
- @media #{$mobile} {
24
- @content;
25
- }
26
- }
27
-
28
- @mixin tablet {
29
- @media #{$tablet} {
30
- @content;
31
- }
32
- }
33
-
34
- @mixin desktop {
35
- @media #{$desktop} {
36
- @content;
37
- }
38
- }
39
-
40
- @mixin portrait {
41
- @media #{$portrait} {
42
- @content;
43
- }
44
- }
45
-
46
- @mixin landscape {
47
- @media #{$landscape} {
48
- @content;
49
- }
50
- }
51
-
52
- @mixin xsmall-screen {
53
- @media #{$xsmall-screen} {
54
- @content;
55
- }
56
- }
57
-
58
- @mixin small-screen {
59
- @media #{$small-screen} {
60
- @content;
61
- }
62
- }
63
-
64
- @mixin medium-screen {
65
- @media #{$medium-screen} {
66
- @content;
67
- }
68
- }
69
-
70
- @mixin large-screen {
71
- @media #{$large-screen} {
72
- @content;
73
- }
74
- }
75
-
76
- @mixin xlarge-screen {
77
- @media #{$xlarge-screen} {
78
- @content;
79
- }
80
- }
1
+ $mobile-portrait: 'only screen and (orientation:portrait) and (max-width: 599px)';
2
+ $tablet-portrait: 'only screen and (orientation:portrait) and (min-width: 600px) and (max-width: 839px)';
3
+ $desktop-portrait: 'only screen and (orientation:portrait) and (min-width: 840px)';
4
+
5
+ $mobile-landscape: 'only screen and (orientation:landscape) and (max-width: 959px)';
6
+ $tablet-landscape: 'only screen and (orientation:landscape) and (min-width: 960px) and (max-width: 1279px)';
7
+ $desktop-landscape: 'only screen and (orientation:landscape) and (min-width: 1280px)';
8
+
9
+ $mobile: $mobile-portrait + ',' + $mobile-landscape;
10
+ $tablet: $tablet-portrait + ',' + $tablet-landscape;
11
+ $desktop: $desktop-portrait + ',' + $desktop-landscape;
12
+
13
+ $portrait: 'only screen and (orientation:portrait)';
14
+ $landscape: 'only screen and (orientation:landscape)';
15
+
16
+ $xsmall-screen: 'only screen and (max-width: 599px)';
17
+ $small-screen: 'only screen and (min-width: 600px) and (max-width: 959px)';
18
+ $medium-screen: 'only screen and (min-width: 960px) and (max-width: 1280px)';
19
+ $large-screen: 'only screen and (min-width: 1280px) and (max-width: 1919px)';
20
+ $xlarge-screen: 'only screen and (min-width: 1920px)';
21
+
22
+ @mixin mobile {
23
+ @media #{$mobile} {
24
+ @content;
25
+ }
26
+ }
27
+
28
+ @mixin tablet {
29
+ @media #{$tablet} {
30
+ @content;
31
+ }
32
+ }
33
+
34
+ @mixin desktop {
35
+ @media #{$desktop} {
36
+ @content;
37
+ }
38
+ }
39
+
40
+ @mixin portrait {
41
+ @media #{$portrait} {
42
+ @content;
43
+ }
44
+ }
45
+
46
+ @mixin landscape {
47
+ @media #{$landscape} {
48
+ @content;
49
+ }
50
+ }
51
+
52
+ @mixin xsmall-screen {
53
+ @media #{$xsmall-screen} {
54
+ @content;
55
+ }
56
+ }
57
+
58
+ @mixin small-screen {
59
+ @media #{$small-screen} {
60
+ @content;
61
+ }
62
+ }
63
+
64
+ @mixin medium-screen {
65
+ @media #{$medium-screen} {
66
+ @content;
67
+ }
68
+ }
69
+
70
+ @mixin large-screen {
71
+ @media #{$large-screen} {
72
+ @content;
73
+ }
74
+ }
75
+
76
+ @mixin xlarge-screen {
77
+ @media #{$xlarge-screen} {
78
+ @content;
79
+ }
80
+ }
@@ -0,0 +1,237 @@
1
+ /* based on angular-toastr css https://github.com/Foxandxss/angular-toastr/blob/cb508fe6801d6b288d3afc525bb40fee1b101650/dist/angular-toastr.css */
2
+ /* position */
3
+ .toast-center-center {
4
+ top: 50%;
5
+ left: 50%;
6
+ transform: translate(-50%, -50%);
7
+ }
8
+
9
+ .toast-top-center {
10
+ top: 0;
11
+ right: 0;
12
+ width: 100%;
13
+ }
14
+
15
+ .toast-bottom-center {
16
+ bottom: 0;
17
+ right: 0;
18
+ width: 100%;
19
+ }
20
+
21
+ .toast-top-full-width {
22
+ top: 0;
23
+ right: 0;
24
+ width: 100%;
25
+ }
26
+
27
+ .toast-bottom-full-width {
28
+ bottom: 0;
29
+ right: 0;
30
+ width: 100%;
31
+ }
32
+
33
+ .toast-top-left {
34
+ top: 12px;
35
+ left: 12px;
36
+ }
37
+
38
+ .toast-top-right {
39
+ top: 12px;
40
+ right: 12px;
41
+ }
42
+
43
+ .toast-bottom-right {
44
+ right: 12px;
45
+ bottom: 12px;
46
+ }
47
+
48
+ .toast-bottom-left {
49
+ bottom: 12px;
50
+ left: 12px;
51
+ }
52
+
53
+ /* toast styles */
54
+ .toast-title {
55
+ font-weight: bold;
56
+ }
57
+
58
+ .toast-message {
59
+ word-wrap: break-word;
60
+ }
61
+
62
+ .toast-message a,
63
+ .toast-message label {
64
+ color: #FFFFFF;
65
+ }
66
+
67
+ .toast-message a:hover {
68
+ color: #CCCCCC;
69
+ text-decoration: none;
70
+ }
71
+
72
+ .toast-close-button {
73
+ position: relative;
74
+ right: -0.3em;
75
+ top: -0.3em;
76
+ float: right;
77
+ font-size: 20px;
78
+ font-weight: bold;
79
+ color: #FFFFFF;
80
+ text-shadow: 0 1px 0 #ffffff;
81
+ /* opacity: 0.8; */
82
+ }
83
+
84
+ .toast-close-button:hover,
85
+ .toast-close-button:focus {
86
+ color: #000000;
87
+ text-decoration: none;
88
+ cursor: pointer;
89
+ opacity: 0.4;
90
+ }
91
+
92
+ /*Additional properties for button version
93
+ iOS requires the button element instead of an anchor tag.
94
+ If you want the anchor version, it requires `href="#"`.*/
95
+ button.toast-close-button {
96
+ padding: 0;
97
+ cursor: pointer;
98
+ background: transparent;
99
+ border: 0;
100
+ }
101
+
102
+ .toast-container {
103
+ pointer-events: none;
104
+ position: fixed;
105
+ z-index: 999999;
106
+ }
107
+
108
+ .toast-container * {
109
+ box-sizing: border-box;
110
+ }
111
+
112
+ .toast-container .ngx-toastr {
113
+ position: relative;
114
+ overflow: hidden;
115
+ margin: 0 0 6px;
116
+ padding: 15px 15px 15px 50px;
117
+ width: 300px;
118
+ border-radius: 3px 3px 3px 3px;
119
+ background-position: 15px center;
120
+ background-repeat: no-repeat;
121
+ background-size: 24px;
122
+ box-shadow: 0 0 12px #999999;
123
+ color: #FFFFFF;
124
+ }
125
+
126
+ .toast-container .ngx-toastr:hover {
127
+ box-shadow: 0 0 12px #000000;
128
+ opacity: 1;
129
+ cursor: pointer;
130
+ }
131
+
132
+ /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/info-circle.svg */
133
+ .toast-info {
134
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+");
135
+ }
136
+
137
+ /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/times-circle.svg */
138
+ .toast-error {
139
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+");
140
+ }
141
+
142
+ /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/check.svg */
143
+ .toast-success {
144
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==");
145
+ }
146
+
147
+ /* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/regular/exclamation-triangle.svg */
148
+ .toast-warning {
149
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==");
150
+ }
151
+
152
+ .toast-container.toast-top-center .ngx-toastr,
153
+ .toast-container.toast-bottom-center .ngx-toastr {
154
+ width: 300px;
155
+ margin-left: auto;
156
+ margin-right: auto;
157
+ }
158
+
159
+ .toast-container.toast-top-full-width .ngx-toastr,
160
+ .toast-container.toast-bottom-full-width .ngx-toastr {
161
+ width: 96%;
162
+ margin-left: auto;
163
+ margin-right: auto;
164
+ }
165
+
166
+ .ngx-toastr {
167
+ background-color: #030303;
168
+ pointer-events: auto;
169
+ }
170
+
171
+ .toast-success {
172
+ background-color: #51A351;
173
+ }
174
+
175
+ .toast-error {
176
+ background-color: #BD362F;
177
+ }
178
+
179
+ .toast-info {
180
+ background-color: #2F96B4;
181
+ }
182
+
183
+ .toast-warning {
184
+ background-color: #F89406;
185
+ }
186
+
187
+ .toast-progress {
188
+ position: absolute;
189
+ left: 0;
190
+ bottom: 0;
191
+ height: 4px;
192
+ background-color: #000000;
193
+ opacity: 0.4;
194
+ }
195
+
196
+ /* Responsive Design */
197
+ @media all and (max-width: 240px) {
198
+ .toast-container .ngx-toastr.div {
199
+ padding: 8px 8px 8px 50px;
200
+ width: 11em;
201
+ }
202
+ .toast-container .toast-close-button {
203
+ right: -0.2em;
204
+ top: -0.2em;
205
+ }
206
+ }
207
+ @media all and (min-width: 241px) and (max-width: 480px) {
208
+ .toast-container .ngx-toastr.div {
209
+ padding: 8px 8px 8px 50px;
210
+ width: 18em;
211
+ }
212
+ .toast-container .toast-close-button {
213
+ right: -0.2em;
214
+ top: -0.2em;
215
+ }
216
+ }
217
+ @media all and (min-width: 481px) and (max-width: 768px) {
218
+ .toast-container .ngx-toastr.div {
219
+ padding: 15px 15px 15px 50px;
220
+ width: 25em;
221
+ }
222
+ }
223
+ button.mat-mdc-menu-item {
224
+ line-height: 24px !important;
225
+ }
226
+
227
+ a.mat-mdc-menu-item > mat-icon {
228
+ margin-bottom: 14px;
229
+ }
230
+
231
+ button.mat-mdc-icon-button.mat-mdc-button-base[disabled=true] {
232
+ color: rgba(0, 0, 0, 0.26);
233
+ }
234
+
235
+ .mat-mdc-menu-content mat-list {
236
+ padding: 0;
237
+ }
@@ -0,0 +1,19 @@
1
+ @import 'ngx-toastr/toastr';
2
+
3
+ button.mat-mdc-menu-item {
4
+ line-height: 24px !important;
5
+ }
6
+
7
+ a.mat-mdc-menu-item > mat-icon {
8
+ margin-bottom: 14px;
9
+ }
10
+
11
+ button.mat-mdc-icon-button.mat-mdc-button-base[disabled='true'] {
12
+ color: rgba(0, 0, 0, 0.26);
13
+ }
14
+
15
+ .mat-mdc-menu-content {
16
+ mat-list {
17
+ padding: 0;
18
+ }
19
+ }
@@ -0,0 +1,14 @@
1
+ @use '@angular/material' as mat;
2
+
3
+ @use '../packages.import' as igo;
4
+ @use './material-theme-override';
5
+ @use './typography' as typo;
6
+
7
+ @mixin all-component-themes($config) {
8
+ @include material-theme-override.material-override($config);
9
+
10
+ @include igo.core-component-themes($config);
11
+ @include igo.common-component-themes($config);
12
+ @include igo.context-component-themes($config);
13
+ @include igo.geo-component-themes($config);
14
+ }
@@ -0,0 +1,39 @@
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin material-override($theme) {
5
+ @include mat-button-toggle($theme);
6
+ @include mat-tab-group($theme);
7
+ }
8
+
9
+ @mixin mat-tab-group($theme) {
10
+ mat-tab-group,
11
+ mat-tab-group ::ng-deep .mat-mdc-tab-body-wrapper {
12
+ height: 100%;
13
+ overflow: hidden;
14
+ }
15
+ }
16
+
17
+ @mixin mat-button-toggle($theme) {
18
+ $accent: map.get($theme, accent);
19
+ $dark: mat.define-palette(mat.$grey-palette, 800, 700, 900);
20
+ $density: mat.get-density-config($theme);
21
+
22
+ $theme: map.merge(
23
+ $theme,
24
+ (
25
+ density: $density - 3
26
+ )
27
+ );
28
+
29
+ @include mat.button-toggle-density($theme);
30
+
31
+ mat-button-toggle {
32
+ color: black !important;
33
+
34
+ &.mat-button-toggle-checked {
35
+ background-color: mat.get-color-from-palette($accent);
36
+ color: mat.get-color-from-palette($dark);
37
+ }
38
+ }
39
+ }