@dyedurham/search-and-file-widget 2.1.6 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dnd-filing-shell.js
CHANGED
|
@@ -56266,6 +56266,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
56266
56266
|
TaskType2["Amendments"] = "Amendments";
|
|
56267
56267
|
TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
|
|
56268
56268
|
TaskType2["ChangeOfAddress"] = "Change of Address";
|
|
56269
|
+
TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
|
|
56269
56270
|
TaskType2["ChangeOfPrincipals"] = "Change of Principals";
|
|
56270
56271
|
TaskType2["RegistrationCompliance"] = "Registration Compliance";
|
|
56271
56272
|
TaskType2["Continuance"] = "Continuance";
|
|
@@ -58087,6 +58088,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58087
58088
|
function isChangeOfPrincipalsTask(task) {
|
|
58088
58089
|
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58089
58090
|
}
|
|
58091
|
+
function isChangeOfAddressTask(task) {
|
|
58092
|
+
return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
|
|
58093
|
+
}
|
|
58090
58094
|
function isBritishColumbiaTask(task) {
|
|
58091
58095
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58092
58096
|
}
|
|
@@ -58114,6 +58118,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58114
58118
|
if (!task) {
|
|
58115
58119
|
return void 0;
|
|
58116
58120
|
}
|
|
58121
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
58122
|
+
return "bcChangeOfAddress";
|
|
58123
|
+
}
|
|
58117
58124
|
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
|
|
58118
58125
|
if (isFormationTask2(task)) {
|
|
58119
58126
|
return `${prefix}Incorporation`;
|
|
@@ -61002,10 +61009,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
61002
61009
|
this._inputElement.nativeElement.focus();
|
|
61003
61010
|
}
|
|
61004
61011
|
/** Creates the change event that will be emitted by the checkbox. */
|
|
61005
|
-
_createChangeEvent(
|
|
61012
|
+
_createChangeEvent(isChecked2) {
|
|
61006
61013
|
const event = new MatCheckboxChange();
|
|
61007
61014
|
event.source = this;
|
|
61008
|
-
event.checked =
|
|
61015
|
+
event.checked = isChecked2;
|
|
61009
61016
|
return event;
|
|
61010
61017
|
}
|
|
61011
61018
|
/** Gets the element on which to add the animation CSS classes. */
|
|
@@ -80561,7 +80568,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80561
80568
|
MatRadioButton,
|
|
80562
80569
|
TranslatePipe,
|
|
80563
80570
|
CheckboxListComponent
|
|
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 });
|
|
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 });
|
|
80565
80572
|
};
|
|
80566
80573
|
(() => {
|
|
80567
80574
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
|
|
@@ -80815,7 +80822,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80815
80822
|
}\r
|
|
80816
80823
|
</div>\r
|
|
80817
80824
|
</section>\r
|
|
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'] }]
|
|
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'] }]
|
|
80819
80826
|
}], () => [], { dismissOpenTooltip: [{
|
|
80820
80827
|
type: HostListener,
|
|
80821
80828
|
args: ["document:keydown.escape"]
|
|
@@ -81305,12 +81312,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81305
81312
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81306
81313
|
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81307
81314
|
bcFormationInitialDelta = signal(null);
|
|
81315
|
+
bcChangeOfOfficeAddressesInitialDelta = signal(null);
|
|
81308
81316
|
setFormationInitialDelta(delta) {
|
|
81309
81317
|
this.formationInitialDelta.set(delta);
|
|
81310
81318
|
}
|
|
81311
81319
|
setBCFormationInitialDelta(delta) {
|
|
81312
81320
|
this.bcFormationInitialDelta.set(delta);
|
|
81313
81321
|
}
|
|
81322
|
+
setBCChangeOfOfficeAddressesInitialDelta(delta) {
|
|
81323
|
+
this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
|
|
81324
|
+
}
|
|
81314
81325
|
setInitialReturnInitialDelta(delta) {
|
|
81315
81326
|
this.initialReturnInitialDelta.set(delta);
|
|
81316
81327
|
}
|
|
@@ -81330,6 +81341,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81330
81341
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81331
81342
|
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81332
81343
|
this.bcFormationInitialDelta.set(null);
|
|
81344
|
+
this.bcChangeOfOfficeAddressesInitialDelta.set(null);
|
|
81333
81345
|
}
|
|
81334
81346
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
81335
81347
|
return new (__ngFactoryType__ || _DeltaStateService)();
|
|
@@ -84137,7 +84149,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84137
84149
|
});
|
|
84138
84150
|
|
|
84139
84151
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
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;
|
|
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;
|
|
84141
84153
|
var init_BritishColumbiaConstants = __esm({
|
|
84142
84154
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84143
84155
|
init_app_enums();
|
|
@@ -84171,7 +84183,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84171
84183
|
};
|
|
84172
84184
|
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84173
84185
|
Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84174
|
-
CANProvinces.BritishColumbia;
|
|
84186
|
+
BC_DEFAULT_PROVINCE_STATE = CANProvinces.BritishColumbia;
|
|
84175
84187
|
BC_DEFAULT_COUNTRY = "Canada";
|
|
84176
84188
|
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84177
84189
|
BC_PASSWORD_MIN_LENGTH = 8;
|
|
@@ -84190,7 +84202,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84190
84202
|
});
|
|
84191
84203
|
|
|
84192
84204
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84193
|
-
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84205
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCChangeOfOfficeAddressesFormControls, BCChangeOfOfficeAddressesFormGroups, BCFormationFormGroups;
|
|
84194
84206
|
var init_british_columbia_form_enums = __esm({
|
|
84195
84207
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84196
84208
|
(function(BCChangeOfDirectorsFormControls2) {
|
|
@@ -84255,6 +84267,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84255
84267
|
BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
|
|
84256
84268
|
BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
|
|
84257
84269
|
})(BCFormationFormControls || (BCFormationFormControls = {}));
|
|
84270
|
+
(function(BCChangeOfOfficeAddressesFormControls2) {
|
|
84271
|
+
BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
|
|
84272
|
+
BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
|
|
84273
|
+
BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
|
|
84274
|
+
BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
|
|
84275
|
+
BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
|
|
84276
|
+
BCChangeOfOfficeAddressesFormControls2["AnnualReportReminder"] = "annualReportReminder";
|
|
84277
|
+
BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
|
|
84278
|
+
BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
|
|
84279
|
+
BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
|
|
84280
|
+
BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
|
|
84281
|
+
BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
|
|
84282
|
+
BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
|
|
84283
|
+
BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
|
|
84284
|
+
BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
|
|
84285
|
+
BCChangeOfOfficeAddressesFormControls2["City"] = "city";
|
|
84286
|
+
BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
|
|
84287
|
+
BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
|
|
84288
|
+
BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
|
|
84289
|
+
})(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
|
|
84290
|
+
(function(BCChangeOfOfficeAddressesFormGroups2) {
|
|
84291
|
+
BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84292
|
+
BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84293
|
+
BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
|
|
84294
|
+
BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
|
|
84295
|
+
BCChangeOfOfficeAddressesFormGroups2["AnnualReportReminder"] = "Annual Report Reminder";
|
|
84296
|
+
})(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
|
|
84258
84297
|
(function(BCFormationFormGroups2) {
|
|
84259
84298
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84260
84299
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
@@ -84275,9 +84314,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84275
84314
|
const nameTranslations = entityDetails?.usesNameTranslation ? (entityDetails.nameTranslations ?? []).filter(Boolean) : [];
|
|
84276
84315
|
const registeredOffice = findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84277
84316
|
const recordsOffice = findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
84278
|
-
const regMailing = pickAddress(registeredOffice?.addresses, "Mailing"
|
|
84317
|
+
const regMailing = pickAddress(registeredOffice?.addresses, "Mailing");
|
|
84279
84318
|
const regDelivery = pickAddress(registeredOffice?.addresses, "Delivery");
|
|
84280
|
-
const recMailing = pickAddress(recordsOffice?.addresses, "Mailing"
|
|
84319
|
+
const recMailing = pickAddress(recordsOffice?.addresses, "Mailing");
|
|
84281
84320
|
const recDelivery = pickAddress(recordsOffice?.addresses, "Delivery");
|
|
84282
84321
|
const regMailingBC = mapAddress(regMailing);
|
|
84283
84322
|
const regDeliveryBC = regDelivery ? mapAddress(regDelivery) : void 0;
|
|
@@ -84327,9 +84366,20 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84327
84366
|
} else if (email.length > 150) {
|
|
84328
84367
|
issues.push("Company Email must be 150 characters or fewer.");
|
|
84329
84368
|
}
|
|
84369
|
+
if (!request.registeredOfficeMailingAddress?.streetAddress?.trim()) {
|
|
84370
|
+
issues.push("The Registered Office has no Mailing address.");
|
|
84371
|
+
}
|
|
84372
|
+
for (const director of request.directors ?? []) {
|
|
84373
|
+
if (!director.mailingAddress?.streetAddress?.trim()) {
|
|
84374
|
+
issues.push(`Director ${`${director.firstName} ${director.lastName}`.trim()} has no Mailing address.`);
|
|
84375
|
+
}
|
|
84376
|
+
}
|
|
84377
|
+
if (!request.authorizedShareStructure?.shareClasses?.length) {
|
|
84378
|
+
issues.push("The Authorized Share Structure is required.");
|
|
84379
|
+
}
|
|
84330
84380
|
const password = request.password ?? "";
|
|
84331
84381
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84332
|
-
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only
|
|
84382
|
+
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only.`);
|
|
84333
84383
|
}
|
|
84334
84384
|
return issues;
|
|
84335
84385
|
}
|
|
@@ -84365,7 +84415,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84365
84415
|
}
|
|
84366
84416
|
function mapDirector(affiliation) {
|
|
84367
84417
|
const addresses = affiliation.addresses?.length ? affiliation.addresses : affiliation.parent_affiliation?.addresses ?? [];
|
|
84368
|
-
const mailing = mapAddress(pickAddress(addresses, "Mailing"
|
|
84418
|
+
const mailing = mapAddress(pickAddress(addresses, "Mailing"));
|
|
84369
84419
|
const deliveryAddress = pickAddress(addresses, "Delivery");
|
|
84370
84420
|
const delivery = deliveryAddress ? mapAddress(deliveryAddress) : void 0;
|
|
84371
84421
|
const isSame = !delivery || sameAddress(delivery, mailing);
|
|
@@ -84568,19 +84618,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84568
84618
|
config2[BCFormationFormGroups.CorporationDetails] = this.generateCorporationDetailsFormGroup(task, delta?.entityDetails, companyEmail);
|
|
84569
84619
|
config2[BCFormationFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
84570
84620
|
[BCFormationFormControls.MailingAddress]: new FormControl({
|
|
84571
|
-
value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Mailing")),
|
|
84621
|
+
value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Mailing", true)),
|
|
84572
84622
|
disabled: true
|
|
84573
84623
|
}),
|
|
84574
84624
|
[BCFormationFormControls.DeliveryAddress]: new FormControl({
|
|
84575
|
-
value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Delivery")),
|
|
84625
|
+
value: this.formatFullAddress(this.pickAddress(registeredOffice?.addresses, "Delivery", true)),
|
|
84576
84626
|
disabled: true
|
|
84577
84627
|
}),
|
|
84578
84628
|
[BCFormationFormControls.RecordsOfficeMailingAddress]: new FormControl({
|
|
84579
|
-
value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Mailing")),
|
|
84629
|
+
value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Mailing", true)),
|
|
84580
84630
|
disabled: true
|
|
84581
84631
|
}),
|
|
84582
84632
|
[BCFormationFormControls.RecordsOfficeDeliveryAddress]: new FormControl({
|
|
84583
|
-
value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Delivery")),
|
|
84633
|
+
value: this.formatFullAddress(this.pickAddress(recordsOffice?.addresses, "Delivery", true)),
|
|
84584
84634
|
disabled: true
|
|
84585
84635
|
})
|
|
84586
84636
|
});
|
|
@@ -84724,7 +84774,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84724
84774
|
// Not shown on screen: taken from the registry ID when it satisfies the BC password rule
|
|
84725
84775
|
// (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
|
|
84726
84776
|
// check (`findBCRequestIssues`) reports an unusable value.
|
|
84727
|
-
[BCFormationFormControls.CompanyPassword]: new FormControl(
|
|
84777
|
+
[BCFormationFormControls.CompanyPassword]: new FormControl(
|
|
84778
|
+
// `||`, not `??`: a delta saved while the registry ID was invalid holds '' and must not mask the corrected ID.
|
|
84779
|
+
deltaData?.password || this.suggestPassword(task.entity._profile.registry_id)
|
|
84780
|
+
),
|
|
84728
84781
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84729
84782
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84730
84783
|
});
|
|
@@ -84804,11 +84857,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84804
84857
|
disabled: true
|
|
84805
84858
|
}),
|
|
84806
84859
|
[BCFormationFormControls.MailingAddress]: new FormControl({
|
|
84807
|
-
value: this.formatFullAddress(this.pickAddress(addresses, "Mailing")),
|
|
84860
|
+
value: this.formatFullAddress(this.pickAddress(addresses, "Mailing", true)),
|
|
84808
84861
|
disabled: true
|
|
84809
84862
|
}),
|
|
84810
84863
|
[BCFormationFormControls.DeliveryAddress]: new FormControl({
|
|
84811
|
-
value: this.formatFullAddress(this.pickAddress(addresses, "Delivery")),
|
|
84864
|
+
value: this.formatFullAddress(this.pickAddress(addresses, "Delivery", true)),
|
|
84812
84865
|
disabled: true
|
|
84813
84866
|
})
|
|
84814
84867
|
});
|
|
@@ -84841,19 +84894,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84841
84894
|
}
|
|
84842
84895
|
/**
|
|
84843
84896
|
* Athennian stores one address per `location_type` ("Mailing", "Delivery", …).
|
|
84844
|
-
* Falls back to the first address so both lines render when only one exists
|
|
84897
|
+
* Falls back to the first address so both lines render when only one exists, unless
|
|
84898
|
+
* `exact` is set: then only an address of that exact type is returned.
|
|
84845
84899
|
*/
|
|
84846
|
-
static pickAddress(addresses, locationType) {
|
|
84900
|
+
static pickAddress(addresses, locationType, exact = false) {
|
|
84847
84901
|
if (!addresses?.length) {
|
|
84848
84902
|
return void 0;
|
|
84849
84903
|
}
|
|
84850
|
-
|
|
84904
|
+
const match = addresses.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase());
|
|
84905
|
+
return match ?? (exact ? void 0 : addresses[0]);
|
|
84851
84906
|
}
|
|
84852
84907
|
};
|
|
84853
84908
|
}
|
|
84854
84909
|
});
|
|
84855
84910
|
|
|
84856
84911
|
// src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts
|
|
84912
|
+
function notInFuture() {
|
|
84913
|
+
return (control) => {
|
|
84914
|
+
if (!control.value) {
|
|
84915
|
+
return null;
|
|
84916
|
+
}
|
|
84917
|
+
const value = new Date(control.value);
|
|
84918
|
+
const today = /* @__PURE__ */ new Date();
|
|
84919
|
+
today.setHours(23, 59, 59, 999);
|
|
84920
|
+
return value > today ? { futureDate: true } : null;
|
|
84921
|
+
};
|
|
84922
|
+
}
|
|
84857
84923
|
var Controls, BritishColumbiaChangeOfDirectorsFormHelper;
|
|
84858
84924
|
var init_british_columbia_change_of_directors_form_helper = __esm({
|
|
84859
84925
|
"src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts"() {
|
|
@@ -84875,14 +84941,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84875
84941
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84876
84942
|
const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84877
84943
|
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84878
|
-
const effectiveDate = task._ext._effective_date ?? "";
|
|
84879
84944
|
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84880
84945
|
const config2 = {};
|
|
84881
84946
|
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number, delta?.referenceNumbers?.referenceNumber);
|
|
84882
84947
|
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84883
84948
|
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84884
84949
|
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
84885
|
-
[Controls.CompanyEmail]:
|
|
84950
|
+
[Controls.CompanyEmail]: this.readOnly(companyEmail)
|
|
84886
84951
|
});
|
|
84887
84952
|
const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
|
|
84888
84953
|
const incoming = task.incomingAffiliations ?? [];
|
|
@@ -84891,7 +84956,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84891
84956
|
const hasAddOrCease = ceasedIds.size > 0 || incoming.filter(isDirector).length > 0;
|
|
84892
84957
|
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84893
84958
|
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84894
|
-
[Controls.ChangeDate]:
|
|
84959
|
+
[Controls.ChangeDate]: new FormControl(delta?.filingDetails?.changeDate ?? "", [
|
|
84960
|
+
requiredIfValue(Controls.DirectorsAddedOrDeleted, true),
|
|
84961
|
+
notInFuture()
|
|
84962
|
+
]),
|
|
84895
84963
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84896
84964
|
});
|
|
84897
84965
|
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
@@ -85030,14 +85098,235 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85030
85098
|
}
|
|
85031
85099
|
});
|
|
85032
85100
|
|
|
85101
|
+
// src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
|
|
85102
|
+
var Controls2, COMPANY_EMAIL_TYPES, isCompanyEmail, incomingAddressByGrid, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
|
|
85103
|
+
var init_british_columbia_change_of_office_addresses_form_helper = __esm({
|
|
85104
|
+
"src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
|
|
85105
|
+
init_forms();
|
|
85106
|
+
init_common_models();
|
|
85107
|
+
init_british_columbia_form_enums();
|
|
85108
|
+
init_BritishColumbiaConstants();
|
|
85109
|
+
init_british_columbia_formation_form_helper();
|
|
85110
|
+
init_BritishColumbiaConstants();
|
|
85111
|
+
init_common_utils();
|
|
85112
|
+
Controls2 = BCChangeOfOfficeAddressesFormControls;
|
|
85113
|
+
COMPANY_EMAIL_TYPES = ["Business Email", "Email"];
|
|
85114
|
+
isCompanyEmail = (communication) => Boolean(communication?.value) && COMPANY_EMAIL_TYPES.includes(communication?.type ?? "");
|
|
85115
|
+
incomingAddressByGrid = /* @__PURE__ */ new WeakMap();
|
|
85116
|
+
EDITABLE_ADDRESS_CONTROLS = [
|
|
85117
|
+
Controls2.AddressLine1,
|
|
85118
|
+
Controls2.AddressLine2,
|
|
85119
|
+
Controls2.City,
|
|
85120
|
+
Controls2.PostalCode
|
|
85121
|
+
];
|
|
85122
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85123
|
+
static generateConfig(task, _translateFn) {
|
|
85124
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85125
|
+
const delta = task.deltaData;
|
|
85126
|
+
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
85127
|
+
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85128
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85129
|
+
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85130
|
+
const incoming = this.incomingOfficeAddresses(task);
|
|
85131
|
+
const seed = delta?.registeredOffice ? this.fillEmptyAddresses(delta, incoming) : this.seedFromIncomingAffiliations(task);
|
|
85132
|
+
const config2 = {};
|
|
85133
|
+
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85134
|
+
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
85135
|
+
[Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
85136
|
+
[Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
85137
|
+
[Controls2.CompanyEmail]: new FormControl(delta?.companyEmail || this.resolveCompanyEmail(task), Validators.required)
|
|
85138
|
+
});
|
|
85139
|
+
config2[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder] = new FormGroup({
|
|
85140
|
+
[Controls2.AnnualReportReminder]: new FormControl(delta?.annualReportReminder ?? BCAnnualReportReminder.Yes, Validators.required)
|
|
85141
|
+
});
|
|
85142
|
+
const regDeliverySame = seed.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85143
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85144
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85145
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85146
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.mailingAddress, true),
|
|
85147
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85148
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
85149
|
+
});
|
|
85150
|
+
const recSameAsRegistered = seed.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85151
|
+
const recDeliverySame = seed.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85152
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85153
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85154
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85155
|
+
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85156
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85157
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
85158
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
|
|
85159
|
+
});
|
|
85160
|
+
const grid = (group2, control) => config2[group2].get(control);
|
|
85161
|
+
const register = (target, address) => address && incomingAddressByGrid.set(target, address);
|
|
85162
|
+
register(grid(BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress, Controls2.NewDeliveryAddress), incoming.regDelivery);
|
|
85163
|
+
register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewMailingAddress), incoming.recMailing);
|
|
85164
|
+
register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewDeliveryAddress), incoming.recDelivery);
|
|
85165
|
+
return config2;
|
|
85166
|
+
}
|
|
85167
|
+
/** The company email choices: the entity's email options, plus the resolved default if it isn't one. */
|
|
85168
|
+
static getCompanyEmailOptions(task) {
|
|
85169
|
+
const values = (task.entity.emailOptions ?? []).filter(isCompanyEmail).map((o) => o.value);
|
|
85170
|
+
const fallback = this.resolveCompanyEmail(task);
|
|
85171
|
+
return [...new Set(fallback ? [...values, fallback] : values)].map((value) => ({
|
|
85172
|
+
value,
|
|
85173
|
+
label: value
|
|
85174
|
+
}));
|
|
85175
|
+
}
|
|
85176
|
+
/**
|
|
85177
|
+
* Pre-fills the new addresses from the task's incoming "Shared Address" affiliations (Registered
|
|
85178
|
+
* Office / Records Office), taking each Mailing / Delivery address from the affiliation or, when
|
|
85179
|
+
* it has none, from its parent affiliation. Nothing is pre-filled without an incoming address.
|
|
85180
|
+
*/
|
|
85181
|
+
static seedFromIncomingAffiliations(task) {
|
|
85182
|
+
const { regMailing, regDelivery, recMailing, recDelivery } = this.incomingOfficeAddresses(task);
|
|
85183
|
+
if (!regMailing && !recMailing) {
|
|
85184
|
+
return {};
|
|
85185
|
+
}
|
|
85186
|
+
const regDeliverySame = !regDelivery || this.isSameOfficeAddress(regDelivery, regMailing);
|
|
85187
|
+
const recDeliverySame = !recDelivery || this.isSameOfficeAddress(recDelivery, recMailing);
|
|
85188
|
+
const recSameAsRegistered = !recMailing || this.isSameOfficeAddress(recMailing, regMailing) && this.isSameOfficeAddress(recDelivery ?? recMailing, regDelivery ?? regMailing);
|
|
85189
|
+
return {
|
|
85190
|
+
registeredOffice: {
|
|
85191
|
+
mailingAddress: regMailing,
|
|
85192
|
+
deliverySameAsMailing: regDeliverySame,
|
|
85193
|
+
deliveryAddress: regDeliverySame ? void 0 : regDelivery
|
|
85194
|
+
},
|
|
85195
|
+
recordsOffice: {
|
|
85196
|
+
sameAsRegisteredOffice: recSameAsRegistered,
|
|
85197
|
+
mailingAddress: recSameAsRegistered ? void 0 : recMailing,
|
|
85198
|
+
deliverySameAsMailing: recDeliverySame,
|
|
85199
|
+
deliveryAddress: recDeliverySame ? void 0 : recDelivery
|
|
85200
|
+
}
|
|
85201
|
+
};
|
|
85202
|
+
}
|
|
85203
|
+
/** Keeps the saved flags and addresses, but fills an address the draft left empty from `incoming`. */
|
|
85204
|
+
static fillEmptyAddresses(saved, incoming) {
|
|
85205
|
+
const hasValues = (address) => EDITABLE_ADDRESS_CONTROLS.some((name) => Boolean(address?.[name]));
|
|
85206
|
+
const pick = (savedAddress, incomingAddress) => hasValues(savedAddress) ? savedAddress : incomingAddress ?? savedAddress;
|
|
85207
|
+
return {
|
|
85208
|
+
registeredOffice: __spreadProps(__spreadValues({}, saved.registeredOffice), {
|
|
85209
|
+
mailingAddress: pick(saved.registeredOffice?.mailingAddress, incoming.regMailing),
|
|
85210
|
+
deliveryAddress: pick(saved.registeredOffice?.deliveryAddress, incoming.regDelivery)
|
|
85211
|
+
}),
|
|
85212
|
+
recordsOffice: __spreadProps(__spreadValues({}, saved.recordsOffice), {
|
|
85213
|
+
mailingAddress: pick(saved.recordsOffice?.mailingAddress, incoming.recMailing),
|
|
85214
|
+
deliveryAddress: pick(saved.recordsOffice?.deliveryAddress, incoming.recDelivery)
|
|
85215
|
+
})
|
|
85216
|
+
};
|
|
85217
|
+
}
|
|
85218
|
+
/** The four office addresses of the task's incoming Shared Address, as form values. */
|
|
85219
|
+
static incomingOfficeAddresses(task) {
|
|
85220
|
+
const incoming = task.incomingAffiliations ?? [];
|
|
85221
|
+
const pickBy = (title, locationType) => {
|
|
85222
|
+
const pool = incoming.filter((a) => a.role?.role_name === AddressRole2.SHARED_ADDRESS && a.role?.static_title === title).flatMap((a) => a.addresses?.length ? a.addresses : a.parent_affiliation?.addresses ?? []);
|
|
85223
|
+
const wanted = locationType.toLowerCase();
|
|
85224
|
+
const address = pool.find((a) => (a.computed_location_type ?? "").toLowerCase() === wanted || (a.location_type ?? "").toLowerCase() === wanted);
|
|
85225
|
+
return address && this.isBritishColumbia(address) ? this.toOfficeAddressDelta(address) : void 0;
|
|
85226
|
+
};
|
|
85227
|
+
return {
|
|
85228
|
+
regMailing: pickBy(AddressTitle2.REGISTERED_OFFICE, "Mailing"),
|
|
85229
|
+
regDelivery: pickBy(AddressTitle2.REGISTERED_OFFICE, "Delivery"),
|
|
85230
|
+
recMailing: pickBy(AddressTitle2.RECORDS_OFFICE, "Mailing"),
|
|
85231
|
+
recDelivery: pickBy(AddressTitle2.RECORDS_OFFICE, "Delivery")
|
|
85232
|
+
};
|
|
85233
|
+
}
|
|
85234
|
+
/** Street = street number + street name; the suite goes to Address Line 2. */
|
|
85235
|
+
static toOfficeAddressDelta(address) {
|
|
85236
|
+
const street = [getAddressComponent(address, "Street Number Only"), getAddressComponent(address, "Street Only")].filter(Boolean).join(" ") || getAddressComponent(address, "Street Address") || address.street || "";
|
|
85237
|
+
return {
|
|
85238
|
+
addressLine1: street,
|
|
85239
|
+
addressLine2: getAddressComponent(address, "Suite/Apartment") || address.address2 || "",
|
|
85240
|
+
city: address.city ?? "",
|
|
85241
|
+
postalCode: address.postal_zip ?? "",
|
|
85242
|
+
province: BC_DEFAULT_PROVINCE_STATE,
|
|
85243
|
+
country: BC_DEFAULT_COUNTRY
|
|
85244
|
+
};
|
|
85245
|
+
}
|
|
85246
|
+
/** An address with no province is accepted; the form only ever deals in British Columbia. */
|
|
85247
|
+
static isBritishColumbia(address) {
|
|
85248
|
+
const province = (address.province_state ?? "").trim().toLowerCase();
|
|
85249
|
+
return !province || ["bc", "b.c.", "british columbia"].includes(province);
|
|
85250
|
+
}
|
|
85251
|
+
static isSameOfficeAddress(a, b) {
|
|
85252
|
+
const key = (x) => [x?.addressLine1, x?.addressLine2, x?.city, x?.postalCode].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
|
|
85253
|
+
return key(a) === key(b);
|
|
85254
|
+
}
|
|
85255
|
+
/**
|
|
85256
|
+
* The company's email: the entity's email options, then the Registered Office's email, then the
|
|
85257
|
+
* entity's own, then any other address of the entity (e.g. a Head Office). Only a Business Email
|
|
85258
|
+
* or an Email counts; a Personal Email never does.
|
|
85259
|
+
*/
|
|
85260
|
+
static resolveCompanyEmail(task) {
|
|
85261
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85262
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85263
|
+
return task.entity.emailOptions?.find(isCompanyEmail)?.value || registeredOffice?.addresses?.[0]?.communications?.find(isCompanyEmail)?.value || task.entity.communications?.find(isCompanyEmail)?.value || task.entity.addresses?.flatMap((a) => a.communications ?? []).find(isCompanyEmail)?.value || "";
|
|
85264
|
+
}
|
|
85265
|
+
/**
|
|
85266
|
+
* Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
|
|
85267
|
+
* Province and Country are always disabled; the rest follow `enabled`.
|
|
85268
|
+
*/
|
|
85269
|
+
static createOfficeAddressFormGroup(delta, enabled = true) {
|
|
85270
|
+
const group2 = new FormGroup({
|
|
85271
|
+
[Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
|
|
85272
|
+
[Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
|
|
85273
|
+
[Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
|
|
85274
|
+
[Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
|
|
85275
|
+
[Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
|
|
85276
|
+
[Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
|
|
85277
|
+
});
|
|
85278
|
+
this.setOfficeAddressEnabled(group2, enabled);
|
|
85279
|
+
return group2;
|
|
85280
|
+
}
|
|
85281
|
+
/**
|
|
85282
|
+
* Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes).
|
|
85283
|
+
* Hiding a grid also clears it. Showing it again refills it with the address Athennian sent for
|
|
85284
|
+
* it, or leaves it empty when there is none (and when the user has already typed something).
|
|
85285
|
+
*/
|
|
85286
|
+
static setOfficeAddressEnabled(group2, enabled) {
|
|
85287
|
+
if (!group2) {
|
|
85288
|
+
return;
|
|
85289
|
+
}
|
|
85290
|
+
const restore = incomingAddressByGrid.get(group2);
|
|
85291
|
+
const isEmpty = EDITABLE_ADDRESS_CONTROLS.every((name) => !group2.get(name)?.value);
|
|
85292
|
+
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85293
|
+
const control = group2.get(name);
|
|
85294
|
+
if (enabled) {
|
|
85295
|
+
control?.enable({ emitEvent: false });
|
|
85296
|
+
if (restore && isEmpty) {
|
|
85297
|
+
control?.setValue(restore[name] ?? "", { emitEvent: false });
|
|
85298
|
+
}
|
|
85299
|
+
} else {
|
|
85300
|
+
control?.setValue("", { emitEvent: false });
|
|
85301
|
+
control?.disable({ emitEvent: false });
|
|
85302
|
+
}
|
|
85303
|
+
});
|
|
85304
|
+
group2.updateValueAndValidity({ emitEvent: false });
|
|
85305
|
+
}
|
|
85306
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85307
|
+
return new FormGroup({
|
|
85308
|
+
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85309
|
+
// `??`: an explicitly cleared value ('') in a saved draft must be preserved; the entity default applies only when absent.
|
|
85310
|
+
deltaData?.referenceNumber ?? clientMatterNumber ?? ""
|
|
85311
|
+
),
|
|
85312
|
+
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85313
|
+
});
|
|
85314
|
+
}
|
|
85315
|
+
static readOnly(value) {
|
|
85316
|
+
return new FormControl({ value: value ?? "", disabled: true });
|
|
85317
|
+
}
|
|
85318
|
+
};
|
|
85319
|
+
}
|
|
85320
|
+
});
|
|
85321
|
+
|
|
85033
85322
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85034
|
-
var
|
|
85323
|
+
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;
|
|
85035
85324
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85036
85325
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85037
85326
|
init_form_enums();
|
|
85038
85327
|
init_british_columbia_form_enums();
|
|
85039
85328
|
init_BritishColumbiaConstants();
|
|
85040
|
-
|
|
85329
|
+
Controls3 = BCChangeOfDirectorsFormControls;
|
|
85041
85330
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85042
85331
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85043
85332
|
type: FormType.Text,
|
|
@@ -85045,31 +85334,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85045
85334
|
class: className,
|
|
85046
85335
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85047
85336
|
});
|
|
85048
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85049
|
-
isNotifyByMail = (form) => form.get(
|
|
85337
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
|
|
85338
|
+
isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85050
85339
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85051
85340
|
{
|
|
85052
85341
|
type: FormType.Input,
|
|
85053
85342
|
label: "Client/Matter Number",
|
|
85054
|
-
formControlName:
|
|
85343
|
+
formControlName: Controls3.ClientMatterNumber
|
|
85055
85344
|
},
|
|
85056
85345
|
{
|
|
85057
85346
|
type: FormType.Input,
|
|
85058
85347
|
label: "Docket Number",
|
|
85059
|
-
formControlName:
|
|
85348
|
+
formControlName: Controls3.DocketNumber
|
|
85060
85349
|
}
|
|
85061
85350
|
];
|
|
85062
85351
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85063
|
-
readOnlyRow("Corporation Name",
|
|
85064
|
-
readOnlyRow("Incorporation Number",
|
|
85065
|
-
|
|
85066
|
-
type: FormType.Select,
|
|
85067
|
-
label: "Company Email",
|
|
85068
|
-
formControlName: Controls2.CompanyEmail,
|
|
85069
|
-
required: true,
|
|
85070
|
-
options: [],
|
|
85071
|
-
class: "span-12"
|
|
85072
|
-
}
|
|
85352
|
+
readOnlyRow("Corporation Name", Controls3.CorporationName),
|
|
85353
|
+
readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
|
|
85354
|
+
readOnlyRow("Company Email", Controls3.CompanyEmail)
|
|
85073
85355
|
];
|
|
85074
85356
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85075
85357
|
{
|
|
@@ -85081,16 +85363,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85081
85363
|
{
|
|
85082
85364
|
type: FormType.Checkbox,
|
|
85083
85365
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85084
|
-
formControlName:
|
|
85366
|
+
formControlName: Controls3.DirectorsAddedOrDeleted,
|
|
85085
85367
|
class: "span-12",
|
|
85086
85368
|
onChange: (form) => {
|
|
85087
|
-
form
|
|
85369
|
+
if (!directorsAddedOrDeleted(form)) {
|
|
85370
|
+
form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85371
|
+
}
|
|
85372
|
+
form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85088
85373
|
}
|
|
85089
85374
|
},
|
|
85090
|
-
|
|
85091
|
-
|
|
85092
|
-
|
|
85093
|
-
|
|
85375
|
+
{
|
|
85376
|
+
type: FormType.Date,
|
|
85377
|
+
label: "Date Directors were added or deleted",
|
|
85378
|
+
formControlName: Controls3.ChangeDate,
|
|
85379
|
+
required: true,
|
|
85380
|
+
isVisible: directorsAddedOrDeleted,
|
|
85381
|
+
class: "span-8"
|
|
85382
|
+
},
|
|
85383
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
|
|
85094
85384
|
isVisible: directorsAddedOrDeleted
|
|
85095
85385
|
}),
|
|
85096
85386
|
{
|
|
@@ -85102,34 +85392,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85102
85392
|
}
|
|
85103
85393
|
];
|
|
85104
85394
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85105
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85106
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85395
|
+
readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
|
|
85396
|
+
readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
|
|
85107
85397
|
];
|
|
85108
85398
|
[
|
|
85109
85399
|
{
|
|
85110
85400
|
type: FormType.Select,
|
|
85111
85401
|
label: "Notification Method",
|
|
85112
|
-
formControlName:
|
|
85402
|
+
formControlName: Controls3.NotificationMethod,
|
|
85113
85403
|
required: true,
|
|
85114
85404
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85115
85405
|
needTranslate: true,
|
|
85116
85406
|
class: "span-6",
|
|
85117
|
-
onChange: (form) => form.get(
|
|
85407
|
+
onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85118
85408
|
},
|
|
85119
85409
|
{
|
|
85120
85410
|
type: FormType.Input,
|
|
85121
85411
|
label: "Notification Email",
|
|
85122
|
-
formControlName:
|
|
85412
|
+
formControlName: Controls3.NotificationEmail,
|
|
85123
85413
|
required: true,
|
|
85124
85414
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85125
85415
|
class: "column-3"
|
|
85126
85416
|
},
|
|
85127
85417
|
{
|
|
85128
85418
|
type: FormType.Text,
|
|
85129
|
-
formControlName:
|
|
85419
|
+
formControlName: Controls3.NotificationMailingAddress,
|
|
85130
85420
|
class: "span-12",
|
|
85131
85421
|
isVisible: isNotifyByMail,
|
|
85132
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85422
|
+
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")})`
|
|
85133
85423
|
}
|
|
85134
85424
|
];
|
|
85135
85425
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85142,7 +85432,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85142
85432
|
{
|
|
85143
85433
|
type: FormType.Select,
|
|
85144
85434
|
label: "Annual Report Reminder",
|
|
85145
|
-
formControlName:
|
|
85435
|
+
formControlName: Controls3.AnnualReportReminder,
|
|
85146
85436
|
required: true,
|
|
85147
85437
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85148
85438
|
needTranslate: true,
|
|
@@ -85155,7 +85445,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85155
85445
|
// src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
|
|
85156
85446
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
|
|
85157
85447
|
if (rf & 1) {
|
|
85158
|
-
\u0275\u0275element(0, "alert",
|
|
85448
|
+
\u0275\u0275element(0, "alert", 2);
|
|
85159
85449
|
}
|
|
85160
85450
|
if (rf & 2) {
|
|
85161
85451
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85164,7 +85454,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85164
85454
|
}
|
|
85165
85455
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
|
|
85166
85456
|
if (rf & 1) {
|
|
85167
|
-
\u0275\u0275element(0, "alert",
|
|
85457
|
+
\u0275\u0275element(0, "alert", 3);
|
|
85168
85458
|
}
|
|
85169
85459
|
if (rf & 2) {
|
|
85170
85460
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85174,7 +85464,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85174
85464
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85175
85465
|
if (rf & 1) {
|
|
85176
85466
|
const _r2 = \u0275\u0275getCurrentView();
|
|
85177
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85467
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 10);
|
|
85178
85468
|
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85179
85469
|
\u0275\u0275restoreView(_r2);
|
|
85180
85470
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85192,7 +85482,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85192
85482
|
}
|
|
85193
85483
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85194
85484
|
if (rf & 1) {
|
|
85195
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85485
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p")(3, "strong");
|
|
85196
85486
|
\u0275\u0275text(4);
|
|
85197
85487
|
\u0275\u0275pipe(5, "translate");
|
|
85198
85488
|
\u0275\u0275elementEnd();
|
|
@@ -85204,61 +85494,97 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85204
85494
|
\u0275\u0275elementEnd();
|
|
85205
85495
|
\u0275\u0275text(11);
|
|
85206
85496
|
\u0275\u0275elementEnd();
|
|
85207
|
-
\u0275\
|
|
85208
|
-
\u0275\
|
|
85497
|
+
\u0275\u0275elementStart(12, "p")(13, "strong");
|
|
85498
|
+
\u0275\u0275text(14);
|
|
85499
|
+
\u0275\u0275pipe(15, "translate");
|
|
85500
|
+
\u0275\u0275elementEnd();
|
|
85501
|
+
\u0275\u0275text(16);
|
|
85502
|
+
\u0275\u0275elementEnd()()();
|
|
85209
85503
|
}
|
|
85210
85504
|
if (rf & 2) {
|
|
85211
85505
|
let tmp_9_0;
|
|
85212
85506
|
let tmp_11_0;
|
|
85507
|
+
let tmp_13_0;
|
|
85213
85508
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85214
85509
|
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
85215
85510
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85216
85511
|
\u0275\u0275advance(4);
|
|
85217
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5,
|
|
85512
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 8, "Corporation Name"), ":");
|
|
85218
85513
|
\u0275\u0275advance(2);
|
|
85219
85514
|
\u0275\u0275textInterpolate1(" ", (tmp_9_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_9_0.value, " ");
|
|
85220
85515
|
\u0275\u0275advance(3);
|
|
85221
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10,
|
|
85516
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 10, "Incorporation Number"), ":");
|
|
85222
85517
|
\u0275\u0275advance(2);
|
|
85223
85518
|
\u0275\u0275textInterpolate1(" ", (tmp_11_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_11_0.value, " ");
|
|
85224
|
-
\u0275\u0275advance();
|
|
85225
|
-
\u0275\
|
|
85519
|
+
\u0275\u0275advance(3);
|
|
85520
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
|
|
85521
|
+
\u0275\u0275advance(2);
|
|
85522
|
+
\u0275\u0275textInterpolate1(" ", (tmp_13_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_13_0.value, " ");
|
|
85226
85523
|
}
|
|
85227
85524
|
}
|
|
85228
85525
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85229
85526
|
if (rf & 1) {
|
|
85230
|
-
\u0275\
|
|
85527
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
85528
|
+
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "label");
|
|
85231
85529
|
\u0275\u0275text(3);
|
|
85232
85530
|
\u0275\u0275pipe(4, "translate");
|
|
85233
|
-
\u0275\u0275elementStart(5, "
|
|
85234
|
-
\u0275\u0275text(6);
|
|
85235
|
-
\u0275\u0275elementEnd()()
|
|
85236
|
-
\u0275\u0275elementStart(7, "
|
|
85237
|
-
\u0275\
|
|
85238
|
-
|
|
85531
|
+
\u0275\u0275elementStart(5, "span");
|
|
85532
|
+
\u0275\u0275text(6, "*");
|
|
85533
|
+
\u0275\u0275elementEnd()();
|
|
85534
|
+
\u0275\u0275elementStart(7, "mat-form-field", 17)(8, "input", 18);
|
|
85535
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
|
|
85536
|
+
\u0275\u0275restoreView(_r7);
|
|
85537
|
+
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85538
|
+
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85539
|
+
})("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
|
|
85540
|
+
\u0275\u0275restoreView(_r7);
|
|
85541
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85542
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85543
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85544
|
+
});
|
|
85239
85545
|
\u0275\u0275elementEnd();
|
|
85240
|
-
\u0275\
|
|
85546
|
+
\u0275\u0275elementStart(9, "button", 19);
|
|
85547
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
|
|
85548
|
+
\u0275\u0275restoreView(_r7);
|
|
85549
|
+
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85550
|
+
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85551
|
+
});
|
|
85552
|
+
\u0275\u0275element(10, "span", 20);
|
|
85553
|
+
\u0275\u0275elementEnd();
|
|
85554
|
+
\u0275\u0275element(11, "mat-datepicker", null, 0);
|
|
85555
|
+
\u0275\u0275elementEnd();
|
|
85556
|
+
\u0275\u0275elementStart(13, "p", 21);
|
|
85557
|
+
\u0275\u0275text(14);
|
|
85558
|
+
\u0275\u0275pipe(15, "translate");
|
|
85559
|
+
\u0275\u0275elementEnd()();
|
|
85560
|
+
\u0275\u0275elementStart(16, "p", 22)(17, "strong");
|
|
85561
|
+
\u0275\u0275text(18);
|
|
85562
|
+
\u0275\u0275pipe(19, "translate");
|
|
85563
|
+
\u0275\u0275elementEnd();
|
|
85564
|
+
\u0275\u0275text(20);
|
|
85241
85565
|
\u0275\u0275elementEnd()();
|
|
85242
85566
|
}
|
|
85243
85567
|
if (rf & 2) {
|
|
85244
|
-
let
|
|
85245
|
-
|
|
85568
|
+
let tmp_13_0;
|
|
85569
|
+
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85246
85570
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85247
85571
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85248
85572
|
\u0275\u0275advance(3);
|
|
85249
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4,
|
|
85250
|
-
\u0275\u0275advance(
|
|
85251
|
-
\u0275\
|
|
85252
|
-
\u0275\u0275advance(
|
|
85253
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(
|
|
85573
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 6, "Date Directors were added or deleted"), "");
|
|
85574
|
+
\u0275\u0275advance(5);
|
|
85575
|
+
\u0275\u0275property("matDatepicker", changeDatePicker_r8)("formControlName", ctx_r0.controls.ChangeDate);
|
|
85576
|
+
\u0275\u0275advance(6);
|
|
85577
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(15, 8, "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."), " ");
|
|
85578
|
+
\u0275\u0275advance(4);
|
|
85579
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(19, 10, "Filing Fee"), ":");
|
|
85254
85580
|
\u0275\u0275advance(2);
|
|
85255
|
-
\u0275\u0275textInterpolate1(" ", (
|
|
85581
|
+
\u0275\u0275textInterpolate1(" ", (tmp_13_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_13_0.value, " ");
|
|
85256
85582
|
}
|
|
85257
85583
|
}
|
|
85258
85584
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85259
85585
|
if (rf & 1) {
|
|
85260
85586
|
const _r5 = \u0275\u0275getCurrentView();
|
|
85261
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85587
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 12)(2, "div", 13)(3, "strong");
|
|
85262
85588
|
\u0275\u0275text(4);
|
|
85263
85589
|
\u0275\u0275pipe(5, "translate");
|
|
85264
85590
|
\u0275\u0275elementEnd();
|
|
@@ -85268,16 +85594,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85268
85594
|
\u0275\u0275elementStart(8, "mat-checkbox", 14);
|
|
85269
85595
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85270
85596
|
let tmp_7_0;
|
|
85597
|
+
let tmp_8_0;
|
|
85271
85598
|
\u0275\u0275restoreView(_r5);
|
|
85272
85599
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85273
85600
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85274
|
-
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.
|
|
85601
|
+
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.reset(((tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_7_0.value) ? (tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.value : null, { emitEvent: false });
|
|
85602
|
+
(tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85275
85603
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85276
85604
|
});
|
|
85277
85605
|
\u0275\u0275text(9);
|
|
85278
85606
|
\u0275\u0275pipe(10, "translate");
|
|
85279
85607
|
\u0275\u0275elementEnd();
|
|
85280
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template,
|
|
85608
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 15);
|
|
85281
85609
|
\u0275\u0275elementEnd()();
|
|
85282
85610
|
}
|
|
85283
85611
|
if (rf & 2) {
|
|
@@ -85301,7 +85629,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85301
85629
|
}
|
|
85302
85630
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85303
85631
|
if (rf & 1) {
|
|
85304
|
-
\u0275\u0275elementStart(0, "span",
|
|
85632
|
+
\u0275\u0275elementStart(0, "span", 27);
|
|
85305
85633
|
\u0275\u0275text(1);
|
|
85306
85634
|
\u0275\u0275pipe(2, "translate");
|
|
85307
85635
|
\u0275\u0275elementEnd();
|
|
@@ -85313,7 +85641,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85313
85641
|
}
|
|
85314
85642
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85315
85643
|
if (rf & 1) {
|
|
85316
|
-
\u0275\u0275elementStart(0, "span",
|
|
85644
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85317
85645
|
\u0275\u0275text(1);
|
|
85318
85646
|
\u0275\u0275pipe(2, "translate");
|
|
85319
85647
|
\u0275\u0275elementEnd();
|
|
@@ -85325,15 +85653,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85325
85653
|
}
|
|
85326
85654
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
|
|
85327
85655
|
if (rf & 1) {
|
|
85328
|
-
\u0275\u0275elementStart(0, "div",
|
|
85656
|
+
\u0275\u0275elementStart(0, "div", 25)(1, "div", 26)(2, "strong");
|
|
85329
85657
|
\u0275\u0275text(3);
|
|
85330
85658
|
\u0275\u0275elementEnd();
|
|
85331
|
-
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span",
|
|
85659
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 27)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 28);
|
|
85332
85660
|
\u0275\u0275elementEnd();
|
|
85333
|
-
\u0275\u0275elementStart(6, "div",
|
|
85661
|
+
\u0275\u0275elementStart(6, "div", 26);
|
|
85334
85662
|
\u0275\u0275text(7);
|
|
85335
85663
|
\u0275\u0275elementEnd();
|
|
85336
|
-
\u0275\u0275elementStart(8, "div",
|
|
85664
|
+
\u0275\u0275elementStart(8, "div", 26);
|
|
85337
85665
|
\u0275\u0275text(9);
|
|
85338
85666
|
\u0275\u0275elementEnd()();
|
|
85339
85667
|
}
|
|
@@ -85342,43 +85670,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85342
85670
|
let tmp_22_0;
|
|
85343
85671
|
let tmp_23_0;
|
|
85344
85672
|
\u0275\u0275nextContext();
|
|
85345
|
-
const
|
|
85673
|
+
const directorForm_r9 = \u0275\u0275readContextLet(0);
|
|
85346
85674
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85347
85675
|
\u0275\u0275advance(3);
|
|
85348
|
-
\u0275\u0275textInterpolate((tmp_19_0 =
|
|
85676
|
+
\u0275\u0275textInterpolate((tmp_19_0 = directorForm_r9.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_19_0.value);
|
|
85349
85677
|
\u0275\u0275advance();
|
|
85350
|
-
\u0275\u0275conditional(ctx_r0.isNewDirector(
|
|
85678
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r9) ? 4 : -1);
|
|
85351
85679
|
\u0275\u0275advance();
|
|
85352
|
-
\u0275\u0275conditional(ctx_r0.isCeasedDirector(
|
|
85680
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r9) ? 5 : -1);
|
|
85353
85681
|
\u0275\u0275advance(2);
|
|
85354
|
-
\u0275\u0275textInterpolate((tmp_22_0 =
|
|
85682
|
+
\u0275\u0275textInterpolate((tmp_22_0 = directorForm_r9.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_22_0.value);
|
|
85355
85683
|
\u0275\u0275advance(2);
|
|
85356
|
-
\u0275\u0275textInterpolate((tmp_23_0 =
|
|
85684
|
+
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85357
85685
|
}
|
|
85358
85686
|
}
|
|
85359
85687
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
|
|
85360
85688
|
if (rf & 1) {
|
|
85361
85689
|
\u0275\u0275declareLet(0);
|
|
85362
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div",
|
|
85690
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 25);
|
|
85363
85691
|
}
|
|
85364
85692
|
if (rf & 2) {
|
|
85365
|
-
const \u0275$
|
|
85366
|
-
const
|
|
85693
|
+
const \u0275$index_115_r10 = ctx.$index;
|
|
85694
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_115_r10));
|
|
85367
85695
|
\u0275\u0275advance();
|
|
85368
|
-
\u0275\u0275conditional(
|
|
85696
|
+
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85369
85697
|
}
|
|
85370
85698
|
}
|
|
85371
85699
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
|
|
85372
85700
|
if (rf & 1) {
|
|
85373
|
-
\u0275\u0275elementStart(0, "div",
|
|
85701
|
+
\u0275\u0275elementStart(0, "div", 8)(1, "div", 23)(2, "div", 24);
|
|
85374
85702
|
\u0275\u0275text(3);
|
|
85375
85703
|
\u0275\u0275pipe(4, "translate");
|
|
85376
85704
|
\u0275\u0275elementEnd();
|
|
85377
|
-
\u0275\u0275elementStart(5, "div",
|
|
85705
|
+
\u0275\u0275elementStart(5, "div", 24);
|
|
85378
85706
|
\u0275\u0275text(6);
|
|
85379
85707
|
\u0275\u0275pipe(7, "translate");
|
|
85380
85708
|
\u0275\u0275elementEnd();
|
|
85381
|
-
\u0275\u0275elementStart(8, "div",
|
|
85709
|
+
\u0275\u0275elementStart(8, "div", 24);
|
|
85382
85710
|
\u0275\u0275text(9);
|
|
85383
85711
|
\u0275\u0275pipe(10, "translate");
|
|
85384
85712
|
\u0275\u0275elementEnd()();
|
|
@@ -85387,7 +85715,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85387
85715
|
}
|
|
85388
85716
|
if (rf & 2) {
|
|
85389
85717
|
\u0275\u0275nextContext();
|
|
85390
|
-
const
|
|
85718
|
+
const directorsArray_r12 = \u0275\u0275readContextLet(10);
|
|
85391
85719
|
\u0275\u0275advance(3);
|
|
85392
85720
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85393
85721
|
\u0275\u0275advance(3);
|
|
@@ -85395,12 +85723,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85395
85723
|
\u0275\u0275advance(3);
|
|
85396
85724
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85397
85725
|
\u0275\u0275advance(2);
|
|
85398
|
-
\u0275\u0275repeater(
|
|
85726
|
+
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85399
85727
|
}
|
|
85400
85728
|
}
|
|
85401
85729
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85402
85730
|
if (rf & 1) {
|
|
85403
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85731
|
+
\u0275\u0275elementStart(0, "h2", 9);
|
|
85404
85732
|
\u0275\u0275text(1);
|
|
85405
85733
|
\u0275\u0275pipe(2, "translate");
|
|
85406
85734
|
\u0275\u0275elementEnd();
|
|
@@ -85412,33 +85740,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85412
85740
|
}
|
|
85413
85741
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85414
85742
|
if (rf & 1) {
|
|
85415
|
-
const
|
|
85416
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85743
|
+
const _r13 = \u0275\u0275getCurrentView();
|
|
85744
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 29)(2, "p");
|
|
85417
85745
|
\u0275\u0275text(3);
|
|
85418
85746
|
\u0275\u0275pipe(4, "translate");
|
|
85419
85747
|
\u0275\u0275elementEnd();
|
|
85420
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85748
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 30);
|
|
85421
85749
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
|
|
85422
|
-
\u0275\u0275restoreView(
|
|
85750
|
+
\u0275\u0275restoreView(_r13);
|
|
85423
85751
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85424
|
-
const
|
|
85425
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder",
|
|
85752
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85753
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
|
|
85426
85754
|
});
|
|
85427
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85755
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 31);
|
|
85428
85756
|
\u0275\u0275text(7);
|
|
85429
85757
|
\u0275\u0275pipe(8, "translate");
|
|
85430
85758
|
\u0275\u0275elementEnd();
|
|
85431
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85759
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 31);
|
|
85432
85760
|
\u0275\u0275text(10);
|
|
85433
85761
|
\u0275\u0275pipe(11, "translate");
|
|
85434
85762
|
\u0275\u0275elementEnd()()()();
|
|
85435
85763
|
}
|
|
85436
85764
|
if (rf & 2) {
|
|
85437
85765
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85438
|
-
const
|
|
85766
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85439
85767
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85440
85768
|
\u0275\u0275advance();
|
|
85441
|
-
\u0275\u0275property("formGroup",
|
|
85769
|
+
\u0275\u0275property("formGroup", annualReportReminder_r14);
|
|
85442
85770
|
\u0275\u0275advance(2);
|
|
85443
85771
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 10, "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."), " ");
|
|
85444
85772
|
\u0275\u0275advance(2);
|
|
@@ -85471,7 +85799,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85471
85799
|
init_british_columbia_form_enums();
|
|
85472
85800
|
init_british_columbia_change_of_directors_form_constants();
|
|
85473
85801
|
init_BritishColumbiaConstants();
|
|
85474
|
-
init_british_columbia_formation_form_helper();
|
|
85475
85802
|
init_core();
|
|
85476
85803
|
init_forms();
|
|
85477
85804
|
BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
|
|
@@ -85487,13 +85814,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85487
85814
|
controls = BCChangeOfDirectorsFormControls;
|
|
85488
85815
|
annualReportReminderOption = BCAnnualReportReminder;
|
|
85489
85816
|
referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
85490
|
-
corporationDetailsFields =
|
|
85491
|
-
const corporationDetails = this.form().get(this.groups.CorporationDetails);
|
|
85492
|
-
const currentEmail = corporationDetails?.get(this.controls.CompanyEmail)?.value;
|
|
85493
|
-
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
85494
|
-
return BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
85495
|
-
});
|
|
85496
|
-
companyEmailFields = computed(() => this.corporationDetailsFields().filter((field) => field.formControlName === this.controls.CompanyEmail));
|
|
85817
|
+
corporationDetailsFields = BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
85497
85818
|
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85498
85819
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85499
85820
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
@@ -85506,11 +85827,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85506
85827
|
const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
|
|
85507
85828
|
return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
|
|
85508
85829
|
}
|
|
85509
|
-
getEffectiveDateDisplay(value) {
|
|
85510
|
-
const date = String(value ?? "").split("T")[0];
|
|
85511
|
-
const [year, month, day] = date.split("-");
|
|
85512
|
-
return year && month && day ? `${year}-${month}-${day}` : "\u2014";
|
|
85513
|
-
}
|
|
85514
85830
|
onSectionValidChange(section, valid) {
|
|
85515
85831
|
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85516
85832
|
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
@@ -85536,23 +85852,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85536
85852
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85537
85853
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85538
85854
|
};
|
|
85539
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [[1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [
|
|
85855
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [["changeDatePicker", ""], [1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], ["appearance", "outline"], ["matInput", "", "placeholder", "dd/mm/yyyy", "readonly", "", 3, "click", "dateChange", "matDatepicker", "formControlName"], ["type", "button", "aria-label", "Open date picker", 1, "calendar-trigger", 3, "click"], ["aria-hidden", "true", 1, "calendar-icon"], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85540
85856
|
if (rf & 1) {
|
|
85541
|
-
\u0275\u0275elementStart(0, "div",
|
|
85542
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert",
|
|
85543
|
-
\u0275\u0275elementStart(3, "div",
|
|
85857
|
+
\u0275\u0275elementStart(0, "div", 1);
|
|
85858
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
85859
|
+
\u0275\u0275elementStart(3, "div", 4);
|
|
85544
85860
|
\u0275\u0275declareLet(4);
|
|
85545
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card",
|
|
85861
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 5);
|
|
85546
85862
|
\u0275\u0275declareLet(6);
|
|
85547
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template,
|
|
85863
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 17, 14, "expandable-card", 6);
|
|
85548
85864
|
\u0275\u0275declareLet(8);
|
|
85549
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card",
|
|
85865
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85550
85866
|
\u0275\u0275declareLet(10);
|
|
85551
|
-
\u0275\u0275elementStart(11, "expandable-card",
|
|
85552
|
-
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div",
|
|
85867
|
+
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85868
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 8)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 9);
|
|
85553
85869
|
\u0275\u0275elementEnd();
|
|
85554
85870
|
\u0275\u0275declareLet(14);
|
|
85555
|
-
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card",
|
|
85871
|
+
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 7);
|
|
85556
85872
|
\u0275\u0275elementEnd()();
|
|
85557
85873
|
}
|
|
85558
85874
|
if (rf & 2) {
|
|
@@ -85561,42 +85877,47 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85561
85877
|
\u0275\u0275advance();
|
|
85562
85878
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85563
85879
|
\u0275\u0275advance(2);
|
|
85564
|
-
const
|
|
85880
|
+
const referenceNumbers_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85565
85881
|
\u0275\u0275advance();
|
|
85566
|
-
\u0275\u0275conditional(
|
|
85882
|
+
\u0275\u0275conditional(referenceNumbers_r15 ? 5 : -1);
|
|
85567
85883
|
\u0275\u0275advance();
|
|
85568
|
-
const
|
|
85884
|
+
const corporationDetails_r16 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85569
85885
|
\u0275\u0275advance();
|
|
85570
|
-
\u0275\u0275conditional(
|
|
85886
|
+
\u0275\u0275conditional(corporationDetails_r16 ? 7 : -1);
|
|
85571
85887
|
\u0275\u0275advance();
|
|
85572
|
-
const
|
|
85888
|
+
const filingDetails_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
|
|
85573
85889
|
\u0275\u0275advance();
|
|
85574
|
-
\u0275\u0275conditional(
|
|
85890
|
+
\u0275\u0275conditional(filingDetails_r17 ? 9 : -1);
|
|
85575
85891
|
\u0275\u0275advance();
|
|
85576
|
-
const
|
|
85892
|
+
const directorsArray_r18 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85577
85893
|
\u0275\u0275advance();
|
|
85578
85894
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85579
85895
|
\u0275\u0275advance();
|
|
85580
|
-
\u0275\u0275conditional(
|
|
85896
|
+
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 12 : 13);
|
|
85581
85897
|
\u0275\u0275advance(2);
|
|
85582
|
-
const
|
|
85898
|
+
const annualReportReminder_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85583
85899
|
\u0275\u0275advance();
|
|
85584
|
-
\u0275\u0275conditional(
|
|
85900
|
+
\u0275\u0275conditional(annualReportReminder_r19 ? 15 : -1);
|
|
85585
85901
|
}
|
|
85586
85902
|
}, dependencies: [
|
|
85587
85903
|
FilingFormGroupComponent,
|
|
85588
85904
|
AlertComponent,
|
|
85589
85905
|
ExpandableCardComponent,
|
|
85590
85906
|
MatCheckbox,
|
|
85907
|
+
MatDatepicker,
|
|
85908
|
+
MatDatepickerInput,
|
|
85909
|
+
MatFormField,
|
|
85910
|
+
MatInput,
|
|
85591
85911
|
MatRadioButton,
|
|
85592
85912
|
MatRadioGroup,
|
|
85593
85913
|
ReactiveFormsModule,
|
|
85914
|
+
DefaultValueAccessor,
|
|
85594
85915
|
NgControlStatus,
|
|
85595
85916
|
NgControlStatusGroup,
|
|
85596
85917
|
FormGroupDirective,
|
|
85597
85918
|
FormControlName,
|
|
85598
85919
|
TranslatePipe
|
|
85599
|
-
], styles: ['\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n[_nghost-%COMP%] .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 20px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-radio-button, \n[_nghost-%COMP%] .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display:
|
|
85920
|
+
], styles: ['\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n[_nghost-%COMP%] .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 20px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-radio-button, \n[_nghost-%COMP%] .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n color: #e22222;\n}\n[_nghost-%COMP%] .hint[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%], \n[_nghost-%COMP%] .mailing-copy[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: contents;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child), \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n[_nghost-%COMP%] .status-pill[_ngcontent-%COMP%] {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n[_nghost-%COMP%] .status-pill.new[_ngcontent-%COMP%] {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n[_nghost-%COMP%] .status-pill.ceased[_ngcontent-%COMP%] {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n[_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 48px;\n}\n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] {\n position: relative;\n width: 100%;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .calendar-icon {\n border: 2px solid #4b5563;\n border-radius: 3px;\n box-sizing: border-box;\n display: block;\n height: 17px;\n position: relative;\n width: 17px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .calendar-icon::before {\n border-top: 2px solid #4b5563;\n content: "";\n left: 0;\n position: absolute;\n right: 0;\n top: 4px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .calendar-icon::after {\n background: #4b5563;\n border-radius: 1px;\n box-shadow: 6px 0 #4b5563;\n content: "";\n height: 3px;\n left: 3px;\n position: absolute;\n top: -3px;\n width: 2px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .calendar-trigger[_ngcontent-%COMP%] {\n align-items: center;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: flex;\n height: 40px;\n justify-content: center;\n padding: 0;\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translateY(-50%);\n width: 40px;\n z-index: 2;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .calendar-trigger[_ngcontent-%COMP%]:hover {\n background: #f3f4f6;\n border-radius: 50%;\n}\n@media (max-width: 900px) {\n [_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%], \n [_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n [_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] {\n display: none;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border: 0;\n padding: 14px 0;\n }\n [_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */'], changeDetection: 0 });
|
|
85600
85921
|
};
|
|
85601
85922
|
(() => {
|
|
85602
85923
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsFormComponent, [{
|
|
@@ -85657,11 +85978,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85657
85978
|
<strong>{{ 'Incorporation Number' | translate }}:</strong>\r
|
|
85658
85979
|
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
|
|
85659
85980
|
</p>\r
|
|
85660
|
-
<
|
|
85661
|
-
|
|
85662
|
-
|
|
85663
|
-
|
|
85664
|
-
/>
|
|
85981
|
+
<p>\r
|
|
85982
|
+
<strong>{{ 'Company Email' | translate }}:</strong>\r
|
|
85983
|
+
{{ corporationDetails.get(controls.CompanyEmail)?.value }}\r
|
|
85984
|
+
</p>\r
|
|
85665
85985
|
</div>\r
|
|
85666
85986
|
</expandable-card>\r
|
|
85667
85987
|
}\r
|
|
@@ -85685,28 +86005,56 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85685
86005
|
\r
|
|
85686
86006
|
<mat-checkbox\r
|
|
85687
86007
|
class="directors-change-checkbox"\r
|
|
85688
|
-
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85689
|
-
(change)="
|
|
85690
|
-
filingDetails.get(controls.ChangeDate)?.
|
|
85691
|
-
|
|
85692
|
-
|
|
86008
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"\r
|
|
86009
|
+
(change)="\r
|
|
86010
|
+
filingDetails.get(controls.ChangeDate)?.reset(\r
|
|
86011
|
+
filingDetails.get(controls.DirectorsAddedOrDeleted)?.value\r
|
|
86012
|
+
? filingDetails.get(controls.ChangeDate)?.value\r
|
|
86013
|
+
: null,\r
|
|
86014
|
+
{ emitEvent: false }\r
|
|
86015
|
+
);\r
|
|
86016
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
|
|
86017
|
+
onSectionValidChange('filingDetails', filingDetails.valid)\r
|
|
86018
|
+
"\r
|
|
85693
86019
|
>\r
|
|
85694
86020
|
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
|
|
85695
86021
|
</mat-checkbox>\r
|
|
85696
86022
|
\r
|
|
85697
86023
|
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
85698
|
-
<div class="filing-details-grid"
|
|
85699
|
-
<div class="date-field"
|
|
85700
|
-
<
|
|
85701
|
-
{{
|
|
85702
|
-
|
|
85703
|
-
|
|
85704
|
-
|
|
85705
|
-
|
|
85706
|
-
|
|
85707
|
-
|
|
85708
|
-
|
|
85709
|
-
|
|
86024
|
+
<div class="filing-details-grid">\r
|
|
86025
|
+
<div class="date-field">\r
|
|
86026
|
+
<label>\r
|
|
86027
|
+
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>\r
|
|
86028
|
+
</label>\r
|
|
86029
|
+
<mat-form-field appearance="outline">\r
|
|
86030
|
+
<input\r
|
|
86031
|
+
matInput\r
|
|
86032
|
+
[matDatepicker]="changeDatePicker"\r
|
|
86033
|
+
[formControlName]="controls.ChangeDate"\r
|
|
86034
|
+
placeholder="dd/mm/yyyy"\r
|
|
86035
|
+
readonly\r
|
|
86036
|
+
(click)="changeDatePicker.open()"\r
|
|
86037
|
+
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
|
|
86038
|
+
/>\r
|
|
86039
|
+
<button\r
|
|
86040
|
+
type="button"\r
|
|
86041
|
+
class="calendar-trigger"\r
|
|
86042
|
+
aria-label="Open date picker"\r
|
|
86043
|
+
(click)="changeDatePicker.open()"\r
|
|
86044
|
+
>\r
|
|
86045
|
+
<span class="calendar-icon" aria-hidden="true"></span>\r
|
|
86046
|
+
</button>\r
|
|
86047
|
+
<mat-datepicker #changeDatePicker></mat-datepicker>\r
|
|
86048
|
+
</mat-form-field>\r
|
|
86049
|
+
<p class="hint">\r
|
|
86050
|
+
{{\r
|
|
86051
|
+
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."\r
|
|
86052
|
+
| translate\r
|
|
86053
|
+
}}\r
|
|
86054
|
+
</p>\r
|
|
86055
|
+
</div>\r
|
|
86056
|
+
\r
|
|
86057
|
+
<p class="filing-fee">\r
|
|
85710
86058
|
<strong>{{ 'Filing Fee' | translate }}:</strong>\r
|
|
85711
86059
|
{{ filingDetails.get(controls.FilingFee)?.value }}\r
|
|
85712
86060
|
</p>\r
|
|
@@ -85718,8 +86066,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85718
86066
|
\r
|
|
85719
86067
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85720
86068
|
\r
|
|
85721
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.Directors"
|
|
85722
|
-
@if (directorsArray && directorsArray.length) {
|
|
86069
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
|
|
86070
|
+
@if (directorsArray && directorsArray.length) {\r
|
|
85723
86071
|
<div class="directors-table" role="table">\r
|
|
85724
86072
|
<div class="directors-table-header" role="row">\r
|
|
85725
86073
|
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
@@ -85782,11 +86130,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85782
86130
|
}\r
|
|
85783
86131
|
</div>\r
|
|
85784
86132
|
</div>\r
|
|
85785
|
-
`, styles: ['/* src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.scss */\n:host {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n:host .change-of-directors-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n:host .change-of-directors-form-content {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n:host ::ng-deep .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n:host ::ng-deep .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n:host ::ng-deep .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n:host ::ng-deep .expandable-card-content {\n padding-top: 20px !important;\n}\n:host ::ng-deep .filling-form-fields {\n column-gap: 42px !important;\n}\n:host ::ng-deep .filling-form-fields-item-label,\n:host ::ng-deep .mat-mdc-radio-button .mdc-label,\n:host ::ng-deep .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host ::ng-deep .mat-mdc-radio-button,\n:host ::ng-deep .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n:host ::ng-deep .mat-mdc-form-field {\n width: 100%;\n}\n:host ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n:host ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .readonly-summary {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .readonly-summary p {\n margin: 0;\n}\n:host .readonly-summary strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .filing-details,\n:host .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .note-box {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n:host .note-box strong {\n font-weight: 700;\n}\n:host .directors-change-checkbox {\n align-self: flex-start;\n}\n:host .filing-details-grid {\n display:
|
|
86133
|
+
`, styles: ['/* src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.scss */\n:host {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n:host .change-of-directors-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n:host .change-of-directors-form-content {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n:host ::ng-deep .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n:host ::ng-deep .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n:host ::ng-deep .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n:host ::ng-deep .expandable-card-content {\n padding-top: 20px !important;\n}\n:host ::ng-deep .filling-form-fields {\n column-gap: 42px !important;\n}\n:host ::ng-deep .filling-form-fields-item-label,\n:host ::ng-deep .mat-mdc-radio-button .mdc-label,\n:host ::ng-deep .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host ::ng-deep .mat-mdc-radio-button,\n:host ::ng-deep .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n:host ::ng-deep .mat-mdc-form-field {\n width: 100%;\n}\n:host ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n:host ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .readonly-summary {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .readonly-summary p {\n margin: 0;\n}\n:host .readonly-summary strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .filing-details,\n:host .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .note-box {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n:host .note-box strong {\n font-weight: 700;\n}\n:host .directors-change-checkbox {\n align-self: flex-start;\n}\n:host .filing-details-grid {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n:host .date-field,\n:host .email-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .date-field label,\n:host .email-field label {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .date-field span,\n:host .email-field span {\n color: #e22222;\n}\n:host .hint,\n:host .annual-reminder p,\n:host .mailing-copy {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .filing-fee {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n:host .filing-fee strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .directors-table {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n:host .directors-table-header,\n:host .directors-table-row {\n display: contents;\n}\n:host .directors-table-header > div,\n:host .directors-table-row > div {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n:host .directors-table-header > div:not(:first-child),\n:host .directors-table-row > div:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n:host .directors-table-header > div {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n:host .directors-table-row strong {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n:host .status-pill {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n:host .status-pill.new {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n:host .status-pill.ceased {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n:host mat-radio-group {\n display: flex;\n gap: 48px;\n}\n:host .annual-reminder mat-radio-group {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n:host .date-field mat-form-field {\n position: relative;\n width: 100%;\n}\n:host .date-field ::ng-deep .calendar-icon {\n border: 2px solid #4b5563;\n border-radius: 3px;\n box-sizing: border-box;\n display: block;\n height: 17px;\n position: relative;\n width: 17px;\n}\n:host .date-field ::ng-deep .calendar-icon::before {\n border-top: 2px solid #4b5563;\n content: "";\n left: 0;\n position: absolute;\n right: 0;\n top: 4px;\n}\n:host .date-field ::ng-deep .calendar-icon::after {\n background: #4b5563;\n border-radius: 1px;\n box-shadow: 6px 0 #4b5563;\n content: "";\n height: 3px;\n left: 3px;\n position: absolute;\n top: -3px;\n width: 2px;\n}\n:host .date-field .calendar-trigger {\n align-items: center;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: flex;\n height: 40px;\n justify-content: center;\n padding: 0;\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translateY(-50%);\n width: 40px;\n z-index: 2;\n}\n:host .date-field .calendar-trigger:hover {\n background: #f3f4f6;\n border-radius: 50%;\n}\n@media (max-width: 900px) {\n :host .filing-details-grid,\n :host .directors-table {\n grid-template-columns: 1fr;\n }\n :host .directors-table-header {\n display: none;\n }\n :host .directors-table-row {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n :host .directors-table-row > div {\n border: 0;\n padding: 14px 0;\n }\n :host mat-radio-group {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */\n'] }]
|
|
85786
86134
|
}], null, null);
|
|
85787
86135
|
})();
|
|
85788
86136
|
(() => {
|
|
85789
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber:
|
|
86137
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 59 });
|
|
85790
86138
|
})();
|
|
85791
86139
|
}
|
|
85792
86140
|
});
|
|
@@ -86026,7 +86374,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86026
86374
|
init_BritishColumbiaConstants();
|
|
86027
86375
|
init_british_columbia_formation_form_helper();
|
|
86028
86376
|
BC_NAME_TYPE_OPTIONS = Object.values(BCNameType).filter((v) => typeof v === "number").map((v) => ({ label: BCNameTypeLabel[v], value: v }));
|
|
86029
|
-
labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("
|
|
86377
|
+
labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("None")}`;
|
|
86030
86378
|
isNamed = (form) => form.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named;
|
|
86031
86379
|
BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
86032
86380
|
{
|
|
@@ -86230,6 +86578,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86230
86578
|
type: FormType.Input,
|
|
86231
86579
|
label: "Province / State",
|
|
86232
86580
|
formControlName: BCFormationFormControls.ProvinceState,
|
|
86581
|
+
required: true,
|
|
86233
86582
|
class: "column-2"
|
|
86234
86583
|
},
|
|
86235
86584
|
{
|
|
@@ -87312,6 +87661,1000 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87312
87661
|
}
|
|
87313
87662
|
});
|
|
87314
87663
|
|
|
87664
|
+
// src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
|
|
87665
|
+
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;
|
|
87666
|
+
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87667
|
+
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87668
|
+
init_form_enums();
|
|
87669
|
+
init_british_columbia_form_enums();
|
|
87670
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87671
|
+
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87672
|
+
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87673
|
+
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87674
|
+
type: FormType.Text,
|
|
87675
|
+
formControlName: control,
|
|
87676
|
+
class: className,
|
|
87677
|
+
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87678
|
+
});
|
|
87679
|
+
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87680
|
+
addressGroup = (form, control) => form.get(control);
|
|
87681
|
+
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87682
|
+
{
|
|
87683
|
+
type: FormType.Input,
|
|
87684
|
+
label: "Client/Matter Number",
|
|
87685
|
+
formControlName: Controls4.ClientMatterNumber
|
|
87686
|
+
},
|
|
87687
|
+
{
|
|
87688
|
+
type: FormType.Input,
|
|
87689
|
+
label: "Docket Number",
|
|
87690
|
+
formControlName: Controls4.DocketNumber
|
|
87691
|
+
}
|
|
87692
|
+
];
|
|
87693
|
+
effectiveDateNote = {
|
|
87694
|
+
type: FormType.Text,
|
|
87695
|
+
formControlName: "",
|
|
87696
|
+
class: "span-12 note-box",
|
|
87697
|
+
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.")}`
|
|
87698
|
+
};
|
|
87699
|
+
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = (emailOptions) => [
|
|
87700
|
+
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87701
|
+
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87702
|
+
{
|
|
87703
|
+
type: FormType.Select,
|
|
87704
|
+
label: "Company Email",
|
|
87705
|
+
formControlName: Controls4.CompanyEmail,
|
|
87706
|
+
required: true,
|
|
87707
|
+
options: emailOptions,
|
|
87708
|
+
class: "span-6"
|
|
87709
|
+
},
|
|
87710
|
+
effectiveDateNote
|
|
87711
|
+
];
|
|
87712
|
+
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87713
|
+
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87714
|
+
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87715
|
+
];
|
|
87716
|
+
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87717
|
+
{
|
|
87718
|
+
type: FormType.Input,
|
|
87719
|
+
label: "Address Line 1",
|
|
87720
|
+
formControlName: Controls4.AddressLine1,
|
|
87721
|
+
required: true,
|
|
87722
|
+
class: "span-6"
|
|
87723
|
+
},
|
|
87724
|
+
{
|
|
87725
|
+
type: FormType.Input,
|
|
87726
|
+
label: "Address Line 2",
|
|
87727
|
+
formControlName: Controls4.AddressLine2,
|
|
87728
|
+
class: "span-6"
|
|
87729
|
+
},
|
|
87730
|
+
{
|
|
87731
|
+
type: FormType.Input,
|
|
87732
|
+
label: "City",
|
|
87733
|
+
formControlName: Controls4.City,
|
|
87734
|
+
required: true,
|
|
87735
|
+
class: "span-6"
|
|
87736
|
+
},
|
|
87737
|
+
{
|
|
87738
|
+
type: FormType.Input,
|
|
87739
|
+
label: "Postal Code",
|
|
87740
|
+
formControlName: Controls4.PostalCode,
|
|
87741
|
+
required: true,
|
|
87742
|
+
class: "span-6"
|
|
87743
|
+
},
|
|
87744
|
+
{
|
|
87745
|
+
type: FormType.Input,
|
|
87746
|
+
label: "Province",
|
|
87747
|
+
formControlName: Controls4.Province,
|
|
87748
|
+
readonly: true,
|
|
87749
|
+
class: "span-6"
|
|
87750
|
+
},
|
|
87751
|
+
{
|
|
87752
|
+
type: FormType.Input,
|
|
87753
|
+
label: "Country",
|
|
87754
|
+
formControlName: Controls4.Country,
|
|
87755
|
+
readonly: true,
|
|
87756
|
+
class: "span-6"
|
|
87757
|
+
}
|
|
87758
|
+
];
|
|
87759
|
+
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87760
|
+
{
|
|
87761
|
+
type: FormType.Text,
|
|
87762
|
+
formControlName: "",
|
|
87763
|
+
class: "span-12",
|
|
87764
|
+
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.")
|
|
87765
|
+
}
|
|
87766
|
+
];
|
|
87767
|
+
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87768
|
+
{
|
|
87769
|
+
type: FormType.Checkbox,
|
|
87770
|
+
label: "Same as Mailing Address",
|
|
87771
|
+
formControlName: Controls4.DeliverySameAsMailing,
|
|
87772
|
+
class: "span-12",
|
|
87773
|
+
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87774
|
+
}
|
|
87775
|
+
];
|
|
87776
|
+
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87777
|
+
{
|
|
87778
|
+
type: FormType.Checkbox,
|
|
87779
|
+
label: "Same as Registered Office",
|
|
87780
|
+
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87781
|
+
class: "span-12",
|
|
87782
|
+
onChange: (form) => {
|
|
87783
|
+
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87784
|
+
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87785
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87786
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87787
|
+
}
|
|
87788
|
+
}
|
|
87789
|
+
];
|
|
87790
|
+
}
|
|
87791
|
+
});
|
|
87792
|
+
|
|
87793
|
+
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87794
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87795
|
+
if (rf & 1) {
|
|
87796
|
+
\u0275\u0275element(0, "alert", 1);
|
|
87797
|
+
}
|
|
87798
|
+
if (rf & 2) {
|
|
87799
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87800
|
+
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87801
|
+
}
|
|
87802
|
+
}
|
|
87803
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87804
|
+
if (rf & 1) {
|
|
87805
|
+
\u0275\u0275element(0, "alert", 2);
|
|
87806
|
+
}
|
|
87807
|
+
if (rf & 2) {
|
|
87808
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87809
|
+
\u0275\u0275property("content", ctx_r0.errors());
|
|
87810
|
+
}
|
|
87811
|
+
}
|
|
87812
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87813
|
+
if (rf & 1) {
|
|
87814
|
+
const _r2 = \u0275\u0275getCurrentView();
|
|
87815
|
+
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87816
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87817
|
+
\u0275\u0275restoreView(_r2);
|
|
87818
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87819
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
87820
|
+
});
|
|
87821
|
+
\u0275\u0275elementEnd()();
|
|
87822
|
+
}
|
|
87823
|
+
if (rf & 2) {
|
|
87824
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87825
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
87826
|
+
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87827
|
+
\u0275\u0275advance();
|
|
87828
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87829
|
+
}
|
|
87830
|
+
}
|
|
87831
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
|
|
87832
|
+
if (rf & 1) {
|
|
87833
|
+
const _r4 = \u0275\u0275getCurrentView();
|
|
87834
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
|
|
87835
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87836
|
+
\u0275\u0275restoreView(_r4);
|
|
87837
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87838
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corpDetails", $event));
|
|
87839
|
+
});
|
|
87840
|
+
\u0275\u0275elementEnd()();
|
|
87841
|
+
}
|
|
87842
|
+
if (rf & 2) {
|
|
87843
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87844
|
+
const corporationDetails_r5 = \u0275\u0275readContextLet(6);
|
|
87845
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["corpDetails"] !== false)("title", ctx_r0.groups.CorporationDetails);
|
|
87846
|
+
\u0275\u0275advance();
|
|
87847
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.corporationDetailsFields());
|
|
87848
|
+
}
|
|
87849
|
+
}
|
|
87850
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87851
|
+
if (rf & 1) {
|
|
87852
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
87853
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87854
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87855
|
+
\u0275\u0275restoreView(_r7);
|
|
87856
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87857
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87858
|
+
});
|
|
87859
|
+
\u0275\u0275elementEnd();
|
|
87860
|
+
}
|
|
87861
|
+
if (rf & 2) {
|
|
87862
|
+
\u0275\u0275nextContext();
|
|
87863
|
+
const registeredMailing_r8 = \u0275\u0275readContextLet(0);
|
|
87864
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87865
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
|
|
87866
|
+
}
|
|
87867
|
+
}
|
|
87868
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87869
|
+
if (rf & 1) {
|
|
87870
|
+
const _r9 = \u0275\u0275getCurrentView();
|
|
87871
|
+
\u0275\u0275element(0, "filing-form-group", 9);
|
|
87872
|
+
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87873
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87874
|
+
\u0275\u0275restoreView(_r9);
|
|
87875
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87876
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87877
|
+
});
|
|
87878
|
+
\u0275\u0275elementEnd();
|
|
87879
|
+
}
|
|
87880
|
+
if (rf & 2) {
|
|
87881
|
+
\u0275\u0275nextContext();
|
|
87882
|
+
const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
|
|
87883
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87884
|
+
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87885
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
|
|
87886
|
+
\u0275\u0275advance();
|
|
87887
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r10)("config", ctx_r0.addressFields);
|
|
87888
|
+
}
|
|
87889
|
+
}
|
|
87890
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87891
|
+
if (rf & 1) {
|
|
87892
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87893
|
+
\u0275\u0275declareLet(0)(1)(2);
|
|
87894
|
+
\u0275\u0275elementStart(3, "expandable-card", 5)(4, "div", 8);
|
|
87895
|
+
\u0275\u0275element(5, "filing-form-group", 9);
|
|
87896
|
+
\u0275\u0275elementStart(6, "h4", 10);
|
|
87897
|
+
\u0275\u0275text(7);
|
|
87898
|
+
\u0275\u0275pipe(8, "translate");
|
|
87899
|
+
\u0275\u0275elementEnd();
|
|
87900
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 9);
|
|
87901
|
+
\u0275\u0275elementStart(10, "h4", 10);
|
|
87902
|
+
\u0275\u0275text(11);
|
|
87903
|
+
\u0275\u0275pipe(12, "translate");
|
|
87904
|
+
\u0275\u0275elementEnd();
|
|
87905
|
+
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87906
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87907
|
+
\u0275\u0275restoreView(_r6);
|
|
87908
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87909
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87910
|
+
});
|
|
87911
|
+
\u0275\u0275elementEnd();
|
|
87912
|
+
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87913
|
+
\u0275\u0275elementEnd()();
|
|
87914
|
+
}
|
|
87915
|
+
if (rf & 2) {
|
|
87916
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87917
|
+
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87918
|
+
const registeredMailing_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewMailingAddress));
|
|
87919
|
+
\u0275\u0275advance();
|
|
87920
|
+
const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
|
|
87921
|
+
const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
|
|
87922
|
+
\u0275\u0275advance(2);
|
|
87923
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87924
|
+
\u0275\u0275advance(2);
|
|
87925
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
|
|
87926
|
+
\u0275\u0275advance(2);
|
|
87927
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87928
|
+
\u0275\u0275advance(2);
|
|
87929
|
+
\u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
|
|
87930
|
+
\u0275\u0275advance(2);
|
|
87931
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87932
|
+
\u0275\u0275advance(2);
|
|
87933
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87934
|
+
\u0275\u0275advance();
|
|
87935
|
+
\u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
|
|
87936
|
+
}
|
|
87937
|
+
}
|
|
87938
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87939
|
+
if (rf & 1) {
|
|
87940
|
+
const _r17 = \u0275\u0275getCurrentView();
|
|
87941
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87942
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87943
|
+
\u0275\u0275restoreView(_r17);
|
|
87944
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87945
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87946
|
+
});
|
|
87947
|
+
\u0275\u0275elementEnd();
|
|
87948
|
+
}
|
|
87949
|
+
if (rf & 2) {
|
|
87950
|
+
\u0275\u0275nextContext(2);
|
|
87951
|
+
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87952
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87953
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r18)("config", ctx_r0.addressFields);
|
|
87954
|
+
}
|
|
87955
|
+
}
|
|
87956
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87957
|
+
if (rf & 1) {
|
|
87958
|
+
const _r19 = \u0275\u0275getCurrentView();
|
|
87959
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87960
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87961
|
+
\u0275\u0275restoreView(_r19);
|
|
87962
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87963
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87964
|
+
});
|
|
87965
|
+
\u0275\u0275elementEnd();
|
|
87966
|
+
}
|
|
87967
|
+
if (rf & 2) {
|
|
87968
|
+
\u0275\u0275nextContext(2);
|
|
87969
|
+
const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
|
|
87970
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87971
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
|
|
87972
|
+
}
|
|
87973
|
+
}
|
|
87974
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
|
|
87975
|
+
if (rf & 1) {
|
|
87976
|
+
const _r16 = \u0275\u0275getCurrentView();
|
|
87977
|
+
\u0275\u0275elementStart(0, "h4", 10);
|
|
87978
|
+
\u0275\u0275text(1);
|
|
87979
|
+
\u0275\u0275pipe(2, "translate");
|
|
87980
|
+
\u0275\u0275elementEnd();
|
|
87981
|
+
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
|
|
87982
|
+
\u0275\u0275elementStart(4, "h4", 10);
|
|
87983
|
+
\u0275\u0275text(5);
|
|
87984
|
+
\u0275\u0275pipe(6, "translate");
|
|
87985
|
+
\u0275\u0275elementEnd();
|
|
87986
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87987
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87988
|
+
\u0275\u0275restoreView(_r16);
|
|
87989
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87990
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87991
|
+
});
|
|
87992
|
+
\u0275\u0275elementEnd();
|
|
87993
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
|
|
87994
|
+
}
|
|
87995
|
+
if (rf & 2) {
|
|
87996
|
+
\u0275\u0275nextContext();
|
|
87997
|
+
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87998
|
+
const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
|
|
87999
|
+
const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
|
|
88000
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
88001
|
+
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
88002
|
+
\u0275\u0275advance();
|
|
88003
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
88004
|
+
\u0275\u0275advance(2);
|
|
88005
|
+
\u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
|
|
88006
|
+
\u0275\u0275advance(2);
|
|
88007
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
88008
|
+
\u0275\u0275advance(2);
|
|
88009
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.deliverySameAsMailingFields);
|
|
88010
|
+
\u0275\u0275advance();
|
|
88011
|
+
\u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
|
|
88012
|
+
}
|
|
88013
|
+
}
|
|
88014
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
88015
|
+
if (rf & 1) {
|
|
88016
|
+
const _r15 = \u0275\u0275getCurrentView();
|
|
88017
|
+
\u0275\u0275declareLet(0)(1)(2)(3);
|
|
88018
|
+
\u0275\u0275elementStart(4, "expandable-card", 5)(5, "div", 8);
|
|
88019
|
+
\u0275\u0275element(6, "filing-form-group", 9);
|
|
88020
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
88021
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
88022
|
+
\u0275\u0275restoreView(_r15);
|
|
88023
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
88024
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
88025
|
+
});
|
|
88026
|
+
\u0275\u0275elementEnd();
|
|
88027
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
88028
|
+
\u0275\u0275elementEnd()();
|
|
88029
|
+
}
|
|
88030
|
+
if (rf & 2) {
|
|
88031
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
88032
|
+
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
88033
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
|
|
88034
|
+
\u0275\u0275advance();
|
|
88035
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
|
|
88036
|
+
const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
|
|
88037
|
+
\u0275\u0275advance(2);
|
|
88038
|
+
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
|
|
88039
|
+
\u0275\u0275advance();
|
|
88040
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
88041
|
+
\u0275\u0275advance(2);
|
|
88042
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.currentAddressesFields);
|
|
88043
|
+
\u0275\u0275advance();
|
|
88044
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
88045
|
+
\u0275\u0275advance();
|
|
88046
|
+
\u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
|
|
88047
|
+
}
|
|
88048
|
+
}
|
|
88049
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template(rf, ctx) {
|
|
88050
|
+
if (rf & 1) {
|
|
88051
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p");
|
|
88052
|
+
\u0275\u0275text(3);
|
|
88053
|
+
\u0275\u0275pipe(4, "translate");
|
|
88054
|
+
\u0275\u0275elementEnd();
|
|
88055
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 12)(6, "mat-radio-button", 13);
|
|
88056
|
+
\u0275\u0275text(7);
|
|
88057
|
+
\u0275\u0275pipe(8, "translate");
|
|
88058
|
+
\u0275\u0275elementEnd();
|
|
88059
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 13);
|
|
88060
|
+
\u0275\u0275text(10);
|
|
88061
|
+
\u0275\u0275pipe(11, "translate");
|
|
88062
|
+
\u0275\u0275elementEnd()()()();
|
|
88063
|
+
}
|
|
88064
|
+
if (rf & 2) {
|
|
88065
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
88066
|
+
const annualReportReminder_r24 = \u0275\u0275readContextLet(12);
|
|
88067
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.AnnualReportReminder);
|
|
88068
|
+
\u0275\u0275advance();
|
|
88069
|
+
\u0275\u0275property("formGroup", annualReportReminder_r24);
|
|
88070
|
+
\u0275\u0275advance(2);
|
|
88071
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 9, "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."), " ");
|
|
88072
|
+
\u0275\u0275advance(2);
|
|
88073
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.AnnualReportReminder);
|
|
88074
|
+
\u0275\u0275advance();
|
|
88075
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.Yes);
|
|
88076
|
+
\u0275\u0275advance();
|
|
88077
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 11, "Yes, send the annual report reminder"), " ");
|
|
88078
|
+
\u0275\u0275advance(2);
|
|
88079
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.No);
|
|
88080
|
+
\u0275\u0275advance();
|
|
88081
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 13, "No, I do not need to be reminded"), " ");
|
|
88082
|
+
}
|
|
88083
|
+
}
|
|
88084
|
+
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
88085
|
+
var init_change_of_office_addresses_form_component = __esm({
|
|
88086
|
+
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
88087
|
+
init_core();
|
|
88088
|
+
init_forms();
|
|
88089
|
+
init_radio();
|
|
88090
|
+
init_ngx_translate_core();
|
|
88091
|
+
init_filing_form_group_component();
|
|
88092
|
+
init_alert_component();
|
|
88093
|
+
init_alert_enum();
|
|
88094
|
+
init_expandable_card_component();
|
|
88095
|
+
init_british_columbia_form_enums();
|
|
88096
|
+
init_british_columbia_change_of_office_addresses_form_constants();
|
|
88097
|
+
init_forms_utils();
|
|
88098
|
+
init_BritishColumbiaConstants();
|
|
88099
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88100
|
+
init_core();
|
|
88101
|
+
init_forms();
|
|
88102
|
+
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
88103
|
+
form = input.required();
|
|
88104
|
+
task = input();
|
|
88105
|
+
errors = input([]);
|
|
88106
|
+
isNote = input(false);
|
|
88107
|
+
isSubmitted = input(false);
|
|
88108
|
+
readonly = input(false);
|
|
88109
|
+
visiblyValidChange = output();
|
|
88110
|
+
alertType = AlertType;
|
|
88111
|
+
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
88112
|
+
controls = BCChangeOfOfficeAddressesFormControls;
|
|
88113
|
+
annualReportReminderOption = BCAnnualReportReminder;
|
|
88114
|
+
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
88115
|
+
corporationDetailsFields = computed(() => {
|
|
88116
|
+
const task = this.task();
|
|
88117
|
+
return BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS(task ? BritishColumbiaChangeOfOfficeAddressesFormHelper.getCompanyEmailOptions(task) : []);
|
|
88118
|
+
});
|
|
88119
|
+
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
88120
|
+
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
88121
|
+
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
88122
|
+
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
88123
|
+
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
88124
|
+
sectionValidity = {};
|
|
88125
|
+
isVisiblyValid() {
|
|
88126
|
+
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
88127
|
+
}
|
|
88128
|
+
isRegisteredOfficeValid() {
|
|
88129
|
+
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
88130
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88131
|
+
}
|
|
88132
|
+
isRecordsOfficeValid() {
|
|
88133
|
+
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
88134
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88135
|
+
}
|
|
88136
|
+
isChecked(office, control) {
|
|
88137
|
+
return Boolean(office?.get(control)?.value);
|
|
88138
|
+
}
|
|
88139
|
+
onSectionValidChange(section, valid) {
|
|
88140
|
+
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
88141
|
+
this.emitValidity();
|
|
88142
|
+
}
|
|
88143
|
+
emitValidity() {
|
|
88144
|
+
queueMicrotask(() => this.visiblyValidChange.emit(this.isVisiblyValid()));
|
|
88145
|
+
}
|
|
88146
|
+
getFormGroup(key) {
|
|
88147
|
+
return this.form().get(key) ?? null;
|
|
88148
|
+
}
|
|
88149
|
+
getAddressGroup(office, control) {
|
|
88150
|
+
return office?.get(control) ?? null;
|
|
88151
|
+
}
|
|
88152
|
+
isAddressValid(office, control) {
|
|
88153
|
+
const group2 = this.getAddressGroup(office, control);
|
|
88154
|
+
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
88155
|
+
}
|
|
88156
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
88157
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
88158
|
+
};
|
|
88159
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 14, vars: 12, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "isValid", "title"], [3, "isStatusIcon", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item-title"], [1, "annual-reminder", 3, "formGroup"], [3, "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
88160
|
+
if (rf & 1) {
|
|
88161
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
88162
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
88163
|
+
\u0275\u0275elementStart(3, "div", 3);
|
|
88164
|
+
\u0275\u0275declareLet(4);
|
|
88165
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
88166
|
+
\u0275\u0275declareLet(6);
|
|
88167
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 6, "expandable-card", 5);
|
|
88168
|
+
\u0275\u0275declareLet(8);
|
|
88169
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 5);
|
|
88170
|
+
\u0275\u0275declareLet(10);
|
|
88171
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 5);
|
|
88172
|
+
\u0275\u0275declareLet(12);
|
|
88173
|
+
\u0275\u0275template(13, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template, 12, 15, "expandable-card", 6);
|
|
88174
|
+
\u0275\u0275elementEnd()();
|
|
88175
|
+
}
|
|
88176
|
+
if (rf & 2) {
|
|
88177
|
+
\u0275\u0275advance();
|
|
88178
|
+
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
88179
|
+
\u0275\u0275advance();
|
|
88180
|
+
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
88181
|
+
\u0275\u0275advance(2);
|
|
88182
|
+
const referenceNumbers_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88183
|
+
\u0275\u0275advance();
|
|
88184
|
+
\u0275\u0275conditional(referenceNumbers_r25 ? 5 : -1);
|
|
88185
|
+
\u0275\u0275advance();
|
|
88186
|
+
const corporationDetails_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
88187
|
+
\u0275\u0275advance();
|
|
88188
|
+
\u0275\u0275conditional(corporationDetails_r26 ? 7 : -1);
|
|
88189
|
+
\u0275\u0275advance();
|
|
88190
|
+
const registeredOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
88191
|
+
\u0275\u0275advance();
|
|
88192
|
+
\u0275\u0275conditional(registeredOffice_r27 ? 9 : -1);
|
|
88193
|
+
\u0275\u0275advance();
|
|
88194
|
+
const recordsOffice_r28 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
88195
|
+
\u0275\u0275advance();
|
|
88196
|
+
\u0275\u0275conditional(recordsOffice_r28 ? 11 : -1);
|
|
88197
|
+
\u0275\u0275advance();
|
|
88198
|
+
const annualReportReminder_r29 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
88199
|
+
\u0275\u0275advance();
|
|
88200
|
+
\u0275\u0275conditional(annualReportReminder_r29 ? 13 : -1);
|
|
88201
|
+
}
|
|
88202
|
+
}, dependencies: [
|
|
88203
|
+
FilingFormGroupComponent,
|
|
88204
|
+
AlertComponent,
|
|
88205
|
+
ExpandableCardComponent,
|
|
88206
|
+
MatRadioButton,
|
|
88207
|
+
MatRadioGroup,
|
|
88208
|
+
ReactiveFormsModule,
|
|
88209
|
+
NgControlStatus,
|
|
88210
|
+
NgControlStatusGroup,
|
|
88211
|
+
FormGroupDirective,
|
|
88212
|
+
FormControlName,
|
|
88213
|
+
TranslatePipe
|
|
88214
|
+
], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
|
|
88215
|
+
};
|
|
88216
|
+
(() => {
|
|
88217
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
88218
|
+
type: Component,
|
|
88219
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
88220
|
+
FilingFormGroupComponent,
|
|
88221
|
+
AlertComponent,
|
|
88222
|
+
ExpandableCardComponent,
|
|
88223
|
+
MatRadioButton,
|
|
88224
|
+
MatRadioGroup,
|
|
88225
|
+
ReactiveFormsModule,
|
|
88226
|
+
TranslatePipe
|
|
88227
|
+
], template: `<div class="change-of-office-addresses-form">\r
|
|
88228
|
+
@if (isNote()) {\r
|
|
88229
|
+
<alert\r
|
|
88230
|
+
[type]="alertType.Info"\r
|
|
88231
|
+
title="Entity changed"\r
|
|
88232
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
88233
|
+
/>\r
|
|
88234
|
+
}\r
|
|
88235
|
+
\r
|
|
88236
|
+
@if (errors().length) {\r
|
|
88237
|
+
<alert\r
|
|
88238
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
88239
|
+
[content]="errors()"\r
|
|
88240
|
+
/>\r
|
|
88241
|
+
}\r
|
|
88242
|
+
\r
|
|
88243
|
+
<div class="change-of-office-addresses-form-content">\r
|
|
88244
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88245
|
+
\r
|
|
88246
|
+
@if (referenceNumbers) {\r
|
|
88247
|
+
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88248
|
+
<filing-form-group\r
|
|
88249
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88250
|
+
[form]="referenceNumbers"\r
|
|
88251
|
+
[config]="referenceNumbersFields"\r
|
|
88252
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88253
|
+
/>\r
|
|
88254
|
+
</expandable-card>\r
|
|
88255
|
+
}\r
|
|
88256
|
+
\r
|
|
88257
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88258
|
+
\r
|
|
88259
|
+
@if (corporationDetails) {\r
|
|
88260
|
+
<expandable-card\r
|
|
88261
|
+
[isStatusIcon]="!readonly()"\r
|
|
88262
|
+
[isValid]="sectionValidity['corpDetails'] !== false"\r
|
|
88263
|
+
[title]="groups.CorporationDetails"\r
|
|
88264
|
+
>\r
|
|
88265
|
+
<filing-form-group\r
|
|
88266
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88267
|
+
[form]="corporationDetails"\r
|
|
88268
|
+
[config]="corporationDetailsFields()"\r
|
|
88269
|
+
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
88270
|
+
/>\r
|
|
88271
|
+
</expandable-card>\r
|
|
88272
|
+
}\r
|
|
88273
|
+
\r
|
|
88274
|
+
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88275
|
+
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88276
|
+
\r
|
|
88277
|
+
@if (registeredOffice) {\r
|
|
88278
|
+
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88279
|
+
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88280
|
+
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88281
|
+
\r
|
|
88282
|
+
<expandable-card\r
|
|
88283
|
+
[isStatusIcon]="!readonly()"\r
|
|
88284
|
+
[isValid]="isRegisteredOfficeValid()"\r
|
|
88285
|
+
[title]="groups.RegisteredOfficeAddress"\r
|
|
88286
|
+
>\r
|
|
88287
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88288
|
+
<filing-form-group\r
|
|
88289
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88290
|
+
[form]="registeredOffice"\r
|
|
88291
|
+
[config]="currentAddressesFields"\r
|
|
88292
|
+
/>\r
|
|
88293
|
+
\r
|
|
88294
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88295
|
+
\r
|
|
88296
|
+
@if (registeredMailing) {\r
|
|
88297
|
+
<filing-form-group\r
|
|
88298
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88299
|
+
[form]="registeredMailing"\r
|
|
88300
|
+
[config]="addressFields"\r
|
|
88301
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88302
|
+
/>\r
|
|
88303
|
+
}\r
|
|
88304
|
+
\r
|
|
88305
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88306
|
+
\r
|
|
88307
|
+
<filing-form-group\r
|
|
88308
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88309
|
+
[form]="registeredOffice"\r
|
|
88310
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88311
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88312
|
+
/>\r
|
|
88313
|
+
\r
|
|
88314
|
+
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88315
|
+
<filing-form-group\r
|
|
88316
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88317
|
+
[form]="registeredOffice"\r
|
|
88318
|
+
[config]="deliveryNoteFields"\r
|
|
88319
|
+
/>\r
|
|
88320
|
+
<filing-form-group\r
|
|
88321
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88322
|
+
[form]="registeredDelivery"\r
|
|
88323
|
+
[config]="addressFields"\r
|
|
88324
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88325
|
+
/>\r
|
|
88326
|
+
}\r
|
|
88327
|
+
</div>\r
|
|
88328
|
+
</expandable-card>\r
|
|
88329
|
+
}\r
|
|
88330
|
+
\r
|
|
88331
|
+
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88332
|
+
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88333
|
+
\r
|
|
88334
|
+
@if (recordsOffice) {\r
|
|
88335
|
+
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88336
|
+
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88337
|
+
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88338
|
+
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88339
|
+
\r
|
|
88340
|
+
<expandable-card\r
|
|
88341
|
+
[isStatusIcon]="!readonly()"\r
|
|
88342
|
+
[isValid]="isRecordsOfficeValid()"\r
|
|
88343
|
+
[title]="groups.RecordsOfficeAddress"\r
|
|
88344
|
+
>\r
|
|
88345
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88346
|
+
<filing-form-group\r
|
|
88347
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88348
|
+
[form]="recordsOffice"\r
|
|
88349
|
+
[config]="currentAddressesFields"\r
|
|
88350
|
+
/>\r
|
|
88351
|
+
\r
|
|
88352
|
+
<filing-form-group\r
|
|
88353
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88354
|
+
[form]="recordsOffice"\r
|
|
88355
|
+
[config]="sameAsRegisteredOfficeFields"\r
|
|
88356
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88357
|
+
/>\r
|
|
88358
|
+
\r
|
|
88359
|
+
@if (!recordsSameAsRegistered) {\r
|
|
88360
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88361
|
+
\r
|
|
88362
|
+
@if (recordsMailing) {\r
|
|
88363
|
+
<filing-form-group\r
|
|
88364
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88365
|
+
[form]="recordsMailing"\r
|
|
88366
|
+
[config]="addressFields"\r
|
|
88367
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88368
|
+
/>\r
|
|
88369
|
+
}\r
|
|
88370
|
+
\r
|
|
88371
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88372
|
+
\r
|
|
88373
|
+
<filing-form-group\r
|
|
88374
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88375
|
+
[form]="recordsOffice"\r
|
|
88376
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88377
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88378
|
+
/>\r
|
|
88379
|
+
\r
|
|
88380
|
+
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88381
|
+
<filing-form-group\r
|
|
88382
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88383
|
+
[form]="recordsDelivery"\r
|
|
88384
|
+
[config]="addressFields"\r
|
|
88385
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88386
|
+
/>\r
|
|
88387
|
+
}\r
|
|
88388
|
+
}\r
|
|
88389
|
+
</div>\r
|
|
88390
|
+
</expandable-card>\r
|
|
88391
|
+
}\r
|
|
88392
|
+
\r
|
|
88393
|
+
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);\r
|
|
88394
|
+
\r
|
|
88395
|
+
@if (annualReportReminder) {\r
|
|
88396
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.AnnualReportReminder">\r
|
|
88397
|
+
<div class="annual-reminder" [formGroup]="annualReportReminder">\r
|
|
88398
|
+
<p>\r
|
|
88399
|
+
{{\r
|
|
88400
|
+
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."\r
|
|
88401
|
+
| translate\r
|
|
88402
|
+
}}\r
|
|
88403
|
+
</p>\r
|
|
88404
|
+
<mat-radio-group [formControlName]="controls.AnnualReportReminder">\r
|
|
88405
|
+
<mat-radio-button [value]="annualReportReminderOption.Yes">\r
|
|
88406
|
+
{{ 'Yes, send the annual report reminder' | translate }}\r
|
|
88407
|
+
</mat-radio-button>\r
|
|
88408
|
+
<mat-radio-button [value]="annualReportReminderOption.No">\r
|
|
88409
|
+
{{ 'No, I do not need to be reminded' | translate }}\r
|
|
88410
|
+
</mat-radio-button>\r
|
|
88411
|
+
</mat-radio-group>\r
|
|
88412
|
+
</div>\r
|
|
88413
|
+
</expandable-card>\r
|
|
88414
|
+
}\r
|
|
88415
|
+
</div>\r
|
|
88416
|
+
</div>\r
|
|
88417
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .change-of-office-addresses-form .annual-reminder p {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder mat-radio-group {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
|
|
88418
|
+
}], null, null);
|
|
88419
|
+
})();
|
|
88420
|
+
(() => {
|
|
88421
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 55 });
|
|
88422
|
+
})();
|
|
88423
|
+
}
|
|
88424
|
+
});
|
|
88425
|
+
|
|
88426
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88427
|
+
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88428
|
+
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88429
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88430
|
+
init_core();
|
|
88431
|
+
init_button();
|
|
88432
|
+
init_ngx_translate_core();
|
|
88433
|
+
init_common_utils();
|
|
88434
|
+
init_change_of_office_addresses_form_component();
|
|
88435
|
+
init_core();
|
|
88436
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88437
|
+
form = input.required();
|
|
88438
|
+
actionsDisabled = input(false);
|
|
88439
|
+
isNote = input(false);
|
|
88440
|
+
task = input();
|
|
88441
|
+
errors = input([]);
|
|
88442
|
+
close = output();
|
|
88443
|
+
save = output();
|
|
88444
|
+
validate = output();
|
|
88445
|
+
submitted = signal(false);
|
|
88446
|
+
visiblyValid = signal(true);
|
|
88447
|
+
clientErrors = signal([]);
|
|
88448
|
+
translate = inject(TranslateService);
|
|
88449
|
+
combinedErrors = computed(() => {
|
|
88450
|
+
const client = this.clientErrors();
|
|
88451
|
+
return client.length ? client : this.errors();
|
|
88452
|
+
});
|
|
88453
|
+
onVisiblyValidChange(valid) {
|
|
88454
|
+
this.visiblyValid.set(valid);
|
|
88455
|
+
if (this.submitted()) {
|
|
88456
|
+
this.clientErrors.set(valid ? [] : [this.requiredFieldsMessage()]);
|
|
88457
|
+
}
|
|
88458
|
+
}
|
|
88459
|
+
onValidate() {
|
|
88460
|
+
this.submitted.set(true);
|
|
88461
|
+
this.clientErrors.set([]);
|
|
88462
|
+
markFormGroupTouched(this.form());
|
|
88463
|
+
if (!this.visiblyValid()) {
|
|
88464
|
+
this.clientErrors.set([this.requiredFieldsMessage()]);
|
|
88465
|
+
return;
|
|
88466
|
+
}
|
|
88467
|
+
this.validate.emit();
|
|
88468
|
+
}
|
|
88469
|
+
requiredFieldsMessage() {
|
|
88470
|
+
return this.translate.instant("Some required fields aren't completed.");
|
|
88471
|
+
}
|
|
88472
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88473
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88474
|
+
};
|
|
88475
|
+
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) {
|
|
88476
|
+
if (rf & 1) {
|
|
88477
|
+
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88478
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88479
|
+
return ctx.onVisiblyValidChange($event);
|
|
88480
|
+
});
|
|
88481
|
+
\u0275\u0275elementEnd();
|
|
88482
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88483
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88484
|
+
return ctx.close.emit();
|
|
88485
|
+
});
|
|
88486
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88487
|
+
\u0275\u0275text(5);
|
|
88488
|
+
\u0275\u0275pipe(6, "translate");
|
|
88489
|
+
\u0275\u0275elementEnd()();
|
|
88490
|
+
\u0275\u0275elementStart(7, "button", 3);
|
|
88491
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88492
|
+
return ctx.save.emit();
|
|
88493
|
+
});
|
|
88494
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88495
|
+
\u0275\u0275text(9);
|
|
88496
|
+
\u0275\u0275pipe(10, "translate");
|
|
88497
|
+
\u0275\u0275elementEnd()();
|
|
88498
|
+
\u0275\u0275elementStart(11, "button", 5);
|
|
88499
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88500
|
+
return ctx.onValidate();
|
|
88501
|
+
});
|
|
88502
|
+
\u0275\u0275elementStart(12, "span", 4);
|
|
88503
|
+
\u0275\u0275text(13);
|
|
88504
|
+
\u0275\u0275pipe(14, "translate");
|
|
88505
|
+
\u0275\u0275elementEnd()()()();
|
|
88506
|
+
}
|
|
88507
|
+
if (rf & 2) {
|
|
88508
|
+
\u0275\u0275advance();
|
|
88509
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88510
|
+
\u0275\u0275advance(2);
|
|
88511
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88512
|
+
\u0275\u0275advance(2);
|
|
88513
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88514
|
+
\u0275\u0275advance(2);
|
|
88515
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88516
|
+
\u0275\u0275advance(2);
|
|
88517
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88518
|
+
\u0275\u0275advance(2);
|
|
88519
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88520
|
+
\u0275\u0275advance(2);
|
|
88521
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88522
|
+
}
|
|
88523
|
+
}, 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 });
|
|
88524
|
+
};
|
|
88525
|
+
(() => {
|
|
88526
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88527
|
+
type: Component,
|
|
88528
|
+
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
|
|
88529
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88530
|
+
class="change-of-office-addresses-delta-form-content"\r
|
|
88531
|
+
[form]="form()"\r
|
|
88532
|
+
[task]="task()"\r
|
|
88533
|
+
[errors]="combinedErrors()"\r
|
|
88534
|
+
[isNote]="isNote()"\r
|
|
88535
|
+
[isSubmitted]="submitted()"\r
|
|
88536
|
+
[readonly]="false"\r
|
|
88537
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88538
|
+
/>\r
|
|
88539
|
+
\r
|
|
88540
|
+
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88541
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88542
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88543
|
+
</button>\r
|
|
88544
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88545
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88546
|
+
</button>\r
|
|
88547
|
+
<button\r
|
|
88548
|
+
class="submit"\r
|
|
88549
|
+
color="primary"\r
|
|
88550
|
+
mat-flat-button\r
|
|
88551
|
+
[disabled]="actionsDisabled()"\r
|
|
88552
|
+
(click)="onValidate()"\r
|
|
88553
|
+
>\r
|
|
88554
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88555
|
+
</button>\r
|
|
88556
|
+
</div>\r
|
|
88557
|
+
</div>\r
|
|
88558
|
+
`, 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"] }]
|
|
88559
|
+
}], null, null);
|
|
88560
|
+
})();
|
|
88561
|
+
(() => {
|
|
88562
|
+
(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 });
|
|
88563
|
+
})();
|
|
88564
|
+
}
|
|
88565
|
+
});
|
|
88566
|
+
|
|
88567
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88568
|
+
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88569
|
+
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88570
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88571
|
+
init_core();
|
|
88572
|
+
init_button();
|
|
88573
|
+
init_ngx_translate_core();
|
|
88574
|
+
init_change_of_office_addresses_form_component();
|
|
88575
|
+
init_core();
|
|
88576
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88577
|
+
form = input.required();
|
|
88578
|
+
actionsDisabled = input(false);
|
|
88579
|
+
task = input();
|
|
88580
|
+
errors = input([]);
|
|
88581
|
+
close = output();
|
|
88582
|
+
file = output();
|
|
88583
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88584
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88585
|
+
};
|
|
88586
|
+
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) {
|
|
88587
|
+
if (rf & 1) {
|
|
88588
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
88589
|
+
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88590
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88591
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88592
|
+
return ctx.close.emit();
|
|
88593
|
+
});
|
|
88594
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88595
|
+
\u0275\u0275text(5);
|
|
88596
|
+
\u0275\u0275pipe(6, "translate");
|
|
88597
|
+
\u0275\u0275elementEnd()();
|
|
88598
|
+
\u0275\u0275elementStart(7, "button", 5);
|
|
88599
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88600
|
+
return ctx.file.emit();
|
|
88601
|
+
});
|
|
88602
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88603
|
+
\u0275\u0275text(9);
|
|
88604
|
+
\u0275\u0275pipe(10, "translate");
|
|
88605
|
+
\u0275\u0275elementEnd()()()();
|
|
88606
|
+
}
|
|
88607
|
+
if (rf & 2) {
|
|
88608
|
+
\u0275\u0275advance();
|
|
88609
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88610
|
+
\u0275\u0275advance(2);
|
|
88611
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88612
|
+
\u0275\u0275advance(2);
|
|
88613
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88614
|
+
\u0275\u0275advance(2);
|
|
88615
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88616
|
+
\u0275\u0275advance(2);
|
|
88617
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88618
|
+
}
|
|
88619
|
+
}, 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 });
|
|
88620
|
+
};
|
|
88621
|
+
(() => {
|
|
88622
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88623
|
+
type: Component,
|
|
88624
|
+
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
|
|
88625
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88626
|
+
class="change-of-office-addresses-preview-form-content"\r
|
|
88627
|
+
[form]="form()"\r
|
|
88628
|
+
[task]="task()"\r
|
|
88629
|
+
[errors]="errors()"\r
|
|
88630
|
+
[isSubmitted]="false"\r
|
|
88631
|
+
[readonly]="true"\r
|
|
88632
|
+
/>\r
|
|
88633
|
+
\r
|
|
88634
|
+
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88635
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88636
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88637
|
+
</button>\r
|
|
88638
|
+
<button\r
|
|
88639
|
+
class="submit"\r
|
|
88640
|
+
color="primary"\r
|
|
88641
|
+
mat-flat-button\r
|
|
88642
|
+
[disabled]="actionsDisabled()"\r
|
|
88643
|
+
(click)="file.emit()"\r
|
|
88644
|
+
>\r
|
|
88645
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88646
|
+
</button>\r
|
|
88647
|
+
</div>\r
|
|
88648
|
+
</div>\r
|
|
88649
|
+
`, 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"] }]
|
|
88650
|
+
}], null, null);
|
|
88651
|
+
})();
|
|
88652
|
+
(() => {
|
|
88653
|
+
(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 });
|
|
88654
|
+
})();
|
|
88655
|
+
}
|
|
88656
|
+
});
|
|
88657
|
+
|
|
87315
88658
|
// src/app/components/british-columbia/british-columbia.component.ts
|
|
87316
88659
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
87317
88660
|
if (rf & 1) {
|
|
@@ -87427,6 +88770,63 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87427
88770
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
87428
88771
|
}
|
|
87429
88772
|
}
|
|
88773
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88774
|
+
if (rf & 1) {
|
|
88775
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
88776
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 2);
|
|
88777
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88778
|
+
\u0275\u0275restoreView(_r7);
|
|
88779
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88780
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88781
|
+
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88782
|
+
\u0275\u0275restoreView(_r7);
|
|
88783
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88784
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88785
|
+
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88786
|
+
\u0275\u0275restoreView(_r7);
|
|
88787
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88788
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88789
|
+
});
|
|
88790
|
+
\u0275\u0275elementEnd();
|
|
88791
|
+
}
|
|
88792
|
+
if (rf & 2) {
|
|
88793
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88794
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88795
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88796
|
+
}
|
|
88797
|
+
}
|
|
88798
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88799
|
+
if (rf & 1) {
|
|
88800
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
88801
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 3);
|
|
88802
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88803
|
+
\u0275\u0275restoreView(_r8);
|
|
88804
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88805
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88806
|
+
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88807
|
+
\u0275\u0275restoreView(_r8);
|
|
88808
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88809
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88810
|
+
});
|
|
88811
|
+
\u0275\u0275elementEnd();
|
|
88812
|
+
}
|
|
88813
|
+
if (rf & 2) {
|
|
88814
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88815
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88816
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88817
|
+
}
|
|
88818
|
+
}
|
|
88819
|
+
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88820
|
+
if (rf & 1) {
|
|
88821
|
+
\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);
|
|
88822
|
+
}
|
|
88823
|
+
if (rf & 2) {
|
|
88824
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
88825
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88826
|
+
\u0275\u0275advance();
|
|
88827
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88828
|
+
}
|
|
88829
|
+
}
|
|
87430
88830
|
var BritishColumbiaComponent;
|
|
87431
88831
|
var init_british_columbia_component = __esm({
|
|
87432
88832
|
"src/app/components/british-columbia/british-columbia.component.ts"() {
|
|
@@ -87439,6 +88839,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87439
88839
|
init_british_columbia_form_enums();
|
|
87440
88840
|
init_british_columbia_change_of_directors_form_helper();
|
|
87441
88841
|
init_british_columbia_formation_form_helper();
|
|
88842
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87442
88843
|
init_delta_state_service();
|
|
87443
88844
|
init_common_utils();
|
|
87444
88845
|
init_confirm_modal_component();
|
|
@@ -87446,6 +88847,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87446
88847
|
init_change_of_directors_preview_form_component();
|
|
87447
88848
|
init_british_columbia_incorporation_delta_form_component();
|
|
87448
88849
|
init_british_columbia_incorporation_preview_form_component();
|
|
88850
|
+
init_change_of_office_addresses_delta_form_component();
|
|
88851
|
+
init_change_of_office_addresses_preview_form_component();
|
|
87449
88852
|
init_core();
|
|
87450
88853
|
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
87451
88854
|
task = input();
|
|
@@ -87463,13 +88866,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87463
88866
|
formationSubmit = output();
|
|
87464
88867
|
saveFormationDeltaData = output();
|
|
87465
88868
|
nextStep = output();
|
|
88869
|
+
recheckStep = output();
|
|
87466
88870
|
prevStep = output();
|
|
88871
|
+
// Change of Office Addresses outputs
|
|
88872
|
+
coaValidate = output();
|
|
88873
|
+
saveCoaDeltaData = output();
|
|
88874
|
+
coaSubmit = output();
|
|
87467
88875
|
dialog = inject(MatDialog);
|
|
87468
88876
|
deltaState = inject(DeltaStateService);
|
|
87469
88877
|
translate = inject(TranslateService);
|
|
87470
88878
|
steps = Step;
|
|
87471
88879
|
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
87472
88880
|
isFormationTask = isFormationTask2;
|
|
88881
|
+
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
87473
88882
|
deltaForm = signal(new FormGroup({}));
|
|
87474
88883
|
previewForm = signal(new FormGroup({}));
|
|
87475
88884
|
constructor() {
|
|
@@ -87483,6 +88892,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87483
88892
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
87484
88893
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
87485
88894
|
}
|
|
88895
|
+
if (task && isChangeOfAddressTask(task)) {
|
|
88896
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88897
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88898
|
+
}
|
|
87486
88899
|
});
|
|
87487
88900
|
effect(() => {
|
|
87488
88901
|
const task = this.task();
|
|
@@ -87506,8 +88919,71 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87506
88919
|
this.nextStep.emit();
|
|
87507
88920
|
}
|
|
87508
88921
|
}
|
|
88922
|
+
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88923
|
+
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88924
|
+
form.disable();
|
|
88925
|
+
this.previewForm.set(form);
|
|
88926
|
+
const step = untracked2(() => this.activeStep());
|
|
88927
|
+
if (step === Step.Validate) {
|
|
88928
|
+
this.nextStep.emit();
|
|
88929
|
+
} else if (step === Step.FilingPreview) {
|
|
88930
|
+
this.recheckStep.emit();
|
|
88931
|
+
}
|
|
88932
|
+
}
|
|
87509
88933
|
});
|
|
87510
88934
|
}
|
|
88935
|
+
onChangeOfOfficeAddressesValidate() {
|
|
88936
|
+
markFormGroupTouched(this.deltaForm());
|
|
88937
|
+
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88938
|
+
}
|
|
88939
|
+
onChangeOfOfficeAddressesSave() {
|
|
88940
|
+
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88941
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88942
|
+
this.saveCoaDeltaData.emit(delta);
|
|
88943
|
+
}
|
|
88944
|
+
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88945
|
+
onChangeOfOfficeAddressesFile() {
|
|
88946
|
+
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88947
|
+
}
|
|
88948
|
+
generateChangeOfOfficeAddressesDeltaData() {
|
|
88949
|
+
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88950
|
+
const formData = this.deltaForm().getRawValue();
|
|
88951
|
+
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88952
|
+
const corporation = formData[BCChangeOfOfficeAddressesFormGroups.CorporationDetails];
|
|
88953
|
+
const reminder = formData[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder];
|
|
88954
|
+
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88955
|
+
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88956
|
+
const toAddress = (src) => ({
|
|
88957
|
+
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88958
|
+
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88959
|
+
city: src?.[c.City] ?? null,
|
|
88960
|
+
postalCode: src?.[c.PostalCode] ?? null,
|
|
88961
|
+
province: src?.[c.Province] ?? null,
|
|
88962
|
+
country: src?.[c.Country] ?? null
|
|
88963
|
+
});
|
|
88964
|
+
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88965
|
+
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88966
|
+
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88967
|
+
return {
|
|
88968
|
+
referenceNumbers: {
|
|
88969
|
+
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88970
|
+
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88971
|
+
},
|
|
88972
|
+
companyEmail: corporation?.[c.CompanyEmail] ?? "",
|
|
88973
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? "",
|
|
88974
|
+
registeredOffice: {
|
|
88975
|
+
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88976
|
+
deliverySameAsMailing: regDeliverySame,
|
|
88977
|
+
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88978
|
+
},
|
|
88979
|
+
recordsOffice: {
|
|
88980
|
+
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88981
|
+
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88982
|
+
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88983
|
+
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88984
|
+
}
|
|
88985
|
+
};
|
|
88986
|
+
}
|
|
87511
88987
|
onChangeOfDirectorsValidate() {
|
|
87512
88988
|
markFormGroupTouched(this.deltaForm());
|
|
87513
88989
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -87607,7 +89083,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87607
89083
|
}
|
|
87608
89084
|
onClose() {
|
|
87609
89085
|
const task = this.task();
|
|
87610
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
89086
|
+
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());
|
|
87611
89087
|
if (!hasChanges) {
|
|
87612
89088
|
this.close.emit();
|
|
87613
89089
|
return;
|
|
@@ -87625,6 +89101,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87625
89101
|
if (val) {
|
|
87626
89102
|
if (task && isFormationTask2(task)) {
|
|
87627
89103
|
this.onFormationSave();
|
|
89104
|
+
} else if (task && isChangeOfAddressTask(task)) {
|
|
89105
|
+
this.onChangeOfOfficeAddressesSave();
|
|
87628
89106
|
} else {
|
|
87629
89107
|
this.onChangeOfDirectorsSave();
|
|
87630
89108
|
}
|
|
@@ -87635,23 +89113,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87635
89113
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
87636
89114
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
87637
89115
|
};
|
|
87638
|
-
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:
|
|
89116
|
+
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) {
|
|
87639
89117
|
if (rf & 1) {
|
|
87640
89118
|
\u0275\u0275declareLet(0);
|
|
87641
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
|
|
89119
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
|
|
87642
89120
|
}
|
|
87643
89121
|
if (rf & 2) {
|
|
87644
|
-
const
|
|
89122
|
+
const taskData_r9 = \u0275\u0275storeLet(ctx.task());
|
|
87645
89123
|
\u0275\u0275advance();
|
|
87646
|
-
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(
|
|
89124
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
|
|
87647
89125
|
\u0275\u0275advance();
|
|
87648
|
-
\u0275\u0275conditional(ctx.isFormationTask(
|
|
89126
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
|
|
89127
|
+
\u0275\u0275advance();
|
|
89128
|
+
\u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r9) ? 3 : -1);
|
|
87649
89129
|
}
|
|
87650
89130
|
}, dependencies: [
|
|
87651
89131
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87652
89132
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87653
89133
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87654
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
89134
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
89135
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
89136
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
|
|
87655
89137
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
87656
89138
|
};
|
|
87657
89139
|
(() => {
|
|
@@ -87661,12 +89143,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87661
89143
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87662
89144
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87663
89145
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87664
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
87665
|
-
|
|
89146
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
89147
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
89148
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
|
|
89149
|
+
], 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"] }]
|
|
87666
89150
|
}], () => [], null);
|
|
87667
89151
|
})();
|
|
87668
89152
|
(() => {
|
|
87669
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
89153
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 72 });
|
|
87670
89154
|
})();
|
|
87671
89155
|
}
|
|
87672
89156
|
});
|
|
@@ -93896,9 +95380,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93896
95380
|
ensureAuthInputs(signature);
|
|
93897
95381
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93898
95382
|
const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
|
|
93899
|
-
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues(
|
|
95383
|
+
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
|
|
93900
95384
|
"x-target-url": `${dataExtractUrl}/order`
|
|
93901
|
-
},
|
|
95385
|
+
}, opts.headers ?? {})));
|
|
93902
95386
|
const ordered = yield this.readJson(orderResp, "BC current data extract order");
|
|
93903
95387
|
const orderId = ordered.currentDataServiceOrderId;
|
|
93904
95388
|
if (!orderResp.ok || !orderId || ordered.status === "failed") {
|
|
@@ -93909,10 +95393,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93909
95393
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
93910
95394
|
const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
93911
95395
|
method: "GET",
|
|
93912
|
-
headers: __spreadValues(
|
|
95396
|
+
headers: __spreadValues({
|
|
93913
95397
|
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93914
95398
|
"x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
|
|
93915
|
-
},
|
|
95399
|
+
}, opts.headers ?? {})
|
|
93916
95400
|
}));
|
|
93917
95401
|
const extract = yield this.readJson(extractResp, "BC current data extract");
|
|
93918
95402
|
if (extractResp.ok && extract.status === "success") {
|
|
@@ -93937,9 +95421,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93937
95421
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93938
95422
|
const url = signature.proxyApiUrl;
|
|
93939
95423
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
|
|
93940
|
-
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues(
|
|
95424
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
|
|
93941
95425
|
"x-target-url": targetUrl
|
|
93942
|
-
},
|
|
95426
|
+
}, opts.headers ?? {})));
|
|
93943
95427
|
const raw = yield resp.text();
|
|
93944
95428
|
const parsed = tryParseJson(raw);
|
|
93945
95429
|
if (!parsed.ok) {
|
|
@@ -93972,10 +95456,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93972
95456
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}`;
|
|
93973
95457
|
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
|
|
93974
95458
|
method: "GET",
|
|
93975
|
-
headers: __spreadValues(
|
|
95459
|
+
headers: __spreadValues({
|
|
93976
95460
|
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93977
95461
|
"x-target-url": targetUrl
|
|
93978
|
-
},
|
|
95462
|
+
}, opts.headers ?? {})
|
|
93979
95463
|
}));
|
|
93980
95464
|
const raw = yield resp.text();
|
|
93981
95465
|
const parsed = tryParseJson(raw);
|
|
@@ -93998,9 +95482,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93998
95482
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93999
95483
|
const url = signature.proxyApiUrl;
|
|
94000
95484
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}/submit`;
|
|
94001
|
-
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues(
|
|
95485
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues({
|
|
94002
95486
|
"x-target-url": targetUrl
|
|
94003
|
-
},
|
|
95487
|
+
}, opts.headers ?? {})));
|
|
94004
95488
|
const raw = yield resp.text();
|
|
94005
95489
|
const parsed = tryParseJson(raw);
|
|
94006
95490
|
const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
|
|
@@ -94030,18 +95514,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94030
95514
|
}
|
|
94031
95515
|
return filingUrl.replace(/\/$/, "");
|
|
94032
95516
|
}
|
|
94033
|
-
getEcoreIdentityHeaders() {
|
|
94034
|
-
const headers = {};
|
|
94035
|
-
const clientId = this.config?.ecoreClientId;
|
|
94036
|
-
const userId = this.config?.ecoreUserId;
|
|
94037
|
-
if (clientId !== void 0 && clientId !== null && String(clientId).trim()) {
|
|
94038
|
-
headers["x-ecore-client-id"] = String(clientId);
|
|
94039
|
-
}
|
|
94040
|
-
if (userId !== void 0 && userId !== null && String(userId).trim()) {
|
|
94041
|
-
headers["x-ecore-user-id"] = String(userId);
|
|
94042
|
-
}
|
|
94043
|
-
return headers;
|
|
94044
|
-
}
|
|
94045
95517
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
94046
95518
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
94047
95519
|
};
|
|
@@ -94158,7 +95630,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94158
95630
|
}
|
|
94159
95631
|
function findDirectorNumber(affiliation, extract) {
|
|
94160
95632
|
const target = normaliseDirectorName(affiliation);
|
|
94161
|
-
const targetId = String(affiliation?._id ?? affiliation?.id ?? "").trim();
|
|
94162
95633
|
let result;
|
|
94163
95634
|
const visit = (value) => {
|
|
94164
95635
|
if (result !== void 0 || value === null || value === void 0)
|
|
@@ -94171,8 +95642,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94171
95642
|
return;
|
|
94172
95643
|
const record = value;
|
|
94173
95644
|
const number = record["directorNumber"] ?? record["DirectorNumber"];
|
|
94174
|
-
|
|
94175
|
-
if (number !== void 0 && (targetId && recordId === targetId || normaliseDirectorName(record) === target)) {
|
|
95645
|
+
if (number !== void 0 && normaliseDirectorName(record) === target) {
|
|
94176
95646
|
const parsed = Number(number);
|
|
94177
95647
|
if (Number.isFinite(parsed))
|
|
94178
95648
|
result = parsed;
|
|
@@ -94217,6 +95687,293 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94217
95687
|
}
|
|
94218
95688
|
});
|
|
94219
95689
|
|
|
95690
|
+
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95691
|
+
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95692
|
+
var init_british_columbia_maintenance_service = __esm({
|
|
95693
|
+
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95694
|
+
init_core();
|
|
95695
|
+
init_common_utils();
|
|
95696
|
+
init_core();
|
|
95697
|
+
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95698
|
+
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95699
|
+
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95700
|
+
DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95701
|
+
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95702
|
+
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95703
|
+
config;
|
|
95704
|
+
setConfig(config2) {
|
|
95705
|
+
this.config = config2;
|
|
95706
|
+
}
|
|
95707
|
+
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95708
|
+
orderCurrentDataExtract(_0, _1) {
|
|
95709
|
+
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95710
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95711
|
+
corporationNumber: context2.corporationNumber,
|
|
95712
|
+
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95713
|
+
incorporationDate: context2.incorporationDate,
|
|
95714
|
+
filingType: "changeOfAddressFiling"
|
|
95715
|
+
}, opts);
|
|
95716
|
+
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95717
|
+
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95718
|
+
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95719
|
+
}
|
|
95720
|
+
return String(id);
|
|
95721
|
+
});
|
|
95722
|
+
}
|
|
95723
|
+
/** Polls the extract until the registry has it ready (`success`). */
|
|
95724
|
+
waitForCurrentDataExtract(_0, _1) {
|
|
95725
|
+
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95726
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95727
|
+
const deadline = Date.now() + timeoutMs;
|
|
95728
|
+
for (; ; ) {
|
|
95729
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95730
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95731
|
+
if (ok && state2 === "success") {
|
|
95732
|
+
return;
|
|
95733
|
+
}
|
|
95734
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95735
|
+
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95736
|
+
}
|
|
95737
|
+
if (Date.now() >= deadline) {
|
|
95738
|
+
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
95739
|
+
}
|
|
95740
|
+
yield this.sleep(intervalMs);
|
|
95741
|
+
}
|
|
95742
|
+
});
|
|
95743
|
+
}
|
|
95744
|
+
/**
|
|
95745
|
+
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95746
|
+
* corporation number and password; they are added here so they never become part of the
|
|
95747
|
+
* saved request used to detect Entity changes.
|
|
95748
|
+
*/
|
|
95749
|
+
validate(_0, _1, _2, _3) {
|
|
95750
|
+
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95751
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95752
|
+
currentDataServiceOrderId: extractId,
|
|
95753
|
+
filingType: requestBody.filingType,
|
|
95754
|
+
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95755
|
+
corporationNumber: context2.corporationNumber,
|
|
95756
|
+
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95757
|
+
})
|
|
95758
|
+
}, opts);
|
|
95759
|
+
if (body === null) {
|
|
95760
|
+
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95761
|
+
}
|
|
95762
|
+
const result = this.normalize(unwrapRequestResults(body));
|
|
95763
|
+
if (ok && !this.hasFailed(result)) {
|
|
95764
|
+
return result;
|
|
95765
|
+
}
|
|
95766
|
+
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95767
|
+
err.validateResult = result;
|
|
95768
|
+
err.httpStatus = status;
|
|
95769
|
+
throw err;
|
|
95770
|
+
});
|
|
95771
|
+
}
|
|
95772
|
+
/**
|
|
95773
|
+
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95774
|
+
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95775
|
+
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95776
|
+
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95777
|
+
*/
|
|
95778
|
+
submitAndWait(_0, _1) {
|
|
95779
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95780
|
+
if (!serviceOrderId) {
|
|
95781
|
+
throw new Error("Missing serviceOrderId.");
|
|
95782
|
+
}
|
|
95783
|
+
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95784
|
+
const submitResult = this.normalize(submitted.body);
|
|
95785
|
+
if (!submitted.ok || submitResult.Status === "Failure") {
|
|
95786
|
+
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", submitResult));
|
|
95787
|
+
err.submitResult = submitResult;
|
|
95788
|
+
err.httpStatus = submitted.status;
|
|
95789
|
+
throw err;
|
|
95790
|
+
}
|
|
95791
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95792
|
+
const deadline = Date.now() + timeoutMs;
|
|
95793
|
+
let processing = false;
|
|
95794
|
+
let files;
|
|
95795
|
+
for (; ; ) {
|
|
95796
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95797
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95798
|
+
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95799
|
+
files = body?.files;
|
|
95800
|
+
break;
|
|
95801
|
+
}
|
|
95802
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95803
|
+
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95804
|
+
}
|
|
95805
|
+
if (Date.now() >= deadline) {
|
|
95806
|
+
processing = true;
|
|
95807
|
+
break;
|
|
95808
|
+
}
|
|
95809
|
+
yield this.sleep(intervalMs);
|
|
95810
|
+
}
|
|
95811
|
+
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95812
|
+
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95813
|
+
});
|
|
95814
|
+
}
|
|
95815
|
+
getBaseUrl(env) {
|
|
95816
|
+
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95817
|
+
if (!baseUrl) {
|
|
95818
|
+
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95819
|
+
}
|
|
95820
|
+
return baseUrl;
|
|
95821
|
+
}
|
|
95822
|
+
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95823
|
+
send(signature, method, path, payload, opts) {
|
|
95824
|
+
return __async(this, null, function* () {
|
|
95825
|
+
ensureAuthInputs(signature);
|
|
95826
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95827
|
+
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95828
|
+
const { ecoreClientId, ecoreUserId } = this.config ?? {};
|
|
95829
|
+
const headers = __spreadValues(__spreadValues(__spreadValues({
|
|
95830
|
+
"x-target-url": targetUrl
|
|
95831
|
+
}, ecoreClientId ? { ClientId: String(ecoreClientId) } : {}), ecoreUserId ? { UserId: String(ecoreUserId) } : {}), opts.headers ?? {});
|
|
95832
|
+
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95833
|
+
method,
|
|
95834
|
+
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95835
|
+
}));
|
|
95836
|
+
const raw = yield resp.text();
|
|
95837
|
+
const parsed = tryParseJson(raw);
|
|
95838
|
+
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95839
|
+
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95840
|
+
});
|
|
95841
|
+
}
|
|
95842
|
+
failure(status, prefix, body, raw) {
|
|
95843
|
+
const result = body ? this.normalize(body) : void 0;
|
|
95844
|
+
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95845
|
+
const err = new Error(message);
|
|
95846
|
+
err.httpStatus = status;
|
|
95847
|
+
return err;
|
|
95848
|
+
}
|
|
95849
|
+
sleep(ms) {
|
|
95850
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95851
|
+
}
|
|
95852
|
+
/**
|
|
95853
|
+
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95854
|
+
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95855
|
+
* `errors`, `additionalInformation` is used as the error messages.
|
|
95856
|
+
*/
|
|
95857
|
+
normalize(body) {
|
|
95858
|
+
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95859
|
+
const errors = rawErrors.map((e) => ({
|
|
95860
|
+
Code: e?.code ?? e?.Code,
|
|
95861
|
+
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95862
|
+
}));
|
|
95863
|
+
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95864
|
+
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95865
|
+
if (!succeeded && !errors.length) {
|
|
95866
|
+
const additional = body?.additionalInformation ?? [];
|
|
95867
|
+
errors.push(...additional.map((Message) => ({ Message })));
|
|
95868
|
+
}
|
|
95869
|
+
return {
|
|
95870
|
+
Status: succeeded ? "Success" : "Failure",
|
|
95871
|
+
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95872
|
+
Draft: body?.draft ?? body?.Draft,
|
|
95873
|
+
Errors: errors
|
|
95874
|
+
};
|
|
95875
|
+
}
|
|
95876
|
+
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95877
|
+
hasFailed(result) {
|
|
95878
|
+
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95879
|
+
}
|
|
95880
|
+
describeFailure(httpStatus, prefix, result) {
|
|
95881
|
+
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95882
|
+
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95883
|
+
}
|
|
95884
|
+
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95885
|
+
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95886
|
+
};
|
|
95887
|
+
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95888
|
+
};
|
|
95889
|
+
(() => {
|
|
95890
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95891
|
+
type: Injectable,
|
|
95892
|
+
args: [{
|
|
95893
|
+
providedIn: "root"
|
|
95894
|
+
}]
|
|
95895
|
+
}], null, null);
|
|
95896
|
+
})();
|
|
95897
|
+
}
|
|
95898
|
+
});
|
|
95899
|
+
|
|
95900
|
+
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95901
|
+
function formatPostalCode(value) {
|
|
95902
|
+
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95903
|
+
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95904
|
+
}
|
|
95905
|
+
function toEcoreAddress(address) {
|
|
95906
|
+
const line2 = clean(address?.addressLine2);
|
|
95907
|
+
return __spreadProps(__spreadValues({
|
|
95908
|
+
streetAddress: clean(address?.addressLine1)
|
|
95909
|
+
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95910
|
+
city: clean(address?.city),
|
|
95911
|
+
provinceOrState: BC_PROVINCE_CODE,
|
|
95912
|
+
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95913
|
+
country: CANADA_COUNTRY_CODE
|
|
95914
|
+
});
|
|
95915
|
+
}
|
|
95916
|
+
function isSameAddress(a, b) {
|
|
95917
|
+
const key = (x) => [x.streetAddress, x.additionalStreetAddress, x.city, x.provinceOrState, x.postalOrZipCode, x.country].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
|
|
95918
|
+
return key(a) === key(b);
|
|
95919
|
+
}
|
|
95920
|
+
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95921
|
+
const registered = deltaData.registeredOffice;
|
|
95922
|
+
const records = deltaData.recordsOffice;
|
|
95923
|
+
const registeredMailing = toEcoreAddress(registered?.mailingAddress);
|
|
95924
|
+
const registeredDelivery = registered?.deliverySameAsMailing ? registeredMailing : toEcoreAddress(registered?.deliveryAddress);
|
|
95925
|
+
const recordsMailing = records?.sameAsRegisteredOffice ? registeredMailing : toEcoreAddress(records?.mailingAddress);
|
|
95926
|
+
const recordsDelivery = records?.sameAsRegisteredOffice ? registeredDelivery : records?.deliverySameAsMailing ? recordsMailing : toEcoreAddress(records?.deliveryAddress);
|
|
95927
|
+
const registeredDeliverySame = isSameAddress(registeredDelivery, registeredMailing);
|
|
95928
|
+
const recordsSameAsRegistered = isSameAddress(recordsMailing, registeredMailing);
|
|
95929
|
+
const recordsDeliverySame = isSameAddress(recordsDelivery, recordsMailing);
|
|
95930
|
+
const filing = {
|
|
95931
|
+
registeredOfficeMailingAddress: registeredMailing,
|
|
95932
|
+
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95933
|
+
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95934
|
+
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95935
|
+
// Both are picked on the form; the fallbacks only cover data saved before they were added.
|
|
95936
|
+
companyEmail: clean(deltaData.companyEmail) || BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95937
|
+
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
95938
|
+
};
|
|
95939
|
+
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95940
|
+
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95941
|
+
if (reference) {
|
|
95942
|
+
filing.reference = reference;
|
|
95943
|
+
}
|
|
95944
|
+
if (docket) {
|
|
95945
|
+
filing.docket = docket;
|
|
95946
|
+
}
|
|
95947
|
+
if (!registeredDeliverySame) {
|
|
95948
|
+
filing.registeredOfficeDeliveryAddress = registeredDelivery;
|
|
95949
|
+
}
|
|
95950
|
+
if (!recordsSameAsRegistered) {
|
|
95951
|
+
filing.recordsOfficeMailingAddress = recordsMailing;
|
|
95952
|
+
}
|
|
95953
|
+
if (!recordsDeliverySame) {
|
|
95954
|
+
filing.recordsOfficeDeliveryAddress = recordsDelivery;
|
|
95955
|
+
}
|
|
95956
|
+
return { filingType: "changeOfAddressFiling", filing };
|
|
95957
|
+
}
|
|
95958
|
+
function getBritishColumbiaAccessCode2(task, env) {
|
|
95959
|
+
const registryId = task.entity._profile.registry_id?.trim() ?? "";
|
|
95960
|
+
if (registryId) {
|
|
95961
|
+
return registryId;
|
|
95962
|
+
}
|
|
95963
|
+
return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
|
|
95964
|
+
}
|
|
95965
|
+
var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95966
|
+
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95967
|
+
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95968
|
+
init_BritishColumbiaConstants();
|
|
95969
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95970
|
+
TEMP_UAT_TEST_ACCESS_CODE = "12345678";
|
|
95971
|
+
BC_PROVINCE_CODE = "BC";
|
|
95972
|
+
CANADA_COUNTRY_CODE = "CA";
|
|
95973
|
+
clean = (value) => (value ?? "").trim();
|
|
95974
|
+
}
|
|
95975
|
+
});
|
|
95976
|
+
|
|
94220
95977
|
// src/app/components/filing/filing.component.ts
|
|
94221
95978
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
94222
95979
|
if (rf & 1) {
|
|
@@ -94300,6 +96057,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94300
96057
|
\u0275\u0275restoreView(_r6);
|
|
94301
96058
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94302
96059
|
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
96060
|
+
})("recheckStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_recheckStep_0_listener() {
|
|
96061
|
+
\u0275\u0275restoreView(_r6);
|
|
96062
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96063
|
+
return \u0275\u0275resetView(ctx_r2.defineInitialStep());
|
|
94303
96064
|
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
94304
96065
|
\u0275\u0275restoreView(_r6);
|
|
94305
96066
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -94316,6 +96077,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94316
96077
|
\u0275\u0275restoreView(_r6);
|
|
94317
96078
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94318
96079
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
96080
|
+
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
96081
|
+
\u0275\u0275restoreView(_r6);
|
|
96082
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96083
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
96084
|
+
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
96085
|
+
\u0275\u0275restoreView(_r6);
|
|
96086
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96087
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
96088
|
+
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
96089
|
+
\u0275\u0275restoreView(_r6);
|
|
96090
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96091
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
94319
96092
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
94320
96093
|
\u0275\u0275restoreView(_r6);
|
|
94321
96094
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -94431,6 +96204,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94431
96204
|
init_delta_state_service();
|
|
94432
96205
|
init_british_columbia_change_of_directors_service();
|
|
94433
96206
|
init_british_columbia_change_of_directors_mapper();
|
|
96207
|
+
init_british_columbia_maintenance_service();
|
|
96208
|
+
init_british_columbia_change_of_office_addresses_mapper();
|
|
94434
96209
|
init_core();
|
|
94435
96210
|
init_button();
|
|
94436
96211
|
FilingComponent = class _FilingComponent {
|
|
@@ -94487,6 +96262,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94487
96262
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
94488
96263
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
94489
96264
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
96265
|
+
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
94490
96266
|
translate = inject(TranslateService);
|
|
94491
96267
|
isEditButton = computed(() => {
|
|
94492
96268
|
const task = this.task();
|
|
@@ -94531,6 +96307,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94531
96307
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
94532
96308
|
return "File British Columbia Notice of Change of Directors";
|
|
94533
96309
|
}
|
|
96310
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96311
|
+
return "File British Columbia Change of Office Addresses";
|
|
96312
|
+
}
|
|
94534
96313
|
return "";
|
|
94535
96314
|
});
|
|
94536
96315
|
constructor() {
|
|
@@ -94543,6 +96322,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94543
96322
|
this.bcFormationService.setConfig(config2);
|
|
94544
96323
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
94545
96324
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
96325
|
+
this.bcMaintenanceService.setConfig(config2);
|
|
94546
96326
|
}
|
|
94547
96327
|
});
|
|
94548
96328
|
addStylesVariables();
|
|
@@ -94569,11 +96349,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94569
96349
|
}
|
|
94570
96350
|
}
|
|
94571
96351
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
|
|
94572
|
-
if (task.deltaData?.validatedData) {
|
|
94573
|
-
this.bcCurrentDataServiceOrderId = task.deltaData.validatedData.currentDataServiceOrderId ?? "";
|
|
94574
|
-
this.bcDataExtractTaskId = task._id;
|
|
94575
|
-
return;
|
|
94576
|
-
}
|
|
94577
96352
|
const signature = this._signature();
|
|
94578
96353
|
if (!signature)
|
|
94579
96354
|
return;
|
|
@@ -94872,6 +96647,97 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94872
96647
|
}
|
|
94873
96648
|
});
|
|
94874
96649
|
}
|
|
96650
|
+
/**
|
|
96651
|
+
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96652
|
+
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96653
|
+
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96654
|
+
*/
|
|
96655
|
+
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96656
|
+
return __async(this, null, function* () {
|
|
96657
|
+
const task = this.task();
|
|
96658
|
+
const signature = this._signature();
|
|
96659
|
+
try {
|
|
96660
|
+
if (!task || !signature) {
|
|
96661
|
+
throw new Error("The filing is not ready yet. Please try again.");
|
|
96662
|
+
}
|
|
96663
|
+
this.isLoading.set(true);
|
|
96664
|
+
this.errors.set([]);
|
|
96665
|
+
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96666
|
+
const opts = this.validateOptions() ?? {};
|
|
96667
|
+
const context2 = {
|
|
96668
|
+
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96669
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode2(task, signature.env),
|
|
96670
|
+
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96671
|
+
};
|
|
96672
|
+
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96673
|
+
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96674
|
+
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96675
|
+
if (this.hasResponseErrors(response))
|
|
96676
|
+
return;
|
|
96677
|
+
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96678
|
+
const draftPdf = response.Draft ?? "";
|
|
96679
|
+
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96680
|
+
if (draftPdf && searchOrFilingType) {
|
|
96681
|
+
this.filingValidateSuccess.emit({
|
|
96682
|
+
searchOrFilingType,
|
|
96683
|
+
serviceOrderId,
|
|
96684
|
+
validatedOn: /* @__PURE__ */ new Date(),
|
|
96685
|
+
provider: "bcreg",
|
|
96686
|
+
draftPdf,
|
|
96687
|
+
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96688
|
+
documentType: "pdf"
|
|
96689
|
+
});
|
|
96690
|
+
}
|
|
96691
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96692
|
+
serviceOrderId,
|
|
96693
|
+
// The corporation number is added by the service, not by the request builder, so it is
|
|
96694
|
+
// stored explicitly (the access code is deliberately left out) to detect entity changes.
|
|
96695
|
+
validatedData: __spreadProps(__spreadValues({}, JSON.parse(JSON.stringify(requestBody))), {
|
|
96696
|
+
corporationNumber: context2.corporationNumber
|
|
96697
|
+
})
|
|
96698
|
+
}));
|
|
96699
|
+
this.close.emit();
|
|
96700
|
+
} catch (response) {
|
|
96701
|
+
this.handleCatchError(response);
|
|
96702
|
+
} finally {
|
|
96703
|
+
this.isLoading.set(false);
|
|
96704
|
+
}
|
|
96705
|
+
});
|
|
96706
|
+
}
|
|
96707
|
+
/**
|
|
96708
|
+
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96709
|
+
*/
|
|
96710
|
+
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96711
|
+
const oldDeltaData = this.task()?.deltaData;
|
|
96712
|
+
if (oldDeltaData) {
|
|
96713
|
+
delete this.task()?.deltaData;
|
|
96714
|
+
}
|
|
96715
|
+
this.deltaDataChange.emit(deltaData);
|
|
96716
|
+
}
|
|
96717
|
+
/**
|
|
96718
|
+
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96719
|
+
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96720
|
+
*/
|
|
96721
|
+
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96722
|
+
return __async(this, null, function* () {
|
|
96723
|
+
const signature = this._signature();
|
|
96724
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96725
|
+
if (!signature || !serviceOrderId) {
|
|
96726
|
+
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96727
|
+
return;
|
|
96728
|
+
}
|
|
96729
|
+
try {
|
|
96730
|
+
this.isLoading.set(true);
|
|
96731
|
+
this.errors.set([]);
|
|
96732
|
+
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96733
|
+
this.close.emit();
|
|
96734
|
+
} catch (response) {
|
|
96735
|
+
this.handleCatchError(response);
|
|
96736
|
+
} finally {
|
|
96737
|
+
this.isLoading.set(false);
|
|
96738
|
+
}
|
|
96739
|
+
});
|
|
96740
|
+
}
|
|
94875
96741
|
/**
|
|
94876
96742
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
94877
96743
|
*/
|
|
@@ -95091,41 +96957,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95091
96957
|
return "Initial Return Draft";
|
|
95092
96958
|
}
|
|
95093
96959
|
onEditClick() {
|
|
95094
|
-
|
|
95095
|
-
if (!task)
|
|
95096
|
-
return;
|
|
95097
|
-
if (isUpdateMaintain(task)) {
|
|
96960
|
+
if (isUpdateMaintain(this.task())) {
|
|
95098
96961
|
this.serviceOrderId = "";
|
|
95099
96962
|
void this.getCurrentData();
|
|
95100
|
-
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
95101
|
-
this.bcDataExtractTaskId = "";
|
|
95102
|
-
void this.refreshBritishColumbiaCurrentDataExtract();
|
|
95103
96963
|
}
|
|
95104
96964
|
this.activeStep.set(Step.Validate);
|
|
95105
96965
|
}
|
|
95106
|
-
refreshBritishColumbiaCurrentDataExtract() {
|
|
95107
|
-
return __async(this, null, function* () {
|
|
95108
|
-
const task = this.task();
|
|
95109
|
-
const signature = this._signature();
|
|
95110
|
-
if (!task || !signature || !isChangeOfPrincipalsTask(task))
|
|
95111
|
-
return;
|
|
95112
|
-
const { request, issues } = buildBritishColumbiaDataExtractOrder(task, task.deltaData?.companyPassword);
|
|
95113
|
-
if (issues.length) {
|
|
95114
|
-
this.errors.set(issues);
|
|
95115
|
-
return;
|
|
95116
|
-
}
|
|
95117
|
-
this.isLoading.set(true);
|
|
95118
|
-
try {
|
|
95119
|
-
this.bcCurrentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
|
|
95120
|
-
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
95121
|
-
this.bcDataExtractTaskId = task._id;
|
|
95122
|
-
} catch (error) {
|
|
95123
|
-
this.handleCatchError(error);
|
|
95124
|
-
} finally {
|
|
95125
|
-
this.isLoading.set(false);
|
|
95126
|
-
}
|
|
95127
|
-
});
|
|
95128
|
-
}
|
|
95129
96966
|
parseError(errors) {
|
|
95130
96967
|
return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? "").toString().trim()).filter((message) => message.length > 0);
|
|
95131
96968
|
}
|
|
@@ -95169,7 +97006,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95169
97006
|
this.errors.set(this.parseError(errors));
|
|
95170
97007
|
return;
|
|
95171
97008
|
}
|
|
95172
|
-
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
97009
|
+
const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
95173
97010
|
this.errors.set([fallbackMessage]);
|
|
95174
97011
|
}
|
|
95175
97012
|
onClose() {
|
|
@@ -95236,6 +97073,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95236
97073
|
let initialDelta;
|
|
95237
97074
|
if (isFormationTask2(task)) {
|
|
95238
97075
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
97076
|
+
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
97077
|
+
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
95239
97078
|
} else if (isUpdateMaintain(task)) {
|
|
95240
97079
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
95241
97080
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -95269,6 +97108,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95269
97108
|
}
|
|
95270
97109
|
return federalPayload;
|
|
95271
97110
|
}
|
|
97111
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
97112
|
+
return __spreadProps(__spreadValues({}, buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData)), {
|
|
97113
|
+
corporationNumber: task.entity._profile.corp_number ?? ""
|
|
97114
|
+
});
|
|
97115
|
+
}
|
|
95272
97116
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
95273
97117
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
95274
97118
|
if (!serviceOrderId) {
|
|
@@ -95297,7 +97141,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95297
97141
|
if (rf & 2) {
|
|
95298
97142
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
95299
97143
|
}
|
|
95300
|
-
}, 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) {
|
|
97144
|
+
}, 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) {
|
|
95301
97145
|
if (rf & 1) {
|
|
95302
97146
|
const _r1 = \u0275\u0275getCurrentView();
|
|
95303
97147
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -95379,7 +97223,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95379
97223
|
[activeStep]="activeStep()"\r
|
|
95380
97224
|
[isNote]="dataWasChanged()"\r
|
|
95381
97225
|
[actionsDisabled]="isLoading()"\r
|
|
95382
|
-
[errors]="errors()"
|
|
97226
|
+
[errors]="errors()"\r
|
|
95383
97227
|
[prevData]="prevData()"\r
|
|
95384
97228
|
(close)="close.emit()"\r
|
|
95385
97229
|
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
@@ -95398,15 +97242,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95398
97242
|
[currentUser]="currentUser()"\r
|
|
95399
97243
|
[activeStep]="activeStep()"\r
|
|
95400
97244
|
[isNote]="dataWasChanged()"\r
|
|
95401
|
-
[actionsDisabled]="isLoading()"
|
|
95402
|
-
[errors]="errors()"
|
|
95403
|
-
[currentDataExtract]="currentDataExtract()"
|
|
97245
|
+
[actionsDisabled]="isLoading()"\r
|
|
97246
|
+
[errors]="errors()"\r
|
|
97247
|
+
[currentDataExtract]="currentDataExtract()"\r
|
|
95404
97248
|
(close)="close.emit()"\r
|
|
95405
97249
|
(nextStep)="onNextStepClick()"\r
|
|
97250
|
+
(recheckStep)="defineInitialStep()"\r
|
|
95406
97251
|
(prevStep)="onOntarioPrevStep()"\r
|
|
95407
97252
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95408
97253
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95409
97254
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
97255
|
+
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
97256
|
+
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
97257
|
+
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
95410
97258
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95411
97259
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95412
97260
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -95436,12 +97284,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95436
97284
|
</div>\r
|
|
95437
97285
|
}\r
|
|
95438
97286
|
</div>\r
|
|
95439
|
-
</div>\r
|
|
95440
|
-
`, 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'] }]
|
|
97287
|
+
</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'] }]
|
|
95441
97288
|
}], () => [], null);
|
|
95442
97289
|
})();
|
|
95443
97290
|
(() => {
|
|
95444
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
97291
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 97 });
|
|
95445
97292
|
})();
|
|
95446
97293
|
}
|
|
95447
97294
|
});
|
|
@@ -100087,7 +101934,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100087
101934
|
Currency: "Currency",
|
|
100088
101935
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
100089
101936
|
Unlimited: "Unlimited",
|
|
100090
|
-
"Without Par Value": "Without Par Value"
|
|
101937
|
+
"Without Par Value": "Without Par Value",
|
|
101938
|
+
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101939
|
+
"Records Office Address": "Records Office Address",
|
|
101940
|
+
"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.",
|
|
101941
|
+
"Current Mailing Address": "Current Mailing Address",
|
|
101942
|
+
"Current Delivery Address": "Current Delivery Address",
|
|
101943
|
+
"New Mailing Address": "New Mailing Address",
|
|
101944
|
+
"New Delivery Address": "New Delivery Address",
|
|
101945
|
+
"Same as Mailing Address": "Same as Mailing Address",
|
|
101946
|
+
"Same as Registered Office": "Same as Registered Office",
|
|
101947
|
+
"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."
|
|
100091
101948
|
};
|
|
100092
101949
|
}
|
|
100093
101950
|
});
|
|
@@ -100434,7 +102291,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100434
102291
|
Currency: "Devise",
|
|
100435
102292
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
100436
102293
|
Unlimited: "Illimit\xE9",
|
|
100437
|
-
"Without Par Value": "Sans valeur nominale"
|
|
102294
|
+
"Without Par Value": "Sans valeur nominale",
|
|
102295
|
+
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
102296
|
+
"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.",
|
|
102297
|
+
"Current Mailing Address": "Adresse postale actuelle",
|
|
102298
|
+
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
102299
|
+
"New Mailing Address": "Nouvelle adresse postale",
|
|
102300
|
+
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
102301
|
+
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
102302
|
+
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
102303
|
+
"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."
|
|
100438
102304
|
};
|
|
100439
102305
|
}
|
|
100440
102306
|
});
|