@dyedurham/search-and-file-widget 2.0.85 → 2.0.86

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.
@@ -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,7 +57884,7 @@ 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);
57887
+ const msgs = (r.Errors ?? r.errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
57889
57888
  const status = r.Status ? String(r.Status) : "ValidationFailed";
57890
57889
  return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
57891
57890
  }
@@ -57995,6 +57994,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
57995
57994
  function isPrincipalAffiliation2(affiliation) {
57996
57995
  return affiliation.kind === "PrincipalAffiliationV3";
57997
57996
  }
57997
+ function getIndividualDirectors(affiliations) {
57998
+ return affiliations.filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director" && a._participant?.participant_type === "person");
57999
+ }
57998
58000
  function getAddressComponent(address, componentName) {
57999
58001
  if (!address)
58000
58002
  return "";
@@ -58086,9 +58088,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58086
58088
  function isChangeOfPrincipalsTask(task) {
58087
58089
  return task?._taskType === TaskType.ChangeOfPrincipals;
58088
58090
  }
58089
- function isChangeOfAddressTask(task) {
58090
- return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
58091
- }
58092
58091
  function isBritishColumbiaTask(task) {
58093
58092
  return task.entity._compliance.home_jurisdiction === "British Columbia";
58094
58093
  }
@@ -58109,13 +58108,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58109
58108
  function isAnnualReturnTask(task) {
58110
58109
  return task?._taskType === TaskType.AnnualCompliance;
58111
58110
  }
58111
+ function getFilingProvider(task) {
58112
+ if (task && isBritishColumbiaTask(task)) {
58113
+ return "bcreg";
58114
+ }
58115
+ return task && !isOntarioTask(task) ? "federal" : "obr";
58116
+ }
58112
58117
  function getSearchOrFilingType(task) {
58113
58118
  if (!task) {
58114
58119
  return void 0;
58115
58120
  }
58116
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
58117
- return "bcChangeOfOfficeAddresses";
58118
- }
58119
58121
  const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
58120
58122
  if (isFormationTask2(task)) {
58121
58123
  return `${prefix}Incorporation`;
@@ -58236,13 +58238,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58236
58238
  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
58239
  }
58238
58240
  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
- });
58241
+ return affiliations.filter((a) => a.kind === "ShareholderAffiliationV3" && a._participant.participant_type === "person");
58246
58242
  }
58247
58243
  function normalizeSupportingDocuments(value) {
58248
58244
  if (!Array.isArray(value)) {
@@ -61010,10 +61006,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
61010
61006
  this._inputElement.nativeElement.focus();
61011
61007
  }
61012
61008
  /** Creates the change event that will be emitted by the checkbox. */
61013
- _createChangeEvent(isChecked2) {
61009
+ _createChangeEvent(isChecked) {
61014
61010
  const event = new MatCheckboxChange();
61015
61011
  event.source = this;
61016
- event.checked = isChecked2;
61012
+ event.checked = isChecked;
61017
61013
  return event;
61018
61014
  }
61019
61015
  /** Gets the element on which to add the animation CSS classes. */
@@ -80569,7 +80565,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80569
80565
  MatRadioButton,
80570
80566
  TranslatePipe,
80571
80567
  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 });
80568
+ ], 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
80569
  };
80574
80570
  (() => {
80575
80571
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
@@ -80823,7 +80819,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80823
80819
  }\r
80824
80820
  </div>\r
80825
80821
  </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'] }]
80822
+ `, 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
80823
  }], () => [], { dismissOpenTooltip: [{
80828
80824
  type: HostListener,
80829
80825
  args: ["document:keydown.escape"]
@@ -81313,16 +81309,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81313
81309
  federalUpdateMaintainInitialDelta = signal(null);
81314
81310
  bcChangeOfDirectorsInitialDelta = signal(null);
81315
81311
  bcFormationInitialDelta = signal(null);
81316
- bcChangeOfOfficeAddressesInitialDelta = signal(null);
81317
81312
  setFormationInitialDelta(delta) {
81318
81313
  this.formationInitialDelta.set(delta);
81319
81314
  }
81320
81315
  setBCFormationInitialDelta(delta) {
81321
81316
  this.bcFormationInitialDelta.set(delta);
81322
81317
  }
81323
- setBCChangeOfOfficeAddressesInitialDelta(delta) {
81324
- this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
81325
- }
81326
81318
  setInitialReturnInitialDelta(delta) {
81327
81319
  this.initialReturnInitialDelta.set(delta);
81328
81320
  }
@@ -81342,7 +81334,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81342
81334
  this.federalUpdateMaintainInitialDelta.set(null);
81343
81335
  this.bcChangeOfDirectorsInitialDelta.set(null);
81344
81336
  this.bcFormationInitialDelta.set(null);
81345
- this.bcChangeOfOfficeAddressesInitialDelta.set(null);
81346
81337
  }
81347
81338
  static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
81348
81339
  return new (__ngFactoryType__ || _DeltaStateService)();
@@ -84150,7 +84141,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84150
84141
  });
84151
84142
 
84152
84143
  // 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, BC_DEFAULT_PROVINCE_STATE, 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;
84144
+ 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
84145
  var init_BritishColumbiaConstants = __esm({
84155
84146
  "src/app/constants/BritishColumbiaConstants.ts"() {
84156
84147
  init_app_enums();
@@ -84184,7 +84175,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84184
84175
  };
84185
84176
  BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
84186
84177
  Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
84187
- BC_DEFAULT_PROVINCE_STATE = CANProvinces.BritishColumbia;
84178
+ CANProvinces.BritishColumbia;
84188
84179
  BC_DEFAULT_COUNTRY = "Canada";
84189
84180
  BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
84190
84181
  BC_PASSWORD_MIN_LENGTH = 8;
@@ -84203,7 +84194,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84203
84194
  });
84204
84195
 
84205
84196
  // src/app/enums/british-columbia-form.enums.ts
84206
- var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCChangeOfOfficeAddressesFormControls, BCChangeOfOfficeAddressesFormGroups, BCFormationFormGroups;
84197
+ var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
84207
84198
  var init_british_columbia_form_enums = __esm({
84208
84199
  "src/app/enums/british-columbia-form.enums.ts"() {
84209
84200
  (function(BCChangeOfDirectorsFormControls2) {
@@ -84215,6 +84206,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84215
84206
  BCChangeOfDirectorsFormControls2["CorporationName"] = "corporationName";
84216
84207
  BCChangeOfDirectorsFormControls2["IncorporationNumber"] = "incorporationNumber";
84217
84208
  BCChangeOfDirectorsFormControls2["CompanyEmail"] = "companyEmail";
84209
+ BCChangeOfDirectorsFormControls2["CompanyPassword"] = "companyPassword";
84218
84210
  BCChangeOfDirectorsFormControls2["DirectorsAddedOrDeleted"] = "directorsAddedOrDeleted";
84219
84211
  BCChangeOfDirectorsFormControls2["ChangeDate"] = "changeDate";
84220
84212
  BCChangeOfDirectorsFormControls2["FilingFee"] = "filingFee";
@@ -84268,32 +84260,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84268
84260
  BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
84269
84261
  BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
84270
84262
  })(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["CompanyPassword"] = "companyPassword";
84278
- BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
84279
- BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
84280
- BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
84281
- BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
84282
- BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
84283
- BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
84284
- BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
84285
- BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
84286
- BCChangeOfOfficeAddressesFormControls2["City"] = "city";
84287
- BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
84288
- BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
84289
- BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
84290
- })(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
84291
- (function(BCChangeOfOfficeAddressesFormGroups2) {
84292
- BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84293
- BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
84294
- BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
84295
- BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
84296
- })(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
84297
84263
  (function(BCFormationFormGroups2) {
84298
84264
  BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84299
84265
  BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
@@ -84368,7 +84334,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84368
84334
  }
84369
84335
  const password = request.password ?? "";
84370
84336
  if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
84371
- issues.push(`Company Password must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Enter it in Corporation Details.`);
84337
+ 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.`);
84372
84338
  }
84373
84339
  return issues;
84374
84340
  }
@@ -84760,14 +84726,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84760
84726
  // Prefilled from the entity's Business Email when Athennian has one; otherwise the user
84761
84727
  // enters it here (the API requires it).
84762
84728
  [BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
84763
- // The registry ID is only a suggestion: it is used when it already satisfies the BC
84764
- // password rule, otherwise the field starts empty for the user to fill in.
84765
- [BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id), [
84766
- Validators.required,
84767
- Validators.minLength(BC_PASSWORD_MIN_LENGTH),
84768
- Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
84769
- Validators.pattern(BC_PASSWORD_PATTERN)
84770
- ]),
84729
+ // Not shown on screen: taken from the registry ID when it satisfies the BC password rule
84730
+ // (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
84731
+ // check (`findBCRequestIssues`) reports an unusable value.
84732
+ [BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id)),
84771
84733
  [BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
84772
84734
  [BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
84773
84735
  });
@@ -84869,6 +84831,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84869
84831
  })
84870
84832
  });
84871
84833
  }
84834
+ /**
84835
+ * Company Email dropdown options: the task's `emailOptions` (distinct addresses), plus the
84836
+ * current value when it is not among them (a saved or fallback-prefilled address).
84837
+ */
84838
+ static buildCompanyEmailOptions(task, currentValue) {
84839
+ const emails = (task?.entity.emailOptions ?? []).map((option) => option.value?.trim());
84840
+ const current = currentValue?.trim();
84841
+ return [...new Set([...emails, current].filter((email) => Boolean(email)))].map((email) => ({ label: email, value: email }));
84842
+ }
84872
84843
  static suggestPassword(registryId) {
84873
84844
  const value = registryId?.trim() ?? "";
84874
84845
  return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
@@ -84926,7 +84897,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84926
84897
  config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
84927
84898
  [Controls.CorporationName]: this.readOnly(task.entity._profile.name),
84928
84899
  [Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
84929
- [Controls.CompanyEmail]: this.readOnly(companyEmail)
84900
+ [Controls.CompanyEmail]: this.readOnly(companyEmail),
84901
+ [Controls.CompanyPassword]: new FormControl(delta?.companyPassword ?? task.entity._profile.registry_id ?? "", Validators.required)
84930
84902
  });
84931
84903
  const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
84932
84904
  const incoming = task.incomingAffiliations ?? [];
@@ -85035,133 +85007,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85035
85007
  }
85036
85008
  });
85037
85009
 
85038
- // src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
85039
- var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
85040
- var init_british_columbia_change_of_office_addresses_form_helper = __esm({
85041
- "src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
85042
- init_forms();
85043
- init_common_models();
85044
- init_british_columbia_form_enums();
85045
- init_BritishColumbiaConstants();
85046
- init_british_columbia_formation_form_helper();
85047
- Controls2 = BCChangeOfOfficeAddressesFormControls;
85048
- EDITABLE_ADDRESS_CONTROLS = [
85049
- Controls2.AddressLine1,
85050
- Controls2.AddressLine2,
85051
- Controls2.City,
85052
- Controls2.PostalCode
85053
- ];
85054
- BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
85055
- static generateConfig(task, _translateFn) {
85056
- const affiliations = task.entity.affiliations ?? [];
85057
- const delta = task.deltaData;
85058
- const format = BritishColumbiaFormationFormHelper.formatFullAddress;
85059
- const pick = BritishColumbiaFormationFormHelper.pickAddress;
85060
- const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85061
- const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
85062
- const companyEmail = this.resolveCompanyEmail(task);
85063
- const config2 = {};
85064
- config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
85065
- config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
85066
- [Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
85067
- [Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
85068
- // Prefilled from the entity's Business Email when Athennian has one; otherwise (or to
85069
- // correct it) the user enters it here, as in the BC Incorporation Application.
85070
- [Controls2.CompanyEmail]: new FormControl(delta?.companyEmail ?? companyEmail, [
85071
- Validators.required,
85072
- Validators.email,
85073
- Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)
85074
- ]),
85075
- // The company's BC access code, required to order the registry's current data. Restored from
85076
- // the saved draft, with the same rules as in the BC Incorporation (8-15 letters or digits).
85077
- [Controls2.CompanyPassword]: new FormControl(delta?.companyPassword ?? "", [
85078
- Validators.required,
85079
- Validators.minLength(BC_PASSWORD_MIN_LENGTH),
85080
- Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
85081
- Validators.pattern(BC_PASSWORD_PATTERN)
85082
- ])
85083
- });
85084
- const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
85085
- config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
85086
- [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
85087
- [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
85088
- [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
85089
- [Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
85090
- [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
85091
- });
85092
- const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
85093
- const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
85094
- config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
85095
- [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
85096
- [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
85097
- [Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
85098
- [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
85099
- [Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
85100
- [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
85101
- });
85102
- return config2;
85103
- }
85104
- /**
85105
- * The company's email, looked up the same way as in the BC Incorporation Application: the
85106
- * entity's email options, then the Registered Office's Business Email, then the entity's own,
85107
- * then any other address of the entity (e.g. a Head Office).
85108
- */
85109
- static resolveCompanyEmail(task) {
85110
- const affiliations = task.entity.affiliations ?? [];
85111
- const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85112
- 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 ?? "";
85113
- }
85114
- /**
85115
- * Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
85116
- * Province and Country are always disabled; the rest follow `enabled`.
85117
- */
85118
- static createOfficeAddressFormGroup(delta, enabled = true) {
85119
- const group2 = new FormGroup({
85120
- [Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
85121
- [Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
85122
- [Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
85123
- [Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
85124
- [Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
85125
- [Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
85126
- });
85127
- this.setOfficeAddressEnabled(group2, enabled);
85128
- return group2;
85129
- }
85130
- /** Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes). */
85131
- static setOfficeAddressEnabled(group2, enabled) {
85132
- if (!group2) {
85133
- return;
85134
- }
85135
- EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
85136
- const control = group2.get(name);
85137
- enabled ? control?.enable({ emitEvent: false }) : control?.disable({ emitEvent: false });
85138
- });
85139
- group2.updateValueAndValidity({ emitEvent: false });
85140
- }
85141
- static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
85142
- return new FormGroup({
85143
- [Controls2.ClientMatterNumber]: new FormControl(
85144
- // `||`, not `??`: a draft saved with the field empty stores '' and must not hide the entity's number.
85145
- deltaData?.referenceNumber || clientMatterNumber || ""
85146
- ),
85147
- [Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
85148
- });
85149
- }
85150
- static readOnly(value) {
85151
- return new FormControl({ value: value ?? "", disabled: true });
85152
- }
85153
- };
85154
- }
85155
- });
85156
-
85157
85010
  // src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
85158
- var Controls3, 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, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85011
+ 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, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85159
85012
  var init_british_columbia_change_of_directors_form_constants = __esm({
85160
85013
  "src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
85161
85014
  init_form_enums();
85162
85015
  init_british_columbia_form_enums();
85163
85016
  init_BritishColumbiaConstants();
85164
- Controls3 = BCChangeOfDirectorsFormControls;
85017
+ Controls2 = BCChangeOfDirectorsFormControls;
85165
85018
  labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
85166
85019
  readOnlyRow = (label, control, className = "span-12") => ({
85167
85020
  type: FormType.Text,
@@ -85169,24 +85022,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85169
85022
  class: className,
85170
85023
  dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
85171
85024
  });
85172
- directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
85173
- isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
85025
+ directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
85026
+ isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
85174
85027
  BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
85175
85028
  {
85176
85029
  type: FormType.Input,
85177
85030
  label: "Client/Matter Number",
85178
- formControlName: Controls3.ClientMatterNumber
85031
+ formControlName: Controls2.ClientMatterNumber
85179
85032
  },
85180
85033
  {
85181
85034
  type: FormType.Input,
85182
85035
  label: "Docket Number",
85183
- formControlName: Controls3.DocketNumber
85036
+ formControlName: Controls2.DocketNumber
85184
85037
  }
85185
85038
  ];
85186
85039
  BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
85187
- readOnlyRow("Corporation Name", Controls3.CorporationName),
85188
- readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
85189
- readOnlyRow("Company Email", Controls3.CompanyEmail)
85040
+ readOnlyRow("Corporation Name", Controls2.CorporationName),
85041
+ readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
85042
+ readOnlyRow("Company Email", Controls2.CompanyEmail)
85190
85043
  ];
85191
85044
  BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
85192
85045
  {
@@ -85198,24 +85051,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85198
85051
  {
85199
85052
  type: FormType.Checkbox,
85200
85053
  label: "Directors will be added and/or deleted as part of this filing",
85201
- formControlName: Controls3.DirectorsAddedOrDeleted,
85054
+ formControlName: Controls2.DirectorsAddedOrDeleted,
85202
85055
  class: "span-12",
85203
85056
  onChange: (form) => {
85204
85057
  if (!directorsAddedOrDeleted(form)) {
85205
- form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
85058
+ form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
85206
85059
  }
85207
- form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85060
+ form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85208
85061
  }
85209
85062
  },
85210
85063
  {
85211
85064
  type: FormType.Date,
85212
85065
  label: "Date Directors were added or deleted",
85213
- formControlName: Controls3.ChangeDate,
85066
+ formControlName: Controls2.ChangeDate,
85214
85067
  required: true,
85215
85068
  isVisible: directorsAddedOrDeleted,
85216
85069
  class: "span-8"
85217
85070
  },
85218
- __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
85071
+ __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
85219
85072
  isVisible: directorsAddedOrDeleted
85220
85073
  }),
85221
85074
  {
@@ -85235,34 +85088,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85235
85088
  }
85236
85089
  ];
85237
85090
  BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
85238
- readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
85239
- readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
85091
+ readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
85092
+ readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
85240
85093
  ];
85241
85094
  [
85242
85095
  {
85243
85096
  type: FormType.Select,
85244
85097
  label: "Notification Method",
85245
- formControlName: Controls3.NotificationMethod,
85098
+ formControlName: Controls2.NotificationMethod,
85246
85099
  required: true,
85247
85100
  options: BC_NOTIFICATION_METHOD_OPTIONS,
85248
85101
  needTranslate: true,
85249
85102
  class: "span-6",
85250
- onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85103
+ onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85251
85104
  },
85252
85105
  {
85253
85106
  type: FormType.Input,
85254
85107
  label: "Notification Email",
85255
- formControlName: Controls3.NotificationEmail,
85108
+ formControlName: Controls2.NotificationEmail,
85256
85109
  required: true,
85257
85110
  isVisible: (form) => !isNotifyByMail(form),
85258
85111
  class: "column-3"
85259
85112
  },
85260
85113
  {
85261
85114
  type: FormType.Text,
85262
- formControlName: Controls3.NotificationMailingAddress,
85115
+ formControlName: Controls2.NotificationMailingAddress,
85263
85116
  class: "span-12",
85264
85117
  isVisible: isNotifyByMail,
85265
- dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls3.NotificationMailingAddress)?.value || t("Not specified")})`
85118
+ 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")})`
85266
85119
  }
85267
85120
  ];
85268
85121
  BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
@@ -85275,7 +85128,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85275
85128
  {
85276
85129
  type: FormType.Select,
85277
85130
  label: "Annual Report Reminder",
85278
- formControlName: Controls3.AnnualReportReminder,
85131
+ formControlName: Controls2.AnnualReportReminder,
85279
85132
  required: true,
85280
85133
  options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
85281
85134
  needTranslate: true,
@@ -85342,39 +85195,51 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85342
85195
  \u0275\u0275pipe(15, "translate");
85343
85196
  \u0275\u0275elementEnd();
85344
85197
  \u0275\u0275text(16);
85198
+ \u0275\u0275elementEnd();
85199
+ \u0275\u0275elementStart(17, "mat-form-field", 13)(18, "mat-label");
85200
+ \u0275\u0275text(19);
85201
+ \u0275\u0275pipe(20, "translate");
85202
+ \u0275\u0275elementEnd();
85203
+ \u0275\u0275element(21, "input", 14);
85345
85204
  \u0275\u0275elementEnd()()();
85346
85205
  }
85347
85206
  if (rf & 2) {
85348
- let tmp_9_0;
85349
- let tmp_11_0;
85350
- let tmp_13_0;
85207
+ let tmp_10_0;
85208
+ let tmp_12_0;
85209
+ let tmp_14_0;
85351
85210
  const ctx_r0 = \u0275\u0275nextContext();
85352
85211
  const corporationDetails_r4 = \u0275\u0275readContextLet(6);
85353
85212
  \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
85354
- \u0275\u0275advance(4);
85355
- \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 8, "Corporation Name"), ":");
85213
+ \u0275\u0275advance();
85214
+ \u0275\u0275property("formGroup", corporationDetails_r4);
85215
+ \u0275\u0275advance(3);
85216
+ \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 11, "Corporation Name"), ":");
85217
+ \u0275\u0275advance(2);
85218
+ \u0275\u0275textInterpolate1(" ", (tmp_10_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_10_0.value, " ");
85219
+ \u0275\u0275advance(3);
85220
+ \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 13, "Incorporation Number"), ":");
85356
85221
  \u0275\u0275advance(2);
85357
- \u0275\u0275textInterpolate1(" ", (tmp_9_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_9_0.value, " ");
85222
+ \u0275\u0275textInterpolate1(" ", (tmp_12_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_12_0.value, " ");
85358
85223
  \u0275\u0275advance(3);
85359
- \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 10, "Incorporation Number"), ":");
85224
+ \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 15, "Company Email"), ":");
85360
85225
  \u0275\u0275advance(2);
85361
- \u0275\u0275textInterpolate1(" ", (tmp_11_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_11_0.value, " ");
85226
+ \u0275\u0275textInterpolate1(" ", (tmp_14_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_14_0.value, " ");
85362
85227
  \u0275\u0275advance(3);
85363
- \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
85228
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(20, 17, "Company Password"));
85364
85229
  \u0275\u0275advance(2);
85365
- \u0275\u0275textInterpolate1(" ", (tmp_13_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_13_0.value, " ");
85230
+ \u0275\u0275property("formControlName", ctx_r0.controls.CompanyPassword);
85366
85231
  }
85367
85232
  }
85368
85233
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
85369
85234
  if (rf & 1) {
85370
85235
  const _r7 = \u0275\u0275getCurrentView();
85371
- \u0275\u0275elementStart(0, "div", 16)(1, "div", 17)(2, "label");
85236
+ \u0275\u0275elementStart(0, "div", 18)(1, "div", 19)(2, "label");
85372
85237
  \u0275\u0275text(3);
85373
85238
  \u0275\u0275pipe(4, "translate");
85374
85239
  \u0275\u0275elementStart(5, "span");
85375
85240
  \u0275\u0275text(6, "*");
85376
85241
  \u0275\u0275elementEnd()();
85377
- \u0275\u0275elementStart(7, "mat-form-field", 18)(8, "input", 19);
85242
+ \u0275\u0275elementStart(7, "mat-form-field", 20)(8, "input", 21);
85378
85243
  \u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
85379
85244
  \u0275\u0275restoreView(_r7);
85380
85245
  const changeDatePicker_r8 = \u0275\u0275reference(12);
@@ -85386,21 +85251,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85386
85251
  return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
85387
85252
  });
85388
85253
  \u0275\u0275elementEnd();
85389
- \u0275\u0275elementStart(9, "button", 20);
85254
+ \u0275\u0275elementStart(9, "button", 22);
85390
85255
  \u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
85391
85256
  \u0275\u0275restoreView(_r7);
85392
85257
  const changeDatePicker_r8 = \u0275\u0275reference(12);
85393
85258
  return \u0275\u0275resetView(changeDatePicker_r8.open());
85394
85259
  });
85395
- \u0275\u0275element(10, "span", 21);
85260
+ \u0275\u0275element(10, "span", 23);
85396
85261
  \u0275\u0275elementEnd();
85397
85262
  \u0275\u0275element(11, "mat-datepicker", null, 0);
85398
85263
  \u0275\u0275elementEnd();
85399
- \u0275\u0275elementStart(13, "p", 22);
85264
+ \u0275\u0275elementStart(13, "p", 24);
85400
85265
  \u0275\u0275text(14);
85401
85266
  \u0275\u0275pipe(15, "translate");
85402
85267
  \u0275\u0275elementEnd()();
85403
- \u0275\u0275elementStart(16, "p", 23)(17, "strong");
85268
+ \u0275\u0275elementStart(16, "p", 25)(17, "strong");
85404
85269
  \u0275\u0275text(18);
85405
85270
  \u0275\u0275pipe(19, "translate");
85406
85271
  \u0275\u0275elementEnd();
@@ -85427,14 +85292,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85427
85292
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
85428
85293
  if (rf & 1) {
85429
85294
  const _r5 = \u0275\u0275getCurrentView();
85430
- \u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 13)(2, "div", 14)(3, "strong");
85295
+ \u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 15)(2, "div", 16)(3, "strong");
85431
85296
  \u0275\u0275text(4);
85432
85297
  \u0275\u0275pipe(5, "translate");
85433
85298
  \u0275\u0275elementEnd();
85434
85299
  \u0275\u0275text(6);
85435
85300
  \u0275\u0275pipe(7, "translate");
85436
85301
  \u0275\u0275elementEnd();
85437
- \u0275\u0275elementStart(8, "mat-checkbox", 15);
85302
+ \u0275\u0275elementStart(8, "mat-checkbox", 17);
85438
85303
  \u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
85439
85304
  let tmp_7_0;
85440
85305
  let tmp_8_0;
@@ -85448,7 +85313,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85448
85313
  \u0275\u0275text(9);
85449
85314
  \u0275\u0275pipe(10, "translate");
85450
85315
  \u0275\u0275elementEnd();
85451
- \u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 16);
85316
+ \u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 18);
85452
85317
  \u0275\u0275elementEnd()();
85453
85318
  }
85454
85319
  if (rf & 2) {
@@ -85472,7 +85337,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85472
85337
  }
85473
85338
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
85474
85339
  if (rf & 1) {
85475
- \u0275\u0275elementStart(0, "span", 28);
85340
+ \u0275\u0275elementStart(0, "span", 30);
85476
85341
  \u0275\u0275text(1);
85477
85342
  \u0275\u0275pipe(2, "translate");
85478
85343
  \u0275\u0275elementEnd();
@@ -85484,7 +85349,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85484
85349
  }
85485
85350
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
85486
85351
  if (rf & 1) {
85487
- \u0275\u0275elementStart(0, "span", 29);
85352
+ \u0275\u0275elementStart(0, "span", 31);
85488
85353
  \u0275\u0275text(1);
85489
85354
  \u0275\u0275pipe(2, "translate");
85490
85355
  \u0275\u0275elementEnd();
@@ -85496,15 +85361,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85496
85361
  }
85497
85362
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template(rf, ctx) {
85498
85363
  if (rf & 1) {
85499
- \u0275\u0275elementStart(0, "div", 26)(1, "div", 27)(2, "strong");
85364
+ \u0275\u0275elementStart(0, "div", 28)(1, "div", 29)(2, "strong");
85500
85365
  \u0275\u0275text(3);
85501
85366
  \u0275\u0275elementEnd();
85502
- \u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 28)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 29);
85367
+ \u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 30)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 31);
85503
85368
  \u0275\u0275elementEnd();
85504
- \u0275\u0275elementStart(6, "div", 27);
85369
+ \u0275\u0275elementStart(6, "div", 29);
85505
85370
  \u0275\u0275text(7);
85506
85371
  \u0275\u0275elementEnd();
85507
- \u0275\u0275elementStart(8, "div", 27);
85372
+ \u0275\u0275elementStart(8, "div", 29);
85508
85373
  \u0275\u0275text(9);
85509
85374
  \u0275\u0275elementEnd()();
85510
85375
  }
@@ -85530,26 +85395,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85530
85395
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template(rf, ctx) {
85531
85396
  if (rf & 1) {
85532
85397
  \u0275\u0275declareLet(0);
85533
- \u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template, 10, 5, "div", 26);
85398
+ \u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template, 10, 5, "div", 28);
85534
85399
  }
85535
85400
  if (rf & 2) {
85536
- const \u0275$index_117_r10 = ctx.$index;
85537
- const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_117_r10));
85401
+ const \u0275$index_125_r10 = ctx.$index;
85402
+ const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_125_r10));
85538
85403
  \u0275\u0275advance();
85539
85404
  \u0275\u0275conditional(directorForm_r11 ? 1 : -1);
85540
85405
  }
85541
85406
  }
85542
85407
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
85543
85408
  if (rf & 1) {
85544
- \u0275\u0275elementStart(0, "div", 9)(1, "div", 24)(2, "div", 25);
85409
+ \u0275\u0275elementStart(0, "div", 9)(1, "div", 26)(2, "div", 27);
85545
85410
  \u0275\u0275text(3);
85546
85411
  \u0275\u0275pipe(4, "translate");
85547
85412
  \u0275\u0275elementEnd();
85548
- \u0275\u0275elementStart(5, "div", 25);
85413
+ \u0275\u0275elementStart(5, "div", 27);
85549
85414
  \u0275\u0275text(6);
85550
85415
  \u0275\u0275pipe(7, "translate");
85551
85416
  \u0275\u0275elementEnd();
85552
- \u0275\u0275elementStart(8, "div", 25);
85417
+ \u0275\u0275elementStart(8, "div", 27);
85553
85418
  \u0275\u0275text(9);
85554
85419
  \u0275\u0275pipe(10, "translate");
85555
85420
  \u0275\u0275elementEnd()();
@@ -85584,22 +85449,22 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85584
85449
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template(rf, ctx) {
85585
85450
  if (rf & 1) {
85586
85451
  const _r13 = \u0275\u0275getCurrentView();
85587
- \u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 30)(2, "p");
85452
+ \u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 32)(2, "p");
85588
85453
  \u0275\u0275text(3);
85589
85454
  \u0275\u0275pipe(4, "translate");
85590
85455
  \u0275\u0275elementEnd();
85591
- \u0275\u0275elementStart(5, "mat-radio-group", 31);
85456
+ \u0275\u0275elementStart(5, "mat-radio-group", 33);
85592
85457
  \u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template_mat_radio_group_change_5_listener() {
85593
85458
  \u0275\u0275restoreView(_r13);
85594
85459
  const ctx_r0 = \u0275\u0275nextContext();
85595
85460
  const annualReportReminder_r14 = \u0275\u0275readContextLet(15);
85596
85461
  return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
85597
85462
  });
85598
- \u0275\u0275elementStart(6, "mat-radio-button", 32);
85463
+ \u0275\u0275elementStart(6, "mat-radio-button", 34);
85599
85464
  \u0275\u0275text(7);
85600
85465
  \u0275\u0275pipe(8, "translate");
85601
85466
  \u0275\u0275elementEnd();
85602
- \u0275\u0275elementStart(9, "mat-radio-button", 32);
85467
+ \u0275\u0275elementStart(9, "mat-radio-button", 34);
85603
85468
  \u0275\u0275text(10);
85604
85469
  \u0275\u0275pipe(11, "translate");
85605
85470
  \u0275\u0275elementEnd()()()();
@@ -85699,7 +85564,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85699
85564
  static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
85700
85565
  return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
85701
85566
  };
85702
- 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: 17, vars: 17, 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"], [3, "isSubmitted", "form", "config"], ["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) {
85567
+ 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: 17, vars: 17, 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"], [3, "isSubmitted", "form", "config"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary", 3, "formGroup"], ["appearance", "outline", 1, "company-password-field"], ["matInput", "", "type", "password", 3, "formControlName"], [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) {
85703
85568
  if (rf & 1) {
85704
85569
  \u0275\u0275elementStart(0, "div", 1);
85705
85570
  \u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
@@ -85707,7 +85572,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85707
85572
  \u0275\u0275declareLet(4);
85708
85573
  \u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 5);
85709
85574
  \u0275\u0275declareLet(6);
85710
- \u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 17, 14, "expandable-card", 6);
85575
+ \u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 22, 19, "expandable-card", 6);
85711
85576
  \u0275\u0275declareLet(8);
85712
85577
  \u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
85713
85578
  \u0275\u0275declareLet(10);
@@ -85758,6 +85623,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85758
85623
  MatDatepickerInput,
85759
85624
  MatFormField,
85760
85625
  MatInput,
85626
+ MatLabel,
85761
85627
  MatRadioButton,
85762
85628
  MatRadioGroup,
85763
85629
  ReactiveFormsModule,
@@ -85781,6 +85647,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85781
85647
  MatDatepickerInput,
85782
85648
  MatFormField,
85783
85649
  MatInput,
85650
+ MatLabel,
85784
85651
  MatRadioButton,
85785
85652
  MatRadioGroup,
85786
85653
  ReactiveFormsModule,
@@ -85819,7 +85686,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85819
85686
  \r
85820
85687
  @if (corporationDetails) {\r
85821
85688
  <expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
85822
- <div class="readonly-summary">\r
85689
+ <div class="readonly-summary" [formGroup]="corporationDetails">
85823
85690
  <p>\r
85824
85691
  <strong>{{ 'Corporation Name' | translate }}:</strong>\r
85825
85692
  {{ corporationDetails.get(controls.CorporationName)?.value }}\r
@@ -85828,11 +85695,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85828
85695
  <strong>{{ 'Incorporation Number' | translate }}:</strong>\r
85829
85696
  {{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
85830
85697
  </p>\r
85831
- <p>\r
85832
- <strong>{{ 'Company Email' | translate }}:</strong>\r
85833
- {{ corporationDetails.get(controls.CompanyEmail)?.value }}\r
85834
- </p>\r
85835
- </div>\r
85698
+ <p>
85699
+ <strong>{{ 'Company Email' | translate }}:</strong>
85700
+ {{ corporationDetails.get(controls.CompanyEmail)?.value }}
85701
+ </p>
85702
+ <mat-form-field appearance="outline" class="company-password-field">
85703
+ <mat-label>{{ 'Company Password' | translate }}</mat-label>
85704
+ <input
85705
+ matInput
85706
+ type="password"
85707
+ [formControlName]="controls.CompanyPassword"
85708
+ />
85709
+ </mat-form-field>
85710
+ </div>
85836
85711
  </expandable-card>\r
85837
85712
  }\r
85838
85713
  \r
@@ -85990,7 +85865,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85990
85865
  }], null, null);
85991
85866
  })();
85992
85867
  (() => {
85993
- (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: 61 });
85868
+ (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: 62 });
85994
85869
  })();
85995
85870
  }
85996
85871
  });
@@ -86298,27 +86173,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86298
86173
  dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
86299
86174
  },
86300
86175
  {
86301
- type: FormType.Input,
86302
- inputType: "email",
86176
+ // Options are filled per task from `task.entity.emailOptions` by the incorporation form.
86177
+ type: FormType.Select,
86303
86178
  label: "Company Email",
86304
86179
  formControlName: BCFormationFormControls.CompanyEmail,
86305
86180
  required: true,
86306
- maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
86307
- errorMessage: "Enter a valid email address",
86308
- showRequiredMessage: true,
86309
- class: "span-6"
86310
- },
86311
- {
86312
- type: FormType.Input,
86313
- inputType: "password",
86314
- label: "Company Password",
86315
- formControlName: BCFormationFormControls.CompanyPassword,
86316
- required: true,
86317
- maxLength: BC_PASSWORD_MAX_LENGTH,
86318
- errorMessage: "Company Password must be 8 to 15 characters",
86319
- showRequiredMessage: true,
86181
+ options: [],
86320
86182
  class: "span-6"
86321
86183
  }
86184
+ // The company password is not shown: it is taken from the entity's registry ID.
86322
86185
  ];
86323
86186
  BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
86324
86187
  {
@@ -86677,7 +86540,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86677
86540
  const corporationDetails_r11 = \u0275\u0275readContextLet(6);
86678
86541
  \u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
86679
86542
  \u0275\u0275advance(2);
86680
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
86543
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields());
86681
86544
  \u0275\u0275advance(2);
86682
86545
  \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
86683
86546
  \u0275\u0275advance(2);
@@ -86912,7 +86775,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86912
86775
  groups = BCFormationFormGroups;
86913
86776
  controls = BCFormationFormControls;
86914
86777
  referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
86915
- corporationDetailsFields = BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
86778
+ /** Corporation Details fields, with the Company Email dropdown filled from the task. */
86779
+ corporationDetailsFields = computed(() => {
86780
+ const currentEmail = this.form().get(this.groups.CorporationDetails)?.get(this.controls.CompanyEmail)?.value;
86781
+ const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
86782
+ return BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
86783
+ });
86916
86784
  nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
86917
86785
  nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
86918
86786
  registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
@@ -87102,7 +86970,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87102
86970
  <filing-form-group\r
87103
86971
  [isSubmitted]="isSubmitted()"\r
87104
86972
  [form]="corporationDetails"\r
87105
- [config]="corporationDetailsFields"\r
86973
+ [config]="corporationDetailsFields()"\r
87106
86974
  (visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
87107
86975
  />\r
87108
86976
  \r
@@ -87523,919 +87391,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87523
87391
  }
87524
87392
  });
87525
87393
 
87526
- // src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
87527
- var Controls4, labelledValue3, readOnlyRow2, isChecked, addressGroup, BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, effectiveDateNote, BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_DELTA_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;
87528
- var init_british_columbia_change_of_office_addresses_form_constants = __esm({
87529
- "src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
87530
- init_form_enums();
87531
- init_british_columbia_form_enums();
87532
- init_BritishColumbiaConstants();
87533
- init_british_columbia_change_of_office_addresses_form_helper();
87534
- Controls4 = BCChangeOfOfficeAddressesFormControls;
87535
- labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
87536
- readOnlyRow2 = (label, control, className = "span-12") => ({
87537
- type: FormType.Text,
87538
- formControlName: control,
87539
- class: className,
87540
- dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
87541
- });
87542
- isChecked = (form, control) => Boolean(form.get(control)?.value);
87543
- addressGroup = (form, control) => form.get(control);
87544
- BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
87545
- {
87546
- type: FormType.Input,
87547
- label: "Client/Matter Number",
87548
- formControlName: Controls4.ClientMatterNumber
87549
- },
87550
- {
87551
- type: FormType.Input,
87552
- label: "Docket Number",
87553
- formControlName: Controls4.DocketNumber
87554
- }
87555
- ];
87556
- effectiveDateNote = {
87557
- type: FormType.Text,
87558
- formControlName: "",
87559
- class: "span-12 note-box",
87560
- 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.")}`
87561
- };
87562
- BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
87563
- readOnlyRow2("Corporation Name", Controls4.CorporationName),
87564
- readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
87565
- readOnlyRow2("Company Email", Controls4.CompanyEmail),
87566
- effectiveDateNote
87567
- ];
87568
- BC_COA_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
87569
- readOnlyRow2("Corporation Name", Controls4.CorporationName),
87570
- readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
87571
- {
87572
- type: FormType.Input,
87573
- inputType: "email",
87574
- label: "Company Email",
87575
- formControlName: Controls4.CompanyEmail,
87576
- required: true,
87577
- maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
87578
- errorMessage: "Enter a valid email address",
87579
- showRequiredMessage: true,
87580
- class: "span-6"
87581
- },
87582
- {
87583
- type: FormType.Input,
87584
- inputType: "password",
87585
- label: "Company Password",
87586
- formControlName: Controls4.CompanyPassword,
87587
- required: true,
87588
- maxLength: BC_PASSWORD_MAX_LENGTH,
87589
- errorMessage: "Company Password must be 8 to 15 characters",
87590
- showRequiredMessage: true,
87591
- class: "span-6"
87592
- },
87593
- effectiveDateNote
87594
- ];
87595
- BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
87596
- readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
87597
- readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
87598
- ];
87599
- BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
87600
- {
87601
- type: FormType.Input,
87602
- label: "Address Line 1",
87603
- formControlName: Controls4.AddressLine1,
87604
- required: true,
87605
- class: "span-6"
87606
- },
87607
- {
87608
- type: FormType.Input,
87609
- label: "Address Line 2",
87610
- formControlName: Controls4.AddressLine2,
87611
- class: "span-6"
87612
- },
87613
- {
87614
- type: FormType.Input,
87615
- label: "City",
87616
- formControlName: Controls4.City,
87617
- required: true,
87618
- class: "span-6"
87619
- },
87620
- {
87621
- type: FormType.Input,
87622
- label: "Postal Code",
87623
- formControlName: Controls4.PostalCode,
87624
- required: true,
87625
- class: "span-6"
87626
- },
87627
- {
87628
- type: FormType.Input,
87629
- label: "Province",
87630
- formControlName: Controls4.Province,
87631
- readonly: true,
87632
- class: "span-6"
87633
- },
87634
- {
87635
- type: FormType.Input,
87636
- label: "Country",
87637
- formControlName: Controls4.Country,
87638
- readonly: true,
87639
- class: "span-6"
87640
- }
87641
- ];
87642
- BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
87643
- {
87644
- type: FormType.Text,
87645
- formControlName: "",
87646
- class: "span-12",
87647
- 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.")
87648
- }
87649
- ];
87650
- BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
87651
- {
87652
- type: FormType.Checkbox,
87653
- label: "Same as Mailing Address",
87654
- formControlName: Controls4.DeliverySameAsMailing,
87655
- class: "span-12",
87656
- onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
87657
- }
87658
- ];
87659
- BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
87660
- {
87661
- type: FormType.Checkbox,
87662
- label: "Same as Registered Office",
87663
- formControlName: Controls4.SameAsRegisteredOffice,
87664
- class: "span-12",
87665
- onChange: (form) => {
87666
- const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
87667
- const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
87668
- BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
87669
- BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
87670
- }
87671
- }
87672
- ];
87673
- }
87674
- });
87675
-
87676
- // src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
87677
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
87678
- if (rf & 1) {
87679
- \u0275\u0275element(0, "alert", 1);
87680
- }
87681
- if (rf & 2) {
87682
- const ctx_r0 = \u0275\u0275nextContext();
87683
- \u0275\u0275property("type", ctx_r0.alertType.Info);
87684
- }
87685
- }
87686
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
87687
- if (rf & 1) {
87688
- \u0275\u0275element(0, "alert", 2);
87689
- }
87690
- if (rf & 2) {
87691
- const ctx_r0 = \u0275\u0275nextContext();
87692
- \u0275\u0275property("content", ctx_r0.errors());
87693
- }
87694
- }
87695
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
87696
- if (rf & 1) {
87697
- const _r2 = \u0275\u0275getCurrentView();
87698
- \u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
87699
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87700
- \u0275\u0275restoreView(_r2);
87701
- const ctx_r0 = \u0275\u0275nextContext();
87702
- return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
87703
- });
87704
- \u0275\u0275elementEnd()();
87705
- }
87706
- if (rf & 2) {
87707
- const ctx_r0 = \u0275\u0275nextContext();
87708
- const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
87709
- \u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
87710
- \u0275\u0275advance();
87711
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
87712
- }
87713
- }
87714
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
87715
- if (rf & 1) {
87716
- const _r4 = \u0275\u0275getCurrentView();
87717
- \u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
87718
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87719
- \u0275\u0275restoreView(_r4);
87720
- const ctx_r0 = \u0275\u0275nextContext();
87721
- return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corporationDetails", $event));
87722
- });
87723
- \u0275\u0275elementEnd()();
87724
- }
87725
- if (rf & 2) {
87726
- const ctx_r0 = \u0275\u0275nextContext();
87727
- const corporationDetails_r5 = \u0275\u0275readContextLet(6);
87728
- \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
87729
- \u0275\u0275advance();
87730
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.readonly() ? ctx_r0.corporationDetailsFields : ctx_r0.editableCorporationDetailsFields);
87731
- }
87732
- }
87733
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
87734
- if (rf & 1) {
87735
- const _r7 = \u0275\u0275getCurrentView();
87736
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87737
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
87738
- \u0275\u0275restoreView(_r7);
87739
- const ctx_r0 = \u0275\u0275nextContext(2);
87740
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87741
- });
87742
- \u0275\u0275elementEnd();
87743
- }
87744
- if (rf & 2) {
87745
- \u0275\u0275nextContext();
87746
- const registeredMailing_r8 = \u0275\u0275readContextLet(0);
87747
- const ctx_r0 = \u0275\u0275nextContext();
87748
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
87749
- }
87750
- }
87751
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
87752
- if (rf & 1) {
87753
- const _r9 = \u0275\u0275getCurrentView();
87754
- \u0275\u0275element(0, "filing-form-group", 9);
87755
- \u0275\u0275elementStart(1, "filing-form-group", 7);
87756
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
87757
- \u0275\u0275restoreView(_r9);
87758
- const ctx_r0 = \u0275\u0275nextContext(2);
87759
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87760
- });
87761
- \u0275\u0275elementEnd();
87762
- }
87763
- if (rf & 2) {
87764
- \u0275\u0275nextContext();
87765
- const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
87766
- const ctx_r0 = \u0275\u0275nextContext();
87767
- const registeredOffice_r11 = \u0275\u0275readContextLet(8);
87768
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
87769
- \u0275\u0275advance();
87770
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r10)("config", ctx_r0.addressFields);
87771
- }
87772
- }
87773
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
87774
- if (rf & 1) {
87775
- const _r6 = \u0275\u0275getCurrentView();
87776
- \u0275\u0275declareLet(0)(1)(2);
87777
- \u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 8);
87778
- \u0275\u0275element(5, "filing-form-group", 9);
87779
- \u0275\u0275elementStart(6, "h4", 10);
87780
- \u0275\u0275text(7);
87781
- \u0275\u0275pipe(8, "translate");
87782
- \u0275\u0275elementEnd();
87783
- \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 9);
87784
- \u0275\u0275elementStart(10, "h4", 10);
87785
- \u0275\u0275text(11);
87786
- \u0275\u0275pipe(12, "translate");
87787
- \u0275\u0275elementEnd();
87788
- \u0275\u0275elementStart(13, "filing-form-group", 7);
87789
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
87790
- \u0275\u0275restoreView(_r6);
87791
- const ctx_r0 = \u0275\u0275nextContext();
87792
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87793
- });
87794
- \u0275\u0275elementEnd();
87795
- \u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
87796
- \u0275\u0275elementEnd()();
87797
- }
87798
- if (rf & 2) {
87799
- const ctx_r0 = \u0275\u0275nextContext();
87800
- const registeredOffice_r11 = \u0275\u0275readContextLet(8);
87801
- const registeredMailing_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewMailingAddress));
87802
- \u0275\u0275advance();
87803
- const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
87804
- const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
87805
- \u0275\u0275advance(2);
87806
- \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
87807
- \u0275\u0275advance(2);
87808
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
87809
- \u0275\u0275advance(2);
87810
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
87811
- \u0275\u0275advance(2);
87812
- \u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
87813
- \u0275\u0275advance(2);
87814
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
87815
- \u0275\u0275advance(2);
87816
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliverySameAsMailingFields);
87817
- \u0275\u0275advance();
87818
- \u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
87819
- }
87820
- }
87821
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
87822
- if (rf & 1) {
87823
- const _r17 = \u0275\u0275getCurrentView();
87824
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87825
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
87826
- \u0275\u0275restoreView(_r17);
87827
- const ctx_r0 = \u0275\u0275nextContext(3);
87828
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87829
- });
87830
- \u0275\u0275elementEnd();
87831
- }
87832
- if (rf & 2) {
87833
- \u0275\u0275nextContext(2);
87834
- const recordsMailing_r18 = \u0275\u0275readContextLet(0);
87835
- const ctx_r0 = \u0275\u0275nextContext();
87836
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r18)("config", ctx_r0.addressFields);
87837
- }
87838
- }
87839
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
87840
- if (rf & 1) {
87841
- const _r19 = \u0275\u0275getCurrentView();
87842
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87843
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
87844
- \u0275\u0275restoreView(_r19);
87845
- const ctx_r0 = \u0275\u0275nextContext(3);
87846
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87847
- });
87848
- \u0275\u0275elementEnd();
87849
- }
87850
- if (rf & 2) {
87851
- \u0275\u0275nextContext(2);
87852
- const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
87853
- const ctx_r0 = \u0275\u0275nextContext();
87854
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
87855
- }
87856
- }
87857
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
87858
- if (rf & 1) {
87859
- const _r16 = \u0275\u0275getCurrentView();
87860
- \u0275\u0275elementStart(0, "h4", 10);
87861
- \u0275\u0275text(1);
87862
- \u0275\u0275pipe(2, "translate");
87863
- \u0275\u0275elementEnd();
87864
- \u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
87865
- \u0275\u0275elementStart(4, "h4", 10);
87866
- \u0275\u0275text(5);
87867
- \u0275\u0275pipe(6, "translate");
87868
- \u0275\u0275elementEnd();
87869
- \u0275\u0275elementStart(7, "filing-form-group", 7);
87870
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
87871
- \u0275\u0275restoreView(_r16);
87872
- const ctx_r0 = \u0275\u0275nextContext(2);
87873
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87874
- });
87875
- \u0275\u0275elementEnd();
87876
- \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
87877
- }
87878
- if (rf & 2) {
87879
- \u0275\u0275nextContext();
87880
- const recordsMailing_r18 = \u0275\u0275readContextLet(0);
87881
- const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
87882
- const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
87883
- const ctx_r0 = \u0275\u0275nextContext();
87884
- const recordsOffice_r22 = \u0275\u0275readContextLet(10);
87885
- \u0275\u0275advance();
87886
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
87887
- \u0275\u0275advance(2);
87888
- \u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
87889
- \u0275\u0275advance(2);
87890
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
87891
- \u0275\u0275advance(2);
87892
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.deliverySameAsMailingFields);
87893
- \u0275\u0275advance();
87894
- \u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
87895
- }
87896
- }
87897
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
87898
- if (rf & 1) {
87899
- const _r15 = \u0275\u0275getCurrentView();
87900
- \u0275\u0275declareLet(0)(1)(2)(3);
87901
- \u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 8);
87902
- \u0275\u0275element(6, "filing-form-group", 9);
87903
- \u0275\u0275elementStart(7, "filing-form-group", 7);
87904
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
87905
- \u0275\u0275restoreView(_r15);
87906
- const ctx_r0 = \u0275\u0275nextContext();
87907
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87908
- });
87909
- \u0275\u0275elementEnd();
87910
- \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
87911
- \u0275\u0275elementEnd()();
87912
- }
87913
- if (rf & 2) {
87914
- const ctx_r0 = \u0275\u0275nextContext();
87915
- const recordsOffice_r22 = \u0275\u0275readContextLet(10);
87916
- \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
87917
- \u0275\u0275advance();
87918
- \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
87919
- const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
87920
- \u0275\u0275advance(2);
87921
- \u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
87922
- \u0275\u0275advance();
87923
- \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
87924
- \u0275\u0275advance(2);
87925
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.currentAddressesFields);
87926
- \u0275\u0275advance();
87927
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
87928
- \u0275\u0275advance();
87929
- \u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
87930
- }
87931
- }
87932
- var BritishColumbiaChangeOfOfficeAddressesFormComponent;
87933
- var init_change_of_office_addresses_form_component = __esm({
87934
- "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
87935
- init_core();
87936
- init_ngx_translate_core();
87937
- init_filing_form_group_component();
87938
- init_alert_component();
87939
- init_alert_enum();
87940
- init_expandable_card_component();
87941
- init_british_columbia_form_enums();
87942
- init_british_columbia_change_of_office_addresses_form_constants();
87943
- init_forms_utils();
87944
- init_core();
87945
- BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
87946
- form = input.required();
87947
- task = input();
87948
- errors = input([]);
87949
- isNote = input(false);
87950
- isSubmitted = input(false);
87951
- readonly = input(false);
87952
- visiblyValidChange = output();
87953
- alertType = AlertType;
87954
- groups = BCChangeOfOfficeAddressesFormGroups;
87955
- controls = BCChangeOfOfficeAddressesFormControls;
87956
- referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
87957
- corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
87958
- editableCorporationDetailsFields = BC_COA_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
87959
- currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
87960
- addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
87961
- deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
87962
- deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
87963
- sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
87964
- sectionValidity = {};
87965
- isVisiblyValid() {
87966
- return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
87967
- }
87968
- isRegisteredOfficeValid() {
87969
- const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
87970
- return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
87971
- }
87972
- isRecordsOfficeValid() {
87973
- const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
87974
- return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
87975
- }
87976
- isChecked(office, control) {
87977
- return Boolean(office?.get(control)?.value);
87978
- }
87979
- onSectionValidChange(section, valid) {
87980
- this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
87981
- this.emitValidity();
87982
- }
87983
- emitValidity() {
87984
- this.visiblyValidChange.emit(this.isVisiblyValid());
87985
- }
87986
- getFormGroup(key) {
87987
- return this.form().get(key) ?? null;
87988
- }
87989
- getAddressGroup(office, control) {
87990
- return office?.get(control) ?? null;
87991
- }
87992
- isAddressValid(office, control) {
87993
- const group2 = this.getAddressGroup(office, control);
87994
- return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
87995
- }
87996
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
87997
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
87998
- };
87999
- 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"], [1, "change-of-office-addresses-form-item"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
88000
- if (rf & 1) {
88001
- \u0275\u0275elementStart(0, "div", 0);
88002
- \u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
88003
- \u0275\u0275elementStart(3, "div", 3);
88004
- \u0275\u0275declareLet(4);
88005
- \u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
88006
- \u0275\u0275declareLet(6);
88007
- \u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
88008
- \u0275\u0275declareLet(8);
88009
- \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
88010
- \u0275\u0275declareLet(10);
88011
- \u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
88012
- \u0275\u0275elementEnd()();
88013
- }
88014
- if (rf & 2) {
88015
- \u0275\u0275advance();
88016
- \u0275\u0275conditional(ctx.isNote() ? 1 : -1);
88017
- \u0275\u0275advance();
88018
- \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
88019
- \u0275\u0275advance(2);
88020
- const referenceNumbers_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
88021
- \u0275\u0275advance();
88022
- \u0275\u0275conditional(referenceNumbers_r24 ? 5 : -1);
88023
- \u0275\u0275advance();
88024
- const corporationDetails_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
88025
- \u0275\u0275advance();
88026
- \u0275\u0275conditional(corporationDetails_r25 ? 7 : -1);
88027
- \u0275\u0275advance();
88028
- const registeredOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
88029
- \u0275\u0275advance();
88030
- \u0275\u0275conditional(registeredOffice_r26 ? 9 : -1);
88031
- \u0275\u0275advance();
88032
- const recordsOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
88033
- \u0275\u0275advance();
88034
- \u0275\u0275conditional(recordsOffice_r27 ? 11 : -1);
88035
- }
88036
- }, 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 });
88037
- };
88038
- (() => {
88039
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
88040
- type: Component,
88041
- 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
88042
- @if (isNote()) {\r
88043
- <alert\r
88044
- [type]="alertType.Info"\r
88045
- title="Entity changed"\r
88046
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
88047
- />\r
88048
- }\r
88049
- \r
88050
- @if (errors().length) {\r
88051
- <alert\r
88052
- title="The following issues need to be resolved before proceeding:"\r
88053
- [content]="errors()"\r
88054
- />\r
88055
- }\r
88056
- \r
88057
- <div class="change-of-office-addresses-form-content">\r
88058
- @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
88059
- \r
88060
- @if (referenceNumbers) {\r
88061
- <expandable-card [title]="groups.ReferenceNumbers">\r
88062
- <filing-form-group\r
88063
- [isSubmitted]="isSubmitted()"\r
88064
- [form]="referenceNumbers"\r
88065
- [config]="referenceNumbersFields"\r
88066
- (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
88067
- />\r
88068
- </expandable-card>\r
88069
- }\r
88070
- \r
88071
- @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
88072
- \r
88073
- @if (corporationDetails) {\r
88074
- <expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
88075
- <filing-form-group\r
88076
- [isSubmitted]="isSubmitted()"\r
88077
- [form]="corporationDetails"\r
88078
- [config]="readonly() ? corporationDetailsFields : editableCorporationDetailsFields"\r
88079
- (visiblyValidChange)="onSectionValidChange('corporationDetails', $event)"\r
88080
- />\r
88081
- </expandable-card>\r
88082
- }\r
88083
- \r
88084
- <!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
88085
- @let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
88086
- \r
88087
- @if (registeredOffice) {\r
88088
- @let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
88089
- @let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
88090
- @let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
88091
- \r
88092
- <expandable-card\r
88093
- [isStatusIcon]="!readonly()"\r
88094
- [isValid]="isRegisteredOfficeValid()"\r
88095
- [title]="groups.RegisteredOfficeAddress"\r
88096
- >\r
88097
- <div class="change-of-office-addresses-form-item">\r
88098
- <filing-form-group\r
88099
- [isSubmitted]="isSubmitted()"\r
88100
- [form]="registeredOffice"\r
88101
- [config]="currentAddressesFields"\r
88102
- />\r
88103
- \r
88104
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88105
- \r
88106
- @if (registeredMailing) {\r
88107
- <filing-form-group\r
88108
- [isSubmitted]="isSubmitted()"\r
88109
- [form]="registeredMailing"\r
88110
- [config]="addressFields"\r
88111
- (visiblyValidChange)="emitValidity()"\r
88112
- />\r
88113
- }\r
88114
- \r
88115
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88116
- \r
88117
- <filing-form-group\r
88118
- [isSubmitted]="isSubmitted()"\r
88119
- [form]="registeredOffice"\r
88120
- [config]="deliverySameAsMailingFields"\r
88121
- (visiblyValidChange)="emitValidity()"\r
88122
- />\r
88123
- \r
88124
- @if (!registeredDeliverySame && registeredDelivery) {\r
88125
- <filing-form-group\r
88126
- [isSubmitted]="isSubmitted()"\r
88127
- [form]="registeredOffice"\r
88128
- [config]="deliveryNoteFields"\r
88129
- />\r
88130
- <filing-form-group\r
88131
- [isSubmitted]="isSubmitted()"\r
88132
- [form]="registeredDelivery"\r
88133
- [config]="addressFields"\r
88134
- (visiblyValidChange)="emitValidity()"\r
88135
- />\r
88136
- }\r
88137
- </div>\r
88138
- </expandable-card>\r
88139
- }\r
88140
- \r
88141
- <!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
88142
- @let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
88143
- \r
88144
- @if (recordsOffice) {\r
88145
- @let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
88146
- @let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
88147
- @let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
88148
- @let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
88149
- \r
88150
- <expandable-card\r
88151
- [isStatusIcon]="!readonly()"\r
88152
- [isValid]="isRecordsOfficeValid()"\r
88153
- [title]="groups.RecordsOfficeAddress"\r
88154
- >\r
88155
- <div class="change-of-office-addresses-form-item">\r
88156
- <filing-form-group\r
88157
- [isSubmitted]="isSubmitted()"\r
88158
- [form]="recordsOffice"\r
88159
- [config]="currentAddressesFields"\r
88160
- />\r
88161
- \r
88162
- <filing-form-group\r
88163
- [isSubmitted]="isSubmitted()"\r
88164
- [form]="recordsOffice"\r
88165
- [config]="sameAsRegisteredOfficeFields"\r
88166
- (visiblyValidChange)="emitValidity()"\r
88167
- />\r
88168
- \r
88169
- @if (!recordsSameAsRegistered) {\r
88170
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88171
- \r
88172
- @if (recordsMailing) {\r
88173
- <filing-form-group\r
88174
- [isSubmitted]="isSubmitted()"\r
88175
- [form]="recordsMailing"\r
88176
- [config]="addressFields"\r
88177
- (visiblyValidChange)="emitValidity()"\r
88178
- />\r
88179
- }\r
88180
- \r
88181
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88182
- \r
88183
- <filing-form-group\r
88184
- [isSubmitted]="isSubmitted()"\r
88185
- [form]="recordsOffice"\r
88186
- [config]="deliverySameAsMailingFields"\r
88187
- (visiblyValidChange)="emitValidity()"\r
88188
- />\r
88189
- \r
88190
- @if (!recordsDeliverySame && recordsDelivery) {\r
88191
- <filing-form-group\r
88192
- [isSubmitted]="isSubmitted()"\r
88193
- [form]="recordsDelivery"\r
88194
- [config]="addressFields"\r
88195
- (visiblyValidChange)="emitValidity()"\r
88196
- />\r
88197
- }\r
88198
- }\r
88199
- </div>\r
88200
- </expandable-card>\r
88201
- }\r
88202
- </div>\r
88203
- </div>\r
88204
- `, 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"] }]
88205
- }], null, null);
88206
- })();
88207
- (() => {
88208
- (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: 44 });
88209
- })();
88210
- }
88211
- });
88212
-
88213
- // src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
88214
- var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
88215
- var init_change_of_office_addresses_delta_form_component = __esm({
88216
- "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
88217
- init_core();
88218
- init_button();
88219
- init_ngx_translate_core();
88220
- init_common_utils();
88221
- init_change_of_office_addresses_form_component();
88222
- init_core();
88223
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
88224
- form = input.required();
88225
- actionsDisabled = input(false);
88226
- isNote = input(false);
88227
- task = input();
88228
- errors = input([]);
88229
- close = output();
88230
- save = output();
88231
- validate = output();
88232
- submitted = signal(false);
88233
- visiblyValid = signal(true);
88234
- clientErrors = signal([]);
88235
- translate = inject(TranslateService);
88236
- combinedErrors = computed(() => {
88237
- const client = this.clientErrors();
88238
- return client.length ? client : this.errors();
88239
- });
88240
- onVisiblyValidChange(valid) {
88241
- this.visiblyValid.set(valid);
88242
- }
88243
- onValidate() {
88244
- this.submitted.set(true);
88245
- this.clientErrors.set([]);
88246
- markFormGroupTouched(this.form());
88247
- if (!this.visiblyValid()) {
88248
- this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
88249
- return;
88250
- }
88251
- this.validate.emit();
88252
- }
88253
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
88254
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
88255
- };
88256
- 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) {
88257
- if (rf & 1) {
88258
- \u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
88259
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
88260
- return ctx.onVisiblyValidChange($event);
88261
- });
88262
- \u0275\u0275elementEnd();
88263
- \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88264
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
88265
- return ctx.close.emit();
88266
- });
88267
- \u0275\u0275elementStart(4, "span", 4);
88268
- \u0275\u0275text(5);
88269
- \u0275\u0275pipe(6, "translate");
88270
- \u0275\u0275elementEnd()();
88271
- \u0275\u0275elementStart(7, "button", 3);
88272
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
88273
- return ctx.save.emit();
88274
- });
88275
- \u0275\u0275elementStart(8, "span", 4);
88276
- \u0275\u0275text(9);
88277
- \u0275\u0275pipe(10, "translate");
88278
- \u0275\u0275elementEnd()();
88279
- \u0275\u0275elementStart(11, "button", 5);
88280
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
88281
- return ctx.onValidate();
88282
- });
88283
- \u0275\u0275elementStart(12, "span", 4);
88284
- \u0275\u0275text(13);
88285
- \u0275\u0275pipe(14, "translate");
88286
- \u0275\u0275elementEnd()()()();
88287
- }
88288
- if (rf & 2) {
88289
- \u0275\u0275advance();
88290
- \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
88291
- \u0275\u0275advance(2);
88292
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88293
- \u0275\u0275advance(2);
88294
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
88295
- \u0275\u0275advance(2);
88296
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88297
- \u0275\u0275advance(2);
88298
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
88299
- \u0275\u0275advance(2);
88300
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88301
- \u0275\u0275advance(2);
88302
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
88303
- }
88304
- }, 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 });
88305
- };
88306
- (() => {
88307
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
88308
- type: Component,
88309
- 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
88310
- <british-columbia-change-of-office-addresses-form\r
88311
- class="change-of-office-addresses-delta-form-content"\r
88312
- [form]="form()"\r
88313
- [task]="task()"\r
88314
- [errors]="combinedErrors()"\r
88315
- [isNote]="isNote()"\r
88316
- [isSubmitted]="submitted()"\r
88317
- [readonly]="false"\r
88318
- (visiblyValidChange)="onVisiblyValidChange($event)"\r
88319
- />\r
88320
- \r
88321
- <div class="change-of-office-addresses-delta-form-actions">\r
88322
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88323
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88324
- </button>\r
88325
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
88326
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
88327
- </button>\r
88328
- <button\r
88329
- class="submit"\r
88330
- color="primary"\r
88331
- mat-flat-button\r
88332
- [disabled]="actionsDisabled()"\r
88333
- (click)="onValidate()"\r
88334
- >\r
88335
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
88336
- </button>\r
88337
- </div>\r
88338
- </div>\r
88339
- `, 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"] }]
88340
- }], null, null);
88341
- })();
88342
- (() => {
88343
- (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 });
88344
- })();
88345
- }
88346
- });
88347
-
88348
- // src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
88349
- var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
88350
- var init_change_of_office_addresses_preview_form_component = __esm({
88351
- "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
88352
- init_core();
88353
- init_button();
88354
- init_ngx_translate_core();
88355
- init_change_of_office_addresses_form_component();
88356
- init_core();
88357
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
88358
- form = input.required();
88359
- actionsDisabled = input(false);
88360
- task = input();
88361
- errors = input([]);
88362
- close = output();
88363
- file = output();
88364
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
88365
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
88366
- };
88367
- 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) {
88368
- if (rf & 1) {
88369
- \u0275\u0275elementStart(0, "div", 0);
88370
- \u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
88371
- \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88372
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
88373
- return ctx.close.emit();
88374
- });
88375
- \u0275\u0275elementStart(4, "span", 4);
88376
- \u0275\u0275text(5);
88377
- \u0275\u0275pipe(6, "translate");
88378
- \u0275\u0275elementEnd()();
88379
- \u0275\u0275elementStart(7, "button", 5);
88380
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
88381
- return ctx.file.emit();
88382
- });
88383
- \u0275\u0275elementStart(8, "span", 4);
88384
- \u0275\u0275text(9);
88385
- \u0275\u0275pipe(10, "translate");
88386
- \u0275\u0275elementEnd()()()();
88387
- }
88388
- if (rf & 2) {
88389
- \u0275\u0275advance();
88390
- \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
88391
- \u0275\u0275advance(2);
88392
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88393
- \u0275\u0275advance(2);
88394
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
88395
- \u0275\u0275advance(2);
88396
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88397
- \u0275\u0275advance(2);
88398
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
88399
- }
88400
- }, 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 });
88401
- };
88402
- (() => {
88403
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
88404
- type: Component,
88405
- 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
88406
- <british-columbia-change-of-office-addresses-form\r
88407
- class="change-of-office-addresses-preview-form-content"\r
88408
- [form]="form()"\r
88409
- [task]="task()"\r
88410
- [errors]="errors()"\r
88411
- [isSubmitted]="false"\r
88412
- [readonly]="true"\r
88413
- />\r
88414
- \r
88415
- <div class="change-of-office-addresses-preview-form-actions">\r
88416
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88417
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88418
- </button>\r
88419
- <button\r
88420
- class="submit"\r
88421
- color="primary"\r
88422
- mat-flat-button\r
88423
- [disabled]="actionsDisabled()"\r
88424
- (click)="file.emit()"\r
88425
- >\r
88426
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
88427
- </button>\r
88428
- </div>\r
88429
- </div>\r
88430
- `, 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"] }]
88431
- }], null, null);
88432
- })();
88433
- (() => {
88434
- (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 });
88435
- })();
88436
- }
88437
- });
88438
-
88439
87394
  // src/app/components/british-columbia/british-columbia.component.ts
88440
87395
  function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
88441
87396
  if (rf & 1) {
@@ -88577,63 +87532,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88577
87532
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88578
87533
  }
88579
87534
  }
88580
- function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
88581
- if (rf & 1) {
88582
- const _r8 = \u0275\u0275getCurrentView();
88583
- \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
88584
- \u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
88585
- \u0275\u0275restoreView(_r8);
88586
- const ctx_r1 = \u0275\u0275nextContext(2);
88587
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
88588
- })("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
88589
- \u0275\u0275restoreView(_r8);
88590
- const ctx_r1 = \u0275\u0275nextContext(2);
88591
- return \u0275\u0275resetView(ctx_r1.onClose());
88592
- })("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
88593
- \u0275\u0275restoreView(_r8);
88594
- const ctx_r1 = \u0275\u0275nextContext(2);
88595
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
88596
- });
88597
- \u0275\u0275elementEnd();
88598
- }
88599
- if (rf & 2) {
88600
- const ctx_r1 = \u0275\u0275nextContext(2);
88601
- const taskData_r3 = \u0275\u0275readContextLet(0);
88602
- \u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
88603
- }
88604
- }
88605
- function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
88606
- if (rf & 1) {
88607
- const _r9 = \u0275\u0275getCurrentView();
88608
- \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
88609
- \u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
88610
- \u0275\u0275restoreView(_r9);
88611
- const ctx_r1 = \u0275\u0275nextContext(2);
88612
- return \u0275\u0275resetView(ctx_r1.close.emit());
88613
- })("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
88614
- \u0275\u0275restoreView(_r9);
88615
- const ctx_r1 = \u0275\u0275nextContext(2);
88616
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
88617
- });
88618
- \u0275\u0275elementEnd();
88619
- }
88620
- if (rf & 2) {
88621
- const ctx_r1 = \u0275\u0275nextContext(2);
88622
- const taskData_r3 = \u0275\u0275readContextLet(0);
88623
- \u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
88624
- }
88625
- }
88626
- function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
88627
- if (rf & 1) {
88628
- \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);
88629
- }
88630
- if (rf & 2) {
88631
- const ctx_r1 = \u0275\u0275nextContext();
88632
- \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
88633
- \u0275\u0275advance();
88634
- \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88635
- }
88636
- }
88637
87535
  var BritishColumbiaComponent;
88638
87536
  var init_british_columbia_component = __esm({
88639
87537
  "src/app/components/british-columbia/british-columbia.component.ts"() {
@@ -88646,7 +87544,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88646
87544
  init_british_columbia_form_enums();
88647
87545
  init_british_columbia_change_of_directors_form_helper();
88648
87546
  init_british_columbia_formation_form_helper();
88649
- init_british_columbia_change_of_office_addresses_form_helper();
88650
87547
  init_delta_state_service();
88651
87548
  init_common_utils();
88652
87549
  init_confirm_modal_component();
@@ -88655,8 +87552,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88655
87552
  init_change_of_directors_preview_form_component();
88656
87553
  init_british_columbia_incorporation_delta_form_component();
88657
87554
  init_british_columbia_incorporation_preview_form_component();
88658
- init_change_of_office_addresses_delta_form_component();
88659
- init_change_of_office_addresses_preview_form_component();
88660
87555
  init_core();
88661
87556
  BritishColumbiaComponent = class _BritishColumbiaComponent {
88662
87557
  task = input();
@@ -88674,17 +87569,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88674
87569
  saveFormationDeltaData = output();
88675
87570
  nextStep = output();
88676
87571
  prevStep = output();
88677
- // Change of Office Addresses outputs
88678
- coaValidate = output();
88679
- saveCoaDeltaData = output();
88680
- coaSubmit = output();
88681
87572
  dialog = inject(MatDialog);
88682
87573
  deltaState = inject(DeltaStateService);
88683
87574
  translate = inject(TranslateService);
88684
87575
  steps = Step;
88685
87576
  isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
88686
87577
  isFormationTask = isFormationTask2;
88687
- isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
88688
87578
  deltaForm = signal(new FormGroup({}));
88689
87579
  previewForm = signal(new FormGroup({}));
88690
87580
  constructor() {
@@ -88698,10 +87588,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88698
87588
  this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
88699
87589
  this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
88700
87590
  }
88701
- if (task && isChangeOfAddressTask(task)) {
88702
- this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
88703
- this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
88704
- }
88705
87591
  });
88706
87592
  effect(() => {
88707
87593
  const task = this.task();
@@ -88725,67 +87611,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88725
87611
  this.nextStep.emit();
88726
87612
  }
88727
87613
  }
88728
- if (task && isChangeOfAddressTask(task) && deltaData) {
88729
- const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
88730
- form.disable();
88731
- this.previewForm.set(form);
88732
- if (untracked2(() => this.activeStep()) === Step.Validate) {
88733
- this.nextStep.emit();
88734
- }
88735
- }
88736
- });
88737
- }
88738
- onChangeOfOfficeAddressesValidate() {
88739
- markFormGroupTouched(this.deltaForm());
88740
- this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
88741
- }
88742
- onChangeOfOfficeAddressesSave() {
88743
- const delta = this.generateChangeOfOfficeAddressesDeltaData();
88744
- this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
88745
- this.saveCoaDeltaData.emit(delta);
88746
- }
88747
- /** No certification step for this filing: "File" submits the staged draft directly. */
88748
- onChangeOfOfficeAddressesFile() {
88749
- this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
88750
- }
88751
- generateChangeOfOfficeAddressesDeltaData() {
88752
- const c = BCChangeOfOfficeAddressesFormControls;
88753
- const formData = this.deltaForm().getRawValue();
88754
- const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
88755
- const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
88756
- const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
88757
- const corporation = formData[BCChangeOfOfficeAddressesFormGroups.CorporationDetails];
88758
- const toAddress = (src) => ({
88759
- addressLine1: src?.[c.AddressLine1] ?? null,
88760
- addressLine2: src?.[c.AddressLine2] ?? null,
88761
- city: src?.[c.City] ?? null,
88762
- postalCode: src?.[c.PostalCode] ?? null,
88763
- province: src?.[c.Province] ?? null,
88764
- country: src?.[c.Country] ?? null
88765
87614
  });
88766
- const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
88767
- const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
88768
- const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
88769
- return {
88770
- referenceNumbers: {
88771
- referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
88772
- docketNumber: refNumbers?.[c.DocketNumber] ?? null
88773
- },
88774
- // Both are saved with the draft, as in the BC Incorporation Application.
88775
- companyEmail: corporation?.[c.CompanyEmail] ?? null,
88776
- companyPassword: corporation?.[c.CompanyPassword] ?? null,
88777
- registeredOffice: {
88778
- mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
88779
- deliverySameAsMailing: regDeliverySame,
88780
- deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
88781
- },
88782
- recordsOffice: {
88783
- sameAsRegisteredOffice: recSameAsRegistered,
88784
- mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
88785
- deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
88786
- deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
88787
- }
88788
- };
88789
87615
  }
88790
87616
  onChangeOfDirectorsValidate() {
88791
87617
  markFormGroupTouched(this.deltaForm());
@@ -88818,6 +87644,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88818
87644
  const c = BCChangeOfDirectorsFormControls;
88819
87645
  const formData = this.deltaForm().getRawValue();
88820
87646
  const refNumbers = formData[BCChangeOfDirectorsFormGroups.ReferenceNumbers];
87647
+ const corpDetails = formData[BCChangeOfDirectorsFormGroups.CorporationDetails];
88821
87648
  const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
88822
87649
  const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
88823
87650
  const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
@@ -88828,6 +87655,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88828
87655
  referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
88829
87656
  docketNumber: refNumbers?.[c.DocketNumber] ?? null
88830
87657
  },
87658
+ companyPassword: corpDetails?.[c.CompanyPassword] ?? null,
88831
87659
  filingDetails: {
88832
87660
  directorsAddedOrDeleted: addedOrDeleted,
88833
87661
  changeDate: addedOrDeleted ? filing?.[c.ChangeDate] ?? null : void 0
@@ -88839,7 +87667,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88839
87667
  annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
88840
87668
  };
88841
87669
  }
88842
- generateFormationDeltaData(termsAndConditions) {
87670
+ generateFormationDeltaData() {
88843
87671
  const formData = this.deltaForm().getRawValue();
88844
87672
  const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
88845
87673
  const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
@@ -88883,7 +87711,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88883
87711
  }
88884
87712
  onClose() {
88885
87713
  const task = this.task();
88886
- const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : task && isChangeOfAddressTask(task) ? !deepEqual(this.deltaState.bcChangeOfOfficeAddressesInitialDelta(), this.generateChangeOfOfficeAddressesDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
87714
+ const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
88887
87715
  if (!hasChanges) {
88888
87716
  this.close.emit();
88889
87717
  return;
@@ -88901,8 +87729,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88901
87729
  if (val) {
88902
87730
  if (task && isFormationTask2(task)) {
88903
87731
  this.onFormationSave();
88904
- } else if (task && isChangeOfAddressTask(task)) {
88905
- this.onChangeOfOfficeAddressesSave();
88906
87732
  } else {
88907
87733
  this.onChangeOfDirectorsSave();
88908
87734
  }
@@ -88913,27 +87739,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88913
87739
  static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
88914
87740
  return new (__ngFactoryType__ || _BritishColumbiaComponent)();
88915
87741
  };
88916
- 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", coaValidate: "coaValidate", saveCoaDeltaData: "saveCoaDeltaData", coaSubmit: "coaSubmit" }, decls: 4, vars: 4, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "prev", "close", "confirm", "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) {
87742
+ 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" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "prev", "close", "confirm", "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) {
88917
87743
  if (rf & 1) {
88918
87744
  \u0275\u0275declareLet(0);
88919
- \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
87745
+ \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
88920
87746
  }
88921
87747
  if (rf & 2) {
88922
- const taskData_r10 = \u0275\u0275storeLet(ctx.task());
87748
+ const taskData_r8 = \u0275\u0275storeLet(ctx.task());
88923
87749
  \u0275\u0275advance();
88924
- \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r10) ? 1 : -1);
87750
+ \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r8) ? 1 : -1);
88925
87751
  \u0275\u0275advance();
88926
- \u0275\u0275conditional(ctx.isFormationTask(taskData_r10) ? 2 : -1);
88927
- \u0275\u0275advance();
88928
- \u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r10) ? 3 : -1);
87752
+ \u0275\u0275conditional(ctx.isFormationTask(taskData_r8) ? 2 : -1);
88929
87753
  }
88930
87754
  }, dependencies: [
88931
87755
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
88932
87756
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
88933
87757
  BritishColumbiaIncorporationDeltaFormComponent,
88934
87758
  BritishColumbiaIncorporationPreviewFormComponent,
88935
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
88936
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
88937
87759
  TermsAndConditionsComponent
88938
87760
  ], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
88939
87761
  };
@@ -88945,14 +87767,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88945
87767
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
88946
87768
  BritishColumbiaIncorporationDeltaFormComponent,
88947
87769
  BritishColumbiaIncorporationPreviewFormComponent,
88948
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
88949
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
88950
87770
  TermsAndConditionsComponent
88951
- ], 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"] }]
87771
+ ], 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', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
88952
87772
  }], () => [], null);
88953
87773
  })();
88954
87774
  (() => {
88955
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 75 });
87775
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 65 });
88956
87776
  })();
88957
87777
  }
88958
87778
  });
@@ -90323,7 +89143,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
90323
89143
  const isNumberedCompany = ext._numbered_company;
90324
89144
  const config2 = {};
90325
89145
  const corporateName = delta?.corporateName;
90326
- const directors = (task.entity.affiliations ?? []).filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director");
89146
+ const directors = getIndividualDirectors(task.entity.affiliations ?? []);
90327
89147
  if (directors.length) {
90328
89148
  const deltaDirectorsMap = delta?.directors;
90329
89149
  const directorGroups = directors.map((director) => {
@@ -90904,7 +89724,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
90904
89724
  }
90905
89725
  });
90906
89726
  effect(() => {
90907
- const directors = (this.task()?.entity.affiliations ?? []).filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director") ?? [];
89727
+ const directors = getIndividualDirectors(this.task()?.entity.affiliations ?? []);
90908
89728
  const directorOptions = directors.map((director) => ({ label: getPersonName(director.participant), value: director.participant._id }));
90909
89729
  this.federalFormationFormInviteDirectorsToBeManagersControl = generateFederalFormationFormInviteDirectorsToBeManagersControl(directorOptions);
90910
89730
  });
@@ -91079,11 +89899,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
91079
89899
  exclusionReason.updateValueAndValidity({ emitEvent: false });
91080
89900
  }
91081
89901
  getSelectableIndividualsWithSignificantControl(affiliations) {
91082
- const significantControlAffiliations = getIndividualWithSignificantControl(affiliations);
91083
- if (significantControlAffiliations.length) {
91084
- return significantControlAffiliations;
91085
- }
91086
- return affiliations.filter((a) => isPrincipalAffiliation2(a) && a._participant.participant_type === "person" && !["Contact", "Agent", "Responsible"].includes(a.role?.role_name ?? ""));
89902
+ return getIndividualWithSignificantControl(affiliations);
91087
89903
  }
91088
89904
  getFormArray(key) {
91089
89905
  return this.form().get(key);
@@ -91432,7 +90248,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
91432
90248
  }], () => [], null);
91433
90249
  })();
91434
90250
  (() => {
91435
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 75 });
90251
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 76 });
91436
90252
  })();
91437
90253
  }
91438
90254
  });
@@ -93425,7 +92241,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93425
92241
  searchOrFilingType,
93426
92242
  serviceOrderId,
93427
92243
  validatedOn: /* @__PURE__ */ new Date(),
93428
- provider: "obr",
92244
+ provider: getFilingProvider(signature.task),
93429
92245
  draftPdf: payload.ReceiptPdf,
93430
92246
  documentName: "Incorporation Receipt",
93431
92247
  documentType: "pdf"
@@ -93976,7 +92792,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93976
92792
  const mailingAddressUid = deltaData.registeredOfficeAddress?.mailingAddressForCorrespondenceUid;
93977
92793
  const mailingAddress = useDifferentMailingAddress ? task.entity.addresses.find((address) => address.uid === mailingAddressUid) : void 0;
93978
92794
  const registeredOfficeAddress = findRegisteredOfficeAddress(task);
93979
- const directors = task.entity.affiliations.filter((aff) => aff.kind === "PrincipalAffiliationV3" && aff.role.role_name === DirectorRole.DIRECTOR);
92795
+ const directors = getIndividualDirectors(task.entity.affiliations);
93980
92796
  const incorporators = task._ext._incorporators ?? [];
93981
92797
  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];
93982
92798
  const officialBusinessEmail = registeredOfficeAddress?.communications?.find((c) => c.type === "Business Email")?.value;
@@ -94288,7 +93104,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94288
93104
  }
94289
93105
  var init_federal_formation_mapper = __esm({
94290
93106
  "src/app/helpers/mappers/federal-formation.mapper.ts"() {
94291
- init_ECoreInterfaces();
94292
93107
  init_transform_utils();
94293
93108
  init_address_utils();
94294
93109
  init_common_utils();
@@ -95176,6 +93991,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95176
93991
  setConfig(config2) {
95177
93992
  this.config = config2;
95178
93993
  }
93994
+ ensureCurrentDataExtract(_0, _1) {
93995
+ return __async(this, arguments, function* (signature, order, opts = {}) {
93996
+ ensureAuthInputs(signature);
93997
+ const fetchFn = opts.fetchImpl ?? fetch;
93998
+ const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
93999
+ const orderResponse = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
94000
+ "x-target-url": `${dataExtractUrl}/order`
94001
+ }, opts.headers ?? {})));
94002
+ const orderPayload = yield this.readJson(orderResponse, "BC current data extract order");
94003
+ const orderId = orderPayload.currentDataServiceOrderId;
94004
+ if (!orderResponse.ok || !orderId || orderPayload.status === "failed") {
94005
+ throw buildGenericError(orderResponse.status, "BC current data extract order failed", orderPayload);
94006
+ }
94007
+ const extractResponse = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
94008
+ method: "GET",
94009
+ headers: __spreadValues({
94010
+ Authorization: `Bearer ${signature.jwtToken}`,
94011
+ "x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
94012
+ }, opts.headers ?? {})
94013
+ }));
94014
+ const extractPayload = yield this.readJson(extractResponse, "BC current data extract");
94015
+ if (!extractResponse.ok || extractPayload.status !== "success") {
94016
+ throw buildGenericError(extractResponse.status, "BC current data extract failed", extractPayload);
94017
+ }
94018
+ return orderId;
94019
+ });
94020
+ }
95179
94021
  validate(_0, _1) {
95180
94022
  return __async(this, arguments, function* (signature, requestBody, opts = {}) {
95181
94023
  ensureAuthInputs(signature);
@@ -95193,7 +94035,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95193
94035
  throw err2;
95194
94036
  }
95195
94037
  const payload = unwrapRequestResults(parsed.value);
95196
- if (resp.ok && !payload.Errors?.length) {
94038
+ const responseErrors = payload.Errors ?? payload.errors ?? [];
94039
+ payload.Errors = responseErrors;
94040
+ if (resp.ok && !responseErrors.length) {
95197
94041
  return payload;
95198
94042
  }
95199
94043
  const err = buildValidationError(resp.status, payload);
@@ -95254,6 +94098,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95254
94098
  throw err;
95255
94099
  });
95256
94100
  }
94101
+ readJson(response, description) {
94102
+ return __async(this, null, function* () {
94103
+ const raw = yield response.text();
94104
+ const parsed = tryParseJson(raw);
94105
+ if (!parsed.ok)
94106
+ throw new Error(`${description} returned ${response.status} ${response.statusText}.`);
94107
+ return unwrapRequestResults(parsed.value);
94108
+ });
94109
+ }
95257
94110
  getOnbisOrigin() {
95258
94111
  const filingUrl = this.config?.BCFiling;
95259
94112
  if (!filingUrl) {
@@ -95278,7 +94131,28 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95278
94131
  });
95279
94132
 
95280
94133
  // src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
95281
- function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
94134
+ function getBritishColumbiaAccessCode(task, password) {
94135
+ return password?.trim() || task.entity._profile.registry_id?.trim() || "";
94136
+ }
94137
+ function buildBritishColumbiaDataExtractOrder(task, password) {
94138
+ const incorporationDate = toYyyyMmDd(task.entity._compliance.incorporation_date) ?? "";
94139
+ const request = {
94140
+ corporationNumber: task.entity._profile.corp_number?.trim() ?? "",
94141
+ accessCodeOrPassword: getBritishColumbiaAccessCode(task, password),
94142
+ incorporationDate: /^\d{4}-\d{2}-\d{2}$/.test(incorporationDate) ? incorporationDate : "",
94143
+ filingType: "changeOfDirectorsFiling"
94144
+ };
94145
+ const issues = [];
94146
+ if (!request.corporationNumber)
94147
+ issues.push("The corporation number is missing on the entity.");
94148
+ if (!/^[A-Za-z0-9]+$/.test(request.accessCodeOrPassword)) {
94149
+ issues.push("The company's BC Online access code or password is missing or invalid.");
94150
+ }
94151
+ if (!request.incorporationDate)
94152
+ issues.push("The incorporation date is missing on the entity.");
94153
+ return { request, issues };
94154
+ }
94155
+ function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId) {
95282
94156
  const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
95283
94157
  const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
95284
94158
  const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
@@ -95286,21 +94160,28 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95286
94160
  const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
95287
94161
  const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
95288
94162
  const companyEmail = findCompanyEmail(task);
95289
- const serviceOrderId = deltaData.serviceOrderId;
95290
- return __spreadValues({
94163
+ const addDirectors = (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation));
94164
+ const ceaseDirectors = (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildCeasedDirector(affiliation));
94165
+ return {
95291
94166
  filingType: "changeOfDirectorsFiling",
95292
- filing: {
94167
+ currentDataServiceOrderId,
94168
+ filing: __spreadProps(__spreadValues({
94169
+ corporationNumber: task.entity._profile.corp_number ?? "",
94170
+ accessCodeOrPassword: getBritishColumbiaAccessCode(task, deltaData.companyPassword),
95293
94171
  reference: deltaData.referenceNumbers.referenceNumber ?? null,
95294
- docket: deltaData.referenceNumbers.docketNumber ?? null,
95295
- addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
95296
- effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
95297
- addDirectors: (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation)),
95298
- ceaseDirectors: (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildDirector(affiliation)),
94172
+ docket: deltaData.referenceNumbers.docketNumber ?? null
94173
+ }, addDirectors.length || ceaseDirectors.length ? { effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()) } : {}), {
94174
+ addDirectors,
94175
+ ceaseDirectors,
95299
94176
  editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
95300
94177
  companyEmail,
95301
94178
  isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
95302
- }
95303
- }, serviceOrderId ? { ServiceOrderId: serviceOrderId } : {});
94179
+ })
94180
+ };
94181
+ }
94182
+ function buildCeasedDirector(affiliation) {
94183
+ const _a = buildDirector(affiliation), { isDeliveryAddressSameAsMailing: _same } = _a, director = __objRest(_a, ["isDeliveryAddressSameAsMailing"]);
94184
+ return __spreadProps(__spreadValues({}, director), { deliveryAddress: director.deliveryAddress ?? director.mailingAddress });
95304
94185
  }
95305
94186
  function isDirectorAffiliation(affiliation) {
95306
94187
  return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
@@ -95321,38 +94202,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95321
94202
  const addresses = getAffiliationAddresses(affiliation);
95322
94203
  const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
95323
94204
  const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
94205
+ const isSameAsMailing = isDeliveryAddressSameAsMailing(addresses);
95324
94206
  return {
95325
94207
  firstName: profile.firstName ?? "",
95326
94208
  middleName: profile.middleName ?? "",
95327
94209
  lastName: profile.lastName ?? "",
95328
94210
  mailingAddress,
95329
- deliveryAddress,
95330
- isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
94211
+ deliveryAddress: isSameAsMailing ? void 0 : deliveryAddress,
94212
+ isDeliveryAddressSameAsMailing: isSameAsMailing
95331
94213
  };
95332
94214
  }
95333
94215
  function mapAddress4(address) {
95334
- if (!address)
95335
- return void 0;
95336
- const raw = address;
95337
- const postalAddress = raw.PostalAddress ?? raw.postalAddress;
95338
- const source = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? raw;
95339
- const streetNumber = address.components?.find((component) => component.name === "Street Number Only")?.value;
95340
- const streetName = address.components?.find((component) => component.name === "Street Only")?.value;
95341
- const suite = address.components?.find((component) => component.name === "Suite/Apartment")?.value;
95342
- const streetAddress = [streetNumber, streetName].filter(Boolean).join(" ") || address.components?.find((component) => component.name === "Street Address")?.value || source.streetAddress || source.Address1 || raw.street || "";
95343
- const country = source.country ?? source.CountryCodeName ?? raw.country ?? "";
95344
- const postal = source.postalOrZipCode ?? source.PostCode ?? source.postalZip ?? raw.postal_zip ?? "";
95345
- return {
95346
- streetAddress: [streetAddress, suite].filter(Boolean).join(", "),
95347
- city: source.city ?? source.CityTown ?? raw.city ?? "",
95348
- provinceState: source.provinceState ?? source.RegionName ?? raw.province_state ?? "",
95349
- country,
95350
- postalOrZipCode: country === "CA" ? normalizeCanadianPostal(postal) : postal
95351
- };
95352
- }
95353
- function normalizeCanadianPostal(value) {
95354
- const compact = value.replace(/[\s-]+/g, "").toUpperCase();
95355
- return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : value;
94216
+ return address ? mapAddress(address) : void 0;
95356
94217
  }
95357
94218
  function findCompanyEmail(task) {
95358
94219
  const affiliations = task.entity.affiliations ?? [];
@@ -95371,297 +94232,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95371
94232
  "src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
95372
94233
  init_BritishColumbiaConstants();
95373
94234
  init_common_models();
94235
+ init_british_columbia_formation_mapper();
95374
94236
  init_british_columbia_formation_form_helper();
95375
94237
  init_common_utils();
95376
94238
  }
95377
94239
  });
95378
94240
 
95379
- // src/app/services/british-columbia/british-columbia-maintenance.service.ts
95380
- var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
95381
- var init_british_columbia_maintenance_service = __esm({
95382
- "src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
95383
- init_core();
95384
- init_common_utils();
95385
- init_core();
95386
- MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
95387
- TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
95388
- DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
95389
- DEFAULT_EXTRACT_POLL = { intervalMs: 2e3, timeoutMs: 9e4 };
95390
- DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 12e4 };
95391
- BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
95392
- config;
95393
- setConfig(config2) {
95394
- this.config = config2;
95395
- }
95396
- /** Orders the registry's current data for the corporation; returns the extract's id. */
95397
- orderCurrentDataExtract(_0, _1) {
95398
- return __async(this, arguments, function* (signature, context2, opts = {}) {
95399
- const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
95400
- corporationNumber: context2.corporationNumber,
95401
- accessCodeOrPassword: context2.accessCodeOrPassword,
95402
- incorporationDate: context2.incorporationDate,
95403
- filingType: "changeOfAddressFiling"
95404
- }, opts);
95405
- const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
95406
- if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
95407
- throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
95408
- }
95409
- return String(id);
95410
- });
95411
- }
95412
- /** Polls the extract until the registry has it ready (`success`). */
95413
- waitForCurrentDataExtract(_0, _1) {
95414
- return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
95415
- const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
95416
- const deadline = Date.now() + timeoutMs;
95417
- for (; ; ) {
95418
- const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
95419
- const state2 = String(body?.status ?? "").toLowerCase();
95420
- if (ok && state2 === "success") {
95421
- return;
95422
- }
95423
- if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95424
- throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
95425
- }
95426
- if (Date.now() >= deadline) {
95427
- throw new Error("The registry has not returned the current data yet. Please try again in a moment.");
95428
- }
95429
- yield this.sleep(intervalMs);
95430
- }
95431
- });
95432
- }
95433
- /**
95434
- * Validates the filing against the extract and returns the draft. `context` supplies the
95435
- * corporation number and password; they are added here so they never become part of the
95436
- * saved request used to detect Entity changes.
95437
- */
95438
- validate(_0, _1, _2, _3) {
95439
- return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
95440
- const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
95441
- currentDataServiceOrderId: extractId,
95442
- filingType: requestBody.filingType,
95443
- filing: __spreadProps(__spreadValues({}, requestBody.filing), {
95444
- corporationNumber: context2.corporationNumber,
95445
- accessCodeOrPassword: context2.accessCodeOrPassword
95446
- })
95447
- }, opts);
95448
- if (body === null) {
95449
- throw this.failure(status, "eCore validation failed", body, raw);
95450
- }
95451
- const result = this.normalize(unwrapRequestResults(body));
95452
- if (ok && !this.hasFailed(result)) {
95453
- return result;
95454
- }
95455
- const err = new Error(this.describeFailure(status, "eCore validation failed", result));
95456
- err.validateResult = result;
95457
- err.httpStatus = status;
95458
- throw err;
95459
- });
95460
- }
95461
- /**
95462
- * Submits the staged filing, then waits for the registry's result. Resolves once the filing
95463
- * is `success` (or its documents are pending); throws if it `failed`. If the registry is
95464
- * still `processing` when the wait ends, the filing is already submitted, so it resolves
95465
- * with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
95466
- */
95467
- submitAndWait(_0, _1) {
95468
- return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
95469
- if (!serviceOrderId) {
95470
- throw new Error("Missing serviceOrderId.");
95471
- }
95472
- const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
95473
- if (!submitted.ok || this.normalize(submitted.body).Status === "Failure") {
95474
- const result = this.normalize(submitted.body);
95475
- const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", result));
95476
- err.submitResult = result;
95477
- err.httpStatus = submitted.status;
95478
- throw err;
95479
- }
95480
- const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
95481
- const deadline = Date.now() + timeoutMs;
95482
- let processing = true;
95483
- let files;
95484
- while (processing) {
95485
- const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
95486
- const state2 = String(body?.status ?? "").toLowerCase();
95487
- if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
95488
- files = body?.files;
95489
- processing = false;
95490
- break;
95491
- }
95492
- if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95493
- throw this.failure(status, "The registry could not complete the filing", body, raw);
95494
- }
95495
- if (Date.now() >= deadline) {
95496
- break;
95497
- }
95498
- yield this.sleep(intervalMs);
95499
- }
95500
- signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
95501
- return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
95502
- });
95503
- }
95504
- getBaseUrl(env) {
95505
- const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
95506
- if (!baseUrl) {
95507
- throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
95508
- }
95509
- return baseUrl;
95510
- }
95511
- /** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
95512
- send(signature, method, path, payload, opts) {
95513
- return __async(this, null, function* () {
95514
- ensureAuthInputs(signature);
95515
- const fetchFn = opts.fetchImpl ?? fetch;
95516
- const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
95517
- const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
95518
- const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
95519
- method,
95520
- headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
95521
- }));
95522
- const raw = yield resp.text();
95523
- const parsed = tryParseJson(raw);
95524
- const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
95525
- return { status: resp.status, ok: resp.ok, body, raw };
95526
- });
95527
- }
95528
- failure(status, prefix, body, raw) {
95529
- const result = body ? this.normalize(body) : void 0;
95530
- const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
95531
- const err = new Error(message);
95532
- err.httpStatus = status;
95533
- return err;
95534
- }
95535
- sleep(ms) {
95536
- return new Promise((resolve) => setTimeout(resolve, ms));
95537
- }
95538
- /**
95539
- * Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
95540
- * (`failed` and any other non-success value are failures). When a failure carries no
95541
- * `errors`, `additionalInformation` is used as the error messages.
95542
- */
95543
- normalize(body) {
95544
- const rawErrors = body?.errors ?? body?.Errors ?? [];
95545
- const errors = rawErrors.map((e) => ({
95546
- Code: e?.code ?? e?.Code,
95547
- Message: e?.message ?? e?.Message ?? e?.ErrorMessage
95548
- }));
95549
- const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
95550
- const succeeded = status === "success" || status === "alreadysubmitted";
95551
- if (!succeeded && !errors.length) {
95552
- const additional = body?.additionalInformation ?? [];
95553
- errors.push(...additional.map((Message) => ({ Message })));
95554
- }
95555
- return {
95556
- Status: succeeded ? "Success" : "Failure",
95557
- ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
95558
- Draft: body?.draft ?? body?.Draft,
95559
- Errors: errors
95560
- };
95561
- }
95562
- /** A body-level failure: the normalised status is `Failure` or errors were returned. */
95563
- hasFailed(result) {
95564
- return result.Status === "Failure" || Boolean(result.Errors?.length);
95565
- }
95566
- describeFailure(httpStatus, prefix, result) {
95567
- const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
95568
- return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
95569
- }
95570
- static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
95571
- return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
95572
- };
95573
- static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
95574
- };
95575
- (() => {
95576
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
95577
- type: Injectable,
95578
- args: [{
95579
- providedIn: "root"
95580
- }]
95581
- }], null, null);
95582
- })();
95583
- }
95584
- });
95585
-
95586
- // src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
95587
- function formatPostalCode(value) {
95588
- const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
95589
- return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
95590
- }
95591
- function toEcoreAddress(address) {
95592
- const line2 = clean(address?.addressLine2);
95593
- return __spreadProps(__spreadValues({
95594
- streetAddress: clean(address?.addressLine1)
95595
- }, line2 ? { additionalStreetAddress: line2 } : {}), {
95596
- city: clean(address?.city),
95597
- provinceOrState: BC_PROVINCE_CODE,
95598
- postalOrZipCode: formatPostalCode(address?.postalCode),
95599
- country: CANADA_COUNTRY_CODE
95600
- });
95601
- }
95602
- function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
95603
- const registered = deltaData.registeredOffice;
95604
- const records = deltaData.recordsOffice;
95605
- const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
95606
- const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
95607
- const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
95608
- const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
95609
- const filing = {
95610
- registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
95611
- isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
95612
- isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
95613
- isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
95614
- // The email the user confirmed in the form; the entity's Business Email when none was saved.
95615
- companyEmail: clean(deltaData.companyEmail) || BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
95616
- // Not captured on this form; the reminder preference is not changed by an address filing.
95617
- isAnnualReportReminderRequired: false
95618
- };
95619
- const reference = clean(deltaData.referenceNumbers?.referenceNumber);
95620
- const docket = clean(deltaData.referenceNumbers?.docketNumber);
95621
- if (reference) {
95622
- filing.reference = reference;
95623
- }
95624
- if (docket) {
95625
- filing.docket = docket;
95626
- }
95627
- if (!registeredDeliverySame) {
95628
- filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
95629
- }
95630
- if (!recordsSameAsRegistered) {
95631
- filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
95632
- }
95633
- if (!recordsDeliverySame) {
95634
- filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
95635
- }
95636
- return { filingType: "changeOfAddressFiling", filing };
95637
- }
95638
- function findBCChangeOfOfficeAddressesRequestIssues(request, companyPassword) {
95639
- const issues = [];
95640
- const email = request.filing.companyEmail?.trim() ?? "";
95641
- if (!email) {
95642
- issues.push("Company Email is required. Enter it in Corporation Details.");
95643
- } else if (email.length > BC_COMPANY_EMAIL_MAX_LENGTH) {
95644
- issues.push(`Company Email must be ${BC_COMPANY_EMAIL_MAX_LENGTH} characters or fewer.`);
95645
- } else if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
95646
- issues.push("Company Email is not a valid email address. Correct it in Corporation Details.");
95647
- }
95648
- const password = companyPassword ?? "";
95649
- if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !BC_PASSWORD_PATTERN.test(password)) {
95650
- issues.push(`Company Password must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Enter it in Corporation Details.`);
95651
- }
95652
- return issues;
95653
- }
95654
- var BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
95655
- var init_british_columbia_change_of_office_addresses_mapper = __esm({
95656
- "src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
95657
- init_BritishColumbiaConstants();
95658
- init_british_columbia_change_of_office_addresses_form_helper();
95659
- BC_PROVINCE_CODE = "BC";
95660
- CANADA_COUNTRY_CODE = "CA";
95661
- clean = (value) => (value ?? "").trim();
95662
- }
95663
- });
95664
-
95665
94241
  // src/app/components/filing/filing.component.ts
95666
94242
  function FilingComponent_Conditional_7_Template(rf, ctx) {
95667
94243
  if (rf & 1) {
@@ -95761,18 +94337,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95761
94337
  \u0275\u0275restoreView(_r6);
95762
94338
  const ctx_r2 = \u0275\u0275nextContext(2);
95763
94339
  return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
95764
- })("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
95765
- \u0275\u0275restoreView(_r6);
95766
- const ctx_r2 = \u0275\u0275nextContext(2);
95767
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
95768
- })("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
95769
- \u0275\u0275restoreView(_r6);
95770
- const ctx_r2 = \u0275\u0275nextContext(2);
95771
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
95772
- })("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
95773
- \u0275\u0275restoreView(_r6);
95774
- const ctx_r2 = \u0275\u0275nextContext(2);
95775
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
95776
94340
  })("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
95777
94341
  \u0275\u0275restoreView(_r6);
95778
94342
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -95888,8 +94452,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95888
94452
  init_delta_state_service();
95889
94453
  init_british_columbia_change_of_directors_service();
95890
94454
  init_british_columbia_change_of_directors_mapper();
95891
- init_british_columbia_maintenance_service();
95892
- init_british_columbia_change_of_office_addresses_mapper();
95893
94455
  init_core();
95894
94456
  init_button();
95895
94457
  FilingComponent = class _FilingComponent {
@@ -95946,7 +94508,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95946
94508
  federalUpdateMaintainService = inject(FederalUpdateMaintainService);
95947
94509
  updateMaintainService = inject(OntarioUpdateMaintainService);
95948
94510
  britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
95949
- bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
95950
94511
  translate = inject(TranslateService);
95951
94512
  isEditButton = computed(() => {
95952
94513
  const task = this.task();
@@ -95988,9 +94549,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95988
94549
  if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
95989
94550
  return "File British Columbia Notice of Change of Directors";
95990
94551
  }
95991
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
95992
- return "File British Columbia Change of Office Addresses";
95993
- }
95994
94552
  return "";
95995
94553
  });
95996
94554
  constructor() {
@@ -96003,7 +94561,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96003
94561
  this.bcFormationService.setConfig(config2);
96004
94562
  this.federalUpdateMaintainService.setConfig(config2);
96005
94563
  this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
96006
- this.bcMaintenanceService.setConfig(config2);
96007
94564
  }
96008
94565
  });
96009
94566
  addStylesVariables();
@@ -96110,7 +94667,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96110
94667
  searchOrFilingType,
96111
94668
  serviceOrderId: response["ServiceOrderId"] ?? "",
96112
94669
  validatedOn: /* @__PURE__ */ new Date(),
96113
- provider: "obr",
94670
+ provider: getFilingProvider(signature.task),
96114
94671
  draftPdf: response.Draft ?? "",
96115
94672
  documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
96116
94673
  documentType: "pdf"
@@ -96152,8 +94709,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96152
94709
  try {
96153
94710
  this.isLoading.set(true);
96154
94711
  this.errors.set([]);
96155
- const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData);
96156
- const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, this.validateOptions() ?? {});
94712
+ const options = this.validateOptions() ?? {};
94713
+ const { request: extractOrder, issues } = buildBritishColumbiaDataExtractOrder(task, deltaData.companyPassword);
94714
+ if (issues.length) {
94715
+ this.errors.set(issues);
94716
+ return;
94717
+ }
94718
+ const currentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, extractOrder, options);
94719
+ const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId);
94720
+ const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, options);
96157
94721
  if (this.hasResponseErrors(response))
96158
94722
  return;
96159
94723
  const serviceOrderId = response.ServiceOrderId ?? "";
@@ -96162,7 +94726,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96162
94726
  searchOrFilingType: getSearchOrFilingType(task),
96163
94727
  serviceOrderId,
96164
94728
  validatedOn: /* @__PURE__ */ new Date(),
96165
- provider: "obr",
94729
+ provider: getFilingProvider(task),
96166
94730
  draftPdf: response.Draft,
96167
94731
  documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
96168
94732
  documentType: "pdf"
@@ -96243,7 +94807,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96243
94807
  searchOrFilingType,
96244
94808
  serviceOrderId,
96245
94809
  validatedOn: /* @__PURE__ */ new Date(),
96246
- provider: "bcreg",
94810
+ provider: getFilingProvider(signature.task),
96247
94811
  draftPdf: response.Draft ?? "",
96248
94812
  documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
96249
94813
  documentType: "pdf"
@@ -96302,103 +94866,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96302
94866
  }
96303
94867
  });
96304
94868
  }
96305
- /**
96306
- * British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
96307
- * to eCore, hands the draft PDF to the host, and saves the delta together with the
96308
- * ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
96309
- */
96310
- onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
96311
- return __async(this, null, function* () {
96312
- const task = this.task();
96313
- const signature = this._signature();
96314
- try {
96315
- if (!task || !signature) {
96316
- throw new Error("The filing is not ready yet. Please try again.");
96317
- }
96318
- const companyPassword = deltaData.companyPassword ?? "";
96319
- const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96320
- const issues = findBCChangeOfOfficeAddressesRequestIssues(requestBody, companyPassword);
96321
- if (issues.length) {
96322
- this.errors.set(issues);
96323
- return;
96324
- }
96325
- const corporationNumber = task.entity._profile.corp_number;
96326
- const incorporationDate = String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10);
96327
- if (!corporationNumber) {
96328
- throw new Error("The entity has no Incorporation Number. Add it to the entity before filing.");
96329
- }
96330
- if (!/^\d{4}-\d{2}-\d{2}$/.test(incorporationDate)) {
96331
- throw new Error("The entity has no incorporation date. Add it to the entity before filing.");
96332
- }
96333
- this.isLoading.set(true);
96334
- this.errors.set([]);
96335
- const opts = this.validateOptions() ?? {};
96336
- const context2 = { corporationNumber, accessCodeOrPassword: companyPassword, incorporationDate };
96337
- const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
96338
- yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
96339
- const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
96340
- if (this.hasResponseErrors(response))
96341
- return;
96342
- const serviceOrderId = response.ServiceOrderId ?? "";
96343
- const draftPdf = response.Draft ?? "";
96344
- const searchOrFilingType = getSearchOrFilingType(task);
96345
- if (draftPdf && searchOrFilingType) {
96346
- this.filingValidateSuccess.emit({
96347
- searchOrFilingType,
96348
- serviceOrderId,
96349
- validatedOn: /* @__PURE__ */ new Date(),
96350
- provider: "obr",
96351
- draftPdf,
96352
- documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
96353
- documentType: "pdf"
96354
- });
96355
- }
96356
- this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
96357
- serviceOrderId,
96358
- validatedData: JSON.parse(JSON.stringify(requestBody))
96359
- }));
96360
- this.close.emit();
96361
- } catch (response) {
96362
- this.handleCatchError(response);
96363
- } finally {
96364
- this.isLoading.set(false);
96365
- }
96366
- });
96367
- }
96368
- /**
96369
- * British Columbia Change of Office Addresses save – propagates delta data to the host.
96370
- */
96371
- onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
96372
- const oldDeltaData = this.task()?.deltaData;
96373
- if (oldDeltaData) {
96374
- delete this.task()?.deltaData;
96375
- }
96376
- this.deltaDataChange.emit(deltaData);
96377
- }
96378
- /**
96379
- * British Columbia Change of Office Addresses submit/file: submits the filing staged by
96380
- * "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
96381
- */
96382
- onBritishColumbiaChangeOfOfficeAddressesSubmit() {
96383
- return __async(this, null, function* () {
96384
- const signature = this._signature();
96385
- const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
96386
- if (!signature || !serviceOrderId) {
96387
- this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
96388
- return;
96389
- }
96390
- try {
96391
- this.isLoading.set(true);
96392
- this.errors.set([]);
96393
- yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
96394
- this.close.emit();
96395
- } catch (response) {
96396
- this.handleCatchError(response);
96397
- } finally {
96398
- this.isLoading.set(false);
96399
- }
96400
- });
96401
- }
96402
94869
  /**
96403
94870
  * Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
96404
94871
  */
@@ -96454,7 +94921,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96454
94921
  searchOrFilingType,
96455
94922
  serviceOrderId,
96456
94923
  validatedOn: /* @__PURE__ */ new Date(),
96457
- provider: "obr",
94924
+ provider: getFilingProvider(task),
96458
94925
  draftPdf,
96459
94926
  documentName: this.validateOptions()?.documentName ?? "Federal Draft",
96460
94927
  documentType: "pdf"
@@ -96625,14 +95092,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96625
95092
  this.activeStep.set(Step.Validate);
96626
95093
  }
96627
95094
  parseError(errors) {
96628
- return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? "").toString().trim()).filter((message) => message.length > 0);
95095
+ return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? item["message"] ?? item["code"] ?? "").toString().trim()).filter((message) => message.length > 0);
95096
+ }
95097
+ getResponseErrors(response) {
95098
+ return response?.Errors ?? response?.errors ?? [];
96629
95099
  }
96630
95100
  /**
96631
95101
  * Checks a successful response for validation errors.
96632
95102
  * Returns true if errors were found (and sets them), false otherwise.
96633
95103
  */
96634
95104
  hasResponseErrors(response) {
96635
- const errors = response?.["Errors"] ?? response?.Errors;
95105
+ const errors = this.getResponseErrors(response);
96636
95106
  if (errors?.length) {
96637
95107
  this.errors.set(this.parseError(errors));
96638
95108
  return true;
@@ -96643,7 +95113,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96643
95113
  * Extracts and sets validation errors from a caught exception.
96644
95114
  */
96645
95115
  handleCatchError(response) {
96646
- const validateErrors = (response?.validateResult || response?.submitResult)?.["Errors"];
95116
+ const result = response?.validateResult || response?.submitResult;
95117
+ const validateErrors = this.getResponseErrors(result);
96647
95118
  if (validateErrors?.length) {
96648
95119
  const messages = this.parseError(validateErrors);
96649
95120
  if (messages.length) {
@@ -96662,12 +95133,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96662
95133
  } catch {
96663
95134
  parsed = void 0;
96664
95135
  }
96665
- const errors = parsed?.validateResult?.["Errors"];
95136
+ const errors = this.getResponseErrors(parsed?.validateResult ?? parsed?.submitResult);
96666
95137
  if (errors?.length) {
96667
95138
  this.errors.set(this.parseError(errors));
96668
95139
  return;
96669
95140
  }
96670
- const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
95141
+ const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
96671
95142
  this.errors.set([fallbackMessage]);
96672
95143
  }
96673
95144
  onClose() {
@@ -96734,8 +95205,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96734
95205
  let initialDelta;
96735
95206
  if (isFormationTask2(task)) {
96736
95207
  initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
96737
- } else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96738
- initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
96739
95208
  } else if (isUpdateMaintain(task)) {
96740
95209
  initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
96741
95210
  } else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
@@ -96769,9 +95238,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96769
95238
  }
96770
95239
  return federalPayload;
96771
95240
  }
96772
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96773
- return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96774
- }
96775
95241
  if (isUpdateMaintain(task) && isOntarioTask(task)) {
96776
95242
  const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
96777
95243
  if (!serviceOrderId) {
@@ -96800,7 +95266,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96800
95266
  if (rf & 2) {
96801
95267
  \u0275\u0275styleProp("height", ctx.modalHeight());
96802
95268
  }
96803
- }, 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", "coaValidate", "saveCoaDeltaData", "coaSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
95269
+ }, 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", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
96804
95270
  if (rf & 1) {
96805
95271
  const _r1 = \u0275\u0275getCurrentView();
96806
95272
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
@@ -96909,9 +95375,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96909
95375
  (codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
96910
95376
  (saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
96911
95377
  (codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
96912
- (coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
96913
- (saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
96914
- (coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
96915
95378
  (formationValidate)="onBritishColumbiaFormationValidate($event)"\r
96916
95379
  (saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
96917
95380
  (formationSubmit)="onBritishColumbiaFormationSubmit()"\r
@@ -96941,11 +95404,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96941
95404
  </div>\r
96942
95405
  }\r
96943
95406
  </div>\r
96944
- </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'] }]
95407
+ </div>\r
95408
+ `, 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'] }]
96945
95409
  }], () => [], null);
96946
95410
  })();
96947
95411
  (() => {
96948
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 93 });
95412
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 90 });
96949
95413
  })();
96950
95414
  }
96951
95415
  });
@@ -101591,17 +100055,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
101591
100055
  Currency: "Currency",
101592
100056
  "Special Rights or Restrictions": "Special Rights or Restrictions",
101593
100057
  Unlimited: "Unlimited",
101594
- "Without Par Value": "Without Par Value",
101595
- "File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
101596
- "Records Office Address": "Records Office Address",
101597
- "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.",
101598
- "Current Mailing Address": "Current Mailing Address",
101599
- "Current Delivery Address": "Current Delivery Address",
101600
- "New Mailing Address": "New Mailing Address",
101601
- "New Delivery Address": "New Delivery Address",
101602
- "Same as Mailing Address": "Same as Mailing Address",
101603
- "Same as Registered Office": "Same as Registered Office",
101604
- "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."
100058
+ "Without Par Value": "Without Par Value"
101605
100059
  };
101606
100060
  }
101607
100061
  });
@@ -101948,16 +100402,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
101948
100402
  Currency: "Devise",
101949
100403
  "Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
101950
100404
  Unlimited: "Illimit\xE9",
101951
- "Without Par Value": "Sans valeur nominale",
101952
- "File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
101953
- "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.",
101954
- "Current Mailing Address": "Adresse postale actuelle",
101955
- "Current Delivery Address": "Adresse de livraison actuelle",
101956
- "New Mailing Address": "Nouvelle adresse postale",
101957
- "New Delivery Address": "Nouvelle adresse de livraison",
101958
- "Same as Mailing Address": "Identique \xE0 l'adresse postale",
101959
- "Same as Registered Office": "Identique au si\xE8ge social",
101960
- "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."
100405
+ "Without Par Value": "Sans valeur nominale"
101961
100406
  };
101962
100407
  }
101963
100408
  });