@dyedurham/search-and-file-widget 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56266,7 +56266,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
56266
56266
  TaskType2["Amendments"] = "Amendments";
56267
56267
  TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
56268
56268
  TaskType2["ChangeOfAddress"] = "Change of Address";
56269
- TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
56270
56269
  TaskType2["ChangeOfPrincipals"] = "Change of Principals";
56271
56270
  TaskType2["RegistrationCompliance"] = "Registration Compliance";
56272
56271
  TaskType2["Continuance"] = "Continuance";
@@ -58088,9 +58087,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58088
58087
  function isChangeOfPrincipalsTask(task) {
58089
58088
  return task?._taskType === TaskType.ChangeOfPrincipals;
58090
58089
  }
58091
- function isChangeOfAddressTask(task) {
58092
- return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
58093
- }
58094
58090
  function isBritishColumbiaTask(task) {
58095
58091
  return task.entity._compliance.home_jurisdiction === "British Columbia";
58096
58092
  }
@@ -58118,9 +58114,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58118
58114
  if (!task) {
58119
58115
  return void 0;
58120
58116
  }
58121
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
58122
- return "bcChangeOfAddress";
58123
- }
58124
58117
  const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
58125
58118
  if (isFormationTask2(task)) {
58126
58119
  return `${prefix}Incorporation`;
@@ -61009,10 +61002,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
61009
61002
  this._inputElement.nativeElement.focus();
61010
61003
  }
61011
61004
  /** Creates the change event that will be emitted by the checkbox. */
61012
- _createChangeEvent(isChecked2) {
61005
+ _createChangeEvent(isChecked) {
61013
61006
  const event = new MatCheckboxChange();
61014
61007
  event.source = this;
61015
- event.checked = isChecked2;
61008
+ event.checked = isChecked;
61016
61009
  return event;
61017
61010
  }
61018
61011
  /** Gets the element on which to add the animation CSS classes. */
@@ -80568,7 +80561,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80568
80561
  MatRadioButton,
80569
80562
  TranslatePipe,
80570
80563
  CheckboxListComponent
80571
- ], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] .body-1-semibold {\n color: inherit;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
80564
+ ], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
80572
80565
  };
80573
80566
  (() => {
80574
80567
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
@@ -80822,7 +80815,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80822
80815
  }\r
80823
80816
  </div>\r
80824
80817
  </section>\r
80825
- `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .note-box {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n:host .note-box ::ng-deep .body-1-semibold {\n color: inherit;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
80818
+ `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
80826
80819
  }], () => [], { dismissOpenTooltip: [{
80827
80820
  type: HostListener,
80828
80821
  args: ["document:keydown.escape"]
@@ -81312,16 +81305,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81312
81305
  federalUpdateMaintainInitialDelta = signal(null);
81313
81306
  bcChangeOfDirectorsInitialDelta = signal(null);
81314
81307
  bcFormationInitialDelta = signal(null);
81315
- bcChangeOfOfficeAddressesInitialDelta = signal(null);
81316
81308
  setFormationInitialDelta(delta) {
81317
81309
  this.formationInitialDelta.set(delta);
81318
81310
  }
81319
81311
  setBCFormationInitialDelta(delta) {
81320
81312
  this.bcFormationInitialDelta.set(delta);
81321
81313
  }
81322
- setBCChangeOfOfficeAddressesInitialDelta(delta) {
81323
- this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
81324
- }
81325
81314
  setInitialReturnInitialDelta(delta) {
81326
81315
  this.initialReturnInitialDelta.set(delta);
81327
81316
  }
@@ -81341,7 +81330,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81341
81330
  this.federalUpdateMaintainInitialDelta.set(null);
81342
81331
  this.bcChangeOfDirectorsInitialDelta.set(null);
81343
81332
  this.bcFormationInitialDelta.set(null);
81344
- this.bcChangeOfOfficeAddressesInitialDelta.set(null);
81345
81333
  }
81346
81334
  static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
81347
81335
  return new (__ngFactoryType__ || _DeltaStateService)();
@@ -84149,7 +84137,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84149
84137
  });
84150
84138
 
84151
84139
  // src/app/constants/BritishColumbiaConstants.ts
84152
- var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
84140
+ var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
84153
84141
  var init_BritishColumbiaConstants = __esm({
84154
84142
  "src/app/constants/BritishColumbiaConstants.ts"() {
84155
84143
  init_app_enums();
@@ -84183,7 +84171,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84183
84171
  };
84184
84172
  BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
84185
84173
  Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
84186
- BC_DEFAULT_PROVINCE_STATE = CANProvinces.BritishColumbia;
84174
+ CANProvinces.BritishColumbia;
84187
84175
  BC_DEFAULT_COUNTRY = "Canada";
84188
84176
  BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
84189
84177
  BC_PASSWORD_MIN_LENGTH = 8;
@@ -84202,7 +84190,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84202
84190
  });
84203
84191
 
84204
84192
  // src/app/enums/british-columbia-form.enums.ts
84205
- var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCChangeOfOfficeAddressesFormControls, BCChangeOfOfficeAddressesFormGroups, BCFormationFormGroups;
84193
+ var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
84206
84194
  var init_british_columbia_form_enums = __esm({
84207
84195
  "src/app/enums/british-columbia-form.enums.ts"() {
84208
84196
  (function(BCChangeOfDirectorsFormControls2) {
@@ -84267,33 +84255,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84267
84255
  BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
84268
84256
  BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
84269
84257
  })(BCFormationFormControls || (BCFormationFormControls = {}));
84270
- (function(BCChangeOfOfficeAddressesFormControls2) {
84271
- BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
84272
- BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
84273
- BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
84274
- BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
84275
- BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
84276
- BCChangeOfOfficeAddressesFormControls2["AnnualReportReminder"] = "annualReportReminder";
84277
- BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
84278
- BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
84279
- BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
84280
- BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
84281
- BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
84282
- BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
84283
- BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
84284
- BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
84285
- BCChangeOfOfficeAddressesFormControls2["City"] = "city";
84286
- BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
84287
- BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
84288
- BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
84289
- })(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
84290
- (function(BCChangeOfOfficeAddressesFormGroups2) {
84291
- BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84292
- BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
84293
- BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
84294
- BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
84295
- BCChangeOfOfficeAddressesFormGroups2["AnnualReportReminder"] = "Annual Report Reminder";
84296
- })(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
84297
84258
  (function(BCFormationFormGroups2) {
84298
84259
  BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84299
84260
  BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
@@ -84607,19 +84568,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84607
84568
  config2[BCFormationFormGroups.CorporationDetails] = this.generateCorporationDetailsFormGroup(task, delta?.entityDetails, companyEmail);
84608
84569
  config2[BCFormationFormGroups.RegisteredOfficeAddress] = new FormGroup({
84609
84570
  [BCFormationFormControls.MailingAddress]: new FormControl({
84610
- value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Mailing", true)),
84571
+ value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Mailing")),
84611
84572
  disabled: true
84612
84573
  }),
84613
84574
  [BCFormationFormControls.DeliveryAddress]: new FormControl({
84614
- value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Delivery", true)),
84575
+ value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Delivery")),
84615
84576
  disabled: true
84616
84577
  }),
84617
84578
  [BCFormationFormControls.RecordsOfficeMailingAddress]: new FormControl({
84618
- value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Mailing", true)),
84579
+ value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Mailing")),
84619
84580
  disabled: true
84620
84581
  }),
84621
84582
  [BCFormationFormControls.RecordsOfficeDeliveryAddress]: new FormControl({
84622
- value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Delivery", true)),
84583
+ value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Delivery")),
84623
84584
  disabled: true
84624
84585
  })
84625
84586
  });
@@ -84763,10 +84724,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84763
84724
  // Not shown on screen: taken from the registry ID when it satisfies the BC password rule
84764
84725
  // (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
84765
84726
  // check (`findBCRequestIssues`) reports an unusable value.
84766
- [BCFormationFormControls.CompanyPassword]: new FormControl(
84767
- // `||`, not `??`: a delta saved while the registry ID was invalid holds '' and must not mask the corrected ID.
84768
- deltaData?.password || this.suggestPassword(task.entity._profile.registry_id)
84769
- ),
84727
+ [BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id)),
84770
84728
  [BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
84771
84729
  [BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
84772
84730
  });
@@ -84846,11 +84804,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84846
84804
  disabled: true
84847
84805
  }),
84848
84806
  [BCFormationFormControls.MailingAddress]: new FormControl({
84849
- value: this.formatFullAddress(this.pickAddress(addresses, "Mailing", true)),
84807
+ value: this.formatFullAddress(this.pickAddress(addresses, "Mailing")),
84850
84808
  disabled: true
84851
84809
  }),
84852
84810
  [BCFormationFormControls.DeliveryAddress]: new FormControl({
84853
- value: this.formatFullAddress(this.pickAddress(addresses, "Delivery", true)),
84811
+ value: this.formatFullAddress(this.pickAddress(addresses, "Delivery")),
84854
84812
  disabled: true
84855
84813
  })
84856
84814
  });
@@ -84883,32 +84841,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84883
84841
  }
84884
84842
  /**
84885
84843
  * Athennian stores one address per `location_type` ("Mailing", "Delivery", …).
84886
- * Falls back to the first address so both lines render when only one exists, unless
84887
- * `exact` is set: then only an address of that exact type is returned.
84844
+ * Falls back to the first address so both lines render when only one exists.
84888
84845
  */
84889
- static pickAddress(addresses, locationType, exact = false) {
84846
+ static pickAddress(addresses, locationType) {
84890
84847
  if (!addresses?.length) {
84891
84848
  return void 0;
84892
84849
  }
84893
- const match = addresses.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase());
84894
- return match ?? (exact ? void 0 : addresses[0]);
84850
+ return addresses.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase()) ?? addresses[0];
84895
84851
  }
84896
84852
  };
84897
84853
  }
84898
84854
  });
84899
84855
 
84900
84856
  // src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts
84901
- function notInFuture() {
84902
- return (control) => {
84903
- if (!control.value) {
84904
- return null;
84905
- }
84906
- const value = new Date(control.value);
84907
- const today = /* @__PURE__ */ new Date();
84908
- today.setHours(23, 59, 59, 999);
84909
- return value > today ? { futureDate: true } : null;
84910
- };
84911
- }
84912
84857
  var Controls, BritishColumbiaChangeOfDirectorsFormHelper;
84913
84858
  var init_british_columbia_change_of_directors_form_helper = __esm({
84914
84859
  "src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts"() {
@@ -84930,13 +84875,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84930
84875
  const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
84931
84876
  const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
84932
84877
  const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
84878
+ const effectiveDate = task._ext._effective_date ?? "";
84933
84879
  const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
84934
84880
  const config2 = {};
84935
84881
  config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number, delta?.referenceNumbers?.referenceNumber);
84936
84882
  config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
84937
84883
  [Controls.CorporationName]: this.readOnly(task.entity._profile.name),
84938
84884
  [Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
84939
- [Controls.CompanyEmail]: this.readOnly(companyEmail)
84885
+ [Controls.CompanyEmail]: new FormControl(companyEmail, [Validators.required, Validators.email])
84940
84886
  });
84941
84887
  const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
84942
84888
  const incoming = task.incomingAffiliations ?? [];
@@ -84945,10 +84891,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84945
84891
  const hasAddOrCease = ceasedIds.size > 0 || incoming.filter(isDirector).length > 0;
84946
84892
  config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
84947
84893
  [Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
84948
- [Controls.ChangeDate]: new FormControl(delta?.filingDetails?.changeDate ?? "", [
84949
- requiredIfValue(Controls.DirectorsAddedOrDeleted, true),
84950
- notInFuture()
84951
- ]),
84894
+ [Controls.ChangeDate]: this.readOnly(effectiveDate),
84952
84895
  [Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
84953
84896
  });
84954
84897
  const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
@@ -85087,235 +85030,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85087
85030
  }
85088
85031
  });
85089
85032
 
85090
- // src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
85091
- var Controls2, COMPANY_EMAIL_TYPES, isCompanyEmail, incomingAddressByGrid, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
85092
- var init_british_columbia_change_of_office_addresses_form_helper = __esm({
85093
- "src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
85094
- init_forms();
85095
- init_common_models();
85096
- init_british_columbia_form_enums();
85097
- init_BritishColumbiaConstants();
85098
- init_british_columbia_formation_form_helper();
85099
- init_BritishColumbiaConstants();
85100
- init_common_utils();
85101
- Controls2 = BCChangeOfOfficeAddressesFormControls;
85102
- COMPANY_EMAIL_TYPES = ["Business Email", "Email"];
85103
- isCompanyEmail = (communication) => Boolean(communication?.value) && COMPANY_EMAIL_TYPES.includes(communication?.type ?? "");
85104
- incomingAddressByGrid = /* @__PURE__ */ new WeakMap();
85105
- EDITABLE_ADDRESS_CONTROLS = [
85106
- Controls2.AddressLine1,
85107
- Controls2.AddressLine2,
85108
- Controls2.City,
85109
- Controls2.PostalCode
85110
- ];
85111
- BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
85112
- static generateConfig(task, _translateFn) {
85113
- const affiliations = task.entity.affiliations ?? [];
85114
- const delta = task.deltaData;
85115
- const format = BritishColumbiaFormationFormHelper.formatFullAddress;
85116
- const pick = BritishColumbiaFormationFormHelper.pickAddress;
85117
- const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85118
- const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
85119
- const incoming = this.incomingOfficeAddresses(task);
85120
- const seed = delta?.registeredOffice ? this.fillEmptyAddresses(delta, incoming) : this.seedFromIncomingAffiliations(task);
85121
- const config2 = {};
85122
- config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
85123
- config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
85124
- [Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
85125
- [Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
85126
- [Controls2.CompanyEmail]: new FormControl(delta?.companyEmail || this.resolveCompanyEmail(task), Validators.required)
85127
- });
85128
- config2[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder] = new FormGroup({
85129
- [Controls2.AnnualReportReminder]: new FormControl(delta?.annualReportReminder ?? BCAnnualReportReminder.Yes, Validators.required)
85130
- });
85131
- const regDeliverySame = seed.registeredOffice?.deliverySameAsMailing ?? true;
85132
- config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
85133
- [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
85134
- [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
85135
- [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.mailingAddress, true),
85136
- [Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
85137
- [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.deliveryAddress, !regDeliverySame)
85138
- });
85139
- const recSameAsRegistered = seed.recordsOffice?.sameAsRegisteredOffice ?? true;
85140
- const recDeliverySame = seed.recordsOffice?.deliverySameAsMailing ?? true;
85141
- config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
85142
- [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
85143
- [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
85144
- [Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
85145
- [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.mailingAddress, !recSameAsRegistered),
85146
- [Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
85147
- [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
85148
- });
85149
- const grid = (group2, control) => config2[group2].get(control);
85150
- const register = (target, address) => address && incomingAddressByGrid.set(target, address);
85151
- register(grid(BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress, Controls2.NewDeliveryAddress), incoming.regDelivery);
85152
- register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewMailingAddress), incoming.recMailing);
85153
- register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewDeliveryAddress), incoming.recDelivery);
85154
- return config2;
85155
- }
85156
- /** The company email choices: the entity's email options, plus the resolved default if it isn't one. */
85157
- static getCompanyEmailOptions(task) {
85158
- const values = (task.entity.emailOptions ?? []).filter(isCompanyEmail).map((o) => o.value);
85159
- const fallback = this.resolveCompanyEmail(task);
85160
- return [...new Set(fallback ? [...values, fallback] : values)].map((value) => ({
85161
- value,
85162
- label: value
85163
- }));
85164
- }
85165
- /**
85166
- * Pre-fills the new addresses from the task's incoming "Shared Address" affiliations (Registered
85167
- * Office / Records Office), taking each Mailing / Delivery address from the affiliation or, when
85168
- * it has none, from its parent affiliation. Nothing is pre-filled without an incoming address.
85169
- */
85170
- static seedFromIncomingAffiliations(task) {
85171
- const { regMailing, regDelivery, recMailing, recDelivery } = this.incomingOfficeAddresses(task);
85172
- if (!regMailing && !recMailing) {
85173
- return {};
85174
- }
85175
- const regDeliverySame = !regDelivery || this.isSameOfficeAddress(regDelivery, regMailing);
85176
- const recDeliverySame = !recDelivery || this.isSameOfficeAddress(recDelivery, recMailing);
85177
- const recSameAsRegistered = !recMailing || this.isSameOfficeAddress(recMailing, regMailing) && this.isSameOfficeAddress(recDelivery ?? recMailing, regDelivery ?? regMailing);
85178
- return {
85179
- registeredOffice: {
85180
- mailingAddress: regMailing,
85181
- deliverySameAsMailing: regDeliverySame,
85182
- deliveryAddress: regDeliverySame ? void 0 : regDelivery
85183
- },
85184
- recordsOffice: {
85185
- sameAsRegisteredOffice: recSameAsRegistered,
85186
- mailingAddress: recSameAsRegistered ? void 0 : recMailing,
85187
- deliverySameAsMailing: recDeliverySame,
85188
- deliveryAddress: recDeliverySame ? void 0 : recDelivery
85189
- }
85190
- };
85191
- }
85192
- /** Keeps the saved flags and addresses, but fills an address the draft left empty from `incoming`. */
85193
- static fillEmptyAddresses(saved, incoming) {
85194
- const hasValues = (address) => EDITABLE_ADDRESS_CONTROLS.some((name) => Boolean(address?.[name]));
85195
- const pick = (savedAddress, incomingAddress) => hasValues(savedAddress) ? savedAddress : incomingAddress ?? savedAddress;
85196
- return {
85197
- registeredOffice: __spreadProps(__spreadValues({}, saved.registeredOffice), {
85198
- mailingAddress: pick(saved.registeredOffice?.mailingAddress, incoming.regMailing),
85199
- deliveryAddress: pick(saved.registeredOffice?.deliveryAddress, incoming.regDelivery)
85200
- }),
85201
- recordsOffice: __spreadProps(__spreadValues({}, saved.recordsOffice), {
85202
- mailingAddress: pick(saved.recordsOffice?.mailingAddress, incoming.recMailing),
85203
- deliveryAddress: pick(saved.recordsOffice?.deliveryAddress, incoming.recDelivery)
85204
- })
85205
- };
85206
- }
85207
- /** The four office addresses of the task's incoming Shared Address, as form values. */
85208
- static incomingOfficeAddresses(task) {
85209
- const incoming = task.incomingAffiliations ?? [];
85210
- const pickBy = (title, locationType) => {
85211
- const pool = incoming.filter((a) => a.role?.role_name === AddressRole2.SHARED_ADDRESS && a.role?.static_title === title).flatMap((a) => a.addresses?.length ? a.addresses : a.parent_affiliation?.addresses ?? []);
85212
- const wanted = locationType.toLowerCase();
85213
- const address = pool.find((a) => (a.computed_location_type ?? "").toLowerCase() === wanted || (a.location_type ?? "").toLowerCase() === wanted);
85214
- return address && this.isBritishColumbia(address) ? this.toOfficeAddressDelta(address) : void 0;
85215
- };
85216
- return {
85217
- regMailing: pickBy(AddressTitle2.REGISTERED_OFFICE, "Mailing"),
85218
- regDelivery: pickBy(AddressTitle2.REGISTERED_OFFICE, "Delivery"),
85219
- recMailing: pickBy(AddressTitle2.RECORDS_OFFICE, "Mailing"),
85220
- recDelivery: pickBy(AddressTitle2.RECORDS_OFFICE, "Delivery")
85221
- };
85222
- }
85223
- /** Street = street number + street name; the suite goes to Address Line 2. */
85224
- static toOfficeAddressDelta(address) {
85225
- const street = [getAddressComponent(address, "Street Number Only"), getAddressComponent(address, "Street Only")].filter(Boolean).join(" ") || getAddressComponent(address, "Street Address") || address.street || "";
85226
- return {
85227
- addressLine1: street,
85228
- addressLine2: getAddressComponent(address, "Suite/Apartment") || address.address2 || "",
85229
- city: address.city ?? "",
85230
- postalCode: address.postal_zip ?? "",
85231
- province: BC_DEFAULT_PROVINCE_STATE,
85232
- country: BC_DEFAULT_COUNTRY
85233
- };
85234
- }
85235
- /** An address with no province is accepted; the form only ever deals in British Columbia. */
85236
- static isBritishColumbia(address) {
85237
- const province = (address.province_state ?? "").trim().toLowerCase();
85238
- return !province || ["bc", "b.c.", "british columbia"].includes(province);
85239
- }
85240
- static isSameOfficeAddress(a, b) {
85241
- const key = (x) => [x?.addressLine1, x?.addressLine2, x?.city, x?.postalCode].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
85242
- return key(a) === key(b);
85243
- }
85244
- /**
85245
- * The company's email: the entity's email options, then the Registered Office's email, then the
85246
- * entity's own, then any other address of the entity (e.g. a Head Office). Only a Business Email
85247
- * or an Email counts; a Personal Email never does.
85248
- */
85249
- static resolveCompanyEmail(task) {
85250
- const affiliations = task.entity.affiliations ?? [];
85251
- const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85252
- return task.entity.emailOptions?.find(isCompanyEmail)?.value || registeredOffice?.addresses?.[0]?.communications?.find(isCompanyEmail)?.value || task.entity.communications?.find(isCompanyEmail)?.value || task.entity.addresses?.flatMap((a) => a.communications ?? []).find(isCompanyEmail)?.value || "";
85253
- }
85254
- /**
85255
- * Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
85256
- * Province and Country are always disabled; the rest follow `enabled`.
85257
- */
85258
- static createOfficeAddressFormGroup(delta, enabled = true) {
85259
- const group2 = new FormGroup({
85260
- [Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
85261
- [Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
85262
- [Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
85263
- [Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
85264
- [Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
85265
- [Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
85266
- });
85267
- this.setOfficeAddressEnabled(group2, enabled);
85268
- return group2;
85269
- }
85270
- /**
85271
- * Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes).
85272
- * Hiding a grid also clears it. Showing it again refills it with the address Athennian sent for
85273
- * it, or leaves it empty when there is none (and when the user has already typed something).
85274
- */
85275
- static setOfficeAddressEnabled(group2, enabled) {
85276
- if (!group2) {
85277
- return;
85278
- }
85279
- const restore = incomingAddressByGrid.get(group2);
85280
- const isEmpty = EDITABLE_ADDRESS_CONTROLS.every((name) => !group2.get(name)?.value);
85281
- EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
85282
- const control = group2.get(name);
85283
- if (enabled) {
85284
- control?.enable({ emitEvent: false });
85285
- if (restore && isEmpty) {
85286
- control?.setValue(restore[name] ?? "", { emitEvent: false });
85287
- }
85288
- } else {
85289
- control?.setValue("", { emitEvent: false });
85290
- control?.disable({ emitEvent: false });
85291
- }
85292
- });
85293
- group2.updateValueAndValidity({ emitEvent: false });
85294
- }
85295
- static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
85296
- return new FormGroup({
85297
- [Controls2.ClientMatterNumber]: new FormControl(
85298
- // `??`: an explicitly cleared value ('') in a saved draft must be preserved; the entity default applies only when absent.
85299
- deltaData?.referenceNumber ?? clientMatterNumber ?? ""
85300
- ),
85301
- [Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
85302
- });
85303
- }
85304
- static readOnly(value) {
85305
- return new FormControl({ value: value ?? "", disabled: true });
85306
- }
85307
- };
85308
- }
85309
- });
85310
-
85311
85033
  // src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
85312
- 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, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85034
+ var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85313
85035
  var init_british_columbia_change_of_directors_form_constants = __esm({
85314
85036
  "src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
85315
85037
  init_form_enums();
85316
85038
  init_british_columbia_form_enums();
85317
85039
  init_BritishColumbiaConstants();
85318
- Controls3 = BCChangeOfDirectorsFormControls;
85040
+ Controls2 = BCChangeOfDirectorsFormControls;
85319
85041
  labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
85320
85042
  readOnlyRow = (label, control, className = "span-12") => ({
85321
85043
  type: FormType.Text,
@@ -85323,24 +85045,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85323
85045
  class: className,
85324
85046
  dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
85325
85047
  });
85326
- directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
85327
- isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
85048
+ directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
85049
+ isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
85328
85050
  BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
85329
85051
  {
85330
85052
  type: FormType.Input,
85331
85053
  label: "Client/Matter Number",
85332
- formControlName: Controls3.ClientMatterNumber
85054
+ formControlName: Controls2.ClientMatterNumber
85333
85055
  },
85334
85056
  {
85335
85057
  type: FormType.Input,
85336
85058
  label: "Docket Number",
85337
- formControlName: Controls3.DocketNumber
85059
+ formControlName: Controls2.DocketNumber
85338
85060
  }
85339
85061
  ];
85340
85062
  BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
85341
- readOnlyRow("Corporation Name", Controls3.CorporationName),
85342
- readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
85343
- readOnlyRow("Company Email", Controls3.CompanyEmail)
85063
+ readOnlyRow("Corporation Name", Controls2.CorporationName),
85064
+ readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
85065
+ {
85066
+ type: FormType.Select,
85067
+ label: "Company Email",
85068
+ formControlName: Controls2.CompanyEmail,
85069
+ required: true,
85070
+ options: [],
85071
+ class: "span-12"
85072
+ }
85344
85073
  ];
85345
85074
  BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
85346
85075
  {
@@ -85352,24 +85081,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85352
85081
  {
85353
85082
  type: FormType.Checkbox,
85354
85083
  label: "Directors will be added and/or deleted as part of this filing",
85355
- formControlName: Controls3.DirectorsAddedOrDeleted,
85084
+ formControlName: Controls2.DirectorsAddedOrDeleted,
85356
85085
  class: "span-12",
85357
85086
  onChange: (form) => {
85358
- if (!directorsAddedOrDeleted(form)) {
85359
- form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
85360
- }
85361
- form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85087
+ form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85362
85088
  }
85363
85089
  },
85364
- {
85365
- type: FormType.Date,
85366
- label: "Date Directors were added or deleted",
85367
- formControlName: Controls3.ChangeDate,
85368
- required: true,
85369
- isVisible: directorsAddedOrDeleted,
85370
- class: "span-8"
85371
- },
85372
- __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
85090
+ __spreadProps(__spreadValues({}, readOnlyRow("Date Directors were added or deleted", Controls2.ChangeDate, "span-8")), {
85091
+ isVisible: directorsAddedOrDeleted
85092
+ }),
85093
+ __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
85373
85094
  isVisible: directorsAddedOrDeleted
85374
85095
  }),
85375
85096
  {
@@ -85381,34 +85102,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85381
85102
  }
85382
85103
  ];
85383
85104
  BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
85384
- readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
85385
- readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
85105
+ readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
85106
+ readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
85386
85107
  ];
85387
85108
  [
85388
85109
  {
85389
85110
  type: FormType.Select,
85390
85111
  label: "Notification Method",
85391
- formControlName: Controls3.NotificationMethod,
85112
+ formControlName: Controls2.NotificationMethod,
85392
85113
  required: true,
85393
85114
  options: BC_NOTIFICATION_METHOD_OPTIONS,
85394
85115
  needTranslate: true,
85395
85116
  class: "span-6",
85396
- onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85117
+ onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85397
85118
  },
85398
85119
  {
85399
85120
  type: FormType.Input,
85400
85121
  label: "Notification Email",
85401
- formControlName: Controls3.NotificationEmail,
85122
+ formControlName: Controls2.NotificationEmail,
85402
85123
  required: true,
85403
85124
  isVisible: (form) => !isNotifyByMail(form),
85404
85125
  class: "column-3"
85405
85126
  },
85406
85127
  {
85407
85128
  type: FormType.Text,
85408
- formControlName: Controls3.NotificationMailingAddress,
85129
+ formControlName: Controls2.NotificationMailingAddress,
85409
85130
  class: "span-12",
85410
85131
  isVisible: isNotifyByMail,
85411
- 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")})`
85132
+ 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")})`
85412
85133
  }
85413
85134
  ];
85414
85135
  BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
@@ -85421,7 +85142,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85421
85142
  {
85422
85143
  type: FormType.Select,
85423
85144
  label: "Annual Report Reminder",
85424
- formControlName: Controls3.AnnualReportReminder,
85145
+ formControlName: Controls2.AnnualReportReminder,
85425
85146
  required: true,
85426
85147
  options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
85427
85148
  needTranslate: true,
@@ -85434,7 +85155,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85434
85155
  // src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
85435
85156
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
85436
85157
  if (rf & 1) {
85437
- \u0275\u0275element(0, "alert", 2);
85158
+ \u0275\u0275element(0, "alert", 1);
85438
85159
  }
85439
85160
  if (rf & 2) {
85440
85161
  const ctx_r0 = \u0275\u0275nextContext();
@@ -85443,7 +85164,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85443
85164
  }
85444
85165
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
85445
85166
  if (rf & 1) {
85446
- \u0275\u0275element(0, "alert", 3);
85167
+ \u0275\u0275element(0, "alert", 2);
85447
85168
  }
85448
85169
  if (rf & 2) {
85449
85170
  const ctx_r0 = \u0275\u0275nextContext();
@@ -85453,7 +85174,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85453
85174
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
85454
85175
  if (rf & 1) {
85455
85176
  const _r2 = \u0275\u0275getCurrentView();
85456
- \u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 10);
85177
+ \u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 9);
85457
85178
  \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
85458
85179
  \u0275\u0275restoreView(_r2);
85459
85180
  const ctx_r0 = \u0275\u0275nextContext();
@@ -85471,7 +85192,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85471
85192
  }
85472
85193
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
85473
85194
  if (rf & 1) {
85474
- \u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p")(3, "strong");
85195
+ \u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 10)(2, "p")(3, "strong");
85475
85196
  \u0275\u0275text(4);
85476
85197
  \u0275\u0275pipe(5, "translate");
85477
85198
  \u0275\u0275elementEnd();
@@ -85483,97 +85204,63 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85483
85204
  \u0275\u0275elementEnd();
85484
85205
  \u0275\u0275text(11);
85485
85206
  \u0275\u0275elementEnd();
85486
- \u0275\u0275elementStart(12, "p")(13, "strong");
85487
- \u0275\u0275text(14);
85488
- \u0275\u0275pipe(15, "translate");
85489
- \u0275\u0275elementEnd();
85490
- \u0275\u0275text(16);
85491
- \u0275\u0275elementEnd()()();
85207
+ \u0275\u0275element(12, "filing-form-group", 11);
85208
+ \u0275\u0275elementEnd()();
85492
85209
  }
85493
85210
  if (rf & 2) {
85494
85211
  let tmp_9_0;
85495
85212
  let tmp_11_0;
85496
- let tmp_13_0;
85497
85213
  const ctx_r0 = \u0275\u0275nextContext();
85498
85214
  const corporationDetails_r4 = \u0275\u0275readContextLet(6);
85499
85215
  \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
85500
85216
  \u0275\u0275advance(4);
85501
- \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 8, "Corporation Name"), ":");
85217
+ \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Corporation Name"), ":");
85502
85218
  \u0275\u0275advance(2);
85503
85219
  \u0275\u0275textInterpolate1(" ", (tmp_9_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_9_0.value, " ");
85504
85220
  \u0275\u0275advance(3);
85505
- \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 10, "Incorporation Number"), ":");
85221
+ \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 11, "Incorporation Number"), ":");
85506
85222
  \u0275\u0275advance(2);
85507
85223
  \u0275\u0275textInterpolate1(" ", (tmp_11_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_11_0.value, " ");
85508
- \u0275\u0275advance(3);
85509
- \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
85510
- \u0275\u0275advance(2);
85511
- \u0275\u0275textInterpolate1(" ", (tmp_13_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_13_0.value, " ");
85224
+ \u0275\u0275advance();
85225
+ \u0275\u0275property("form", corporationDetails_r4)("config", ctx_r0.companyEmailFields())("isSubmitted", ctx_r0.isSubmitted());
85512
85226
  }
85513
85227
  }
85514
85228
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
85515
85229
  if (rf & 1) {
85516
- const _r7 = \u0275\u0275getCurrentView();
85517
85230
  \u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "label");
85518
85231
  \u0275\u0275text(3);
85519
85232
  \u0275\u0275pipe(4, "translate");
85520
- \u0275\u0275elementStart(5, "span");
85521
- \u0275\u0275text(6, "*");
85522
- \u0275\u0275elementEnd()();
85523
- \u0275\u0275elementStart(7, "mat-form-field", 17)(8, "input", 18);
85524
- \u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
85525
- \u0275\u0275restoreView(_r7);
85526
- const changeDatePicker_r8 = \u0275\u0275reference(12);
85527
- return \u0275\u0275resetView(changeDatePicker_r8.open());
85528
- })("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
85529
- \u0275\u0275restoreView(_r7);
85530
- const ctx_r0 = \u0275\u0275nextContext(2);
85531
- const filingDetails_r6 = \u0275\u0275readContextLet(8);
85532
- return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
85533
- });
85534
- \u0275\u0275elementEnd();
85535
- \u0275\u0275elementStart(9, "button", 19);
85536
- \u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
85537
- \u0275\u0275restoreView(_r7);
85538
- const changeDatePicker_r8 = \u0275\u0275reference(12);
85539
- return \u0275\u0275resetView(changeDatePicker_r8.open());
85540
- });
85541
- \u0275\u0275element(10, "span", 20);
85542
- \u0275\u0275elementEnd();
85543
- \u0275\u0275element(11, "mat-datepicker", null, 0);
85544
85233
  \u0275\u0275elementEnd();
85545
- \u0275\u0275elementStart(13, "p", 21);
85546
- \u0275\u0275text(14);
85547
- \u0275\u0275pipe(15, "translate");
85234
+ \u0275\u0275elementStart(5, "p", 17);
85235
+ \u0275\u0275text(6);
85236
+ \u0275\u0275pipe(7, "translate");
85548
85237
  \u0275\u0275elementEnd()();
85549
- \u0275\u0275elementStart(16, "p", 22)(17, "strong");
85550
- \u0275\u0275text(18);
85551
- \u0275\u0275pipe(19, "translate");
85238
+ \u0275\u0275elementStart(8, "p", 18)(9, "strong");
85239
+ \u0275\u0275text(10);
85240
+ \u0275\u0275pipe(11, "translate");
85552
85241
  \u0275\u0275elementEnd();
85553
- \u0275\u0275text(20);
85242
+ \u0275\u0275text(12);
85554
85243
  \u0275\u0275elementEnd()();
85555
85244
  }
85556
85245
  if (rf & 2) {
85557
- let tmp_13_0;
85558
- const changeDatePicker_r8 = \u0275\u0275reference(12);
85246
+ let tmp_7_0;
85247
+ let tmp_10_0;
85559
85248
  const ctx_r0 = \u0275\u0275nextContext(2);
85560
85249
  const filingDetails_r6 = \u0275\u0275readContextLet(8);
85561
85250
  \u0275\u0275advance(3);
85562
- \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 6, "Date Directors were added or deleted"), "");
85563
- \u0275\u0275advance(5);
85564
- \u0275\u0275property("matDatepicker", changeDatePicker_r8)("formControlName", ctx_r0.controls.ChangeDate);
85565
- \u0275\u0275advance(6);
85566
- \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(15, 8, "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."), " ");
85251
+ \u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(4, 5, "Date Directors were added or deleted"), ": ", ctx_r0.getEffectiveDateDisplay((tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.value), " ");
85252
+ \u0275\u0275advance(3);
85253
+ \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(7, 7, "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."), " ");
85567
85254
  \u0275\u0275advance(4);
85568
- \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(19, 10, "Filing Fee"), ":");
85255
+ \u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(11, 9, "Filing Fee"), ":");
85569
85256
  \u0275\u0275advance(2);
85570
- \u0275\u0275textInterpolate1(" ", (tmp_13_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_13_0.value, " ");
85257
+ \u0275\u0275textInterpolate1(" ", (tmp_10_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_10_0.value, " ");
85571
85258
  }
85572
85259
  }
85573
85260
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
85574
85261
  if (rf & 1) {
85575
85262
  const _r5 = \u0275\u0275getCurrentView();
85576
- \u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 12)(2, "div", 13)(3, "strong");
85263
+ \u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 12)(2, "div", 13)(3, "strong");
85577
85264
  \u0275\u0275text(4);
85578
85265
  \u0275\u0275pipe(5, "translate");
85579
85266
  \u0275\u0275elementEnd();
@@ -85583,18 +85270,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85583
85270
  \u0275\u0275elementStart(8, "mat-checkbox", 14);
85584
85271
  \u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
85585
85272
  let tmp_7_0;
85586
- let tmp_8_0;
85587
85273
  \u0275\u0275restoreView(_r5);
85588
85274
  const ctx_r0 = \u0275\u0275nextContext();
85589
85275
  const filingDetails_r6 = \u0275\u0275readContextLet(8);
85590
- (tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.reset(((tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_7_0.value) ? (tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.value : null, { emitEvent: false });
85591
- (tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
85276
+ (tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.updateValueAndValidity({ emitEvent: false });
85592
85277
  return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
85593
85278
  });
85594
85279
  \u0275\u0275text(9);
85595
85280
  \u0275\u0275pipe(10, "translate");
85596
85281
  \u0275\u0275elementEnd();
85597
- \u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 15);
85282
+ \u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 13, 11, "div", 15);
85598
85283
  \u0275\u0275elementEnd()();
85599
85284
  }
85600
85285
  if (rf & 2) {
@@ -85618,7 +85303,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85618
85303
  }
85619
85304
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
85620
85305
  if (rf & 1) {
85621
- \u0275\u0275elementStart(0, "span", 27);
85306
+ \u0275\u0275elementStart(0, "span", 23);
85622
85307
  \u0275\u0275text(1);
85623
85308
  \u0275\u0275pipe(2, "translate");
85624
85309
  \u0275\u0275elementEnd();
@@ -85630,7 +85315,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85630
85315
  }
85631
85316
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
85632
85317
  if (rf & 1) {
85633
- \u0275\u0275elementStart(0, "span", 28);
85318
+ \u0275\u0275elementStart(0, "span", 24);
85634
85319
  \u0275\u0275text(1);
85635
85320
  \u0275\u0275pipe(2, "translate");
85636
85321
  \u0275\u0275elementEnd();
@@ -85642,15 +85327,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85642
85327
  }
85643
85328
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
85644
85329
  if (rf & 1) {
85645
- \u0275\u0275elementStart(0, "div", 25)(1, "div", 26)(2, "strong");
85330
+ \u0275\u0275elementStart(0, "div", 21)(1, "div", 22)(2, "strong");
85646
85331
  \u0275\u0275text(3);
85647
85332
  \u0275\u0275elementEnd();
85648
- \u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 27)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 28);
85333
+ \u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 23)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 24);
85649
85334
  \u0275\u0275elementEnd();
85650
- \u0275\u0275elementStart(6, "div", 26);
85335
+ \u0275\u0275elementStart(6, "div", 22);
85651
85336
  \u0275\u0275text(7);
85652
85337
  \u0275\u0275elementEnd();
85653
- \u0275\u0275elementStart(8, "div", 26);
85338
+ \u0275\u0275elementStart(8, "div", 22);
85654
85339
  \u0275\u0275text(9);
85655
85340
  \u0275\u0275elementEnd()();
85656
85341
  }
@@ -85659,43 +85344,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85659
85344
  let tmp_22_0;
85660
85345
  let tmp_23_0;
85661
85346
  \u0275\u0275nextContext();
85662
- const directorForm_r9 = \u0275\u0275readContextLet(0);
85347
+ const directorForm_r7 = \u0275\u0275readContextLet(0);
85663
85348
  const ctx_r0 = \u0275\u0275nextContext(2);
85664
85349
  \u0275\u0275advance(3);
85665
- \u0275\u0275textInterpolate((tmp_19_0 = directorForm_r9.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_19_0.value);
85350
+ \u0275\u0275textInterpolate((tmp_19_0 = directorForm_r7.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_19_0.value);
85666
85351
  \u0275\u0275advance();
85667
- \u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r9) ? 4 : -1);
85352
+ \u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r7) ? 4 : -1);
85668
85353
  \u0275\u0275advance();
85669
- \u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r9) ? 5 : -1);
85354
+ \u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r7) ? 5 : -1);
85670
85355
  \u0275\u0275advance(2);
85671
- \u0275\u0275textInterpolate((tmp_22_0 = directorForm_r9.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_22_0.value);
85356
+ \u0275\u0275textInterpolate((tmp_22_0 = directorForm_r7.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_22_0.value);
85672
85357
  \u0275\u0275advance(2);
85673
- \u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
85358
+ \u0275\u0275textInterpolate((tmp_23_0 = directorForm_r7.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
85674
85359
  }
85675
85360
  }
85676
85361
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
85677
85362
  if (rf & 1) {
85678
85363
  \u0275\u0275declareLet(0);
85679
- \u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 25);
85364
+ \u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 21);
85680
85365
  }
85681
85366
  if (rf & 2) {
85682
- const \u0275$index_115_r10 = ctx.$index;
85683
- const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_115_r10));
85367
+ const \u0275$index_97_r8 = ctx.$index;
85368
+ const directorForm_r9 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_97_r8));
85684
85369
  \u0275\u0275advance();
85685
- \u0275\u0275conditional(directorForm_r11 ? 1 : -1);
85370
+ \u0275\u0275conditional(directorForm_r9 ? 1 : -1);
85686
85371
  }
85687
85372
  }
85688
85373
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
85689
85374
  if (rf & 1) {
85690
- \u0275\u0275elementStart(0, "div", 8)(1, "div", 23)(2, "div", 24);
85375
+ \u0275\u0275elementStart(0, "div", 7)(1, "div", 19)(2, "div", 20);
85691
85376
  \u0275\u0275text(3);
85692
85377
  \u0275\u0275pipe(4, "translate");
85693
85378
  \u0275\u0275elementEnd();
85694
- \u0275\u0275elementStart(5, "div", 24);
85379
+ \u0275\u0275elementStart(5, "div", 20);
85695
85380
  \u0275\u0275text(6);
85696
85381
  \u0275\u0275pipe(7, "translate");
85697
85382
  \u0275\u0275elementEnd();
85698
- \u0275\u0275elementStart(8, "div", 24);
85383
+ \u0275\u0275elementStart(8, "div", 20);
85699
85384
  \u0275\u0275text(9);
85700
85385
  \u0275\u0275pipe(10, "translate");
85701
85386
  \u0275\u0275elementEnd()();
@@ -85704,7 +85389,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85704
85389
  }
85705
85390
  if (rf & 2) {
85706
85391
  \u0275\u0275nextContext();
85707
- const directorsArray_r12 = \u0275\u0275readContextLet(10);
85392
+ const directorsArray_r10 = \u0275\u0275readContextLet(10);
85708
85393
  \u0275\u0275advance(3);
85709
85394
  \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
85710
85395
  \u0275\u0275advance(3);
@@ -85712,12 +85397,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85712
85397
  \u0275\u0275advance(3);
85713
85398
  \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
85714
85399
  \u0275\u0275advance(2);
85715
- \u0275\u0275repeater(directorsArray_r12.controls);
85400
+ \u0275\u0275repeater(directorsArray_r10.controls);
85716
85401
  }
85717
85402
  }
85718
85403
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
85719
85404
  if (rf & 1) {
85720
- \u0275\u0275elementStart(0, "h2", 9);
85405
+ \u0275\u0275elementStart(0, "h2", 8);
85721
85406
  \u0275\u0275text(1);
85722
85407
  \u0275\u0275pipe(2, "translate");
85723
85408
  \u0275\u0275elementEnd();
@@ -85729,33 +85414,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85729
85414
  }
85730
85415
  function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
85731
85416
  if (rf & 1) {
85732
- const _r13 = \u0275\u0275getCurrentView();
85733
- \u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 29)(2, "p");
85417
+ const _r11 = \u0275\u0275getCurrentView();
85418
+ \u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 25)(2, "p");
85734
85419
  \u0275\u0275text(3);
85735
85420
  \u0275\u0275pipe(4, "translate");
85736
85421
  \u0275\u0275elementEnd();
85737
- \u0275\u0275elementStart(5, "mat-radio-group", 30);
85422
+ \u0275\u0275elementStart(5, "mat-radio-group", 26);
85738
85423
  \u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
85739
- \u0275\u0275restoreView(_r13);
85424
+ \u0275\u0275restoreView(_r11);
85740
85425
  const ctx_r0 = \u0275\u0275nextContext();
85741
- const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
85742
- return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
85426
+ const annualReportReminder_r12 = \u0275\u0275readContextLet(14);
85427
+ return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r12.valid));
85743
85428
  });
85744
- \u0275\u0275elementStart(6, "mat-radio-button", 31);
85429
+ \u0275\u0275elementStart(6, "mat-radio-button", 27);
85745
85430
  \u0275\u0275text(7);
85746
85431
  \u0275\u0275pipe(8, "translate");
85747
85432
  \u0275\u0275elementEnd();
85748
- \u0275\u0275elementStart(9, "mat-radio-button", 31);
85433
+ \u0275\u0275elementStart(9, "mat-radio-button", 27);
85749
85434
  \u0275\u0275text(10);
85750
85435
  \u0275\u0275pipe(11, "translate");
85751
85436
  \u0275\u0275elementEnd()()()();
85752
85437
  }
85753
85438
  if (rf & 2) {
85754
85439
  const ctx_r0 = \u0275\u0275nextContext();
85755
- const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
85440
+ const annualReportReminder_r12 = \u0275\u0275readContextLet(14);
85756
85441
  \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
85757
85442
  \u0275\u0275advance();
85758
- \u0275\u0275property("formGroup", annualReportReminder_r14);
85443
+ \u0275\u0275property("formGroup", annualReportReminder_r12);
85759
85444
  \u0275\u0275advance(2);
85760
85445
  \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 10, "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."), " ");
85761
85446
  \u0275\u0275advance(2);
@@ -85788,6 +85473,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85788
85473
  init_british_columbia_form_enums();
85789
85474
  init_british_columbia_change_of_directors_form_constants();
85790
85475
  init_BritishColumbiaConstants();
85476
+ init_british_columbia_formation_form_helper();
85791
85477
  init_core();
85792
85478
  init_forms();
85793
85479
  BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
@@ -85803,7 +85489,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85803
85489
  controls = BCChangeOfDirectorsFormControls;
85804
85490
  annualReportReminderOption = BCAnnualReportReminder;
85805
85491
  referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
85806
- corporationDetailsFields = BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS;
85492
+ corporationDetailsFields = computed(() => {
85493
+ const corporationDetails = this.form().get(this.groups.CorporationDetails);
85494
+ const currentEmail = corporationDetails?.get(this.controls.CompanyEmail)?.value;
85495
+ const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
85496
+ return BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
85497
+ });
85498
+ companyEmailFields = computed(() => this.corporationDetailsFields().filter((field) => field.formControlName === this.controls.CompanyEmail));
85807
85499
  filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
85808
85500
  directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
85809
85501
  annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
@@ -85816,6 +85508,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85816
85508
  const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
85817
85509
  return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
85818
85510
  }
85511
+ getEffectiveDateDisplay(value) {
85512
+ const date = String(value ?? "").split("T")[0];
85513
+ const [year, month, day] = date.split("-");
85514
+ return year && month && day ? `${day}/${month}/${year}` : "\u2014";
85515
+ }
85819
85516
  onSectionValidChange(section, valid) {
85820
85517
  this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
85821
85518
  this.visiblyValidChange.emit(this.isVisiblyValid());
@@ -85841,23 +85538,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85841
85538
  static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
85842
85539
  return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
85843
85540
  };
85844
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [["changeDatePicker", ""], [1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], ["appearance", "outline"], ["matInput", "", "placeholder", "dd/mm/yyyy", "readonly", "", 3, "click", "dateChange", "matDatepicker", "formControlName"], ["type", "button", "aria-label", "Open date picker", 1, "calendar-trigger", 3, "click"], ["aria-hidden", "true", 1, "calendar-icon"], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
85541
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [[1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [3, "form", "config", "isSubmitted"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
85845
85542
  if (rf & 1) {
85846
- \u0275\u0275elementStart(0, "div", 1);
85847
- \u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
85848
- \u0275\u0275elementStart(3, "div", 4);
85543
+ \u0275\u0275elementStart(0, "div", 0);
85544
+ \u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
85545
+ \u0275\u0275elementStart(3, "div", 3);
85849
85546
  \u0275\u0275declareLet(4);
85850
- \u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 5);
85547
+ \u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
85851
85548
  \u0275\u0275declareLet(6);
85852
- \u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 17, 14, "expandable-card", 6);
85549
+ \u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 13, 13, "expandable-card", 5);
85853
85550
  \u0275\u0275declareLet(8);
85854
- \u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
85551
+ \u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 6);
85855
85552
  \u0275\u0275declareLet(10);
85856
- \u0275\u0275elementStart(11, "expandable-card", 6);
85857
- \u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 8)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 9);
85553
+ \u0275\u0275elementStart(11, "expandable-card", 5);
85554
+ \u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 7)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 8);
85858
85555
  \u0275\u0275elementEnd();
85859
85556
  \u0275\u0275declareLet(14);
85860
- \u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 7);
85557
+ \u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 6);
85861
85558
  \u0275\u0275elementEnd()();
85862
85559
  }
85863
85560
  if (rf & 2) {
@@ -85866,41 +85563,36 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85866
85563
  \u0275\u0275advance();
85867
85564
  \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
85868
85565
  \u0275\u0275advance(2);
85869
- const referenceNumbers_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
85566
+ const referenceNumbers_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
85870
85567
  \u0275\u0275advance();
85871
- \u0275\u0275conditional(referenceNumbers_r15 ? 5 : -1);
85568
+ \u0275\u0275conditional(referenceNumbers_r13 ? 5 : -1);
85872
85569
  \u0275\u0275advance();
85873
- const corporationDetails_r16 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
85570
+ const corporationDetails_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
85874
85571
  \u0275\u0275advance();
85875
- \u0275\u0275conditional(corporationDetails_r16 ? 7 : -1);
85572
+ \u0275\u0275conditional(corporationDetails_r14 ? 7 : -1);
85876
85573
  \u0275\u0275advance();
85877
- const filingDetails_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
85574
+ const filingDetails_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
85878
85575
  \u0275\u0275advance();
85879
- \u0275\u0275conditional(filingDetails_r17 ? 9 : -1);
85576
+ \u0275\u0275conditional(filingDetails_r15 ? 9 : -1);
85880
85577
  \u0275\u0275advance();
85881
- const directorsArray_r18 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
85578
+ const directorsArray_r16 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
85882
85579
  \u0275\u0275advance();
85883
85580
  \u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
85884
85581
  \u0275\u0275advance();
85885
- \u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 12 : 13);
85582
+ \u0275\u0275conditional(directorsArray_r16 && directorsArray_r16.length ? 12 : 13);
85886
85583
  \u0275\u0275advance(2);
85887
- const annualReportReminder_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
85584
+ const annualReportReminder_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
85888
85585
  \u0275\u0275advance();
85889
- \u0275\u0275conditional(annualReportReminder_r19 ? 15 : -1);
85586
+ \u0275\u0275conditional(annualReportReminder_r17 ? 15 : -1);
85890
85587
  }
85891
85588
  }, dependencies: [
85892
85589
  FilingFormGroupComponent,
85893
85590
  AlertComponent,
85894
85591
  ExpandableCardComponent,
85895
85592
  MatCheckbox,
85896
- MatDatepicker,
85897
- MatDatepickerInput,
85898
- MatFormField,
85899
- MatInput,
85900
85593
  MatRadioButton,
85901
85594
  MatRadioGroup,
85902
85595
  ReactiveFormsModule,
85903
- DefaultValueAccessor,
85904
85596
  NgControlStatus,
85905
85597
  NgControlStatusGroup,
85906
85598
  FormGroupDirective,
@@ -85967,10 +85659,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85967
85659
  <strong>{{ 'Incorporation Number' | translate }}:</strong>\r
85968
85660
  {{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
85969
85661
  </p>\r
85970
- <p>\r
85971
- <strong>{{ 'Company Email' | translate }}:</strong>\r
85972
- {{ corporationDetails.get(controls.CompanyEmail)?.value }}\r
85973
- </p>\r
85662
+ <filing-form-group
85663
+ [form]="corporationDetails"
85664
+ [config]="companyEmailFields()"
85665
+ [isSubmitted]="isSubmitted()"
85666
+ />
85974
85667
  </div>\r
85975
85668
  </expandable-card>\r
85976
85669
  }\r
@@ -85994,48 +85687,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85994
85687
  \r
85995
85688
  <mat-checkbox\r
85996
85689
  class="directors-change-checkbox"\r
85997
- [formControlName]="controls.DirectorsAddedOrDeleted"\r
85998
- (change)="\r
85999
- filingDetails.get(controls.ChangeDate)?.reset(\r
86000
- filingDetails.get(controls.DirectorsAddedOrDeleted)?.value\r
86001
- ? filingDetails.get(controls.ChangeDate)?.value\r
86002
- : null,\r
86003
- { emitEvent: false }\r
86004
- );\r
86005
- filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
86006
- onSectionValidChange('filingDetails', filingDetails.valid)\r
86007
- "\r
85690
+ [formControlName]="controls.DirectorsAddedOrDeleted"
85691
+ (change)="
85692
+ filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85693
+ onSectionValidChange('filingDetails', filingDetails.valid)
85694
+ "
86008
85695
  >\r
86009
85696
  {{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
86010
85697
  </mat-checkbox>\r
86011
85698
  \r
86012
85699
  @if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
86013
85700
  <div class="filing-details-grid">\r
86014
- <div class="date-field">\r
86015
- <label>\r
86016
- {{ 'Date Directors were added or deleted' | translate }}<span>*</span>\r
86017
- </label>\r
86018
- <mat-form-field appearance="outline">\r
86019
- <input\r
86020
- matInput\r
86021
- [matDatepicker]="changeDatePicker"\r
86022
- [formControlName]="controls.ChangeDate"\r
86023
- placeholder="dd/mm/yyyy"\r
86024
- readonly\r
86025
- (click)="changeDatePicker.open()"\r
86026
- (dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
86027
- />\r
86028
- <button\r
86029
- type="button"\r
86030
- class="calendar-trigger"\r
86031
- aria-label="Open date picker"\r
86032
- (click)="changeDatePicker.open()"\r
86033
- >\r
86034
- <span class="calendar-icon" aria-hidden="true"></span>\r
86035
- </button>\r
86036
- <mat-datepicker #changeDatePicker></mat-datepicker>\r
86037
- </mat-form-field>\r
86038
- <p class="hint">\r
85701
+ <div class="date-field">
85702
+ <label>
85703
+ {{ 'Date Directors were added or deleted' | translate }}:
85704
+ {{ getEffectiveDateDisplay(filingDetails.get(controls.ChangeDate)?.value) }}
85705
+ </label>
85706
+ <p class="hint">
86039
85707
  {{\r
86040
85708
  "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
86041
85709
  | translate\r
@@ -86055,8 +85723,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86055
85723
  \r
86056
85724
  @let directorsArray = getFormArray(groups.Directors);\r
86057
85725
  \r
86058
- <expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
86059
- @if (directorsArray && directorsArray.length) {\r
85726
+ <expandable-card [isStatusIcon]="false" [title]="groups.Directors">
85727
+ @if (directorsArray && directorsArray.length) {
86060
85728
  <div class="directors-table" role="table">\r
86061
85729
  <div class="directors-table-header" role="row">\r
86062
85730
  <div role="columnheader">{{ 'Name' | translate }}</div>\r
@@ -86123,7 +85791,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86123
85791
  }], null, null);
86124
85792
  })();
86125
85793
  (() => {
86126
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 59 });
85794
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 61 });
86127
85795
  })();
86128
85796
  }
86129
85797
  });
@@ -86363,7 +86031,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86363
86031
  init_BritishColumbiaConstants();
86364
86032
  init_british_columbia_formation_form_helper();
86365
86033
  BC_NAME_TYPE_OPTIONS = Object.values(BCNameType).filter((v) => typeof v === "number").map((v) => ({ label: BCNameTypeLabel[v], value: v }));
86366
- labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("None")}`;
86034
+ labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
86367
86035
  isNamed = (form) => form.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named;
86368
86036
  BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
86369
86037
  {
@@ -87649,1000 +87317,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87649
87317
  }
87650
87318
  });
87651
87319
 
87652
- // src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
87653
- var Controls4, labelledValue3, readOnlyRow2, isChecked, addressGroup, BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, effectiveDateNote, BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS, BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS, BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS, BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS, BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
87654
- var init_british_columbia_change_of_office_addresses_form_constants = __esm({
87655
- "src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
87656
- init_form_enums();
87657
- init_british_columbia_form_enums();
87658
- init_british_columbia_change_of_office_addresses_form_helper();
87659
- Controls4 = BCChangeOfOfficeAddressesFormControls;
87660
- labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
87661
- readOnlyRow2 = (label, control, className = "span-12") => ({
87662
- type: FormType.Text,
87663
- formControlName: control,
87664
- class: className,
87665
- dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
87666
- });
87667
- isChecked = (form, control) => Boolean(form.get(control)?.value);
87668
- addressGroup = (form, control) => form.get(control);
87669
- BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
87670
- {
87671
- type: FormType.Input,
87672
- label: "Client/Matter Number",
87673
- formControlName: Controls4.ClientMatterNumber
87674
- },
87675
- {
87676
- type: FormType.Input,
87677
- label: "Docket Number",
87678
- formControlName: Controls4.DocketNumber
87679
- }
87680
- ];
87681
- effectiveDateNote = {
87682
- type: FormType.Text,
87683
- formControlName: "",
87684
- class: "span-12 note-box",
87685
- 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.")}`
87686
- };
87687
- BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = (emailOptions) => [
87688
- readOnlyRow2("Corporation Name", Controls4.CorporationName),
87689
- readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
87690
- {
87691
- type: FormType.Select,
87692
- label: "Company Email",
87693
- formControlName: Controls4.CompanyEmail,
87694
- required: true,
87695
- options: emailOptions,
87696
- class: "span-6"
87697
- },
87698
- effectiveDateNote
87699
- ];
87700
- BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
87701
- readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
87702
- readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
87703
- ];
87704
- BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
87705
- {
87706
- type: FormType.Input,
87707
- label: "Address Line 1",
87708
- formControlName: Controls4.AddressLine1,
87709
- required: true,
87710
- class: "span-6"
87711
- },
87712
- {
87713
- type: FormType.Input,
87714
- label: "Address Line 2",
87715
- formControlName: Controls4.AddressLine2,
87716
- class: "span-6"
87717
- },
87718
- {
87719
- type: FormType.Input,
87720
- label: "City",
87721
- formControlName: Controls4.City,
87722
- required: true,
87723
- class: "span-6"
87724
- },
87725
- {
87726
- type: FormType.Input,
87727
- label: "Postal Code",
87728
- formControlName: Controls4.PostalCode,
87729
- required: true,
87730
- class: "span-6"
87731
- },
87732
- {
87733
- type: FormType.Input,
87734
- label: "Province",
87735
- formControlName: Controls4.Province,
87736
- readonly: true,
87737
- class: "span-6"
87738
- },
87739
- {
87740
- type: FormType.Input,
87741
- label: "Country",
87742
- formControlName: Controls4.Country,
87743
- readonly: true,
87744
- class: "span-6"
87745
- }
87746
- ];
87747
- BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
87748
- {
87749
- type: FormType.Text,
87750
- formControlName: "",
87751
- class: "span-12",
87752
- 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.")
87753
- }
87754
- ];
87755
- BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
87756
- {
87757
- type: FormType.Checkbox,
87758
- label: "Same as Mailing Address",
87759
- formControlName: Controls4.DeliverySameAsMailing,
87760
- class: "span-12",
87761
- onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
87762
- }
87763
- ];
87764
- BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
87765
- {
87766
- type: FormType.Checkbox,
87767
- label: "Same as Registered Office",
87768
- formControlName: Controls4.SameAsRegisteredOffice,
87769
- class: "span-12",
87770
- onChange: (form) => {
87771
- const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
87772
- const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
87773
- BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
87774
- BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
87775
- }
87776
- }
87777
- ];
87778
- }
87779
- });
87780
-
87781
- // src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
87782
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
87783
- if (rf & 1) {
87784
- \u0275\u0275element(0, "alert", 1);
87785
- }
87786
- if (rf & 2) {
87787
- const ctx_r0 = \u0275\u0275nextContext();
87788
- \u0275\u0275property("type", ctx_r0.alertType.Info);
87789
- }
87790
- }
87791
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
87792
- if (rf & 1) {
87793
- \u0275\u0275element(0, "alert", 2);
87794
- }
87795
- if (rf & 2) {
87796
- const ctx_r0 = \u0275\u0275nextContext();
87797
- \u0275\u0275property("content", ctx_r0.errors());
87798
- }
87799
- }
87800
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
87801
- if (rf & 1) {
87802
- const _r2 = \u0275\u0275getCurrentView();
87803
- \u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
87804
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87805
- \u0275\u0275restoreView(_r2);
87806
- const ctx_r0 = \u0275\u0275nextContext();
87807
- return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
87808
- });
87809
- \u0275\u0275elementEnd()();
87810
- }
87811
- if (rf & 2) {
87812
- const ctx_r0 = \u0275\u0275nextContext();
87813
- const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
87814
- \u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
87815
- \u0275\u0275advance();
87816
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
87817
- }
87818
- }
87819
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
87820
- if (rf & 1) {
87821
- const _r4 = \u0275\u0275getCurrentView();
87822
- \u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
87823
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87824
- \u0275\u0275restoreView(_r4);
87825
- const ctx_r0 = \u0275\u0275nextContext();
87826
- return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corpDetails", $event));
87827
- });
87828
- \u0275\u0275elementEnd()();
87829
- }
87830
- if (rf & 2) {
87831
- const ctx_r0 = \u0275\u0275nextContext();
87832
- const corporationDetails_r5 = \u0275\u0275readContextLet(6);
87833
- \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["corpDetails"] !== false)("title", ctx_r0.groups.CorporationDetails);
87834
- \u0275\u0275advance();
87835
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.corporationDetailsFields());
87836
- }
87837
- }
87838
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
87839
- if (rf & 1) {
87840
- const _r7 = \u0275\u0275getCurrentView();
87841
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87842
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
87843
- \u0275\u0275restoreView(_r7);
87844
- const ctx_r0 = \u0275\u0275nextContext(2);
87845
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87846
- });
87847
- \u0275\u0275elementEnd();
87848
- }
87849
- if (rf & 2) {
87850
- \u0275\u0275nextContext();
87851
- const registeredMailing_r8 = \u0275\u0275readContextLet(0);
87852
- const ctx_r0 = \u0275\u0275nextContext();
87853
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
87854
- }
87855
- }
87856
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
87857
- if (rf & 1) {
87858
- const _r9 = \u0275\u0275getCurrentView();
87859
- \u0275\u0275element(0, "filing-form-group", 9);
87860
- \u0275\u0275elementStart(1, "filing-form-group", 7);
87861
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
87862
- \u0275\u0275restoreView(_r9);
87863
- const ctx_r0 = \u0275\u0275nextContext(2);
87864
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87865
- });
87866
- \u0275\u0275elementEnd();
87867
- }
87868
- if (rf & 2) {
87869
- \u0275\u0275nextContext();
87870
- const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
87871
- const ctx_r0 = \u0275\u0275nextContext();
87872
- const registeredOffice_r11 = \u0275\u0275readContextLet(8);
87873
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
87874
- \u0275\u0275advance();
87875
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r10)("config", ctx_r0.addressFields);
87876
- }
87877
- }
87878
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
87879
- if (rf & 1) {
87880
- const _r6 = \u0275\u0275getCurrentView();
87881
- \u0275\u0275declareLet(0)(1)(2);
87882
- \u0275\u0275elementStart(3, "expandable-card", 5)(4, "div", 8);
87883
- \u0275\u0275element(5, "filing-form-group", 9);
87884
- \u0275\u0275elementStart(6, "h4", 10);
87885
- \u0275\u0275text(7);
87886
- \u0275\u0275pipe(8, "translate");
87887
- \u0275\u0275elementEnd();
87888
- \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 9);
87889
- \u0275\u0275elementStart(10, "h4", 10);
87890
- \u0275\u0275text(11);
87891
- \u0275\u0275pipe(12, "translate");
87892
- \u0275\u0275elementEnd();
87893
- \u0275\u0275elementStart(13, "filing-form-group", 7);
87894
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
87895
- \u0275\u0275restoreView(_r6);
87896
- const ctx_r0 = \u0275\u0275nextContext();
87897
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87898
- });
87899
- \u0275\u0275elementEnd();
87900
- \u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
87901
- \u0275\u0275elementEnd()();
87902
- }
87903
- if (rf & 2) {
87904
- const ctx_r0 = \u0275\u0275nextContext();
87905
- const registeredOffice_r11 = \u0275\u0275readContextLet(8);
87906
- const registeredMailing_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewMailingAddress));
87907
- \u0275\u0275advance();
87908
- const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
87909
- const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
87910
- \u0275\u0275advance(2);
87911
- \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
87912
- \u0275\u0275advance(2);
87913
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
87914
- \u0275\u0275advance(2);
87915
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
87916
- \u0275\u0275advance(2);
87917
- \u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
87918
- \u0275\u0275advance(2);
87919
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
87920
- \u0275\u0275advance(2);
87921
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliverySameAsMailingFields);
87922
- \u0275\u0275advance();
87923
- \u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
87924
- }
87925
- }
87926
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
87927
- if (rf & 1) {
87928
- const _r17 = \u0275\u0275getCurrentView();
87929
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87930
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
87931
- \u0275\u0275restoreView(_r17);
87932
- const ctx_r0 = \u0275\u0275nextContext(3);
87933
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87934
- });
87935
- \u0275\u0275elementEnd();
87936
- }
87937
- if (rf & 2) {
87938
- \u0275\u0275nextContext(2);
87939
- const recordsMailing_r18 = \u0275\u0275readContextLet(0);
87940
- const ctx_r0 = \u0275\u0275nextContext();
87941
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r18)("config", ctx_r0.addressFields);
87942
- }
87943
- }
87944
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
87945
- if (rf & 1) {
87946
- const _r19 = \u0275\u0275getCurrentView();
87947
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87948
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
87949
- \u0275\u0275restoreView(_r19);
87950
- const ctx_r0 = \u0275\u0275nextContext(3);
87951
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87952
- });
87953
- \u0275\u0275elementEnd();
87954
- }
87955
- if (rf & 2) {
87956
- \u0275\u0275nextContext(2);
87957
- const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
87958
- const ctx_r0 = \u0275\u0275nextContext();
87959
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
87960
- }
87961
- }
87962
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
87963
- if (rf & 1) {
87964
- const _r16 = \u0275\u0275getCurrentView();
87965
- \u0275\u0275elementStart(0, "h4", 10);
87966
- \u0275\u0275text(1);
87967
- \u0275\u0275pipe(2, "translate");
87968
- \u0275\u0275elementEnd();
87969
- \u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
87970
- \u0275\u0275elementStart(4, "h4", 10);
87971
- \u0275\u0275text(5);
87972
- \u0275\u0275pipe(6, "translate");
87973
- \u0275\u0275elementEnd();
87974
- \u0275\u0275elementStart(7, "filing-form-group", 7);
87975
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
87976
- \u0275\u0275restoreView(_r16);
87977
- const ctx_r0 = \u0275\u0275nextContext(2);
87978
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87979
- });
87980
- \u0275\u0275elementEnd();
87981
- \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
87982
- }
87983
- if (rf & 2) {
87984
- \u0275\u0275nextContext();
87985
- const recordsMailing_r18 = \u0275\u0275readContextLet(0);
87986
- const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
87987
- const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
87988
- const ctx_r0 = \u0275\u0275nextContext();
87989
- const recordsOffice_r22 = \u0275\u0275readContextLet(10);
87990
- \u0275\u0275advance();
87991
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
87992
- \u0275\u0275advance(2);
87993
- \u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
87994
- \u0275\u0275advance(2);
87995
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
87996
- \u0275\u0275advance(2);
87997
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.deliverySameAsMailingFields);
87998
- \u0275\u0275advance();
87999
- \u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
88000
- }
88001
- }
88002
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
88003
- if (rf & 1) {
88004
- const _r15 = \u0275\u0275getCurrentView();
88005
- \u0275\u0275declareLet(0)(1)(2)(3);
88006
- \u0275\u0275elementStart(4, "expandable-card", 5)(5, "div", 8);
88007
- \u0275\u0275element(6, "filing-form-group", 9);
88008
- \u0275\u0275elementStart(7, "filing-form-group", 7);
88009
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
88010
- \u0275\u0275restoreView(_r15);
88011
- const ctx_r0 = \u0275\u0275nextContext();
88012
- return \u0275\u0275resetView(ctx_r0.emitValidity());
88013
- });
88014
- \u0275\u0275elementEnd();
88015
- \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
88016
- \u0275\u0275elementEnd()();
88017
- }
88018
- if (rf & 2) {
88019
- const ctx_r0 = \u0275\u0275nextContext();
88020
- const recordsOffice_r22 = \u0275\u0275readContextLet(10);
88021
- \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
88022
- \u0275\u0275advance();
88023
- \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
88024
- const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
88025
- \u0275\u0275advance(2);
88026
- \u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
88027
- \u0275\u0275advance();
88028
- \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
88029
- \u0275\u0275advance(2);
88030
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.currentAddressesFields);
88031
- \u0275\u0275advance();
88032
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
88033
- \u0275\u0275advance();
88034
- \u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
88035
- }
88036
- }
88037
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template(rf, ctx) {
88038
- if (rf & 1) {
88039
- \u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p");
88040
- \u0275\u0275text(3);
88041
- \u0275\u0275pipe(4, "translate");
88042
- \u0275\u0275elementEnd();
88043
- \u0275\u0275elementStart(5, "mat-radio-group", 12)(6, "mat-radio-button", 13);
88044
- \u0275\u0275text(7);
88045
- \u0275\u0275pipe(8, "translate");
88046
- \u0275\u0275elementEnd();
88047
- \u0275\u0275elementStart(9, "mat-radio-button", 13);
88048
- \u0275\u0275text(10);
88049
- \u0275\u0275pipe(11, "translate");
88050
- \u0275\u0275elementEnd()()()();
88051
- }
88052
- if (rf & 2) {
88053
- const ctx_r0 = \u0275\u0275nextContext();
88054
- const annualReportReminder_r24 = \u0275\u0275readContextLet(12);
88055
- \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.AnnualReportReminder);
88056
- \u0275\u0275advance();
88057
- \u0275\u0275property("formGroup", annualReportReminder_r24);
88058
- \u0275\u0275advance(2);
88059
- \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 9, "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."), " ");
88060
- \u0275\u0275advance(2);
88061
- \u0275\u0275property("formControlName", ctx_r0.controls.AnnualReportReminder);
88062
- \u0275\u0275advance();
88063
- \u0275\u0275property("value", ctx_r0.annualReportReminderOption.Yes);
88064
- \u0275\u0275advance();
88065
- \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 11, "Yes, send the annual report reminder"), " ");
88066
- \u0275\u0275advance(2);
88067
- \u0275\u0275property("value", ctx_r0.annualReportReminderOption.No);
88068
- \u0275\u0275advance();
88069
- \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 13, "No, I do not need to be reminded"), " ");
88070
- }
88071
- }
88072
- var BritishColumbiaChangeOfOfficeAddressesFormComponent;
88073
- var init_change_of_office_addresses_form_component = __esm({
88074
- "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
88075
- init_core();
88076
- init_forms();
88077
- init_radio();
88078
- init_ngx_translate_core();
88079
- init_filing_form_group_component();
88080
- init_alert_component();
88081
- init_alert_enum();
88082
- init_expandable_card_component();
88083
- init_british_columbia_form_enums();
88084
- init_british_columbia_change_of_office_addresses_form_constants();
88085
- init_forms_utils();
88086
- init_BritishColumbiaConstants();
88087
- init_british_columbia_change_of_office_addresses_form_helper();
88088
- init_core();
88089
- init_forms();
88090
- BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
88091
- form = input.required();
88092
- task = input();
88093
- errors = input([]);
88094
- isNote = input(false);
88095
- isSubmitted = input(false);
88096
- readonly = input(false);
88097
- visiblyValidChange = output();
88098
- alertType = AlertType;
88099
- groups = BCChangeOfOfficeAddressesFormGroups;
88100
- controls = BCChangeOfOfficeAddressesFormControls;
88101
- annualReportReminderOption = BCAnnualReportReminder;
88102
- referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
88103
- corporationDetailsFields = computed(() => {
88104
- const task = this.task();
88105
- return BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS(task ? BritishColumbiaChangeOfOfficeAddressesFormHelper.getCompanyEmailOptions(task) : []);
88106
- });
88107
- currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
88108
- addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
88109
- deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
88110
- deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
88111
- sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
88112
- sectionValidity = {};
88113
- isVisiblyValid() {
88114
- return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
88115
- }
88116
- isRegisteredOfficeValid() {
88117
- const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
88118
- return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
88119
- }
88120
- isRecordsOfficeValid() {
88121
- const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
88122
- return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
88123
- }
88124
- isChecked(office, control) {
88125
- return Boolean(office?.get(control)?.value);
88126
- }
88127
- onSectionValidChange(section, valid) {
88128
- this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
88129
- this.emitValidity();
88130
- }
88131
- emitValidity() {
88132
- queueMicrotask(() => this.visiblyValidChange.emit(this.isVisiblyValid()));
88133
- }
88134
- getFormGroup(key) {
88135
- return this.form().get(key) ?? null;
88136
- }
88137
- getAddressGroup(office, control) {
88138
- return office?.get(control) ?? null;
88139
- }
88140
- isAddressValid(office, control) {
88141
- const group2 = this.getAddressGroup(office, control);
88142
- return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
88143
- }
88144
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
88145
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
88146
- };
88147
- 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: 14, vars: 12, 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", "isValid", "title"], [3, "isStatusIcon", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item-title"], [1, "annual-reminder", 3, "formGroup"], [3, "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
88148
- if (rf & 1) {
88149
- \u0275\u0275elementStart(0, "div", 0);
88150
- \u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
88151
- \u0275\u0275elementStart(3, "div", 3);
88152
- \u0275\u0275declareLet(4);
88153
- \u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
88154
- \u0275\u0275declareLet(6);
88155
- \u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 6, "expandable-card", 5);
88156
- \u0275\u0275declareLet(8);
88157
- \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 5);
88158
- \u0275\u0275declareLet(10);
88159
- \u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 5);
88160
- \u0275\u0275declareLet(12);
88161
- \u0275\u0275template(13, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template, 12, 15, "expandable-card", 6);
88162
- \u0275\u0275elementEnd()();
88163
- }
88164
- if (rf & 2) {
88165
- \u0275\u0275advance();
88166
- \u0275\u0275conditional(ctx.isNote() ? 1 : -1);
88167
- \u0275\u0275advance();
88168
- \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
88169
- \u0275\u0275advance(2);
88170
- const referenceNumbers_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
88171
- \u0275\u0275advance();
88172
- \u0275\u0275conditional(referenceNumbers_r25 ? 5 : -1);
88173
- \u0275\u0275advance();
88174
- const corporationDetails_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
88175
- \u0275\u0275advance();
88176
- \u0275\u0275conditional(corporationDetails_r26 ? 7 : -1);
88177
- \u0275\u0275advance();
88178
- const registeredOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
88179
- \u0275\u0275advance();
88180
- \u0275\u0275conditional(registeredOffice_r27 ? 9 : -1);
88181
- \u0275\u0275advance();
88182
- const recordsOffice_r28 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
88183
- \u0275\u0275advance();
88184
- \u0275\u0275conditional(recordsOffice_r28 ? 11 : -1);
88185
- \u0275\u0275advance();
88186
- const annualReportReminder_r29 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
88187
- \u0275\u0275advance();
88188
- \u0275\u0275conditional(annualReportReminder_r29 ? 13 : -1);
88189
- }
88190
- }, dependencies: [
88191
- FilingFormGroupComponent,
88192
- AlertComponent,
88193
- ExpandableCardComponent,
88194
- MatRadioButton,
88195
- MatRadioGroup,
88196
- ReactiveFormsModule,
88197
- NgControlStatus,
88198
- NgControlStatusGroup,
88199
- FormGroupDirective,
88200
- FormControlName,
88201
- TranslatePipe
88202
- ], 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[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\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 });
88203
- };
88204
- (() => {
88205
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
88206
- type: Component,
88207
- args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
88208
- FilingFormGroupComponent,
88209
- AlertComponent,
88210
- ExpandableCardComponent,
88211
- MatRadioButton,
88212
- MatRadioGroup,
88213
- ReactiveFormsModule,
88214
- TranslatePipe
88215
- ], template: `<div class="change-of-office-addresses-form">\r
88216
- @if (isNote()) {\r
88217
- <alert\r
88218
- [type]="alertType.Info"\r
88219
- title="Entity changed"\r
88220
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
88221
- />\r
88222
- }\r
88223
- \r
88224
- @if (errors().length) {\r
88225
- <alert\r
88226
- title="The following issues need to be resolved before proceeding:"\r
88227
- [content]="errors()"\r
88228
- />\r
88229
- }\r
88230
- \r
88231
- <div class="change-of-office-addresses-form-content">\r
88232
- @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
88233
- \r
88234
- @if (referenceNumbers) {\r
88235
- <expandable-card [title]="groups.ReferenceNumbers">\r
88236
- <filing-form-group\r
88237
- [isSubmitted]="isSubmitted()"\r
88238
- [form]="referenceNumbers"\r
88239
- [config]="referenceNumbersFields"\r
88240
- (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
88241
- />\r
88242
- </expandable-card>\r
88243
- }\r
88244
- \r
88245
- @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
88246
- \r
88247
- @if (corporationDetails) {\r
88248
- <expandable-card\r
88249
- [isStatusIcon]="!readonly()"\r
88250
- [isValid]="sectionValidity['corpDetails'] !== false"\r
88251
- [title]="groups.CorporationDetails"\r
88252
- >\r
88253
- <filing-form-group\r
88254
- [isSubmitted]="isSubmitted()"\r
88255
- [form]="corporationDetails"\r
88256
- [config]="corporationDetailsFields()"\r
88257
- (visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
88258
- />\r
88259
- </expandable-card>\r
88260
- }\r
88261
- \r
88262
- <!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
88263
- @let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
88264
- \r
88265
- @if (registeredOffice) {\r
88266
- @let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
88267
- @let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
88268
- @let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
88269
- \r
88270
- <expandable-card\r
88271
- [isStatusIcon]="!readonly()"\r
88272
- [isValid]="isRegisteredOfficeValid()"\r
88273
- [title]="groups.RegisteredOfficeAddress"\r
88274
- >\r
88275
- <div class="change-of-office-addresses-form-item">\r
88276
- <filing-form-group\r
88277
- [isSubmitted]="isSubmitted()"\r
88278
- [form]="registeredOffice"\r
88279
- [config]="currentAddressesFields"\r
88280
- />\r
88281
- \r
88282
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88283
- \r
88284
- @if (registeredMailing) {\r
88285
- <filing-form-group\r
88286
- [isSubmitted]="isSubmitted()"\r
88287
- [form]="registeredMailing"\r
88288
- [config]="addressFields"\r
88289
- (visiblyValidChange)="emitValidity()"\r
88290
- />\r
88291
- }\r
88292
- \r
88293
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88294
- \r
88295
- <filing-form-group\r
88296
- [isSubmitted]="isSubmitted()"\r
88297
- [form]="registeredOffice"\r
88298
- [config]="deliverySameAsMailingFields"\r
88299
- (visiblyValidChange)="emitValidity()"\r
88300
- />\r
88301
- \r
88302
- @if (!registeredDeliverySame && registeredDelivery) {\r
88303
- <filing-form-group\r
88304
- [isSubmitted]="isSubmitted()"\r
88305
- [form]="registeredOffice"\r
88306
- [config]="deliveryNoteFields"\r
88307
- />\r
88308
- <filing-form-group\r
88309
- [isSubmitted]="isSubmitted()"\r
88310
- [form]="registeredDelivery"\r
88311
- [config]="addressFields"\r
88312
- (visiblyValidChange)="emitValidity()"\r
88313
- />\r
88314
- }\r
88315
- </div>\r
88316
- </expandable-card>\r
88317
- }\r
88318
- \r
88319
- <!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
88320
- @let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
88321
- \r
88322
- @if (recordsOffice) {\r
88323
- @let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
88324
- @let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
88325
- @let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
88326
- @let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
88327
- \r
88328
- <expandable-card\r
88329
- [isStatusIcon]="!readonly()"\r
88330
- [isValid]="isRecordsOfficeValid()"\r
88331
- [title]="groups.RecordsOfficeAddress"\r
88332
- >\r
88333
- <div class="change-of-office-addresses-form-item">\r
88334
- <filing-form-group\r
88335
- [isSubmitted]="isSubmitted()"\r
88336
- [form]="recordsOffice"\r
88337
- [config]="currentAddressesFields"\r
88338
- />\r
88339
- \r
88340
- <filing-form-group\r
88341
- [isSubmitted]="isSubmitted()"\r
88342
- [form]="recordsOffice"\r
88343
- [config]="sameAsRegisteredOfficeFields"\r
88344
- (visiblyValidChange)="emitValidity()"\r
88345
- />\r
88346
- \r
88347
- @if (!recordsSameAsRegistered) {\r
88348
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88349
- \r
88350
- @if (recordsMailing) {\r
88351
- <filing-form-group\r
88352
- [isSubmitted]="isSubmitted()"\r
88353
- [form]="recordsMailing"\r
88354
- [config]="addressFields"\r
88355
- (visiblyValidChange)="emitValidity()"\r
88356
- />\r
88357
- }\r
88358
- \r
88359
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88360
- \r
88361
- <filing-form-group\r
88362
- [isSubmitted]="isSubmitted()"\r
88363
- [form]="recordsOffice"\r
88364
- [config]="deliverySameAsMailingFields"\r
88365
- (visiblyValidChange)="emitValidity()"\r
88366
- />\r
88367
- \r
88368
- @if (!recordsDeliverySame && recordsDelivery) {\r
88369
- <filing-form-group\r
88370
- [isSubmitted]="isSubmitted()"\r
88371
- [form]="recordsDelivery"\r
88372
- [config]="addressFields"\r
88373
- (visiblyValidChange)="emitValidity()"\r
88374
- />\r
88375
- }\r
88376
- }\r
88377
- </div>\r
88378
- </expandable-card>\r
88379
- }\r
88380
- \r
88381
- @let annualReportReminder = getFormGroup(groups.AnnualReportReminder);\r
88382
- \r
88383
- @if (annualReportReminder) {\r
88384
- <expandable-card [isStatusIcon]="false" [title]="groups.AnnualReportReminder">\r
88385
- <div class="annual-reminder" [formGroup]="annualReportReminder">\r
88386
- <p>\r
88387
- {{\r
88388
- "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
88389
- | translate\r
88390
- }}\r
88391
- </p>\r
88392
- <mat-radio-group [formControlName]="controls.AnnualReportReminder">\r
88393
- <mat-radio-button [value]="annualReportReminderOption.Yes">\r
88394
- {{ 'Yes, send the annual report reminder' | translate }}\r
88395
- </mat-radio-button>\r
88396
- <mat-radio-button [value]="annualReportReminderOption.No">\r
88397
- {{ 'No, I do not need to be reminded' | translate }}\r
88398
- </mat-radio-button>\r
88399
- </mat-radio-group>\r
88400
- </div>\r
88401
- </expandable-card>\r
88402
- }\r
88403
- </div>\r
88404
- </div>\r
88405
- `, 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 .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .change-of-office-addresses-form .annual-reminder p {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder mat-radio-group {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\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"] }]
88406
- }], null, null);
88407
- })();
88408
- (() => {
88409
- (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: 55 });
88410
- })();
88411
- }
88412
- });
88413
-
88414
- // src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
88415
- var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
88416
- var init_change_of_office_addresses_delta_form_component = __esm({
88417
- "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
88418
- init_core();
88419
- init_button();
88420
- init_ngx_translate_core();
88421
- init_common_utils();
88422
- init_change_of_office_addresses_form_component();
88423
- init_core();
88424
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
88425
- form = input.required();
88426
- actionsDisabled = input(false);
88427
- isNote = input(false);
88428
- task = input();
88429
- errors = input([]);
88430
- close = output();
88431
- save = output();
88432
- validate = output();
88433
- submitted = signal(false);
88434
- visiblyValid = signal(true);
88435
- clientErrors = signal([]);
88436
- translate = inject(TranslateService);
88437
- combinedErrors = computed(() => {
88438
- const client = this.clientErrors();
88439
- return client.length ? client : this.errors();
88440
- });
88441
- onVisiblyValidChange(valid) {
88442
- this.visiblyValid.set(valid);
88443
- if (this.submitted()) {
88444
- this.clientErrors.set(valid ? [] : [this.requiredFieldsMessage()]);
88445
- }
88446
- }
88447
- onValidate() {
88448
- this.submitted.set(true);
88449
- this.clientErrors.set([]);
88450
- markFormGroupTouched(this.form());
88451
- if (!this.visiblyValid()) {
88452
- this.clientErrors.set([this.requiredFieldsMessage()]);
88453
- return;
88454
- }
88455
- this.validate.emit();
88456
- }
88457
- requiredFieldsMessage() {
88458
- return this.translate.instant("Some required fields aren't completed.");
88459
- }
88460
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
88461
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
88462
- };
88463
- 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) {
88464
- if (rf & 1) {
88465
- \u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
88466
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
88467
- return ctx.onVisiblyValidChange($event);
88468
- });
88469
- \u0275\u0275elementEnd();
88470
- \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88471
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
88472
- return ctx.close.emit();
88473
- });
88474
- \u0275\u0275elementStart(4, "span", 4);
88475
- \u0275\u0275text(5);
88476
- \u0275\u0275pipe(6, "translate");
88477
- \u0275\u0275elementEnd()();
88478
- \u0275\u0275elementStart(7, "button", 3);
88479
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
88480
- return ctx.save.emit();
88481
- });
88482
- \u0275\u0275elementStart(8, "span", 4);
88483
- \u0275\u0275text(9);
88484
- \u0275\u0275pipe(10, "translate");
88485
- \u0275\u0275elementEnd()();
88486
- \u0275\u0275elementStart(11, "button", 5);
88487
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
88488
- return ctx.onValidate();
88489
- });
88490
- \u0275\u0275elementStart(12, "span", 4);
88491
- \u0275\u0275text(13);
88492
- \u0275\u0275pipe(14, "translate");
88493
- \u0275\u0275elementEnd()()()();
88494
- }
88495
- if (rf & 2) {
88496
- \u0275\u0275advance();
88497
- \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
88498
- \u0275\u0275advance(2);
88499
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88500
- \u0275\u0275advance(2);
88501
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
88502
- \u0275\u0275advance(2);
88503
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88504
- \u0275\u0275advance(2);
88505
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
88506
- \u0275\u0275advance(2);
88507
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88508
- \u0275\u0275advance(2);
88509
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
88510
- }
88511
- }, 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 });
88512
- };
88513
- (() => {
88514
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
88515
- type: Component,
88516
- 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
88517
- <british-columbia-change-of-office-addresses-form\r
88518
- class="change-of-office-addresses-delta-form-content"\r
88519
- [form]="form()"\r
88520
- [task]="task()"\r
88521
- [errors]="combinedErrors()"\r
88522
- [isNote]="isNote()"\r
88523
- [isSubmitted]="submitted()"\r
88524
- [readonly]="false"\r
88525
- (visiblyValidChange)="onVisiblyValidChange($event)"\r
88526
- />\r
88527
- \r
88528
- <div class="change-of-office-addresses-delta-form-actions">\r
88529
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88530
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88531
- </button>\r
88532
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
88533
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
88534
- </button>\r
88535
- <button\r
88536
- class="submit"\r
88537
- color="primary"\r
88538
- mat-flat-button\r
88539
- [disabled]="actionsDisabled()"\r
88540
- (click)="onValidate()"\r
88541
- >\r
88542
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
88543
- </button>\r
88544
- </div>\r
88545
- </div>\r
88546
- `, 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"] }]
88547
- }], null, null);
88548
- })();
88549
- (() => {
88550
- (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 });
88551
- })();
88552
- }
88553
- });
88554
-
88555
- // src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
88556
- var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
88557
- var init_change_of_office_addresses_preview_form_component = __esm({
88558
- "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
88559
- init_core();
88560
- init_button();
88561
- init_ngx_translate_core();
88562
- init_change_of_office_addresses_form_component();
88563
- init_core();
88564
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
88565
- form = input.required();
88566
- actionsDisabled = input(false);
88567
- task = input();
88568
- errors = input([]);
88569
- close = output();
88570
- file = output();
88571
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
88572
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
88573
- };
88574
- 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) {
88575
- if (rf & 1) {
88576
- \u0275\u0275elementStart(0, "div", 0);
88577
- \u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
88578
- \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88579
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
88580
- return ctx.close.emit();
88581
- });
88582
- \u0275\u0275elementStart(4, "span", 4);
88583
- \u0275\u0275text(5);
88584
- \u0275\u0275pipe(6, "translate");
88585
- \u0275\u0275elementEnd()();
88586
- \u0275\u0275elementStart(7, "button", 5);
88587
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
88588
- return ctx.file.emit();
88589
- });
88590
- \u0275\u0275elementStart(8, "span", 4);
88591
- \u0275\u0275text(9);
88592
- \u0275\u0275pipe(10, "translate");
88593
- \u0275\u0275elementEnd()()()();
88594
- }
88595
- if (rf & 2) {
88596
- \u0275\u0275advance();
88597
- \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
88598
- \u0275\u0275advance(2);
88599
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88600
- \u0275\u0275advance(2);
88601
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
88602
- \u0275\u0275advance(2);
88603
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88604
- \u0275\u0275advance(2);
88605
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
88606
- }
88607
- }, 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 });
88608
- };
88609
- (() => {
88610
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
88611
- type: Component,
88612
- 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
88613
- <british-columbia-change-of-office-addresses-form\r
88614
- class="change-of-office-addresses-preview-form-content"\r
88615
- [form]="form()"\r
88616
- [task]="task()"\r
88617
- [errors]="errors()"\r
88618
- [isSubmitted]="false"\r
88619
- [readonly]="true"\r
88620
- />\r
88621
- \r
88622
- <div class="change-of-office-addresses-preview-form-actions">\r
88623
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88624
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88625
- </button>\r
88626
- <button\r
88627
- class="submit"\r
88628
- color="primary"\r
88629
- mat-flat-button\r
88630
- [disabled]="actionsDisabled()"\r
88631
- (click)="file.emit()"\r
88632
- >\r
88633
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
88634
- </button>\r
88635
- </div>\r
88636
- </div>\r
88637
- `, 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"] }]
88638
- }], null, null);
88639
- })();
88640
- (() => {
88641
- (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 });
88642
- })();
88643
- }
88644
- });
88645
-
88646
87320
  // src/app/components/british-columbia/british-columbia.component.ts
88647
87321
  function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
88648
87322
  if (rf & 1) {
@@ -88758,63 +87432,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88758
87432
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88759
87433
  }
88760
87434
  }
88761
- function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
88762
- if (rf & 1) {
88763
- const _r7 = \u0275\u0275getCurrentView();
88764
- \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 2);
88765
- \u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
88766
- \u0275\u0275restoreView(_r7);
88767
- const ctx_r1 = \u0275\u0275nextContext(2);
88768
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
88769
- })("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
88770
- \u0275\u0275restoreView(_r7);
88771
- const ctx_r1 = \u0275\u0275nextContext(2);
88772
- return \u0275\u0275resetView(ctx_r1.onClose());
88773
- })("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
88774
- \u0275\u0275restoreView(_r7);
88775
- const ctx_r1 = \u0275\u0275nextContext(2);
88776
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
88777
- });
88778
- \u0275\u0275elementEnd();
88779
- }
88780
- if (rf & 2) {
88781
- const ctx_r1 = \u0275\u0275nextContext(2);
88782
- const taskData_r3 = \u0275\u0275readContextLet(0);
88783
- \u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
88784
- }
88785
- }
88786
- function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
88787
- if (rf & 1) {
88788
- const _r8 = \u0275\u0275getCurrentView();
88789
- \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 3);
88790
- \u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
88791
- \u0275\u0275restoreView(_r8);
88792
- const ctx_r1 = \u0275\u0275nextContext(2);
88793
- return \u0275\u0275resetView(ctx_r1.close.emit());
88794
- })("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
88795
- \u0275\u0275restoreView(_r8);
88796
- const ctx_r1 = \u0275\u0275nextContext(2);
88797
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
88798
- });
88799
- \u0275\u0275elementEnd();
88800
- }
88801
- if (rf & 2) {
88802
- const ctx_r1 = \u0275\u0275nextContext(2);
88803
- const taskData_r3 = \u0275\u0275readContextLet(0);
88804
- \u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
88805
- }
88806
- }
88807
- function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
88808
- if (rf & 1) {
88809
- \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);
88810
- }
88811
- if (rf & 2) {
88812
- const ctx_r1 = \u0275\u0275nextContext();
88813
- \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
88814
- \u0275\u0275advance();
88815
- \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88816
- }
88817
- }
88818
87435
  var BritishColumbiaComponent;
88819
87436
  var init_british_columbia_component = __esm({
88820
87437
  "src/app/components/british-columbia/british-columbia.component.ts"() {
@@ -88827,7 +87444,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88827
87444
  init_british_columbia_form_enums();
88828
87445
  init_british_columbia_change_of_directors_form_helper();
88829
87446
  init_british_columbia_formation_form_helper();
88830
- init_british_columbia_change_of_office_addresses_form_helper();
88831
87447
  init_delta_state_service();
88832
87448
  init_common_utils();
88833
87449
  init_confirm_modal_component();
@@ -88835,8 +87451,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88835
87451
  init_change_of_directors_preview_form_component();
88836
87452
  init_british_columbia_incorporation_delta_form_component();
88837
87453
  init_british_columbia_incorporation_preview_form_component();
88838
- init_change_of_office_addresses_delta_form_component();
88839
- init_change_of_office_addresses_preview_form_component();
88840
87454
  init_core();
88841
87455
  BritishColumbiaComponent = class _BritishColumbiaComponent {
88842
87456
  task = input();
@@ -88854,19 +87468,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88854
87468
  formationSubmit = output();
88855
87469
  saveFormationDeltaData = output();
88856
87470
  nextStep = output();
88857
- recheckStep = output();
88858
87471
  prevStep = output();
88859
- // Change of Office Addresses outputs
88860
- coaValidate = output();
88861
- saveCoaDeltaData = output();
88862
- coaSubmit = output();
88863
87472
  dialog = inject(MatDialog);
88864
87473
  deltaState = inject(DeltaStateService);
88865
87474
  translate = inject(TranslateService);
88866
87475
  steps = Step;
88867
87476
  isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
88868
87477
  isFormationTask = isFormationTask2;
88869
- isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
88870
87478
  deltaForm = signal(new FormGroup({}));
88871
87479
  previewForm = signal(new FormGroup({}));
88872
87480
  constructor() {
@@ -88880,10 +87488,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88880
87488
  this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
88881
87489
  this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
88882
87490
  }
88883
- if (task && isChangeOfAddressTask(task)) {
88884
- this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
88885
- this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
88886
- }
88887
87491
  });
88888
87492
  effect(() => {
88889
87493
  const task = this.task();
@@ -88907,71 +87511,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88907
87511
  this.nextStep.emit();
88908
87512
  }
88909
87513
  }
88910
- if (task && isChangeOfAddressTask(task) && deltaData) {
88911
- const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
88912
- form.disable();
88913
- this.previewForm.set(form);
88914
- const step = untracked2(() => this.activeStep());
88915
- if (step === Step.Validate) {
88916
- this.nextStep.emit();
88917
- } else if (step === Step.FilingPreview) {
88918
- this.recheckStep.emit();
88919
- }
88920
- }
88921
87514
  });
88922
87515
  }
88923
- onChangeOfOfficeAddressesValidate() {
88924
- markFormGroupTouched(this.deltaForm());
88925
- this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
88926
- }
88927
- onChangeOfOfficeAddressesSave() {
88928
- const delta = this.generateChangeOfOfficeAddressesDeltaData();
88929
- this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
88930
- this.saveCoaDeltaData.emit(delta);
88931
- }
88932
- /** No certification step for this filing: "File" submits the staged draft directly. */
88933
- onChangeOfOfficeAddressesFile() {
88934
- this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
88935
- }
88936
- generateChangeOfOfficeAddressesDeltaData() {
88937
- const c = BCChangeOfOfficeAddressesFormControls;
88938
- const formData = this.deltaForm().getRawValue();
88939
- const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
88940
- const corporation = formData[BCChangeOfOfficeAddressesFormGroups.CorporationDetails];
88941
- const reminder = formData[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder];
88942
- const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
88943
- const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
88944
- const toAddress = (src) => ({
88945
- addressLine1: src?.[c.AddressLine1] ?? null,
88946
- addressLine2: src?.[c.AddressLine2] ?? null,
88947
- city: src?.[c.City] ?? null,
88948
- postalCode: src?.[c.PostalCode] ?? null,
88949
- province: src?.[c.Province] ?? null,
88950
- country: src?.[c.Country] ?? null
88951
- });
88952
- const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
88953
- const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
88954
- const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
88955
- return {
88956
- referenceNumbers: {
88957
- referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
88958
- docketNumber: refNumbers?.[c.DocketNumber] ?? null
88959
- },
88960
- companyEmail: corporation?.[c.CompanyEmail] ?? "",
88961
- annualReportReminder: reminder?.[c.AnnualReportReminder] ?? "",
88962
- registeredOffice: {
88963
- mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
88964
- deliverySameAsMailing: regDeliverySame,
88965
- deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
88966
- },
88967
- recordsOffice: {
88968
- sameAsRegisteredOffice: recSameAsRegistered,
88969
- mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
88970
- deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
88971
- deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
88972
- }
88973
- };
88974
- }
88975
87516
  onChangeOfDirectorsValidate() {
88976
87517
  markFormGroupTouched(this.deltaForm());
88977
87518
  this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
@@ -89071,7 +87612,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89071
87612
  }
89072
87613
  onClose() {
89073
87614
  const task = this.task();
89074
- 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());
87615
+ const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
89075
87616
  if (!hasChanges) {
89076
87617
  this.close.emit();
89077
87618
  return;
@@ -89089,8 +87630,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89089
87630
  if (val) {
89090
87631
  if (task && isFormationTask2(task)) {
89091
87632
  this.onFormationSave();
89092
- } else if (task && isChangeOfAddressTask(task)) {
89093
- this.onChangeOfOfficeAddressesSave();
89094
87633
  } else {
89095
87634
  this.onChangeOfDirectorsSave();
89096
87635
  }
@@ -89101,27 +87640,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89101
87640
  static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
89102
87641
  return new (__ngFactoryType__ || _BritishColumbiaComponent)();
89103
87642
  };
89104
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", recheckStep: "recheckStep", 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, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
87643
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
89105
87644
  if (rf & 1) {
89106
87645
  \u0275\u0275declareLet(0);
89107
- \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
87646
+ \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
89108
87647
  }
89109
87648
  if (rf & 2) {
89110
- const taskData_r9 = \u0275\u0275storeLet(ctx.task());
87649
+ const taskData_r7 = \u0275\u0275storeLet(ctx.task());
89111
87650
  \u0275\u0275advance();
89112
- \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
87651
+ \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r7) ? 1 : -1);
89113
87652
  \u0275\u0275advance();
89114
- \u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
89115
- \u0275\u0275advance();
89116
- \u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r9) ? 3 : -1);
87653
+ \u0275\u0275conditional(ctx.isFormationTask(taskData_r7) ? 2 : -1);
89117
87654
  }
89118
87655
  }, dependencies: [
89119
87656
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
89120
87657
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
89121
87658
  BritishColumbiaIncorporationDeltaFormComponent,
89122
- BritishColumbiaIncorporationPreviewFormComponent,
89123
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
89124
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
87659
+ BritishColumbiaIncorporationPreviewFormComponent
89125
87660
  ], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
89126
87661
  };
89127
87662
  (() => {
@@ -89131,14 +87666,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89131
87666
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
89132
87667
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
89133
87668
  BritishColumbiaIncorporationDeltaFormComponent,
89134
- BritishColumbiaIncorporationPreviewFormComponent,
89135
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
89136
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
89137
- ], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n\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"] }]
87669
+ BritishColumbiaIncorporationPreviewFormComponent
87670
+ ], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
89138
87671
  }], () => [], null);
89139
87672
  })();
89140
87673
  (() => {
89141
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 72 });
87674
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 62 });
89142
87675
  })();
89143
87676
  }
89144
87677
  });
@@ -95368,9 +93901,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95368
93901
  ensureAuthInputs(signature);
95369
93902
  const fetchFn = opts.fetchImpl ?? fetch;
95370
93903
  const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
95371
- const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
93904
+ const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues(__spreadValues({
95372
93905
  "x-target-url": `${dataExtractUrl}/order`
95373
- }, opts.headers ?? {})));
93906
+ }, this.getEcoreIdentityHeaders()), opts.headers ?? {})));
95374
93907
  const ordered = yield this.readJson(orderResp, "BC current data extract order");
95375
93908
  const orderId = ordered.currentDataServiceOrderId;
95376
93909
  if (!orderResp.ok || !orderId || ordered.status === "failed") {
@@ -95381,10 +93914,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95381
93914
  for (let attempt = 0; attempt < maxAttempts; attempt++) {
95382
93915
  const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
95383
93916
  method: "GET",
95384
- headers: __spreadValues({
93917
+ headers: __spreadValues(__spreadValues({
95385
93918
  Authorization: `Bearer ${signature.jwtToken}`,
95386
93919
  "x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
95387
- }, opts.headers ?? {})
93920
+ }, this.getEcoreIdentityHeaders()), opts.headers ?? {})
95388
93921
  }));
95389
93922
  const extract = yield this.readJson(extractResp, "BC current data extract");
95390
93923
  if (extractResp.ok && extract.status === "success") {
@@ -95409,9 +93942,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95409
93942
  const fetchFn = opts.fetchImpl ?? fetch;
95410
93943
  const url = signature.proxyApiUrl;
95411
93944
  const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
95412
- const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
93945
+ const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues(__spreadValues({
95413
93946
  "x-target-url": targetUrl
95414
- }, opts.headers ?? {})));
93947
+ }, this.getEcoreIdentityHeaders()), opts.headers ?? {})));
95415
93948
  const raw = yield resp.text();
95416
93949
  const parsed = tryParseJson(raw);
95417
93950
  if (!parsed.ok) {
@@ -95444,10 +93977,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95444
93977
  const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}`;
95445
93978
  const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
95446
93979
  method: "GET",
95447
- headers: __spreadValues({
93980
+ headers: __spreadValues(__spreadValues({
95448
93981
  Authorization: `Bearer ${signature.jwtToken}`,
95449
93982
  "x-target-url": targetUrl
95450
- }, opts.headers ?? {})
93983
+ }, this.getEcoreIdentityHeaders()), opts.headers ?? {})
95451
93984
  }));
95452
93985
  const raw = yield resp.text();
95453
93986
  const parsed = tryParseJson(raw);
@@ -95470,9 +94003,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95470
94003
  const fetchFn = opts.fetchImpl ?? fetch;
95471
94004
  const url = signature.proxyApiUrl;
95472
94005
  const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}/submit`;
95473
- const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues({
94006
+ const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues(__spreadValues({
95474
94007
  "x-target-url": targetUrl
95475
- }, opts.headers ?? {})));
94008
+ }, this.getEcoreIdentityHeaders()), opts.headers ?? {})));
95476
94009
  const raw = yield resp.text();
95477
94010
  const parsed = tryParseJson(raw);
95478
94011
  const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
@@ -95502,6 +94035,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95502
94035
  }
95503
94036
  return filingUrl.replace(/\/$/, "");
95504
94037
  }
94038
+ getEcoreIdentityHeaders() {
94039
+ const headers = {};
94040
+ const clientId = this.config?.ecoreClientId;
94041
+ const userId = this.config?.ecoreUserId;
94042
+ if (clientId !== void 0 && clientId !== null && String(clientId).trim()) {
94043
+ headers["x-ecore-client-id"] = String(clientId);
94044
+ }
94045
+ if (userId !== void 0 && userId !== null && String(userId).trim()) {
94046
+ headers["x-ecore-user-id"] = String(userId);
94047
+ }
94048
+ return headers;
94049
+ }
95505
94050
  static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
95506
94051
  return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
95507
94052
  };
@@ -95618,6 +94163,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95618
94163
  }
95619
94164
  function findDirectorNumber(affiliation, extract) {
95620
94165
  const target = normaliseDirectorName(affiliation);
94166
+ const targetId = String(affiliation?._id ?? affiliation?.id ?? "").trim();
95621
94167
  let result;
95622
94168
  const visit = (value) => {
95623
94169
  if (result !== void 0 || value === null || value === void 0)
@@ -95630,7 +94176,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95630
94176
  return;
95631
94177
  const record = value;
95632
94178
  const number = record["directorNumber"] ?? record["DirectorNumber"];
95633
- if (number !== void 0 && normaliseDirectorName(record) === target) {
94179
+ const recordId = String(record["_id"] ?? record["id"] ?? record["affiliationId"] ?? "").trim();
94180
+ if (number !== void 0 && (targetId && recordId === targetId || normaliseDirectorName(record) === target)) {
95634
94181
  const parsed = Number(number);
95635
94182
  if (Number.isFinite(parsed))
95636
94183
  result = parsed;
@@ -95675,293 +94222,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95675
94222
  }
95676
94223
  });
95677
94224
 
95678
- // src/app/services/british-columbia/british-columbia-maintenance.service.ts
95679
- var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
95680
- var init_british_columbia_maintenance_service = __esm({
95681
- "src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
95682
- init_core();
95683
- init_common_utils();
95684
- init_core();
95685
- MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
95686
- TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
95687
- DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
95688
- DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
95689
- DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
95690
- BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
95691
- config;
95692
- setConfig(config2) {
95693
- this.config = config2;
95694
- }
95695
- /** Orders the registry's current data for the corporation; returns the extract's id. */
95696
- orderCurrentDataExtract(_0, _1) {
95697
- return __async(this, arguments, function* (signature, context2, opts = {}) {
95698
- const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
95699
- corporationNumber: context2.corporationNumber,
95700
- accessCodeOrPassword: context2.accessCodeOrPassword,
95701
- incorporationDate: context2.incorporationDate,
95702
- filingType: "changeOfAddressFiling"
95703
- }, opts);
95704
- const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
95705
- if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
95706
- throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
95707
- }
95708
- return String(id);
95709
- });
95710
- }
95711
- /** Polls the extract until the registry has it ready (`success`). */
95712
- waitForCurrentDataExtract(_0, _1) {
95713
- return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
95714
- const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
95715
- const deadline = Date.now() + timeoutMs;
95716
- for (; ; ) {
95717
- const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
95718
- const state2 = String(body?.status ?? "").toLowerCase();
95719
- if (ok && state2 === "success") {
95720
- return;
95721
- }
95722
- if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95723
- throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
95724
- }
95725
- if (Date.now() >= deadline) {
95726
- throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
95727
- }
95728
- yield this.sleep(intervalMs);
95729
- }
95730
- });
95731
- }
95732
- /**
95733
- * Validates the filing against the extract and returns the draft. `context` supplies the
95734
- * corporation number and password; they are added here so they never become part of the
95735
- * saved request used to detect Entity changes.
95736
- */
95737
- validate(_0, _1, _2, _3) {
95738
- return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
95739
- const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
95740
- currentDataServiceOrderId: extractId,
95741
- filingType: requestBody.filingType,
95742
- filing: __spreadProps(__spreadValues({}, requestBody.filing), {
95743
- corporationNumber: context2.corporationNumber,
95744
- accessCodeOrPassword: context2.accessCodeOrPassword
95745
- })
95746
- }, opts);
95747
- if (body === null) {
95748
- throw this.failure(status, "eCore validation failed", body, raw);
95749
- }
95750
- const result = this.normalize(unwrapRequestResults(body));
95751
- if (ok && !this.hasFailed(result)) {
95752
- return result;
95753
- }
95754
- const err = new Error(this.describeFailure(status, "eCore validation failed", result));
95755
- err.validateResult = result;
95756
- err.httpStatus = status;
95757
- throw err;
95758
- });
95759
- }
95760
- /**
95761
- * Submits the staged filing, then waits for the registry's result. Resolves once the filing
95762
- * is `success` (or its documents are pending); throws if it `failed`. If the registry is
95763
- * still `processing` when the wait ends, the filing is already submitted, so it resolves
95764
- * with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
95765
- */
95766
- submitAndWait(_0, _1) {
95767
- return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
95768
- if (!serviceOrderId) {
95769
- throw new Error("Missing serviceOrderId.");
95770
- }
95771
- const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
95772
- const submitResult = this.normalize(submitted.body);
95773
- if (!submitted.ok || submitResult.Status === "Failure") {
95774
- const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", submitResult));
95775
- err.submitResult = submitResult;
95776
- err.httpStatus = submitted.status;
95777
- throw err;
95778
- }
95779
- const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
95780
- const deadline = Date.now() + timeoutMs;
95781
- let processing = false;
95782
- let files;
95783
- for (; ; ) {
95784
- const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
95785
- const state2 = String(body?.status ?? "").toLowerCase();
95786
- if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
95787
- files = body?.files;
95788
- break;
95789
- }
95790
- if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95791
- throw this.failure(status, "The registry could not complete the filing", body, raw);
95792
- }
95793
- if (Date.now() >= deadline) {
95794
- processing = true;
95795
- break;
95796
- }
95797
- yield this.sleep(intervalMs);
95798
- }
95799
- signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
95800
- return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
95801
- });
95802
- }
95803
- getBaseUrl(env) {
95804
- const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
95805
- if (!baseUrl) {
95806
- throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
95807
- }
95808
- return baseUrl;
95809
- }
95810
- /** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
95811
- send(signature, method, path, payload, opts) {
95812
- return __async(this, null, function* () {
95813
- ensureAuthInputs(signature);
95814
- const fetchFn = opts.fetchImpl ?? fetch;
95815
- const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
95816
- const { ecoreClientId, ecoreUserId } = this.config ?? {};
95817
- const headers = __spreadValues(__spreadValues(__spreadValues({
95818
- "x-target-url": targetUrl
95819
- }, ecoreClientId ? { ClientId: String(ecoreClientId) } : {}), ecoreUserId ? { UserId: String(ecoreUserId) } : {}), opts.headers ?? {});
95820
- const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
95821
- method,
95822
- headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
95823
- }));
95824
- const raw = yield resp.text();
95825
- const parsed = tryParseJson(raw);
95826
- const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
95827
- return { status: resp.status, ok: resp.ok, body, raw };
95828
- });
95829
- }
95830
- failure(status, prefix, body, raw) {
95831
- const result = body ? this.normalize(body) : void 0;
95832
- const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
95833
- const err = new Error(message);
95834
- err.httpStatus = status;
95835
- return err;
95836
- }
95837
- sleep(ms) {
95838
- return new Promise((resolve) => setTimeout(resolve, ms));
95839
- }
95840
- /**
95841
- * Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
95842
- * (`failed` and any other non-success value are failures). When a failure carries no
95843
- * `errors`, `additionalInformation` is used as the error messages.
95844
- */
95845
- normalize(body) {
95846
- const rawErrors = body?.errors ?? body?.Errors ?? [];
95847
- const errors = rawErrors.map((e) => ({
95848
- Code: e?.code ?? e?.Code,
95849
- Message: e?.message ?? e?.Message ?? e?.ErrorMessage
95850
- }));
95851
- const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
95852
- const succeeded = status === "success" || status === "alreadysubmitted";
95853
- if (!succeeded && !errors.length) {
95854
- const additional = body?.additionalInformation ?? [];
95855
- errors.push(...additional.map((Message) => ({ Message })));
95856
- }
95857
- return {
95858
- Status: succeeded ? "Success" : "Failure",
95859
- ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
95860
- Draft: body?.draft ?? body?.Draft,
95861
- Errors: errors
95862
- };
95863
- }
95864
- /** A body-level failure: the normalised status is `Failure` or errors were returned. */
95865
- hasFailed(result) {
95866
- return result.Status === "Failure" || Boolean(result.Errors?.length);
95867
- }
95868
- describeFailure(httpStatus, prefix, result) {
95869
- const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
95870
- return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
95871
- }
95872
- static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
95873
- return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
95874
- };
95875
- static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
95876
- };
95877
- (() => {
95878
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
95879
- type: Injectable,
95880
- args: [{
95881
- providedIn: "root"
95882
- }]
95883
- }], null, null);
95884
- })();
95885
- }
95886
- });
95887
-
95888
- // src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
95889
- function formatPostalCode(value) {
95890
- const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
95891
- return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
95892
- }
95893
- function toEcoreAddress(address) {
95894
- const line2 = clean(address?.addressLine2);
95895
- return __spreadProps(__spreadValues({
95896
- streetAddress: clean(address?.addressLine1)
95897
- }, line2 ? { additionalStreetAddress: line2 } : {}), {
95898
- city: clean(address?.city),
95899
- provinceOrState: BC_PROVINCE_CODE,
95900
- postalOrZipCode: formatPostalCode(address?.postalCode),
95901
- country: CANADA_COUNTRY_CODE
95902
- });
95903
- }
95904
- function isSameAddress(a, b) {
95905
- const key = (x) => [x.streetAddress, x.additionalStreetAddress, x.city, x.provinceOrState, x.postalOrZipCode, x.country].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
95906
- return key(a) === key(b);
95907
- }
95908
- function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
95909
- const registered = deltaData.registeredOffice;
95910
- const records = deltaData.recordsOffice;
95911
- const registeredMailing = toEcoreAddress(registered?.mailingAddress);
95912
- const registeredDelivery = registered?.deliverySameAsMailing ? registeredMailing : toEcoreAddress(registered?.deliveryAddress);
95913
- const recordsMailing = records?.sameAsRegisteredOffice ? registeredMailing : toEcoreAddress(records?.mailingAddress);
95914
- const recordsDelivery = records?.sameAsRegisteredOffice ? registeredDelivery : records?.deliverySameAsMailing ? recordsMailing : toEcoreAddress(records?.deliveryAddress);
95915
- const registeredDeliverySame = isSameAddress(registeredDelivery, registeredMailing);
95916
- const recordsSameAsRegistered = isSameAddress(recordsMailing, registeredMailing);
95917
- const recordsDeliverySame = isSameAddress(recordsDelivery, recordsMailing);
95918
- const filing = {
95919
- registeredOfficeMailingAddress: registeredMailing,
95920
- isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
95921
- isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
95922
- isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
95923
- // Both are picked on the form; the fallbacks only cover data saved before they were added.
95924
- companyEmail: clean(deltaData.companyEmail) || BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
95925
- isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
95926
- };
95927
- const reference = clean(deltaData.referenceNumbers?.referenceNumber);
95928
- const docket = clean(deltaData.referenceNumbers?.docketNumber);
95929
- if (reference) {
95930
- filing.reference = reference;
95931
- }
95932
- if (docket) {
95933
- filing.docket = docket;
95934
- }
95935
- if (!registeredDeliverySame) {
95936
- filing.registeredOfficeDeliveryAddress = registeredDelivery;
95937
- }
95938
- if (!recordsSameAsRegistered) {
95939
- filing.recordsOfficeMailingAddress = recordsMailing;
95940
- }
95941
- if (!recordsDeliverySame) {
95942
- filing.recordsOfficeDeliveryAddress = recordsDelivery;
95943
- }
95944
- return { filingType: "changeOfAddressFiling", filing };
95945
- }
95946
- function getBritishColumbiaAccessCode2(task, env) {
95947
- const registryId = task.entity._profile.registry_id?.trim() ?? "";
95948
- if (registryId) {
95949
- return registryId;
95950
- }
95951
- return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
95952
- }
95953
- var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
95954
- var init_british_columbia_change_of_office_addresses_mapper = __esm({
95955
- "src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
95956
- init_BritishColumbiaConstants();
95957
- init_british_columbia_change_of_office_addresses_form_helper();
95958
- TEMP_UAT_TEST_ACCESS_CODE = "12345678";
95959
- BC_PROVINCE_CODE = "BC";
95960
- CANADA_COUNTRY_CODE = "CA";
95961
- clean = (value) => (value ?? "").trim();
95962
- }
95963
- });
95964
-
95965
94225
  // src/app/components/filing/filing.component.ts
95966
94226
  function FilingComponent_Conditional_7_Template(rf, ctx) {
95967
94227
  if (rf & 1) {
@@ -96045,10 +94305,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96045
94305
  \u0275\u0275restoreView(_r6);
96046
94306
  const ctx_r2 = \u0275\u0275nextContext(2);
96047
94307
  return \u0275\u0275resetView(ctx_r2.onNextStepClick());
96048
- })("recheckStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_recheckStep_0_listener() {
96049
- \u0275\u0275restoreView(_r6);
96050
- const ctx_r2 = \u0275\u0275nextContext(2);
96051
- return \u0275\u0275resetView(ctx_r2.defineInitialStep());
96052
94308
  })("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
96053
94309
  \u0275\u0275restoreView(_r6);
96054
94310
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -96065,18 +94321,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96065
94321
  \u0275\u0275restoreView(_r6);
96066
94322
  const ctx_r2 = \u0275\u0275nextContext(2);
96067
94323
  return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
96068
- })("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
96069
- \u0275\u0275restoreView(_r6);
96070
- const ctx_r2 = \u0275\u0275nextContext(2);
96071
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
96072
- })("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
96073
- \u0275\u0275restoreView(_r6);
96074
- const ctx_r2 = \u0275\u0275nextContext(2);
96075
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
96076
- })("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
96077
- \u0275\u0275restoreView(_r6);
96078
- const ctx_r2 = \u0275\u0275nextContext(2);
96079
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
96080
94324
  })("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
96081
94325
  \u0275\u0275restoreView(_r6);
96082
94326
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -96192,8 +94436,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96192
94436
  init_delta_state_service();
96193
94437
  init_british_columbia_change_of_directors_service();
96194
94438
  init_british_columbia_change_of_directors_mapper();
96195
- init_british_columbia_maintenance_service();
96196
- init_british_columbia_change_of_office_addresses_mapper();
96197
94439
  init_core();
96198
94440
  init_button();
96199
94441
  FilingComponent = class _FilingComponent {
@@ -96250,7 +94492,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96250
94492
  federalUpdateMaintainService = inject(FederalUpdateMaintainService);
96251
94493
  updateMaintainService = inject(OntarioUpdateMaintainService);
96252
94494
  britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
96253
- bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
96254
94495
  translate = inject(TranslateService);
96255
94496
  isEditButton = computed(() => {
96256
94497
  const task = this.task();
@@ -96295,9 +94536,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96295
94536
  if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
96296
94537
  return "File British Columbia Notice of Change of Directors";
96297
94538
  }
96298
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96299
- return "File British Columbia Change of Office Addresses";
96300
- }
96301
94539
  return "";
96302
94540
  });
96303
94541
  constructor() {
@@ -96310,7 +94548,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96310
94548
  this.bcFormationService.setConfig(config2);
96311
94549
  this.federalUpdateMaintainService.setConfig(config2);
96312
94550
  this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
96313
- this.bcMaintenanceService.setConfig(config2);
96314
94551
  }
96315
94552
  });
96316
94553
  addStylesVariables();
@@ -96337,6 +94574,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96337
94574
  }
96338
94575
  }
96339
94576
  if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
94577
+ if (task.deltaData?.validatedData && task.deltaData?.serviceOrderId) {
94578
+ this.bcCurrentDataServiceOrderId = task.deltaData.validatedData.currentDataServiceOrderId ?? "";
94579
+ this.bcDataExtractTaskId = task._id;
94580
+ return;
94581
+ }
96340
94582
  const signature = this._signature();
96341
94583
  if (!signature)
96342
94584
  return;
@@ -96635,97 +94877,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96635
94877
  }
96636
94878
  });
96637
94879
  }
96638
- /**
96639
- * British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
96640
- * to eCore, hands the draft PDF to the host, and saves the delta together with the
96641
- * ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
96642
- */
96643
- onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
96644
- return __async(this, null, function* () {
96645
- const task = this.task();
96646
- const signature = this._signature();
96647
- try {
96648
- if (!task || !signature) {
96649
- throw new Error("The filing is not ready yet. Please try again.");
96650
- }
96651
- this.isLoading.set(true);
96652
- this.errors.set([]);
96653
- const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96654
- const opts = this.validateOptions() ?? {};
96655
- const context2 = {
96656
- corporationNumber: task.entity._profile.corp_number ?? "",
96657
- accessCodeOrPassword: getBritishColumbiaAccessCode2(task, signature.env),
96658
- incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
96659
- };
96660
- const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
96661
- yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
96662
- const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
96663
- if (this.hasResponseErrors(response))
96664
- return;
96665
- const serviceOrderId = response.ServiceOrderId ?? "";
96666
- const draftPdf = response.Draft ?? "";
96667
- const searchOrFilingType = getSearchOrFilingType(task);
96668
- if (draftPdf && searchOrFilingType) {
96669
- this.filingValidateSuccess.emit({
96670
- searchOrFilingType,
96671
- serviceOrderId,
96672
- validatedOn: /* @__PURE__ */ new Date(),
96673
- provider: "bcreg",
96674
- draftPdf,
96675
- documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
96676
- documentType: "pdf"
96677
- });
96678
- }
96679
- this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
96680
- serviceOrderId,
96681
- // The corporation number is added by the service, not by the request builder, so it is
96682
- // stored explicitly (the access code is deliberately left out) to detect entity changes.
96683
- validatedData: __spreadProps(__spreadValues({}, JSON.parse(JSON.stringify(requestBody))), {
96684
- corporationNumber: context2.corporationNumber
96685
- })
96686
- }));
96687
- this.close.emit();
96688
- } catch (response) {
96689
- this.handleCatchError(response);
96690
- } finally {
96691
- this.isLoading.set(false);
96692
- }
96693
- });
96694
- }
96695
- /**
96696
- * British Columbia Change of Office Addresses save – propagates delta data to the host.
96697
- */
96698
- onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
96699
- const oldDeltaData = this.task()?.deltaData;
96700
- if (oldDeltaData) {
96701
- delete this.task()?.deltaData;
96702
- }
96703
- this.deltaDataChange.emit(deltaData);
96704
- }
96705
- /**
96706
- * British Columbia Change of Office Addresses submit/file: submits the filing staged by
96707
- * "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
96708
- */
96709
- onBritishColumbiaChangeOfOfficeAddressesSubmit() {
96710
- return __async(this, null, function* () {
96711
- const signature = this._signature();
96712
- const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
96713
- if (!signature || !serviceOrderId) {
96714
- this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
96715
- return;
96716
- }
96717
- try {
96718
- this.isLoading.set(true);
96719
- this.errors.set([]);
96720
- yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
96721
- this.close.emit();
96722
- } catch (response) {
96723
- this.handleCatchError(response);
96724
- } finally {
96725
- this.isLoading.set(false);
96726
- }
96727
- });
96728
- }
96729
94880
  /**
96730
94881
  * Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
96731
94882
  */
@@ -96945,12 +95096,41 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96945
95096
  return "Initial Return Draft";
96946
95097
  }
96947
95098
  onEditClick() {
96948
- if (isUpdateMaintain(this.task())) {
95099
+ const task = this.task();
95100
+ if (!task)
95101
+ return;
95102
+ if (isUpdateMaintain(task)) {
96949
95103
  this.serviceOrderId = "";
96950
95104
  void this.getCurrentData();
95105
+ } else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
95106
+ this.bcDataExtractTaskId = "";
95107
+ void this.refreshBritishColumbiaCurrentDataExtract();
96951
95108
  }
96952
95109
  this.activeStep.set(Step.Validate);
96953
95110
  }
95111
+ refreshBritishColumbiaCurrentDataExtract() {
95112
+ return __async(this, null, function* () {
95113
+ const task = this.task();
95114
+ const signature = this._signature();
95115
+ if (!task || !signature || !isChangeOfPrincipalsTask(task))
95116
+ return;
95117
+ const { request, issues } = buildBritishColumbiaDataExtractOrder(task, task.deltaData?.companyPassword);
95118
+ if (issues.length) {
95119
+ this.errors.set(issues);
95120
+ return;
95121
+ }
95122
+ this.isLoading.set(true);
95123
+ try {
95124
+ this.bcCurrentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
95125
+ this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
95126
+ this.bcDataExtractTaskId = task._id;
95127
+ } catch (error) {
95128
+ this.handleCatchError(error);
95129
+ } finally {
95130
+ this.isLoading.set(false);
95131
+ }
95132
+ });
95133
+ }
96954
95134
  parseError(errors) {
96955
95135
  return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? "").toString().trim()).filter((message) => message.length > 0);
96956
95136
  }
@@ -96994,7 +95174,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96994
95174
  this.errors.set(this.parseError(errors));
96995
95175
  return;
96996
95176
  }
96997
- const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
95177
+ const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
96998
95178
  this.errors.set([fallbackMessage]);
96999
95179
  }
97000
95180
  onClose() {
@@ -97061,8 +95241,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97061
95241
  let initialDelta;
97062
95242
  if (isFormationTask2(task)) {
97063
95243
  initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
97064
- } else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
97065
- initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
97066
95244
  } else if (isUpdateMaintain(task)) {
97067
95245
  initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
97068
95246
  } else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
@@ -97096,11 +95274,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97096
95274
  }
97097
95275
  return federalPayload;
97098
95276
  }
97099
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
97100
- return __spreadProps(__spreadValues({}, buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData)), {
97101
- corporationNumber: task.entity._profile.corp_number ?? ""
97102
- });
97103
- }
97104
95277
  if (isUpdateMaintain(task) && isOntarioTask(task)) {
97105
95278
  const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
97106
95279
  if (!serviceOrderId) {
@@ -97129,7 +95302,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97129
95302
  if (rf & 2) {
97130
95303
  \u0275\u0275styleProp("height", ctx.modalHeight());
97131
95304
  }
97132
- }, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "recheckStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "coaValidate", "saveCoaDeltaData", "coaSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
95305
+ }, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
97133
95306
  if (rf & 1) {
97134
95307
  const _r1 = \u0275\u0275getCurrentView();
97135
95308
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
@@ -97211,7 +95384,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97211
95384
  [activeStep]="activeStep()"\r
97212
95385
  [isNote]="dataWasChanged()"\r
97213
95386
  [actionsDisabled]="isLoading()"\r
97214
- [errors]="errors()"\r
95387
+ [errors]="errors()"
97215
95388
  [prevData]="prevData()"\r
97216
95389
  (close)="close.emit()"\r
97217
95390
  (formationValidate)="onOntarioFormationValidate($event)"\r
@@ -97230,19 +95403,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97230
95403
  [currentUser]="currentUser()"\r
97231
95404
  [activeStep]="activeStep()"\r
97232
95405
  [isNote]="dataWasChanged()"\r
97233
- [actionsDisabled]="isLoading()"\r
97234
- [errors]="errors()"\r
97235
- [currentDataExtract]="currentDataExtract()"\r
95406
+ [actionsDisabled]="isLoading()"
95407
+ [errors]="errors()"
95408
+ [currentDataExtract]="currentDataExtract()"
97236
95409
  (close)="close.emit()"\r
97237
95410
  (nextStep)="onNextStepClick()"\r
97238
- (recheckStep)="defineInitialStep()"\r
97239
95411
  (prevStep)="onOntarioPrevStep()"\r
97240
95412
  (codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
97241
95413
  (saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
97242
95414
  (codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
97243
- (coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
97244
- (saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
97245
- (coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
97246
95415
  (formationValidate)="onBritishColumbiaFormationValidate($event)"\r
97247
95416
  (saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
97248
95417
  (formationSubmit)="onBritishColumbiaFormationSubmit()"\r
@@ -97272,11 +95441,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97272
95441
  </div>\r
97273
95442
  }\r
97274
95443
  </div>\r
97275
- </div>`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
95444
+ </div>\r
95445
+ `, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
97276
95446
  }], () => [], null);
97277
95447
  })();
97278
95448
  (() => {
97279
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 97 });
95449
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 91 });
97280
95450
  })();
97281
95451
  }
97282
95452
  });
@@ -101922,17 +100092,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
101922
100092
  Currency: "Currency",
101923
100093
  "Special Rights or Restrictions": "Special Rights or Restrictions",
101924
100094
  Unlimited: "Unlimited",
101925
- "Without Par Value": "Without Par Value",
101926
- "File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
101927
- "Records Office Address": "Records Office Address",
101928
- "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.",
101929
- "Current Mailing Address": "Current Mailing Address",
101930
- "Current Delivery Address": "Current Delivery Address",
101931
- "New Mailing Address": "New Mailing Address",
101932
- "New Delivery Address": "New Delivery Address",
101933
- "Same as Mailing Address": "Same as Mailing Address",
101934
- "Same as Registered Office": "Same as Registered Office",
101935
- "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."
100095
+ "Without Par Value": "Without Par Value"
101936
100096
  };
101937
100097
  }
101938
100098
  });
@@ -102279,16 +100439,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
102279
100439
  Currency: "Devise",
102280
100440
  "Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
102281
100441
  Unlimited: "Illimit\xE9",
102282
- "Without Par Value": "Sans valeur nominale",
102283
- "File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
102284
- "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.",
102285
- "Current Mailing Address": "Adresse postale actuelle",
102286
- "Current Delivery Address": "Adresse de livraison actuelle",
102287
- "New Mailing Address": "Nouvelle adresse postale",
102288
- "New Delivery Address": "Nouvelle adresse de livraison",
102289
- "Same as Mailing Address": "Identique \xE0 l'adresse postale",
102290
- "Same as Registered Office": "Identique au si\xE8ge social",
102291
- "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."
100442
+ "Without Par Value": "Sans valeur nominale"
102292
100443
  };
102293
100444
  }
102294
100445
  });