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