Commit c026171d by Adarsh K

app dev

parent 8f51f913
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget id="com.getmi.rider" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>GetMiRider</name> <name>GetMiRider</name>
<description>An Ionic/Cordova app.</description> <description>An Ionic/Cordova app.</description>
<author email="www.techware.co.in" href="http://ionicframework.com/">Techware Software Solutions Pvt Ltd</author> <author email="www.techware.co.in" href="http://ionicframework.com/">Techware Software Solutions Pvt Ltd</author>
......
...@@ -1039,6 +1039,11 @@ ...@@ -1039,6 +1039,11 @@
"tslib": "^1.9.0" "tslib": "^1.9.0"
} }
}, },
"@angular/fire": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/@angular/fire/-/fire-5.2.1.tgz",
"integrity": "sha512-pS4zWhLLANzMbYVIKNtebDQKhm9+KANUDvDV6DwKP24XHzkZdvazKe1HC6uXWlf7QmDxSPFleCSBkn0tnQQzdQ=="
},
"@angular/forms": { "@angular/forms": {
"version": "8.1.3", "version": "8.1.3",
"resolved": "https://registry.npmjs.org/@angular/forms/-/forms-8.1.3.tgz", "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-8.1.3.tgz",
...@@ -1237,6 +1242,214 @@ ...@@ -1237,6 +1242,214 @@
} }
} }
}, },
"@firebase/app": {
"version": "0.4.15",
"resolved": "https://registry.npmjs.org/@firebase/app/-/app-0.4.15.tgz",
"integrity": "sha512-/LEOJREQVNWiDulkVCSsnYT8e1Oiti84PawkEuIaO7KmiEairb3BOr+p3N3xFOCqv6rrZLnM7CEqa2voNBoIlQ==",
"requires": {
"@firebase/app-types": "0.4.3",
"@firebase/logger": "0.1.23",
"@firebase/util": "0.2.26",
"dom-storage": "2.1.0",
"tslib": "1.10.0",
"xmlhttprequest": "1.8.0"
}
},
"@firebase/app-types": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.4.3.tgz",
"integrity": "sha512-VU5c+ZjejvefLVH4cjiX3Hy1w9HYMv7TtZ1tF9ZmOqT4DSIU1a3VISWoo8///cGGffr5IirMO+Q/WZLI4p8VcA=="
},
"@firebase/auth": {
"version": "0.11.8",
"resolved": "https://registry.npmjs.org/@firebase/auth/-/auth-0.11.8.tgz",
"integrity": "sha512-aMSWaOCQmQtLKb1j96O7tErRx+kgq2OV3tMV/sKLkXp1J7SP03ejQfi+wOGDYnTWD6mNv+7b8ra1po+IHkydtg==",
"requires": {
"@firebase/auth-types": "0.7.2"
}
},
"@firebase/auth-types": {
"version": "0.7.2",
"resolved": "https://registry.npmjs.org/@firebase/auth-types/-/auth-types-0.7.2.tgz",
"integrity": "sha512-xm3evp6671LoI+6M8Om3OhikabLf88Ivz1e7aR8uZjVBYptEYbF3seDIyHn/3wWdVYbp20WK4aWixKlRnHl+6Q=="
},
"@firebase/database": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.5.1.tgz",
"integrity": "sha512-foXZVl32fUcekk+G8I0eWn2jJqWnJMKIsENKwtlBRbBai8ud8oqHkz704D35zff0MndsNlVxuWAEl4gaPLjRDQ==",
"requires": {
"@firebase/database-types": "0.4.3",
"@firebase/logger": "0.1.23",
"@firebase/util": "0.2.26",
"faye-websocket": "0.11.3",
"tslib": "1.10.0"
},
"dependencies": {
"faye-websocket": {
"version": "0.11.3",
"resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz",
"integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==",
"requires": {
"websocket-driver": ">=0.5.1"
}
}
}
},
"@firebase/database-types": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.4.3.tgz",
"integrity": "sha512-21yCiJA2Tyt6dJYwWeB69MwoawBu5UWNtP6MAY0ugyRBHVdjAMHMYalPxCjZ46LAmhfim0+i8NXRadOFVS3hUA==",
"requires": {
"@firebase/app-types": "0.x"
}
},
"@firebase/firestore": {
"version": "1.4.12",
"resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.4.12.tgz",
"integrity": "sha512-jkedv/QW7hGlVyiCr0h4m7pcuzUbQngDDH/5TY5xUDAF87sUId5VBbRFC8x+XQ94EdEeMYHbQkqn7uIYQVEJIA==",
"requires": {
"@firebase/firestore-types": "1.4.4",
"@firebase/logger": "0.1.23",
"@firebase/util": "0.2.26",
"@firebase/webchannel-wrapper": "0.2.25",
"@grpc/proto-loader": "^0.5.0",
"grpc": "1.22.2",
"tslib": "1.10.0"
}
},
"@firebase/firestore-types": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-1.4.4.tgz",
"integrity": "sha512-kFpmzkUKfzrXkcMad+TQlMs55dWNY0q1UxGICW82EneX3Yg6HN3Nx36kYfqH+SLBFUN1ZTikN07alMp0MA9p9g=="
},
"@firebase/functions": {
"version": "0.4.16",
"resolved": "https://registry.npmjs.org/@firebase/functions/-/functions-0.4.16.tgz",
"integrity": "sha512-ZRbg1375AXsB5+QdZV9i1oazBVl8AykWqIZEqa8KZFQVTD6hqXqiZcq6rhZH8EGttFnfGH6U1YoOyAHiXpD3dw==",
"requires": {
"@firebase/functions-types": "0.3.8",
"@firebase/messaging-types": "0.3.2",
"isomorphic-fetch": "2.2.1",
"tslib": "1.10.0"
}
},
"@firebase/functions-types": {
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/@firebase/functions-types/-/functions-types-0.3.8.tgz",
"integrity": "sha512-9hajHxA4UWVCGFmoL8PBYHpamE3JTNjObieMmnvZw3cMRTP2EwipMpzZi+GPbMlA/9swF9yHCY/XFAEkwbvdgQ=="
},
"@firebase/installations": {
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@firebase/installations/-/installations-0.2.5.tgz",
"integrity": "sha512-W52L9emgRVYjeYqQeSeqITDhnleskJizeKrcLJvLCJGBoZJ68wBtp0Hby1QiDQy7gyF/cG5Xy+x7bJYgrMmy0w==",
"requires": {
"@firebase/installations-types": "0.1.2",
"@firebase/util": "0.2.26",
"idb": "3.0.2",
"tslib": "1.10.0"
}
},
"@firebase/installations-types": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/@firebase/installations-types/-/installations-types-0.1.2.tgz",
"integrity": "sha512-fQaWIW8hyX1XUN7+FCSPjvM1agFjGidVuF4Sxi7aFwfyh5t+4fD2VpM4wCQbWmodnx4fZLvsuQd9mkxxU+lGYQ=="
},
"@firebase/logger": {
"version": "0.1.23",
"resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.1.23.tgz",
"integrity": "sha512-/j4B4w/10gy5pG1SCudnjpc5jjqTkIQ+MfSXf7nnED0uTHmdODIWy59YK3cAH3tV7L/OSYPLwcRen7XURXRijQ=="
},
"@firebase/messaging": {
"version": "0.4.9",
"resolved": "https://registry.npmjs.org/@firebase/messaging/-/messaging-0.4.9.tgz",
"integrity": "sha512-9Lgc/foGtnrgou6bPm6/NWBG9EMGQM2Ub+h+RGA6mhjLuHLhSssfPaOysVMoPnEZwomz03YpeyQ2Bgz6FjkyyQ==",
"requires": {
"@firebase/messaging-types": "0.3.2",
"@firebase/util": "0.2.26",
"tslib": "1.10.0"
}
},
"@firebase/messaging-types": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@firebase/messaging-types/-/messaging-types-0.3.2.tgz",
"integrity": "sha512-2qa2qNKqpalmtwaUV3+wQqfCm5myP/dViIBv+pXF8HinemIfO1IPQtr9pCNfsSYyus78qEhtfldnPWXxUH5v0w=="
},
"@firebase/performance": {
"version": "0.2.17",
"resolved": "https://registry.npmjs.org/@firebase/performance/-/performance-0.2.17.tgz",
"integrity": "sha512-ybwTRxmpm4xiUCfApYFGZPGJIOWWxIc36Y0PxaaB0zWj4Ym1I1SDb0AGQ5mYOQj0VPlsGGsQtQ6E/gMl1NmaaA==",
"requires": {
"@firebase/installations": "0.2.5",
"@firebase/logger": "0.1.23",
"@firebase/performance-types": "0.0.3",
"@firebase/util": "0.2.26",
"tslib": "1.10.0"
}
},
"@firebase/performance-types": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/@firebase/performance-types/-/performance-types-0.0.3.tgz",
"integrity": "sha512-RuC63nYJPJU65AsrNMc3fTRcRgHiyNcQLh9ufeKUT1mEsFgpxr167gMb+tpzNU4jsbvM6+c6nQAFdHpqcGkRlQ=="
},
"@firebase/polyfill": {
"version": "0.3.20",
"resolved": "https://registry.npmjs.org/@firebase/polyfill/-/polyfill-0.3.20.tgz",
"integrity": "sha512-FsuQjuHiG4LCm7yswl1ioAOsNfoCLMdAgyLZ0SMEppEUUKUdaIRe6YtZDM6RWveJeUy4NrlQx7xK2OEwf5onjg==",
"requires": {
"core-js": "3.2.1",
"promise-polyfill": "8.1.3",
"whatwg-fetch": "2.0.4"
},
"dependencies": {
"core-js": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.2.1.tgz",
"integrity": "sha512-Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw=="
},
"whatwg-fetch": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",
"integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng=="
}
}
},
"@firebase/storage": {
"version": "0.3.10",
"resolved": "https://registry.npmjs.org/@firebase/storage/-/storage-0.3.10.tgz",
"integrity": "sha512-cLi0kGcb0LZrvvNHZUmiXOBWVW+tK8HBnb5fBQ/neeVxEOnyVhgI3ONrnQLThELpDq3kxtXdvQqQK/WhpNIGHQ==",
"requires": {
"@firebase/storage-types": "0.3.3",
"@firebase/util": "0.2.26",
"tslib": "1.10.0"
}
},
"@firebase/storage-types": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/@firebase/storage-types/-/storage-types-0.3.3.tgz",
"integrity": "sha512-fUp4kpbxwDiWs/aIBJqBvXgFHZvgoND2JA0gJYSEsXtWtVwfgzY/710plErgZDeQKopX5eOR1sHskZkQUy0U6w=="
},
"@firebase/util": {
"version": "0.2.26",
"resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.26.tgz",
"integrity": "sha512-GcKcDAlJ85i1MsURKr8v2k5fkE0FkuM0ap/rYuWs44vxd2U5x6fUdoUQrKnZlclTH/xj0z+qHVQB9Vrwvp7alw==",
"requires": {
"tslib": "1.10.0"
}
},
"@firebase/webchannel-wrapper": {
"version": "0.2.25",
"resolved": "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.2.25.tgz",
"integrity": "sha512-FHeGk7pymtfqZ6BI3TskaFfU/Vp8EsoTiPCFOwMEJb3L0mub3Z0PrTkC4IArELb6UDG1bfWSyxGxseLdIIhLIQ=="
},
"@grpc/proto-loader": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.5.1.tgz",
"integrity": "sha512-3y0FhacYAwWvyXshH18eDkUI40wT/uGio7MAegzY8lO5+wVsc19+1A7T0pPptae4kl7bdITL+0cHpnAPmryBjQ==",
"requires": {
"lodash.camelcase": "^4.3.0",
"protobufjs": "^6.8.6"
}
},
"@ionic-native/core": { "@ionic-native/core": {
"version": "5.12.0", "version": "5.12.0",
"resolved": "https://registry.npmjs.org/@ionic-native/core/-/core-5.12.0.tgz", "resolved": "https://registry.npmjs.org/@ionic-native/core/-/core-5.12.0.tgz",
...@@ -1299,6 +1512,16 @@ ...@@ -1299,6 +1512,16 @@
"tslib": "^1.10.0" "tslib": "^1.10.0"
} }
}, },
"@ionic/storage": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/@ionic/storage/-/storage-2.2.0.tgz",
"integrity": "sha512-2pszrzmI+fAar2Rx0WmJDVpc15D1k5tvLkB49NLYWJ2pOMaO/3/vp7mg/mEbg3rdsPE9FRbYI6vdKjQ2pP1EWA==",
"requires": {
"localforage": "1.7.1",
"localforage-cordovasqlitedriver": "1.7.0",
"tslib": "^1.7.1"
}
},
"@ngtools/webpack": { "@ngtools/webpack": {
"version": "8.1.3", "version": "8.1.3",
"resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-8.1.3.tgz", "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-8.1.3.tgz",
...@@ -1323,6 +1546,60 @@ ...@@ -1323,6 +1546,60 @@
} }
} }
}, },
"@protobufjs/aspromise": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
"integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78="
},
"@protobufjs/base64": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
"integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="
},
"@protobufjs/codegen": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz",
"integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg=="
},
"@protobufjs/eventemitter": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
"integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A="
},
"@protobufjs/fetch": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
"integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=",
"requires": {
"@protobufjs/aspromise": "^1.1.1",
"@protobufjs/inquire": "^1.1.0"
}
},
"@protobufjs/float": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
"integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E="
},
"@protobufjs/inquire": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz",
"integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik="
},
"@protobufjs/path": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
"integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0="
},
"@protobufjs/pool": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
"integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q="
},
"@protobufjs/utf8": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz",
"integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA="
},
"@schematics/angular": { "@schematics/angular": {
"version": "8.1.3", "version": "8.1.3",
"resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-8.1.3.tgz", "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-8.1.3.tgz",
...@@ -1397,6 +1674,11 @@ ...@@ -1397,6 +1674,11 @@
"@types/jasmine": "*" "@types/jasmine": "*"
} }
}, },
"@types/long": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.0.tgz",
"integrity": "sha512-1w52Nyx4Gq47uuu0EVcsHBxZFJgurQ+rTKS3qMHxR1GY2T8c2AJYd6vZoZ9q1rupaDjU0yT+Jc2XTyXkjeMA+Q=="
},
"@types/minimatch": { "@types/minimatch": {
"version": "3.0.3", "version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
...@@ -1737,6 +2019,14 @@ ...@@ -1737,6 +2019,14 @@
"integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
"dev": true "dev": true
}, },
"angularfire2": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/angularfire2/-/angularfire2-5.2.1.tgz",
"integrity": "sha512-5C0wtm5V1LLJD3TdWzzqa0PwUeM8OEQc+WIRVpD27XyDqAXEr/ejH09eKDwC74fUNF0I65+w1o01Mz0KHkrufQ==",
"requires": {
"@angular/fire": "5.2.1"
}
},
"ansi-colors": { "ansi-colors": {
"version": "3.2.4", "version": "3.2.4",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
...@@ -1758,8 +2048,7 @@ ...@@ -1758,8 +2048,7 @@
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
"dev": true
}, },
"ansi-styles": { "ansi-styles": {
"version": "3.2.1", "version": "3.2.1",
...@@ -1883,6 +2172,15 @@ ...@@ -1883,6 +2172,15 @@
"integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
"dev": true "dev": true
}, },
"ascli": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/ascli/-/ascli-1.0.1.tgz",
"integrity": "sha1-vPpZdKYvGOgcq660lzKrSoj5Brw=",
"requires": {
"colour": "~0.7.1",
"optjs": "~3.2.2"
}
},
"asn1": { "asn1": {
"version": "0.2.4", "version": "0.2.4",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
...@@ -2155,8 +2453,7 @@ ...@@ -2155,8 +2453,7 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
"dev": true
}, },
"base": { "base": {
"version": "0.11.2", "version": "0.11.2",
...@@ -2344,7 +2641,6 @@ ...@@ -2344,7 +2641,6 @@
"version": "1.1.11", "version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
...@@ -2525,6 +2821,21 @@ ...@@ -2525,6 +2821,21 @@
"integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=", "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=",
"dev": true "dev": true
}, },
"bytebuffer": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/bytebuffer/-/bytebuffer-5.0.1.tgz",
"integrity": "sha1-WC7qSxqHO20CCkjVjfhfC7ps/d0=",
"requires": {
"long": "~3"
},
"dependencies": {
"long": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/long/-/long-3.2.0.tgz",
"integrity": "sha1-2CG3E4yhy1gcFymQ7xTbIAtcR0s="
}
}
},
"bytes": { "bytes": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
...@@ -2809,8 +3120,7 @@ ...@@ -2809,8 +3120,7 @@
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c="
"dev": true
}, },
"codelyzer": { "codelyzer": {
"version": "5.1.0", "version": "5.1.0",
...@@ -2874,6 +3184,11 @@ ...@@ -2874,6 +3184,11 @@
"integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",
"dev": true "dev": true
}, },
"colour": {
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/colour/-/colour-0.7.1.tgz",
"integrity": "sha1-nLFpkX7F0SwHNtPoaFdG3xyt93g="
},
"combined-stream": { "combined-stream": {
"version": "1.0.8", "version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
...@@ -2946,8 +3261,7 @@ ...@@ -2946,8 +3261,7 @@
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
"dev": true
}, },
"concat-stream": { "concat-stream": {
"version": "1.6.2", "version": "1.6.2",
...@@ -3310,6 +3624,19 @@ ...@@ -3310,6 +3624,19 @@
"resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.3.tgz",
"integrity": "sha1-tehezbv+Wu3tQKG/TuI3LmfZb7Q=" "integrity": "sha1-tehezbv+Wu3tQKG/TuI3LmfZb7Q="
}, },
"cordova-sqlite-storage": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/cordova-sqlite-storage/-/cordova-sqlite-storage-3.3.0.tgz",
"integrity": "sha512-RBgGAe8rf/k54JC12xtt/14PxJrh42C4ISd+P8fqZq5Kw6JfQGh/55/VTsjI29rInl5jO5fwpYee/InGYlmI9w==",
"requires": {
"cordova-sqlite-storage-dependencies": "2.1.0"
}
},
"cordova-sqlite-storage-dependencies": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/cordova-sqlite-storage-dependencies/-/cordova-sqlite-storage-dependencies-2.1.0.tgz",
"integrity": "sha512-m0cPOWPzckAqS0/e7v+xtcM+FrHrw63qgh5T91JdkXMKCK8sN9bDoqVNJHZ5E9y7sRO7liMUIDm6Dz439RYqGA=="
},
"core-js": { "core-js": {
"version": "2.6.9", "version": "2.6.9",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
...@@ -3499,8 +3826,7 @@ ...@@ -3499,8 +3826,7 @@
"decamelize": { "decamelize": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA="
"dev": true
}, },
"decode-uri-component": { "decode-uri-component": {
"version": "0.2.0", "version": "0.2.0",
...@@ -3749,6 +4075,11 @@ ...@@ -3749,6 +4075,11 @@
"void-elements": "^2.0.0" "void-elements": "^2.0.0"
} }
}, },
"dom-storage": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/dom-storage/-/dom-storage-2.1.0.tgz",
"integrity": "sha512-g6RpyWXzl0RR6OTElHKBl7nwnK87GUyZMYC7JWsB/IA73vpqK2K6LT39x4VepLxlSsWBFrPVLnsSR5Jyty0+2Q=="
},
"domain-browser": { "domain-browser": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",
...@@ -3826,7 +4157,6 @@ ...@@ -3826,7 +4157,6 @@
"version": "0.1.12", "version": "0.1.12",
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
"integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
"dev": true,
"requires": { "requires": {
"iconv-lite": "~0.4.13" "iconv-lite": "~0.4.13"
} }
...@@ -4432,6 +4762,25 @@ ...@@ -4432,6 +4762,25 @@
"locate-path": "^3.0.0" "locate-path": "^3.0.0"
} }
}, },
"firebase": {
"version": "6.4.2",
"resolved": "https://registry.npmjs.org/firebase/-/firebase-6.4.2.tgz",
"integrity": "sha512-2WxHVrd+4iIvAu30RGLYJbsZfXZMBEJON29dCMy+S22BstYvj1VnupYpV07/HUn6t38QcgoP8QGduKNgjSF3ng==",
"requires": {
"@firebase/app": "0.4.15",
"@firebase/app-types": "0.4.3",
"@firebase/auth": "0.11.8",
"@firebase/database": "0.5.1",
"@firebase/firestore": "1.4.12",
"@firebase/functions": "0.4.16",
"@firebase/installations": "0.2.5",
"@firebase/messaging": "0.4.9",
"@firebase/performance": "0.2.17",
"@firebase/polyfill": "0.3.20",
"@firebase/storage": "0.3.10",
"@firebase/util": "0.2.26"
}
},
"flatted": { "flatted": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
...@@ -4581,8 +4930,7 @@ ...@@ -4581,8 +4930,7 @@
"fs.realpath": { "fs.realpath": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
"dev": true
}, },
"fsevents": { "fsevents": {
"version": "2.0.7", "version": "2.0.7",
...@@ -4637,7 +4985,6 @@ ...@@ -4637,7 +4985,6 @@
"version": "7.1.4", "version": "7.1.4",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",
"integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",
"dev": true,
"requires": { "requires": {
"fs.realpath": "^1.0.0", "fs.realpath": "^1.0.0",
"inflight": "^1.0.4", "inflight": "^1.0.4",
...@@ -4702,6 +5049,493 @@ ...@@ -4702,6 +5049,493 @@
"integrity": "sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==", "integrity": "sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==",
"dev": true "dev": true
}, },
"grpc": {
"version": "1.22.2",
"resolved": "https://registry.npmjs.org/grpc/-/grpc-1.22.2.tgz",
"integrity": "sha512-gaK59oAA5/mlOIn+hQO5JROPoAzsaGRpEMcrAayW5WGETS8QScpBoQ+XBxEWAAF0kbeGIELuGRCVEObKS1SLmw==",
"requires": {
"lodash.camelcase": "^4.3.0",
"lodash.clone": "^4.5.0",
"nan": "^2.13.2",
"node-pre-gyp": "^0.13.0",
"protobufjs": "^5.0.3"
},
"dependencies": {
"abbrev": {
"version": "1.1.1",
"bundled": true
},
"ansi-regex": {
"version": "2.1.1",
"bundled": true
},
"aproba": {
"version": "1.2.0",
"bundled": true
},
"are-we-there-yet": {
"version": "1.1.5",
"bundled": true,
"requires": {
"delegates": "^1.0.0",
"readable-stream": "^2.0.6"
}
},
"balanced-match": {
"version": "1.0.0",
"bundled": true
},
"brace-expansion": {
"version": "1.1.11",
"bundled": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"camelcase": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
"integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8="
},
"chownr": {
"version": "1.1.1",
"bundled": true
},
"cliui": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz",
"integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=",
"requires": {
"string-width": "^1.0.1",
"strip-ansi": "^3.0.1",
"wrap-ansi": "^2.0.0"
}
},
"code-point-at": {
"version": "1.1.0",
"bundled": true
},
"concat-map": {
"version": "0.0.1",
"bundled": true
},
"console-control-strings": {
"version": "1.1.0",
"bundled": true
},
"core-util-is": {
"version": "1.0.2",
"bundled": true
},
"deep-extend": {
"version": "0.6.0",
"bundled": true
},
"delegates": {
"version": "1.0.0",
"bundled": true
},
"detect-libc": {
"version": "1.0.3",
"bundled": true
},
"fs-minipass": {
"version": "1.2.6",
"bundled": true,
"requires": {
"minipass": "^2.2.1"
}
},
"fs.realpath": {
"version": "1.0.0",
"bundled": true
},
"gauge": {
"version": "2.7.4",
"bundled": true,
"requires": {
"aproba": "^1.0.3",
"console-control-strings": "^1.0.0",
"has-unicode": "^2.0.0",
"object-assign": "^4.1.0",
"signal-exit": "^3.0.0",
"string-width": "^1.0.1",
"strip-ansi": "^3.0.1",
"wide-align": "^1.1.0"
}
},
"has-unicode": {
"version": "2.0.1",
"bundled": true
},
"iconv-lite": {
"version": "0.4.23",
"bundled": true,
"requires": {
"safer-buffer": ">= 2.1.2 < 3"
}
},
"ignore-walk": {
"version": "3.0.1",
"bundled": true,
"requires": {
"minimatch": "^3.0.4"
}
},
"inflight": {
"version": "1.0.6",
"bundled": true,
"requires": {
"once": "^1.3.0",
"wrappy": "1"
}
},
"inherits": {
"version": "2.0.3",
"bundled": true
},
"ini": {
"version": "1.3.5",
"bundled": true
},
"invert-kv": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
"integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY="
},
"is-fullwidth-code-point": {
"version": "1.0.0",
"bundled": true,
"requires": {
"number-is-nan": "^1.0.0"
}
},
"isarray": {
"version": "1.0.0",
"bundled": true
},
"lcid": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz",
"integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=",
"requires": {
"invert-kv": "^1.0.0"
}
},
"minimatch": {
"version": "3.0.4",
"bundled": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"minimist": {
"version": "1.2.0",
"bundled": true
},
"minipass": {
"version": "2.3.5",
"bundled": true,
"requires": {
"safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
}
},
"minizlib": {
"version": "1.2.1",
"bundled": true,
"requires": {
"minipass": "^2.2.1"
}
},
"mkdirp": {
"version": "0.5.1",
"bundled": true,
"requires": {
"minimist": "0.0.8"
},
"dependencies": {
"minimist": {
"version": "0.0.8",
"bundled": true
}
}
},
"needle": {
"version": "2.4.0",
"bundled": true,
"requires": {
"debug": "^3.2.6",
"iconv-lite": "^0.4.4",
"sax": "^1.2.4"
},
"dependencies": {
"debug": {
"version": "3.2.6",
"bundled": true,
"requires": {
"ms": "^2.1.1"
}
},
"ms": {
"version": "2.1.2",
"bundled": true
}
}
},
"node-pre-gyp": {
"version": "0.13.0",
"bundled": true,
"requires": {
"detect-libc": "^1.0.2",
"mkdirp": "^0.5.1",
"needle": "^2.2.1",
"nopt": "^4.0.1",
"npm-packlist": "^1.1.6",
"npmlog": "^4.0.2",
"rc": "^1.2.7",
"rimraf": "^2.6.1",
"semver": "^5.3.0",
"tar": "^4"
}
},
"nopt": {
"version": "4.0.1",
"bundled": true,
"requires": {
"abbrev": "1",
"osenv": "^0.1.4"
}
},
"npm-bundled": {
"version": "1.0.6",
"bundled": true
},
"npm-packlist": {
"version": "1.4.1",
"bundled": true,
"requires": {
"ignore-walk": "^3.0.1",
"npm-bundled": "^1.0.1"
}
},
"npmlog": {
"version": "4.1.2",
"bundled": true,
"requires": {
"are-we-there-yet": "~1.1.2",
"console-control-strings": "~1.1.0",
"gauge": "~2.7.3",
"set-blocking": "~2.0.0"
}
},
"number-is-nan": {
"version": "1.0.1",
"bundled": true
},
"object-assign": {
"version": "4.1.1",
"bundled": true
},
"once": {
"version": "1.4.0",
"bundled": true,
"requires": {
"wrappy": "1"
}
},
"os-homedir": {
"version": "1.0.2",
"bundled": true
},
"os-locale": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
"requires": {
"lcid": "^1.0.0"
}
},
"os-tmpdir": {
"version": "1.0.2",
"bundled": true
},
"osenv": {
"version": "0.1.5",
"bundled": true,
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
}
},
"path-is-absolute": {
"version": "1.0.1",
"bundled": true
},
"process-nextick-args": {
"version": "2.0.1",
"bundled": true
},
"protobufjs": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-5.0.3.tgz",
"integrity": "sha512-55Kcx1MhPZX0zTbVosMQEO5R6/rikNXd9b6RQK4KSPcrSIIwoXTtebIczUrXlwaSrbz4x8XUVThGPob1n8I4QA==",
"requires": {
"ascli": "~1",
"bytebuffer": "~5",
"glob": "^7.0.5",
"yargs": "^3.10.0"
}
},
"rc": {
"version": "1.2.8",
"bundled": true,
"requires": {
"deep-extend": "^0.6.0",
"ini": "~1.3.0",
"minimist": "^1.2.0",
"strip-json-comments": "~2.0.1"
}
},
"readable-stream": {
"version": "2.3.6",
"bundled": true,
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
"isarray": "~1.0.0",
"process-nextick-args": "~2.0.0",
"safe-buffer": "~5.1.1",
"string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
}
},
"rimraf": {
"version": "2.6.3",
"bundled": true,
"requires": {
"glob": "^7.1.3"
},
"dependencies": {
"glob": {
"version": "7.1.4",
"bundled": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
}
}
},
"safe-buffer": {
"version": "5.1.2",
"bundled": true
},
"safer-buffer": {
"version": "2.1.2",
"bundled": true
},
"sax": {
"version": "1.2.4",
"bundled": true
},
"semver": {
"version": "5.7.0",
"bundled": true
},
"set-blocking": {
"version": "2.0.0",
"bundled": true
},
"signal-exit": {
"version": "3.0.1",
"bundled": true
},
"string-width": {
"version": "1.0.2",
"bundled": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
"strip-ansi": "^3.0.0"
}
},
"string_decoder": {
"version": "1.1.1",
"bundled": true,
"requires": {
"safe-buffer": "~5.1.0"
}
},
"strip-ansi": {
"version": "3.0.1",
"bundled": true,
"requires": {
"ansi-regex": "^2.0.0"
}
},
"strip-json-comments": {
"version": "2.0.1",
"bundled": true
},
"tar": {
"version": "4.4.10",
"bundled": true,
"requires": {
"chownr": "^1.1.1",
"fs-minipass": "^1.2.5",
"minipass": "^2.3.5",
"minizlib": "^1.2.1",
"mkdirp": "^0.5.0",
"safe-buffer": "^5.1.2",
"yallist": "^3.0.3"
}
},
"util-deprecate": {
"version": "1.0.2",
"bundled": true
},
"wide-align": {
"version": "1.1.3",
"bundled": true,
"requires": {
"string-width": "^1.0.2 || 2"
}
},
"wrappy": {
"version": "1.0.2",
"bundled": true
},
"y18n": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz",
"integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE="
},
"yallist": {
"version": "3.0.3",
"bundled": true
},
"yargs": {
"version": "3.32.0",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-3.32.0.tgz",
"integrity": "sha1-AwiOnr+edWtpdRYR0qXvWRSCyZU=",
"requires": {
"camelcase": "^2.0.1",
"cliui": "^3.0.3",
"decamelize": "^1.1.1",
"os-locale": "^1.4.0",
"string-width": "^1.0.1",
"window-size": "^0.1.4",
"y18n": "^3.2.0"
}
}
}
},
"handle-thing": { "handle-thing": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz", "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz",
...@@ -4940,8 +5774,7 @@ ...@@ -4940,8 +5774,7 @@
"http-parser-js": { "http-parser-js": {
"version": "0.4.10", "version": "0.4.10",
"resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz", "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz",
"integrity": "sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=", "integrity": "sha1-ksnBN0w1CF912zWexWzCV8u5P6Q="
"dev": true
}, },
"http-proxy": { "http-proxy": {
"version": "1.17.0", "version": "1.17.0",
...@@ -5044,11 +5877,15 @@ ...@@ -5044,11 +5877,15 @@
"version": "0.4.24", "version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
"dev": true,
"requires": { "requires": {
"safer-buffer": ">= 2.1.2 < 3" "safer-buffer": ">= 2.1.2 < 3"
} }
}, },
"idb": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/idb/-/idb-3.0.2.tgz",
"integrity": "sha512-+FLa/0sTXqyux0o6C+i2lOR0VoS60LU/jzUo5xjfY6+7sEEgy4Gz1O7yFBXvjd7N0NyIGWIRg8DcQSLEG+VSPw=="
},
"ieee754": { "ieee754": {
"version": "1.1.13", "version": "1.1.13",
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
...@@ -5086,8 +5923,7 @@ ...@@ -5086,8 +5923,7 @@
"immediate": { "immediate": {
"version": "3.0.6", "version": "3.0.6",
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
"integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps="
"dev": true
}, },
"import-cwd": { "import-cwd": {
"version": "2.1.0", "version": "2.1.0",
...@@ -5143,7 +5979,6 @@ ...@@ -5143,7 +5979,6 @@
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"dev": true,
"requires": { "requires": {
"once": "^1.3.0", "once": "^1.3.0",
"wrappy": "1" "wrappy": "1"
...@@ -5152,8 +5987,7 @@ ...@@ -5152,8 +5987,7 @@
"inherits": { "inherits": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
"dev": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
...@@ -5444,8 +6278,7 @@ ...@@ -5444,8 +6278,7 @@
"is-stream": { "is-stream": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
"dev": true
}, },
"is-symbol": { "is-symbol": {
"version": "1.0.2", "version": "1.0.2",
...@@ -5501,6 +6334,15 @@ ...@@ -5501,6 +6334,15 @@
"integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
"dev": true "dev": true
}, },
"isomorphic-fetch": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
"integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
"requires": {
"node-fetch": "^1.0.1",
"whatwg-fetch": ">=0.10.0"
}
},
"isstream": { "isstream": {
"version": "0.1.2", "version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
...@@ -6730,6 +7572,32 @@ ...@@ -6730,6 +7572,32 @@
"json5": "^1.0.1" "json5": "^1.0.1"
} }
}, },
"localforage": {
"version": "1.7.1",
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.7.1.tgz",
"integrity": "sha1-5JJ+BCMCuGTbMPMhHxO1xvDell0=",
"requires": {
"lie": "3.1.1"
},
"dependencies": {
"lie": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",
"integrity": "sha1-mkNrLMd0bKWd56QfpGmz77dr2H4=",
"requires": {
"immediate": "~3.0.5"
}
}
}
},
"localforage-cordovasqlitedriver": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/localforage-cordovasqlitedriver/-/localforage-cordovasqlitedriver-1.7.0.tgz",
"integrity": "sha1-i5OVd1nuaI06WNW6fAR39sy1ODg=",
"requires": {
"localforage": ">=1.5.0"
}
},
"locate-path": { "locate-path": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
...@@ -6746,6 +7614,16 @@ ...@@ -6746,6 +7614,16 @@
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"dev": true "dev": true
}, },
"lodash.camelcase": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
"integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY="
},
"lodash.clone": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz",
"integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y="
},
"lodash.clonedeep": { "lodash.clonedeep": {
"version": "4.5.0", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
...@@ -6794,6 +7672,11 @@ ...@@ -6794,6 +7672,11 @@
"integrity": "sha512-LoEDv5pgpvWgPF4kNYuIp0qqSJVWak/dML0RY74xlzMZiT9w77teNAwKYKWBTYjlokMirg+o3jBwp+vlLrcfAA==", "integrity": "sha512-LoEDv5pgpvWgPF4kNYuIp0qqSJVWak/dML0RY74xlzMZiT9w77teNAwKYKWBTYjlokMirg+o3jBwp+vlLrcfAA==",
"dev": true "dev": true
}, },
"long": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
"integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA=="
},
"loose-envify": { "loose-envify": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
...@@ -7114,7 +7997,6 @@ ...@@ -7114,7 +7997,6 @@
"version": "3.0.4", "version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"dev": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
...@@ -7263,9 +8145,7 @@ ...@@ -7263,9 +8145,7 @@
"nan": { "nan": {
"version": "2.14.0", "version": "2.14.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
"integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg=="
"dev": true,
"optional": true
}, },
"nanomatch": { "nanomatch": {
"version": "1.2.13", "version": "1.2.13",
...@@ -7304,6 +8184,15 @@ ...@@ -7304,6 +8184,15 @@
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
"dev": true "dev": true
}, },
"node-fetch": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
"integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
"requires": {
"encoding": "^0.1.11",
"is-stream": "^1.0.1"
}
},
"node-fetch-npm": { "node-fetch-npm": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz", "resolved": "https://registry.npmjs.org/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz",
...@@ -7514,8 +8403,7 @@ ...@@ -7514,8 +8403,7 @@
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
"integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0="
"dev": true
}, },
"oauth-sign": { "oauth-sign": {
"version": "0.9.0", "version": "0.9.0",
...@@ -7625,7 +8513,6 @@ ...@@ -7625,7 +8513,6 @@
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"dev": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
...@@ -7683,6 +8570,11 @@ ...@@ -7683,6 +8570,11 @@
} }
} }
}, },
"optjs": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/optjs/-/optjs-3.2.2.tgz",
"integrity": "sha1-aabOicRCpEQDFBrS+bNwvVu29O4="
},
"original": { "original": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
...@@ -7929,8 +8821,7 @@ ...@@ -7929,8 +8821,7 @@
"path-is-absolute": { "path-is-absolute": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
"dev": true
}, },
"path-is-inside": { "path-is-inside": {
"version": "1.0.2", "version": "1.0.2",
...@@ -8155,6 +9046,11 @@ ...@@ -8155,6 +9046,11 @@
"integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=",
"dev": true "dev": true
}, },
"promise-polyfill": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.1.3.tgz",
"integrity": "sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g=="
},
"promise-retry": { "promise-retry": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-1.1.1.tgz", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-1.1.1.tgz",
...@@ -8173,6 +9069,33 @@ ...@@ -8173,6 +9069,33 @@
} }
} }
}, },
"protobufjs": {
"version": "6.8.8",
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz",
"integrity": "sha512-AAmHtD5pXgZfi7GMpllpO3q1Xw1OYldr+dMUlAnffGTAhqkg72WdmSY71uKBF/JuyiKs8psYbtKrhi0ASCD8qw==",
"requires": {
"@protobufjs/aspromise": "^1.1.2",
"@protobufjs/base64": "^1.1.2",
"@protobufjs/codegen": "^2.0.4",
"@protobufjs/eventemitter": "^1.1.0",
"@protobufjs/fetch": "^1.1.0",
"@protobufjs/float": "^1.0.2",
"@protobufjs/inquire": "^1.1.0",
"@protobufjs/path": "^1.1.2",
"@protobufjs/pool": "^1.1.0",
"@protobufjs/utf8": "^1.1.0",
"@types/long": "^4.0.0",
"@types/node": "^10.1.0",
"long": "^4.0.0"
},
"dependencies": {
"@types/node": {
"version": "10.14.16",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.16.tgz",
"integrity": "sha512-/opXIbfn0P+VLt+N8DE4l8Mn8rbhiJgabU96ZJ0p9mxOkIks5gh6RUnpHak7Yh0SFkyjO/ODbxsQQPV2bpMmyA=="
}
}
},
"protoduck": { "protoduck": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz", "resolved": "https://registry.npmjs.org/protoduck/-/protoduck-5.0.1.tgz",
...@@ -8831,8 +9754,7 @@ ...@@ -8831,8 +9754,7 @@
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
"dev": true
}, },
"safe-regex": { "safe-regex": {
"version": "1.1.0", "version": "1.1.0",
...@@ -8846,8 +9768,7 @@ ...@@ -8846,8 +9768,7 @@
"safer-buffer": { "safer-buffer": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
"dev": true
}, },
"sass": { "sass": {
"version": "1.22.2", "version": "1.22.2",
...@@ -9855,7 +10776,6 @@ ...@@ -9855,7 +10776,6 @@
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
"dev": true,
"requires": { "requires": {
"ansi-regex": "^2.0.0" "ansi-regex": "^2.0.0"
} }
...@@ -12151,7 +13071,6 @@ ...@@ -12151,7 +13071,6 @@
"version": "0.7.3", "version": "0.7.3",
"resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.3.tgz", "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.3.tgz",
"integrity": "sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==", "integrity": "sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==",
"dev": true,
"requires": { "requires": {
"http-parser-js": ">=0.4.0 <0.4.11", "http-parser-js": ">=0.4.0 <0.4.11",
"safe-buffer": ">=5.1.0", "safe-buffer": ">=5.1.0",
...@@ -12161,8 +13080,12 @@ ...@@ -12161,8 +13080,12 @@
"websocket-extensions": { "websocket-extensions": {
"version": "0.1.3", "version": "0.1.3",
"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz",
"integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg=="
"dev": true },
"whatwg-fetch": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz",
"integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q=="
}, },
"when": { "when": {
"version": "3.6.4", "version": "3.6.4",
...@@ -12185,6 +13108,11 @@ ...@@ -12185,6 +13108,11 @@
"integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=",
"dev": true "dev": true
}, },
"window-size": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.4.tgz",
"integrity": "sha1-+OGqHuWlPsW/FR/6CXQqatdpeHY="
},
"wordwrap": { "wordwrap": {
"version": "0.0.3", "version": "0.0.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
...@@ -12213,7 +13141,6 @@ ...@@ -12213,7 +13141,6 @@
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
"integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
"dev": true,
"requires": { "requires": {
"string-width": "^1.0.1", "string-width": "^1.0.1",
"strip-ansi": "^3.0.1" "strip-ansi": "^3.0.1"
...@@ -12223,7 +13150,6 @@ ...@@ -12223,7 +13150,6 @@
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"dev": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
...@@ -12232,7 +13158,6 @@ ...@@ -12232,7 +13158,6 @@
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
"dev": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
...@@ -12244,8 +13169,7 @@ ...@@ -12244,8 +13169,7 @@
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
"dev": true
}, },
"ws": { "ws": {
"version": "6.2.1", "version": "6.2.1",
...@@ -12280,6 +13204,11 @@ ...@@ -12280,6 +13204,11 @@
"integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=", "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=",
"dev": true "dev": true
}, },
"xmlhttprequest": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
"integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw="
},
"xmlhttprequest-ssl": { "xmlhttprequest-ssl": {
"version": "1.5.5", "version": "1.5.5",
"resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz", "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz",
......
...@@ -25,7 +25,9 @@ ...@@ -25,7 +25,9 @@
"@ionic-native/splash-screen": "^5.0.0", "@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0", "@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.7.1", "@ionic/angular": "^4.7.1",
"@ionic/storage": "^2.2.0",
"agm-direction": "^0.7.8", "agm-direction": "^0.7.8",
"angularfire2": "^5.2.1",
"cordova-android": "7.1.4", "cordova-android": "7.1.4",
"cordova-plugin-device": "^2.0.2", "cordova-plugin-device": "^2.0.2",
"cordova-plugin-ionic-keyboard": "^2.1.3", "cordova-plugin-ionic-keyboard": "^2.1.3",
...@@ -33,7 +35,9 @@ ...@@ -33,7 +35,9 @@
"cordova-plugin-splashscreen": "^5.0.2", "cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-whitelist": "^1.3.3", "cordova-plugin-whitelist": "^1.3.3",
"cordova-sqlite-storage": "^3.3.0",
"core-js": "^2.5.4", "core-js": "^2.5.4",
"firebase": "^6.4.2",
"rxjs": "~6.5.1", "rxjs": "~6.5.1",
"tslib": "^1.9.0", "tslib": "^1.9.0",
"zone.js": "~0.9.1" "zone.js": "~0.9.1"
...@@ -74,7 +78,8 @@ ...@@ -74,7 +78,8 @@
"cordova-plugin-ionic-webview": { "cordova-plugin-ionic-webview": {
"ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
}, },
"cordova-plugin-ionic-keyboard": {} "cordova-plugin-ionic-keyboard": {},
"cordova-sqlite-storage": {}
}, },
"platforms": [ "platforms": [
"android" "android"
......
...@@ -6,6 +6,16 @@ import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; ...@@ -6,6 +6,16 @@ import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx'; import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx'; import { StatusBar } from '@ionic-native/status-bar/ngx';
import { IonicStorageModule } from '@ionic/storage';
import { AngularFireModule } from '@angular/fire';
import { AngularFirestore } from '@angular/fire/firestore';
import { AngularFirestoreModule } from '@angular/fire/firestore';
import { AngularFireAuthModule } from '@angular/fire/auth';
import { environment } from '../environments/environment';
import { ServiceService } from './../config/service.service';
import { AuthService } from './../config/auth.service';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module'; import { AppRoutingModule } from './app-routing.module';
...@@ -14,11 +24,21 @@ import { AppRoutingModule } from './app-routing.module'; ...@@ -14,11 +24,21 @@ import { AppRoutingModule } from './app-routing.module';
@NgModule({ @NgModule({
declarations: [AppComponent], declarations: [AppComponent],
entryComponents: [], entryComponents: [],
imports: [BrowserModule, IonicModule.forRoot(), AppRoutingModule], imports: [
BrowserModule,
IonicModule.forRoot(),
IonicStorageModule.forRoot(),
AppRoutingModule,
AngularFireModule.initializeApp(environment.firebase),
AngularFireAuthModule,
AngularFirestoreModule
],
providers: [ providers: [
StatusBar, StatusBar,
SplashScreen, SplashScreen,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy } { provide: RouteReuseStrategy, useClass: IonicRouteStrategy },
ServiceService,
AuthService
], ],
bootstrap: [AppComponent] bootstrap: [AppComponent]
}) })
......
...@@ -11,17 +11,17 @@ ...@@ -11,17 +11,17 @@
<p>Delivered in 32 Mnts.</p> <p>Delivered in 32 Mnts.</p>
<button class="rate_button">RATE CUSTOMER</button> <button class="rate_button">RATE CUSTOMER</button>
</div> </div>
<div class="order_acceptance"> <div class="order_acceptance" *ngIf="order">
<div class="order_acceptance_inner"> <div class="order_acceptance_inner">
<div class="point_header"> <div class="point_header">
<div class="point_image"></div> <div class="point_image"></div>
<div class="point_detail">You</div> <div class="point_detail">You</div>
<strong class="floatRight">ORID008800</strong> <strong class="floatRight"> {{order.orderCode}}</strong>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="point_box"> <div class="point_box">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
06, Tasmania, horse building<br> {{order.pickupAddress}}<br>
<strong>2 Km</strong> <strong>2 Km</strong>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
...@@ -33,11 +33,11 @@ ...@@ -33,11 +33,11 @@
</div> </div>
<div class="point_box"> <div class="point_box">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
06, Tasmania, horse building<br> {{order.deliveryAddress}}<br>
<strong>1 Km</strong> <strong>1 Km</strong>
</div> </div>
<strong class="floatRight">Men's Shirt<br> <!-- <strong class="floatRight">Men's Shirt<br>
<span>Au$ 88</span></strong> <span>Au$ 88</span></strong> -->
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="point_header"> <div class="point_header">
...@@ -45,13 +45,13 @@ ...@@ -45,13 +45,13 @@
<div class="point_detail">John Doe</div> <div class="point_detail">John Doe</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="point_box borderNone"> <!-- <div class="point_box borderNone">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
06, Tasmania, horse building<br> 06, Tasmania, horse building<br>
<strong>1 Km</strong> <strong>1 Km</strong>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div> -->
</div> </div>
<hr> <hr>
<ion-row> <ion-row>
...@@ -77,5 +77,5 @@ ...@@ -77,5 +77,5 @@
</ion-content> </ion-content>
<ion-footer> <ion-footer>
<button class="nxt_btn">GO TO NEXT TRIP</button> <button class="nxt_btn" (click)="goToPage('home')">GO TO NEXT TRIP</button>
</ion-footer> </ion-footer>
\ No newline at end of file
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { MyordersService } from './../../config/myorder.service';
import { Myorder } from './../../config/services/myorder';
import { Router, ActivatedRoute } from '@angular/router';
@Component({ @Component({
selector: 'app-complete', selector: 'app-complete',
...@@ -6,10 +9,21 @@ import { Component, OnInit } from '@angular/core'; ...@@ -6,10 +9,21 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./complete.page.scss'], styleUrls: ['./complete.page.scss'],
}) })
export class CompletePage implements OnInit { export class CompletePage implements OnInit {
order: Myorder;
constructor() { } constructor(
public myorder: MyordersService,
public router: Router
) {
this.order = this.myorder.selItem;
}
ngOnInit() { ngOnInit() {
} }
goToPage(path, data = null) {
this.router.navigateByUrl(path, { queryParams: data });
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
} }
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
<agm-direction [origin]="origin" [destination]="destination" [renderOptions]="renderOptions" [markerOptions]="markerOptions"> <agm-direction [origin]="origin" [destination]="destination" [renderOptions]="renderOptions" [markerOptions]="markerOptions">
</agm-direction> </agm-direction>
</agm-map> </agm-map>
<div class="bottom_bay"> <div class="bottom_bay" *ngIf="myorder.orders">
<!-- <button class="upload_btn" (click)="goToPage('upload')">UPLOAD DOCUMENTS</button> <!-- <button class="upload_btn" (click)="goToPage('upload')">UPLOAD DOCUMENTS</button>
<p>Please upload your documents to join ride</p> --> <p>Please upload your documents to join ride</p> -->
<ion-slides pager="false" [options]="slideOpts"> <ion-slides pager="false" [options]="slideOpts" *ngIf="myorder.orders.length > 0">
<ion-slide> <ion-slide *ngFor="let order of myorder.orders; let i = index">
<div class="order_acceptance"> <div class="order_acceptance">
<div class="order_acceptance_inner"> <div class="order_acceptance_inner">
<div class="toggle_btn floatRight" (click)="goToPage('ridedetails')"></div> <div class="toggle_btn floatRight" (click)="details(i)"></div>
<div class="point_header"> <div class="point_header">
<div class="point_image"></div> <div class="point_image"></div>
<div class="point_detail">You</div> <div class="point_detail">You</div>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</div> </div>
<div class="point_box"> <div class="point_box">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
<strong>2 Km</strong>06, Tasmania, horse building <strong>2 Km</strong>{{order.pickupAddress}}
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
...@@ -39,110 +39,26 @@ ...@@ -39,110 +39,26 @@
</div> </div>
<div class="point_box"> <div class="point_box">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
<strong>1 Km</strong>06, Tasmania, horse building <strong>1 Km</strong>{{order.deliveryAddress}}
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="point_header"> <div class="point_header">
<div class="point_image"></div> <div class="point_image"></div>
<div class="point_detail" style="width: calc(100% - 120px);">John Doe</div> <div class="point_detail" style="width: calc(100% - 120px);">John Doe</div>
<strong class="floatRight">AUD$ 20</strong> <strong class="floatRight">{{order.amount}}</strong>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
<div class="bottom_btn_bay"> <div class="bottom_btn_bay">
<button class="accept_btn floatRight" (click)="goToPage('riderlounge')"> <button class="accept_btn floatRight" (click)="accept(i)">
Accept Accept
</button> </button>
<button class="reject_btn floatLeft">Reject</button> <button class="reject_btn floatLeft" (click)="reject(i)">Reject</button>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
</ion-slide> </ion-slide>
<ion-slide>
<div class="order_acceptance">
<div class="order_acceptance_inner">
<div class="toggle_btn floatRight" (click)="goToPage('ridedetails')"></div>
<div class="point_header">
<div class="point_image"></div>
<div class="point_detail">You</div>
<div class="clear"></div>
</div>
<div class="point_box">
<div class="point_head floatLeft">
<strong>2 Km</strong>06, Tasmania, horse building
</div>
<div class="clear"></div>
</div>
<div class="point_header">
<div class="point_image"></div>
<div class="point_detail">Lulu fashion store</div>
<div class="clear"></div>
</div>
<div class="point_box">
<div class="point_head floatLeft">
<strong>1 Km</strong>06, Tasmania, horse building
</div>
<div class="clear"></div>
</div>
<div class="point_header">
<div class="point_image"></div>
<div class="point_detail" style="width: calc(100% - 120px);">John Doe</div>
<strong class="floatRight">AUD$ 20</strong>
<div class="clear"></div>
</div>
</div>
<div class="bottom_btn_bay">
<button class="accept_btn floatRight" (click)="goToPage('riderlounge')">
Accept
</button>
<button class="reject_btn floatLeft">Reject</button>
<div class="clear"></div>
</div>
</div>
</ion-slide>
<ion-slide>
<div class="order_acceptance">
<div class="order_acceptance_inner">
<div class="toggle_btn floatRight" (click)="goToPage('ridedetails')"></div>
<div class="point_header">
<div class="point_image"></div>
<div class="point_detail">You</div>
<div class="clear"></div>
</div>
<div class="point_box">
<div class="point_head floatLeft">
<strong>2 Km</strong>06, Tasmania, horse building
</div>
<div class="clear"></div>
</div>
<div class="point_header">
<div class="point_image"></div>
<div class="point_detail">Lulu fashion store</div>
<div class="clear"></div>
</div>
<div class="point_box">
<div class="point_head floatLeft">
<strong>1 Km</strong>06, Tasmania, horse building
</div>
<div class="clear"></div>
</div>
<div class="point_header">
<div class="point_image"></div>
<div class="point_detail" style="width: calc(100% - 120px);">John Doe</div>
<strong class="floatRight">AUD$ 20</strong>
<div class="clear"></div>
</div>
</div>
<div class="bottom_btn_bay">
<button class="accept_btn floatRight" (click)="goToPage('riderlounge')">
Accept
</button>
<button class="reject_btn floatLeft">Reject</button>
<div class="clear"></div>
</div>
</div>
</ion-slide>
</ion-slides> </ion-slides>
</div> </div>
</div> </div>
......
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { Location } from '@angular/common'; import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router';
import { MyordersService } from './../../config/myorder.service';
@Component({ @Component({
...@@ -11,7 +12,7 @@ import { Router, ActivatedRoute } from '@angular/router'; ...@@ -11,7 +12,7 @@ import { Router, ActivatedRoute } from '@angular/router';
export class HomePage { export class HomePage {
status:any; status: any;
public lat: number = 51.678418; public lat: number = 51.678418;
public lng: number = 7.809007; public lng: number = 7.809007;
public origin: any; public origin: any;
...@@ -22,15 +23,17 @@ export class HomePage { ...@@ -22,15 +23,17 @@ export class HomePage {
constructor( constructor(
private router: Router, private router: Router,
private route: ActivatedRoute, private route: ActivatedRoute,
private location: Location private location: Location,
public myorder: MyordersService
) { ) {
this.status = 0; this.status = 1;
} }
ngOnInit() { ngOnInit() {
this.myorder.orderList('LVIMCEdUOGMzYxISL5OkMUPD35Q2');
this.getDirection(); this.getDirection();
} }
...@@ -67,8 +70,24 @@ export class HomePage { ...@@ -67,8 +70,24 @@ export class HomePage {
icon: './assets/destination.png', icon: './assets/destination.png',
} }
}; };
}
accept(index: number) {
this.myorder.rideChange(this.myorder.orders[index].orderId, 1);
this.myorder.trackOrder(this.myorder.orders[index]);
this.myorder.rideStatus(3).then(() => {
this.router.navigateByUrl('riderlounge');
});
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
reject(index: number) {
this.myorder.rideReject(this.myorder.orders[index].orderId);
}
details(index: number) {
this.myorder.trackOrder(this.myorder.orders[index]);
this.router.navigateByUrl('ridedetails');
} }
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
</div> </div>
<div class="login_inner"> <div class="login_inner">
<div class="row"> <div class="row">
<ion-input placeholder="Rider ID/Phone Number"></ion-input> <ion-input placeholder="Rider Email ID" #userName required></ion-input>
</div> </div>
<div class="row"> <div class="row">
<ion-input placeholder="Password" type="password "></ion-input> <ion-input placeholder="Password" type="password" #userPassword required></ion-input>
</div> </div>
<div class="row"> <div class="row">
<button class="login_btn" (click)="goToPage('home')"> <button class="login_btn" (click)="authService.SignIn(userName.value, userPassword.value)">
LOGIN LOGIN
</button> </button>
</div> </div>
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common'; import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router';
import { AuthService } from './../../config/auth.service';
@Component({ @Component({
selector: 'app-login', selector: 'app-login',
...@@ -12,7 +13,8 @@ export class LoginPage implements OnInit { ...@@ -12,7 +13,8 @@ export class LoginPage implements OnInit {
constructor( constructor(
private router: Router, private router: Router,
private route: ActivatedRoute, private route: ActivatedRoute,
private location: Location private location: Location,
public authService: AuthService
) { } ) { }
ngOnInit() { ngOnInit() {
......
...@@ -9,18 +9,18 @@ ...@@ -9,18 +9,18 @@
</button> </button>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="ridedetail_wrapper"> <div class="ridedetail_wrapper" *ngIf="order">
<div class="order_acceptance"> <div class="order_acceptance">
<div class="order_acceptance_inner"> <div class="order_acceptance_inner">
<div class="point_header"> <div class="point_header">
<div class="point_image"></div> <div class="point_image"></div>
<div class="point_detail">You</div> <div class="point_detail">You</div>
<strong class="floatRight">ORID008800</strong> <strong class="floatRight">{{order.orderCode}}</strong>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="point_box"> <div class="point_box">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
06, Tasmania, horse building<br> {{order.pickupAddress}}<br>
<strong>2 Km</strong> <strong>2 Km</strong>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
</div> </div>
<div class="point_box"> <div class="point_box">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
06, Tasmania, horse building<br> {{order.deliveryAddress}}<br>
<strong>1 Km</strong> <strong>1 Km</strong>
</div> </div>
<strong class="floatRight">Men's Shirt<br> <!-- <strong class="floatRight">Men's Shirt<br>
<span>Au$ 88</span></strong> <span>Au$ 88</span></strong> -->
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="point_header"> <div class="point_header">
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
<div class="point_detail">John Doe</div> <div class="point_detail">John Doe</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="point_box borderNone"> <!-- <div class="point_box borderNone">
<div class="point_head floatLeft"> <div class="point_head floatLeft">
06, Tasmania, horse building<br> 06, Tasmania, horse building<br>
<strong>1 Km</strong> <strong>1 Km</strong>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div> -->
</div> </div>
<hr> <hr>
<br> <br>
...@@ -71,11 +71,11 @@ ...@@ -71,11 +71,11 @@
</div> </div>
</ion-content> </ion-content>
<ion-footer> <ion-footer>
<div class="bottom_btn_bay"> <div class="bottom_btn_bay" *ngIf="order.orderStatus == 2">
<button class="accept_btn floatRight" (click)="goToPage('riderlounge')"> <button class="accept_btn floatRight" (click)="accept()">
Accept Accept
</button> </button>
<button class="reject_btn floatLeft">Reject</button> <button class="reject_btn floatLeft" (click)="reject()">Reject</button>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</ion-footer> </ion-footer>
\ No newline at end of file
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common'; import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router';
import { MyordersService } from './../../config/myorder.service';
import { Myorder } from './../../config/services/myorder';
@Component({ @Component({
selector: 'app-ridedetails', selector: 'app-ridedetails',
...@@ -8,12 +10,16 @@ import { Router, ActivatedRoute } from '@angular/router'; ...@@ -8,12 +10,16 @@ import { Router, ActivatedRoute } from '@angular/router';
styleUrls: ['./ridedetails.page.scss'], styleUrls: ['./ridedetails.page.scss'],
}) })
export class RidedetailsPage implements OnInit { export class RidedetailsPage implements OnInit {
order: Myorder;
constructor( constructor(
private router: Router, private router: Router,
private route: ActivatedRoute, private route: ActivatedRoute,
private location: Location private location: Location,
) { } public myorder: MyordersService
) {
this.order = this.myorder.selItem;
}
ngOnInit() { ngOnInit() {
} }
...@@ -27,4 +33,18 @@ export class RidedetailsPage implements OnInit { ...@@ -27,4 +33,18 @@ export class RidedetailsPage implements OnInit {
this.location.back(); this.location.back();
} }
accept() {
this.myorder.rideChange(this.order.orderId, 1);
this.myorder.selItem.orderStatus = 3;
this.myorder.rideStatus(3).then(() => {
this.router.navigateByUrl('riderlounge');
});
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
reject() {
this.myorder.rideReject(this.order.orderId);
this.router.navigateByUrl('home');
}
} }
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</button> </button>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="rider_lounge_wrapper"> <div class="rider_lounge_wrapper" *ngIf="order">
<agm-map [zoom]="20" [latitude]="lat" [longitude]="lng"> <agm-map [zoom]="20" [latitude]="lat" [longitude]="lng">
<agm-direction [origin]="origin" [destination]="destination" [renderOptions]="renderOptions" [markerOptions]="markerOptions"> <agm-direction [origin]="origin" [destination]="destination" [renderOptions]="renderOptions" [markerOptions]="markerOptions">
</agm-direction> </agm-direction>
...@@ -29,14 +29,14 @@ ...@@ -29,14 +29,14 @@
<div class="order_place_image"></div> <div class="order_place_image"></div>
<div class="order_place_detail"> <div class="order_place_detail">
<h5>LuLu Fashion Store</h5> <h5>LuLu Fashion Store</h5>
<p>06, Tasmania, horse building..</p> <p>{{order.pickupAddress}}</p>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="time"> <div class="time">
<strong>10</strong>Mnt <strong>10</strong>Mnt
</div> </div>
<div class="reach_btn" (click)="next()">REACHED AT SHOP</div> <div class="reach_btn" (click)="next(4)">REACHED AT SHOP</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
...@@ -48,13 +48,13 @@ ...@@ -48,13 +48,13 @@
<div class="order_place_image"></div> <div class="order_place_image"></div>
<div class="order_place_detail" style="width: calc(100% - 90px);"> <div class="order_place_detail" style="width: calc(100% - 90px);">
<h5>LuLu Fashion Store</h5> <h5>LuLu Fashion Store</h5>
<p>06, Tasmania, horse building..</p> <p>{{order.pickupAddress}}</p>
</div> </div>
<div class="toggle_btn floatRight" (click)="goToPage('ridedetails')"></div> <div class="toggle_btn floatRight" (click)="goToPage('ridedetails')"></div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<hr> <hr>
<div class="items_div"> <!-- <div class="items_div">
<ion-row> <ion-row>
<ion-col class="textLeft"> <ion-col class="textLeft">
<input class="styled-checkbox" id="styled-checkbox-1" type="checkbox" value="value1"> <input class="styled-checkbox" id="styled-checkbox-1" type="checkbox" value="value1">
...@@ -73,11 +73,11 @@ ...@@ -73,11 +73,11 @@
<p>AU$ 72</p> <p>AU$ 72</p>
</ion-col> </ion-col>
</ion-row> </ion-row>
</div> </div> -->
<div class="time"> <div class="time">
<strong>05</strong>Mnt <strong>05</strong>Mnt
</div> </div>
<div class="reach_btn" (click)="next()">PRODUCT COLLECTED</div> <div class="reach_btn" (click)="next(5)">PRODUCT COLLECTED</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
...@@ -91,8 +91,8 @@ ...@@ -91,8 +91,8 @@
<div class="order_place"> <div class="order_place">
<div class="order_place_image"></div> <div class="order_place_image"></div>
<div class="order_place_detail" style="width: calc(100% - 140px);"> <div class="order_place_detail" style="width: calc(100% - 140px);">
<h5>LuLu Fashion Store</h5> <h5>John Doe</h5>
<p>06, Tasmania, horse building..</p> <p>{{order.deliveryAddress}}</p>
</div> </div>
<button class="call">Call</button> <button class="call">Call</button>
<div class="clear"></div> <div class="clear"></div>
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
<div class="time"> <div class="time">
<strong>30</strong>Mnt <strong>30</strong>Mnt
</div> </div>
<div class="reach_btn" (click)="next()">REACHED AT CUSTOMER</div> <div class="reach_btn" (click)="next(6)">REACHED AT CUSTOMER</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
...@@ -111,14 +111,14 @@ ...@@ -111,14 +111,14 @@
<div class="order_place pt0"> <div class="order_place pt0">
<div class="order_place_image"></div> <div class="order_place_image"></div>
<div class="order_place_detail" style="width: calc(100% - 90px);"> <div class="order_place_detail" style="width: calc(100% - 90px);">
<h5>LuLu Fashion Store</h5> <h5>John Doe</h5>
<p>06, Tasmania, horse building..</p> <p>{{order.deliveryAddress}}</p>
</div> </div>
<div class="toggle_btn floatRight" (click)="goToPage('ridedetails')"></div> <div class="toggle_btn floatRight" (click)="goToPage('ridedetails')"></div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<hr> <hr>
<div class="items_div"> <!-- <div class="items_div">
<ion-row> <ion-row>
<ion-col class="textLeft"> <ion-col class="textLeft">
<h4>Products</h4> <h4>Products</h4>
...@@ -134,11 +134,11 @@ ...@@ -134,11 +134,11 @@
<label for="styled-checkbox-2">Men's Jeans</label> <label for="styled-checkbox-2">Men's Jeans</label>
</ion-col> </ion-col>
</ion-row> </ion-row>
</div> </div> -->
<div class="time"> <div class="time">
<strong>05</strong>Mnt <strong>05</strong>Mnt
</div> </div>
<div class="reach_btn" (click)="goToPage('complete')">PRODUCT DELIVERED</div> <div class="reach_btn" (click)="next(7)">PRODUCT DELIVERED</div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
</div> </div>
......
...@@ -2,6 +2,8 @@ import { Component, OnInit, ViewChild, } from '@angular/core'; ...@@ -2,6 +2,8 @@ import { Component, OnInit, ViewChild, } from '@angular/core';
import { IonSlides } from '@ionic/angular'; import { IonSlides } from '@ionic/angular';
import { Location } from '@angular/common'; import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router'; import { Router, ActivatedRoute } from '@angular/router';
import { MyordersService } from './../../config/myorder.service';
import { Myorder } from './../../config/services/myorder';
@Component({ @Component({
...@@ -13,21 +15,23 @@ export class RiderloungePage implements OnInit { ...@@ -13,21 +15,23 @@ export class RiderloungePage implements OnInit {
@ViewChild(IonSlides, { static: false }) slides: IonSlides; @ViewChild(IonSlides, { static: false }) slides: IonSlides;
currentIndex: any; currentIndex: any;
order: Myorder;
status: any; status: any;
public lat: number = 51.678418; public lat = 51.678418;
public lng: number = 7.809007; public lng = 7.809007;
public origin: any; public origin: any;
public destination: any; public destination: any;
public renderOptions: any; public renderOptions: any;
public markerOptions: any; public markerOptions: any;
deliveryStatus:any; deliveryStatus: any;
constructor( constructor(
private router: Router, private router: Router,
private route: ActivatedRoute, private route: ActivatedRoute,
private location: Location private location: Location,
public myorder: MyordersService
) { } ) { }
...@@ -36,7 +40,7 @@ export class RiderloungePage implements OnInit { ...@@ -36,7 +40,7 @@ export class RiderloungePage implements OnInit {
slidesPerView: 1, slidesPerView: 1,
spaceBetween: 20, spaceBetween: 20,
allowTouchMove: false allowTouchMove: false
} };
ngOnInit() { ngOnInit() {
...@@ -61,8 +65,9 @@ export class RiderloungePage implements OnInit { ...@@ -61,8 +65,9 @@ export class RiderloungePage implements OnInit {
getDirection() { getDirection() {
this.origin = { lat: 51.678418, lng: 7.80 }; this.order = this.myorder.selItem;
this.destination = { lat: 51.678418, lng: 7.82 }; this.origin = { lat: this.order.pickupLocation._lat, lng: this.order.pickupLocation._long };
this.destination = { lat: this.order.deliveryLocation._lat, lng: this.order.deliveryLocation._long };
this.renderOptions = { polylineOptions: { strokeColor: 'rgba(69, 67, 152,1)' }, suppressMarkers: true }; this.renderOptions = { polylineOptions: { strokeColor: 'rgba(69, 67, 152,1)' }, suppressMarkers: true };
this.markerOptions = { this.markerOptions = {
origin: { origin: {
...@@ -77,8 +82,16 @@ export class RiderloungePage implements OnInit { ...@@ -77,8 +82,16 @@ export class RiderloungePage implements OnInit {
} }
next() { next(status: number) {
this.slides.slideNext(); this.myorder.rideStatus(status).then((data) => {
if (status === 7) {
this.myorder.rideChange(this.myorder.selItem.orderId, 0);
this.goToPage('complete');
} else {
this.slides.slideNext();
}
this.myorder.selItem.orderStatus = status;
});
} }
prev() { prev() {
......
import { Injectable } from '@angular/core';
import { User } from './services/user';
import { auth } from 'firebase/app';
import { Router, ActivatedRoute } from '@angular/router';
import { AngularFireAuth } from '@angular/fire/auth';
import { AngularFirestore, AngularFirestoreDocument } from '@angular/fire/firestore';
import { ServiceService } from './../config/service.service';
import { MyordersService } from './../config/myorder.service';
import { from } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class AuthService {
userData: any;
constructor(
public afs: AngularFirestore,
public afAuth: AngularFireAuth,
private router: Router,
private service: ServiceService,
public myorder: MyordersService
) {
this.afAuth.authState.subscribe(user => {
if (user) {
this.userData = user;
this.service.set('user', JSON.stringify(this.userData));
} else {
this.service.set('user', null);
JSON.parse(localStorage.getItem('user'));
}
});
}
public async SignIn(email: string, password: string) {
return this.afAuth.auth.signInWithEmailAndPassword(email, password).then((result) => {
console.log('success');
this.router.navigateByUrl('home');
this.SetUserData(result.user);
}).catch((error) => {
window.alert(error.message);
});
}
get isLoggedIn(): boolean {
const user = JSON.parse(localStorage.getItem('user'));
return (user !== null && user.emailVerified !== false) ? true : false;
}
SetUserData(user: any) {
console.log(user);
const userRef: AngularFirestoreDocument<any> = this.afs.doc(`riders/${user.uid}`);
userRef.valueChanges().subscribe((value) => {
console.log(value);
const userData: User = {
riderId: value.riderId,
emailId: value.emailId,
name: value.name,
profilePhoto: value.profilePic,
phone: value.phone,
onlineStatus: value.onlineStatus,
regNo: value.regNo,
fraudStatus: value.fraudStatus,
location: value.location,
vehicle: value.vehicle,
verified: value.verified,
currOrder: value.currOrder,
rideState: value.rideState
};
console.log(userData);
/* if (value.rideState === true) {
this.router.navigateByUrl('riderlounge');
} else {
this.router.navigateByUrl('home');
}
document.body.scrollTop = document.documentElement.scrollTop = 0;*/
});
}
public async SignOut() {
return this.afAuth.auth.signOut().then(() => {
this.service.remove('user');
console.log('logout');
});
}
}
import { Injectable } from '@angular/core';
import { AngularFirestore, AngularFirestoreDocument, AngularFirestoreCollection } from '@angular/fire/firestore';
import { Myorder } from './services/myorder';
import { ServiceService } from './../config/service.service';
import * as firebase from 'firebase';
@Injectable({
providedIn: 'root'
})
export class MyordersService {
product: Myorder[] = [];
riderId: string;
orders: Myorder[];
selItem: Myorder;
constructor(
public afs: AngularFirestore,
public service: ServiceService
) {
const users = this.service.get('user').then((data) => {
if (data) {
data = JSON.parse(data);
this.riderId = data.uid;
if (this.riderId !== undefined) {
this.orderList(this.riderId);
}
} else {
this.riderId = 'LVIMCEdUOGMzYxISL5OkMUPD35Q2';
}
});
}
public async orderList(riderId) {
console.log('called');
console.log(riderId);
const This = this;
riderId = 'qbTKza18mWVzYG9NLIbmjMbrYjG2';
const orderRef: AngularFirestoreCollection<any> = this.afs.collection('orders', ref => ref.where('riderId', '==', riderId)
.where('orderStatus', '==', 2)
.orderBy('bookDate', 'desc'));
orderRef.valueChanges().subscribe((value) => {
this.orders = [];
const res = value;
if (res.length > 0) {
res.forEach((item) => {
console.log(item);
const order: Myorder = {
prodName: item.prodName,
color: item.color,
image: item.image,
amount: item.amount,
qty: item.qty,
status: item.status,
orderStatus: item.orderStatus,
bookDate: item.bookDate,
deliveryLocation: item.deliveryLocation,
deliveryAddress: item.deliveryAddress,
pickupAddress: item.pickupAddress,
pickupLocation: item.pickupLocation,
riderName: 'John',
orderId: item.orderId,
orderCode: item.orderCode,
size: item.size,
time: '60'
};
this.orders.push(order);
});
console.log(this.orders);
} else {
// alert('No Orders Found');
}
});
}
public async trackOrder(order) {
this.selItem = order;
}
public async rideStatus(status: number) {
this.afs.collection('orders').doc(this.selItem.orderId).update({orderStatus: status}).then(() => {
console.log('Booking Successfully');
});
}
public async rideChange(riderId: string, state: number) {
this.riderId = 'qbTKza18mWVzYG9NLIbmjMbrYjG2';
if (state === 1) {
const change = {currOrder: riderId, rideState: 1};
this.afs.collection('riders').doc(this.riderId).update(change).then(() => {
console.log('Rider Set Booking');
});
} else {
const change = {currOrder: '', rideState: 0};
this.afs.collection('riders').doc(this.riderId).update(change).then(() => {
console.log('Rider Set Booking');
});
}
}
public async rideReject(riderId: string) {
this.afs.collection('orders').doc(riderId).update({riderId: ''}).then(() => {
console.log('Booking Rejected');
});
}
}
import { Injectable } from '@angular/core';
import { Storage } from '@ionic/storage';
@Injectable({
providedIn: 'root'
})
export class ServiceService {
constructor(public storage: Storage) { }
public set(settingName: string, value: any) {
return this.storage.set(`setting:${ settingName }`, value);
}
public async get(settingName: string) {
return await this.storage.get(`setting:${ settingName }`);
}
public async remove(settingName: string) {
return await this.storage.remove(`setting:${ settingName }`);
}
public clear() {
this.storage.clear().then(() => {
console.log('all keys cleared');
});
}
public key2Array(item: object) {
const response = [];
for (const key in item) {
if (item.hasOwnProperty(key)) {
response.push(item[key]);
}
}
return response;
}
}
export interface Myorder {
amount: string;
prodName: any;
image: string;
size: string;
color: string;
qty: number;
bookDate: any;
pickupAddress: string;
pickupLocation: any;
deliveryAddress: string;
deliveryLocation: any;
status: number;
orderId: string;
orderCode: string;
orderStatus: number;
riderName: string;
time: string;
}
export interface User {
riderId: string;
emailId: string;
name: string;
phone: string;
onlineStatus: boolean;
profilePhoto: string;
fraudStatus: boolean;
location: any;
regNo: string;
vehicle: string;
verified: boolean;
currOrder: string;
rideState: boolean;
}
...@@ -3,7 +3,16 @@ ...@@ -3,7 +3,16 @@
// The list of file replacements can be found in `angular.json`. // The list of file replacements can be found in `angular.json`.
export const environment = { export const environment = {
production: false production: false,
firebase: {
apiKey: 'AIzaSyDzc8lCO4NAfc3PbXPQjvmSWDbsw-yTqXw',
authDomain: 'getmi-4fd26.firebaseapp.com',
databaseURL: 'https://getmi-4fd26.firebaseio.com',
projectId: 'getmi-4fd26',
storageBucket: 'getmi-4fd26.appspot.com',
messagingSenderId: '949385251610',
appId: '1:949385251610:web:cec06e05a0b1aa58'
}
}; };
/* /*
......
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