@dyedurham/search-and-file-widget 2.1.0 → 2.1.1
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 +2199 -318
- package/package.json +2 -2
- package/dyedurham-search-and-file-widget-2.1.0.tgz +0 -0
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";
|
|
@@ -84839,18 +84878,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84839
84878
|
const value = registryId?.trim() ?? "";
|
|
84840
84879
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
84841
84880
|
}
|
|
84842
|
-
/**
|
|
84881
|
+
/**
|
|
84882
|
+
* Athennian stores one address per `location_type` ("Mailing", "Delivery", …).
|
|
84883
|
+
* Falls back to the first address so both lines render when only one exists.
|
|
84884
|
+
*/
|
|
84843
84885
|
static pickAddress(addresses, locationType) {
|
|
84844
84886
|
if (!addresses?.length) {
|
|
84845
84887
|
return void 0;
|
|
84846
84888
|
}
|
|
84847
|
-
return addresses.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase());
|
|
84889
|
+
return addresses.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase()) ?? addresses[0];
|
|
84848
84890
|
}
|
|
84849
84891
|
};
|
|
84850
84892
|
}
|
|
84851
84893
|
});
|
|
84852
84894
|
|
|
84853
84895
|
// src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts
|
|
84896
|
+
function notInFuture() {
|
|
84897
|
+
return (control) => {
|
|
84898
|
+
if (!control.value) {
|
|
84899
|
+
return null;
|
|
84900
|
+
}
|
|
84901
|
+
const value = new Date(control.value);
|
|
84902
|
+
const today = /* @__PURE__ */ new Date();
|
|
84903
|
+
today.setHours(23, 59, 59, 999);
|
|
84904
|
+
return value > today ? { futureDate: true } : null;
|
|
84905
|
+
};
|
|
84906
|
+
}
|
|
84854
84907
|
var Controls, BritishColumbiaChangeOfDirectorsFormHelper;
|
|
84855
84908
|
var init_british_columbia_change_of_directors_form_helper = __esm({
|
|
84856
84909
|
"src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts"() {
|
|
@@ -84872,14 +84925,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84872
84925
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84873
84926
|
const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84874
84927
|
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84875
|
-
const effectiveDate = task._ext._effective_date ?? "";
|
|
84876
84928
|
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84877
84929
|
const config2 = {};
|
|
84878
84930
|
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number, delta?.referenceNumbers?.referenceNumber);
|
|
84879
84931
|
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84880
84932
|
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84881
84933
|
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
84882
|
-
[Controls.CompanyEmail]:
|
|
84934
|
+
[Controls.CompanyEmail]: this.readOnly(companyEmail)
|
|
84883
84935
|
});
|
|
84884
84936
|
const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
|
|
84885
84937
|
const incoming = task.incomingAffiliations ?? [];
|
|
@@ -84888,7 +84940,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84888
84940
|
const hasAddOrCease = ceasedIds.size > 0 || incoming.filter(isDirector).length > 0;
|
|
84889
84941
|
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84890
84942
|
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84891
|
-
[Controls.ChangeDate]:
|
|
84943
|
+
[Controls.ChangeDate]: new FormControl(delta?.filingDetails?.changeDate ?? "", [
|
|
84944
|
+
requiredIfValue(Controls.DirectorsAddedOrDeleted, true),
|
|
84945
|
+
notInFuture()
|
|
84946
|
+
]),
|
|
84892
84947
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84893
84948
|
});
|
|
84894
84949
|
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
@@ -85027,14 +85082,235 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85027
85082
|
}
|
|
85028
85083
|
});
|
|
85029
85084
|
|
|
85085
|
+
// src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
|
|
85086
|
+
var Controls2, COMPANY_EMAIL_TYPES, isCompanyEmail, incomingAddressByGrid, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
|
|
85087
|
+
var init_british_columbia_change_of_office_addresses_form_helper = __esm({
|
|
85088
|
+
"src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
|
|
85089
|
+
init_forms();
|
|
85090
|
+
init_common_models();
|
|
85091
|
+
init_british_columbia_form_enums();
|
|
85092
|
+
init_BritishColumbiaConstants();
|
|
85093
|
+
init_british_columbia_formation_form_helper();
|
|
85094
|
+
init_BritishColumbiaConstants();
|
|
85095
|
+
init_common_utils();
|
|
85096
|
+
Controls2 = BCChangeOfOfficeAddressesFormControls;
|
|
85097
|
+
COMPANY_EMAIL_TYPES = ["Business Email", "Email"];
|
|
85098
|
+
isCompanyEmail = (communication) => Boolean(communication?.value) && COMPANY_EMAIL_TYPES.includes(communication?.type ?? "");
|
|
85099
|
+
incomingAddressByGrid = /* @__PURE__ */ new WeakMap();
|
|
85100
|
+
EDITABLE_ADDRESS_CONTROLS = [
|
|
85101
|
+
Controls2.AddressLine1,
|
|
85102
|
+
Controls2.AddressLine2,
|
|
85103
|
+
Controls2.City,
|
|
85104
|
+
Controls2.PostalCode
|
|
85105
|
+
];
|
|
85106
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85107
|
+
static generateConfig(task, _translateFn) {
|
|
85108
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85109
|
+
const delta = task.deltaData;
|
|
85110
|
+
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
85111
|
+
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85112
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85113
|
+
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85114
|
+
const incoming = this.incomingOfficeAddresses(task);
|
|
85115
|
+
const seed = delta?.registeredOffice ? this.fillEmptyAddresses(delta, incoming) : this.seedFromIncomingAffiliations(task);
|
|
85116
|
+
const config2 = {};
|
|
85117
|
+
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85118
|
+
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
85119
|
+
[Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
85120
|
+
[Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
85121
|
+
[Controls2.CompanyEmail]: new FormControl(delta?.companyEmail || this.resolveCompanyEmail(task), Validators.required)
|
|
85122
|
+
});
|
|
85123
|
+
config2[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder] = new FormGroup({
|
|
85124
|
+
[Controls2.AnnualReportReminder]: new FormControl(delta?.annualReportReminder ?? BCAnnualReportReminder.Yes, Validators.required)
|
|
85125
|
+
});
|
|
85126
|
+
const regDeliverySame = seed.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85127
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85128
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85129
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85130
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.mailingAddress, true),
|
|
85131
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85132
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
85133
|
+
});
|
|
85134
|
+
const recSameAsRegistered = seed.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85135
|
+
const recDeliverySame = seed.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85136
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85137
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85138
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85139
|
+
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85140
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85141
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
85142
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
|
|
85143
|
+
});
|
|
85144
|
+
const grid = (group2, control) => config2[group2].get(control);
|
|
85145
|
+
const register = (target, address) => address && incomingAddressByGrid.set(target, address);
|
|
85146
|
+
register(grid(BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress, Controls2.NewDeliveryAddress), incoming.regDelivery);
|
|
85147
|
+
register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewMailingAddress), incoming.recMailing);
|
|
85148
|
+
register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewDeliveryAddress), incoming.recDelivery);
|
|
85149
|
+
return config2;
|
|
85150
|
+
}
|
|
85151
|
+
/** The company email choices: the entity's email options, plus the resolved default if it isn't one. */
|
|
85152
|
+
static getCompanyEmailOptions(task) {
|
|
85153
|
+
const values = (task.entity.emailOptions ?? []).filter(isCompanyEmail).map((o) => o.value);
|
|
85154
|
+
const fallback = this.resolveCompanyEmail(task);
|
|
85155
|
+
return [...new Set(fallback ? [...values, fallback] : values)].map((value) => ({
|
|
85156
|
+
value,
|
|
85157
|
+
label: value
|
|
85158
|
+
}));
|
|
85159
|
+
}
|
|
85160
|
+
/**
|
|
85161
|
+
* Pre-fills the new addresses from the task's incoming "Shared Address" affiliations (Registered
|
|
85162
|
+
* Office / Records Office), taking each Mailing / Delivery address from the affiliation or, when
|
|
85163
|
+
* it has none, from its parent affiliation. Nothing is pre-filled without an incoming address.
|
|
85164
|
+
*/
|
|
85165
|
+
static seedFromIncomingAffiliations(task) {
|
|
85166
|
+
const { regMailing, regDelivery, recMailing, recDelivery } = this.incomingOfficeAddresses(task);
|
|
85167
|
+
if (!regMailing && !recMailing) {
|
|
85168
|
+
return {};
|
|
85169
|
+
}
|
|
85170
|
+
const regDeliverySame = !regDelivery || this.isSameOfficeAddress(regDelivery, regMailing);
|
|
85171
|
+
const recDeliverySame = !recDelivery || this.isSameOfficeAddress(recDelivery, recMailing);
|
|
85172
|
+
const recSameAsRegistered = !recMailing || this.isSameOfficeAddress(recMailing, regMailing) && this.isSameOfficeAddress(recDelivery ?? recMailing, regDelivery ?? regMailing);
|
|
85173
|
+
return {
|
|
85174
|
+
registeredOffice: {
|
|
85175
|
+
mailingAddress: regMailing,
|
|
85176
|
+
deliverySameAsMailing: regDeliverySame,
|
|
85177
|
+
deliveryAddress: regDeliverySame ? void 0 : regDelivery
|
|
85178
|
+
},
|
|
85179
|
+
recordsOffice: {
|
|
85180
|
+
sameAsRegisteredOffice: recSameAsRegistered,
|
|
85181
|
+
mailingAddress: recSameAsRegistered ? void 0 : recMailing,
|
|
85182
|
+
deliverySameAsMailing: recDeliverySame,
|
|
85183
|
+
deliveryAddress: recDeliverySame ? void 0 : recDelivery
|
|
85184
|
+
}
|
|
85185
|
+
};
|
|
85186
|
+
}
|
|
85187
|
+
/** Keeps the saved flags and addresses, but fills an address the draft left empty from `incoming`. */
|
|
85188
|
+
static fillEmptyAddresses(saved, incoming) {
|
|
85189
|
+
const hasValues = (address) => EDITABLE_ADDRESS_CONTROLS.some((name) => Boolean(address?.[name]));
|
|
85190
|
+
const pick = (savedAddress, incomingAddress) => hasValues(savedAddress) ? savedAddress : incomingAddress ?? savedAddress;
|
|
85191
|
+
return {
|
|
85192
|
+
registeredOffice: __spreadProps(__spreadValues({}, saved.registeredOffice), {
|
|
85193
|
+
mailingAddress: pick(saved.registeredOffice?.mailingAddress, incoming.regMailing),
|
|
85194
|
+
deliveryAddress: pick(saved.registeredOffice?.deliveryAddress, incoming.regDelivery)
|
|
85195
|
+
}),
|
|
85196
|
+
recordsOffice: __spreadProps(__spreadValues({}, saved.recordsOffice), {
|
|
85197
|
+
mailingAddress: pick(saved.recordsOffice?.mailingAddress, incoming.recMailing),
|
|
85198
|
+
deliveryAddress: pick(saved.recordsOffice?.deliveryAddress, incoming.recDelivery)
|
|
85199
|
+
})
|
|
85200
|
+
};
|
|
85201
|
+
}
|
|
85202
|
+
/** The four office addresses of the task's incoming Shared Address, as form values. */
|
|
85203
|
+
static incomingOfficeAddresses(task) {
|
|
85204
|
+
const incoming = task.incomingAffiliations ?? [];
|
|
85205
|
+
const pickBy = (title, locationType) => {
|
|
85206
|
+
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 ?? []);
|
|
85207
|
+
const wanted = locationType.toLowerCase();
|
|
85208
|
+
const address = pool.find((a) => (a.computed_location_type ?? "").toLowerCase() === wanted || (a.location_type ?? "").toLowerCase() === wanted);
|
|
85209
|
+
return address && this.isBritishColumbia(address) ? this.toOfficeAddressDelta(address) : void 0;
|
|
85210
|
+
};
|
|
85211
|
+
return {
|
|
85212
|
+
regMailing: pickBy(AddressTitle2.REGISTERED_OFFICE, "Mailing"),
|
|
85213
|
+
regDelivery: pickBy(AddressTitle2.REGISTERED_OFFICE, "Delivery"),
|
|
85214
|
+
recMailing: pickBy(AddressTitle2.RECORDS_OFFICE, "Mailing"),
|
|
85215
|
+
recDelivery: pickBy(AddressTitle2.RECORDS_OFFICE, "Delivery")
|
|
85216
|
+
};
|
|
85217
|
+
}
|
|
85218
|
+
/** Street = street number + street name; the suite goes to Address Line 2. */
|
|
85219
|
+
static toOfficeAddressDelta(address) {
|
|
85220
|
+
const street = [getAddressComponent(address, "Street Number Only"), getAddressComponent(address, "Street Only")].filter(Boolean).join(" ") || getAddressComponent(address, "Street Address") || address.street || "";
|
|
85221
|
+
return {
|
|
85222
|
+
addressLine1: street,
|
|
85223
|
+
addressLine2: getAddressComponent(address, "Suite/Apartment") || address.address2 || "",
|
|
85224
|
+
city: address.city ?? "",
|
|
85225
|
+
postalCode: address.postal_zip ?? "",
|
|
85226
|
+
province: BC_DEFAULT_PROVINCE_STATE,
|
|
85227
|
+
country: BC_DEFAULT_COUNTRY
|
|
85228
|
+
};
|
|
85229
|
+
}
|
|
85230
|
+
/** An address with no province is accepted; the form only ever deals in British Columbia. */
|
|
85231
|
+
static isBritishColumbia(address) {
|
|
85232
|
+
const province = (address.province_state ?? "").trim().toLowerCase();
|
|
85233
|
+
return !province || ["bc", "b.c.", "british columbia"].includes(province);
|
|
85234
|
+
}
|
|
85235
|
+
static isSameOfficeAddress(a, b) {
|
|
85236
|
+
const key = (x) => [x?.addressLine1, x?.addressLine2, x?.city, x?.postalCode].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
|
|
85237
|
+
return key(a) === key(b);
|
|
85238
|
+
}
|
|
85239
|
+
/**
|
|
85240
|
+
* The company's email: the entity's email options, then the Registered Office's email, then the
|
|
85241
|
+
* entity's own, then any other address of the entity (e.g. a Head Office). Only a Business Email
|
|
85242
|
+
* or an Email counts; a Personal Email never does.
|
|
85243
|
+
*/
|
|
85244
|
+
static resolveCompanyEmail(task) {
|
|
85245
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85246
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85247
|
+
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 || "";
|
|
85248
|
+
}
|
|
85249
|
+
/**
|
|
85250
|
+
* Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
|
|
85251
|
+
* Province and Country are always disabled; the rest follow `enabled`.
|
|
85252
|
+
*/
|
|
85253
|
+
static createOfficeAddressFormGroup(delta, enabled = true) {
|
|
85254
|
+
const group2 = new FormGroup({
|
|
85255
|
+
[Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
|
|
85256
|
+
[Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
|
|
85257
|
+
[Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
|
|
85258
|
+
[Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
|
|
85259
|
+
[Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
|
|
85260
|
+
[Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
|
|
85261
|
+
});
|
|
85262
|
+
this.setOfficeAddressEnabled(group2, enabled);
|
|
85263
|
+
return group2;
|
|
85264
|
+
}
|
|
85265
|
+
/**
|
|
85266
|
+
* Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes).
|
|
85267
|
+
* Hiding a grid also clears it. Showing it again refills it with the address Athennian sent for
|
|
85268
|
+
* it, or leaves it empty when there is none (and when the user has already typed something).
|
|
85269
|
+
*/
|
|
85270
|
+
static setOfficeAddressEnabled(group2, enabled) {
|
|
85271
|
+
if (!group2) {
|
|
85272
|
+
return;
|
|
85273
|
+
}
|
|
85274
|
+
const restore = incomingAddressByGrid.get(group2);
|
|
85275
|
+
const isEmpty = EDITABLE_ADDRESS_CONTROLS.every((name) => !group2.get(name)?.value);
|
|
85276
|
+
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85277
|
+
const control = group2.get(name);
|
|
85278
|
+
if (enabled) {
|
|
85279
|
+
control?.enable({ emitEvent: false });
|
|
85280
|
+
if (restore && isEmpty) {
|
|
85281
|
+
control?.setValue(restore[name] ?? "", { emitEvent: false });
|
|
85282
|
+
}
|
|
85283
|
+
} else {
|
|
85284
|
+
control?.setValue("", { emitEvent: false });
|
|
85285
|
+
control?.disable({ emitEvent: false });
|
|
85286
|
+
}
|
|
85287
|
+
});
|
|
85288
|
+
group2.updateValueAndValidity({ emitEvent: false });
|
|
85289
|
+
}
|
|
85290
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85291
|
+
return new FormGroup({
|
|
85292
|
+
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85293
|
+
// `??`: an explicitly cleared value ('') in a saved draft must be preserved; the entity default applies only when absent.
|
|
85294
|
+
deltaData?.referenceNumber ?? clientMatterNumber ?? ""
|
|
85295
|
+
),
|
|
85296
|
+
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85297
|
+
});
|
|
85298
|
+
}
|
|
85299
|
+
static readOnly(value) {
|
|
85300
|
+
return new FormControl({ value: value ?? "", disabled: true });
|
|
85301
|
+
}
|
|
85302
|
+
};
|
|
85303
|
+
}
|
|
85304
|
+
});
|
|
85305
|
+
|
|
85030
85306
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85031
|
-
var
|
|
85307
|
+
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;
|
|
85032
85308
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85033
85309
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85034
85310
|
init_form_enums();
|
|
85035
85311
|
init_british_columbia_form_enums();
|
|
85036
85312
|
init_BritishColumbiaConstants();
|
|
85037
|
-
|
|
85313
|
+
Controls3 = BCChangeOfDirectorsFormControls;
|
|
85038
85314
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85039
85315
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85040
85316
|
type: FormType.Text,
|
|
@@ -85042,31 +85318,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85042
85318
|
class: className,
|
|
85043
85319
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85044
85320
|
});
|
|
85045
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85046
|
-
isNotifyByMail = (form) => form.get(
|
|
85321
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
|
|
85322
|
+
isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85047
85323
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85048
85324
|
{
|
|
85049
85325
|
type: FormType.Input,
|
|
85050
85326
|
label: "Client/Matter Number",
|
|
85051
|
-
formControlName:
|
|
85327
|
+
formControlName: Controls3.ClientMatterNumber
|
|
85052
85328
|
},
|
|
85053
85329
|
{
|
|
85054
85330
|
type: FormType.Input,
|
|
85055
85331
|
label: "Docket Number",
|
|
85056
|
-
formControlName:
|
|
85332
|
+
formControlName: Controls3.DocketNumber
|
|
85057
85333
|
}
|
|
85058
85334
|
];
|
|
85059
85335
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85060
|
-
readOnlyRow("Corporation Name",
|
|
85061
|
-
readOnlyRow("Incorporation Number",
|
|
85062
|
-
|
|
85063
|
-
type: FormType.Select,
|
|
85064
|
-
label: "Company Email",
|
|
85065
|
-
formControlName: Controls2.CompanyEmail,
|
|
85066
|
-
required: true,
|
|
85067
|
-
options: [],
|
|
85068
|
-
class: "span-12"
|
|
85069
|
-
}
|
|
85336
|
+
readOnlyRow("Corporation Name", Controls3.CorporationName),
|
|
85337
|
+
readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
|
|
85338
|
+
readOnlyRow("Company Email", Controls3.CompanyEmail)
|
|
85070
85339
|
];
|
|
85071
85340
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85072
85341
|
{
|
|
@@ -85078,16 +85347,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85078
85347
|
{
|
|
85079
85348
|
type: FormType.Checkbox,
|
|
85080
85349
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85081
|
-
formControlName:
|
|
85350
|
+
formControlName: Controls3.DirectorsAddedOrDeleted,
|
|
85082
85351
|
class: "span-12",
|
|
85083
85352
|
onChange: (form) => {
|
|
85084
|
-
form
|
|
85353
|
+
if (!directorsAddedOrDeleted(form)) {
|
|
85354
|
+
form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85355
|
+
}
|
|
85356
|
+
form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85085
85357
|
}
|
|
85086
85358
|
},
|
|
85087
|
-
|
|
85088
|
-
|
|
85089
|
-
|
|
85090
|
-
|
|
85359
|
+
{
|
|
85360
|
+
type: FormType.Date,
|
|
85361
|
+
label: "Date Directors were added or deleted",
|
|
85362
|
+
formControlName: Controls3.ChangeDate,
|
|
85363
|
+
required: true,
|
|
85364
|
+
isVisible: directorsAddedOrDeleted,
|
|
85365
|
+
class: "span-8"
|
|
85366
|
+
},
|
|
85367
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
|
|
85091
85368
|
isVisible: directorsAddedOrDeleted
|
|
85092
85369
|
}),
|
|
85093
85370
|
{
|
|
@@ -85099,34 +85376,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85099
85376
|
}
|
|
85100
85377
|
];
|
|
85101
85378
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85102
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85103
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85379
|
+
readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
|
|
85380
|
+
readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
|
|
85104
85381
|
];
|
|
85105
85382
|
[
|
|
85106
85383
|
{
|
|
85107
85384
|
type: FormType.Select,
|
|
85108
85385
|
label: "Notification Method",
|
|
85109
|
-
formControlName:
|
|
85386
|
+
formControlName: Controls3.NotificationMethod,
|
|
85110
85387
|
required: true,
|
|
85111
85388
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85112
85389
|
needTranslate: true,
|
|
85113
85390
|
class: "span-6",
|
|
85114
|
-
onChange: (form) => form.get(
|
|
85391
|
+
onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85115
85392
|
},
|
|
85116
85393
|
{
|
|
85117
85394
|
type: FormType.Input,
|
|
85118
85395
|
label: "Notification Email",
|
|
85119
|
-
formControlName:
|
|
85396
|
+
formControlName: Controls3.NotificationEmail,
|
|
85120
85397
|
required: true,
|
|
85121
85398
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85122
85399
|
class: "column-3"
|
|
85123
85400
|
},
|
|
85124
85401
|
{
|
|
85125
85402
|
type: FormType.Text,
|
|
85126
|
-
formControlName:
|
|
85403
|
+
formControlName: Controls3.NotificationMailingAddress,
|
|
85127
85404
|
class: "span-12",
|
|
85128
85405
|
isVisible: isNotifyByMail,
|
|
85129
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85406
|
+
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")})`
|
|
85130
85407
|
}
|
|
85131
85408
|
];
|
|
85132
85409
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85139,7 +85416,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85139
85416
|
{
|
|
85140
85417
|
type: FormType.Select,
|
|
85141
85418
|
label: "Annual Report Reminder",
|
|
85142
|
-
formControlName:
|
|
85419
|
+
formControlName: Controls3.AnnualReportReminder,
|
|
85143
85420
|
required: true,
|
|
85144
85421
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85145
85422
|
needTranslate: true,
|
|
@@ -85152,7 +85429,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85152
85429
|
// src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
|
|
85153
85430
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
|
|
85154
85431
|
if (rf & 1) {
|
|
85155
|
-
\u0275\u0275element(0, "alert",
|
|
85432
|
+
\u0275\u0275element(0, "alert", 2);
|
|
85156
85433
|
}
|
|
85157
85434
|
if (rf & 2) {
|
|
85158
85435
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85161,7 +85438,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85161
85438
|
}
|
|
85162
85439
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
|
|
85163
85440
|
if (rf & 1) {
|
|
85164
|
-
\u0275\u0275element(0, "alert",
|
|
85441
|
+
\u0275\u0275element(0, "alert", 3);
|
|
85165
85442
|
}
|
|
85166
85443
|
if (rf & 2) {
|
|
85167
85444
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85171,7 +85448,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85171
85448
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85172
85449
|
if (rf & 1) {
|
|
85173
85450
|
const _r2 = \u0275\u0275getCurrentView();
|
|
85174
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85451
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 10);
|
|
85175
85452
|
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85176
85453
|
\u0275\u0275restoreView(_r2);
|
|
85177
85454
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85189,7 +85466,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85189
85466
|
}
|
|
85190
85467
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85191
85468
|
if (rf & 1) {
|
|
85192
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85469
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p")(3, "strong");
|
|
85193
85470
|
\u0275\u0275text(4);
|
|
85194
85471
|
\u0275\u0275pipe(5, "translate");
|
|
85195
85472
|
\u0275\u0275elementEnd();
|
|
@@ -85201,63 +85478,97 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85201
85478
|
\u0275\u0275elementEnd();
|
|
85202
85479
|
\u0275\u0275text(11);
|
|
85203
85480
|
\u0275\u0275elementEnd();
|
|
85204
|
-
\u0275\
|
|
85205
|
-
\u0275\
|
|
85481
|
+
\u0275\u0275elementStart(12, "p")(13, "strong");
|
|
85482
|
+
\u0275\u0275text(14);
|
|
85483
|
+
\u0275\u0275pipe(15, "translate");
|
|
85484
|
+
\u0275\u0275elementEnd();
|
|
85485
|
+
\u0275\u0275text(16);
|
|
85486
|
+
\u0275\u0275elementEnd()()();
|
|
85206
85487
|
}
|
|
85207
85488
|
if (rf & 2) {
|
|
85208
85489
|
let tmp_9_0;
|
|
85209
85490
|
let tmp_11_0;
|
|
85491
|
+
let tmp_13_0;
|
|
85210
85492
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85211
85493
|
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
85212
85494
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85213
85495
|
\u0275\u0275advance(4);
|
|
85214
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5,
|
|
85496
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 8, "Corporation Name"), ":");
|
|
85215
85497
|
\u0275\u0275advance(2);
|
|
85216
85498
|
\u0275\u0275textInterpolate1(" ", (tmp_9_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_9_0.value, " ");
|
|
85217
85499
|
\u0275\u0275advance(3);
|
|
85218
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10,
|
|
85500
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 10, "Incorporation Number"), ":");
|
|
85219
85501
|
\u0275\u0275advance(2);
|
|
85220
85502
|
\u0275\u0275textInterpolate1(" ", (tmp_11_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_11_0.value, " ");
|
|
85221
|
-
\u0275\u0275advance();
|
|
85222
|
-
\u0275\
|
|
85503
|
+
\u0275\u0275advance(3);
|
|
85504
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
|
|
85505
|
+
\u0275\u0275advance(2);
|
|
85506
|
+
\u0275\u0275textInterpolate1(" ", (tmp_13_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_13_0.value, " ");
|
|
85223
85507
|
}
|
|
85224
85508
|
}
|
|
85225
85509
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85226
85510
|
if (rf & 1) {
|
|
85511
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
85227
85512
|
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "label");
|
|
85228
85513
|
\u0275\u0275text(3);
|
|
85229
85514
|
\u0275\u0275pipe(4, "translate");
|
|
85515
|
+
\u0275\u0275elementStart(5, "span");
|
|
85516
|
+
\u0275\u0275text(6, "*");
|
|
85517
|
+
\u0275\u0275elementEnd()();
|
|
85518
|
+
\u0275\u0275elementStart(7, "mat-form-field", 17)(8, "input", 18);
|
|
85519
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
|
|
85520
|
+
\u0275\u0275restoreView(_r7);
|
|
85521
|
+
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85522
|
+
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85523
|
+
})("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
|
|
85524
|
+
\u0275\u0275restoreView(_r7);
|
|
85525
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85526
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85527
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85528
|
+
});
|
|
85230
85529
|
\u0275\u0275elementEnd();
|
|
85231
|
-
\u0275\u0275elementStart(
|
|
85232
|
-
\u0275\
|
|
85233
|
-
|
|
85530
|
+
\u0275\u0275elementStart(9, "button", 19);
|
|
85531
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
|
|
85532
|
+
\u0275\u0275restoreView(_r7);
|
|
85533
|
+
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85534
|
+
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85535
|
+
});
|
|
85536
|
+
\u0275\u0275element(10, "span", 20);
|
|
85537
|
+
\u0275\u0275elementEnd();
|
|
85538
|
+
\u0275\u0275element(11, "mat-datepicker", null, 0);
|
|
85539
|
+
\u0275\u0275elementEnd();
|
|
85540
|
+
\u0275\u0275elementStart(13, "p", 21);
|
|
85541
|
+
\u0275\u0275text(14);
|
|
85542
|
+
\u0275\u0275pipe(15, "translate");
|
|
85234
85543
|
\u0275\u0275elementEnd()();
|
|
85235
|
-
\u0275\u0275elementStart(
|
|
85236
|
-
\u0275\u0275text(
|
|
85237
|
-
\u0275\u0275pipe(
|
|
85544
|
+
\u0275\u0275elementStart(16, "p", 22)(17, "strong");
|
|
85545
|
+
\u0275\u0275text(18);
|
|
85546
|
+
\u0275\u0275pipe(19, "translate");
|
|
85238
85547
|
\u0275\u0275elementEnd();
|
|
85239
|
-
\u0275\u0275text(
|
|
85548
|
+
\u0275\u0275text(20);
|
|
85240
85549
|
\u0275\u0275elementEnd()();
|
|
85241
85550
|
}
|
|
85242
85551
|
if (rf & 2) {
|
|
85243
|
-
let
|
|
85244
|
-
|
|
85552
|
+
let tmp_13_0;
|
|
85553
|
+
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85245
85554
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85246
85555
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85247
85556
|
\u0275\u0275advance(3);
|
|
85248
|
-
\u0275\
|
|
85249
|
-
\u0275\u0275advance(
|
|
85250
|
-
\u0275\
|
|
85557
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 6, "Date Directors were added or deleted"), "");
|
|
85558
|
+
\u0275\u0275advance(5);
|
|
85559
|
+
\u0275\u0275property("matDatepicker", changeDatePicker_r8)("formControlName", ctx_r0.controls.ChangeDate);
|
|
85560
|
+
\u0275\u0275advance(6);
|
|
85561
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(15, 8, "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."), " ");
|
|
85251
85562
|
\u0275\u0275advance(4);
|
|
85252
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(
|
|
85563
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(19, 10, "Filing Fee"), ":");
|
|
85253
85564
|
\u0275\u0275advance(2);
|
|
85254
|
-
\u0275\u0275textInterpolate1(" ", (
|
|
85565
|
+
\u0275\u0275textInterpolate1(" ", (tmp_13_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_13_0.value, " ");
|
|
85255
85566
|
}
|
|
85256
85567
|
}
|
|
85257
85568
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85258
85569
|
if (rf & 1) {
|
|
85259
85570
|
const _r5 = \u0275\u0275getCurrentView();
|
|
85260
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85571
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 12)(2, "div", 13)(3, "strong");
|
|
85261
85572
|
\u0275\u0275text(4);
|
|
85262
85573
|
\u0275\u0275pipe(5, "translate");
|
|
85263
85574
|
\u0275\u0275elementEnd();
|
|
@@ -85267,16 +85578,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85267
85578
|
\u0275\u0275elementStart(8, "mat-checkbox", 14);
|
|
85268
85579
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85269
85580
|
let tmp_7_0;
|
|
85581
|
+
let tmp_8_0;
|
|
85270
85582
|
\u0275\u0275restoreView(_r5);
|
|
85271
85583
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85272
85584
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85273
|
-
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.
|
|
85585
|
+
(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 });
|
|
85586
|
+
(tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85274
85587
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85275
85588
|
});
|
|
85276
85589
|
\u0275\u0275text(9);
|
|
85277
85590
|
\u0275\u0275pipe(10, "translate");
|
|
85278
85591
|
\u0275\u0275elementEnd();
|
|
85279
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template,
|
|
85592
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 15);
|
|
85280
85593
|
\u0275\u0275elementEnd()();
|
|
85281
85594
|
}
|
|
85282
85595
|
if (rf & 2) {
|
|
@@ -85300,7 +85613,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85300
85613
|
}
|
|
85301
85614
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85302
85615
|
if (rf & 1) {
|
|
85303
|
-
\u0275\u0275elementStart(0, "span",
|
|
85616
|
+
\u0275\u0275elementStart(0, "span", 27);
|
|
85304
85617
|
\u0275\u0275text(1);
|
|
85305
85618
|
\u0275\u0275pipe(2, "translate");
|
|
85306
85619
|
\u0275\u0275elementEnd();
|
|
@@ -85312,7 +85625,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85312
85625
|
}
|
|
85313
85626
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85314
85627
|
if (rf & 1) {
|
|
85315
|
-
\u0275\u0275elementStart(0, "span",
|
|
85628
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85316
85629
|
\u0275\u0275text(1);
|
|
85317
85630
|
\u0275\u0275pipe(2, "translate");
|
|
85318
85631
|
\u0275\u0275elementEnd();
|
|
@@ -85324,15 +85637,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85324
85637
|
}
|
|
85325
85638
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
|
|
85326
85639
|
if (rf & 1) {
|
|
85327
|
-
\u0275\u0275elementStart(0, "div",
|
|
85640
|
+
\u0275\u0275elementStart(0, "div", 25)(1, "div", 26)(2, "strong");
|
|
85328
85641
|
\u0275\u0275text(3);
|
|
85329
85642
|
\u0275\u0275elementEnd();
|
|
85330
|
-
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span",
|
|
85643
|
+
\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);
|
|
85331
85644
|
\u0275\u0275elementEnd();
|
|
85332
|
-
\u0275\u0275elementStart(6, "div",
|
|
85645
|
+
\u0275\u0275elementStart(6, "div", 26);
|
|
85333
85646
|
\u0275\u0275text(7);
|
|
85334
85647
|
\u0275\u0275elementEnd();
|
|
85335
|
-
\u0275\u0275elementStart(8, "div",
|
|
85648
|
+
\u0275\u0275elementStart(8, "div", 26);
|
|
85336
85649
|
\u0275\u0275text(9);
|
|
85337
85650
|
\u0275\u0275elementEnd()();
|
|
85338
85651
|
}
|
|
@@ -85341,43 +85654,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85341
85654
|
let tmp_22_0;
|
|
85342
85655
|
let tmp_23_0;
|
|
85343
85656
|
\u0275\u0275nextContext();
|
|
85344
|
-
const
|
|
85657
|
+
const directorForm_r9 = \u0275\u0275readContextLet(0);
|
|
85345
85658
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85346
85659
|
\u0275\u0275advance(3);
|
|
85347
|
-
\u0275\u0275textInterpolate((tmp_19_0 =
|
|
85660
|
+
\u0275\u0275textInterpolate((tmp_19_0 = directorForm_r9.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_19_0.value);
|
|
85348
85661
|
\u0275\u0275advance();
|
|
85349
|
-
\u0275\u0275conditional(ctx_r0.isNewDirector(
|
|
85662
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r9) ? 4 : -1);
|
|
85350
85663
|
\u0275\u0275advance();
|
|
85351
|
-
\u0275\u0275conditional(ctx_r0.isCeasedDirector(
|
|
85664
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r9) ? 5 : -1);
|
|
85352
85665
|
\u0275\u0275advance(2);
|
|
85353
|
-
\u0275\u0275textInterpolate((tmp_22_0 =
|
|
85666
|
+
\u0275\u0275textInterpolate((tmp_22_0 = directorForm_r9.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_22_0.value);
|
|
85354
85667
|
\u0275\u0275advance(2);
|
|
85355
|
-
\u0275\u0275textInterpolate((tmp_23_0 =
|
|
85668
|
+
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85356
85669
|
}
|
|
85357
85670
|
}
|
|
85358
85671
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
|
|
85359
85672
|
if (rf & 1) {
|
|
85360
85673
|
\u0275\u0275declareLet(0);
|
|
85361
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div",
|
|
85674
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 25);
|
|
85362
85675
|
}
|
|
85363
85676
|
if (rf & 2) {
|
|
85364
|
-
const \u0275$
|
|
85365
|
-
const
|
|
85677
|
+
const \u0275$index_115_r10 = ctx.$index;
|
|
85678
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_115_r10));
|
|
85366
85679
|
\u0275\u0275advance();
|
|
85367
|
-
\u0275\u0275conditional(
|
|
85680
|
+
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85368
85681
|
}
|
|
85369
85682
|
}
|
|
85370
85683
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
|
|
85371
85684
|
if (rf & 1) {
|
|
85372
|
-
\u0275\u0275elementStart(0, "div",
|
|
85685
|
+
\u0275\u0275elementStart(0, "div", 8)(1, "div", 23)(2, "div", 24);
|
|
85373
85686
|
\u0275\u0275text(3);
|
|
85374
85687
|
\u0275\u0275pipe(4, "translate");
|
|
85375
85688
|
\u0275\u0275elementEnd();
|
|
85376
|
-
\u0275\u0275elementStart(5, "div",
|
|
85689
|
+
\u0275\u0275elementStart(5, "div", 24);
|
|
85377
85690
|
\u0275\u0275text(6);
|
|
85378
85691
|
\u0275\u0275pipe(7, "translate");
|
|
85379
85692
|
\u0275\u0275elementEnd();
|
|
85380
|
-
\u0275\u0275elementStart(8, "div",
|
|
85693
|
+
\u0275\u0275elementStart(8, "div", 24);
|
|
85381
85694
|
\u0275\u0275text(9);
|
|
85382
85695
|
\u0275\u0275pipe(10, "translate");
|
|
85383
85696
|
\u0275\u0275elementEnd()();
|
|
@@ -85386,7 +85699,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85386
85699
|
}
|
|
85387
85700
|
if (rf & 2) {
|
|
85388
85701
|
\u0275\u0275nextContext();
|
|
85389
|
-
const
|
|
85702
|
+
const directorsArray_r12 = \u0275\u0275readContextLet(10);
|
|
85390
85703
|
\u0275\u0275advance(3);
|
|
85391
85704
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85392
85705
|
\u0275\u0275advance(3);
|
|
@@ -85394,12 +85707,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85394
85707
|
\u0275\u0275advance(3);
|
|
85395
85708
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85396
85709
|
\u0275\u0275advance(2);
|
|
85397
|
-
\u0275\u0275repeater(
|
|
85710
|
+
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85398
85711
|
}
|
|
85399
85712
|
}
|
|
85400
85713
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85401
85714
|
if (rf & 1) {
|
|
85402
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85715
|
+
\u0275\u0275elementStart(0, "h2", 9);
|
|
85403
85716
|
\u0275\u0275text(1);
|
|
85404
85717
|
\u0275\u0275pipe(2, "translate");
|
|
85405
85718
|
\u0275\u0275elementEnd();
|
|
@@ -85411,33 +85724,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85411
85724
|
}
|
|
85412
85725
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85413
85726
|
if (rf & 1) {
|
|
85414
|
-
const
|
|
85415
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85727
|
+
const _r13 = \u0275\u0275getCurrentView();
|
|
85728
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 29)(2, "p");
|
|
85416
85729
|
\u0275\u0275text(3);
|
|
85417
85730
|
\u0275\u0275pipe(4, "translate");
|
|
85418
85731
|
\u0275\u0275elementEnd();
|
|
85419
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85732
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 30);
|
|
85420
85733
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
|
|
85421
|
-
\u0275\u0275restoreView(
|
|
85734
|
+
\u0275\u0275restoreView(_r13);
|
|
85422
85735
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85423
|
-
const
|
|
85424
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder",
|
|
85736
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85737
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
|
|
85425
85738
|
});
|
|
85426
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85739
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 31);
|
|
85427
85740
|
\u0275\u0275text(7);
|
|
85428
85741
|
\u0275\u0275pipe(8, "translate");
|
|
85429
85742
|
\u0275\u0275elementEnd();
|
|
85430
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85743
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 31);
|
|
85431
85744
|
\u0275\u0275text(10);
|
|
85432
85745
|
\u0275\u0275pipe(11, "translate");
|
|
85433
85746
|
\u0275\u0275elementEnd()()()();
|
|
85434
85747
|
}
|
|
85435
85748
|
if (rf & 2) {
|
|
85436
85749
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85437
|
-
const
|
|
85750
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85438
85751
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85439
85752
|
\u0275\u0275advance();
|
|
85440
|
-
\u0275\u0275property("formGroup",
|
|
85753
|
+
\u0275\u0275property("formGroup", annualReportReminder_r14);
|
|
85441
85754
|
\u0275\u0275advance(2);
|
|
85442
85755
|
\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."), " ");
|
|
85443
85756
|
\u0275\u0275advance(2);
|
|
@@ -85470,7 +85783,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85470
85783
|
init_british_columbia_form_enums();
|
|
85471
85784
|
init_british_columbia_change_of_directors_form_constants();
|
|
85472
85785
|
init_BritishColumbiaConstants();
|
|
85473
|
-
init_british_columbia_formation_form_helper();
|
|
85474
85786
|
init_core();
|
|
85475
85787
|
init_forms();
|
|
85476
85788
|
BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
|
|
@@ -85486,13 +85798,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85486
85798
|
controls = BCChangeOfDirectorsFormControls;
|
|
85487
85799
|
annualReportReminderOption = BCAnnualReportReminder;
|
|
85488
85800
|
referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
85489
|
-
corporationDetailsFields =
|
|
85490
|
-
const corporationDetails = this.form().get(this.groups.CorporationDetails);
|
|
85491
|
-
const currentEmail = corporationDetails?.get(this.controls.CompanyEmail)?.value;
|
|
85492
|
-
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
85493
|
-
return BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
85494
|
-
});
|
|
85495
|
-
companyEmailFields = computed(() => this.corporationDetailsFields().filter((field) => field.formControlName === this.controls.CompanyEmail));
|
|
85801
|
+
corporationDetailsFields = BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
85496
85802
|
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85497
85803
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85498
85804
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
@@ -85505,11 +85811,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85505
85811
|
const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
|
|
85506
85812
|
return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
|
|
85507
85813
|
}
|
|
85508
|
-
getEffectiveDateDisplay(value) {
|
|
85509
|
-
const date = String(value ?? "").split("T")[0];
|
|
85510
|
-
const [year, month, day] = date.split("-");
|
|
85511
|
-
return year && month && day ? `${day}/${month}/${year}` : "\u2014";
|
|
85512
|
-
}
|
|
85513
85814
|
onSectionValidChange(section, valid) {
|
|
85514
85815
|
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85515
85816
|
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
@@ -85535,23 +85836,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85535
85836
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85536
85837
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85537
85838
|
};
|
|
85538
|
-
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"], [
|
|
85839
|
+
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) {
|
|
85539
85840
|
if (rf & 1) {
|
|
85540
|
-
\u0275\u0275elementStart(0, "div",
|
|
85541
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert",
|
|
85542
|
-
\u0275\u0275elementStart(3, "div",
|
|
85841
|
+
\u0275\u0275elementStart(0, "div", 1);
|
|
85842
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
85843
|
+
\u0275\u0275elementStart(3, "div", 4);
|
|
85543
85844
|
\u0275\u0275declareLet(4);
|
|
85544
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card",
|
|
85845
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 5);
|
|
85545
85846
|
\u0275\u0275declareLet(6);
|
|
85546
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template,
|
|
85847
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 17, 14, "expandable-card", 6);
|
|
85547
85848
|
\u0275\u0275declareLet(8);
|
|
85548
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card",
|
|
85849
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85549
85850
|
\u0275\u0275declareLet(10);
|
|
85550
|
-
\u0275\u0275elementStart(11, "expandable-card",
|
|
85551
|
-
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div",
|
|
85851
|
+
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85852
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 8)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 9);
|
|
85552
85853
|
\u0275\u0275elementEnd();
|
|
85553
85854
|
\u0275\u0275declareLet(14);
|
|
85554
|
-
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card",
|
|
85855
|
+
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 7);
|
|
85555
85856
|
\u0275\u0275elementEnd()();
|
|
85556
85857
|
}
|
|
85557
85858
|
if (rf & 2) {
|
|
@@ -85560,36 +85861,41 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85560
85861
|
\u0275\u0275advance();
|
|
85561
85862
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85562
85863
|
\u0275\u0275advance(2);
|
|
85563
|
-
const
|
|
85864
|
+
const referenceNumbers_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85564
85865
|
\u0275\u0275advance();
|
|
85565
|
-
\u0275\u0275conditional(
|
|
85866
|
+
\u0275\u0275conditional(referenceNumbers_r15 ? 5 : -1);
|
|
85566
85867
|
\u0275\u0275advance();
|
|
85567
|
-
const
|
|
85868
|
+
const corporationDetails_r16 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85568
85869
|
\u0275\u0275advance();
|
|
85569
|
-
\u0275\u0275conditional(
|
|
85870
|
+
\u0275\u0275conditional(corporationDetails_r16 ? 7 : -1);
|
|
85570
85871
|
\u0275\u0275advance();
|
|
85571
|
-
const
|
|
85872
|
+
const filingDetails_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
|
|
85572
85873
|
\u0275\u0275advance();
|
|
85573
|
-
\u0275\u0275conditional(
|
|
85874
|
+
\u0275\u0275conditional(filingDetails_r17 ? 9 : -1);
|
|
85574
85875
|
\u0275\u0275advance();
|
|
85575
|
-
const
|
|
85876
|
+
const directorsArray_r18 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85576
85877
|
\u0275\u0275advance();
|
|
85577
85878
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85578
85879
|
\u0275\u0275advance();
|
|
85579
|
-
\u0275\u0275conditional(
|
|
85880
|
+
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 12 : 13);
|
|
85580
85881
|
\u0275\u0275advance(2);
|
|
85581
|
-
const
|
|
85882
|
+
const annualReportReminder_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85582
85883
|
\u0275\u0275advance();
|
|
85583
|
-
\u0275\u0275conditional(
|
|
85884
|
+
\u0275\u0275conditional(annualReportReminder_r19 ? 15 : -1);
|
|
85584
85885
|
}
|
|
85585
85886
|
}, dependencies: [
|
|
85586
85887
|
FilingFormGroupComponent,
|
|
85587
85888
|
AlertComponent,
|
|
85588
85889
|
ExpandableCardComponent,
|
|
85589
85890
|
MatCheckbox,
|
|
85891
|
+
MatDatepicker,
|
|
85892
|
+
MatDatepickerInput,
|
|
85893
|
+
MatFormField,
|
|
85894
|
+
MatInput,
|
|
85590
85895
|
MatRadioButton,
|
|
85591
85896
|
MatRadioGroup,
|
|
85592
85897
|
ReactiveFormsModule,
|
|
85898
|
+
DefaultValueAccessor,
|
|
85593
85899
|
NgControlStatus,
|
|
85594
85900
|
NgControlStatusGroup,
|
|
85595
85901
|
FormGroupDirective,
|
|
@@ -85656,11 +85962,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85656
85962
|
<strong>{{ 'Incorporation Number' | translate }}:</strong>\r
|
|
85657
85963
|
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
|
|
85658
85964
|
</p>\r
|
|
85659
|
-
<
|
|
85660
|
-
|
|
85661
|
-
|
|
85662
|
-
|
|
85663
|
-
/>
|
|
85965
|
+
<p>\r
|
|
85966
|
+
<strong>{{ 'Company Email' | translate }}:</strong>\r
|
|
85967
|
+
{{ corporationDetails.get(controls.CompanyEmail)?.value }}\r
|
|
85968
|
+
</p>\r
|
|
85664
85969
|
</div>\r
|
|
85665
85970
|
</expandable-card>\r
|
|
85666
85971
|
}\r
|
|
@@ -85684,23 +85989,48 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85684
85989
|
\r
|
|
85685
85990
|
<mat-checkbox\r
|
|
85686
85991
|
class="directors-change-checkbox"\r
|
|
85687
|
-
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85688
|
-
(change)="
|
|
85689
|
-
filingDetails.get(controls.ChangeDate)?.
|
|
85690
|
-
|
|
85691
|
-
|
|
85992
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"\r
|
|
85993
|
+
(change)="\r
|
|
85994
|
+
filingDetails.get(controls.ChangeDate)?.reset(\r
|
|
85995
|
+
filingDetails.get(controls.DirectorsAddedOrDeleted)?.value\r
|
|
85996
|
+
? filingDetails.get(controls.ChangeDate)?.value\r
|
|
85997
|
+
: null,\r
|
|
85998
|
+
{ emitEvent: false }\r
|
|
85999
|
+
);\r
|
|
86000
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
|
|
86001
|
+
onSectionValidChange('filingDetails', filingDetails.valid)\r
|
|
86002
|
+
"\r
|
|
85692
86003
|
>\r
|
|
85693
86004
|
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
|
|
85694
86005
|
</mat-checkbox>\r
|
|
85695
86006
|
\r
|
|
85696
86007
|
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
85697
86008
|
<div class="filing-details-grid">\r
|
|
85698
|
-
<div class="date-field"
|
|
85699
|
-
<label
|
|
85700
|
-
{{ 'Date Directors were added or deleted' | translate }}
|
|
85701
|
-
|
|
85702
|
-
|
|
85703
|
-
|
|
86009
|
+
<div class="date-field">\r
|
|
86010
|
+
<label>\r
|
|
86011
|
+
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>\r
|
|
86012
|
+
</label>\r
|
|
86013
|
+
<mat-form-field appearance="outline">\r
|
|
86014
|
+
<input\r
|
|
86015
|
+
matInput\r
|
|
86016
|
+
[matDatepicker]="changeDatePicker"\r
|
|
86017
|
+
[formControlName]="controls.ChangeDate"\r
|
|
86018
|
+
placeholder="dd/mm/yyyy"\r
|
|
86019
|
+
readonly\r
|
|
86020
|
+
(click)="changeDatePicker.open()"\r
|
|
86021
|
+
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
|
|
86022
|
+
/>\r
|
|
86023
|
+
<button\r
|
|
86024
|
+
type="button"\r
|
|
86025
|
+
class="calendar-trigger"\r
|
|
86026
|
+
aria-label="Open date picker"\r
|
|
86027
|
+
(click)="changeDatePicker.open()"\r
|
|
86028
|
+
>\r
|
|
86029
|
+
<span class="calendar-icon" aria-hidden="true"></span>\r
|
|
86030
|
+
</button>\r
|
|
86031
|
+
<mat-datepicker #changeDatePicker></mat-datepicker>\r
|
|
86032
|
+
</mat-form-field>\r
|
|
86033
|
+
<p class="hint">\r
|
|
85704
86034
|
{{\r
|
|
85705
86035
|
"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
|
|
85706
86036
|
| translate\r
|
|
@@ -85720,8 +86050,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85720
86050
|
\r
|
|
85721
86051
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85722
86052
|
\r
|
|
85723
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.Directors"
|
|
85724
|
-
@if (directorsArray && directorsArray.length) {
|
|
86053
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
|
|
86054
|
+
@if (directorsArray && directorsArray.length) {\r
|
|
85725
86055
|
<div class="directors-table" role="table">\r
|
|
85726
86056
|
<div class="directors-table-header" role="row">\r
|
|
85727
86057
|
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
@@ -85788,7 +86118,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85788
86118
|
}], null, null);
|
|
85789
86119
|
})();
|
|
85790
86120
|
(() => {
|
|
85791
|
-
(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:
|
|
86121
|
+
(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 });
|
|
85792
86122
|
})();
|
|
85793
86123
|
}
|
|
85794
86124
|
});
|
|
@@ -87314,177 +87644,1241 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87314
87644
|
}
|
|
87315
87645
|
});
|
|
87316
87646
|
|
|
87317
|
-
// src/app/
|
|
87318
|
-
|
|
87647
|
+
// src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
|
|
87648
|
+
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;
|
|
87649
|
+
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87650
|
+
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87651
|
+
init_form_enums();
|
|
87652
|
+
init_british_columbia_form_enums();
|
|
87653
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87654
|
+
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87655
|
+
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87656
|
+
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87657
|
+
type: FormType.Text,
|
|
87658
|
+
formControlName: control,
|
|
87659
|
+
class: className,
|
|
87660
|
+
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87661
|
+
});
|
|
87662
|
+
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87663
|
+
addressGroup = (form, control) => form.get(control);
|
|
87664
|
+
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87665
|
+
{
|
|
87666
|
+
type: FormType.Input,
|
|
87667
|
+
label: "Client/Matter Number",
|
|
87668
|
+
formControlName: Controls4.ClientMatterNumber
|
|
87669
|
+
},
|
|
87670
|
+
{
|
|
87671
|
+
type: FormType.Input,
|
|
87672
|
+
label: "Docket Number",
|
|
87673
|
+
formControlName: Controls4.DocketNumber
|
|
87674
|
+
}
|
|
87675
|
+
];
|
|
87676
|
+
effectiveDateNote = {
|
|
87677
|
+
type: FormType.Text,
|
|
87678
|
+
formControlName: "",
|
|
87679
|
+
class: "span-12 note-box",
|
|
87680
|
+
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.")}`
|
|
87681
|
+
};
|
|
87682
|
+
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = (emailOptions) => [
|
|
87683
|
+
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87684
|
+
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87685
|
+
{
|
|
87686
|
+
type: FormType.Select,
|
|
87687
|
+
label: "Company Email",
|
|
87688
|
+
formControlName: Controls4.CompanyEmail,
|
|
87689
|
+
required: true,
|
|
87690
|
+
options: emailOptions,
|
|
87691
|
+
class: "span-6"
|
|
87692
|
+
},
|
|
87693
|
+
effectiveDateNote
|
|
87694
|
+
];
|
|
87695
|
+
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87696
|
+
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87697
|
+
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87698
|
+
];
|
|
87699
|
+
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87700
|
+
{
|
|
87701
|
+
type: FormType.Input,
|
|
87702
|
+
label: "Address Line 1",
|
|
87703
|
+
formControlName: Controls4.AddressLine1,
|
|
87704
|
+
required: true,
|
|
87705
|
+
class: "span-6"
|
|
87706
|
+
},
|
|
87707
|
+
{
|
|
87708
|
+
type: FormType.Input,
|
|
87709
|
+
label: "Address Line 2",
|
|
87710
|
+
formControlName: Controls4.AddressLine2,
|
|
87711
|
+
class: "span-6"
|
|
87712
|
+
},
|
|
87713
|
+
{
|
|
87714
|
+
type: FormType.Input,
|
|
87715
|
+
label: "City",
|
|
87716
|
+
formControlName: Controls4.City,
|
|
87717
|
+
required: true,
|
|
87718
|
+
class: "span-6"
|
|
87719
|
+
},
|
|
87720
|
+
{
|
|
87721
|
+
type: FormType.Input,
|
|
87722
|
+
label: "Postal Code",
|
|
87723
|
+
formControlName: Controls4.PostalCode,
|
|
87724
|
+
required: true,
|
|
87725
|
+
class: "span-6"
|
|
87726
|
+
},
|
|
87727
|
+
{
|
|
87728
|
+
type: FormType.Input,
|
|
87729
|
+
label: "Province",
|
|
87730
|
+
formControlName: Controls4.Province,
|
|
87731
|
+
readonly: true,
|
|
87732
|
+
class: "span-6"
|
|
87733
|
+
},
|
|
87734
|
+
{
|
|
87735
|
+
type: FormType.Input,
|
|
87736
|
+
label: "Country",
|
|
87737
|
+
formControlName: Controls4.Country,
|
|
87738
|
+
readonly: true,
|
|
87739
|
+
class: "span-6"
|
|
87740
|
+
}
|
|
87741
|
+
];
|
|
87742
|
+
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87743
|
+
{
|
|
87744
|
+
type: FormType.Text,
|
|
87745
|
+
formControlName: "",
|
|
87746
|
+
class: "span-12",
|
|
87747
|
+
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.")
|
|
87748
|
+
}
|
|
87749
|
+
];
|
|
87750
|
+
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87751
|
+
{
|
|
87752
|
+
type: FormType.Checkbox,
|
|
87753
|
+
label: "Same as Mailing Address",
|
|
87754
|
+
formControlName: Controls4.DeliverySameAsMailing,
|
|
87755
|
+
class: "span-12",
|
|
87756
|
+
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87757
|
+
}
|
|
87758
|
+
];
|
|
87759
|
+
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87760
|
+
{
|
|
87761
|
+
type: FormType.Checkbox,
|
|
87762
|
+
label: "Same as Registered Office",
|
|
87763
|
+
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87764
|
+
class: "span-12",
|
|
87765
|
+
onChange: (form) => {
|
|
87766
|
+
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87767
|
+
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87768
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87769
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87770
|
+
}
|
|
87771
|
+
}
|
|
87772
|
+
];
|
|
87773
|
+
}
|
|
87774
|
+
});
|
|
87775
|
+
|
|
87776
|
+
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87777
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87319
87778
|
if (rf & 1) {
|
|
87320
|
-
|
|
87321
|
-
|
|
87322
|
-
|
|
87323
|
-
|
|
87324
|
-
|
|
87325
|
-
|
|
87326
|
-
|
|
87327
|
-
|
|
87328
|
-
|
|
87329
|
-
|
|
87330
|
-
|
|
87331
|
-
|
|
87332
|
-
|
|
87333
|
-
|
|
87779
|
+
\u0275\u0275element(0, "alert", 1);
|
|
87780
|
+
}
|
|
87781
|
+
if (rf & 2) {
|
|
87782
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87783
|
+
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87784
|
+
}
|
|
87785
|
+
}
|
|
87786
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87787
|
+
if (rf & 1) {
|
|
87788
|
+
\u0275\u0275element(0, "alert", 2);
|
|
87789
|
+
}
|
|
87790
|
+
if (rf & 2) {
|
|
87791
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87792
|
+
\u0275\u0275property("content", ctx_r0.errors());
|
|
87793
|
+
}
|
|
87794
|
+
}
|
|
87795
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87796
|
+
if (rf & 1) {
|
|
87797
|
+
const _r2 = \u0275\u0275getCurrentView();
|
|
87798
|
+
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87799
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87800
|
+
\u0275\u0275restoreView(_r2);
|
|
87801
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87802
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
87334
87803
|
});
|
|
87335
|
-
\u0275\u0275elementEnd();
|
|
87804
|
+
\u0275\u0275elementEnd()();
|
|
87336
87805
|
}
|
|
87337
87806
|
if (rf & 2) {
|
|
87338
|
-
const
|
|
87339
|
-
const
|
|
87340
|
-
\u0275\u0275property("
|
|
87807
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87808
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
87809
|
+
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87810
|
+
\u0275\u0275advance();
|
|
87811
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87341
87812
|
}
|
|
87342
87813
|
}
|
|
87343
|
-
function
|
|
87814
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
|
|
87344
87815
|
if (rf & 1) {
|
|
87345
87816
|
const _r4 = \u0275\u0275getCurrentView();
|
|
87346
|
-
\u0275\u0275elementStart(0, "
|
|
87347
|
-
\u0275\u0275listener("
|
|
87348
|
-
\u0275\u0275restoreView(_r4);
|
|
87349
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87350
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87351
|
-
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
87817
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
|
|
87818
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87352
87819
|
\u0275\u0275restoreView(_r4);
|
|
87353
|
-
const
|
|
87354
|
-
return \u0275\u0275resetView(
|
|
87820
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87821
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corpDetails", $event));
|
|
87355
87822
|
});
|
|
87356
|
-
\u0275\u0275elementEnd();
|
|
87823
|
+
\u0275\u0275elementEnd()();
|
|
87357
87824
|
}
|
|
87358
87825
|
if (rf & 2) {
|
|
87359
|
-
const
|
|
87360
|
-
const
|
|
87361
|
-
\u0275\u0275property("
|
|
87826
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87827
|
+
const corporationDetails_r5 = \u0275\u0275readContextLet(6);
|
|
87828
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["corpDetails"] !== false)("title", ctx_r0.groups.CorporationDetails);
|
|
87829
|
+
\u0275\u0275advance();
|
|
87830
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.corporationDetailsFields());
|
|
87362
87831
|
}
|
|
87363
87832
|
}
|
|
87364
|
-
function
|
|
87833
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87365
87834
|
if (rf & 1) {
|
|
87366
|
-
\u0275\
|
|
87835
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
87836
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87837
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87838
|
+
\u0275\u0275restoreView(_r7);
|
|
87839
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87840
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87841
|
+
});
|
|
87842
|
+
\u0275\u0275elementEnd();
|
|
87367
87843
|
}
|
|
87368
87844
|
if (rf & 2) {
|
|
87369
|
-
|
|
87370
|
-
\u0275\
|
|
87371
|
-
\u0275\
|
|
87372
|
-
\u0275\
|
|
87845
|
+
\u0275\u0275nextContext();
|
|
87846
|
+
const registeredMailing_r8 = \u0275\u0275readContextLet(0);
|
|
87847
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87848
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
|
|
87373
87849
|
}
|
|
87374
87850
|
}
|
|
87375
|
-
function
|
|
87851
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87376
87852
|
if (rf & 1) {
|
|
87377
|
-
const
|
|
87378
|
-
\u0275\
|
|
87379
|
-
\u0275\
|
|
87380
|
-
|
|
87381
|
-
|
|
87382
|
-
|
|
87383
|
-
|
|
87384
|
-
\u0275\u0275restoreView(_r5);
|
|
87385
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87386
|
-
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87387
|
-
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
87388
|
-
\u0275\u0275restoreView(_r5);
|
|
87389
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87390
|
-
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
87853
|
+
const _r9 = \u0275\u0275getCurrentView();
|
|
87854
|
+
\u0275\u0275element(0, "filing-form-group", 9);
|
|
87855
|
+
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87856
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87857
|
+
\u0275\u0275restoreView(_r9);
|
|
87858
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87859
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87391
87860
|
});
|
|
87392
87861
|
\u0275\u0275elementEnd();
|
|
87393
87862
|
}
|
|
87394
87863
|
if (rf & 2) {
|
|
87395
|
-
|
|
87396
|
-
const
|
|
87397
|
-
\u0275\
|
|
87864
|
+
\u0275\u0275nextContext();
|
|
87865
|
+
const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
|
|
87866
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87867
|
+
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87868
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
|
|
87869
|
+
\u0275\u0275advance();
|
|
87870
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r10)("config", ctx_r0.addressFields);
|
|
87398
87871
|
}
|
|
87399
87872
|
}
|
|
87400
|
-
function
|
|
87873
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87401
87874
|
if (rf & 1) {
|
|
87402
87875
|
const _r6 = \u0275\u0275getCurrentView();
|
|
87403
|
-
\u0275\
|
|
87404
|
-
\u0275\
|
|
87405
|
-
|
|
87406
|
-
|
|
87407
|
-
|
|
87408
|
-
|
|
87876
|
+
\u0275\u0275declareLet(0)(1)(2);
|
|
87877
|
+
\u0275\u0275elementStart(3, "expandable-card", 5)(4, "div", 8);
|
|
87878
|
+
\u0275\u0275element(5, "filing-form-group", 9);
|
|
87879
|
+
\u0275\u0275elementStart(6, "h4", 10);
|
|
87880
|
+
\u0275\u0275text(7);
|
|
87881
|
+
\u0275\u0275pipe(8, "translate");
|
|
87882
|
+
\u0275\u0275elementEnd();
|
|
87883
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 9);
|
|
87884
|
+
\u0275\u0275elementStart(10, "h4", 10);
|
|
87885
|
+
\u0275\u0275text(11);
|
|
87886
|
+
\u0275\u0275pipe(12, "translate");
|
|
87887
|
+
\u0275\u0275elementEnd();
|
|
87888
|
+
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87889
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87409
87890
|
\u0275\u0275restoreView(_r6);
|
|
87410
|
-
const
|
|
87411
|
-
return \u0275\u0275resetView(
|
|
87891
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87892
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87412
87893
|
});
|
|
87413
87894
|
\u0275\u0275elementEnd();
|
|
87895
|
+
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87896
|
+
\u0275\u0275elementEnd()();
|
|
87414
87897
|
}
|
|
87415
87898
|
if (rf & 2) {
|
|
87416
|
-
const
|
|
87417
|
-
const
|
|
87418
|
-
\u0275\
|
|
87899
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87900
|
+
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87901
|
+
const registeredMailing_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewMailingAddress));
|
|
87902
|
+
\u0275\u0275advance();
|
|
87903
|
+
const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
|
|
87904
|
+
const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
|
|
87905
|
+
\u0275\u0275advance(2);
|
|
87906
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87907
|
+
\u0275\u0275advance(2);
|
|
87908
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
|
|
87909
|
+
\u0275\u0275advance(2);
|
|
87910
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87911
|
+
\u0275\u0275advance(2);
|
|
87912
|
+
\u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
|
|
87913
|
+
\u0275\u0275advance(2);
|
|
87914
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87915
|
+
\u0275\u0275advance(2);
|
|
87916
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87917
|
+
\u0275\u0275advance();
|
|
87918
|
+
\u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
|
|
87419
87919
|
}
|
|
87420
87920
|
}
|
|
87421
|
-
function
|
|
87921
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87422
87922
|
if (rf & 1) {
|
|
87423
|
-
\u0275\
|
|
87923
|
+
const _r17 = \u0275\u0275getCurrentView();
|
|
87924
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87925
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87926
|
+
\u0275\u0275restoreView(_r17);
|
|
87927
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87928
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87929
|
+
});
|
|
87930
|
+
\u0275\u0275elementEnd();
|
|
87424
87931
|
}
|
|
87425
87932
|
if (rf & 2) {
|
|
87426
|
-
|
|
87427
|
-
\u0275\
|
|
87933
|
+
\u0275\u0275nextContext(2);
|
|
87934
|
+
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87935
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87936
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r18)("config", ctx_r0.addressFields);
|
|
87937
|
+
}
|
|
87938
|
+
}
|
|
87939
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87940
|
+
if (rf & 1) {
|
|
87941
|
+
const _r19 = \u0275\u0275getCurrentView();
|
|
87942
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87943
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87944
|
+
\u0275\u0275restoreView(_r19);
|
|
87945
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87946
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87947
|
+
});
|
|
87948
|
+
\u0275\u0275elementEnd();
|
|
87949
|
+
}
|
|
87950
|
+
if (rf & 2) {
|
|
87951
|
+
\u0275\u0275nextContext(2);
|
|
87952
|
+
const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
|
|
87953
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87954
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
|
|
87955
|
+
}
|
|
87956
|
+
}
|
|
87957
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
|
|
87958
|
+
if (rf & 1) {
|
|
87959
|
+
const _r16 = \u0275\u0275getCurrentView();
|
|
87960
|
+
\u0275\u0275elementStart(0, "h4", 10);
|
|
87961
|
+
\u0275\u0275text(1);
|
|
87962
|
+
\u0275\u0275pipe(2, "translate");
|
|
87963
|
+
\u0275\u0275elementEnd();
|
|
87964
|
+
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
|
|
87965
|
+
\u0275\u0275elementStart(4, "h4", 10);
|
|
87966
|
+
\u0275\u0275text(5);
|
|
87967
|
+
\u0275\u0275pipe(6, "translate");
|
|
87968
|
+
\u0275\u0275elementEnd();
|
|
87969
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87970
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87971
|
+
\u0275\u0275restoreView(_r16);
|
|
87972
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87973
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87974
|
+
});
|
|
87975
|
+
\u0275\u0275elementEnd();
|
|
87976
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
|
|
87977
|
+
}
|
|
87978
|
+
if (rf & 2) {
|
|
87979
|
+
\u0275\u0275nextContext();
|
|
87980
|
+
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87981
|
+
const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
|
|
87982
|
+
const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
|
|
87983
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87984
|
+
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
87428
87985
|
\u0275\u0275advance();
|
|
87429
|
-
\u0275\
|
|
87986
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87987
|
+
\u0275\u0275advance(2);
|
|
87988
|
+
\u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
|
|
87989
|
+
\u0275\u0275advance(2);
|
|
87990
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
87991
|
+
\u0275\u0275advance(2);
|
|
87992
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87993
|
+
\u0275\u0275advance();
|
|
87994
|
+
\u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
|
|
87430
87995
|
}
|
|
87431
87996
|
}
|
|
87432
|
-
|
|
87433
|
-
|
|
87434
|
-
|
|
87997
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
87998
|
+
if (rf & 1) {
|
|
87999
|
+
const _r15 = \u0275\u0275getCurrentView();
|
|
88000
|
+
\u0275\u0275declareLet(0)(1)(2)(3);
|
|
88001
|
+
\u0275\u0275elementStart(4, "expandable-card", 5)(5, "div", 8);
|
|
88002
|
+
\u0275\u0275element(6, "filing-form-group", 9);
|
|
88003
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
88004
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
88005
|
+
\u0275\u0275restoreView(_r15);
|
|
88006
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
88007
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
88008
|
+
});
|
|
88009
|
+
\u0275\u0275elementEnd();
|
|
88010
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
88011
|
+
\u0275\u0275elementEnd()();
|
|
88012
|
+
}
|
|
88013
|
+
if (rf & 2) {
|
|
88014
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
88015
|
+
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
88016
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
|
|
88017
|
+
\u0275\u0275advance();
|
|
88018
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
|
|
88019
|
+
const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
|
|
88020
|
+
\u0275\u0275advance(2);
|
|
88021
|
+
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
|
|
88022
|
+
\u0275\u0275advance();
|
|
88023
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
88024
|
+
\u0275\u0275advance(2);
|
|
88025
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.currentAddressesFields);
|
|
88026
|
+
\u0275\u0275advance();
|
|
88027
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
88028
|
+
\u0275\u0275advance();
|
|
88029
|
+
\u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
|
|
88030
|
+
}
|
|
88031
|
+
}
|
|
88032
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template(rf, ctx) {
|
|
88033
|
+
if (rf & 1) {
|
|
88034
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p");
|
|
88035
|
+
\u0275\u0275text(3);
|
|
88036
|
+
\u0275\u0275pipe(4, "translate");
|
|
88037
|
+
\u0275\u0275elementEnd();
|
|
88038
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 12)(6, "mat-radio-button", 13);
|
|
88039
|
+
\u0275\u0275text(7);
|
|
88040
|
+
\u0275\u0275pipe(8, "translate");
|
|
88041
|
+
\u0275\u0275elementEnd();
|
|
88042
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 13);
|
|
88043
|
+
\u0275\u0275text(10);
|
|
88044
|
+
\u0275\u0275pipe(11, "translate");
|
|
88045
|
+
\u0275\u0275elementEnd()()()();
|
|
88046
|
+
}
|
|
88047
|
+
if (rf & 2) {
|
|
88048
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
88049
|
+
const annualReportReminder_r24 = \u0275\u0275readContextLet(12);
|
|
88050
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.AnnualReportReminder);
|
|
88051
|
+
\u0275\u0275advance();
|
|
88052
|
+
\u0275\u0275property("formGroup", annualReportReminder_r24);
|
|
88053
|
+
\u0275\u0275advance(2);
|
|
88054
|
+
\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."), " ");
|
|
88055
|
+
\u0275\u0275advance(2);
|
|
88056
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.AnnualReportReminder);
|
|
88057
|
+
\u0275\u0275advance();
|
|
88058
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.Yes);
|
|
88059
|
+
\u0275\u0275advance();
|
|
88060
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 11, "Yes, send the annual report reminder"), " ");
|
|
88061
|
+
\u0275\u0275advance(2);
|
|
88062
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.No);
|
|
88063
|
+
\u0275\u0275advance();
|
|
88064
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 13, "No, I do not need to be reminded"), " ");
|
|
88065
|
+
}
|
|
88066
|
+
}
|
|
88067
|
+
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
88068
|
+
var init_change_of_office_addresses_form_component = __esm({
|
|
88069
|
+
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
87435
88070
|
init_core();
|
|
87436
88071
|
init_forms();
|
|
87437
|
-
|
|
88072
|
+
init_radio();
|
|
87438
88073
|
init_ngx_translate_core();
|
|
87439
|
-
|
|
87440
|
-
|
|
88074
|
+
init_filing_form_group_component();
|
|
88075
|
+
init_alert_component();
|
|
88076
|
+
init_alert_enum();
|
|
88077
|
+
init_expandable_card_component();
|
|
87441
88078
|
init_british_columbia_form_enums();
|
|
87442
|
-
|
|
87443
|
-
|
|
87444
|
-
|
|
87445
|
-
|
|
87446
|
-
init_confirm_modal_component();
|
|
87447
|
-
init_change_of_directors_delta_form_component();
|
|
87448
|
-
init_change_of_directors_preview_form_component();
|
|
87449
|
-
init_british_columbia_incorporation_delta_form_component();
|
|
87450
|
-
init_british_columbia_incorporation_preview_form_component();
|
|
88079
|
+
init_british_columbia_change_of_office_addresses_form_constants();
|
|
88080
|
+
init_forms_utils();
|
|
88081
|
+
init_BritishColumbiaConstants();
|
|
88082
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87451
88083
|
init_core();
|
|
87452
|
-
|
|
88084
|
+
init_forms();
|
|
88085
|
+
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
88086
|
+
form = input.required();
|
|
87453
88087
|
task = input();
|
|
87454
|
-
currentUser = input();
|
|
87455
|
-
activeStep = input();
|
|
87456
|
-
isNote = input(false);
|
|
87457
|
-
actionsDisabled = input(false);
|
|
87458
88088
|
errors = input([]);
|
|
87459
|
-
|
|
87460
|
-
|
|
87461
|
-
|
|
87462
|
-
|
|
87463
|
-
|
|
87464
|
-
|
|
87465
|
-
|
|
87466
|
-
|
|
87467
|
-
|
|
87468
|
-
|
|
87469
|
-
|
|
87470
|
-
|
|
87471
|
-
|
|
87472
|
-
|
|
87473
|
-
|
|
87474
|
-
|
|
87475
|
-
|
|
87476
|
-
|
|
87477
|
-
|
|
87478
|
-
|
|
87479
|
-
|
|
87480
|
-
|
|
87481
|
-
|
|
87482
|
-
|
|
87483
|
-
|
|
88089
|
+
isNote = input(false);
|
|
88090
|
+
isSubmitted = input(false);
|
|
88091
|
+
readonly = input(false);
|
|
88092
|
+
visiblyValidChange = output();
|
|
88093
|
+
alertType = AlertType;
|
|
88094
|
+
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
88095
|
+
controls = BCChangeOfOfficeAddressesFormControls;
|
|
88096
|
+
annualReportReminderOption = BCAnnualReportReminder;
|
|
88097
|
+
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
88098
|
+
corporationDetailsFields = computed(() => {
|
|
88099
|
+
const task = this.task();
|
|
88100
|
+
return BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS(task ? BritishColumbiaChangeOfOfficeAddressesFormHelper.getCompanyEmailOptions(task) : []);
|
|
88101
|
+
});
|
|
88102
|
+
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
88103
|
+
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
88104
|
+
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
88105
|
+
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
88106
|
+
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
88107
|
+
sectionValidity = {};
|
|
88108
|
+
isVisiblyValid() {
|
|
88109
|
+
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
88110
|
+
}
|
|
88111
|
+
isRegisteredOfficeValid() {
|
|
88112
|
+
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
88113
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88114
|
+
}
|
|
88115
|
+
isRecordsOfficeValid() {
|
|
88116
|
+
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
88117
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88118
|
+
}
|
|
88119
|
+
isChecked(office, control) {
|
|
88120
|
+
return Boolean(office?.get(control)?.value);
|
|
88121
|
+
}
|
|
88122
|
+
onSectionValidChange(section, valid) {
|
|
88123
|
+
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
88124
|
+
this.emitValidity();
|
|
88125
|
+
}
|
|
88126
|
+
emitValidity() {
|
|
88127
|
+
queueMicrotask(() => this.visiblyValidChange.emit(this.isVisiblyValid()));
|
|
88128
|
+
}
|
|
88129
|
+
getFormGroup(key) {
|
|
88130
|
+
return this.form().get(key) ?? null;
|
|
88131
|
+
}
|
|
88132
|
+
getAddressGroup(office, control) {
|
|
88133
|
+
return office?.get(control) ?? null;
|
|
88134
|
+
}
|
|
88135
|
+
isAddressValid(office, control) {
|
|
88136
|
+
const group2 = this.getAddressGroup(office, control);
|
|
88137
|
+
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
88138
|
+
}
|
|
88139
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
88140
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
88141
|
+
};
|
|
88142
|
+
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) {
|
|
88143
|
+
if (rf & 1) {
|
|
88144
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
88145
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
88146
|
+
\u0275\u0275elementStart(3, "div", 3);
|
|
88147
|
+
\u0275\u0275declareLet(4);
|
|
88148
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
88149
|
+
\u0275\u0275declareLet(6);
|
|
88150
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 6, "expandable-card", 5);
|
|
88151
|
+
\u0275\u0275declareLet(8);
|
|
88152
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 5);
|
|
88153
|
+
\u0275\u0275declareLet(10);
|
|
88154
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 5);
|
|
88155
|
+
\u0275\u0275declareLet(12);
|
|
88156
|
+
\u0275\u0275template(13, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template, 12, 15, "expandable-card", 6);
|
|
88157
|
+
\u0275\u0275elementEnd()();
|
|
88158
|
+
}
|
|
88159
|
+
if (rf & 2) {
|
|
88160
|
+
\u0275\u0275advance();
|
|
88161
|
+
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
88162
|
+
\u0275\u0275advance();
|
|
88163
|
+
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
88164
|
+
\u0275\u0275advance(2);
|
|
88165
|
+
const referenceNumbers_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88166
|
+
\u0275\u0275advance();
|
|
88167
|
+
\u0275\u0275conditional(referenceNumbers_r25 ? 5 : -1);
|
|
88168
|
+
\u0275\u0275advance();
|
|
88169
|
+
const corporationDetails_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
88170
|
+
\u0275\u0275advance();
|
|
88171
|
+
\u0275\u0275conditional(corporationDetails_r26 ? 7 : -1);
|
|
88172
|
+
\u0275\u0275advance();
|
|
88173
|
+
const registeredOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
88174
|
+
\u0275\u0275advance();
|
|
88175
|
+
\u0275\u0275conditional(registeredOffice_r27 ? 9 : -1);
|
|
88176
|
+
\u0275\u0275advance();
|
|
88177
|
+
const recordsOffice_r28 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
88178
|
+
\u0275\u0275advance();
|
|
88179
|
+
\u0275\u0275conditional(recordsOffice_r28 ? 11 : -1);
|
|
88180
|
+
\u0275\u0275advance();
|
|
88181
|
+
const annualReportReminder_r29 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
88182
|
+
\u0275\u0275advance();
|
|
88183
|
+
\u0275\u0275conditional(annualReportReminder_r29 ? 13 : -1);
|
|
88184
|
+
}
|
|
88185
|
+
}, dependencies: [
|
|
88186
|
+
FilingFormGroupComponent,
|
|
88187
|
+
AlertComponent,
|
|
88188
|
+
ExpandableCardComponent,
|
|
88189
|
+
MatRadioButton,
|
|
88190
|
+
MatRadioGroup,
|
|
88191
|
+
ReactiveFormsModule,
|
|
88192
|
+
NgControlStatus,
|
|
88193
|
+
NgControlStatusGroup,
|
|
88194
|
+
FormGroupDirective,
|
|
88195
|
+
FormControlName,
|
|
88196
|
+
TranslatePipe
|
|
88197
|
+
], 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 });
|
|
88198
|
+
};
|
|
88199
|
+
(() => {
|
|
88200
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
88201
|
+
type: Component,
|
|
88202
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
88203
|
+
FilingFormGroupComponent,
|
|
88204
|
+
AlertComponent,
|
|
88205
|
+
ExpandableCardComponent,
|
|
88206
|
+
MatRadioButton,
|
|
88207
|
+
MatRadioGroup,
|
|
88208
|
+
ReactiveFormsModule,
|
|
88209
|
+
TranslatePipe
|
|
88210
|
+
], template: `<div class="change-of-office-addresses-form">\r
|
|
88211
|
+
@if (isNote()) {\r
|
|
88212
|
+
<alert\r
|
|
88213
|
+
[type]="alertType.Info"\r
|
|
88214
|
+
title="Entity changed"\r
|
|
88215
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
88216
|
+
/>\r
|
|
88217
|
+
}\r
|
|
88218
|
+
\r
|
|
88219
|
+
@if (errors().length) {\r
|
|
88220
|
+
<alert\r
|
|
88221
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
88222
|
+
[content]="errors()"\r
|
|
88223
|
+
/>\r
|
|
88224
|
+
}\r
|
|
88225
|
+
\r
|
|
88226
|
+
<div class="change-of-office-addresses-form-content">\r
|
|
88227
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88228
|
+
\r
|
|
88229
|
+
@if (referenceNumbers) {\r
|
|
88230
|
+
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88231
|
+
<filing-form-group\r
|
|
88232
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88233
|
+
[form]="referenceNumbers"\r
|
|
88234
|
+
[config]="referenceNumbersFields"\r
|
|
88235
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88236
|
+
/>\r
|
|
88237
|
+
</expandable-card>\r
|
|
88238
|
+
}\r
|
|
88239
|
+
\r
|
|
88240
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88241
|
+
\r
|
|
88242
|
+
@if (corporationDetails) {\r
|
|
88243
|
+
<expandable-card\r
|
|
88244
|
+
[isStatusIcon]="!readonly()"\r
|
|
88245
|
+
[isValid]="sectionValidity['corpDetails'] !== false"\r
|
|
88246
|
+
[title]="groups.CorporationDetails"\r
|
|
88247
|
+
>\r
|
|
88248
|
+
<filing-form-group\r
|
|
88249
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88250
|
+
[form]="corporationDetails"\r
|
|
88251
|
+
[config]="corporationDetailsFields()"\r
|
|
88252
|
+
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
88253
|
+
/>\r
|
|
88254
|
+
</expandable-card>\r
|
|
88255
|
+
}\r
|
|
88256
|
+
\r
|
|
88257
|
+
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88258
|
+
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88259
|
+
\r
|
|
88260
|
+
@if (registeredOffice) {\r
|
|
88261
|
+
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88262
|
+
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88263
|
+
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88264
|
+
\r
|
|
88265
|
+
<expandable-card\r
|
|
88266
|
+
[isStatusIcon]="!readonly()"\r
|
|
88267
|
+
[isValid]="isRegisteredOfficeValid()"\r
|
|
88268
|
+
[title]="groups.RegisteredOfficeAddress"\r
|
|
88269
|
+
>\r
|
|
88270
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88271
|
+
<filing-form-group\r
|
|
88272
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88273
|
+
[form]="registeredOffice"\r
|
|
88274
|
+
[config]="currentAddressesFields"\r
|
|
88275
|
+
/>\r
|
|
88276
|
+
\r
|
|
88277
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88278
|
+
\r
|
|
88279
|
+
@if (registeredMailing) {\r
|
|
88280
|
+
<filing-form-group\r
|
|
88281
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88282
|
+
[form]="registeredMailing"\r
|
|
88283
|
+
[config]="addressFields"\r
|
|
88284
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88285
|
+
/>\r
|
|
88286
|
+
}\r
|
|
88287
|
+
\r
|
|
88288
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88289
|
+
\r
|
|
88290
|
+
<filing-form-group\r
|
|
88291
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88292
|
+
[form]="registeredOffice"\r
|
|
88293
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88294
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88295
|
+
/>\r
|
|
88296
|
+
\r
|
|
88297
|
+
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88298
|
+
<filing-form-group\r
|
|
88299
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88300
|
+
[form]="registeredOffice"\r
|
|
88301
|
+
[config]="deliveryNoteFields"\r
|
|
88302
|
+
/>\r
|
|
88303
|
+
<filing-form-group\r
|
|
88304
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88305
|
+
[form]="registeredDelivery"\r
|
|
88306
|
+
[config]="addressFields"\r
|
|
88307
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88308
|
+
/>\r
|
|
88309
|
+
}\r
|
|
88310
|
+
</div>\r
|
|
88311
|
+
</expandable-card>\r
|
|
88312
|
+
}\r
|
|
88313
|
+
\r
|
|
88314
|
+
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88315
|
+
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88316
|
+
\r
|
|
88317
|
+
@if (recordsOffice) {\r
|
|
88318
|
+
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88319
|
+
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88320
|
+
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88321
|
+
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88322
|
+
\r
|
|
88323
|
+
<expandable-card\r
|
|
88324
|
+
[isStatusIcon]="!readonly()"\r
|
|
88325
|
+
[isValid]="isRecordsOfficeValid()"\r
|
|
88326
|
+
[title]="groups.RecordsOfficeAddress"\r
|
|
88327
|
+
>\r
|
|
88328
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88329
|
+
<filing-form-group\r
|
|
88330
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88331
|
+
[form]="recordsOffice"\r
|
|
88332
|
+
[config]="currentAddressesFields"\r
|
|
88333
|
+
/>\r
|
|
88334
|
+
\r
|
|
88335
|
+
<filing-form-group\r
|
|
88336
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88337
|
+
[form]="recordsOffice"\r
|
|
88338
|
+
[config]="sameAsRegisteredOfficeFields"\r
|
|
88339
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88340
|
+
/>\r
|
|
88341
|
+
\r
|
|
88342
|
+
@if (!recordsSameAsRegistered) {\r
|
|
88343
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88344
|
+
\r
|
|
88345
|
+
@if (recordsMailing) {\r
|
|
88346
|
+
<filing-form-group\r
|
|
88347
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88348
|
+
[form]="recordsMailing"\r
|
|
88349
|
+
[config]="addressFields"\r
|
|
88350
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88351
|
+
/>\r
|
|
88352
|
+
}\r
|
|
88353
|
+
\r
|
|
88354
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88355
|
+
\r
|
|
88356
|
+
<filing-form-group\r
|
|
88357
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88358
|
+
[form]="recordsOffice"\r
|
|
88359
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88360
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88361
|
+
/>\r
|
|
88362
|
+
\r
|
|
88363
|
+
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88364
|
+
<filing-form-group\r
|
|
88365
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88366
|
+
[form]="recordsDelivery"\r
|
|
88367
|
+
[config]="addressFields"\r
|
|
88368
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88369
|
+
/>\r
|
|
88370
|
+
}\r
|
|
88371
|
+
}\r
|
|
88372
|
+
</div>\r
|
|
88373
|
+
</expandable-card>\r
|
|
88374
|
+
}\r
|
|
88375
|
+
\r
|
|
88376
|
+
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);\r
|
|
88377
|
+
\r
|
|
88378
|
+
@if (annualReportReminder) {\r
|
|
88379
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.AnnualReportReminder">\r
|
|
88380
|
+
<div class="annual-reminder" [formGroup]="annualReportReminder">\r
|
|
88381
|
+
<p>\r
|
|
88382
|
+
{{\r
|
|
88383
|
+
"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
|
|
88384
|
+
| translate\r
|
|
88385
|
+
}}\r
|
|
88386
|
+
</p>\r
|
|
88387
|
+
<mat-radio-group [formControlName]="controls.AnnualReportReminder">\r
|
|
88388
|
+
<mat-radio-button [value]="annualReportReminderOption.Yes">\r
|
|
88389
|
+
{{ 'Yes, send the annual report reminder' | translate }}\r
|
|
88390
|
+
</mat-radio-button>\r
|
|
88391
|
+
<mat-radio-button [value]="annualReportReminderOption.No">\r
|
|
88392
|
+
{{ 'No, I do not need to be reminded' | translate }}\r
|
|
88393
|
+
</mat-radio-button>\r
|
|
88394
|
+
</mat-radio-group>\r
|
|
88395
|
+
</div>\r
|
|
88396
|
+
</expandable-card>\r
|
|
88397
|
+
}\r
|
|
88398
|
+
</div>\r
|
|
88399
|
+
</div>\r
|
|
88400
|
+
`, 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"] }]
|
|
88401
|
+
}], null, null);
|
|
88402
|
+
})();
|
|
88403
|
+
(() => {
|
|
88404
|
+
(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 });
|
|
88405
|
+
})();
|
|
88406
|
+
}
|
|
88407
|
+
});
|
|
88408
|
+
|
|
88409
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88410
|
+
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88411
|
+
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88412
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88413
|
+
init_core();
|
|
88414
|
+
init_button();
|
|
88415
|
+
init_ngx_translate_core();
|
|
88416
|
+
init_common_utils();
|
|
88417
|
+
init_change_of_office_addresses_form_component();
|
|
88418
|
+
init_core();
|
|
88419
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88420
|
+
form = input.required();
|
|
88421
|
+
actionsDisabled = input(false);
|
|
88422
|
+
isNote = input(false);
|
|
88423
|
+
task = input();
|
|
88424
|
+
errors = input([]);
|
|
88425
|
+
close = output();
|
|
88426
|
+
save = output();
|
|
88427
|
+
validate = output();
|
|
88428
|
+
submitted = signal(false);
|
|
88429
|
+
visiblyValid = signal(true);
|
|
88430
|
+
clientErrors = signal([]);
|
|
88431
|
+
translate = inject(TranslateService);
|
|
88432
|
+
combinedErrors = computed(() => {
|
|
88433
|
+
const client = this.clientErrors();
|
|
88434
|
+
return client.length ? client : this.errors();
|
|
88435
|
+
});
|
|
88436
|
+
onVisiblyValidChange(valid) {
|
|
88437
|
+
this.visiblyValid.set(valid);
|
|
88438
|
+
if (this.submitted()) {
|
|
88439
|
+
this.clientErrors.set(valid ? [] : [this.requiredFieldsMessage()]);
|
|
88440
|
+
}
|
|
88441
|
+
}
|
|
88442
|
+
onValidate() {
|
|
88443
|
+
this.submitted.set(true);
|
|
88444
|
+
this.clientErrors.set([]);
|
|
88445
|
+
markFormGroupTouched(this.form());
|
|
88446
|
+
if (!this.visiblyValid()) {
|
|
88447
|
+
this.clientErrors.set([this.requiredFieldsMessage()]);
|
|
88448
|
+
return;
|
|
88449
|
+
}
|
|
88450
|
+
this.validate.emit();
|
|
88451
|
+
}
|
|
88452
|
+
requiredFieldsMessage() {
|
|
88453
|
+
return this.translate.instant("Some required fields aren't completed.");
|
|
88454
|
+
}
|
|
88455
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88456
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88457
|
+
};
|
|
88458
|
+
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) {
|
|
88459
|
+
if (rf & 1) {
|
|
88460
|
+
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88461
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88462
|
+
return ctx.onVisiblyValidChange($event);
|
|
88463
|
+
});
|
|
88464
|
+
\u0275\u0275elementEnd();
|
|
88465
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88466
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88467
|
+
return ctx.close.emit();
|
|
88468
|
+
});
|
|
88469
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88470
|
+
\u0275\u0275text(5);
|
|
88471
|
+
\u0275\u0275pipe(6, "translate");
|
|
88472
|
+
\u0275\u0275elementEnd()();
|
|
88473
|
+
\u0275\u0275elementStart(7, "button", 3);
|
|
88474
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88475
|
+
return ctx.save.emit();
|
|
88476
|
+
});
|
|
88477
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88478
|
+
\u0275\u0275text(9);
|
|
88479
|
+
\u0275\u0275pipe(10, "translate");
|
|
88480
|
+
\u0275\u0275elementEnd()();
|
|
88481
|
+
\u0275\u0275elementStart(11, "button", 5);
|
|
88482
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88483
|
+
return ctx.onValidate();
|
|
88484
|
+
});
|
|
88485
|
+
\u0275\u0275elementStart(12, "span", 4);
|
|
88486
|
+
\u0275\u0275text(13);
|
|
88487
|
+
\u0275\u0275pipe(14, "translate");
|
|
88488
|
+
\u0275\u0275elementEnd()()()();
|
|
88489
|
+
}
|
|
88490
|
+
if (rf & 2) {
|
|
88491
|
+
\u0275\u0275advance();
|
|
88492
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88493
|
+
\u0275\u0275advance(2);
|
|
88494
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88495
|
+
\u0275\u0275advance(2);
|
|
88496
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88497
|
+
\u0275\u0275advance(2);
|
|
88498
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88499
|
+
\u0275\u0275advance(2);
|
|
88500
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88501
|
+
\u0275\u0275advance(2);
|
|
88502
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88503
|
+
\u0275\u0275advance(2);
|
|
88504
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88505
|
+
}
|
|
88506
|
+
}, 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 });
|
|
88507
|
+
};
|
|
88508
|
+
(() => {
|
|
88509
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88510
|
+
type: Component,
|
|
88511
|
+
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
|
|
88512
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88513
|
+
class="change-of-office-addresses-delta-form-content"\r
|
|
88514
|
+
[form]="form()"\r
|
|
88515
|
+
[task]="task()"\r
|
|
88516
|
+
[errors]="combinedErrors()"\r
|
|
88517
|
+
[isNote]="isNote()"\r
|
|
88518
|
+
[isSubmitted]="submitted()"\r
|
|
88519
|
+
[readonly]="false"\r
|
|
88520
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88521
|
+
/>\r
|
|
88522
|
+
\r
|
|
88523
|
+
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88524
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88525
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88526
|
+
</button>\r
|
|
88527
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88528
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88529
|
+
</button>\r
|
|
88530
|
+
<button\r
|
|
88531
|
+
class="submit"\r
|
|
88532
|
+
color="primary"\r
|
|
88533
|
+
mat-flat-button\r
|
|
88534
|
+
[disabled]="actionsDisabled()"\r
|
|
88535
|
+
(click)="onValidate()"\r
|
|
88536
|
+
>\r
|
|
88537
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88538
|
+
</button>\r
|
|
88539
|
+
</div>\r
|
|
88540
|
+
</div>\r
|
|
88541
|
+
`, 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"] }]
|
|
88542
|
+
}], null, null);
|
|
88543
|
+
})();
|
|
88544
|
+
(() => {
|
|
88545
|
+
(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 });
|
|
88546
|
+
})();
|
|
88547
|
+
}
|
|
88548
|
+
});
|
|
88549
|
+
|
|
88550
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88551
|
+
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88552
|
+
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88553
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88554
|
+
init_core();
|
|
88555
|
+
init_button();
|
|
88556
|
+
init_ngx_translate_core();
|
|
88557
|
+
init_change_of_office_addresses_form_component();
|
|
88558
|
+
init_core();
|
|
88559
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88560
|
+
form = input.required();
|
|
88561
|
+
actionsDisabled = input(false);
|
|
88562
|
+
task = input();
|
|
88563
|
+
errors = input([]);
|
|
88564
|
+
close = output();
|
|
88565
|
+
file = output();
|
|
88566
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88567
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88568
|
+
};
|
|
88569
|
+
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) {
|
|
88570
|
+
if (rf & 1) {
|
|
88571
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
88572
|
+
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88573
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88574
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88575
|
+
return ctx.close.emit();
|
|
88576
|
+
});
|
|
88577
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88578
|
+
\u0275\u0275text(5);
|
|
88579
|
+
\u0275\u0275pipe(6, "translate");
|
|
88580
|
+
\u0275\u0275elementEnd()();
|
|
88581
|
+
\u0275\u0275elementStart(7, "button", 5);
|
|
88582
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88583
|
+
return ctx.file.emit();
|
|
88584
|
+
});
|
|
88585
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88586
|
+
\u0275\u0275text(9);
|
|
88587
|
+
\u0275\u0275pipe(10, "translate");
|
|
88588
|
+
\u0275\u0275elementEnd()()()();
|
|
88589
|
+
}
|
|
88590
|
+
if (rf & 2) {
|
|
88591
|
+
\u0275\u0275advance();
|
|
88592
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88593
|
+
\u0275\u0275advance(2);
|
|
88594
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88595
|
+
\u0275\u0275advance(2);
|
|
88596
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88597
|
+
\u0275\u0275advance(2);
|
|
88598
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88599
|
+
\u0275\u0275advance(2);
|
|
88600
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88601
|
+
}
|
|
88602
|
+
}, 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 });
|
|
88603
|
+
};
|
|
88604
|
+
(() => {
|
|
88605
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88606
|
+
type: Component,
|
|
88607
|
+
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
|
|
88608
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88609
|
+
class="change-of-office-addresses-preview-form-content"\r
|
|
88610
|
+
[form]="form()"\r
|
|
88611
|
+
[task]="task()"\r
|
|
88612
|
+
[errors]="errors()"\r
|
|
88613
|
+
[isSubmitted]="false"\r
|
|
88614
|
+
[readonly]="true"\r
|
|
88615
|
+
/>\r
|
|
88616
|
+
\r
|
|
88617
|
+
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88618
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88619
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88620
|
+
</button>\r
|
|
88621
|
+
<button\r
|
|
88622
|
+
class="submit"\r
|
|
88623
|
+
color="primary"\r
|
|
88624
|
+
mat-flat-button\r
|
|
88625
|
+
[disabled]="actionsDisabled()"\r
|
|
88626
|
+
(click)="file.emit()"\r
|
|
88627
|
+
>\r
|
|
88628
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88629
|
+
</button>\r
|
|
88630
|
+
</div>\r
|
|
88631
|
+
</div>\r
|
|
88632
|
+
`, 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"] }]
|
|
88633
|
+
}], null, null);
|
|
88634
|
+
})();
|
|
88635
|
+
(() => {
|
|
88636
|
+
(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 });
|
|
88637
|
+
})();
|
|
88638
|
+
}
|
|
88639
|
+
});
|
|
88640
|
+
|
|
88641
|
+
// src/app/components/british-columbia/british-columbia.component.ts
|
|
88642
|
+
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
88643
|
+
if (rf & 1) {
|
|
88644
|
+
const _r1 = \u0275\u0275getCurrentView();
|
|
88645
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 2);
|
|
88646
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
88647
|
+
\u0275\u0275restoreView(_r1);
|
|
88648
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88649
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsValidate());
|
|
88650
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_close_0_listener() {
|
|
88651
|
+
\u0275\u0275restoreView(_r1);
|
|
88652
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88653
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88654
|
+
})("save", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_save_0_listener() {
|
|
88655
|
+
\u0275\u0275restoreView(_r1);
|
|
88656
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88657
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSave());
|
|
88658
|
+
});
|
|
88659
|
+
\u0275\u0275elementEnd();
|
|
88660
|
+
}
|
|
88661
|
+
if (rf & 2) {
|
|
88662
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88663
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88664
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88665
|
+
}
|
|
88666
|
+
}
|
|
88667
|
+
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
88668
|
+
if (rf & 1) {
|
|
88669
|
+
const _r4 = \u0275\u0275getCurrentView();
|
|
88670
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 3);
|
|
88671
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
88672
|
+
\u0275\u0275restoreView(_r4);
|
|
88673
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88674
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88675
|
+
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
88676
|
+
\u0275\u0275restoreView(_r4);
|
|
88677
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88678
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit());
|
|
88679
|
+
});
|
|
88680
|
+
\u0275\u0275elementEnd();
|
|
88681
|
+
}
|
|
88682
|
+
if (rf & 2) {
|
|
88683
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88684
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88685
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88686
|
+
}
|
|
88687
|
+
}
|
|
88688
|
+
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
88689
|
+
if (rf & 1) {
|
|
88690
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1);
|
|
88691
|
+
}
|
|
88692
|
+
if (rf & 2) {
|
|
88693
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
88694
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88695
|
+
\u0275\u0275advance();
|
|
88696
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88697
|
+
}
|
|
88698
|
+
}
|
|
88699
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
88700
|
+
if (rf & 1) {
|
|
88701
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
88702
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 6);
|
|
88703
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
88704
|
+
\u0275\u0275restoreView(_r5);
|
|
88705
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88706
|
+
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
88707
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
88708
|
+
\u0275\u0275restoreView(_r5);
|
|
88709
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88710
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88711
|
+
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
88712
|
+
\u0275\u0275restoreView(_r5);
|
|
88713
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88714
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
88715
|
+
});
|
|
88716
|
+
\u0275\u0275elementEnd();
|
|
88717
|
+
}
|
|
88718
|
+
if (rf & 2) {
|
|
88719
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88720
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88721
|
+
\u0275\u0275property("task", taskData_r3)("errors", ctx_r1.errors())("isNote", ctx_r1.isNote())("actionsDisabled", ctx_r1.actionsDisabled())("form", ctx_r1.deltaForm());
|
|
88722
|
+
}
|
|
88723
|
+
}
|
|
88724
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
88725
|
+
if (rf & 1) {
|
|
88726
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
88727
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 7);
|
|
88728
|
+
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
88729
|
+
\u0275\u0275restoreView(_r6);
|
|
88730
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88731
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
88732
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
88733
|
+
\u0275\u0275restoreView(_r6);
|
|
88734
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88735
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88736
|
+
});
|
|
88737
|
+
\u0275\u0275elementEnd();
|
|
88738
|
+
}
|
|
88739
|
+
if (rf & 2) {
|
|
88740
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88741
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88742
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("errors", ctx_r1.errors())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
88743
|
+
}
|
|
88744
|
+
}
|
|
88745
|
+
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
88746
|
+
if (rf & 1) {
|
|
88747
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 4)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 5);
|
|
88748
|
+
}
|
|
88749
|
+
if (rf & 2) {
|
|
88750
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
88751
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88752
|
+
\u0275\u0275advance();
|
|
88753
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88754
|
+
}
|
|
88755
|
+
}
|
|
88756
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88757
|
+
if (rf & 1) {
|
|
88758
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
88759
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 2);
|
|
88760
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88761
|
+
\u0275\u0275restoreView(_r7);
|
|
88762
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88763
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88764
|
+
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88765
|
+
\u0275\u0275restoreView(_r7);
|
|
88766
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88767
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88768
|
+
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88769
|
+
\u0275\u0275restoreView(_r7);
|
|
88770
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88771
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88772
|
+
});
|
|
88773
|
+
\u0275\u0275elementEnd();
|
|
88774
|
+
}
|
|
88775
|
+
if (rf & 2) {
|
|
88776
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88777
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88778
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88779
|
+
}
|
|
88780
|
+
}
|
|
88781
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88782
|
+
if (rf & 1) {
|
|
88783
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
88784
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 3);
|
|
88785
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88786
|
+
\u0275\u0275restoreView(_r8);
|
|
88787
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88788
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88789
|
+
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88790
|
+
\u0275\u0275restoreView(_r8);
|
|
88791
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88792
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88793
|
+
});
|
|
88794
|
+
\u0275\u0275elementEnd();
|
|
88795
|
+
}
|
|
88796
|
+
if (rf & 2) {
|
|
88797
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88798
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88799
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88800
|
+
}
|
|
88801
|
+
}
|
|
88802
|
+
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88803
|
+
if (rf & 1) {
|
|
88804
|
+
\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);
|
|
88805
|
+
}
|
|
88806
|
+
if (rf & 2) {
|
|
88807
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
88808
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88809
|
+
\u0275\u0275advance();
|
|
88810
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88811
|
+
}
|
|
88812
|
+
}
|
|
88813
|
+
var BritishColumbiaComponent;
|
|
88814
|
+
var init_british_columbia_component = __esm({
|
|
88815
|
+
"src/app/components/british-columbia/british-columbia.component.ts"() {
|
|
88816
|
+
init_core();
|
|
88817
|
+
init_forms();
|
|
88818
|
+
init_dialog2();
|
|
88819
|
+
init_ngx_translate_core();
|
|
88820
|
+
init_app_enums();
|
|
88821
|
+
init_BritishColumbiaConstants();
|
|
88822
|
+
init_british_columbia_form_enums();
|
|
88823
|
+
init_british_columbia_change_of_directors_form_helper();
|
|
88824
|
+
init_british_columbia_formation_form_helper();
|
|
88825
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88826
|
+
init_delta_state_service();
|
|
88827
|
+
init_common_utils();
|
|
88828
|
+
init_confirm_modal_component();
|
|
88829
|
+
init_change_of_directors_delta_form_component();
|
|
88830
|
+
init_change_of_directors_preview_form_component();
|
|
88831
|
+
init_british_columbia_incorporation_delta_form_component();
|
|
88832
|
+
init_british_columbia_incorporation_preview_form_component();
|
|
88833
|
+
init_change_of_office_addresses_delta_form_component();
|
|
88834
|
+
init_change_of_office_addresses_preview_form_component();
|
|
88835
|
+
init_core();
|
|
88836
|
+
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
88837
|
+
task = input();
|
|
88838
|
+
currentUser = input();
|
|
88839
|
+
activeStep = input();
|
|
88840
|
+
isNote = input(false);
|
|
88841
|
+
actionsDisabled = input(false);
|
|
88842
|
+
errors = input([]);
|
|
88843
|
+
currentDataExtract = input();
|
|
88844
|
+
close = output();
|
|
88845
|
+
codValidate = output();
|
|
88846
|
+
saveCodDeltaData = output();
|
|
88847
|
+
codSubmit = output();
|
|
88848
|
+
formationValidate = output();
|
|
88849
|
+
formationSubmit = output();
|
|
88850
|
+
saveFormationDeltaData = output();
|
|
88851
|
+
nextStep = output();
|
|
88852
|
+
recheckStep = output();
|
|
88853
|
+
prevStep = output();
|
|
88854
|
+
// Change of Office Addresses outputs
|
|
88855
|
+
coaValidate = output();
|
|
88856
|
+
saveCoaDeltaData = output();
|
|
88857
|
+
coaSubmit = output();
|
|
88858
|
+
dialog = inject(MatDialog);
|
|
88859
|
+
deltaState = inject(DeltaStateService);
|
|
88860
|
+
translate = inject(TranslateService);
|
|
88861
|
+
steps = Step;
|
|
88862
|
+
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
88863
|
+
isFormationTask = isFormationTask2;
|
|
88864
|
+
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
88865
|
+
deltaForm = signal(new FormGroup({}));
|
|
88866
|
+
previewForm = signal(new FormGroup({}));
|
|
88867
|
+
constructor() {
|
|
88868
|
+
effect(() => {
|
|
88869
|
+
const task = this.task();
|
|
88870
|
+
if (task && isChangeOfPrincipalsTask(task)) {
|
|
88871
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract())));
|
|
88872
|
+
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
88873
|
+
}
|
|
87484
88874
|
if (task && isFormationTask2(task)) {
|
|
87485
88875
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
87486
88876
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
87487
88877
|
}
|
|
88878
|
+
if (task && isChangeOfAddressTask(task)) {
|
|
88879
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88880
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88881
|
+
}
|
|
87488
88882
|
});
|
|
87489
88883
|
effect(() => {
|
|
87490
88884
|
const task = this.task();
|
|
@@ -87508,8 +88902,71 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87508
88902
|
this.nextStep.emit();
|
|
87509
88903
|
}
|
|
87510
88904
|
}
|
|
88905
|
+
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88906
|
+
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88907
|
+
form.disable();
|
|
88908
|
+
this.previewForm.set(form);
|
|
88909
|
+
const step = untracked2(() => this.activeStep());
|
|
88910
|
+
if (step === Step.Validate) {
|
|
88911
|
+
this.nextStep.emit();
|
|
88912
|
+
} else if (step === Step.FilingPreview) {
|
|
88913
|
+
this.recheckStep.emit();
|
|
88914
|
+
}
|
|
88915
|
+
}
|
|
87511
88916
|
});
|
|
87512
88917
|
}
|
|
88918
|
+
onChangeOfOfficeAddressesValidate() {
|
|
88919
|
+
markFormGroupTouched(this.deltaForm());
|
|
88920
|
+
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88921
|
+
}
|
|
88922
|
+
onChangeOfOfficeAddressesSave() {
|
|
88923
|
+
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88924
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88925
|
+
this.saveCoaDeltaData.emit(delta);
|
|
88926
|
+
}
|
|
88927
|
+
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88928
|
+
onChangeOfOfficeAddressesFile() {
|
|
88929
|
+
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88930
|
+
}
|
|
88931
|
+
generateChangeOfOfficeAddressesDeltaData() {
|
|
88932
|
+
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88933
|
+
const formData = this.deltaForm().getRawValue();
|
|
88934
|
+
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88935
|
+
const corporation = formData[BCChangeOfOfficeAddressesFormGroups.CorporationDetails];
|
|
88936
|
+
const reminder = formData[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder];
|
|
88937
|
+
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88938
|
+
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88939
|
+
const toAddress = (src) => ({
|
|
88940
|
+
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88941
|
+
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88942
|
+
city: src?.[c.City] ?? null,
|
|
88943
|
+
postalCode: src?.[c.PostalCode] ?? null,
|
|
88944
|
+
province: src?.[c.Province] ?? null,
|
|
88945
|
+
country: src?.[c.Country] ?? null
|
|
88946
|
+
});
|
|
88947
|
+
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88948
|
+
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88949
|
+
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88950
|
+
return {
|
|
88951
|
+
referenceNumbers: {
|
|
88952
|
+
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88953
|
+
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88954
|
+
},
|
|
88955
|
+
companyEmail: corporation?.[c.CompanyEmail] ?? "",
|
|
88956
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? "",
|
|
88957
|
+
registeredOffice: {
|
|
88958
|
+
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88959
|
+
deliverySameAsMailing: regDeliverySame,
|
|
88960
|
+
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88961
|
+
},
|
|
88962
|
+
recordsOffice: {
|
|
88963
|
+
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88964
|
+
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88965
|
+
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88966
|
+
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88967
|
+
}
|
|
88968
|
+
};
|
|
88969
|
+
}
|
|
87513
88970
|
onChangeOfDirectorsValidate() {
|
|
87514
88971
|
markFormGroupTouched(this.deltaForm());
|
|
87515
88972
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -87609,7 +89066,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87609
89066
|
}
|
|
87610
89067
|
onClose() {
|
|
87611
89068
|
const task = this.task();
|
|
87612
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
89069
|
+
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());
|
|
87613
89070
|
if (!hasChanges) {
|
|
87614
89071
|
this.close.emit();
|
|
87615
89072
|
return;
|
|
@@ -87627,6 +89084,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87627
89084
|
if (val) {
|
|
87628
89085
|
if (task && isFormationTask2(task)) {
|
|
87629
89086
|
this.onFormationSave();
|
|
89087
|
+
} else if (task && isChangeOfAddressTask(task)) {
|
|
89088
|
+
this.onChangeOfOfficeAddressesSave();
|
|
87630
89089
|
} else {
|
|
87631
89090
|
this.onChangeOfDirectorsSave();
|
|
87632
89091
|
}
|
|
@@ -87637,23 +89096,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87637
89096
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
87638
89097
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
87639
89098
|
};
|
|
87640
|
-
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:
|
|
89099
|
+
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) {
|
|
87641
89100
|
if (rf & 1) {
|
|
87642
89101
|
\u0275\u0275declareLet(0);
|
|
87643
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
|
|
89102
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
|
|
87644
89103
|
}
|
|
87645
89104
|
if (rf & 2) {
|
|
87646
|
-
const
|
|
89105
|
+
const taskData_r9 = \u0275\u0275storeLet(ctx.task());
|
|
89106
|
+
\u0275\u0275advance();
|
|
89107
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
|
|
87647
89108
|
\u0275\u0275advance();
|
|
87648
|
-
\u0275\u0275conditional(ctx.
|
|
89109
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
|
|
87649
89110
|
\u0275\u0275advance();
|
|
87650
|
-
\u0275\u0275conditional(ctx.
|
|
89111
|
+
\u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r9) ? 3 : -1);
|
|
87651
89112
|
}
|
|
87652
89113
|
}, dependencies: [
|
|
87653
89114
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87654
89115
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87655
89116
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87656
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
89117
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
89118
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
89119
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
|
|
87657
89120
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
87658
89121
|
};
|
|
87659
89122
|
(() => {
|
|
@@ -87663,12 +89126,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87663
89126
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87664
89127
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87665
89128
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87666
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
87667
|
-
|
|
89129
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
89130
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
89131
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
|
|
89132
|
+
], 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"] }]
|
|
87668
89133
|
}], () => [], null);
|
|
87669
89134
|
})();
|
|
87670
89135
|
(() => {
|
|
87671
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
89136
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 72 });
|
|
87672
89137
|
})();
|
|
87673
89138
|
}
|
|
87674
89139
|
});
|
|
@@ -93898,9 +95363,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93898
95363
|
ensureAuthInputs(signature);
|
|
93899
95364
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93900
95365
|
const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
|
|
93901
|
-
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues(
|
|
95366
|
+
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
|
|
93902
95367
|
"x-target-url": `${dataExtractUrl}/order`
|
|
93903
|
-
},
|
|
95368
|
+
}, opts.headers ?? {})));
|
|
93904
95369
|
const ordered = yield this.readJson(orderResp, "BC current data extract order");
|
|
93905
95370
|
const orderId = ordered.currentDataServiceOrderId;
|
|
93906
95371
|
if (!orderResp.ok || !orderId || ordered.status === "failed") {
|
|
@@ -93911,10 +95376,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93911
95376
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
93912
95377
|
const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
93913
95378
|
method: "GET",
|
|
93914
|
-
headers: __spreadValues(
|
|
95379
|
+
headers: __spreadValues({
|
|
93915
95380
|
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93916
95381
|
"x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
|
|
93917
|
-
},
|
|
95382
|
+
}, opts.headers ?? {})
|
|
93918
95383
|
}));
|
|
93919
95384
|
const extract = yield this.readJson(extractResp, "BC current data extract");
|
|
93920
95385
|
if (extractResp.ok && extract.status === "success") {
|
|
@@ -93939,9 +95404,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93939
95404
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93940
95405
|
const url = signature.proxyApiUrl;
|
|
93941
95406
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
|
|
93942
|
-
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues(
|
|
95407
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
|
|
93943
95408
|
"x-target-url": targetUrl
|
|
93944
|
-
},
|
|
95409
|
+
}, opts.headers ?? {})));
|
|
93945
95410
|
const raw = yield resp.text();
|
|
93946
95411
|
const parsed = tryParseJson(raw);
|
|
93947
95412
|
if (!parsed.ok) {
|
|
@@ -93974,10 +95439,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93974
95439
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}`;
|
|
93975
95440
|
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
|
|
93976
95441
|
method: "GET",
|
|
93977
|
-
headers: __spreadValues(
|
|
95442
|
+
headers: __spreadValues({
|
|
93978
95443
|
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93979
95444
|
"x-target-url": targetUrl
|
|
93980
|
-
},
|
|
95445
|
+
}, opts.headers ?? {})
|
|
93981
95446
|
}));
|
|
93982
95447
|
const raw = yield resp.text();
|
|
93983
95448
|
const parsed = tryParseJson(raw);
|
|
@@ -94000,9 +95465,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94000
95465
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94001
95466
|
const url = signature.proxyApiUrl;
|
|
94002
95467
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}/submit`;
|
|
94003
|
-
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues(
|
|
95468
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues({
|
|
94004
95469
|
"x-target-url": targetUrl
|
|
94005
|
-
},
|
|
95470
|
+
}, opts.headers ?? {})));
|
|
94006
95471
|
const raw = yield resp.text();
|
|
94007
95472
|
const parsed = tryParseJson(raw);
|
|
94008
95473
|
const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
|
|
@@ -94032,18 +95497,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94032
95497
|
}
|
|
94033
95498
|
return filingUrl.replace(/\/$/, "");
|
|
94034
95499
|
}
|
|
94035
|
-
getEcoreIdentityHeaders() {
|
|
94036
|
-
const headers = {};
|
|
94037
|
-
const clientId = this.config?.ecoreClientId;
|
|
94038
|
-
const userId = this.config?.ecoreUserId;
|
|
94039
|
-
if (clientId !== void 0 && clientId !== null && String(clientId).trim()) {
|
|
94040
|
-
headers["x-ecore-client-id"] = String(clientId);
|
|
94041
|
-
}
|
|
94042
|
-
if (userId !== void 0 && userId !== null && String(userId).trim()) {
|
|
94043
|
-
headers["x-ecore-user-id"] = String(userId);
|
|
94044
|
-
}
|
|
94045
|
-
return headers;
|
|
94046
|
-
}
|
|
94047
95500
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
94048
95501
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
94049
95502
|
};
|
|
@@ -94160,7 +95613,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94160
95613
|
}
|
|
94161
95614
|
function findDirectorNumber(affiliation, extract) {
|
|
94162
95615
|
const target = normaliseDirectorName(affiliation);
|
|
94163
|
-
const targetId = String(affiliation?._id ?? affiliation?.id ?? "").trim();
|
|
94164
95616
|
let result;
|
|
94165
95617
|
const visit = (value) => {
|
|
94166
95618
|
if (result !== void 0 || value === null || value === void 0)
|
|
@@ -94173,8 +95625,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94173
95625
|
return;
|
|
94174
95626
|
const record = value;
|
|
94175
95627
|
const number = record["directorNumber"] ?? record["DirectorNumber"];
|
|
94176
|
-
|
|
94177
|
-
if (number !== void 0 && (targetId && recordId === targetId || normaliseDirectorName(record) === target)) {
|
|
95628
|
+
if (number !== void 0 && normaliseDirectorName(record) === target) {
|
|
94178
95629
|
const parsed = Number(number);
|
|
94179
95630
|
if (Number.isFinite(parsed))
|
|
94180
95631
|
result = parsed;
|
|
@@ -94219,6 +95670,293 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94219
95670
|
}
|
|
94220
95671
|
});
|
|
94221
95672
|
|
|
95673
|
+
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95674
|
+
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95675
|
+
var init_british_columbia_maintenance_service = __esm({
|
|
95676
|
+
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95677
|
+
init_core();
|
|
95678
|
+
init_common_utils();
|
|
95679
|
+
init_core();
|
|
95680
|
+
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95681
|
+
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95682
|
+
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95683
|
+
DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95684
|
+
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95685
|
+
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95686
|
+
config;
|
|
95687
|
+
setConfig(config2) {
|
|
95688
|
+
this.config = config2;
|
|
95689
|
+
}
|
|
95690
|
+
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95691
|
+
orderCurrentDataExtract(_0, _1) {
|
|
95692
|
+
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95693
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95694
|
+
corporationNumber: context2.corporationNumber,
|
|
95695
|
+
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95696
|
+
incorporationDate: context2.incorporationDate,
|
|
95697
|
+
filingType: "changeOfAddressFiling"
|
|
95698
|
+
}, opts);
|
|
95699
|
+
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95700
|
+
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95701
|
+
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95702
|
+
}
|
|
95703
|
+
return String(id);
|
|
95704
|
+
});
|
|
95705
|
+
}
|
|
95706
|
+
/** Polls the extract until the registry has it ready (`success`). */
|
|
95707
|
+
waitForCurrentDataExtract(_0, _1) {
|
|
95708
|
+
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95709
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95710
|
+
const deadline = Date.now() + timeoutMs;
|
|
95711
|
+
for (; ; ) {
|
|
95712
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95713
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95714
|
+
if (ok && state2 === "success") {
|
|
95715
|
+
return;
|
|
95716
|
+
}
|
|
95717
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95718
|
+
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95719
|
+
}
|
|
95720
|
+
if (Date.now() >= deadline) {
|
|
95721
|
+
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
95722
|
+
}
|
|
95723
|
+
yield this.sleep(intervalMs);
|
|
95724
|
+
}
|
|
95725
|
+
});
|
|
95726
|
+
}
|
|
95727
|
+
/**
|
|
95728
|
+
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95729
|
+
* corporation number and password; they are added here so they never become part of the
|
|
95730
|
+
* saved request used to detect Entity changes.
|
|
95731
|
+
*/
|
|
95732
|
+
validate(_0, _1, _2, _3) {
|
|
95733
|
+
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95734
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95735
|
+
currentDataServiceOrderId: extractId,
|
|
95736
|
+
filingType: requestBody.filingType,
|
|
95737
|
+
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95738
|
+
corporationNumber: context2.corporationNumber,
|
|
95739
|
+
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95740
|
+
})
|
|
95741
|
+
}, opts);
|
|
95742
|
+
if (body === null) {
|
|
95743
|
+
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95744
|
+
}
|
|
95745
|
+
const result = this.normalize(unwrapRequestResults(body));
|
|
95746
|
+
if (ok && !this.hasFailed(result)) {
|
|
95747
|
+
return result;
|
|
95748
|
+
}
|
|
95749
|
+
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95750
|
+
err.validateResult = result;
|
|
95751
|
+
err.httpStatus = status;
|
|
95752
|
+
throw err;
|
|
95753
|
+
});
|
|
95754
|
+
}
|
|
95755
|
+
/**
|
|
95756
|
+
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95757
|
+
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95758
|
+
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95759
|
+
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95760
|
+
*/
|
|
95761
|
+
submitAndWait(_0, _1) {
|
|
95762
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95763
|
+
if (!serviceOrderId) {
|
|
95764
|
+
throw new Error("Missing serviceOrderId.");
|
|
95765
|
+
}
|
|
95766
|
+
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95767
|
+
const submitResult = this.normalize(submitted.body);
|
|
95768
|
+
if (!submitted.ok || submitResult.Status === "Failure") {
|
|
95769
|
+
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", submitResult));
|
|
95770
|
+
err.submitResult = submitResult;
|
|
95771
|
+
err.httpStatus = submitted.status;
|
|
95772
|
+
throw err;
|
|
95773
|
+
}
|
|
95774
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95775
|
+
const deadline = Date.now() + timeoutMs;
|
|
95776
|
+
let processing = false;
|
|
95777
|
+
let files;
|
|
95778
|
+
for (; ; ) {
|
|
95779
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95780
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95781
|
+
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95782
|
+
files = body?.files;
|
|
95783
|
+
break;
|
|
95784
|
+
}
|
|
95785
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95786
|
+
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95787
|
+
}
|
|
95788
|
+
if (Date.now() >= deadline) {
|
|
95789
|
+
processing = true;
|
|
95790
|
+
break;
|
|
95791
|
+
}
|
|
95792
|
+
yield this.sleep(intervalMs);
|
|
95793
|
+
}
|
|
95794
|
+
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95795
|
+
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95796
|
+
});
|
|
95797
|
+
}
|
|
95798
|
+
getBaseUrl(env) {
|
|
95799
|
+
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95800
|
+
if (!baseUrl) {
|
|
95801
|
+
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95802
|
+
}
|
|
95803
|
+
return baseUrl;
|
|
95804
|
+
}
|
|
95805
|
+
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95806
|
+
send(signature, method, path, payload, opts) {
|
|
95807
|
+
return __async(this, null, function* () {
|
|
95808
|
+
ensureAuthInputs(signature);
|
|
95809
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95810
|
+
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95811
|
+
const { ecoreClientId, ecoreUserId } = this.config ?? {};
|
|
95812
|
+
const headers = __spreadValues(__spreadValues(__spreadValues({
|
|
95813
|
+
"x-target-url": targetUrl
|
|
95814
|
+
}, ecoreClientId ? { ClientId: String(ecoreClientId) } : {}), ecoreUserId ? { UserId: String(ecoreUserId) } : {}), opts.headers ?? {});
|
|
95815
|
+
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95816
|
+
method,
|
|
95817
|
+
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95818
|
+
}));
|
|
95819
|
+
const raw = yield resp.text();
|
|
95820
|
+
const parsed = tryParseJson(raw);
|
|
95821
|
+
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95822
|
+
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95823
|
+
});
|
|
95824
|
+
}
|
|
95825
|
+
failure(status, prefix, body, raw) {
|
|
95826
|
+
const result = body ? this.normalize(body) : void 0;
|
|
95827
|
+
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95828
|
+
const err = new Error(message);
|
|
95829
|
+
err.httpStatus = status;
|
|
95830
|
+
return err;
|
|
95831
|
+
}
|
|
95832
|
+
sleep(ms) {
|
|
95833
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95834
|
+
}
|
|
95835
|
+
/**
|
|
95836
|
+
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95837
|
+
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95838
|
+
* `errors`, `additionalInformation` is used as the error messages.
|
|
95839
|
+
*/
|
|
95840
|
+
normalize(body) {
|
|
95841
|
+
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95842
|
+
const errors = rawErrors.map((e) => ({
|
|
95843
|
+
Code: e?.code ?? e?.Code,
|
|
95844
|
+
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95845
|
+
}));
|
|
95846
|
+
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95847
|
+
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95848
|
+
if (!succeeded && !errors.length) {
|
|
95849
|
+
const additional = body?.additionalInformation ?? [];
|
|
95850
|
+
errors.push(...additional.map((Message) => ({ Message })));
|
|
95851
|
+
}
|
|
95852
|
+
return {
|
|
95853
|
+
Status: succeeded ? "Success" : "Failure",
|
|
95854
|
+
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95855
|
+
Draft: body?.draft ?? body?.Draft,
|
|
95856
|
+
Errors: errors
|
|
95857
|
+
};
|
|
95858
|
+
}
|
|
95859
|
+
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95860
|
+
hasFailed(result) {
|
|
95861
|
+
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95862
|
+
}
|
|
95863
|
+
describeFailure(httpStatus, prefix, result) {
|
|
95864
|
+
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95865
|
+
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95866
|
+
}
|
|
95867
|
+
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95868
|
+
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95869
|
+
};
|
|
95870
|
+
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95871
|
+
};
|
|
95872
|
+
(() => {
|
|
95873
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95874
|
+
type: Injectable,
|
|
95875
|
+
args: [{
|
|
95876
|
+
providedIn: "root"
|
|
95877
|
+
}]
|
|
95878
|
+
}], null, null);
|
|
95879
|
+
})();
|
|
95880
|
+
}
|
|
95881
|
+
});
|
|
95882
|
+
|
|
95883
|
+
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95884
|
+
function formatPostalCode(value) {
|
|
95885
|
+
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95886
|
+
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95887
|
+
}
|
|
95888
|
+
function toEcoreAddress(address) {
|
|
95889
|
+
const line2 = clean(address?.addressLine2);
|
|
95890
|
+
return __spreadProps(__spreadValues({
|
|
95891
|
+
streetAddress: clean(address?.addressLine1)
|
|
95892
|
+
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95893
|
+
city: clean(address?.city),
|
|
95894
|
+
provinceOrState: BC_PROVINCE_CODE,
|
|
95895
|
+
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95896
|
+
country: CANADA_COUNTRY_CODE
|
|
95897
|
+
});
|
|
95898
|
+
}
|
|
95899
|
+
function isSameAddress(a, b) {
|
|
95900
|
+
const key = (x) => [x.streetAddress, x.additionalStreetAddress, x.city, x.provinceOrState, x.postalOrZipCode, x.country].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
|
|
95901
|
+
return key(a) === key(b);
|
|
95902
|
+
}
|
|
95903
|
+
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95904
|
+
const registered = deltaData.registeredOffice;
|
|
95905
|
+
const records = deltaData.recordsOffice;
|
|
95906
|
+
const registeredMailing = toEcoreAddress(registered?.mailingAddress);
|
|
95907
|
+
const registeredDelivery = registered?.deliverySameAsMailing ? registeredMailing : toEcoreAddress(registered?.deliveryAddress);
|
|
95908
|
+
const recordsMailing = records?.sameAsRegisteredOffice ? registeredMailing : toEcoreAddress(records?.mailingAddress);
|
|
95909
|
+
const recordsDelivery = records?.sameAsRegisteredOffice ? registeredDelivery : records?.deliverySameAsMailing ? recordsMailing : toEcoreAddress(records?.deliveryAddress);
|
|
95910
|
+
const registeredDeliverySame = isSameAddress(registeredDelivery, registeredMailing);
|
|
95911
|
+
const recordsSameAsRegistered = isSameAddress(recordsMailing, registeredMailing);
|
|
95912
|
+
const recordsDeliverySame = isSameAddress(recordsDelivery, recordsMailing);
|
|
95913
|
+
const filing = {
|
|
95914
|
+
registeredOfficeMailingAddress: registeredMailing,
|
|
95915
|
+
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95916
|
+
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95917
|
+
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95918
|
+
// Both are picked on the form; the fallbacks only cover data saved before they were added.
|
|
95919
|
+
companyEmail: clean(deltaData.companyEmail) || BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95920
|
+
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
95921
|
+
};
|
|
95922
|
+
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95923
|
+
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95924
|
+
if (reference) {
|
|
95925
|
+
filing.reference = reference;
|
|
95926
|
+
}
|
|
95927
|
+
if (docket) {
|
|
95928
|
+
filing.docket = docket;
|
|
95929
|
+
}
|
|
95930
|
+
if (!registeredDeliverySame) {
|
|
95931
|
+
filing.registeredOfficeDeliveryAddress = registeredDelivery;
|
|
95932
|
+
}
|
|
95933
|
+
if (!recordsSameAsRegistered) {
|
|
95934
|
+
filing.recordsOfficeMailingAddress = recordsMailing;
|
|
95935
|
+
}
|
|
95936
|
+
if (!recordsDeliverySame) {
|
|
95937
|
+
filing.recordsOfficeDeliveryAddress = recordsDelivery;
|
|
95938
|
+
}
|
|
95939
|
+
return { filingType: "changeOfAddressFiling", filing };
|
|
95940
|
+
}
|
|
95941
|
+
function getBritishColumbiaAccessCode2(task, env) {
|
|
95942
|
+
const registryId = task.entity._profile.registry_id?.trim() ?? "";
|
|
95943
|
+
if (registryId) {
|
|
95944
|
+
return registryId;
|
|
95945
|
+
}
|
|
95946
|
+
return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
|
|
95947
|
+
}
|
|
95948
|
+
var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95949
|
+
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95950
|
+
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95951
|
+
init_BritishColumbiaConstants();
|
|
95952
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95953
|
+
TEMP_UAT_TEST_ACCESS_CODE = "12345678";
|
|
95954
|
+
BC_PROVINCE_CODE = "BC";
|
|
95955
|
+
CANADA_COUNTRY_CODE = "CA";
|
|
95956
|
+
clean = (value) => (value ?? "").trim();
|
|
95957
|
+
}
|
|
95958
|
+
});
|
|
95959
|
+
|
|
94222
95960
|
// src/app/components/filing/filing.component.ts
|
|
94223
95961
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
94224
95962
|
if (rf & 1) {
|
|
@@ -94302,6 +96040,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94302
96040
|
\u0275\u0275restoreView(_r6);
|
|
94303
96041
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94304
96042
|
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
96043
|
+
})("recheckStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_recheckStep_0_listener() {
|
|
96044
|
+
\u0275\u0275restoreView(_r6);
|
|
96045
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96046
|
+
return \u0275\u0275resetView(ctx_r2.defineInitialStep());
|
|
94305
96047
|
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
94306
96048
|
\u0275\u0275restoreView(_r6);
|
|
94307
96049
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -94318,6 +96060,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94318
96060
|
\u0275\u0275restoreView(_r6);
|
|
94319
96061
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94320
96062
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
96063
|
+
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
96064
|
+
\u0275\u0275restoreView(_r6);
|
|
96065
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96066
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
96067
|
+
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
96068
|
+
\u0275\u0275restoreView(_r6);
|
|
96069
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96070
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
96071
|
+
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
96072
|
+
\u0275\u0275restoreView(_r6);
|
|
96073
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96074
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
94321
96075
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
94322
96076
|
\u0275\u0275restoreView(_r6);
|
|
94323
96077
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -94433,6 +96187,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94433
96187
|
init_delta_state_service();
|
|
94434
96188
|
init_british_columbia_change_of_directors_service();
|
|
94435
96189
|
init_british_columbia_change_of_directors_mapper();
|
|
96190
|
+
init_british_columbia_maintenance_service();
|
|
96191
|
+
init_british_columbia_change_of_office_addresses_mapper();
|
|
94436
96192
|
init_core();
|
|
94437
96193
|
init_button();
|
|
94438
96194
|
FilingComponent = class _FilingComponent {
|
|
@@ -94489,6 +96245,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94489
96245
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
94490
96246
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
94491
96247
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
96248
|
+
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
94492
96249
|
translate = inject(TranslateService);
|
|
94493
96250
|
isEditButton = computed(() => {
|
|
94494
96251
|
const task = this.task();
|
|
@@ -94533,6 +96290,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94533
96290
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
94534
96291
|
return "File British Columbia Notice of Change of Directors";
|
|
94535
96292
|
}
|
|
96293
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96294
|
+
return "File British Columbia Change of Office Addresses";
|
|
96295
|
+
}
|
|
94536
96296
|
return "";
|
|
94537
96297
|
});
|
|
94538
96298
|
constructor() {
|
|
@@ -94545,6 +96305,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94545
96305
|
this.bcFormationService.setConfig(config2);
|
|
94546
96306
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
94547
96307
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
96308
|
+
this.bcMaintenanceService.setConfig(config2);
|
|
94548
96309
|
}
|
|
94549
96310
|
});
|
|
94550
96311
|
addStylesVariables();
|
|
@@ -94869,6 +96630,97 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94869
96630
|
}
|
|
94870
96631
|
});
|
|
94871
96632
|
}
|
|
96633
|
+
/**
|
|
96634
|
+
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96635
|
+
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96636
|
+
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96637
|
+
*/
|
|
96638
|
+
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96639
|
+
return __async(this, null, function* () {
|
|
96640
|
+
const task = this.task();
|
|
96641
|
+
const signature = this._signature();
|
|
96642
|
+
try {
|
|
96643
|
+
if (!task || !signature) {
|
|
96644
|
+
throw new Error("The filing is not ready yet. Please try again.");
|
|
96645
|
+
}
|
|
96646
|
+
this.isLoading.set(true);
|
|
96647
|
+
this.errors.set([]);
|
|
96648
|
+
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96649
|
+
const opts = this.validateOptions() ?? {};
|
|
96650
|
+
const context2 = {
|
|
96651
|
+
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96652
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode2(task, signature.env),
|
|
96653
|
+
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96654
|
+
};
|
|
96655
|
+
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96656
|
+
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96657
|
+
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96658
|
+
if (this.hasResponseErrors(response))
|
|
96659
|
+
return;
|
|
96660
|
+
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96661
|
+
const draftPdf = response.Draft ?? "";
|
|
96662
|
+
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96663
|
+
if (draftPdf && searchOrFilingType) {
|
|
96664
|
+
this.filingValidateSuccess.emit({
|
|
96665
|
+
searchOrFilingType,
|
|
96666
|
+
serviceOrderId,
|
|
96667
|
+
validatedOn: /* @__PURE__ */ new Date(),
|
|
96668
|
+
provider: "bcreg",
|
|
96669
|
+
draftPdf,
|
|
96670
|
+
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96671
|
+
documentType: "pdf"
|
|
96672
|
+
});
|
|
96673
|
+
}
|
|
96674
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96675
|
+
serviceOrderId,
|
|
96676
|
+
// The corporation number is added by the service, not by the request builder, so it is
|
|
96677
|
+
// stored explicitly (the access code is deliberately left out) to detect entity changes.
|
|
96678
|
+
validatedData: __spreadProps(__spreadValues({}, JSON.parse(JSON.stringify(requestBody))), {
|
|
96679
|
+
corporationNumber: context2.corporationNumber
|
|
96680
|
+
})
|
|
96681
|
+
}));
|
|
96682
|
+
this.close.emit();
|
|
96683
|
+
} catch (response) {
|
|
96684
|
+
this.handleCatchError(response);
|
|
96685
|
+
} finally {
|
|
96686
|
+
this.isLoading.set(false);
|
|
96687
|
+
}
|
|
96688
|
+
});
|
|
96689
|
+
}
|
|
96690
|
+
/**
|
|
96691
|
+
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96692
|
+
*/
|
|
96693
|
+
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96694
|
+
const oldDeltaData = this.task()?.deltaData;
|
|
96695
|
+
if (oldDeltaData) {
|
|
96696
|
+
delete this.task()?.deltaData;
|
|
96697
|
+
}
|
|
96698
|
+
this.deltaDataChange.emit(deltaData);
|
|
96699
|
+
}
|
|
96700
|
+
/**
|
|
96701
|
+
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96702
|
+
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96703
|
+
*/
|
|
96704
|
+
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96705
|
+
return __async(this, null, function* () {
|
|
96706
|
+
const signature = this._signature();
|
|
96707
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96708
|
+
if (!signature || !serviceOrderId) {
|
|
96709
|
+
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96710
|
+
return;
|
|
96711
|
+
}
|
|
96712
|
+
try {
|
|
96713
|
+
this.isLoading.set(true);
|
|
96714
|
+
this.errors.set([]);
|
|
96715
|
+
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96716
|
+
this.close.emit();
|
|
96717
|
+
} catch (response) {
|
|
96718
|
+
this.handleCatchError(response);
|
|
96719
|
+
} finally {
|
|
96720
|
+
this.isLoading.set(false);
|
|
96721
|
+
}
|
|
96722
|
+
});
|
|
96723
|
+
}
|
|
94872
96724
|
/**
|
|
94873
96725
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
94874
96726
|
*/
|
|
@@ -95137,7 +96989,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95137
96989
|
this.errors.set(this.parseError(errors));
|
|
95138
96990
|
return;
|
|
95139
96991
|
}
|
|
95140
|
-
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
96992
|
+
const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
95141
96993
|
this.errors.set([fallbackMessage]);
|
|
95142
96994
|
}
|
|
95143
96995
|
onClose() {
|
|
@@ -95204,6 +97056,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95204
97056
|
let initialDelta;
|
|
95205
97057
|
if (isFormationTask2(task)) {
|
|
95206
97058
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
97059
|
+
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
97060
|
+
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
95207
97061
|
} else if (isUpdateMaintain(task)) {
|
|
95208
97062
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
95209
97063
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -95237,6 +97091,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95237
97091
|
}
|
|
95238
97092
|
return federalPayload;
|
|
95239
97093
|
}
|
|
97094
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
97095
|
+
return __spreadProps(__spreadValues({}, buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData)), {
|
|
97096
|
+
corporationNumber: task.entity._profile.corp_number ?? ""
|
|
97097
|
+
});
|
|
97098
|
+
}
|
|
95240
97099
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
95241
97100
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
95242
97101
|
if (!serviceOrderId) {
|
|
@@ -95265,7 +97124,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95265
97124
|
if (rf & 2) {
|
|
95266
97125
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
95267
97126
|
}
|
|
95268
|
-
}, 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) {
|
|
97127
|
+
}, 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) {
|
|
95269
97128
|
if (rf & 1) {
|
|
95270
97129
|
const _r1 = \u0275\u0275getCurrentView();
|
|
95271
97130
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -95347,7 +97206,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95347
97206
|
[activeStep]="activeStep()"\r
|
|
95348
97207
|
[isNote]="dataWasChanged()"\r
|
|
95349
97208
|
[actionsDisabled]="isLoading()"\r
|
|
95350
|
-
[errors]="errors()"
|
|
97209
|
+
[errors]="errors()"\r
|
|
95351
97210
|
[prevData]="prevData()"\r
|
|
95352
97211
|
(close)="close.emit()"\r
|
|
95353
97212
|
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
@@ -95366,15 +97225,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95366
97225
|
[currentUser]="currentUser()"\r
|
|
95367
97226
|
[activeStep]="activeStep()"\r
|
|
95368
97227
|
[isNote]="dataWasChanged()"\r
|
|
95369
|
-
[actionsDisabled]="isLoading()"
|
|
95370
|
-
[errors]="errors()"
|
|
95371
|
-
[currentDataExtract]="currentDataExtract()"
|
|
97228
|
+
[actionsDisabled]="isLoading()"\r
|
|
97229
|
+
[errors]="errors()"\r
|
|
97230
|
+
[currentDataExtract]="currentDataExtract()"\r
|
|
95372
97231
|
(close)="close.emit()"\r
|
|
95373
97232
|
(nextStep)="onNextStepClick()"\r
|
|
97233
|
+
(recheckStep)="defineInitialStep()"\r
|
|
95374
97234
|
(prevStep)="onOntarioPrevStep()"\r
|
|
95375
97235
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95376
97236
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95377
97237
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
97238
|
+
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
97239
|
+
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
97240
|
+
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
95378
97241
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95379
97242
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95380
97243
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -95404,12 +97267,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95404
97267
|
</div>\r
|
|
95405
97268
|
}\r
|
|
95406
97269
|
</div>\r
|
|
95407
|
-
</div>\r
|
|
95408
|
-
`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
|
|
97270
|
+
</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'] }]
|
|
95409
97271
|
}], () => [], null);
|
|
95410
97272
|
})();
|
|
95411
97273
|
(() => {
|
|
95412
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
97274
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 97 });
|
|
95413
97275
|
})();
|
|
95414
97276
|
}
|
|
95415
97277
|
});
|
|
@@ -100055,7 +101917,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100055
101917
|
Currency: "Currency",
|
|
100056
101918
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
100057
101919
|
Unlimited: "Unlimited",
|
|
100058
|
-
"Without Par Value": "Without Par Value"
|
|
101920
|
+
"Without Par Value": "Without Par Value",
|
|
101921
|
+
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101922
|
+
"Records Office Address": "Records Office Address",
|
|
101923
|
+
"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.",
|
|
101924
|
+
"Current Mailing Address": "Current Mailing Address",
|
|
101925
|
+
"Current Delivery Address": "Current Delivery Address",
|
|
101926
|
+
"New Mailing Address": "New Mailing Address",
|
|
101927
|
+
"New Delivery Address": "New Delivery Address",
|
|
101928
|
+
"Same as Mailing Address": "Same as Mailing Address",
|
|
101929
|
+
"Same as Registered Office": "Same as Registered Office",
|
|
101930
|
+
"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."
|
|
100059
101931
|
};
|
|
100060
101932
|
}
|
|
100061
101933
|
});
|
|
@@ -100402,7 +102274,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100402
102274
|
Currency: "Devise",
|
|
100403
102275
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
100404
102276
|
Unlimited: "Illimit\xE9",
|
|
100405
|
-
"Without Par Value": "Sans valeur nominale"
|
|
102277
|
+
"Without Par Value": "Sans valeur nominale",
|
|
102278
|
+
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
102279
|
+
"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.",
|
|
102280
|
+
"Current Mailing Address": "Adresse postale actuelle",
|
|
102281
|
+
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
102282
|
+
"New Mailing Address": "Nouvelle adresse postale",
|
|
102283
|
+
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
102284
|
+
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
102285
|
+
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
102286
|
+
"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."
|
|
100406
102287
|
};
|
|
100407
102288
|
}
|
|
100408
102289
|
});
|