@dyedurham/search-and-file-widget 2.0.66 → 2.0.68

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,6 +56266,7 @@ 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";
56269
56270
  TaskType2["ChangeOfPrincipals"] = "Change of Principals";
56270
56271
  TaskType2["RegistrationCompliance"] = "Registration Compliance";
56271
56272
  TaskType2["Continuance"] = "Continuance";
@@ -58085,6 +58086,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58085
58086
  function isChangeOfPrincipalsTask(task) {
58086
58087
  return task?._taskType === TaskType.ChangeOfPrincipals;
58087
58088
  }
58089
+ function isChangeOfAddressTask(task) {
58090
+ return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
58091
+ }
58088
58092
  function isBritishColumbiaTask(task) {
58089
58093
  return task.entity._compliance.home_jurisdiction === "British Columbia";
58090
58094
  }
@@ -58109,6 +58113,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58109
58113
  if (!task) {
58110
58114
  return void 0;
58111
58115
  }
58116
+ if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
58117
+ return "britishColumbiaChangeOfOfficeAddresses";
58118
+ }
58112
58119
  const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "britishColumbia" : "federal";
58113
58120
  if (isFormationTask2(task)) {
58114
58121
  return `${prefix}Incorporation`;
@@ -61003,10 +61010,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
61003
61010
  this._inputElement.nativeElement.focus();
61004
61011
  }
61005
61012
  /** Creates the change event that will be emitted by the checkbox. */
61006
- _createChangeEvent(isChecked) {
61013
+ _createChangeEvent(isChecked2) {
61007
61014
  const event = new MatCheckboxChange();
61008
61015
  event.source = this;
61009
- event.checked = isChecked;
61016
+ event.checked = isChecked2;
61010
61017
  return event;
61011
61018
  }
61012
61019
  /** Gets the element on which to add the animation CSS classes. */
@@ -80558,7 +80565,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80558
80565
  MatRadioButton,
80559
80566
  TranslatePipe,
80560
80567
  CheckboxListComponent
80561
- ], 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 });
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%] .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 });
80562
80569
  };
80563
80570
  (() => {
80564
80571
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
@@ -80811,7 +80818,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80811
80818
  }\r
80812
80819
  </div>\r
80813
80820
  </section>\r
80814
- `, 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'] }]
80821
+ `, 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'] }]
80815
80822
  }], () => [], { dismissOpenTooltip: [{
80816
80823
  type: HostListener,
80817
80824
  args: ["document:keydown.escape"]
@@ -81301,12 +81308,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81301
81308
  federalUpdateMaintainInitialDelta = signal(null);
81302
81309
  bcChangeOfDirectorsInitialDelta = signal(null);
81303
81310
  bcFormationInitialDelta = signal(null);
81311
+ bcChangeOfOfficeAddressesInitialDelta = signal(null);
81304
81312
  setFormationInitialDelta(delta) {
81305
81313
  this.formationInitialDelta.set(delta);
81306
81314
  }
81307
81315
  setBCFormationInitialDelta(delta) {
81308
81316
  this.bcFormationInitialDelta.set(delta);
81309
81317
  }
81318
+ setBCChangeOfOfficeAddressesInitialDelta(delta) {
81319
+ this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
81320
+ }
81310
81321
  setInitialReturnInitialDelta(delta) {
81311
81322
  this.initialReturnInitialDelta.set(delta);
81312
81323
  }
@@ -81326,6 +81337,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81326
81337
  this.federalUpdateMaintainInitialDelta.set(null);
81327
81338
  this.bcChangeOfDirectorsInitialDelta.set(null);
81328
81339
  this.bcFormationInitialDelta.set(null);
81340
+ this.bcChangeOfOfficeAddressesInitialDelta.set(null);
81329
81341
  }
81330
81342
  static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
81331
81343
  return new (__ngFactoryType__ || _DeltaStateService)();
@@ -84190,7 +84202,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84190
84202
  });
84191
84203
 
84192
84204
  // src/app/enums/british-columbia-form.enums.ts
84193
- var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
84205
+ var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCChangeOfOfficeAddressesFormControls, BCChangeOfOfficeAddressesFormGroups, BCFormationFormGroups;
84194
84206
  var init_british_columbia_form_enums = __esm({
84195
84207
  "src/app/enums/british-columbia-form.enums.ts"() {
84196
84208
  (function(BCChangeOfDirectorsFormControls2) {
@@ -84258,6 +84270,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84258
84270
  BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
84259
84271
  BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
84260
84272
  })(BCFormationFormControls || (BCFormationFormControls = {}));
84273
+ (function(BCChangeOfOfficeAddressesFormControls2) {
84274
+ BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
84275
+ BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
84276
+ BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
84277
+ BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
84278
+ BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
84279
+ BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
84280
+ BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
84281
+ BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
84282
+ BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
84283
+ BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
84284
+ BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
84285
+ BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
84286
+ BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
84287
+ BCChangeOfOfficeAddressesFormControls2["City"] = "city";
84288
+ BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
84289
+ BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
84290
+ BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
84291
+ })(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
84292
+ (function(BCChangeOfOfficeAddressesFormGroups2) {
84293
+ BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84294
+ BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
84295
+ BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
84296
+ BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
84297
+ })(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
84261
84298
  (function(BCFormationFormGroups2) {
84262
84299
  BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84263
84300
  BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
@@ -84911,9 +84948,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84911
84948
  ...affiliations.filter((a) => isDirector(a) && !incomingIds.has(a._id)).map((a) => this.generateDirectorFormGroup(a, ceasedIds.has(a._id) ? IRAffiliationType.Ceased : IRAffiliationType.Used)),
84912
84949
  ...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add))
84913
84950
  ];
84914
- const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
84915
- if (directors.length || fallbackDirectors.length) {
84916
- config2[BCChangeOfDirectorsFormGroups.Directors] = new FormArray(directors.length ? directors : fallbackDirectors);
84951
+ if (directors.length) {
84952
+ config2[BCChangeOfDirectorsFormGroups.Directors] = new FormArray(directors);
84917
84953
  }
84918
84954
  config2[BCChangeOfDirectorsFormGroups.Notification] = new FormGroup({
84919
84955
  [Controls.RegisterAsOfDate]: this.readOnly(today),
@@ -84942,57 +84978,103 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84942
84978
  [Controls.DeliveryAddress]: this.readOnly(BritishColumbiaFormationFormHelper.formatFullAddress(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery")))
84943
84979
  });
84944
84980
  }
84945
- static generateDirectorFormGroupsFromChangeDirectors(task) {
84946
- const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors;
84947
- const currentDirectors = source?.Directors ?? source?.directors ?? [];
84948
- const addedDirectors = [
84949
- ...source?.AddedDirectors ?? [],
84950
- ...source?.AddDirector ?? [],
84951
- ...source?.addDirectors ?? []
84952
- ];
84953
- const ceasedDirectors = [
84954
- ...source?.CeasedDirectors ?? [],
84955
- ...source?.CeaseDirector ?? [],
84956
- ...source?.ceaseDirectors ?? []
84957
- ];
84958
- const editedDirectors = [
84959
- ...source?.EditedDirectors ?? [],
84960
- ...source?.EditDirector ?? [],
84961
- ...source?.editDirectors ?? []
84962
- ];
84963
- return [
84964
- ...currentDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Used)),
84965
- ...editedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Update)),
84966
- ...ceasedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Ceased)),
84967
- ...addedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Add))
84968
- ];
84981
+ static readOnly(value) {
84982
+ return new FormControl({ value: value ?? "", disabled: true });
84969
84983
  }
84970
- static generateDirectorFormGroupFromPayload(director, affiliationType) {
84971
- const name = director?.PersonName ?? director?.personName ?? director;
84972
- return new FormGroup({
84973
- [Controls.Id]: new FormControl(director?.Id ?? director?.id ?? ""),
84974
- [Controls.AffiliationName]: this.readOnly(this.formatDirectorName(name?.FirstName ?? name?.firstName, name?.MiddleName ?? name?.middleName, name?.LastName ?? name?.lastName)),
84975
- [Controls.AffiliationType]: this.readOnly(affiliationType),
84976
- [Controls.MailingAddress]: this.readOnly(this.formatPayloadAddress(director)),
84977
- [Controls.DeliveryAddress]: this.readOnly(this.formatPayloadAddress(director))
84984
+ };
84985
+ }
84986
+ });
84987
+
84988
+ // src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
84989
+ var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
84990
+ var init_british_columbia_change_of_office_addresses_form_helper = __esm({
84991
+ "src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
84992
+ init_forms();
84993
+ init_common_models();
84994
+ init_british_columbia_form_enums();
84995
+ init_BritishColumbiaConstants();
84996
+ init_british_columbia_formation_form_helper();
84997
+ Controls2 = BCChangeOfOfficeAddressesFormControls;
84998
+ EDITABLE_ADDRESS_CONTROLS = [
84999
+ Controls2.AddressLine1,
85000
+ Controls2.AddressLine2,
85001
+ Controls2.City,
85002
+ Controls2.PostalCode
85003
+ ];
85004
+ BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
85005
+ static generateConfig(task, _translateFn) {
85006
+ const affiliations = task.entity.affiliations ?? [];
85007
+ const delta = task.deltaData;
85008
+ const format = BritishColumbiaFormationFormHelper.formatFullAddress;
85009
+ const pick = BritishColumbiaFormationFormHelper.pickAddress;
85010
+ const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85011
+ const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
85012
+ const companyEmail = this.resolveCompanyEmail(task);
85013
+ const config2 = {};
85014
+ config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
85015
+ config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
85016
+ [Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
85017
+ [Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
85018
+ [Controls2.CompanyEmail]: this.readOnly(companyEmail)
85019
+ });
85020
+ const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
85021
+ config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
85022
+ [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
85023
+ [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
85024
+ [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
85025
+ [Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
85026
+ [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
84978
85027
  });
85028
+ const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
85029
+ const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
85030
+ config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
85031
+ [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
85032
+ [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
85033
+ [Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
85034
+ [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
85035
+ [Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
85036
+ [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
85037
+ });
85038
+ return config2;
84979
85039
  }
84980
- static formatDirectorName(firstName, middleName, lastName) {
84981
- const givenNames = [firstName, middleName].filter(Boolean).join(" ");
84982
- return [lastName, givenNames].filter(Boolean).join(", ");
85040
+ /** The company's Business Email: registered office first, then the entity itself. */
85041
+ static resolveCompanyEmail(task) {
85042
+ const affiliations = task.entity.affiliations ?? [];
85043
+ const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85044
+ return registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
84983
85045
  }
84984
- static formatPayloadAddress(director) {
84985
- const postalAddress = director?.PostalAddress ?? director?.postalAddress;
84986
- const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
84987
- return [
84988
- address.Address1 ?? address.address1,
84989
- address.Address2 ?? address.address2,
84990
- address.Address3 ?? address.address3,
84991
- address.CityTown ?? address.city,
84992
- address.RegionName ?? address.regionName ?? address.provinceState,
84993
- address.PostCode ?? address.postalZip,
84994
- address.CountryCodeName ?? address.country
84995
- ].filter((part) => Boolean(String(part ?? "").trim())).join(", ");
85046
+ /**
85047
+ * Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
85048
+ * Province and Country are always disabled; the rest follow `enabled`.
85049
+ */
85050
+ static createOfficeAddressFormGroup(delta, enabled = true) {
85051
+ const group2 = new FormGroup({
85052
+ [Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
85053
+ [Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
85054
+ [Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
85055
+ [Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
85056
+ [Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
85057
+ [Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
85058
+ });
85059
+ this.setOfficeAddressEnabled(group2, enabled);
85060
+ return group2;
85061
+ }
85062
+ /** Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes). */
85063
+ static setOfficeAddressEnabled(group2, enabled) {
85064
+ if (!group2) {
85065
+ return;
85066
+ }
85067
+ EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
85068
+ const control = group2.get(name);
85069
+ enabled ? control?.enable({ emitEvent: false }) : control?.disable({ emitEvent: false });
85070
+ });
85071
+ group2.updateValueAndValidity({ emitEvent: false });
85072
+ }
85073
+ static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
85074
+ return new FormGroup({
85075
+ [Controls2.ClientMatterNumber]: new FormControl(deltaData?.referenceNumber ?? clientMatterNumber ?? ""),
85076
+ [Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
85077
+ });
84996
85078
  }
84997
85079
  static readOnly(value) {
84998
85080
  return new FormControl({ value: value ?? "", disabled: true });
@@ -85002,13 +85084,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85002
85084
  });
85003
85085
 
85004
85086
  // src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
85005
- 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_NOTIFICATION_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85087
+ 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_NOTIFICATION_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85006
85088
  var init_british_columbia_change_of_directors_form_constants = __esm({
85007
85089
  "src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
85008
85090
  init_form_enums();
85009
85091
  init_british_columbia_form_enums();
85010
85092
  init_BritishColumbiaConstants();
85011
- Controls2 = BCChangeOfDirectorsFormControls;
85093
+ Controls3 = BCChangeOfDirectorsFormControls;
85012
85094
  labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
85013
85095
  readOnlyRow = (label, control, className = "span-12") => ({
85014
85096
  type: FormType.Text,
@@ -85016,24 +85098,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85016
85098
  class: className,
85017
85099
  dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
85018
85100
  });
85019
- directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
85020
- isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
85101
+ directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
85102
+ isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
85021
85103
  BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
85022
85104
  {
85023
85105
  type: FormType.Input,
85024
85106
  label: "Client/Matter Number",
85025
- formControlName: Controls2.ClientMatterNumber
85107
+ formControlName: Controls3.ClientMatterNumber
85026
85108
  },
85027
85109
  {
85028
85110
  type: FormType.Input,
85029
85111
  label: "Docket Number",
85030
- formControlName: Controls2.DocketNumber
85112
+ formControlName: Controls3.DocketNumber
85031
85113
  }
85032
85114
  ];
85033
85115
  BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
85034
- readOnlyRow("Corporation Name", Controls2.CorporationName),
85035
- readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
85036
- readOnlyRow("Company Email", Controls2.CompanyEmail)
85116
+ readOnlyRow("Corporation Name", Controls3.CorporationName),
85117
+ readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
85118
+ readOnlyRow("Company Email", Controls3.CompanyEmail)
85037
85119
  ];
85038
85120
  BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
85039
85121
  {
@@ -85045,24 +85127,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85045
85127
  {
85046
85128
  type: FormType.Checkbox,
85047
85129
  label: "Directors will be added and/or deleted as part of this filing",
85048
- formControlName: Controls2.DirectorsAddedOrDeleted,
85130
+ formControlName: Controls3.DirectorsAddedOrDeleted,
85049
85131
  class: "span-12",
85050
85132
  onChange: (form) => {
85051
85133
  if (!directorsAddedOrDeleted(form)) {
85052
- form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
85134
+ form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
85053
85135
  }
85054
- form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85136
+ form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85055
85137
  }
85056
85138
  },
85057
85139
  {
85058
85140
  type: FormType.Date,
85059
85141
  label: "Date Directors were added or deleted",
85060
- formControlName: Controls2.ChangeDate,
85142
+ formControlName: Controls3.ChangeDate,
85061
85143
  required: true,
85062
85144
  isVisible: directorsAddedOrDeleted,
85063
85145
  class: "span-8"
85064
85146
  },
85065
- __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
85147
+ __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
85066
85148
  isVisible: directorsAddedOrDeleted
85067
85149
  }),
85068
85150
  {
@@ -85082,34 +85164,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85082
85164
  }
85083
85165
  ];
85084
85166
  BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
85085
- readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
85086
- readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
85167
+ readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
85168
+ readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
85087
85169
  ];
85088
85170
  BC_COD_DELTA_CARD_FORM_NOTIFICATION_FIELDS = [
85089
85171
  {
85090
85172
  type: FormType.Select,
85091
85173
  label: "Notification Method",
85092
- formControlName: Controls2.NotificationMethod,
85174
+ formControlName: Controls3.NotificationMethod,
85093
85175
  required: true,
85094
85176
  options: BC_NOTIFICATION_METHOD_OPTIONS,
85095
85177
  needTranslate: true,
85096
85178
  class: "span-6",
85097
- onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85179
+ onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85098
85180
  },
85099
85181
  {
85100
85182
  type: FormType.Input,
85101
85183
  label: "Notification Email",
85102
- formControlName: Controls2.NotificationEmail,
85184
+ formControlName: Controls3.NotificationEmail,
85103
85185
  required: true,
85104
85186
  isVisible: (form) => !isNotifyByMail(form),
85105
85187
  class: "column-3"
85106
85188
  },
85107
85189
  {
85108
85190
  type: FormType.Text,
85109
- formControlName: Controls2.NotificationMailingAddress,
85191
+ formControlName: Controls3.NotificationMailingAddress,
85110
85192
  class: "span-12",
85111
85193
  isVisible: isNotifyByMail,
85112
- 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")})`
85194
+ 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")})`
85113
85195
  }
85114
85196
  ];
85115
85197
  BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
@@ -85122,7 +85204,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85122
85204
  {
85123
85205
  type: FormType.Select,
85124
85206
  label: "Annual Report Reminder",
85125
- formControlName: Controls2.AnnualReportReminder,
85207
+ formControlName: Controls3.AnnualReportReminder,
85126
85208
  required: true,
85127
85209
  options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
85128
85210
  needTranslate: true,
@@ -85702,7 +85784,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85702
85784
  FormGroupDirective,
85703
85785
  FormControlName,
85704
85786
  TranslatePipe
85705
- ], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n[_nghost-%COMP%] .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 20px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-radio-button, \n[_nghost-%COMP%] .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .notification-section[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n color: #e22222;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n width: min(860px, 46%);\n min-width: 360px;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n font-size: 16px;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 84px;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n min-height: 84px;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] .mat-mdc-input-element {\n align-self: center;\n height: 32px;\n color: #4b5563 !important;\n font-size: 28px !important;\n line-height: 32px;\n padding: 0 24px !important;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .hint[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%], \n[_nghost-%COMP%] .mailing-copy[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: contents;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child), \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n[_nghost-%COMP%] .status-pill[_ngcontent-%COMP%] {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n[_nghost-%COMP%] .status-pill.new[_ngcontent-%COMP%] {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n[_nghost-%COMP%] .status-pill.ceased[_ngcontent-%COMP%] {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n[_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 48px;\n}\n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n@media (max-width: 900px) {\n [_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%], \n [_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n [_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] {\n display: none;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border: 0;\n padding: 14px 0;\n }\n [_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: 14px;\n }\n [_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n width: 100%;\n min-width: 0;\n }\n [_nghost-%COMP%] .email-field[_ngcontent-%COMP%] .mat-mdc-input-element {\n font-size: 16px !important;\n line-height: 24px;\n padding: 0 12px !important;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */"], changeDetection: 0 });
85787
+ ], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 24px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n[_nghost-%COMP%] .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 32px !important;\n}\n[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 24px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 48px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field-infix {\n align-items: center;\n min-height: 48px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .notification-section[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n line-height: 1.55;\n padding: 22px 28px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n color: #4b5563;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n color: #e22222;\n}\n[_nghost-%COMP%] .hint[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%], \n[_nghost-%COMP%] .mailing-copy[_ngcontent-%COMP%] {\n color: #6b7280;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] {\n color: #4b5563;\n line-height: 1.35;\n margin: 58px 0 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: contents;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e1e6ee;\n padding: 24px 28px;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child), \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 14px;\n}\n[_nghost-%COMP%] .status-pill[_ngcontent-%COMP%] {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 8px 14px;\n}\n[_nghost-%COMP%] .status-pill.new[_ngcontent-%COMP%] {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n[_nghost-%COMP%] .status-pill.ceased[_ngcontent-%COMP%] {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n[_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 48px;\n}\n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n max-width: 760px;\n}\n@media (max-width: 900px) {\n [_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%], \n [_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n [_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] {\n display: none;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border: 0;\n padding: 14px 0;\n }\n [_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */"], changeDetection: 0 });
85706
85788
  };
85707
85789
  (() => {
85708
85790
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsFormComponent, [{
@@ -85722,240 +85804,240 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85722
85804
  MatRadioGroup,
85723
85805
  ReactiveFormsModule,
85724
85806
  TranslatePipe
85725
- ], template: `<div class="change-of-directors-form">
85726
- @if (isNote()) {
85727
- <alert
85728
- [type]="alertType.Info"
85729
- title="Entity changed"
85730
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
85731
- />
85732
- }
85733
-
85734
- @if (errors().length) {
85735
- <alert
85736
- title="The following issues need to be resolved before proceeding:"
85737
- [content]="errors()"
85738
- />
85739
- }
85740
-
85741
- <div class="change-of-directors-form-content">
85742
- @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);
85743
-
85744
- @if (referenceNumbers) {
85745
- <expandable-card [title]="groups.ReferenceNumbers">
85746
- <filing-form-group
85747
- [isSubmitted]="isSubmitted()"
85748
- [form]="referenceNumbers"
85749
- [config]="referenceNumbersFields"
85750
- (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
85751
- />
85752
- </expandable-card>
85753
- }
85754
-
85755
- @let corporationDetails = getFormGroup(groups.CorporationDetails);
85756
-
85757
- @if (corporationDetails) {
85758
- <expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">
85759
- <div class="readonly-summary">
85760
- <p>
85761
- <strong>{{ 'Corporation Name' | translate }}:</strong>
85762
- {{ corporationDetails.get(controls.CorporationName)?.value }}
85763
- </p>
85764
- <p>
85765
- <strong>{{ 'Incorporation Number' | translate }}:</strong>
85766
- {{ corporationDetails.get(controls.IncorporationNumber)?.value }}
85767
- </p>
85768
- <p>
85769
- <strong>{{ 'Company Email' | translate }}:</strong>
85770
- {{ corporationDetails.get(controls.CompanyEmail)?.value }}
85771
- </p>
85772
- </div>
85773
- </expandable-card>
85774
- }
85775
-
85776
- @let filingDetails = getFormGroup(groups.FilingDetails);
85777
-
85778
- @if (filingDetails) {
85779
- <expandable-card
85780
- [isStatusIcon]="!readonly()"
85781
- [isValid]="sectionValidity['filingDetails']"
85782
- [title]="groups.FilingDetails"
85783
- >
85784
- <div class="filing-details" [formGroup]="filingDetails">
85785
- <div class="note-box">
85786
- <strong>{{ 'Note' | translate }}:</strong>
85787
- {{
85788
- 'There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.'
85789
- | translate
85790
- }}
85791
- </div>
85792
-
85793
- <mat-checkbox
85794
- class="directors-change-checkbox"
85795
- [formControlName]="controls.DirectorsAddedOrDeleted"
85796
- (change)="
85797
- filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85798
- onSectionValidChange('filingDetails', filingDetails.valid)
85799
- "
85800
- >
85801
- {{ 'Directors will be added and/or deleted as part of this filing' | translate }}
85802
- </mat-checkbox>
85803
-
85804
- @if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {
85805
- <div class="filing-details-grid">
85806
- <div class="date-field">
85807
- <label>
85808
- {{ 'Date Directors were added or deleted' | translate }}<span>*</span>
85809
- </label>
85810
- <mat-form-field appearance="outline">
85811
- <input
85812
- matInput
85813
- [matDatepicker]="changeDatePicker"
85814
- [formControlName]="controls.ChangeDate"
85815
- (dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"
85816
- placeholder="dd/mm/yyyy"
85817
- />
85818
- <mat-datepicker-toggle matSuffix [for]="changeDatePicker">
85819
- <mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>
85820
- </mat-datepicker-toggle>
85821
- <mat-datepicker #changeDatePicker></mat-datepicker>
85822
- </mat-form-field>
85823
- <p class="hint">
85824
- {{
85825
- "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."
85826
- | translate
85827
- }}
85828
- </p>
85829
- </div>
85830
-
85831
- <p class="filing-fee">
85832
- <strong>{{ 'Filing Fee' | translate }}:</strong>
85833
- {{ filingDetails.get(controls.FilingFee)?.value }}
85834
- </p>
85835
- </div>
85836
- }
85837
- </div>
85838
- </expandable-card>
85839
- }
85840
-
85841
- @let directorsArray = getFormArray(groups.Directors);
85842
-
85843
- <expandable-card [isStatusIcon]="false" [title]="groups.Directors">
85844
- <filing-form-group
85845
- [isSubmitted]="isSubmitted()"
85846
- [form]="form()"
85847
- [config]="directorsIntroFields()"
85848
- />
85849
-
85850
- @if (directorsArray && directorsArray.length) {
85851
- <div class="directors-table" role="table">
85852
- <div class="directors-table-header" role="row">
85853
- <div role="columnheader">{{ 'Name' | translate }}</div>
85854
- <div role="columnheader">{{ 'Mailing Address' | translate }}</div>
85855
- <div role="columnheader">{{ 'Delivery Address' | translate }}</div>
85856
- </div>
85857
-
85858
- @for (director of directorsArray.controls; track director; let i = $index) {
85859
- @let directorForm = getDirectorForm(i);
85860
- @if (directorForm) {
85861
- <div class="directors-table-row" role="row">
85862
- <div role="cell">
85863
- <strong>{{ directorForm.get(controls.AffiliationName)?.value }}</strong>
85864
- @if (isNewDirector(directorForm)) {
85865
- <span class="status-pill new">{{ 'NEW' | translate }}</span>
85866
- }
85867
- @if (isCeasedDirector(directorForm)) {
85868
- <span class="status-pill ceased">{{ 'CEASE' | translate }}</span>
85869
- }
85870
- </div>
85871
- <div role="cell">{{ directorForm.get(controls.MailingAddress)?.value }}</div>
85872
- <div role="cell">{{ directorForm.get(controls.DeliveryAddress)?.value }}</div>
85873
- </div>
85874
- }
85875
- }
85876
- </div>
85877
- } @else {
85878
- <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
85879
- }
85880
- </expandable-card>
85881
-
85882
- @let notification = getFormGroup(groups.Notification);
85883
-
85884
- @if (notification) {
85885
- <expandable-card
85886
- [isStatusIcon]="!readonly()"
85887
- [isValid]="sectionValidity['notification']"
85888
- [title]="groups.Notification"
85889
- >
85890
- <div class="notification-section" [formGroup]="notification">
85891
- <mat-radio-group
85892
- [formControlName]="controls.NotificationMethod"
85893
- (change)="
85894
- notification.get(controls.NotificationEmail)?.updateValueAndValidity({ emitEvent: false });
85895
- onSectionValidChange('notification', notification.valid)
85896
- "
85897
- >
85898
- <mat-radio-button [value]="notificationMethodOption.Email">
85899
- {{ 'Notify by email' | translate }}
85900
- </mat-radio-button>
85901
- <mat-radio-button [value]="notificationMethodOption.Mail">
85902
- {{ 'Notify by mail' | translate }}
85903
- </mat-radio-button>
85904
- </mat-radio-group>
85905
-
85906
- @if (notification.get(controls.NotificationMethod)?.value === notificationMethodOption.Email) {
85907
- <div class="email-field">
85908
- <label>{{ 'Notification Email' | translate }}<span>*</span></label>
85909
- <mat-form-field appearance="outline">
85910
- <input
85911
- matInput
85912
- [formControlName]="controls.NotificationEmail"
85913
- (input)="onSectionValidChange('notification', notification.valid)"
85914
- />
85915
- </mat-form-field>
85916
- </div>
85917
- } @else {
85918
- <p class="mailing-copy">
85919
- <strong>{{ 'Mailing Address' | translate }}:</strong>
85920
- {{ notification.get(controls.NotificationMailingAddress)?.value || ('Not specified' | translate) }}
85921
- </p>
85922
- }
85923
- </div>
85924
- </expandable-card>
85925
- }
85926
-
85927
- @let annualReportReminder = getFormGroup(groups.AnnualReportReminder);
85928
-
85929
- @if (annualReportReminder) {
85930
- <expandable-card
85931
- [isStatusIcon]="!readonly()"
85932
- [isValid]="sectionValidity['annualReportReminder']"
85933
- [title]="groups.AnnualReportReminder"
85934
- >
85935
- <div class="annual-reminder" [formGroup]="annualReportReminder">
85936
- <p>
85937
- {{
85938
- "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."
85939
- | translate
85940
- }}
85941
- </p>
85942
- <mat-radio-group
85943
- [formControlName]="controls.AnnualReportReminder"
85944
- (change)="onSectionValidChange('annualReportReminder', annualReportReminder.valid)"
85945
- >
85946
- <mat-radio-button [value]="annualReportReminderOption.Yes">
85947
- {{ 'Yes, send the annual report reminder' | translate }}
85948
- </mat-radio-button>
85949
- <mat-radio-button [value]="annualReportReminderOption.No">
85950
- {{ 'No, I do not need to be reminded' | translate }}
85951
- </mat-radio-button>
85952
- </mat-radio-group>
85953
- </div>
85954
- </expandable-card>
85955
- }
85956
- </div>
85957
- </div>
85958
- `, styles: ["/* src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.scss */\n:host {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n:host .change-of-directors-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n:host .change-of-directors-form-content {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n:host ::ng-deep .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n:host ::ng-deep .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n:host ::ng-deep .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n:host ::ng-deep .expandable-card-content {\n padding-top: 20px !important;\n}\n:host ::ng-deep .filling-form-fields {\n column-gap: 42px !important;\n}\n:host ::ng-deep .filling-form-fields-item-label,\n:host ::ng-deep .mat-mdc-radio-button .mdc-label,\n:host ::ng-deep .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host ::ng-deep .mat-mdc-radio-button,\n:host ::ng-deep .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n:host ::ng-deep .mat-mdc-form-field {\n width: 100%;\n}\n:host ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n:host ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .readonly-summary {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .readonly-summary p {\n margin: 0;\n}\n:host .readonly-summary strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .filing-details,\n:host .notification-section,\n:host .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .note-box {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n:host .note-box strong {\n font-weight: 700;\n}\n:host .directors-change-checkbox {\n align-self: flex-start;\n}\n:host .filing-details-grid {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n:host .date-field,\n:host .email-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .date-field label,\n:host .email-field label {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .date-field span,\n:host .email-field span {\n color: #e22222;\n}\n:host .email-field {\n width: min(860px, 46%);\n min-width: 360px;\n}\n:host .email-field label {\n margin-bottom: 8px;\n font-size: 16px;\n}\n:host .email-field ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 84px;\n}\n:host .email-field ::ng-deep .mat-mdc-form-field-infix {\n min-height: 84px;\n}\n:host .email-field ::ng-deep .mat-mdc-input-element {\n align-self: center;\n height: 32px;\n color: #4b5563 !important;\n font-size: 28px !important;\n line-height: 32px;\n padding: 0 24px !important;\n}\n:host .email-field ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host .email-field ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .hint,\n:host .annual-reminder p,\n:host .mailing-copy {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .filing-fee {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n:host .filing-fee strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .directors-table {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n:host .directors-table-header,\n:host .directors-table-row {\n display: contents;\n}\n:host .directors-table-header > div,\n:host .directors-table-row > div {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n:host .directors-table-header > div:not(:first-child),\n:host .directors-table-row > div:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n:host .directors-table-header > div {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n:host .directors-table-row strong {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n:host .status-pill {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n:host .status-pill.new {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n:host .status-pill.ceased {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n:host mat-radio-group {\n display: flex;\n gap: 48px;\n}\n:host .annual-reminder mat-radio-group {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n@media (max-width: 900px) {\n :host .filing-details-grid,\n :host .directors-table {\n grid-template-columns: 1fr;\n }\n :host .directors-table-header {\n display: none;\n }\n :host .directors-table-row {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n :host .directors-table-row > div {\n border: 0;\n padding: 14px 0;\n }\n :host mat-radio-group {\n flex-direction: column;\n gap: 14px;\n }\n :host .email-field {\n width: 100%;\n min-width: 0;\n }\n :host .email-field ::ng-deep .mat-mdc-input-element {\n font-size: 16px !important;\n line-height: 24px;\n padding: 0 12px !important;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */\n"] }]
85807
+ ], template: `<div class="change-of-directors-form">\r
85808
+ @if (isNote()) {\r
85809
+ <alert\r
85810
+ [type]="alertType.Info"\r
85811
+ title="Entity changed"\r
85812
+ content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
85813
+ />\r
85814
+ }\r
85815
+ \r
85816
+ @if (errors().length) {\r
85817
+ <alert\r
85818
+ title="The following issues need to be resolved before proceeding:"\r
85819
+ [content]="errors()"\r
85820
+ />\r
85821
+ }\r
85822
+ \r
85823
+ <div class="change-of-directors-form-content">\r
85824
+ @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
85825
+ \r
85826
+ @if (referenceNumbers) {\r
85827
+ <expandable-card [title]="groups.ReferenceNumbers">\r
85828
+ <filing-form-group\r
85829
+ [isSubmitted]="isSubmitted()"\r
85830
+ [form]="referenceNumbers"\r
85831
+ [config]="referenceNumbersFields"\r
85832
+ (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
85833
+ />\r
85834
+ </expandable-card>\r
85835
+ }\r
85836
+ \r
85837
+ @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
85838
+ \r
85839
+ @if (corporationDetails) {\r
85840
+ <expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
85841
+ <div class="readonly-summary">\r
85842
+ <p>\r
85843
+ <strong>{{ 'Corporation Name' | translate }}:</strong>\r
85844
+ {{ corporationDetails.get(controls.CorporationName)?.value }}\r
85845
+ </p>\r
85846
+ <p>\r
85847
+ <strong>{{ 'Incorporation Number' | translate }}:</strong>\r
85848
+ {{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
85849
+ </p>\r
85850
+ <p>\r
85851
+ <strong>{{ 'Company Email' | translate }}:</strong>\r
85852
+ {{ corporationDetails.get(controls.CompanyEmail)?.value }}\r
85853
+ </p>\r
85854
+ </div>\r
85855
+ </expandable-card>\r
85856
+ }\r
85857
+ \r
85858
+ @let filingDetails = getFormGroup(groups.FilingDetails);\r
85859
+ \r
85860
+ @if (filingDetails) {\r
85861
+ <expandable-card\r
85862
+ [isStatusIcon]="!readonly()"\r
85863
+ [isValid]="sectionValidity['filingDetails']"\r
85864
+ [title]="groups.FilingDetails"\r
85865
+ >\r
85866
+ <div class="filing-details" [formGroup]="filingDetails">\r
85867
+ <div class="note-box">\r
85868
+ <strong>{{ 'Note' | translate }}:</strong>\r
85869
+ {{\r
85870
+ 'There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.'\r
85871
+ | translate\r
85872
+ }}\r
85873
+ </div>\r
85874
+ \r
85875
+ <mat-checkbox\r
85876
+ class="directors-change-checkbox"\r
85877
+ [formControlName]="controls.DirectorsAddedOrDeleted"\r
85878
+ (change)="\r
85879
+ filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
85880
+ onSectionValidChange('filingDetails', filingDetails.valid)\r
85881
+ "\r
85882
+ >\r
85883
+ {{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
85884
+ </mat-checkbox>\r
85885
+ \r
85886
+ @if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
85887
+ <div class="filing-details-grid">\r
85888
+ <div class="date-field">\r
85889
+ <label>\r
85890
+ {{ 'Date Directors were added or deleted' | translate }}<span>*</span>\r
85891
+ </label>\r
85892
+ <mat-form-field appearance="outline">\r
85893
+ <input\r
85894
+ matInput\r
85895
+ [matDatepicker]="changeDatePicker"\r
85896
+ [formControlName]="controls.ChangeDate"\r
85897
+ (dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
85898
+ placeholder="dd/mm/yyyy"\r
85899
+ />\r
85900
+ <mat-datepicker-toggle matSuffix [for]="changeDatePicker">\r
85901
+ <mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>\r
85902
+ </mat-datepicker-toggle>\r
85903
+ <mat-datepicker #changeDatePicker></mat-datepicker>\r
85904
+ </mat-form-field>\r
85905
+ <p class="hint">\r
85906
+ {{\r
85907
+ "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."\r
85908
+ | translate\r
85909
+ }}\r
85910
+ </p>\r
85911
+ </div>\r
85912
+ \r
85913
+ <p class="filing-fee">\r
85914
+ <strong>{{ 'Filing Fee' | translate }}:</strong>\r
85915
+ {{ filingDetails.get(controls.FilingFee)?.value }}\r
85916
+ </p>\r
85917
+ </div>\r
85918
+ }\r
85919
+ </div>\r
85920
+ </expandable-card>\r
85921
+ }\r
85922
+ \r
85923
+ @let directorsArray = getFormArray(groups.Directors);\r
85924
+ \r
85925
+ <expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
85926
+ <filing-form-group\r
85927
+ [isSubmitted]="isSubmitted()"\r
85928
+ [form]="form()"\r
85929
+ [config]="directorsIntroFields()"\r
85930
+ />\r
85931
+ \r
85932
+ @if (directorsArray && directorsArray.length) {\r
85933
+ <div class="directors-table" role="table">\r
85934
+ <div class="directors-table-header" role="row">\r
85935
+ <div role="columnheader">{{ 'Name' | translate }}</div>\r
85936
+ <div role="columnheader">{{ 'Mailing Address' | translate }}</div>\r
85937
+ <div role="columnheader">{{ 'Delivery Address' | translate }}</div>\r
85938
+ </div>\r
85939
+ \r
85940
+ @for (director of directorsArray.controls; track director; let i = $index) {\r
85941
+ @let directorForm = getDirectorForm(i);\r
85942
+ @if (directorForm) {\r
85943
+ <div class="directors-table-row" role="row">\r
85944
+ <div role="cell">\r
85945
+ <strong>{{ directorForm.get(controls.AffiliationName)?.value }}</strong>\r
85946
+ @if (isNewDirector(directorForm)) {\r
85947
+ <span class="status-pill new">{{ 'NEW' | translate }}</span>\r
85948
+ }\r
85949
+ @if (isCeasedDirector(directorForm)) {\r
85950
+ <span class="status-pill ceased">{{ 'CEASE' | translate }}</span>\r
85951
+ }\r
85952
+ </div>\r
85953
+ <div role="cell">{{ directorForm.get(controls.MailingAddress)?.value }}</div>\r
85954
+ <div role="cell">{{ directorForm.get(controls.DeliveryAddress)?.value }}</div>\r
85955
+ </div>\r
85956
+ }\r
85957
+ }\r
85958
+ </div>\r
85959
+ } @else {\r
85960
+ <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
85961
+ }\r
85962
+ </expandable-card>\r
85963
+ \r
85964
+ @let notification = getFormGroup(groups.Notification);\r
85965
+ \r
85966
+ @if (notification) {\r
85967
+ <expandable-card\r
85968
+ [isStatusIcon]="!readonly()"\r
85969
+ [isValid]="sectionValidity['notification']"\r
85970
+ [title]="groups.Notification"\r
85971
+ >\r
85972
+ <div class="notification-section" [formGroup]="notification">\r
85973
+ <mat-radio-group\r
85974
+ [formControlName]="controls.NotificationMethod"\r
85975
+ (change)="\r
85976
+ notification.get(controls.NotificationEmail)?.updateValueAndValidity({ emitEvent: false });\r
85977
+ onSectionValidChange('notification', notification.valid)\r
85978
+ "\r
85979
+ >\r
85980
+ <mat-radio-button [value]="notificationMethodOption.Email">\r
85981
+ {{ 'Notify by email' | translate }}\r
85982
+ </mat-radio-button>\r
85983
+ <mat-radio-button [value]="notificationMethodOption.Mail">\r
85984
+ {{ 'Notify by mail' | translate }}\r
85985
+ </mat-radio-button>\r
85986
+ </mat-radio-group>\r
85987
+ \r
85988
+ @if (notification.get(controls.NotificationMethod)?.value === notificationMethodOption.Email) {\r
85989
+ <div class="email-field">\r
85990
+ <label>{{ 'Notification Email' | translate }}<span>*</span></label>\r
85991
+ <mat-form-field appearance="outline">\r
85992
+ <input\r
85993
+ matInput\r
85994
+ [formControlName]="controls.NotificationEmail"\r
85995
+ (input)="onSectionValidChange('notification', notification.valid)"\r
85996
+ />\r
85997
+ </mat-form-field>\r
85998
+ </div>\r
85999
+ } @else {\r
86000
+ <p class="mailing-copy">\r
86001
+ <strong>{{ 'Mailing Address' | translate }}:</strong>\r
86002
+ {{ notification.get(controls.NotificationMailingAddress)?.value || ('Not specified' | translate) }}\r
86003
+ </p>\r
86004
+ }\r
86005
+ </div>\r
86006
+ </expandable-card>\r
86007
+ }\r
86008
+ \r
86009
+ @let annualReportReminder = getFormGroup(groups.AnnualReportReminder);\r
86010
+ \r
86011
+ @if (annualReportReminder) {\r
86012
+ <expandable-card\r
86013
+ [isStatusIcon]="!readonly()"\r
86014
+ [isValid]="sectionValidity['annualReportReminder']"\r
86015
+ [title]="groups.AnnualReportReminder"\r
86016
+ >\r
86017
+ <div class="annual-reminder" [formGroup]="annualReportReminder">\r
86018
+ <p>\r
86019
+ {{\r
86020
+ "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."\r
86021
+ | translate\r
86022
+ }}\r
86023
+ </p>\r
86024
+ <mat-radio-group\r
86025
+ [formControlName]="controls.AnnualReportReminder"\r
86026
+ (change)="onSectionValidChange('annualReportReminder', annualReportReminder.valid)"\r
86027
+ >\r
86028
+ <mat-radio-button [value]="annualReportReminderOption.Yes">\r
86029
+ {{ 'Yes, send the annual report reminder' | translate }}\r
86030
+ </mat-radio-button>\r
86031
+ <mat-radio-button [value]="annualReportReminderOption.No">\r
86032
+ {{ 'No, I do not need to be reminded' | translate }}\r
86033
+ </mat-radio-button>\r
86034
+ </mat-radio-group>\r
86035
+ </div>\r
86036
+ </expandable-card>\r
86037
+ }\r
86038
+ </div>\r
86039
+ </div>\r
86040
+ `, styles: ["/* src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.scss */\n:host {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n:host .change-of-directors-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n:host .change-of-directors-form-content {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 24px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n:host ::ng-deep .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 32px !important;\n}\n:host ::ng-deep .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n:host ::ng-deep .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n:host ::ng-deep .expandable-card-content {\n padding-top: 24px !important;\n}\n:host ::ng-deep .filling-form-fields {\n column-gap: 42px !important;\n}\n:host ::ng-deep .filling-form-fields-item-label,\n:host ::ng-deep .mat-mdc-radio-button .mdc-label,\n:host ::ng-deep .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n line-height: 1.45;\n}\n:host ::ng-deep .mat-mdc-form-field {\n width: 100%;\n}\n:host ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 48px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n min-height: 48px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n:host ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .readonly-summary {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n line-height: 1.35;\n}\n:host .readonly-summary p {\n margin: 0;\n}\n:host .readonly-summary strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .filing-details,\n:host .notification-section,\n:host .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .note-box {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n line-height: 1.55;\n padding: 22px 28px;\n}\n:host .note-box strong {\n font-weight: 700;\n}\n:host .directors-change-checkbox {\n align-self: flex-start;\n}\n:host .filing-details-grid {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n:host .date-field,\n:host .email-field {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n:host .date-field label,\n:host .email-field label {\n color: #4b5563;\n line-height: 1.35;\n}\n:host .date-field span,\n:host .email-field span {\n color: #e22222;\n}\n:host .hint,\n:host .annual-reminder p,\n:host .mailing-copy {\n color: #6b7280;\n line-height: 1.5;\n margin: 0;\n}\n:host .filing-fee {\n color: #4b5563;\n line-height: 1.35;\n margin: 58px 0 0;\n}\n:host .filing-fee strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .directors-table {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n line-height: 1.45;\n}\n:host .directors-table-header,\n:host .directors-table-row {\n display: contents;\n}\n:host .directors-table-header > div,\n:host .directors-table-row > div {\n border-bottom: 1px solid #e1e6ee;\n padding: 24px 28px;\n}\n:host .directors-table-header > div:not(:first-child),\n:host .directors-table-row > div:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n:host .directors-table-header > div {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n:host .directors-table-row strong {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 14px;\n}\n:host .status-pill {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 8px 14px;\n}\n:host .status-pill.new {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n:host .status-pill.ceased {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n:host mat-radio-group {\n display: flex;\n gap: 48px;\n}\n:host .annual-reminder mat-radio-group {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n:host .email-field {\n max-width: 760px;\n}\n@media (max-width: 900px) {\n :host .filing-details-grid,\n :host .directors-table {\n grid-template-columns: 1fr;\n }\n :host .directors-table-header {\n display: none;\n }\n :host .directors-table-row {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n :host .directors-table-row > div {\n border: 0;\n padding: 14px 0;\n }\n :host mat-radio-group {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */\n"] }]
85959
86041
  }], null, null);
85960
86042
  })();
85961
86043
  (() => {
@@ -87630,6 +87712,883 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87630
87712
  }
87631
87713
  });
87632
87714
 
87715
+ // src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
87716
+ var Controls4, labelledValue3, readOnlyRow2, isChecked, addressGroup, BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS, BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS, BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS, BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS, BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
87717
+ var init_british_columbia_change_of_office_addresses_form_constants = __esm({
87718
+ "src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
87719
+ init_form_enums();
87720
+ init_british_columbia_form_enums();
87721
+ init_british_columbia_change_of_office_addresses_form_helper();
87722
+ Controls4 = BCChangeOfOfficeAddressesFormControls;
87723
+ labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
87724
+ readOnlyRow2 = (label, control, className = "span-12") => ({
87725
+ type: FormType.Text,
87726
+ formControlName: control,
87727
+ class: className,
87728
+ dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
87729
+ });
87730
+ isChecked = (form, control) => Boolean(form.get(control)?.value);
87731
+ addressGroup = (form, control) => form.get(control);
87732
+ BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
87733
+ {
87734
+ type: FormType.Input,
87735
+ label: "Client/Matter Number",
87736
+ formControlName: Controls4.ClientMatterNumber
87737
+ },
87738
+ {
87739
+ type: FormType.Input,
87740
+ label: "Docket Number",
87741
+ formControlName: Controls4.DocketNumber
87742
+ }
87743
+ ];
87744
+ BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
87745
+ readOnlyRow2("Corporation Name", Controls4.CorporationName),
87746
+ readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
87747
+ readOnlyRow2("Company Email", Controls4.CompanyEmail),
87748
+ {
87749
+ type: FormType.Text,
87750
+ formControlName: "",
87751
+ class: "span-12 note-box",
87752
+ 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.")}`
87753
+ }
87754
+ ];
87755
+ BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
87756
+ readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
87757
+ readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
87758
+ ];
87759
+ BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
87760
+ {
87761
+ type: FormType.Input,
87762
+ label: "Address Line 1",
87763
+ formControlName: Controls4.AddressLine1,
87764
+ required: true,
87765
+ class: "span-6"
87766
+ },
87767
+ {
87768
+ type: FormType.Input,
87769
+ label: "Address Line 2",
87770
+ formControlName: Controls4.AddressLine2,
87771
+ class: "span-6"
87772
+ },
87773
+ {
87774
+ type: FormType.Input,
87775
+ label: "City",
87776
+ formControlName: Controls4.City,
87777
+ required: true,
87778
+ class: "span-6"
87779
+ },
87780
+ {
87781
+ type: FormType.Input,
87782
+ label: "Postal Code",
87783
+ formControlName: Controls4.PostalCode,
87784
+ required: true,
87785
+ class: "span-6"
87786
+ },
87787
+ {
87788
+ type: FormType.Input,
87789
+ label: "Province",
87790
+ formControlName: Controls4.Province,
87791
+ readonly: true,
87792
+ class: "span-6"
87793
+ },
87794
+ {
87795
+ type: FormType.Input,
87796
+ label: "Country",
87797
+ formControlName: Controls4.Country,
87798
+ readonly: true,
87799
+ class: "span-6"
87800
+ }
87801
+ ];
87802
+ BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
87803
+ {
87804
+ type: FormType.Text,
87805
+ formControlName: "",
87806
+ class: "span-12",
87807
+ 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.")
87808
+ }
87809
+ ];
87810
+ BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
87811
+ {
87812
+ type: FormType.Checkbox,
87813
+ label: "Same as Mailing Address",
87814
+ formControlName: Controls4.DeliverySameAsMailing,
87815
+ class: "span-12",
87816
+ onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
87817
+ }
87818
+ ];
87819
+ BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
87820
+ {
87821
+ type: FormType.Checkbox,
87822
+ label: "Same as Registered Office",
87823
+ formControlName: Controls4.SameAsRegisteredOffice,
87824
+ class: "span-12",
87825
+ onChange: (form) => {
87826
+ const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
87827
+ const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
87828
+ BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
87829
+ BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
87830
+ }
87831
+ }
87832
+ ];
87833
+ }
87834
+ });
87835
+
87836
+ // src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
87837
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
87838
+ if (rf & 1) {
87839
+ \u0275\u0275element(0, "alert", 1);
87840
+ }
87841
+ if (rf & 2) {
87842
+ const ctx_r0 = \u0275\u0275nextContext();
87843
+ \u0275\u0275property("type", ctx_r0.alertType.Info);
87844
+ }
87845
+ }
87846
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
87847
+ if (rf & 1) {
87848
+ \u0275\u0275element(0, "alert", 2);
87849
+ }
87850
+ if (rf & 2) {
87851
+ const ctx_r0 = \u0275\u0275nextContext();
87852
+ \u0275\u0275property("content", ctx_r0.errors());
87853
+ }
87854
+ }
87855
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
87856
+ if (rf & 1) {
87857
+ const _r2 = \u0275\u0275getCurrentView();
87858
+ \u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
87859
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87860
+ \u0275\u0275restoreView(_r2);
87861
+ const ctx_r0 = \u0275\u0275nextContext();
87862
+ return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
87863
+ });
87864
+ \u0275\u0275elementEnd()();
87865
+ }
87866
+ if (rf & 2) {
87867
+ const ctx_r0 = \u0275\u0275nextContext();
87868
+ const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
87869
+ \u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
87870
+ \u0275\u0275advance();
87871
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
87872
+ }
87873
+ }
87874
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
87875
+ if (rf & 1) {
87876
+ \u0275\u0275elementStart(0, "expandable-card", 5);
87877
+ \u0275\u0275element(1, "filing-form-group", 8);
87878
+ \u0275\u0275elementEnd();
87879
+ }
87880
+ if (rf & 2) {
87881
+ const ctx_r0 = \u0275\u0275nextContext();
87882
+ const corporationDetails_r4 = \u0275\u0275readContextLet(6);
87883
+ \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
87884
+ \u0275\u0275advance();
87885
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r4)("config", ctx_r0.corporationDetailsFields);
87886
+ }
87887
+ }
87888
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
87889
+ if (rf & 1) {
87890
+ const _r6 = \u0275\u0275getCurrentView();
87891
+ \u0275\u0275elementStart(0, "filing-form-group", 7);
87892
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
87893
+ \u0275\u0275restoreView(_r6);
87894
+ const ctx_r0 = \u0275\u0275nextContext(2);
87895
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87896
+ });
87897
+ \u0275\u0275elementEnd();
87898
+ }
87899
+ if (rf & 2) {
87900
+ \u0275\u0275nextContext();
87901
+ const registeredMailing_r7 = \u0275\u0275readContextLet(0);
87902
+ const ctx_r0 = \u0275\u0275nextContext();
87903
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r7)("config", ctx_r0.addressFields);
87904
+ }
87905
+ }
87906
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
87907
+ if (rf & 1) {
87908
+ const _r8 = \u0275\u0275getCurrentView();
87909
+ \u0275\u0275element(0, "filing-form-group", 8);
87910
+ \u0275\u0275elementStart(1, "filing-form-group", 7);
87911
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
87912
+ \u0275\u0275restoreView(_r8);
87913
+ const ctx_r0 = \u0275\u0275nextContext(2);
87914
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87915
+ });
87916
+ \u0275\u0275elementEnd();
87917
+ }
87918
+ if (rf & 2) {
87919
+ \u0275\u0275nextContext();
87920
+ const registeredDelivery_r9 = \u0275\u0275readContextLet(1);
87921
+ const ctx_r0 = \u0275\u0275nextContext();
87922
+ const registeredOffice_r10 = \u0275\u0275readContextLet(8);
87923
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliveryNoteFields);
87924
+ \u0275\u0275advance();
87925
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r9)("config", ctx_r0.addressFields);
87926
+ }
87927
+ }
87928
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
87929
+ if (rf & 1) {
87930
+ const _r5 = \u0275\u0275getCurrentView();
87931
+ \u0275\u0275declareLet(0)(1)(2);
87932
+ \u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 9);
87933
+ \u0275\u0275element(5, "filing-form-group", 8);
87934
+ \u0275\u0275elementStart(6, "h4", 10);
87935
+ \u0275\u0275text(7);
87936
+ \u0275\u0275pipe(8, "translate");
87937
+ \u0275\u0275elementEnd();
87938
+ \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 8);
87939
+ \u0275\u0275elementStart(10, "h4", 10);
87940
+ \u0275\u0275text(11);
87941
+ \u0275\u0275pipe(12, "translate");
87942
+ \u0275\u0275elementEnd();
87943
+ \u0275\u0275elementStart(13, "filing-form-group", 7);
87944
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
87945
+ \u0275\u0275restoreView(_r5);
87946
+ const ctx_r0 = \u0275\u0275nextContext();
87947
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87948
+ });
87949
+ \u0275\u0275elementEnd();
87950
+ \u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
87951
+ \u0275\u0275elementEnd()();
87952
+ }
87953
+ if (rf & 2) {
87954
+ const ctx_r0 = \u0275\u0275nextContext();
87955
+ const registeredOffice_r10 = \u0275\u0275readContextLet(8);
87956
+ const registeredMailing_r11 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewMailingAddress));
87957
+ \u0275\u0275advance();
87958
+ const registeredDelivery_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewDeliveryAddress));
87959
+ const registeredDeliverySame_r13 = ctx_r0.isChecked(registeredOffice_r10, ctx_r0.controls.DeliverySameAsMailing);
87960
+ \u0275\u0275advance(2);
87961
+ \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
87962
+ \u0275\u0275advance(2);
87963
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.currentAddressesFields);
87964
+ \u0275\u0275advance(2);
87965
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
87966
+ \u0275\u0275advance(2);
87967
+ \u0275\u0275conditional(registeredMailing_r11 ? 9 : -1);
87968
+ \u0275\u0275advance(2);
87969
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
87970
+ \u0275\u0275advance(2);
87971
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliverySameAsMailingFields);
87972
+ \u0275\u0275advance();
87973
+ \u0275\u0275conditional(!registeredDeliverySame_r13 && registeredDelivery_r12 ? 14 : -1);
87974
+ }
87975
+ }
87976
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
87977
+ if (rf & 1) {
87978
+ const _r16 = \u0275\u0275getCurrentView();
87979
+ \u0275\u0275elementStart(0, "filing-form-group", 7);
87980
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
87981
+ \u0275\u0275restoreView(_r16);
87982
+ const ctx_r0 = \u0275\u0275nextContext(3);
87983
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
87984
+ });
87985
+ \u0275\u0275elementEnd();
87986
+ }
87987
+ if (rf & 2) {
87988
+ \u0275\u0275nextContext(2);
87989
+ const recordsMailing_r17 = \u0275\u0275readContextLet(0);
87990
+ const ctx_r0 = \u0275\u0275nextContext();
87991
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r17)("config", ctx_r0.addressFields);
87992
+ }
87993
+ }
87994
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
87995
+ if (rf & 1) {
87996
+ const _r18 = \u0275\u0275getCurrentView();
87997
+ \u0275\u0275elementStart(0, "filing-form-group", 7);
87998
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
87999
+ \u0275\u0275restoreView(_r18);
88000
+ const ctx_r0 = \u0275\u0275nextContext(3);
88001
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
88002
+ });
88003
+ \u0275\u0275elementEnd();
88004
+ }
88005
+ if (rf & 2) {
88006
+ \u0275\u0275nextContext(2);
88007
+ const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
88008
+ const ctx_r0 = \u0275\u0275nextContext();
88009
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r19)("config", ctx_r0.addressFields);
88010
+ }
88011
+ }
88012
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
88013
+ if (rf & 1) {
88014
+ const _r15 = \u0275\u0275getCurrentView();
88015
+ \u0275\u0275elementStart(0, "h4", 10);
88016
+ \u0275\u0275text(1);
88017
+ \u0275\u0275pipe(2, "translate");
88018
+ \u0275\u0275elementEnd();
88019
+ \u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 8);
88020
+ \u0275\u0275elementStart(4, "h4", 10);
88021
+ \u0275\u0275text(5);
88022
+ \u0275\u0275pipe(6, "translate");
88023
+ \u0275\u0275elementEnd();
88024
+ \u0275\u0275elementStart(7, "filing-form-group", 7);
88025
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
88026
+ \u0275\u0275restoreView(_r15);
88027
+ const ctx_r0 = \u0275\u0275nextContext(2);
88028
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
88029
+ });
88030
+ \u0275\u0275elementEnd();
88031
+ \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 8);
88032
+ }
88033
+ if (rf & 2) {
88034
+ \u0275\u0275nextContext();
88035
+ const recordsMailing_r17 = \u0275\u0275readContextLet(0);
88036
+ const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
88037
+ const recordsDeliverySame_r20 = \u0275\u0275readContextLet(3);
88038
+ const ctx_r0 = \u0275\u0275nextContext();
88039
+ const recordsOffice_r21 = \u0275\u0275readContextLet(10);
88040
+ \u0275\u0275advance();
88041
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
88042
+ \u0275\u0275advance(2);
88043
+ \u0275\u0275conditional(recordsMailing_r17 ? 3 : -1);
88044
+ \u0275\u0275advance(2);
88045
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
88046
+ \u0275\u0275advance(2);
88047
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.deliverySameAsMailingFields);
88048
+ \u0275\u0275advance();
88049
+ \u0275\u0275conditional(!recordsDeliverySame_r20 && recordsDelivery_r19 ? 8 : -1);
88050
+ }
88051
+ }
88052
+ function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
88053
+ if (rf & 1) {
88054
+ const _r14 = \u0275\u0275getCurrentView();
88055
+ \u0275\u0275declareLet(0)(1)(2)(3);
88056
+ \u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 9);
88057
+ \u0275\u0275element(6, "filing-form-group", 8);
88058
+ \u0275\u0275elementStart(7, "filing-form-group", 7);
88059
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
88060
+ \u0275\u0275restoreView(_r14);
88061
+ const ctx_r0 = \u0275\u0275nextContext();
88062
+ return \u0275\u0275resetView(ctx_r0.emitValidity());
88063
+ });
88064
+ \u0275\u0275elementEnd();
88065
+ \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
88066
+ \u0275\u0275elementEnd()();
88067
+ }
88068
+ if (rf & 2) {
88069
+ const ctx_r0 = \u0275\u0275nextContext();
88070
+ const recordsOffice_r21 = \u0275\u0275readContextLet(10);
88071
+ \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewMailingAddress));
88072
+ \u0275\u0275advance();
88073
+ \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewDeliveryAddress));
88074
+ const recordsSameAsRegistered_r22 = ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.SameAsRegisteredOffice);
88075
+ \u0275\u0275advance(2);
88076
+ \u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.DeliverySameAsMailing));
88077
+ \u0275\u0275advance();
88078
+ \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
88079
+ \u0275\u0275advance(2);
88080
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.currentAddressesFields);
88081
+ \u0275\u0275advance();
88082
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.sameAsRegisteredOfficeFields);
88083
+ \u0275\u0275advance();
88084
+ \u0275\u0275conditional(!recordsSameAsRegistered_r22 ? 8 : -1);
88085
+ }
88086
+ }
88087
+ var BritishColumbiaChangeOfOfficeAddressesFormComponent;
88088
+ var init_change_of_office_addresses_form_component = __esm({
88089
+ "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
88090
+ init_core();
88091
+ init_ngx_translate_core();
88092
+ init_filing_form_group_component();
88093
+ init_alert_component();
88094
+ init_alert_enum();
88095
+ init_expandable_card_component();
88096
+ init_british_columbia_form_enums();
88097
+ init_british_columbia_change_of_office_addresses_form_constants();
88098
+ init_forms_utils();
88099
+ init_core();
88100
+ BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
88101
+ form = input.required();
88102
+ task = input();
88103
+ errors = input([]);
88104
+ isNote = input(false);
88105
+ isSubmitted = input(false);
88106
+ readonly = input(false);
88107
+ visiblyValidChange = output();
88108
+ alertType = AlertType;
88109
+ groups = BCChangeOfOfficeAddressesFormGroups;
88110
+ controls = BCChangeOfOfficeAddressesFormControls;
88111
+ referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
88112
+ corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
88113
+ currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
88114
+ addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
88115
+ deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
88116
+ deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
88117
+ sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
88118
+ sectionValidity = {};
88119
+ isVisiblyValid() {
88120
+ return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
88121
+ }
88122
+ isRegisteredOfficeValid() {
88123
+ const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
88124
+ return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
88125
+ }
88126
+ isRecordsOfficeValid() {
88127
+ const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
88128
+ return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
88129
+ }
88130
+ isChecked(office, control) {
88131
+ return Boolean(office?.get(control)?.value);
88132
+ }
88133
+ onSectionValidChange(section, valid) {
88134
+ this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
88135
+ this.emitValidity();
88136
+ }
88137
+ emitValidity() {
88138
+ this.visiblyValidChange.emit(this.isVisiblyValid());
88139
+ }
88140
+ getFormGroup(key) {
88141
+ return this.form().get(key) ?? null;
88142
+ }
88143
+ getAddressGroup(office, control) {
88144
+ return office?.get(control) ?? null;
88145
+ }
88146
+ isAddressValid(office, control) {
88147
+ const group2 = this.getAddressGroup(office, control);
88148
+ return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
88149
+ }
88150
+ static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
88151
+ return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
88152
+ };
88153
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 12, vars: 10, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
88154
+ if (rf & 1) {
88155
+ \u0275\u0275elementStart(0, "div", 0);
88156
+ \u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
88157
+ \u0275\u0275elementStart(3, "div", 3);
88158
+ \u0275\u0275declareLet(4);
88159
+ \u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
88160
+ \u0275\u0275declareLet(6);
88161
+ \u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
88162
+ \u0275\u0275declareLet(8);
88163
+ \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
88164
+ \u0275\u0275declareLet(10);
88165
+ \u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
88166
+ \u0275\u0275elementEnd()();
88167
+ }
88168
+ if (rf & 2) {
88169
+ \u0275\u0275advance();
88170
+ \u0275\u0275conditional(ctx.isNote() ? 1 : -1);
88171
+ \u0275\u0275advance();
88172
+ \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
88173
+ \u0275\u0275advance(2);
88174
+ const referenceNumbers_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
88175
+ \u0275\u0275advance();
88176
+ \u0275\u0275conditional(referenceNumbers_r23 ? 5 : -1);
88177
+ \u0275\u0275advance();
88178
+ const corporationDetails_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
88179
+ \u0275\u0275advance();
88180
+ \u0275\u0275conditional(corporationDetails_r24 ? 7 : -1);
88181
+ \u0275\u0275advance();
88182
+ const registeredOffice_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
88183
+ \u0275\u0275advance();
88184
+ \u0275\u0275conditional(registeredOffice_r25 ? 9 : -1);
88185
+ \u0275\u0275advance();
88186
+ const recordsOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
88187
+ \u0275\u0275advance();
88188
+ \u0275\u0275conditional(recordsOffice_r26 ? 11 : -1);
88189
+ }
88190
+ }, 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 });
88191
+ };
88192
+ (() => {
88193
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
88194
+ type: Component,
88195
+ 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
88196
+ @if (isNote()) {\r
88197
+ <alert\r
88198
+ [type]="alertType.Info"\r
88199
+ title="Entity changed"\r
88200
+ content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
88201
+ />\r
88202
+ }\r
88203
+ \r
88204
+ @if (errors().length) {\r
88205
+ <alert\r
88206
+ title="The following issues need to be resolved before proceeding:"\r
88207
+ [content]="errors()"\r
88208
+ />\r
88209
+ }\r
88210
+ \r
88211
+ <div class="change-of-office-addresses-form-content">\r
88212
+ @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
88213
+ \r
88214
+ @if (referenceNumbers) {\r
88215
+ <expandable-card [title]="groups.ReferenceNumbers">\r
88216
+ <filing-form-group\r
88217
+ [isSubmitted]="isSubmitted()"\r
88218
+ [form]="referenceNumbers"\r
88219
+ [config]="referenceNumbersFields"\r
88220
+ (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
88221
+ />\r
88222
+ </expandable-card>\r
88223
+ }\r
88224
+ \r
88225
+ @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
88226
+ \r
88227
+ @if (corporationDetails) {\r
88228
+ <expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
88229
+ <filing-form-group\r
88230
+ [isSubmitted]="isSubmitted()"\r
88231
+ [form]="corporationDetails"\r
88232
+ [config]="corporationDetailsFields"\r
88233
+ />\r
88234
+ </expandable-card>\r
88235
+ }\r
88236
+ \r
88237
+ <!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
88238
+ @let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
88239
+ \r
88240
+ @if (registeredOffice) {\r
88241
+ @let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
88242
+ @let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
88243
+ @let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
88244
+ \r
88245
+ <expandable-card\r
88246
+ [isStatusIcon]="!readonly()"\r
88247
+ [isValid]="isRegisteredOfficeValid()"\r
88248
+ [title]="groups.RegisteredOfficeAddress"\r
88249
+ >\r
88250
+ <div class="change-of-office-addresses-form-item">\r
88251
+ <filing-form-group\r
88252
+ [isSubmitted]="isSubmitted()"\r
88253
+ [form]="registeredOffice"\r
88254
+ [config]="currentAddressesFields"\r
88255
+ />\r
88256
+ \r
88257
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88258
+ \r
88259
+ @if (registeredMailing) {\r
88260
+ <filing-form-group\r
88261
+ [isSubmitted]="isSubmitted()"\r
88262
+ [form]="registeredMailing"\r
88263
+ [config]="addressFields"\r
88264
+ (visiblyValidChange)="emitValidity()"\r
88265
+ />\r
88266
+ }\r
88267
+ \r
88268
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88269
+ \r
88270
+ <filing-form-group\r
88271
+ [isSubmitted]="isSubmitted()"\r
88272
+ [form]="registeredOffice"\r
88273
+ [config]="deliverySameAsMailingFields"\r
88274
+ (visiblyValidChange)="emitValidity()"\r
88275
+ />\r
88276
+ \r
88277
+ @if (!registeredDeliverySame && registeredDelivery) {\r
88278
+ <filing-form-group\r
88279
+ [isSubmitted]="isSubmitted()"\r
88280
+ [form]="registeredOffice"\r
88281
+ [config]="deliveryNoteFields"\r
88282
+ />\r
88283
+ <filing-form-group\r
88284
+ [isSubmitted]="isSubmitted()"\r
88285
+ [form]="registeredDelivery"\r
88286
+ [config]="addressFields"\r
88287
+ (visiblyValidChange)="emitValidity()"\r
88288
+ />\r
88289
+ }\r
88290
+ </div>\r
88291
+ </expandable-card>\r
88292
+ }\r
88293
+ \r
88294
+ <!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
88295
+ @let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
88296
+ \r
88297
+ @if (recordsOffice) {\r
88298
+ @let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
88299
+ @let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
88300
+ @let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
88301
+ @let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
88302
+ \r
88303
+ <expandable-card\r
88304
+ [isStatusIcon]="!readonly()"\r
88305
+ [isValid]="isRecordsOfficeValid()"\r
88306
+ [title]="groups.RecordsOfficeAddress"\r
88307
+ >\r
88308
+ <div class="change-of-office-addresses-form-item">\r
88309
+ <filing-form-group\r
88310
+ [isSubmitted]="isSubmitted()"\r
88311
+ [form]="recordsOffice"\r
88312
+ [config]="currentAddressesFields"\r
88313
+ />\r
88314
+ \r
88315
+ <filing-form-group\r
88316
+ [isSubmitted]="isSubmitted()"\r
88317
+ [form]="recordsOffice"\r
88318
+ [config]="sameAsRegisteredOfficeFields"\r
88319
+ (visiblyValidChange)="emitValidity()"\r
88320
+ />\r
88321
+ \r
88322
+ @if (!recordsSameAsRegistered) {\r
88323
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88324
+ \r
88325
+ @if (recordsMailing) {\r
88326
+ <filing-form-group\r
88327
+ [isSubmitted]="isSubmitted()"\r
88328
+ [form]="recordsMailing"\r
88329
+ [config]="addressFields"\r
88330
+ (visiblyValidChange)="emitValidity()"\r
88331
+ />\r
88332
+ }\r
88333
+ \r
88334
+ <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88335
+ \r
88336
+ <filing-form-group\r
88337
+ [isSubmitted]="isSubmitted()"\r
88338
+ [form]="recordsOffice"\r
88339
+ [config]="deliverySameAsMailingFields"\r
88340
+ (visiblyValidChange)="emitValidity()"\r
88341
+ />\r
88342
+ \r
88343
+ @if (!recordsDeliverySame && recordsDelivery) {\r
88344
+ <filing-form-group\r
88345
+ [isSubmitted]="isSubmitted()"\r
88346
+ [form]="recordsDelivery"\r
88347
+ [config]="addressFields"\r
88348
+ (visiblyValidChange)="emitValidity()"\r
88349
+ />\r
88350
+ }\r
88351
+ }\r
88352
+ </div>\r
88353
+ </expandable-card>\r
88354
+ }\r
88355
+ </div>\r
88356
+ </div>\r
88357
+ `, 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"] }]
88358
+ }], null, null);
88359
+ })();
88360
+ (() => {
88361
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 43 });
88362
+ })();
88363
+ }
88364
+ });
88365
+
88366
+ // src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
88367
+ var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
88368
+ var init_change_of_office_addresses_delta_form_component = __esm({
88369
+ "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
88370
+ init_core();
88371
+ init_button();
88372
+ init_ngx_translate_core();
88373
+ init_common_utils();
88374
+ init_change_of_office_addresses_form_component();
88375
+ init_core();
88376
+ BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
88377
+ form = input.required();
88378
+ actionsDisabled = input(false);
88379
+ isNote = input(false);
88380
+ task = input();
88381
+ errors = input([]);
88382
+ close = output();
88383
+ save = output();
88384
+ validate = output();
88385
+ submitted = signal(false);
88386
+ visiblyValid = signal(true);
88387
+ clientErrors = signal([]);
88388
+ translate = inject(TranslateService);
88389
+ combinedErrors = computed(() => {
88390
+ const client = this.clientErrors();
88391
+ return client.length ? client : this.errors();
88392
+ });
88393
+ onVisiblyValidChange(valid) {
88394
+ this.visiblyValid.set(valid);
88395
+ }
88396
+ onValidate() {
88397
+ this.submitted.set(true);
88398
+ this.clientErrors.set([]);
88399
+ markFormGroupTouched(this.form());
88400
+ if (!this.visiblyValid()) {
88401
+ this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
88402
+ return;
88403
+ }
88404
+ this.validate.emit();
88405
+ }
88406
+ static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
88407
+ return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
88408
+ };
88409
+ 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) {
88410
+ if (rf & 1) {
88411
+ \u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
88412
+ \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
88413
+ return ctx.onVisiblyValidChange($event);
88414
+ });
88415
+ \u0275\u0275elementEnd();
88416
+ \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88417
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
88418
+ return ctx.close.emit();
88419
+ });
88420
+ \u0275\u0275elementStart(4, "span", 4);
88421
+ \u0275\u0275text(5);
88422
+ \u0275\u0275pipe(6, "translate");
88423
+ \u0275\u0275elementEnd()();
88424
+ \u0275\u0275elementStart(7, "button", 3);
88425
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
88426
+ return ctx.save.emit();
88427
+ });
88428
+ \u0275\u0275elementStart(8, "span", 4);
88429
+ \u0275\u0275text(9);
88430
+ \u0275\u0275pipe(10, "translate");
88431
+ \u0275\u0275elementEnd()();
88432
+ \u0275\u0275elementStart(11, "button", 5);
88433
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
88434
+ return ctx.onValidate();
88435
+ });
88436
+ \u0275\u0275elementStart(12, "span", 4);
88437
+ \u0275\u0275text(13);
88438
+ \u0275\u0275pipe(14, "translate");
88439
+ \u0275\u0275elementEnd()()()();
88440
+ }
88441
+ if (rf & 2) {
88442
+ \u0275\u0275advance();
88443
+ \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
88444
+ \u0275\u0275advance(2);
88445
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88446
+ \u0275\u0275advance(2);
88447
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
88448
+ \u0275\u0275advance(2);
88449
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88450
+ \u0275\u0275advance(2);
88451
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
88452
+ \u0275\u0275advance(2);
88453
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88454
+ \u0275\u0275advance(2);
88455
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
88456
+ }
88457
+ }, 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 });
88458
+ };
88459
+ (() => {
88460
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
88461
+ type: Component,
88462
+ 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
88463
+ <british-columbia-change-of-office-addresses-form\r
88464
+ class="change-of-office-addresses-delta-form-content"\r
88465
+ [form]="form()"\r
88466
+ [task]="task()"\r
88467
+ [errors]="combinedErrors()"\r
88468
+ [isNote]="isNote()"\r
88469
+ [isSubmitted]="submitted()"\r
88470
+ [readonly]="false"\r
88471
+ (visiblyValidChange)="onVisiblyValidChange($event)"\r
88472
+ />\r
88473
+ \r
88474
+ <div class="change-of-office-addresses-delta-form-actions">\r
88475
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88476
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88477
+ </button>\r
88478
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
88479
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
88480
+ </button>\r
88481
+ <button\r
88482
+ class="submit"\r
88483
+ color="primary"\r
88484
+ mat-flat-button\r
88485
+ [disabled]="actionsDisabled()"\r
88486
+ (click)="onValidate()"\r
88487
+ >\r
88488
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
88489
+ </button>\r
88490
+ </div>\r
88491
+ </div>\r
88492
+ `, 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"] }]
88493
+ }], null, null);
88494
+ })();
88495
+ (() => {
88496
+ (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 });
88497
+ })();
88498
+ }
88499
+ });
88500
+
88501
+ // src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
88502
+ var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
88503
+ var init_change_of_office_addresses_preview_form_component = __esm({
88504
+ "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
88505
+ init_core();
88506
+ init_button();
88507
+ init_ngx_translate_core();
88508
+ init_change_of_office_addresses_form_component();
88509
+ init_core();
88510
+ BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
88511
+ form = input.required();
88512
+ actionsDisabled = input(false);
88513
+ task = input();
88514
+ errors = input([]);
88515
+ close = output();
88516
+ file = output();
88517
+ static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
88518
+ return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
88519
+ };
88520
+ 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) {
88521
+ if (rf & 1) {
88522
+ \u0275\u0275elementStart(0, "div", 0);
88523
+ \u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
88524
+ \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88525
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
88526
+ return ctx.close.emit();
88527
+ });
88528
+ \u0275\u0275elementStart(4, "span", 4);
88529
+ \u0275\u0275text(5);
88530
+ \u0275\u0275pipe(6, "translate");
88531
+ \u0275\u0275elementEnd()();
88532
+ \u0275\u0275elementStart(7, "button", 5);
88533
+ \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
88534
+ return ctx.file.emit();
88535
+ });
88536
+ \u0275\u0275elementStart(8, "span", 4);
88537
+ \u0275\u0275text(9);
88538
+ \u0275\u0275pipe(10, "translate");
88539
+ \u0275\u0275elementEnd()()()();
88540
+ }
88541
+ if (rf & 2) {
88542
+ \u0275\u0275advance();
88543
+ \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
88544
+ \u0275\u0275advance(2);
88545
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88546
+ \u0275\u0275advance(2);
88547
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
88548
+ \u0275\u0275advance(2);
88549
+ \u0275\u0275property("disabled", ctx.actionsDisabled());
88550
+ \u0275\u0275advance(2);
88551
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
88552
+ }
88553
+ }, 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 });
88554
+ };
88555
+ (() => {
88556
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
88557
+ type: Component,
88558
+ 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
88559
+ <british-columbia-change-of-office-addresses-form\r
88560
+ class="change-of-office-addresses-preview-form-content"\r
88561
+ [form]="form()"\r
88562
+ [task]="task()"\r
88563
+ [errors]="errors()"\r
88564
+ [isSubmitted]="false"\r
88565
+ [readonly]="true"\r
88566
+ />\r
88567
+ \r
88568
+ <div class="change-of-office-addresses-preview-form-actions">\r
88569
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88570
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88571
+ </button>\r
88572
+ <button\r
88573
+ class="submit"\r
88574
+ color="primary"\r
88575
+ mat-flat-button\r
88576
+ [disabled]="actionsDisabled()"\r
88577
+ (click)="file.emit()"\r
88578
+ >\r
88579
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
88580
+ </button>\r
88581
+ </div>\r
88582
+ </div>\r
88583
+ `, 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"] }]
88584
+ }], null, null);
88585
+ })();
88586
+ (() => {
88587
+ (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 });
88588
+ })();
88589
+ }
88590
+ });
88591
+
87633
88592
  // src/app/components/british-columbia/british-columbia.component.ts
87634
88593
  function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
87635
88594
  if (rf & 1) {
@@ -87797,6 +88756,63 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87797
88756
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
87798
88757
  }
87799
88758
  }
88759
+ function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
88760
+ if (rf & 1) {
88761
+ const _r9 = \u0275\u0275getCurrentView();
88762
+ \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
88763
+ \u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
88764
+ \u0275\u0275restoreView(_r9);
88765
+ const ctx_r1 = \u0275\u0275nextContext(2);
88766
+ return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
88767
+ })("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
88768
+ \u0275\u0275restoreView(_r9);
88769
+ const ctx_r1 = \u0275\u0275nextContext(2);
88770
+ return \u0275\u0275resetView(ctx_r1.onClose());
88771
+ })("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
88772
+ \u0275\u0275restoreView(_r9);
88773
+ const ctx_r1 = \u0275\u0275nextContext(2);
88774
+ return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
88775
+ });
88776
+ \u0275\u0275elementEnd();
88777
+ }
88778
+ if (rf & 2) {
88779
+ const ctx_r1 = \u0275\u0275nextContext(2);
88780
+ const taskData_r3 = \u0275\u0275readContextLet(0);
88781
+ \u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
88782
+ }
88783
+ }
88784
+ function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
88785
+ if (rf & 1) {
88786
+ const _r10 = \u0275\u0275getCurrentView();
88787
+ \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
88788
+ \u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
88789
+ \u0275\u0275restoreView(_r10);
88790
+ const ctx_r1 = \u0275\u0275nextContext(2);
88791
+ return \u0275\u0275resetView(ctx_r1.close.emit());
88792
+ })("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
88793
+ \u0275\u0275restoreView(_r10);
88794
+ const ctx_r1 = \u0275\u0275nextContext(2);
88795
+ return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
88796
+ });
88797
+ \u0275\u0275elementEnd();
88798
+ }
88799
+ if (rf & 2) {
88800
+ const ctx_r1 = \u0275\u0275nextContext(2);
88801
+ const taskData_r3 = \u0275\u0275readContextLet(0);
88802
+ \u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
88803
+ }
88804
+ }
88805
+ function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
88806
+ if (rf & 1) {
88807
+ \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);
88808
+ }
88809
+ if (rf & 2) {
88810
+ const ctx_r1 = \u0275\u0275nextContext();
88811
+ \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
88812
+ \u0275\u0275advance();
88813
+ \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88814
+ }
88815
+ }
87800
88816
  var BritishColumbiaComponent;
87801
88817
  var init_british_columbia_component = __esm({
87802
88818
  "src/app/components/british-columbia/british-columbia.component.ts"() {
@@ -87809,6 +88825,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87809
88825
  init_british_columbia_form_enums();
87810
88826
  init_british_columbia_change_of_directors_form_helper();
87811
88827
  init_british_columbia_formation_form_helper();
88828
+ init_british_columbia_change_of_office_addresses_form_helper();
87812
88829
  init_delta_state_service();
87813
88830
  init_common_utils();
87814
88831
  init_confirm_modal_component();
@@ -87817,6 +88834,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87817
88834
  init_change_of_directors_preview_form_component();
87818
88835
  init_british_columbia_incorporation_delta_form_component();
87819
88836
  init_british_columbia_incorporation_preview_form_component();
88837
+ init_change_of_office_addresses_delta_form_component();
88838
+ init_change_of_office_addresses_preview_form_component();
87820
88839
  init_core();
87821
88840
  BritishColumbiaComponent = class _BritishColumbiaComponent {
87822
88841
  task = input();
@@ -87834,12 +88853,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87834
88853
  saveFormationDeltaData = output();
87835
88854
  nextStep = output();
87836
88855
  prevStep = output();
88856
+ // Change of Office Addresses outputs
88857
+ coaValidate = output();
88858
+ saveCoaDeltaData = output();
88859
+ coaSubmit = output();
87837
88860
  dialog = inject(MatDialog);
87838
88861
  deltaState = inject(DeltaStateService);
87839
88862
  translate = inject(TranslateService);
87840
88863
  steps = Step;
87841
88864
  isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
87842
88865
  isFormationTask = isFormationTask2;
88866
+ isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
87843
88867
  deltaForm = signal(new FormGroup({}));
87844
88868
  previewForm = signal(new FormGroup({}));
87845
88869
  constructor() {
@@ -87853,6 +88877,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87853
88877
  this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
87854
88878
  this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
87855
88879
  }
88880
+ if (task && isChangeOfAddressTask(task)) {
88881
+ this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
88882
+ this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
88883
+ }
87856
88884
  });
87857
88885
  effect(() => {
87858
88886
  const task = this.task();
@@ -87876,7 +88904,63 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87876
88904
  this.nextStep.emit();
87877
88905
  }
87878
88906
  }
88907
+ if (task && isChangeOfAddressTask(task) && deltaData) {
88908
+ const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
88909
+ form.disable();
88910
+ this.previewForm.set(form);
88911
+ if (untracked2(() => this.activeStep()) === Step.Validate) {
88912
+ this.nextStep.emit();
88913
+ }
88914
+ }
88915
+ });
88916
+ }
88917
+ onChangeOfOfficeAddressesValidate() {
88918
+ markFormGroupTouched(this.deltaForm());
88919
+ this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
88920
+ }
88921
+ onChangeOfOfficeAddressesSave() {
88922
+ const delta = this.generateChangeOfOfficeAddressesDeltaData();
88923
+ this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
88924
+ this.saveCoaDeltaData.emit(delta);
88925
+ }
88926
+ /** No certification step for this filing: "File" submits the staged draft directly. */
88927
+ onChangeOfOfficeAddressesFile() {
88928
+ this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
88929
+ }
88930
+ generateChangeOfOfficeAddressesDeltaData() {
88931
+ const c = BCChangeOfOfficeAddressesFormControls;
88932
+ const formData = this.deltaForm().getRawValue();
88933
+ const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
88934
+ const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
88935
+ const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
88936
+ const toAddress = (src) => ({
88937
+ addressLine1: src?.[c.AddressLine1] ?? null,
88938
+ addressLine2: src?.[c.AddressLine2] ?? null,
88939
+ city: src?.[c.City] ?? null,
88940
+ postalCode: src?.[c.PostalCode] ?? null,
88941
+ province: src?.[c.Province] ?? null,
88942
+ country: src?.[c.Country] ?? null
87879
88943
  });
88944
+ const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
88945
+ const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
88946
+ const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
88947
+ return {
88948
+ referenceNumbers: {
88949
+ referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
88950
+ docketNumber: refNumbers?.[c.DocketNumber] ?? null
88951
+ },
88952
+ registeredOffice: {
88953
+ mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
88954
+ deliverySameAsMailing: regDeliverySame,
88955
+ deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
88956
+ },
88957
+ recordsOffice: {
88958
+ sameAsRegisteredOffice: recSameAsRegistered,
88959
+ mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
88960
+ deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
88961
+ deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
88962
+ }
88963
+ };
87880
88964
  }
87881
88965
  onChangeOfDirectorsValidate() {
87882
88966
  markFormGroupTouched(this.deltaForm());
@@ -87992,7 +89076,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87992
89076
  }
87993
89077
  onClose() {
87994
89078
  const task = this.task();
87995
- const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
89079
+ 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());
87996
89080
  if (!hasChanges) {
87997
89081
  this.close.emit();
87998
89082
  return;
@@ -88010,6 +89094,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88010
89094
  if (val) {
88011
89095
  if (task && isFormationTask2(task)) {
88012
89096
  this.onFormationSave();
89097
+ } else if (task && isChangeOfAddressTask(task)) {
89098
+ this.onChangeOfOfficeAddressesSave();
88013
89099
  } else {
88014
89100
  this.onChangeOfDirectorsSave();
88015
89101
  }
@@ -88020,23 +89106,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88020
89106
  static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
88021
89107
  return new (__ngFactoryType__ || _BritishColumbiaComponent)();
88022
89108
  };
88023
- 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", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
89109
+ 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", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
88024
89110
  if (rf & 1) {
88025
89111
  \u0275\u0275declareLet(0);
88026
- \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 3, 3);
89112
+ \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 3, 3)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
88027
89113
  }
88028
89114
  if (rf & 2) {
88029
- const taskData_r9 = \u0275\u0275storeLet(ctx.task());
89115
+ const taskData_r11 = \u0275\u0275storeLet(ctx.task());
89116
+ \u0275\u0275advance();
89117
+ \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r11) ? 1 : -1);
88030
89118
  \u0275\u0275advance();
88031
- \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
89119
+ \u0275\u0275conditional(ctx.isFormationTask(taskData_r11) ? 2 : -1);
88032
89120
  \u0275\u0275advance();
88033
- \u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
89121
+ \u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r11) ? 3 : -1);
88034
89122
  }
88035
89123
  }, dependencies: [
88036
89124
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
88037
89125
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
88038
89126
  BritishColumbiaIncorporationDeltaFormComponent,
88039
89127
  BritishColumbiaIncorporationPreviewFormComponent,
89128
+ BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
89129
+ BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
88040
89130
  TermsAndConditionsComponent
88041
89131
  ], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
88042
89132
  };
@@ -88048,12 +89138,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88048
89138
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
88049
89139
  BritishColumbiaIncorporationDeltaFormComponent,
88050
89140
  BritishColumbiaIncorporationPreviewFormComponent,
89141
+ BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
89142
+ BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
88051
89143
  TermsAndConditionsComponent
88052
- ], template: '@let taskData = this.task();\n\n@if (isChangeOfDirectorsTask(taskData)) {\n @if (activeStep() === steps.Validate) {\n <british-columbia-change-of-directors-delta-form\n [task]="taskData"\n [form]="deltaForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n [isNote]="isNote()"\n (validate)="onChangeOfDirectorsValidate()"\n (close)="onClose()"\n (save)="onChangeOfDirectorsSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <british-columbia-change-of-directors-preview-form\n [task]="taskData"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n (close)="close.emit()"\n (file)="nextStep.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n [errors]="errors()"\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onChangeOfDirectorsSubmit($event)"\n />\n }\n}\n\n@if (isFormationTask(taskData)) {\n @if (activeStep() === steps.Validate) {\n <british-columbia-incorporation-delta-form\n [task]="taskData"\n [errors]="errors()"\n [isNote]="isNote()"\n [actionsDisabled]="actionsDisabled()"\n [form]="deltaForm()"\n (validate)="onFormationValidate()"\n (close)="onClose()"\n (save)="onFormationSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <british-columbia-incorporation-preview-form\n [task]="taskData"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n (next)="nextStep.emit()"\n (close)="close.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n [errors]="errors()"\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onFormationSubmit($event)"\n />\n }\n}\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"] }]
89144
+ ], 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 [actionsDisabled]="actionsDisabled()"\r\n (next)="nextStep.emit()"\r\n (close)="close.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)="onFormationSubmit($event)"\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"] }]
88053
89145
  }], () => [], null);
88054
89146
  })();
88055
89147
  (() => {
88056
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 65 });
89148
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 75 });
88057
89149
  })();
88058
89150
  }
88059
89151
  });
@@ -94215,10 +95307,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94215
95307
  "src/app/services/british-columbia/british-columbia-change-of-directors.service.ts"() {
94216
95308
  init_core();
94217
95309
  init_common_utils();
94218
- init_common_utils();
94219
95310
  init_core();
94220
95311
  BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
94221
- static TEMP_UAT_BC_FILING_URL = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
94222
95312
  config;
94223
95313
  setConfig(config2) {
94224
95314
  this.config = config2;
@@ -94228,7 +95318,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94228
95318
  ensureAuthInputs(signature);
94229
95319
  const fetchFn = opts.fetchImpl ?? fetch;
94230
95320
  const url = signature.proxyApiUrl;
94231
- const targetUrl = opts.endpointPath ?? this.targetUrl(signature.env, "filings/ca/bc/maintenance-filing");
95321
+ const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
94232
95322
  const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
94233
95323
  "x-target-url": targetUrl
94234
95324
  }, opts.headers ?? {})));
@@ -94249,64 +95339,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94249
95339
  throw err;
94250
95340
  });
94251
95341
  }
94252
- getFilingResult(_0, _1) {
94253
- return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
94254
- ensureAuthInputs(signature);
94255
- if (!serviceOrderId) {
94256
- throw new Error("Missing serviceOrderId.");
94257
- }
94258
- const fetchFn = opts.fetchImpl ?? fetch;
94259
- const url = signature.proxyApiUrl;
94260
- const targetUrl = opts.endpointPath ?? this.targetUrl(signature.env, `filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}`);
94261
- const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
94262
- method: "GET",
94263
- headers: __spreadValues({
94264
- Authorization: `Bearer ${signature.jwtToken}`,
94265
- "x-target-url": targetUrl
94266
- }, opts.headers ?? {})
94267
- }));
94268
- const raw = yield resp.text();
94269
- const parsed = tryParseJson(raw);
94270
- const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
94271
- if (resp.ok && !payload.Errors?.length) {
94272
- return payload;
94273
- }
94274
- const err = buildGenericError(resp.status, "BC change of directors filing result failed", payload);
94275
- err.submitResult = payload;
94276
- err.httpStatus = resp.status;
94277
- throw err;
94278
- });
94279
- }
94280
- submitFiling(_0, _1) {
94281
- return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
94282
- ensureAuthInputs(signature);
94283
- if (!serviceOrderId) {
94284
- throw new Error("Missing serviceOrderId.");
94285
- }
94286
- const fetchFn = opts.fetchImpl ?? fetch;
94287
- const url = signature.proxyApiUrl;
94288
- const targetUrl = opts.endpointPath ?? this.targetUrl(signature.env, `filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}/submit`);
94289
- const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues({
94290
- "x-target-url": targetUrl
94291
- }, opts.headers ?? {})));
94292
- const raw = yield resp.text();
94293
- const parsed = tryParseJson(raw);
94294
- const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
94295
- if (resp.ok && !payload.Errors?.length) {
94296
- return payload;
94297
- }
94298
- const err = buildGenericError(resp.status, "BC change of directors submit failed", payload);
94299
- err.submitResult = payload;
94300
- err.httpStatus = resp.status;
94301
- throw err;
94302
- });
94303
- }
94304
- targetUrl(env, path) {
94305
- const base = this.config?.BCFiling || (env === "TEST" ? _BritishColumbiaChangeOfDirectorsService.TEMP_UAT_BC_FILING_URL : void 0);
94306
- if (!base) {
94307
- throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.BCFiling.");
95342
+ getOnbisOrigin() {
95343
+ const filingUrl = this.config?.ONFiling;
95344
+ if (!filingUrl) {
95345
+ throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.ONFiling.");
94308
95346
  }
94309
- return joinUrl(base, path);
95347
+ return new URL(filingUrl).origin;
94310
95348
  }
94311
95349
  static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
94312
95350
  return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
@@ -94328,7 +95366,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94328
95366
  function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
94329
95367
  const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
94330
95368
  const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
94331
- const companyEmail = deltaData.notification.email ?? findCompanyEmail(task);
95369
+ const companyEmail = findCompanyEmail(task);
94332
95370
  const serviceOrderId = deltaData.serviceOrderId;
94333
95371
  return __spreadValues({
94334
95372
  filingType: "changeOfDirectorsFiling",
@@ -94380,6 +95418,202 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94380
95418
  }
94381
95419
  });
94382
95420
 
95421
+ // src/app/services/british-columbia/british-columbia-maintenance.service.ts
95422
+ var MAINTENANCE_FILING_PATH, BritishColumbiaMaintenanceService;
95423
+ var init_british_columbia_maintenance_service = __esm({
95424
+ "src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
95425
+ init_core();
95426
+ init_common_utils();
95427
+ init_core();
95428
+ MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
95429
+ BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
95430
+ config;
95431
+ setConfig(config2) {
95432
+ this.config = config2;
95433
+ }
95434
+ validate(_0, _1) {
95435
+ return __async(this, arguments, function* (signature, requestBody, opts = {}) {
95436
+ ensureAuthInputs(signature);
95437
+ const baseUrl = this.getBaseUrl();
95438
+ const fetchFn = opts.fetchImpl ?? fetch;
95439
+ const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, requestBody, __spreadValues({
95440
+ "x-target-url": joinUrl(baseUrl, MAINTENANCE_FILING_PATH)
95441
+ }, opts.headers ?? {})));
95442
+ const raw = yield resp.text();
95443
+ const parsed = tryParseJson(raw);
95444
+ if (!parsed.ok) {
95445
+ const err2 = new Error(`eCore returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
95446
+ err2.httpStatus = resp.status;
95447
+ throw err2;
95448
+ }
95449
+ const result = this.normalize(unwrapRequestResults(parsed.value));
95450
+ const failed = !resp.ok || this.hasFailed(result);
95451
+ if (!failed) {
95452
+ return result;
95453
+ }
95454
+ const err = new Error(this.describeFailure(resp.status, "eCore validation failed", result));
95455
+ err.validateResult = result;
95456
+ err.httpStatus = resp.status;
95457
+ throw err;
95458
+ });
95459
+ }
95460
+ submitRequest(_0, _1) {
95461
+ return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
95462
+ ensureAuthInputs(signature);
95463
+ if (!serviceOrderId) {
95464
+ throw new Error("Missing serviceOrderId.");
95465
+ }
95466
+ const baseUrl = this.getBaseUrl();
95467
+ const fetchFn = opts.fetchImpl ?? fetch;
95468
+ const resp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
95469
+ method: "POST",
95470
+ headers: __spreadValues({
95471
+ Authorization: `Bearer ${signature.jwtToken}`,
95472
+ "x-target-url": joinUrl(baseUrl, `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`)
95473
+ }, opts.headers ?? {})
95474
+ }));
95475
+ const raw = yield resp.text();
95476
+ const parsed = tryParseJson(raw);
95477
+ if (!parsed.ok) {
95478
+ if (resp.ok) {
95479
+ signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
95480
+ return { Status: "Success", ServiceOrderId: serviceOrderId, raw };
95481
+ }
95482
+ const err = new Error(`eCore submit returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
95483
+ err.httpStatus = resp.status;
95484
+ throw err;
95485
+ }
95486
+ const result = this.normalize(unwrapRequestResults(parsed.value));
95487
+ const failed = !resp.ok || this.hasFailed(result);
95488
+ if (failed) {
95489
+ const err = new Error(this.describeFailure(resp.status, "eCore submit failed", result));
95490
+ err.submitResult = result;
95491
+ err.httpStatus = resp.status;
95492
+ throw err;
95493
+ }
95494
+ signature.filingSubmitSuccess?.({
95495
+ filedOn: /* @__PURE__ */ new Date(),
95496
+ serviceOrderId: result.ServiceOrderId ?? serviceOrderId
95497
+ });
95498
+ return result;
95499
+ });
95500
+ }
95501
+ getBaseUrl() {
95502
+ const baseUrl = this.config?.BCFiling;
95503
+ if (!baseUrl) {
95504
+ throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
95505
+ }
95506
+ return baseUrl;
95507
+ }
95508
+ /**
95509
+ * Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
95510
+ * (`failed` and any other non-success value are failures). When a failure carries no
95511
+ * `errors`, `additionalInformation` is used as the error messages.
95512
+ */
95513
+ normalize(body) {
95514
+ const rawErrors = body?.errors ?? body?.Errors ?? [];
95515
+ const errors = rawErrors.map((e) => ({
95516
+ Code: e?.code ?? e?.Code,
95517
+ Message: e?.message ?? e?.Message ?? e?.ErrorMessage
95518
+ }));
95519
+ const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
95520
+ const succeeded = status === "success" || status === "alreadysubmitted";
95521
+ if (!succeeded && !errors.length) {
95522
+ const additional = body?.additionalInformation ?? [];
95523
+ errors.push(...additional.map((Message) => ({ Message })));
95524
+ }
95525
+ return {
95526
+ Status: succeeded ? "Success" : "Failure",
95527
+ ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
95528
+ Draft: body?.draft ?? body?.Draft,
95529
+ Errors: errors
95530
+ };
95531
+ }
95532
+ /** A body-level failure: the normalised status is `Failure` or errors were returned. */
95533
+ hasFailed(result) {
95534
+ return result.Status === "Failure" || Boolean(result.Errors?.length);
95535
+ }
95536
+ describeFailure(httpStatus, prefix, result) {
95537
+ const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
95538
+ return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
95539
+ }
95540
+ static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
95541
+ return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
95542
+ };
95543
+ static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
95544
+ };
95545
+ (() => {
95546
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
95547
+ type: Injectable,
95548
+ args: [{
95549
+ providedIn: "root"
95550
+ }]
95551
+ }], null, null);
95552
+ })();
95553
+ }
95554
+ });
95555
+
95556
+ // src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
95557
+ function formatPostalCode(value) {
95558
+ const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
95559
+ return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
95560
+ }
95561
+ function toEcoreAddress(address) {
95562
+ const line2 = clean(address?.addressLine2);
95563
+ return __spreadProps(__spreadValues({
95564
+ streetAddress: clean(address?.addressLine1)
95565
+ }, line2 ? { additionalStreetAddress: line2 } : {}), {
95566
+ city: clean(address?.city),
95567
+ provinceOrState: BC_PROVINCE_CODE,
95568
+ postalOrZipCode: formatPostalCode(address?.postalCode),
95569
+ country: CANADA_COUNTRY_CODE
95570
+ });
95571
+ }
95572
+ function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
95573
+ const registered = deltaData.registeredOffice;
95574
+ const records = deltaData.recordsOffice;
95575
+ const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
95576
+ const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
95577
+ const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
95578
+ const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
95579
+ const filing = {
95580
+ registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
95581
+ isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
95582
+ isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
95583
+ isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
95584
+ companyEmail: BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
95585
+ // Not captured on this form; the reminder preference is not changed by an address filing.
95586
+ isAnnualReportReminderRequired: false
95587
+ };
95588
+ const reference = clean(deltaData.referenceNumbers?.referenceNumber);
95589
+ const docket = clean(deltaData.referenceNumbers?.docketNumber);
95590
+ if (reference) {
95591
+ filing.reference = reference;
95592
+ }
95593
+ if (docket) {
95594
+ filing.docket = docket;
95595
+ }
95596
+ if (!registeredDeliverySame) {
95597
+ filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
95598
+ }
95599
+ if (!recordsSameAsRegistered) {
95600
+ filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
95601
+ }
95602
+ if (!recordsDeliverySame) {
95603
+ filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
95604
+ }
95605
+ return { filingType: "changeOfAddressFiling", filing };
95606
+ }
95607
+ var BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
95608
+ var init_british_columbia_change_of_office_addresses_mapper = __esm({
95609
+ "src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
95610
+ init_british_columbia_change_of_office_addresses_form_helper();
95611
+ BC_PROVINCE_CODE = "BC";
95612
+ CANADA_COUNTRY_CODE = "CA";
95613
+ clean = (value) => (value ?? "").trim();
95614
+ }
95615
+ });
95616
+
94383
95617
  // src/app/components/filing/filing.component.ts
94384
95618
  function FilingComponent_Conditional_7_Template(rf, ctx) {
94385
95619
  if (rf & 1) {
@@ -94479,6 +95713,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94479
95713
  \u0275\u0275restoreView(_r6);
94480
95714
  const ctx_r2 = \u0275\u0275nextContext(2);
94481
95715
  return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
95716
+ })("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
95717
+ \u0275\u0275restoreView(_r6);
95718
+ const ctx_r2 = \u0275\u0275nextContext(2);
95719
+ return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
95720
+ })("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
95721
+ \u0275\u0275restoreView(_r6);
95722
+ const ctx_r2 = \u0275\u0275nextContext(2);
95723
+ return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
95724
+ })("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
95725
+ \u0275\u0275restoreView(_r6);
95726
+ const ctx_r2 = \u0275\u0275nextContext(2);
95727
+ return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
94482
95728
  })("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
94483
95729
  \u0275\u0275restoreView(_r6);
94484
95730
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -94594,6 +95840,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94594
95840
  init_delta_state_service();
94595
95841
  init_british_columbia_change_of_directors_service();
94596
95842
  init_british_columbia_change_of_directors_mapper();
95843
+ init_british_columbia_maintenance_service();
95844
+ init_british_columbia_change_of_office_addresses_mapper();
94597
95845
  init_core();
94598
95846
  init_button();
94599
95847
  FilingComponent = class _FilingComponent {
@@ -94650,6 +95898,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94650
95898
  federalUpdateMaintainService = inject(FederalUpdateMaintainService);
94651
95899
  updateMaintainService = inject(OntarioUpdateMaintainService);
94652
95900
  britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
95901
+ bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
94653
95902
  translate = inject(TranslateService);
94654
95903
  isEditButton = computed(() => {
94655
95904
  const task = this.task();
@@ -94691,6 +95940,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94691
95940
  if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
94692
95941
  return "File British Columbia Notice of Change of Directors";
94693
95942
  }
95943
+ if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
95944
+ return "File British Columbia Change of Office Addresses";
95945
+ }
94694
95946
  return "";
94695
95947
  });
94696
95948
  constructor() {
@@ -94703,6 +95955,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94703
95955
  this.bcFormationService.setConfig(config2);
94704
95956
  this.federalUpdateMaintainService.setConfig(config2);
94705
95957
  this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
95958
+ this.bcMaintenanceService.setConfig(config2);
94706
95959
  }
94707
95960
  });
94708
95961
  addStylesVariables();
@@ -94891,29 +96144,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94891
96144
  this.deltaDataChange.emit(deltaData);
94892
96145
  }
94893
96146
  onBritishColumbiaChangeOfDirectorsSubmit() {
94894
- return __async(this, null, function* () {
94895
- try {
94896
- this.isLoading.set(true);
94897
- this.errors.set([]);
94898
- const signature = this._signature();
94899
- const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
94900
- if (!signature || !serviceOrderId) {
94901
- throw new Error("Missing serviceOrderId.");
94902
- }
94903
- const response = yield this.britishColumbiaChangeOfDirectorsService.submitFiling(signature, serviceOrderId, this.validateOptions() ?? {});
94904
- if (this.hasResponseErrors(response))
94905
- return;
94906
- this.filingSubmitSuccess.emit({
94907
- serviceOrderId: response.ServiceOrderId ?? serviceOrderId,
94908
- filedOn: /* @__PURE__ */ new Date()
94909
- });
94910
- this.close.emit();
94911
- } catch (response) {
94912
- this.handleCatchError(response);
94913
- } finally {
94914
- this.isLoading.set(false);
94915
- }
94916
- });
96147
+ console.warn("British Columbia change of directors submit is not wired to a backend yet.");
96148
+ this.close.emit();
94917
96149
  }
94918
96150
  /**
94919
96151
  * British Columbia Formation validate (AC8 / AC9): sends the payload to the BC Filing API,
@@ -95000,6 +96232,87 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95000
96232
  }
95001
96233
  });
95002
96234
  }
96235
+ /**
96236
+ * British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
96237
+ * to eCore, hands the draft PDF to the host, and saves the delta together with the
96238
+ * ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
96239
+ */
96240
+ onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
96241
+ return __async(this, null, function* () {
96242
+ const task = this.task();
96243
+ const signature = this._signature();
96244
+ if (!task || !signature) {
96245
+ return;
96246
+ }
96247
+ try {
96248
+ this.isLoading.set(true);
96249
+ this.errors.set([]);
96250
+ const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96251
+ const response = yield this.bcMaintenanceService.validate(signature, requestBody, this.validateOptions() ?? {});
96252
+ if (this.hasResponseErrors(response))
96253
+ return;
96254
+ const serviceOrderId = response.ServiceOrderId ?? "";
96255
+ const draftPdf = response.Draft ?? "";
96256
+ const searchOrFilingType = getSearchOrFilingType(task);
96257
+ if (draftPdf && searchOrFilingType) {
96258
+ this.filingValidateSuccess.emit({
96259
+ searchOrFilingType,
96260
+ serviceOrderId,
96261
+ validatedOn: /* @__PURE__ */ new Date(),
96262
+ provider: "obr",
96263
+ draftPdf,
96264
+ documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
96265
+ documentType: "pdf"
96266
+ });
96267
+ }
96268
+ this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
96269
+ serviceOrderId,
96270
+ validatedData: JSON.parse(JSON.stringify(requestBody))
96271
+ }));
96272
+ this.close.emit();
96273
+ } catch (response) {
96274
+ this.handleCatchError(response);
96275
+ } finally {
96276
+ this.isLoading.set(false);
96277
+ }
96278
+ });
96279
+ }
96280
+ /**
96281
+ * British Columbia Change of Office Addresses save – propagates delta data to the host.
96282
+ */
96283
+ onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
96284
+ const oldDeltaData = this.task()?.deltaData;
96285
+ if (oldDeltaData) {
96286
+ delete this.task()?.deltaData;
96287
+ }
96288
+ this.deltaDataChange.emit(deltaData);
96289
+ }
96290
+ /**
96291
+ * British Columbia Change of Office Addresses submit/file: submits the filing staged by
96292
+ * "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
96293
+ */
96294
+ onBritishColumbiaChangeOfOfficeAddressesSubmit() {
96295
+ return __async(this, null, function* () {
96296
+ const signature = this._signature();
96297
+ const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
96298
+ if (!signature || !serviceOrderId) {
96299
+ this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
96300
+ return;
96301
+ }
96302
+ try {
96303
+ this.isLoading.set(true);
96304
+ this.errors.set([]);
96305
+ const response = yield this.bcMaintenanceService.submitRequest(signature, serviceOrderId, this.validateOptions() ?? {});
96306
+ if (this.hasResponseErrors(response))
96307
+ return;
96308
+ this.close.emit();
96309
+ } catch (response) {
96310
+ this.handleCatchError(response);
96311
+ } finally {
96312
+ this.isLoading.set(false);
96313
+ }
96314
+ });
96315
+ }
95003
96316
  /**
95004
96317
  * Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
95005
96318
  */
@@ -95268,7 +96581,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95268
96581
  this.errors.set(this.parseError(errors));
95269
96582
  return;
95270
96583
  }
95271
- const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
96584
+ const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
95272
96585
  this.errors.set([fallbackMessage]);
95273
96586
  }
95274
96587
  onClose() {
@@ -95335,6 +96648,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95335
96648
  let initialDelta;
95336
96649
  if (isFormationTask2(task)) {
95337
96650
  initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
96651
+ } else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96652
+ initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
95338
96653
  } else if (isUpdateMaintain(task)) {
95339
96654
  initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
95340
96655
  }
@@ -95366,6 +96681,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95366
96681
  }
95367
96682
  return federalPayload;
95368
96683
  }
96684
+ if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96685
+ return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96686
+ }
95369
96687
  if (isUpdateMaintain(task) && isOntarioTask(task)) {
95370
96688
  const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
95371
96689
  if (!serviceOrderId) {
@@ -95394,7 +96712,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95394
96712
  if (rf & 2) {
95395
96713
  \u0275\u0275styleProp("height", ctx.modalHeight());
95396
96714
  }
95397
- }, 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) {
96715
+ }, 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) {
95398
96716
  if (rf & 1) {
95399
96717
  const _r1 = \u0275\u0275getCurrentView();
95400
96718
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
@@ -95484,6 +96802,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95484
96802
  (codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
95485
96803
  (saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
95486
96804
  (codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
96805
+ (coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
96806
+ (saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
96807
+ (coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
95487
96808
  (formationValidate)="onBritishColumbiaFormationValidate($event)"\r
95488
96809
  (saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
95489
96810
  (formationSubmit)="onBritishColumbiaFormationSubmit()" />\r
@@ -95506,7 +96827,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95506
96827
  }], () => [], null);
95507
96828
  })();
95508
96829
  (() => {
95509
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 86 });
96830
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 90 });
95510
96831
  })();
95511
96832
  }
95512
96833
  });
@@ -100152,7 +101473,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
100152
101473
  Currency: "Currency",
100153
101474
  "Special Rights or Restrictions": "Special Rights or Restrictions",
100154
101475
  Unlimited: "Unlimited",
100155
- "Without Par Value": "Without Par Value"
101476
+ "Without Par Value": "Without Par Value",
101477
+ "File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
101478
+ "Records Office Address": "Records Office Address",
101479
+ "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.",
101480
+ "Current Mailing Address": "Current Mailing Address",
101481
+ "Current Delivery Address": "Current Delivery Address",
101482
+ "New Mailing Address": "New Mailing Address",
101483
+ "New Delivery Address": "New Delivery Address",
101484
+ "Same as Mailing Address": "Same as Mailing Address",
101485
+ "Same as Registered Office": "Same as Registered Office",
101486
+ "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."
100156
101487
  };
100157
101488
  }
100158
101489
  });
@@ -100499,7 +101830,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
100499
101830
  Currency: "Devise",
100500
101831
  "Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
100501
101832
  Unlimited: "Illimit\xE9",
100502
- "Without Par Value": "Sans valeur nominale"
101833
+ "Without Par Value": "Sans valeur nominale",
101834
+ "File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
101835
+ "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.",
101836
+ "Current Mailing Address": "Adresse postale actuelle",
101837
+ "Current Delivery Address": "Adresse de livraison actuelle",
101838
+ "New Mailing Address": "Nouvelle adresse postale",
101839
+ "New Delivery Address": "Nouvelle adresse de livraison",
101840
+ "Same as Mailing Address": "Identique \xE0 l'adresse postale",
101841
+ "Same as Registered Office": "Identique au si\xE8ge social",
101842
+ "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."
100503
101843
  };
100504
101844
  }
100505
101845
  });