From 531f63ef1c5f1662a1b46f095f426ae1edcf8631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9verin=20Beauvais?= Date: Fri, 10 Feb 2023 15:35:38 -0800 Subject: [PATCH] - separated Name Translation from Name Request Info (#512) - ported Business Name from Edit UI component - copied CorrectXXX from Edit UI - removed obsolete code from Restoration Business Name - deleted some local enums - imported some shared enums - cleaned up dissolution types - created/fixed/expanded unit tests - misc cleanup - app version = 4.5.17 --- package-lock.json | 302 +++++++++-------- package.json | 32 +- src/App.vue | 33 +- .../Dissolution/CareAndCustodySelect.vue | 4 +- .../Incorporation/UploadMemorandum.vue | 6 +- src/components/Incorporation/UploadRules.vue | 6 +- src/components/Restoration/BusinessName.vue | 317 ++++++++++++++++++ .../Restoration/CorrectCompanyName.vue | 85 +++++ .../Restoration/CorrectNameOptions.vue | 226 +++++++++++++ .../Restoration/CorrectNameRequest.vue | 253 ++++++++++++++ .../Restoration/CorrectNameToNumber.vue | 82 +++++ src/components/common/Actions.vue | 2 +- src/components/common/EntityInfo.vue | 2 +- src/components/common/NameRequestInfo.vue | 248 ++------------ src/components/common/NameTranslation.vue | 225 +++++++++++++ src/dialogs/NameRequestInvalidErrorDialog.vue | 2 +- src/enums/filingNames.ts | 12 - src/enums/filingTypes.ts | 6 - src/enums/index.ts | 13 +- src/enums/name-change-options.ts | 5 + src/enums/nameRequestStates.ts | 22 -- src/enums/nameRequestTypes.ts | 6 - src/enums/restorationTypes.ts | 6 - src/enums/roleTypes.ts | 10 - .../common/correct-name-option-interface.ts | 8 + src/interfaces/index.ts | 13 +- .../name-request-interface.ts | 2 +- src/mixins/filing-template-mixin.ts | 2 +- src/mixins/name-request-mixin.ts | 14 + src/resources/BreadCrumbResource.ts | 2 +- src/router/routes.ts | 10 +- src/store/getters/state-getters.ts | 22 +- src/utils/feature-flag-utils.ts | 2 +- .../IncorporationDefineCompany.vue | 6 +- .../RestorationApplicantInformation.vue | 6 +- .../RestorationBusinessInformation.vue | 6 +- .../Restoration/RestorationBusinessName.vue | 302 +++-------------- tests/unit/App.spec.ts | 5 +- tests/unit/NameRequestInfo.spec.ts | 285 +++++----------- tests/unit/NameTranslation.spec.ts | 61 ++++ .../RestorationApplicantInformation.spec.ts | 56 +++- .../RestorationBusinessInformation.spec.ts | 19 +- tests/unit/RestorationBusinessName.spec.ts | 61 +++- tests/unit/RestorationReviewConfirm.spec.ts | 84 ++++- 44 files changed, 1847 insertions(+), 1024 deletions(-) create mode 100644 src/components/Restoration/BusinessName.vue create mode 100644 src/components/Restoration/CorrectCompanyName.vue create mode 100644 src/components/Restoration/CorrectNameOptions.vue create mode 100644 src/components/Restoration/CorrectNameRequest.vue create mode 100644 src/components/Restoration/CorrectNameToNumber.vue create mode 100644 src/components/common/NameTranslation.vue delete mode 100644 src/enums/filingNames.ts delete mode 100644 src/enums/filingTypes.ts create mode 100644 src/enums/name-change-options.ts delete mode 100644 src/enums/nameRequestStates.ts delete mode 100644 src/enums/nameRequestTypes.ts delete mode 100644 src/enums/restorationTypes.ts delete mode 100644 src/enums/roleTypes.ts create mode 100644 src/interfaces/common/correct-name-option-interface.ts create mode 100644 tests/unit/NameTranslation.spec.ts diff --git a/package-lock.json b/package-lock.json index f1913e2df..978eef2ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,33 +1,33 @@ { "name": "business-create-ui", - "version": "4.5.16", + "version": "4.5.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "4.5.16", + "version": "4.5.17", "dependencies": { "@babel/compat-data": "^7.19.1", - "@bcrs-shared-components/breadcrumb": "2.1.6", - "@bcrs-shared-components/business-lookup": "1.1.8", - "@bcrs-shared-components/certify": "2.1.6", - "@bcrs-shared-components/completing-party": "2.1.6", + "@bcrs-shared-components/breadcrumb": "2.1.9", + "@bcrs-shared-components/business-lookup": "1.1.11", + "@bcrs-shared-components/certify": "2.1.9", + "@bcrs-shared-components/completing-party": "2.1.9", "@bcrs-shared-components/confirm-dialog": "1.2.1", - "@bcrs-shared-components/contact-info": "1.2.6", + "@bcrs-shared-components/contact-info": "1.2.9", "@bcrs-shared-components/corp-type-module": "1.0.9", - "@bcrs-shared-components/court-order-poa": "3.0.2", - "@bcrs-shared-components/date-picker": "1.2.6", + "@bcrs-shared-components/court-order-poa": "3.0.5", + "@bcrs-shared-components/date-picker": "1.2.9", "@bcrs-shared-components/document-delivery": "1.2.0", - "@bcrs-shared-components/effective-date-time": "1.1.6", - "@bcrs-shared-components/enums": "1.0.28", + "@bcrs-shared-components/effective-date-time": "1.1.9", + "@bcrs-shared-components/enums": "1.0.31", "@bcrs-shared-components/help-business-number": "1.1.1", - "@bcrs-shared-components/interfaces": "1.0.49", + "@bcrs-shared-components/interfaces": "1.0.52", "@bcrs-shared-components/limited-restoration-panel": "1.0.0", - "@bcrs-shared-components/nature-of-business": "1.2.3", - "@bcrs-shared-components/relationships-panel": "1.0.0", - "@bcrs-shared-components/staff-comments": "1.3.6", - "@bcrs-shared-components/staff-payment": "2.1.6", + "@bcrs-shared-components/nature-of-business": "1.2.8", + "@bcrs-shared-components/relationships-panel": "1.0.5", + "@bcrs-shared-components/staff-comments": "1.3.9", + "@bcrs-shared-components/staff-payment": "2.1.9", "@bcrs-shared-components/web-chat": "2.1.1", "@mdi/font": "^5.9.55", "@sentry/browser": "^5.30.0", @@ -1814,39 +1814,39 @@ } }, "node_modules/@bcrs-shared-components/breadcrumb": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/breadcrumb/-/breadcrumb-2.1.6.tgz", - "integrity": "sha512-Vi+tDrV+/5cS7yShxDpMtR4ERmNqCWtASD2mlZPlF6yUxqlElKp5nV/PZFERFz+NpD0zcVLBimCLJy4GouH7cg==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/breadcrumb/-/breadcrumb-2.1.9.tgz", + "integrity": "sha512-NQjd/eYThXpyeq6+nfPxy3lBZNW+tJg4g5cps4PWMeI4Ii+4DCm4kTNymsoKlzSj4V0rGTumBw+o6Ht374IHUw==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "node_modules/@bcrs-shared-components/business-lookup": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/business-lookup/-/business-lookup-1.1.8.tgz", - "integrity": "sha512-8/Gw6BGc5JKIK/CvW62gTHmx5mobzry2nRKnt/6QqUy2l+7CfcoQLTjLORxTMfG9CbneHU3iTbgSD10/Pk3uYw==", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/business-lookup/-/business-lookup-1.1.11.tgz", + "integrity": "sha512-3LOEM2qFC4frXoQUWPQhaO9C5L6OwOFBqIH+4LVHddAX2warzdK1bxeo7DE+ASnQsVLNzNNogt/356FKW/7Niw==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-debounce-decorator": "^1.0.1", "vue-property-decorator": "^9.1.2" } }, "node_modules/@bcrs-shared-components/certify": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/certify/-/certify-2.1.6.tgz", - "integrity": "sha512-Bd13HBT6Ir+yRKj6LIV8YYk6ml6RnGAKq0DtK2qBW8PTL6gUw1RmlPoFYXFAwv6Y7crECpzXmKloLhkjN7N4+Q==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/certify/-/certify-2.1.9.tgz", + "integrity": "sha512-QPqlvKRiZicpBhRI25d6u1VFIFrP2PMAVExHZ9IXQCuN7Mil7NRhugHCoJmovxUNbd5rnipZzQ7jfFaQkgC+Cw==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "node_modules/@bcrs-shared-components/completing-party": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/completing-party/-/completing-party-2.1.6.tgz", - "integrity": "sha512-PNcOXiSSvSsfXzFKMqUt4H4Wo0cIoYD7AMiuEtaxoUj2Vo6p95j+WvCzjuzYEXowcz7ZWvO56y1letN9HabZVQ==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/completing-party/-/completing-party-2.1.9.tgz", + "integrity": "sha512-suGJaf5uCwQk0BOWWDYakXIFYUNQAwVA87OZ/WLAcvAnIsnybYyCUeP4elatNLctijiwhuTiH4YoLpLgglkgMw==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "lodash": "4.17.21", "sbc-common-components": "3.0.1", "vue-property-decorator": "^9.1.2" @@ -1903,11 +1903,11 @@ } }, "node_modules/@bcrs-shared-components/contact-info": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/contact-info/-/contact-info-1.2.6.tgz", - "integrity": "sha512-zY3QFwk1tx1zgQnY/xBuFpF3fBr+VGr5P7sQ8DUepoXBZjtCJ09NdzdVqb43dXH23J32rSjwjL1bWelzsrOlWg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/contact-info/-/contact-info-1.2.9.tgz", + "integrity": "sha512-XYDj1b4AHFAb/xxTahOORCXfkhHy0OQwFhJz45mP6pAR6+/8OS0ygsEu8OpR6yd6M4VYanEvWJWNQg46Qa4S+w==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2", "vue-the-mask": "^0.11.1" } @@ -1918,20 +1918,20 @@ "integrity": "sha512-w52/6yvCW92oplOScHuP33gLSA7rsJ9ENyaZ6JKEK78rdrFdCrs1m4/Umr0DQWXUbwZQ43xn2jKXvYWDmIe1Mg==" }, "node_modules/@bcrs-shared-components/court-order-poa": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/court-order-poa/-/court-order-poa-3.0.2.tgz", - "integrity": "sha512-DY+mwq90ok+yBHYlfeciUuZoFELoN2kRkVEHJRRtN/w7657mNtSdqKikAGECFIqCSO7whwDnoa9lRsv1iaDssg==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/court-order-poa/-/court-order-poa-3.0.5.tgz", + "integrity": "sha512-0ujMxsHtKgD6gFnlrMoEQOejgsGz+qRSvgQ4VKFoDCf9aCZjO5rDi3KroFKUveGqiGpwcyXUYKToqJ+u8e31dA==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "node_modules/@bcrs-shared-components/date-picker": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/date-picker/-/date-picker-1.2.6.tgz", - "integrity": "sha512-pStDvEcwPF0b23d16ExY7SdG1p2lNdSLenhgCHmtB+GinHX9aapBJEzx8539GM6o87pZWajxN+UeQVOSr3ITOQ==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/date-picker/-/date-picker-1.2.9.tgz", + "integrity": "sha512-U7aVdxedZLJUVTtz3CxMO1A9rLtTwlbxrT43fsHFdmZWsP4mTf8Zg6i/Ng3kts2EwaBbuqytzvnQzLeNsUjg2Q==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, @@ -1944,30 +1944,30 @@ } }, "node_modules/@bcrs-shared-components/effective-date-time": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/effective-date-time/-/effective-date-time-1.1.6.tgz", - "integrity": "sha512-EDYNxR8PfeGTqnEl0PrzMEtvgpNoyR7mDj8K6HD+AJVcJRxDrMAC31eaGmApGTgXmvPigOnB5GZr8Mc61JRpUw==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/effective-date-time/-/effective-date-time-1.1.9.tgz", + "integrity": "sha512-J1REzMTDVLTZFXJE+57/+lw4KSeyJOuwzOoOvC4i3ZT7bliZeoOK/YXOB/RDlpWt+nREZfWLlnEDdmggcNo9KQ==", "dependencies": { - "@bcrs-shared-components/date-picker": "^1.2.6", - "@bcrs-shared-components/enums": "^1.0.28", - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/date-picker": "^1.2.9", + "@bcrs-shared-components/enums": "^1.0.31", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "node_modules/@bcrs-shared-components/enums": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/enums/-/enums-1.0.28.tgz", - "integrity": "sha512-Gsgu44BAy5TJ/wsAr/7B86EqrTEPVcw5HsTi+HmD63w2vj0rYGE+t8Rg9/hjRYdBkTUBr0XL8SnfEeyoOy5Pzw==", + "version": "1.0.31", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/enums/-/enums-1.0.31.tgz", + "integrity": "sha512-xi2k5vdgtIvNzfrv6XMnIFmzuAyKzTKx6Zq+7dTgI9uNVxitmEt55ErFzpmIoIOxHcSm6WQebKyzW34srEf+tA==", "dependencies": { "@bcrs-shared-components/corp-type-module": "^1.0.9" } }, "node_modules/@bcrs-shared-components/folio-number-input": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/folio-number-input/-/folio-number-input-1.1.6.tgz", - "integrity": "sha512-6MRi1/+ZebBWybiJD08/HqlcuHlOp1+7FCM9F466y0nLwxH77/keD/diKrvWqh/9t04VK+i7GDpvUkgi3d80Dg==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/folio-number-input/-/folio-number-input-1.1.9.tgz", + "integrity": "sha512-pARp6HgE1e6wanI+W4L6rxvMmjim7tjAxi3m+06uz2zwyWuqO1lXx0RbxBDLxPLVttbU2iN5QP7a7DkMvuc5Pg==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, @@ -1980,11 +1980,11 @@ } }, "node_modules/@bcrs-shared-components/interfaces": { - "version": "1.0.49", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/interfaces/-/interfaces-1.0.49.tgz", - "integrity": "sha512-gVtSWvkhVmDoR6nwPjZt2H2pHDDGXl9e30dn7HpZaYi0pfTF9aP29GZi6VSrNJAopxdZBP3g+Qt7r9tIl9MznA==", + "version": "1.0.52", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/interfaces/-/interfaces-1.0.52.tgz", + "integrity": "sha512-G9PDdzt6qPTtIVDnWPTp/gWOAxGWYBld9vS7ztS4MsLp+BgpzBP8Rc4FB01sO2nQGP0GUG+R/JNMp6jKPM/ATw==", "dependencies": { - "@bcrs-shared-components/enums": "^1.0.28", + "@bcrs-shared-components/enums": "^1.0.31", "vue": "^2.7.10" } }, @@ -1997,40 +1997,48 @@ } }, "node_modules/@bcrs-shared-components/nature-of-business": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/nature-of-business/-/nature-of-business-1.2.3.tgz", - "integrity": "sha512-BkVlF+l6tHg882guy7zeWOBQqRUIUMPHBGi1mwrtiK/9i6TtNHMCVLam+gxBXzd5WO9u7PMLbK05dCKJFZu3jQ==", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/nature-of-business/-/nature-of-business-1.2.8.tgz", + "integrity": "sha512-Ptp5oqTN/iPgPILL7WVD/txmTrMqt8rm0tiXIuC4aqaGeKbCN3OLex5WBltUip4UelW3td6YSuZyW2sapJOe+w==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.47", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "node_modules/@bcrs-shared-components/relationships-panel": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/relationships-panel/-/relationships-panel-1.0.0.tgz", - "integrity": "sha512-Mk8O3zfnS6+/rRCQrEhubdC10CZvsqM5FF5Xcxc0qHKKw0G1ecmKOTw/IrQztpHTvtc+rIAbPp0DnOA1VUYWtA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/relationships-panel/-/relationships-panel-1.0.5.tgz", + "integrity": "sha512-KK7p8wu8GFwpmbzy34HjOFFUpvzS2qbpCPaKiP78LQSi+wd0Z8mI9amV0GPI94osRI5RkKD2xKTUkdz1TAHuSg==", "dependencies": { - "@bcrs-shared-components/enums": "^1.0.28", + "@bcrs-shared-components/enums": "^1.0.33", "vue-property-decorator": "^9.1.2" } }, + "node_modules/@bcrs-shared-components/relationships-panel/node_modules/@bcrs-shared-components/enums": { + "version": "1.0.33", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/enums/-/enums-1.0.33.tgz", + "integrity": "sha512-SWiZI2GnpUDAreKAXoPv8km9n0VYln8Sa4KF82hhZ9zQ+5yZhwlPgF8qvgCqmz2Pd3pEt3F1szrAKr6yGKjJzA==", + "dependencies": { + "@bcrs-shared-components/corp-type-module": "^1.0.9" + } + }, "node_modules/@bcrs-shared-components/staff-comments": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-comments/-/staff-comments-1.3.6.tgz", - "integrity": "sha512-4tfpYtszdSblHSGdokctFO8tFQkx1Ln7a4eJZ1MvwWp/SYFXY+84olws7Gnroq2vqHs9wQpeeCQZEeforsJGHQ==", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-comments/-/staff-comments-1.3.9.tgz", + "integrity": "sha512-yYbar69aFVSfGrJ88vssSzatbHprvpO0N1U4QBXfE3MSVkXLEGEHk5ZqmhBiq1ttvl1QaOHY+wXlGyMBHzBBYw==", "dependencies": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "node_modules/@bcrs-shared-components/staff-payment": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-payment/-/staff-payment-2.1.6.tgz", - "integrity": "sha512-XzpLbZYV/7Swj+yKS2V51yO6TWWvGtd0psJMusaatKgF9hl9LI4r8Srth3gB78pzA76boi56bY9lszcJ0Irofg==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-payment/-/staff-payment-2.1.9.tgz", + "integrity": "sha512-a0DP2NboIQ1OG8XYIpVsFBWW9JBx6i06p3pkf4gVT1/HFN7bC3D3m+ZhUQYM2vmrXeMNU39d1ol2sWevFJz45g==", "dependencies": { - "@bcrs-shared-components/enums": "^1.0.28", - "@bcrs-shared-components/folio-number-input": "^1.1.6", - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/enums": "^1.0.31", + "@bcrs-shared-components/folio-number-input": "^1.1.9", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, @@ -25509,39 +25517,39 @@ } }, "@bcrs-shared-components/breadcrumb": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/breadcrumb/-/breadcrumb-2.1.6.tgz", - "integrity": "sha512-Vi+tDrV+/5cS7yShxDpMtR4ERmNqCWtASD2mlZPlF6yUxqlElKp5nV/PZFERFz+NpD0zcVLBimCLJy4GouH7cg==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/breadcrumb/-/breadcrumb-2.1.9.tgz", + "integrity": "sha512-NQjd/eYThXpyeq6+nfPxy3lBZNW+tJg4g5cps4PWMeI4Ii+4DCm4kTNymsoKlzSj4V0rGTumBw+o6Ht374IHUw==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "@bcrs-shared-components/business-lookup": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/business-lookup/-/business-lookup-1.1.8.tgz", - "integrity": "sha512-8/Gw6BGc5JKIK/CvW62gTHmx5mobzry2nRKnt/6QqUy2l+7CfcoQLTjLORxTMfG9CbneHU3iTbgSD10/Pk3uYw==", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/business-lookup/-/business-lookup-1.1.11.tgz", + "integrity": "sha512-3LOEM2qFC4frXoQUWPQhaO9C5L6OwOFBqIH+4LVHddAX2warzdK1bxeo7DE+ASnQsVLNzNNogt/356FKW/7Niw==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-debounce-decorator": "^1.0.1", "vue-property-decorator": "^9.1.2" } }, "@bcrs-shared-components/certify": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/certify/-/certify-2.1.6.tgz", - "integrity": "sha512-Bd13HBT6Ir+yRKj6LIV8YYk6ml6RnGAKq0DtK2qBW8PTL6gUw1RmlPoFYXFAwv6Y7crECpzXmKloLhkjN7N4+Q==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/certify/-/certify-2.1.9.tgz", + "integrity": "sha512-QPqlvKRiZicpBhRI25d6u1VFIFrP2PMAVExHZ9IXQCuN7Mil7NRhugHCoJmovxUNbd5rnipZzQ7jfFaQkgC+Cw==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "@bcrs-shared-components/completing-party": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/completing-party/-/completing-party-2.1.6.tgz", - "integrity": "sha512-PNcOXiSSvSsfXzFKMqUt4H4Wo0cIoYD7AMiuEtaxoUj2Vo6p95j+WvCzjuzYEXowcz7ZWvO56y1letN9HabZVQ==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/completing-party/-/completing-party-2.1.9.tgz", + "integrity": "sha512-suGJaf5uCwQk0BOWWDYakXIFYUNQAwVA87OZ/WLAcvAnIsnybYyCUeP4elatNLctijiwhuTiH4YoLpLgglkgMw==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "lodash": "4.17.21", "sbc-common-components": "3.0.1", "vue-property-decorator": "^9.1.2" @@ -25600,11 +25608,11 @@ } }, "@bcrs-shared-components/contact-info": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/contact-info/-/contact-info-1.2.6.tgz", - "integrity": "sha512-zY3QFwk1tx1zgQnY/xBuFpF3fBr+VGr5P7sQ8DUepoXBZjtCJ09NdzdVqb43dXH23J32rSjwjL1bWelzsrOlWg==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/contact-info/-/contact-info-1.2.9.tgz", + "integrity": "sha512-XYDj1b4AHFAb/xxTahOORCXfkhHy0OQwFhJz45mP6pAR6+/8OS0ygsEu8OpR6yd6M4VYanEvWJWNQg46Qa4S+w==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2", "vue-the-mask": "^0.11.1" } @@ -25615,20 +25623,20 @@ "integrity": "sha512-w52/6yvCW92oplOScHuP33gLSA7rsJ9ENyaZ6JKEK78rdrFdCrs1m4/Umr0DQWXUbwZQ43xn2jKXvYWDmIe1Mg==" }, "@bcrs-shared-components/court-order-poa": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/court-order-poa/-/court-order-poa-3.0.2.tgz", - "integrity": "sha512-DY+mwq90ok+yBHYlfeciUuZoFELoN2kRkVEHJRRtN/w7657mNtSdqKikAGECFIqCSO7whwDnoa9lRsv1iaDssg==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/court-order-poa/-/court-order-poa-3.0.5.tgz", + "integrity": "sha512-0ujMxsHtKgD6gFnlrMoEQOejgsGz+qRSvgQ4VKFoDCf9aCZjO5rDi3KroFKUveGqiGpwcyXUYKToqJ+u8e31dA==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "@bcrs-shared-components/date-picker": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/date-picker/-/date-picker-1.2.6.tgz", - "integrity": "sha512-pStDvEcwPF0b23d16ExY7SdG1p2lNdSLenhgCHmtB+GinHX9aapBJEzx8539GM6o87pZWajxN+UeQVOSr3ITOQ==", + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/date-picker/-/date-picker-1.2.9.tgz", + "integrity": "sha512-U7aVdxedZLJUVTtz3CxMO1A9rLtTwlbxrT43fsHFdmZWsP4mTf8Zg6i/Ng3kts2EwaBbuqytzvnQzLeNsUjg2Q==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, @@ -25641,30 +25649,30 @@ } }, "@bcrs-shared-components/effective-date-time": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/effective-date-time/-/effective-date-time-1.1.6.tgz", - "integrity": "sha512-EDYNxR8PfeGTqnEl0PrzMEtvgpNoyR7mDj8K6HD+AJVcJRxDrMAC31eaGmApGTgXmvPigOnB5GZr8Mc61JRpUw==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/effective-date-time/-/effective-date-time-1.1.9.tgz", + "integrity": "sha512-J1REzMTDVLTZFXJE+57/+lw4KSeyJOuwzOoOvC4i3ZT7bliZeoOK/YXOB/RDlpWt+nREZfWLlnEDdmggcNo9KQ==", "requires": { - "@bcrs-shared-components/date-picker": "^1.2.6", - "@bcrs-shared-components/enums": "^1.0.28", - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/date-picker": "^1.2.9", + "@bcrs-shared-components/enums": "^1.0.31", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "@bcrs-shared-components/enums": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/enums/-/enums-1.0.28.tgz", - "integrity": "sha512-Gsgu44BAy5TJ/wsAr/7B86EqrTEPVcw5HsTi+HmD63w2vj0rYGE+t8Rg9/hjRYdBkTUBr0XL8SnfEeyoOy5Pzw==", + "version": "1.0.31", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/enums/-/enums-1.0.31.tgz", + "integrity": "sha512-xi2k5vdgtIvNzfrv6XMnIFmzuAyKzTKx6Zq+7dTgI9uNVxitmEt55ErFzpmIoIOxHcSm6WQebKyzW34srEf+tA==", "requires": { "@bcrs-shared-components/corp-type-module": "^1.0.9" } }, "@bcrs-shared-components/folio-number-input": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/folio-number-input/-/folio-number-input-1.1.6.tgz", - "integrity": "sha512-6MRi1/+ZebBWybiJD08/HqlcuHlOp1+7FCM9F466y0nLwxH77/keD/diKrvWqh/9t04VK+i7GDpvUkgi3d80Dg==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/folio-number-input/-/folio-number-input-1.1.9.tgz", + "integrity": "sha512-pARp6HgE1e6wanI+W4L6rxvMmjim7tjAxi3m+06uz2zwyWuqO1lXx0RbxBDLxPLVttbU2iN5QP7a7DkMvuc5Pg==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, @@ -25677,11 +25685,11 @@ } }, "@bcrs-shared-components/interfaces": { - "version": "1.0.49", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/interfaces/-/interfaces-1.0.49.tgz", - "integrity": "sha512-gVtSWvkhVmDoR6nwPjZt2H2pHDDGXl9e30dn7HpZaYi0pfTF9aP29GZi6VSrNJAopxdZBP3g+Qt7r9tIl9MznA==", + "version": "1.0.52", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/interfaces/-/interfaces-1.0.52.tgz", + "integrity": "sha512-G9PDdzt6qPTtIVDnWPTp/gWOAxGWYBld9vS7ztS4MsLp+BgpzBP8Rc4FB01sO2nQGP0GUG+R/JNMp6jKPM/ATw==", "requires": { - "@bcrs-shared-components/enums": "^1.0.28", + "@bcrs-shared-components/enums": "^1.0.31", "vue": "^2.7.10" } }, @@ -25694,40 +25702,50 @@ } }, "@bcrs-shared-components/nature-of-business": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/nature-of-business/-/nature-of-business-1.2.3.tgz", - "integrity": "sha512-BkVlF+l6tHg882guy7zeWOBQqRUIUMPHBGi1mwrtiK/9i6TtNHMCVLam+gxBXzd5WO9u7PMLbK05dCKJFZu3jQ==", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/nature-of-business/-/nature-of-business-1.2.8.tgz", + "integrity": "sha512-Ptp5oqTN/iPgPILL7WVD/txmTrMqt8rm0tiXIuC4aqaGeKbCN3OLex5WBltUip4UelW3td6YSuZyW2sapJOe+w==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.47", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "@bcrs-shared-components/relationships-panel": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/relationships-panel/-/relationships-panel-1.0.0.tgz", - "integrity": "sha512-Mk8O3zfnS6+/rRCQrEhubdC10CZvsqM5FF5Xcxc0qHKKw0G1ecmKOTw/IrQztpHTvtc+rIAbPp0DnOA1VUYWtA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/relationships-panel/-/relationships-panel-1.0.5.tgz", + "integrity": "sha512-KK7p8wu8GFwpmbzy34HjOFFUpvzS2qbpCPaKiP78LQSi+wd0Z8mI9amV0GPI94osRI5RkKD2xKTUkdz1TAHuSg==", "requires": { - "@bcrs-shared-components/enums": "^1.0.28", + "@bcrs-shared-components/enums": "^1.0.33", "vue-property-decorator": "^9.1.2" + }, + "dependencies": { + "@bcrs-shared-components/enums": { + "version": "1.0.33", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/enums/-/enums-1.0.33.tgz", + "integrity": "sha512-SWiZI2GnpUDAreKAXoPv8km9n0VYln8Sa4KF82hhZ9zQ+5yZhwlPgF8qvgCqmz2Pd3pEt3F1szrAKr6yGKjJzA==", + "requires": { + "@bcrs-shared-components/corp-type-module": "^1.0.9" + } + } } }, "@bcrs-shared-components/staff-comments": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-comments/-/staff-comments-1.3.6.tgz", - "integrity": "sha512-4tfpYtszdSblHSGdokctFO8tFQkx1Ln7a4eJZ1MvwWp/SYFXY+84olws7Gnroq2vqHs9wQpeeCQZEeforsJGHQ==", + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-comments/-/staff-comments-1.3.9.tgz", + "integrity": "sha512-yYbar69aFVSfGrJ88vssSzatbHprvpO0N1U4QBXfE3MSVkXLEGEHk5ZqmhBiq1ttvl1QaOHY+wXlGyMBHzBBYw==", "requires": { - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, "@bcrs-shared-components/staff-payment": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-payment/-/staff-payment-2.1.6.tgz", - "integrity": "sha512-XzpLbZYV/7Swj+yKS2V51yO6TWWvGtd0psJMusaatKgF9hl9LI4r8Srth3gB78pzA76boi56bY9lszcJ0Irofg==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@bcrs-shared-components/staff-payment/-/staff-payment-2.1.9.tgz", + "integrity": "sha512-a0DP2NboIQ1OG8XYIpVsFBWW9JBx6i06p3pkf4gVT1/HFN7bC3D3m+ZhUQYM2vmrXeMNU39d1ol2sWevFJz45g==", "requires": { - "@bcrs-shared-components/enums": "^1.0.28", - "@bcrs-shared-components/folio-number-input": "^1.1.6", - "@bcrs-shared-components/interfaces": "^1.0.49", + "@bcrs-shared-components/enums": "^1.0.31", + "@bcrs-shared-components/folio-number-input": "^1.1.9", + "@bcrs-shared-components/interfaces": "^1.0.52", "vue-property-decorator": "^9.1.2" } }, diff --git a/package.json b/package.json index 6421231fc..f8008045a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "4.5.16", + "version": "4.5.17", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", @@ -13,26 +13,26 @@ }, "dependencies": { "@babel/compat-data": "^7.19.1", - "@bcrs-shared-components/breadcrumb": "2.1.6", - "@bcrs-shared-components/business-lookup": "1.1.8", - "@bcrs-shared-components/certify": "2.1.6", - "@bcrs-shared-components/completing-party": "2.1.6", + "@bcrs-shared-components/breadcrumb": "2.1.9", + "@bcrs-shared-components/business-lookup": "1.1.11", + "@bcrs-shared-components/certify": "2.1.9", + "@bcrs-shared-components/completing-party": "2.1.9", "@bcrs-shared-components/confirm-dialog": "1.2.1", - "@bcrs-shared-components/contact-info": "1.2.6", + "@bcrs-shared-components/contact-info": "1.2.9", "@bcrs-shared-components/corp-type-module": "1.0.9", - "@bcrs-shared-components/court-order-poa": "3.0.2", - "@bcrs-shared-components/date-picker": "1.2.6", + "@bcrs-shared-components/court-order-poa": "3.0.5", + "@bcrs-shared-components/date-picker": "1.2.9", "@bcrs-shared-components/document-delivery": "1.2.0", - "@bcrs-shared-components/effective-date-time": "1.1.6", - "@bcrs-shared-components/enums": "1.0.28", + "@bcrs-shared-components/effective-date-time": "1.1.9", + "@bcrs-shared-components/enums": "1.0.31", "@bcrs-shared-components/help-business-number": "1.1.1", - "@bcrs-shared-components/interfaces": "1.0.49", - "@bcrs-shared-components/nature-of-business": "1.2.3", - "@bcrs-shared-components/staff-comments": "1.3.6", - "@bcrs-shared-components/staff-payment": "2.1.6", - "@bcrs-shared-components/web-chat": "2.1.1", - "@bcrs-shared-components/relationships-panel": "1.0.0", + "@bcrs-shared-components/interfaces": "1.0.52", "@bcrs-shared-components/limited-restoration-panel": "1.0.0", + "@bcrs-shared-components/nature-of-business": "1.2.8", + "@bcrs-shared-components/relationships-panel": "1.0.5", + "@bcrs-shared-components/staff-comments": "1.3.9", + "@bcrs-shared-components/staff-payment": "2.1.9", + "@bcrs-shared-components/web-chat": "2.1.1", "@mdi/font": "^5.9.55", "@sentry/browser": "^5.30.0", "@sentry/integrations": "^5.30.0", diff --git a/src/App.vue b/src/App.vue index da216e9c2..e3bbddd4a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -115,8 +115,9 @@

{{ getFilingName }}

-

- {{ getFilingSubtitle }} +

+ Confirm the following information, select the dissolution date and certify + your dissolution before filing.

@@ -144,7 +145,7 @@ @@ -242,7 +243,6 @@ export default class App extends Vue { @Getter isIncorporationFiling!: boolean @Getter getSteps!: Array @Getter isSbcStaff!: boolean - @Getter getFilingSubtitle!: string @Getter getUserFirstName!: string @Getter getUserLastName!: string @Getter getUserPhone!: string @@ -391,10 +391,15 @@ export default class App extends Vue { ) } - /** The Fee Summary filing text for businesses. */ - get filingLabelText (): string { + /** Whether the current filing is a firm dissolution. */ + get isFirmDissolution (): boolean { + return (this.isTypeFirm && this.isDissolutionFiling) + } + + /** The fee summary filing label. */ + get filingLabel (): string { // text override for firm dissolutions - return (this.isTypeFirm && this.isDissolutionFiling) ? 'Dissolution' : null + return this.isFirmDissolution ? 'Dissolution' : null } /** The About text. */ @@ -408,11 +413,11 @@ export default class App extends Vue { case FilingTypes.INCORPORATION_APPLICATION: return 'Application' case FilingTypes.REGISTRATION: return 'Registration' case FilingTypes.RESTORATION: return 'Restoration' - case FilingTypes.VOLUNTARY_DISSOLUTION: return 'Filing' + case FilingTypes.DISSOLUTION: return 'Filing' } } - // check to use stepper view or not + /** Whether to use stepper view. */ get isStepperView (): boolean { return !this.$route.meta.noStepper } @@ -671,7 +676,7 @@ export default class App extends Vue { // then try to re-route them if (this.$route.meta.filingType !== this.getFilingType) { switch (this.getFilingType) { - case FilingTypes.VOLUNTARY_DISSOLUTION: + case FilingTypes.DISSOLUTION: if (this.isTypeFirm) { this.$router.push(RouteNames.DISSOLUTION_FIRM).catch(() => {}) } else { @@ -689,7 +694,7 @@ export default class App extends Vue { return default: this.invalidRouteDialog = true - throw new Error(`Invalid filing type = ${this.getFilingType}`) // go to catch() + throw new Error(`fetchData(): invalid filing type = ${this.getFilingType}`) // go to catch() } } @@ -755,7 +760,7 @@ export default class App extends Vue { // parse draft filing into the store and get the resources let resources: ResourceIF switch (this.getFilingType) { - case FilingTypes.VOLUNTARY_DISSOLUTION: + case FilingTypes.DISSOLUTION: draftFiling = { ...this.buildDissolutionFiling(), ...draftFiling @@ -772,7 +777,7 @@ export default class App extends Vue { resources = RestorationResources.find(x => x.entityType === this.getEntityType) break default: - throw new Error(`Invalid filing type = ${this.getFilingType}`) + throw new Error(`handleDissolutionOrRestoration(): invalid filing type = ${this.getFilingType}`) } // set the resources @@ -819,7 +824,7 @@ export default class App extends Vue { resources = RegistrationResources.find(x => x.entityType === this.getEntityType) break default: - throw new Error(`Invalid filing type = ${this.getFilingType}`) + throw new Error(`handleIaOrRegistration(): invalid filing type = ${this.getFilingType}`) } // set the resources diff --git a/src/components/Dissolution/CareAndCustodySelect.vue b/src/components/Dissolution/CareAndCustodySelect.vue index d6fb0bddc..db73cdcb6 100644 --- a/src/components/Dissolution/CareAndCustodySelect.vue +++ b/src/components/Dissolution/CareAndCustodySelect.vue @@ -45,12 +45,14 @@ import { RoleTypes } from '@/enums' export default class CareAndCustodySelect extends Vue { @Prop({ default: false }) readonly showErrorSummary!: boolean + // for template readonly RoleTypes = RoleTypes + // local variable protected liquidatorOrCustodian = null as RoleTypes protected changeCareAndCustodyType (): void { - // Todo: Apply option to store when required + // FUTURE: save `liquidatorOrCustodian` to store when required } } diff --git a/src/components/Incorporation/UploadMemorandum.vue b/src/components/Incorporation/UploadMemorandum.vue index 6885f3ab9..9eaa7706e 100644 --- a/src/components/Incorporation/UploadMemorandum.vue +++ b/src/components/Incorporation/UploadMemorandum.vue @@ -414,10 +414,8 @@ export default class UploadMemorandum extends Vue { diff --git a/src/components/Restoration/CorrectCompanyName.vue b/src/components/Restoration/CorrectCompanyName.vue new file mode 100644 index 000000000..b665a4747 --- /dev/null +++ b/src/components/Restoration/CorrectCompanyName.vue @@ -0,0 +1,85 @@ + + + diff --git a/src/components/Restoration/CorrectNameOptions.vue b/src/components/Restoration/CorrectNameOptions.vue new file mode 100644 index 000000000..bd3ad1b54 --- /dev/null +++ b/src/components/Restoration/CorrectNameOptions.vue @@ -0,0 +1,226 @@ + + + + + diff --git a/src/components/Restoration/CorrectNameRequest.vue b/src/components/Restoration/CorrectNameRequest.vue new file mode 100644 index 000000000..9bf931060 --- /dev/null +++ b/src/components/Restoration/CorrectNameRequest.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/components/Restoration/CorrectNameToNumber.vue b/src/components/Restoration/CorrectNameToNumber.vue new file mode 100644 index 000000000..08653e93d --- /dev/null +++ b/src/components/Restoration/CorrectNameToNumber.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/src/components/common/Actions.vue b/src/components/common/Actions.vue index c138e5e77..0d37dbc05 100644 --- a/src/components/common/Actions.vue +++ b/src/components/common/Actions.vue @@ -307,7 +307,7 @@ export default class Actions extends Vue { return this.buildRegistrationFiling() case FilingTypes.RESTORATION: return this.buildRestorationFiling() - case FilingTypes.VOLUNTARY_DISSOLUTION: + case FilingTypes.DISSOLUTION: return this.buildDissolutionFiling() } } diff --git a/src/components/common/EntityInfo.vue b/src/components/common/EntityInfo.vue index 746531b90..a4525b9c9 100644 --- a/src/components/common/EntityInfo.vue +++ b/src/components/common/EntityInfo.vue @@ -153,7 +153,7 @@ export default class EntityInfo extends Vue { get legalName (): string { switch (this.getFilingType) { - case FilingTypes.VOLUNTARY_DISSOLUTION: + case FilingTypes.DISSOLUTION: return this.getBusinessLegalName case FilingTypes.INCORPORATION_APPLICATION: return this.getNameRequestApprovedName diff --git a/src/components/common/NameRequestInfo.vue b/src/components/common/NameRequestInfo.vue index aa8329b96..f507665c4 100644 --- a/src/components/common/NameRequestInfo.vue +++ b/src/components/common/NameRequestInfo.vue @@ -1,14 +1,9 @@ diff --git a/src/components/common/NameTranslation.vue b/src/components/common/NameTranslation.vue new file mode 100644 index 000000000..300a453fc --- /dev/null +++ b/src/components/common/NameTranslation.vue @@ -0,0 +1,225 @@ + + + + + diff --git a/src/dialogs/NameRequestInvalidErrorDialog.vue b/src/dialogs/NameRequestInvalidErrorDialog.vue index 9d18de31f..36d89fce8 100644 --- a/src/dialogs/NameRequestInvalidErrorDialog.vue +++ b/src/dialogs/NameRequestInvalidErrorDialog.vue @@ -38,7 +38,7 @@