From da4413af853a6b5846a03455beb91321e98405a8 Mon Sep 17 00:00:00 2001 From: Rene Vergara A Date: Sat, 8 Oct 2022 09:06:56 -0500 Subject: [PATCH] Data Export component in progress... --- package-lock.json | 554 ++++++++++++++---- package.json | 4 +- src/app/app.module.ts | 8 +- src/app/db-export/db-export.component.css | 13 + src/app/db-export/db-export.component.html | 9 + src/app/db-export/db-export.component.spec.ts | 23 + src/app/db-export/db-export.component.ts | 24 + src/app/listorders/listorders.component.html | 3 +- src/app/listorders/listorders.component.ts | 18 +- 9 files changed, 549 insertions(+), 107 deletions(-) create mode 100644 src/app/db-export/db-export.component.css create mode 100644 src/app/db-export/db-export.component.html create mode 100644 src/app/db-export/db-export.component.spec.ts create mode 100644 src/app/db-export/db-export.component.ts diff --git a/package-lock.json b/package-lock.json index 5fbd525..9c7e9ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "zgo", "version": "1.3.0", "dependencies": { + "@angular-material-components/datetime-picker": "^8.0.0", "@angular/animations": "^14.2.5", "@angular/cdk": "^14.2.4", "@angular/common": "^14.2.5", @@ -26,6 +27,7 @@ "@fortawesome/free-solid-svg-icons": "^6.1.0", "@supercharge/request-ip": "^1.1.2", "angular-local-storage": "^0.7.1", + "angular-material-datepicker": "^1.0.2", "async": "^3.2.2", "coingecko-api": "^1.0.10", "easyqrcodejs": "^4.4.6", @@ -303,6 +305,22 @@ "yarn": ">= 1.13.0" } }, + "node_modules/@angular-material-components/datetime-picker": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@angular-material-components/datetime-picker/-/datetime-picker-8.0.0.tgz", + "integrity": "sha512-mpndWbRimp77omkfa9LlpY21FN8xOFH8NV4hSLOxWg7RpUa1gZXLtW6mTRuDQ9cpWO6m9qH/8ioHKtvY+Epckg==", + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/cdk": "^14.0.1", + "@angular/common": "^14.0.1", + "@angular/core": "^14.0.1", + "@angular/forms": "^14.0.1", + "@angular/material": "^14.0.1", + "@angular/platform-browser": "^14.0.1" + } + }, "node_modules/@angular/animations": { "version": "14.2.5", "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.2.5.tgz", @@ -3235,12 +3253,14 @@ "license": "MIT" }, "node_modules/@types/webidl-conversions": { - "version": "6.1.1", - "license": "MIT" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog==" }, "node_modules/@types/whatwg-url": { - "version": "8.2.1", - "license": "MIT", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.2.tgz", + "integrity": "sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==", "dependencies": { "@types/node": "*", "@types/webidl-conversions": "*" @@ -3561,6 +3581,157 @@ "version": "0.7.1", "license": "MIT" }, + "node_modules/angular-material-datepicker": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/angular-material-datepicker/-/angular-material-datepicker-1.0.2.tgz", + "integrity": "sha512-ZJGU47GUPhe++OkN4z55j9/AYLxEbKEUZ6hiE+qKf/PIkEUAZEYYC26oJQkhoeBo5L04FF/w2cXA8Z5VEJfjXA==", + "dependencies": { + "@angular/common": "^2.3.1", + "@angular/compiler": "^2.3.1", + "@angular/core": "^2.3.1", + "@angular/forms": "^2.3.1", + "@angular/http": "^2.3.1", + "@angular/material": "^2.0.0-beta.1", + "@angular/platform-browser": "^2.3.1", + "@angular/platform-browser-dynamic": "^2.3.1", + "@angular/router": "^3.3.1", + "core-js": "^2.4.1", + "rxjs": "^5.0.1", + "ts-helpers": "^1.1.1", + "zone.js": "^0.7.2" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/cdk": { + "version": "2.0.0-beta.12", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-2.0.0-beta.12.tgz", + "integrity": "sha512-QbiXbsl1c2jOol9tpGbm/1rUCNBwNkycH0/ygphdupZI01C4Zqprh3shInHE7ooYObgv8AUkbEngT6z0/IcDQw==", + "peer": true, + "dependencies": { + "tslib": "^1.7.1" + }, + "peerDependencies": { + "@angular/common": "~4.4.4", + "@angular/core": "~4.4.4" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/common": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-2.4.10.tgz", + "integrity": "sha512-ExCbb/jTH4mGopV2M3+Ya1yFL3p7rA/gtL023bp9lxp1CD8LxjxcWCy5d/BkWBAVKEYjBasAW6UhrrnbNKx1ZA==", + "peerDependencies": { + "@angular/core": "2.4.10" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/compiler": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-2.4.10.tgz", + "integrity": "sha512-woq5GMFIV+50YebpZLqX1eV8X4lH2z8V692zx2Gi/eCzkWsGkvcRSTk+oMahlbCyM786zCe8oQvCZyGFxYLpfA==", + "peerDependencies": { + "@angular/core": "2.4.10" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/core": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-2.4.10.tgz", + "integrity": "sha512-AJeJONPkuQM3DHEEYBK2j5hEsplIcxt6ltlwo2jadMTiGouUPKsTArjb75c6yDyKBxxoYZ9O//XNy07ODXBtig==", + "peerDependencies": { + "rxjs": "^5.0.1", + "zone.js": "^0.7.2" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/forms": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-2.4.10.tgz", + "integrity": "sha512-A/kCKcQdR7RsSRJNRcNsMJUwsmO3MsdZfG8K5GgnJL275MRP5R6oDW2vdXwh/zP0q1qwr6WHp5qLRiFOzvBS+A==", + "peerDependencies": { + "@angular/common": "2.4.10", + "@angular/core": "2.4.10" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/http": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/http/-/http-2.4.10.tgz", + "integrity": "sha512-4K4hpzbJgCvfvCGVERWPU+df6huK+FNuiMnvsTFEmTc7xwEPgSfU3xBFuVZN2LBDTN3yA4BRSXXztHgRUaUbZA==", + "deprecated": "Package no longer supported. Use @angular/common instead, see https://angular.io/guide/deprecations#angularhttp", + "peerDependencies": { + "@angular/core": "2.4.10", + "@angular/platform-browser": "2.4.10", + "rxjs": "^5.0.1" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/material": { + "version": "2.0.0-beta.12", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-2.0.0-beta.12.tgz", + "integrity": "sha512-TtaPFTWdDrtbHjWyfq4xzuLxpmhS8fhUIAT33MLXk5rxJ7WUxutxoBvq1FdA+EUkLZIUZIZE7RAi0vsc8ccQoA==", + "dependencies": { + "tslib": "^1.7.1" + }, + "peerDependencies": { + "@angular/cdk": "2.0.0-beta.12", + "@angular/common": "~4.4.4", + "@angular/core": "~4.4.4" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/platform-browser": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-2.4.10.tgz", + "integrity": "sha512-7GuHgvRN8TnNvQ1ppW0L5hz5qafP7m6Caj4vKNnt1FLM1/vHRBgtZ6U9gIa2DmiD8mT7M1cYAeDX7Qa7NbeYug==", + "peerDependencies": { + "@angular/common": "2.4.10", + "@angular/core": "2.4.10" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/platform-browser-dynamic": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-2.4.10.tgz", + "integrity": "sha512-NJcawfrjeRIE8R+iagC4V3G6q76vxN0MwwJxzPMTFirNEzngm4aG7LuB1TupbJeXCo3pWtBXXadj3/AB9Hjx5w==", + "peerDependencies": { + "@angular/common": "2.4.10", + "@angular/compiler": "2.4.10", + "@angular/core": "2.4.10", + "@angular/platform-browser": "2.4.10" + } + }, + "node_modules/angular-material-datepicker/node_modules/@angular/router": { + "version": "3.4.10", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-3.4.10.tgz", + "integrity": "sha512-NYQ+yxcZxA62knysW7biEfgOqzM7eLU2AXLUJWqnRV6HkJuJ254sW3CN7VyZNGggorIbS7fBa0eh9auWHeSfJQ==", + "peerDependencies": { + "@angular/common": "2.4.10", + "@angular/core": "2.4.10", + "@angular/platform-browser": "2.4.10", + "rxjs": "^5.0.1" + } + }, + "node_modules/angular-material-datepicker/node_modules/rxjs": { + "version": "5.5.12", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", + "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", + "dependencies": { + "symbol-observable": "1.0.1" + }, + "engines": { + "npm": ">=2.0.0" + } + }, + "node_modules/angular-material-datepicker/node_modules/symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/angular-material-datepicker/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/angular-material-datepicker/node_modules/zone.js": { + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.7.8.tgz", + "integrity": "sha512-u7Hdq+ZRTN/fxoa/G/IYNhkTqUlFODtJIc7iE1EAhhsnjRa/NroQ2ApaKUiVu5W4fpXXjH17Ia7eUtF2sQKgsQ==" + }, "node_modules/ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", @@ -4053,8 +4224,9 @@ } }, "node_modules/bson": { - "version": "4.5.4", - "license": "Apache-2.0", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.0.tgz", + "integrity": "sha512-VrlEE4vuiO1WTpfof4VmaVolCVYkYTgB9iWgYNOrVlnifpME/06fhFRmONgBhClD5pFC1t9ZWqFUQEQAzY43bA==", "dependencies": { "buffer": "^5.6.0" }, @@ -4725,6 +4897,13 @@ "url": "https://opencollective.com/webpack" } }, + "node_modules/core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "hasInstallScript": true + }, "node_modules/core-js-compat": { "version": "3.25.5", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz", @@ -5152,8 +5331,9 @@ "dev": true }, "node_modules/denque": { - "version": "2.0.1", - "license": "Apache-2.0", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", "engines": { "node": ">=0.10" } @@ -7194,8 +7374,7 @@ "node_modules/ip": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "dev": true + "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" }, "node_modules/ipaddr.js": { "version": "2.0.1", @@ -7538,9 +7717,9 @@ } }, "node_modules/jose": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/jose/-/jose-2.0.5.tgz", - "integrity": "sha512-BAiDNeDKTMgk4tvD0BbxJ8xHEHBZgpeRZ1zGPPsitSyMgjoMWiLGYAE7H7NpP5h0lPppQajQs871E8NHUrzVPA==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/jose/-/jose-2.0.6.tgz", + "integrity": "sha512-FVoPY7SflDodE4lknJmbAHSUjLCzE2H1F6MS0RYKMQ8SR+lNccpMf8R4eqkNYyyUjR5qZReOzZo5C5YiHOCjjg==", "dependencies": { "@panva/asn1.js": "^1.0.0" }, @@ -7667,8 +7846,9 @@ } }, "node_modules/kareem": { - "version": "2.3.2", - "license": "Apache-2.0" + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.4.1.tgz", + "integrity": "sha512-aJ9opVoXroQUPfovYP5kaj2lM7Jn02Gw13bL0lg9v0V7SaUc0qavPs0Eue7d2DcC3NjqI6QAUElXNsuZSeM+EA==" }, "node_modules/karma": { "version": "6.3.20", @@ -8247,7 +8427,8 @@ }, "node_modules/memory-pager": { "version": "1.5.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", "optional": true }, "node_modules/merge-descriptors": { @@ -8510,12 +8691,14 @@ } }, "node_modules/mongodb": { - "version": "4.1.4", - "license": "Apache-2.0", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.9.1.tgz", + "integrity": "sha512-ZhgI/qBf84fD7sI4waZBoLBNJYPQN5IOC++SBCiPiyhzpNKOxN/fi0tBHvH2dEC42HXtNEbFB0zmNz4+oVtorQ==", "dependencies": { - "bson": "^4.5.4", - "denque": "^2.0.1", - "mongodb-connection-string-url": "^2.1.0" + "bson": "^4.7.0", + "denque": "^2.1.0", + "mongodb-connection-string-url": "^2.5.3", + "socks": "^2.7.0" }, "engines": { "node": ">=12.9.0" @@ -8525,26 +8708,26 @@ } }, "node_modules/mongodb-connection-string-url": { - "version": "2.2.0", - "license": "Apache-2.0", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.5.4.tgz", + "integrity": "sha512-SeAxuWs0ez3iI3vvmLk/j2y+zHwigTDKQhtdxTgt5ZCOQQS5+HW4g45/Xw5vzzbn7oQXCNQ24Z40AkJsizEy7w==", "dependencies": { "@types/whatwg-url": "^8.2.1", "whatwg-url": "^11.0.0" } }, "node_modules/mongoose": { - "version": "6.0.13", - "license": "MIT", + "version": "6.6.5", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.6.5.tgz", + "integrity": "sha512-iA/oDpWOc+K2QYzA4Eq7Z1oUBQOz9FGDmUwPLgw872Bfs/qizA5Db+gJorAn+TnnGu3VoCK8iP4Y+TECUelwjA==", "dependencies": { - "bson": "^4.2.2", - "kareem": "2.3.2", - "mongodb": "4.1.4", - "mpath": "0.8.4", - "mquery": "4.0.0", - "ms": "2.1.2", - "regexp-clone": "1.0.0", - "sift": "13.5.2", - "sliced": "1.0.1" + "bson": "^4.6.5", + "kareem": "2.4.1", + "mongodb": "4.9.1", + "mpath": "0.9.0", + "mquery": "4.0.3", + "ms": "2.1.3", + "sift": "16.0.0" }, "engines": { "node": ">=12.0.0" @@ -8554,20 +8737,25 @@ "url": "https://opencollective.com/mongoose" } }, + "node_modules/mongoose/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, "node_modules/mpath": { - "version": "0.8.4", - "license": "MIT", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz", + "integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==", "engines": { "node": ">=4.0.0" } }, "node_modules/mquery": { - "version": "4.0.0", - "license": "MIT", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-4.0.3.tgz", + "integrity": "sha512-J5heI+P08I6VJ2Ky3+33IpCdAvlYGTSUjwTPxkAr8i8EoduPMBX2OY/wa3IKZIQl7MU4SbFk8ndgSKyB/cl1zA==", "dependencies": { - "debug": "4.x", - "regexp-clone": "^1.0.0", - "sliced": "1.0.1" + "debug": "4.x" }, "engines": { "node": ">=12.0.0" @@ -10570,10 +10758,6 @@ "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==", "dev": true }, - "node_modules/regexp-clone": { - "version": "1.0.0", - "license": "MIT" - }, "node_modules/regexpu-core": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz", @@ -10875,7 +11059,8 @@ }, "node_modules/saslprep": { "version": "1.0.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", + "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", "optional": true, "dependencies": { "sparse-bitfield": "^3.0.3" @@ -11268,8 +11453,9 @@ } }, "node_modules/sift": { - "version": "13.5.2", - "license": "MIT" + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/sift/-/sift-16.0.0.tgz", + "integrity": "sha512-ILTjdP2Mv9V1kIxWMXeMTIRbOBrqKc4JAXmFMnFq3fKeyQ2Qwa3Dw1ubcye3vR+Y6ofA0b9gNDr/y2t6eUeIzQ==" }, "node_modules/signal-exit": { "version": "3.0.7", @@ -11289,15 +11475,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/sliced": { - "version": "1.0.1", - "license": "MIT" - }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "dev": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -11355,7 +11536,6 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "dev": true, "dependencies": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -11455,7 +11635,8 @@ }, "node_modules/sparse-bitfield": { "version": "3.0.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", + "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", "optional": true, "dependencies": { "memory-pager": "^1.0.2" @@ -11946,7 +12127,8 @@ }, "node_modules/tr46": { "version": "3.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", + "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", "dependencies": { "punycode": "^2.1.1" }, @@ -11962,6 +12144,14 @@ "tree-kill": "cli.js" } }, + "node_modules/ts-helpers": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/ts-helpers/-/ts-helpers-1.1.2.tgz", + "integrity": "sha512-G693cujAS8MzCAPUjvSssoDsp2yMR9CEnZ75h3ii9jC+AzeU6UZorHNDqve0kw5CxLPW2mnKQlnA6MdH52imNg==", + "peerDependencies": { + "typescript": ">=1.8.0 <2.1.0 || >=1.9.0-dev || >=2.0.0-dev || || >=2.1.0-dev" + } + }, "node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -12024,7 +12214,6 @@ "version": "4.7.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -12270,7 +12459,8 @@ }, "node_modules/webidl-conversions": { "version": "7.0.0", - "license": "BSD-2-Clause", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", "engines": { "node": ">=12" } @@ -12571,7 +12761,8 @@ }, "node_modules/whatwg-url": { "version": "11.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", "dependencies": { "tr46": "^3.0.0", "webidl-conversions": "^7.0.0" @@ -12915,6 +13106,14 @@ "rxjs": "6.6.7" } }, + "@angular-material-components/datetime-picker": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@angular-material-components/datetime-picker/-/datetime-picker-8.0.0.tgz", + "integrity": "sha512-mpndWbRimp77omkfa9LlpY21FN8xOFH8NV4hSLOxWg7RpUa1gZXLtW6mTRuDQ9cpWO6m9qH/8ioHKtvY+Epckg==", + "requires": { + "tslib": "^2.3.0" + } + }, "@angular/animations": { "version": "14.2.5", "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.2.5.tgz", @@ -14947,10 +15146,14 @@ "dev": true }, "@types/webidl-conversions": { - "version": "6.1.1" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-xTE1E+YF4aWPJJeUzaZI5DRntlkY3+BCVJi0axFptnjGmAoWxkyREIh/XMrfxVLejwQxMCfDXdICo0VLxThrog==" }, "@types/whatwg-url": { - "version": "8.2.1", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.2.tgz", + "integrity": "sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==", "requires": { "@types/node": "*", "@types/webidl-conversions": "*" @@ -15213,6 +15416,116 @@ "angular-local-storage": { "version": "0.7.1" }, + "angular-material-datepicker": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/angular-material-datepicker/-/angular-material-datepicker-1.0.2.tgz", + "integrity": "sha512-ZJGU47GUPhe++OkN4z55j9/AYLxEbKEUZ6hiE+qKf/PIkEUAZEYYC26oJQkhoeBo5L04FF/w2cXA8Z5VEJfjXA==", + "requires": { + "@angular/common": "^2.3.1", + "@angular/compiler": "^2.3.1", + "@angular/core": "^2.3.1", + "@angular/forms": "^2.3.1", + "@angular/http": "^2.3.1", + "@angular/material": "^2.0.0-beta.1", + "@angular/platform-browser": "^2.3.1", + "@angular/platform-browser-dynamic": "^2.3.1", + "@angular/router": "^3.3.1", + "core-js": "^2.4.1", + "rxjs": "^5.0.1", + "ts-helpers": "^1.1.1", + "zone.js": "^0.7.2" + }, + "dependencies": { + "@angular/cdk": { + "version": "2.0.0-beta.12", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-2.0.0-beta.12.tgz", + "integrity": "sha512-QbiXbsl1c2jOol9tpGbm/1rUCNBwNkycH0/ygphdupZI01C4Zqprh3shInHE7ooYObgv8AUkbEngT6z0/IcDQw==", + "peer": true, + "requires": { + "tslib": "^1.7.1" + } + }, + "@angular/common": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-2.4.10.tgz", + "integrity": "sha512-ExCbb/jTH4mGopV2M3+Ya1yFL3p7rA/gtL023bp9lxp1CD8LxjxcWCy5d/BkWBAVKEYjBasAW6UhrrnbNKx1ZA==", + "requires": {} + }, + "@angular/compiler": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-2.4.10.tgz", + "integrity": "sha512-woq5GMFIV+50YebpZLqX1eV8X4lH2z8V692zx2Gi/eCzkWsGkvcRSTk+oMahlbCyM786zCe8oQvCZyGFxYLpfA==", + "requires": {} + }, + "@angular/core": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-2.4.10.tgz", + "integrity": "sha512-AJeJONPkuQM3DHEEYBK2j5hEsplIcxt6ltlwo2jadMTiGouUPKsTArjb75c6yDyKBxxoYZ9O//XNy07ODXBtig==", + "requires": {} + }, + "@angular/forms": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-2.4.10.tgz", + "integrity": "sha512-A/kCKcQdR7RsSRJNRcNsMJUwsmO3MsdZfG8K5GgnJL275MRP5R6oDW2vdXwh/zP0q1qwr6WHp5qLRiFOzvBS+A==", + "requires": {} + }, + "@angular/http": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/http/-/http-2.4.10.tgz", + "integrity": "sha512-4K4hpzbJgCvfvCGVERWPU+df6huK+FNuiMnvsTFEmTc7xwEPgSfU3xBFuVZN2LBDTN3yA4BRSXXztHgRUaUbZA==", + "requires": {} + }, + "@angular/material": { + "version": "2.0.0-beta.12", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-2.0.0-beta.12.tgz", + "integrity": "sha512-TtaPFTWdDrtbHjWyfq4xzuLxpmhS8fhUIAT33MLXk5rxJ7WUxutxoBvq1FdA+EUkLZIUZIZE7RAi0vsc8ccQoA==", + "requires": { + "tslib": "^1.7.1" + } + }, + "@angular/platform-browser": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-2.4.10.tgz", + "integrity": "sha512-7GuHgvRN8TnNvQ1ppW0L5hz5qafP7m6Caj4vKNnt1FLM1/vHRBgtZ6U9gIa2DmiD8mT7M1cYAeDX7Qa7NbeYug==", + "requires": {} + }, + "@angular/platform-browser-dynamic": { + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-2.4.10.tgz", + "integrity": "sha512-NJcawfrjeRIE8R+iagC4V3G6q76vxN0MwwJxzPMTFirNEzngm4aG7LuB1TupbJeXCo3pWtBXXadj3/AB9Hjx5w==", + "requires": {} + }, + "@angular/router": { + "version": "3.4.10", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-3.4.10.tgz", + "integrity": "sha512-NYQ+yxcZxA62knysW7biEfgOqzM7eLU2AXLUJWqnRV6HkJuJ254sW3CN7VyZNGggorIbS7fBa0eh9auWHeSfJQ==", + "requires": {} + }, + "rxjs": { + "version": "5.5.12", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", + "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", + "requires": { + "symbol-observable": "1.0.1" + } + }, + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==" + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "zone.js": { + "version": "0.7.8", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.7.8.tgz", + "integrity": "sha512-u7Hdq+ZRTN/fxoa/G/IYNhkTqUlFODtJIc7iE1EAhhsnjRa/NroQ2ApaKUiVu5W4fpXXjH17Ia7eUtF2sQKgsQ==" + } + } + }, "ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", @@ -15564,7 +15877,9 @@ } }, "bson": { - "version": "4.5.4", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.0.tgz", + "integrity": "sha512-VrlEE4vuiO1WTpfof4VmaVolCVYkYTgB9iWgYNOrVlnifpME/06fhFRmONgBhClD5pFC1t9ZWqFUQEQAzY43bA==", "requires": { "buffer": "^5.6.0" } @@ -16050,6 +16365,11 @@ } } }, + "core-js": { + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", + "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" + }, "core-js-compat": { "version": "3.25.5", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz", @@ -16341,7 +16661,9 @@ "dev": true }, "denque": { - "version": "2.0.1" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==" }, "depd": { "version": "1.1.2", @@ -17764,8 +18086,7 @@ "ip": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "dev": true + "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" }, "ipaddr.js": { "version": "2.0.1", @@ -17985,9 +18306,9 @@ } }, "jose": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/jose/-/jose-2.0.5.tgz", - "integrity": "sha512-BAiDNeDKTMgk4tvD0BbxJ8xHEHBZgpeRZ1zGPPsitSyMgjoMWiLGYAE7H7NpP5h0lPppQajQs871E8NHUrzVPA==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/jose/-/jose-2.0.6.tgz", + "integrity": "sha512-FVoPY7SflDodE4lknJmbAHSUjLCzE2H1F6MS0RYKMQ8SR+lNccpMf8R4eqkNYyyUjR5qZReOzZo5C5YiHOCjjg==", "requires": { "@panva/asn1.js": "^1.0.0" } @@ -18084,7 +18405,9 @@ } }, "kareem": { - "version": "2.3.2" + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.4.1.tgz", + "integrity": "sha512-aJ9opVoXroQUPfovYP5kaj2lM7Jn02Gw13bL0lg9v0V7SaUc0qavPs0Eue7d2DcC3NjqI6QAUElXNsuZSeM+EA==" }, "karma": { "version": "6.3.20", @@ -18491,6 +18814,8 @@ }, "memory-pager": { "version": "1.5.0", + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", "optional": true }, "merge-descriptors": { @@ -18673,44 +18998,58 @@ "dev": true }, "mongodb": { - "version": "4.1.4", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.9.1.tgz", + "integrity": "sha512-ZhgI/qBf84fD7sI4waZBoLBNJYPQN5IOC++SBCiPiyhzpNKOxN/fi0tBHvH2dEC42HXtNEbFB0zmNz4+oVtorQ==", "requires": { - "bson": "^4.5.4", - "denque": "^2.0.1", - "mongodb-connection-string-url": "^2.1.0", - "saslprep": "^1.0.3" + "bson": "^4.7.0", + "denque": "^2.1.0", + "mongodb-connection-string-url": "^2.5.3", + "saslprep": "^1.0.3", + "socks": "^2.7.0" } }, "mongodb-connection-string-url": { - "version": "2.2.0", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.5.4.tgz", + "integrity": "sha512-SeAxuWs0ez3iI3vvmLk/j2y+zHwigTDKQhtdxTgt5ZCOQQS5+HW4g45/Xw5vzzbn7oQXCNQ24Z40AkJsizEy7w==", "requires": { "@types/whatwg-url": "^8.2.1", "whatwg-url": "^11.0.0" } }, "mongoose": { - "version": "6.0.13", + "version": "6.6.5", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.6.5.tgz", + "integrity": "sha512-iA/oDpWOc+K2QYzA4Eq7Z1oUBQOz9FGDmUwPLgw872Bfs/qizA5Db+gJorAn+TnnGu3VoCK8iP4Y+TECUelwjA==", "requires": { - "bson": "^4.2.2", - "kareem": "2.3.2", - "mongodb": "4.1.4", - "mpath": "0.8.4", - "mquery": "4.0.0", - "ms": "2.1.2", - "regexp-clone": "1.0.0", - "sift": "13.5.2", - "sliced": "1.0.1" + "bson": "^4.6.5", + "kareem": "2.4.1", + "mongodb": "4.9.1", + "mpath": "0.9.0", + "mquery": "4.0.3", + "ms": "2.1.3", + "sift": "16.0.0" + }, + "dependencies": { + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } } }, "mpath": { - "version": "0.8.4" + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz", + "integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==" }, "mquery": { - "version": "4.0.0", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/mquery/-/mquery-4.0.3.tgz", + "integrity": "sha512-J5heI+P08I6VJ2Ky3+33IpCdAvlYGTSUjwTPxkAr8i8EoduPMBX2OY/wa3IKZIQl7MU4SbFk8ndgSKyB/cl1zA==", "requires": { - "debug": "4.x", - "regexp-clone": "^1.0.0", - "sliced": "1.0.1" + "debug": "4.x" } }, "ms": { @@ -20066,9 +20405,6 @@ "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==", "dev": true }, - "regexp-clone": { - "version": "1.0.0" - }, "regexpu-core": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz", @@ -20286,6 +20622,8 @@ }, "saslprep": { "version": "1.0.3", + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", + "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", "optional": true, "requires": { "sparse-bitfield": "^3.0.3" @@ -20583,7 +20921,9 @@ } }, "sift": { - "version": "13.5.2" + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/sift/-/sift-16.0.0.tgz", + "integrity": "sha512-ILTjdP2Mv9V1kIxWMXeMTIRbOBrqKc4JAXmFMnFq3fKeyQ2Qwa3Dw1ubcye3vR+Y6ofA0b9gNDr/y2t6eUeIzQ==" }, "signal-exit": { "version": "3.0.7", @@ -20597,14 +20937,10 @@ "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", "dev": true }, - "sliced": { - "version": "1.0.1" - }, "smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "dev": true + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" }, "socket.io": { "version": "4.5.1", @@ -20652,7 +20988,6 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "dev": true, "requires": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -20725,6 +21060,8 @@ }, "sparse-bitfield": { "version": "3.0.3", + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", + "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", "optional": true, "requires": { "memory-pager": "^1.0.2" @@ -21061,6 +21398,8 @@ }, "tr46": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", + "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", "requires": { "punycode": "^2.1.1" } @@ -21069,6 +21408,12 @@ "version": "1.2.2", "dev": true }, + "ts-helpers": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/ts-helpers/-/ts-helpers-1.1.2.tgz", + "integrity": "sha512-G693cujAS8MzCAPUjvSssoDsp2yMR9CEnZ75h3ii9jC+AzeU6UZorHNDqve0kw5CxLPW2mnKQlnA6MdH52imNg==", + "requires": {} + }, "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", @@ -21113,8 +21458,7 @@ "typescript": { "version": "4.7.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "dev": true + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" }, "ua-parser-js": { "version": "0.7.31", @@ -21277,7 +21621,9 @@ } }, "webidl-conversions": { - "version": "7.0.0" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==" }, "webpack": { "version": "5.74.0", @@ -21468,6 +21814,8 @@ }, "whatwg-url": { "version": "11.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", "requires": { "tr46": "^3.0.0", "webidl-conversions": "^7.0.0" diff --git a/package.json b/package.json index 02ec1d7..5967fbd 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "private": true, "dependencies": { + "@angular-material-components/datetime-picker": "^8.0.0", "@angular/animations": "^14.2.5", "@angular/cdk": "^14.2.4", "@angular/common": "^14.2.5", @@ -28,6 +29,7 @@ "@fortawesome/free-solid-svg-icons": "^6.1.0", "@supercharge/request-ip": "^1.1.2", "angular-local-storage": "^0.7.1", + "angular-material-datepicker": "^1.0.2", "async": "^3.2.2", "coingecko-api": "^1.0.10", "easyqrcodejs": "^4.4.6", @@ -59,4 +61,4 @@ "karma-jasmine-html-reporter": "~1.7.0", "typescript": "~4.7.4" } -} \ No newline at end of file +} diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 0822b8f..0fbce31 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -18,6 +18,8 @@ import { MatStepperModule } from '@angular/material/stepper'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatSnackBarModule } from '@angular/material/snack-bar'; import { MatTabsModule } from '@angular/material/tabs'; +import { MatDatepickerModule } from '@angular/material/datepicker'; +import { MatNativeDateModule } from '@angular/material/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @@ -48,6 +50,7 @@ import { PromptReceiptComponent } from './prompt-receipt/prompt-receipt.componen import { NotifierComponent } from './notifier/notifier.component'; import { PmtserviceComponent } from './pmtservice/pmtservice.component'; import { XeroRegComponent } from './xeroreg/xeroreg.component'; +import { DbExportComponent } from './db-export/db-export.component'; @NgModule({ declarations: [ @@ -76,7 +79,8 @@ import { XeroRegComponent } from './xeroreg/xeroreg.component'; PromptReceiptComponent, NotifierComponent, PmtserviceComponent, - XeroRegComponent + XeroRegComponent, + DbExportComponent ], imports: [ BrowserModule, @@ -100,6 +104,8 @@ import { XeroRegComponent } from './xeroreg/xeroreg.component'; MatSlideToggleModule, MatSnackBarModule, MatTabsModule, + MatDatepickerModule, + MatNativeDateModule, BrowserAnimationsModule, FontAwesomeModule ], diff --git a/src/app/db-export/db-export.component.css b/src/app/db-export/db-export.component.css new file mode 100644 index 0000000..e6cf954 --- /dev/null +++ b/src/app/db-export/db-export.component.css @@ -0,0 +1,13 @@ + +.settings-title { + font-family: 'Spartan', sans-serif; + background: #ff5722; + color: white; + font-size: 30px; + text-align: center; + padding: 5px; +} + +.example-form-field { + margin: 0 8px 16px 0; +} diff --git a/src/app/db-export/db-export.component.html b/src/app/db-export/db-export.component.html new file mode 100644 index 0000000..ff2e085 --- /dev/null +++ b/src/app/db-export/db-export.component.html @@ -0,0 +1,9 @@ +
Export Data
+ + Choose a date + + MM/DD/YYYY + + + + diff --git a/src/app/db-export/db-export.component.spec.ts b/src/app/db-export/db-export.component.spec.ts new file mode 100644 index 0000000..8fde107 --- /dev/null +++ b/src/app/db-export/db-export.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DbExportComponent } from './db-export.component'; + +describe('DbExportComponent', () => { + let component: DbExportComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ DbExportComponent ] + }) + .compileComponents(); + + fixture = TestBed.createComponent(DbExportComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/db-export/db-export.component.ts b/src/app/db-export/db-export.component.ts new file mode 100644 index 0000000..b23172a --- /dev/null +++ b/src/app/db-export/db-export.component.ts @@ -0,0 +1,24 @@ +import { Component } from '@angular/core'; + +var picker : Date; + +@Component({ + selector: 'app-db-export', + templateUrl: './db-export.component.html', + styleUrls: ['./db-export.component.css'] +}) + +export class DbExportComponent { + +} + +/* +export class DbExportComponent implements OnInit { + + + constructor() { } + + ngOnInit(): void { } + +} +*/ \ No newline at end of file diff --git a/src/app/listorders/listorders.component.html b/src/app/listorders/listorders.component.html index 49e1022..c776f7c 100644 --- a/src/app/listorders/listorders.component.html +++ b/src/app/listorders/listorders.component.html @@ -11,7 +11,8 @@ - diff --git a/src/app/listorders/listorders.component.ts b/src/app/listorders/listorders.component.ts index 1b286d5..511d637 100644 --- a/src/app/listorders/listorders.component.ts +++ b/src/app/listorders/listorders.component.ts @@ -9,6 +9,7 @@ import { OrderService } from '../order/order.service'; import { MatDialog, MatDialogConfig} from '@angular/material/dialog'; import { PromptInvoiceComponent } from '../prompt-invoice/prompt-invoice.component'; import { PromptReceiptComponent } from '../prompt-receipt/prompt-receipt.component'; +import { DbExportComponent } from '../db-export/db-export.component'; import { faTimes } from '@fortawesome/free-solid-svg-icons'; import { faTimesCircle } from '@fortawesome/free-solid-svg-icons'; @@ -70,7 +71,6 @@ export class ListOrdersComponent implements OnInit, OnDestroy{ // ------------------------------------- - constructor( public orderService: OrderService, public userService: UserService, @@ -169,4 +169,20 @@ export class ListOrdersComponent implements OnInit, OnDestroy{ }); } + openDbExport(){ + const dialogConfig = new MatDialogConfig(); + + console.log('openDbExport ---'); + + dialogConfig.disableClose = false; + dialogConfig.autoFocus = true; + dialogConfig.data = this.owner; + + const dialogRef = this.dialog.open(DbExportComponent, dialogConfig); + dialogRef.afterClosed().subscribe((val) => { + console.log('Returning to order list'); + }); + + } + }