diff --git a/Mohem/config.xml b/Mohem/config.xml index 1c41295e..79a3f1b2 100644 --- a/Mohem/config.xml +++ b/Mohem/config.xml @@ -1,5 +1,5 @@ - + MOHEMM an app created by cloud Solutions HMG @@ -88,21 +88,46 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Mohem/package-lock.json b/Mohem/package-lock.json index 3ef154ef..f201c906 100644 --- a/Mohem/package-lock.json +++ b/Mohem/package-lock.json @@ -743,9 +743,9 @@ } }, "@ionic-native/android-permissions": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/android-permissions/-/android-permissions-5.16.0.tgz", - "integrity": "sha512-fOxH00vISgc+eNI3gwiQK1dzOFJ9z1fssiv8fWheJmjmX4F9owRw0phV0RTBHIg3HFSXumrycET47RnZOQRILA==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/android-permissions/-/android-permissions-5.17.1.tgz", + "integrity": "sha512-amobkwhGVcng/lJWrWvsvvms2x1n616yhWLa2aiPS1nr4gBZlyrV9XrTbhe4kb6nVchKcELonx/a+gFVt0B2OQ==", "requires": { "@types/cordova": "^0.0.34" }, @@ -758,9 +758,9 @@ } }, "@ionic-native/app-availability": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/app-availability/-/app-availability-5.16.0.tgz", - "integrity": "sha512-tkzAfGCwINusbMKLslFXJMSX8ml3tu1oDdfpUy7W2ag81P5tB/9Z4D8FWp8leKuqDO7kJceZgtV6yem2FUFb4A==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/app-availability/-/app-availability-5.17.1.tgz", + "integrity": "sha512-4xe0ZuJUeJu5YiTi1DflBGton1D0vghZhaqq96s/agIQmgXArHniaSf1FXS/HgobzlvTC12GnSURcRkzVuamKQ==", "requires": { "@types/cordova": "^0.0.34" }, @@ -773,9 +773,9 @@ } }, "@ionic-native/app-rate": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/app-rate/-/app-rate-5.16.0.tgz", - "integrity": "sha512-Kh9Ko/4kk/U2JUrf7E0hIHOOMKS8sU8UwiBTuH2gUp/RC+Hm4dLcFgTFOoJy3sYJX40bFjvWFQOUve3RY91HsQ==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/app-rate/-/app-rate-5.17.1.tgz", + "integrity": "sha512-XW6RdwVAJliIuu2w1pAY+9HQA0C+B0mQKjE8PcaErKf20ybNNMYe0K1PcTbBNW9yPAd8Tmwdrbha6nvVdTV1QQ==", "requires": { "@types/cordova": "^0.0.34" }, @@ -803,9 +803,9 @@ } }, "@ionic-native/badge": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/badge/-/badge-5.16.0.tgz", - "integrity": "sha512-jSUpX8r3IjSqDG3urs0IQQ1mVTkPnHYh9XloVrcGXppLlC5zvJ+B2PtWeWpQRa+cb7e+oK66QY9fr2/eAElkqQ==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/badge/-/badge-5.17.1.tgz", + "integrity": "sha512-v0iA4uIda9dPI5+bUj5dawEOX4Lsa6Z5t5kYBThzYTfmLInd8x7tZppYgpSNDJmFLSbX4beph5NEgRscJznXiA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -818,9 +818,9 @@ } }, "@ionic-native/barcode-scanner": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/barcode-scanner/-/barcode-scanner-5.16.0.tgz", - "integrity": "sha512-j1zqSZKbQUdX+lduLAYa49/U8lWIFX4MNpTLxfTFZLQjFNSrYarZJoijL15cvRUYkmN8TTJQ5x8bVaRL/t7eqA==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/barcode-scanner/-/barcode-scanner-5.17.1.tgz", + "integrity": "sha512-ApjbO4mX9vQT0onjvkmpsMDhRhg1AmqGShfRyS/snkPcM7kRry2+0U3dI5Cjb3NtfEb+uJEM07Tj7peV8leotQ==", "requires": { "@types/cordova": "^0.0.34" }, @@ -833,9 +833,9 @@ } }, "@ionic-native/base64": { - "version": "5.15.1", - "resolved": "https://registry.npmjs.org/@ionic-native/base64/-/base64-5.15.1.tgz", - "integrity": "sha512-VZs/n/5qJ1VwDQRvsJ4jWlWL6f+K21vFjX6EJJM6k2lZp6IbV9+N9oU5B/yjHX/SaVqJzAVge0tm0EIhLiWSHg==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/base64/-/base64-5.17.1.tgz", + "integrity": "sha512-WxD8ZdAlxXHgx0M8vnSioVJQhKOlZuS3GHl8wPbUIFqBHLEjedXKav5pQjQ+JWbOSSaNSvaToVaRi28Te3cE/g==", "requires": { "@types/cordova": "^0.0.34" }, @@ -848,9 +848,9 @@ } }, "@ionic-native/ble": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/ble/-/ble-5.16.0.tgz", - "integrity": "sha512-lp6D1msCtObPuhZrNezudXMKmauIOr4bKHO7/8LESFI2eurdrVtJNNZAhbBPnJp7OjeiolQpTHBQBZM1Od/tIQ==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/ble/-/ble-5.17.1.tgz", + "integrity": "sha512-8l5Wfa/xX1+orJ5fPtwOpx3Hc+z/yggQ9A8/6VXXYOesTh2AaunsmWP8cxuCZ94NsxdSlXVDMUwxzQBqfjFrzQ==", "requires": { "@types/cordova": "^0.0.34" }, @@ -863,9 +863,9 @@ } }, "@ionic-native/call-number": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/call-number/-/call-number-5.16.0.tgz", - "integrity": "sha512-LFqQ0y0R72ksC6hSlgIUDh6ul64JA5zmAV4AoaZ2/gfTR48xx+g3mVcs4i4Mn7YNj+gLddjHfZ69TOVMCJwbVw==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/call-number/-/call-number-5.17.1.tgz", + "integrity": "sha512-NFP6Bs99rtUNLEjyLeVY91Pr0U2Jl62cPLlGJh0AqXx7uuC5rF/spJO/nEbKUXTbypms6aZ0B28MDG+1WP5oUA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -878,9 +878,9 @@ } }, "@ionic-native/camera": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/camera/-/camera-5.16.0.tgz", - "integrity": "sha512-JrZkScGDy5pbqr1Ld+FrRgaOoEcGpWw9Hd9LgfzlD/Xs3B0ZEMp8sE8UnrIbDxPKQ/5bXV5WxC6mTNmYLKAszg==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/camera/-/camera-5.17.1.tgz", + "integrity": "sha512-Lgj+Il3kd5RXjHPWMElLrW63McxVjfjfGuRvdVHKHn2lnKkthGqLIH4D16qZsPVBX+TNgfPh5T+MoFlzAK3Nzw==", "requires": { "@types/cordova": "^0.0.34" }, @@ -909,9 +909,9 @@ } }, "@ionic-native/device": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/device/-/device-5.16.0.tgz", - "integrity": "sha512-pQQn0YcYCTu+lVhOvIxmvE3XU21CGQrmwr/w7M0Mf8T9h+6bB9o6OMF1Q2WmbXtx3MeEGVB4HopGQ+ZDQL35MQ==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/device/-/device-5.17.1.tgz", + "integrity": "sha512-E2NPir/DwF7YU9m5wKccDxmjp9BqS/r3o7zDPm+a/M88YC7M8HScPpsfvXKX299Af0DD3uC5ApkjKzZrrorDLw==", "requires": { "@types/cordova": "^0.0.34" }, @@ -924,9 +924,9 @@ } }, "@ionic-native/diagnostic": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/diagnostic/-/diagnostic-5.16.0.tgz", - "integrity": "sha512-QgjwvWkrigJi/r+z8Ru1HZq6r1rem7PsN02ax/bEEcYy/p0zVr+75anQRzTyEC6IK3RkjRJ5a0kkB/YeT3+uoQ==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/diagnostic/-/diagnostic-5.17.1.tgz", + "integrity": "sha512-4Etm9WDaC/9tXsPbl0P7qxCnRZSKJkJoWblMONr97wH7ZWdx+g04BrneRSUgLq6yj/JfyQtybh0hWdMTKIYCgw==", "requires": { "@types/cordova": "^0.0.34" }, @@ -939,9 +939,9 @@ } }, "@ionic-native/file": { - "version": "5.15.1", - "resolved": "https://registry.npmjs.org/@ionic-native/file/-/file-5.15.1.tgz", - "integrity": "sha512-/wGAefEQroNR+n9t01+tu47lHFrwSwlN5fs+YaFSW2yAFax7nuG9y2l047CAHZd9/4+SRKQjCgvrc4dtAaFYow==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/file/-/file-5.17.1.tgz", + "integrity": "sha512-325ffTCYjjOAKEKEIGEkfMHEIp41FlJo1yr6Fk/trNVgmxtrwp+tTqURMWQxl0Ouqi/NF4L2zcKGGkxaEXrL4g==", "requires": { "@types/cordova": "^0.0.34" }, @@ -954,9 +954,9 @@ } }, "@ionic-native/file-path": { - "version": "5.15.1", - "resolved": "https://registry.npmjs.org/@ionic-native/file-path/-/file-path-5.15.1.tgz", - "integrity": "sha512-pAVUPzRzvghV53CZBwWd5ZOSkcFPBJLywgrnx6xX50tIsfXUG1oSwYPDM3ZLHPUefl1mIcjziXLbmlDyOjCg0A==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/file-path/-/file-path-5.17.1.tgz", + "integrity": "sha512-pJJ1+eQPpfDEHpsL6WNfJMaaFEPF1O2ZWtcl9oF7Zq6JtnigOwpVpnsTuNeZu710dHC18nDMh2RSxTyBTLlYFA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -969,9 +969,9 @@ } }, "@ionic-native/fingerprint-aio": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/fingerprint-aio/-/fingerprint-aio-5.16.0.tgz", - "integrity": "sha512-0Xz9KR24/f8CzAWQlFSODUrUGgt5iAnvJqwQ7wHlOwEFMPvXkWtbmQtUY0xyxlRU0CKIGrq0AASLtgN433IjZg==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/fingerprint-aio/-/fingerprint-aio-5.17.1.tgz", + "integrity": "sha512-G4aFyF1Tm9lorX7UDQNNf+4jjzVIr2aGlU3vjyn0F+pJR52W+IP9sLtNWy2n9ocJw+Ap0VbBna9/207YSKszQA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -992,9 +992,9 @@ } }, "@ionic-native/globalization": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/globalization/-/globalization-5.16.0.tgz", - "integrity": "sha512-bY3D8Z/hpboaNEo1vhZYUOtxD5oep05vQfWfkoIr3Rx2WLHDDDTQtNpKdvh5bqU3nwVbvvn0Jwe8c+unbWQCyQ==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/globalization/-/globalization-5.17.1.tgz", + "integrity": "sha512-njUM3IAWda9jWwrQVkpEBKGQKX31xtDL7S61IUnFmI89Lo6B8C1Mw5AowLCdTe1bzvjv98Qdr7+KLq8pynW6mA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1022,9 +1022,9 @@ } }, "@ionic-native/in-app-browser": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/in-app-browser/-/in-app-browser-5.16.0.tgz", - "integrity": "sha512-OgrHGzY6Mf4mZCqMTdH4N+Z+SGMKPmvbnFokGFl/kmpLL83tSfO26E7PbSFMCCJPxsnI4X9bm9EXuzTrUPzhtg==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/in-app-browser/-/in-app-browser-5.17.1.tgz", + "integrity": "sha512-kntgbneYi5keX57n5rjCAUTIqbL2YUIu3SZBi0sNWvrbtc7FCOqDp5FLYRMjTWwhCu4hZjNuojvwAokGondwmg==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1037,9 +1037,9 @@ } }, "@ionic-native/keyboard": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/keyboard/-/keyboard-5.16.0.tgz", - "integrity": "sha512-WG0k2gI72nmyv8sH+5Q1Fp4WIKUBBF5es60pzwgqmo/Wle3EqneRHIVW445/Vrh93DFYMgZR0MPQlzjbzD40kQ==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/keyboard/-/keyboard-5.17.1.tgz", + "integrity": "sha512-Wnb1DVv3OBMokDFV9sm9VF7UTtcfunBL/4Gj6RrHEgkOh2hEbktzazWQB2Kxu+T6v2tLdUxMwGSocMcZ3n/nNA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1052,9 +1052,9 @@ } }, "@ionic-native/launch-navigator": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/launch-navigator/-/launch-navigator-5.16.0.tgz", - "integrity": "sha512-oFtaw8Bdv66CHluyCOaWfceVSExBhfRsC1OBF7zTKqVzyGEqW6qS1uYtWWQJiOkaW7TOHJu/xEiELmIBhQVmtA==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/launch-navigator/-/launch-navigator-5.17.1.tgz", + "integrity": "sha512-QyoPPyul4AM+OevuRk5vuTicBpDyPcciHcl2atnbgPHvpNeCoeWVjrkS2wICqgIw7lJVAu4R2pKSQjp+huIDfA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1067,9 +1067,9 @@ } }, "@ionic-native/local-notifications": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/local-notifications/-/local-notifications-5.16.0.tgz", - "integrity": "sha512-JdwCjT4YwR+N56J0kRGHus1n5WuIxxMZzgXfVP/nhZYcT7GCchfVySbgMY6tUTZkpBhpgosHDz334Fe82zzpig==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/local-notifications/-/local-notifications-5.17.1.tgz", + "integrity": "sha512-dS6AU2QJGYvrYz2jKEsWFNaUhvLQarB5zaw7YOK0f8WT9aUtdqPs/CVYsQ3FVfPSLzXok8UoMgtqJ48muIb8+A==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1082,9 +1082,9 @@ } }, "@ionic-native/native-storage": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/native-storage/-/native-storage-5.16.0.tgz", - "integrity": "sha512-ZPY/c7mEVx/cVMoZcU0MhgrSsSi2BGn7Hjmu2+tLBURU6QDR+PRB83DGcjQRPDe1+7gCH7npp/rg0kfsniSxyg==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/native-storage/-/native-storage-5.17.1.tgz", + "integrity": "sha512-UsnlfB/RAQbnF8mXT4NI2KdQF8nd+b7pKYIjZXel6/TSzHgsarOgGLA/G+iGyyG5XlxYV/Jt3dANvJAsSv1c+Q==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1097,9 +1097,9 @@ } }, "@ionic-native/onesignal": { - "version": "5.17.0", - "resolved": "https://registry.npmjs.org/@ionic-native/onesignal/-/onesignal-5.17.0.tgz", - "integrity": "sha512-PQfEki/34yGM4i+548Rt40RV8A4T0srRSk3GVEDZzoHiPMxnbxbLmsxiEjYG74K1AXBzT6tZmnlSiGumJtky6A==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/onesignal/-/onesignal-5.17.1.tgz", + "integrity": "sha512-LjT9hHmEsbuqNYMsJmi6yliVpQSgskOvi7leGEr+hpHwgK+5dWLg1MMtoSFvvcxC54jJlZVQhjqvFS2Jp6IXuA==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1127,9 +1127,9 @@ } }, "@ionic-native/push": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/push/-/push-5.16.0.tgz", - "integrity": "sha512-c1uQBtQh4sPlZn7e1dnM1WLS6CD42zml8caRohUh4IJWRFN4s4QNgr2dHndxk6+Z977emIrHHxqhdVkagtcGAg==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/push/-/push-5.17.1.tgz", + "integrity": "sha512-C6kI+p/wODixnlPc5TYagSjMAWPMkUrhhvezf881ZGm7gf2UA7kr2mmUArcgqvxuXiBkIsZWXKU6ePTwYiaHfQ==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1157,9 +1157,9 @@ } }, "@ionic-native/sqlite": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/sqlite/-/sqlite-5.16.0.tgz", - "integrity": "sha512-30OKEO4OWEOIfrtMdyXOxBDc7Kj0V0rl3EYSFYXIliIZzyRYOidn4iLg483+xUHFzofI+qeGZ71HgH12ltOcZw==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/sqlite/-/sqlite-5.17.1.tgz", + "integrity": "sha512-38J1Y3BOtJeJsHQw/CUK2/EJOUu/+cbYB0+q6mPsjooWWV2QCmAY2R1upPkqZRySnp6r2zLMuO/EzT6O8kWCoQ==", "requires": { "@types/cordova": "^0.0.34" }, @@ -1187,9 +1187,9 @@ } }, "@ionic-native/themeable-browser": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/@ionic-native/themeable-browser/-/themeable-browser-5.16.0.tgz", - "integrity": "sha512-ZBs4Ay/rg7od+qBvj3X2arp1HueB7cn2SD+2aMEvwiIVZXAY2NJLuMy5gqeFK/2UFtpDW8W1TqFne09aIPsYQw==", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/@ionic-native/themeable-browser/-/themeable-browser-5.17.1.tgz", + "integrity": "sha512-upHhszY8hwBl8kChmd34eikV/50m2zPZjjOorGX74GYHKIl1zNPMzLVlN39bs4O3zGIci/CwsrS/77f3peMcGw==", "requires": { "@types/cordova": "^0.0.34" }, @@ -2718,6 +2718,11 @@ "resolved": "https://registry.npmjs.org/calendar-utils/-/calendar-utils-0.2.3.tgz", "integrity": "sha512-wXxvJX/fdVZqrHeyxEWq5kbwALXrjifbY2L3fXvuS815cCwoWv+Uuiu0jkfqZNTtOSKaTXHdMkIhmLRqcC0E5g==" }, + "call-number": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/call-number/-/call-number-0.0.2.tgz", + "integrity": "sha1-GWnh1XQt42na7Q9EM4wawhKDcP8=" + }, "caller-callsite": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", @@ -2824,9 +2829,9 @@ "dev": true }, "chart.js": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.9.2.tgz", - "integrity": "sha512-AagP9h27gU7hhx8F64BOFpNZGV0R1Pz1nhsi0M1+KLhtniX6ElqLl0z0obKSiuGMl9tcRe6ZhruCGCJWmH6snQ==", + "version": "2.9.3", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-2.9.3.tgz", + "integrity": "sha512-+2jlOobSk52c1VU6fzkh3UwqHMdSlgH1xFv9FKMqHiNCpXsGPQa/+81AFa+i3jZ253Mq9aAycPwDjnn1XbRNNw==", "requires": { "chartjs-color": "^2.1.0", "moment": "^2.10.2" @@ -4449,9 +4454,9 @@ } }, "cordova-plugin-android-permissions": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/cordova-plugin-android-permissions/-/cordova-plugin-android-permissions-1.0.0.tgz", - "integrity": "sha1-nnwRa+Zo6336QUkbE9jUfalUgUk=" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cordova-plugin-android-permissions/-/cordova-plugin-android-permissions-1.0.2.tgz", + "integrity": "sha512-Eb7Cf3lk9RydSYqmUzBAEVTT/EU+opV2yvyqkgZZAB/RVfHxsla/1wzHq0PBwAFjHIrxBAGZrOpJFVKc1SxtuA==" }, "cordova-plugin-appavailability": { "version": "0.4.2", @@ -4504,9 +4509,9 @@ "integrity": "sha512-YvrnXfoq4hzruVXnKo2qAiWlJ6xqo9RWLycEOI13WAIb69pzVvvFHXLREv7otSXkTn2tugpHQWcopxnPPOvFtA==" }, "cordova-plugin-fingerprint-aio": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cordova-plugin-fingerprint-aio/-/cordova-plugin-fingerprint-aio-2.0.0.tgz", - "integrity": "sha512-2F+T27HUYLMCkvX56yNJ7ZtY6r/Bl4nkskUyBtkh5nuUMRvZI7Fzyde7JUtD08JrJUpqvC4d6FmLm984w/NK5w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cordova-plugin-fingerprint-aio/-/cordova-plugin-fingerprint-aio-3.0.0.tgz", + "integrity": "sha512-z6SmTqvzlo0RWpIUyEkZg8FpOkdzy3rofzV2m5XHn9sqaF21eVUXGwZXn48RxIP0WiJg7BPQVDubTzE/20B9hA==", "requires": { "cordova-plugin-add-swift-support": "^2.0.2" } @@ -4521,20 +4526,15 @@ "resolved": "https://registry.npmjs.org/cordova-plugin-globalization/-/cordova-plugin-globalization-1.11.0.tgz", "integrity": "sha1-6sMVgQAphJOvowvolA5pj2HvvP4=" }, - "cordova-plugin-health": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/cordova-plugin-health/-/cordova-plugin-health-1.1.3.tgz", - "integrity": "sha512-hX2C95AetTbeQ5OXOu7xugDQhJVhSe7hnbmN3EJccbRvy5dN/vaWE/MaYhdzZxrOzYSd2V/z6lLJliWVX5bRjA==" - }, "cordova-plugin-inappbrowser": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/cordova-plugin-inappbrowser/-/cordova-plugin-inappbrowser-3.1.0.tgz", "integrity": "sha512-YqrZfYgbGTS20SFID0mrRxud312VH072QVlFonCAkPgtGg1Svy7lELOCNFd+KU7t4mVtZeTEjZPEeefvjaetwQ==" }, "cordova-plugin-ionic-keyboard": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/cordova-plugin-ionic-keyboard/-/cordova-plugin-ionic-keyboard-2.1.3.tgz", - "integrity": "sha512-6ucQ6FdlLdBm8kJfFnzozmBTjru/0xekHP/dAhjoCZggkGRlgs8TsUJFkxa/bV+qi7Dlo50JjmpE4UMWAO+aOQ==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cordova-plugin-ionic-keyboard/-/cordova-plugin-ionic-keyboard-2.2.0.tgz", + "integrity": "sha512-yDUG+9ieKVRitq5mGlNxjaZh/MgEhFFIgTIPhqSbUaQ8UuZbawy5mhJAVClqY97q8/rcQtL6dCDa7x2sEtCLcA==" }, "cordova-plugin-ionic-webview": { "version": "4.1.0", @@ -4546,11 +4546,6 @@ "resolved": "https://registry.npmjs.org/cordova-plugin-local-notification/-/cordova-plugin-local-notification-0.9.0-beta.2.tgz", "integrity": "sha512-63n77K1pt8dnbWnNR8QWETi9Glezi1bvNHvHWmGNIOv0xCb0phZnm+Ku49BQ+omwe8Z5voMvrA4I03SYPpv38w==" }, - "cordova-plugin-mauron85-background-geolocation": { - "version": "3.0.0-alpha.50", - "resolved": "https://registry.npmjs.org/cordova-plugin-mauron85-background-geolocation/-/cordova-plugin-mauron85-background-geolocation-3.0.0-alpha.50.tgz", - "integrity": "sha512-TVdsJ4gPOuFANB3SX/bDLp4igK6o5nPXO95+tv9RpLr5Rwh2XhiozmEpaC0mnMFiuKi6j1xbaZLklhhVBwC14w==" - }, "cordova-plugin-nativestorage": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/cordova-plugin-nativestorage/-/cordova-plugin-nativestorage-2.3.2.tgz", @@ -5702,26 +5697,33 @@ } }, "es-abstract": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.0.tgz", - "integrity": "sha512-xdQnfykZ9JMEiasTAJZJdMWCQ1Vm00NBw79/AWi7ELfZuuPCSOMDZbT9mkOfSctVtfhb+sAAzrm+j//GjjLHLg==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.2.tgz", + "integrity": "sha512-jYo/J8XU2emLXl3OLwfwtuFfuF2w6DYPs+xy9ZfVyPkDcrauu6LYrw/q2TyCtrbc/KUdCiC5e9UajRhgNkVopA==", "requires": { - "es-to-primitive": "^1.2.0", + "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.0", + "has-symbols": "^1.0.1", "is-callable": "^1.1.4", "is-regex": "^1.0.4", - "object-inspect": "^1.6.0", + "object-inspect": "^1.7.0", "object-keys": "^1.1.1", "string.prototype.trimleft": "^2.1.0", "string.prototype.trimright": "^2.1.0" + }, + "dependencies": { + "object-inspect": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", + "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==" + } } }, "es-to-primitive": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", - "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -6364,28 +6366,28 @@ "dependencies": { "abbrev": { "version": "1.1.1", - "resolved": false, + "resolved": "", "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true, "optional": true }, "ansi-regex": { "version": "2.1.1", - "resolved": false, + "resolved": "", "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true, "optional": true }, "aproba": { "version": "1.2.0", - "resolved": false, + "resolved": "", "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "dev": true, "optional": true }, "are-we-there-yet": { "version": "1.1.5", - "resolved": false, + "resolved": "", "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "dev": true, "optional": true, @@ -6396,14 +6398,14 @@ }, "balanced-match": { "version": "1.0.0", - "resolved": false, + "resolved": "", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true, "optional": true }, "brace-expansion": { "version": "1.1.11", - "resolved": false, + "resolved": "", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "optional": true, @@ -6414,42 +6416,42 @@ }, "chownr": { "version": "1.1.1", - "resolved": false, + "resolved": "", "integrity": "sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==", "dev": true, "optional": true }, "code-point-at": { "version": "1.1.0", - "resolved": false, + "resolved": "", "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true, "optional": true }, "concat-map": { "version": "0.0.1", - "resolved": false, + "resolved": "", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true, "optional": true }, "console-control-strings": { "version": "1.1.0", - "resolved": false, + "resolved": "", "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "dev": true, "optional": true }, "core-util-is": { "version": "1.0.2", - "resolved": false, + "resolved": "", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true, "optional": true }, "debug": { "version": "4.1.1", - "resolved": false, + "resolved": "", "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "optional": true, @@ -6459,28 +6461,28 @@ }, "deep-extend": { "version": "0.6.0", - "resolved": false, + "resolved": "", "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true, "optional": true }, "delegates": { "version": "1.0.0", - "resolved": false, + "resolved": "", "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "dev": true, "optional": true }, "detect-libc": { "version": "1.0.3", - "resolved": false, + "resolved": "", "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", "dev": true, "optional": true }, "fs-minipass": { "version": "1.2.5", - "resolved": false, + "resolved": "", "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", "dev": true, "optional": true, @@ -6490,14 +6492,14 @@ }, "fs.realpath": { "version": "1.0.0", - "resolved": false, + "resolved": "", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true, "optional": true }, "gauge": { "version": "2.7.4", - "resolved": false, + "resolved": "", "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "dev": true, "optional": true, @@ -6514,7 +6516,7 @@ }, "glob": { "version": "7.1.3", - "resolved": false, + "resolved": "", "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", "dev": true, "optional": true, @@ -6529,14 +6531,14 @@ }, "has-unicode": { "version": "2.0.1", - "resolved": false, + "resolved": "", "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "dev": true, "optional": true }, "iconv-lite": { "version": "0.4.24", - "resolved": false, + "resolved": "", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "optional": true, @@ -6546,7 +6548,7 @@ }, "ignore-walk": { "version": "3.0.1", - "resolved": false, + "resolved": "", "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", "dev": true, "optional": true, @@ -6556,7 +6558,7 @@ }, "inflight": { "version": "1.0.6", - "resolved": false, + "resolved": "", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, "optional": true, @@ -6567,21 +6569,21 @@ }, "inherits": { "version": "2.0.3", - "resolved": false, + "resolved": "", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "dev": true, "optional": true }, "ini": { "version": "1.3.5", - "resolved": false, + "resolved": "", "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "dev": true, "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "resolved": false, + "resolved": "", "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "optional": true, @@ -6591,14 +6593,14 @@ }, "isarray": { "version": "1.0.0", - "resolved": false, + "resolved": "", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true, "optional": true }, "minimatch": { "version": "3.0.4", - "resolved": false, + "resolved": "", "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "optional": true, @@ -6608,14 +6610,14 @@ }, "minimist": { "version": "0.0.8", - "resolved": false, + "resolved": "", "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "dev": true, "optional": true }, "minipass": { "version": "2.3.5", - "resolved": false, + "resolved": "", "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", "dev": true, "optional": true, @@ -6626,7 +6628,7 @@ }, "minizlib": { "version": "1.2.1", - "resolved": false, + "resolved": "", "integrity": "sha512-7+4oTUOWKg7AuL3vloEWekXY2/D20cevzsrNT2kGWm+39J9hGTCBv8VI5Pm5lXZ/o3/mdR4f8rflAPhnQb8mPA==", "dev": true, "optional": true, @@ -6636,7 +6638,7 @@ }, "mkdirp": { "version": "0.5.1", - "resolved": false, + "resolved": "", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "dev": true, "optional": true, @@ -6646,14 +6648,14 @@ }, "ms": { "version": "2.1.1", - "resolved": false, + "resolved": "", "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", "dev": true, "optional": true }, "needle": { "version": "2.3.0", - "resolved": false, + "resolved": "", "integrity": "sha512-QBZu7aAFR0522EyaXZM0FZ9GLpq6lvQ3uq8gteiDUp7wKdy0lSd2hPlgFwVuW1CBkfEs9PfDQsQzZghLs/psdg==", "dev": true, "optional": true, @@ -6665,7 +6667,7 @@ }, "node-pre-gyp": { "version": "0.12.0", - "resolved": false, + "resolved": "", "integrity": "sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A==", "dev": true, "optional": true, @@ -6684,7 +6686,7 @@ }, "nopt": { "version": "4.0.1", - "resolved": false, + "resolved": "", "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "dev": true, "optional": true, @@ -6695,14 +6697,14 @@ }, "npm-bundled": { "version": "1.0.6", - "resolved": false, + "resolved": "", "integrity": "sha512-8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==", "dev": true, "optional": true }, "npm-packlist": { "version": "1.4.1", - "resolved": false, + "resolved": "", "integrity": "sha512-+TcdO7HJJ8peiiYhvPxsEDhF3PJFGUGRcFsGve3vxvxdcpO2Z4Z7rkosRM0kWj6LfbK/P0gu3dzk5RU1ffvFcw==", "dev": true, "optional": true, @@ -6713,7 +6715,7 @@ }, "npmlog": { "version": "4.1.2", - "resolved": false, + "resolved": "", "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "dev": true, "optional": true, @@ -6726,21 +6728,21 @@ }, "number-is-nan": { "version": "1.0.1", - "resolved": false, + "resolved": "", "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "dev": true, "optional": true }, "object-assign": { "version": "4.1.1", - "resolved": false, + "resolved": "", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "dev": true, "optional": true }, "once": { "version": "1.4.0", - "resolved": false, + "resolved": "", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, "optional": true, @@ -6750,21 +6752,21 @@ }, "os-homedir": { "version": "1.0.2", - "resolved": false, + "resolved": "", "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true, "optional": true }, "os-tmpdir": { "version": "1.0.2", - "resolved": false, + "resolved": "", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true, "optional": true }, "osenv": { "version": "0.1.5", - "resolved": false, + "resolved": "", "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "dev": true, "optional": true, @@ -6775,21 +6777,21 @@ }, "path-is-absolute": { "version": "1.0.1", - "resolved": false, + "resolved": "", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true, "optional": true }, "process-nextick-args": { "version": "2.0.0", - "resolved": false, + "resolved": "", "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", "dev": true, "optional": true }, "rc": { "version": "1.2.8", - "resolved": false, + "resolved": "", "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "dev": true, "optional": true, @@ -6802,7 +6804,7 @@ "dependencies": { "minimist": { "version": "1.2.0", - "resolved": false, + "resolved": "", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true, "optional": true @@ -6811,7 +6813,7 @@ }, "readable-stream": { "version": "2.3.6", - "resolved": false, + "resolved": "", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "optional": true, @@ -6827,7 +6829,7 @@ }, "rimraf": { "version": "2.6.3", - "resolved": false, + "resolved": "", "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, "optional": true, @@ -6837,49 +6839,49 @@ }, "safe-buffer": { "version": "5.1.2", - "resolved": false, + "resolved": "", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true, "optional": true }, "safer-buffer": { "version": "2.1.2", - "resolved": false, + "resolved": "", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, "optional": true }, "sax": { "version": "1.2.4", - "resolved": false, + "resolved": "", "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true, "optional": true }, "semver": { "version": "5.7.0", - "resolved": false, + "resolved": "", "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", "dev": true, "optional": true }, "set-blocking": { "version": "2.0.0", - "resolved": false, + "resolved": "", "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "dev": true, "optional": true }, "signal-exit": { "version": "3.0.2", - "resolved": false, + "resolved": "", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true, "optional": true }, "string-width": { "version": "1.0.2", - "resolved": false, + "resolved": "", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "optional": true, @@ -6891,7 +6893,7 @@ }, "string_decoder": { "version": "1.1.1", - "resolved": false, + "resolved": "", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, "optional": true, @@ -6901,7 +6903,7 @@ }, "strip-ansi": { "version": "3.0.1", - "resolved": false, + "resolved": "", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "optional": true, @@ -6911,14 +6913,14 @@ }, "strip-json-comments": { "version": "2.0.1", - "resolved": false, + "resolved": "", "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "dev": true, "optional": true }, "tar": { "version": "4.4.8", - "resolved": false, + "resolved": "", "integrity": "sha512-LzHF64s5chPQQS0IYBn9IN5h3i98c12bo4NCO7e0sGM2llXQ3p2FGC5sdENN4cTW48O915Sh+x+EXx7XW96xYQ==", "dev": true, "optional": true, @@ -6934,14 +6936,14 @@ }, "util-deprecate": { "version": "1.0.2", - "resolved": false, + "resolved": "", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true, "optional": true }, "wide-align": { "version": "1.1.3", - "resolved": false, + "resolved": "", "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "dev": true, "optional": true, @@ -6951,14 +6953,14 @@ }, "wrappy": { "version": "1.0.2", - "resolved": false, + "resolved": "", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true, "optional": true }, "yallist": { "version": "3.0.3", - "resolved": false, + "resolved": "", "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", "dev": true, "optional": true @@ -7128,9 +7130,9 @@ "dev": true }, "handlebars": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.4.0.tgz", - "integrity": "sha512-xkRtOt3/3DzTKMOt3xahj2M/EqNhY988T+imYSlMgs5fVhLN2fmKVVj0LtEGmb+3UUYV5Qmm1052Mm3dIQxOvw==", + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz", + "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==", "dev": true, "requires": { "neo-async": "^2.6.0", @@ -7210,9 +7212,9 @@ "dev": true }, "has-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", - "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" }, "has-unicode": { "version": "2.0.1", @@ -7998,11 +8000,11 @@ "dev": true }, "is-symbol": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", - "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", "requires": { - "has-symbols": "^1.0.0" + "has-symbols": "^1.0.1" } }, "is-typedarray": { @@ -9612,6 +9614,3061 @@ "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", "dev": true }, + "npm": { + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/npm/-/npm-6.13.1.tgz", + "integrity": "sha512-2awiDZ9JuV/UoF4oXGhekCURC2X+eLLRz9/e58AGrPDlpzyn7e4oCaZmkzyEaisxM7jSoFKNnZhzB4xbmbM0Yw==", + "requires": { + "JSONStream": "^1.3.5", + "abbrev": "~1.1.1", + "ansicolors": "~0.3.2", + "ansistyles": "~0.1.3", + "aproba": "^2.0.0", + "archy": "~1.0.0", + "bin-links": "^1.1.3", + "bluebird": "^3.5.5", + "byte-size": "^5.0.1", + "cacache": "^12.0.3", + "call-limit": "^1.1.1", + "chownr": "^1.1.3", + "ci-info": "^2.0.0", + "cli-columns": "^3.1.2", + "cli-table3": "^0.5.1", + "cmd-shim": "^3.0.3", + "columnify": "~1.5.4", + "config-chain": "^1.1.12", + "debuglog": "*", + "detect-indent": "~5.0.0", + "detect-newline": "^2.1.0", + "dezalgo": "~1.0.3", + "editor": "~1.0.0", + "figgy-pudding": "^3.5.1", + "find-npm-prefix": "^1.0.2", + "fs-vacuum": "~1.2.10", + "fs-write-stream-atomic": "~1.0.10", + "gentle-fs": "^2.2.1", + "glob": "^7.1.4", + "graceful-fs": "^4.2.3", + "has-unicode": "~2.0.1", + "hosted-git-info": "^2.8.5", + "iferr": "^1.0.2", + "imurmurhash": "*", + "infer-owner": "^1.0.4", + "inflight": "~1.0.6", + "inherits": "^2.0.4", + "ini": "^1.3.5", + "init-package-json": "^1.10.3", + "is-cidr": "^3.0.0", + "json-parse-better-errors": "^1.0.2", + "lazy-property": "~1.0.0", + "libcipm": "^4.0.7", + "libnpm": "^3.0.1", + "libnpmaccess": "^3.0.2", + "libnpmhook": "^5.0.3", + "libnpmorg": "^1.0.1", + "libnpmsearch": "^2.0.2", + "libnpmteam": "^1.0.2", + "libnpx": "^10.2.0", + "lock-verify": "^2.1.0", + "lockfile": "^1.0.4", + "lodash._baseindexof": "*", + "lodash._baseuniq": "~4.6.0", + "lodash._bindcallback": "*", + "lodash._cacheindexof": "*", + "lodash._createcache": "*", + "lodash._getnative": "*", + "lodash.clonedeep": "~4.5.0", + "lodash.restparam": "*", + "lodash.union": "~4.6.0", + "lodash.uniq": "~4.5.0", + "lodash.without": "~4.4.0", + "lru-cache": "^5.1.1", + "meant": "~1.0.1", + "mississippi": "^3.0.0", + "mkdirp": "~0.5.1", + "move-concurrently": "^1.0.1", + "node-gyp": "^5.0.5", + "nopt": "~4.0.1", + "normalize-package-data": "^2.5.0", + "npm-audit-report": "^1.3.2", + "npm-cache-filename": "~1.0.2", + "npm-install-checks": "^3.0.2", + "npm-lifecycle": "^3.1.4", + "npm-package-arg": "^6.1.1", + "npm-packlist": "^1.4.6", + "npm-pick-manifest": "^3.0.2", + "npm-profile": "^4.0.2", + "npm-registry-fetch": "^4.0.2", + "npm-user-validate": "~1.0.0", + "npmlog": "~4.1.2", + "once": "~1.4.0", + "opener": "^1.5.1", + "osenv": "^0.1.5", + "pacote": "^9.5.9", + "path-is-inside": "~1.0.2", + "promise-inflight": "~1.0.1", + "qrcode-terminal": "^0.12.0", + "query-string": "^6.8.2", + "qw": "~1.0.1", + "read": "~1.0.7", + "read-cmd-shim": "^1.0.5", + "read-installed": "~4.0.3", + "read-package-json": "^2.1.0", + "read-package-tree": "^5.3.1", + "readable-stream": "^3.4.0", + "readdir-scoped-modules": "^1.1.0", + "request": "^2.88.0", + "retry": "^0.12.0", + "rimraf": "^2.6.3", + "safe-buffer": "^5.1.2", + "semver": "^5.7.1", + "sha": "^3.0.0", + "slide": "~1.1.6", + "sorted-object": "~2.0.1", + "sorted-union-stream": "~2.1.3", + "ssri": "^6.0.1", + "stringify-package": "^1.0.1", + "tar": "^4.4.13", + "text-table": "~0.2.0", + "tiny-relative-date": "^1.3.0", + "uid-number": "0.0.6", + "umask": "~1.1.0", + "unique-filename": "^1.1.1", + "unpipe": "~1.0.0", + "update-notifier": "^2.5.0", + "uuid": "^3.3.3", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "~3.0.0", + "which": "^1.3.1", + "worker-farm": "^1.7.0", + "write-file-atomic": "^2.4.3" + }, + "dependencies": { + "JSONStream": { + "version": "1.3.5", + "bundled": true, + "requires": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + } + }, + "abbrev": { + "version": "1.1.1", + "bundled": true + }, + "agent-base": { + "version": "4.3.0", + "bundled": true, + "requires": { + "es6-promisify": "^5.0.0" + } + }, + "agentkeepalive": { + "version": "3.5.2", + "bundled": true, + "requires": { + "humanize-ms": "^1.2.1" + } + }, + "ajv": { + "version": "5.5.2", + "bundled": true, + "requires": { + "co": "^4.6.0", + "fast-deep-equal": "^1.0.0", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.3.0" + } + }, + "ansi-align": { + "version": "2.0.0", + "bundled": true, + "requires": { + "string-width": "^2.0.0" + } + }, + "ansi-regex": { + "version": "2.1.1", + "bundled": true + }, + "ansi-styles": { + "version": "3.2.1", + "bundled": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "ansicolors": { + "version": "0.3.2", + "bundled": true + }, + "ansistyles": { + "version": "0.1.3", + "bundled": true + }, + "aproba": { + "version": "2.0.0", + "bundled": true + }, + "archy": { + "version": "1.0.0", + "bundled": true + }, + "are-we-there-yet": { + "version": "1.1.4", + "bundled": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "asap": { + "version": "2.0.6", + "bundled": true + }, + "asn1": { + "version": "0.2.4", + "bundled": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "bundled": true + }, + "asynckit": { + "version": "0.4.0", + "bundled": true + }, + "aws-sign2": { + "version": "0.7.0", + "bundled": true + }, + "aws4": { + "version": "1.8.0", + "bundled": true + }, + "balanced-match": { + "version": "1.0.0", + "bundled": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "bundled": true, + "optional": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "bin-links": { + "version": "1.1.3", + "bundled": true, + "requires": { + "bluebird": "^3.5.3", + "cmd-shim": "^3.0.0", + "gentle-fs": "^2.0.1", + "graceful-fs": "^4.1.15", + "write-file-atomic": "^2.3.0" + } + }, + "bluebird": { + "version": "3.5.5", + "bundled": true + }, + "boxen": { + "version": "1.3.0", + "bundled": true, + "requires": { + "ansi-align": "^2.0.0", + "camelcase": "^4.0.0", + "chalk": "^2.0.1", + "cli-boxes": "^1.0.0", + "string-width": "^2.0.0", + "term-size": "^1.2.0", + "widest-line": "^2.0.0" + } + }, + "brace-expansion": { + "version": "1.1.11", + "bundled": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "buffer-from": { + "version": "1.0.0", + "bundled": true + }, + "builtins": { + "version": "1.0.3", + "bundled": true + }, + "byline": { + "version": "5.0.0", + "bundled": true + }, + "byte-size": { + "version": "5.0.1", + "bundled": true + }, + "cacache": { + "version": "12.0.3", + "bundled": true, + "requires": { + "bluebird": "^3.5.5", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.4", + "graceful-fs": "^4.1.15", + "infer-owner": "^1.0.3", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.3", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + } + }, + "call-limit": { + "version": "1.1.1", + "bundled": true + }, + "camelcase": { + "version": "4.1.0", + "bundled": true + }, + "capture-stack-trace": { + "version": "1.0.0", + "bundled": true + }, + "caseless": { + "version": "0.12.0", + "bundled": true + }, + "chalk": { + "version": "2.4.1", + "bundled": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chownr": { + "version": "1.1.3", + "bundled": true + }, + "ci-info": { + "version": "2.0.0", + "bundled": true + }, + "cidr-regex": { + "version": "2.0.10", + "bundled": true, + "requires": { + "ip-regex": "^2.1.0" + } + }, + "cli-boxes": { + "version": "1.0.0", + "bundled": true + }, + "cli-columns": { + "version": "3.1.2", + "bundled": true, + "requires": { + "string-width": "^2.0.0", + "strip-ansi": "^3.0.1" + } + }, + "cli-table3": { + "version": "0.5.1", + "bundled": true, + "requires": { + "colors": "^1.1.2", + "object-assign": "^4.1.0", + "string-width": "^2.1.1" + } + }, + "cliui": { + "version": "4.1.0", + "bundled": true, + "requires": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "bundled": true + }, + "strip-ansi": { + "version": "4.0.0", + "bundled": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "clone": { + "version": "1.0.4", + "bundled": true + }, + "cmd-shim": { + "version": "3.0.3", + "bundled": true, + "requires": { + "graceful-fs": "^4.1.2", + "mkdirp": "~0.5.0" + } + }, + "co": { + "version": "4.6.0", + "bundled": true + }, + "code-point-at": { + "version": "1.1.0", + "bundled": true + }, + "color-convert": { + "version": "1.9.1", + "bundled": true, + "requires": { + "color-name": "^1.1.1" + } + }, + "color-name": { + "version": "1.1.3", + "bundled": true + }, + "colors": { + "version": "1.3.3", + "bundled": true, + "optional": true + }, + "columnify": { + "version": "1.5.4", + "bundled": true, + "requires": { + "strip-ansi": "^3.0.0", + "wcwidth": "^1.0.0" + } + }, + "combined-stream": { + "version": "1.0.6", + "bundled": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "concat-map": { + "version": "0.0.1", + "bundled": true + }, + "concat-stream": { + "version": "1.6.2", + "bundled": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "config-chain": { + "version": "1.1.12", + "bundled": true, + "requires": { + "ini": "^1.3.4", + "proto-list": "~1.2.1" + } + }, + "configstore": { + "version": "3.1.2", + "bundled": true, + "requires": { + "dot-prop": "^4.1.0", + "graceful-fs": "^4.1.2", + "make-dir": "^1.0.0", + "unique-string": "^1.0.0", + "write-file-atomic": "^2.0.0", + "xdg-basedir": "^3.0.0" + } + }, + "console-control-strings": { + "version": "1.1.0", + "bundled": true + }, + "copy-concurrently": { + "version": "1.0.5", + "bundled": true, + "requires": { + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" + }, + "dependencies": { + "aproba": { + "version": "1.2.0", + "bundled": true + }, + "iferr": { + "version": "0.1.5", + "bundled": true + } + } + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true + }, + "create-error-class": { + "version": "3.0.2", + "bundled": true, + "requires": { + "capture-stack-trace": "^1.0.0" + } + }, + "cross-spawn": { + "version": "5.1.0", + "bundled": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "dependencies": { + "lru-cache": { + "version": "4.1.5", + "bundled": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "yallist": { + "version": "2.1.2", + "bundled": true + } + } + }, + "crypto-random-string": { + "version": "1.0.0", + "bundled": true + }, + "cyclist": { + "version": "0.2.2", + "bundled": true + }, + "dashdash": { + "version": "1.14.1", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "3.1.0", + "bundled": true, + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "bundled": true + } + } + }, + "debuglog": { + "version": "1.0.1", + "bundled": true + }, + "decamelize": { + "version": "1.2.0", + "bundled": true + }, + "decode-uri-component": { + "version": "0.2.0", + "bundled": true + }, + "deep-extend": { + "version": "0.5.1", + "bundled": true + }, + "defaults": { + "version": "1.0.3", + "bundled": true, + "requires": { + "clone": "^1.0.2" + } + }, + "define-properties": { + "version": "1.1.3", + "bundled": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "delayed-stream": { + "version": "1.0.0", + "bundled": true + }, + "delegates": { + "version": "1.0.0", + "bundled": true + }, + "detect-indent": { + "version": "5.0.0", + "bundled": true + }, + "detect-newline": { + "version": "2.1.0", + "bundled": true + }, + "dezalgo": { + "version": "1.0.3", + "bundled": true, + "requires": { + "asap": "^2.0.0", + "wrappy": "1" + } + }, + "dot-prop": { + "version": "4.2.0", + "bundled": true, + "requires": { + "is-obj": "^1.0.0" + } + }, + "dotenv": { + "version": "5.0.1", + "bundled": true + }, + "duplexer3": { + "version": "0.1.4", + "bundled": true + }, + "duplexify": { + "version": "3.6.0", + "bundled": true, + "requires": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "bundled": true, + "optional": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "editor": { + "version": "1.0.0", + "bundled": true + }, + "encoding": { + "version": "0.1.12", + "bundled": true, + "requires": { + "iconv-lite": "~0.4.13" + } + }, + "end-of-stream": { + "version": "1.4.1", + "bundled": true, + "requires": { + "once": "^1.4.0" + } + }, + "env-paths": { + "version": "1.0.0", + "bundled": true + }, + "err-code": { + "version": "1.1.2", + "bundled": true + }, + "errno": { + "version": "0.1.7", + "bundled": true, + "requires": { + "prr": "~1.0.1" + } + }, + "es-abstract": { + "version": "1.12.0", + "bundled": true, + "requires": { + "es-to-primitive": "^1.1.1", + "function-bind": "^1.1.1", + "has": "^1.0.1", + "is-callable": "^1.1.3", + "is-regex": "^1.0.4" + } + }, + "es-to-primitive": { + "version": "1.2.0", + "bundled": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "es6-promise": { + "version": "4.2.8", + "bundled": true + }, + "es6-promisify": { + "version": "5.0.0", + "bundled": true, + "requires": { + "es6-promise": "^4.0.3" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "bundled": true + }, + "execa": { + "version": "0.7.0", + "bundled": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "dependencies": { + "get-stream": { + "version": "3.0.0", + "bundled": true + } + } + }, + "extend": { + "version": "3.0.2", + "bundled": true + }, + "extsprintf": { + "version": "1.3.0", + "bundled": true + }, + "fast-deep-equal": { + "version": "1.1.0", + "bundled": true + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "bundled": true + }, + "figgy-pudding": { + "version": "3.5.1", + "bundled": true + }, + "find-npm-prefix": { + "version": "1.0.2", + "bundled": true + }, + "find-up": { + "version": "2.1.0", + "bundled": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "flush-write-stream": { + "version": "1.0.3", + "bundled": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.4" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "forever-agent": { + "version": "0.6.1", + "bundled": true + }, + "form-data": { + "version": "2.3.2", + "bundled": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "1.0.6", + "mime-types": "^2.1.12" + } + }, + "from2": { + "version": "2.3.0", + "bundled": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "fs-minipass": { + "version": "1.2.7", + "bundled": true, + "requires": { + "minipass": "^2.6.0" + }, + "dependencies": { + "minipass": { + "version": "2.9.0", + "bundled": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + } + } + }, + "fs-vacuum": { + "version": "1.2.10", + "bundled": true, + "requires": { + "graceful-fs": "^4.1.2", + "path-is-inside": "^1.0.1", + "rimraf": "^2.5.2" + } + }, + "fs-write-stream-atomic": { + "version": "1.0.10", + "bundled": true, + "requires": { + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + }, + "dependencies": { + "iferr": { + "version": "0.1.5", + "bundled": true + }, + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "fs.realpath": { + "version": "1.0.0", + "bundled": true + }, + "function-bind": { + "version": "1.1.1", + "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" + }, + "dependencies": { + "aproba": { + "version": "1.2.0", + "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" + } + } + } + }, + "genfun": { + "version": "5.0.0", + "bundled": true + }, + "gentle-fs": { + "version": "2.2.1", + "bundled": true, + "requires": { + "aproba": "^1.1.2", + "chownr": "^1.1.2", + "fs-vacuum": "^1.2.10", + "graceful-fs": "^4.1.11", + "iferr": "^0.1.5", + "infer-owner": "^1.0.4", + "mkdirp": "^0.5.1", + "path-is-inside": "^1.0.2", + "read-cmd-shim": "^1.0.1", + "slide": "^1.1.6" + }, + "dependencies": { + "aproba": { + "version": "1.2.0", + "bundled": true + }, + "iferr": { + "version": "0.1.5", + "bundled": true + } + } + }, + "get-caller-file": { + "version": "1.0.2", + "bundled": true + }, + "get-stream": { + "version": "4.1.0", + "bundled": true, + "requires": { + "pump": "^3.0.0" + } + }, + "getpass": { + "version": "0.1.7", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "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" + } + }, + "global-dirs": { + "version": "0.1.1", + "bundled": true, + "requires": { + "ini": "^1.3.4" + } + }, + "got": { + "version": "6.7.1", + "bundled": true, + "requires": { + "create-error-class": "^3.0.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-redirect": "^1.0.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "lowercase-keys": "^1.0.0", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "unzip-response": "^2.0.1", + "url-parse-lax": "^1.0.0" + }, + "dependencies": { + "get-stream": { + "version": "3.0.0", + "bundled": true + } + } + }, + "graceful-fs": { + "version": "4.2.3", + "bundled": true + }, + "har-schema": { + "version": "2.0.0", + "bundled": true + }, + "har-validator": { + "version": "5.1.0", + "bundled": true, + "requires": { + "ajv": "^5.3.0", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "bundled": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "bundled": true + }, + "has-symbols": { + "version": "1.0.0", + "bundled": true + }, + "has-unicode": { + "version": "2.0.1", + "bundled": true + }, + "hosted-git-info": { + "version": "2.8.5", + "bundled": true + }, + "http-cache-semantics": { + "version": "3.8.1", + "bundled": true + }, + "http-proxy-agent": { + "version": "2.1.0", + "bundled": true, + "requires": { + "agent-base": "4", + "debug": "3.1.0" + } + }, + "http-signature": { + "version": "1.2.0", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-proxy-agent": { + "version": "2.2.4", + "bundled": true, + "requires": { + "agent-base": "^4.3.0", + "debug": "^3.1.0" + } + }, + "humanize-ms": { + "version": "1.2.1", + "bundled": true, + "requires": { + "ms": "^2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.23", + "bundled": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "iferr": { + "version": "1.0.2", + "bundled": true + }, + "ignore-walk": { + "version": "3.0.3", + "bundled": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "import-lazy": { + "version": "2.1.0", + "bundled": true + }, + "imurmurhash": { + "version": "0.1.4", + "bundled": true + }, + "infer-owner": { + "version": "1.0.4", + "bundled": true + }, + "inflight": { + "version": "1.0.6", + "bundled": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "bundled": true + }, + "ini": { + "version": "1.3.5", + "bundled": true + }, + "init-package-json": { + "version": "1.10.3", + "bundled": true, + "requires": { + "glob": "^7.1.1", + "npm-package-arg": "^4.0.0 || ^5.0.0 || ^6.0.0", + "promzard": "^0.3.0", + "read": "~1.0.1", + "read-package-json": "1 || 2", + "semver": "2.x || 3.x || 4 || 5", + "validate-npm-package-license": "^3.0.1", + "validate-npm-package-name": "^3.0.0" + } + }, + "invert-kv": { + "version": "1.0.0", + "bundled": true + }, + "ip": { + "version": "1.1.5", + "bundled": true + }, + "ip-regex": { + "version": "2.1.0", + "bundled": true + }, + "is-callable": { + "version": "1.1.4", + "bundled": true + }, + "is-ci": { + "version": "1.1.0", + "bundled": true, + "requires": { + "ci-info": "^1.0.0" + }, + "dependencies": { + "ci-info": { + "version": "1.6.0", + "bundled": true + } + } + }, + "is-cidr": { + "version": "3.0.0", + "bundled": true, + "requires": { + "cidr-regex": "^2.0.10" + } + }, + "is-date-object": { + "version": "1.0.1", + "bundled": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "bundled": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-installed-globally": { + "version": "0.1.0", + "bundled": true, + "requires": { + "global-dirs": "^0.1.0", + "is-path-inside": "^1.0.0" + } + }, + "is-npm": { + "version": "1.0.0", + "bundled": true + }, + "is-obj": { + "version": "1.0.1", + "bundled": true + }, + "is-path-inside": { + "version": "1.0.1", + "bundled": true, + "requires": { + "path-is-inside": "^1.0.1" + } + }, + "is-redirect": { + "version": "1.0.0", + "bundled": true + }, + "is-regex": { + "version": "1.0.4", + "bundled": true, + "requires": { + "has": "^1.0.1" + } + }, + "is-retry-allowed": { + "version": "1.1.0", + "bundled": true + }, + "is-stream": { + "version": "1.1.0", + "bundled": true + }, + "is-symbol": { + "version": "1.0.2", + "bundled": true, + "requires": { + "has-symbols": "^1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "bundled": true + }, + "isarray": { + "version": "1.0.0", + "bundled": true + }, + "isexe": { + "version": "2.0.0", + "bundled": true + }, + "isstream": { + "version": "0.1.2", + "bundled": true + }, + "jsbn": { + "version": "0.1.1", + "bundled": true, + "optional": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "bundled": true + }, + "json-schema": { + "version": "0.2.3", + "bundled": true + }, + "json-schema-traverse": { + "version": "0.3.1", + "bundled": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "bundled": true + }, + "jsonparse": { + "version": "1.3.1", + "bundled": true + }, + "jsprim": { + "version": "1.4.1", + "bundled": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "latest-version": { + "version": "3.1.0", + "bundled": true, + "requires": { + "package-json": "^4.0.0" + } + }, + "lazy-property": { + "version": "1.0.0", + "bundled": true + }, + "lcid": { + "version": "1.0.0", + "bundled": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "libcipm": { + "version": "4.0.7", + "bundled": true, + "requires": { + "bin-links": "^1.1.2", + "bluebird": "^3.5.1", + "figgy-pudding": "^3.5.1", + "find-npm-prefix": "^1.0.2", + "graceful-fs": "^4.1.11", + "ini": "^1.3.5", + "lock-verify": "^2.0.2", + "mkdirp": "^0.5.1", + "npm-lifecycle": "^3.0.0", + "npm-logical-tree": "^1.2.1", + "npm-package-arg": "^6.1.0", + "pacote": "^9.1.0", + "read-package-json": "^2.0.13", + "rimraf": "^2.6.2", + "worker-farm": "^1.6.0" + } + }, + "libnpm": { + "version": "3.0.1", + "bundled": true, + "requires": { + "bin-links": "^1.1.2", + "bluebird": "^3.5.3", + "find-npm-prefix": "^1.0.2", + "libnpmaccess": "^3.0.2", + "libnpmconfig": "^1.2.1", + "libnpmhook": "^5.0.3", + "libnpmorg": "^1.0.1", + "libnpmpublish": "^1.1.2", + "libnpmsearch": "^2.0.2", + "libnpmteam": "^1.0.2", + "lock-verify": "^2.0.2", + "npm-lifecycle": "^3.0.0", + "npm-logical-tree": "^1.2.1", + "npm-package-arg": "^6.1.0", + "npm-profile": "^4.0.2", + "npm-registry-fetch": "^4.0.0", + "npmlog": "^4.1.2", + "pacote": "^9.5.3", + "read-package-json": "^2.0.13", + "stringify-package": "^1.0.0" + } + }, + "libnpmaccess": { + "version": "3.0.2", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "get-stream": "^4.0.0", + "npm-package-arg": "^6.1.0", + "npm-registry-fetch": "^4.0.0" + } + }, + "libnpmconfig": { + "version": "1.2.1", + "bundled": true, + "requires": { + "figgy-pudding": "^3.5.1", + "find-up": "^3.0.0", + "ini": "^1.3.5" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "bundled": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "bundled": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-limit": { + "version": "2.2.0", + "bundled": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "bundled": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "bundled": true + } + } + }, + "libnpmhook": { + "version": "5.0.3", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "figgy-pudding": "^3.4.1", + "get-stream": "^4.0.0", + "npm-registry-fetch": "^4.0.0" + } + }, + "libnpmorg": { + "version": "1.0.1", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "figgy-pudding": "^3.4.1", + "get-stream": "^4.0.0", + "npm-registry-fetch": "^4.0.0" + } + }, + "libnpmpublish": { + "version": "1.1.2", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "figgy-pudding": "^3.5.1", + "get-stream": "^4.0.0", + "lodash.clonedeep": "^4.5.0", + "normalize-package-data": "^2.4.0", + "npm-package-arg": "^6.1.0", + "npm-registry-fetch": "^4.0.0", + "semver": "^5.5.1", + "ssri": "^6.0.1" + } + }, + "libnpmsearch": { + "version": "2.0.2", + "bundled": true, + "requires": { + "figgy-pudding": "^3.5.1", + "get-stream": "^4.0.0", + "npm-registry-fetch": "^4.0.0" + } + }, + "libnpmteam": { + "version": "1.0.2", + "bundled": true, + "requires": { + "aproba": "^2.0.0", + "figgy-pudding": "^3.4.1", + "get-stream": "^4.0.0", + "npm-registry-fetch": "^4.0.0" + } + }, + "libnpx": { + "version": "10.2.0", + "bundled": true, + "requires": { + "dotenv": "^5.0.1", + "npm-package-arg": "^6.0.0", + "rimraf": "^2.6.2", + "safe-buffer": "^5.1.0", + "update-notifier": "^2.3.0", + "which": "^1.3.0", + "y18n": "^4.0.0", + "yargs": "^11.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "bundled": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lock-verify": { + "version": "2.1.0", + "bundled": true, + "requires": { + "npm-package-arg": "^6.1.0", + "semver": "^5.4.1" + } + }, + "lockfile": { + "version": "1.0.4", + "bundled": true, + "requires": { + "signal-exit": "^3.0.2" + } + }, + "lodash._baseindexof": { + "version": "3.1.0", + "bundled": true + }, + "lodash._baseuniq": { + "version": "4.6.0", + "bundled": true, + "requires": { + "lodash._createset": "~4.0.0", + "lodash._root": "~3.0.0" + } + }, + "lodash._bindcallback": { + "version": "3.0.1", + "bundled": true + }, + "lodash._cacheindexof": { + "version": "3.0.2", + "bundled": true + }, + "lodash._createcache": { + "version": "3.1.2", + "bundled": true, + "requires": { + "lodash._getnative": "^3.0.0" + } + }, + "lodash._createset": { + "version": "4.0.3", + "bundled": true + }, + "lodash._getnative": { + "version": "3.9.1", + "bundled": true + }, + "lodash._root": { + "version": "3.0.1", + "bundled": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "bundled": true + }, + "lodash.restparam": { + "version": "3.6.1", + "bundled": true + }, + "lodash.union": { + "version": "4.6.0", + "bundled": true + }, + "lodash.uniq": { + "version": "4.5.0", + "bundled": true + }, + "lodash.without": { + "version": "4.4.0", + "bundled": true + }, + "lowercase-keys": { + "version": "1.0.1", + "bundled": true + }, + "lru-cache": { + "version": "5.1.1", + "bundled": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "make-dir": { + "version": "1.3.0", + "bundled": true, + "requires": { + "pify": "^3.0.0" + } + }, + "make-fetch-happen": { + "version": "5.0.2", + "bundled": true, + "requires": { + "agentkeepalive": "^3.4.1", + "cacache": "^12.0.0", + "http-cache-semantics": "^3.8.1", + "http-proxy-agent": "^2.1.0", + "https-proxy-agent": "^2.2.3", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "node-fetch-npm": "^2.0.2", + "promise-retry": "^1.1.1", + "socks-proxy-agent": "^4.0.0", + "ssri": "^6.0.0" + } + }, + "meant": { + "version": "1.0.1", + "bundled": true + }, + "mem": { + "version": "1.1.0", + "bundled": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "mime-db": { + "version": "1.35.0", + "bundled": true + }, + "mime-types": { + "version": "2.1.19", + "bundled": true, + "requires": { + "mime-db": "~1.35.0" + } + }, + "mimic-fn": { + "version": "1.2.0", + "bundled": true + }, + "minimatch": { + "version": "3.0.4", + "bundled": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "0.0.8", + "bundled": true + }, + "minizlib": { + "version": "1.3.3", + "bundled": true, + "requires": { + "minipass": "^2.9.0" + }, + "dependencies": { + "minipass": { + "version": "2.9.0", + "bundled": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + } + } + }, + "mississippi": { + "version": "3.0.0", + "bundled": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "mkdirp": { + "version": "0.5.1", + "bundled": true, + "requires": { + "minimist": "0.0.8" + } + }, + "move-concurrently": { + "version": "1.0.1", + "bundled": true, + "requires": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + }, + "dependencies": { + "aproba": { + "version": "1.2.0", + "bundled": true + } + } + }, + "ms": { + "version": "2.1.1", + "bundled": true + }, + "mute-stream": { + "version": "0.0.7", + "bundled": true + }, + "node-fetch-npm": { + "version": "2.0.2", + "bundled": true, + "requires": { + "encoding": "^0.1.11", + "json-parse-better-errors": "^1.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node-gyp": { + "version": "5.0.5", + "bundled": true, + "requires": { + "env-paths": "^1.0.0", + "glob": "^7.0.3", + "graceful-fs": "^4.1.2", + "mkdirp": "^0.5.0", + "nopt": "2 || 3", + "npmlog": "0 || 1 || 2 || 3 || 4", + "request": "^2.87.0", + "rimraf": "2", + "semver": "~5.3.0", + "tar": "^4.4.12", + "which": "1" + }, + "dependencies": { + "nopt": { + "version": "3.0.6", + "bundled": true, + "requires": { + "abbrev": "1" + } + }, + "semver": { + "version": "5.3.0", + "bundled": true + } + } + }, + "nopt": { + "version": "4.0.1", + "bundled": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "bundled": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "resolve": { + "version": "1.10.0", + "bundled": true, + "requires": { + "path-parse": "^1.0.6" + } + } + } + }, + "npm-audit-report": { + "version": "1.3.2", + "bundled": true, + "requires": { + "cli-table3": "^0.5.0", + "console-control-strings": "^1.1.0" + } + }, + "npm-bundled": { + "version": "1.0.6", + "bundled": true + }, + "npm-cache-filename": { + "version": "1.0.2", + "bundled": true + }, + "npm-install-checks": { + "version": "3.0.2", + "bundled": true, + "requires": { + "semver": "^2.3.0 || 3.x || 4 || 5" + } + }, + "npm-lifecycle": { + "version": "3.1.4", + "bundled": true, + "requires": { + "byline": "^5.0.0", + "graceful-fs": "^4.1.15", + "node-gyp": "^5.0.2", + "resolve-from": "^4.0.0", + "slide": "^1.1.6", + "uid-number": "0.0.6", + "umask": "^1.1.0", + "which": "^1.3.1" + } + }, + "npm-logical-tree": { + "version": "1.2.1", + "bundled": true + }, + "npm-package-arg": { + "version": "6.1.1", + "bundled": true, + "requires": { + "hosted-git-info": "^2.7.1", + "osenv": "^0.1.5", + "semver": "^5.6.0", + "validate-npm-package-name": "^3.0.0" + } + }, + "npm-packlist": { + "version": "1.4.6", + "bundled": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1" + } + }, + "npm-pick-manifest": { + "version": "3.0.2", + "bundled": true, + "requires": { + "figgy-pudding": "^3.5.1", + "npm-package-arg": "^6.0.0", + "semver": "^5.4.1" + } + }, + "npm-profile": { + "version": "4.0.2", + "bundled": true, + "requires": { + "aproba": "^1.1.2 || 2", + "figgy-pudding": "^3.4.1", + "npm-registry-fetch": "^4.0.0" + } + }, + "npm-registry-fetch": { + "version": "4.0.2", + "bundled": true, + "requires": { + "JSONStream": "^1.3.4", + "bluebird": "^3.5.1", + "figgy-pudding": "^3.4.1", + "lru-cache": "^5.1.1", + "make-fetch-happen": "^5.0.0", + "npm-package-arg": "^6.1.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.0", + "bundled": true + } + } + }, + "npm-run-path": { + "version": "2.0.2", + "bundled": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "npm-user-validate": { + "version": "1.0.0", + "bundled": true + }, + "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 + }, + "oauth-sign": { + "version": "0.9.0", + "bundled": true + }, + "object-assign": { + "version": "4.1.1", + "bundled": true + }, + "object-keys": { + "version": "1.0.12", + "bundled": true + }, + "object.getownpropertydescriptors": { + "version": "2.0.3", + "bundled": true, + "requires": { + "define-properties": "^1.1.2", + "es-abstract": "^1.5.1" + } + }, + "once": { + "version": "1.4.0", + "bundled": true, + "requires": { + "wrappy": "1" + } + }, + "opener": { + "version": "1.5.1", + "bundled": true + }, + "os-homedir": { + "version": "1.0.2", + "bundled": true + }, + "os-locale": { + "version": "2.1.0", + "bundled": true, + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.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" + } + }, + "p-finally": { + "version": "1.0.0", + "bundled": true + }, + "p-limit": { + "version": "1.2.0", + "bundled": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "bundled": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "bundled": true + }, + "package-json": { + "version": "4.0.1", + "bundled": true, + "requires": { + "got": "^6.7.1", + "registry-auth-token": "^3.0.1", + "registry-url": "^3.0.3", + "semver": "^5.1.0" + } + }, + "pacote": { + "version": "9.5.9", + "bundled": true, + "requires": { + "bluebird": "^3.5.3", + "cacache": "^12.0.2", + "chownr": "^1.1.2", + "figgy-pudding": "^3.5.1", + "get-stream": "^4.1.0", + "glob": "^7.1.3", + "infer-owner": "^1.0.4", + "lru-cache": "^5.1.1", + "make-fetch-happen": "^5.0.0", + "minimatch": "^3.0.4", + "minipass": "^2.3.5", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "normalize-package-data": "^2.4.0", + "npm-package-arg": "^6.1.0", + "npm-packlist": "^1.1.12", + "npm-pick-manifest": "^3.0.0", + "npm-registry-fetch": "^4.0.0", + "osenv": "^0.1.5", + "promise-inflight": "^1.0.1", + "promise-retry": "^1.1.1", + "protoduck": "^5.0.1", + "rimraf": "^2.6.2", + "safe-buffer": "^5.1.2", + "semver": "^5.6.0", + "ssri": "^6.0.1", + "tar": "^4.4.10", + "unique-filename": "^1.1.1", + "which": "^1.3.1" + }, + "dependencies": { + "minipass": { + "version": "2.9.0", + "bundled": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + } + } + }, + "parallel-transform": { + "version": "1.1.0", + "bundled": true, + "requires": { + "cyclist": "~0.2.2", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "path-exists": { + "version": "3.0.0", + "bundled": true + }, + "path-is-absolute": { + "version": "1.0.1", + "bundled": true + }, + "path-is-inside": { + "version": "1.0.2", + "bundled": true + }, + "path-key": { + "version": "2.0.1", + "bundled": true + }, + "path-parse": { + "version": "1.0.6", + "bundled": true + }, + "performance-now": { + "version": "2.1.0", + "bundled": true + }, + "pify": { + "version": "3.0.0", + "bundled": true + }, + "prepend-http": { + "version": "1.0.4", + "bundled": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true + }, + "promise-inflight": { + "version": "1.0.1", + "bundled": true + }, + "promise-retry": { + "version": "1.1.1", + "bundled": true, + "requires": { + "err-code": "^1.0.0", + "retry": "^0.10.0" + }, + "dependencies": { + "retry": { + "version": "0.10.1", + "bundled": true + } + } + }, + "promzard": { + "version": "0.3.0", + "bundled": true, + "requires": { + "read": "1" + } + }, + "proto-list": { + "version": "1.2.4", + "bundled": true + }, + "protoduck": { + "version": "5.0.1", + "bundled": true, + "requires": { + "genfun": "^5.0.0" + } + }, + "prr": { + "version": "1.0.1", + "bundled": true + }, + "pseudomap": { + "version": "1.0.2", + "bundled": true + }, + "psl": { + "version": "1.1.29", + "bundled": true + }, + "pump": { + "version": "3.0.0", + "bundled": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "1.5.1", + "bundled": true, + "requires": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "2.0.1", + "bundled": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } + } + }, + "punycode": { + "version": "1.4.1", + "bundled": true + }, + "qrcode-terminal": { + "version": "0.12.0", + "bundled": true + }, + "qs": { + "version": "6.5.2", + "bundled": true + }, + "query-string": { + "version": "6.8.2", + "bundled": true, + "requires": { + "decode-uri-component": "^0.2.0", + "split-on-first": "^1.0.0", + "strict-uri-encode": "^2.0.0" + } + }, + "qw": { + "version": "1.0.1", + "bundled": true + }, + "rc": { + "version": "1.2.7", + "bundled": true, + "requires": { + "deep-extend": "^0.5.1", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "bundled": true + } + } + }, + "read": { + "version": "1.0.7", + "bundled": true, + "requires": { + "mute-stream": "~0.0.4" + } + }, + "read-cmd-shim": { + "version": "1.0.5", + "bundled": true, + "requires": { + "graceful-fs": "^4.1.2" + } + }, + "read-installed": { + "version": "4.0.3", + "bundled": true, + "requires": { + "debuglog": "^1.0.1", + "graceful-fs": "^4.1.2", + "read-package-json": "^2.0.0", + "readdir-scoped-modules": "^1.0.0", + "semver": "2 || 3 || 4 || 5", + "slide": "~1.1.3", + "util-extend": "^1.0.1" + } + }, + "read-package-json": { + "version": "2.1.0", + "bundled": true, + "requires": { + "glob": "^7.1.1", + "graceful-fs": "^4.1.2", + "json-parse-better-errors": "^1.0.1", + "normalize-package-data": "^2.0.0", + "slash": "^1.0.0" + } + }, + "read-package-tree": { + "version": "5.3.1", + "bundled": true, + "requires": { + "read-package-json": "^2.0.0", + "readdir-scoped-modules": "^1.0.0", + "util-promisify": "^2.1.0" + } + }, + "readable-stream": { + "version": "3.4.0", + "bundled": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "readdir-scoped-modules": { + "version": "1.1.0", + "bundled": true, + "requires": { + "debuglog": "^1.0.1", + "dezalgo": "^1.0.0", + "graceful-fs": "^4.1.2", + "once": "^1.3.0" + } + }, + "registry-auth-token": { + "version": "3.3.2", + "bundled": true, + "requires": { + "rc": "^1.1.6", + "safe-buffer": "^5.0.1" + } + }, + "registry-url": { + "version": "3.1.0", + "bundled": true, + "requires": { + "rc": "^1.0.1" + } + }, + "request": { + "version": "2.88.0", + "bundled": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.0", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.4.3", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "require-directory": { + "version": "2.1.1", + "bundled": true + }, + "require-main-filename": { + "version": "1.0.1", + "bundled": true + }, + "resolve-from": { + "version": "4.0.0", + "bundled": true + }, + "retry": { + "version": "0.12.0", + "bundled": true + }, + "rimraf": { + "version": "2.6.3", + "bundled": true, + "requires": { + "glob": "^7.1.3" + } + }, + "run-queue": { + "version": "1.0.3", + "bundled": true, + "requires": { + "aproba": "^1.1.1" + }, + "dependencies": { + "aproba": { + "version": "1.2.0", + "bundled": true + } + } + }, + "safe-buffer": { + "version": "5.1.2", + "bundled": true + }, + "safer-buffer": { + "version": "2.1.2", + "bundled": true + }, + "semver": { + "version": "5.7.1", + "bundled": true + }, + "semver-diff": { + "version": "2.1.0", + "bundled": true, + "requires": { + "semver": "^5.0.3" + } + }, + "set-blocking": { + "version": "2.0.0", + "bundled": true + }, + "sha": { + "version": "3.0.0", + "bundled": true, + "requires": { + "graceful-fs": "^4.1.2" + } + }, + "shebang-command": { + "version": "1.2.0", + "bundled": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "bundled": true + }, + "signal-exit": { + "version": "3.0.2", + "bundled": true + }, + "slash": { + "version": "1.0.0", + "bundled": true + }, + "slide": { + "version": "1.1.6", + "bundled": true + }, + "smart-buffer": { + "version": "4.1.0", + "bundled": true + }, + "socks": { + "version": "2.3.3", + "bundled": true, + "requires": { + "ip": "1.1.5", + "smart-buffer": "^4.1.0" + } + }, + "socks-proxy-agent": { + "version": "4.0.2", + "bundled": true, + "requires": { + "agent-base": "~4.2.1", + "socks": "~2.3.2" + }, + "dependencies": { + "agent-base": { + "version": "4.2.1", + "bundled": true, + "requires": { + "es6-promisify": "^5.0.0" + } + } + } + }, + "sorted-object": { + "version": "2.0.1", + "bundled": true + }, + "sorted-union-stream": { + "version": "2.1.3", + "bundled": true, + "requires": { + "from2": "^1.3.0", + "stream-iterate": "^1.1.0" + }, + "dependencies": { + "from2": { + "version": "1.3.0", + "bundled": true, + "requires": { + "inherits": "~2.0.1", + "readable-stream": "~1.1.10" + } + }, + "isarray": { + "version": "0.0.1", + "bundled": true + }, + "readable-stream": { + "version": "1.1.14", + "bundled": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "bundled": true + } + } + }, + "spdx-correct": { + "version": "3.0.0", + "bundled": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.1.0", + "bundled": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "bundled": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.3", + "bundled": true + }, + "split-on-first": { + "version": "1.1.0", + "bundled": true + }, + "sshpk": { + "version": "1.14.2", + "bundled": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "ssri": { + "version": "6.0.1", + "bundled": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + }, + "stream-each": { + "version": "1.2.2", + "bundled": true, + "requires": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, + "stream-iterate": { + "version": "1.2.0", + "bundled": true, + "requires": { + "readable-stream": "^2.1.5", + "stream-shift": "^1.0.0" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "stream-shift": { + "version": "1.0.0", + "bundled": true + }, + "strict-uri-encode": { + "version": "2.0.0", + "bundled": true + }, + "string-width": { + "version": "2.1.1", + "bundled": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "bundled": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "bundled": true + }, + "strip-ansi": { + "version": "4.0.0", + "bundled": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "string_decoder": { + "version": "1.2.0", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "stringify-package": { + "version": "1.0.1", + "bundled": true + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-eof": { + "version": "1.0.0", + "bundled": true + }, + "strip-json-comments": { + "version": "2.0.1", + "bundled": true + }, + "supports-color": { + "version": "5.4.0", + "bundled": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "tar": { + "version": "4.4.13", + "bundled": true, + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.8.6", + "minizlib": "^1.2.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.3" + }, + "dependencies": { + "minipass": { + "version": "2.9.0", + "bundled": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + } + } + }, + "term-size": { + "version": "1.2.0", + "bundled": true, + "requires": { + "execa": "^0.7.0" + } + }, + "text-table": { + "version": "0.2.0", + "bundled": true + }, + "through": { + "version": "2.3.8", + "bundled": true + }, + "through2": { + "version": "2.0.3", + "bundled": true, + "requires": { + "readable-stream": "^2.1.5", + "xtend": "~4.0.1" + }, + "dependencies": { + "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" + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "timed-out": { + "version": "4.0.1", + "bundled": true + }, + "tiny-relative-date": { + "version": "1.3.0", + "bundled": true + }, + "tough-cookie": { + "version": "2.4.3", + "bundled": true, + "requires": { + "psl": "^1.1.24", + "punycode": "^1.4.1" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "bundled": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "bundled": true, + "optional": true + }, + "typedarray": { + "version": "0.0.6", + "bundled": true + }, + "uid-number": { + "version": "0.0.6", + "bundled": true + }, + "umask": { + "version": "1.1.0", + "bundled": true + }, + "unique-filename": { + "version": "1.1.1", + "bundled": true, + "requires": { + "unique-slug": "^2.0.0" + } + }, + "unique-slug": { + "version": "2.0.0", + "bundled": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "unique-string": { + "version": "1.0.0", + "bundled": true, + "requires": { + "crypto-random-string": "^1.0.0" + } + }, + "unpipe": { + "version": "1.0.0", + "bundled": true + }, + "unzip-response": { + "version": "2.0.1", + "bundled": true + }, + "update-notifier": { + "version": "2.5.0", + "bundled": true, + "requires": { + "boxen": "^1.2.1", + "chalk": "^2.0.1", + "configstore": "^3.0.0", + "import-lazy": "^2.1.0", + "is-ci": "^1.0.10", + "is-installed-globally": "^0.1.0", + "is-npm": "^1.0.0", + "latest-version": "^3.0.0", + "semver-diff": "^2.0.0", + "xdg-basedir": "^3.0.0" + } + }, + "url-parse-lax": { + "version": "1.0.0", + "bundled": true, + "requires": { + "prepend-http": "^1.0.1" + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true + }, + "util-extend": { + "version": "1.0.3", + "bundled": true + }, + "util-promisify": { + "version": "2.1.0", + "bundled": true, + "requires": { + "object.getownpropertydescriptors": "^2.0.3" + } + }, + "uuid": { + "version": "3.3.3", + "bundled": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "bundled": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "validate-npm-package-name": { + "version": "3.0.0", + "bundled": true, + "requires": { + "builtins": "^1.0.3" + } + }, + "verror": { + "version": "1.10.0", + "bundled": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "wcwidth": { + "version": "1.0.1", + "bundled": true, + "requires": { + "defaults": "^1.0.3" + } + }, + "which": { + "version": "1.3.1", + "bundled": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "bundled": true + }, + "wide-align": { + "version": "1.1.2", + "bundled": true, + "requires": { + "string-width": "^1.0.2" + }, + "dependencies": { + "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" + } + } + } + }, + "widest-line": { + "version": "2.0.0", + "bundled": true, + "requires": { + "string-width": "^2.1.1" + } + }, + "worker-farm": { + "version": "1.7.0", + "bundled": true, + "requires": { + "errno": "~0.1.7" + } + }, + "wrap-ansi": { + "version": "2.1.0", + "bundled": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "dependencies": { + "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" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "bundled": true + }, + "write-file-atomic": { + "version": "2.4.3", + "bundled": true, + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, + "xdg-basedir": { + "version": "3.0.0", + "bundled": true + }, + "xtend": { + "version": "4.0.1", + "bundled": true + }, + "y18n": { + "version": "4.0.0", + "bundled": true + }, + "yallist": { + "version": "3.0.3", + "bundled": true + }, + "yargs": { + "version": "11.0.0", + "bundled": true, + "requires": { + "cliui": "^4.0.0", + "decamelize": "^1.1.1", + "find-up": "^2.1.0", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^9.0.2" + }, + "dependencies": { + "y18n": { + "version": "3.2.1", + "bundled": true + } + } + }, + "yargs-parser": { + "version": "9.0.2", + "bundled": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } + }, "npm-bundled": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz", diff --git a/Mohem/package.json b/Mohem/package.json index b0949ab0..a229f9f8 100755 --- a/Mohem/package.json +++ b/Mohem/package.json @@ -21,47 +21,48 @@ "@angular/platform-browser": "^7.2.2", "@angular/platform-browser-dynamic": "^7.2.2", "@angular/router": "^7.2.2", - "@ionic-native/android-permissions": "^5.16.0", - "@ionic-native/app-availability": "^5.16.0", - "@ionic-native/app-rate": "^5.16.0", - "@ionic-native/background-geolocation": "^5.16.0", - "@ionic-native/badge": "^5.16.0", - "@ionic-native/barcode-scanner": "^5.16.0", - "@ionic-native/base64": "^5.15.1", - "@ionic-native/ble": "^5.16.0", - "@ionic-native/call-number": "^5.16.0", - "@ionic-native/camera": "^5.16.0", + "@ionic-native/android-permissions": "^5.17.0", + "@ionic-native/app-availability": "^5.17.0", + "@ionic-native/app-rate": "^5.17.0", + "@ionic-native/background-geolocation": "^5.4.0", + "@ionic-native/badge": "^5.17.0", + "@ionic-native/barcode-scanner": "^5.17.0", + "@ionic-native/base64": "^5.17.0", + "@ionic-native/ble": "^5.17.0", + "@ionic-native/call-number": "^5.17.0", + "@ionic-native/camera": "^5.17.0", "@ionic-native/core": "^5.8.0", "@ionic-native/date-picker": "^5.10.0", - "@ionic-native/device": "^5.16.0", - "@ionic-native/diagnostic": "^5.16.0", - "@ionic-native/file": "^5.15.1", - "@ionic-native/file-path": "^5.15.1", + "@ionic-native/device": "^5.17.0", + "@ionic-native/diagnostic": "^5.17.0", + "@ionic-native/file": "^5.17.0", + "@ionic-native/file-path": "^5.17.0", "@ionic-native/fingerprint-aio": "^5.16.0", "@ionic-native/geolocation": "^5.10.0", - "@ionic-native/globalization": "^5.16.0", - "@ionic-native/health": "^5.16.0", - "@ionic-native/in-app-browser": "^5.16.0", - "@ionic-native/keyboard": "^5.16.0", - "@ionic-native/launch-navigator": "^5.16.0", - "@ionic-native/local-notifications": "^5.16.0", - "@ionic-native/native-storage": "^5.16.0", + "@ionic-native/globalization": "^5.17.0", + "@ionic-native/health": "^5.4.0", + "@ionic-native/in-app-browser": "^5.17.0", + "@ionic-native/keyboard": "^5.17.0", + "@ionic-native/launch-navigator": "^5.17.0", + "@ionic-native/local-notifications": "^5.17.0", + "@ionic-native/native-storage": "^5.17.0", "@ionic-native/onesignal": "^5.17.0", "@ionic-native/open-native-settings": "^5.14.0", - "@ionic-native/push": "^5.16.0", + "@ionic-native/push": "^5.17.0", "@ionic-native/splash-screen": "^5.0.0", - "@ionic-native/sqlite": "^5.16.0", + "@ionic-native/sqlite": "^5.17.0", "@ionic-native/status-bar": "^5.0.0", - "@ionic-native/themeable-browser": "^5.16.0", + "@ionic-native/themeable-browser": "^5.17.0", "@ionic-native/zbar": "^5.10.0", "@ionic/angular": "^4.1.0", "@ng-bootstrap/ng-bootstrap": "^4.2.2", "@swimlane/ngx-charts": "^10.1.0", "angular-calendar": "^0.26.11", "app": "0.1.0", - "chart.js": "^2.9.2", + "call-number": "~0.0.2", + "chart.js": "^2.9.3", "com-badrit-base64": "^0.2.0", - "cordova-android": "^8.1.0", + "cordova-android": "8.1.0", "cordova-android-support-gradle-release": "^3.0.1", "cordova-browser": "5.0.4", "cordova-ios": "4.5.5", @@ -69,7 +70,7 @@ "cordova-opentok-android-permissions": "^1.0.1", "cordova-plugin-actionsheet": "^2.3.3", "cordova-plugin-add-swift-support": "^2.0.2", - "cordova-plugin-android-permissions": "^1.0.0", + "cordova-plugin-android-permissions": "^1.0.2", "cordova-plugin-appavailability": "^0.4.2", "cordova-plugin-apprate": "^1.4.0", "cordova-plugin-badge": "^0.8.8", @@ -80,15 +81,13 @@ "cordova-plugin-dialogs": "^2.0.2", "cordova-plugin-file": "^6.0.2", "cordova-plugin-filepath": "^1.5.6", - "cordova-plugin-fingerprint-aio": "^2.0.0", + "cordova-plugin-fingerprint-aio": "^3.0.0", "cordova-plugin-geolocation": "^4.0.2", "cordova-plugin-globalization": "^1.11.0", - "cordova-plugin-health": "^1.1.3", "cordova-plugin-inappbrowser": "^3.1.0", - "cordova-plugin-ionic-keyboard": "^2.1.3", - "cordova-plugin-ionic-webview": "4.1.0", + "cordova-plugin-ionic-keyboard": "^2.2.0", + "cordova-plugin-ionic-webview": "^4.1.0", "cordova-plugin-local-notification": "^0.9.0-beta.2", - "cordova-plugin-mauron85-background-geolocation": "^3.0.0-alpha.50", "cordova-plugin-nativestorage": "^2.3.2", "cordova-plugin-sms-receive": "^1.0.2", "cordova-plugin-splashscreen": "^5.0.3", @@ -103,8 +102,9 @@ "mx.ferreyra.callnumber": "0.0.2", "ng2-file-upload": "^1.3.0", "ng2-pdf-viewer": "^5.3.2", + "npm": "^6.13.1", "onesignal-cordova-plugin": "^2.7.0", - "phonegap-plugin-barcodescanner": "8.1.0", + "phonegap-plugin-barcodescanner": "^8.1.0", "phonegap-plugin-multidex": "^1.0.0", "phonegap-plugin-push": "^2.3.0", "primeicons": "^1.0.0", @@ -169,11 +169,9 @@ "cordova-plugin-file": {}, "cordova-plugin-filepath": {}, "com-badrit-base64": {}, - "call-number": {}, "phonegap-plugin-push": { "GOOGLE_PLAY_SERVICES_VERSION": "16.0.0", - "FCM_VERSION": "15.0.0", - "ANDROID_SUPPORT_V13_VERSION": "27.+" + "FCM_VERSION": "15.0.0" }, "cordova-sqlite-storage": {}, "cordova-plugin-ble-central": {}, @@ -182,28 +180,14 @@ "cordova-plugin-inappbrowser": {}, "cordova-plugin-sms-receive": {}, "cordova-plugin-local-notification": {}, - "cordova-plugin-fingerprint-aio": { - "FACEID_USAGE_DESCRIPTION": "User Authentication" - }, - "cordova-plugin-mauron85-background-geolocation": { - "GOOGLE_PLAY_SERVICES_VERSION": "16.0.0", - "ANDROID_SUPPORT_LIBRARY_VERSION": "26+", - "ICON": "@mipmap/icon", - "SMALL_ICON": "@mipmap/icon", - "ACCOUNT_NAME": "@string/app_name", - "ACCOUNT_LABEL": "@string/app_name", - "ACCOUNT_TYPE": "$PACKAGE_NAME.account", - "CONTENT_AUTHORITY": "$PACKAGE_NAME" - }, + "call-number": {}, "cordova-opentok-android-permissions": {}, - "cordova-plugin-health": { - "HEALTH_READ_PERMISSION": "App needs read access to read heart rate", - "HEALTH_WRITE_PERMISSION": "App needs write access for heart rate", - "GMS_VERSION": "16.0.1" - }, "cordova-plugin-appavailability": {}, "cordova-plugin-apprate": {}, - "onesignal-cordova-plugin": {} + "onesignal-cordova-plugin": {}, + "cordova-plugin-fingerprint-aio": { + "FACEID_USAGE_DESCRIPTION": "User Authentication" + } }, "platforms": [ "browser", @@ -211,4 +195,4 @@ "android" ] } -} +} \ No newline at end of file diff --git a/Mohem/src/app/app-routing.module.ts b/Mohem/src/app/app-routing.module.ts index 849be2c9..ef409bfb 100644 --- a/Mohem/src/app/app-routing.module.ts +++ b/Mohem/src/app/app-routing.module.ts @@ -17,9 +17,9 @@ const routes: Routes = [ { path: 'notification', loadChildren: './notification/notification.module#NotificationPageModule' }, { path: 'my-specialist', loadChildren: './my-specialist/my-specialist.module#MySpecialistPageModule' }, { path: 'my-subordinate', loadChildren: './my-subordinate/my-subordinate.module#MySubordinatePageModule' }, + { path: 'time-card', loadChildren: './time-card/time-card.module#TimeCardPageModule' }, { path: 'payslip', loadChildren: './payslip/payslip.module#PayslipPageModule' } - ]; @NgModule({ diff --git a/Mohem/src/app/authentication/login/login.component.html b/Mohem/src/app/authentication/login/login.component.html index e83cb05d..70e2c0ad 100644 --- a/Mohem/src/app/authentication/login/login.component.html +++ b/Mohem/src/app/authentication/login/login.component.html @@ -14,15 +14,13 @@ - {{ts.trPK('login','username')}} - + - {{ts.trPK('login','password')}} - + diff --git a/Mohem/src/app/eit/add-eit/add-eit.component.ts b/Mohem/src/app/eit/add-eit/add-eit.component.ts index aae9420a..cf7adcab 100644 --- a/Mohem/src/app/eit/add-eit/add-eit.component.ts +++ b/Mohem/src/app/eit/add-eit/add-eit.component.ts @@ -1,34 +1,34 @@ -import { CommonService } from 'src/app/hmg-common/services/common/common.service'; -import { Component, OnInit, ViewChild, ElementRef } from '@angular/core'; -import { MenuEntry } from 'src/app/hmg-common/services/menu/models/menu.entry'; -import { MenuResponse } from 'src/app/hmg-common/services/menu/models/menu-response'; -import { EitRequest } from '../models/eit.request'; -import { ModalController } from '@ionic/angular'; -import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service'; -import { EITTransactionsRequest } from '../models/EITTransactionsReq'; -import { EitService } from '../services/eit.service'; -import { TextAreaInput } from 'src/app/uI-elements/text-area.input'; -import { NumberInput } from 'src/app/uI-elements/number.input'; -import { TextInput } from 'src/app/uI-elements/text.input'; -import { SelectInput } from 'src/app/uI-elements/select.input'; -import { DateInput } from 'src/app/uI-elements/date.input'; -import { TimeInput } from 'src/app/uI-elements/time.input'; -import { DateTimeInput } from 'src/app/uI-elements/date-time.input'; -import { ButtonInput } from 'src/app/uI-elements/button.input'; -import { HiddenInput } from 'src/app/uI-elements/hidden.input'; -import * as moment from 'moment'; -import { DatePicker } from '@ionic-native/date-picker/ngx'; -import { EIT_ACTION } from '../models/submit.eit.action'; -import { AddEitResponse } from '../models/add.eit.response'; +import { CommonService } from "src/app/hmg-common/services/common/common.service"; +import { Component, OnInit, ViewChild, ElementRef } from "@angular/core"; +import { MenuEntry } from "src/app/hmg-common/services/menu/models/menu.entry"; +import { MenuResponse } from "src/app/hmg-common/services/menu/models/menu-response"; +import { EitRequest } from "../models/eit.request"; +import { ModalController } from "@ionic/angular"; +import { TranslatorService } from "src/app/hmg-common/services/translator/translator.service"; +import { EITTransactionsRequest } from "../models/EITTransactionsReq"; +import { EitService } from "../services/eit.service"; +import { TextAreaInput } from "src/app/uI-elements/text-area.input"; +import { NumberInput } from "src/app/uI-elements/number.input"; +import { TextInput } from "src/app/uI-elements/text.input"; +import { SelectInput } from "src/app/uI-elements/select.input"; +import { DateInput } from "src/app/uI-elements/date.input"; +import { TimeInput } from "src/app/uI-elements/time.input"; +import { DateTimeInput } from "src/app/uI-elements/date-time.input"; +import { ButtonInput } from "src/app/uI-elements/button.input"; +import { HiddenInput } from "src/app/uI-elements/hidden.input"; +import * as moment from "moment"; +import { DatePicker } from "@ionic-native/date-picker/ngx"; +import { EIT_ACTION } from "../models/submit.eit.action"; +import { AddEitResponse } from "../models/add.eit.response"; +import { element } from '@angular/core/src/render3'; @Component({ - selector: 'app-add-eit', - templateUrl: './add-eit.component.html', - styleUrls: ['./add-eit.component.scss'], + selector: "app-add-eit", + templateUrl: "./add-eit.component.html", + styleUrls: ["./add-eit.component.scss"] }) export class AddEitComponent implements OnInit { - - @ViewChild('containerDiv') containerDiv: ElementRef; + @ViewChild("containerDiv") containerDiv: ElementRef; ////*new add*///// getPassNotificationDetails: any; @@ -53,7 +53,7 @@ export class AddEitComponent implements OnInit { // private parentChilds: any[]; getPassMnuEntryObj: MenuEntry; selMenu: MenuResponse; - eitSubmitAction: number = 0;//not submit + eitSubmitAction: number = 0; //not submit private eitRequest: EitRequest; private validateEitObj: any = []; private ExtraObj: any = {}; @@ -66,11 +66,26 @@ export class AddEitComponent implements OnInit { private updatedValues: any = []; addEITData: any; - constructor(public modalController: ModalController, public cs: CommonService, private ts: TranslatorService, private eitService: EitService, public datePicker: DatePicker) { - this.selEmp = this.cs.sharedService.getSharedData(MenuResponse.SHARED_SEL_EMP, false); - this.respID = this.cs.sharedService.getSharedData(MenuResponse.SHARED_SEL_RESP_ID, false); + constructor( + public modalController: ModalController, + public cs: CommonService, + private ts: TranslatorService, + private eitService: EitService, + public datePicker: DatePicker + ) { + this.selEmp = this.cs.sharedService.getSharedData( + MenuResponse.SHARED_SEL_EMP, + false + ); + this.respID = this.cs.sharedService.getSharedData( + MenuResponse.SHARED_SEL_RESP_ID, + false + ); this.selMenu = new MenuResponse(); - this.selMenu = this.cs.sharedService.getSharedData(MenuResponse.SHARED_DATA, false); + this.selMenu = this.cs.sharedService.getSharedData( + MenuResponse.SHARED_DATA, + false + ); this.addEITData = this.cs.sharedService.getSharedData("AddEITData", false); this.eitRequest = new EitRequest(); @@ -82,7 +97,7 @@ export class AddEitComponent implements OnInit { // this.getPassNotificationDetails = this.cs.sharedService.getSharedData(EITNotificatonBodyResponse.NOT_WORKLIST, true); this.getPassdirfromNotifiPage = this.addEITData.dirfromNotificationPage; if (this.getPassdirfromNotifiPage) { - this.functionName = this.getPassNotificationDetails.FUNCTION_NAME;//;this.getPassNotificationDetails.NOTIFICATION_NAME; + this.functionName = this.getPassNotificationDetails.FUNCTION_NAME; //;this.getPassNotificationDetails.NOTIFICATION_NAME; this.menuType = "E"; this.selEmp = this.getPassNotificationDetails.SELECTED_EMPLOYEE_NUMBER; this.respID = -999; @@ -98,15 +113,16 @@ export class AddEitComponent implements OnInit { this.menuType = this.selMenu.List_Menu.MENU_TYPE; this.validateEitObj = this.addEITData.submitEITObjList; this.headerTitle = this.selMenu.GetMenuEntriesList.PROMPT; - this.eitSubmitAction = this.cs.sharedService.getSharedData(EITTransactionsRequest.SUBMIT_EIT_ACTION); + this.eitSubmitAction = this.cs.sharedService.getSharedData( + EITTransactionsRequest.SUBMIT_EIT_ACTION + ); } } - ngOnInit() { - } + ngOnInit() {} ngAfterViewInit() { - console.log('ngAfterViewInit'); + console.log("ngAfterViewInit"); // console.log(this.containerDiv.nativeElement); this.getEitDffStructure(); // this.addFieldToDOM(this.buttonInput, 'btnSubmit', this.cs.presentAlert('Clicked!'), true) @@ -119,8 +135,7 @@ export class AddEitComponent implements OnInit { P_MENU_TYPE: this.menuType, P_SELECTED_RESP_ID: this.respID // P_USER_NAME:this.userName - - } + }; this.eitService.getEITDFFStrutre(body).subscribe((result: any) => { this.handleEitDffStructureResult(result); }); @@ -134,35 +149,81 @@ export class AddEitComponent implements OnInit { } private drawEitFields(feildsList) { - const containerId = 'containerDiv'; + const containerId = "containerDiv"; this.eitVALSettoCall = []; for (let i = 0; i < feildsList.length; i++) { let defaultVal: string = ""; let defaultValText: string = ""; - defaultVal = feildsList[i].E_SERVICES_DV.P_ID_COLUMN_NAME ? feildsList[i].E_SERVICES_DV.P_ID_COLUMN_NAME : ""; - defaultValText = feildsList[i].E_SERVICES_DV.P_VALUE_COLUMN_NAME ? feildsList[i].E_SERVICES_DV.P_VALUE_COLUMN_NAME : ""; - - if (feildsList[i].DISPLAY_FLAG != "N") { //check if the field should be displayed - if (feildsList[i].VALIDATION_TYPE == "N") {//text , date , time - if (feildsList[i].FORMAT_TYPE == "C") {// character + defaultVal = feildsList[i].E_SERVICES_DV.P_ID_COLUMN_NAME + ? feildsList[i].E_SERVICES_DV.P_ID_COLUMN_NAME + : ""; + defaultValText = feildsList[i].E_SERVICES_DV.P_VALUE_COLUMN_NAME + ? feildsList[i].E_SERVICES_DV.P_VALUE_COLUMN_NAME + : ""; + + if (feildsList[i].DISPLAY_FLAG != "N") { + //check if the field should be displayed + if (feildsList[i].VALIDATION_TYPE == "N") { + //text , date , time + if (feildsList[i].FORMAT_TYPE == "C") { + // character // if(feildsList[i].DEFAULT_TYPE=="C"||feildsList[i].DEFAULT_TYPE==""){// default type constant - this.textInput = new TextInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, defaultVal, containerId, defaultValText, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + this.textInput = new TextInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + defaultVal, + containerId, + defaultValText, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); // }else if(feildsList[i].DEFAULT_TYPE=="P"||feildsList[i].DEFAULT_TYPE=="S"){// profile/ sql // this.textInput = new TextInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,this.getDefaultValue(feildsList[i].DESC_FLEX_NAME,feildsList[i].DESC_FLEX_CONTEXT_CODE,feildsList[i].SEGMENT_NAME,feildsList[i].PARENT_SEGMENTS_VS_SplitedVS,feildsList[i].PARENT_SEGMENTS_DV_Splited),containerId,feildsList[i].MOBILE_ENABLED); // } - } - else if (feildsList[i].FORMAT_TYPE == "N") {// number + } else if (feildsList[i].FORMAT_TYPE == "N") { + // number // if(feildsList[i].DEFAULT_TYPE=="C"||feildsList[i].DEFAULT_TYPE==""){ - this.numberInput = new NumberInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, defaultVal, containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + this.numberInput = new NumberInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + defaultVal, + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); // }else if(feildsList[i].DEFAULT_TYPE=="P"||feildsList[i].DEFAULT_TYPE=="S"){ // this.numberInput = new NumberInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,this.getDefaultValue(feildsList[i].DESC_FLEX_NAME,feildsList[i].DESC_FLEX_CONTEXT_CODE,feildsList[i].SEGMENT_NAME,feildsList[i].PARENT_SEGMENTS_VS_SplitedVS,feildsList[i].PARENT_SEGMENTS_DV_Splited),containerId,feildsList[i].MOBILE_ENABLED); // } - } - else if (feildsList[i].FORMAT_TYPE == "X") {// standard date - if (feildsList[i].DEFAULT_TYPE == "C" || feildsList[i].DEFAULT_TYPE == "D" || feildsList[i].DEFAULT_TYPE == "P" || feildsList[i].DEFAULT_TYPE == "S") {//constant - this.dateInput = new DateInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, this.cs.reverseFormatDate(defaultVal), containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + } else if (feildsList[i].FORMAT_TYPE == "X") { + // standard date + if ( + feildsList[i].DEFAULT_TYPE == "C" || + feildsList[i].DEFAULT_TYPE == "D" || + feildsList[i].DEFAULT_TYPE == "P" || + feildsList[i].DEFAULT_TYPE == "S" + ) { + //constant + this.dateInput = new DateInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + this.cs.reverseFormatDate(defaultVal), + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); } else { - this.dateInput = new DateInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, "", containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + this.dateInput = new DateInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + "", + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); } // else if(feildsList[i].DEFAULT_TYPE=="D"){//current date // // this.dateInput = new DateInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"currentDate",containerId,feildsList[i].MOBILE_ENABLED); @@ -171,18 +232,43 @@ export class AddEitComponent implements OnInit { // }else if(feildsList[i].DEFAULT_TYPE=="P"||feildsList[i].DEFAULT_TYPE=="S"){// sql and profile // this.dateInput = new DateInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,this.getDefaultValue(feildsList[i].DESC_FLEX_NAME,feildsList[i].DESC_FLEX_CONTEXT_CODE,feildsList[i].SEGMENT_NAME,feildsList[i].PARENT_SEGMENTS_VS_SplitedVS,feildsList[i].PARENT_SEGMENTS_DV_Splited),containerId,feildsList[i].MOBILE_ENABLED); // } - } - else if (feildsList[i].FORMAT_TYPE == "Y") {// standard date time - if (feildsList[i].DEFAULT_TYPE == "C" || feildsList[i].DEFAULT_TYPE == "D" || feildsList[i].DEFAULT_TYPE == "P" || feildsList[i].DEFAULT_TYPE == "S") { - this.datetimeInput = new DateTimeInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, this.cs.reverseFormatStandardDate(defaultVal), containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + } else if (feildsList[i].FORMAT_TYPE == "Y") { + // standard date time + if ( + feildsList[i].DEFAULT_TYPE == "C" || + feildsList[i].DEFAULT_TYPE == "D" || + feildsList[i].DEFAULT_TYPE == "P" || + feildsList[i].DEFAULT_TYPE == "S" + ) { + this.datetimeInput = new DateTimeInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + this.cs.reverseFormatStandardDate(defaultVal), + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); } else { - this.datetimeInput = new DateTimeInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, "", containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + this.datetimeInput = new DateTimeInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + "", + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); } - const elem = document.getElementById(feildsList[i].APPLICATION_COLUMN_NAME); - elem.addEventListener("click", (e) => { - if (feildsList[i].MOBILE_ENABLED != 'Y') - return false; - this.showDateTimePicker(feildsList[i].APPLICATION_COLUMN_NAME, feildsList[i].MAXIMUM_SIZE); + const elem = document.getElementById( + feildsList[i].APPLICATION_COLUMN_NAME + ); + elem.addEventListener("click", e => { + if (feildsList[i].MOBILE_ENABLED != "Y") return false; + this.showDateTimePicker( + feildsList[i].APPLICATION_COLUMN_NAME, + feildsList[i].MAXIMUM_SIZE + ); e.stopImmediatePropagation(); }); // else if(feildsList[i].DEFAULT_TYPE=="D"){ @@ -190,18 +276,43 @@ export class AddEitComponent implements OnInit { // }else if(feildsList[i].DEFAULT_TYPE=="P"||feildsList[i].DEFAULT_TYPE=="S"){ // this.datetimeInput = new DateTimeInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,this.getDefaultValue(feildsList[i].DESC_FLEX_NAME,feildsList[i].DESC_FLEX_CONTEXT_CODE,feildsList[i].SEGMENT_NAME,feildsList[i].PARENT_SEGMENTS_VS_SplitedVS,feildsList[i].PARENT_SEGMENTS_DV_Splited),containerId,feildsList[i].MOBILE_ENABLED); // } - } - else if (feildsList[i].FORMAT_TYPE == "I") {//time - if (feildsList[i].DEFAULT_TYPE == "C" || feildsList[i].DEFAULT_TYPE == "D" || feildsList[i].DEFAULT_TYPE == "P" || feildsList[i].DEFAULT_TYPE == "S") { - this.timeInput = new TimeInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, defaultVal, containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + } else if (feildsList[i].FORMAT_TYPE == "I") { + //time + if ( + feildsList[i].DEFAULT_TYPE == "C" || + feildsList[i].DEFAULT_TYPE == "D" || + feildsList[i].DEFAULT_TYPE == "P" || + feildsList[i].DEFAULT_TYPE == "S" + ) { + this.timeInput = new TimeInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + defaultVal, + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); } else { - this.timeInput = new TimeInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, "", containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + this.timeInput = new TimeInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + "", + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); } - const elem = document.getElementById(feildsList[i].APPLICATION_COLUMN_NAME); - elem.addEventListener("click", (e) => { - if (feildsList[i].MOBILE_ENABLED != 'Y') - return false; - this.showTimePicker(feildsList[i].APPLICATION_COLUMN_NAME, feildsList[i].MAXIMUM_SIZE); + const elem = document.getElementById( + feildsList[i].APPLICATION_COLUMN_NAME + ); + elem.addEventListener("click", e => { + if (feildsList[i].MOBILE_ENABLED != "Y") return false; + this.showTimePicker( + feildsList[i].APPLICATION_COLUMN_NAME, + feildsList[i].MAXIMUM_SIZE + ); e.stopImmediatePropagation(); }); // else if(feildsList[i].DEFAULT_TYPE=="T"){ @@ -211,19 +322,40 @@ export class AddEitComponent implements OnInit { // } } } else { - if (feildsList[i].READ_ONLY == 'Y') { - this.textInput = new TextInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, defaultVal, containerId, defaultVal, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + if (feildsList[i].READ_ONLY == "Y") { + this.textInput = new TextInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + defaultVal, + containerId, + defaultVal, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); } else { // dropdown list missing open in differnt page //check this validation since he doesnt check the other default_type //if(feildsList[i].DEFAULT_TYPE=="P" || feildsList[i].DEFAULT_TYPE=="S"){ - this.selectInput = new SelectInput(feildsList[i].SEGMENT_PROMPT, feildsList[i].APPLICATION_COLUMN_NAME, defaultVal, containerId, feildsList[i].MOBILE_ENABLED, feildsList[i].DISPLAY_FLAG, feildsList[i].REQUIRED_FLAG); + this.selectInput = new SelectInput( + feildsList[i].SEGMENT_PROMPT, + feildsList[i].APPLICATION_COLUMN_NAME, + defaultVal, + containerId, + feildsList[i].MOBILE_ENABLED, + feildsList[i].DISPLAY_FLAG, + feildsList[i].REQUIRED_FLAG + ); // }else{ // this.selectInput = new SelectInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"",containerId,feildsList[i].MOBILE_ENABLED); // } // this.getValueSet(feildsList[i].SEGMENT_NAME); - this.fillDropdownList(feildsList[i].SEGMENT_NAME, feildsList[i].E_SERVICES_VS, feildsList[i].E_SERVICES_DV); - // this.eitVALSettoCall.push(feildsList[i]); + this.fillDropdownList( + feildsList[i].SEGMENT_NAME, + feildsList[i].E_SERVICES_VS, + feildsList[i].E_SERVICES_DV + ); + // this.eitVALSettoCall.push(feildsList[i]); } } //const elem = document.getElementById(feildsList[i].APPLICATION_COLUMN_NAME); @@ -231,20 +363,31 @@ export class AddEitComponent implements OnInit { // this.getValueSet(feildsList[i].SEGMENT_NAME); // e.stopImmediatePropagation(); // }); - this.bindHtmlElemEvents(feildsList[i].APPLICATION_COLUMN_NAME, feildsList[i]); + this.bindHtmlElemEvents( + feildsList[i].APPLICATION_COLUMN_NAME, + feildsList[i] + ); } else { // if(feildsList[i].VALIDATION_TYPE=="N"){ - this.hiddenInput = new HiddenInput(defaultVal, feildsList[i].APPLICATION_COLUMN_NAME, defaultValText, containerId); + this.hiddenInput = new HiddenInput( + defaultVal, + feildsList[i].APPLICATION_COLUMN_NAME, + defaultValText, + containerId + ); // }else{ // this.selectInput = new SelectInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,defaultVal,containerId,feildsList[i].MOBILE_ENABLED,feildsList[i].DISPLAY_FLAG); // this.fillDropdownList(feildsList[i].SEGMENT_NAME,feildsList[i].E_SERVICES_VS,feildsList[i].E_SERVICES_DV); // } - this.bindHtmlElemEvents(feildsList[i].APPLICATION_COLUMN_NAME, feildsList[i]); + this.bindHtmlElemEvents( + feildsList[i].APPLICATION_COLUMN_NAME, + feildsList[i] + ); } } // this.callValueSet(); // let msg:string=""; - // msg=this.translate.translate("confirmAddEit.start"); + // msg=this.translate.translate("confirmAddEit.start"); // this.buttonInput = new ButtonInput("EIT_Btn_Submit", this.translate.translate('general.submit'), containerId, ""); // const elem = document.getElementById("EIT_Btn_Submit"); // elem.addEventListener("click", (e) => { @@ -255,24 +398,28 @@ export class AddEitComponent implements OnInit { } } - addFieldToDOM(fieldObject: any, fieldId: any, clickListenerEvent: any, hasClickListener: boolean) { - console.log('AddFieldToDOM'); - const elemDiv = document.createElement('div'); - elemDiv.className = ''; + addFieldToDOM( + fieldObject: any, + fieldId: any, + clickListenerEvent: any, + hasClickListener: boolean + ) { + console.log("AddFieldToDOM"); + const elemDiv = document.createElement("div"); + elemDiv.className = ""; elemDiv.innerHTML = fieldObject.getTemplate(); - console.log(this.containerDiv.nativeElement) + console.log(this.containerDiv.nativeElement); this.containerDiv.nativeElement.appendChild(elemDiv); // document.getElementById('containerDiv').appendChild(elemDiv); if (hasClickListener) { let elem = document.getElementById(fieldId); - elem.addEventListener("click", (e) => { + elem.addEventListener("click", e => { clickListenerEvent(e); e.stopImmediatePropagation(); }); } - } closemodal() { @@ -284,30 +431,30 @@ export class AddEitComponent implements OnInit { let elem = document.getElementById(elemID) as HTMLDivElement; let date: any; let value = elem.innerHTML; - if (value) - date = moment(value, "YYYY/MM/DD HH:mm:ss").toDate(); - else - date = new Date(); - this.datePicker.show({ - date: date, - is24Hour: true, - mode: 'datetime' - }).then( - date => { - let dateString: string = moment(date).format("YYYY/MM/DD HH:mm:ss"); - //remove seconds if the maximum size is 17 - if (maxSize == 17) { - elem.innerHTML = dateString.substring(0, 16); - elem.dataset.dtvalue = dateString.substring(0, 16); - } else { - elem.innerHTML = dateString; - elem.dataset.dtvalue = dateString; - } - //elem.innerHTML = dateString; - // elem.dataset.dtvalue = dateString; - }, - err => console.log('Error occurred while getting date: ', err) - ); + if (value) date = moment(value, "YYYY/MM/DD HH:mm:ss").toDate(); + else date = new Date(); + this.datePicker + .show({ + date: date, + is24Hour: true, + mode: "datetime" + }) + .then( + date => { + let dateString: string = moment(date).format("YYYY/MM/DD HH:mm:ss"); + //remove seconds if the maximum size is 17 + if (maxSize == 17) { + elem.innerHTML = dateString.substring(0, 16); + elem.dataset.dtvalue = dateString.substring(0, 16); + } else { + elem.innerHTML = dateString; + elem.dataset.dtvalue = dateString; + } + //elem.innerHTML = dateString; + // elem.dataset.dtvalue = dateString; + }, + err => console.log("Error occurred while getting date: ", err) + ); } public showTimePicker(elemID, maxSize) { let elem = document.getElementById(elemID) as HTMLDivElement; @@ -319,34 +466,39 @@ export class AddEitComponent implements OnInit { } else { date = new Date(); } - this.datePicker.show({ - date: date, - is24Hour: true, - mode: 'time' - }).then( - date => { - let dateString: string = moment(date).format("HH:mm:ss"); - //remove seconds if the maximum size is 5 - if (maxSize == 5) { - elem.innerHTML = dateString.substring(0, 5); - elem.dataset.dtvalue = dateString.substring(0, 5); - } else { - elem.innerHTML = dateString; - elem.dataset.dtvalue = dateString; - } - }, - err => console.log('Error occurred while getting date: ', err) - ); + this.datePicker + .show({ + date: date, + is24Hour: true, + mode: "time" + }) + .then( + date => { + let dateString: string = moment(date).format("HH:mm:ss"); + //remove seconds if the maximum size is 5 + if (maxSize == 5) { + elem.innerHTML = dateString.substring(0, 5); + elem.dataset.dtvalue = dateString.substring(0, 5); + } else { + elem.innerHTML = dateString; + elem.dataset.dtvalue = dateString; + } + }, + err => console.log("Error occurred while getting date: ", err) + ); } fillDropdownList(segmentName, optionList: any = [], DV: any = "") { - let elemID: any = "" + let elemID: any = ""; let eitObj: any; if (optionList.length > 0) { for (let i = 0; i < this.eitResponse.length; i++) { if (this.eitResponse[i].SEGMENT_NAME == segmentName) { eitObj = this.eitResponse[i]; - if (this.eitResponse[i].READ_ONLY == 'Y' || this.eitResponse[i].DISPLAY_FLAG == 'N') { + if ( + this.eitResponse[i].READ_ONLY == "Y" || + this.eitResponse[i].DISPLAY_FLAG == "N" + ) { return false; } elemID = this.eitResponse[i].APPLICATION_COLUMN_NAME; @@ -360,19 +512,17 @@ export class AddEitComponent implements OnInit { // { // select.remove(i); // } - if (eitObj.IsEmptyOption && eitObj.REQUIRED_FLAG == 'N') { + if (eitObj.IsEmptyOption && eitObj.REQUIRED_FLAG == "N") { var firstoption = document.createElement("option"); firstoption.text = this.ts.trPK("general", "choose"); firstoption.value = ""; select.add(firstoption); } for (let i = 0; i < optionList.length; i++) { - var option = document.createElement("option"); option.text = optionList[i].VALUE_COLUMN_NAME; option.value = optionList[i].ID_COLUMN_NAME; select.add(option); - } if (select.dataset.hiddenval) { select.value = select.dataset.hiddenval; @@ -389,14 +539,13 @@ export class AddEitComponent implements OnInit { console.log(elem); console.log(obj); const elemType = elem.tagName; - let changeEvent = 'ionChange'; + let changeEvent = "ionChange"; - if (elemType == 'SELECT') - changeEvent = 'change'; + if (elemType == "SELECT") changeEvent = "change"; try { // elem.addEventListener("change", (e) => { - elem.addEventListener(changeEvent, (e) => { + elem.addEventListener(changeEvent, e => { //console.log("elem change "+elem.id); //let x=e.currentTarget as HTMLInputElement; //let isEmpty:boolean=false; @@ -404,7 +553,10 @@ export class AddEitComponent implements OnInit { // isEmpty=true; //emptyChildElement elem.classList.remove("requiredClassElm"); - if (obj.CHILD_SEGMENTS_VS_Splited && obj.CHILD_SEGMENTS_VS_Splited.length > 0) { + if ( + obj.CHILD_SEGMENTS_VS_Splited && + obj.CHILD_SEGMENTS_VS_Splited.length > 0 + ) { let listArray: any = obj.CHILD_SEGMENTS_VS_Splited; listArray.forEach(element => { //if(isEmpty) @@ -413,7 +565,10 @@ export class AddEitComponent implements OnInit { this.getValueSet(element); }); } - if (obj.CHILD_SEGMENTS_DV_Splited && obj.CHILD_SEGMENTS_DV_Splited.length > 0) { + if ( + obj.CHILD_SEGMENTS_DV_Splited && + obj.CHILD_SEGMENTS_DV_Splited.length > 0 + ) { let listArray: any = obj.CHILD_SEGMENTS_DV_Splited; listArray.forEach(element => { // if(isEmpty){ @@ -421,7 +576,14 @@ export class AddEitComponent implements OnInit { // }else{ for (let i = 0; i < this.eitResponse.length; i++) { if (this.eitResponse[i].SEGMENT_NAME == element) { - this.getDefaultValue(this.eitResponse[i], this.eitResponse[i].DESC_FLEX_NAME, this.eitResponse[i].DESC_FLEX_CONTEXT_CODE, this.eitResponse[i].SEGMENT_NAME, this.eitResponse[i].PARENT_SEGMENTS_VS_SplitedVS, this.eitResponse[i].PARENT_SEGMENTS_DV_Splited); + this.getDefaultValue( + this.eitResponse[i], + this.eitResponse[i].DESC_FLEX_NAME, + this.eitResponse[i].DESC_FLEX_CONTEXT_CODE, + this.eitResponse[i].SEGMENT_NAME, + this.eitResponse[i].PARENT_SEGMENTS_VS_SplitedVS, + this.eitResponse[i].PARENT_SEGMENTS_DV_Splited + ); } } // } @@ -435,7 +597,14 @@ export class AddEitComponent implements OnInit { } } - public getDefaultValue(obj, descFlexName, descFlexContextCode, segmentName, parentValue, ParentsList) { + public getDefaultValue( + obj, + descFlexName, + descFlexContextCode, + segmentName, + parentValue, + ParentsList + ) { let dependenciesList: any = []; let parentVal: any = null; let isStandardDate: boolean = false; @@ -443,48 +612,52 @@ export class AddEitComponent implements OnInit { let isStandardTime: boolean = false; let isHidden: boolean = false; let isReadOnlyList: boolean = false; + let isSelectElement: boolean = false; isStandardDate = this.isStandardDate(obj); isStandardTimeDate = this.isStandardDateTime(obj); isStandardTime = this.isStandardTime(obj); - if (obj.DISPLAY_FLAG == 'N') - isHidden = true; - if (obj.VALIDATION_TYPE != 'N' && obj.READ_ONLY == 'Y') { + if (obj.DISPLAY_FLAG == "N") isHidden = true; + if (obj.VALIDATION_TYPE != "N" && obj.READ_ONLY == "Y") { isReadOnlyList = true; } + if (obj.VALIDATION_TYPE != "N" && obj.READ_ONLY == "N") { + isSelectElement = true; + } //if(parentValue!=""){ parentVal= this.getDependenciesParams(parentValue)[0].ID_COLUMN_NAME;} //if(ParentsList!=""){dependenciesList =this.getDependenciesParams(ParentsList); } - if (parentValue != "" && (obj.VALIDATION_TYPE == 'D' || obj.VALIDATION_TYPE == 'Y')) { + if ( + parentValue != "" && + (obj.VALIDATION_TYPE == "D" || obj.VALIDATION_TYPE == "Y") + ) { let parvalue = this.getDependenciesParams(parentValue); - if (parvalue && parvalue[0]) - parentVal = parvalue[0].ID_COLUMN_NAME; + if (parvalue && parvalue[0]) parentVal = parvalue[0].ID_COLUMN_NAME; else { parentVal = null; } - if (!parentVal) { return false }; + if (!parentVal) { + return false; + } } if (ParentsList != "") { - if (parentValue) - ParentsList.concat(parentValue); + if (parentValue) ParentsList.concat(parentValue); dependenciesList = this.getDependenciesParams(ParentsList); - if (!dependenciesList) { return false }; + if (!dependenciesList) { + return false; + } } - //if (dependenciesList==false){return false}; const body = { - P_SELECTED_EMPLOYEE_NUMBER: this.selEmp, P_MENU_TYPE: this.menuType, - P_SELECTED_RESP_ID: this.respID,//-999, + P_SELECTED_RESP_ID: this.respID, //-999, P_DESC_FLEX_NAME: descFlexName, P_DESC_FLEX_CONTEXT_CODE: descFlexContextCode, P_SEGMENT_NAME: segmentName, P_PARENT_VALUE: parentVal, - GetValueSetValuesTBL: dependenciesList, - } - - + GetValueSetValuesTBL: dependenciesList + }; this.eitService.getDefaultValue(body).subscribe((result: any) => { let elem = this.getElementByName(segmentName); @@ -497,10 +670,10 @@ export class AddEitComponent implements OnInit { let val = obj.value; let text = obj.text; if (isStandardDate) { - console.log('isStandardDate'); + console.log("isStandardDate"); elem.value = this.cs.reverseFormatDate(val); } else if (isStandardTimeDate) { - console.log('isStandardTimeDate'); + console.log("isStandardTimeDate"); if (val) { elem.dataset.dtvalue = this.cs.reverseFormatStandardDate(val); elem.innerHTML = this.cs.reverseFormatStandardDate(val); @@ -509,7 +682,7 @@ export class AddEitComponent implements OnInit { elem.innerHTML = ""; } } else if (isStandardTime) { - console.log('isStandardTime'); + console.log("isStandardTime"); if (val) { elem.dataset.dtvalue = val; elem.innerHTML = val; @@ -518,26 +691,40 @@ export class AddEitComponent implements OnInit { elem.innerHTML = ""; } } else { - console.log('else - ' + elem.value); + if (isSelectElement) { + let elem = this.getSelectElementByName(segmentName); + elem = document.getElementById(elem), + alert(elem.length); + // var firstoption = document.createElement("option"); + // firstoption.text = text; + // firstoption.value = val; + // elem.add(firstoption); + elem.value = val; + //elem.text=text; + + }else{ + console.log("else - " + elem.value); elem.value = val; elem.innerText = text; - elem.setAttribute('value', val); - console.log('else - ' + elem.value); + elem.setAttribute("value", val); + console.log("else - " + elem.value); + } } if (isHidden || isReadOnlyList) { - if (val) - elem.dataset.colmText = val; - else - elem.dataset.colmText = ""; + if (val) elem.dataset.colmText = val; + else elem.dataset.colmText = ""; elem.value = text; } - var event = new Event('ionChange'); + var event = new Event("ionChange"); elem.dispatchEvent(event); }); } handleDefaultValueResult(result) { - let data = { text: result.GetDefaultValueList.P_VALUE_COLUMN_NAME, value: result.GetDefaultValueList.P_ID_COLUMN_NAME } + let data = { + text: result.GetDefaultValueList.P_VALUE_COLUMN_NAME, + value: result.GetDefaultValueList.P_ID_COLUMN_NAME + }; return data; } @@ -552,12 +739,18 @@ export class AddEitComponent implements OnInit { for (let i = 0; i < this.eitResponse.length; i++) { if (this.eitResponse[i].SEGMENT_NAME == parentValue[0].Name) { if (this.eitResponse[i].VALIDATION_TYPE == "N") { - let val = (document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME) as HTMLInputElement).value; + let val = (document.getElementById( + this.eitResponse[i].APPLICATION_COLUMN_NAME + ) as HTMLInputElement).value; return val; } else { - let x = (document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME)) as HTMLSelectElement; + let x = document.getElementById( + this.eitResponse[i].APPLICATION_COLUMN_NAME + ) as HTMLSelectElement; if (x.options.length > 0) { - let val = x.options[x.selectedIndex] ? x.options[x.selectedIndex].value : null; + let val = x.options[x.selectedIndex] + ? x.options[x.selectedIndex].value + : null; return val; } else { return ""; @@ -571,9 +764,8 @@ export class AddEitComponent implements OnInit { } public getValueSet(segmentName) { - let descFlexName: any = ""; - let descFlexContextCode: any = "" + let descFlexContextCode: any = ""; let parentValue: any = []; let ParentsList: any = []; let parentVal: any = null; @@ -592,18 +784,24 @@ export class AddEitComponent implements OnInit { } if (parentValue != "" && (validationType == "D" || validationType == "Y")) { let parvalue = this.getDependenciesParams(parentValue); - if (parvalue && parvalue[0]) - parentVal = parvalue[0].ID_COLUMN_NAME; + if (parvalue && parvalue[0]) parentVal = parvalue[0].ID_COLUMN_NAME; else { parentVal = null; } - if (!parentVal) { return false }; + if (!parentVal) { + return false; + } + } + if (ParentsList != "") { + dependenciesList = this.getDependenciesParams(ParentsList); + if (!dependenciesList) { + return false; + } } - if (ParentsList != "") { dependenciesList = this.getDependenciesParams(ParentsList); if (!dependenciesList) { return false }; } const body = { P_SELECTED_EMPLOYEE_NUMBER: this.selEmp, P_MENU_TYPE: this.menuType, - P_SELECTED_RESP_ID: this.respID,//-999, + P_SELECTED_RESP_ID: this.respID, //-999, P_DESC_FLEX_NAME: descFlexName, P_DESC_FLEX_CONTEXT_CODE: descFlexContextCode, P_SEGMENT_NAME: segmentName, @@ -611,7 +809,7 @@ export class AddEitComponent implements OnInit { GetValueSetValuesTBL: dependenciesList, P_PAGE_NUM: 1, P_PAGE_LIMIT: 1000 - } + }; this.eitService.getSetValue(body).subscribe((result: any) => { if (result.GetValueSetValuesList != null) { @@ -627,14 +825,23 @@ export class AddEitComponent implements OnInit { for (let i = 0; i < parentsList.length; i++) { for (let j = 0; j < this.eitResponse.length; j++) { if (this.eitResponse[j].SEGMENT_NAME == parentsList[i].Name) { - if (this.eitResponse[j].DISPLAY_FLAG != 'N') { + if (this.eitResponse[j].DISPLAY_FLAG != "N") { if (this.eitResponse[j].VALIDATION_TYPE == "N") { let idColName: string; let val: any; - if (this.eitResponse[j].FORMAT_TYPE == "Y" || this.eitResponse[j].FORMAT_TYPE == "I") {//standard date time or //time - let elem = document.getElementById(this.eitResponse[j].APPLICATION_COLUMN_NAME) as HTMLDivElement; + if ( + this.eitResponse[j].FORMAT_TYPE == "Y" || + this.eitResponse[j].FORMAT_TYPE == "I" + ) { + //standard date time or //time + let elem = document.getElementById( + this.eitResponse[j].APPLICATION_COLUMN_NAME + ) as HTMLDivElement; val = elem.dataset.dtvalue; - if ((val == undefined || val == "") && parentsList[i].IsRequired == "REQUIRED") { + if ( + (val == undefined || val == "") && + parentsList[i].IsRequired == "REQUIRED" + ) { //alert(parentsList[i].Name +" Is required"); return false; } @@ -642,60 +849,116 @@ export class AddEitComponent implements OnInit { if (this.eitResponse[j].FORMAT_TYPE == "Y") idColName = this.cs.formatStandardDate(val); } else { - val = (document.getElementById(this.eitResponse[j].APPLICATION_COLUMN_NAME) as HTMLInputElement).value; - if ((val == undefined || val == "") && parentsList[i].IsRequired == "REQUIRED") { + val = (document.getElementById( + this.eitResponse[j].APPLICATION_COLUMN_NAME + ) as HTMLInputElement).value; + if ( + (val == undefined || val == "") && + parentsList[i].IsRequired == "REQUIRED" + ) { //alert(parentsList[i].Name +" Is required"); return false; } idColName = val; - if (this.eitResponse[j].FORMAT_TYPE == "X") {//date + if (this.eitResponse[j].FORMAT_TYPE == "X") { + //date // idColName = this.cs.formatDate(val); idColName = this.cs.formatDateNew(val); } } - parentArr.push({ SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, VALUE_COLUMN_NAME: val, DESCRIPTION: "", ID_COLUMN_NAME: idColName, FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME }) + parentArr.push({ + SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, + VALUE_COLUMN_NAME: val, + DESCRIPTION: "", + ID_COLUMN_NAME: idColName, + FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME + }); break; } else { - if (this.eitResponse[j].READ_ONLY != 'Y') { - let x = (document.getElementById(this.eitResponse[j].APPLICATION_COLUMN_NAME)) as HTMLSelectElement; - let text = x.options[x.selectedIndex] ? x.options[x.selectedIndex].text : ""; - let val = x.options[x.selectedIndex] ? x.options[x.selectedIndex].value : undefined; - if ((val == undefined || val == "") && parentsList[i].IsRequired == "REQUIRED") { + if (this.eitResponse[j].READ_ONLY != "Y") { + let x = document.getElementById( + this.eitResponse[j].APPLICATION_COLUMN_NAME + ) as HTMLSelectElement; + let text = x.options[x.selectedIndex] + ? x.options[x.selectedIndex].text + : ""; + let val = x.options[x.selectedIndex] + ? x.options[x.selectedIndex].value + : undefined; + if ( + (val == undefined || val == "") && + parentsList[i].IsRequired == "REQUIRED" + ) { //alert(parentsList[i].Name +" Is required"); return false; - } else { } - if (text == undefined) { text = ""; } - parentArr.push({ SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, VALUE_COLUMN_NAME: text, DESCRIPTION: "", ID_COLUMN_NAME: val, FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME }) + } else { + } + if (text == undefined) { + text = ""; + } + parentArr.push({ + SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, + VALUE_COLUMN_NAME: text, + DESCRIPTION: "", + ID_COLUMN_NAME: val, + FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME + }); break; } else { - let x = (document.getElementById(this.eitResponse[j].APPLICATION_COLUMN_NAME)) as HTMLInputElement; + let x = document.getElementById( + this.eitResponse[j].APPLICATION_COLUMN_NAME + ) as HTMLInputElement; let text = x.value; let val = x.dataset.colmText; - if ((val == undefined || val == "") && parentsList[i].IsRequired == "REQUIRED") { + if ( + (val == undefined || val == "") && + parentsList[i].IsRequired == "REQUIRED" + ) { //alert(parentsList[i].Name +" Is required"); return false; - } else { } - if (text == undefined) { text = ""; } - parentArr.push({ SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, VALUE_COLUMN_NAME: text, DESCRIPTION: "", ID_COLUMN_NAME: val, FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME }) + } else { + } + if (text == undefined) { + text = ""; + } + parentArr.push({ + SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, + VALUE_COLUMN_NAME: text, + DESCRIPTION: "", + ID_COLUMN_NAME: val, + FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME + }); break; } } } else { - let x = (document.getElementById(this.eitResponse[j].APPLICATION_COLUMN_NAME)) as HTMLInputElement; + let x = document.getElementById( + this.eitResponse[j].APPLICATION_COLUMN_NAME + ) as HTMLInputElement; let text = x.value; let val = x.dataset.colmText; - if ((val == undefined || val == "") && parentsList[i].IsRequired == "REQUIRED") { + if ( + (val == undefined || val == "") && + parentsList[i].IsRequired == "REQUIRED" + ) { //alert(parentsList[i].Name +" Is required"); return false; - } else { } - if (text == undefined) { text = ""; } - parentArr.push({ SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, VALUE_COLUMN_NAME: text, DESCRIPTION: "", ID_COLUMN_NAME: val, FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME }) + } else { + } + if (text == undefined) { + text = ""; + } + parentArr.push({ + SEGMENT_NAME: this.eitResponse[j].SEGMENT_NAME, + VALUE_COLUMN_NAME: text, + DESCRIPTION: "", + ID_COLUMN_NAME: val, + FLEX_VALUE_SET_NAME: this.eitResponse[j].FLEX_VALUE_SET_NAME + }); break; } - } } - } return parentArr; } @@ -704,13 +967,13 @@ export class AddEitComponent implements OnInit { let elem = this.getElementByName(segmentName); elem.value = null; elem.innerHTML = ""; - if (("dtvalue" in elem.dataset)) { + if ("dtvalue" in elem.dataset) { elem.dataset.dtvalue = ""; } - if (("colmText" in elem.dataset)) { + if ("colmText" in elem.dataset) { elem.dataset.colmText = ""; } - var event = new Event('change'); + var event = new Event("change"); elem.dispatchEvent(event); elem.classList.remove("requiredClassElm"); } @@ -718,7 +981,9 @@ export class AddEitComponent implements OnInit { getRequiredFilds() { for (let i = 0; i < this.eitResponse.length; i++) { if (this.eitResponse[i].REQUIRED_FLAG == "Y") { - let elemVal = (document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME) as HTMLInputElement).value; + let elemVal = (document.getElementById( + this.eitResponse[i].APPLICATION_COLUMN_NAME + ) as HTMLInputElement).value; if (elemVal == "") { //alert(this.eitResponse[i].SEGMENT_NAME+" is required"); break; @@ -728,7 +993,7 @@ export class AddEitComponent implements OnInit { } getElementByName(segmentName) { - let elemID: any = "" + let elemID: any = ""; for (let i = 0; i < this.eitResponse.length; i++) { if (this.eitResponse[i].SEGMENT_NAME == segmentName) { elemID = this.eitResponse[i].APPLICATION_COLUMN_NAME; @@ -738,10 +1003,28 @@ export class AddEitComponent implements OnInit { return document.getElementById(elemID) as HTMLInputElement; } + getSelectElementByName(segmentName) { + let elemID: any = ""; + for (let i = 0; i < this.eitResponse.length; i++) { + if (this.eitResponse[i].SEGMENT_NAME == segmentName) { + elemID = this.eitResponse[i].APPLICATION_COLUMN_NAME; + break; + } + } + return elemID; + } + isStandardDate(obj: any): boolean { let isSt: boolean = false; - if (obj.FORMAT_TYPE == "X") {// standard date - if (obj.DEFAULT_TYPE == "C" || obj.DEFAULT_TYPE == "D" || obj.DEFAULT_TYPE == "P" || obj.DEFAULT_TYPE == "S") {//constant + if (obj.FORMAT_TYPE == "X") { + // standard date + if ( + obj.DEFAULT_TYPE == "C" || + obj.DEFAULT_TYPE == "D" || + obj.DEFAULT_TYPE == "P" || + obj.DEFAULT_TYPE == "S" + ) { + //constant isSt = true; } } @@ -749,8 +1032,15 @@ export class AddEitComponent implements OnInit { } isStandardDateTime(obj: any): boolean { let isSt: boolean = false; - if (obj.FORMAT_TYPE == "Y") {// standard date time - if (obj.DEFAULT_TYPE == "C" || obj.DEFAULT_TYPE == "D" || obj.DEFAULT_TYPE == "P" || obj.DEFAULT_TYPE == "S") {//constant + if (obj.FORMAT_TYPE == "Y") { + // standard date time + if ( + obj.DEFAULT_TYPE == "C" || + obj.DEFAULT_TYPE == "D" || + obj.DEFAULT_TYPE == "P" || + obj.DEFAULT_TYPE == "S" + ) { + //constant isSt = true; } } @@ -758,8 +1048,15 @@ export class AddEitComponent implements OnInit { } isStandardTime(obj: any): boolean { let isSt: boolean = false; - if (obj.FORMAT_TYPE == "I") {// standard date time - if (obj.DEFAULT_TYPE == "C" || obj.DEFAULT_TYPE == "D" || obj.DEFAULT_TYPE == "P" || obj.DEFAULT_TYPE == "S") {//constant + if (obj.FORMAT_TYPE == "I") { + // standard date time + if ( + obj.DEFAULT_TYPE == "C" || + obj.DEFAULT_TYPE == "D" || + obj.DEFAULT_TYPE == "P" || + obj.DEFAULT_TYPE == "S" + ) { + //constant isSt = true; } } @@ -768,7 +1065,8 @@ export class AddEitComponent implements OnInit { isStandardDateVal(obj: any): boolean { let isSt: boolean = false; - if (obj.FORMAT_TYPE == "X") {// standard date + if (obj.FORMAT_TYPE == "X") { + // standard date // if(obj.DEFAULT_TYPE=="C" || obj.DEFAULT_TYPE=="D" || obj.DEFAULT_TYPE=="P"||obj.DEFAULT_TYPE=="S"){//constant isSt = true; // } @@ -777,7 +1075,8 @@ export class AddEitComponent implements OnInit { } isStandardDateTimeVal(obj: any): boolean { let isSt: boolean = false; - if (obj.FORMAT_TYPE == "Y") {// standard date time + if (obj.FORMAT_TYPE == "Y") { + // standard date time //if(obj.DEFAULT_TYPE=="C" || obj.DEFAULT_TYPE=="D" || obj.DEFAULT_TYPE=="P"||obj.DEFAULT_TYPE=="S"){//constant isSt = true; //} @@ -786,7 +1085,8 @@ export class AddEitComponent implements OnInit { } isStandardTimeVal(obj: any): boolean { let isSt: boolean = false; - if (obj.FORMAT_TYPE == "I") {// standard time + if (obj.FORMAT_TYPE == "I") { + // standard time //if(obj.DEFAULT_TYPE=="C" || obj.DEFAULT_TYPE=="D" || obj.DEFAULT_TYPE=="P"||obj.DEFAULT_TYPE=="S"){//constant isSt = true; //} @@ -804,11 +1104,17 @@ export class AddEitComponent implements OnInit { val = this.validateEitObj[i].DATE_VALUE; else if (this.validateEitObj[i].NUMBER_VALUE) val = this.validateEitObj[i].NUMBER_VALUE; - const elem = document.getElementById(this.validateEitObj[i].APPLICATION_COLUMN_NAME) as HTMLInputElement; + const elem = document.getElementById( + this.validateEitObj[i].APPLICATION_COLUMN_NAME + ) as HTMLInputElement; //obj.transactionNo=this.validateEitObj[i].TRANSACTION_NUMBER; if (elem) { if (val) { - let feldDetails = this.eitResponse.find(x => x.APPLICATION_COLUMN_NAME == this.validateEitObj[i].APPLICATION_COLUMN_NAME); + let feldDetails = this.eitResponse.find( + x => + x.APPLICATION_COLUMN_NAME == + this.validateEitObj[i].APPLICATION_COLUMN_NAME + ); if (feldDetails) { let isStandardDate = this.isStandardDateVal(feldDetails); let isStandardDateTime = this.isStandardDateTimeVal(feldDetails); @@ -823,16 +1129,23 @@ export class AddEitComponent implements OnInit { elem.dataset.dtvalue = val; } else { elem.value = val; - elem.setAttribute('value', elem.value); + elem.setAttribute("value", elem.value); } - if ((feldDetails.DISPLAY_FLAG == 'N') || (feldDetails.VALIDATION_TYPE != "N" && feldDetails.READ_ONLY == 'Y')) { + if ( + feldDetails.DISPLAY_FLAG == "N" || + (feldDetails.VALIDATION_TYPE != "N" && + feldDetails.READ_ONLY == "Y") + ) { elem.dataset.colmText = val; elem.value = this.validateEitObj[i].SEGMENT_VALUE_DSP; - elem.setAttribute('value', elem.value); + elem.setAttribute("value", elem.value); } } - elem.dataset.hiddenval = val;//hide the value to set it after calling get value set - if (feldDetails.CHILD_SEGMENTS_VS_Splited && feldDetails.CHILD_SEGMENTS_VS_Splited.length > 0) { + elem.dataset.hiddenval = val; //hide the value to set it after calling get value set + if ( + feldDetails.CHILD_SEGMENTS_VS_Splited && + feldDetails.CHILD_SEGMENTS_VS_Splited.length > 0 + ) { let listArray: any = feldDetails.CHILD_SEGMENTS_VS_Splited; listArray.forEach(element => { this.getValueSet(element); @@ -842,9 +1155,14 @@ export class AddEitComponent implements OnInit { // elem.dispatchEvent(event); } } else { - if (this.validateEitObj[i].APPLICATION_COLUMN_NAME == "PEI_OBJECT_VERSION_NUMBER") + if ( + this.validateEitObj[i].APPLICATION_COLUMN_NAME == + "PEI_OBJECT_VERSION_NUMBER" + ) obj.peiObjVer = this.validateEitObj[i].NUMBER_VALUE; - else if (this.validateEitObj[i].APPLICATION_COLUMN_NAME == "PEI_EXTRA_INFO_ID") + else if ( + this.validateEitObj[i].APPLICATION_COLUMN_NAME == "PEI_EXTRA_INFO_ID" + ) obj.peiExtraInfoID = this.validateEitObj[i].NUMBER_VALUE; } } @@ -852,7 +1170,7 @@ export class AddEitComponent implements OnInit { } public getElementsValues(): any { - this.updatedValues = [];//fill updated list + this.updatedValues = []; //fill updated list let valuseArr: any = []; let varcharValue: any = null; let numbervalue: any = 0; @@ -867,22 +1185,42 @@ export class AddEitComponent implements OnInit { dateValue = null; /*********set transaction No of the updated object ********/ if (this.getPassdirfromNotifiPage) { - let updatedObj = this.validateEitObj.find(x => x.APPLICATION_COLUMN_NAME == this.eitResponse[i].APPLICATION_COLUMN_NAME); + let updatedObj = this.validateEitObj.find( + x => + x.APPLICATION_COLUMN_NAME == + this.eitResponse[i].APPLICATION_COLUMN_NAME + ); let y = updatedObj; transNo = y.TRANSACTION_NUMBER; // set the transaction number for all items in the updated loop } if (this.eitResponse[i].DISPLAY_FLAG != "N") { if (this.eitResponse[i].VALIDATION_TYPE == "N") { - let elem = document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME) as HTMLInputElement; - let elemVal = (document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME) as HTMLInputElement).value; + let elem = document.getElementById( + this.eitResponse[i].APPLICATION_COLUMN_NAME + ) as HTMLInputElement; + let elemVal = (document.getElementById( + this.eitResponse[i].APPLICATION_COLUMN_NAME + ) as HTMLInputElement).value; textValue = elemVal; //let elemVal= (document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME)).value; - if (this.eitResponse[i].FORMAT_TYPE == "X" && this.eitResponse[i].DISPLAY_FLAG != "N") {//date + if ( + this.eitResponse[i].FORMAT_TYPE == "X" && + this.eitResponse[i].DISPLAY_FLAG != "N" + ) { + //date elemVal = this.cs.formatDate(elemVal); - } else if (this.eitResponse[i].FORMAT_TYPE == "Y" && this.eitResponse[i].DISPLAY_FLAG != "N") {//standard date time + } else if ( + this.eitResponse[i].FORMAT_TYPE == "Y" && + this.eitResponse[i].DISPLAY_FLAG != "N" + ) { + //standard date time elemVal = elem.dataset.dtvalue; elemVal = this.cs.formatStandardDate(elemVal); - } else if (this.eitResponse[i].FORMAT_TYPE == "I" && this.eitResponse[i].DISPLAY_FLAG != "N") {//time + } else if ( + this.eitResponse[i].FORMAT_TYPE == "I" && + this.eitResponse[i].DISPLAY_FLAG != "N" + ) { + //time elemVal = elem.dataset.dtvalue; } if (this.eitResponse[i].REQUIRED_FLAG == "Y" && !elemVal) { @@ -892,28 +1230,30 @@ export class AddEitComponent implements OnInit { } else { elem.classList.remove("requiredClassElm"); } - if (elemVal) - varcharValue = elemVal; - valuseArr.push( - { - TRANSACTION_NUMBER: transNo, - NAME: this.eitResponse[i].APPLICATION_COLUMN_NAME, - VARCHAR2_VALUE: varcharValue, - NUMBER_VALUE: numbervalue, - DATE_VALUE: dateValue - } - ) - } - else { - let x = (document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME)) as HTMLSelectElement; - if (this.eitResponse[i].READ_ONLY == 'Y') { + if (elemVal) varcharValue = elemVal; + valuseArr.push({ + TRANSACTION_NUMBER: transNo, + NAME: this.eitResponse[i].APPLICATION_COLUMN_NAME, + VARCHAR2_VALUE: varcharValue, + NUMBER_VALUE: numbervalue, + DATE_VALUE: dateValue + }); + } else { + let x = document.getElementById( + this.eitResponse[i].APPLICATION_COLUMN_NAME + ) as HTMLSelectElement; + if (this.eitResponse[i].READ_ONLY == "Y") { let text = x.value; let val = x.dataset.colmText; varcharValue = val; textValue = text; } else { - let val = x.options[x.selectedIndex] ? x.options[x.selectedIndex].value : null; - let txt = x.options[x.selectedIndex] ? x.options[x.selectedIndex].text : null; + let val = x.options[x.selectedIndex] + ? x.options[x.selectedIndex].value + : null; + let txt = x.options[x.selectedIndex] + ? x.options[x.selectedIndex].text + : null; varcharValue = val; textValue = txt; } @@ -925,18 +1265,18 @@ export class AddEitComponent implements OnInit { x.classList.remove("requiredClassElm"); } - valuseArr.push( - { - TRANSACTION_NUMBER: transNo, - NAME: this.eitResponse[i].APPLICATION_COLUMN_NAME, - VARCHAR2_VALUE: varcharValue, - NUMBER_VALUE: numbervalue, - DATE_VALUE: dateValue - } - ); - }//end else + valuseArr.push({ + TRANSACTION_NUMBER: transNo, + NAME: this.eitResponse[i].APPLICATION_COLUMN_NAME, + VARCHAR2_VALUE: varcharValue, + NUMBER_VALUE: numbervalue, + DATE_VALUE: dateValue + }); + } //end else } else { - let x = (document.getElementById(this.eitResponse[i].APPLICATION_COLUMN_NAME)) as HTMLSelectElement; + let x = document.getElementById( + this.eitResponse[i].APPLICATION_COLUMN_NAME + ) as HTMLSelectElement; let val = x.dataset.colmText; textValue = x.value; if (this.eitResponse[i].REQUIRED_FLAG == "Y" && !val) { @@ -946,21 +1286,22 @@ export class AddEitComponent implements OnInit { } else { x.classList.remove("requiredClassElm"); } - if (val) - varcharValue = val; - valuseArr.push( - { - TRANSACTION_NUMBER: transNo, - NAME: this.eitResponse[i].APPLICATION_COLUMN_NAME, - VARCHAR2_VALUE: varcharValue, - NUMBER_VALUE: numbervalue, - DATE_VALUE: dateValue - } - ); + if (val) varcharValue = val; + valuseArr.push({ + TRANSACTION_NUMBER: transNo, + NAME: this.eitResponse[i].APPLICATION_COLUMN_NAME, + VARCHAR2_VALUE: varcharValue, + NUMBER_VALUE: numbervalue, + DATE_VALUE: dateValue + }); } if (this.getPassdirfromNotifiPage) { - let updatedObj = this.validateEitObj.find(x => x.APPLICATION_COLUMN_NAME == this.eitResponse[i].APPLICATION_COLUMN_NAME); + let updatedObj = this.validateEitObj.find( + x => + x.APPLICATION_COLUMN_NAME == + this.eitResponse[i].APPLICATION_COLUMN_NAME + ); let y = updatedObj; y.VARCHAR2_VALUE = varcharValue; y.NUMBER_VALUE = numbervalue; @@ -970,7 +1311,11 @@ export class AddEitComponent implements OnInit { this.updatedValues.push(y); } else { if (this.validateEitObj && this.eitSubmitAction == EIT_ACTION.UPDATE) { - let updatedObj = this.validateEitObj.find(x => x.APPLICATION_COLUMN_NAME == this.eitResponse[i].APPLICATION_COLUMN_NAME); + let updatedObj = this.validateEitObj.find( + x => + x.APPLICATION_COLUMN_NAME == + this.eitResponse[i].APPLICATION_COLUMN_NAME + ); let y = updatedObj; y.VARCHAR2_VALUE = varcharValue; y.NUMBER_VALUE = numbervalue; @@ -985,7 +1330,8 @@ export class AddEitComponent implements OnInit { NUMBER_VALUE: numbervalue, DATE_VALUE: dateValue, SEGMENT_VALUE_DSP: textValue, - APPLICATION_COLUMN_NAME: this.eitResponse[i].APPLICATION_COLUMN_NAME, + APPLICATION_COLUMN_NAME: this.eitResponse[i] + .APPLICATION_COLUMN_NAME, DATATYPE: this.eitResponse[i].DATATYPE, DESC_FLEX_CONTEXT_CODE: this.eitResponse[i].DESC_FLEX_CONTEXT_CODE, DESC_FLEX_NAME: this.eitResponse[i].DESC_FLEX_NAME, @@ -997,30 +1343,72 @@ export class AddEitComponent implements OnInit { this.updatedValues.push(y); } } - }// end for + } // end for if (this.getPassdirfromNotifiPage) { - let updatedObj1 = this.validateEitObj.find(x => x.APPLICATION_COLUMN_NAME === "PEI_ACTION"); - let updatedObj2 = this.validateEitObj.find(x => x.APPLICATION_COLUMN_NAME === "PEI_EXTRA_INFO_ID"); - let updatedObj3 = this.validateEitObj.find(x => x.APPLICATION_COLUMN_NAME === "PEI_OBJECT_VERSION_NUMBER"); + let updatedObj1 = this.validateEitObj.find( + x => x.APPLICATION_COLUMN_NAME === "PEI_ACTION" + ); + let updatedObj2 = this.validateEitObj.find( + x => x.APPLICATION_COLUMN_NAME === "PEI_EXTRA_INFO_ID" + ); + let updatedObj3 = this.validateEitObj.find( + x => x.APPLICATION_COLUMN_NAME === "PEI_OBJECT_VERSION_NUMBER" + ); this.updatedValues.push(updatedObj1); this.updatedValues.push(updatedObj2); this.updatedValues.push(updatedObj3); - valuseArr = this.fillExtraInformation(valuseArr, updatedObj1.VARCHAR2_VALUE, updatedObj2.NUMBER_VALUE, updatedObj3.NUMBER_VALUE, transNo); + valuseArr = this.fillExtraInformation( + valuseArr, + updatedObj1.VARCHAR2_VALUE, + updatedObj2.NUMBER_VALUE, + updatedObj3.NUMBER_VALUE, + transNo + ); } else { if (this.eitSubmitAction == EIT_ACTION.ADD) { - this.updatedValues = this.fillExtraValuesUpdated(this.updatedValues, "NEW_ROW", -1, 0, transNo); - valuseArr = this.fillExtraInformation(valuseArr, "NEW_ROW", -1, 0, transNo); + this.updatedValues = this.fillExtraValuesUpdated( + this.updatedValues, + "NEW_ROW", + -1, + 0, + transNo + ); + valuseArr = this.fillExtraInformation( + valuseArr, + "NEW_ROW", + -1, + 0, + transNo + ); } else if (this.eitSubmitAction == EIT_ACTION.UPDATE) { - valuseArr = this.fillExtraInformation(valuseArr, "UPDATE_ROW", this.ExtraObj.peiExtraInfoID, this.ExtraObj.peiObjVer, transNo); + valuseArr = this.fillExtraInformation( + valuseArr, + "UPDATE_ROW", + this.ExtraObj.peiExtraInfoID, + this.ExtraObj.peiObjVer, + transNo + ); } else if (this.eitSubmitAction == EIT_ACTION.DELETE) { - valuseArr = this.fillExtraInformation(valuseArr, "DELETE_ROW", this.ExtraObj.peiExtraInfoID, this.ExtraObj.peiObjVer, transNo); + valuseArr = this.fillExtraInformation( + valuseArr, + "DELETE_ROW", + this.ExtraObj.peiExtraInfoID, + this.ExtraObj.peiObjVer, + transNo + ); } } return valuseArr; - }// end getElementsValues - - fillExtraValuesUpdated(values: any, peiAction: string, peiExtraInfoID: number, peiObjVer: number, transNo: number): any { + } // end getElementsValues + + fillExtraValuesUpdated( + values: any, + peiAction: string, + peiExtraInfoID: number, + peiObjVer: number, + transNo: number + ): any { let obj1 = { TRANSACTION_NUMBER: transNo, VARCHAR2_VALUE: peiAction, @@ -1048,7 +1436,7 @@ export class AddEitComponent implements OnInit { DISPLAY_FLAG: "N", SEGMENT_NAME: "", SEGMENT_PROMPT: "" - } + }; let obj3 = { APPLICATION_COLUMN_NAME: "PEI_EXTRA_INFO_ID", DATATYPE: "NUMBER", @@ -1062,46 +1450,51 @@ export class AddEitComponent implements OnInit { SEGMENT_VALUE_DSP: "", TRANSACTION_NUMBER: transNo, VARCHAR2_VALUE: null - } + }; values.push(obj1); values.push(obj2); values.push(obj3); return values; } - fillExtraInformation(values: any, peiAction: string, peiExtraInfoID: number, peiObjVer: number, transNo: number): any { - values.push( - { - TRANSACTION_NUMBER: transNo, - NAME: "PEI_ACTION", - VARCHAR2_VALUE: peiAction, - NUMBER_VALUE: null, - DATE_VALUE: null - }); - values.push( - { - TRANSACTION_NUMBER: transNo, - NAME: "PEI_EXTRA_INFO_ID", - VARCHAR2_VALUE: null, - NUMBER_VALUE: peiExtraInfoID, - DATE_VALUE: null - }); - values.push( - { - TRANSACTION_NUMBER: transNo, - NAME: "PEI_OBJECT_VERSION_NUMBER", - VARCHAR2_VALUE: null, - NUMBER_VALUE: peiObjVer, - DATE_VALUE: null - }); + fillExtraInformation( + values: any, + peiAction: string, + peiExtraInfoID: number, + peiObjVer: number, + transNo: number + ): any { + values.push({ + TRANSACTION_NUMBER: transNo, + NAME: "PEI_ACTION", + VARCHAR2_VALUE: peiAction, + NUMBER_VALUE: null, + DATE_VALUE: null + }); + values.push({ + TRANSACTION_NUMBER: transNo, + NAME: "PEI_EXTRA_INFO_ID", + VARCHAR2_VALUE: null, + NUMBER_VALUE: peiExtraInfoID, + DATE_VALUE: null + }); + values.push({ + TRANSACTION_NUMBER: transNo, + NAME: "PEI_OBJECT_VERSION_NUMBER", + VARCHAR2_VALUE: null, + NUMBER_VALUE: peiObjVer, + DATE_VALUE: null + }); return values; } submitEit() { let list = this.eitRequest.EITTransactionTBL; this.eitRequest.EITTransactionTBL = this.fixTransactionNo(list); - this.eitService.submitEit(this.eitRequest).subscribe((result: AddEitResponse) => { - this.handleSubmitEitResult(result); - }); + this.eitService + .submitEit(this.eitRequest) + .subscribe((result: AddEitResponse) => { + this.handleSubmitEitResult(result); + }); } fixTransactionNo(transactionTBL: any): any[] { @@ -1134,7 +1527,10 @@ export class AddEitComponent implements OnInit { } handleSubmitEitResult(result) { if (this.cs.validResponse(result)) { - this.cs.sharedService.setSharedData(this.eitRequest, EitRequest.SHARED_DATA); + this.cs.sharedService.setSharedData( + this.eitRequest, + EitRequest.SHARED_DATA + ); this.cs.sharedService.setSharedData(result, AddEitResponse.SHARED_DATA); //this.addrespList=result.SubmitEITTransactionList; // this.itemKey=this.addrespList.P_ITEM_KEY; @@ -1144,7 +1540,10 @@ export class AddEitComponent implements OnInit { // // this.sharedData.setSharedData(result.SubmitEITTransactionList.P_TRANSACTION_ID,"TransactionIDResubmit"); // // this.sharedData.setSharedData(this.eitRequest,EitRequest.SHARED_DATA); - this.cs.sharedService.setSharedData({ isResubmit: false }, 'confirmAddEITData') + this.cs.sharedService.setSharedData( + { isResubmit: false }, + "confirmAddEITData" + ); this.cs.openConfirmEitPage(); // this.navCtrl.push("ConfirmAddEitPage", { isResubmit: false }); } @@ -1157,22 +1556,27 @@ export class AddEitComponent implements OnInit { this.eitRequest = { P_SELECTED_EMPLOYEE_NUMBER: this.selEmp, P_MENU_TYPE: this.menuType, - P_SELECTED_RESP_ID: this.respID,//this.selMenu.List_Menu.RESP_ID,//-999, + P_SELECTED_RESP_ID: this.respID, //this.selMenu.List_Menu.RESP_ID,//-999, P_FUNCTION_NAME: this.functionName, P_DESC_FLEX_CONTEXT_CODE: this.eitResponse[0].DESC_FLEX_CONTEXT_CODE, EITTransactionTBL: this.arrValues - } + }; - this.eitService.validateEITTransaction(this.eitRequest).subscribe((result: any) => { - this.handleEITValidateTr(result); - }); + this.eitService + .validateEITTransaction(this.eitRequest) + .subscribe((result: any) => { + this.handleEITValidateTr(result); + }); } } private handleEITValidateTr(result) { let data: any = { eitRequest: {}, updated: [] }; if (this.cs.validResponse(result)) { // public static SHARED_DATA = 'login-request'; - this.cs.sharedService.setSharedData(this.eitRequest, EitRequest.SHARED_DATA); + this.cs.sharedService.setSharedData( + this.eitRequest, + EitRequest.SHARED_DATA + ); if (this.getPassdirfromNotifiPage) { let data: any = { eitRequest: {}, updated: [] }; data.eitRequest = this.eitRequest; @@ -1192,5 +1596,4 @@ export class AddEitComponent implements OnInit { data = { eitRequest: {}, updated: [] }; } } - } diff --git a/Mohem/src/app/hmg-common/hmg-common.module.ts b/Mohem/src/app/hmg-common/hmg-common.module.ts index 575ea4b1..082181be 100644 --- a/Mohem/src/app/hmg-common/hmg-common.module.ts +++ b/Mohem/src/app/hmg-common/hmg-common.module.ts @@ -54,7 +54,7 @@ import { GuidService } from './services/guid/guid.service'; import { TabsBarComponent } from './ui/tabs-bar/tabs-bar.component'; import { PageTrailerComponent } from './ui/spacer/page-trailer/page-trailer.component'; //import { GeofencingService } from './services/geofencing/geofencing.service'; -import { BackgroundGeolocation } from '@ionic-native/background-geolocation/ngx'; +// import { BackgroundGeolocation } from '@ionic-native/background-geolocation/ngx'; import { ButtonComponent } from './ui/button/button.component'; import { ToolbarButtonComponent } from './ui/toolbar-button/toolbar-button.component'; import { ListboxModule } from 'primeng/listbox'; @@ -235,7 +235,7 @@ import { OpenNativeSettings } from '@ionic-native/open-native-settings/ngx'; LifeCycleService, HmgBrowserService, GuidService, - BackgroundGeolocation, + // BackgroundGeolocation, //GeofencingService, Keyboard, KeyboardService, diff --git a/Mohem/src/app/notification/service/work-list.main.service.ts b/Mohem/src/app/notification/service/work-list.main.service.ts index dd6c585b..066a3462 100644 --- a/Mohem/src/app/notification/service/work-list.main.service.ts +++ b/Mohem/src/app/notification/service/work-list.main.service.ts @@ -16,6 +16,7 @@ import { PRNotificatonBodyResponse } from "../models/PRNotificationBodyRes"; import { StaticInjector } from "@angular/core/src/di/injector"; import { POItemHistoryRes } from "../models/POItemHistoryRes"; import { MOItemHistoryRes } from "../models/MOItemHistoryRes"; +import { QuotationAnalysisResponse } from '../models/quotationAnalysisRes'; import { Request } from 'src/app/hmg-common/services/models/request'; import { LoginModel } from '../../authentication/models/LoginModel'; @@ -40,6 +41,8 @@ export class WorklistMainService { "Services/ERP.svc/REST/NOTIFICATION_ACTIONS"; public static getNotificationRespondAtt = "Services/ERP.svc/REST/NOTIFICATION_GET_RESPOND_ATTRIBUTES"; + public static getQutationAnalysisUrl = + "Services/ERP.svc/REST/GET_QUOTATION_ANALYSIS"; public static getITGFormTaskCount = 'http://10.80.100.124:7086/Services/COCWS.svc/REST/ITGGetTaskCountRequestType'; public static getITGFormTaskDetails = @@ -157,6 +160,21 @@ export class WorklistMainService { ); } + public getQutationAnalysis( + qutationAnalysis: any, + onError?: any, + errorLabel?: string + ): Observable { + const request = qutationAnalysis; + this.authService.authenticateRequest(request); + return this.api.post( + WorklistMainService.getQutationAnalysisUrl, + request, + onError, + errorLabel + ); + } + public getNotificationButtons( WorkListButtonRequest: any, onError?: any, diff --git a/Mohem/src/app/time-card/service/models/DayHoursTypeDetailsList.ts b/Mohem/src/app/time-card/service/models/DayHoursTypeDetailsList.ts new file mode 100644 index 00000000..4c412561 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/DayHoursTypeDetailsList.ts @@ -0,0 +1,42 @@ +export class DayHoursTypeDetailsList { + public RTP_ID: number; + public ASSIGNMENT_ID: number; + public SCHEDULE_DATE: Date; + public SCHEDULED_HRS: string; + public SCHEDULED_PLANNED_OT_HRS: string; + public SCHEDULED_ON_CALL_HRS: string; + public ACTUAL_HRS: string; + public PLANNED_OT_HRS: string; + public ON_CALL_HRS: string; + public EXCESS_HRS: string; + public COMP_OFF_HRS: string; + public COMP_OFF_H_HRS: string; + public COMP_OFF_N_HRS: string; + public COMP_OFF_W_HRS: string; + public TIMEBACK_HRS: string; + public SHORTAGE_HRS: string; + public LATE_IN_HRS: string; + public EARLY_OUT_HRS: string; + public APPROVED_TIMEBACK_HRS: string; + public REMARKS: string; + public ABSENCE_ATTENDANCE_TYPE_ID: number; + public PERSON_EXTRA_INFO_ID: number; + public DAY_TYPE: string; + public MISSING_SWIPE_FLAG: string; + public EXCESS_FLAG: string; + public COMP_OFF_FLAG: string; + public TIMEBACK_FLAG: string; + public SHORTAGE_FLAG: string; + public LATE_IN_FLAG: string; + public EARLY_OUT_FLA: string; + public APPR_TIMEBACK_FLAG: string; + public PLANNED_OT_HRS_FLAG: string; + public ANALAYZED_FLAG: string; + public NON_SCHEDULED_FLAG: string; + public ROW_NUM: number; + public NO_OF_ROWS: number; + public FROM_ROW_NUM: number; + public TO_ROW_NUM: number; + public CALENDAR_ENTRY_ID: number; + public ABSENCE_ATTENDANCE_ID: number; +} diff --git a/Mohem/src/app/time-card/service/models/get-day-hours-type-details.request.ts b/Mohem/src/app/time-card/service/models/get-day-hours-type-details.request.ts new file mode 100644 index 00000000..987dc09c --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-day-hours-type-details.request.ts @@ -0,0 +1,24 @@ +import { Request } from "src/app/hmg-common/services/models/request"; +import { DateTimeInput } from "src/app/uI-elements/date-time.input"; + +export class GetDayAndHoursDetailsRequest extends Request { + public P_SELECTED_EMPLOYEE_NUMBER: string; + public P_MENU_TYPE: string; + public P_SELECTED_RESP_ID: number; + public P_SCHEDULE_DATE_FROM: DateTimeInput; + public P_SCHEDULE_DATE_TO: DateTimeInput; + public P_EXCESS_FLAG: string; + public P_TIMEBACK_FLAG: string; + public P_COMP_OFF_FLAG: string; + public P_NON_SCHEDULED_FLAG: string; + public P_LATE_IN_FLAG: string; + public P_EARLY_OUT_FLAG: string; + public P_SHORTAGE_FLAG: string; + public P_MISSING_SWIPE_FLAG: string; + public P_ANALAYZED_FLAG: string; + public P_APPR_TIMEBACK_FLAG: string; + public P_SHT_TYPE: string; + public P_ACTUAL_WOB_SEC: string; + public P_PAGE_NUM: number; + public P_PAGE_LIMIT: number; +} diff --git a/Mohem/src/app/time-card/service/models/get-day-hours-type-details.response.ts b/Mohem/src/app/time-card/service/models/get-day-hours-type-details.response.ts new file mode 100644 index 00000000..918c8435 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-day-hours-type-details.response.ts @@ -0,0 +1,6 @@ +import { Response } from "src/app/hmg-common/services/models/response"; +import { DayHoursTypeDetailsList } from './DayHoursTypeDetailsList'; + +export class GetDayAndHoursDetailsResponse extends Response { + public GetDayHoursTypeDetailsList: DayHoursTypeDetailsList[]; +} \ No newline at end of file diff --git a/Mohem/src/app/time-card/service/models/get-shift-detail.request.ts b/Mohem/src/app/time-card/service/models/get-shift-detail.request.ts new file mode 100644 index 00000000..84bdfc10 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-shift-detail.request.ts @@ -0,0 +1,7 @@ +import { Request } from "src/app/hmg-common/services/models/request"; + +export class GetShiftDetailRequest extends Request { + public P_RTP_ID: number; + public P_PAGE_NUM: number; + public P_PAGE_LIMIT: number; +} diff --git a/Mohem/src/app/time-card/service/models/get-shift-detail.response.ts b/Mohem/src/app/time-card/service/models/get-shift-detail.response.ts new file mode 100644 index 00000000..9cf246a2 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-shift-detail.response.ts @@ -0,0 +1,6 @@ +import { Response } from "src/app/hmg-common/services/models/response"; +import { ScheduleShiftsDetailsList } from "./scheduleShiftsDetailsList"; + +export class GetShiftDetailResponse extends Response { + public GetScheduleShiftsDetailsList: ScheduleShiftsDetailsList[]; +} diff --git a/Mohem/src/app/time-card/service/models/get-shift-type.response.ts b/Mohem/src/app/time-card/service/models/get-shift-type.response.ts new file mode 100644 index 00000000..9372b09c --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-shift-type.response.ts @@ -0,0 +1,5 @@ +import { Response } from "src/app/hmg-common/services/models/response"; +import { ShiftTypeList } from "./shiftTypeList"; +export class GetShiftTypeResponse extends Response { + public GetShiftTypesList: ShiftTypeList[]; +} diff --git a/Mohem/src/app/time-card/service/models/get-swipes-request.ts b/Mohem/src/app/time-card/service/models/get-swipes-request.ts new file mode 100644 index 00000000..006f16e3 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-swipes-request.ts @@ -0,0 +1,9 @@ +import { Request } from "src/app/hmg-common/services/models/request"; +import { DateTimeInput } from "src/app/uI-elements/date-time.input"; + +export class GetSwipesRequest extends Request { + public P_SELECTED_EMPLOYEE_NUMBER: string; + public P_SCHEDULE_DATE: DateTimeInput; + public P_PAGE_NUM: number; + public P_PAGE_LIMIT: number; +} diff --git a/Mohem/src/app/time-card/service/models/get-swipes-response.ts b/Mohem/src/app/time-card/service/models/get-swipes-response.ts new file mode 100644 index 00000000..47252123 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-swipes-response.ts @@ -0,0 +1,6 @@ +import { Response } from "src/app/hmg-common/services/models/response"; +import { SwipesList } from './swipesList'; + +export class GetSwipesResponse extends Response { + public GetSwipesList: SwipesList[]; +} diff --git a/Mohem/src/app/time-card/service/models/get-time-card-summary.request.ts b/Mohem/src/app/time-card/service/models/get-time-card-summary.request.ts new file mode 100644 index 00000000..7e5036f0 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-time-card-summary.request.ts @@ -0,0 +1,22 @@ +import { Request } from "src/app/hmg-common/services/models/request"; +import { DateTimeInput } from "src/app/uI-elements/date-time.input"; + +export class GetTimeCardSummaryRequest extends Request { + public P_SELECTED_EMPLOYEE_NUMBER: string; + public P_MENU_TYPE: string; + public P_SELECTED_RESP_ID: number; + public P_SCHEDULE_DATE_FROM: DateTimeInput; + public P_SCHEDULE_DATE_TO: DateTimeInput; + public P_EXCESS_FLAG: string; + public P_TIMEBACK_FLAG: string; + public P_COMP_OFF_FLAG: string; + public P_NON_SCHEDULED_FLAG: string; + public P_LATE_IN_FLAG: string; + public P_EARLY_OUT_FLAG: string; + public P_SHORTAGE_FLAG: string; + public P_MISSING_SWIPE_FLAG: string; + public P_ANALAYZED_FLAG: string; + public P_APPR_TIMEBACK_FLAG: string; + public P_SHT_TYPE: string; + public P_ACTUAL_WOB_SEC: string; +} diff --git a/Mohem/src/app/time-card/service/models/get-time-card-summary.response.ts b/Mohem/src/app/time-card/service/models/get-time-card-summary.response.ts new file mode 100644 index 00000000..c2f48f96 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/get-time-card-summary.response.ts @@ -0,0 +1,6 @@ +import { Response } from "src/app/hmg-common/services/models/response"; +import { TimeCardSummaryList } from './timeCardSummaryList'; + +export class GetTimeCardSummaryResponse extends Response { + public GetTimeCardSummaryList: TimeCardSummaryList[]; +} \ No newline at end of file diff --git a/Mohem/src/app/time-card/service/models/scheduleShiftsDetailsList.ts b/Mohem/src/app/time-card/service/models/scheduleShiftsDetailsList.ts new file mode 100644 index 00000000..9ed56506 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/scheduleShiftsDetailsList.ts @@ -0,0 +1,32 @@ +export class ScheduleShiftsDetailsList { + public st: string; + + public RTP_ID: number; + public ASSIGNMENT_ID: number; + public RTP_SCHEDULE_ID: number; + public SCHEDULE_DATE: Date; + public SEQ_NO: number; + public SHT_NAME: string; + public SHT_CODE: string; + public SHT_TYPE: string; + public SHT_TYPE_DESC: string; + public BREAK_NAME: string; + public ACTUAL_WOB_HRS: string; + public SHT_ACTUAL_START_DATETIME: string; + public SHT_ACTUAL_START_TIME: string; + public SHT_ACTUAL_END_DATETIME: string; + public SHT_ACTUAL_END_TIME: string; + public APPROVED_START_DATETIME: string; + public APPROVED_START_TIME: string; + public APPROVED_START_REASON: string; + public APPROVED_START_REASON_DESC: string; + public APPROVED_END_DATETIME: string; + public APPROVED_END_TIME: string; + public APPROVED_END_REASON: string; + public APPROVED_END_REASON_DESC: string; + public SHT_ACTUAL_HRS: string; + public ROW_NUM: number; + public NO_OF_ROWS: number; + public FROM_ROW_NUM: number; + public TO_ROW_NUM: number; +} diff --git a/Mohem/src/app/time-card/service/models/shiftTypeList.ts b/Mohem/src/app/time-card/service/models/shiftTypeList.ts new file mode 100644 index 00000000..1514c671 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/shiftTypeList.ts @@ -0,0 +1,4 @@ +export class ShiftTypeList { + public SHT_TYPE: string; + public SHT_TYPE_DESC: string; +} diff --git a/Mohem/src/app/time-card/service/models/swipesList.ts b/Mohem/src/app/time-card/service/models/swipesList.ts new file mode 100644 index 00000000..73a3b0f0 --- /dev/null +++ b/Mohem/src/app/time-card/service/models/swipesList.ts @@ -0,0 +1,15 @@ +export class SwipesList { + public SWIPE_DATE: number; + public SWIPE_TIME: number; + public SWIPE_STATUS: string; + public MACHINE_LOCATION: string; + public UNIT_NAME: string; + public UNIT_NUMBER: string; + public EXCLUDE_FLAG: string; + public RETURN_MESSAGE: string; + public RETURN_STATUS: string; + public NO_OF_ROWS: number; + public ROW_NUM: number; + public FROM_ROW_NUM: number; + public TO_ROW_NUM: number; +} diff --git a/Mohem/src/app/time-card/service/models/timeCardSummaryList.ts b/Mohem/src/app/time-card/service/models/timeCardSummaryList.ts new file mode 100644 index 00000000..674ee60f --- /dev/null +++ b/Mohem/src/app/time-card/service/models/timeCardSummaryList.ts @@ -0,0 +1,37 @@ +export class TimeCardSummaryList { + public ASSIGNMENT_ID: number; + public COMP_OFF_W_HRS: number; + public ATTENDED_DAYS: number; + public COMP_OFF_N_HRS: number; + public COMP_OFF_H_HRS: number; + public EXCESS_HRS: number; + public ON_CALL_HRS: number; + public LATE_IN_HRS: number; + public EARLY_OUT_HRS: number; + public UNCOVERD_SHORTAGE_HRS: number; + public DESIRED_SCHEDULED_HRS: number; + public PERIOD_DAYS: number; + public SHORTAGE_HRS: number; + public OFF_DAYS: number; + public APPROVED_TIMEBACK_HRS: number; + public TIMEBACK_HRS: number; + public PLANNED_OTHRS: number; + public ACTUAL_HRS: number; + public SCHEDULED_ON_CALL_HRS: number; + public SCHEDULED_PLANNED_OT_HRS: number; + public SCHEDULED_HRS: number; + public NOT_ANALYZED_DAYS: number; + public LEAVES_HOLIDAYS_HRS: number; + public HALF_DAY_LEAVE: number; + public UNPAID_LEAVE: number; + public PAID_LEAVE: number; + public BUSINESS_TRIP: number; + public SHORTAGE_SCHEDULE_HRS: number; + public SCHEDULE_DAYS: number; + public NON_SCHEDULE_DAYS: number; + public ABSENT_DAYS: number; + public SICK_LEAVE: number; + public UNAUTHORIZED_LEAVE: number; + public PUBLIC_HOLIDAY: number; + public TIME_BACK_BALANCE: number; +} diff --git a/Mohem/src/app/time-card/service/time-card.service.spec.ts b/Mohem/src/app/time-card/service/time-card.service.spec.ts new file mode 100644 index 00000000..28641dbd --- /dev/null +++ b/Mohem/src/app/time-card/service/time-card.service.spec.ts @@ -0,0 +1,12 @@ +import { TestBed } from '@angular/core/testing'; + +import { TimeCardService } from './time-card.service'; + +describe('TimeCardService', () => { + beforeEach(() => TestBed.configureTestingModule({})); + + it('should be created', () => { + const service: TimeCardService = TestBed.get(TimeCardService); + expect(service).toBeTruthy(); + }); +}); diff --git a/Mohem/src/app/time-card/service/time-card.service.ts b/Mohem/src/app/time-card/service/time-card.service.ts new file mode 100644 index 00000000..7e8f2cc3 --- /dev/null +++ b/Mohem/src/app/time-card/service/time-card.service.ts @@ -0,0 +1,104 @@ +import { Injectable } from "@angular/core"; +import { AuthenticationService } from "src/app/hmg-common/services/authentication/authentication.service"; +import { ConnectorService } from "src/app/hmg-common/services/connector/connector.service"; +import { Request } from "src/app/hmg-common/services/models/request"; + +import { Observable } from "rxjs"; +import { GetShiftTypeResponse } from "./models/get-shift-type.response"; +import { GetDayAndHoursDetailsResponse } from "./models/get-day-hours-type-details.response"; +import { GetTimeCardSummaryResponse } from "./models/get-time-card-summary.response"; +import { GetShiftDetailResponse } from "./models/get-shift-detail.response"; +import { GetSwipesResponse } from "./models/get-swipes-response"; + +@Injectable({ + providedIn: "root" +}) +export class TimeCardService { + public static getShiftTypeUrl = "Services/ERP.svc/REST/GET_SHIFT_TYPES"; + public static getTimeCardSummaryUrl = + "Services/ERP.svc/REST/GET_TIME_CARD_SUMMARY"; + public static getDayHourDetailsUrl = + "Services/ERP.svc/REST/GET_DAY_HOURS_TYPE_DETAILS"; + public static getShiftDetailUrl = + "Services/ERP.svc/REST/GET_SCHEDULE_SHIFTS_DETAILS"; + public static getSwipeUrl = "Services/ERP.svc/REST/GET_SWIPES"; + + constructor( + public con: ConnectorService, + private authService: AuthenticationService + ) {} + + public getShiftType( + onError?: any, + errorLabel?: string + ): Observable { + const request = new Request(); + this.authService.authenticateRequest(request); + return this.con.post( + TimeCardService.getShiftTypeUrl, + request, + onError, + errorLabel + ); + } + + public getTimeCardSummary( + timeCardSummaryReq, + onError?: any, + errorLabel?: string + ): Observable { + const request = timeCardSummaryReq; + this.authService.authenticateRequest(request); + return this.con.post( + TimeCardService.getTimeCardSummaryUrl, + request, + onError, + errorLabel + ); + } + + public getDayHoursTypeDetails( + dayHoursDetailsReq, + onError?: any, + errorLabel?: string + ): Observable { + const request = dayHoursDetailsReq; + this.authService.authenticateRequest(request); + return this.con.post( + TimeCardService.getDayHourDetailsUrl, + request, + onError, + errorLabel + ); + } + + public getShiftDetail( + shiftDetailReq, + onError?: any, + errorLabel?: string + ): Observable { + const request = shiftDetailReq; + this.authService.authenticateRequest(request); + return this.con.post( + TimeCardService.getShiftDetailUrl, + request, + onError, + errorLabel + ); + } + + public getSwipes( + getSwipeReq, + onError?: any, + errorLabel?: string + ): Observable { + const request = getSwipeReq; + this.authService.authenticateRequest(request); + return this.con.post( + TimeCardService.getSwipeUrl, + request, + onError, + errorLabel + ); + } +} diff --git a/Mohem/src/app/time-card/time-card.module.ts b/Mohem/src/app/time-card/time-card.module.ts new file mode 100644 index 00000000..4e1ae971 --- /dev/null +++ b/Mohem/src/app/time-card/time-card.module.ts @@ -0,0 +1,26 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { FormsModule } from '@angular/forms'; +import { Routes, RouterModule } from '@angular/router'; + +import { IonicModule } from '@ionic/angular'; + +import { TimeCardPage } from './time-card.page'; + +const routes: Routes = [ + { + path: '', + component: TimeCardPage + } +]; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + IonicModule, + RouterModule.forChild(routes) + ], + declarations: [TimeCardPage] +}) +export class TimeCardPageModule {} diff --git a/Mohem/src/app/time-card/time-card.page.html b/Mohem/src/app/time-card/time-card.page.html new file mode 100644 index 00000000..5a318c63 --- /dev/null +++ b/Mohem/src/app/time-card/time-card.page.html @@ -0,0 +1,9 @@ + + + time-card + + + + + + diff --git a/Mohem/src/app/time-card/time-card.page.scss b/Mohem/src/app/time-card/time-card.page.scss new file mode 100644 index 00000000..e69de29b diff --git a/Mohem/src/app/time-card/time-card.page.spec.ts b/Mohem/src/app/time-card/time-card.page.spec.ts new file mode 100644 index 00000000..c2ac9d5e --- /dev/null +++ b/Mohem/src/app/time-card/time-card.page.spec.ts @@ -0,0 +1,27 @@ +import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { TimeCardPage } from './time-card.page'; + +describe('TimeCardPage', () => { + let component: TimeCardPage; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ TimeCardPage ], + schemas: [CUSTOM_ELEMENTS_SCHEMA], + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(TimeCardPage); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/Mohem/src/app/time-card/time-card.page.ts b/Mohem/src/app/time-card/time-card.page.ts new file mode 100644 index 00000000..8ea81f5d --- /dev/null +++ b/Mohem/src/app/time-card/time-card.page.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-time-card', + templateUrl: './time-card.page.html', + styleUrls: ['./time-card.page.scss'], +}) +export class TimeCardPage implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} diff --git a/app document/phase 2 documents/ITG Form Integration V1 2.docx b/app document/phase 2 documents/ITG Form Integration V1 2.docx new file mode 100644 index 00000000..d64f55cb Binary files /dev/null and b/app document/phase 2 documents/ITG Form Integration V1 2.docx differ diff --git a/app document/phase 2 documents/~$G Form Integration V1 2.docx b/app document/phase 2 documents/~$G Form Integration V1 2.docx new file mode 100644 index 00000000..f08a34a5 Binary files /dev/null and b/app document/phase 2 documents/~$G Form Integration V1 2.docx differ diff --git a/mohemmionic5 b/mohemmionic5 new file mode 160000 index 00000000..2d03ed75 --- /dev/null +++ b/mohemmionic5 @@ -0,0 +1 @@ +Subproject commit 2d03ed75f3f34aac5e80668b6a2b75849b18de51