From b841af32308055f543da026fef038bf5cac514db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9verin=20Beauvais?= Date: Tue, 1 Oct 2024 15:01:32 -0700 Subject: [PATCH] 23353 POC for new continuation in design (#734) * - app version = 5.12.0 - generalized page blurb functionality - always show fee summary - added special case for page header - added special case for fee summary label - added special route checks for continuation in authorization vs application - added special continuation in authorization steps - added special case for file and pay button label (submit vs resubmit) - added special cases for validation in file and pay method - added special case for no payment - reverted Effective Date Time radio labels - updated file upload error messages - renamed ContinuationInBusinessHome -> ContinuationInAuthorizationPage - added file name validation for ISO-8859-1 encoding - renamed ContinuationAuthorization -> AuthorizationProof - added filename ISO8859-1 encoding check - updated misc existing business information layout, labels, etc - removed confirmation checkbox - cleaned up summary page - fixed alignment on summary page - renamed some getters - added special case for dialog filing title - renamed route + view + enums + getters + interfaces - added special case for no fee when restoring draft - added page blurbs to continuation in resource files - separated auth step from the rest - renumbered steps + hide stepper for step 0 - deleted obsolete dissolution resource objects - added some store getters - added Authorization Contact Information to step 0 page - updated continuation in authorization page validation - added special case to show pages errors and scroll properly - removed draft-only checks on FED and staff payment components - updated/added unit tests * - temporary status override bypass for testing * - improved button layout --------- Co-authored-by: Severin Beauvais --- package-lock.json | 40 +++- package.json | 4 +- src/App.vue | 78 +++++-- ...thorization.vue => AuthorizationProof.vue} | 29 ++- .../ContinuationIn/ExtraproRegistration.vue | 153 ++------------ .../ContinuationIn/ManualBusinessInfo.vue | 190 +++++------------- .../SummaryBusinessHomeJurisdiction.vue | 45 +---- .../Dissolution/CustodianOfRecords.vue | 8 +- src/components/common/Actions.vue | 27 ++- src/components/common/EffectiveDateTime.vue | 6 +- src/components/common/FileUploadPreview.vue | 4 +- src/components/common/Stepper.vue | 4 +- src/dialogs/SaveErrorDialog.vue | 20 +- src/enums/routeNames.ts | 2 +- src/enums/views.ts | 2 +- .../filing-interfaces/filing-interfaces.ts | 5 +- src/interfaces/index.ts | 2 +- .../resource-interfaces/resource-interface.ts | 2 + ...ce.ts => authorization-proof-interface.ts} | 2 +- .../continuation-in-state-interface.ts | 7 +- .../existing-business-info-interface.ts | 1 - src/mixins/filing-template-mixin.ts | 27 ++- src/resources/ContinuationIn/C.ts | 5 +- src/resources/ContinuationIn/CBEN.ts | 2 + src/resources/ContinuationIn/CCC.ts | 2 + src/resources/ContinuationIn/CUL.ts | 2 + src/resources/ContinuationIn/steps.ts | 35 ++-- src/resources/Dissolution/GP.ts | 48 +---- src/resources/Dissolution/SP.ts | 48 +---- src/router/routes/continuation-in-routes.ts | 21 +- src/store/state/state-model.ts | 4 +- src/store/store.ts | 82 +++++--- ...me.vue => ContinuationInAuthorization.vue} | 102 +++++++--- .../ContinuationInReviewConfirm.vue | 17 +- .../DissolutionDefineDissolution.vue | 16 +- src/views/index.ts | 2 +- tests/unit/Actions.spec.ts | 35 +++- ...ion.spec.ts => AuthorizationProof.spec.ts} | 16 +- .../unit/ContinuationInAuthorization.spec.ts | 38 ++++ tests/unit/ContinuationInBusinessHome.spec.ts | 30 --- .../unit/ContinuationInReviewConfirm.spec.ts | 33 --- tests/unit/FileUploadPreview.spec.ts | 2 +- .../SummaryBusinessHomeJurisdiction.spec.ts | 12 +- 43 files changed, 537 insertions(+), 673 deletions(-) rename src/components/ContinuationIn/{ContinuationAuthorization.vue => AuthorizationProof.vue} (92%) rename src/interfaces/store-interfaces/state-interfaces/{continuation-authorization-interface.ts => authorization-proof-interface.ts} (73%) rename src/views/ContinuationIn/{ContinuationInBusinessHome.vue => ContinuationInAuthorization.vue} (55%) rename tests/unit/{ContinuationAuthorization.spec.ts => AuthorizationProof.spec.ts} (82%) create mode 100644 tests/unit/ContinuationInAuthorization.spec.ts delete mode 100644 tests/unit/ContinuationInBusinessHome.spec.ts diff --git a/package-lock.json b/package-lock.json index ddc13310a..ec3d6ad30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.11.26", + "version": "5.12.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.11.26", + "version": "5.12.0", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.1.2", @@ -20,7 +20,7 @@ "@bcrs-shared-components/corp-type-module": "1.0.16", "@bcrs-shared-components/correct-name": "1.0.55", "@bcrs-shared-components/court-order-poa": "3.0.11", - "@bcrs-shared-components/date-picker": "1.3.1", + "@bcrs-shared-components/date-picker": "1.3.3", "@bcrs-shared-components/document-delivery": "1.2.0", "@bcrs-shared-components/effective-date-time": "1.1.15", "@bcrs-shared-components/enums": "1.1.11", @@ -410,12 +410,36 @@ } }, "node_modules/@bcrs-shared-components/date-picker": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/date-picker/-/date-picker-1.3.1.tgz", - "integrity": "sha512-cwz7Mz4OAvGvWg6gmVbnIu8USi58zcQHh4tnUg+JfZf8o5VGv4sCWcTQjAVMTCtMrY6a7aQ6zrzUDY4cKahRRQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/date-picker/-/date-picker-1.3.3.tgz", + "integrity": "sha512-s69gYHbd0XdtLqw+GUfQhHCeTR5abqXUoG5bzZ0ompoZ0zMFuAYIGe+u4DrruVhh7GhyeUu0pKjv7wbHuzzs8g==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.1.15", - "@bcrs-shared-components/mixins": "^1.1.46", + "@bcrs-shared-components/interfaces": "^1.1.16", + "@bcrs-shared-components/mixins": "^1.1.47", + "vue": "^2.7.14" + } + }, + "node_modules/@bcrs-shared-components/date-picker/node_modules/@bcrs-shared-components/interfaces": { + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/interfaces/-/interfaces-1.1.16.tgz", + "integrity": "sha512-RxmR+6W6t0lRkDGVb4VEHfEqgK76pk42LaJn36aSrd/hNIMfxgHEAqPT21zBJ5on5rvWzFMBemp3hV6DyUTw8Q==", + "dependencies": { + "@bcrs-shared-components/corp-type-module": "^1.0.16", + "@bcrs-shared-components/enums": "^1.1.11", + "vue": "^2.7.14" + } + }, + "node_modules/@bcrs-shared-components/date-picker/node_modules/@bcrs-shared-components/mixins": { + "version": "1.1.47", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/mixins/-/mixins-1.1.47.tgz", + "integrity": "sha512-EMlf5F+//0GaEaHnISSLi+Hqbo1hpIdP02nUfP/FoiF79Me0fL4B54mkJFQMsh1kepJewkh2dA4Sm0GUzBnUsw==", + "dependencies": { + "@bcrs-shared-components/corp-type-module": "^1.0.16", + "@bcrs-shared-components/enums": "^1.1.11", + "@bcrs-shared-components/interfaces": "^1.1.16", + "country-list": "^2.3.0", + "lodash": "4.17.21", + "provinces": "^1.11.0", "vue": "^2.7.14" } }, diff --git a/package.json b/package.json index a012dbc30..df5e43fc7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "5.11.26", + "version": "5.12.0", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", @@ -25,7 +25,7 @@ "@bcrs-shared-components/corp-type-module": "1.0.16", "@bcrs-shared-components/correct-name": "1.0.55", "@bcrs-shared-components/court-order-poa": "3.0.11", - "@bcrs-shared-components/date-picker": "1.3.1", + "@bcrs-shared-components/date-picker": "1.3.3", "@bcrs-shared-components/document-delivery": "1.2.0", "@bcrs-shared-components/effective-date-time": "1.1.15", "@bcrs-shared-components/enums": "1.1.11", diff --git a/src/App.vue b/src/App.vue index 0e222e4a6..91fdc94a2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -167,11 +167,10 @@

- Confirm the following information, select the dissolution date and certify - your dissolution before filing. + {{ getPageBlurb }}

- - -