@dyedurham/search-and-file-widget 2.0.95 → 2.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dnd-filing-shell.js +403 -1843
- package/package.json +11 -11
package/dnd-filing-shell.js
CHANGED
|
@@ -56266,7 +56266,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
56266
56266
|
TaskType2["Amendments"] = "Amendments";
|
|
56267
56267
|
TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
|
|
56268
56268
|
TaskType2["ChangeOfAddress"] = "Change of Address";
|
|
56269
|
-
TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
|
|
56270
56269
|
TaskType2["ChangeOfPrincipals"] = "Change of Principals";
|
|
56271
56270
|
TaskType2["RegistrationCompliance"] = "Registration Compliance";
|
|
56272
56271
|
TaskType2["Continuance"] = "Continuance";
|
|
@@ -57885,9 +57884,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57885
57884
|
|
|
57886
57885
|
// src/app/utils/common.utils.ts
|
|
57887
57886
|
function buildValidationError(httpStatus, r) {
|
|
57888
|
-
const msgs = (r.Errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57889
|
-
|
|
57890
|
-
return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
|
|
57887
|
+
const msgs = (r.Errors ?? r.errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57888
|
+
return new Error(msgs.length ? msgs.join(" | ") : "Validation failed.");
|
|
57891
57889
|
}
|
|
57892
57890
|
function joinUrl(base, path) {
|
|
57893
57891
|
const b = base.endsWith("/") ? base.slice(0, -1) : base;
|
|
@@ -57995,6 +57993,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57995
57993
|
function isPrincipalAffiliation2(affiliation) {
|
|
57996
57994
|
return affiliation.kind === "PrincipalAffiliationV3";
|
|
57997
57995
|
}
|
|
57996
|
+
function getIndividualDirectors(affiliations) {
|
|
57997
|
+
return affiliations.filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director" && a._participant?.participant_type === "person");
|
|
57998
|
+
}
|
|
57998
57999
|
function getAddressComponent(address, componentName) {
|
|
57999
58000
|
if (!address)
|
|
58000
58001
|
return "";
|
|
@@ -58086,9 +58087,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58086
58087
|
function isChangeOfPrincipalsTask(task) {
|
|
58087
58088
|
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58088
58089
|
}
|
|
58089
|
-
function isChangeOfAddressTask(task) {
|
|
58090
|
-
return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
|
|
58091
|
-
}
|
|
58092
58090
|
function isBritishColumbiaTask(task) {
|
|
58093
58091
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58094
58092
|
}
|
|
@@ -58109,13 +58107,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58109
58107
|
function isAnnualReturnTask(task) {
|
|
58110
58108
|
return task?._taskType === TaskType.AnnualCompliance;
|
|
58111
58109
|
}
|
|
58110
|
+
function getFilingProvider(task) {
|
|
58111
|
+
return task && !isOntarioTask(task) ? "federal" : "obr";
|
|
58112
|
+
}
|
|
58112
58113
|
function getSearchOrFilingType(task) {
|
|
58113
58114
|
if (!task) {
|
|
58114
58115
|
return void 0;
|
|
58115
58116
|
}
|
|
58116
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
58117
|
-
return "bcChangeOfAddress";
|
|
58118
|
-
}
|
|
58119
58117
|
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
|
|
58120
58118
|
if (isFormationTask2(task)) {
|
|
58121
58119
|
return `${prefix}Incorporation`;
|
|
@@ -58130,7 +58128,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58130
58128
|
return `${prefix}AnnualReturn`;
|
|
58131
58129
|
}
|
|
58132
58130
|
if (isChangeOfPrincipalsTask(task)) {
|
|
58133
|
-
return `${prefix}NoticeOfChangeOfDirectors`;
|
|
58131
|
+
return prefix === "bc" ? "bcChangeOfDirectors" : `${prefix}NoticeOfChangeOfDirectors`;
|
|
58134
58132
|
}
|
|
58135
58133
|
return void 0;
|
|
58136
58134
|
}
|
|
@@ -58236,13 +58234,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58236
58234
|
return incorporator.type?.toLowerCase() === "entity" ? `${incorporator.signatory_first_name} ${incorporator.signatory_last_name} (${incorporator.signatory_title}, ${incorporator.incorporator_name})` : `${incorporator.firstName} ${incorporator.middleName} ${incorporator.lastName}`;
|
|
58237
58235
|
}
|
|
58238
58236
|
function getIndividualWithSignificantControl(affiliations) {
|
|
58239
|
-
return affiliations.filter((a) =>
|
|
58240
|
-
const isPerson = a._participant.participant_type === "person";
|
|
58241
|
-
const roleName = a.role?.role_name;
|
|
58242
|
-
const staticTitle = a.role?.static_title;
|
|
58243
|
-
const isSignificantControl = a.kind === "ShareholderAffiliationV3" || a.is_beneficial_owner || roleName === "Ultimate Beneficial Owner" || staticTitle === "Ultimate Beneficial Owner";
|
|
58244
|
-
return isPerson && isSignificantControl;
|
|
58245
|
-
});
|
|
58237
|
+
return affiliations.filter((a) => a.kind === "ShareholderAffiliationV3" && a._participant.participant_type === "person");
|
|
58246
58238
|
}
|
|
58247
58239
|
function normalizeSupportingDocuments(value) {
|
|
58248
58240
|
if (!Array.isArray(value)) {
|
|
@@ -61010,10 +61002,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
61010
61002
|
this._inputElement.nativeElement.focus();
|
|
61011
61003
|
}
|
|
61012
61004
|
/** Creates the change event that will be emitted by the checkbox. */
|
|
61013
|
-
_createChangeEvent(
|
|
61005
|
+
_createChangeEvent(isChecked) {
|
|
61014
61006
|
const event = new MatCheckboxChange();
|
|
61015
61007
|
event.source = this;
|
|
61016
|
-
event.checked =
|
|
61008
|
+
event.checked = isChecked;
|
|
61017
61009
|
return event;
|
|
61018
61010
|
}
|
|
61019
61011
|
/** Gets the element on which to add the animation CSS classes. */
|
|
@@ -80569,7 +80561,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80569
80561
|
MatRadioButton,
|
|
80570
80562
|
TranslatePipe,
|
|
80571
80563
|
CheckboxListComponent
|
|
80572
|
-
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] .body-1-semibold {\n color: inherit;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80564
|
+
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80573
80565
|
};
|
|
80574
80566
|
(() => {
|
|
80575
80567
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
|
|
@@ -80823,7 +80815,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80823
80815
|
}\r
|
|
80824
80816
|
</div>\r
|
|
80825
80817
|
</section>\r
|
|
80826
|
-
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .note-box {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n:host .note-box ::ng-deep .body-1-semibold {\n color: inherit;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80818
|
+
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80827
80819
|
}], () => [], { dismissOpenTooltip: [{
|
|
80828
80820
|
type: HostListener,
|
|
80829
80821
|
args: ["document:keydown.escape"]
|
|
@@ -81313,16 +81305,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81313
81305
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81314
81306
|
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81315
81307
|
bcFormationInitialDelta = signal(null);
|
|
81316
|
-
bcChangeOfOfficeAddressesInitialDelta = signal(null);
|
|
81317
81308
|
setFormationInitialDelta(delta) {
|
|
81318
81309
|
this.formationInitialDelta.set(delta);
|
|
81319
81310
|
}
|
|
81320
81311
|
setBCFormationInitialDelta(delta) {
|
|
81321
81312
|
this.bcFormationInitialDelta.set(delta);
|
|
81322
81313
|
}
|
|
81323
|
-
setBCChangeOfOfficeAddressesInitialDelta(delta) {
|
|
81324
|
-
this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
|
|
81325
|
-
}
|
|
81326
81314
|
setInitialReturnInitialDelta(delta) {
|
|
81327
81315
|
this.initialReturnInitialDelta.set(delta);
|
|
81328
81316
|
}
|
|
@@ -81342,7 +81330,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81342
81330
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81343
81331
|
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81344
81332
|
this.bcFormationInitialDelta.set(null);
|
|
81345
|
-
this.bcChangeOfOfficeAddressesInitialDelta.set(null);
|
|
81346
81333
|
}
|
|
81347
81334
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
81348
81335
|
return new (__ngFactoryType__ || _DeltaStateService)();
|
|
@@ -84150,7 +84137,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84150
84137
|
});
|
|
84151
84138
|
|
|
84152
84139
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
84153
|
-
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
84140
|
+
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84154
84141
|
var init_BritishColumbiaConstants = __esm({
|
|
84155
84142
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84156
84143
|
init_app_enums();
|
|
@@ -84184,7 +84171,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84184
84171
|
};
|
|
84185
84172
|
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84186
84173
|
Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84187
|
-
|
|
84174
|
+
CANProvinces.BritishColumbia;
|
|
84188
84175
|
BC_DEFAULT_COUNTRY = "Canada";
|
|
84189
84176
|
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84190
84177
|
BC_PASSWORD_MIN_LENGTH = 8;
|
|
@@ -84203,7 +84190,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84203
84190
|
});
|
|
84204
84191
|
|
|
84205
84192
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84206
|
-
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls,
|
|
84193
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84207
84194
|
var init_british_columbia_form_enums = __esm({
|
|
84208
84195
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84209
84196
|
(function(BCChangeOfDirectorsFormControls2) {
|
|
@@ -84268,31 +84255,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84268
84255
|
BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
|
|
84269
84256
|
BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
|
|
84270
84257
|
})(BCFormationFormControls || (BCFormationFormControls = {}));
|
|
84271
|
-
(function(BCChangeOfOfficeAddressesFormControls2) {
|
|
84272
|
-
BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
|
|
84273
|
-
BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
|
|
84274
|
-
BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
|
|
84275
|
-
BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
|
|
84276
|
-
BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
|
|
84277
|
-
BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
|
|
84278
|
-
BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
|
|
84279
|
-
BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
|
|
84280
|
-
BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
|
|
84281
|
-
BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
|
|
84282
|
-
BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
|
|
84283
|
-
BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
|
|
84284
|
-
BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
|
|
84285
|
-
BCChangeOfOfficeAddressesFormControls2["City"] = "city";
|
|
84286
|
-
BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
|
|
84287
|
-
BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
|
|
84288
|
-
BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
|
|
84289
|
-
})(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
|
|
84290
|
-
(function(BCChangeOfOfficeAddressesFormGroups2) {
|
|
84291
|
-
BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84292
|
-
BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84293
|
-
BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
|
|
84294
|
-
BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
|
|
84295
|
-
})(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
|
|
84296
84258
|
(function(BCFormationFormGroups2) {
|
|
84297
84259
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84298
84260
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
@@ -84367,7 +84329,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84367
84329
|
}
|
|
84368
84330
|
const password = request.password ?? "";
|
|
84369
84331
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84370
|
-
issues.push(`
|
|
84332
|
+
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Update the registry ID in Athennian.`);
|
|
84371
84333
|
}
|
|
84372
84334
|
return issues;
|
|
84373
84335
|
}
|
|
@@ -84759,14 +84721,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84759
84721
|
// Prefilled from the entity's Business Email when Athennian has one; otherwise the user
|
|
84760
84722
|
// enters it here (the API requires it).
|
|
84761
84723
|
[BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
|
|
84762
|
-
//
|
|
84763
|
-
//
|
|
84764
|
-
|
|
84765
|
-
|
|
84766
|
-
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
84767
|
-
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
84768
|
-
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
84769
|
-
]),
|
|
84724
|
+
// Not shown on screen: taken from the registry ID when it satisfies the BC password rule
|
|
84725
|
+
// (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
|
|
84726
|
+
// check (`findBCRequestIssues`) reports an unusable value.
|
|
84727
|
+
[BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id)),
|
|
84770
84728
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84771
84729
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84772
84730
|
});
|
|
@@ -84868,6 +84826,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84868
84826
|
})
|
|
84869
84827
|
});
|
|
84870
84828
|
}
|
|
84829
|
+
/**
|
|
84830
|
+
* Company Email dropdown options: the task's `emailOptions` (distinct addresses), plus the
|
|
84831
|
+
* current value when it is not among them (a saved or fallback-prefilled address).
|
|
84832
|
+
*/
|
|
84833
|
+
static buildCompanyEmailOptions(task, currentValue) {
|
|
84834
|
+
const emails = (task?.entity.emailOptions ?? []).map((option) => option.value?.trim());
|
|
84835
|
+
const current = currentValue?.trim();
|
|
84836
|
+
return [...new Set([...emails, current].filter((email) => Boolean(email)))].map((email) => ({ label: email, value: email }));
|
|
84837
|
+
}
|
|
84871
84838
|
static suggestPassword(registryId) {
|
|
84872
84839
|
const value = registryId?.trim() ?? "";
|
|
84873
84840
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
@@ -84911,7 +84878,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84911
84878
|
init_british_columbia_formation_form_helper();
|
|
84912
84879
|
Controls = BCChangeOfDirectorsFormControls;
|
|
84913
84880
|
BritishColumbiaChangeOfDirectorsFormHelper = class {
|
|
84914
|
-
static generateConfig(task, _translateFn) {
|
|
84881
|
+
static generateConfig(task, _translateFn, currentDataExtract) {
|
|
84915
84882
|
const affiliations = task.entity.affiliations ?? [];
|
|
84916
84883
|
const delta = task.deltaData;
|
|
84917
84884
|
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
@@ -84940,8 +84907,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84940
84907
|
]),
|
|
84941
84908
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84942
84909
|
});
|
|
84910
|
+
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
84943
84911
|
const directors = [
|
|
84944
|
-
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add)),
|
|
84912
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, currentDirectorKeys.has(this.getDirectorKey(a)) ? IRAffiliationType.Update : IRAffiliationType.Add)),
|
|
84945
84913
|
...outgoing.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Ceased))
|
|
84946
84914
|
];
|
|
84947
84915
|
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
@@ -84959,6 +84927,45 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84959
84927
|
});
|
|
84960
84928
|
return config2;
|
|
84961
84929
|
}
|
|
84930
|
+
static getCurrentDirectorKeys(extract) {
|
|
84931
|
+
const keys = /* @__PURE__ */ new Set();
|
|
84932
|
+
const visit = (value) => {
|
|
84933
|
+
if (Array.isArray(value)) {
|
|
84934
|
+
value.forEach((item) => {
|
|
84935
|
+
if (item && typeof item === "object") {
|
|
84936
|
+
const record = item;
|
|
84937
|
+
const role = String(record["role"] ?? record["Role"] ?? record["position"] ?? "").toLowerCase();
|
|
84938
|
+
if (!role || role.includes("director")) {
|
|
84939
|
+
const person = record["PersonName"] ?? record["personName"] ?? record["person"] ?? record;
|
|
84940
|
+
const name = [
|
|
84941
|
+
person.firstName ?? person.FirstName,
|
|
84942
|
+
person.middleName ?? person.MiddleName,
|
|
84943
|
+
person.lastName ?? person.LastName
|
|
84944
|
+
].filter(Boolean).join(" ");
|
|
84945
|
+
const id = record["Id"] ?? record["id"] ?? record["affiliationId"] ?? record["AffiliationId"];
|
|
84946
|
+
if (id)
|
|
84947
|
+
keys.add(this.normaliseDirectorKey(id));
|
|
84948
|
+
if (name)
|
|
84949
|
+
keys.add(this.normaliseDirectorKey(name));
|
|
84950
|
+
}
|
|
84951
|
+
}
|
|
84952
|
+
visit(item);
|
|
84953
|
+
});
|
|
84954
|
+
return;
|
|
84955
|
+
}
|
|
84956
|
+
if (value && typeof value === "object") {
|
|
84957
|
+
Object.values(value).forEach(visit);
|
|
84958
|
+
}
|
|
84959
|
+
};
|
|
84960
|
+
visit(extract);
|
|
84961
|
+
return keys;
|
|
84962
|
+
}
|
|
84963
|
+
static getDirectorKey(affiliation) {
|
|
84964
|
+
return this.normaliseDirectorKey(generateTaskAffiliationFullName(affiliation));
|
|
84965
|
+
}
|
|
84966
|
+
static normaliseDirectorKey(value) {
|
|
84967
|
+
return String(value ?? "").trim().toLowerCase().replace(/\s+/g, " ");
|
|
84968
|
+
}
|
|
84962
84969
|
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber, savedClientMatterNumber) {
|
|
84963
84970
|
return new FormGroup({
|
|
84964
84971
|
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? savedClientMatterNumber ?? ""),
|
|
@@ -85018,6 +85025,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85018
85025
|
const postalAddress = director?.PostalAddress ?? director?.postalAddress;
|
|
85019
85026
|
const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
|
|
85020
85027
|
return [
|
|
85028
|
+
address.streetAddress,
|
|
85029
|
+
address.additionalStreetAddress,
|
|
85021
85030
|
address.Address1 ?? address.address1,
|
|
85022
85031
|
address.Address2 ?? address.address2,
|
|
85023
85032
|
address.Address3 ?? address.address3,
|
|
@@ -85034,127 +85043,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85034
85043
|
}
|
|
85035
85044
|
});
|
|
85036
85045
|
|
|
85037
|
-
// src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
|
|
85038
|
-
var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
|
|
85039
|
-
var init_british_columbia_change_of_office_addresses_form_helper = __esm({
|
|
85040
|
-
"src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
|
|
85041
|
-
init_forms();
|
|
85042
|
-
init_common_models();
|
|
85043
|
-
init_british_columbia_form_enums();
|
|
85044
|
-
init_BritishColumbiaConstants();
|
|
85045
|
-
init_british_columbia_formation_form_helper();
|
|
85046
|
-
Controls2 = BCChangeOfOfficeAddressesFormControls;
|
|
85047
|
-
EDITABLE_ADDRESS_CONTROLS = [
|
|
85048
|
-
Controls2.AddressLine1,
|
|
85049
|
-
Controls2.AddressLine2,
|
|
85050
|
-
Controls2.City,
|
|
85051
|
-
Controls2.PostalCode
|
|
85052
|
-
];
|
|
85053
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85054
|
-
static generateConfig(task, _translateFn) {
|
|
85055
|
-
const affiliations = task.entity.affiliations ?? [];
|
|
85056
|
-
const delta = task.deltaData;
|
|
85057
|
-
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
85058
|
-
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85059
|
-
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85060
|
-
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85061
|
-
const companyEmail = this.resolveCompanyEmail(task);
|
|
85062
|
-
const config2 = {};
|
|
85063
|
-
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85064
|
-
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
85065
|
-
[Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
85066
|
-
[Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
85067
|
-
[Controls2.CompanyEmail]: this.readOnly(companyEmail)
|
|
85068
|
-
});
|
|
85069
|
-
const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85070
|
-
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85071
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85072
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85073
|
-
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
|
|
85074
|
-
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85075
|
-
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
85076
|
-
});
|
|
85077
|
-
const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85078
|
-
const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85079
|
-
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85080
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85081
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85082
|
-
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85083
|
-
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85084
|
-
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
85085
|
-
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
|
|
85086
|
-
});
|
|
85087
|
-
return config2;
|
|
85088
|
-
}
|
|
85089
|
-
/**
|
|
85090
|
-
* The company's email, looked up the same way as in the BC Incorporation Application: the
|
|
85091
|
-
* entity's email options, then the Registered Office's Business Email, then the entity's own,
|
|
85092
|
-
* then any other address of the entity (e.g. a Head Office).
|
|
85093
|
-
*/
|
|
85094
|
-
static resolveCompanyEmail(task) {
|
|
85095
|
-
const affiliations = task.entity.affiliations ?? [];
|
|
85096
|
-
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85097
|
-
return task.entity.emailOptions?.[0]?.value ?? registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.addresses?.flatMap((a) => a.communications ?? []).find((c) => c.type === "Business Email")?.value ?? "";
|
|
85098
|
-
}
|
|
85099
|
-
/**
|
|
85100
|
-
* Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
|
|
85101
|
-
* Province and Country are always disabled; the rest follow `enabled`.
|
|
85102
|
-
*/
|
|
85103
|
-
static createOfficeAddressFormGroup(delta, enabled = true) {
|
|
85104
|
-
const group2 = new FormGroup({
|
|
85105
|
-
[Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
|
|
85106
|
-
[Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
|
|
85107
|
-
[Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
|
|
85108
|
-
[Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
|
|
85109
|
-
[Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
|
|
85110
|
-
[Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
|
|
85111
|
-
});
|
|
85112
|
-
this.setOfficeAddressEnabled(group2, enabled);
|
|
85113
|
-
return group2;
|
|
85114
|
-
}
|
|
85115
|
-
/**
|
|
85116
|
-
* Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes).
|
|
85117
|
-
* Hiding a grid also clears it, so un-ticking the checkbox shows an empty address to fill in.
|
|
85118
|
-
*/
|
|
85119
|
-
static setOfficeAddressEnabled(group2, enabled) {
|
|
85120
|
-
if (!group2) {
|
|
85121
|
-
return;
|
|
85122
|
-
}
|
|
85123
|
-
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85124
|
-
const control = group2.get(name);
|
|
85125
|
-
if (enabled) {
|
|
85126
|
-
control?.enable({ emitEvent: false });
|
|
85127
|
-
} else {
|
|
85128
|
-
control?.setValue("", { emitEvent: false });
|
|
85129
|
-
control?.disable({ emitEvent: false });
|
|
85130
|
-
}
|
|
85131
|
-
});
|
|
85132
|
-
group2.updateValueAndValidity({ emitEvent: false });
|
|
85133
|
-
}
|
|
85134
|
-
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85135
|
-
return new FormGroup({
|
|
85136
|
-
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85137
|
-
// `||`, not `??`: a draft saved with the field empty stores '' and must not hide the entity's number.
|
|
85138
|
-
deltaData?.referenceNumber || clientMatterNumber || ""
|
|
85139
|
-
),
|
|
85140
|
-
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85141
|
-
});
|
|
85142
|
-
}
|
|
85143
|
-
static readOnly(value) {
|
|
85144
|
-
return new FormControl({ value: value ?? "", disabled: true });
|
|
85145
|
-
}
|
|
85146
|
-
};
|
|
85147
|
-
}
|
|
85148
|
-
});
|
|
85149
|
-
|
|
85150
85046
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85151
|
-
var
|
|
85047
|
+
var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85152
85048
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85153
85049
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85154
85050
|
init_form_enums();
|
|
85155
85051
|
init_british_columbia_form_enums();
|
|
85156
85052
|
init_BritishColumbiaConstants();
|
|
85157
|
-
|
|
85053
|
+
Controls2 = BCChangeOfDirectorsFormControls;
|
|
85158
85054
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85159
85055
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85160
85056
|
type: FormType.Text,
|
|
@@ -85162,24 +85058,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85162
85058
|
class: className,
|
|
85163
85059
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85164
85060
|
});
|
|
85165
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85166
|
-
isNotifyByMail = (form) => form.get(
|
|
85061
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
|
|
85062
|
+
isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85167
85063
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85168
85064
|
{
|
|
85169
85065
|
type: FormType.Input,
|
|
85170
85066
|
label: "Client/Matter Number",
|
|
85171
|
-
formControlName:
|
|
85067
|
+
formControlName: Controls2.ClientMatterNumber
|
|
85172
85068
|
},
|
|
85173
85069
|
{
|
|
85174
85070
|
type: FormType.Input,
|
|
85175
85071
|
label: "Docket Number",
|
|
85176
|
-
formControlName:
|
|
85072
|
+
formControlName: Controls2.DocketNumber
|
|
85177
85073
|
}
|
|
85178
85074
|
];
|
|
85179
85075
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85180
|
-
readOnlyRow("Corporation Name",
|
|
85181
|
-
readOnlyRow("Incorporation Number",
|
|
85182
|
-
readOnlyRow("Company Email",
|
|
85076
|
+
readOnlyRow("Corporation Name", Controls2.CorporationName),
|
|
85077
|
+
readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
|
|
85078
|
+
readOnlyRow("Company Email", Controls2.CompanyEmail)
|
|
85183
85079
|
];
|
|
85184
85080
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85185
85081
|
{
|
|
@@ -85191,24 +85087,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85191
85087
|
{
|
|
85192
85088
|
type: FormType.Checkbox,
|
|
85193
85089
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85194
|
-
formControlName:
|
|
85090
|
+
formControlName: Controls2.DirectorsAddedOrDeleted,
|
|
85195
85091
|
class: "span-12",
|
|
85196
85092
|
onChange: (form) => {
|
|
85197
85093
|
if (!directorsAddedOrDeleted(form)) {
|
|
85198
|
-
form.get(
|
|
85094
|
+
form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85199
85095
|
}
|
|
85200
|
-
form.get(
|
|
85096
|
+
form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85201
85097
|
}
|
|
85202
85098
|
},
|
|
85203
85099
|
{
|
|
85204
85100
|
type: FormType.Date,
|
|
85205
85101
|
label: "Date Directors were added or deleted",
|
|
85206
|
-
formControlName:
|
|
85102
|
+
formControlName: Controls2.ChangeDate,
|
|
85207
85103
|
required: true,
|
|
85208
85104
|
isVisible: directorsAddedOrDeleted,
|
|
85209
85105
|
class: "span-8"
|
|
85210
85106
|
},
|
|
85211
|
-
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee",
|
|
85107
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
|
|
85212
85108
|
isVisible: directorsAddedOrDeleted
|
|
85213
85109
|
}),
|
|
85214
85110
|
{
|
|
@@ -85219,43 +85115,35 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85219
85115
|
dynamicLabel: (_, t) => t("The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.")
|
|
85220
85116
|
}
|
|
85221
85117
|
];
|
|
85222
|
-
generateBCChangeOfDirectorsIntroFields = (registerAsOf) => [
|
|
85223
|
-
{
|
|
85224
|
-
type: FormType.Text,
|
|
85225
|
-
formControlName: "",
|
|
85226
|
-
class: "span-12",
|
|
85227
|
-
dynamicLabel: (_, t) => t("These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.").replace("{{date}}", registerAsOf)
|
|
85228
|
-
}
|
|
85229
|
-
];
|
|
85230
85118
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85231
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85232
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85119
|
+
readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
|
|
85120
|
+
readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
|
|
85233
85121
|
];
|
|
85234
85122
|
[
|
|
85235
85123
|
{
|
|
85236
85124
|
type: FormType.Select,
|
|
85237
85125
|
label: "Notification Method",
|
|
85238
|
-
formControlName:
|
|
85126
|
+
formControlName: Controls2.NotificationMethod,
|
|
85239
85127
|
required: true,
|
|
85240
85128
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85241
85129
|
needTranslate: true,
|
|
85242
85130
|
class: "span-6",
|
|
85243
|
-
onChange: (form) => form.get(
|
|
85131
|
+
onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85244
85132
|
},
|
|
85245
85133
|
{
|
|
85246
85134
|
type: FormType.Input,
|
|
85247
85135
|
label: "Notification Email",
|
|
85248
|
-
formControlName:
|
|
85136
|
+
formControlName: Controls2.NotificationEmail,
|
|
85249
85137
|
required: true,
|
|
85250
85138
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85251
85139
|
class: "column-3"
|
|
85252
85140
|
},
|
|
85253
85141
|
{
|
|
85254
85142
|
type: FormType.Text,
|
|
85255
|
-
formControlName:
|
|
85143
|
+
formControlName: Controls2.NotificationMailingAddress,
|
|
85256
85144
|
class: "span-12",
|
|
85257
85145
|
isVisible: isNotifyByMail,
|
|
85258
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85146
|
+
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls2.NotificationMailingAddress)?.value || t("Not specified")})`
|
|
85259
85147
|
}
|
|
85260
85148
|
];
|
|
85261
85149
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85268,7 +85156,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85268
85156
|
{
|
|
85269
85157
|
type: FormType.Select,
|
|
85270
85158
|
label: "Annual Report Reminder",
|
|
85271
|
-
formControlName:
|
|
85159
|
+
formControlName: Controls2.AnnualReportReminder,
|
|
85272
85160
|
required: true,
|
|
85273
85161
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85274
85162
|
needTranslate: true,
|
|
@@ -85300,7 +85188,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85300
85188
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85301
85189
|
if (rf & 1) {
|
|
85302
85190
|
const _r2 = \u0275\u0275getCurrentView();
|
|
85303
|
-
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group",
|
|
85191
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 10);
|
|
85304
85192
|
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85305
85193
|
\u0275\u0275restoreView(_r2);
|
|
85306
85194
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85318,7 +85206,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85318
85206
|
}
|
|
85319
85207
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85320
85208
|
if (rf & 1) {
|
|
85321
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div",
|
|
85209
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p")(3, "strong");
|
|
85322
85210
|
\u0275\u0275text(4);
|
|
85323
85211
|
\u0275\u0275pipe(5, "translate");
|
|
85324
85212
|
\u0275\u0275elementEnd();
|
|
@@ -85361,13 +85249,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85361
85249
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85362
85250
|
if (rf & 1) {
|
|
85363
85251
|
const _r7 = \u0275\u0275getCurrentView();
|
|
85364
|
-
\u0275\u0275elementStart(0, "div",
|
|
85252
|
+
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "label");
|
|
85365
85253
|
\u0275\u0275text(3);
|
|
85366
85254
|
\u0275\u0275pipe(4, "translate");
|
|
85367
85255
|
\u0275\u0275elementStart(5, "span");
|
|
85368
85256
|
\u0275\u0275text(6, "*");
|
|
85369
85257
|
\u0275\u0275elementEnd()();
|
|
85370
|
-
\u0275\u0275elementStart(7, "mat-form-field",
|
|
85258
|
+
\u0275\u0275elementStart(7, "mat-form-field", 17)(8, "input", 18);
|
|
85371
85259
|
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
|
|
85372
85260
|
\u0275\u0275restoreView(_r7);
|
|
85373
85261
|
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
@@ -85379,21 +85267,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85379
85267
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85380
85268
|
});
|
|
85381
85269
|
\u0275\u0275elementEnd();
|
|
85382
|
-
\u0275\u0275elementStart(9, "button",
|
|
85270
|
+
\u0275\u0275elementStart(9, "button", 19);
|
|
85383
85271
|
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
|
|
85384
85272
|
\u0275\u0275restoreView(_r7);
|
|
85385
85273
|
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85386
85274
|
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85387
85275
|
});
|
|
85388
|
-
\u0275\u0275element(10, "span",
|
|
85276
|
+
\u0275\u0275element(10, "span", 20);
|
|
85389
85277
|
\u0275\u0275elementEnd();
|
|
85390
85278
|
\u0275\u0275element(11, "mat-datepicker", null, 0);
|
|
85391
85279
|
\u0275\u0275elementEnd();
|
|
85392
|
-
\u0275\u0275elementStart(13, "p",
|
|
85280
|
+
\u0275\u0275elementStart(13, "p", 21);
|
|
85393
85281
|
\u0275\u0275text(14);
|
|
85394
85282
|
\u0275\u0275pipe(15, "translate");
|
|
85395
85283
|
\u0275\u0275elementEnd()();
|
|
85396
|
-
\u0275\u0275elementStart(16, "p",
|
|
85284
|
+
\u0275\u0275elementStart(16, "p", 22)(17, "strong");
|
|
85397
85285
|
\u0275\u0275text(18);
|
|
85398
85286
|
\u0275\u0275pipe(19, "translate");
|
|
85399
85287
|
\u0275\u0275elementEnd();
|
|
@@ -85420,14 +85308,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85420
85308
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85421
85309
|
if (rf & 1) {
|
|
85422
85310
|
const _r5 = \u0275\u0275getCurrentView();
|
|
85423
|
-
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div",
|
|
85311
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 12)(2, "div", 13)(3, "strong");
|
|
85424
85312
|
\u0275\u0275text(4);
|
|
85425
85313
|
\u0275\u0275pipe(5, "translate");
|
|
85426
85314
|
\u0275\u0275elementEnd();
|
|
85427
85315
|
\u0275\u0275text(6);
|
|
85428
85316
|
\u0275\u0275pipe(7, "translate");
|
|
85429
85317
|
\u0275\u0275elementEnd();
|
|
85430
|
-
\u0275\u0275elementStart(8, "mat-checkbox",
|
|
85318
|
+
\u0275\u0275elementStart(8, "mat-checkbox", 14);
|
|
85431
85319
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85432
85320
|
let tmp_7_0;
|
|
85433
85321
|
let tmp_8_0;
|
|
@@ -85441,7 +85329,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85441
85329
|
\u0275\u0275text(9);
|
|
85442
85330
|
\u0275\u0275pipe(10, "translate");
|
|
85443
85331
|
\u0275\u0275elementEnd();
|
|
85444
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div",
|
|
85332
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 15);
|
|
85445
85333
|
\u0275\u0275elementEnd()();
|
|
85446
85334
|
}
|
|
85447
85335
|
if (rf & 2) {
|
|
@@ -85463,9 +85351,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85463
85351
|
\u0275\u0275conditional(((tmp_14_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_14_0.value) ? 11 : -1);
|
|
85464
85352
|
}
|
|
85465
85353
|
}
|
|
85466
|
-
function
|
|
85354
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85467
85355
|
if (rf & 1) {
|
|
85468
|
-
\u0275\u0275elementStart(0, "span",
|
|
85356
|
+
\u0275\u0275elementStart(0, "span", 27);
|
|
85469
85357
|
\u0275\u0275text(1);
|
|
85470
85358
|
\u0275\u0275pipe(2, "translate");
|
|
85471
85359
|
\u0275\u0275elementEnd();
|
|
@@ -85475,9 +85363,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85475
85363
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "NEW"));
|
|
85476
85364
|
}
|
|
85477
85365
|
}
|
|
85478
|
-
function
|
|
85366
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85479
85367
|
if (rf & 1) {
|
|
85480
|
-
\u0275\u0275elementStart(0, "span",
|
|
85368
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85481
85369
|
\u0275\u0275text(1);
|
|
85482
85370
|
\u0275\u0275pipe(2, "translate");
|
|
85483
85371
|
\u0275\u0275elementEnd();
|
|
@@ -85487,17 +85375,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85487
85375
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "CEASE"));
|
|
85488
85376
|
}
|
|
85489
85377
|
}
|
|
85490
|
-
function
|
|
85378
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
|
|
85491
85379
|
if (rf & 1) {
|
|
85492
|
-
\u0275\u0275elementStart(0, "div",
|
|
85380
|
+
\u0275\u0275elementStart(0, "div", 25)(1, "div", 26)(2, "strong");
|
|
85493
85381
|
\u0275\u0275text(3);
|
|
85494
85382
|
\u0275\u0275elementEnd();
|
|
85495
|
-
\u0275\u0275template(4,
|
|
85383
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 27)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 28);
|
|
85496
85384
|
\u0275\u0275elementEnd();
|
|
85497
|
-
\u0275\u0275elementStart(6, "div",
|
|
85385
|
+
\u0275\u0275elementStart(6, "div", 26);
|
|
85498
85386
|
\u0275\u0275text(7);
|
|
85499
85387
|
\u0275\u0275elementEnd();
|
|
85500
|
-
\u0275\u0275elementStart(8, "div",
|
|
85388
|
+
\u0275\u0275elementStart(8, "div", 26);
|
|
85501
85389
|
\u0275\u0275text(9);
|
|
85502
85390
|
\u0275\u0275elementEnd()();
|
|
85503
85391
|
}
|
|
@@ -85520,33 +85408,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85520
85408
|
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85521
85409
|
}
|
|
85522
85410
|
}
|
|
85523
|
-
function
|
|
85411
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
|
|
85524
85412
|
if (rf & 1) {
|
|
85525
85413
|
\u0275\u0275declareLet(0);
|
|
85526
|
-
\u0275\u0275template(1,
|
|
85414
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 25);
|
|
85527
85415
|
}
|
|
85528
85416
|
if (rf & 2) {
|
|
85529
|
-
const \u0275$
|
|
85530
|
-
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$
|
|
85417
|
+
const \u0275$index_115_r10 = ctx.$index;
|
|
85418
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_115_r10));
|
|
85531
85419
|
\u0275\u0275advance();
|
|
85532
85420
|
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85533
85421
|
}
|
|
85534
85422
|
}
|
|
85535
|
-
function
|
|
85423
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
|
|
85536
85424
|
if (rf & 1) {
|
|
85537
|
-
\u0275\u0275elementStart(0, "div",
|
|
85425
|
+
\u0275\u0275elementStart(0, "div", 8)(1, "div", 23)(2, "div", 24);
|
|
85538
85426
|
\u0275\u0275text(3);
|
|
85539
85427
|
\u0275\u0275pipe(4, "translate");
|
|
85540
85428
|
\u0275\u0275elementEnd();
|
|
85541
|
-
\u0275\u0275elementStart(5, "div",
|
|
85429
|
+
\u0275\u0275elementStart(5, "div", 24);
|
|
85542
85430
|
\u0275\u0275text(6);
|
|
85543
85431
|
\u0275\u0275pipe(7, "translate");
|
|
85544
85432
|
\u0275\u0275elementEnd();
|
|
85545
|
-
\u0275\u0275elementStart(8, "div",
|
|
85433
|
+
\u0275\u0275elementStart(8, "div", 24);
|
|
85546
85434
|
\u0275\u0275text(9);
|
|
85547
85435
|
\u0275\u0275pipe(10, "translate");
|
|
85548
85436
|
\u0275\u0275elementEnd()();
|
|
85549
|
-
\u0275\u0275repeaterCreate(11,
|
|
85437
|
+
\u0275\u0275repeaterCreate(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template, 2, 2, null, null, \u0275\u0275repeaterTrackByIdentity);
|
|
85550
85438
|
\u0275\u0275elementEnd();
|
|
85551
85439
|
}
|
|
85552
85440
|
if (rf & 2) {
|
|
@@ -85562,9 +85450,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85562
85450
|
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85563
85451
|
}
|
|
85564
85452
|
}
|
|
85565
|
-
function
|
|
85453
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85566
85454
|
if (rf & 1) {
|
|
85567
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85455
|
+
\u0275\u0275elementStart(0, "h2", 9);
|
|
85568
85456
|
\u0275\u0275text(1);
|
|
85569
85457
|
\u0275\u0275pipe(2, "translate");
|
|
85570
85458
|
\u0275\u0275elementEnd();
|
|
@@ -85574,32 +85462,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85574
85462
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "Unchanged"));
|
|
85575
85463
|
}
|
|
85576
85464
|
}
|
|
85577
|
-
function
|
|
85465
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85578
85466
|
if (rf & 1) {
|
|
85579
85467
|
const _r13 = \u0275\u0275getCurrentView();
|
|
85580
|
-
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div",
|
|
85468
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 29)(2, "p");
|
|
85581
85469
|
\u0275\u0275text(3);
|
|
85582
85470
|
\u0275\u0275pipe(4, "translate");
|
|
85583
85471
|
\u0275\u0275elementEnd();
|
|
85584
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85585
|
-
\u0275\u0275listener("change", function
|
|
85472
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 30);
|
|
85473
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
|
|
85586
85474
|
\u0275\u0275restoreView(_r13);
|
|
85587
85475
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85588
|
-
const annualReportReminder_r14 = \u0275\u0275readContextLet(
|
|
85476
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85589
85477
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
|
|
85590
85478
|
});
|
|
85591
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85479
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 31);
|
|
85592
85480
|
\u0275\u0275text(7);
|
|
85593
85481
|
\u0275\u0275pipe(8, "translate");
|
|
85594
85482
|
\u0275\u0275elementEnd();
|
|
85595
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85483
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 31);
|
|
85596
85484
|
\u0275\u0275text(10);
|
|
85597
85485
|
\u0275\u0275pipe(11, "translate");
|
|
85598
85486
|
\u0275\u0275elementEnd()()()();
|
|
85599
85487
|
}
|
|
85600
85488
|
if (rf & 2) {
|
|
85601
85489
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85602
|
-
const annualReportReminder_r14 = \u0275\u0275readContextLet(
|
|
85490
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85603
85491
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85604
85492
|
\u0275\u0275advance();
|
|
85605
85493
|
\u0275\u0275property("formGroup", annualReportReminder_r14);
|
|
@@ -85654,10 +85542,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85654
85542
|
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85655
85543
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85656
85544
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85657
|
-
directorsIntroFields = computed(() => {
|
|
85658
|
-
const date = this.form().get(this.groups.Notification)?.get(this.controls.RegisterAsOfDate)?.value ?? "";
|
|
85659
|
-
return generateBCChangeOfDirectorsIntroFields(date);
|
|
85660
|
-
});
|
|
85661
85545
|
initiallyOpenCardsCount = 3;
|
|
85662
85546
|
sectionValidity = {};
|
|
85663
85547
|
isVisiblyValid() {
|
|
@@ -85692,7 +85576,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85692
85576
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85693
85577
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85694
85578
|
};
|
|
85695
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls:
|
|
85579
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [["changeDatePicker", ""], [1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], ["appearance", "outline"], ["matInput", "", "placeholder", "dd/mm/yyyy", "readonly", "", 3, "click", "dateChange", "matDatepicker", "formControlName"], ["type", "button", "aria-label", "Open date picker", 1, "calendar-trigger", 3, "click"], ["aria-hidden", "true", 1, "calendar-icon"], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85696
85580
|
if (rf & 1) {
|
|
85697
85581
|
\u0275\u0275elementStart(0, "div", 1);
|
|
85698
85582
|
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
@@ -85705,11 +85589,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85705
85589
|
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85706
85590
|
\u0275\u0275declareLet(10);
|
|
85707
85591
|
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85708
|
-
\u0275\
|
|
85709
|
-
\u0275\u0275template(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 13, 9, "div", 9)(14, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template, 3, 3, "h2", 10);
|
|
85592
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 8)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 9);
|
|
85710
85593
|
\u0275\u0275elementEnd();
|
|
85711
|
-
\u0275\u0275declareLet(
|
|
85712
|
-
\u0275\u0275template(
|
|
85594
|
+
\u0275\u0275declareLet(14);
|
|
85595
|
+
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 7);
|
|
85713
85596
|
\u0275\u0275elementEnd()();
|
|
85714
85597
|
}
|
|
85715
85598
|
if (rf & 2) {
|
|
@@ -85734,13 +85617,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85734
85617
|
\u0275\u0275advance();
|
|
85735
85618
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85736
85619
|
\u0275\u0275advance();
|
|
85737
|
-
\u0275\
|
|
85738
|
-
\u0275\u0275advance();
|
|
85739
|
-
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 13 : 14);
|
|
85620
|
+
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 12 : 13);
|
|
85740
85621
|
\u0275\u0275advance(2);
|
|
85741
85622
|
const annualReportReminder_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85742
85623
|
\u0275\u0275advance();
|
|
85743
|
-
\u0275\u0275conditional(annualReportReminder_r19 ?
|
|
85624
|
+
\u0275\u0275conditional(annualReportReminder_r19 ? 15 : -1);
|
|
85744
85625
|
}
|
|
85745
85626
|
}, dependencies: [
|
|
85746
85627
|
FilingFormGroupComponent,
|
|
@@ -85910,12 +85791,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85910
85791
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85911
85792
|
\r
|
|
85912
85793
|
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
|
|
85913
|
-
<filing-form-group\r
|
|
85914
|
-
[isSubmitted]="isSubmitted()"\r
|
|
85915
|
-
[form]="form()"\r
|
|
85916
|
-
[config]="directorsIntroFields()"\r
|
|
85917
|
-
/>\r
|
|
85918
|
-
\r
|
|
85919
85794
|
@if (directorsArray && directorsArray.length) {\r
|
|
85920
85795
|
<div class="directors-table" role="table">\r
|
|
85921
85796
|
<div class="directors-table-header" role="row">\r
|
|
@@ -85983,7 +85858,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85983
85858
|
}], null, null);
|
|
85984
85859
|
})();
|
|
85985
85860
|
(() => {
|
|
85986
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber:
|
|
85861
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 59 });
|
|
85987
85862
|
})();
|
|
85988
85863
|
}
|
|
85989
85864
|
});
|
|
@@ -86291,27 +86166,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86291
86166
|
dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
|
|
86292
86167
|
},
|
|
86293
86168
|
{
|
|
86294
|
-
|
|
86295
|
-
|
|
86169
|
+
// Options are filled per task from `task.entity.emailOptions` by the incorporation form.
|
|
86170
|
+
type: FormType.Select,
|
|
86296
86171
|
label: "Company Email",
|
|
86297
86172
|
formControlName: BCFormationFormControls.CompanyEmail,
|
|
86298
86173
|
required: true,
|
|
86299
|
-
|
|
86300
|
-
errorMessage: "Enter a valid email address",
|
|
86301
|
-
showRequiredMessage: true,
|
|
86302
|
-
class: "span-6"
|
|
86303
|
-
},
|
|
86304
|
-
{
|
|
86305
|
-
type: FormType.Input,
|
|
86306
|
-
inputType: "password",
|
|
86307
|
-
label: "Company Password",
|
|
86308
|
-
formControlName: BCFormationFormControls.CompanyPassword,
|
|
86309
|
-
required: true,
|
|
86310
|
-
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
86311
|
-
errorMessage: "Company Password must be 8 to 15 characters",
|
|
86312
|
-
showRequiredMessage: true,
|
|
86174
|
+
options: [],
|
|
86313
86175
|
class: "span-6"
|
|
86314
86176
|
}
|
|
86177
|
+
// The company password is not shown: it is taken from the entity's registry ID.
|
|
86315
86178
|
];
|
|
86316
86179
|
BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
|
|
86317
86180
|
{
|
|
@@ -86670,7 +86533,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86670
86533
|
const corporationDetails_r11 = \u0275\u0275readContextLet(6);
|
|
86671
86534
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
|
|
86672
86535
|
\u0275\u0275advance(2);
|
|
86673
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
|
|
86536
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields());
|
|
86674
86537
|
\u0275\u0275advance(2);
|
|
86675
86538
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
|
|
86676
86539
|
\u0275\u0275advance(2);
|
|
@@ -86905,7 +86768,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86905
86768
|
groups = BCFormationFormGroups;
|
|
86906
86769
|
controls = BCFormationFormControls;
|
|
86907
86770
|
referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
86908
|
-
|
|
86771
|
+
/** Corporation Details fields, with the Company Email dropdown filled from the task. */
|
|
86772
|
+
corporationDetailsFields = computed(() => {
|
|
86773
|
+
const currentEmail = this.form().get(this.groups.CorporationDetails)?.get(this.controls.CompanyEmail)?.value;
|
|
86774
|
+
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
86775
|
+
return BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
86776
|
+
});
|
|
86909
86777
|
nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
|
|
86910
86778
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
86911
86779
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
@@ -87095,7 +86963,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87095
86963
|
<filing-form-group\r
|
|
87096
86964
|
[isSubmitted]="isSubmitted()"\r
|
|
87097
86965
|
[form]="corporationDetails"\r
|
|
87098
|
-
[config]="corporationDetailsFields"\r
|
|
86966
|
+
[config]="corporationDetailsFields()"\r
|
|
87099
86967
|
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
87100
86968
|
/>\r
|
|
87101
86969
|
\r
|
|
@@ -87516,895 +87384,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87516
87384
|
}
|
|
87517
87385
|
});
|
|
87518
87386
|
|
|
87519
|
-
// src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
|
|
87520
|
-
var Controls4, labelledValue3, readOnlyRow2, isChecked, addressGroup, BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, effectiveDateNote, BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS, BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS, BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS, BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS, BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
87521
|
-
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87522
|
-
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87523
|
-
init_form_enums();
|
|
87524
|
-
init_british_columbia_form_enums();
|
|
87525
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87526
|
-
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87527
|
-
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87528
|
-
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87529
|
-
type: FormType.Text,
|
|
87530
|
-
formControlName: control,
|
|
87531
|
-
class: className,
|
|
87532
|
-
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87533
|
-
});
|
|
87534
|
-
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87535
|
-
addressGroup = (form, control) => form.get(control);
|
|
87536
|
-
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87537
|
-
{
|
|
87538
|
-
type: FormType.Input,
|
|
87539
|
-
label: "Client/Matter Number",
|
|
87540
|
-
formControlName: Controls4.ClientMatterNumber
|
|
87541
|
-
},
|
|
87542
|
-
{
|
|
87543
|
-
type: FormType.Input,
|
|
87544
|
-
label: "Docket Number",
|
|
87545
|
-
formControlName: Controls4.DocketNumber
|
|
87546
|
-
}
|
|
87547
|
-
];
|
|
87548
|
-
effectiveDateNote = {
|
|
87549
|
-
type: FormType.Text,
|
|
87550
|
-
formControlName: "",
|
|
87551
|
-
class: "span-12 note-box",
|
|
87552
|
-
dynamicLabel: (_, t) => `<span class="body-1-semibold">${t("Note")}:</span> ${t("The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.")}`
|
|
87553
|
-
};
|
|
87554
|
-
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
87555
|
-
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87556
|
-
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87557
|
-
readOnlyRow2("Company Email", Controls4.CompanyEmail),
|
|
87558
|
-
effectiveDateNote
|
|
87559
|
-
];
|
|
87560
|
-
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87561
|
-
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87562
|
-
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87563
|
-
];
|
|
87564
|
-
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87565
|
-
{
|
|
87566
|
-
type: FormType.Input,
|
|
87567
|
-
label: "Address Line 1",
|
|
87568
|
-
formControlName: Controls4.AddressLine1,
|
|
87569
|
-
required: true,
|
|
87570
|
-
class: "span-6"
|
|
87571
|
-
},
|
|
87572
|
-
{
|
|
87573
|
-
type: FormType.Input,
|
|
87574
|
-
label: "Address Line 2",
|
|
87575
|
-
formControlName: Controls4.AddressLine2,
|
|
87576
|
-
class: "span-6"
|
|
87577
|
-
},
|
|
87578
|
-
{
|
|
87579
|
-
type: FormType.Input,
|
|
87580
|
-
label: "City",
|
|
87581
|
-
formControlName: Controls4.City,
|
|
87582
|
-
required: true,
|
|
87583
|
-
class: "span-6"
|
|
87584
|
-
},
|
|
87585
|
-
{
|
|
87586
|
-
type: FormType.Input,
|
|
87587
|
-
label: "Postal Code",
|
|
87588
|
-
formControlName: Controls4.PostalCode,
|
|
87589
|
-
required: true,
|
|
87590
|
-
class: "span-6"
|
|
87591
|
-
},
|
|
87592
|
-
{
|
|
87593
|
-
type: FormType.Input,
|
|
87594
|
-
label: "Province",
|
|
87595
|
-
formControlName: Controls4.Province,
|
|
87596
|
-
readonly: true,
|
|
87597
|
-
class: "span-6"
|
|
87598
|
-
},
|
|
87599
|
-
{
|
|
87600
|
-
type: FormType.Input,
|
|
87601
|
-
label: "Country",
|
|
87602
|
-
formControlName: Controls4.Country,
|
|
87603
|
-
readonly: true,
|
|
87604
|
-
class: "span-6"
|
|
87605
|
-
}
|
|
87606
|
-
];
|
|
87607
|
-
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87608
|
-
{
|
|
87609
|
-
type: FormType.Text,
|
|
87610
|
-
formControlName: "",
|
|
87611
|
-
class: "span-12",
|
|
87612
|
-
dynamicLabel: (_, t) => t("The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.")
|
|
87613
|
-
}
|
|
87614
|
-
];
|
|
87615
|
-
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87616
|
-
{
|
|
87617
|
-
type: FormType.Checkbox,
|
|
87618
|
-
label: "Same as Mailing Address",
|
|
87619
|
-
formControlName: Controls4.DeliverySameAsMailing,
|
|
87620
|
-
class: "span-12",
|
|
87621
|
-
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87622
|
-
}
|
|
87623
|
-
];
|
|
87624
|
-
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87625
|
-
{
|
|
87626
|
-
type: FormType.Checkbox,
|
|
87627
|
-
label: "Same as Registered Office",
|
|
87628
|
-
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87629
|
-
class: "span-12",
|
|
87630
|
-
onChange: (form) => {
|
|
87631
|
-
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87632
|
-
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87633
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87634
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87635
|
-
}
|
|
87636
|
-
}
|
|
87637
|
-
];
|
|
87638
|
-
}
|
|
87639
|
-
});
|
|
87640
|
-
|
|
87641
|
-
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87642
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87643
|
-
if (rf & 1) {
|
|
87644
|
-
\u0275\u0275element(0, "alert", 1);
|
|
87645
|
-
}
|
|
87646
|
-
if (rf & 2) {
|
|
87647
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87648
|
-
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87649
|
-
}
|
|
87650
|
-
}
|
|
87651
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87652
|
-
if (rf & 1) {
|
|
87653
|
-
\u0275\u0275element(0, "alert", 2);
|
|
87654
|
-
}
|
|
87655
|
-
if (rf & 2) {
|
|
87656
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87657
|
-
\u0275\u0275property("content", ctx_r0.errors());
|
|
87658
|
-
}
|
|
87659
|
-
}
|
|
87660
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87661
|
-
if (rf & 1) {
|
|
87662
|
-
const _r2 = \u0275\u0275getCurrentView();
|
|
87663
|
-
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87664
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87665
|
-
\u0275\u0275restoreView(_r2);
|
|
87666
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87667
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
87668
|
-
});
|
|
87669
|
-
\u0275\u0275elementEnd()();
|
|
87670
|
-
}
|
|
87671
|
-
if (rf & 2) {
|
|
87672
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87673
|
-
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
87674
|
-
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87675
|
-
\u0275\u0275advance();
|
|
87676
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87677
|
-
}
|
|
87678
|
-
}
|
|
87679
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
|
|
87680
|
-
if (rf & 1) {
|
|
87681
|
-
\u0275\u0275elementStart(0, "expandable-card", 5);
|
|
87682
|
-
\u0275\u0275element(1, "filing-form-group", 8);
|
|
87683
|
-
\u0275\u0275elementEnd();
|
|
87684
|
-
}
|
|
87685
|
-
if (rf & 2) {
|
|
87686
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87687
|
-
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
87688
|
-
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
87689
|
-
\u0275\u0275advance();
|
|
87690
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r4)("config", ctx_r0.corporationDetailsFields);
|
|
87691
|
-
}
|
|
87692
|
-
}
|
|
87693
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87694
|
-
if (rf & 1) {
|
|
87695
|
-
const _r6 = \u0275\u0275getCurrentView();
|
|
87696
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87697
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87698
|
-
\u0275\u0275restoreView(_r6);
|
|
87699
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87700
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87701
|
-
});
|
|
87702
|
-
\u0275\u0275elementEnd();
|
|
87703
|
-
}
|
|
87704
|
-
if (rf & 2) {
|
|
87705
|
-
\u0275\u0275nextContext();
|
|
87706
|
-
const registeredMailing_r7 = \u0275\u0275readContextLet(0);
|
|
87707
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87708
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r7)("config", ctx_r0.addressFields);
|
|
87709
|
-
}
|
|
87710
|
-
}
|
|
87711
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87712
|
-
if (rf & 1) {
|
|
87713
|
-
const _r8 = \u0275\u0275getCurrentView();
|
|
87714
|
-
\u0275\u0275element(0, "filing-form-group", 8);
|
|
87715
|
-
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87716
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87717
|
-
\u0275\u0275restoreView(_r8);
|
|
87718
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87719
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87720
|
-
});
|
|
87721
|
-
\u0275\u0275elementEnd();
|
|
87722
|
-
}
|
|
87723
|
-
if (rf & 2) {
|
|
87724
|
-
\u0275\u0275nextContext();
|
|
87725
|
-
const registeredDelivery_r9 = \u0275\u0275readContextLet(1);
|
|
87726
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87727
|
-
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87728
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliveryNoteFields);
|
|
87729
|
-
\u0275\u0275advance();
|
|
87730
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r9)("config", ctx_r0.addressFields);
|
|
87731
|
-
}
|
|
87732
|
-
}
|
|
87733
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87734
|
-
if (rf & 1) {
|
|
87735
|
-
const _r5 = \u0275\u0275getCurrentView();
|
|
87736
|
-
\u0275\u0275declareLet(0)(1)(2);
|
|
87737
|
-
\u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 9);
|
|
87738
|
-
\u0275\u0275element(5, "filing-form-group", 8);
|
|
87739
|
-
\u0275\u0275elementStart(6, "h4", 10);
|
|
87740
|
-
\u0275\u0275text(7);
|
|
87741
|
-
\u0275\u0275pipe(8, "translate");
|
|
87742
|
-
\u0275\u0275elementEnd();
|
|
87743
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 8);
|
|
87744
|
-
\u0275\u0275elementStart(10, "h4", 10);
|
|
87745
|
-
\u0275\u0275text(11);
|
|
87746
|
-
\u0275\u0275pipe(12, "translate");
|
|
87747
|
-
\u0275\u0275elementEnd();
|
|
87748
|
-
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87749
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87750
|
-
\u0275\u0275restoreView(_r5);
|
|
87751
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87752
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87753
|
-
});
|
|
87754
|
-
\u0275\u0275elementEnd();
|
|
87755
|
-
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87756
|
-
\u0275\u0275elementEnd()();
|
|
87757
|
-
}
|
|
87758
|
-
if (rf & 2) {
|
|
87759
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87760
|
-
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87761
|
-
const registeredMailing_r11 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewMailingAddress));
|
|
87762
|
-
\u0275\u0275advance();
|
|
87763
|
-
const registeredDelivery_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewDeliveryAddress));
|
|
87764
|
-
const registeredDeliverySame_r13 = ctx_r0.isChecked(registeredOffice_r10, ctx_r0.controls.DeliverySameAsMailing);
|
|
87765
|
-
\u0275\u0275advance(2);
|
|
87766
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87767
|
-
\u0275\u0275advance(2);
|
|
87768
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.currentAddressesFields);
|
|
87769
|
-
\u0275\u0275advance(2);
|
|
87770
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87771
|
-
\u0275\u0275advance(2);
|
|
87772
|
-
\u0275\u0275conditional(registeredMailing_r11 ? 9 : -1);
|
|
87773
|
-
\u0275\u0275advance(2);
|
|
87774
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87775
|
-
\u0275\u0275advance(2);
|
|
87776
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87777
|
-
\u0275\u0275advance();
|
|
87778
|
-
\u0275\u0275conditional(!registeredDeliverySame_r13 && registeredDelivery_r12 ? 14 : -1);
|
|
87779
|
-
}
|
|
87780
|
-
}
|
|
87781
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87782
|
-
if (rf & 1) {
|
|
87783
|
-
const _r16 = \u0275\u0275getCurrentView();
|
|
87784
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87785
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87786
|
-
\u0275\u0275restoreView(_r16);
|
|
87787
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87788
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87789
|
-
});
|
|
87790
|
-
\u0275\u0275elementEnd();
|
|
87791
|
-
}
|
|
87792
|
-
if (rf & 2) {
|
|
87793
|
-
\u0275\u0275nextContext(2);
|
|
87794
|
-
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87795
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87796
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r17)("config", ctx_r0.addressFields);
|
|
87797
|
-
}
|
|
87798
|
-
}
|
|
87799
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87800
|
-
if (rf & 1) {
|
|
87801
|
-
const _r18 = \u0275\u0275getCurrentView();
|
|
87802
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87803
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87804
|
-
\u0275\u0275restoreView(_r18);
|
|
87805
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87806
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87807
|
-
});
|
|
87808
|
-
\u0275\u0275elementEnd();
|
|
87809
|
-
}
|
|
87810
|
-
if (rf & 2) {
|
|
87811
|
-
\u0275\u0275nextContext(2);
|
|
87812
|
-
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87813
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87814
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r19)("config", ctx_r0.addressFields);
|
|
87815
|
-
}
|
|
87816
|
-
}
|
|
87817
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
|
|
87818
|
-
if (rf & 1) {
|
|
87819
|
-
const _r15 = \u0275\u0275getCurrentView();
|
|
87820
|
-
\u0275\u0275elementStart(0, "h4", 10);
|
|
87821
|
-
\u0275\u0275text(1);
|
|
87822
|
-
\u0275\u0275pipe(2, "translate");
|
|
87823
|
-
\u0275\u0275elementEnd();
|
|
87824
|
-
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 8);
|
|
87825
|
-
\u0275\u0275elementStart(4, "h4", 10);
|
|
87826
|
-
\u0275\u0275text(5);
|
|
87827
|
-
\u0275\u0275pipe(6, "translate");
|
|
87828
|
-
\u0275\u0275elementEnd();
|
|
87829
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87830
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87831
|
-
\u0275\u0275restoreView(_r15);
|
|
87832
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87833
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87834
|
-
});
|
|
87835
|
-
\u0275\u0275elementEnd();
|
|
87836
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 8);
|
|
87837
|
-
}
|
|
87838
|
-
if (rf & 2) {
|
|
87839
|
-
\u0275\u0275nextContext();
|
|
87840
|
-
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87841
|
-
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87842
|
-
const recordsDeliverySame_r20 = \u0275\u0275readContextLet(3);
|
|
87843
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87844
|
-
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87845
|
-
\u0275\u0275advance();
|
|
87846
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87847
|
-
\u0275\u0275advance(2);
|
|
87848
|
-
\u0275\u0275conditional(recordsMailing_r17 ? 3 : -1);
|
|
87849
|
-
\u0275\u0275advance(2);
|
|
87850
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
87851
|
-
\u0275\u0275advance(2);
|
|
87852
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87853
|
-
\u0275\u0275advance();
|
|
87854
|
-
\u0275\u0275conditional(!recordsDeliverySame_r20 && recordsDelivery_r19 ? 8 : -1);
|
|
87855
|
-
}
|
|
87856
|
-
}
|
|
87857
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
87858
|
-
if (rf & 1) {
|
|
87859
|
-
const _r14 = \u0275\u0275getCurrentView();
|
|
87860
|
-
\u0275\u0275declareLet(0)(1)(2)(3);
|
|
87861
|
-
\u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 9);
|
|
87862
|
-
\u0275\u0275element(6, "filing-form-group", 8);
|
|
87863
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87864
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87865
|
-
\u0275\u0275restoreView(_r14);
|
|
87866
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87867
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87868
|
-
});
|
|
87869
|
-
\u0275\u0275elementEnd();
|
|
87870
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87871
|
-
\u0275\u0275elementEnd()();
|
|
87872
|
-
}
|
|
87873
|
-
if (rf & 2) {
|
|
87874
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87875
|
-
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87876
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewMailingAddress));
|
|
87877
|
-
\u0275\u0275advance();
|
|
87878
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewDeliveryAddress));
|
|
87879
|
-
const recordsSameAsRegistered_r22 = ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.SameAsRegisteredOffice);
|
|
87880
|
-
\u0275\u0275advance(2);
|
|
87881
|
-
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.DeliverySameAsMailing));
|
|
87882
|
-
\u0275\u0275advance();
|
|
87883
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
87884
|
-
\u0275\u0275advance(2);
|
|
87885
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.currentAddressesFields);
|
|
87886
|
-
\u0275\u0275advance();
|
|
87887
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
87888
|
-
\u0275\u0275advance();
|
|
87889
|
-
\u0275\u0275conditional(!recordsSameAsRegistered_r22 ? 8 : -1);
|
|
87890
|
-
}
|
|
87891
|
-
}
|
|
87892
|
-
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
87893
|
-
var init_change_of_office_addresses_form_component = __esm({
|
|
87894
|
-
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
87895
|
-
init_core();
|
|
87896
|
-
init_ngx_translate_core();
|
|
87897
|
-
init_filing_form_group_component();
|
|
87898
|
-
init_alert_component();
|
|
87899
|
-
init_alert_enum();
|
|
87900
|
-
init_expandable_card_component();
|
|
87901
|
-
init_british_columbia_form_enums();
|
|
87902
|
-
init_british_columbia_change_of_office_addresses_form_constants();
|
|
87903
|
-
init_forms_utils();
|
|
87904
|
-
init_core();
|
|
87905
|
-
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
87906
|
-
form = input.required();
|
|
87907
|
-
task = input();
|
|
87908
|
-
errors = input([]);
|
|
87909
|
-
isNote = input(false);
|
|
87910
|
-
isSubmitted = input(false);
|
|
87911
|
-
readonly = input(false);
|
|
87912
|
-
visiblyValidChange = output();
|
|
87913
|
-
alertType = AlertType;
|
|
87914
|
-
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
87915
|
-
controls = BCChangeOfOfficeAddressesFormControls;
|
|
87916
|
-
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
87917
|
-
corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
87918
|
-
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
87919
|
-
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
87920
|
-
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
87921
|
-
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
87922
|
-
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
87923
|
-
sectionValidity = {};
|
|
87924
|
-
isVisiblyValid() {
|
|
87925
|
-
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
87926
|
-
}
|
|
87927
|
-
isRegisteredOfficeValid() {
|
|
87928
|
-
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
87929
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87930
|
-
}
|
|
87931
|
-
isRecordsOfficeValid() {
|
|
87932
|
-
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
87933
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87934
|
-
}
|
|
87935
|
-
isChecked(office, control) {
|
|
87936
|
-
return Boolean(office?.get(control)?.value);
|
|
87937
|
-
}
|
|
87938
|
-
onSectionValidChange(section, valid) {
|
|
87939
|
-
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
87940
|
-
this.emitValidity();
|
|
87941
|
-
}
|
|
87942
|
-
emitValidity() {
|
|
87943
|
-
queueMicrotask(() => this.visiblyValidChange.emit(this.isVisiblyValid()));
|
|
87944
|
-
}
|
|
87945
|
-
getFormGroup(key) {
|
|
87946
|
-
return this.form().get(key) ?? null;
|
|
87947
|
-
}
|
|
87948
|
-
getAddressGroup(office, control) {
|
|
87949
|
-
return office?.get(control) ?? null;
|
|
87950
|
-
}
|
|
87951
|
-
isAddressValid(office, control) {
|
|
87952
|
-
const group2 = this.getAddressGroup(office, control);
|
|
87953
|
-
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
87954
|
-
}
|
|
87955
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
87956
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
87957
|
-
};
|
|
87958
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 12, vars: 10, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
87959
|
-
if (rf & 1) {
|
|
87960
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
87961
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
87962
|
-
\u0275\u0275elementStart(3, "div", 3);
|
|
87963
|
-
\u0275\u0275declareLet(4);
|
|
87964
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
87965
|
-
\u0275\u0275declareLet(6);
|
|
87966
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
|
|
87967
|
-
\u0275\u0275declareLet(8);
|
|
87968
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
|
|
87969
|
-
\u0275\u0275declareLet(10);
|
|
87970
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
|
|
87971
|
-
\u0275\u0275elementEnd()();
|
|
87972
|
-
}
|
|
87973
|
-
if (rf & 2) {
|
|
87974
|
-
\u0275\u0275advance();
|
|
87975
|
-
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
87976
|
-
\u0275\u0275advance();
|
|
87977
|
-
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
87978
|
-
\u0275\u0275advance(2);
|
|
87979
|
-
const referenceNumbers_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
87980
|
-
\u0275\u0275advance();
|
|
87981
|
-
\u0275\u0275conditional(referenceNumbers_r23 ? 5 : -1);
|
|
87982
|
-
\u0275\u0275advance();
|
|
87983
|
-
const corporationDetails_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
87984
|
-
\u0275\u0275advance();
|
|
87985
|
-
\u0275\u0275conditional(corporationDetails_r24 ? 7 : -1);
|
|
87986
|
-
\u0275\u0275advance();
|
|
87987
|
-
const registeredOffice_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
87988
|
-
\u0275\u0275advance();
|
|
87989
|
-
\u0275\u0275conditional(registeredOffice_r25 ? 9 : -1);
|
|
87990
|
-
\u0275\u0275advance();
|
|
87991
|
-
const recordsOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
87992
|
-
\u0275\u0275advance();
|
|
87993
|
-
\u0275\u0275conditional(recordsOffice_r26 ? 11 : -1);
|
|
87994
|
-
}
|
|
87995
|
-
}, dependencies: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
|
|
87996
|
-
};
|
|
87997
|
-
(() => {
|
|
87998
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
87999
|
-
type: Component,
|
|
88000
|
-
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], template: `<div class="change-of-office-addresses-form">\r
|
|
88001
|
-
@if (isNote()) {\r
|
|
88002
|
-
<alert\r
|
|
88003
|
-
[type]="alertType.Info"\r
|
|
88004
|
-
title="Entity changed"\r
|
|
88005
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
88006
|
-
/>\r
|
|
88007
|
-
}\r
|
|
88008
|
-
\r
|
|
88009
|
-
@if (errors().length) {\r
|
|
88010
|
-
<alert\r
|
|
88011
|
-
title="The following issues need to be resolved before proceeding:"\r
|
|
88012
|
-
[content]="errors()"\r
|
|
88013
|
-
/>\r
|
|
88014
|
-
}\r
|
|
88015
|
-
\r
|
|
88016
|
-
<div class="change-of-office-addresses-form-content">\r
|
|
88017
|
-
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88018
|
-
\r
|
|
88019
|
-
@if (referenceNumbers) {\r
|
|
88020
|
-
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88021
|
-
<filing-form-group\r
|
|
88022
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88023
|
-
[form]="referenceNumbers"\r
|
|
88024
|
-
[config]="referenceNumbersFields"\r
|
|
88025
|
-
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88026
|
-
/>\r
|
|
88027
|
-
</expandable-card>\r
|
|
88028
|
-
}\r
|
|
88029
|
-
\r
|
|
88030
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88031
|
-
\r
|
|
88032
|
-
@if (corporationDetails) {\r
|
|
88033
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
|
|
88034
|
-
<filing-form-group\r
|
|
88035
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88036
|
-
[form]="corporationDetails"\r
|
|
88037
|
-
[config]="corporationDetailsFields"\r
|
|
88038
|
-
/>\r
|
|
88039
|
-
</expandable-card>\r
|
|
88040
|
-
}\r
|
|
88041
|
-
\r
|
|
88042
|
-
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88043
|
-
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88044
|
-
\r
|
|
88045
|
-
@if (registeredOffice) {\r
|
|
88046
|
-
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88047
|
-
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88048
|
-
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88049
|
-
\r
|
|
88050
|
-
<expandable-card\r
|
|
88051
|
-
[isStatusIcon]="!readonly()"\r
|
|
88052
|
-
[isValid]="isRegisteredOfficeValid()"\r
|
|
88053
|
-
[title]="groups.RegisteredOfficeAddress"\r
|
|
88054
|
-
>\r
|
|
88055
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88056
|
-
<filing-form-group\r
|
|
88057
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88058
|
-
[form]="registeredOffice"\r
|
|
88059
|
-
[config]="currentAddressesFields"\r
|
|
88060
|
-
/>\r
|
|
88061
|
-
\r
|
|
88062
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88063
|
-
\r
|
|
88064
|
-
@if (registeredMailing) {\r
|
|
88065
|
-
<filing-form-group\r
|
|
88066
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88067
|
-
[form]="registeredMailing"\r
|
|
88068
|
-
[config]="addressFields"\r
|
|
88069
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88070
|
-
/>\r
|
|
88071
|
-
}\r
|
|
88072
|
-
\r
|
|
88073
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88074
|
-
\r
|
|
88075
|
-
<filing-form-group\r
|
|
88076
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88077
|
-
[form]="registeredOffice"\r
|
|
88078
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88079
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88080
|
-
/>\r
|
|
88081
|
-
\r
|
|
88082
|
-
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88083
|
-
<filing-form-group\r
|
|
88084
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88085
|
-
[form]="registeredOffice"\r
|
|
88086
|
-
[config]="deliveryNoteFields"\r
|
|
88087
|
-
/>\r
|
|
88088
|
-
<filing-form-group\r
|
|
88089
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88090
|
-
[form]="registeredDelivery"\r
|
|
88091
|
-
[config]="addressFields"\r
|
|
88092
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88093
|
-
/>\r
|
|
88094
|
-
}\r
|
|
88095
|
-
</div>\r
|
|
88096
|
-
</expandable-card>\r
|
|
88097
|
-
}\r
|
|
88098
|
-
\r
|
|
88099
|
-
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88100
|
-
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88101
|
-
\r
|
|
88102
|
-
@if (recordsOffice) {\r
|
|
88103
|
-
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88104
|
-
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88105
|
-
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88106
|
-
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88107
|
-
\r
|
|
88108
|
-
<expandable-card\r
|
|
88109
|
-
[isStatusIcon]="!readonly()"\r
|
|
88110
|
-
[isValid]="isRecordsOfficeValid()"\r
|
|
88111
|
-
[title]="groups.RecordsOfficeAddress"\r
|
|
88112
|
-
>\r
|
|
88113
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88114
|
-
<filing-form-group\r
|
|
88115
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88116
|
-
[form]="recordsOffice"\r
|
|
88117
|
-
[config]="currentAddressesFields"\r
|
|
88118
|
-
/>\r
|
|
88119
|
-
\r
|
|
88120
|
-
<filing-form-group\r
|
|
88121
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88122
|
-
[form]="recordsOffice"\r
|
|
88123
|
-
[config]="sameAsRegisteredOfficeFields"\r
|
|
88124
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88125
|
-
/>\r
|
|
88126
|
-
\r
|
|
88127
|
-
@if (!recordsSameAsRegistered) {\r
|
|
88128
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88129
|
-
\r
|
|
88130
|
-
@if (recordsMailing) {\r
|
|
88131
|
-
<filing-form-group\r
|
|
88132
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88133
|
-
[form]="recordsMailing"\r
|
|
88134
|
-
[config]="addressFields"\r
|
|
88135
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88136
|
-
/>\r
|
|
88137
|
-
}\r
|
|
88138
|
-
\r
|
|
88139
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88140
|
-
\r
|
|
88141
|
-
<filing-form-group\r
|
|
88142
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88143
|
-
[form]="recordsOffice"\r
|
|
88144
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88145
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88146
|
-
/>\r
|
|
88147
|
-
\r
|
|
88148
|
-
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88149
|
-
<filing-form-group\r
|
|
88150
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88151
|
-
[form]="recordsDelivery"\r
|
|
88152
|
-
[config]="addressFields"\r
|
|
88153
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88154
|
-
/>\r
|
|
88155
|
-
}\r
|
|
88156
|
-
}\r
|
|
88157
|
-
</div>\r
|
|
88158
|
-
</expandable-card>\r
|
|
88159
|
-
}\r
|
|
88160
|
-
</div>\r
|
|
88161
|
-
</div>\r
|
|
88162
|
-
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
|
|
88163
|
-
}], null, null);
|
|
88164
|
-
})();
|
|
88165
|
-
(() => {
|
|
88166
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 43 });
|
|
88167
|
-
})();
|
|
88168
|
-
}
|
|
88169
|
-
});
|
|
88170
|
-
|
|
88171
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88172
|
-
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88173
|
-
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88174
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88175
|
-
init_core();
|
|
88176
|
-
init_button();
|
|
88177
|
-
init_ngx_translate_core();
|
|
88178
|
-
init_common_utils();
|
|
88179
|
-
init_change_of_office_addresses_form_component();
|
|
88180
|
-
init_core();
|
|
88181
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88182
|
-
form = input.required();
|
|
88183
|
-
actionsDisabled = input(false);
|
|
88184
|
-
isNote = input(false);
|
|
88185
|
-
task = input();
|
|
88186
|
-
errors = input([]);
|
|
88187
|
-
close = output();
|
|
88188
|
-
save = output();
|
|
88189
|
-
validate = output();
|
|
88190
|
-
submitted = signal(false);
|
|
88191
|
-
visiblyValid = signal(true);
|
|
88192
|
-
clientErrors = signal([]);
|
|
88193
|
-
translate = inject(TranslateService);
|
|
88194
|
-
combinedErrors = computed(() => {
|
|
88195
|
-
const client = this.clientErrors();
|
|
88196
|
-
return client.length ? client : this.errors();
|
|
88197
|
-
});
|
|
88198
|
-
onVisiblyValidChange(valid) {
|
|
88199
|
-
this.visiblyValid.set(valid);
|
|
88200
|
-
if (this.submitted()) {
|
|
88201
|
-
this.clientErrors.set(valid ? [] : [this.requiredFieldsMessage()]);
|
|
88202
|
-
}
|
|
88203
|
-
}
|
|
88204
|
-
onValidate() {
|
|
88205
|
-
this.submitted.set(true);
|
|
88206
|
-
this.clientErrors.set([]);
|
|
88207
|
-
markFormGroupTouched(this.form());
|
|
88208
|
-
if (!this.visiblyValid()) {
|
|
88209
|
-
this.clientErrors.set([this.requiredFieldsMessage()]);
|
|
88210
|
-
return;
|
|
88211
|
-
}
|
|
88212
|
-
this.validate.emit();
|
|
88213
|
-
}
|
|
88214
|
-
requiredFieldsMessage() {
|
|
88215
|
-
return this.translate.instant("Some required fields aren't completed.");
|
|
88216
|
-
}
|
|
88217
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88218
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88219
|
-
};
|
|
88220
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, selectors: [["british-columbia-change-of-office-addresses-delta-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], isNote: [1, "isNote"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", save: "save", validate: "validate" }, decls: 15, vars: 18, consts: [[1, "change-of-office-addresses-delta-form"], [1, "change-of-office-addresses-delta-form-content", 3, "visiblyValidChange", "form", "task", "errors", "isNote", "isSubmitted", "readonly"], [1, "change-of-office-addresses-delta-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template(rf, ctx) {
|
|
88221
|
-
if (rf & 1) {
|
|
88222
|
-
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88223
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88224
|
-
return ctx.onVisiblyValidChange($event);
|
|
88225
|
-
});
|
|
88226
|
-
\u0275\u0275elementEnd();
|
|
88227
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88228
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88229
|
-
return ctx.close.emit();
|
|
88230
|
-
});
|
|
88231
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88232
|
-
\u0275\u0275text(5);
|
|
88233
|
-
\u0275\u0275pipe(6, "translate");
|
|
88234
|
-
\u0275\u0275elementEnd()();
|
|
88235
|
-
\u0275\u0275elementStart(7, "button", 3);
|
|
88236
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88237
|
-
return ctx.save.emit();
|
|
88238
|
-
});
|
|
88239
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88240
|
-
\u0275\u0275text(9);
|
|
88241
|
-
\u0275\u0275pipe(10, "translate");
|
|
88242
|
-
\u0275\u0275elementEnd()();
|
|
88243
|
-
\u0275\u0275elementStart(11, "button", 5);
|
|
88244
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88245
|
-
return ctx.onValidate();
|
|
88246
|
-
});
|
|
88247
|
-
\u0275\u0275elementStart(12, "span", 4);
|
|
88248
|
-
\u0275\u0275text(13);
|
|
88249
|
-
\u0275\u0275pipe(14, "translate");
|
|
88250
|
-
\u0275\u0275elementEnd()()()();
|
|
88251
|
-
}
|
|
88252
|
-
if (rf & 2) {
|
|
88253
|
-
\u0275\u0275advance();
|
|
88254
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88255
|
-
\u0275\u0275advance(2);
|
|
88256
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88257
|
-
\u0275\u0275advance(2);
|
|
88258
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88259
|
-
\u0275\u0275advance(2);
|
|
88260
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88261
|
-
\u0275\u0275advance(2);
|
|
88262
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88263
|
-
\u0275\u0275advance(2);
|
|
88264
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88265
|
-
\u0275\u0275advance(2);
|
|
88266
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88267
|
-
}
|
|
88268
|
-
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-office-addresses-delta-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-content[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] .submit[_ngcontent-%COMP%] {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-office-addresses-delta-form.component.css.map */"], changeDetection: 0 });
|
|
88269
|
-
};
|
|
88270
|
-
(() => {
|
|
88271
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88272
|
-
type: Component,
|
|
88273
|
-
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-delta-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], template: `<div class="change-of-office-addresses-delta-form">\r
|
|
88274
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88275
|
-
class="change-of-office-addresses-delta-form-content"\r
|
|
88276
|
-
[form]="form()"\r
|
|
88277
|
-
[task]="task()"\r
|
|
88278
|
-
[errors]="combinedErrors()"\r
|
|
88279
|
-
[isNote]="isNote()"\r
|
|
88280
|
-
[isSubmitted]="submitted()"\r
|
|
88281
|
-
[readonly]="false"\r
|
|
88282
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88283
|
-
/>\r
|
|
88284
|
-
\r
|
|
88285
|
-
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88286
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88287
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88288
|
-
</button>\r
|
|
88289
|
-
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88290
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88291
|
-
</button>\r
|
|
88292
|
-
<button\r
|
|
88293
|
-
class="submit"\r
|
|
88294
|
-
color="primary"\r
|
|
88295
|
-
mat-flat-button\r
|
|
88296
|
-
[disabled]="actionsDisabled()"\r
|
|
88297
|
-
(click)="onValidate()"\r
|
|
88298
|
-
>\r
|
|
88299
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88300
|
-
</button>\r
|
|
88301
|
-
</div>\r
|
|
88302
|
-
</div>\r
|
|
88303
|
-
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.scss */\n:host .change-of-office-addresses-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-delta-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-office-addresses-delta-form-actions button {\n margin: 0;\n}\n:host .change-of-office-addresses-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-office-addresses-delta-form.component.css.map */\n"] }]
|
|
88304
|
-
}], null, null);
|
|
88305
|
-
})();
|
|
88306
|
-
(() => {
|
|
88307
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts", lineNumber: 25 });
|
|
88308
|
-
})();
|
|
88309
|
-
}
|
|
88310
|
-
});
|
|
88311
|
-
|
|
88312
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88313
|
-
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88314
|
-
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88315
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88316
|
-
init_core();
|
|
88317
|
-
init_button();
|
|
88318
|
-
init_ngx_translate_core();
|
|
88319
|
-
init_change_of_office_addresses_form_component();
|
|
88320
|
-
init_core();
|
|
88321
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88322
|
-
form = input.required();
|
|
88323
|
-
actionsDisabled = input(false);
|
|
88324
|
-
task = input();
|
|
88325
|
-
errors = input([]);
|
|
88326
|
-
close = output();
|
|
88327
|
-
file = output();
|
|
88328
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88329
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88330
|
-
};
|
|
88331
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, selectors: [["british-columbia-change-of-office-addresses-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", file: "file" }, decls: 11, vars: 13, consts: [[1, "change-of-office-addresses-preview-form"], [1, "change-of-office-addresses-preview-form-content", 3, "form", "task", "errors", "isSubmitted", "readonly"], [1, "change-of-office-addresses-preview-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template(rf, ctx) {
|
|
88332
|
-
if (rf & 1) {
|
|
88333
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
88334
|
-
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88335
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88336
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88337
|
-
return ctx.close.emit();
|
|
88338
|
-
});
|
|
88339
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88340
|
-
\u0275\u0275text(5);
|
|
88341
|
-
\u0275\u0275pipe(6, "translate");
|
|
88342
|
-
\u0275\u0275elementEnd()();
|
|
88343
|
-
\u0275\u0275elementStart(7, "button", 5);
|
|
88344
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88345
|
-
return ctx.file.emit();
|
|
88346
|
-
});
|
|
88347
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88348
|
-
\u0275\u0275text(9);
|
|
88349
|
-
\u0275\u0275pipe(10, "translate");
|
|
88350
|
-
\u0275\u0275elementEnd()()()();
|
|
88351
|
-
}
|
|
88352
|
-
if (rf & 2) {
|
|
88353
|
-
\u0275\u0275advance();
|
|
88354
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88355
|
-
\u0275\u0275advance(2);
|
|
88356
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88357
|
-
\u0275\u0275advance(2);
|
|
88358
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88359
|
-
\u0275\u0275advance(2);
|
|
88360
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88361
|
-
\u0275\u0275advance(2);
|
|
88362
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88363
|
-
}
|
|
88364
|
-
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-office-addresses-preview-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-office-addresses-preview-form.component.css.map */"], changeDetection: 0 });
|
|
88365
|
-
};
|
|
88366
|
-
(() => {
|
|
88367
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88368
|
-
type: Component,
|
|
88369
|
-
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-preview-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], template: `<div class="change-of-office-addresses-preview-form">\r
|
|
88370
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88371
|
-
class="change-of-office-addresses-preview-form-content"\r
|
|
88372
|
-
[form]="form()"\r
|
|
88373
|
-
[task]="task()"\r
|
|
88374
|
-
[errors]="errors()"\r
|
|
88375
|
-
[isSubmitted]="false"\r
|
|
88376
|
-
[readonly]="true"\r
|
|
88377
|
-
/>\r
|
|
88378
|
-
\r
|
|
88379
|
-
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88380
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88381
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88382
|
-
</button>\r
|
|
88383
|
-
<button\r
|
|
88384
|
-
class="submit"\r
|
|
88385
|
-
color="primary"\r
|
|
88386
|
-
mat-flat-button\r
|
|
88387
|
-
[disabled]="actionsDisabled()"\r
|
|
88388
|
-
(click)="file.emit()"\r
|
|
88389
|
-
>\r
|
|
88390
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88391
|
-
</button>\r
|
|
88392
|
-
</div>\r
|
|
88393
|
-
</div>\r
|
|
88394
|
-
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.scss */\n:host .change-of-office-addresses-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-preview-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-preview-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-office-addresses-preview-form-actions button {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-office-addresses-preview-form.component.css.map */\n"] }]
|
|
88395
|
-
}], null, null);
|
|
88396
|
-
})();
|
|
88397
|
-
(() => {
|
|
88398
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts", lineNumber: 21 });
|
|
88399
|
-
})();
|
|
88400
|
-
}
|
|
88401
|
-
});
|
|
88402
|
-
|
|
88403
87387
|
// src/app/components/british-columbia/british-columbia.component.ts
|
|
88404
87388
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
88405
87389
|
if (rf & 1) {
|
|
88406
87390
|
const _r1 = \u0275\u0275getCurrentView();
|
|
88407
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form",
|
|
87391
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 2);
|
|
88408
87392
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
88409
87393
|
\u0275\u0275restoreView(_r1);
|
|
88410
87394
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -88429,7 +87413,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88429
87413
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
88430
87414
|
if (rf & 1) {
|
|
88431
87415
|
const _r4 = \u0275\u0275getCurrentView();
|
|
88432
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form",
|
|
87416
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 3);
|
|
88433
87417
|
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
88434
87418
|
\u0275\u0275restoreView(_r4);
|
|
88435
87419
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -88437,7 +87421,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88437
87421
|
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
88438
87422
|
\u0275\u0275restoreView(_r4);
|
|
88439
87423
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88440
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87424
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit());
|
|
88441
87425
|
});
|
|
88442
87426
|
\u0275\u0275elementEnd();
|
|
88443
87427
|
}
|
|
@@ -88447,57 +87431,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88447
87431
|
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88448
87432
|
}
|
|
88449
87433
|
}
|
|
88450
|
-
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
88451
|
-
if (rf & 1) {
|
|
88452
|
-
const _r5 = \u0275\u0275getCurrentView();
|
|
88453
|
-
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
88454
|
-
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
88455
|
-
\u0275\u0275restoreView(_r5);
|
|
88456
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88457
|
-
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
88458
|
-
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
88459
|
-
\u0275\u0275restoreView(_r5);
|
|
88460
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88461
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88462
|
-
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
88463
|
-
\u0275\u0275restoreView(_r5);
|
|
88464
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88465
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
88466
|
-
});
|
|
88467
|
-
\u0275\u0275elementEnd();
|
|
88468
|
-
}
|
|
88469
|
-
if (rf & 2) {
|
|
88470
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88471
|
-
\u0275\u0275property("errors", ctx_r1.errors());
|
|
88472
|
-
}
|
|
88473
|
-
}
|
|
88474
87434
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
88475
87435
|
if (rf & 1) {
|
|
88476
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1)
|
|
87436
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1);
|
|
88477
87437
|
}
|
|
88478
87438
|
if (rf & 2) {
|
|
88479
87439
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
88480
87440
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88481
87441
|
\u0275\u0275advance();
|
|
88482
87442
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88483
|
-
\u0275\u0275advance();
|
|
88484
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
88485
87443
|
}
|
|
88486
87444
|
}
|
|
88487
87445
|
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
88488
87446
|
if (rf & 1) {
|
|
88489
|
-
const
|
|
88490
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form",
|
|
87447
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
87448
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 6);
|
|
88491
87449
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
88492
|
-
\u0275\u0275restoreView(
|
|
87450
|
+
\u0275\u0275restoreView(_r5);
|
|
88493
87451
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88494
87452
|
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
88495
87453
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
88496
|
-
\u0275\u0275restoreView(
|
|
87454
|
+
\u0275\u0275restoreView(_r5);
|
|
88497
87455
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88498
87456
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88499
87457
|
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
88500
|
-
\u0275\u0275restoreView(
|
|
87458
|
+
\u0275\u0275restoreView(_r5);
|
|
88501
87459
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88502
87460
|
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
88503
87461
|
});
|
|
@@ -88511,14 +87469,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88511
87469
|
}
|
|
88512
87470
|
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
88513
87471
|
if (rf & 1) {
|
|
88514
|
-
const
|
|
88515
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form",
|
|
87472
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87473
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 7);
|
|
88516
87474
|
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
88517
|
-
\u0275\u0275restoreView(
|
|
87475
|
+
\u0275\u0275restoreView(_r6);
|
|
88518
87476
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88519
87477
|
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
88520
87478
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
88521
|
-
\u0275\u0275restoreView(
|
|
87479
|
+
\u0275\u0275restoreView(_r6);
|
|
88522
87480
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88523
87481
|
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88524
87482
|
});
|
|
@@ -88532,64 +87490,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88532
87490
|
}
|
|
88533
87491
|
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
88534
87492
|
if (rf & 1) {
|
|
88535
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form",
|
|
88536
|
-
}
|
|
88537
|
-
if (rf & 2) {
|
|
88538
|
-
const ctx_r1 = \u0275\u0275nextContext();
|
|
88539
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88540
|
-
\u0275\u0275advance();
|
|
88541
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88542
|
-
}
|
|
88543
|
-
}
|
|
88544
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88545
|
-
if (rf & 1) {
|
|
88546
|
-
const _r8 = \u0275\u0275getCurrentView();
|
|
88547
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
|
|
88548
|
-
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88549
|
-
\u0275\u0275restoreView(_r8);
|
|
88550
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88551
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88552
|
-
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88553
|
-
\u0275\u0275restoreView(_r8);
|
|
88554
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88555
|
-
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88556
|
-
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88557
|
-
\u0275\u0275restoreView(_r8);
|
|
88558
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88559
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88560
|
-
});
|
|
88561
|
-
\u0275\u0275elementEnd();
|
|
88562
|
-
}
|
|
88563
|
-
if (rf & 2) {
|
|
88564
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88565
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88566
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88567
|
-
}
|
|
88568
|
-
}
|
|
88569
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88570
|
-
if (rf & 1) {
|
|
88571
|
-
const _r9 = \u0275\u0275getCurrentView();
|
|
88572
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
|
|
88573
|
-
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88574
|
-
\u0275\u0275restoreView(_r9);
|
|
88575
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88576
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88577
|
-
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88578
|
-
\u0275\u0275restoreView(_r9);
|
|
88579
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88580
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88581
|
-
});
|
|
88582
|
-
\u0275\u0275elementEnd();
|
|
88583
|
-
}
|
|
88584
|
-
if (rf & 2) {
|
|
88585
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88586
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88587
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88588
|
-
}
|
|
88589
|
-
}
|
|
88590
|
-
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88591
|
-
if (rf & 1) {
|
|
88592
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_3_Conditional_0_Template, 1, 5, "british-columbia-change-of-office-addresses-delta-form", 0)(1, BritishColumbiaComponent_Conditional_3_Conditional_1_Template, 1, 4, "british-columbia-change-of-office-addresses-preview-form", 1);
|
|
87493
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 4)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 5);
|
|
88593
87494
|
}
|
|
88594
87495
|
if (rf & 2) {
|
|
88595
87496
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
@@ -88610,17 +87511,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88610
87511
|
init_british_columbia_form_enums();
|
|
88611
87512
|
init_british_columbia_change_of_directors_form_helper();
|
|
88612
87513
|
init_british_columbia_formation_form_helper();
|
|
88613
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88614
87514
|
init_delta_state_service();
|
|
88615
87515
|
init_common_utils();
|
|
88616
87516
|
init_confirm_modal_component();
|
|
88617
|
-
init_terms_and_conditions_component();
|
|
88618
87517
|
init_change_of_directors_delta_form_component();
|
|
88619
87518
|
init_change_of_directors_preview_form_component();
|
|
88620
87519
|
init_british_columbia_incorporation_delta_form_component();
|
|
88621
87520
|
init_british_columbia_incorporation_preview_form_component();
|
|
88622
|
-
init_change_of_office_addresses_delta_form_component();
|
|
88623
|
-
init_change_of_office_addresses_preview_form_component();
|
|
88624
87521
|
init_core();
|
|
88625
87522
|
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
88626
87523
|
task = input();
|
|
@@ -88629,6 +87526,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88629
87526
|
isNote = input(false);
|
|
88630
87527
|
actionsDisabled = input(false);
|
|
88631
87528
|
errors = input([]);
|
|
87529
|
+
currentDataExtract = input();
|
|
88632
87530
|
close = output();
|
|
88633
87531
|
codValidate = output();
|
|
88634
87532
|
saveCodDeltaData = output();
|
|
@@ -88638,34 +87536,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88638
87536
|
saveFormationDeltaData = output();
|
|
88639
87537
|
nextStep = output();
|
|
88640
87538
|
prevStep = output();
|
|
88641
|
-
// Change of Office Addresses outputs
|
|
88642
|
-
coaValidate = output();
|
|
88643
|
-
saveCoaDeltaData = output();
|
|
88644
|
-
coaSubmit = output();
|
|
88645
87539
|
dialog = inject(MatDialog);
|
|
88646
87540
|
deltaState = inject(DeltaStateService);
|
|
88647
87541
|
translate = inject(TranslateService);
|
|
88648
87542
|
steps = Step;
|
|
88649
87543
|
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
88650
87544
|
isFormationTask = isFormationTask2;
|
|
88651
|
-
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
88652
87545
|
deltaForm = signal(new FormGroup({}));
|
|
88653
87546
|
previewForm = signal(new FormGroup({}));
|
|
88654
87547
|
constructor() {
|
|
88655
87548
|
effect(() => {
|
|
88656
87549
|
const task = this.task();
|
|
88657
87550
|
if (task && isChangeOfPrincipalsTask(task)) {
|
|
88658
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87551
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract())));
|
|
88659
87552
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
88660
87553
|
}
|
|
88661
87554
|
if (task && isFormationTask2(task)) {
|
|
88662
87555
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
88663
87556
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
88664
87557
|
}
|
|
88665
|
-
if (task && isChangeOfAddressTask(task)) {
|
|
88666
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88667
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88668
|
-
}
|
|
88669
87558
|
});
|
|
88670
87559
|
effect(() => {
|
|
88671
87560
|
const task = this.task();
|
|
@@ -88674,7 +87563,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88674
87563
|
return;
|
|
88675
87564
|
}
|
|
88676
87565
|
if (isChangeOfPrincipalsTask(task)) {
|
|
88677
|
-
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87566
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract()));
|
|
88678
87567
|
form.disable();
|
|
88679
87568
|
this.previewForm.set(form);
|
|
88680
87569
|
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
@@ -88689,64 +87578,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88689
87578
|
this.nextStep.emit();
|
|
88690
87579
|
}
|
|
88691
87580
|
}
|
|
88692
|
-
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88693
|
-
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88694
|
-
form.disable();
|
|
88695
|
-
this.previewForm.set(form);
|
|
88696
|
-
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
88697
|
-
this.nextStep.emit();
|
|
88698
|
-
}
|
|
88699
|
-
}
|
|
88700
87581
|
});
|
|
88701
87582
|
}
|
|
88702
|
-
onChangeOfOfficeAddressesValidate() {
|
|
88703
|
-
markFormGroupTouched(this.deltaForm());
|
|
88704
|
-
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88705
|
-
}
|
|
88706
|
-
onChangeOfOfficeAddressesSave() {
|
|
88707
|
-
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88708
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88709
|
-
this.saveCoaDeltaData.emit(delta);
|
|
88710
|
-
}
|
|
88711
|
-
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88712
|
-
onChangeOfOfficeAddressesFile() {
|
|
88713
|
-
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88714
|
-
}
|
|
88715
|
-
generateChangeOfOfficeAddressesDeltaData() {
|
|
88716
|
-
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88717
|
-
const formData = this.deltaForm().getRawValue();
|
|
88718
|
-
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88719
|
-
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88720
|
-
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88721
|
-
const toAddress = (src) => ({
|
|
88722
|
-
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88723
|
-
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88724
|
-
city: src?.[c.City] ?? null,
|
|
88725
|
-
postalCode: src?.[c.PostalCode] ?? null,
|
|
88726
|
-
province: src?.[c.Province] ?? null,
|
|
88727
|
-
country: src?.[c.Country] ?? null
|
|
88728
|
-
});
|
|
88729
|
-
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88730
|
-
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88731
|
-
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88732
|
-
return {
|
|
88733
|
-
referenceNumbers: {
|
|
88734
|
-
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88735
|
-
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88736
|
-
},
|
|
88737
|
-
registeredOffice: {
|
|
88738
|
-
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88739
|
-
deliverySameAsMailing: regDeliverySame,
|
|
88740
|
-
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88741
|
-
},
|
|
88742
|
-
recordsOffice: {
|
|
88743
|
-
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88744
|
-
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88745
|
-
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88746
|
-
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88747
|
-
}
|
|
88748
|
-
};
|
|
88749
|
-
}
|
|
88750
87583
|
onChangeOfDirectorsValidate() {
|
|
88751
87584
|
markFormGroupTouched(this.deltaForm());
|
|
88752
87585
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -88756,11 +87589,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88756
87589
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
88757
87590
|
this.saveCodDeltaData.emit(delta);
|
|
88758
87591
|
}
|
|
88759
|
-
onChangeOfDirectorsSubmit(
|
|
88760
|
-
this.codSubmit.emit(
|
|
88761
|
-
signatoryFirstName: termsAndConditions.firstName,
|
|
88762
|
-
signatoryLastName: termsAndConditions.lastName
|
|
88763
|
-
}));
|
|
87592
|
+
onChangeOfDirectorsSubmit() {
|
|
87593
|
+
this.codSubmit.emit();
|
|
88764
87594
|
}
|
|
88765
87595
|
onFormationValidate() {
|
|
88766
87596
|
markFormGroupTouched(this.deltaForm());
|
|
@@ -88781,6 +87611,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88781
87611
|
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
88782
87612
|
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
88783
87613
|
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87614
|
+
const directors = formData[BCChangeOfDirectorsFormGroups.Directors] ?? [];
|
|
88784
87615
|
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
88785
87616
|
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
88786
87617
|
return {
|
|
@@ -88796,10 +87627,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88796
87627
|
method: notification?.[c.NotificationMethod] ?? null,
|
|
88797
87628
|
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
88798
87629
|
},
|
|
88799
|
-
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87630
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null,
|
|
87631
|
+
directorChanges: {
|
|
87632
|
+
addIds: directors.filter((d) => d[c.AffiliationType] === "Add").map((d) => d[c.Id]).filter(Boolean),
|
|
87633
|
+
editIds: directors.filter((d) => d[c.AffiliationType] === "Update").map((d) => d[c.Id]).filter(Boolean),
|
|
87634
|
+
ceaseIds: directors.filter((d) => d[c.AffiliationType] === "Cease").map((d) => d[c.Id]).filter(Boolean)
|
|
87635
|
+
}
|
|
88800
87636
|
};
|
|
88801
87637
|
}
|
|
88802
|
-
generateFormationDeltaData(
|
|
87638
|
+
generateFormationDeltaData() {
|
|
88803
87639
|
const formData = this.deltaForm().getRawValue();
|
|
88804
87640
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
88805
87641
|
const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
|
|
@@ -88843,7 +87679,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88843
87679
|
}
|
|
88844
87680
|
onClose() {
|
|
88845
87681
|
const task = this.task();
|
|
88846
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) :
|
|
87682
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
88847
87683
|
if (!hasChanges) {
|
|
88848
87684
|
this.close.emit();
|
|
88849
87685
|
return;
|
|
@@ -88861,8 +87697,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88861
87697
|
if (val) {
|
|
88862
87698
|
if (task && isFormationTask2(task)) {
|
|
88863
87699
|
this.onFormationSave();
|
|
88864
|
-
} else if (task && isChangeOfAddressTask(task)) {
|
|
88865
|
-
this.onChangeOfOfficeAddressesSave();
|
|
88866
87700
|
} else {
|
|
88867
87701
|
this.onChangeOfDirectorsSave();
|
|
88868
87702
|
}
|
|
@@ -88873,28 +87707,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88873
87707
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
88874
87708
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
88875
87709
|
};
|
|
88876
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep"
|
|
87710
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
88877
87711
|
if (rf & 1) {
|
|
88878
87712
|
\u0275\u0275declareLet(0);
|
|
88879
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template,
|
|
87713
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
|
|
88880
87714
|
}
|
|
88881
87715
|
if (rf & 2) {
|
|
88882
|
-
const
|
|
88883
|
-
\u0275\u0275advance();
|
|
88884
|
-
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r10) ? 1 : -1);
|
|
87716
|
+
const taskData_r7 = \u0275\u0275storeLet(ctx.task());
|
|
88885
87717
|
\u0275\u0275advance();
|
|
88886
|
-
\u0275\u0275conditional(ctx.
|
|
87718
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r7) ? 1 : -1);
|
|
88887
87719
|
\u0275\u0275advance();
|
|
88888
|
-
\u0275\u0275conditional(ctx.
|
|
87720
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r7) ? 2 : -1);
|
|
88889
87721
|
}
|
|
88890
87722
|
}, dependencies: [
|
|
88891
87723
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88892
87724
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
88893
87725
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
88894
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88895
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
88896
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88897
|
-
TermsAndConditionsComponent
|
|
87726
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
88898
87727
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
88899
87728
|
};
|
|
88900
87729
|
(() => {
|
|
@@ -88904,15 +87733,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88904
87733
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88905
87734
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
88906
87735
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
88907
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88908
|
-
|
|
88909
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88910
|
-
TermsAndConditionsComponent
|
|
88911
|
-
], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="nextStep.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n [errors]="errors()"\r\n (prev)="prevStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onChangeOfDirectorsSubmit($event)"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isChangeOfOfficeAddressesTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-office-addresses-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfOfficeAddressesValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfOfficeAddressesSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-office-addresses-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfOfficeAddressesFile()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
87736
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
87737
|
+
], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
88912
87738
|
}], () => [], null);
|
|
88913
87739
|
})();
|
|
88914
87740
|
(() => {
|
|
88915
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
87741
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 62 });
|
|
88916
87742
|
})();
|
|
88917
87743
|
}
|
|
88918
87744
|
});
|
|
@@ -90283,7 +89109,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90283
89109
|
const isNumberedCompany = ext._numbered_company;
|
|
90284
89110
|
const config2 = {};
|
|
90285
89111
|
const corporateName = delta?.corporateName;
|
|
90286
|
-
const directors = (task.entity.affiliations ?? [])
|
|
89112
|
+
const directors = getIndividualDirectors(task.entity.affiliations ?? []);
|
|
90287
89113
|
if (directors.length) {
|
|
90288
89114
|
const deltaDirectorsMap = delta?.directors;
|
|
90289
89115
|
const directorGroups = directors.map((director) => {
|
|
@@ -90864,7 +89690,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90864
89690
|
}
|
|
90865
89691
|
});
|
|
90866
89692
|
effect(() => {
|
|
90867
|
-
const directors = (this.task()?.entity.affiliations ?? [])
|
|
89693
|
+
const directors = getIndividualDirectors(this.task()?.entity.affiliations ?? []);
|
|
90868
89694
|
const directorOptions = directors.map((director) => ({ label: getPersonName(director.participant), value: director.participant._id }));
|
|
90869
89695
|
this.federalFormationFormInviteDirectorsToBeManagersControl = generateFederalFormationFormInviteDirectorsToBeManagersControl(directorOptions);
|
|
90870
89696
|
});
|
|
@@ -91039,11 +89865,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
91039
89865
|
exclusionReason.updateValueAndValidity({ emitEvent: false });
|
|
91040
89866
|
}
|
|
91041
89867
|
getSelectableIndividualsWithSignificantControl(affiliations) {
|
|
91042
|
-
|
|
91043
|
-
if (significantControlAffiliations.length) {
|
|
91044
|
-
return significantControlAffiliations;
|
|
91045
|
-
}
|
|
91046
|
-
return affiliations.filter((a) => isPrincipalAffiliation2(a) && a._participant.participant_type === "person" && !["Contact", "Agent", "Responsible"].includes(a.role?.role_name ?? ""));
|
|
89868
|
+
return getIndividualWithSignificantControl(affiliations);
|
|
91047
89869
|
}
|
|
91048
89870
|
getFormArray(key) {
|
|
91049
89871
|
return this.form().get(key);
|
|
@@ -91392,7 +90214,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
91392
90214
|
}], () => [], null);
|
|
91393
90215
|
})();
|
|
91394
90216
|
(() => {
|
|
91395
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber:
|
|
90217
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 76 });
|
|
91396
90218
|
})();
|
|
91397
90219
|
}
|
|
91398
90220
|
});
|
|
@@ -93385,7 +92207,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93385
92207
|
searchOrFilingType,
|
|
93386
92208
|
serviceOrderId,
|
|
93387
92209
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
93388
|
-
provider:
|
|
92210
|
+
provider: getFilingProvider(signature.task),
|
|
93389
92211
|
draftPdf: payload.ReceiptPdf,
|
|
93390
92212
|
documentName: "Incorporation Receipt",
|
|
93391
92213
|
documentType: "pdf"
|
|
@@ -93936,7 +92758,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93936
92758
|
const mailingAddressUid = deltaData.registeredOfficeAddress?.mailingAddressForCorrespondenceUid;
|
|
93937
92759
|
const mailingAddress = useDifferentMailingAddress ? task.entity.addresses.find((address) => address.uid === mailingAddressUid) : void 0;
|
|
93938
92760
|
const registeredOfficeAddress = findRegisteredOfficeAddress(task);
|
|
93939
|
-
const directors = task.entity.affiliations
|
|
92761
|
+
const directors = getIndividualDirectors(task.entity.affiliations);
|
|
93940
92762
|
const incorporators = task._ext._incorporators ?? [];
|
|
93941
92763
|
const requestedDate = task._ext._future_filing_date ? new Date(task._ext._future_filing_date).toISOString().split("T")[0] : (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
93942
92764
|
const officialBusinessEmail = registeredOfficeAddress?.communications?.find((c) => c.type === "Business Email")?.value;
|
|
@@ -94248,7 +93070,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94248
93070
|
}
|
|
94249
93071
|
var init_federal_formation_mapper = __esm({
|
|
94250
93072
|
"src/app/helpers/mappers/federal-formation.mapper.ts"() {
|
|
94251
|
-
init_ECoreInterfaces();
|
|
94252
93073
|
init_transform_utils();
|
|
94253
93074
|
init_address_utils();
|
|
94254
93075
|
init_common_utils();
|
|
@@ -95133,9 +93954,55 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95133
93954
|
init_core();
|
|
95134
93955
|
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
95135
93956
|
config;
|
|
93957
|
+
currentDataExtract;
|
|
95136
93958
|
setConfig(config2) {
|
|
95137
93959
|
this.config = config2;
|
|
95138
93960
|
}
|
|
93961
|
+
/**
|
|
93962
|
+
* Orders the corporation's current data extract and waits until it is ready, returning the
|
|
93963
|
+
* `currentDataServiceOrderId` that Validate Filing needs. The registry bot can take a while,
|
|
93964
|
+
* so the extract is polled every `intervalMs` for up to `maxAttempts` times.
|
|
93965
|
+
*/
|
|
93966
|
+
ensureCurrentDataExtract(_0, _1) {
|
|
93967
|
+
return __async(this, arguments, function* (signature, order, opts = {}, { intervalMs = 3e3, maxAttempts = 40 } = {}) {
|
|
93968
|
+
ensureAuthInputs(signature);
|
|
93969
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93970
|
+
const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
|
|
93971
|
+
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
|
|
93972
|
+
"x-target-url": `${dataExtractUrl}/order`
|
|
93973
|
+
}, opts.headers ?? {})));
|
|
93974
|
+
const ordered = yield this.readJson(orderResp, "BC current data extract order");
|
|
93975
|
+
const orderId = ordered.currentDataServiceOrderId;
|
|
93976
|
+
if (!orderResp.ok || !orderId || ordered.status === "failed") {
|
|
93977
|
+
throw buildGenericError(orderResp.status, "BC current data extract order failed", __spreadProps(__spreadValues({}, ordered), {
|
|
93978
|
+
errors: ordered.errors?.length ? ordered.errors : (ordered.additionalInformation ?? []).map((message) => ({ message }))
|
|
93979
|
+
}));
|
|
93980
|
+
}
|
|
93981
|
+
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
93982
|
+
const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
93983
|
+
method: "GET",
|
|
93984
|
+
headers: __spreadValues({
|
|
93985
|
+
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93986
|
+
"x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
|
|
93987
|
+
}, opts.headers ?? {})
|
|
93988
|
+
}));
|
|
93989
|
+
const extract = yield this.readJson(extractResp, "BC current data extract");
|
|
93990
|
+
if (extractResp.ok && extract.status === "success") {
|
|
93991
|
+
this.currentDataExtract = extract;
|
|
93992
|
+
return orderId;
|
|
93993
|
+
}
|
|
93994
|
+
if (!extractResp.ok || extract.status === "failed" || extract.status === "sourceUnavailable") {
|
|
93995
|
+
const reasons = extract.additionalInformation ?? [];
|
|
93996
|
+
throw new Error(`BC current data extract ${extract.status ?? "failed"} (HTTP ${extractResp.status})${reasons.length ? `: ${reasons.join(" | ")}` : "."}`);
|
|
93997
|
+
}
|
|
93998
|
+
yield new Promise((resolve) => setTimeout(resolve, intervalMs));
|
|
93999
|
+
}
|
|
94000
|
+
throw new Error("BC current data extract is still processing. Please try again in a moment.");
|
|
94001
|
+
});
|
|
94002
|
+
}
|
|
94003
|
+
getCurrentDataExtract() {
|
|
94004
|
+
return this.currentDataExtract;
|
|
94005
|
+
}
|
|
95139
94006
|
validate(_0, _1) {
|
|
95140
94007
|
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
95141
94008
|
ensureAuthInputs(signature);
|
|
@@ -95153,8 +94020,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95153
94020
|
throw err2;
|
|
95154
94021
|
}
|
|
95155
94022
|
const payload = unwrapRequestResults(parsed.value);
|
|
95156
|
-
if (resp.ok && !payload.Errors?.length) {
|
|
95157
|
-
return payload
|
|
94023
|
+
if (resp.ok && !payload.Errors?.length && !payload["errors"]?.length) {
|
|
94024
|
+
return __spreadProps(__spreadValues({}, payload), {
|
|
94025
|
+
Status: payload.Status ?? payload["status"],
|
|
94026
|
+
ServiceOrderId: payload.ServiceOrderId ?? payload["serviceOrderId"],
|
|
94027
|
+
Draft: payload.Draft ?? payload["draft"]
|
|
94028
|
+
});
|
|
95158
94029
|
}
|
|
95159
94030
|
const err = buildValidationError(resp.status, payload);
|
|
95160
94031
|
err.validateResult = payload;
|
|
@@ -95214,6 +94085,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95214
94085
|
throw err;
|
|
95215
94086
|
});
|
|
95216
94087
|
}
|
|
94088
|
+
readJson(resp, what) {
|
|
94089
|
+
return __async(this, null, function* () {
|
|
94090
|
+
const raw = yield resp.text();
|
|
94091
|
+
const parsed = tryParseJson(raw);
|
|
94092
|
+
if (!parsed.ok) {
|
|
94093
|
+
throw new Error(`${what} returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
94094
|
+
}
|
|
94095
|
+
return unwrapRequestResults(parsed.value);
|
|
94096
|
+
});
|
|
94097
|
+
}
|
|
95217
94098
|
getOnbisOrigin() {
|
|
95218
94099
|
const filingUrl = this.config?.BCFiling;
|
|
95219
94100
|
if (!filingUrl) {
|
|
@@ -95238,7 +94119,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95238
94119
|
});
|
|
95239
94120
|
|
|
95240
94121
|
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
95241
|
-
function
|
|
94122
|
+
function getBritishColumbiaAccessCode(task, password) {
|
|
94123
|
+
return password?.trim() || task.entity._profile.registry_id?.trim() || "";
|
|
94124
|
+
}
|
|
94125
|
+
function buildBritishColumbiaDataExtractOrder(task, password) {
|
|
94126
|
+
const incorporationDate = toYyyyMmDd(task.entity._compliance.incorporation_date) ?? "";
|
|
94127
|
+
const request = {
|
|
94128
|
+
corporationNumber: task.entity._profile.corp_number?.trim() ?? "",
|
|
94129
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode(task, password),
|
|
94130
|
+
incorporationDate: /^\d{4}-\d{2}-\d{2}$/.test(incorporationDate) ? incorporationDate : "",
|
|
94131
|
+
filingType: "changeOfDirectorsFiling"
|
|
94132
|
+
};
|
|
94133
|
+
const issues = [];
|
|
94134
|
+
if (!request.corporationNumber) {
|
|
94135
|
+
issues.push("The corporation number is missing on the entity.");
|
|
94136
|
+
}
|
|
94137
|
+
if (!/^[A-Za-z0-9]+$/.test(request.accessCodeOrPassword)) {
|
|
94138
|
+
issues.push("The company's BC Online access code or password is missing or contains characters other than letters and numbers.");
|
|
94139
|
+
}
|
|
94140
|
+
if (!request.incorporationDate) {
|
|
94141
|
+
issues.push("The incorporation date is missing on the entity.");
|
|
94142
|
+
}
|
|
94143
|
+
return { request, issues };
|
|
94144
|
+
}
|
|
94145
|
+
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId, currentDataExtract) {
|
|
95242
94146
|
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
95243
94147
|
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
95244
94148
|
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
@@ -95246,73 +94150,107 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95246
94150
|
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
95247
94151
|
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
95248
94152
|
const companyEmail = findCompanyEmail(task);
|
|
95249
|
-
const
|
|
95250
|
-
|
|
94153
|
+
const byId = new Map([
|
|
94154
|
+
...incomingDirectors,
|
|
94155
|
+
...outgoingDirectors
|
|
94156
|
+
].map((affiliation) => [String(affiliation._id), affiliation]));
|
|
94157
|
+
const selected = deltaData.directorChanges;
|
|
94158
|
+
const addSource = selected ? selected.addIds.map((id) => byId.get(String(id))).filter(Boolean) : incomingDirectors.length ? incomingDirectors : addedDirectors;
|
|
94159
|
+
const editSource = selected ? selected.editIds.map((id) => byId.get(String(id))).filter(Boolean) : editedDirectors;
|
|
94160
|
+
const ceaseSource = selected ? selected.ceaseIds.map((id) => byId.get(String(id))).filter(Boolean) : outgoingDirectors.length ? outgoingDirectors : ceasedDirectors;
|
|
94161
|
+
const addDirectors = addSource.map((affiliation) => buildDirector(affiliation));
|
|
94162
|
+
const ceaseDirectors = ceaseSource.map((affiliation) => buildCeasedDirector(affiliation));
|
|
94163
|
+
const editDirectors = editSource.map((director) => {
|
|
94164
|
+
const directorNumber = findDirectorNumber(director, currentDataExtract);
|
|
94165
|
+
return directorNumber === void 0 ? null : buildDirector(director, directorNumber);
|
|
94166
|
+
}).filter((director) => director !== null);
|
|
94167
|
+
const effectiveDate = toYyyyMmDd(deltaData.filingDetails.changeDate);
|
|
94168
|
+
return {
|
|
95251
94169
|
filingType: "changeOfDirectorsFiling",
|
|
95252
|
-
|
|
94170
|
+
currentDataServiceOrderId,
|
|
94171
|
+
filing: __spreadProps(__spreadValues({
|
|
94172
|
+
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
94173
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode(task),
|
|
95253
94174
|
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
95254
|
-
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
95255
|
-
|
|
95256
|
-
|
|
95257
|
-
|
|
95258
|
-
|
|
95259
|
-
editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
|
|
94175
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
94176
|
+
}, (addDirectors.length || ceaseDirectors.length) && effectiveDate ? { effectiveDate } : {}), {
|
|
94177
|
+
addDirectors,
|
|
94178
|
+
ceaseDirectors,
|
|
94179
|
+
editDirectors,
|
|
95260
94180
|
companyEmail,
|
|
95261
94181
|
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
95262
|
-
}
|
|
95263
|
-
}
|
|
94182
|
+
})
|
|
94183
|
+
};
|
|
95264
94184
|
}
|
|
95265
94185
|
function isDirectorAffiliation(affiliation) {
|
|
95266
94186
|
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
95267
94187
|
}
|
|
95268
|
-
function
|
|
94188
|
+
function buildCeasedDirector(affiliation) {
|
|
94189
|
+
const _a = buildDirector(affiliation), { isDeliveryAddressSameAsMailing: _omitted } = _a, director = __objRest(_a, ["isDeliveryAddressSameAsMailing"]);
|
|
94190
|
+
return __spreadProps(__spreadValues({}, director), { deliveryAddress: director.deliveryAddress ?? director.mailingAddress });
|
|
94191
|
+
}
|
|
94192
|
+
function buildDirector(affiliation, directorNumber) {
|
|
95269
94193
|
if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
|
|
95270
94194
|
const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
|
|
95271
|
-
return {
|
|
94195
|
+
return __spreadProps(__spreadValues({}, directorNumber === void 0 ? {} : { directorNumber }), {
|
|
95272
94196
|
firstName: name.FirstName ?? name.firstName ?? "",
|
|
95273
94197
|
middleName: name.MiddleName ?? name.middleName ?? "",
|
|
95274
94198
|
lastName: name.LastName ?? name.lastName ?? "",
|
|
95275
94199
|
mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
|
|
95276
|
-
deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
94200
|
+
deliveryAddress: affiliation.isDeliveryAddressSameAsMailing ? void 0 : affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
95277
94201
|
isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
|
|
95278
|
-
};
|
|
94202
|
+
});
|
|
95279
94203
|
}
|
|
95280
94204
|
const profile = affiliation.participant?._profile ?? {};
|
|
95281
94205
|
const addresses = getAffiliationAddresses(affiliation);
|
|
95282
94206
|
const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
|
|
95283
94207
|
const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
|
|
95284
|
-
|
|
94208
|
+
const isSameAsMailing = isDeliveryAddressSameAsMailing(addresses);
|
|
94209
|
+
return __spreadProps(__spreadValues({}, directorNumber === void 0 ? {} : { directorNumber }), {
|
|
95285
94210
|
firstName: profile.firstName ?? "",
|
|
95286
94211
|
middleName: profile.middleName ?? "",
|
|
95287
94212
|
lastName: profile.lastName ?? "",
|
|
95288
94213
|
mailingAddress,
|
|
95289
|
-
|
|
95290
|
-
|
|
95291
|
-
|
|
94214
|
+
// The API rejects a delivery address when it is the same as the mailing address.
|
|
94215
|
+
deliveryAddress: isSameAsMailing ? void 0 : deliveryAddress,
|
|
94216
|
+
isDeliveryAddressSameAsMailing: isSameAsMailing
|
|
94217
|
+
});
|
|
95292
94218
|
}
|
|
95293
|
-
function
|
|
95294
|
-
|
|
95295
|
-
|
|
95296
|
-
const
|
|
95297
|
-
|
|
95298
|
-
|
|
95299
|
-
|
|
95300
|
-
|
|
95301
|
-
|
|
95302
|
-
|
|
95303
|
-
|
|
95304
|
-
|
|
95305
|
-
|
|
95306
|
-
|
|
95307
|
-
|
|
95308
|
-
|
|
95309
|
-
|
|
95310
|
-
|
|
94219
|
+
function findDirectorNumber(affiliation, extract) {
|
|
94220
|
+
const target = normaliseDirectorName(affiliation);
|
|
94221
|
+
let result;
|
|
94222
|
+
const visit = (value) => {
|
|
94223
|
+
if (result !== void 0 || value === null || value === void 0)
|
|
94224
|
+
return;
|
|
94225
|
+
if (Array.isArray(value)) {
|
|
94226
|
+
value.forEach(visit);
|
|
94227
|
+
return;
|
|
94228
|
+
}
|
|
94229
|
+
if (typeof value !== "object")
|
|
94230
|
+
return;
|
|
94231
|
+
const record = value;
|
|
94232
|
+
const number = record["directorNumber"] ?? record["DirectorNumber"];
|
|
94233
|
+
if (number !== void 0 && normaliseDirectorName(record) === target) {
|
|
94234
|
+
const parsed = Number(number);
|
|
94235
|
+
if (Number.isFinite(parsed))
|
|
94236
|
+
result = parsed;
|
|
94237
|
+
return;
|
|
94238
|
+
}
|
|
94239
|
+
Object.values(record).forEach(visit);
|
|
95311
94240
|
};
|
|
94241
|
+
visit(extract);
|
|
94242
|
+
return result;
|
|
95312
94243
|
}
|
|
95313
|
-
function
|
|
95314
|
-
const
|
|
95315
|
-
return
|
|
94244
|
+
function normaliseDirectorName(value) {
|
|
94245
|
+
const name = value?.PersonName ?? value?.personName ?? value;
|
|
94246
|
+
return [
|
|
94247
|
+
name?.FirstName ?? name?.firstName,
|
|
94248
|
+
name?.MiddleName ?? name?.middleName,
|
|
94249
|
+
name?.LastName ?? name?.lastName
|
|
94250
|
+
].filter(Boolean).join(" ").trim().toLowerCase();
|
|
94251
|
+
}
|
|
94252
|
+
function mapAddress4(address) {
|
|
94253
|
+
return address ? mapAddress(address) : void 0;
|
|
95316
94254
|
}
|
|
95317
94255
|
function findCompanyEmail(task) {
|
|
95318
94256
|
const affiliations = task.entity.affiliations ?? [];
|
|
@@ -95331,288 +94269,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95331
94269
|
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
95332
94270
|
init_BritishColumbiaConstants();
|
|
95333
94271
|
init_common_models();
|
|
94272
|
+
init_british_columbia_formation_mapper();
|
|
95334
94273
|
init_british_columbia_formation_form_helper();
|
|
95335
94274
|
init_common_utils();
|
|
95336
94275
|
}
|
|
95337
94276
|
});
|
|
95338
94277
|
|
|
95339
|
-
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95340
|
-
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95341
|
-
var init_british_columbia_maintenance_service = __esm({
|
|
95342
|
-
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95343
|
-
init_core();
|
|
95344
|
-
init_common_utils();
|
|
95345
|
-
init_core();
|
|
95346
|
-
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95347
|
-
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95348
|
-
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95349
|
-
DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95350
|
-
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95351
|
-
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95352
|
-
config;
|
|
95353
|
-
setConfig(config2) {
|
|
95354
|
-
this.config = config2;
|
|
95355
|
-
}
|
|
95356
|
-
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95357
|
-
orderCurrentDataExtract(_0, _1) {
|
|
95358
|
-
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95359
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95360
|
-
corporationNumber: context2.corporationNumber,
|
|
95361
|
-
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95362
|
-
incorporationDate: context2.incorporationDate,
|
|
95363
|
-
filingType: "changeOfAddressFiling"
|
|
95364
|
-
}, opts);
|
|
95365
|
-
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95366
|
-
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95367
|
-
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95368
|
-
}
|
|
95369
|
-
return String(id);
|
|
95370
|
-
});
|
|
95371
|
-
}
|
|
95372
|
-
/** Polls the extract until the registry has it ready (`success`). */
|
|
95373
|
-
waitForCurrentDataExtract(_0, _1) {
|
|
95374
|
-
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95375
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95376
|
-
const deadline = Date.now() + timeoutMs;
|
|
95377
|
-
for (; ; ) {
|
|
95378
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95379
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95380
|
-
if (ok && state2 === "success") {
|
|
95381
|
-
return;
|
|
95382
|
-
}
|
|
95383
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95384
|
-
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95385
|
-
}
|
|
95386
|
-
if (Date.now() >= deadline) {
|
|
95387
|
-
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
95388
|
-
}
|
|
95389
|
-
yield this.sleep(intervalMs);
|
|
95390
|
-
}
|
|
95391
|
-
});
|
|
95392
|
-
}
|
|
95393
|
-
/**
|
|
95394
|
-
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95395
|
-
* corporation number and password; they are added here so they never become part of the
|
|
95396
|
-
* saved request used to detect Entity changes.
|
|
95397
|
-
*/
|
|
95398
|
-
validate(_0, _1, _2, _3) {
|
|
95399
|
-
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95400
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95401
|
-
currentDataServiceOrderId: extractId,
|
|
95402
|
-
filingType: requestBody.filingType,
|
|
95403
|
-
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95404
|
-
corporationNumber: context2.corporationNumber,
|
|
95405
|
-
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95406
|
-
})
|
|
95407
|
-
}, opts);
|
|
95408
|
-
if (body === null) {
|
|
95409
|
-
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95410
|
-
}
|
|
95411
|
-
const result = this.normalize(unwrapRequestResults(body));
|
|
95412
|
-
if (ok && !this.hasFailed(result)) {
|
|
95413
|
-
return result;
|
|
95414
|
-
}
|
|
95415
|
-
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95416
|
-
err.validateResult = result;
|
|
95417
|
-
err.httpStatus = status;
|
|
95418
|
-
throw err;
|
|
95419
|
-
});
|
|
95420
|
-
}
|
|
95421
|
-
/**
|
|
95422
|
-
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95423
|
-
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95424
|
-
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95425
|
-
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95426
|
-
*/
|
|
95427
|
-
submitAndWait(_0, _1) {
|
|
95428
|
-
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95429
|
-
if (!serviceOrderId) {
|
|
95430
|
-
throw new Error("Missing serviceOrderId.");
|
|
95431
|
-
}
|
|
95432
|
-
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95433
|
-
if (!submitted.ok || this.normalize(submitted.body).Status === "Failure") {
|
|
95434
|
-
const result = this.normalize(submitted.body);
|
|
95435
|
-
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", result));
|
|
95436
|
-
err.submitResult = result;
|
|
95437
|
-
err.httpStatus = submitted.status;
|
|
95438
|
-
throw err;
|
|
95439
|
-
}
|
|
95440
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95441
|
-
const deadline = Date.now() + timeoutMs;
|
|
95442
|
-
let processing = true;
|
|
95443
|
-
let files;
|
|
95444
|
-
while (processing) {
|
|
95445
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95446
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95447
|
-
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95448
|
-
files = body?.files;
|
|
95449
|
-
processing = false;
|
|
95450
|
-
break;
|
|
95451
|
-
}
|
|
95452
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95453
|
-
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95454
|
-
}
|
|
95455
|
-
if (Date.now() >= deadline) {
|
|
95456
|
-
break;
|
|
95457
|
-
}
|
|
95458
|
-
yield this.sleep(intervalMs);
|
|
95459
|
-
}
|
|
95460
|
-
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95461
|
-
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95462
|
-
});
|
|
95463
|
-
}
|
|
95464
|
-
getBaseUrl(env) {
|
|
95465
|
-
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95466
|
-
if (!baseUrl) {
|
|
95467
|
-
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95468
|
-
}
|
|
95469
|
-
return baseUrl;
|
|
95470
|
-
}
|
|
95471
|
-
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95472
|
-
send(signature, method, path, payload, opts) {
|
|
95473
|
-
return __async(this, null, function* () {
|
|
95474
|
-
ensureAuthInputs(signature);
|
|
95475
|
-
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95476
|
-
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95477
|
-
const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
|
|
95478
|
-
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95479
|
-
method,
|
|
95480
|
-
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95481
|
-
}));
|
|
95482
|
-
const raw = yield resp.text();
|
|
95483
|
-
const parsed = tryParseJson(raw);
|
|
95484
|
-
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95485
|
-
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95486
|
-
});
|
|
95487
|
-
}
|
|
95488
|
-
failure(status, prefix, body, raw) {
|
|
95489
|
-
const result = body ? this.normalize(body) : void 0;
|
|
95490
|
-
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95491
|
-
const err = new Error(message);
|
|
95492
|
-
err.httpStatus = status;
|
|
95493
|
-
return err;
|
|
95494
|
-
}
|
|
95495
|
-
sleep(ms) {
|
|
95496
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95497
|
-
}
|
|
95498
|
-
/**
|
|
95499
|
-
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95500
|
-
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95501
|
-
* `errors`, `additionalInformation` is used as the error messages.
|
|
95502
|
-
*/
|
|
95503
|
-
normalize(body) {
|
|
95504
|
-
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95505
|
-
const errors = rawErrors.map((e) => ({
|
|
95506
|
-
Code: e?.code ?? e?.Code,
|
|
95507
|
-
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95508
|
-
}));
|
|
95509
|
-
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95510
|
-
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95511
|
-
if (!succeeded && !errors.length) {
|
|
95512
|
-
const additional = body?.additionalInformation ?? [];
|
|
95513
|
-
errors.push(...additional.map((Message) => ({ Message })));
|
|
95514
|
-
}
|
|
95515
|
-
return {
|
|
95516
|
-
Status: succeeded ? "Success" : "Failure",
|
|
95517
|
-
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95518
|
-
Draft: body?.draft ?? body?.Draft,
|
|
95519
|
-
Errors: errors
|
|
95520
|
-
};
|
|
95521
|
-
}
|
|
95522
|
-
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95523
|
-
hasFailed(result) {
|
|
95524
|
-
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95525
|
-
}
|
|
95526
|
-
describeFailure(httpStatus, prefix, result) {
|
|
95527
|
-
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95528
|
-
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95529
|
-
}
|
|
95530
|
-
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95531
|
-
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95532
|
-
};
|
|
95533
|
-
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95534
|
-
};
|
|
95535
|
-
(() => {
|
|
95536
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95537
|
-
type: Injectable,
|
|
95538
|
-
args: [{
|
|
95539
|
-
providedIn: "root"
|
|
95540
|
-
}]
|
|
95541
|
-
}], null, null);
|
|
95542
|
-
})();
|
|
95543
|
-
}
|
|
95544
|
-
});
|
|
95545
|
-
|
|
95546
|
-
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95547
|
-
function formatPostalCode(value) {
|
|
95548
|
-
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95549
|
-
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95550
|
-
}
|
|
95551
|
-
function toEcoreAddress(address) {
|
|
95552
|
-
const line2 = clean(address?.addressLine2);
|
|
95553
|
-
return __spreadProps(__spreadValues({
|
|
95554
|
-
streetAddress: clean(address?.addressLine1)
|
|
95555
|
-
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95556
|
-
city: clean(address?.city),
|
|
95557
|
-
provinceOrState: BC_PROVINCE_CODE,
|
|
95558
|
-
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95559
|
-
country: CANADA_COUNTRY_CODE
|
|
95560
|
-
});
|
|
95561
|
-
}
|
|
95562
|
-
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95563
|
-
const registered = deltaData.registeredOffice;
|
|
95564
|
-
const records = deltaData.recordsOffice;
|
|
95565
|
-
const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
|
|
95566
|
-
const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
|
|
95567
|
-
const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
|
|
95568
|
-
const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
|
|
95569
|
-
const filing = {
|
|
95570
|
-
registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
|
|
95571
|
-
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95572
|
-
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95573
|
-
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95574
|
-
// The entity's company email, shown read-only in Corporation Details.
|
|
95575
|
-
companyEmail: BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95576
|
-
// Not captured on this form; the reminder preference is not changed by an address filing.
|
|
95577
|
-
isAnnualReportReminderRequired: false
|
|
95578
|
-
};
|
|
95579
|
-
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95580
|
-
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95581
|
-
if (reference) {
|
|
95582
|
-
filing.reference = reference;
|
|
95583
|
-
}
|
|
95584
|
-
if (docket) {
|
|
95585
|
-
filing.docket = docket;
|
|
95586
|
-
}
|
|
95587
|
-
if (!registeredDeliverySame) {
|
|
95588
|
-
filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
|
|
95589
|
-
}
|
|
95590
|
-
if (!recordsSameAsRegistered) {
|
|
95591
|
-
filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
|
|
95592
|
-
}
|
|
95593
|
-
if (!recordsDeliverySame) {
|
|
95594
|
-
filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
|
|
95595
|
-
}
|
|
95596
|
-
return { filingType: "changeOfAddressFiling", filing };
|
|
95597
|
-
}
|
|
95598
|
-
function getBritishColumbiaAccessCode(task, env) {
|
|
95599
|
-
const registryId = task.entity._profile.registry_id?.trim() ?? "";
|
|
95600
|
-
if (registryId) {
|
|
95601
|
-
return registryId;
|
|
95602
|
-
}
|
|
95603
|
-
return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
|
|
95604
|
-
}
|
|
95605
|
-
var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95606
|
-
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95607
|
-
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95608
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95609
|
-
TEMP_UAT_TEST_ACCESS_CODE = "12345678";
|
|
95610
|
-
BC_PROVINCE_CODE = "BC";
|
|
95611
|
-
CANADA_COUNTRY_CODE = "CA";
|
|
95612
|
-
clean = (value) => (value ?? "").trim();
|
|
95613
|
-
}
|
|
95614
|
-
});
|
|
95615
|
-
|
|
95616
94278
|
// src/app/components/filing/filing.component.ts
|
|
95617
94279
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
95618
94280
|
if (rf & 1) {
|
|
@@ -95712,18 +94374,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95712
94374
|
\u0275\u0275restoreView(_r6);
|
|
95713
94375
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95714
94376
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
95715
|
-
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
95716
|
-
\u0275\u0275restoreView(_r6);
|
|
95717
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95718
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
95719
|
-
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
95720
|
-
\u0275\u0275restoreView(_r6);
|
|
95721
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95722
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
95723
|
-
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
95724
|
-
\u0275\u0275restoreView(_r6);
|
|
95725
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95726
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
95727
94377
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
95728
94378
|
\u0275\u0275restoreView(_r6);
|
|
95729
94379
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -95742,7 +94392,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95742
94392
|
if (rf & 2) {
|
|
95743
94393
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95744
94394
|
const currentTask_r5 = \u0275\u0275readContextLet(9);
|
|
95745
|
-
\u0275\u0275property("task", currentTask_r5)("currentUser", ctx_r2.currentUser())("activeStep", ctx_r2.activeStep())("isNote", ctx_r2.dataWasChanged())("actionsDisabled", ctx_r2.isLoading())("errors", ctx_r2.errors());
|
|
94395
|
+
\u0275\u0275property("task", currentTask_r5)("currentUser", ctx_r2.currentUser())("activeStep", ctx_r2.activeStep())("isNote", ctx_r2.dataWasChanged())("actionsDisabled", ctx_r2.isLoading())("errors", ctx_r2.errors())("currentDataExtract", ctx_r2.currentDataExtract());
|
|
95746
94396
|
}
|
|
95747
94397
|
}
|
|
95748
94398
|
function FilingComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
|
|
@@ -95792,7 +94442,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95792
94442
|
}
|
|
95793
94443
|
function FilingComponent_Conditional_10_Template(rf, ctx) {
|
|
95794
94444
|
if (rf & 1) {
|
|
95795
|
-
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1,
|
|
94445
|
+
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1, 7, "british-columbia", 9)(2, FilingComponent_Conditional_10_Conditional_2_Template, 1, 5, "federal", 10);
|
|
95796
94446
|
}
|
|
95797
94447
|
if (rf & 2) {
|
|
95798
94448
|
const ctx_r2 = \u0275\u0275nextContext();
|
|
@@ -95839,8 +94489,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95839
94489
|
init_delta_state_service();
|
|
95840
94490
|
init_british_columbia_change_of_directors_service();
|
|
95841
94491
|
init_british_columbia_change_of_directors_mapper();
|
|
95842
|
-
init_british_columbia_maintenance_service();
|
|
95843
|
-
init_british_columbia_change_of_office_addresses_mapper();
|
|
95844
94492
|
init_core();
|
|
95845
94493
|
init_button();
|
|
95846
94494
|
FilingComponent = class _FilingComponent {
|
|
@@ -95897,7 +94545,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95897
94545
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
95898
94546
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
95899
94547
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
95900
|
-
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
95901
94548
|
translate = inject(TranslateService);
|
|
95902
94549
|
isEditButton = computed(() => {
|
|
95903
94550
|
const task = this.task();
|
|
@@ -95913,6 +94560,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95913
94560
|
});
|
|
95914
94561
|
dataWasChanged = signal(false);
|
|
95915
94562
|
serviceOrderId = "";
|
|
94563
|
+
bcCurrentDataServiceOrderId = "";
|
|
94564
|
+
currentDataExtract = signal(void 0);
|
|
94565
|
+
bcDataExtractTaskId = "";
|
|
95916
94566
|
activeStep = signal(Step.Validate);
|
|
95917
94567
|
isLoading = signal(false);
|
|
95918
94568
|
validationConfig = signal(null);
|
|
@@ -95939,9 +94589,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95939
94589
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
95940
94590
|
return "File British Columbia Notice of Change of Directors";
|
|
95941
94591
|
}
|
|
95942
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
95943
|
-
return "File British Columbia Change of Office Addresses";
|
|
95944
|
-
}
|
|
95945
94592
|
return "";
|
|
95946
94593
|
});
|
|
95947
94594
|
constructor() {
|
|
@@ -95954,7 +94601,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95954
94601
|
this.bcFormationService.setConfig(config2);
|
|
95955
94602
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
95956
94603
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
95957
|
-
this.bcMaintenanceService.setConfig(config2);
|
|
95958
94604
|
}
|
|
95959
94605
|
});
|
|
95960
94606
|
addStylesVariables();
|
|
@@ -95980,6 +94626,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95980
94626
|
this.serviceOrderId = serviceOrderId;
|
|
95981
94627
|
}
|
|
95982
94628
|
}
|
|
94629
|
+
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
|
|
94630
|
+
const signature = this._signature();
|
|
94631
|
+
if (!signature)
|
|
94632
|
+
return;
|
|
94633
|
+
this.bcDataExtractTaskId = task._id;
|
|
94634
|
+
const { request, issues } = buildBritishColumbiaDataExtractOrder(task, deltaData?.companyPassword);
|
|
94635
|
+
if (issues.length) {
|
|
94636
|
+
this.errors.set(issues);
|
|
94637
|
+
return;
|
|
94638
|
+
}
|
|
94639
|
+
this.isLoading.set(true);
|
|
94640
|
+
try {
|
|
94641
|
+
this.bcCurrentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
|
|
94642
|
+
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
94643
|
+
} catch (error) {
|
|
94644
|
+
this.handleCatchError(error);
|
|
94645
|
+
} finally {
|
|
94646
|
+
this.isLoading.set(false);
|
|
94647
|
+
}
|
|
94648
|
+
}
|
|
95983
94649
|
}));
|
|
95984
94650
|
}
|
|
95985
94651
|
getCurrentData() {
|
|
@@ -96061,7 +94727,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96061
94727
|
searchOrFilingType,
|
|
96062
94728
|
serviceOrderId: response["ServiceOrderId"] ?? "",
|
|
96063
94729
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
96064
|
-
provider:
|
|
94730
|
+
provider: getFilingProvider(signature.task),
|
|
96065
94731
|
draftPdf: response.Draft ?? "",
|
|
96066
94732
|
documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
|
|
96067
94733
|
documentType: "pdf"
|
|
@@ -96103,8 +94769,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96103
94769
|
try {
|
|
96104
94770
|
this.isLoading.set(true);
|
|
96105
94771
|
this.errors.set([]);
|
|
96106
|
-
const
|
|
96107
|
-
const
|
|
94772
|
+
const options = this.validateOptions() ?? {};
|
|
94773
|
+
const currentDataServiceOrderId = this.bcCurrentDataServiceOrderId;
|
|
94774
|
+
if (!currentDataServiceOrderId) {
|
|
94775
|
+
this.errors.set(["The current BC data extract is not ready yet. Please wait and try again."]);
|
|
94776
|
+
return;
|
|
94777
|
+
}
|
|
94778
|
+
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId, this.currentDataExtract());
|
|
94779
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, options);
|
|
96108
94780
|
if (this.hasResponseErrors(response))
|
|
96109
94781
|
return;
|
|
96110
94782
|
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
@@ -96113,7 +94785,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96113
94785
|
searchOrFilingType: getSearchOrFilingType(task),
|
|
96114
94786
|
serviceOrderId,
|
|
96115
94787
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
96116
|
-
provider: "
|
|
94788
|
+
provider: "bcreg",
|
|
96117
94789
|
draftPdf: response.Draft,
|
|
96118
94790
|
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
96119
94791
|
documentType: "pdf"
|
|
@@ -96253,93 +94925,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96253
94925
|
}
|
|
96254
94926
|
});
|
|
96255
94927
|
}
|
|
96256
|
-
/**
|
|
96257
|
-
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96258
|
-
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96259
|
-
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96260
|
-
*/
|
|
96261
|
-
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96262
|
-
return __async(this, null, function* () {
|
|
96263
|
-
const task = this.task();
|
|
96264
|
-
const signature = this._signature();
|
|
96265
|
-
try {
|
|
96266
|
-
if (!task || !signature) {
|
|
96267
|
-
throw new Error("The filing is not ready yet. Please try again.");
|
|
96268
|
-
}
|
|
96269
|
-
this.isLoading.set(true);
|
|
96270
|
-
this.errors.set([]);
|
|
96271
|
-
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96272
|
-
const opts = this.validateOptions() ?? {};
|
|
96273
|
-
const context2 = {
|
|
96274
|
-
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96275
|
-
accessCodeOrPassword: getBritishColumbiaAccessCode(task, signature.env),
|
|
96276
|
-
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96277
|
-
};
|
|
96278
|
-
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96279
|
-
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96280
|
-
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96281
|
-
if (this.hasResponseErrors(response))
|
|
96282
|
-
return;
|
|
96283
|
-
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96284
|
-
const draftPdf = response.Draft ?? "";
|
|
96285
|
-
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96286
|
-
if (draftPdf && searchOrFilingType) {
|
|
96287
|
-
this.filingValidateSuccess.emit({
|
|
96288
|
-
searchOrFilingType,
|
|
96289
|
-
serviceOrderId,
|
|
96290
|
-
validatedOn: /* @__PURE__ */ new Date(),
|
|
96291
|
-
provider: "obr",
|
|
96292
|
-
draftPdf,
|
|
96293
|
-
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96294
|
-
documentType: "pdf"
|
|
96295
|
-
});
|
|
96296
|
-
}
|
|
96297
|
-
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96298
|
-
serviceOrderId,
|
|
96299
|
-
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
96300
|
-
}));
|
|
96301
|
-
this.close.emit();
|
|
96302
|
-
} catch (response) {
|
|
96303
|
-
this.handleCatchError(response);
|
|
96304
|
-
} finally {
|
|
96305
|
-
this.isLoading.set(false);
|
|
96306
|
-
}
|
|
96307
|
-
});
|
|
96308
|
-
}
|
|
96309
|
-
/**
|
|
96310
|
-
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96311
|
-
*/
|
|
96312
|
-
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96313
|
-
const oldDeltaData = this.task()?.deltaData;
|
|
96314
|
-
if (oldDeltaData) {
|
|
96315
|
-
delete this.task()?.deltaData;
|
|
96316
|
-
}
|
|
96317
|
-
this.deltaDataChange.emit(deltaData);
|
|
96318
|
-
}
|
|
96319
|
-
/**
|
|
96320
|
-
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96321
|
-
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96322
|
-
*/
|
|
96323
|
-
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96324
|
-
return __async(this, null, function* () {
|
|
96325
|
-
const signature = this._signature();
|
|
96326
|
-
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96327
|
-
if (!signature || !serviceOrderId) {
|
|
96328
|
-
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96329
|
-
return;
|
|
96330
|
-
}
|
|
96331
|
-
try {
|
|
96332
|
-
this.isLoading.set(true);
|
|
96333
|
-
this.errors.set([]);
|
|
96334
|
-
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96335
|
-
this.close.emit();
|
|
96336
|
-
} catch (response) {
|
|
96337
|
-
this.handleCatchError(response);
|
|
96338
|
-
} finally {
|
|
96339
|
-
this.isLoading.set(false);
|
|
96340
|
-
}
|
|
96341
|
-
});
|
|
96342
|
-
}
|
|
96343
94928
|
/**
|
|
96344
94929
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
96345
94930
|
*/
|
|
@@ -96395,7 +94980,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96395
94980
|
searchOrFilingType,
|
|
96396
94981
|
serviceOrderId,
|
|
96397
94982
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
96398
|
-
provider:
|
|
94983
|
+
provider: getFilingProvider(task),
|
|
96399
94984
|
draftPdf,
|
|
96400
94985
|
documentName: this.validateOptions()?.documentName ?? "Federal Draft",
|
|
96401
94986
|
documentType: "pdf"
|
|
@@ -96608,7 +95193,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96608
95193
|
this.errors.set(this.parseError(errors));
|
|
96609
95194
|
return;
|
|
96610
95195
|
}
|
|
96611
|
-
const fallbackMessage =
|
|
95196
|
+
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
96612
95197
|
this.errors.set([fallbackMessage]);
|
|
96613
95198
|
}
|
|
96614
95199
|
onClose() {
|
|
@@ -96675,8 +95260,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96675
95260
|
let initialDelta;
|
|
96676
95261
|
if (isFormationTask2(task)) {
|
|
96677
95262
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
96678
|
-
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96679
|
-
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
96680
95263
|
} else if (isUpdateMaintain(task)) {
|
|
96681
95264
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
96682
95265
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -96710,9 +95293,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96710
95293
|
}
|
|
96711
95294
|
return federalPayload;
|
|
96712
95295
|
}
|
|
96713
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96714
|
-
return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96715
|
-
}
|
|
96716
95296
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
96717
95297
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
96718
95298
|
if (!serviceOrderId) {
|
|
@@ -96741,7 +95321,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96741
95321
|
if (rf & 2) {
|
|
96742
95322
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
96743
95323
|
}
|
|
96744
|
-
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "
|
|
95324
|
+
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
96745
95325
|
if (rf & 1) {
|
|
96746
95326
|
const _r1 = \u0275\u0275getCurrentView();
|
|
96747
95327
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -96844,15 +95424,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96844
95424
|
[isNote]="dataWasChanged()"\r
|
|
96845
95425
|
[actionsDisabled]="isLoading()"\r
|
|
96846
95426
|
[errors]="errors()"\r
|
|
95427
|
+
[currentDataExtract]="currentDataExtract()"\r
|
|
96847
95428
|
(close)="close.emit()"\r
|
|
96848
95429
|
(nextStep)="onNextStepClick()"\r
|
|
96849
95430
|
(prevStep)="onOntarioPrevStep()"\r
|
|
96850
95431
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
96851
95432
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
96852
95433
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
96853
|
-
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
96854
|
-
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
96855
|
-
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
96856
95434
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
96857
95435
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
96858
95436
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -96882,11 +95460,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96882
95460
|
</div>\r
|
|
96883
95461
|
}\r
|
|
96884
95462
|
</div>\r
|
|
96885
|
-
</div>`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
|
|
95463
|
+
</div>\r
|
|
95464
|
+
`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
|
|
96886
95465
|
}], () => [], null);
|
|
96887
95466
|
})();
|
|
96888
95467
|
(() => {
|
|
96889
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
95468
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 90 });
|
|
96890
95469
|
})();
|
|
96891
95470
|
}
|
|
96892
95471
|
});
|
|
@@ -101532,17 +100111,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101532
100111
|
Currency: "Currency",
|
|
101533
100112
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
101534
100113
|
Unlimited: "Unlimited",
|
|
101535
|
-
"Without Par Value": "Without Par Value"
|
|
101536
|
-
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101537
|
-
"Records Office Address": "Records Office Address",
|
|
101538
|
-
"The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.": "The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.",
|
|
101539
|
-
"Current Mailing Address": "Current Mailing Address",
|
|
101540
|
-
"Current Delivery Address": "Current Delivery Address",
|
|
101541
|
-
"New Mailing Address": "New Mailing Address",
|
|
101542
|
-
"New Delivery Address": "New Delivery Address",
|
|
101543
|
-
"Same as Mailing Address": "Same as Mailing Address",
|
|
101544
|
-
"Same as Registered Office": "Same as Registered Office",
|
|
101545
|
-
"The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.": "The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable."
|
|
100114
|
+
"Without Par Value": "Without Par Value"
|
|
101546
100115
|
};
|
|
101547
100116
|
}
|
|
101548
100117
|
});
|
|
@@ -101889,16 +100458,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101889
100458
|
Currency: "Devise",
|
|
101890
100459
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
101891
100460
|
Unlimited: "Illimit\xE9",
|
|
101892
|
-
"Without Par Value": "Sans valeur nominale"
|
|
101893
|
-
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
101894
|
-
"The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.": "Les nouvelles adresses prendront effet au d\xE9but du jour suivant la date de d\xE9p\xF4t. Le si\xE8ge social et le bureau des registres doivent \xEAtre situ\xE9s en Colombie-Britannique.",
|
|
101895
|
-
"Current Mailing Address": "Adresse postale actuelle",
|
|
101896
|
-
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
101897
|
-
"New Mailing Address": "Nouvelle adresse postale",
|
|
101898
|
-
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
101899
|
-
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
101900
|
-
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
101901
|
-
"The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.": "L'adresse de livraison doit \xEAtre un lieu physique en Colombie-Britannique o\xF9 des documents peuvent \xEAtre livr\xE9s pendant les heures d'ouverture l\xE9gales. Une case postale n'est pas accept\xE9e."
|
|
100461
|
+
"Without Par Value": "Sans valeur nominale"
|
|
101902
100462
|
};
|
|
101903
100463
|
}
|
|
101904
100464
|
});
|