From 8da233c1bc276301d6f7e6a0762d58e8c2c359f3 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 9 Aug 2021 13:56:17 +0100 Subject: [PATCH] Fix action --- config.xml | 1 - package-lock.json | 49 +++++++------------ package.json | 17 +++---- readme.md | 2 + src/_redirects | 1 + .../document-detail/document-detail.page.html | 9 ++-- .../document-detail/document-detail.page.ts | 4 +- .../document-set-up-meeting.page.html | 12 +++-- src/app/pages/events/events.page.html | 8 ++- .../expediente-detail.page.html | 2 +- .../expediente-detail.page.ts | 2 + .../opts-expediente/opts-expediente.page.ts | 1 - .../view-publications.page.ts | 2 +- src/app/store/publication-list.service.ts | 8 +-- 14 files changed, 58 insertions(+), 60 deletions(-) create mode 100644 src/_redirects diff --git a/config.xml b/config.xml index 2f37ef18b..97d2fb38d 100644 --- a/config.xml +++ b/config.xml @@ -145,7 +145,6 @@ - 1109370933 diff --git a/package-lock.json b/package-lock.json index d2768bfd1..b7eaa48f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4573,11 +4573,18 @@ } }, "@ionic-native/ionic-webview": { - "version": "5.31.1", - "resolved": "https://registry.npmjs.org/@ionic-native/ionic-webview/-/ionic-webview-5.31.1.tgz", - "integrity": "sha512-OQjHD4KR12vkvColrGfQEtBjMZiSBp2Zs6VY6XRaJil6IqhM7ypZL8Vnj7rr/rVqDV04GztnUP4/thZEj4crfA==", + "version": "5.35.0", + "resolved": "https://registry.npmjs.org/@ionic-native/ionic-webview/-/ionic-webview-5.35.0.tgz", + "integrity": "sha512-OliPzhM1eAhJW0Q4vzhwb0M98IptN9woXuiaDhRyEBBB3PvukKeGWbVBHdquzVSZYuhz0emrJeDDRhTVQEaJ/Q==", "requires": { "@types/cordova": "^0.0.34" + }, + "dependencies": { + "@types/cordova": { + "version": "0.0.34", + "resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz", + "integrity": "sha1-6nrd907Ow9dimCegw54smt3HPQQ=" + } } }, "@ionic-native/local-notifications": { @@ -9862,20 +9869,17 @@ } }, "cordova-android": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-9.1.0.tgz", - "integrity": "sha512-bzOX9E4eQsOSpa06oZZ7XAGq3DwB73juhhj0oPqHH/khWk0mkCD4aiVYMFoc0fmIaSQvzbY1ww7L6UBW5pyGfg==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-9.0.0.tgz", + "integrity": "sha512-2ZEgApK4LPMYW0zh/mLAH3CabzCaKE0yxQTzA2wTf0Eo2HHTJnRtDCf9spGf3nPOkubyXS6+pvzz5QzNHpVTqQ==", "dev": true, "requires": { "android-versions": "^1.5.0", "cordova-common": "^4.0.1", "execa": "^4.0.2", - "fast-glob": "^3.2.4", "fs-extra": "^9.0.1", - "is-path-inside": "^3.0.2", "nopt": "^4.0.3", "properties-parser": "^0.3.1", - "semver": "^7.3.4", "which": "^2.0.2" }, "dependencies": { @@ -9917,16 +9921,10 @@ "pump": "^3.0.0" } }, - "is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true - }, "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true }, "jsonfile": { @@ -9948,15 +9946,6 @@ "path-key": "^3.0.0" } }, - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, "universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", @@ -10576,9 +10565,9 @@ "dev": true }, "cordova-plugin-ionic-webview": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/cordova-plugin-ionic-webview/-/cordova-plugin-ionic-webview-4.2.1.tgz", - "integrity": "sha512-7KrmqLaOGq1RP8N2z1ezN1kqkWFzTwwMvQ3/qAkd+exxFZuOe3DIN4eaU1gdNphsxdirI8Ajnr9q4So5vQbWqw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cordova-plugin-ionic-webview/-/cordova-plugin-ionic-webview-5.0.0.tgz", + "integrity": "sha512-Wq0kCanxubK/JroTW4Mp5soayScnRyiY1eCkbwiz1Dyt1xHOiOW/v+1miqtBHtnZhcXw25TulCKAVJzkNBdmyg==", "dev": true }, "cordova-plugin-mfp": { diff --git a/package.json b/package.json index 6d9eef49f..61f5f155a 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@ionic-native/fingerprint-aio": "^4.20.0", "@ionic-native/http": "^5.31.1", "@ionic-native/in-app-browser": "^5.28.0", - "@ionic-native/ionic-webview": "^5.30.0", + "@ionic-native/ionic-webview": "^5.35.0", "@ionic-native/local-notifications": "^4.20.0", "@ionic-native/splash-screen": "^5.31.1", "@ionic-native/sqlite": "^5.31.1", @@ -116,7 +116,7 @@ "@types/jest": "^26.0.24", "@types/node": "^12.11.1", "codelyzer": "^6.0.0", - "cordova-android": "^9.1.0", + "cordova-android": "^9.0.0", "cordova-browser": "^6.0.0", "cordova-ios": "^6.2.0", "cordova-plugin-androidx": "^3.0.0", @@ -129,7 +129,7 @@ "cordova-plugin-globalization": "^1.11.0", "cordova-plugin-inappbrowser": "^4.0.0", "cordova-plugin-ionic-keyboard": "^2.2.0", - "cordova-plugin-ionic-webview": "^4.2.1", + "cordova-plugin-ionic-webview": "^5.0.0", "cordova-plugin-mfp": "^8.0.2021031007", "cordova-plugin-mfp-jsonstore": "^8.0.2021062408", "cordova-plugin-mfp-push": "^8.0.2021062405", @@ -157,9 +157,6 @@ "cordova-plugin-statusbar": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, - "cordova-plugin-ionic-webview": { - "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" - }, "cordova-plugin-ionic-keyboard": {}, "cordova-plugin-inappbrowser": {}, "cordova-plugin-camera": { @@ -172,12 +169,12 @@ "cordova-plugin-androidx-adapter": {}, "cordova-plugin-fingerprint-aio": {}, "cordova-plugin-mfp-push": {}, - "cordova-plugin-mfp-jsonstore": {} + "cordova-plugin-mfp-jsonstore": {}, + "cordova-plugin-ionic-webview": {} }, "platforms": [ "browser", - "ios", - "android" + "ios" ] }, "main": "karma.conf.js", @@ -186,4 +183,4 @@ "url": "git+https://Kayaya@bitbucket.org/equilibriumito/gabinete-digital.git" }, "license": "ISC" -} \ No newline at end of file +} diff --git a/readme.md b/readme.md index 277261e27..06de9b543 100644 --- a/readme.md +++ b/readme.md @@ -14,6 +14,8 @@ npm install npm install -g @ionic/cli npm install -g lite-server npm install -g @angular/cli +npm install -g cordova +npm install -g cordova-res ## Mobile first dependencies cordova plugin add cordova-plugin-mfp-jsonstore diff --git a/src/_redirects b/src/_redirects new file mode 100644 index 000000000..b21f6cb71 --- /dev/null +++ b/src/_redirects @@ -0,0 +1 @@ +/* /index.html 200 \ No newline at end of file diff --git a/src/app/modals/document-detail/document-detail.page.html b/src/app/modals/document-detail/document-detail.page.html index 4d5cdfbdd..a8e5c925a 100644 --- a/src/app/modals/document-detail/document-detail.page.html +++ b/src/app/modals/document-detail/document-detail.page.html @@ -24,16 +24,17 @@
-
Intervenientes
+
Intervenientes
+
-

{{LoadedDocument.Interveners}}

+

{{LoadedDocument.Interveners || LoadedDocument.Sender}}

-
Status
- +
Status
+

{{LoadedDocument.Status}}

diff --git a/src/app/modals/document-detail/document-detail.page.ts b/src/app/modals/document-detail/document-detail.page.ts index 5cf5dc07b..1b05356f2 100644 --- a/src/app/modals/document-detail/document-detail.page.ts +++ b/src/app/modals/document-detail/document-detail.page.ts @@ -52,7 +52,9 @@ export class DocumentDetailPage implements OnInit { this.LoadedDocument.Subject = this.LoadedDocument.Assunto - let thedate = new Date(this.LoadedDocument.DateDispatch); + let thedate = new Date(this.LoadedDocument.DateDispatch || this.LoadedDocument.DocDate); + + console.log(res) this.customDate = this.days[thedate.getDay()]+ ", " + thedate.getDate() +" de " + ( this.months[thedate.getMonth()]); }); } diff --git a/src/app/modals/document-set-up-meeting/document-set-up-meeting.page.html b/src/app/modals/document-set-up-meeting/document-set-up-meeting.page.html index 2a37cadd3..54357fb77 100644 --- a/src/app/modals/document-set-up-meeting/document-set-up-meeting.page.html +++ b/src/app/modals/document-set-up-meeting/document-set-up-meeting.page.html @@ -202,13 +202,14 @@
- + + + [(ngModel)]="EventRecurrenceType" + > {{recurring.Description}} @@ -224,7 +225,8 @@
-
+ +