From 1d31cd0c6371445c85c3cace968a0feaea7d13cb Mon Sep 17 00:00:00 2001 From: Severin Beauvais Date: Tue, 5 Dec 2023 16:33:12 -0800 Subject: [PATCH] - app version = 5.6.10 - updated some validity calculations - moved ting validations to a mixin - generalized status computation - updated regular amalgation validity --- package-lock.json | 4 +- package.json | 4 +- .../Amalgamation/AmalgamatingBusinesses.vue | 20 +++- src/components/Amalgamation/BusinessTable.vue | 80 +++---------- .../amalgamation-state-interface.ts | 1 + src/mixins/amalgamation-mixin.ts | 113 ++++++++++++++++++ src/mixins/index.ts | 1 + src/store/state/state-model.ts | 1 + src/store/store.ts | 17 ++- src/views/AmalgamationRegular/Information.vue | 12 +- .../AmalgamationRegular/ReviewConfirm.vue | 6 +- .../IncorporationDefineCompany.vue | 2 +- 12 files changed, 180 insertions(+), 81 deletions(-) create mode 100644 src/mixins/amalgamation-mixin.ts diff --git a/package-lock.json b/package-lock.json index 5d95d7b8d..8c1b3bd2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.6.7", + "version": "5.6.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.6.7", + "version": "5.6.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 44100f14b..0c2594b8a 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "business-create-ui", - "version": "5.6.7", + "version": "5.6.10", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", "scripts": { "dev": "vite", "build": "vite build", - "serve": "vite preview", + "serve": "vite preview --port 8080", "lint": "eslint . --ext .js,.ts,.vue", "test:unit": "vitest run", "test:coverage": "vitest run --coverage" diff --git a/src/components/Amalgamation/AmalgamatingBusinesses.vue b/src/components/Amalgamation/AmalgamatingBusinesses.vue index 8a6742f59..e35a815fc 100644 --- a/src/components/Amalgamation/AmalgamatingBusinesses.vue +++ b/src/components/Amalgamation/AmalgamatingBusinesses.vue @@ -125,8 +125,6 @@ --> - - diff --git a/src/components/Amalgamation/BusinessTable.vue b/src/components/Amalgamation/BusinessTable.vue index ca49141ba..071320ae5 100644 --- a/src/components/Amalgamation/BusinessTable.vue +++ b/src/components/Amalgamation/BusinessTable.vue @@ -69,15 +69,16 @@