Commit 302e7d6c authored by Jie Yuan's avatar Jie Yuan

add angular material

parent 2c2c7394
......@@ -23,6 +23,7 @@
"src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.css"
],
"scripts": [],
......@@ -80,6 +81,7 @@
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.css"
],
"scripts": [],
......
......@@ -129,6 +129,23 @@
"tslib": "^1.9.0"
}
},
"@angular/cdk": {
"version": "7.3.7",
"resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-7.3.7.tgz",
"integrity": "sha512-xbXxhHHKGkVuW6K7pzPmvpJXIwpl0ykBnvA2g+/7Sgy5Pd35wCC+UtHD9RYczDM/mkygNxMQtagyCErwFnDtQA==",
"requires": {
"parse5": "^5.0.0",
"tslib": "^1.7.1"
},
"dependencies": {
"parse5": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz",
"integrity": "sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==",
"optional": true
}
}
},
"@angular/cli": {
"version": "7.3.8",
"resolved": "https://registry.npmjs.org/@angular/cli/-/cli-7.3.8.tgz",
......@@ -426,6 +443,14 @@
"integrity": "sha512-1bNWJpwH9wB0JybkbjdQp9J4bGmGxJX6BG7Mz3188Wc4J+aNy696Gc6IaJs7tFK8VXAdJrTJ5jGr9Oiu+ATe8w==",
"dev": true
},
"@angular/material": {
"version": "7.3.7",
"resolved": "https://registry.npmjs.org/@angular/material/-/material-7.3.7.tgz",
"integrity": "sha512-Eq+7frkeNGkLOfEtmkmJgR+AgoWajOipXZWWfCSamNfpCcPof82DwvGOpAmgGni9FuN2XFQdqP5MoaffQzIvUA==",
"requires": {
"tslib": "^1.7.1"
}
},
"@angular/platform-browser": {
"version": "7.2.13",
"resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-7.2.13.tgz",
......@@ -1633,6 +1658,35 @@
}
}
},
"broadway": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/broadway/-/broadway-0.2.0.tgz",
"integrity": "sha1-TTvJi62Rkq4LFtogLt8LmbuER2g=",
"requires": {
"cliff": "0.1.7",
"colors": "0.6.0-1",
"eventemitter2": "0.4.9",
"nconf": "0.5.1",
"optimist": "0.3.4",
"utile": "0.1.0",
"winston": "0.5.11"
},
"dependencies": {
"colors": {
"version": "0.6.0-1",
"resolved": "https://registry.npmjs.org/colors/-/colors-0.6.0-1.tgz",
"integrity": "sha1-bbtozri8YPKzE9zFzhWZ8G0Z5no="
},
"optimist": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.4.tgz",
"integrity": "sha1-TW0L1x/60NpLpPbYdtXusE4HSAs=",
"requires": {
"wordwrap": "~0.0.2"
}
}
}
},
"brorand": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",
......@@ -1805,6 +1859,23 @@
"integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=",
"dev": true
},
"c": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/c/-/c-0.1.0.tgz",
"integrity": "sha1-ouLbBD5DoeWAFhIoLH15l2oJ9ZI=",
"requires": {
"colors": "0.6.0-1",
"flatiron": "0.2.0",
"underscore": "1.3.3"
},
"dependencies": {
"colors": {
"version": "0.6.0-1",
"resolved": "https://registry.npmjs.org/colors/-/colors-0.6.0-1.tgz",
"integrity": "sha1-bbtozri8YPKzE9zFzhWZ8G0Z5no="
}
}
},
"cacache": {
"version": "10.0.4",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz",
......@@ -1965,6 +2036,11 @@
"integrity": "sha512-oC7/DVAyfcY3UWKm0sN/oVoDedQDQiw/vIiAnuTWTpE5s0zWf7l3WY417Xw/Fbi/QbAjctAkxgMiS9P0s3zkmA==",
"dev": true
},
"class": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/class/-/class-0.1.4.tgz",
"integrity": "sha1-kmINRIaUYDRXo52illVNNs7qKx8="
},
"class-utils": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
......@@ -2020,6 +2096,23 @@
"integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",
"dev": true
},
"cliff": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/cliff/-/cliff-0.1.7.tgz",
"integrity": "sha1-m0HYTZ8JvhK2mNhhdQFUihCVejc=",
"requires": {
"colors": "0.x.x",
"eyes": "0.1.x",
"winston": "0.5.x"
},
"dependencies": {
"colors": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/colors/-/colors-0.6.2.tgz",
"integrity": "sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w="
}
}
},
"cliui": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
......@@ -2734,6 +2827,11 @@
"path-type": "^3.0.0"
}
},
"director": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/director/-/director-1.0.10.tgz",
"integrity": "sha1-fefcgiEzPxIQ7uNCio+ka/B0b4E="
},
"dns-equal": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz",
......@@ -3035,6 +3133,11 @@
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=",
"dev": true
},
"eventemitter2": {
"version": "0.4.9",
"resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.9.tgz",
"integrity": "sha1-COrBgelEtIVdhtfL2s0M4RirmvA="
},
"eventemitter3": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz",
......@@ -3303,6 +3406,11 @@
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=",
"dev": true
},
"eyes": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz",
"integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A="
},
"fast-deep-equal": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
......@@ -3423,6 +3531,28 @@
"locate-path": "^2.0.0"
}
},
"flatiron": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/flatiron/-/flatiron-0.2.0.tgz",
"integrity": "sha1-MmpTn37T77ZW2h5fMegZG27sgYA=",
"requires": {
"broadway": "0.2.0",
"director": "1.0.10",
"optimist": "0.3.4",
"pkginfo": "0.2.3",
"prompt": "0.1.12"
},
"dependencies": {
"optimist": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.4.tgz",
"integrity": "sha1-TW0L1x/60NpLpPbYdtXusE4HSAs=",
"requires": {
"wordwrap": "~0.0.2"
}
}
}
},
"flatted": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz",
......@@ -4254,6 +4384,11 @@
"integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",
"dev": true
},
"hammerjs": {
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/hammerjs/-/hammerjs-2.0.8.tgz",
"integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE="
},
"handle-thing": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz",
......@@ -4733,8 +4868,7 @@
"ini": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
"dev": true
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw=="
},
"inquirer": {
"version": "6.2.1",
......@@ -5735,6 +5869,22 @@
}
}
},
"loggly": {
"version": "0.3.11",
"resolved": "https://registry.npmjs.org/loggly/-/loggly-0.3.11.tgz",
"integrity": "sha1-YsHsNDZ3LwlUWY8muVfSrSmGthE=",
"requires": {
"request": "2.9.x",
"timespan": "2.x.x"
},
"dependencies": {
"request": {
"version": "2.9.203",
"resolved": "https://registry.npmjs.org/request/-/request-2.9.203.tgz",
"integrity": "sha1-bBcRpUB/uUoRQhlWPkQUW8v0cjo="
}
}
},
"loglevel": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.1.tgz",
......@@ -6176,7 +6326,6 @@
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
"minimist": "0.0.8"
},
......@@ -6184,8 +6333,7 @@
"minimist": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
}
}
},
......@@ -6257,6 +6405,37 @@
"to-regex": "^3.0.1"
}
},
"nconf": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/nconf/-/nconf-0.5.1.tgz",
"integrity": "sha1-uzBY6kWjnyam2/APmAkUPwuHgXY=",
"requires": {
"async": "0.1.x",
"ini": "1.x.x",
"optimist": "0.3.x",
"pkginfo": "0.2.x"
},
"dependencies": {
"async": {
"version": "0.1.22",
"resolved": "https://registry.npmjs.org/async/-/async-0.1.22.tgz",
"integrity": "sha1-D8GqoIig4+8Ovi2IMbqw3PiEUGE="
},
"optimist": {
"version": "0.3.7",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz",
"integrity": "sha1-yQlBrVnkJzMokjB00s8ufLxuwNk=",
"requires": {
"wordwrap": "~0.0.2"
}
}
}
},
"ncp": {
"version": "0.2.7",
"resolved": "https://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz",
"integrity": "sha1-RvrCt92iVgpMt+YoZ3vV9k6sW+E="
},
"negotiator": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
......@@ -7119,6 +7298,11 @@
"find-up": "^2.1.0"
}
},
"pkginfo": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz",
"integrity": "sha1-cjnEKl72wwuPMoQ52bn/cQQkkPg="
},
"portfinder": {
"version": "1.0.20",
"resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.20.tgz",
......@@ -7241,6 +7425,29 @@
"retry": "^0.10.0"
}
},
"prompt": {
"version": "0.1.12",
"resolved": "https://registry.npmjs.org/prompt/-/prompt-0.1.12.tgz",
"integrity": "sha1-0xFOT7mFrGbqo1WG3Lez+zsnv8Y=",
"requires": {
"async": "0.1.x",
"colors": "0.x.x",
"pkginfo": "0.x.x",
"winston": "0.5.x"
},
"dependencies": {
"async": {
"version": "0.1.22",
"resolved": "https://registry.npmjs.org/async/-/async-0.1.22.tgz",
"integrity": "sha1-D8GqoIig4+8Ovi2IMbqw3PiEUGE="
},
"colors": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/colors/-/colors-0.6.2.tgz",
"integrity": "sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w="
}
}
},
"protoduck": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz",
......@@ -7889,6 +8096,11 @@
"tslib": "^1.9.0"
}
},
"rxjs-compat": {
"version": "6.4.0",
"resolved": "https://registry.npmjs.org/rxjs-compat/-/rxjs-compat-6.4.0.tgz",
"integrity": "sha512-eo/O8RS83hJdJukCtA+IF6qnqa8FPOuVo+OPCzgVi+dbTle9KCdNv97IcQO0WwNVik7DJLKmf0F8uwzc0q40vw=="
},
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
......@@ -8724,6 +8936,11 @@
"safe-buffer": "^5.1.1"
}
},
"stack-trace": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
"integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA="
},
"static-extend": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
......@@ -9213,6 +9430,11 @@
"setimmediate": "^1.0.4"
}
},
"timespan": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/timespan/-/timespan-2.3.0.tgz",
"integrity": "sha1-SQLOBAvRPYRcj1myfp1ZutbzmSk="
},
"tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
......@@ -9448,6 +9670,11 @@
"integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==",
"dev": true
},
"underscore": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.3.3.tgz",
"integrity": "sha1-R6xTaD2vgyv6lS4XdEF9pHgXrkI="
},
"union-value": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz",
......@@ -9633,6 +9860,29 @@
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
"dev": true
},
"utile": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/utile/-/utile-0.1.0.tgz",
"integrity": "sha1-aupoR2OZFo3kIVPzZjYHftx48Vg=",
"requires": {
"async": "0.1.x",
"mkdirp": "0.x.x",
"ncp": "0.2.x",
"rimraf": "1.x.x"
},
"dependencies": {
"async": {
"version": "0.1.22",
"resolved": "https://registry.npmjs.org/async/-/async-0.1.22.tgz",
"integrity": "sha1-D8GqoIig4+8Ovi2IMbqw3PiEUGE="
},
"rimraf": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz",
"integrity": "sha1-vkgB/3bCum8cUMeOlwDrHSHyOfE="
}
}
},
"utils-merge": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
......@@ -10213,11 +10463,35 @@
"string-width": "^1.0.2 || 2"
}
},
"winston": {
"version": "0.5.11",
"resolved": "https://registry.npmjs.org/winston/-/winston-0.5.11.tgz",
"integrity": "sha1-nYTq2YGkl6kt33ZhYTer72YcQU8=",
"requires": {
"async": "0.1.x",
"colors": "0.x.x",
"eyes": "0.1.x",
"loggly": "0.3.x >=0.3.7",
"pkginfo": "0.2.x",
"stack-trace": "0.0.x"
},
"dependencies": {
"async": {
"version": "0.1.22",
"resolved": "https://registry.npmjs.org/async/-/async-0.1.22.tgz",
"integrity": "sha1-D8GqoIig4+8Ovi2IMbqw3PiEUGE="
},
"colors": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/colors/-/colors-0.6.2.tgz",
"integrity": "sha1-JCP+ZnisDF2uiFLl0OW+CMmXq8w="
}
}
},
"wordwrap": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
"integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
"dev": true
"integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
},
"worker-farm": {
"version": "1.6.0",
......
......@@ -7,6 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<app-root></app-root>
......
import 'hammerjs';
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
......
/* You can add global styles to this file, and also import other style files */
html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment