From 9e75c9c8456f7e7c6be072d2c8baac03a820d7ac Mon Sep 17 00:00:00 2001 From: Kial Date: Wed, 6 Nov 2024 16:53:20 -0500 Subject: [PATCH] UI - strata hotel application (#274) * UI - strata hotel application Signed-off-by: Kial Jinnah * updated address usage for base web changes Signed-off-by: Kial Jinnah * Final initial strata form updates Signed-off-by: Kial Jinnah * PR comment Signed-off-by: Kial Jinnah --------- Signed-off-by: Kial Jinnah --- strr-base-web/app/app.config.ts | 18 +- .../components/connect/form/address/Index.vue | 54 ++- .../components/connect/form/field/Group.vue | 2 +- .../components/connect/form/field/Index.vue | 11 +- .../app/composables/useCanadaPost.ts | 7 +- strr-base-web/app/composables/useStrrApi.ts | 4 +- strr-base-web/app/locales/en-CA.ts | 1 + .../app/utils/connect-validation/index.ts | 13 - .../form/platform/BusinessDetails.vue | 41 +- strr-platform-web/app/locales/en-CA.ts | 1 - .../app/stores/platformApplication.ts | 2 +- strr-platform-web/package.json | 3 +- strr-platform-web/pnpm-lock.yaml | 12 + .../app/components/form/BusinessDetails.vue | 203 ++++++++++ .../app/components/form/ReviewConfirm.vue | 353 ++++++++++++++++++ .../app/components/form/StrataDetails.vue | 176 +++++++++ .../app/interfaces/strata-details.ts | 2 +- strr-strata-web/app/locales/en-CA.ts | 48 ++- strr-strata-web/app/pages/application.vue | 104 +++++- .../app/stores/strataApplication.ts | 18 +- strr-strata-web/app/stores/strataDetails.ts | 59 ++- strr-strata-web/nuxt.config.ts | 1 + strr-strata-web/package.json | 3 +- strr-strata-web/pnpm-lock.yaml | 12 + 24 files changed, 1013 insertions(+), 135 deletions(-) create mode 100644 strr-strata-web/app/components/form/BusinessDetails.vue create mode 100644 strr-strata-web/app/components/form/ReviewConfirm.vue create mode 100644 strr-strata-web/app/components/form/StrataDetails.vue diff --git a/strr-base-web/app/app.config.ts b/strr-base-web/app/app.config.ts index 52e82bb1..088cbbc2 100644 --- a/strr-base-web/app/app.config.ts +++ b/strr-base-web/app/app.config.ts @@ -1,3 +1,4 @@ +/* eslint-disable max-len */ export default defineAppConfig({ strrBaseLayer: { page: { @@ -25,12 +26,14 @@ export default defineAppConfig({ base: 'file:text-gray-700 file:pt-2' }, color: { + gray: { + outline: 'bg-gray-100 ring-0 disabled:hover:bg-gray-100 disabled:hover:border-gray-500 hover:bg-gray-200 hover:border-gray-600 focus:border-primary-500 focus:border-b-2 focus:ring-0' + }, red: { - outline: 'bg-red-100 ring-0 border-red-600 placeholder-red-600 hover:bg-gray-200 ' + - 'focus:border-red-600 focus:border-b-2 focus:ring-0' + outline: 'bg-red-100 ring-0 border-red-600 placeholder-red-600 focus:border-red-600 focus:border-b-2 focus:ring-0' }, primary: { - outline: 'bg-primary-50 ring-0 border-primary-500 hover:bg-gray-200 focus:border-b-2 focus:ring-0' + outline: 'bg-primary-50 ring-0 border-primary-500 focus:border-b-2 focus:ring-0' } } }, @@ -39,9 +42,14 @@ export default defineAppConfig({ }, select: { color: { + gray: { + outline: 'bg-gray-100 ring-0 disabled:hover:bg-gray-100 hover:bg-gray-200 hover:border-gray-600 focus:border-primary-500 focus:border-b-2 focus:ring-0' + }, + primary: { + outline: 'bg-primary-50 ring-0 border-primary-500 disabled:hover:bg-primary-50 focus:border-b-2 focus:ring-0' + }, red: { - outline: 'bg-red-100 border-red-600 ring-0 hover:bg-gray-200 ' + - 'focus:border-red-600 focus:border-b-2 focus:ring-0' + outline: 'bg-red-100 border-red-600 ring-0 focus:border-red-600 focus:border-b-2 focus:ring-0' } } }, diff --git a/strr-base-web/app/components/connect/form/address/Index.vue b/strr-base-web/app/components/connect/form/address/Index.vue index 6b044f1d..7b5b0ed1 100644 --- a/strr-base-web/app/components/connect/form/address/Index.vue +++ b/strr-base-web/app/components/connect/form/address/Index.vue @@ -1,4 +1,6 @@