From 2750b60a6495f92b89b6b9f58f8adec9ff03ceb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9verin=20Beauvais?= Date: Wed, 31 Jul 2024 15:08:10 -0700 Subject: [PATCH] - app version = 5.11.10 (#723) - enable validation right away if filing is Change Requested - added label props to effective data time component - updated continuation authorization layout per designs - now manage authorization files validity separately - passed in custom values for radio button labels - updated unit tests Co-authored-by: Severin Beauvais --- package-lock.json | 4 +- package.json | 2 +- src/App.vue | 6 + .../ContinuationAuthorization.vue | 273 +++++++++++------- src/components/common/EffectiveDateTime.vue | 7 +- .../ContinuationInBusinessHome.vue | 12 +- .../ContinuationInReviewConfirm.vue | 2 + tests/unit/ContinuationAuthorization.spec.ts | 60 +++- tests/unit/ContinuationInBusinessHome.spec.ts | 3 +- 9 files changed, 231 insertions(+), 138 deletions(-) diff --git a/package-lock.json b/package-lock.json index f5e2634d1..1a0c74b0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.11.9", + "version": "5.11.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.11.9", + "version": "5.11.10", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.0.19", diff --git a/package.json b/package.json index 36360c80d..8655fb043 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "5.11.9", + "version": "5.11.10", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", diff --git a/src/App.vue b/src/App.vue index 09cb126b2..8a84599e4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -297,6 +297,7 @@ export default class App extends Mixins(CommonMixin, DateMixin, FilingTemplateMi @Getter(useStore) getEntityIdentifier!: string @Getter(useStore) getFilingData!: Array @Getter(useStore) getFilingName!: FilingNames + @Getter(useStore) getFilingStatus!: FilingStatus @Getter(useStore) getFilingType!: FilingTypes @Getter(useStore) getHaveChanges!: boolean @Getter(useStore) getOrgInformation!: OrgInformationIF @@ -1364,6 +1365,11 @@ export default class App extends Mixins(CommonMixin, DateMixin, FilingTemplateMi ) { this.setShowErrors(true) } + + // enable validation right away if user is changing a submitted filing + if (this.getFilingStatus === FilingStatus.CHANGE_REQUESTED) { + this.setShowErrors(true) + } } /** Whether the old webchat should be enabled. */ diff --git a/src/components/ContinuationIn/ContinuationAuthorization.vue b/src/components/ContinuationIn/ContinuationAuthorization.vue index 1d63952ec..5697df250 100644 --- a/src/components/ContinuationIn/ContinuationAuthorization.vue +++ b/src/components/ContinuationIn/ContinuationAuthorization.vue @@ -7,121 +7,160 @@ v-if="authorization" id="continuation-authorization" > - - + + + + + + + + + + + + + + + + - + - +

+ Upload documents that support proof of authorization from your home jursidiction. +

+ +
    +
  • + Use a white background and a legible font with contrasting font colour +
  • +
  • + PDF file type (maximum 30 MB file size) +
  • +
  • + Maximum 5 files +
  • +
-
- + + + + + - - - mdi-alert - + + + + - - -