Install offline resources
MODIFY
CHANGELOG.md
CHANGELOG.md
### Minor
+- GW-395: Install offline resources
- Add CHANGELOG.md
- Change settings for local development
- GW-255: List public apis

MODIFY
angular.json
angular.json
],
"styles": [
"src/styles/styles.scss",
+ "node_modules/typeface-roboto/index.css",
"./node_modules/angular2-toaster/src/toaster.scss",
"./node_modules/swagger-ui-dist/swagger-ui.css",
"src/styles/swagger-custom-styles.css"

MODIFY
package-lock.json
package-lock.json
"integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
"dev": true
},
+ "typeface-roboto": {
+ "version": "0.0.75",
+ "resolved": "https://gitlab.scheer-group.com:8080/repository/npm_group/typeface-roboto/-/typeface-roboto-0.0.75.tgz",
+ "integrity": "sha512-VrR/IiH00Z1tFP4vDGfwZ1esNqTiDMchBEXYY9kilT6wRGgFoCAlgkEUMHb1E3mB0FsfZhv756IF0+R+SFPfdg=="
+ },
"typescript": {
"version": "3.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.3.tgz",

MODIFY
package.json
package.json
"rxjs": "^6.5.5",
"swagger-ui-dist": "^3.24.3",
"tslib": "^1.10.0",
+ "typeface-roboto": "0.0.75",
"zone.js": "~0.10.3"
},
"devDependencies": {

ADD
src/styles/fonts/materialIcons.woff2
src/styles/fonts/materialIcons.woff2
Binary files /dev/null and b/src/styles/fonts/materialIcons.woff2 differ

ADD
src/styles/material-icons.scss
+/* fallback */
+@font-face {
+ font-family: 'Material Icons';
+ font-style: normal;
+ font-weight: 400;
+ src: url(fonts/materialIcons.woff2) format('woff2');
+}
+
+.material-icons {
+ font-family: 'Material Icons';
+ font-weight: normal;
+ font-style: normal;
+ font-size: 24px;
+ line-height: 1;
+ letter-spacing: normal;
+ text-transform: none;
+ display: inline-block;
+ white-space: nowrap;
+ word-wrap: normal;
+ direction: ltr;
+ -webkit-font-feature-settings: 'liga';
+ -webkit-font-smoothing: antialiased;
+}

MODIFY
src/styles/styles.scss
src/styles/styles.scss
/* You can add global styles to this file, and also import other style files */
@import '../../node_modules/@angular/material/prebuilt-themes/indigo-pink.css';
-@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
-@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");
+@import './material-icons.scss';
:root {
--scheer-bg-color: #06618e; /*Mittelblau*/

GW-395: Install offline resources