@dyedurham/search-and-file-widget 2.0.93 → 2.0.95
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 +1828 -393
- package/package.json +11 -11
- package/dyedurham-search-and-file-widget-2.0.93.tgz +0 -0
package/dnd-filing-shell.js
CHANGED
|
@@ -56266,6 +56266,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
56266
56266
|
TaskType2["Amendments"] = "Amendments";
|
|
56267
56267
|
TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
|
|
56268
56268
|
TaskType2["ChangeOfAddress"] = "Change of Address";
|
|
56269
|
+
TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
|
|
56269
56270
|
TaskType2["ChangeOfPrincipals"] = "Change of Principals";
|
|
56270
56271
|
TaskType2["RegistrationCompliance"] = "Registration Compliance";
|
|
56271
56272
|
TaskType2["Continuance"] = "Continuance";
|
|
@@ -57884,8 +57885,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57884
57885
|
|
|
57885
57886
|
// src/app/utils/common.utils.ts
|
|
57886
57887
|
function buildValidationError(httpStatus, r) {
|
|
57887
|
-
const msgs = (r.Errors ??
|
|
57888
|
-
|
|
57888
|
+
const msgs = (r.Errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57889
|
+
const status = r.Status ? String(r.Status) : "ValidationFailed";
|
|
57890
|
+
return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
|
|
57889
57891
|
}
|
|
57890
57892
|
function joinUrl(base, path) {
|
|
57891
57893
|
const b = base.endsWith("/") ? base.slice(0, -1) : base;
|
|
@@ -58084,6 +58086,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58084
58086
|
function isChangeOfPrincipalsTask(task) {
|
|
58085
58087
|
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58086
58088
|
}
|
|
58089
|
+
function isChangeOfAddressTask(task) {
|
|
58090
|
+
return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
|
|
58091
|
+
}
|
|
58087
58092
|
function isBritishColumbiaTask(task) {
|
|
58088
58093
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58089
58094
|
}
|
|
@@ -58108,6 +58113,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58108
58113
|
if (!task) {
|
|
58109
58114
|
return void 0;
|
|
58110
58115
|
}
|
|
58116
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
58117
|
+
return "bcChangeOfAddress";
|
|
58118
|
+
}
|
|
58111
58119
|
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
|
|
58112
58120
|
if (isFormationTask2(task)) {
|
|
58113
58121
|
return `${prefix}Incorporation`;
|
|
@@ -58122,7 +58130,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58122
58130
|
return `${prefix}AnnualReturn`;
|
|
58123
58131
|
}
|
|
58124
58132
|
if (isChangeOfPrincipalsTask(task)) {
|
|
58125
|
-
return
|
|
58133
|
+
return `${prefix}NoticeOfChangeOfDirectors`;
|
|
58126
58134
|
}
|
|
58127
58135
|
return void 0;
|
|
58128
58136
|
}
|
|
@@ -61002,10 +61010,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
61002
61010
|
this._inputElement.nativeElement.focus();
|
|
61003
61011
|
}
|
|
61004
61012
|
/** Creates the change event that will be emitted by the checkbox. */
|
|
61005
|
-
_createChangeEvent(
|
|
61013
|
+
_createChangeEvent(isChecked2) {
|
|
61006
61014
|
const event = new MatCheckboxChange();
|
|
61007
61015
|
event.source = this;
|
|
61008
|
-
event.checked =
|
|
61016
|
+
event.checked = isChecked2;
|
|
61009
61017
|
return event;
|
|
61010
61018
|
}
|
|
61011
61019
|
/** Gets the element on which to add the animation CSS classes. */
|
|
@@ -80561,7 +80569,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80561
80569
|
MatRadioButton,
|
|
80562
80570
|
TranslatePipe,
|
|
80563
80571
|
CheckboxListComponent
|
|
80564
|
-
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80572
|
+
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] .body-1-semibold {\n color: inherit;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80565
80573
|
};
|
|
80566
80574
|
(() => {
|
|
80567
80575
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
|
|
@@ -80815,7 +80823,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80815
80823
|
}\r
|
|
80816
80824
|
</div>\r
|
|
80817
80825
|
</section>\r
|
|
80818
|
-
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80826
|
+
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .note-box {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n:host .note-box ::ng-deep .body-1-semibold {\n color: inherit;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80819
80827
|
}], () => [], { dismissOpenTooltip: [{
|
|
80820
80828
|
type: HostListener,
|
|
80821
80829
|
args: ["document:keydown.escape"]
|
|
@@ -81305,12 +81313,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81305
81313
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81306
81314
|
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81307
81315
|
bcFormationInitialDelta = signal(null);
|
|
81316
|
+
bcChangeOfOfficeAddressesInitialDelta = signal(null);
|
|
81308
81317
|
setFormationInitialDelta(delta) {
|
|
81309
81318
|
this.formationInitialDelta.set(delta);
|
|
81310
81319
|
}
|
|
81311
81320
|
setBCFormationInitialDelta(delta) {
|
|
81312
81321
|
this.bcFormationInitialDelta.set(delta);
|
|
81313
81322
|
}
|
|
81323
|
+
setBCChangeOfOfficeAddressesInitialDelta(delta) {
|
|
81324
|
+
this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
|
|
81325
|
+
}
|
|
81314
81326
|
setInitialReturnInitialDelta(delta) {
|
|
81315
81327
|
this.initialReturnInitialDelta.set(delta);
|
|
81316
81328
|
}
|
|
@@ -81330,6 +81342,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81330
81342
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81331
81343
|
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81332
81344
|
this.bcFormationInitialDelta.set(null);
|
|
81345
|
+
this.bcChangeOfOfficeAddressesInitialDelta.set(null);
|
|
81333
81346
|
}
|
|
81334
81347
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
81335
81348
|
return new (__ngFactoryType__ || _DeltaStateService)();
|
|
@@ -84137,7 +84150,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84137
84150
|
});
|
|
84138
84151
|
|
|
84139
84152
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
84140
|
-
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84153
|
+
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84141
84154
|
var init_BritishColumbiaConstants = __esm({
|
|
84142
84155
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84143
84156
|
init_app_enums();
|
|
@@ -84171,7 +84184,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84171
84184
|
};
|
|
84172
84185
|
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84173
84186
|
Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84174
|
-
CANProvinces.BritishColumbia;
|
|
84187
|
+
BC_DEFAULT_PROVINCE_STATE = CANProvinces.BritishColumbia;
|
|
84175
84188
|
BC_DEFAULT_COUNTRY = "Canada";
|
|
84176
84189
|
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84177
84190
|
BC_PASSWORD_MIN_LENGTH = 8;
|
|
@@ -84190,7 +84203,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84190
84203
|
});
|
|
84191
84204
|
|
|
84192
84205
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84193
|
-
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84206
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCChangeOfOfficeAddressesFormControls, BCChangeOfOfficeAddressesFormGroups, BCFormationFormGroups;
|
|
84194
84207
|
var init_british_columbia_form_enums = __esm({
|
|
84195
84208
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84196
84209
|
(function(BCChangeOfDirectorsFormControls2) {
|
|
@@ -84255,6 +84268,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84255
84268
|
BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
|
|
84256
84269
|
BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
|
|
84257
84270
|
})(BCFormationFormControls || (BCFormationFormControls = {}));
|
|
84271
|
+
(function(BCChangeOfOfficeAddressesFormControls2) {
|
|
84272
|
+
BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
|
|
84273
|
+
BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
|
|
84274
|
+
BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
|
|
84275
|
+
BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
|
|
84276
|
+
BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
|
|
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
|
+
})(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
|
|
84258
84296
|
(function(BCFormationFormGroups2) {
|
|
84259
84297
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84260
84298
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
@@ -84329,7 +84367,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84329
84367
|
}
|
|
84330
84368
|
const password = request.password ?? "";
|
|
84331
84369
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84332
|
-
issues.push(`
|
|
84370
|
+
issues.push(`Company Password must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Enter it in Corporation Details.`);
|
|
84333
84371
|
}
|
|
84334
84372
|
return issues;
|
|
84335
84373
|
}
|
|
@@ -84721,10 +84759,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84721
84759
|
// Prefilled from the entity's Business Email when Athennian has one; otherwise the user
|
|
84722
84760
|
// enters it here (the API requires it).
|
|
84723
84761
|
[BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
|
|
84724
|
-
//
|
|
84725
|
-
//
|
|
84726
|
-
|
|
84727
|
-
|
|
84762
|
+
// The registry ID is only a suggestion: it is used when it already satisfies the BC
|
|
84763
|
+
// password rule, otherwise the field starts empty for the user to fill in.
|
|
84764
|
+
[BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id), [
|
|
84765
|
+
Validators.required,
|
|
84766
|
+
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
84767
|
+
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
84768
|
+
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
84769
|
+
]),
|
|
84728
84770
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84729
84771
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84730
84772
|
});
|
|
@@ -84826,15 +84868,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84826
84868
|
})
|
|
84827
84869
|
});
|
|
84828
84870
|
}
|
|
84829
|
-
/**
|
|
84830
|
-
* Company Email dropdown options: the task's `emailOptions` (distinct addresses), plus the
|
|
84831
|
-
* current value when it is not among them (a saved or fallback-prefilled address).
|
|
84832
|
-
*/
|
|
84833
|
-
static buildCompanyEmailOptions(task, currentValue) {
|
|
84834
|
-
const emails = (task?.entity.emailOptions ?? []).map((option) => option.value?.trim());
|
|
84835
|
-
const current = currentValue?.trim();
|
|
84836
|
-
return [...new Set([...emails, current].filter((email) => Boolean(email)))].map((email) => ({ label: email, value: email }));
|
|
84837
|
-
}
|
|
84838
84871
|
static suggestPassword(registryId) {
|
|
84839
84872
|
const value = registryId?.trim() ?? "";
|
|
84840
84873
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
@@ -84878,7 +84911,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84878
84911
|
init_british_columbia_formation_form_helper();
|
|
84879
84912
|
Controls = BCChangeOfDirectorsFormControls;
|
|
84880
84913
|
BritishColumbiaChangeOfDirectorsFormHelper = class {
|
|
84881
|
-
static generateConfig(task, _translateFn
|
|
84914
|
+
static generateConfig(task, _translateFn) {
|
|
84882
84915
|
const affiliations = task.entity.affiliations ?? [];
|
|
84883
84916
|
const delta = task.deltaData;
|
|
84884
84917
|
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
@@ -84907,9 +84940,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84907
84940
|
]),
|
|
84908
84941
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84909
84942
|
});
|
|
84910
|
-
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
84911
84943
|
const directors = [
|
|
84912
|
-
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a,
|
|
84944
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add)),
|
|
84913
84945
|
...outgoing.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Ceased))
|
|
84914
84946
|
];
|
|
84915
84947
|
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
@@ -84927,45 +84959,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84927
84959
|
});
|
|
84928
84960
|
return config2;
|
|
84929
84961
|
}
|
|
84930
|
-
static getCurrentDirectorKeys(extract) {
|
|
84931
|
-
const keys = /* @__PURE__ */ new Set();
|
|
84932
|
-
const visit = (value) => {
|
|
84933
|
-
if (Array.isArray(value)) {
|
|
84934
|
-
value.forEach((item) => {
|
|
84935
|
-
if (item && typeof item === "object") {
|
|
84936
|
-
const record = item;
|
|
84937
|
-
const role = String(record["role"] ?? record["Role"] ?? record["position"] ?? "").toLowerCase();
|
|
84938
|
-
if (!role || role.includes("director")) {
|
|
84939
|
-
const person = record["PersonName"] ?? record["personName"] ?? record["person"] ?? record;
|
|
84940
|
-
const name = [
|
|
84941
|
-
person.firstName ?? person.FirstName,
|
|
84942
|
-
person.middleName ?? person.MiddleName,
|
|
84943
|
-
person.lastName ?? person.LastName
|
|
84944
|
-
].filter(Boolean).join(" ");
|
|
84945
|
-
const id = record["Id"] ?? record["id"] ?? record["affiliationId"] ?? record["AffiliationId"];
|
|
84946
|
-
if (id)
|
|
84947
|
-
keys.add(this.normaliseDirectorKey(id));
|
|
84948
|
-
if (name)
|
|
84949
|
-
keys.add(this.normaliseDirectorKey(name));
|
|
84950
|
-
}
|
|
84951
|
-
}
|
|
84952
|
-
visit(item);
|
|
84953
|
-
});
|
|
84954
|
-
return;
|
|
84955
|
-
}
|
|
84956
|
-
if (value && typeof value === "object") {
|
|
84957
|
-
Object.values(value).forEach(visit);
|
|
84958
|
-
}
|
|
84959
|
-
};
|
|
84960
|
-
visit(extract);
|
|
84961
|
-
return keys;
|
|
84962
|
-
}
|
|
84963
|
-
static getDirectorKey(affiliation) {
|
|
84964
|
-
return this.normaliseDirectorKey(generateTaskAffiliationFullName(affiliation));
|
|
84965
|
-
}
|
|
84966
|
-
static normaliseDirectorKey(value) {
|
|
84967
|
-
return String(value ?? "").trim().toLowerCase().replace(/\s+/g, " ");
|
|
84968
|
-
}
|
|
84969
84962
|
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber, savedClientMatterNumber) {
|
|
84970
84963
|
return new FormGroup({
|
|
84971
84964
|
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? savedClientMatterNumber ?? ""),
|
|
@@ -85025,8 +85018,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85025
85018
|
const postalAddress = director?.PostalAddress ?? director?.postalAddress;
|
|
85026
85019
|
const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
|
|
85027
85020
|
return [
|
|
85028
|
-
address.streetAddress,
|
|
85029
|
-
address.additionalStreetAddress,
|
|
85030
85021
|
address.Address1 ?? address.address1,
|
|
85031
85022
|
address.Address2 ?? address.address2,
|
|
85032
85023
|
address.Address3 ?? address.address3,
|
|
@@ -85043,14 +85034,127 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85043
85034
|
}
|
|
85044
85035
|
});
|
|
85045
85036
|
|
|
85037
|
+
// src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
|
|
85038
|
+
var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
|
|
85039
|
+
var init_british_columbia_change_of_office_addresses_form_helper = __esm({
|
|
85040
|
+
"src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
|
|
85041
|
+
init_forms();
|
|
85042
|
+
init_common_models();
|
|
85043
|
+
init_british_columbia_form_enums();
|
|
85044
|
+
init_BritishColumbiaConstants();
|
|
85045
|
+
init_british_columbia_formation_form_helper();
|
|
85046
|
+
Controls2 = BCChangeOfOfficeAddressesFormControls;
|
|
85047
|
+
EDITABLE_ADDRESS_CONTROLS = [
|
|
85048
|
+
Controls2.AddressLine1,
|
|
85049
|
+
Controls2.AddressLine2,
|
|
85050
|
+
Controls2.City,
|
|
85051
|
+
Controls2.PostalCode
|
|
85052
|
+
];
|
|
85053
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85054
|
+
static generateConfig(task, _translateFn) {
|
|
85055
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85056
|
+
const delta = task.deltaData;
|
|
85057
|
+
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
85058
|
+
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85059
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85060
|
+
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85061
|
+
const companyEmail = this.resolveCompanyEmail(task);
|
|
85062
|
+
const config2 = {};
|
|
85063
|
+
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85064
|
+
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
85065
|
+
[Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
85066
|
+
[Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
85067
|
+
[Controls2.CompanyEmail]: this.readOnly(companyEmail)
|
|
85068
|
+
});
|
|
85069
|
+
const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85070
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85071
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85072
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85073
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
|
|
85074
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85075
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
85076
|
+
});
|
|
85077
|
+
const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85078
|
+
const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85079
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85080
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85081
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85082
|
+
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85083
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85084
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
85085
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
|
|
85086
|
+
});
|
|
85087
|
+
return config2;
|
|
85088
|
+
}
|
|
85089
|
+
/**
|
|
85090
|
+
* The company's email, looked up the same way as in the BC Incorporation Application: the
|
|
85091
|
+
* entity's email options, then the Registered Office's Business Email, then the entity's own,
|
|
85092
|
+
* then any other address of the entity (e.g. a Head Office).
|
|
85093
|
+
*/
|
|
85094
|
+
static resolveCompanyEmail(task) {
|
|
85095
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85096
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85097
|
+
return task.entity.emailOptions?.[0]?.value ?? registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.addresses?.flatMap((a) => a.communications ?? []).find((c) => c.type === "Business Email")?.value ?? "";
|
|
85098
|
+
}
|
|
85099
|
+
/**
|
|
85100
|
+
* Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
|
|
85101
|
+
* Province and Country are always disabled; the rest follow `enabled`.
|
|
85102
|
+
*/
|
|
85103
|
+
static createOfficeAddressFormGroup(delta, enabled = true) {
|
|
85104
|
+
const group2 = new FormGroup({
|
|
85105
|
+
[Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
|
|
85106
|
+
[Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
|
|
85107
|
+
[Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
|
|
85108
|
+
[Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
|
|
85109
|
+
[Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
|
|
85110
|
+
[Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
|
|
85111
|
+
});
|
|
85112
|
+
this.setOfficeAddressEnabled(group2, enabled);
|
|
85113
|
+
return group2;
|
|
85114
|
+
}
|
|
85115
|
+
/**
|
|
85116
|
+
* Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes).
|
|
85117
|
+
* Hiding a grid also clears it, so un-ticking the checkbox shows an empty address to fill in.
|
|
85118
|
+
*/
|
|
85119
|
+
static setOfficeAddressEnabled(group2, enabled) {
|
|
85120
|
+
if (!group2) {
|
|
85121
|
+
return;
|
|
85122
|
+
}
|
|
85123
|
+
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85124
|
+
const control = group2.get(name);
|
|
85125
|
+
if (enabled) {
|
|
85126
|
+
control?.enable({ emitEvent: false });
|
|
85127
|
+
} else {
|
|
85128
|
+
control?.setValue("", { emitEvent: false });
|
|
85129
|
+
control?.disable({ emitEvent: false });
|
|
85130
|
+
}
|
|
85131
|
+
});
|
|
85132
|
+
group2.updateValueAndValidity({ emitEvent: false });
|
|
85133
|
+
}
|
|
85134
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85135
|
+
return new FormGroup({
|
|
85136
|
+
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85137
|
+
// `||`, not `??`: a draft saved with the field empty stores '' and must not hide the entity's number.
|
|
85138
|
+
deltaData?.referenceNumber || clientMatterNumber || ""
|
|
85139
|
+
),
|
|
85140
|
+
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85141
|
+
});
|
|
85142
|
+
}
|
|
85143
|
+
static readOnly(value) {
|
|
85144
|
+
return new FormControl({ value: value ?? "", disabled: true });
|
|
85145
|
+
}
|
|
85146
|
+
};
|
|
85147
|
+
}
|
|
85148
|
+
});
|
|
85149
|
+
|
|
85046
85150
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85047
|
-
var
|
|
85151
|
+
var Controls3, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85048
85152
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85049
85153
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85050
85154
|
init_form_enums();
|
|
85051
85155
|
init_british_columbia_form_enums();
|
|
85052
85156
|
init_BritishColumbiaConstants();
|
|
85053
|
-
|
|
85157
|
+
Controls3 = BCChangeOfDirectorsFormControls;
|
|
85054
85158
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85055
85159
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85056
85160
|
type: FormType.Text,
|
|
@@ -85058,24 +85162,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85058
85162
|
class: className,
|
|
85059
85163
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85060
85164
|
});
|
|
85061
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85062
|
-
isNotifyByMail = (form) => form.get(
|
|
85165
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
|
|
85166
|
+
isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85063
85167
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85064
85168
|
{
|
|
85065
85169
|
type: FormType.Input,
|
|
85066
85170
|
label: "Client/Matter Number",
|
|
85067
|
-
formControlName:
|
|
85171
|
+
formControlName: Controls3.ClientMatterNumber
|
|
85068
85172
|
},
|
|
85069
85173
|
{
|
|
85070
85174
|
type: FormType.Input,
|
|
85071
85175
|
label: "Docket Number",
|
|
85072
|
-
formControlName:
|
|
85176
|
+
formControlName: Controls3.DocketNumber
|
|
85073
85177
|
}
|
|
85074
85178
|
];
|
|
85075
85179
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85076
|
-
readOnlyRow("Corporation Name",
|
|
85077
|
-
readOnlyRow("Incorporation Number",
|
|
85078
|
-
readOnlyRow("Company Email",
|
|
85180
|
+
readOnlyRow("Corporation Name", Controls3.CorporationName),
|
|
85181
|
+
readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
|
|
85182
|
+
readOnlyRow("Company Email", Controls3.CompanyEmail)
|
|
85079
85183
|
];
|
|
85080
85184
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85081
85185
|
{
|
|
@@ -85087,24 +85191,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85087
85191
|
{
|
|
85088
85192
|
type: FormType.Checkbox,
|
|
85089
85193
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85090
|
-
formControlName:
|
|
85194
|
+
formControlName: Controls3.DirectorsAddedOrDeleted,
|
|
85091
85195
|
class: "span-12",
|
|
85092
85196
|
onChange: (form) => {
|
|
85093
85197
|
if (!directorsAddedOrDeleted(form)) {
|
|
85094
|
-
form.get(
|
|
85198
|
+
form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85095
85199
|
}
|
|
85096
|
-
form.get(
|
|
85200
|
+
form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85097
85201
|
}
|
|
85098
85202
|
},
|
|
85099
85203
|
{
|
|
85100
85204
|
type: FormType.Date,
|
|
85101
85205
|
label: "Date Directors were added or deleted",
|
|
85102
|
-
formControlName:
|
|
85206
|
+
formControlName: Controls3.ChangeDate,
|
|
85103
85207
|
required: true,
|
|
85104
85208
|
isVisible: directorsAddedOrDeleted,
|
|
85105
85209
|
class: "span-8"
|
|
85106
85210
|
},
|
|
85107
|
-
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee",
|
|
85211
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
|
|
85108
85212
|
isVisible: directorsAddedOrDeleted
|
|
85109
85213
|
}),
|
|
85110
85214
|
{
|
|
@@ -85115,35 +85219,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85115
85219
|
dynamicLabel: (_, t) => t("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.")
|
|
85116
85220
|
}
|
|
85117
85221
|
];
|
|
85222
|
+
generateBCChangeOfDirectorsIntroFields = (registerAsOf) => [
|
|
85223
|
+
{
|
|
85224
|
+
type: FormType.Text,
|
|
85225
|
+
formControlName: "",
|
|
85226
|
+
class: "span-12",
|
|
85227
|
+
dynamicLabel: (_, t) => t("These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.").replace("{{date}}", registerAsOf)
|
|
85228
|
+
}
|
|
85229
|
+
];
|
|
85118
85230
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85119
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85120
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85231
|
+
readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
|
|
85232
|
+
readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
|
|
85121
85233
|
];
|
|
85122
85234
|
[
|
|
85123
85235
|
{
|
|
85124
85236
|
type: FormType.Select,
|
|
85125
85237
|
label: "Notification Method",
|
|
85126
|
-
formControlName:
|
|
85238
|
+
formControlName: Controls3.NotificationMethod,
|
|
85127
85239
|
required: true,
|
|
85128
85240
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85129
85241
|
needTranslate: true,
|
|
85130
85242
|
class: "span-6",
|
|
85131
|
-
onChange: (form) => form.get(
|
|
85243
|
+
onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85132
85244
|
},
|
|
85133
85245
|
{
|
|
85134
85246
|
type: FormType.Input,
|
|
85135
85247
|
label: "Notification Email",
|
|
85136
|
-
formControlName:
|
|
85248
|
+
formControlName: Controls3.NotificationEmail,
|
|
85137
85249
|
required: true,
|
|
85138
85250
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85139
85251
|
class: "column-3"
|
|
85140
85252
|
},
|
|
85141
85253
|
{
|
|
85142
85254
|
type: FormType.Text,
|
|
85143
|
-
formControlName:
|
|
85255
|
+
formControlName: Controls3.NotificationMailingAddress,
|
|
85144
85256
|
class: "span-12",
|
|
85145
85257
|
isVisible: isNotifyByMail,
|
|
85146
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85258
|
+
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls3.NotificationMailingAddress)?.value || t("Not specified")})`
|
|
85147
85259
|
}
|
|
85148
85260
|
];
|
|
85149
85261
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85156,7 +85268,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85156
85268
|
{
|
|
85157
85269
|
type: FormType.Select,
|
|
85158
85270
|
label: "Annual Report Reminder",
|
|
85159
|
-
formControlName:
|
|
85271
|
+
formControlName: Controls3.AnnualReportReminder,
|
|
85160
85272
|
required: true,
|
|
85161
85273
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85162
85274
|
needTranslate: true,
|
|
@@ -85188,7 +85300,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85188
85300
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85189
85301
|
if (rf & 1) {
|
|
85190
85302
|
const _r2 = \u0275\u0275getCurrentView();
|
|
85191
|
-
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group",
|
|
85303
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 11);
|
|
85192
85304
|
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85193
85305
|
\u0275\u0275restoreView(_r2);
|
|
85194
85306
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85206,7 +85318,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85206
85318
|
}
|
|
85207
85319
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85208
85320
|
if (rf & 1) {
|
|
85209
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div",
|
|
85321
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 12)(2, "p")(3, "strong");
|
|
85210
85322
|
\u0275\u0275text(4);
|
|
85211
85323
|
\u0275\u0275pipe(5, "translate");
|
|
85212
85324
|
\u0275\u0275elementEnd();
|
|
@@ -85249,13 +85361,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85249
85361
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85250
85362
|
if (rf & 1) {
|
|
85251
85363
|
const _r7 = \u0275\u0275getCurrentView();
|
|
85252
|
-
\u0275\u0275elementStart(0, "div",
|
|
85364
|
+
\u0275\u0275elementStart(0, "div", 16)(1, "div", 17)(2, "label");
|
|
85253
85365
|
\u0275\u0275text(3);
|
|
85254
85366
|
\u0275\u0275pipe(4, "translate");
|
|
85255
85367
|
\u0275\u0275elementStart(5, "span");
|
|
85256
85368
|
\u0275\u0275text(6, "*");
|
|
85257
85369
|
\u0275\u0275elementEnd()();
|
|
85258
|
-
\u0275\u0275elementStart(7, "mat-form-field",
|
|
85370
|
+
\u0275\u0275elementStart(7, "mat-form-field", 18)(8, "input", 19);
|
|
85259
85371
|
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
|
|
85260
85372
|
\u0275\u0275restoreView(_r7);
|
|
85261
85373
|
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
@@ -85267,21 +85379,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85267
85379
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85268
85380
|
});
|
|
85269
85381
|
\u0275\u0275elementEnd();
|
|
85270
|
-
\u0275\u0275elementStart(9, "button",
|
|
85382
|
+
\u0275\u0275elementStart(9, "button", 20);
|
|
85271
85383
|
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
|
|
85272
85384
|
\u0275\u0275restoreView(_r7);
|
|
85273
85385
|
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85274
85386
|
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85275
85387
|
});
|
|
85276
|
-
\u0275\u0275element(10, "span",
|
|
85388
|
+
\u0275\u0275element(10, "span", 21);
|
|
85277
85389
|
\u0275\u0275elementEnd();
|
|
85278
85390
|
\u0275\u0275element(11, "mat-datepicker", null, 0);
|
|
85279
85391
|
\u0275\u0275elementEnd();
|
|
85280
|
-
\u0275\u0275elementStart(13, "p",
|
|
85392
|
+
\u0275\u0275elementStart(13, "p", 22);
|
|
85281
85393
|
\u0275\u0275text(14);
|
|
85282
85394
|
\u0275\u0275pipe(15, "translate");
|
|
85283
85395
|
\u0275\u0275elementEnd()();
|
|
85284
|
-
\u0275\u0275elementStart(16, "p",
|
|
85396
|
+
\u0275\u0275elementStart(16, "p", 23)(17, "strong");
|
|
85285
85397
|
\u0275\u0275text(18);
|
|
85286
85398
|
\u0275\u0275pipe(19, "translate");
|
|
85287
85399
|
\u0275\u0275elementEnd();
|
|
@@ -85308,14 +85420,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85308
85420
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85309
85421
|
if (rf & 1) {
|
|
85310
85422
|
const _r5 = \u0275\u0275getCurrentView();
|
|
85311
|
-
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div",
|
|
85423
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 13)(2, "div", 14)(3, "strong");
|
|
85312
85424
|
\u0275\u0275text(4);
|
|
85313
85425
|
\u0275\u0275pipe(5, "translate");
|
|
85314
85426
|
\u0275\u0275elementEnd();
|
|
85315
85427
|
\u0275\u0275text(6);
|
|
85316
85428
|
\u0275\u0275pipe(7, "translate");
|
|
85317
85429
|
\u0275\u0275elementEnd();
|
|
85318
|
-
\u0275\u0275elementStart(8, "mat-checkbox",
|
|
85430
|
+
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85319
85431
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85320
85432
|
let tmp_7_0;
|
|
85321
85433
|
let tmp_8_0;
|
|
@@ -85329,7 +85441,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85329
85441
|
\u0275\u0275text(9);
|
|
85330
85442
|
\u0275\u0275pipe(10, "translate");
|
|
85331
85443
|
\u0275\u0275elementEnd();
|
|
85332
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div",
|
|
85444
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 16);
|
|
85333
85445
|
\u0275\u0275elementEnd()();
|
|
85334
85446
|
}
|
|
85335
85447
|
if (rf & 2) {
|
|
@@ -85351,9 +85463,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85351
85463
|
\u0275\u0275conditional(((tmp_14_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_14_0.value) ? 11 : -1);
|
|
85352
85464
|
}
|
|
85353
85465
|
}
|
|
85354
|
-
function
|
|
85466
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85355
85467
|
if (rf & 1) {
|
|
85356
|
-
\u0275\u0275elementStart(0, "span",
|
|
85468
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85357
85469
|
\u0275\u0275text(1);
|
|
85358
85470
|
\u0275\u0275pipe(2, "translate");
|
|
85359
85471
|
\u0275\u0275elementEnd();
|
|
@@ -85363,9 +85475,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85363
85475
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "NEW"));
|
|
85364
85476
|
}
|
|
85365
85477
|
}
|
|
85366
|
-
function
|
|
85478
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85367
85479
|
if (rf & 1) {
|
|
85368
|
-
\u0275\u0275elementStart(0, "span",
|
|
85480
|
+
\u0275\u0275elementStart(0, "span", 29);
|
|
85369
85481
|
\u0275\u0275text(1);
|
|
85370
85482
|
\u0275\u0275pipe(2, "translate");
|
|
85371
85483
|
\u0275\u0275elementEnd();
|
|
@@ -85375,17 +85487,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85375
85487
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "CEASE"));
|
|
85376
85488
|
}
|
|
85377
85489
|
}
|
|
85378
|
-
function
|
|
85490
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template(rf, ctx) {
|
|
85379
85491
|
if (rf & 1) {
|
|
85380
|
-
\u0275\u0275elementStart(0, "div",
|
|
85492
|
+
\u0275\u0275elementStart(0, "div", 26)(1, "div", 27)(2, "strong");
|
|
85381
85493
|
\u0275\u0275text(3);
|
|
85382
85494
|
\u0275\u0275elementEnd();
|
|
85383
|
-
\u0275\u0275template(4,
|
|
85495
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 28)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 29);
|
|
85384
85496
|
\u0275\u0275elementEnd();
|
|
85385
|
-
\u0275\u0275elementStart(6, "div",
|
|
85497
|
+
\u0275\u0275elementStart(6, "div", 27);
|
|
85386
85498
|
\u0275\u0275text(7);
|
|
85387
85499
|
\u0275\u0275elementEnd();
|
|
85388
|
-
\u0275\u0275elementStart(8, "div",
|
|
85500
|
+
\u0275\u0275elementStart(8, "div", 27);
|
|
85389
85501
|
\u0275\u0275text(9);
|
|
85390
85502
|
\u0275\u0275elementEnd()();
|
|
85391
85503
|
}
|
|
@@ -85408,33 +85520,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85408
85520
|
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85409
85521
|
}
|
|
85410
85522
|
}
|
|
85411
|
-
function
|
|
85523
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template(rf, ctx) {
|
|
85412
85524
|
if (rf & 1) {
|
|
85413
85525
|
\u0275\u0275declareLet(0);
|
|
85414
|
-
\u0275\u0275template(1,
|
|
85526
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template, 10, 5, "div", 26);
|
|
85415
85527
|
}
|
|
85416
85528
|
if (rf & 2) {
|
|
85417
|
-
const \u0275$
|
|
85418
|
-
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$
|
|
85529
|
+
const \u0275$index_117_r10 = ctx.$index;
|
|
85530
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_117_r10));
|
|
85419
85531
|
\u0275\u0275advance();
|
|
85420
85532
|
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85421
85533
|
}
|
|
85422
85534
|
}
|
|
85423
|
-
function
|
|
85535
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85424
85536
|
if (rf & 1) {
|
|
85425
|
-
\u0275\u0275elementStart(0, "div",
|
|
85537
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 24)(2, "div", 25);
|
|
85426
85538
|
\u0275\u0275text(3);
|
|
85427
85539
|
\u0275\u0275pipe(4, "translate");
|
|
85428
85540
|
\u0275\u0275elementEnd();
|
|
85429
|
-
\u0275\u0275elementStart(5, "div",
|
|
85541
|
+
\u0275\u0275elementStart(5, "div", 25);
|
|
85430
85542
|
\u0275\u0275text(6);
|
|
85431
85543
|
\u0275\u0275pipe(7, "translate");
|
|
85432
85544
|
\u0275\u0275elementEnd();
|
|
85433
|
-
\u0275\u0275elementStart(8, "div",
|
|
85545
|
+
\u0275\u0275elementStart(8, "div", 25);
|
|
85434
85546
|
\u0275\u0275text(9);
|
|
85435
85547
|
\u0275\u0275pipe(10, "translate");
|
|
85436
85548
|
\u0275\u0275elementEnd()();
|
|
85437
|
-
\u0275\u0275repeaterCreate(11,
|
|
85549
|
+
\u0275\u0275repeaterCreate(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template, 2, 2, null, null, \u0275\u0275repeaterTrackByIdentity);
|
|
85438
85550
|
\u0275\u0275elementEnd();
|
|
85439
85551
|
}
|
|
85440
85552
|
if (rf & 2) {
|
|
@@ -85450,9 +85562,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85450
85562
|
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85451
85563
|
}
|
|
85452
85564
|
}
|
|
85453
|
-
function
|
|
85565
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template(rf, ctx) {
|
|
85454
85566
|
if (rf & 1) {
|
|
85455
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85567
|
+
\u0275\u0275elementStart(0, "h2", 10);
|
|
85456
85568
|
\u0275\u0275text(1);
|
|
85457
85569
|
\u0275\u0275pipe(2, "translate");
|
|
85458
85570
|
\u0275\u0275elementEnd();
|
|
@@ -85462,32 +85574,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85462
85574
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "Unchanged"));
|
|
85463
85575
|
}
|
|
85464
85576
|
}
|
|
85465
|
-
function
|
|
85577
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template(rf, ctx) {
|
|
85466
85578
|
if (rf & 1) {
|
|
85467
85579
|
const _r13 = \u0275\u0275getCurrentView();
|
|
85468
|
-
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div",
|
|
85580
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 30)(2, "p");
|
|
85469
85581
|
\u0275\u0275text(3);
|
|
85470
85582
|
\u0275\u0275pipe(4, "translate");
|
|
85471
85583
|
\u0275\u0275elementEnd();
|
|
85472
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85473
|
-
\u0275\u0275listener("change", function
|
|
85584
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 31);
|
|
85585
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template_mat_radio_group_change_5_listener() {
|
|
85474
85586
|
\u0275\u0275restoreView(_r13);
|
|
85475
85587
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85476
|
-
const annualReportReminder_r14 = \u0275\u0275readContextLet(
|
|
85588
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(15);
|
|
85477
85589
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
|
|
85478
85590
|
});
|
|
85479
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85591
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 32);
|
|
85480
85592
|
\u0275\u0275text(7);
|
|
85481
85593
|
\u0275\u0275pipe(8, "translate");
|
|
85482
85594
|
\u0275\u0275elementEnd();
|
|
85483
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85595
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 32);
|
|
85484
85596
|
\u0275\u0275text(10);
|
|
85485
85597
|
\u0275\u0275pipe(11, "translate");
|
|
85486
85598
|
\u0275\u0275elementEnd()()()();
|
|
85487
85599
|
}
|
|
85488
85600
|
if (rf & 2) {
|
|
85489
85601
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85490
|
-
const annualReportReminder_r14 = \u0275\u0275readContextLet(
|
|
85602
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(15);
|
|
85491
85603
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85492
85604
|
\u0275\u0275advance();
|
|
85493
85605
|
\u0275\u0275property("formGroup", annualReportReminder_r14);
|
|
@@ -85542,6 +85654,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85542
85654
|
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85543
85655
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85544
85656
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85657
|
+
directorsIntroFields = computed(() => {
|
|
85658
|
+
const date = this.form().get(this.groups.Notification)?.get(this.controls.RegisterAsOfDate)?.value ?? "";
|
|
85659
|
+
return generateBCChangeOfDirectorsIntroFields(date);
|
|
85660
|
+
});
|
|
85545
85661
|
initiallyOpenCardsCount = 3;
|
|
85546
85662
|
sectionValidity = {};
|
|
85547
85663
|
isVisiblyValid() {
|
|
@@ -85576,7 +85692,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85576
85692
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85577
85693
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85578
85694
|
};
|
|
85579
|
-
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:
|
|
85695
|
+
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: 17, vars: 17, consts: [["changeDatePicker", ""], [1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "isSubmitted", "form", "config"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], ["appearance", "outline"], ["matInput", "", "placeholder", "dd/mm/yyyy", "readonly", "", 3, "click", "dateChange", "matDatepicker", "formControlName"], ["type", "button", "aria-label", "Open date picker", 1, "calendar-trigger", 3, "click"], ["aria-hidden", "true", 1, "calendar-icon"], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85580
85696
|
if (rf & 1) {
|
|
85581
85697
|
\u0275\u0275elementStart(0, "div", 1);
|
|
85582
85698
|
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
@@ -85589,10 +85705,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85589
85705
|
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85590
85706
|
\u0275\u0275declareLet(10);
|
|
85591
85707
|
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85592
|
-
\u0275\
|
|
85708
|
+
\u0275\u0275element(12, "filing-form-group", 8);
|
|
85709
|
+
\u0275\u0275template(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 13, 9, "div", 9)(14, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template, 3, 3, "h2", 10);
|
|
85593
85710
|
\u0275\u0275elementEnd();
|
|
85594
|
-
\u0275\u0275declareLet(
|
|
85595
|
-
\u0275\u0275template(
|
|
85711
|
+
\u0275\u0275declareLet(15);
|
|
85712
|
+
\u0275\u0275template(16, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template, 12, 16, "expandable-card", 7);
|
|
85596
85713
|
\u0275\u0275elementEnd()();
|
|
85597
85714
|
}
|
|
85598
85715
|
if (rf & 2) {
|
|
@@ -85617,11 +85734,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85617
85734
|
\u0275\u0275advance();
|
|
85618
85735
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85619
85736
|
\u0275\u0275advance();
|
|
85620
|
-
\u0275\
|
|
85737
|
+
\u0275\u0275property("isSubmitted", ctx.isSubmitted())("form", ctx.form())("config", ctx.directorsIntroFields());
|
|
85738
|
+
\u0275\u0275advance();
|
|
85739
|
+
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 13 : 14);
|
|
85621
85740
|
\u0275\u0275advance(2);
|
|
85622
85741
|
const annualReportReminder_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85623
85742
|
\u0275\u0275advance();
|
|
85624
|
-
\u0275\u0275conditional(annualReportReminder_r19 ?
|
|
85743
|
+
\u0275\u0275conditional(annualReportReminder_r19 ? 16 : -1);
|
|
85625
85744
|
}
|
|
85626
85745
|
}, dependencies: [
|
|
85627
85746
|
FilingFormGroupComponent,
|
|
@@ -85790,8 +85909,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85790
85909
|
\r
|
|
85791
85910
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85792
85911
|
\r
|
|
85793
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.Directors"
|
|
85794
|
-
|
|
85912
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
|
|
85913
|
+
<filing-form-group\r
|
|
85914
|
+
[isSubmitted]="isSubmitted()"\r
|
|
85915
|
+
[form]="form()"\r
|
|
85916
|
+
[config]="directorsIntroFields()"\r
|
|
85917
|
+
/>\r
|
|
85918
|
+
\r
|
|
85919
|
+
@if (directorsArray && directorsArray.length) {\r
|
|
85795
85920
|
<div class="directors-table" role="table">\r
|
|
85796
85921
|
<div class="directors-table-header" role="row">\r
|
|
85797
85922
|
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
@@ -85858,7 +85983,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85858
85983
|
}], null, null);
|
|
85859
85984
|
})();
|
|
85860
85985
|
(() => {
|
|
85861
|
-
(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:
|
|
85986
|
+
(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 });
|
|
85862
85987
|
})();
|
|
85863
85988
|
}
|
|
85864
85989
|
});
|
|
@@ -86166,15 +86291,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86166
86291
|
dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
|
|
86167
86292
|
},
|
|
86168
86293
|
{
|
|
86169
|
-
|
|
86170
|
-
|
|
86294
|
+
type: FormType.Input,
|
|
86295
|
+
inputType: "email",
|
|
86171
86296
|
label: "Company Email",
|
|
86172
86297
|
formControlName: BCFormationFormControls.CompanyEmail,
|
|
86173
86298
|
required: true,
|
|
86174
|
-
|
|
86299
|
+
maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
|
|
86300
|
+
errorMessage: "Enter a valid email address",
|
|
86301
|
+
showRequiredMessage: true,
|
|
86302
|
+
class: "span-6"
|
|
86303
|
+
},
|
|
86304
|
+
{
|
|
86305
|
+
type: FormType.Input,
|
|
86306
|
+
inputType: "password",
|
|
86307
|
+
label: "Company Password",
|
|
86308
|
+
formControlName: BCFormationFormControls.CompanyPassword,
|
|
86309
|
+
required: true,
|
|
86310
|
+
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
86311
|
+
errorMessage: "Company Password must be 8 to 15 characters",
|
|
86312
|
+
showRequiredMessage: true,
|
|
86175
86313
|
class: "span-6"
|
|
86176
86314
|
}
|
|
86177
|
-
// The company password is not shown: it is taken from the entity's registry ID.
|
|
86178
86315
|
];
|
|
86179
86316
|
BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
|
|
86180
86317
|
{
|
|
@@ -86533,7 +86670,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86533
86670
|
const corporationDetails_r11 = \u0275\u0275readContextLet(6);
|
|
86534
86671
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
|
|
86535
86672
|
\u0275\u0275advance(2);
|
|
86536
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields
|
|
86673
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
|
|
86537
86674
|
\u0275\u0275advance(2);
|
|
86538
86675
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
|
|
86539
86676
|
\u0275\u0275advance(2);
|
|
@@ -86768,12 +86905,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86768
86905
|
groups = BCFormationFormGroups;
|
|
86769
86906
|
controls = BCFormationFormControls;
|
|
86770
86907
|
referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
86771
|
-
|
|
86772
|
-
corporationDetailsFields = computed(() => {
|
|
86773
|
-
const currentEmail = this.form().get(this.groups.CorporationDetails)?.get(this.controls.CompanyEmail)?.value;
|
|
86774
|
-
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
86775
|
-
return BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
86776
|
-
});
|
|
86908
|
+
corporationDetailsFields = BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
86777
86909
|
nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
|
|
86778
86910
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
86779
86911
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
@@ -86963,7 +87095,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86963
87095
|
<filing-form-group\r
|
|
86964
87096
|
[isSubmitted]="isSubmitted()"\r
|
|
86965
87097
|
[form]="corporationDetails"\r
|
|
86966
|
-
[config]="corporationDetailsFields
|
|
87098
|
+
[config]="corporationDetailsFields"\r
|
|
86967
87099
|
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
86968
87100
|
/>\r
|
|
86969
87101
|
\r
|
|
@@ -87384,11 +87516,895 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87384
87516
|
}
|
|
87385
87517
|
});
|
|
87386
87518
|
|
|
87519
|
+
// src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
|
|
87520
|
+
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;
|
|
87521
|
+
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87522
|
+
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87523
|
+
init_form_enums();
|
|
87524
|
+
init_british_columbia_form_enums();
|
|
87525
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87526
|
+
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87527
|
+
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87528
|
+
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87529
|
+
type: FormType.Text,
|
|
87530
|
+
formControlName: control,
|
|
87531
|
+
class: className,
|
|
87532
|
+
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87533
|
+
});
|
|
87534
|
+
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87535
|
+
addressGroup = (form, control) => form.get(control);
|
|
87536
|
+
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87537
|
+
{
|
|
87538
|
+
type: FormType.Input,
|
|
87539
|
+
label: "Client/Matter Number",
|
|
87540
|
+
formControlName: Controls4.ClientMatterNumber
|
|
87541
|
+
},
|
|
87542
|
+
{
|
|
87543
|
+
type: FormType.Input,
|
|
87544
|
+
label: "Docket Number",
|
|
87545
|
+
formControlName: Controls4.DocketNumber
|
|
87546
|
+
}
|
|
87547
|
+
];
|
|
87548
|
+
effectiveDateNote = {
|
|
87549
|
+
type: FormType.Text,
|
|
87550
|
+
formControlName: "",
|
|
87551
|
+
class: "span-12 note-box",
|
|
87552
|
+
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.")}`
|
|
87553
|
+
};
|
|
87554
|
+
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
87555
|
+
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87556
|
+
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87557
|
+
readOnlyRow2("Company Email", Controls4.CompanyEmail),
|
|
87558
|
+
effectiveDateNote
|
|
87559
|
+
];
|
|
87560
|
+
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87561
|
+
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87562
|
+
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87563
|
+
];
|
|
87564
|
+
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87565
|
+
{
|
|
87566
|
+
type: FormType.Input,
|
|
87567
|
+
label: "Address Line 1",
|
|
87568
|
+
formControlName: Controls4.AddressLine1,
|
|
87569
|
+
required: true,
|
|
87570
|
+
class: "span-6"
|
|
87571
|
+
},
|
|
87572
|
+
{
|
|
87573
|
+
type: FormType.Input,
|
|
87574
|
+
label: "Address Line 2",
|
|
87575
|
+
formControlName: Controls4.AddressLine2,
|
|
87576
|
+
class: "span-6"
|
|
87577
|
+
},
|
|
87578
|
+
{
|
|
87579
|
+
type: FormType.Input,
|
|
87580
|
+
label: "City",
|
|
87581
|
+
formControlName: Controls4.City,
|
|
87582
|
+
required: true,
|
|
87583
|
+
class: "span-6"
|
|
87584
|
+
},
|
|
87585
|
+
{
|
|
87586
|
+
type: FormType.Input,
|
|
87587
|
+
label: "Postal Code",
|
|
87588
|
+
formControlName: Controls4.PostalCode,
|
|
87589
|
+
required: true,
|
|
87590
|
+
class: "span-6"
|
|
87591
|
+
},
|
|
87592
|
+
{
|
|
87593
|
+
type: FormType.Input,
|
|
87594
|
+
label: "Province",
|
|
87595
|
+
formControlName: Controls4.Province,
|
|
87596
|
+
readonly: true,
|
|
87597
|
+
class: "span-6"
|
|
87598
|
+
},
|
|
87599
|
+
{
|
|
87600
|
+
type: FormType.Input,
|
|
87601
|
+
label: "Country",
|
|
87602
|
+
formControlName: Controls4.Country,
|
|
87603
|
+
readonly: true,
|
|
87604
|
+
class: "span-6"
|
|
87605
|
+
}
|
|
87606
|
+
];
|
|
87607
|
+
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87608
|
+
{
|
|
87609
|
+
type: FormType.Text,
|
|
87610
|
+
formControlName: "",
|
|
87611
|
+
class: "span-12",
|
|
87612
|
+
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.")
|
|
87613
|
+
}
|
|
87614
|
+
];
|
|
87615
|
+
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87616
|
+
{
|
|
87617
|
+
type: FormType.Checkbox,
|
|
87618
|
+
label: "Same as Mailing Address",
|
|
87619
|
+
formControlName: Controls4.DeliverySameAsMailing,
|
|
87620
|
+
class: "span-12",
|
|
87621
|
+
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87622
|
+
}
|
|
87623
|
+
];
|
|
87624
|
+
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87625
|
+
{
|
|
87626
|
+
type: FormType.Checkbox,
|
|
87627
|
+
label: "Same as Registered Office",
|
|
87628
|
+
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87629
|
+
class: "span-12",
|
|
87630
|
+
onChange: (form) => {
|
|
87631
|
+
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87632
|
+
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87633
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87634
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87635
|
+
}
|
|
87636
|
+
}
|
|
87637
|
+
];
|
|
87638
|
+
}
|
|
87639
|
+
});
|
|
87640
|
+
|
|
87641
|
+
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87642
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87643
|
+
if (rf & 1) {
|
|
87644
|
+
\u0275\u0275element(0, "alert", 1);
|
|
87645
|
+
}
|
|
87646
|
+
if (rf & 2) {
|
|
87647
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87648
|
+
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87649
|
+
}
|
|
87650
|
+
}
|
|
87651
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87652
|
+
if (rf & 1) {
|
|
87653
|
+
\u0275\u0275element(0, "alert", 2);
|
|
87654
|
+
}
|
|
87655
|
+
if (rf & 2) {
|
|
87656
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87657
|
+
\u0275\u0275property("content", ctx_r0.errors());
|
|
87658
|
+
}
|
|
87659
|
+
}
|
|
87660
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87661
|
+
if (rf & 1) {
|
|
87662
|
+
const _r2 = \u0275\u0275getCurrentView();
|
|
87663
|
+
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87664
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87665
|
+
\u0275\u0275restoreView(_r2);
|
|
87666
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87667
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
87668
|
+
});
|
|
87669
|
+
\u0275\u0275elementEnd()();
|
|
87670
|
+
}
|
|
87671
|
+
if (rf & 2) {
|
|
87672
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87673
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
87674
|
+
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87675
|
+
\u0275\u0275advance();
|
|
87676
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87677
|
+
}
|
|
87678
|
+
}
|
|
87679
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
|
|
87680
|
+
if (rf & 1) {
|
|
87681
|
+
\u0275\u0275elementStart(0, "expandable-card", 5);
|
|
87682
|
+
\u0275\u0275element(1, "filing-form-group", 8);
|
|
87683
|
+
\u0275\u0275elementEnd();
|
|
87684
|
+
}
|
|
87685
|
+
if (rf & 2) {
|
|
87686
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87687
|
+
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
87688
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
87689
|
+
\u0275\u0275advance();
|
|
87690
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r4)("config", ctx_r0.corporationDetailsFields);
|
|
87691
|
+
}
|
|
87692
|
+
}
|
|
87693
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87694
|
+
if (rf & 1) {
|
|
87695
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87696
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87697
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87698
|
+
\u0275\u0275restoreView(_r6);
|
|
87699
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87700
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87701
|
+
});
|
|
87702
|
+
\u0275\u0275elementEnd();
|
|
87703
|
+
}
|
|
87704
|
+
if (rf & 2) {
|
|
87705
|
+
\u0275\u0275nextContext();
|
|
87706
|
+
const registeredMailing_r7 = \u0275\u0275readContextLet(0);
|
|
87707
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87708
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r7)("config", ctx_r0.addressFields);
|
|
87709
|
+
}
|
|
87710
|
+
}
|
|
87711
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87712
|
+
if (rf & 1) {
|
|
87713
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
87714
|
+
\u0275\u0275element(0, "filing-form-group", 8);
|
|
87715
|
+
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87716
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87717
|
+
\u0275\u0275restoreView(_r8);
|
|
87718
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87719
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87720
|
+
});
|
|
87721
|
+
\u0275\u0275elementEnd();
|
|
87722
|
+
}
|
|
87723
|
+
if (rf & 2) {
|
|
87724
|
+
\u0275\u0275nextContext();
|
|
87725
|
+
const registeredDelivery_r9 = \u0275\u0275readContextLet(1);
|
|
87726
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87727
|
+
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87728
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliveryNoteFields);
|
|
87729
|
+
\u0275\u0275advance();
|
|
87730
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r9)("config", ctx_r0.addressFields);
|
|
87731
|
+
}
|
|
87732
|
+
}
|
|
87733
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87734
|
+
if (rf & 1) {
|
|
87735
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
87736
|
+
\u0275\u0275declareLet(0)(1)(2);
|
|
87737
|
+
\u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 9);
|
|
87738
|
+
\u0275\u0275element(5, "filing-form-group", 8);
|
|
87739
|
+
\u0275\u0275elementStart(6, "h4", 10);
|
|
87740
|
+
\u0275\u0275text(7);
|
|
87741
|
+
\u0275\u0275pipe(8, "translate");
|
|
87742
|
+
\u0275\u0275elementEnd();
|
|
87743
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 8);
|
|
87744
|
+
\u0275\u0275elementStart(10, "h4", 10);
|
|
87745
|
+
\u0275\u0275text(11);
|
|
87746
|
+
\u0275\u0275pipe(12, "translate");
|
|
87747
|
+
\u0275\u0275elementEnd();
|
|
87748
|
+
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87749
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87750
|
+
\u0275\u0275restoreView(_r5);
|
|
87751
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87752
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87753
|
+
});
|
|
87754
|
+
\u0275\u0275elementEnd();
|
|
87755
|
+
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87756
|
+
\u0275\u0275elementEnd()();
|
|
87757
|
+
}
|
|
87758
|
+
if (rf & 2) {
|
|
87759
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87760
|
+
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87761
|
+
const registeredMailing_r11 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewMailingAddress));
|
|
87762
|
+
\u0275\u0275advance();
|
|
87763
|
+
const registeredDelivery_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewDeliveryAddress));
|
|
87764
|
+
const registeredDeliverySame_r13 = ctx_r0.isChecked(registeredOffice_r10, ctx_r0.controls.DeliverySameAsMailing);
|
|
87765
|
+
\u0275\u0275advance(2);
|
|
87766
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87767
|
+
\u0275\u0275advance(2);
|
|
87768
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.currentAddressesFields);
|
|
87769
|
+
\u0275\u0275advance(2);
|
|
87770
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87771
|
+
\u0275\u0275advance(2);
|
|
87772
|
+
\u0275\u0275conditional(registeredMailing_r11 ? 9 : -1);
|
|
87773
|
+
\u0275\u0275advance(2);
|
|
87774
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87775
|
+
\u0275\u0275advance(2);
|
|
87776
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87777
|
+
\u0275\u0275advance();
|
|
87778
|
+
\u0275\u0275conditional(!registeredDeliverySame_r13 && registeredDelivery_r12 ? 14 : -1);
|
|
87779
|
+
}
|
|
87780
|
+
}
|
|
87781
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87782
|
+
if (rf & 1) {
|
|
87783
|
+
const _r16 = \u0275\u0275getCurrentView();
|
|
87784
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87785
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87786
|
+
\u0275\u0275restoreView(_r16);
|
|
87787
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87788
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87789
|
+
});
|
|
87790
|
+
\u0275\u0275elementEnd();
|
|
87791
|
+
}
|
|
87792
|
+
if (rf & 2) {
|
|
87793
|
+
\u0275\u0275nextContext(2);
|
|
87794
|
+
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87795
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87796
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r17)("config", ctx_r0.addressFields);
|
|
87797
|
+
}
|
|
87798
|
+
}
|
|
87799
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87800
|
+
if (rf & 1) {
|
|
87801
|
+
const _r18 = \u0275\u0275getCurrentView();
|
|
87802
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87803
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87804
|
+
\u0275\u0275restoreView(_r18);
|
|
87805
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87806
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87807
|
+
});
|
|
87808
|
+
\u0275\u0275elementEnd();
|
|
87809
|
+
}
|
|
87810
|
+
if (rf & 2) {
|
|
87811
|
+
\u0275\u0275nextContext(2);
|
|
87812
|
+
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87813
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87814
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r19)("config", ctx_r0.addressFields);
|
|
87815
|
+
}
|
|
87816
|
+
}
|
|
87817
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
|
|
87818
|
+
if (rf & 1) {
|
|
87819
|
+
const _r15 = \u0275\u0275getCurrentView();
|
|
87820
|
+
\u0275\u0275elementStart(0, "h4", 10);
|
|
87821
|
+
\u0275\u0275text(1);
|
|
87822
|
+
\u0275\u0275pipe(2, "translate");
|
|
87823
|
+
\u0275\u0275elementEnd();
|
|
87824
|
+
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 8);
|
|
87825
|
+
\u0275\u0275elementStart(4, "h4", 10);
|
|
87826
|
+
\u0275\u0275text(5);
|
|
87827
|
+
\u0275\u0275pipe(6, "translate");
|
|
87828
|
+
\u0275\u0275elementEnd();
|
|
87829
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87830
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87831
|
+
\u0275\u0275restoreView(_r15);
|
|
87832
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87833
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87834
|
+
});
|
|
87835
|
+
\u0275\u0275elementEnd();
|
|
87836
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 8);
|
|
87837
|
+
}
|
|
87838
|
+
if (rf & 2) {
|
|
87839
|
+
\u0275\u0275nextContext();
|
|
87840
|
+
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87841
|
+
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87842
|
+
const recordsDeliverySame_r20 = \u0275\u0275readContextLet(3);
|
|
87843
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87844
|
+
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87845
|
+
\u0275\u0275advance();
|
|
87846
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87847
|
+
\u0275\u0275advance(2);
|
|
87848
|
+
\u0275\u0275conditional(recordsMailing_r17 ? 3 : -1);
|
|
87849
|
+
\u0275\u0275advance(2);
|
|
87850
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
87851
|
+
\u0275\u0275advance(2);
|
|
87852
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87853
|
+
\u0275\u0275advance();
|
|
87854
|
+
\u0275\u0275conditional(!recordsDeliverySame_r20 && recordsDelivery_r19 ? 8 : -1);
|
|
87855
|
+
}
|
|
87856
|
+
}
|
|
87857
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
87858
|
+
if (rf & 1) {
|
|
87859
|
+
const _r14 = \u0275\u0275getCurrentView();
|
|
87860
|
+
\u0275\u0275declareLet(0)(1)(2)(3);
|
|
87861
|
+
\u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 9);
|
|
87862
|
+
\u0275\u0275element(6, "filing-form-group", 8);
|
|
87863
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87864
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87865
|
+
\u0275\u0275restoreView(_r14);
|
|
87866
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87867
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87868
|
+
});
|
|
87869
|
+
\u0275\u0275elementEnd();
|
|
87870
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87871
|
+
\u0275\u0275elementEnd()();
|
|
87872
|
+
}
|
|
87873
|
+
if (rf & 2) {
|
|
87874
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87875
|
+
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87876
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewMailingAddress));
|
|
87877
|
+
\u0275\u0275advance();
|
|
87878
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewDeliveryAddress));
|
|
87879
|
+
const recordsSameAsRegistered_r22 = ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.SameAsRegisteredOffice);
|
|
87880
|
+
\u0275\u0275advance(2);
|
|
87881
|
+
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.DeliverySameAsMailing));
|
|
87882
|
+
\u0275\u0275advance();
|
|
87883
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
87884
|
+
\u0275\u0275advance(2);
|
|
87885
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.currentAddressesFields);
|
|
87886
|
+
\u0275\u0275advance();
|
|
87887
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
87888
|
+
\u0275\u0275advance();
|
|
87889
|
+
\u0275\u0275conditional(!recordsSameAsRegistered_r22 ? 8 : -1);
|
|
87890
|
+
}
|
|
87891
|
+
}
|
|
87892
|
+
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
87893
|
+
var init_change_of_office_addresses_form_component = __esm({
|
|
87894
|
+
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
87895
|
+
init_core();
|
|
87896
|
+
init_ngx_translate_core();
|
|
87897
|
+
init_filing_form_group_component();
|
|
87898
|
+
init_alert_component();
|
|
87899
|
+
init_alert_enum();
|
|
87900
|
+
init_expandable_card_component();
|
|
87901
|
+
init_british_columbia_form_enums();
|
|
87902
|
+
init_british_columbia_change_of_office_addresses_form_constants();
|
|
87903
|
+
init_forms_utils();
|
|
87904
|
+
init_core();
|
|
87905
|
+
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
87906
|
+
form = input.required();
|
|
87907
|
+
task = input();
|
|
87908
|
+
errors = input([]);
|
|
87909
|
+
isNote = input(false);
|
|
87910
|
+
isSubmitted = input(false);
|
|
87911
|
+
readonly = input(false);
|
|
87912
|
+
visiblyValidChange = output();
|
|
87913
|
+
alertType = AlertType;
|
|
87914
|
+
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
87915
|
+
controls = BCChangeOfOfficeAddressesFormControls;
|
|
87916
|
+
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
87917
|
+
corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
87918
|
+
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
87919
|
+
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
87920
|
+
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
87921
|
+
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
87922
|
+
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
87923
|
+
sectionValidity = {};
|
|
87924
|
+
isVisiblyValid() {
|
|
87925
|
+
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
87926
|
+
}
|
|
87927
|
+
isRegisteredOfficeValid() {
|
|
87928
|
+
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
87929
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87930
|
+
}
|
|
87931
|
+
isRecordsOfficeValid() {
|
|
87932
|
+
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
87933
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87934
|
+
}
|
|
87935
|
+
isChecked(office, control) {
|
|
87936
|
+
return Boolean(office?.get(control)?.value);
|
|
87937
|
+
}
|
|
87938
|
+
onSectionValidChange(section, valid) {
|
|
87939
|
+
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
87940
|
+
this.emitValidity();
|
|
87941
|
+
}
|
|
87942
|
+
emitValidity() {
|
|
87943
|
+
queueMicrotask(() => this.visiblyValidChange.emit(this.isVisiblyValid()));
|
|
87944
|
+
}
|
|
87945
|
+
getFormGroup(key) {
|
|
87946
|
+
return this.form().get(key) ?? null;
|
|
87947
|
+
}
|
|
87948
|
+
getAddressGroup(office, control) {
|
|
87949
|
+
return office?.get(control) ?? null;
|
|
87950
|
+
}
|
|
87951
|
+
isAddressValid(office, control) {
|
|
87952
|
+
const group2 = this.getAddressGroup(office, control);
|
|
87953
|
+
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
87954
|
+
}
|
|
87955
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
87956
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
87957
|
+
};
|
|
87958
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 12, vars: 10, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
87959
|
+
if (rf & 1) {
|
|
87960
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
87961
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
87962
|
+
\u0275\u0275elementStart(3, "div", 3);
|
|
87963
|
+
\u0275\u0275declareLet(4);
|
|
87964
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
87965
|
+
\u0275\u0275declareLet(6);
|
|
87966
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
|
|
87967
|
+
\u0275\u0275declareLet(8);
|
|
87968
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
|
|
87969
|
+
\u0275\u0275declareLet(10);
|
|
87970
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
|
|
87971
|
+
\u0275\u0275elementEnd()();
|
|
87972
|
+
}
|
|
87973
|
+
if (rf & 2) {
|
|
87974
|
+
\u0275\u0275advance();
|
|
87975
|
+
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
87976
|
+
\u0275\u0275advance();
|
|
87977
|
+
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
87978
|
+
\u0275\u0275advance(2);
|
|
87979
|
+
const referenceNumbers_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
87980
|
+
\u0275\u0275advance();
|
|
87981
|
+
\u0275\u0275conditional(referenceNumbers_r23 ? 5 : -1);
|
|
87982
|
+
\u0275\u0275advance();
|
|
87983
|
+
const corporationDetails_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
87984
|
+
\u0275\u0275advance();
|
|
87985
|
+
\u0275\u0275conditional(corporationDetails_r24 ? 7 : -1);
|
|
87986
|
+
\u0275\u0275advance();
|
|
87987
|
+
const registeredOffice_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
87988
|
+
\u0275\u0275advance();
|
|
87989
|
+
\u0275\u0275conditional(registeredOffice_r25 ? 9 : -1);
|
|
87990
|
+
\u0275\u0275advance();
|
|
87991
|
+
const recordsOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
87992
|
+
\u0275\u0275advance();
|
|
87993
|
+
\u0275\u0275conditional(recordsOffice_r26 ? 11 : -1);
|
|
87994
|
+
}
|
|
87995
|
+
}, dependencies: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
|
|
87996
|
+
};
|
|
87997
|
+
(() => {
|
|
87998
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
87999
|
+
type: Component,
|
|
88000
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], template: `<div class="change-of-office-addresses-form">\r
|
|
88001
|
+
@if (isNote()) {\r
|
|
88002
|
+
<alert\r
|
|
88003
|
+
[type]="alertType.Info"\r
|
|
88004
|
+
title="Entity changed"\r
|
|
88005
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
88006
|
+
/>\r
|
|
88007
|
+
}\r
|
|
88008
|
+
\r
|
|
88009
|
+
@if (errors().length) {\r
|
|
88010
|
+
<alert\r
|
|
88011
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
88012
|
+
[content]="errors()"\r
|
|
88013
|
+
/>\r
|
|
88014
|
+
}\r
|
|
88015
|
+
\r
|
|
88016
|
+
<div class="change-of-office-addresses-form-content">\r
|
|
88017
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88018
|
+
\r
|
|
88019
|
+
@if (referenceNumbers) {\r
|
|
88020
|
+
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88021
|
+
<filing-form-group\r
|
|
88022
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88023
|
+
[form]="referenceNumbers"\r
|
|
88024
|
+
[config]="referenceNumbersFields"\r
|
|
88025
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88026
|
+
/>\r
|
|
88027
|
+
</expandable-card>\r
|
|
88028
|
+
}\r
|
|
88029
|
+
\r
|
|
88030
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88031
|
+
\r
|
|
88032
|
+
@if (corporationDetails) {\r
|
|
88033
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
|
|
88034
|
+
<filing-form-group\r
|
|
88035
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88036
|
+
[form]="corporationDetails"\r
|
|
88037
|
+
[config]="corporationDetailsFields"\r
|
|
88038
|
+
/>\r
|
|
88039
|
+
</expandable-card>\r
|
|
88040
|
+
}\r
|
|
88041
|
+
\r
|
|
88042
|
+
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88043
|
+
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88044
|
+
\r
|
|
88045
|
+
@if (registeredOffice) {\r
|
|
88046
|
+
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88047
|
+
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88048
|
+
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88049
|
+
\r
|
|
88050
|
+
<expandable-card\r
|
|
88051
|
+
[isStatusIcon]="!readonly()"\r
|
|
88052
|
+
[isValid]="isRegisteredOfficeValid()"\r
|
|
88053
|
+
[title]="groups.RegisteredOfficeAddress"\r
|
|
88054
|
+
>\r
|
|
88055
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88056
|
+
<filing-form-group\r
|
|
88057
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88058
|
+
[form]="registeredOffice"\r
|
|
88059
|
+
[config]="currentAddressesFields"\r
|
|
88060
|
+
/>\r
|
|
88061
|
+
\r
|
|
88062
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88063
|
+
\r
|
|
88064
|
+
@if (registeredMailing) {\r
|
|
88065
|
+
<filing-form-group\r
|
|
88066
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88067
|
+
[form]="registeredMailing"\r
|
|
88068
|
+
[config]="addressFields"\r
|
|
88069
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88070
|
+
/>\r
|
|
88071
|
+
}\r
|
|
88072
|
+
\r
|
|
88073
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88074
|
+
\r
|
|
88075
|
+
<filing-form-group\r
|
|
88076
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88077
|
+
[form]="registeredOffice"\r
|
|
88078
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88079
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88080
|
+
/>\r
|
|
88081
|
+
\r
|
|
88082
|
+
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88083
|
+
<filing-form-group\r
|
|
88084
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88085
|
+
[form]="registeredOffice"\r
|
|
88086
|
+
[config]="deliveryNoteFields"\r
|
|
88087
|
+
/>\r
|
|
88088
|
+
<filing-form-group\r
|
|
88089
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88090
|
+
[form]="registeredDelivery"\r
|
|
88091
|
+
[config]="addressFields"\r
|
|
88092
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88093
|
+
/>\r
|
|
88094
|
+
}\r
|
|
88095
|
+
</div>\r
|
|
88096
|
+
</expandable-card>\r
|
|
88097
|
+
}\r
|
|
88098
|
+
\r
|
|
88099
|
+
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88100
|
+
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88101
|
+
\r
|
|
88102
|
+
@if (recordsOffice) {\r
|
|
88103
|
+
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88104
|
+
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88105
|
+
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88106
|
+
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88107
|
+
\r
|
|
88108
|
+
<expandable-card\r
|
|
88109
|
+
[isStatusIcon]="!readonly()"\r
|
|
88110
|
+
[isValid]="isRecordsOfficeValid()"\r
|
|
88111
|
+
[title]="groups.RecordsOfficeAddress"\r
|
|
88112
|
+
>\r
|
|
88113
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88114
|
+
<filing-form-group\r
|
|
88115
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88116
|
+
[form]="recordsOffice"\r
|
|
88117
|
+
[config]="currentAddressesFields"\r
|
|
88118
|
+
/>\r
|
|
88119
|
+
\r
|
|
88120
|
+
<filing-form-group\r
|
|
88121
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88122
|
+
[form]="recordsOffice"\r
|
|
88123
|
+
[config]="sameAsRegisteredOfficeFields"\r
|
|
88124
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88125
|
+
/>\r
|
|
88126
|
+
\r
|
|
88127
|
+
@if (!recordsSameAsRegistered) {\r
|
|
88128
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88129
|
+
\r
|
|
88130
|
+
@if (recordsMailing) {\r
|
|
88131
|
+
<filing-form-group\r
|
|
88132
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88133
|
+
[form]="recordsMailing"\r
|
|
88134
|
+
[config]="addressFields"\r
|
|
88135
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88136
|
+
/>\r
|
|
88137
|
+
}\r
|
|
88138
|
+
\r
|
|
88139
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88140
|
+
\r
|
|
88141
|
+
<filing-form-group\r
|
|
88142
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88143
|
+
[form]="recordsOffice"\r
|
|
88144
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88145
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88146
|
+
/>\r
|
|
88147
|
+
\r
|
|
88148
|
+
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88149
|
+
<filing-form-group\r
|
|
88150
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88151
|
+
[form]="recordsDelivery"\r
|
|
88152
|
+
[config]="addressFields"\r
|
|
88153
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88154
|
+
/>\r
|
|
88155
|
+
}\r
|
|
88156
|
+
}\r
|
|
88157
|
+
</div>\r
|
|
88158
|
+
</expandable-card>\r
|
|
88159
|
+
}\r
|
|
88160
|
+
</div>\r
|
|
88161
|
+
</div>\r
|
|
88162
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
|
|
88163
|
+
}], null, null);
|
|
88164
|
+
})();
|
|
88165
|
+
(() => {
|
|
88166
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 43 });
|
|
88167
|
+
})();
|
|
88168
|
+
}
|
|
88169
|
+
});
|
|
88170
|
+
|
|
88171
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88172
|
+
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88173
|
+
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88174
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88175
|
+
init_core();
|
|
88176
|
+
init_button();
|
|
88177
|
+
init_ngx_translate_core();
|
|
88178
|
+
init_common_utils();
|
|
88179
|
+
init_change_of_office_addresses_form_component();
|
|
88180
|
+
init_core();
|
|
88181
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88182
|
+
form = input.required();
|
|
88183
|
+
actionsDisabled = input(false);
|
|
88184
|
+
isNote = input(false);
|
|
88185
|
+
task = input();
|
|
88186
|
+
errors = input([]);
|
|
88187
|
+
close = output();
|
|
88188
|
+
save = output();
|
|
88189
|
+
validate = output();
|
|
88190
|
+
submitted = signal(false);
|
|
88191
|
+
visiblyValid = signal(true);
|
|
88192
|
+
clientErrors = signal([]);
|
|
88193
|
+
translate = inject(TranslateService);
|
|
88194
|
+
combinedErrors = computed(() => {
|
|
88195
|
+
const client = this.clientErrors();
|
|
88196
|
+
return client.length ? client : this.errors();
|
|
88197
|
+
});
|
|
88198
|
+
onVisiblyValidChange(valid) {
|
|
88199
|
+
this.visiblyValid.set(valid);
|
|
88200
|
+
if (this.submitted()) {
|
|
88201
|
+
this.clientErrors.set(valid ? [] : [this.requiredFieldsMessage()]);
|
|
88202
|
+
}
|
|
88203
|
+
}
|
|
88204
|
+
onValidate() {
|
|
88205
|
+
this.submitted.set(true);
|
|
88206
|
+
this.clientErrors.set([]);
|
|
88207
|
+
markFormGroupTouched(this.form());
|
|
88208
|
+
if (!this.visiblyValid()) {
|
|
88209
|
+
this.clientErrors.set([this.requiredFieldsMessage()]);
|
|
88210
|
+
return;
|
|
88211
|
+
}
|
|
88212
|
+
this.validate.emit();
|
|
88213
|
+
}
|
|
88214
|
+
requiredFieldsMessage() {
|
|
88215
|
+
return this.translate.instant("Some required fields aren't completed.");
|
|
88216
|
+
}
|
|
88217
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88218
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88219
|
+
};
|
|
88220
|
+
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) {
|
|
88221
|
+
if (rf & 1) {
|
|
88222
|
+
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88223
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88224
|
+
return ctx.onVisiblyValidChange($event);
|
|
88225
|
+
});
|
|
88226
|
+
\u0275\u0275elementEnd();
|
|
88227
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88228
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88229
|
+
return ctx.close.emit();
|
|
88230
|
+
});
|
|
88231
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88232
|
+
\u0275\u0275text(5);
|
|
88233
|
+
\u0275\u0275pipe(6, "translate");
|
|
88234
|
+
\u0275\u0275elementEnd()();
|
|
88235
|
+
\u0275\u0275elementStart(7, "button", 3);
|
|
88236
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88237
|
+
return ctx.save.emit();
|
|
88238
|
+
});
|
|
88239
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88240
|
+
\u0275\u0275text(9);
|
|
88241
|
+
\u0275\u0275pipe(10, "translate");
|
|
88242
|
+
\u0275\u0275elementEnd()();
|
|
88243
|
+
\u0275\u0275elementStart(11, "button", 5);
|
|
88244
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88245
|
+
return ctx.onValidate();
|
|
88246
|
+
});
|
|
88247
|
+
\u0275\u0275elementStart(12, "span", 4);
|
|
88248
|
+
\u0275\u0275text(13);
|
|
88249
|
+
\u0275\u0275pipe(14, "translate");
|
|
88250
|
+
\u0275\u0275elementEnd()()()();
|
|
88251
|
+
}
|
|
88252
|
+
if (rf & 2) {
|
|
88253
|
+
\u0275\u0275advance();
|
|
88254
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88255
|
+
\u0275\u0275advance(2);
|
|
88256
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88257
|
+
\u0275\u0275advance(2);
|
|
88258
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88259
|
+
\u0275\u0275advance(2);
|
|
88260
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88261
|
+
\u0275\u0275advance(2);
|
|
88262
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88263
|
+
\u0275\u0275advance(2);
|
|
88264
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88265
|
+
\u0275\u0275advance(2);
|
|
88266
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88267
|
+
}
|
|
88268
|
+
}, 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 });
|
|
88269
|
+
};
|
|
88270
|
+
(() => {
|
|
88271
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88272
|
+
type: Component,
|
|
88273
|
+
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
|
|
88274
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88275
|
+
class="change-of-office-addresses-delta-form-content"\r
|
|
88276
|
+
[form]="form()"\r
|
|
88277
|
+
[task]="task()"\r
|
|
88278
|
+
[errors]="combinedErrors()"\r
|
|
88279
|
+
[isNote]="isNote()"\r
|
|
88280
|
+
[isSubmitted]="submitted()"\r
|
|
88281
|
+
[readonly]="false"\r
|
|
88282
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88283
|
+
/>\r
|
|
88284
|
+
\r
|
|
88285
|
+
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88286
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88287
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88288
|
+
</button>\r
|
|
88289
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88290
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88291
|
+
</button>\r
|
|
88292
|
+
<button\r
|
|
88293
|
+
class="submit"\r
|
|
88294
|
+
color="primary"\r
|
|
88295
|
+
mat-flat-button\r
|
|
88296
|
+
[disabled]="actionsDisabled()"\r
|
|
88297
|
+
(click)="onValidate()"\r
|
|
88298
|
+
>\r
|
|
88299
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88300
|
+
</button>\r
|
|
88301
|
+
</div>\r
|
|
88302
|
+
</div>\r
|
|
88303
|
+
`, 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"] }]
|
|
88304
|
+
}], null, null);
|
|
88305
|
+
})();
|
|
88306
|
+
(() => {
|
|
88307
|
+
(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 });
|
|
88308
|
+
})();
|
|
88309
|
+
}
|
|
88310
|
+
});
|
|
88311
|
+
|
|
88312
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88313
|
+
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88314
|
+
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88315
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88316
|
+
init_core();
|
|
88317
|
+
init_button();
|
|
88318
|
+
init_ngx_translate_core();
|
|
88319
|
+
init_change_of_office_addresses_form_component();
|
|
88320
|
+
init_core();
|
|
88321
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88322
|
+
form = input.required();
|
|
88323
|
+
actionsDisabled = input(false);
|
|
88324
|
+
task = input();
|
|
88325
|
+
errors = input([]);
|
|
88326
|
+
close = output();
|
|
88327
|
+
file = output();
|
|
88328
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88329
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88330
|
+
};
|
|
88331
|
+
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) {
|
|
88332
|
+
if (rf & 1) {
|
|
88333
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
88334
|
+
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88335
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88336
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88337
|
+
return ctx.close.emit();
|
|
88338
|
+
});
|
|
88339
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88340
|
+
\u0275\u0275text(5);
|
|
88341
|
+
\u0275\u0275pipe(6, "translate");
|
|
88342
|
+
\u0275\u0275elementEnd()();
|
|
88343
|
+
\u0275\u0275elementStart(7, "button", 5);
|
|
88344
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88345
|
+
return ctx.file.emit();
|
|
88346
|
+
});
|
|
88347
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88348
|
+
\u0275\u0275text(9);
|
|
88349
|
+
\u0275\u0275pipe(10, "translate");
|
|
88350
|
+
\u0275\u0275elementEnd()()()();
|
|
88351
|
+
}
|
|
88352
|
+
if (rf & 2) {
|
|
88353
|
+
\u0275\u0275advance();
|
|
88354
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88355
|
+
\u0275\u0275advance(2);
|
|
88356
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88357
|
+
\u0275\u0275advance(2);
|
|
88358
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88359
|
+
\u0275\u0275advance(2);
|
|
88360
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88361
|
+
\u0275\u0275advance(2);
|
|
88362
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88363
|
+
}
|
|
88364
|
+
}, 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 });
|
|
88365
|
+
};
|
|
88366
|
+
(() => {
|
|
88367
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88368
|
+
type: Component,
|
|
88369
|
+
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
|
|
88370
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88371
|
+
class="change-of-office-addresses-preview-form-content"\r
|
|
88372
|
+
[form]="form()"\r
|
|
88373
|
+
[task]="task()"\r
|
|
88374
|
+
[errors]="errors()"\r
|
|
88375
|
+
[isSubmitted]="false"\r
|
|
88376
|
+
[readonly]="true"\r
|
|
88377
|
+
/>\r
|
|
88378
|
+
\r
|
|
88379
|
+
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88380
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88381
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88382
|
+
</button>\r
|
|
88383
|
+
<button\r
|
|
88384
|
+
class="submit"\r
|
|
88385
|
+
color="primary"\r
|
|
88386
|
+
mat-flat-button\r
|
|
88387
|
+
[disabled]="actionsDisabled()"\r
|
|
88388
|
+
(click)="file.emit()"\r
|
|
88389
|
+
>\r
|
|
88390
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88391
|
+
</button>\r
|
|
88392
|
+
</div>\r
|
|
88393
|
+
</div>\r
|
|
88394
|
+
`, 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"] }]
|
|
88395
|
+
}], null, null);
|
|
88396
|
+
})();
|
|
88397
|
+
(() => {
|
|
88398
|
+
(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 });
|
|
88399
|
+
})();
|
|
88400
|
+
}
|
|
88401
|
+
});
|
|
88402
|
+
|
|
87387
88403
|
// src/app/components/british-columbia/british-columbia.component.ts
|
|
87388
88404
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
87389
88405
|
if (rf & 1) {
|
|
87390
88406
|
const _r1 = \u0275\u0275getCurrentView();
|
|
87391
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form",
|
|
88407
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 3);
|
|
87392
88408
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
87393
88409
|
\u0275\u0275restoreView(_r1);
|
|
87394
88410
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -87413,7 +88429,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87413
88429
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
87414
88430
|
if (rf & 1) {
|
|
87415
88431
|
const _r4 = \u0275\u0275getCurrentView();
|
|
87416
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form",
|
|
88432
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 4);
|
|
87417
88433
|
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
87418
88434
|
\u0275\u0275restoreView(_r4);
|
|
87419
88435
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -87421,7 +88437,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87421
88437
|
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
87422
88438
|
\u0275\u0275restoreView(_r4);
|
|
87423
88439
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87424
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
88440
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
87425
88441
|
});
|
|
87426
88442
|
\u0275\u0275elementEnd();
|
|
87427
88443
|
}
|
|
@@ -87431,31 +88447,57 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87431
88447
|
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
87432
88448
|
}
|
|
87433
88449
|
}
|
|
88450
|
+
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
88451
|
+
if (rf & 1) {
|
|
88452
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
88453
|
+
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
88454
|
+
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
88455
|
+
\u0275\u0275restoreView(_r5);
|
|
88456
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88457
|
+
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
88458
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
88459
|
+
\u0275\u0275restoreView(_r5);
|
|
88460
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88461
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88462
|
+
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
88463
|
+
\u0275\u0275restoreView(_r5);
|
|
88464
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88465
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
88466
|
+
});
|
|
88467
|
+
\u0275\u0275elementEnd();
|
|
88468
|
+
}
|
|
88469
|
+
if (rf & 2) {
|
|
88470
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88471
|
+
\u0275\u0275property("errors", ctx_r1.errors());
|
|
88472
|
+
}
|
|
88473
|
+
}
|
|
87434
88474
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
87435
88475
|
if (rf & 1) {
|
|
87436
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1);
|
|
88476
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1)(2, BritishColumbiaComponent_Conditional_1_Conditional_2_Template, 1, 1, "terms-and-conditions", 2);
|
|
87437
88477
|
}
|
|
87438
88478
|
if (rf & 2) {
|
|
87439
88479
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
87440
88480
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
87441
88481
|
\u0275\u0275advance();
|
|
87442
88482
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88483
|
+
\u0275\u0275advance();
|
|
88484
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
87443
88485
|
}
|
|
87444
88486
|
}
|
|
87445
88487
|
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
87446
88488
|
if (rf & 1) {
|
|
87447
|
-
const
|
|
87448
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form",
|
|
88489
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
88490
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 8);
|
|
87449
88491
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
87450
|
-
\u0275\u0275restoreView(
|
|
88492
|
+
\u0275\u0275restoreView(_r6);
|
|
87451
88493
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87452
88494
|
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
87453
88495
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
87454
|
-
\u0275\u0275restoreView(
|
|
88496
|
+
\u0275\u0275restoreView(_r6);
|
|
87455
88497
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87456
88498
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87457
88499
|
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
87458
|
-
\u0275\u0275restoreView(
|
|
88500
|
+
\u0275\u0275restoreView(_r6);
|
|
87459
88501
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87460
88502
|
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
87461
88503
|
});
|
|
@@ -87469,14 +88511,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87469
88511
|
}
|
|
87470
88512
|
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
87471
88513
|
if (rf & 1) {
|
|
87472
|
-
const
|
|
87473
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form",
|
|
88514
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
88515
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 9);
|
|
87474
88516
|
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
87475
|
-
\u0275\u0275restoreView(
|
|
88517
|
+
\u0275\u0275restoreView(_r7);
|
|
87476
88518
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87477
88519
|
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
87478
88520
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
87479
|
-
\u0275\u0275restoreView(
|
|
88521
|
+
\u0275\u0275restoreView(_r7);
|
|
87480
88522
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87481
88523
|
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87482
88524
|
});
|
|
@@ -87490,7 +88532,64 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87490
88532
|
}
|
|
87491
88533
|
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
87492
88534
|
if (rf & 1) {
|
|
87493
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form",
|
|
88535
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 6)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 7);
|
|
88536
|
+
}
|
|
88537
|
+
if (rf & 2) {
|
|
88538
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
88539
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88540
|
+
\u0275\u0275advance();
|
|
88541
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88542
|
+
}
|
|
88543
|
+
}
|
|
88544
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88545
|
+
if (rf & 1) {
|
|
88546
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
88547
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
|
|
88548
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88549
|
+
\u0275\u0275restoreView(_r8);
|
|
88550
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88551
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88552
|
+
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88553
|
+
\u0275\u0275restoreView(_r8);
|
|
88554
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88555
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88556
|
+
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88557
|
+
\u0275\u0275restoreView(_r8);
|
|
88558
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88559
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88560
|
+
});
|
|
88561
|
+
\u0275\u0275elementEnd();
|
|
88562
|
+
}
|
|
88563
|
+
if (rf & 2) {
|
|
88564
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88565
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88566
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88567
|
+
}
|
|
88568
|
+
}
|
|
88569
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88570
|
+
if (rf & 1) {
|
|
88571
|
+
const _r9 = \u0275\u0275getCurrentView();
|
|
88572
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
|
|
88573
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88574
|
+
\u0275\u0275restoreView(_r9);
|
|
88575
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88576
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88577
|
+
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88578
|
+
\u0275\u0275restoreView(_r9);
|
|
88579
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88580
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88581
|
+
});
|
|
88582
|
+
\u0275\u0275elementEnd();
|
|
88583
|
+
}
|
|
88584
|
+
if (rf & 2) {
|
|
88585
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88586
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88587
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88588
|
+
}
|
|
88589
|
+
}
|
|
88590
|
+
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88591
|
+
if (rf & 1) {
|
|
88592
|
+
\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);
|
|
87494
88593
|
}
|
|
87495
88594
|
if (rf & 2) {
|
|
87496
88595
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
@@ -87511,13 +88610,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87511
88610
|
init_british_columbia_form_enums();
|
|
87512
88611
|
init_british_columbia_change_of_directors_form_helper();
|
|
87513
88612
|
init_british_columbia_formation_form_helper();
|
|
88613
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87514
88614
|
init_delta_state_service();
|
|
87515
88615
|
init_common_utils();
|
|
87516
88616
|
init_confirm_modal_component();
|
|
88617
|
+
init_terms_and_conditions_component();
|
|
87517
88618
|
init_change_of_directors_delta_form_component();
|
|
87518
88619
|
init_change_of_directors_preview_form_component();
|
|
87519
88620
|
init_british_columbia_incorporation_delta_form_component();
|
|
87520
88621
|
init_british_columbia_incorporation_preview_form_component();
|
|
88622
|
+
init_change_of_office_addresses_delta_form_component();
|
|
88623
|
+
init_change_of_office_addresses_preview_form_component();
|
|
87521
88624
|
init_core();
|
|
87522
88625
|
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
87523
88626
|
task = input();
|
|
@@ -87526,7 +88629,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87526
88629
|
isNote = input(false);
|
|
87527
88630
|
actionsDisabled = input(false);
|
|
87528
88631
|
errors = input([]);
|
|
87529
|
-
currentDataExtract = input();
|
|
87530
88632
|
close = output();
|
|
87531
88633
|
codValidate = output();
|
|
87532
88634
|
saveCodDeltaData = output();
|
|
@@ -87536,25 +88638,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87536
88638
|
saveFormationDeltaData = output();
|
|
87537
88639
|
nextStep = output();
|
|
87538
88640
|
prevStep = output();
|
|
88641
|
+
// Change of Office Addresses outputs
|
|
88642
|
+
coaValidate = output();
|
|
88643
|
+
saveCoaDeltaData = output();
|
|
88644
|
+
coaSubmit = output();
|
|
87539
88645
|
dialog = inject(MatDialog);
|
|
87540
88646
|
deltaState = inject(DeltaStateService);
|
|
87541
88647
|
translate = inject(TranslateService);
|
|
87542
88648
|
steps = Step;
|
|
87543
88649
|
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
87544
88650
|
isFormationTask = isFormationTask2;
|
|
88651
|
+
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
87545
88652
|
deltaForm = signal(new FormGroup({}));
|
|
87546
88653
|
previewForm = signal(new FormGroup({}));
|
|
87547
88654
|
constructor() {
|
|
87548
88655
|
effect(() => {
|
|
87549
88656
|
const task = this.task();
|
|
87550
88657
|
if (task && isChangeOfPrincipalsTask(task)) {
|
|
87551
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)
|
|
88658
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87552
88659
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
87553
88660
|
}
|
|
87554
88661
|
if (task && isFormationTask2(task)) {
|
|
87555
88662
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
87556
88663
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
87557
88664
|
}
|
|
88665
|
+
if (task && isChangeOfAddressTask(task)) {
|
|
88666
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88667
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88668
|
+
}
|
|
87558
88669
|
});
|
|
87559
88670
|
effect(() => {
|
|
87560
88671
|
const task = this.task();
|
|
@@ -87563,7 +88674,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87563
88674
|
return;
|
|
87564
88675
|
}
|
|
87565
88676
|
if (isChangeOfPrincipalsTask(task)) {
|
|
87566
|
-
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)
|
|
88677
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87567
88678
|
form.disable();
|
|
87568
88679
|
this.previewForm.set(form);
|
|
87569
88680
|
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
@@ -87578,8 +88689,64 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87578
88689
|
this.nextStep.emit();
|
|
87579
88690
|
}
|
|
87580
88691
|
}
|
|
88692
|
+
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88693
|
+
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88694
|
+
form.disable();
|
|
88695
|
+
this.previewForm.set(form);
|
|
88696
|
+
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
88697
|
+
this.nextStep.emit();
|
|
88698
|
+
}
|
|
88699
|
+
}
|
|
87581
88700
|
});
|
|
87582
88701
|
}
|
|
88702
|
+
onChangeOfOfficeAddressesValidate() {
|
|
88703
|
+
markFormGroupTouched(this.deltaForm());
|
|
88704
|
+
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88705
|
+
}
|
|
88706
|
+
onChangeOfOfficeAddressesSave() {
|
|
88707
|
+
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88708
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88709
|
+
this.saveCoaDeltaData.emit(delta);
|
|
88710
|
+
}
|
|
88711
|
+
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88712
|
+
onChangeOfOfficeAddressesFile() {
|
|
88713
|
+
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88714
|
+
}
|
|
88715
|
+
generateChangeOfOfficeAddressesDeltaData() {
|
|
88716
|
+
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88717
|
+
const formData = this.deltaForm().getRawValue();
|
|
88718
|
+
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88719
|
+
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88720
|
+
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88721
|
+
const toAddress = (src) => ({
|
|
88722
|
+
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88723
|
+
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88724
|
+
city: src?.[c.City] ?? null,
|
|
88725
|
+
postalCode: src?.[c.PostalCode] ?? null,
|
|
88726
|
+
province: src?.[c.Province] ?? null,
|
|
88727
|
+
country: src?.[c.Country] ?? null
|
|
88728
|
+
});
|
|
88729
|
+
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88730
|
+
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88731
|
+
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88732
|
+
return {
|
|
88733
|
+
referenceNumbers: {
|
|
88734
|
+
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88735
|
+
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88736
|
+
},
|
|
88737
|
+
registeredOffice: {
|
|
88738
|
+
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88739
|
+
deliverySameAsMailing: regDeliverySame,
|
|
88740
|
+
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88741
|
+
},
|
|
88742
|
+
recordsOffice: {
|
|
88743
|
+
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88744
|
+
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88745
|
+
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88746
|
+
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88747
|
+
}
|
|
88748
|
+
};
|
|
88749
|
+
}
|
|
87583
88750
|
onChangeOfDirectorsValidate() {
|
|
87584
88751
|
markFormGroupTouched(this.deltaForm());
|
|
87585
88752
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -87589,8 +88756,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87589
88756
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
87590
88757
|
this.saveCodDeltaData.emit(delta);
|
|
87591
88758
|
}
|
|
87592
|
-
onChangeOfDirectorsSubmit() {
|
|
87593
|
-
this.codSubmit.emit()
|
|
88759
|
+
onChangeOfDirectorsSubmit(termsAndConditions) {
|
|
88760
|
+
this.codSubmit.emit(__spreadProps(__spreadValues({}, this.generateChangeOfDirectorsDeltaData()), {
|
|
88761
|
+
signatoryFirstName: termsAndConditions.firstName,
|
|
88762
|
+
signatoryLastName: termsAndConditions.lastName
|
|
88763
|
+
}));
|
|
87594
88764
|
}
|
|
87595
88765
|
onFormationValidate() {
|
|
87596
88766
|
markFormGroupTouched(this.deltaForm());
|
|
@@ -87611,7 +88781,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87611
88781
|
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
87612
88782
|
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
87613
88783
|
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87614
|
-
const directors = formData[BCChangeOfDirectorsFormGroups.Directors] ?? [];
|
|
87615
88784
|
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
87616
88785
|
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
87617
88786
|
return {
|
|
@@ -87627,15 +88796,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87627
88796
|
method: notification?.[c.NotificationMethod] ?? null,
|
|
87628
88797
|
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
87629
88798
|
},
|
|
87630
|
-
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87631
|
-
directorChanges: {
|
|
87632
|
-
addIds: directors.filter((d) => d[c.AffiliationType] === "Add").map((d) => d[c.Id]).filter(Boolean),
|
|
87633
|
-
editIds: directors.filter((d) => d[c.AffiliationType] === "Update").map((d) => d[c.Id]).filter(Boolean),
|
|
87634
|
-
ceaseIds: directors.filter((d) => d[c.AffiliationType] === "Cease").map((d) => d[c.Id]).filter(Boolean)
|
|
87635
|
-
}
|
|
88799
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87636
88800
|
};
|
|
87637
88801
|
}
|
|
87638
|
-
generateFormationDeltaData() {
|
|
88802
|
+
generateFormationDeltaData(termsAndConditions) {
|
|
87639
88803
|
const formData = this.deltaForm().getRawValue();
|
|
87640
88804
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
87641
88805
|
const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
|
|
@@ -87679,7 +88843,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87679
88843
|
}
|
|
87680
88844
|
onClose() {
|
|
87681
88845
|
const task = this.task();
|
|
87682
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
88846
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : task && isChangeOfAddressTask(task) ? !deepEqual(this.deltaState.bcChangeOfOfficeAddressesInitialDelta(), this.generateChangeOfOfficeAddressesDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
87683
88847
|
if (!hasChanges) {
|
|
87684
88848
|
this.close.emit();
|
|
87685
88849
|
return;
|
|
@@ -87697,6 +88861,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87697
88861
|
if (val) {
|
|
87698
88862
|
if (task && isFormationTask2(task)) {
|
|
87699
88863
|
this.onFormationSave();
|
|
88864
|
+
} else if (task && isChangeOfAddressTask(task)) {
|
|
88865
|
+
this.onChangeOfOfficeAddressesSave();
|
|
87700
88866
|
} else {
|
|
87701
88867
|
this.onChangeOfDirectorsSave();
|
|
87702
88868
|
}
|
|
@@ -87707,23 +88873,28 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87707
88873
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
87708
88874
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
87709
88875
|
};
|
|
87710
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"]
|
|
88876
|
+
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"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep", coaValidate: "coaValidate", saveCoaDeltaData: "saveCoaDeltaData", coaSubmit: "coaSubmit" }, decls: 4, vars: 4, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "prev", "close", "confirm", "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) {
|
|
87711
88877
|
if (rf & 1) {
|
|
87712
88878
|
\u0275\u0275declareLet(0);
|
|
87713
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template,
|
|
88879
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
|
|
87714
88880
|
}
|
|
87715
88881
|
if (rf & 2) {
|
|
87716
|
-
const
|
|
88882
|
+
const taskData_r10 = \u0275\u0275storeLet(ctx.task());
|
|
88883
|
+
\u0275\u0275advance();
|
|
88884
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r10) ? 1 : -1);
|
|
87717
88885
|
\u0275\u0275advance();
|
|
87718
|
-
\u0275\u0275conditional(ctx.
|
|
88886
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r10) ? 2 : -1);
|
|
87719
88887
|
\u0275\u0275advance();
|
|
87720
|
-
\u0275\u0275conditional(ctx.
|
|
88888
|
+
\u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r10) ? 3 : -1);
|
|
87721
88889
|
}
|
|
87722
88890
|
}, dependencies: [
|
|
87723
88891
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87724
88892
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87725
88893
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87726
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88894
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
88895
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
88896
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88897
|
+
TermsAndConditionsComponent
|
|
87727
88898
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
87728
88899
|
};
|
|
87729
88900
|
(() => {
|
|
@@ -87733,12 +88904,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87733
88904
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87734
88905
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87735
88906
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87736
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
87737
|
-
|
|
88907
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
88908
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
88909
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88910
|
+
TermsAndConditionsComponent
|
|
88911
|
+
], 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)="nextStep.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n [errors]="errors()"\r\n (prev)="prevStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onChangeOfDirectorsSubmit($event)"\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"] }]
|
|
87738
88912
|
}], () => [], null);
|
|
87739
88913
|
})();
|
|
87740
88914
|
(() => {
|
|
87741
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
88915
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 75 });
|
|
87742
88916
|
})();
|
|
87743
88917
|
}
|
|
87744
88918
|
});
|
|
@@ -93959,55 +95133,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93959
95133
|
init_core();
|
|
93960
95134
|
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
93961
95135
|
config;
|
|
93962
|
-
currentDataExtract;
|
|
93963
95136
|
setConfig(config2) {
|
|
93964
95137
|
this.config = config2;
|
|
93965
95138
|
}
|
|
93966
|
-
/**
|
|
93967
|
-
* Orders the corporation's current data extract and waits until it is ready, returning the
|
|
93968
|
-
* `currentDataServiceOrderId` that Validate Filing needs. The registry bot can take a while,
|
|
93969
|
-
* so the extract is polled every `intervalMs` for up to `maxAttempts` times.
|
|
93970
|
-
*/
|
|
93971
|
-
ensureCurrentDataExtract(_0, _1) {
|
|
93972
|
-
return __async(this, arguments, function* (signature, order, opts = {}, { intervalMs = 3e3, maxAttempts = 40 } = {}) {
|
|
93973
|
-
ensureAuthInputs(signature);
|
|
93974
|
-
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93975
|
-
const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
|
|
93976
|
-
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
|
|
93977
|
-
"x-target-url": `${dataExtractUrl}/order`
|
|
93978
|
-
}, opts.headers ?? {})));
|
|
93979
|
-
const ordered = yield this.readJson(orderResp, "BC current data extract order");
|
|
93980
|
-
const orderId = ordered.currentDataServiceOrderId;
|
|
93981
|
-
if (!orderResp.ok || !orderId || ordered.status === "failed") {
|
|
93982
|
-
throw buildGenericError(orderResp.status, "BC current data extract order failed", __spreadProps(__spreadValues({}, ordered), {
|
|
93983
|
-
errors: ordered.errors?.length ? ordered.errors : (ordered.additionalInformation ?? []).map((message) => ({ message }))
|
|
93984
|
-
}));
|
|
93985
|
-
}
|
|
93986
|
-
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
93987
|
-
const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
93988
|
-
method: "GET",
|
|
93989
|
-
headers: __spreadValues({
|
|
93990
|
-
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93991
|
-
"x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
|
|
93992
|
-
}, opts.headers ?? {})
|
|
93993
|
-
}));
|
|
93994
|
-
const extract = yield this.readJson(extractResp, "BC current data extract");
|
|
93995
|
-
if (extractResp.ok && extract.status === "success") {
|
|
93996
|
-
this.currentDataExtract = extract;
|
|
93997
|
-
return orderId;
|
|
93998
|
-
}
|
|
93999
|
-
if (!extractResp.ok || extract.status === "failed" || extract.status === "sourceUnavailable") {
|
|
94000
|
-
const reasons = extract.additionalInformation ?? [];
|
|
94001
|
-
throw new Error(`BC current data extract ${extract.status ?? "failed"} (HTTP ${extractResp.status})${reasons.length ? `: ${reasons.join(" | ")}` : "."}`);
|
|
94002
|
-
}
|
|
94003
|
-
yield new Promise((resolve) => setTimeout(resolve, intervalMs));
|
|
94004
|
-
}
|
|
94005
|
-
throw new Error("BC current data extract is still processing. Please try again in a moment.");
|
|
94006
|
-
});
|
|
94007
|
-
}
|
|
94008
|
-
getCurrentDataExtract() {
|
|
94009
|
-
return this.currentDataExtract;
|
|
94010
|
-
}
|
|
94011
95139
|
validate(_0, _1) {
|
|
94012
95140
|
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
94013
95141
|
ensureAuthInputs(signature);
|
|
@@ -94025,12 +95153,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94025
95153
|
throw err2;
|
|
94026
95154
|
}
|
|
94027
95155
|
const payload = unwrapRequestResults(parsed.value);
|
|
94028
|
-
if (resp.ok && !payload.Errors?.length
|
|
94029
|
-
return
|
|
94030
|
-
Status: payload.Status ?? payload["status"],
|
|
94031
|
-
ServiceOrderId: payload.ServiceOrderId ?? payload["serviceOrderId"],
|
|
94032
|
-
Draft: payload.Draft ?? payload["draft"]
|
|
94033
|
-
});
|
|
95156
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
95157
|
+
return payload;
|
|
94034
95158
|
}
|
|
94035
95159
|
const err = buildValidationError(resp.status, payload);
|
|
94036
95160
|
err.validateResult = payload;
|
|
@@ -94090,16 +95214,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94090
95214
|
throw err;
|
|
94091
95215
|
});
|
|
94092
95216
|
}
|
|
94093
|
-
readJson(resp, what) {
|
|
94094
|
-
return __async(this, null, function* () {
|
|
94095
|
-
const raw = yield resp.text();
|
|
94096
|
-
const parsed = tryParseJson(raw);
|
|
94097
|
-
if (!parsed.ok) {
|
|
94098
|
-
throw new Error(`${what} returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
94099
|
-
}
|
|
94100
|
-
return unwrapRequestResults(parsed.value);
|
|
94101
|
-
});
|
|
94102
|
-
}
|
|
94103
95217
|
getOnbisOrigin() {
|
|
94104
95218
|
const filingUrl = this.config?.BCFiling;
|
|
94105
95219
|
if (!filingUrl) {
|
|
@@ -94124,30 +95238,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94124
95238
|
});
|
|
94125
95239
|
|
|
94126
95240
|
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
94127
|
-
function
|
|
94128
|
-
return password?.trim() || task.entity._profile.registry_id?.trim() || "";
|
|
94129
|
-
}
|
|
94130
|
-
function buildBritishColumbiaDataExtractOrder(task, password) {
|
|
94131
|
-
const incorporationDate = toYyyyMmDd(task.entity._compliance.incorporation_date) ?? "";
|
|
94132
|
-
const request = {
|
|
94133
|
-
corporationNumber: task.entity._profile.corp_number?.trim() ?? "",
|
|
94134
|
-
accessCodeOrPassword: getBritishColumbiaAccessCode(task, password),
|
|
94135
|
-
incorporationDate: /^\d{4}-\d{2}-\d{2}$/.test(incorporationDate) ? incorporationDate : "",
|
|
94136
|
-
filingType: "changeOfDirectorsFiling"
|
|
94137
|
-
};
|
|
94138
|
-
const issues = [];
|
|
94139
|
-
if (!request.corporationNumber) {
|
|
94140
|
-
issues.push("The corporation number is missing on the entity.");
|
|
94141
|
-
}
|
|
94142
|
-
if (!/^[A-Za-z0-9]+$/.test(request.accessCodeOrPassword)) {
|
|
94143
|
-
issues.push("The company's BC Online access code or password is missing or contains characters other than letters and numbers.");
|
|
94144
|
-
}
|
|
94145
|
-
if (!request.incorporationDate) {
|
|
94146
|
-
issues.push("The incorporation date is missing on the entity.");
|
|
94147
|
-
}
|
|
94148
|
-
return { request, issues };
|
|
94149
|
-
}
|
|
94150
|
-
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId, currentDataExtract) {
|
|
95241
|
+
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
|
|
94151
95242
|
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
94152
95243
|
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94153
95244
|
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
@@ -94155,107 +95246,73 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94155
95246
|
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
94156
95247
|
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
94157
95248
|
const companyEmail = findCompanyEmail(task);
|
|
94158
|
-
const
|
|
94159
|
-
|
|
94160
|
-
...outgoingDirectors
|
|
94161
|
-
].map((affiliation) => [String(affiliation._id), affiliation]));
|
|
94162
|
-
const selected = deltaData.directorChanges;
|
|
94163
|
-
const addSource = selected ? selected.addIds.map((id) => byId.get(String(id))).filter(Boolean) : incomingDirectors.length ? incomingDirectors : addedDirectors;
|
|
94164
|
-
const editSource = selected ? selected.editIds.map((id) => byId.get(String(id))).filter(Boolean) : editedDirectors;
|
|
94165
|
-
const ceaseSource = selected ? selected.ceaseIds.map((id) => byId.get(String(id))).filter(Boolean) : outgoingDirectors.length ? outgoingDirectors : ceasedDirectors;
|
|
94166
|
-
const addDirectors = addSource.map((affiliation) => buildDirector(affiliation));
|
|
94167
|
-
const ceaseDirectors = ceaseSource.map((affiliation) => buildCeasedDirector(affiliation));
|
|
94168
|
-
const editDirectors = editSource.map((director) => {
|
|
94169
|
-
const directorNumber = findDirectorNumber(director, currentDataExtract);
|
|
94170
|
-
return directorNumber === void 0 ? null : buildDirector(director, directorNumber);
|
|
94171
|
-
}).filter((director) => director !== null);
|
|
94172
|
-
const effectiveDate = toYyyyMmDd(deltaData.filingDetails.changeDate);
|
|
94173
|
-
return {
|
|
95249
|
+
const serviceOrderId = deltaData.serviceOrderId;
|
|
95250
|
+
return __spreadValues({
|
|
94174
95251
|
filingType: "changeOfDirectorsFiling",
|
|
94175
|
-
|
|
94176
|
-
filing: __spreadProps(__spreadValues({
|
|
94177
|
-
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
94178
|
-
accessCodeOrPassword: getBritishColumbiaAccessCode(task),
|
|
95252
|
+
filing: {
|
|
94179
95253
|
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
94180
|
-
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
94181
|
-
|
|
94182
|
-
|
|
94183
|
-
|
|
94184
|
-
|
|
95254
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null,
|
|
95255
|
+
addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
|
|
95256
|
+
effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
|
|
95257
|
+
addDirectors: (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
95258
|
+
ceaseDirectors: (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
95259
|
+
editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
|
|
94185
95260
|
companyEmail,
|
|
94186
95261
|
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
94187
|
-
}
|
|
94188
|
-
};
|
|
95262
|
+
}
|
|
95263
|
+
}, serviceOrderId ? { ServiceOrderId: serviceOrderId } : {});
|
|
94189
95264
|
}
|
|
94190
95265
|
function isDirectorAffiliation(affiliation) {
|
|
94191
95266
|
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
94192
95267
|
}
|
|
94193
|
-
function
|
|
94194
|
-
const _a = buildDirector(affiliation), { isDeliveryAddressSameAsMailing: _omitted } = _a, director = __objRest(_a, ["isDeliveryAddressSameAsMailing"]);
|
|
94195
|
-
return __spreadProps(__spreadValues({}, director), { deliveryAddress: director.deliveryAddress ?? director.mailingAddress });
|
|
94196
|
-
}
|
|
94197
|
-
function buildDirector(affiliation, directorNumber) {
|
|
95268
|
+
function buildDirector(affiliation) {
|
|
94198
95269
|
if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
|
|
94199
95270
|
const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
|
|
94200
|
-
return
|
|
95271
|
+
return {
|
|
94201
95272
|
firstName: name.FirstName ?? name.firstName ?? "",
|
|
94202
95273
|
middleName: name.MiddleName ?? name.middleName ?? "",
|
|
94203
95274
|
lastName: name.LastName ?? name.lastName ?? "",
|
|
94204
95275
|
mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
|
|
94205
|
-
deliveryAddress: affiliation.
|
|
95276
|
+
deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
94206
95277
|
isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
|
|
94207
|
-
}
|
|
95278
|
+
};
|
|
94208
95279
|
}
|
|
94209
95280
|
const profile = affiliation.participant?._profile ?? {};
|
|
94210
95281
|
const addresses = getAffiliationAddresses(affiliation);
|
|
94211
95282
|
const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
|
|
94212
95283
|
const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
|
|
94213
|
-
|
|
94214
|
-
return __spreadProps(__spreadValues({}, directorNumber === void 0 ? {} : { directorNumber }), {
|
|
95284
|
+
return {
|
|
94215
95285
|
firstName: profile.firstName ?? "",
|
|
94216
95286
|
middleName: profile.middleName ?? "",
|
|
94217
95287
|
lastName: profile.lastName ?? "",
|
|
94218
95288
|
mailingAddress,
|
|
94219
|
-
|
|
94220
|
-
|
|
94221
|
-
isDeliveryAddressSameAsMailing: isSameAsMailing
|
|
94222
|
-
});
|
|
94223
|
-
}
|
|
94224
|
-
function findDirectorNumber(affiliation, extract) {
|
|
94225
|
-
const target = normaliseDirectorName(affiliation);
|
|
94226
|
-
let result;
|
|
94227
|
-
const visit = (value) => {
|
|
94228
|
-
if (result !== void 0 || value === null || value === void 0)
|
|
94229
|
-
return;
|
|
94230
|
-
if (Array.isArray(value)) {
|
|
94231
|
-
value.forEach(visit);
|
|
94232
|
-
return;
|
|
94233
|
-
}
|
|
94234
|
-
if (typeof value !== "object")
|
|
94235
|
-
return;
|
|
94236
|
-
const record = value;
|
|
94237
|
-
const number = record["directorNumber"] ?? record["DirectorNumber"];
|
|
94238
|
-
if (number !== void 0 && normaliseDirectorName(record) === target) {
|
|
94239
|
-
const parsed = Number(number);
|
|
94240
|
-
if (Number.isFinite(parsed))
|
|
94241
|
-
result = parsed;
|
|
94242
|
-
return;
|
|
94243
|
-
}
|
|
94244
|
-
Object.values(record).forEach(visit);
|
|
95289
|
+
deliveryAddress,
|
|
95290
|
+
isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
|
|
94245
95291
|
};
|
|
94246
|
-
visit(extract);
|
|
94247
|
-
return result;
|
|
94248
|
-
}
|
|
94249
|
-
function normaliseDirectorName(value) {
|
|
94250
|
-
const name = value?.PersonName ?? value?.personName ?? value;
|
|
94251
|
-
return [
|
|
94252
|
-
name?.FirstName ?? name?.firstName,
|
|
94253
|
-
name?.MiddleName ?? name?.middleName,
|
|
94254
|
-
name?.LastName ?? name?.lastName
|
|
94255
|
-
].filter(Boolean).join(" ").trim().toLowerCase();
|
|
94256
95292
|
}
|
|
94257
95293
|
function mapAddress4(address) {
|
|
94258
|
-
|
|
95294
|
+
if (!address)
|
|
95295
|
+
return void 0;
|
|
95296
|
+
const raw = address;
|
|
95297
|
+
const postalAddress = raw.PostalAddress ?? raw.postalAddress;
|
|
95298
|
+
const source = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? raw;
|
|
95299
|
+
const streetNumber = address.components?.find((component) => component.name === "Street Number Only")?.value;
|
|
95300
|
+
const streetName = address.components?.find((component) => component.name === "Street Only")?.value;
|
|
95301
|
+
const suite = address.components?.find((component) => component.name === "Suite/Apartment")?.value;
|
|
95302
|
+
const streetAddress = [streetNumber, streetName].filter(Boolean).join(" ") || address.components?.find((component) => component.name === "Street Address")?.value || source.streetAddress || source.Address1 || raw.street || "";
|
|
95303
|
+
const country = source.country ?? source.CountryCodeName ?? raw.country ?? "";
|
|
95304
|
+
const postal = source.postalOrZipCode ?? source.PostCode ?? source.postalZip ?? raw.postal_zip ?? "";
|
|
95305
|
+
return {
|
|
95306
|
+
streetAddress: [streetAddress, suite].filter(Boolean).join(", "),
|
|
95307
|
+
city: source.city ?? source.CityTown ?? raw.city ?? "",
|
|
95308
|
+
provinceState: source.provinceState ?? source.RegionName ?? raw.province_state ?? "",
|
|
95309
|
+
country,
|
|
95310
|
+
postalOrZipCode: country === "CA" ? normalizeCanadianPostal(postal) : postal
|
|
95311
|
+
};
|
|
95312
|
+
}
|
|
95313
|
+
function normalizeCanadianPostal(value) {
|
|
95314
|
+
const compact = value.replace(/[\s-]+/g, "").toUpperCase();
|
|
95315
|
+
return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : value;
|
|
94259
95316
|
}
|
|
94260
95317
|
function findCompanyEmail(task) {
|
|
94261
95318
|
const affiliations = task.entity.affiliations ?? [];
|
|
@@ -94274,12 +95331,288 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94274
95331
|
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
94275
95332
|
init_BritishColumbiaConstants();
|
|
94276
95333
|
init_common_models();
|
|
94277
|
-
init_british_columbia_formation_mapper();
|
|
94278
95334
|
init_british_columbia_formation_form_helper();
|
|
94279
95335
|
init_common_utils();
|
|
94280
95336
|
}
|
|
94281
95337
|
});
|
|
94282
95338
|
|
|
95339
|
+
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95340
|
+
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95341
|
+
var init_british_columbia_maintenance_service = __esm({
|
|
95342
|
+
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95343
|
+
init_core();
|
|
95344
|
+
init_common_utils();
|
|
95345
|
+
init_core();
|
|
95346
|
+
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95347
|
+
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95348
|
+
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95349
|
+
DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95350
|
+
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95351
|
+
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95352
|
+
config;
|
|
95353
|
+
setConfig(config2) {
|
|
95354
|
+
this.config = config2;
|
|
95355
|
+
}
|
|
95356
|
+
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95357
|
+
orderCurrentDataExtract(_0, _1) {
|
|
95358
|
+
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95359
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95360
|
+
corporationNumber: context2.corporationNumber,
|
|
95361
|
+
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95362
|
+
incorporationDate: context2.incorporationDate,
|
|
95363
|
+
filingType: "changeOfAddressFiling"
|
|
95364
|
+
}, opts);
|
|
95365
|
+
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95366
|
+
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95367
|
+
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95368
|
+
}
|
|
95369
|
+
return String(id);
|
|
95370
|
+
});
|
|
95371
|
+
}
|
|
95372
|
+
/** Polls the extract until the registry has it ready (`success`). */
|
|
95373
|
+
waitForCurrentDataExtract(_0, _1) {
|
|
95374
|
+
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95375
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95376
|
+
const deadline = Date.now() + timeoutMs;
|
|
95377
|
+
for (; ; ) {
|
|
95378
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95379
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95380
|
+
if (ok && state2 === "success") {
|
|
95381
|
+
return;
|
|
95382
|
+
}
|
|
95383
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95384
|
+
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95385
|
+
}
|
|
95386
|
+
if (Date.now() >= deadline) {
|
|
95387
|
+
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
95388
|
+
}
|
|
95389
|
+
yield this.sleep(intervalMs);
|
|
95390
|
+
}
|
|
95391
|
+
});
|
|
95392
|
+
}
|
|
95393
|
+
/**
|
|
95394
|
+
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95395
|
+
* corporation number and password; they are added here so they never become part of the
|
|
95396
|
+
* saved request used to detect Entity changes.
|
|
95397
|
+
*/
|
|
95398
|
+
validate(_0, _1, _2, _3) {
|
|
95399
|
+
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95400
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95401
|
+
currentDataServiceOrderId: extractId,
|
|
95402
|
+
filingType: requestBody.filingType,
|
|
95403
|
+
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95404
|
+
corporationNumber: context2.corporationNumber,
|
|
95405
|
+
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95406
|
+
})
|
|
95407
|
+
}, opts);
|
|
95408
|
+
if (body === null) {
|
|
95409
|
+
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95410
|
+
}
|
|
95411
|
+
const result = this.normalize(unwrapRequestResults(body));
|
|
95412
|
+
if (ok && !this.hasFailed(result)) {
|
|
95413
|
+
return result;
|
|
95414
|
+
}
|
|
95415
|
+
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95416
|
+
err.validateResult = result;
|
|
95417
|
+
err.httpStatus = status;
|
|
95418
|
+
throw err;
|
|
95419
|
+
});
|
|
95420
|
+
}
|
|
95421
|
+
/**
|
|
95422
|
+
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95423
|
+
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95424
|
+
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95425
|
+
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95426
|
+
*/
|
|
95427
|
+
submitAndWait(_0, _1) {
|
|
95428
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95429
|
+
if (!serviceOrderId) {
|
|
95430
|
+
throw new Error("Missing serviceOrderId.");
|
|
95431
|
+
}
|
|
95432
|
+
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95433
|
+
if (!submitted.ok || this.normalize(submitted.body).Status === "Failure") {
|
|
95434
|
+
const result = this.normalize(submitted.body);
|
|
95435
|
+
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", result));
|
|
95436
|
+
err.submitResult = result;
|
|
95437
|
+
err.httpStatus = submitted.status;
|
|
95438
|
+
throw err;
|
|
95439
|
+
}
|
|
95440
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95441
|
+
const deadline = Date.now() + timeoutMs;
|
|
95442
|
+
let processing = true;
|
|
95443
|
+
let files;
|
|
95444
|
+
while (processing) {
|
|
95445
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95446
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95447
|
+
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95448
|
+
files = body?.files;
|
|
95449
|
+
processing = false;
|
|
95450
|
+
break;
|
|
95451
|
+
}
|
|
95452
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95453
|
+
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95454
|
+
}
|
|
95455
|
+
if (Date.now() >= deadline) {
|
|
95456
|
+
break;
|
|
95457
|
+
}
|
|
95458
|
+
yield this.sleep(intervalMs);
|
|
95459
|
+
}
|
|
95460
|
+
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95461
|
+
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95462
|
+
});
|
|
95463
|
+
}
|
|
95464
|
+
getBaseUrl(env) {
|
|
95465
|
+
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95466
|
+
if (!baseUrl) {
|
|
95467
|
+
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95468
|
+
}
|
|
95469
|
+
return baseUrl;
|
|
95470
|
+
}
|
|
95471
|
+
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95472
|
+
send(signature, method, path, payload, opts) {
|
|
95473
|
+
return __async(this, null, function* () {
|
|
95474
|
+
ensureAuthInputs(signature);
|
|
95475
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95476
|
+
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95477
|
+
const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
|
|
95478
|
+
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95479
|
+
method,
|
|
95480
|
+
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95481
|
+
}));
|
|
95482
|
+
const raw = yield resp.text();
|
|
95483
|
+
const parsed = tryParseJson(raw);
|
|
95484
|
+
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95485
|
+
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95486
|
+
});
|
|
95487
|
+
}
|
|
95488
|
+
failure(status, prefix, body, raw) {
|
|
95489
|
+
const result = body ? this.normalize(body) : void 0;
|
|
95490
|
+
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95491
|
+
const err = new Error(message);
|
|
95492
|
+
err.httpStatus = status;
|
|
95493
|
+
return err;
|
|
95494
|
+
}
|
|
95495
|
+
sleep(ms) {
|
|
95496
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95497
|
+
}
|
|
95498
|
+
/**
|
|
95499
|
+
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95500
|
+
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95501
|
+
* `errors`, `additionalInformation` is used as the error messages.
|
|
95502
|
+
*/
|
|
95503
|
+
normalize(body) {
|
|
95504
|
+
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95505
|
+
const errors = rawErrors.map((e) => ({
|
|
95506
|
+
Code: e?.code ?? e?.Code,
|
|
95507
|
+
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95508
|
+
}));
|
|
95509
|
+
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95510
|
+
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95511
|
+
if (!succeeded && !errors.length) {
|
|
95512
|
+
const additional = body?.additionalInformation ?? [];
|
|
95513
|
+
errors.push(...additional.map((Message) => ({ Message })));
|
|
95514
|
+
}
|
|
95515
|
+
return {
|
|
95516
|
+
Status: succeeded ? "Success" : "Failure",
|
|
95517
|
+
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95518
|
+
Draft: body?.draft ?? body?.Draft,
|
|
95519
|
+
Errors: errors
|
|
95520
|
+
};
|
|
95521
|
+
}
|
|
95522
|
+
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95523
|
+
hasFailed(result) {
|
|
95524
|
+
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95525
|
+
}
|
|
95526
|
+
describeFailure(httpStatus, prefix, result) {
|
|
95527
|
+
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95528
|
+
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95529
|
+
}
|
|
95530
|
+
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95531
|
+
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95532
|
+
};
|
|
95533
|
+
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95534
|
+
};
|
|
95535
|
+
(() => {
|
|
95536
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95537
|
+
type: Injectable,
|
|
95538
|
+
args: [{
|
|
95539
|
+
providedIn: "root"
|
|
95540
|
+
}]
|
|
95541
|
+
}], null, null);
|
|
95542
|
+
})();
|
|
95543
|
+
}
|
|
95544
|
+
});
|
|
95545
|
+
|
|
95546
|
+
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95547
|
+
function formatPostalCode(value) {
|
|
95548
|
+
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95549
|
+
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95550
|
+
}
|
|
95551
|
+
function toEcoreAddress(address) {
|
|
95552
|
+
const line2 = clean(address?.addressLine2);
|
|
95553
|
+
return __spreadProps(__spreadValues({
|
|
95554
|
+
streetAddress: clean(address?.addressLine1)
|
|
95555
|
+
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95556
|
+
city: clean(address?.city),
|
|
95557
|
+
provinceOrState: BC_PROVINCE_CODE,
|
|
95558
|
+
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95559
|
+
country: CANADA_COUNTRY_CODE
|
|
95560
|
+
});
|
|
95561
|
+
}
|
|
95562
|
+
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95563
|
+
const registered = deltaData.registeredOffice;
|
|
95564
|
+
const records = deltaData.recordsOffice;
|
|
95565
|
+
const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
|
|
95566
|
+
const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
|
|
95567
|
+
const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
|
|
95568
|
+
const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
|
|
95569
|
+
const filing = {
|
|
95570
|
+
registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
|
|
95571
|
+
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95572
|
+
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95573
|
+
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95574
|
+
// The entity's company email, shown read-only in Corporation Details.
|
|
95575
|
+
companyEmail: BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95576
|
+
// Not captured on this form; the reminder preference is not changed by an address filing.
|
|
95577
|
+
isAnnualReportReminderRequired: false
|
|
95578
|
+
};
|
|
95579
|
+
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95580
|
+
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95581
|
+
if (reference) {
|
|
95582
|
+
filing.reference = reference;
|
|
95583
|
+
}
|
|
95584
|
+
if (docket) {
|
|
95585
|
+
filing.docket = docket;
|
|
95586
|
+
}
|
|
95587
|
+
if (!registeredDeliverySame) {
|
|
95588
|
+
filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
|
|
95589
|
+
}
|
|
95590
|
+
if (!recordsSameAsRegistered) {
|
|
95591
|
+
filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
|
|
95592
|
+
}
|
|
95593
|
+
if (!recordsDeliverySame) {
|
|
95594
|
+
filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
|
|
95595
|
+
}
|
|
95596
|
+
return { filingType: "changeOfAddressFiling", filing };
|
|
95597
|
+
}
|
|
95598
|
+
function getBritishColumbiaAccessCode(task, env) {
|
|
95599
|
+
const registryId = task.entity._profile.registry_id?.trim() ?? "";
|
|
95600
|
+
if (registryId) {
|
|
95601
|
+
return registryId;
|
|
95602
|
+
}
|
|
95603
|
+
return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
|
|
95604
|
+
}
|
|
95605
|
+
var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95606
|
+
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95607
|
+
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95608
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95609
|
+
TEMP_UAT_TEST_ACCESS_CODE = "12345678";
|
|
95610
|
+
BC_PROVINCE_CODE = "BC";
|
|
95611
|
+
CANADA_COUNTRY_CODE = "CA";
|
|
95612
|
+
clean = (value) => (value ?? "").trim();
|
|
95613
|
+
}
|
|
95614
|
+
});
|
|
95615
|
+
|
|
94283
95616
|
// src/app/components/filing/filing.component.ts
|
|
94284
95617
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
94285
95618
|
if (rf & 1) {
|
|
@@ -94379,6 +95712,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94379
95712
|
\u0275\u0275restoreView(_r6);
|
|
94380
95713
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94381
95714
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
95715
|
+
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
95716
|
+
\u0275\u0275restoreView(_r6);
|
|
95717
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95718
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
95719
|
+
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
95720
|
+
\u0275\u0275restoreView(_r6);
|
|
95721
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95722
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
95723
|
+
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
95724
|
+
\u0275\u0275restoreView(_r6);
|
|
95725
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95726
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
94382
95727
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
94383
95728
|
\u0275\u0275restoreView(_r6);
|
|
94384
95729
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -94397,7 +95742,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94397
95742
|
if (rf & 2) {
|
|
94398
95743
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94399
95744
|
const currentTask_r5 = \u0275\u0275readContextLet(9);
|
|
94400
|
-
\u0275\u0275property("task", currentTask_r5)("currentUser", ctx_r2.currentUser())("activeStep", ctx_r2.activeStep())("isNote", ctx_r2.dataWasChanged())("actionsDisabled", ctx_r2.isLoading())("errors", ctx_r2.errors())
|
|
95745
|
+
\u0275\u0275property("task", currentTask_r5)("currentUser", ctx_r2.currentUser())("activeStep", ctx_r2.activeStep())("isNote", ctx_r2.dataWasChanged())("actionsDisabled", ctx_r2.isLoading())("errors", ctx_r2.errors());
|
|
94401
95746
|
}
|
|
94402
95747
|
}
|
|
94403
95748
|
function FilingComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
|
|
@@ -94447,7 +95792,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94447
95792
|
}
|
|
94448
95793
|
function FilingComponent_Conditional_10_Template(rf, ctx) {
|
|
94449
95794
|
if (rf & 1) {
|
|
94450
|
-
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1,
|
|
95795
|
+
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1, 6, "british-columbia", 9)(2, FilingComponent_Conditional_10_Conditional_2_Template, 1, 5, "federal", 10);
|
|
94451
95796
|
}
|
|
94452
95797
|
if (rf & 2) {
|
|
94453
95798
|
const ctx_r2 = \u0275\u0275nextContext();
|
|
@@ -94494,6 +95839,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94494
95839
|
init_delta_state_service();
|
|
94495
95840
|
init_british_columbia_change_of_directors_service();
|
|
94496
95841
|
init_british_columbia_change_of_directors_mapper();
|
|
95842
|
+
init_british_columbia_maintenance_service();
|
|
95843
|
+
init_british_columbia_change_of_office_addresses_mapper();
|
|
94497
95844
|
init_core();
|
|
94498
95845
|
init_button();
|
|
94499
95846
|
FilingComponent = class _FilingComponent {
|
|
@@ -94550,6 +95897,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94550
95897
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
94551
95898
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
94552
95899
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
95900
|
+
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
94553
95901
|
translate = inject(TranslateService);
|
|
94554
95902
|
isEditButton = computed(() => {
|
|
94555
95903
|
const task = this.task();
|
|
@@ -94565,9 +95913,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94565
95913
|
});
|
|
94566
95914
|
dataWasChanged = signal(false);
|
|
94567
95915
|
serviceOrderId = "";
|
|
94568
|
-
bcCurrentDataServiceOrderId = "";
|
|
94569
|
-
currentDataExtract = signal(void 0);
|
|
94570
|
-
bcDataExtractTaskId = "";
|
|
94571
95916
|
activeStep = signal(Step.Validate);
|
|
94572
95917
|
isLoading = signal(false);
|
|
94573
95918
|
validationConfig = signal(null);
|
|
@@ -94594,6 +95939,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94594
95939
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
94595
95940
|
return "File British Columbia Notice of Change of Directors";
|
|
94596
95941
|
}
|
|
95942
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
95943
|
+
return "File British Columbia Change of Office Addresses";
|
|
95944
|
+
}
|
|
94597
95945
|
return "";
|
|
94598
95946
|
});
|
|
94599
95947
|
constructor() {
|
|
@@ -94606,6 +95954,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94606
95954
|
this.bcFormationService.setConfig(config2);
|
|
94607
95955
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
94608
95956
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
95957
|
+
this.bcMaintenanceService.setConfig(config2);
|
|
94609
95958
|
}
|
|
94610
95959
|
});
|
|
94611
95960
|
addStylesVariables();
|
|
@@ -94631,26 +95980,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94631
95980
|
this.serviceOrderId = serviceOrderId;
|
|
94632
95981
|
}
|
|
94633
95982
|
}
|
|
94634
|
-
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
|
|
94635
|
-
const signature = this._signature();
|
|
94636
|
-
if (!signature)
|
|
94637
|
-
return;
|
|
94638
|
-
this.bcDataExtractTaskId = task._id;
|
|
94639
|
-
const { request, issues } = buildBritishColumbiaDataExtractOrder(task, deltaData?.companyPassword);
|
|
94640
|
-
if (issues.length) {
|
|
94641
|
-
this.errors.set(issues);
|
|
94642
|
-
return;
|
|
94643
|
-
}
|
|
94644
|
-
this.isLoading.set(true);
|
|
94645
|
-
try {
|
|
94646
|
-
this.bcCurrentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
|
|
94647
|
-
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
94648
|
-
} catch (error) {
|
|
94649
|
-
this.handleCatchError(error);
|
|
94650
|
-
} finally {
|
|
94651
|
-
this.isLoading.set(false);
|
|
94652
|
-
}
|
|
94653
|
-
}
|
|
94654
95983
|
}));
|
|
94655
95984
|
}
|
|
94656
95985
|
getCurrentData() {
|
|
@@ -94774,14 +96103,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94774
96103
|
try {
|
|
94775
96104
|
this.isLoading.set(true);
|
|
94776
96105
|
this.errors.set([]);
|
|
94777
|
-
const
|
|
94778
|
-
const
|
|
94779
|
-
if (!currentDataServiceOrderId) {
|
|
94780
|
-
this.errors.set(["The current BC data extract is not ready yet. Please wait and try again."]);
|
|
94781
|
-
return;
|
|
94782
|
-
}
|
|
94783
|
-
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId, this.currentDataExtract());
|
|
94784
|
-
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, options);
|
|
96106
|
+
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData);
|
|
96107
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, this.validateOptions() ?? {});
|
|
94785
96108
|
if (this.hasResponseErrors(response))
|
|
94786
96109
|
return;
|
|
94787
96110
|
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
@@ -94790,7 +96113,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94790
96113
|
searchOrFilingType: getSearchOrFilingType(task),
|
|
94791
96114
|
serviceOrderId,
|
|
94792
96115
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
94793
|
-
provider: "
|
|
96116
|
+
provider: "obr",
|
|
94794
96117
|
draftPdf: response.Draft,
|
|
94795
96118
|
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
94796
96119
|
documentType: "pdf"
|
|
@@ -94930,6 +96253,93 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94930
96253
|
}
|
|
94931
96254
|
});
|
|
94932
96255
|
}
|
|
96256
|
+
/**
|
|
96257
|
+
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96258
|
+
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96259
|
+
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96260
|
+
*/
|
|
96261
|
+
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96262
|
+
return __async(this, null, function* () {
|
|
96263
|
+
const task = this.task();
|
|
96264
|
+
const signature = this._signature();
|
|
96265
|
+
try {
|
|
96266
|
+
if (!task || !signature) {
|
|
96267
|
+
throw new Error("The filing is not ready yet. Please try again.");
|
|
96268
|
+
}
|
|
96269
|
+
this.isLoading.set(true);
|
|
96270
|
+
this.errors.set([]);
|
|
96271
|
+
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96272
|
+
const opts = this.validateOptions() ?? {};
|
|
96273
|
+
const context2 = {
|
|
96274
|
+
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96275
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode(task, signature.env),
|
|
96276
|
+
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96277
|
+
};
|
|
96278
|
+
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96279
|
+
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96280
|
+
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96281
|
+
if (this.hasResponseErrors(response))
|
|
96282
|
+
return;
|
|
96283
|
+
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96284
|
+
const draftPdf = response.Draft ?? "";
|
|
96285
|
+
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96286
|
+
if (draftPdf && searchOrFilingType) {
|
|
96287
|
+
this.filingValidateSuccess.emit({
|
|
96288
|
+
searchOrFilingType,
|
|
96289
|
+
serviceOrderId,
|
|
96290
|
+
validatedOn: /* @__PURE__ */ new Date(),
|
|
96291
|
+
provider: "obr",
|
|
96292
|
+
draftPdf,
|
|
96293
|
+
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96294
|
+
documentType: "pdf"
|
|
96295
|
+
});
|
|
96296
|
+
}
|
|
96297
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96298
|
+
serviceOrderId,
|
|
96299
|
+
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
96300
|
+
}));
|
|
96301
|
+
this.close.emit();
|
|
96302
|
+
} catch (response) {
|
|
96303
|
+
this.handleCatchError(response);
|
|
96304
|
+
} finally {
|
|
96305
|
+
this.isLoading.set(false);
|
|
96306
|
+
}
|
|
96307
|
+
});
|
|
96308
|
+
}
|
|
96309
|
+
/**
|
|
96310
|
+
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96311
|
+
*/
|
|
96312
|
+
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96313
|
+
const oldDeltaData = this.task()?.deltaData;
|
|
96314
|
+
if (oldDeltaData) {
|
|
96315
|
+
delete this.task()?.deltaData;
|
|
96316
|
+
}
|
|
96317
|
+
this.deltaDataChange.emit(deltaData);
|
|
96318
|
+
}
|
|
96319
|
+
/**
|
|
96320
|
+
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96321
|
+
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96322
|
+
*/
|
|
96323
|
+
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96324
|
+
return __async(this, null, function* () {
|
|
96325
|
+
const signature = this._signature();
|
|
96326
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96327
|
+
if (!signature || !serviceOrderId) {
|
|
96328
|
+
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96329
|
+
return;
|
|
96330
|
+
}
|
|
96331
|
+
try {
|
|
96332
|
+
this.isLoading.set(true);
|
|
96333
|
+
this.errors.set([]);
|
|
96334
|
+
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96335
|
+
this.close.emit();
|
|
96336
|
+
} catch (response) {
|
|
96337
|
+
this.handleCatchError(response);
|
|
96338
|
+
} finally {
|
|
96339
|
+
this.isLoading.set(false);
|
|
96340
|
+
}
|
|
96341
|
+
});
|
|
96342
|
+
}
|
|
94933
96343
|
/**
|
|
94934
96344
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
94935
96345
|
*/
|
|
@@ -95198,7 +96608,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95198
96608
|
this.errors.set(this.parseError(errors));
|
|
95199
96609
|
return;
|
|
95200
96610
|
}
|
|
95201
|
-
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
96611
|
+
const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
95202
96612
|
this.errors.set([fallbackMessage]);
|
|
95203
96613
|
}
|
|
95204
96614
|
onClose() {
|
|
@@ -95265,6 +96675,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95265
96675
|
let initialDelta;
|
|
95266
96676
|
if (isFormationTask2(task)) {
|
|
95267
96677
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
96678
|
+
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96679
|
+
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
95268
96680
|
} else if (isUpdateMaintain(task)) {
|
|
95269
96681
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
95270
96682
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -95298,6 +96710,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95298
96710
|
}
|
|
95299
96711
|
return federalPayload;
|
|
95300
96712
|
}
|
|
96713
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96714
|
+
return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96715
|
+
}
|
|
95301
96716
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
95302
96717
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
95303
96718
|
if (!serviceOrderId) {
|
|
@@ -95326,7 +96741,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95326
96741
|
if (rf & 2) {
|
|
95327
96742
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
95328
96743
|
}
|
|
95329
|
-
}, 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"
|
|
96744
|
+
}, 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"], [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", "coaValidate", "saveCoaDeltaData", "coaSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
95330
96745
|
if (rf & 1) {
|
|
95331
96746
|
const _r1 = \u0275\u0275getCurrentView();
|
|
95332
96747
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -95408,7 +96823,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95408
96823
|
[activeStep]="activeStep()"\r
|
|
95409
96824
|
[isNote]="dataWasChanged()"\r
|
|
95410
96825
|
[actionsDisabled]="isLoading()"\r
|
|
95411
|
-
[errors]="errors()"
|
|
96826
|
+
[errors]="errors()"\r
|
|
95412
96827
|
[prevData]="prevData()"\r
|
|
95413
96828
|
(close)="close.emit()"\r
|
|
95414
96829
|
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
@@ -95427,15 +96842,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95427
96842
|
[currentUser]="currentUser()"\r
|
|
95428
96843
|
[activeStep]="activeStep()"\r
|
|
95429
96844
|
[isNote]="dataWasChanged()"\r
|
|
95430
|
-
[actionsDisabled]="isLoading()"
|
|
95431
|
-
[errors]="errors()"
|
|
95432
|
-
[currentDataExtract]="currentDataExtract()"
|
|
96845
|
+
[actionsDisabled]="isLoading()"\r
|
|
96846
|
+
[errors]="errors()"\r
|
|
95433
96847
|
(close)="close.emit()"\r
|
|
95434
96848
|
(nextStep)="onNextStepClick()"\r
|
|
95435
96849
|
(prevStep)="onOntarioPrevStep()"\r
|
|
95436
96850
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95437
96851
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95438
96852
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
96853
|
+
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
96854
|
+
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
96855
|
+
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
95439
96856
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95440
96857
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95441
96858
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -95465,12 +96882,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95465
96882
|
</div>\r
|
|
95466
96883
|
}\r
|
|
95467
96884
|
</div>\r
|
|
95468
|
-
</div>\r
|
|
95469
|
-
`, 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'] }]
|
|
96885
|
+
</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'] }]
|
|
95470
96886
|
}], () => [], null);
|
|
95471
96887
|
})();
|
|
95472
96888
|
(() => {
|
|
95473
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
96889
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 93 });
|
|
95474
96890
|
})();
|
|
95475
96891
|
}
|
|
95476
96892
|
});
|
|
@@ -100116,7 +101532,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100116
101532
|
Currency: "Currency",
|
|
100117
101533
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
100118
101534
|
Unlimited: "Unlimited",
|
|
100119
|
-
"Without Par Value": "Without Par Value"
|
|
101535
|
+
"Without Par Value": "Without Par Value",
|
|
101536
|
+
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101537
|
+
"Records Office Address": "Records Office Address",
|
|
101538
|
+
"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.",
|
|
101539
|
+
"Current Mailing Address": "Current Mailing Address",
|
|
101540
|
+
"Current Delivery Address": "Current Delivery Address",
|
|
101541
|
+
"New Mailing Address": "New Mailing Address",
|
|
101542
|
+
"New Delivery Address": "New Delivery Address",
|
|
101543
|
+
"Same as Mailing Address": "Same as Mailing Address",
|
|
101544
|
+
"Same as Registered Office": "Same as Registered Office",
|
|
101545
|
+
"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."
|
|
100120
101546
|
};
|
|
100121
101547
|
}
|
|
100122
101548
|
});
|
|
@@ -100463,7 +101889,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100463
101889
|
Currency: "Devise",
|
|
100464
101890
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
100465
101891
|
Unlimited: "Illimit\xE9",
|
|
100466
|
-
"Without Par Value": "Sans valeur nominale"
|
|
101892
|
+
"Without Par Value": "Sans valeur nominale",
|
|
101893
|
+
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
101894
|
+
"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.",
|
|
101895
|
+
"Current Mailing Address": "Adresse postale actuelle",
|
|
101896
|
+
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
101897
|
+
"New Mailing Address": "Nouvelle adresse postale",
|
|
101898
|
+
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
101899
|
+
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
101900
|
+
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
101901
|
+
"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."
|
|
100467
101902
|
};
|
|
100468
101903
|
}
|
|
100469
101904
|
});
|