From e3e471568e0473b6e270d7b4e90e13e8f19bd134 Mon Sep 17 00:00:00 2001 From: Severin Beauvais Date: Mon, 11 Sep 2023 12:43:20 -0700 Subject: [PATCH 1/2] - app version = 5.1.0 - implemented sub-components for search.vue blocks - refactored search.vue to separate flows using sub-components (STILL WIP) - fixed tab title size on small screens - added search variables to store - created search-mixin.ts for common getters, setters, etc. - misc cleanup --- package-lock.json | 4 +- package.json | 2 +- src/components/common/nested-select.vue | 10 +- src/components/dialogs/mras-search-info.vue | 5 +- src/components/dialogs/nr-not-required.vue | 8 +- src/components/new-request/name-input.vue | 5 +- .../business-lookup-fetch.vue | 170 ++++ .../search-components/company-type.vue | 45 + .../corp-number-checkbox.vue | 52 + .../search-components/designation.vue | 80 ++ .../search-components/dummy-input-box.vue | 21 + .../search-components/entity-type.vue | 157 +++ .../search-components/jurisdiction.vue | 67 ++ .../numbered-company-bullets.vue | 54 ++ .../search-components/request-action.vue | 85 ++ .../xpro-federal-bullets.vue | 60 ++ src/components/new-request/search.vue | 904 +++--------------- src/components/tabs.vue | 1 - src/interfaces/new-request-interface.ts | 17 +- src/mixins/index.ts | 1 + src/mixins/search-mixin.ts | 199 ++++ src/store/actions.ts | 18 + src/store/getters.ts | 18 + src/store/mutations.ts | 23 +- src/store/state.ts | 6 + src/views/landing.vue | 12 + tests/unit/name-input.spec.ts | 2 +- tests/unit/search.spec.ts | 2 +- 28 files changed, 1238 insertions(+), 790 deletions(-) create mode 100644 src/components/new-request/search-components/business-lookup-fetch.vue create mode 100644 src/components/new-request/search-components/company-type.vue create mode 100644 src/components/new-request/search-components/corp-number-checkbox.vue create mode 100644 src/components/new-request/search-components/designation.vue create mode 100644 src/components/new-request/search-components/dummy-input-box.vue create mode 100644 src/components/new-request/search-components/entity-type.vue create mode 100644 src/components/new-request/search-components/jurisdiction.vue create mode 100644 src/components/new-request/search-components/numbered-company-bullets.vue create mode 100644 src/components/new-request/search-components/request-action.vue create mode 100644 src/components/new-request/search-components/xpro-federal-bullets.vue create mode 100644 src/mixins/search-mixin.ts diff --git a/package-lock.json b/package-lock.json index fc27d41db..d024e8d09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "name-request", - "version": "5.0.44", + "version": "5.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "name-request", - "version": "5.0.44", + "version": "5.1.0", "dependencies": { "@babel/compat-data": "^7.12.13", "@bcrs-shared-components/breadcrumb": "2.1.24", diff --git a/package.json b/package.json index 62b661e0a..43e027944 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "name-request", - "version": "5.0.44", + "version": "5.1.0", "private": true, "appName": "Name Request UI", "sbcName": "SBC Common Components", diff --git a/src/components/common/nested-select.vue b/src/components/common/nested-select.vue index 38a810f43..ad9cadec5 100644 --- a/src/components/common/nested-select.vue +++ b/src/components/common/nested-select.vue @@ -1,6 +1,6 @@