diff --git a/strr-web/.env.local b/strr-web/.env.local deleted file mode 100644 index ae24abf6e..000000000 --- a/strr-web/.env.local +++ /dev/null @@ -1,24 +0,0 @@ -VUE_APP_POD_NAMESPACE=local -# canada post -VUE_APP_ADDRESS_COMPLETE_KEY= -# vaults web-url -VUE_APP_REGISTRY_URL="https://dev.bcros.ca/dashboard" -VUE_APP_REGISTRY_HOME_URL="https://dev.bcregistry.gov.bc.ca/" -VUE_APP_AUTH_WEB_URL="https://dev.account.bcregistry.gov.bc.ca/" -# vaults keycloak -VUE_APP_KEYCLOAK_AUTH_URL="https://dev.loginproxy.gov.bc.ca/auth" -VUE_APP_KEYCLOAK_REALM="bcregistry" -VUE_APP_KEYCLOAK_CLIENTID="strr-web" -# vaults API -VUE_APP_AUTH_API_URL="https://auth-api-dev.apps.silver.devops.gov.bc.ca" -VUE_APP_AUTH_API_VERSION="/api/v1" -VUE_APP_LEGAL_API_URL="https://legal-api-dev.apps.silver.devops.gov.bc.ca" -VUE_APP_LEGAL_API_VERSION_2="/api/v2" -# pay API -VUE_APP_PAY_API_URL="https://pay-api-dev.apps.silver.devops.gov.bc.ca" -VUE_APP_PAY_API_VERSION="/api/v1" -# STRR API -VUE_APP_STRR_API_URL="http://localhost:5000" -VUE_APP_STRR_API_VERSION="" -# ldarkly -VUE_APP_LD_CLIENT_ID= diff --git a/strr-web/.gitignore b/strr-web/.gitignore index f9de832f0..4683a7c46 100644 --- a/strr-web/.gitignore +++ b/strr-web/.gitignore @@ -19,6 +19,7 @@ logs .idea # Local env files +.env.local .env *.firebase diff --git a/strr-web/components/bcros/existing-accounts-list/ExistingAccountsList.vue b/strr-web/components/bcros/existing-accounts-list/ExistingAccountsList.vue index 903ce750a..9385629e6 100644 --- a/strr-web/components/bcros/existing-accounts-list/ExistingAccountsList.vue +++ b/strr-web/components/bcros/existing-accounts-list/ExistingAccountsList.vue @@ -14,7 +14,9 @@ justify-space-between mobile:mx-[8px] mx-[32px] mt-[24px] border-bcGovColor-hairlinesOnWhite`" >
-
+
+ +
{{ account.name }} @@ -23,8 +25,8 @@ {{ account.mailingAddress && account.mailingAddress[0] ? `${account.mailingAddress[0].street}, ${account.mailingAddress[0].city}, - ${account.mailingAddress[0].region} ${account.mailingAddress[0].postalCode}, - ${account.mailingAddress[0].country}` + ${account.mailingAddress[0].region} ${account.mailingAddress[0].postalCode}, + ${account.mailingAddress[0].country}` : '-' }}
@@ -57,23 +59,21 @@ diff --git a/strr-web/components/bcros/form-section/contact-information/ContactInfo.vue b/strr-web/components/bcros/form-section/contact-information/ContactInfo.vue new file mode 100644 index 000000000..abaaf1f8f --- /dev/null +++ b/strr-web/components/bcros/form-section/contact-information/ContactInfo.vue @@ -0,0 +1,25 @@ + + + diff --git a/strr-web/components/bcros/form-section/contact-information/Form.vue b/strr-web/components/bcros/form-section/contact-information/Form.vue new file mode 100644 index 000000000..f75b23fd1 --- /dev/null +++ b/strr-web/components/bcros/form-section/contact-information/Form.vue @@ -0,0 +1,71 @@ + + + diff --git a/strr-web/components/bcros/form-section/contact-information/MailingAddress.vue b/strr-web/components/bcros/form-section/contact-information/MailingAddress.vue new file mode 100644 index 000000000..c09342dd4 --- /dev/null +++ b/strr-web/components/bcros/form-section/contact-information/MailingAddress.vue @@ -0,0 +1,49 @@ + + + diff --git a/strr-web/components/bcros/form-section/property/Address.vue b/strr-web/components/bcros/form-section/property/Address.vue new file mode 100644 index 000000000..8607cf8fe --- /dev/null +++ b/strr-web/components/bcros/form-section/property/Address.vue @@ -0,0 +1,55 @@ + + + diff --git a/strr-web/components/bcros/form-section/property/Details.vue b/strr-web/components/bcros/form-section/property/Details.vue new file mode 100644 index 000000000..6dd945d82 --- /dev/null +++ b/strr-web/components/bcros/form-section/property/Details.vue @@ -0,0 +1,41 @@ + + + diff --git a/strr-web/components/bcros/form-section/property/Form.vue b/strr-web/components/bcros/form-section/property/Form.vue new file mode 100644 index 000000000..6d63ca1e2 --- /dev/null +++ b/strr-web/components/bcros/form-section/property/Form.vue @@ -0,0 +1,25 @@ + + + diff --git a/strr-web/components/bcros/form-section/property/ListingDetails.vue b/strr-web/components/bcros/form-section/property/ListingDetails.vue new file mode 100644 index 000000000..e89063d97 --- /dev/null +++ b/strr-web/components/bcros/form-section/property/ListingDetails.vue @@ -0,0 +1,29 @@ + + + diff --git a/strr-web/interfaces/account-i.ts b/strr-web/interfaces/account-i.ts index 5b17a48b8..a2b88e091 100644 --- a/strr-web/interfaces/account-i.ts +++ b/strr-web/interfaces/account-i.ts @@ -2,6 +2,12 @@ import { AccountTypeE } from '~/enums/account-type-e' import { AccountStatusE } from '~/enums/account-status-e' import { UserSettingsTypeE } from '~/enums/user-settings-type-e' +export interface DateOfBirthI { + day: string + month: string + year: string +} + export interface AddressI { city: string country: string diff --git a/strr-web/interfaces/strr-i.ts b/strr-web/interfaces/strr-i.ts index 17872cf57..8f2c2469b 100644 --- a/strr-web/interfaces/strr-i.ts +++ b/strr-web/interfaces/strr-i.ts @@ -6,6 +6,7 @@ export interface QuestionsI { } export interface FormStateI { + dateOfBirth: DateOfBirthI; primaryContact: ContactI; secondaryContact?: ContactI; questions: QuestionsI; diff --git a/strr-web/lang/en.json b/strr-web/lang/en.json index 41186b775..d8ad552dd 100644 --- a/strr-web/lang/en.json +++ b/strr-web/lang/en.json @@ -15,10 +15,45 @@ }, "contact": { "title": "Step 1 - Contact Information", - "subtitle": "The primary contact will be contacted first", + "subtitle": "Primary Contact Information", + "subtitle-two": "Secondary Contact Information", "primary": "Primary Contact Information", "disclaimer": "This is your legal name as it appears on your BC Services Card.", - "your-name": "Your Name" + "your-name": "Your Name", + "add-secondary": "Add Another Contact", + "remove": "Remove" + }, + "contact-form": { + "preferredName": "Preferred Name (Optional)", + "phoneNumber": "Phone Number", + "extension": "Extension (Optional)", + "faxNumber": "Fax Number (Optional)", + "emailAddress": "Email Address", + "day": "Day", + "month": "Month", + "year": "Year", + "country": "Country", + "postalCode": "Postal Code", + "city": "City", + "province": "Province", + "address": "Address", + "addressLineTwo": "Address Line 2 (Optional)", + "bold-warning": "Please note: ", + "warning": "Email will be default method of communication. Notices sent to your email address will be deemed received on the third day after the email is sent.", + "dateOfBirth": "Date of Birth", + "contactDetails": "Contact Details", + "mailingAddress": "Mailing Address" + }, + "property-form": { + "nickname": "Nickname (Optional)", + "parcelIdentifier": "Parcel Identifier (Optional)", + "businessLicense": "Local Government Business License (Optional)", + "propertyType": "Type of Property", + "ownershipType": "Ownership Type", + "useMailing": "Use my mailing address for the rental property address", + "rentalUnitDetails": "Rental Unit Details", + "internetListingDetails": "Internet Listing Details", + "rentalUnitAddress": "Rental Unit Address" }, "details": { "title": "Step 2 - Add Your Short Term Rental Property Details", diff --git a/strr-web/pages/create-account.vue b/strr-web/pages/create-account.vue index 3d86ee0f9..5681bc88d 100644 --- a/strr-web/pages/create-account.vue +++ b/strr-web/pages/create-account.vue @@ -14,23 +14,11 @@ {{ t(activeStep.subtitle) }}

-
-
-

- {{ t(activeStep.formTitle) }} -

-
-
-
- -
-
- {{ t(field.content) }} -
-
-
-
-
+
+ +
+
+
@@ -52,18 +40,17 @@