@dyedurham/search-and-file-widget 2.0.96 → 2.0.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dnd-filing-shell.js +46 -1637
  2. package/package.json +11 -11
@@ -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,31 +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["CurrentMailingAddress"] = "currentMailingAddress";
84277
- BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
84278
- BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
84279
- BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
84280
- BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
84281
- BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
84282
- BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
84283
- BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
84284
- BCChangeOfOfficeAddressesFormControls2["City"] = "city";
84285
- BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
84286
- BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
84287
- BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
84288
- })(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
84289
- (function(BCChangeOfOfficeAddressesFormGroups2) {
84290
- BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84291
- BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
84292
- BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
84293
- BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
84294
- })(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
84295
84258
  (function(BCFormationFormGroups2) {
84296
84259
  BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
84297
84260
  BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
@@ -85080,127 +85043,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85080
85043
  }
85081
85044
  });
85082
85045
 
85083
- // src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
85084
- var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
85085
- var init_british_columbia_change_of_office_addresses_form_helper = __esm({
85086
- "src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
85087
- init_forms();
85088
- init_common_models();
85089
- init_british_columbia_form_enums();
85090
- init_BritishColumbiaConstants();
85091
- init_british_columbia_formation_form_helper();
85092
- Controls2 = BCChangeOfOfficeAddressesFormControls;
85093
- EDITABLE_ADDRESS_CONTROLS = [
85094
- Controls2.AddressLine1,
85095
- Controls2.AddressLine2,
85096
- Controls2.City,
85097
- Controls2.PostalCode
85098
- ];
85099
- BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
85100
- static generateConfig(task, _translateFn) {
85101
- const affiliations = task.entity.affiliations ?? [];
85102
- const delta = task.deltaData;
85103
- const format = BritishColumbiaFormationFormHelper.formatFullAddress;
85104
- const pick = BritishColumbiaFormationFormHelper.pickAddress;
85105
- const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85106
- const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
85107
- const companyEmail = this.resolveCompanyEmail(task);
85108
- const config2 = {};
85109
- config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
85110
- config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
85111
- [Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
85112
- [Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
85113
- [Controls2.CompanyEmail]: this.readOnly(companyEmail)
85114
- });
85115
- const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
85116
- config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
85117
- [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
85118
- [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
85119
- [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
85120
- [Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
85121
- [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
85122
- });
85123
- const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
85124
- const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
85125
- config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
85126
- [Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
85127
- [Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
85128
- [Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
85129
- [Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
85130
- [Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
85131
- [Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
85132
- });
85133
- return config2;
85134
- }
85135
- /**
85136
- * The company's email, looked up the same way as in the BC Incorporation Application: the
85137
- * entity's email options, then the Registered Office's Business Email, then the entity's own,
85138
- * then any other address of the entity (e.g. a Head Office).
85139
- */
85140
- static resolveCompanyEmail(task) {
85141
- const affiliations = task.entity.affiliations ?? [];
85142
- const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
85143
- return task.entity.emailOptions?.[0]?.value || registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value || task.entity.communications?.find((c) => c.type === "Business Email")?.value || task.entity.addresses?.flatMap((a) => a.communications ?? []).find((c) => c.type === "Business Email")?.value || "";
85144
- }
85145
- /**
85146
- * Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
85147
- * Province and Country are always disabled; the rest follow `enabled`.
85148
- */
85149
- static createOfficeAddressFormGroup(delta, enabled = true) {
85150
- const group2 = new FormGroup({
85151
- [Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
85152
- [Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
85153
- [Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
85154
- [Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
85155
- [Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
85156
- [Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
85157
- });
85158
- this.setOfficeAddressEnabled(group2, enabled);
85159
- return group2;
85160
- }
85161
- /**
85162
- * Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes).
85163
- * Hiding a grid also clears it, so un-ticking the checkbox shows an empty address to fill in.
85164
- */
85165
- static setOfficeAddressEnabled(group2, enabled) {
85166
- if (!group2) {
85167
- return;
85168
- }
85169
- EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
85170
- const control = group2.get(name);
85171
- if (enabled) {
85172
- control?.enable({ emitEvent: false });
85173
- } else {
85174
- control?.setValue("", { emitEvent: false });
85175
- control?.disable({ emitEvent: false });
85176
- }
85177
- });
85178
- group2.updateValueAndValidity({ emitEvent: false });
85179
- }
85180
- static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
85181
- return new FormGroup({
85182
- [Controls2.ClientMatterNumber]: new FormControl(
85183
- // `??`: an explicitly cleared value ('') in a saved draft must be preserved; the entity default applies only when absent.
85184
- deltaData?.referenceNumber ?? clientMatterNumber ?? ""
85185
- ),
85186
- [Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
85187
- });
85188
- }
85189
- static readOnly(value) {
85190
- return new FormControl({ value: value ?? "", disabled: true });
85191
- }
85192
- };
85193
- }
85194
- });
85195
-
85196
85046
  // src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
85197
- 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;
85047
+ var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
85198
85048
  var init_british_columbia_change_of_directors_form_constants = __esm({
85199
85049
  "src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
85200
85050
  init_form_enums();
85201
85051
  init_british_columbia_form_enums();
85202
85052
  init_BritishColumbiaConstants();
85203
- Controls3 = BCChangeOfDirectorsFormControls;
85053
+ Controls2 = BCChangeOfDirectorsFormControls;
85204
85054
  labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
85205
85055
  readOnlyRow = (label, control, className = "span-12") => ({
85206
85056
  type: FormType.Text,
@@ -85208,24 +85058,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85208
85058
  class: className,
85209
85059
  dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
85210
85060
  });
85211
- directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
85212
- isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
85061
+ directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
85062
+ isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
85213
85063
  BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
85214
85064
  {
85215
85065
  type: FormType.Input,
85216
85066
  label: "Client/Matter Number",
85217
- formControlName: Controls3.ClientMatterNumber
85067
+ formControlName: Controls2.ClientMatterNumber
85218
85068
  },
85219
85069
  {
85220
85070
  type: FormType.Input,
85221
85071
  label: "Docket Number",
85222
- formControlName: Controls3.DocketNumber
85072
+ formControlName: Controls2.DocketNumber
85223
85073
  }
85224
85074
  ];
85225
85075
  BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
85226
- readOnlyRow("Corporation Name", Controls3.CorporationName),
85227
- readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
85228
- readOnlyRow("Company Email", Controls3.CompanyEmail)
85076
+ readOnlyRow("Corporation Name", Controls2.CorporationName),
85077
+ readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
85078
+ readOnlyRow("Company Email", Controls2.CompanyEmail)
85229
85079
  ];
85230
85080
  BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
85231
85081
  {
@@ -85237,24 +85087,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85237
85087
  {
85238
85088
  type: FormType.Checkbox,
85239
85089
  label: "Directors will be added and/or deleted as part of this filing",
85240
- formControlName: Controls3.DirectorsAddedOrDeleted,
85090
+ formControlName: Controls2.DirectorsAddedOrDeleted,
85241
85091
  class: "span-12",
85242
85092
  onChange: (form) => {
85243
85093
  if (!directorsAddedOrDeleted(form)) {
85244
- form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
85094
+ form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
85245
85095
  }
85246
- form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85096
+ form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
85247
85097
  }
85248
85098
  },
85249
85099
  {
85250
85100
  type: FormType.Date,
85251
85101
  label: "Date Directors were added or deleted",
85252
- formControlName: Controls3.ChangeDate,
85102
+ formControlName: Controls2.ChangeDate,
85253
85103
  required: true,
85254
85104
  isVisible: directorsAddedOrDeleted,
85255
85105
  class: "span-8"
85256
85106
  },
85257
- __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
85107
+ __spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
85258
85108
  isVisible: directorsAddedOrDeleted
85259
85109
  }),
85260
85110
  {
@@ -85266,34 +85116,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85266
85116
  }
85267
85117
  ];
85268
85118
  BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
85269
- readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
85270
- readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
85119
+ readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
85120
+ readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
85271
85121
  ];
85272
85122
  [
85273
85123
  {
85274
85124
  type: FormType.Select,
85275
85125
  label: "Notification Method",
85276
- formControlName: Controls3.NotificationMethod,
85126
+ formControlName: Controls2.NotificationMethod,
85277
85127
  required: true,
85278
85128
  options: BC_NOTIFICATION_METHOD_OPTIONS,
85279
85129
  needTranslate: true,
85280
85130
  class: "span-6",
85281
- onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85131
+ onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
85282
85132
  },
85283
85133
  {
85284
85134
  type: FormType.Input,
85285
85135
  label: "Notification Email",
85286
- formControlName: Controls3.NotificationEmail,
85136
+ formControlName: Controls2.NotificationEmail,
85287
85137
  required: true,
85288
85138
  isVisible: (form) => !isNotifyByMail(form),
85289
85139
  class: "column-3"
85290
85140
  },
85291
85141
  {
85292
85142
  type: FormType.Text,
85293
- formControlName: Controls3.NotificationMailingAddress,
85143
+ formControlName: Controls2.NotificationMailingAddress,
85294
85144
  class: "span-12",
85295
85145
  isVisible: isNotifyByMail,
85296
- 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")})`
85146
+ dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls2.NotificationMailingAddress)?.value || t("Not specified")})`
85297
85147
  }
85298
85148
  ];
85299
85149
  BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
@@ -85306,7 +85156,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85306
85156
  {
85307
85157
  type: FormType.Select,
85308
85158
  label: "Annual Report Reminder",
85309
- formControlName: Controls3.AnnualReportReminder,
85159
+ formControlName: Controls2.AnnualReportReminder,
85310
85160
  required: true,
85311
85161
  options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
85312
85162
  needTranslate: true,
@@ -87534,890 +87384,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87534
87384
  }
87535
87385
  });
87536
87386
 
87537
- // src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
87538
- 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;
87539
- var init_british_columbia_change_of_office_addresses_form_constants = __esm({
87540
- "src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
87541
- init_form_enums();
87542
- init_british_columbia_form_enums();
87543
- init_british_columbia_change_of_office_addresses_form_helper();
87544
- Controls4 = BCChangeOfOfficeAddressesFormControls;
87545
- labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
87546
- readOnlyRow2 = (label, control, className = "span-12") => ({
87547
- type: FormType.Text,
87548
- formControlName: control,
87549
- class: className,
87550
- dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
87551
- });
87552
- isChecked = (form, control) => Boolean(form.get(control)?.value);
87553
- addressGroup = (form, control) => form.get(control);
87554
- BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
87555
- {
87556
- type: FormType.Input,
87557
- label: "Client/Matter Number",
87558
- formControlName: Controls4.ClientMatterNumber
87559
- },
87560
- {
87561
- type: FormType.Input,
87562
- label: "Docket Number",
87563
- formControlName: Controls4.DocketNumber
87564
- }
87565
- ];
87566
- effectiveDateNote = {
87567
- type: FormType.Text,
87568
- formControlName: "",
87569
- class: "span-12 note-box",
87570
- 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.")}`
87571
- };
87572
- BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
87573
- readOnlyRow2("Corporation Name", Controls4.CorporationName),
87574
- readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
87575
- readOnlyRow2("Company Email", Controls4.CompanyEmail),
87576
- effectiveDateNote
87577
- ];
87578
- BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
87579
- readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
87580
- readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
87581
- ];
87582
- BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
87583
- {
87584
- type: FormType.Input,
87585
- label: "Address Line 1",
87586
- formControlName: Controls4.AddressLine1,
87587
- required: true,
87588
- class: "span-6"
87589
- },
87590
- {
87591
- type: FormType.Input,
87592
- label: "Address Line 2",
87593
- formControlName: Controls4.AddressLine2,
87594
- class: "span-6"
87595
- },
87596
- {
87597
- type: FormType.Input,
87598
- label: "City",
87599
- formControlName: Controls4.City,
87600
- required: true,
87601
- class: "span-6"
87602
- },
87603
- {
87604
- type: FormType.Input,
87605
- label: "Postal Code",
87606
- formControlName: Controls4.PostalCode,
87607
- required: true,
87608
- class: "span-6"
87609
- },
87610
- {
87611
- type: FormType.Input,
87612
- label: "Province",
87613
- formControlName: Controls4.Province,
87614
- readonly: true,
87615
- class: "span-6"
87616
- },
87617
- {
87618
- type: FormType.Input,
87619
- label: "Country",
87620
- formControlName: Controls4.Country,
87621
- readonly: true,
87622
- class: "span-6"
87623
- }
87624
- ];
87625
- BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
87626
- {
87627
- type: FormType.Text,
87628
- formControlName: "",
87629
- class: "span-12",
87630
- 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.")
87631
- }
87632
- ];
87633
- BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
87634
- {
87635
- type: FormType.Checkbox,
87636
- label: "Same as Mailing Address",
87637
- formControlName: Controls4.DeliverySameAsMailing,
87638
- class: "span-12",
87639
- onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
87640
- }
87641
- ];
87642
- BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
87643
- {
87644
- type: FormType.Checkbox,
87645
- label: "Same as Registered Office",
87646
- formControlName: Controls4.SameAsRegisteredOffice,
87647
- class: "span-12",
87648
- onChange: (form) => {
87649
- const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
87650
- const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
87651
- BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
87652
- BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
87653
- }
87654
- }
87655
- ];
87656
- }
87657
- });
87658
-
87659
- // src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
87660
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
87661
- if (rf & 1) {
87662
- \u0275\u0275element(0, "alert", 1);
87663
- }
87664
- if (rf & 2) {
87665
- const ctx_r0 = \u0275\u0275nextContext();
87666
- \u0275\u0275property("type", ctx_r0.alertType.Info);
87667
- }
87668
- }
87669
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
87670
- if (rf & 1) {
87671
- \u0275\u0275element(0, "alert", 2);
87672
- }
87673
- if (rf & 2) {
87674
- const ctx_r0 = \u0275\u0275nextContext();
87675
- \u0275\u0275property("content", ctx_r0.errors());
87676
- }
87677
- }
87678
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
87679
- if (rf & 1) {
87680
- const _r2 = \u0275\u0275getCurrentView();
87681
- \u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
87682
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
87683
- \u0275\u0275restoreView(_r2);
87684
- const ctx_r0 = \u0275\u0275nextContext();
87685
- return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
87686
- });
87687
- \u0275\u0275elementEnd()();
87688
- }
87689
- if (rf & 2) {
87690
- const ctx_r0 = \u0275\u0275nextContext();
87691
- const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
87692
- \u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
87693
- \u0275\u0275advance();
87694
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
87695
- }
87696
- }
87697
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
87698
- if (rf & 1) {
87699
- \u0275\u0275elementStart(0, "expandable-card", 5);
87700
- \u0275\u0275element(1, "filing-form-group", 8);
87701
- \u0275\u0275elementEnd();
87702
- }
87703
- if (rf & 2) {
87704
- const ctx_r0 = \u0275\u0275nextContext();
87705
- const corporationDetails_r4 = \u0275\u0275readContextLet(6);
87706
- \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
87707
- \u0275\u0275advance();
87708
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r4)("config", ctx_r0.corporationDetailsFields);
87709
- }
87710
- }
87711
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
87712
- if (rf & 1) {
87713
- const _r6 = \u0275\u0275getCurrentView();
87714
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87715
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
87716
- \u0275\u0275restoreView(_r6);
87717
- const ctx_r0 = \u0275\u0275nextContext(2);
87718
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87719
- });
87720
- \u0275\u0275elementEnd();
87721
- }
87722
- if (rf & 2) {
87723
- \u0275\u0275nextContext();
87724
- const registeredMailing_r7 = \u0275\u0275readContextLet(0);
87725
- const ctx_r0 = \u0275\u0275nextContext();
87726
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r7)("config", ctx_r0.addressFields);
87727
- }
87728
- }
87729
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
87730
- if (rf & 1) {
87731
- const _r8 = \u0275\u0275getCurrentView();
87732
- \u0275\u0275element(0, "filing-form-group", 8);
87733
- \u0275\u0275elementStart(1, "filing-form-group", 7);
87734
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
87735
- \u0275\u0275restoreView(_r8);
87736
- const ctx_r0 = \u0275\u0275nextContext(2);
87737
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87738
- });
87739
- \u0275\u0275elementEnd();
87740
- }
87741
- if (rf & 2) {
87742
- \u0275\u0275nextContext();
87743
- const registeredDelivery_r9 = \u0275\u0275readContextLet(1);
87744
- const ctx_r0 = \u0275\u0275nextContext();
87745
- const registeredOffice_r10 = \u0275\u0275readContextLet(8);
87746
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliveryNoteFields);
87747
- \u0275\u0275advance();
87748
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r9)("config", ctx_r0.addressFields);
87749
- }
87750
- }
87751
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
87752
- if (rf & 1) {
87753
- const _r5 = \u0275\u0275getCurrentView();
87754
- \u0275\u0275declareLet(0)(1)(2);
87755
- \u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 9);
87756
- \u0275\u0275element(5, "filing-form-group", 8);
87757
- \u0275\u0275elementStart(6, "h4", 10);
87758
- \u0275\u0275text(7);
87759
- \u0275\u0275pipe(8, "translate");
87760
- \u0275\u0275elementEnd();
87761
- \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 8);
87762
- \u0275\u0275elementStart(10, "h4", 10);
87763
- \u0275\u0275text(11);
87764
- \u0275\u0275pipe(12, "translate");
87765
- \u0275\u0275elementEnd();
87766
- \u0275\u0275elementStart(13, "filing-form-group", 7);
87767
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
87768
- \u0275\u0275restoreView(_r5);
87769
- const ctx_r0 = \u0275\u0275nextContext();
87770
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87771
- });
87772
- \u0275\u0275elementEnd();
87773
- \u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
87774
- \u0275\u0275elementEnd()();
87775
- }
87776
- if (rf & 2) {
87777
- const ctx_r0 = \u0275\u0275nextContext();
87778
- const registeredOffice_r10 = \u0275\u0275readContextLet(8);
87779
- const registeredMailing_r11 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewMailingAddress));
87780
- \u0275\u0275advance();
87781
- const registeredDelivery_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewDeliveryAddress));
87782
- const registeredDeliverySame_r13 = ctx_r0.isChecked(registeredOffice_r10, ctx_r0.controls.DeliverySameAsMailing);
87783
- \u0275\u0275advance(2);
87784
- \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
87785
- \u0275\u0275advance(2);
87786
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.currentAddressesFields);
87787
- \u0275\u0275advance(2);
87788
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
87789
- \u0275\u0275advance(2);
87790
- \u0275\u0275conditional(registeredMailing_r11 ? 9 : -1);
87791
- \u0275\u0275advance(2);
87792
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
87793
- \u0275\u0275advance(2);
87794
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliverySameAsMailingFields);
87795
- \u0275\u0275advance();
87796
- \u0275\u0275conditional(!registeredDeliverySame_r13 && registeredDelivery_r12 ? 14 : -1);
87797
- }
87798
- }
87799
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
87800
- if (rf & 1) {
87801
- const _r16 = \u0275\u0275getCurrentView();
87802
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87803
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
87804
- \u0275\u0275restoreView(_r16);
87805
- const ctx_r0 = \u0275\u0275nextContext(3);
87806
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87807
- });
87808
- \u0275\u0275elementEnd();
87809
- }
87810
- if (rf & 2) {
87811
- \u0275\u0275nextContext(2);
87812
- const recordsMailing_r17 = \u0275\u0275readContextLet(0);
87813
- const ctx_r0 = \u0275\u0275nextContext();
87814
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r17)("config", ctx_r0.addressFields);
87815
- }
87816
- }
87817
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
87818
- if (rf & 1) {
87819
- const _r18 = \u0275\u0275getCurrentView();
87820
- \u0275\u0275elementStart(0, "filing-form-group", 7);
87821
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
87822
- \u0275\u0275restoreView(_r18);
87823
- const ctx_r0 = \u0275\u0275nextContext(3);
87824
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87825
- });
87826
- \u0275\u0275elementEnd();
87827
- }
87828
- if (rf & 2) {
87829
- \u0275\u0275nextContext(2);
87830
- const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
87831
- const ctx_r0 = \u0275\u0275nextContext();
87832
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r19)("config", ctx_r0.addressFields);
87833
- }
87834
- }
87835
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
87836
- if (rf & 1) {
87837
- const _r15 = \u0275\u0275getCurrentView();
87838
- \u0275\u0275elementStart(0, "h4", 10);
87839
- \u0275\u0275text(1);
87840
- \u0275\u0275pipe(2, "translate");
87841
- \u0275\u0275elementEnd();
87842
- \u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 8);
87843
- \u0275\u0275elementStart(4, "h4", 10);
87844
- \u0275\u0275text(5);
87845
- \u0275\u0275pipe(6, "translate");
87846
- \u0275\u0275elementEnd();
87847
- \u0275\u0275elementStart(7, "filing-form-group", 7);
87848
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
87849
- \u0275\u0275restoreView(_r15);
87850
- const ctx_r0 = \u0275\u0275nextContext(2);
87851
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87852
- });
87853
- \u0275\u0275elementEnd();
87854
- \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 8);
87855
- }
87856
- if (rf & 2) {
87857
- \u0275\u0275nextContext();
87858
- const recordsMailing_r17 = \u0275\u0275readContextLet(0);
87859
- const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
87860
- const recordsDeliverySame_r20 = \u0275\u0275readContextLet(3);
87861
- const ctx_r0 = \u0275\u0275nextContext();
87862
- const recordsOffice_r21 = \u0275\u0275readContextLet(10);
87863
- \u0275\u0275advance();
87864
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
87865
- \u0275\u0275advance(2);
87866
- \u0275\u0275conditional(recordsMailing_r17 ? 3 : -1);
87867
- \u0275\u0275advance(2);
87868
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
87869
- \u0275\u0275advance(2);
87870
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.deliverySameAsMailingFields);
87871
- \u0275\u0275advance();
87872
- \u0275\u0275conditional(!recordsDeliverySame_r20 && recordsDelivery_r19 ? 8 : -1);
87873
- }
87874
- }
87875
- function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
87876
- if (rf & 1) {
87877
- const _r14 = \u0275\u0275getCurrentView();
87878
- \u0275\u0275declareLet(0)(1)(2)(3);
87879
- \u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 9);
87880
- \u0275\u0275element(6, "filing-form-group", 8);
87881
- \u0275\u0275elementStart(7, "filing-form-group", 7);
87882
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
87883
- \u0275\u0275restoreView(_r14);
87884
- const ctx_r0 = \u0275\u0275nextContext();
87885
- return \u0275\u0275resetView(ctx_r0.emitValidity());
87886
- });
87887
- \u0275\u0275elementEnd();
87888
- \u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
87889
- \u0275\u0275elementEnd()();
87890
- }
87891
- if (rf & 2) {
87892
- const ctx_r0 = \u0275\u0275nextContext();
87893
- const recordsOffice_r21 = \u0275\u0275readContextLet(10);
87894
- \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewMailingAddress));
87895
- \u0275\u0275advance();
87896
- \u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewDeliveryAddress));
87897
- const recordsSameAsRegistered_r22 = ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.SameAsRegisteredOffice);
87898
- \u0275\u0275advance(2);
87899
- \u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.DeliverySameAsMailing));
87900
- \u0275\u0275advance();
87901
- \u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
87902
- \u0275\u0275advance(2);
87903
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.currentAddressesFields);
87904
- \u0275\u0275advance();
87905
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.sameAsRegisteredOfficeFields);
87906
- \u0275\u0275advance();
87907
- \u0275\u0275conditional(!recordsSameAsRegistered_r22 ? 8 : -1);
87908
- }
87909
- }
87910
- var BritishColumbiaChangeOfOfficeAddressesFormComponent;
87911
- var init_change_of_office_addresses_form_component = __esm({
87912
- "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
87913
- init_core();
87914
- init_ngx_translate_core();
87915
- init_filing_form_group_component();
87916
- init_alert_component();
87917
- init_alert_enum();
87918
- init_expandable_card_component();
87919
- init_british_columbia_form_enums();
87920
- init_british_columbia_change_of_office_addresses_form_constants();
87921
- init_forms_utils();
87922
- init_core();
87923
- BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
87924
- form = input.required();
87925
- task = input();
87926
- errors = input([]);
87927
- isNote = input(false);
87928
- isSubmitted = input(false);
87929
- readonly = input(false);
87930
- visiblyValidChange = output();
87931
- alertType = AlertType;
87932
- groups = BCChangeOfOfficeAddressesFormGroups;
87933
- controls = BCChangeOfOfficeAddressesFormControls;
87934
- referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
87935
- corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
87936
- currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
87937
- addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
87938
- deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
87939
- deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
87940
- sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
87941
- sectionValidity = {};
87942
- isVisiblyValid() {
87943
- return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
87944
- }
87945
- isRegisteredOfficeValid() {
87946
- const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
87947
- return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
87948
- }
87949
- isRecordsOfficeValid() {
87950
- const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
87951
- return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
87952
- }
87953
- isChecked(office, control) {
87954
- return Boolean(office?.get(control)?.value);
87955
- }
87956
- onSectionValidChange(section, valid) {
87957
- this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
87958
- this.emitValidity();
87959
- }
87960
- emitValidity() {
87961
- queueMicrotask(() => this.visiblyValidChange.emit(this.isVisiblyValid()));
87962
- }
87963
- getFormGroup(key) {
87964
- return this.form().get(key) ?? null;
87965
- }
87966
- getAddressGroup(office, control) {
87967
- return office?.get(control) ?? null;
87968
- }
87969
- isAddressValid(office, control) {
87970
- const group2 = this.getAddressGroup(office, control);
87971
- return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
87972
- }
87973
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
87974
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
87975
- };
87976
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 12, vars: 10, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
87977
- if (rf & 1) {
87978
- \u0275\u0275elementStart(0, "div", 0);
87979
- \u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
87980
- \u0275\u0275elementStart(3, "div", 3);
87981
- \u0275\u0275declareLet(4);
87982
- \u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
87983
- \u0275\u0275declareLet(6);
87984
- \u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
87985
- \u0275\u0275declareLet(8);
87986
- \u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
87987
- \u0275\u0275declareLet(10);
87988
- \u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
87989
- \u0275\u0275elementEnd()();
87990
- }
87991
- if (rf & 2) {
87992
- \u0275\u0275advance();
87993
- \u0275\u0275conditional(ctx.isNote() ? 1 : -1);
87994
- \u0275\u0275advance();
87995
- \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
87996
- \u0275\u0275advance(2);
87997
- const referenceNumbers_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
87998
- \u0275\u0275advance();
87999
- \u0275\u0275conditional(referenceNumbers_r23 ? 5 : -1);
88000
- \u0275\u0275advance();
88001
- const corporationDetails_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
88002
- \u0275\u0275advance();
88003
- \u0275\u0275conditional(corporationDetails_r24 ? 7 : -1);
88004
- \u0275\u0275advance();
88005
- const registeredOffice_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
88006
- \u0275\u0275advance();
88007
- \u0275\u0275conditional(registeredOffice_r25 ? 9 : -1);
88008
- \u0275\u0275advance();
88009
- const recordsOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
88010
- \u0275\u0275advance();
88011
- \u0275\u0275conditional(recordsOffice_r26 ? 11 : -1);
88012
- }
88013
- }, dependencies: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
88014
- };
88015
- (() => {
88016
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
88017
- type: Component,
88018
- args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], template: `<div class="change-of-office-addresses-form">\r
88019
- @if (isNote()) {\r
88020
- <alert\r
88021
- [type]="alertType.Info"\r
88022
- title="Entity changed"\r
88023
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
88024
- />\r
88025
- }\r
88026
- \r
88027
- @if (errors().length) {\r
88028
- <alert\r
88029
- title="The following issues need to be resolved before proceeding:"\r
88030
- [content]="errors()"\r
88031
- />\r
88032
- }\r
88033
- \r
88034
- <div class="change-of-office-addresses-form-content">\r
88035
- @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
88036
- \r
88037
- @if (referenceNumbers) {\r
88038
- <expandable-card [title]="groups.ReferenceNumbers">\r
88039
- <filing-form-group\r
88040
- [isSubmitted]="isSubmitted()"\r
88041
- [form]="referenceNumbers"\r
88042
- [config]="referenceNumbersFields"\r
88043
- (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
88044
- />\r
88045
- </expandable-card>\r
88046
- }\r
88047
- \r
88048
- @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
88049
- \r
88050
- @if (corporationDetails) {\r
88051
- <expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
88052
- <filing-form-group\r
88053
- [isSubmitted]="isSubmitted()"\r
88054
- [form]="corporationDetails"\r
88055
- [config]="corporationDetailsFields"\r
88056
- />\r
88057
- </expandable-card>\r
88058
- }\r
88059
- \r
88060
- <!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
88061
- @let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
88062
- \r
88063
- @if (registeredOffice) {\r
88064
- @let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
88065
- @let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
88066
- @let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
88067
- \r
88068
- <expandable-card\r
88069
- [isStatusIcon]="!readonly()"\r
88070
- [isValid]="isRegisteredOfficeValid()"\r
88071
- [title]="groups.RegisteredOfficeAddress"\r
88072
- >\r
88073
- <div class="change-of-office-addresses-form-item">\r
88074
- <filing-form-group\r
88075
- [isSubmitted]="isSubmitted()"\r
88076
- [form]="registeredOffice"\r
88077
- [config]="currentAddressesFields"\r
88078
- />\r
88079
- \r
88080
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88081
- \r
88082
- @if (registeredMailing) {\r
88083
- <filing-form-group\r
88084
- [isSubmitted]="isSubmitted()"\r
88085
- [form]="registeredMailing"\r
88086
- [config]="addressFields"\r
88087
- (visiblyValidChange)="emitValidity()"\r
88088
- />\r
88089
- }\r
88090
- \r
88091
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88092
- \r
88093
- <filing-form-group\r
88094
- [isSubmitted]="isSubmitted()"\r
88095
- [form]="registeredOffice"\r
88096
- [config]="deliverySameAsMailingFields"\r
88097
- (visiblyValidChange)="emitValidity()"\r
88098
- />\r
88099
- \r
88100
- @if (!registeredDeliverySame && registeredDelivery) {\r
88101
- <filing-form-group\r
88102
- [isSubmitted]="isSubmitted()"\r
88103
- [form]="registeredOffice"\r
88104
- [config]="deliveryNoteFields"\r
88105
- />\r
88106
- <filing-form-group\r
88107
- [isSubmitted]="isSubmitted()"\r
88108
- [form]="registeredDelivery"\r
88109
- [config]="addressFields"\r
88110
- (visiblyValidChange)="emitValidity()"\r
88111
- />\r
88112
- }\r
88113
- </div>\r
88114
- </expandable-card>\r
88115
- }\r
88116
- \r
88117
- <!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
88118
- @let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
88119
- \r
88120
- @if (recordsOffice) {\r
88121
- @let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
88122
- @let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
88123
- @let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
88124
- @let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
88125
- \r
88126
- <expandable-card\r
88127
- [isStatusIcon]="!readonly()"\r
88128
- [isValid]="isRecordsOfficeValid()"\r
88129
- [title]="groups.RecordsOfficeAddress"\r
88130
- >\r
88131
- <div class="change-of-office-addresses-form-item">\r
88132
- <filing-form-group\r
88133
- [isSubmitted]="isSubmitted()"\r
88134
- [form]="recordsOffice"\r
88135
- [config]="currentAddressesFields"\r
88136
- />\r
88137
- \r
88138
- <filing-form-group\r
88139
- [isSubmitted]="isSubmitted()"\r
88140
- [form]="recordsOffice"\r
88141
- [config]="sameAsRegisteredOfficeFields"\r
88142
- (visiblyValidChange)="emitValidity()"\r
88143
- />\r
88144
- \r
88145
- @if (!recordsSameAsRegistered) {\r
88146
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
88147
- \r
88148
- @if (recordsMailing) {\r
88149
- <filing-form-group\r
88150
- [isSubmitted]="isSubmitted()"\r
88151
- [form]="recordsMailing"\r
88152
- [config]="addressFields"\r
88153
- (visiblyValidChange)="emitValidity()"\r
88154
- />\r
88155
- }\r
88156
- \r
88157
- <h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
88158
- \r
88159
- <filing-form-group\r
88160
- [isSubmitted]="isSubmitted()"\r
88161
- [form]="recordsOffice"\r
88162
- [config]="deliverySameAsMailingFields"\r
88163
- (visiblyValidChange)="emitValidity()"\r
88164
- />\r
88165
- \r
88166
- @if (!recordsDeliverySame && recordsDelivery) {\r
88167
- <filing-form-group\r
88168
- [isSubmitted]="isSubmitted()"\r
88169
- [form]="recordsDelivery"\r
88170
- [config]="addressFields"\r
88171
- (visiblyValidChange)="emitValidity()"\r
88172
- />\r
88173
- }\r
88174
- }\r
88175
- </div>\r
88176
- </expandable-card>\r
88177
- }\r
88178
- </div>\r
88179
- </div>\r
88180
- `, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
88181
- }], null, null);
88182
- })();
88183
- (() => {
88184
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 43 });
88185
- })();
88186
- }
88187
- });
88188
-
88189
- // src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
88190
- var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
88191
- var init_change_of_office_addresses_delta_form_component = __esm({
88192
- "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
88193
- init_core();
88194
- init_button();
88195
- init_ngx_translate_core();
88196
- init_common_utils();
88197
- init_change_of_office_addresses_form_component();
88198
- init_core();
88199
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
88200
- form = input.required();
88201
- actionsDisabled = input(false);
88202
- isNote = input(false);
88203
- task = input();
88204
- errors = input([]);
88205
- close = output();
88206
- save = output();
88207
- validate = output();
88208
- submitted = signal(false);
88209
- visiblyValid = signal(true);
88210
- clientErrors = signal([]);
88211
- translate = inject(TranslateService);
88212
- combinedErrors = computed(() => {
88213
- const client = this.clientErrors();
88214
- return client.length ? client : this.errors();
88215
- });
88216
- onVisiblyValidChange(valid) {
88217
- this.visiblyValid.set(valid);
88218
- if (this.submitted()) {
88219
- this.clientErrors.set(valid ? [] : [this.requiredFieldsMessage()]);
88220
- }
88221
- }
88222
- onValidate() {
88223
- this.submitted.set(true);
88224
- this.clientErrors.set([]);
88225
- markFormGroupTouched(this.form());
88226
- if (!this.visiblyValid()) {
88227
- this.clientErrors.set([this.requiredFieldsMessage()]);
88228
- return;
88229
- }
88230
- this.validate.emit();
88231
- }
88232
- requiredFieldsMessage() {
88233
- return this.translate.instant("Some required fields aren't completed.");
88234
- }
88235
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
88236
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
88237
- };
88238
- 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) {
88239
- if (rf & 1) {
88240
- \u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
88241
- \u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
88242
- return ctx.onVisiblyValidChange($event);
88243
- });
88244
- \u0275\u0275elementEnd();
88245
- \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88246
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
88247
- return ctx.close.emit();
88248
- });
88249
- \u0275\u0275elementStart(4, "span", 4);
88250
- \u0275\u0275text(5);
88251
- \u0275\u0275pipe(6, "translate");
88252
- \u0275\u0275elementEnd()();
88253
- \u0275\u0275elementStart(7, "button", 3);
88254
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
88255
- return ctx.save.emit();
88256
- });
88257
- \u0275\u0275elementStart(8, "span", 4);
88258
- \u0275\u0275text(9);
88259
- \u0275\u0275pipe(10, "translate");
88260
- \u0275\u0275elementEnd()();
88261
- \u0275\u0275elementStart(11, "button", 5);
88262
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
88263
- return ctx.onValidate();
88264
- });
88265
- \u0275\u0275elementStart(12, "span", 4);
88266
- \u0275\u0275text(13);
88267
- \u0275\u0275pipe(14, "translate");
88268
- \u0275\u0275elementEnd()()()();
88269
- }
88270
- if (rf & 2) {
88271
- \u0275\u0275advance();
88272
- \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
88273
- \u0275\u0275advance(2);
88274
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88275
- \u0275\u0275advance(2);
88276
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
88277
- \u0275\u0275advance(2);
88278
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88279
- \u0275\u0275advance(2);
88280
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
88281
- \u0275\u0275advance(2);
88282
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88283
- \u0275\u0275advance(2);
88284
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
88285
- }
88286
- }, 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 });
88287
- };
88288
- (() => {
88289
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
88290
- type: Component,
88291
- 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
88292
- <british-columbia-change-of-office-addresses-form\r
88293
- class="change-of-office-addresses-delta-form-content"\r
88294
- [form]="form()"\r
88295
- [task]="task()"\r
88296
- [errors]="combinedErrors()"\r
88297
- [isNote]="isNote()"\r
88298
- [isSubmitted]="submitted()"\r
88299
- [readonly]="false"\r
88300
- (visiblyValidChange)="onVisiblyValidChange($event)"\r
88301
- />\r
88302
- \r
88303
- <div class="change-of-office-addresses-delta-form-actions">\r
88304
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88305
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88306
- </button>\r
88307
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
88308
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
88309
- </button>\r
88310
- <button\r
88311
- class="submit"\r
88312
- color="primary"\r
88313
- mat-flat-button\r
88314
- [disabled]="actionsDisabled()"\r
88315
- (click)="onValidate()"\r
88316
- >\r
88317
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
88318
- </button>\r
88319
- </div>\r
88320
- </div>\r
88321
- `, 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"] }]
88322
- }], null, null);
88323
- })();
88324
- (() => {
88325
- (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 });
88326
- })();
88327
- }
88328
- });
88329
-
88330
- // src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
88331
- var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
88332
- var init_change_of_office_addresses_preview_form_component = __esm({
88333
- "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
88334
- init_core();
88335
- init_button();
88336
- init_ngx_translate_core();
88337
- init_change_of_office_addresses_form_component();
88338
- init_core();
88339
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
88340
- form = input.required();
88341
- actionsDisabled = input(false);
88342
- task = input();
88343
- errors = input([]);
88344
- close = output();
88345
- file = output();
88346
- static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
88347
- return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
88348
- };
88349
- 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) {
88350
- if (rf & 1) {
88351
- \u0275\u0275elementStart(0, "div", 0);
88352
- \u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
88353
- \u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
88354
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
88355
- return ctx.close.emit();
88356
- });
88357
- \u0275\u0275elementStart(4, "span", 4);
88358
- \u0275\u0275text(5);
88359
- \u0275\u0275pipe(6, "translate");
88360
- \u0275\u0275elementEnd()();
88361
- \u0275\u0275elementStart(7, "button", 5);
88362
- \u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
88363
- return ctx.file.emit();
88364
- });
88365
- \u0275\u0275elementStart(8, "span", 4);
88366
- \u0275\u0275text(9);
88367
- \u0275\u0275pipe(10, "translate");
88368
- \u0275\u0275elementEnd()()()();
88369
- }
88370
- if (rf & 2) {
88371
- \u0275\u0275advance();
88372
- \u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
88373
- \u0275\u0275advance(2);
88374
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88375
- \u0275\u0275advance(2);
88376
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
88377
- \u0275\u0275advance(2);
88378
- \u0275\u0275property("disabled", ctx.actionsDisabled());
88379
- \u0275\u0275advance(2);
88380
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
88381
- }
88382
- }, 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 });
88383
- };
88384
- (() => {
88385
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
88386
- type: Component,
88387
- 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
88388
- <british-columbia-change-of-office-addresses-form\r
88389
- class="change-of-office-addresses-preview-form-content"\r
88390
- [form]="form()"\r
88391
- [task]="task()"\r
88392
- [errors]="errors()"\r
88393
- [isSubmitted]="false"\r
88394
- [readonly]="true"\r
88395
- />\r
88396
- \r
88397
- <div class="change-of-office-addresses-preview-form-actions">\r
88398
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
88399
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
88400
- </button>\r
88401
- <button\r
88402
- class="submit"\r
88403
- color="primary"\r
88404
- mat-flat-button\r
88405
- [disabled]="actionsDisabled()"\r
88406
- (click)="file.emit()"\r
88407
- >\r
88408
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
88409
- </button>\r
88410
- </div>\r
88411
- </div>\r
88412
- `, 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"] }]
88413
- }], null, null);
88414
- })();
88415
- (() => {
88416
- (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 });
88417
- })();
88418
- }
88419
- });
88420
-
88421
87387
  // src/app/components/british-columbia/british-columbia.component.ts
88422
87388
  function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
88423
87389
  if (rf & 1) {
@@ -88533,63 +87499,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88533
87499
  \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88534
87500
  }
88535
87501
  }
88536
- function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
88537
- if (rf & 1) {
88538
- const _r7 = \u0275\u0275getCurrentView();
88539
- \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 2);
88540
- \u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
88541
- \u0275\u0275restoreView(_r7);
88542
- const ctx_r1 = \u0275\u0275nextContext(2);
88543
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
88544
- })("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
88545
- \u0275\u0275restoreView(_r7);
88546
- const ctx_r1 = \u0275\u0275nextContext(2);
88547
- return \u0275\u0275resetView(ctx_r1.onClose());
88548
- })("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
88549
- \u0275\u0275restoreView(_r7);
88550
- const ctx_r1 = \u0275\u0275nextContext(2);
88551
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
88552
- });
88553
- \u0275\u0275elementEnd();
88554
- }
88555
- if (rf & 2) {
88556
- const ctx_r1 = \u0275\u0275nextContext(2);
88557
- const taskData_r3 = \u0275\u0275readContextLet(0);
88558
- \u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
88559
- }
88560
- }
88561
- function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
88562
- if (rf & 1) {
88563
- const _r8 = \u0275\u0275getCurrentView();
88564
- \u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 3);
88565
- \u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
88566
- \u0275\u0275restoreView(_r8);
88567
- const ctx_r1 = \u0275\u0275nextContext(2);
88568
- return \u0275\u0275resetView(ctx_r1.close.emit());
88569
- })("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
88570
- \u0275\u0275restoreView(_r8);
88571
- const ctx_r1 = \u0275\u0275nextContext(2);
88572
- return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
88573
- });
88574
- \u0275\u0275elementEnd();
88575
- }
88576
- if (rf & 2) {
88577
- const ctx_r1 = \u0275\u0275nextContext(2);
88578
- const taskData_r3 = \u0275\u0275readContextLet(0);
88579
- \u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
88580
- }
88581
- }
88582
- function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
88583
- if (rf & 1) {
88584
- \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);
88585
- }
88586
- if (rf & 2) {
88587
- const ctx_r1 = \u0275\u0275nextContext();
88588
- \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
88589
- \u0275\u0275advance();
88590
- \u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
88591
- }
88592
- }
88593
87502
  var BritishColumbiaComponent;
88594
87503
  var init_british_columbia_component = __esm({
88595
87504
  "src/app/components/british-columbia/british-columbia.component.ts"() {
@@ -88602,7 +87511,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88602
87511
  init_british_columbia_form_enums();
88603
87512
  init_british_columbia_change_of_directors_form_helper();
88604
87513
  init_british_columbia_formation_form_helper();
88605
- init_british_columbia_change_of_office_addresses_form_helper();
88606
87514
  init_delta_state_service();
88607
87515
  init_common_utils();
88608
87516
  init_confirm_modal_component();
@@ -88610,8 +87518,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88610
87518
  init_change_of_directors_preview_form_component();
88611
87519
  init_british_columbia_incorporation_delta_form_component();
88612
87520
  init_british_columbia_incorporation_preview_form_component();
88613
- init_change_of_office_addresses_delta_form_component();
88614
- init_change_of_office_addresses_preview_form_component();
88615
87521
  init_core();
88616
87522
  BritishColumbiaComponent = class _BritishColumbiaComponent {
88617
87523
  task = input();
@@ -88629,19 +87535,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88629
87535
  formationSubmit = output();
88630
87536
  saveFormationDeltaData = output();
88631
87537
  nextStep = output();
88632
- recheckStep = output();
88633
87538
  prevStep = output();
88634
- // Change of Office Addresses outputs
88635
- coaValidate = output();
88636
- saveCoaDeltaData = output();
88637
- coaSubmit = output();
88638
87539
  dialog = inject(MatDialog);
88639
87540
  deltaState = inject(DeltaStateService);
88640
87541
  translate = inject(TranslateService);
88641
87542
  steps = Step;
88642
87543
  isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
88643
87544
  isFormationTask = isFormationTask2;
88644
- isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
88645
87545
  deltaForm = signal(new FormGroup({}));
88646
87546
  previewForm = signal(new FormGroup({}));
88647
87547
  constructor() {
@@ -88655,10 +87555,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88655
87555
  this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
88656
87556
  this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
88657
87557
  }
88658
- if (task && isChangeOfAddressTask(task)) {
88659
- this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
88660
- this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
88661
- }
88662
87558
  });
88663
87559
  effect(() => {
88664
87560
  const task = this.task();
@@ -88682,67 +87578,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88682
87578
  this.nextStep.emit();
88683
87579
  }
88684
87580
  }
88685
- if (task && isChangeOfAddressTask(task) && deltaData) {
88686
- const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
88687
- form.disable();
88688
- this.previewForm.set(form);
88689
- const step = untracked2(() => this.activeStep());
88690
- if (step === Step.Validate) {
88691
- this.nextStep.emit();
88692
- } else if (step === Step.FilingPreview) {
88693
- this.recheckStep.emit();
88694
- }
88695
- }
88696
87581
  });
88697
87582
  }
88698
- onChangeOfOfficeAddressesValidate() {
88699
- markFormGroupTouched(this.deltaForm());
88700
- this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
88701
- }
88702
- onChangeOfOfficeAddressesSave() {
88703
- const delta = this.generateChangeOfOfficeAddressesDeltaData();
88704
- this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
88705
- this.saveCoaDeltaData.emit(delta);
88706
- }
88707
- /** No certification step for this filing: "File" submits the staged draft directly. */
88708
- onChangeOfOfficeAddressesFile() {
88709
- this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
88710
- }
88711
- generateChangeOfOfficeAddressesDeltaData() {
88712
- const c = BCChangeOfOfficeAddressesFormControls;
88713
- const formData = this.deltaForm().getRawValue();
88714
- const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
88715
- const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
88716
- const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
88717
- const toAddress = (src) => ({
88718
- addressLine1: src?.[c.AddressLine1] ?? null,
88719
- addressLine2: src?.[c.AddressLine2] ?? null,
88720
- city: src?.[c.City] ?? null,
88721
- postalCode: src?.[c.PostalCode] ?? null,
88722
- province: src?.[c.Province] ?? null,
88723
- country: src?.[c.Country] ?? null
88724
- });
88725
- const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
88726
- const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
88727
- const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
88728
- return {
88729
- referenceNumbers: {
88730
- referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
88731
- docketNumber: refNumbers?.[c.DocketNumber] ?? null
88732
- },
88733
- registeredOffice: {
88734
- mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
88735
- deliverySameAsMailing: regDeliverySame,
88736
- deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
88737
- },
88738
- recordsOffice: {
88739
- sameAsRegisteredOffice: recSameAsRegistered,
88740
- mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
88741
- deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
88742
- deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
88743
- }
88744
- };
88745
- }
88746
87583
  onChangeOfDirectorsValidate() {
88747
87584
  markFormGroupTouched(this.deltaForm());
88748
87585
  this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
@@ -88842,7 +87679,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88842
87679
  }
88843
87680
  onClose() {
88844
87681
  const task = this.task();
88845
- 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());
87682
+ const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
88846
87683
  if (!hasChanges) {
88847
87684
  this.close.emit();
88848
87685
  return;
@@ -88860,8 +87697,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88860
87697
  if (val) {
88861
87698
  if (task && isFormationTask2(task)) {
88862
87699
  this.onFormationSave();
88863
- } else if (task && isChangeOfAddressTask(task)) {
88864
- this.onChangeOfOfficeAddressesSave();
88865
87700
  } else {
88866
87701
  this.onChangeOfDirectorsSave();
88867
87702
  }
@@ -88872,27 +87707,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88872
87707
  static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
88873
87708
  return new (__ngFactoryType__ || _BritishColumbiaComponent)();
88874
87709
  };
88875
- 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) {
87710
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
88876
87711
  if (rf & 1) {
88877
87712
  \u0275\u0275declareLet(0);
88878
- \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
87713
+ \u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
88879
87714
  }
88880
87715
  if (rf & 2) {
88881
- const taskData_r9 = \u0275\u0275storeLet(ctx.task());
87716
+ const taskData_r7 = \u0275\u0275storeLet(ctx.task());
88882
87717
  \u0275\u0275advance();
88883
- \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
87718
+ \u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r7) ? 1 : -1);
88884
87719
  \u0275\u0275advance();
88885
- \u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
88886
- \u0275\u0275advance();
88887
- \u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r9) ? 3 : -1);
87720
+ \u0275\u0275conditional(ctx.isFormationTask(taskData_r7) ? 2 : -1);
88888
87721
  }
88889
87722
  }, dependencies: [
88890
87723
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
88891
87724
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
88892
87725
  BritishColumbiaIncorporationDeltaFormComponent,
88893
- BritishColumbiaIncorporationPreviewFormComponent,
88894
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
88895
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
87726
+ BritishColumbiaIncorporationPreviewFormComponent
88896
87727
  ], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
88897
87728
  };
88898
87729
  (() => {
@@ -88902,14 +87733,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88902
87733
  BritishColumbiaChangeOfDirectorsDeltaFormComponent,
88903
87734
  BritishColumbiaChangeOfDirectorsPreviewFormComponent,
88904
87735
  BritishColumbiaIncorporationDeltaFormComponent,
88905
- BritishColumbiaIncorporationPreviewFormComponent,
88906
- BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
88907
- BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
88908
- ], 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"] }]
87736
+ BritishColumbiaIncorporationPreviewFormComponent
87737
+ ], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
88909
87738
  }], () => [], null);
88910
87739
  })();
88911
87740
  (() => {
88912
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 72 });
87741
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 62 });
88913
87742
  })();
88914
87743
  }
88915
87744
  });
@@ -95446,283 +94275,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95446
94275
  }
95447
94276
  });
95448
94277
 
95449
- // src/app/services/british-columbia/british-columbia-maintenance.service.ts
95450
- var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
95451
- var init_british_columbia_maintenance_service = __esm({
95452
- "src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
95453
- init_core();
95454
- init_common_utils();
95455
- init_core();
95456
- MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
95457
- TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
95458
- DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
95459
- DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
95460
- DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
95461
- BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
95462
- config;
95463
- setConfig(config2) {
95464
- this.config = config2;
95465
- }
95466
- /** Orders the registry's current data for the corporation; returns the extract's id. */
95467
- orderCurrentDataExtract(_0, _1) {
95468
- return __async(this, arguments, function* (signature, context2, opts = {}) {
95469
- const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
95470
- corporationNumber: context2.corporationNumber,
95471
- accessCodeOrPassword: context2.accessCodeOrPassword,
95472
- incorporationDate: context2.incorporationDate,
95473
- filingType: "changeOfAddressFiling"
95474
- }, opts);
95475
- const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
95476
- if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
95477
- throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
95478
- }
95479
- return String(id);
95480
- });
95481
- }
95482
- /** Polls the extract until the registry has it ready (`success`). */
95483
- waitForCurrentDataExtract(_0, _1) {
95484
- return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
95485
- const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
95486
- const deadline = Date.now() + timeoutMs;
95487
- for (; ; ) {
95488
- const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
95489
- const state2 = String(body?.status ?? "").toLowerCase();
95490
- if (ok && state2 === "success") {
95491
- return;
95492
- }
95493
- if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95494
- throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
95495
- }
95496
- if (Date.now() >= deadline) {
95497
- throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
95498
- }
95499
- yield this.sleep(intervalMs);
95500
- }
95501
- });
95502
- }
95503
- /**
95504
- * Validates the filing against the extract and returns the draft. `context` supplies the
95505
- * corporation number and password; they are added here so they never become part of the
95506
- * saved request used to detect Entity changes.
95507
- */
95508
- validate(_0, _1, _2, _3) {
95509
- return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
95510
- const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
95511
- currentDataServiceOrderId: extractId,
95512
- filingType: requestBody.filingType,
95513
- filing: __spreadProps(__spreadValues({}, requestBody.filing), {
95514
- corporationNumber: context2.corporationNumber,
95515
- accessCodeOrPassword: context2.accessCodeOrPassword
95516
- })
95517
- }, opts);
95518
- if (body === null) {
95519
- throw this.failure(status, "eCore validation failed", body, raw);
95520
- }
95521
- const result = this.normalize(unwrapRequestResults(body));
95522
- if (ok && !this.hasFailed(result)) {
95523
- return result;
95524
- }
95525
- const err = new Error(this.describeFailure(status, "eCore validation failed", result));
95526
- err.validateResult = result;
95527
- err.httpStatus = status;
95528
- throw err;
95529
- });
95530
- }
95531
- /**
95532
- * Submits the staged filing, then waits for the registry's result. Resolves once the filing
95533
- * is `success` (or its documents are pending); throws if it `failed`. If the registry is
95534
- * still `processing` when the wait ends, the filing is already submitted, so it resolves
95535
- * with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
95536
- */
95537
- submitAndWait(_0, _1) {
95538
- return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
95539
- if (!serviceOrderId) {
95540
- throw new Error("Missing serviceOrderId.");
95541
- }
95542
- const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
95543
- const submitResult = this.normalize(submitted.body);
95544
- if (!submitted.ok || submitResult.Status === "Failure") {
95545
- const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", submitResult));
95546
- err.submitResult = submitResult;
95547
- err.httpStatus = submitted.status;
95548
- throw err;
95549
- }
95550
- const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
95551
- const deadline = Date.now() + timeoutMs;
95552
- let processing = false;
95553
- let files;
95554
- for (; ; ) {
95555
- const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
95556
- const state2 = String(body?.status ?? "").toLowerCase();
95557
- if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
95558
- files = body?.files;
95559
- break;
95560
- }
95561
- if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
95562
- throw this.failure(status, "The registry could not complete the filing", body, raw);
95563
- }
95564
- if (Date.now() >= deadline) {
95565
- processing = true;
95566
- break;
95567
- }
95568
- yield this.sleep(intervalMs);
95569
- }
95570
- signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
95571
- return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
95572
- });
95573
- }
95574
- getBaseUrl(env) {
95575
- const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
95576
- if (!baseUrl) {
95577
- throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
95578
- }
95579
- return baseUrl;
95580
- }
95581
- /** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
95582
- send(signature, method, path, payload, opts) {
95583
- return __async(this, null, function* () {
95584
- ensureAuthInputs(signature);
95585
- const fetchFn = opts.fetchImpl ?? fetch;
95586
- const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
95587
- const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
95588
- const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
95589
- method,
95590
- headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
95591
- }));
95592
- const raw = yield resp.text();
95593
- const parsed = tryParseJson(raw);
95594
- const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
95595
- return { status: resp.status, ok: resp.ok, body, raw };
95596
- });
95597
- }
95598
- failure(status, prefix, body, raw) {
95599
- const result = body ? this.normalize(body) : void 0;
95600
- const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
95601
- const err = new Error(message);
95602
- err.httpStatus = status;
95603
- return err;
95604
- }
95605
- sleep(ms) {
95606
- return new Promise((resolve) => setTimeout(resolve, ms));
95607
- }
95608
- /**
95609
- * Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
95610
- * (`failed` and any other non-success value are failures). When a failure carries no
95611
- * `errors`, `additionalInformation` is used as the error messages.
95612
- */
95613
- normalize(body) {
95614
- const rawErrors = body?.errors ?? body?.Errors ?? [];
95615
- const errors = rawErrors.map((e) => ({
95616
- Code: e?.code ?? e?.Code,
95617
- Message: e?.message ?? e?.Message ?? e?.ErrorMessage
95618
- }));
95619
- const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
95620
- const succeeded = status === "success" || status === "alreadysubmitted";
95621
- if (!succeeded && !errors.length) {
95622
- const additional = body?.additionalInformation ?? [];
95623
- errors.push(...additional.map((Message) => ({ Message })));
95624
- }
95625
- return {
95626
- Status: succeeded ? "Success" : "Failure",
95627
- ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
95628
- Draft: body?.draft ?? body?.Draft,
95629
- Errors: errors
95630
- };
95631
- }
95632
- /** A body-level failure: the normalised status is `Failure` or errors were returned. */
95633
- hasFailed(result) {
95634
- return result.Status === "Failure" || Boolean(result.Errors?.length);
95635
- }
95636
- describeFailure(httpStatus, prefix, result) {
95637
- const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
95638
- return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
95639
- }
95640
- static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
95641
- return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
95642
- };
95643
- static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
95644
- };
95645
- (() => {
95646
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
95647
- type: Injectable,
95648
- args: [{
95649
- providedIn: "root"
95650
- }]
95651
- }], null, null);
95652
- })();
95653
- }
95654
- });
95655
-
95656
- // src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
95657
- function formatPostalCode(value) {
95658
- const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
95659
- return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
95660
- }
95661
- function toEcoreAddress(address) {
95662
- const line2 = clean(address?.addressLine2);
95663
- return __spreadProps(__spreadValues({
95664
- streetAddress: clean(address?.addressLine1)
95665
- }, line2 ? { additionalStreetAddress: line2 } : {}), {
95666
- city: clean(address?.city),
95667
- provinceOrState: BC_PROVINCE_CODE,
95668
- postalOrZipCode: formatPostalCode(address?.postalCode),
95669
- country: CANADA_COUNTRY_CODE
95670
- });
95671
- }
95672
- function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
95673
- const registered = deltaData.registeredOffice;
95674
- const records = deltaData.recordsOffice;
95675
- const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
95676
- const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
95677
- const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
95678
- const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
95679
- const filing = {
95680
- registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
95681
- isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
95682
- isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
95683
- isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
95684
- // The entity's company email, shown read-only in Corporation Details.
95685
- companyEmail: BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
95686
- // Not captured on this form; the reminder preference is not changed by an address filing.
95687
- isAnnualReportReminderRequired: false
95688
- };
95689
- const reference = clean(deltaData.referenceNumbers?.referenceNumber);
95690
- const docket = clean(deltaData.referenceNumbers?.docketNumber);
95691
- if (reference) {
95692
- filing.reference = reference;
95693
- }
95694
- if (docket) {
95695
- filing.docket = docket;
95696
- }
95697
- if (!registeredDeliverySame) {
95698
- filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
95699
- }
95700
- if (!recordsSameAsRegistered) {
95701
- filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
95702
- }
95703
- if (!recordsDeliverySame) {
95704
- filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
95705
- }
95706
- return { filingType: "changeOfAddressFiling", filing };
95707
- }
95708
- function getBritishColumbiaAccessCode2(task, env) {
95709
- const registryId = task.entity._profile.registry_id?.trim() ?? "";
95710
- if (registryId) {
95711
- return registryId;
95712
- }
95713
- return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
95714
- }
95715
- var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
95716
- var init_british_columbia_change_of_office_addresses_mapper = __esm({
95717
- "src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
95718
- init_british_columbia_change_of_office_addresses_form_helper();
95719
- TEMP_UAT_TEST_ACCESS_CODE = "12345678";
95720
- BC_PROVINCE_CODE = "BC";
95721
- CANADA_COUNTRY_CODE = "CA";
95722
- clean = (value) => (value ?? "").trim();
95723
- }
95724
- });
95725
-
95726
94278
  // src/app/components/filing/filing.component.ts
95727
94279
  function FilingComponent_Conditional_7_Template(rf, ctx) {
95728
94280
  if (rf & 1) {
@@ -95806,10 +94358,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95806
94358
  \u0275\u0275restoreView(_r6);
95807
94359
  const ctx_r2 = \u0275\u0275nextContext(2);
95808
94360
  return \u0275\u0275resetView(ctx_r2.onNextStepClick());
95809
- })("recheckStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_recheckStep_0_listener() {
95810
- \u0275\u0275restoreView(_r6);
95811
- const ctx_r2 = \u0275\u0275nextContext(2);
95812
- return \u0275\u0275resetView(ctx_r2.defineInitialStep());
95813
94361
  })("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
95814
94362
  \u0275\u0275restoreView(_r6);
95815
94363
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -95826,18 +94374,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95826
94374
  \u0275\u0275restoreView(_r6);
95827
94375
  const ctx_r2 = \u0275\u0275nextContext(2);
95828
94376
  return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
95829
- })("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
95830
- \u0275\u0275restoreView(_r6);
95831
- const ctx_r2 = \u0275\u0275nextContext(2);
95832
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
95833
- })("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
95834
- \u0275\u0275restoreView(_r6);
95835
- const ctx_r2 = \u0275\u0275nextContext(2);
95836
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
95837
- })("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
95838
- \u0275\u0275restoreView(_r6);
95839
- const ctx_r2 = \u0275\u0275nextContext(2);
95840
- return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
95841
94377
  })("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
95842
94378
  \u0275\u0275restoreView(_r6);
95843
94379
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -95953,8 +94489,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
95953
94489
  init_delta_state_service();
95954
94490
  init_british_columbia_change_of_directors_service();
95955
94491
  init_british_columbia_change_of_directors_mapper();
95956
- init_british_columbia_maintenance_service();
95957
- init_british_columbia_change_of_office_addresses_mapper();
95958
94492
  init_core();
95959
94493
  init_button();
95960
94494
  FilingComponent = class _FilingComponent {
@@ -96011,7 +94545,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96011
94545
  federalUpdateMaintainService = inject(FederalUpdateMaintainService);
96012
94546
  updateMaintainService = inject(OntarioUpdateMaintainService);
96013
94547
  britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
96014
- bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
96015
94548
  translate = inject(TranslateService);
96016
94549
  isEditButton = computed(() => {
96017
94550
  const task = this.task();
@@ -96056,9 +94589,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96056
94589
  if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
96057
94590
  return "File British Columbia Notice of Change of Directors";
96058
94591
  }
96059
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96060
- return "File British Columbia Change of Office Addresses";
96061
- }
96062
94592
  return "";
96063
94593
  });
96064
94594
  constructor() {
@@ -96071,7 +94601,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96071
94601
  this.bcFormationService.setConfig(config2);
96072
94602
  this.federalUpdateMaintainService.setConfig(config2);
96073
94603
  this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
96074
- this.bcMaintenanceService.setConfig(config2);
96075
94604
  }
96076
94605
  });
96077
94606
  addStylesVariables();
@@ -96396,97 +94925,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96396
94925
  }
96397
94926
  });
96398
94927
  }
96399
- /**
96400
- * British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
96401
- * to eCore, hands the draft PDF to the host, and saves the delta together with the
96402
- * ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
96403
- */
96404
- onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
96405
- return __async(this, null, function* () {
96406
- const task = this.task();
96407
- const signature = this._signature();
96408
- try {
96409
- if (!task || !signature) {
96410
- throw new Error("The filing is not ready yet. Please try again.");
96411
- }
96412
- this.isLoading.set(true);
96413
- this.errors.set([]);
96414
- const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
96415
- const opts = this.validateOptions() ?? {};
96416
- const context2 = {
96417
- corporationNumber: task.entity._profile.corp_number ?? "",
96418
- accessCodeOrPassword: getBritishColumbiaAccessCode2(task, signature.env),
96419
- incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
96420
- };
96421
- const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
96422
- yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
96423
- const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
96424
- if (this.hasResponseErrors(response))
96425
- return;
96426
- const serviceOrderId = response.ServiceOrderId ?? "";
96427
- const draftPdf = response.Draft ?? "";
96428
- const searchOrFilingType = getSearchOrFilingType(task);
96429
- if (draftPdf && searchOrFilingType) {
96430
- this.filingValidateSuccess.emit({
96431
- searchOrFilingType,
96432
- serviceOrderId,
96433
- validatedOn: /* @__PURE__ */ new Date(),
96434
- provider: "bcreg",
96435
- draftPdf,
96436
- documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
96437
- documentType: "pdf"
96438
- });
96439
- }
96440
- this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
96441
- serviceOrderId,
96442
- // The corporation number is added by the service, not by the request builder, so it is
96443
- // stored explicitly (the access code is deliberately left out) to detect entity changes.
96444
- validatedData: __spreadProps(__spreadValues({}, JSON.parse(JSON.stringify(requestBody))), {
96445
- corporationNumber: context2.corporationNumber
96446
- })
96447
- }));
96448
- this.close.emit();
96449
- } catch (response) {
96450
- this.handleCatchError(response);
96451
- } finally {
96452
- this.isLoading.set(false);
96453
- }
96454
- });
96455
- }
96456
- /**
96457
- * British Columbia Change of Office Addresses save – propagates delta data to the host.
96458
- */
96459
- onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
96460
- const oldDeltaData = this.task()?.deltaData;
96461
- if (oldDeltaData) {
96462
- delete this.task()?.deltaData;
96463
- }
96464
- this.deltaDataChange.emit(deltaData);
96465
- }
96466
- /**
96467
- * British Columbia Change of Office Addresses submit/file: submits the filing staged by
96468
- * "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
96469
- */
96470
- onBritishColumbiaChangeOfOfficeAddressesSubmit() {
96471
- return __async(this, null, function* () {
96472
- const signature = this._signature();
96473
- const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
96474
- if (!signature || !serviceOrderId) {
96475
- this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
96476
- return;
96477
- }
96478
- try {
96479
- this.isLoading.set(true);
96480
- this.errors.set([]);
96481
- yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
96482
- this.close.emit();
96483
- } catch (response) {
96484
- this.handleCatchError(response);
96485
- } finally {
96486
- this.isLoading.set(false);
96487
- }
96488
- });
96489
- }
96490
94928
  /**
96491
94929
  * Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
96492
94930
  */
@@ -96755,7 +95193,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96755
95193
  this.errors.set(this.parseError(errors));
96756
95194
  return;
96757
95195
  }
96758
- const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
95196
+ const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
96759
95197
  this.errors.set([fallbackMessage]);
96760
95198
  }
96761
95199
  onClose() {
@@ -96822,8 +95260,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96822
95260
  let initialDelta;
96823
95261
  if (isFormationTask2(task)) {
96824
95262
  initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
96825
- } else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96826
- initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
96827
95263
  } else if (isUpdateMaintain(task)) {
96828
95264
  initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
96829
95265
  } else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
@@ -96857,11 +95293,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96857
95293
  }
96858
95294
  return federalPayload;
96859
95295
  }
96860
- if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
96861
- return __spreadProps(__spreadValues({}, buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData)), {
96862
- corporationNumber: task.entity._profile.corp_number ?? ""
96863
- });
96864
- }
96865
95296
  if (isUpdateMaintain(task) && isOntarioTask(task)) {
96866
95297
  const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
96867
95298
  if (!serviceOrderId) {
@@ -96890,7 +95321,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96890
95321
  if (rf & 2) {
96891
95322
  \u0275\u0275styleProp("height", ctx.modalHeight());
96892
95323
  }
96893
- }, 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) {
95324
+ }, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
96894
95325
  if (rf & 1) {
96895
95326
  const _r1 = \u0275\u0275getCurrentView();
96896
95327
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
@@ -96996,14 +95427,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
96996
95427
  [currentDataExtract]="currentDataExtract()"\r
96997
95428
  (close)="close.emit()"\r
96998
95429
  (nextStep)="onNextStepClick()"\r
96999
- (recheckStep)="defineInitialStep()"\r
97000
95430
  (prevStep)="onOntarioPrevStep()"\r
97001
95431
  (codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
97002
95432
  (saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
97003
95433
  (codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
97004
- (coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
97005
- (saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
97006
- (coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
97007
95434
  (formationValidate)="onBritishColumbiaFormationValidate($event)"\r
97008
95435
  (saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
97009
95436
  (formationSubmit)="onBritishColumbiaFormationSubmit()"\r
@@ -97033,11 +95460,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97033
95460
  </div>\r
97034
95461
  }\r
97035
95462
  </div>\r
97036
- </div>`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
95463
+ </div>\r
95464
+ `, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
97037
95465
  }], () => [], null);
97038
95466
  })();
97039
95467
  (() => {
97040
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 97 });
95468
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 90 });
97041
95469
  })();
97042
95470
  }
97043
95471
  });
@@ -101683,17 +100111,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
101683
100111
  Currency: "Currency",
101684
100112
  "Special Rights or Restrictions": "Special Rights or Restrictions",
101685
100113
  Unlimited: "Unlimited",
101686
- "Without Par Value": "Without Par Value",
101687
- "File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
101688
- "Records Office Address": "Records Office Address",
101689
- "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.",
101690
- "Current Mailing Address": "Current Mailing Address",
101691
- "Current Delivery Address": "Current Delivery Address",
101692
- "New Mailing Address": "New Mailing Address",
101693
- "New Delivery Address": "New Delivery Address",
101694
- "Same as Mailing Address": "Same as Mailing Address",
101695
- "Same as Registered Office": "Same as Registered Office",
101696
- "The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.": "The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable."
100114
+ "Without Par Value": "Without Par Value"
101697
100115
  };
101698
100116
  }
101699
100117
  });
@@ -102040,16 +100458,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
102040
100458
  Currency: "Devise",
102041
100459
  "Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
102042
100460
  Unlimited: "Illimit\xE9",
102043
- "Without Par Value": "Sans valeur nominale",
102044
- "File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
102045
- "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.",
102046
- "Current Mailing Address": "Adresse postale actuelle",
102047
- "Current Delivery Address": "Adresse de livraison actuelle",
102048
- "New Mailing Address": "Nouvelle adresse postale",
102049
- "New Delivery Address": "Nouvelle adresse de livraison",
102050
- "Same as Mailing Address": "Identique \xE0 l'adresse postale",
102051
- "Same as Registered Office": "Identique au si\xE8ge social",
102052
- "The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.": "L'adresse de livraison doit \xEAtre un lieu physique en Colombie-Britannique o\xF9 des documents peuvent \xEAtre livr\xE9s pendant les heures d'ouverture l\xE9gales. Une case postale n'est pas accept\xE9e."
100461
+ "Without Par Value": "Sans valeur nominale"
102053
100462
  };
102054
100463
  }
102055
100464
  });