Skip to content

Commit

Permalink
- app version = 5.10.10
Browse files Browse the repository at this point in the history
- added env config for COLIN API URL
- added COLIN Services module
- changed some display fields to editable
- updated Extrapro Registration fields, etc (WIP)
- added global font size class
- finished Extrapro Registration layout
- removed isUlc property
- implemented text version of home jurisdiction
- fixed non-affidavit validity
- etc (tbd)
  • Loading branch information
Severin Beauvais committed May 24, 2024
1 parent c57ae41 commit 6107499
Show file tree
Hide file tree
Showing 32 changed files with 2,402 additions and 427 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ VUE_APP_SITEMINDER_LOGOUT_URL="https://logontest7.gov.bc.ca/clp-cgi/logoff.cgi"
#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_COLIN_API_URL="https://colin-api-dev.apps.silver.devops.gov.bc.ca"
VUE_APP_COLIN_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"
VUE_APP_NAICS_API_URL="https://legal-api-dev.apps.silver.devops.gov.bc.ca"
Expand Down
2 changes: 2 additions & 0 deletions devops/vaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ VUE_APP_SITEMINDER_LOGOUT_URL="op://web-url/$APP_ENV/siteminder/SITEMINDER_LOGOU
#vaults API
VUE_APP_AUTH_API_URL="op://API/$APP_ENV/auth-api/AUTH_API_URL"
VUE_APP_AUTH_API_VERSION="op://API/$APP_ENV/auth-api/AUTH_API_VERSION"
VUE_APP_COLIN_API_URL="op://API/$APP_ENV/colin-api-entity/COLIN_API_URL"
VUE_APP_COLIN_API_VERSION="op://API/$APP_ENV/colin-api-entity/COLIN_API_VERSION"
VUE_APP_LEGAL_API_URL="op://API/$APP_ENV/legal-api/LEGAL_API_URL"
VUE_APP_LEGAL_API_VERSION_2="op://API/$APP_ENV/legal-api/LEGAL_API_VERSION_2"
VUE_APP_NAICS_API_URL="op://API/$APP_ENV/naics-api/NAICS_API_URL"
Expand Down
65 changes: 29 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "5.10.9",
"version": "5.10.10",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand All @@ -17,25 +17,25 @@
"@bcrs-shared-components/approval-type": "1.0.19",
"@bcrs-shared-components/base-address": "2.0.3",
"@bcrs-shared-components/breadcrumb": "2.1.15",
"@bcrs-shared-components/business-lookup": "1.3.1",
"@bcrs-shared-components/business-lookup": "1.3.3",
"@bcrs-shared-components/certify": "2.1.15",
"@bcrs-shared-components/completing-party": "2.1.30",
"@bcrs-shared-components/confirm-dialog": "1.2.1",
"@bcrs-shared-components/contact-info": "1.2.15",
"@bcrs-shared-components/corp-type-module": "1.0.16",
"@bcrs-shared-components/correct-name": "1.0.46",
"@bcrs-shared-components/court-order-poa": "3.0.11",
"@bcrs-shared-components/date-picker": "1.2.15",
"@bcrs-shared-components/date-picker": "1.2.55",
"@bcrs-shared-components/document-delivery": "1.2.0",
"@bcrs-shared-components/effective-date-time": "1.1.15",
"@bcrs-shared-components/enums": "1.1.10",
"@bcrs-shared-components/expandable-help": "1.0.1",
"@bcrs-shared-components/genesys-web-message": "1.0.0",
"@bcrs-shared-components/help-business-number": "1.1.1",
"@bcrs-shared-components/interfaces": "1.1.13",
"@bcrs-shared-components/jurisdiction": "1.1.2",
"@bcrs-shared-components/interfaces": "1.1.15",
"@bcrs-shared-components/jurisdiction": "1.1.3",
"@bcrs-shared-components/limited-restoration-panel": "1.0.5",
"@bcrs-shared-components/mixins": "1.1.44",
"@bcrs-shared-components/mixins": "1.1.46",
"@bcrs-shared-components/nature-of-business": "1.2.14",
"@bcrs-shared-components/relationships-panel": "1.0.9",
"@bcrs-shared-components/staff-comments": "1.3.15",
Expand Down
4 changes: 4 additions & 0 deletions src/assets/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ p {
font-size: $px-14;
}

.font-15 {
font-size: $px-15;
}

.error-text {
color: $app-red !important;
}
Expand Down
8 changes: 7 additions & 1 deletion src/components/ContinuationIn/ContinuationAuthorization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
lazy-validation
@submit.prevent
>
<!-- Authorization Date -->
<v-row no-gutters>
<v-col
cols="12"
Expand Down Expand Up @@ -40,6 +41,7 @@
</v-col>
</v-row>

<!-- Expiry Date -->
<v-row
class="mt-2"
no-gutters
Expand Down Expand Up @@ -91,6 +93,7 @@

<div class="pt-4" />

<!-- file upload component(s) -->
<v-row
v-for="(num, index) in numUploads"
:key="authorization.files[index]?.fileKey"
Expand Down Expand Up @@ -128,6 +131,7 @@
<script lang="ts">
import { Component, Emit, Mixins, Watch } from 'vue-property-decorator'
import { Action, Getter } from 'pinia-class'
import { StatusCodes } from 'http-status-codes'
import { useStore } from '@/store/store'
import { DocumentMixin } from '@/mixins'
import { ContinuationAuthorizationIF, FormIF, PresignedUrlIF } from '@/interfaces'
Expand All @@ -149,6 +153,7 @@ export default class ExtraproRegistration extends Mixins(DocumentMixin) {
expiryDateRef: DatePickerShared,
formRef: FormIF
}
readonly PdfPageSize = PdfPageSize
@Getter(useStore) getContinuationAuthorization!: ContinuationAuthorizationIF
Expand Down Expand Up @@ -189,6 +194,7 @@ export default class ExtraproRegistration extends Mixins(DocumentMixin) {
return Math.min((this.authorization.files.length + 1), 5)
}
/** Called when this component is mounted. */
mounted (): void {
// set or initialize authorization object
this.authorization = this.getContinuationAuthorization || { files: [] } as ContinuationAuthorizationIF
Expand Down Expand Up @@ -227,7 +233,7 @@ export default class ExtraproRegistration extends Mixins(DocumentMixin) {
try {
psu = await this.getPresignedUrl(file.name)
const res = await this.uploadToUrl(psu.preSignedUrl, file, psu.key, this.getKeycloakGuid)
if (!res || res.status !== 200) throw new Error()
if (!res || res.status !== StatusCodes.OK) throw new Error()
} catch {
// put file uploader into manual error mode by setting custom error message
this.customErrorMessage[index] = this.UPLOAD_FAILED_MESSAGE
Expand Down
Loading

0 comments on commit 6107499

Please sign in to comment.