@dyedurham/search-and-file-widget 2.0.92 → 2.0.93
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 +393 -1814
- package/dyedurham-search-and-file-widget-2.0.93.tgz +0 -0
- package/package.json +11 -11
package/dnd-filing-shell.js
CHANGED
|
@@ -56266,7 +56266,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
56266
56266
|
TaskType2["Amendments"] = "Amendments";
|
|
56267
56267
|
TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
|
|
56268
56268
|
TaskType2["ChangeOfAddress"] = "Change of Address";
|
|
56269
|
-
TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
|
|
56270
56269
|
TaskType2["ChangeOfPrincipals"] = "Change of Principals";
|
|
56271
56270
|
TaskType2["RegistrationCompliance"] = "Registration Compliance";
|
|
56272
56271
|
TaskType2["Continuance"] = "Continuance";
|
|
@@ -57885,9 +57884,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57885
57884
|
|
|
57886
57885
|
// src/app/utils/common.utils.ts
|
|
57887
57886
|
function buildValidationError(httpStatus, r) {
|
|
57888
|
-
const msgs = (r.Errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57889
|
-
|
|
57890
|
-
return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
|
|
57887
|
+
const msgs = (r.Errors ?? r.errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57888
|
+
return new Error(msgs.length ? msgs.join(" | ") : "Validation failed.");
|
|
57891
57889
|
}
|
|
57892
57890
|
function joinUrl(base, path) {
|
|
57893
57891
|
const b = base.endsWith("/") ? base.slice(0, -1) : base;
|
|
@@ -58086,9 +58084,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58086
58084
|
function isChangeOfPrincipalsTask(task) {
|
|
58087
58085
|
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58088
58086
|
}
|
|
58089
|
-
function isChangeOfAddressTask(task) {
|
|
58090
|
-
return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
|
|
58091
|
-
}
|
|
58092
58087
|
function isBritishColumbiaTask(task) {
|
|
58093
58088
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58094
58089
|
}
|
|
@@ -58113,9 +58108,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58113
58108
|
if (!task) {
|
|
58114
58109
|
return void 0;
|
|
58115
58110
|
}
|
|
58116
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
58117
|
-
return "bcChangeOfAddress";
|
|
58118
|
-
}
|
|
58119
58111
|
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
|
|
58120
58112
|
if (isFormationTask2(task)) {
|
|
58121
58113
|
return `${prefix}Incorporation`;
|
|
@@ -58130,7 +58122,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58130
58122
|
return `${prefix}AnnualReturn`;
|
|
58131
58123
|
}
|
|
58132
58124
|
if (isChangeOfPrincipalsTask(task)) {
|
|
58133
|
-
return `${prefix}NoticeOfChangeOfDirectors`;
|
|
58125
|
+
return prefix === "bc" ? "bcChangeOfDirectors" : `${prefix}NoticeOfChangeOfDirectors`;
|
|
58134
58126
|
}
|
|
58135
58127
|
return void 0;
|
|
58136
58128
|
}
|
|
@@ -61010,10 +61002,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
61010
61002
|
this._inputElement.nativeElement.focus();
|
|
61011
61003
|
}
|
|
61012
61004
|
/** Creates the change event that will be emitted by the checkbox. */
|
|
61013
|
-
_createChangeEvent(
|
|
61005
|
+
_createChangeEvent(isChecked) {
|
|
61014
61006
|
const event = new MatCheckboxChange();
|
|
61015
61007
|
event.source = this;
|
|
61016
|
-
event.checked =
|
|
61008
|
+
event.checked = isChecked;
|
|
61017
61009
|
return event;
|
|
61018
61010
|
}
|
|
61019
61011
|
/** Gets the element on which to add the animation CSS classes. */
|
|
@@ -80569,7 +80561,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80569
80561
|
MatRadioButton,
|
|
80570
80562
|
TranslatePipe,
|
|
80571
80563
|
CheckboxListComponent
|
|
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 });
|
|
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 });
|
|
80573
80565
|
};
|
|
80574
80566
|
(() => {
|
|
80575
80567
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
|
|
@@ -80823,7 +80815,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80823
80815
|
}\r
|
|
80824
80816
|
</div>\r
|
|
80825
80817
|
</section>\r
|
|
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'] }]
|
|
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'] }]
|
|
80827
80819
|
}], () => [], { dismissOpenTooltip: [{
|
|
80828
80820
|
type: HostListener,
|
|
80829
80821
|
args: ["document:keydown.escape"]
|
|
@@ -81313,16 +81305,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81313
81305
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81314
81306
|
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81315
81307
|
bcFormationInitialDelta = signal(null);
|
|
81316
|
-
bcChangeOfOfficeAddressesInitialDelta = signal(null);
|
|
81317
81308
|
setFormationInitialDelta(delta) {
|
|
81318
81309
|
this.formationInitialDelta.set(delta);
|
|
81319
81310
|
}
|
|
81320
81311
|
setBCFormationInitialDelta(delta) {
|
|
81321
81312
|
this.bcFormationInitialDelta.set(delta);
|
|
81322
81313
|
}
|
|
81323
|
-
setBCChangeOfOfficeAddressesInitialDelta(delta) {
|
|
81324
|
-
this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
|
|
81325
|
-
}
|
|
81326
81314
|
setInitialReturnInitialDelta(delta) {
|
|
81327
81315
|
this.initialReturnInitialDelta.set(delta);
|
|
81328
81316
|
}
|
|
@@ -81342,7 +81330,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81342
81330
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81343
81331
|
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81344
81332
|
this.bcFormationInitialDelta.set(null);
|
|
81345
|
-
this.bcChangeOfOfficeAddressesInitialDelta.set(null);
|
|
81346
81333
|
}
|
|
81347
81334
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
81348
81335
|
return new (__ngFactoryType__ || _DeltaStateService)();
|
|
@@ -84150,7 +84137,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84150
84137
|
});
|
|
84151
84138
|
|
|
84152
84139
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
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,
|
|
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;
|
|
84154
84141
|
var init_BritishColumbiaConstants = __esm({
|
|
84155
84142
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84156
84143
|
init_app_enums();
|
|
@@ -84184,7 +84171,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84184
84171
|
};
|
|
84185
84172
|
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84186
84173
|
Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84187
|
-
|
|
84174
|
+
CANProvinces.BritishColumbia;
|
|
84188
84175
|
BC_DEFAULT_COUNTRY = "Canada";
|
|
84189
84176
|
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84190
84177
|
BC_PASSWORD_MIN_LENGTH = 8;
|
|
@@ -84203,7 +84190,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84203
84190
|
});
|
|
84204
84191
|
|
|
84205
84192
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84206
|
-
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls,
|
|
84193
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84207
84194
|
var init_british_columbia_form_enums = __esm({
|
|
84208
84195
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84209
84196
|
(function(BCChangeOfDirectorsFormControls2) {
|
|
@@ -84268,31 +84255,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84268
84255
|
BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
|
|
84269
84256
|
BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
|
|
84270
84257
|
})(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 = {}));
|
|
84296
84258
|
(function(BCFormationFormGroups2) {
|
|
84297
84259
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84298
84260
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
@@ -84367,7 +84329,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84367
84329
|
}
|
|
84368
84330
|
const password = request.password ?? "";
|
|
84369
84331
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84370
|
-
issues.push(`
|
|
84332
|
+
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Update the registry ID in Athennian.`);
|
|
84371
84333
|
}
|
|
84372
84334
|
return issues;
|
|
84373
84335
|
}
|
|
@@ -84759,14 +84721,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84759
84721
|
// Prefilled from the entity's Business Email when Athennian has one; otherwise the user
|
|
84760
84722
|
// enters it here (the API requires it).
|
|
84761
84723
|
[BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
|
|
84762
|
-
//
|
|
84763
|
-
//
|
|
84764
|
-
|
|
84765
|
-
|
|
84766
|
-
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
84767
|
-
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
84768
|
-
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
84769
|
-
]),
|
|
84724
|
+
// Not shown on screen: taken from the registry ID when it satisfies the BC password rule
|
|
84725
|
+
// (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
|
|
84726
|
+
// check (`findBCRequestIssues`) reports an unusable value.
|
|
84727
|
+
[BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id)),
|
|
84770
84728
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84771
84729
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84772
84730
|
});
|
|
@@ -84868,6 +84826,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84868
84826
|
})
|
|
84869
84827
|
});
|
|
84870
84828
|
}
|
|
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
|
+
}
|
|
84871
84838
|
static suggestPassword(registryId) {
|
|
84872
84839
|
const value = registryId?.trim() ?? "";
|
|
84873
84840
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
@@ -84911,7 +84878,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84911
84878
|
init_british_columbia_formation_form_helper();
|
|
84912
84879
|
Controls = BCChangeOfDirectorsFormControls;
|
|
84913
84880
|
BritishColumbiaChangeOfDirectorsFormHelper = class {
|
|
84914
|
-
static generateConfig(task, _translateFn) {
|
|
84881
|
+
static generateConfig(task, _translateFn, currentDataExtract) {
|
|
84915
84882
|
const affiliations = task.entity.affiliations ?? [];
|
|
84916
84883
|
const delta = task.deltaData;
|
|
84917
84884
|
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
@@ -84940,8 +84907,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84940
84907
|
]),
|
|
84941
84908
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84942
84909
|
});
|
|
84910
|
+
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
84943
84911
|
const directors = [
|
|
84944
|
-
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add)),
|
|
84912
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, currentDirectorKeys.has(this.getDirectorKey(a)) ? IRAffiliationType.Update : IRAffiliationType.Add)),
|
|
84945
84913
|
...outgoing.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Ceased))
|
|
84946
84914
|
];
|
|
84947
84915
|
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
@@ -84959,6 +84927,45 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84959
84927
|
});
|
|
84960
84928
|
return config2;
|
|
84961
84929
|
}
|
|
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
|
+
}
|
|
84962
84969
|
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber, savedClientMatterNumber) {
|
|
84963
84970
|
return new FormGroup({
|
|
84964
84971
|
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? savedClientMatterNumber ?? ""),
|
|
@@ -85018,6 +85025,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85018
85025
|
const postalAddress = director?.PostalAddress ?? director?.postalAddress;
|
|
85019
85026
|
const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
|
|
85020
85027
|
return [
|
|
85028
|
+
address.streetAddress,
|
|
85029
|
+
address.additionalStreetAddress,
|
|
85021
85030
|
address.Address1 ?? address.address1,
|
|
85022
85031
|
address.Address2 ?? address.address2,
|
|
85023
85032
|
address.Address3 ?? address.address3,
|
|
@@ -85034,119 +85043,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85034
85043
|
}
|
|
85035
85044
|
});
|
|
85036
85045
|
|
|
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
|
-
/** Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes). */
|
|
85116
|
-
static setOfficeAddressEnabled(group2, enabled) {
|
|
85117
|
-
if (!group2) {
|
|
85118
|
-
return;
|
|
85119
|
-
}
|
|
85120
|
-
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85121
|
-
const control = group2.get(name);
|
|
85122
|
-
enabled ? control?.enable({ emitEvent: false }) : control?.disable({ emitEvent: false });
|
|
85123
|
-
});
|
|
85124
|
-
group2.updateValueAndValidity({ emitEvent: false });
|
|
85125
|
-
}
|
|
85126
|
-
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85127
|
-
return new FormGroup({
|
|
85128
|
-
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85129
|
-
// `||`, not `??`: a draft saved with the field empty stores '' and must not hide the entity's number.
|
|
85130
|
-
deltaData?.referenceNumber || clientMatterNumber || ""
|
|
85131
|
-
),
|
|
85132
|
-
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85133
|
-
});
|
|
85134
|
-
}
|
|
85135
|
-
static readOnly(value) {
|
|
85136
|
-
return new FormControl({ value: value ?? "", disabled: true });
|
|
85137
|
-
}
|
|
85138
|
-
};
|
|
85139
|
-
}
|
|
85140
|
-
});
|
|
85141
|
-
|
|
85142
85046
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85143
|
-
var
|
|
85047
|
+
var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85144
85048
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85145
85049
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85146
85050
|
init_form_enums();
|
|
85147
85051
|
init_british_columbia_form_enums();
|
|
85148
85052
|
init_BritishColumbiaConstants();
|
|
85149
|
-
|
|
85053
|
+
Controls2 = BCChangeOfDirectorsFormControls;
|
|
85150
85054
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85151
85055
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85152
85056
|
type: FormType.Text,
|
|
@@ -85154,24 +85058,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85154
85058
|
class: className,
|
|
85155
85059
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85156
85060
|
});
|
|
85157
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85158
|
-
isNotifyByMail = (form) => form.get(
|
|
85061
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
|
|
85062
|
+
isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85159
85063
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85160
85064
|
{
|
|
85161
85065
|
type: FormType.Input,
|
|
85162
85066
|
label: "Client/Matter Number",
|
|
85163
|
-
formControlName:
|
|
85067
|
+
formControlName: Controls2.ClientMatterNumber
|
|
85164
85068
|
},
|
|
85165
85069
|
{
|
|
85166
85070
|
type: FormType.Input,
|
|
85167
85071
|
label: "Docket Number",
|
|
85168
|
-
formControlName:
|
|
85072
|
+
formControlName: Controls2.DocketNumber
|
|
85169
85073
|
}
|
|
85170
85074
|
];
|
|
85171
85075
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85172
|
-
readOnlyRow("Corporation Name",
|
|
85173
|
-
readOnlyRow("Incorporation Number",
|
|
85174
|
-
readOnlyRow("Company Email",
|
|
85076
|
+
readOnlyRow("Corporation Name", Controls2.CorporationName),
|
|
85077
|
+
readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
|
|
85078
|
+
readOnlyRow("Company Email", Controls2.CompanyEmail)
|
|
85175
85079
|
];
|
|
85176
85080
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85177
85081
|
{
|
|
@@ -85183,24 +85087,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85183
85087
|
{
|
|
85184
85088
|
type: FormType.Checkbox,
|
|
85185
85089
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85186
|
-
formControlName:
|
|
85090
|
+
formControlName: Controls2.DirectorsAddedOrDeleted,
|
|
85187
85091
|
class: "span-12",
|
|
85188
85092
|
onChange: (form) => {
|
|
85189
85093
|
if (!directorsAddedOrDeleted(form)) {
|
|
85190
|
-
form.get(
|
|
85094
|
+
form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85191
85095
|
}
|
|
85192
|
-
form.get(
|
|
85096
|
+
form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85193
85097
|
}
|
|
85194
85098
|
},
|
|
85195
85099
|
{
|
|
85196
85100
|
type: FormType.Date,
|
|
85197
85101
|
label: "Date Directors were added or deleted",
|
|
85198
|
-
formControlName:
|
|
85102
|
+
formControlName: Controls2.ChangeDate,
|
|
85199
85103
|
required: true,
|
|
85200
85104
|
isVisible: directorsAddedOrDeleted,
|
|
85201
85105
|
class: "span-8"
|
|
85202
85106
|
},
|
|
85203
|
-
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee",
|
|
85107
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
|
|
85204
85108
|
isVisible: directorsAddedOrDeleted
|
|
85205
85109
|
}),
|
|
85206
85110
|
{
|
|
@@ -85211,43 +85115,35 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85211
85115
|
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.")
|
|
85212
85116
|
}
|
|
85213
85117
|
];
|
|
85214
|
-
generateBCChangeOfDirectorsIntroFields = (registerAsOf) => [
|
|
85215
|
-
{
|
|
85216
|
-
type: FormType.Text,
|
|
85217
|
-
formControlName: "",
|
|
85218
|
-
class: "span-12",
|
|
85219
|
-
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)
|
|
85220
|
-
}
|
|
85221
|
-
];
|
|
85222
85118
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85223
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85224
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85119
|
+
readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
|
|
85120
|
+
readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
|
|
85225
85121
|
];
|
|
85226
85122
|
[
|
|
85227
85123
|
{
|
|
85228
85124
|
type: FormType.Select,
|
|
85229
85125
|
label: "Notification Method",
|
|
85230
|
-
formControlName:
|
|
85126
|
+
formControlName: Controls2.NotificationMethod,
|
|
85231
85127
|
required: true,
|
|
85232
85128
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85233
85129
|
needTranslate: true,
|
|
85234
85130
|
class: "span-6",
|
|
85235
|
-
onChange: (form) => form.get(
|
|
85131
|
+
onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85236
85132
|
},
|
|
85237
85133
|
{
|
|
85238
85134
|
type: FormType.Input,
|
|
85239
85135
|
label: "Notification Email",
|
|
85240
|
-
formControlName:
|
|
85136
|
+
formControlName: Controls2.NotificationEmail,
|
|
85241
85137
|
required: true,
|
|
85242
85138
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85243
85139
|
class: "column-3"
|
|
85244
85140
|
},
|
|
85245
85141
|
{
|
|
85246
85142
|
type: FormType.Text,
|
|
85247
|
-
formControlName:
|
|
85143
|
+
formControlName: Controls2.NotificationMailingAddress,
|
|
85248
85144
|
class: "span-12",
|
|
85249
85145
|
isVisible: isNotifyByMail,
|
|
85250
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85146
|
+
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls2.NotificationMailingAddress)?.value || t("Not specified")})`
|
|
85251
85147
|
}
|
|
85252
85148
|
];
|
|
85253
85149
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85260,7 +85156,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85260
85156
|
{
|
|
85261
85157
|
type: FormType.Select,
|
|
85262
85158
|
label: "Annual Report Reminder",
|
|
85263
|
-
formControlName:
|
|
85159
|
+
formControlName: Controls2.AnnualReportReminder,
|
|
85264
85160
|
required: true,
|
|
85265
85161
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85266
85162
|
needTranslate: true,
|
|
@@ -85292,7 +85188,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85292
85188
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85293
85189
|
if (rf & 1) {
|
|
85294
85190
|
const _r2 = \u0275\u0275getCurrentView();
|
|
85295
|
-
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group",
|
|
85191
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 10);
|
|
85296
85192
|
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85297
85193
|
\u0275\u0275restoreView(_r2);
|
|
85298
85194
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85310,7 +85206,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85310
85206
|
}
|
|
85311
85207
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85312
85208
|
if (rf & 1) {
|
|
85313
|
-
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div",
|
|
85209
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 11)(2, "p")(3, "strong");
|
|
85314
85210
|
\u0275\u0275text(4);
|
|
85315
85211
|
\u0275\u0275pipe(5, "translate");
|
|
85316
85212
|
\u0275\u0275elementEnd();
|
|
@@ -85353,13 +85249,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85353
85249
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85354
85250
|
if (rf & 1) {
|
|
85355
85251
|
const _r7 = \u0275\u0275getCurrentView();
|
|
85356
|
-
\u0275\u0275elementStart(0, "div",
|
|
85252
|
+
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "label");
|
|
85357
85253
|
\u0275\u0275text(3);
|
|
85358
85254
|
\u0275\u0275pipe(4, "translate");
|
|
85359
85255
|
\u0275\u0275elementStart(5, "span");
|
|
85360
85256
|
\u0275\u0275text(6, "*");
|
|
85361
85257
|
\u0275\u0275elementEnd()();
|
|
85362
|
-
\u0275\u0275elementStart(7, "mat-form-field",
|
|
85258
|
+
\u0275\u0275elementStart(7, "mat-form-field", 17)(8, "input", 18);
|
|
85363
85259
|
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
|
|
85364
85260
|
\u0275\u0275restoreView(_r7);
|
|
85365
85261
|
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
@@ -85371,21 +85267,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85371
85267
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85372
85268
|
});
|
|
85373
85269
|
\u0275\u0275elementEnd();
|
|
85374
|
-
\u0275\u0275elementStart(9, "button",
|
|
85270
|
+
\u0275\u0275elementStart(9, "button", 19);
|
|
85375
85271
|
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
|
|
85376
85272
|
\u0275\u0275restoreView(_r7);
|
|
85377
85273
|
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85378
85274
|
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85379
85275
|
});
|
|
85380
|
-
\u0275\u0275element(10, "span",
|
|
85276
|
+
\u0275\u0275element(10, "span", 20);
|
|
85381
85277
|
\u0275\u0275elementEnd();
|
|
85382
85278
|
\u0275\u0275element(11, "mat-datepicker", null, 0);
|
|
85383
85279
|
\u0275\u0275elementEnd();
|
|
85384
|
-
\u0275\u0275elementStart(13, "p",
|
|
85280
|
+
\u0275\u0275elementStart(13, "p", 21);
|
|
85385
85281
|
\u0275\u0275text(14);
|
|
85386
85282
|
\u0275\u0275pipe(15, "translate");
|
|
85387
85283
|
\u0275\u0275elementEnd()();
|
|
85388
|
-
\u0275\u0275elementStart(16, "p",
|
|
85284
|
+
\u0275\u0275elementStart(16, "p", 22)(17, "strong");
|
|
85389
85285
|
\u0275\u0275text(18);
|
|
85390
85286
|
\u0275\u0275pipe(19, "translate");
|
|
85391
85287
|
\u0275\u0275elementEnd();
|
|
@@ -85412,14 +85308,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85412
85308
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85413
85309
|
if (rf & 1) {
|
|
85414
85310
|
const _r5 = \u0275\u0275getCurrentView();
|
|
85415
|
-
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div",
|
|
85311
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 12)(2, "div", 13)(3, "strong");
|
|
85416
85312
|
\u0275\u0275text(4);
|
|
85417
85313
|
\u0275\u0275pipe(5, "translate");
|
|
85418
85314
|
\u0275\u0275elementEnd();
|
|
85419
85315
|
\u0275\u0275text(6);
|
|
85420
85316
|
\u0275\u0275pipe(7, "translate");
|
|
85421
85317
|
\u0275\u0275elementEnd();
|
|
85422
|
-
\u0275\u0275elementStart(8, "mat-checkbox",
|
|
85318
|
+
\u0275\u0275elementStart(8, "mat-checkbox", 14);
|
|
85423
85319
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85424
85320
|
let tmp_7_0;
|
|
85425
85321
|
let tmp_8_0;
|
|
@@ -85433,7 +85329,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85433
85329
|
\u0275\u0275text(9);
|
|
85434
85330
|
\u0275\u0275pipe(10, "translate");
|
|
85435
85331
|
\u0275\u0275elementEnd();
|
|
85436
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div",
|
|
85332
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 21, 12, "div", 15);
|
|
85437
85333
|
\u0275\u0275elementEnd()();
|
|
85438
85334
|
}
|
|
85439
85335
|
if (rf & 2) {
|
|
@@ -85455,9 +85351,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85455
85351
|
\u0275\u0275conditional(((tmp_14_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_14_0.value) ? 11 : -1);
|
|
85456
85352
|
}
|
|
85457
85353
|
}
|
|
85458
|
-
function
|
|
85354
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85459
85355
|
if (rf & 1) {
|
|
85460
|
-
\u0275\u0275elementStart(0, "span",
|
|
85356
|
+
\u0275\u0275elementStart(0, "span", 27);
|
|
85461
85357
|
\u0275\u0275text(1);
|
|
85462
85358
|
\u0275\u0275pipe(2, "translate");
|
|
85463
85359
|
\u0275\u0275elementEnd();
|
|
@@ -85467,9 +85363,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85467
85363
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "NEW"));
|
|
85468
85364
|
}
|
|
85469
85365
|
}
|
|
85470
|
-
function
|
|
85366
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85471
85367
|
if (rf & 1) {
|
|
85472
|
-
\u0275\u0275elementStart(0, "span",
|
|
85368
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85473
85369
|
\u0275\u0275text(1);
|
|
85474
85370
|
\u0275\u0275pipe(2, "translate");
|
|
85475
85371
|
\u0275\u0275elementEnd();
|
|
@@ -85479,17 +85375,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85479
85375
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "CEASE"));
|
|
85480
85376
|
}
|
|
85481
85377
|
}
|
|
85482
|
-
function
|
|
85378
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
|
|
85483
85379
|
if (rf & 1) {
|
|
85484
|
-
\u0275\u0275elementStart(0, "div",
|
|
85380
|
+
\u0275\u0275elementStart(0, "div", 25)(1, "div", 26)(2, "strong");
|
|
85485
85381
|
\u0275\u0275text(3);
|
|
85486
85382
|
\u0275\u0275elementEnd();
|
|
85487
|
-
\u0275\u0275template(4,
|
|
85383
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 27)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 28);
|
|
85488
85384
|
\u0275\u0275elementEnd();
|
|
85489
|
-
\u0275\u0275elementStart(6, "div",
|
|
85385
|
+
\u0275\u0275elementStart(6, "div", 26);
|
|
85490
85386
|
\u0275\u0275text(7);
|
|
85491
85387
|
\u0275\u0275elementEnd();
|
|
85492
|
-
\u0275\u0275elementStart(8, "div",
|
|
85388
|
+
\u0275\u0275elementStart(8, "div", 26);
|
|
85493
85389
|
\u0275\u0275text(9);
|
|
85494
85390
|
\u0275\u0275elementEnd()();
|
|
85495
85391
|
}
|
|
@@ -85512,33 +85408,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85512
85408
|
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85513
85409
|
}
|
|
85514
85410
|
}
|
|
85515
|
-
function
|
|
85411
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
|
|
85516
85412
|
if (rf & 1) {
|
|
85517
85413
|
\u0275\u0275declareLet(0);
|
|
85518
|
-
\u0275\u0275template(1,
|
|
85414
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 25);
|
|
85519
85415
|
}
|
|
85520
85416
|
if (rf & 2) {
|
|
85521
|
-
const \u0275$
|
|
85522
|
-
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$
|
|
85417
|
+
const \u0275$index_115_r10 = ctx.$index;
|
|
85418
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_115_r10));
|
|
85523
85419
|
\u0275\u0275advance();
|
|
85524
85420
|
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85525
85421
|
}
|
|
85526
85422
|
}
|
|
85527
|
-
function
|
|
85423
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
|
|
85528
85424
|
if (rf & 1) {
|
|
85529
|
-
\u0275\u0275elementStart(0, "div",
|
|
85425
|
+
\u0275\u0275elementStart(0, "div", 8)(1, "div", 23)(2, "div", 24);
|
|
85530
85426
|
\u0275\u0275text(3);
|
|
85531
85427
|
\u0275\u0275pipe(4, "translate");
|
|
85532
85428
|
\u0275\u0275elementEnd();
|
|
85533
|
-
\u0275\u0275elementStart(5, "div",
|
|
85429
|
+
\u0275\u0275elementStart(5, "div", 24);
|
|
85534
85430
|
\u0275\u0275text(6);
|
|
85535
85431
|
\u0275\u0275pipe(7, "translate");
|
|
85536
85432
|
\u0275\u0275elementEnd();
|
|
85537
|
-
\u0275\u0275elementStart(8, "div",
|
|
85433
|
+
\u0275\u0275elementStart(8, "div", 24);
|
|
85538
85434
|
\u0275\u0275text(9);
|
|
85539
85435
|
\u0275\u0275pipe(10, "translate");
|
|
85540
85436
|
\u0275\u0275elementEnd()();
|
|
85541
|
-
\u0275\u0275repeaterCreate(11,
|
|
85437
|
+
\u0275\u0275repeaterCreate(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template, 2, 2, null, null, \u0275\u0275repeaterTrackByIdentity);
|
|
85542
85438
|
\u0275\u0275elementEnd();
|
|
85543
85439
|
}
|
|
85544
85440
|
if (rf & 2) {
|
|
@@ -85554,9 +85450,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85554
85450
|
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85555
85451
|
}
|
|
85556
85452
|
}
|
|
85557
|
-
function
|
|
85453
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85558
85454
|
if (rf & 1) {
|
|
85559
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85455
|
+
\u0275\u0275elementStart(0, "h2", 9);
|
|
85560
85456
|
\u0275\u0275text(1);
|
|
85561
85457
|
\u0275\u0275pipe(2, "translate");
|
|
85562
85458
|
\u0275\u0275elementEnd();
|
|
@@ -85566,32 +85462,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85566
85462
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "Unchanged"));
|
|
85567
85463
|
}
|
|
85568
85464
|
}
|
|
85569
|
-
function
|
|
85465
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85570
85466
|
if (rf & 1) {
|
|
85571
85467
|
const _r13 = \u0275\u0275getCurrentView();
|
|
85572
|
-
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div",
|
|
85468
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 29)(2, "p");
|
|
85573
85469
|
\u0275\u0275text(3);
|
|
85574
85470
|
\u0275\u0275pipe(4, "translate");
|
|
85575
85471
|
\u0275\u0275elementEnd();
|
|
85576
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85577
|
-
\u0275\u0275listener("change", function
|
|
85472
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 30);
|
|
85473
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
|
|
85578
85474
|
\u0275\u0275restoreView(_r13);
|
|
85579
85475
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85580
|
-
const annualReportReminder_r14 = \u0275\u0275readContextLet(
|
|
85476
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85581
85477
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
|
|
85582
85478
|
});
|
|
85583
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85479
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 31);
|
|
85584
85480
|
\u0275\u0275text(7);
|
|
85585
85481
|
\u0275\u0275pipe(8, "translate");
|
|
85586
85482
|
\u0275\u0275elementEnd();
|
|
85587
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85483
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 31);
|
|
85588
85484
|
\u0275\u0275text(10);
|
|
85589
85485
|
\u0275\u0275pipe(11, "translate");
|
|
85590
85486
|
\u0275\u0275elementEnd()()()();
|
|
85591
85487
|
}
|
|
85592
85488
|
if (rf & 2) {
|
|
85593
85489
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85594
|
-
const annualReportReminder_r14 = \u0275\u0275readContextLet(
|
|
85490
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(14);
|
|
85595
85491
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85596
85492
|
\u0275\u0275advance();
|
|
85597
85493
|
\u0275\u0275property("formGroup", annualReportReminder_r14);
|
|
@@ -85646,10 +85542,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85646
85542
|
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85647
85543
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85648
85544
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85649
|
-
directorsIntroFields = computed(() => {
|
|
85650
|
-
const date = this.form().get(this.groups.Notification)?.get(this.controls.RegisterAsOfDate)?.value ?? "";
|
|
85651
|
-
return generateBCChangeOfDirectorsIntroFields(date);
|
|
85652
|
-
});
|
|
85653
85545
|
initiallyOpenCardsCount = 3;
|
|
85654
85546
|
sectionValidity = {};
|
|
85655
85547
|
isVisiblyValid() {
|
|
@@ -85684,7 +85576,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85684
85576
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85685
85577
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85686
85578
|
};
|
|
85687
|
-
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:
|
|
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: 16, vars: 14, consts: [["changeDatePicker", ""], [1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], ["appearance", "outline"], ["matInput", "", "placeholder", "dd/mm/yyyy", "readonly", "", 3, "click", "dateChange", "matDatepicker", "formControlName"], ["type", "button", "aria-label", "Open date picker", 1, "calendar-trigger", 3, "click"], ["aria-hidden", "true", 1, "calendar-icon"], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85688
85580
|
if (rf & 1) {
|
|
85689
85581
|
\u0275\u0275elementStart(0, "div", 1);
|
|
85690
85582
|
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
@@ -85697,11 +85589,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85697
85589
|
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85698
85590
|
\u0275\u0275declareLet(10);
|
|
85699
85591
|
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85700
|
-
\u0275\
|
|
85701
|
-
\u0275\u0275template(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 13, 9, "div", 9)(14, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template, 3, 3, "h2", 10);
|
|
85592
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 8)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 9);
|
|
85702
85593
|
\u0275\u0275elementEnd();
|
|
85703
|
-
\u0275\u0275declareLet(
|
|
85704
|
-
\u0275\u0275template(
|
|
85594
|
+
\u0275\u0275declareLet(14);
|
|
85595
|
+
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 7);
|
|
85705
85596
|
\u0275\u0275elementEnd()();
|
|
85706
85597
|
}
|
|
85707
85598
|
if (rf & 2) {
|
|
@@ -85726,13 +85617,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85726
85617
|
\u0275\u0275advance();
|
|
85727
85618
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85728
85619
|
\u0275\u0275advance();
|
|
85729
|
-
\u0275\
|
|
85730
|
-
\u0275\u0275advance();
|
|
85731
|
-
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 13 : 14);
|
|
85620
|
+
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 12 : 13);
|
|
85732
85621
|
\u0275\u0275advance(2);
|
|
85733
85622
|
const annualReportReminder_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85734
85623
|
\u0275\u0275advance();
|
|
85735
|
-
\u0275\u0275conditional(annualReportReminder_r19 ?
|
|
85624
|
+
\u0275\u0275conditional(annualReportReminder_r19 ? 15 : -1);
|
|
85736
85625
|
}
|
|
85737
85626
|
}, dependencies: [
|
|
85738
85627
|
FilingFormGroupComponent,
|
|
@@ -85901,14 +85790,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85901
85790
|
\r
|
|
85902
85791
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85903
85792
|
\r
|
|
85904
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.Directors"
|
|
85905
|
-
|
|
85906
|
-
[isSubmitted]="isSubmitted()"\r
|
|
85907
|
-
[form]="form()"\r
|
|
85908
|
-
[config]="directorsIntroFields()"\r
|
|
85909
|
-
/>\r
|
|
85910
|
-
\r
|
|
85911
|
-
@if (directorsArray && directorsArray.length) {\r
|
|
85793
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">
|
|
85794
|
+
@if (directorsArray && directorsArray.length) {
|
|
85912
85795
|
<div class="directors-table" role="table">\r
|
|
85913
85796
|
<div class="directors-table-header" role="row">\r
|
|
85914
85797
|
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
@@ -85975,7 +85858,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85975
85858
|
}], null, null);
|
|
85976
85859
|
})();
|
|
85977
85860
|
(() => {
|
|
85978
|
-
(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:
|
|
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: 59 });
|
|
85979
85862
|
})();
|
|
85980
85863
|
}
|
|
85981
85864
|
});
|
|
@@ -86283,27 +86166,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86283
86166
|
dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
|
|
86284
86167
|
},
|
|
86285
86168
|
{
|
|
86286
|
-
|
|
86287
|
-
|
|
86169
|
+
// Options are filled per task from `task.entity.emailOptions` by the incorporation form.
|
|
86170
|
+
type: FormType.Select,
|
|
86288
86171
|
label: "Company Email",
|
|
86289
86172
|
formControlName: BCFormationFormControls.CompanyEmail,
|
|
86290
86173
|
required: true,
|
|
86291
|
-
|
|
86292
|
-
errorMessage: "Enter a valid email address",
|
|
86293
|
-
showRequiredMessage: true,
|
|
86294
|
-
class: "span-6"
|
|
86295
|
-
},
|
|
86296
|
-
{
|
|
86297
|
-
type: FormType.Input,
|
|
86298
|
-
inputType: "password",
|
|
86299
|
-
label: "Company Password",
|
|
86300
|
-
formControlName: BCFormationFormControls.CompanyPassword,
|
|
86301
|
-
required: true,
|
|
86302
|
-
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
86303
|
-
errorMessage: "Company Password must be 8 to 15 characters",
|
|
86304
|
-
showRequiredMessage: true,
|
|
86174
|
+
options: [],
|
|
86305
86175
|
class: "span-6"
|
|
86306
86176
|
}
|
|
86177
|
+
// The company password is not shown: it is taken from the entity's registry ID.
|
|
86307
86178
|
];
|
|
86308
86179
|
BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
|
|
86309
86180
|
{
|
|
@@ -86662,7 +86533,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86662
86533
|
const corporationDetails_r11 = \u0275\u0275readContextLet(6);
|
|
86663
86534
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
|
|
86664
86535
|
\u0275\u0275advance(2);
|
|
86665
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
|
|
86536
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields());
|
|
86666
86537
|
\u0275\u0275advance(2);
|
|
86667
86538
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
|
|
86668
86539
|
\u0275\u0275advance(2);
|
|
@@ -86897,7 +86768,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86897
86768
|
groups = BCFormationFormGroups;
|
|
86898
86769
|
controls = BCFormationFormControls;
|
|
86899
86770
|
referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
86900
|
-
|
|
86771
|
+
/** Corporation Details fields, with the Company Email dropdown filled from the task. */
|
|
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
|
+
});
|
|
86901
86777
|
nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
|
|
86902
86778
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
86903
86779
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
@@ -87087,7 +86963,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87087
86963
|
<filing-form-group\r
|
|
87088
86964
|
[isSubmitted]="isSubmitted()"\r
|
|
87089
86965
|
[form]="corporationDetails"\r
|
|
87090
|
-
[config]="corporationDetailsFields"\r
|
|
86966
|
+
[config]="corporationDetailsFields()"\r
|
|
87091
86967
|
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
87092
86968
|
/>\r
|
|
87093
86969
|
\r
|
|
@@ -87508,889 +87384,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87508
87384
|
}
|
|
87509
87385
|
});
|
|
87510
87386
|
|
|
87511
|
-
// src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
|
|
87512
|
-
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;
|
|
87513
|
-
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87514
|
-
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87515
|
-
init_form_enums();
|
|
87516
|
-
init_british_columbia_form_enums();
|
|
87517
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87518
|
-
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87519
|
-
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87520
|
-
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87521
|
-
type: FormType.Text,
|
|
87522
|
-
formControlName: control,
|
|
87523
|
-
class: className,
|
|
87524
|
-
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87525
|
-
});
|
|
87526
|
-
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87527
|
-
addressGroup = (form, control) => form.get(control);
|
|
87528
|
-
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87529
|
-
{
|
|
87530
|
-
type: FormType.Input,
|
|
87531
|
-
label: "Client/Matter Number",
|
|
87532
|
-
formControlName: Controls4.ClientMatterNumber
|
|
87533
|
-
},
|
|
87534
|
-
{
|
|
87535
|
-
type: FormType.Input,
|
|
87536
|
-
label: "Docket Number",
|
|
87537
|
-
formControlName: Controls4.DocketNumber
|
|
87538
|
-
}
|
|
87539
|
-
];
|
|
87540
|
-
effectiveDateNote = {
|
|
87541
|
-
type: FormType.Text,
|
|
87542
|
-
formControlName: "",
|
|
87543
|
-
class: "span-12 note-box",
|
|
87544
|
-
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.")}`
|
|
87545
|
-
};
|
|
87546
|
-
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
87547
|
-
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87548
|
-
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87549
|
-
readOnlyRow2("Company Email", Controls4.CompanyEmail),
|
|
87550
|
-
effectiveDateNote
|
|
87551
|
-
];
|
|
87552
|
-
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87553
|
-
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87554
|
-
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87555
|
-
];
|
|
87556
|
-
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87557
|
-
{
|
|
87558
|
-
type: FormType.Input,
|
|
87559
|
-
label: "Address Line 1",
|
|
87560
|
-
formControlName: Controls4.AddressLine1,
|
|
87561
|
-
required: true,
|
|
87562
|
-
class: "span-6"
|
|
87563
|
-
},
|
|
87564
|
-
{
|
|
87565
|
-
type: FormType.Input,
|
|
87566
|
-
label: "Address Line 2",
|
|
87567
|
-
formControlName: Controls4.AddressLine2,
|
|
87568
|
-
class: "span-6"
|
|
87569
|
-
},
|
|
87570
|
-
{
|
|
87571
|
-
type: FormType.Input,
|
|
87572
|
-
label: "City",
|
|
87573
|
-
formControlName: Controls4.City,
|
|
87574
|
-
required: true,
|
|
87575
|
-
class: "span-6"
|
|
87576
|
-
},
|
|
87577
|
-
{
|
|
87578
|
-
type: FormType.Input,
|
|
87579
|
-
label: "Postal Code",
|
|
87580
|
-
formControlName: Controls4.PostalCode,
|
|
87581
|
-
required: true,
|
|
87582
|
-
class: "span-6"
|
|
87583
|
-
},
|
|
87584
|
-
{
|
|
87585
|
-
type: FormType.Input,
|
|
87586
|
-
label: "Province",
|
|
87587
|
-
formControlName: Controls4.Province,
|
|
87588
|
-
readonly: true,
|
|
87589
|
-
class: "span-6"
|
|
87590
|
-
},
|
|
87591
|
-
{
|
|
87592
|
-
type: FormType.Input,
|
|
87593
|
-
label: "Country",
|
|
87594
|
-
formControlName: Controls4.Country,
|
|
87595
|
-
readonly: true,
|
|
87596
|
-
class: "span-6"
|
|
87597
|
-
}
|
|
87598
|
-
];
|
|
87599
|
-
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87600
|
-
{
|
|
87601
|
-
type: FormType.Text,
|
|
87602
|
-
formControlName: "",
|
|
87603
|
-
class: "span-12",
|
|
87604
|
-
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.")
|
|
87605
|
-
}
|
|
87606
|
-
];
|
|
87607
|
-
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87608
|
-
{
|
|
87609
|
-
type: FormType.Checkbox,
|
|
87610
|
-
label: "Same as Mailing Address",
|
|
87611
|
-
formControlName: Controls4.DeliverySameAsMailing,
|
|
87612
|
-
class: "span-12",
|
|
87613
|
-
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87614
|
-
}
|
|
87615
|
-
];
|
|
87616
|
-
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87617
|
-
{
|
|
87618
|
-
type: FormType.Checkbox,
|
|
87619
|
-
label: "Same as Registered Office",
|
|
87620
|
-
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87621
|
-
class: "span-12",
|
|
87622
|
-
onChange: (form) => {
|
|
87623
|
-
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87624
|
-
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87625
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87626
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87627
|
-
}
|
|
87628
|
-
}
|
|
87629
|
-
];
|
|
87630
|
-
}
|
|
87631
|
-
});
|
|
87632
|
-
|
|
87633
|
-
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87634
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87635
|
-
if (rf & 1) {
|
|
87636
|
-
\u0275\u0275element(0, "alert", 1);
|
|
87637
|
-
}
|
|
87638
|
-
if (rf & 2) {
|
|
87639
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87640
|
-
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87641
|
-
}
|
|
87642
|
-
}
|
|
87643
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87644
|
-
if (rf & 1) {
|
|
87645
|
-
\u0275\u0275element(0, "alert", 2);
|
|
87646
|
-
}
|
|
87647
|
-
if (rf & 2) {
|
|
87648
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87649
|
-
\u0275\u0275property("content", ctx_r0.errors());
|
|
87650
|
-
}
|
|
87651
|
-
}
|
|
87652
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87653
|
-
if (rf & 1) {
|
|
87654
|
-
const _r2 = \u0275\u0275getCurrentView();
|
|
87655
|
-
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87656
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87657
|
-
\u0275\u0275restoreView(_r2);
|
|
87658
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87659
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
87660
|
-
});
|
|
87661
|
-
\u0275\u0275elementEnd()();
|
|
87662
|
-
}
|
|
87663
|
-
if (rf & 2) {
|
|
87664
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87665
|
-
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
87666
|
-
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87667
|
-
\u0275\u0275advance();
|
|
87668
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87669
|
-
}
|
|
87670
|
-
}
|
|
87671
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
|
|
87672
|
-
if (rf & 1) {
|
|
87673
|
-
\u0275\u0275elementStart(0, "expandable-card", 5);
|
|
87674
|
-
\u0275\u0275element(1, "filing-form-group", 8);
|
|
87675
|
-
\u0275\u0275elementEnd();
|
|
87676
|
-
}
|
|
87677
|
-
if (rf & 2) {
|
|
87678
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87679
|
-
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
87680
|
-
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
87681
|
-
\u0275\u0275advance();
|
|
87682
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r4)("config", ctx_r0.corporationDetailsFields);
|
|
87683
|
-
}
|
|
87684
|
-
}
|
|
87685
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87686
|
-
if (rf & 1) {
|
|
87687
|
-
const _r6 = \u0275\u0275getCurrentView();
|
|
87688
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87689
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87690
|
-
\u0275\u0275restoreView(_r6);
|
|
87691
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87692
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87693
|
-
});
|
|
87694
|
-
\u0275\u0275elementEnd();
|
|
87695
|
-
}
|
|
87696
|
-
if (rf & 2) {
|
|
87697
|
-
\u0275\u0275nextContext();
|
|
87698
|
-
const registeredMailing_r7 = \u0275\u0275readContextLet(0);
|
|
87699
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87700
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r7)("config", ctx_r0.addressFields);
|
|
87701
|
-
}
|
|
87702
|
-
}
|
|
87703
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87704
|
-
if (rf & 1) {
|
|
87705
|
-
const _r8 = \u0275\u0275getCurrentView();
|
|
87706
|
-
\u0275\u0275element(0, "filing-form-group", 8);
|
|
87707
|
-
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87708
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87709
|
-
\u0275\u0275restoreView(_r8);
|
|
87710
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87711
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87712
|
-
});
|
|
87713
|
-
\u0275\u0275elementEnd();
|
|
87714
|
-
}
|
|
87715
|
-
if (rf & 2) {
|
|
87716
|
-
\u0275\u0275nextContext();
|
|
87717
|
-
const registeredDelivery_r9 = \u0275\u0275readContextLet(1);
|
|
87718
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87719
|
-
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87720
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliveryNoteFields);
|
|
87721
|
-
\u0275\u0275advance();
|
|
87722
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r9)("config", ctx_r0.addressFields);
|
|
87723
|
-
}
|
|
87724
|
-
}
|
|
87725
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87726
|
-
if (rf & 1) {
|
|
87727
|
-
const _r5 = \u0275\u0275getCurrentView();
|
|
87728
|
-
\u0275\u0275declareLet(0)(1)(2);
|
|
87729
|
-
\u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 9);
|
|
87730
|
-
\u0275\u0275element(5, "filing-form-group", 8);
|
|
87731
|
-
\u0275\u0275elementStart(6, "h4", 10);
|
|
87732
|
-
\u0275\u0275text(7);
|
|
87733
|
-
\u0275\u0275pipe(8, "translate");
|
|
87734
|
-
\u0275\u0275elementEnd();
|
|
87735
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 8);
|
|
87736
|
-
\u0275\u0275elementStart(10, "h4", 10);
|
|
87737
|
-
\u0275\u0275text(11);
|
|
87738
|
-
\u0275\u0275pipe(12, "translate");
|
|
87739
|
-
\u0275\u0275elementEnd();
|
|
87740
|
-
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87741
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87742
|
-
\u0275\u0275restoreView(_r5);
|
|
87743
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87744
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87745
|
-
});
|
|
87746
|
-
\u0275\u0275elementEnd();
|
|
87747
|
-
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87748
|
-
\u0275\u0275elementEnd()();
|
|
87749
|
-
}
|
|
87750
|
-
if (rf & 2) {
|
|
87751
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87752
|
-
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87753
|
-
const registeredMailing_r11 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewMailingAddress));
|
|
87754
|
-
\u0275\u0275advance();
|
|
87755
|
-
const registeredDelivery_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewDeliveryAddress));
|
|
87756
|
-
const registeredDeliverySame_r13 = ctx_r0.isChecked(registeredOffice_r10, ctx_r0.controls.DeliverySameAsMailing);
|
|
87757
|
-
\u0275\u0275advance(2);
|
|
87758
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87759
|
-
\u0275\u0275advance(2);
|
|
87760
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.currentAddressesFields);
|
|
87761
|
-
\u0275\u0275advance(2);
|
|
87762
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87763
|
-
\u0275\u0275advance(2);
|
|
87764
|
-
\u0275\u0275conditional(registeredMailing_r11 ? 9 : -1);
|
|
87765
|
-
\u0275\u0275advance(2);
|
|
87766
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87767
|
-
\u0275\u0275advance(2);
|
|
87768
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87769
|
-
\u0275\u0275advance();
|
|
87770
|
-
\u0275\u0275conditional(!registeredDeliverySame_r13 && registeredDelivery_r12 ? 14 : -1);
|
|
87771
|
-
}
|
|
87772
|
-
}
|
|
87773
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87774
|
-
if (rf & 1) {
|
|
87775
|
-
const _r16 = \u0275\u0275getCurrentView();
|
|
87776
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87777
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87778
|
-
\u0275\u0275restoreView(_r16);
|
|
87779
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87780
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87781
|
-
});
|
|
87782
|
-
\u0275\u0275elementEnd();
|
|
87783
|
-
}
|
|
87784
|
-
if (rf & 2) {
|
|
87785
|
-
\u0275\u0275nextContext(2);
|
|
87786
|
-
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87787
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87788
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r17)("config", ctx_r0.addressFields);
|
|
87789
|
-
}
|
|
87790
|
-
}
|
|
87791
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87792
|
-
if (rf & 1) {
|
|
87793
|
-
const _r18 = \u0275\u0275getCurrentView();
|
|
87794
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87795
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87796
|
-
\u0275\u0275restoreView(_r18);
|
|
87797
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87798
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87799
|
-
});
|
|
87800
|
-
\u0275\u0275elementEnd();
|
|
87801
|
-
}
|
|
87802
|
-
if (rf & 2) {
|
|
87803
|
-
\u0275\u0275nextContext(2);
|
|
87804
|
-
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87805
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87806
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r19)("config", ctx_r0.addressFields);
|
|
87807
|
-
}
|
|
87808
|
-
}
|
|
87809
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
|
|
87810
|
-
if (rf & 1) {
|
|
87811
|
-
const _r15 = \u0275\u0275getCurrentView();
|
|
87812
|
-
\u0275\u0275elementStart(0, "h4", 10);
|
|
87813
|
-
\u0275\u0275text(1);
|
|
87814
|
-
\u0275\u0275pipe(2, "translate");
|
|
87815
|
-
\u0275\u0275elementEnd();
|
|
87816
|
-
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 8);
|
|
87817
|
-
\u0275\u0275elementStart(4, "h4", 10);
|
|
87818
|
-
\u0275\u0275text(5);
|
|
87819
|
-
\u0275\u0275pipe(6, "translate");
|
|
87820
|
-
\u0275\u0275elementEnd();
|
|
87821
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87822
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87823
|
-
\u0275\u0275restoreView(_r15);
|
|
87824
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87825
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87826
|
-
});
|
|
87827
|
-
\u0275\u0275elementEnd();
|
|
87828
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 8);
|
|
87829
|
-
}
|
|
87830
|
-
if (rf & 2) {
|
|
87831
|
-
\u0275\u0275nextContext();
|
|
87832
|
-
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87833
|
-
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87834
|
-
const recordsDeliverySame_r20 = \u0275\u0275readContextLet(3);
|
|
87835
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87836
|
-
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87837
|
-
\u0275\u0275advance();
|
|
87838
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87839
|
-
\u0275\u0275advance(2);
|
|
87840
|
-
\u0275\u0275conditional(recordsMailing_r17 ? 3 : -1);
|
|
87841
|
-
\u0275\u0275advance(2);
|
|
87842
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
87843
|
-
\u0275\u0275advance(2);
|
|
87844
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87845
|
-
\u0275\u0275advance();
|
|
87846
|
-
\u0275\u0275conditional(!recordsDeliverySame_r20 && recordsDelivery_r19 ? 8 : -1);
|
|
87847
|
-
}
|
|
87848
|
-
}
|
|
87849
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
87850
|
-
if (rf & 1) {
|
|
87851
|
-
const _r14 = \u0275\u0275getCurrentView();
|
|
87852
|
-
\u0275\u0275declareLet(0)(1)(2)(3);
|
|
87853
|
-
\u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 9);
|
|
87854
|
-
\u0275\u0275element(6, "filing-form-group", 8);
|
|
87855
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87856
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87857
|
-
\u0275\u0275restoreView(_r14);
|
|
87858
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87859
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87860
|
-
});
|
|
87861
|
-
\u0275\u0275elementEnd();
|
|
87862
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87863
|
-
\u0275\u0275elementEnd()();
|
|
87864
|
-
}
|
|
87865
|
-
if (rf & 2) {
|
|
87866
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87867
|
-
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87868
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewMailingAddress));
|
|
87869
|
-
\u0275\u0275advance();
|
|
87870
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewDeliveryAddress));
|
|
87871
|
-
const recordsSameAsRegistered_r22 = ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.SameAsRegisteredOffice);
|
|
87872
|
-
\u0275\u0275advance(2);
|
|
87873
|
-
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.DeliverySameAsMailing));
|
|
87874
|
-
\u0275\u0275advance();
|
|
87875
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
87876
|
-
\u0275\u0275advance(2);
|
|
87877
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.currentAddressesFields);
|
|
87878
|
-
\u0275\u0275advance();
|
|
87879
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
87880
|
-
\u0275\u0275advance();
|
|
87881
|
-
\u0275\u0275conditional(!recordsSameAsRegistered_r22 ? 8 : -1);
|
|
87882
|
-
}
|
|
87883
|
-
}
|
|
87884
|
-
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
87885
|
-
var init_change_of_office_addresses_form_component = __esm({
|
|
87886
|
-
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
87887
|
-
init_core();
|
|
87888
|
-
init_ngx_translate_core();
|
|
87889
|
-
init_filing_form_group_component();
|
|
87890
|
-
init_alert_component();
|
|
87891
|
-
init_alert_enum();
|
|
87892
|
-
init_expandable_card_component();
|
|
87893
|
-
init_british_columbia_form_enums();
|
|
87894
|
-
init_british_columbia_change_of_office_addresses_form_constants();
|
|
87895
|
-
init_forms_utils();
|
|
87896
|
-
init_core();
|
|
87897
|
-
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
87898
|
-
form = input.required();
|
|
87899
|
-
task = input();
|
|
87900
|
-
errors = input([]);
|
|
87901
|
-
isNote = input(false);
|
|
87902
|
-
isSubmitted = input(false);
|
|
87903
|
-
readonly = input(false);
|
|
87904
|
-
visiblyValidChange = output();
|
|
87905
|
-
alertType = AlertType;
|
|
87906
|
-
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
87907
|
-
controls = BCChangeOfOfficeAddressesFormControls;
|
|
87908
|
-
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
87909
|
-
corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
87910
|
-
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
87911
|
-
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
87912
|
-
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
87913
|
-
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
87914
|
-
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
87915
|
-
sectionValidity = {};
|
|
87916
|
-
isVisiblyValid() {
|
|
87917
|
-
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
87918
|
-
}
|
|
87919
|
-
isRegisteredOfficeValid() {
|
|
87920
|
-
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
87921
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87922
|
-
}
|
|
87923
|
-
isRecordsOfficeValid() {
|
|
87924
|
-
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
87925
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87926
|
-
}
|
|
87927
|
-
isChecked(office, control) {
|
|
87928
|
-
return Boolean(office?.get(control)?.value);
|
|
87929
|
-
}
|
|
87930
|
-
onSectionValidChange(section, valid) {
|
|
87931
|
-
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
87932
|
-
this.emitValidity();
|
|
87933
|
-
}
|
|
87934
|
-
emitValidity() {
|
|
87935
|
-
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
87936
|
-
}
|
|
87937
|
-
getFormGroup(key) {
|
|
87938
|
-
return this.form().get(key) ?? null;
|
|
87939
|
-
}
|
|
87940
|
-
getAddressGroup(office, control) {
|
|
87941
|
-
return office?.get(control) ?? null;
|
|
87942
|
-
}
|
|
87943
|
-
isAddressValid(office, control) {
|
|
87944
|
-
const group2 = this.getAddressGroup(office, control);
|
|
87945
|
-
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
87946
|
-
}
|
|
87947
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
87948
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
87949
|
-
};
|
|
87950
|
-
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) {
|
|
87951
|
-
if (rf & 1) {
|
|
87952
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
87953
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
87954
|
-
\u0275\u0275elementStart(3, "div", 3);
|
|
87955
|
-
\u0275\u0275declareLet(4);
|
|
87956
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
87957
|
-
\u0275\u0275declareLet(6);
|
|
87958
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
|
|
87959
|
-
\u0275\u0275declareLet(8);
|
|
87960
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
|
|
87961
|
-
\u0275\u0275declareLet(10);
|
|
87962
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
|
|
87963
|
-
\u0275\u0275elementEnd()();
|
|
87964
|
-
}
|
|
87965
|
-
if (rf & 2) {
|
|
87966
|
-
\u0275\u0275advance();
|
|
87967
|
-
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
87968
|
-
\u0275\u0275advance();
|
|
87969
|
-
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
87970
|
-
\u0275\u0275advance(2);
|
|
87971
|
-
const referenceNumbers_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
87972
|
-
\u0275\u0275advance();
|
|
87973
|
-
\u0275\u0275conditional(referenceNumbers_r23 ? 5 : -1);
|
|
87974
|
-
\u0275\u0275advance();
|
|
87975
|
-
const corporationDetails_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
87976
|
-
\u0275\u0275advance();
|
|
87977
|
-
\u0275\u0275conditional(corporationDetails_r24 ? 7 : -1);
|
|
87978
|
-
\u0275\u0275advance();
|
|
87979
|
-
const registeredOffice_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
87980
|
-
\u0275\u0275advance();
|
|
87981
|
-
\u0275\u0275conditional(registeredOffice_r25 ? 9 : -1);
|
|
87982
|
-
\u0275\u0275advance();
|
|
87983
|
-
const recordsOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
87984
|
-
\u0275\u0275advance();
|
|
87985
|
-
\u0275\u0275conditional(recordsOffice_r26 ? 11 : -1);
|
|
87986
|
-
}
|
|
87987
|
-
}, 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 });
|
|
87988
|
-
};
|
|
87989
|
-
(() => {
|
|
87990
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
87991
|
-
type: Component,
|
|
87992
|
-
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
|
|
87993
|
-
@if (isNote()) {\r
|
|
87994
|
-
<alert\r
|
|
87995
|
-
[type]="alertType.Info"\r
|
|
87996
|
-
title="Entity changed"\r
|
|
87997
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
87998
|
-
/>\r
|
|
87999
|
-
}\r
|
|
88000
|
-
\r
|
|
88001
|
-
@if (errors().length) {\r
|
|
88002
|
-
<alert\r
|
|
88003
|
-
title="The following issues need to be resolved before proceeding:"\r
|
|
88004
|
-
[content]="errors()"\r
|
|
88005
|
-
/>\r
|
|
88006
|
-
}\r
|
|
88007
|
-
\r
|
|
88008
|
-
<div class="change-of-office-addresses-form-content">\r
|
|
88009
|
-
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88010
|
-
\r
|
|
88011
|
-
@if (referenceNumbers) {\r
|
|
88012
|
-
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88013
|
-
<filing-form-group\r
|
|
88014
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88015
|
-
[form]="referenceNumbers"\r
|
|
88016
|
-
[config]="referenceNumbersFields"\r
|
|
88017
|
-
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88018
|
-
/>\r
|
|
88019
|
-
</expandable-card>\r
|
|
88020
|
-
}\r
|
|
88021
|
-
\r
|
|
88022
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88023
|
-
\r
|
|
88024
|
-
@if (corporationDetails) {\r
|
|
88025
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
|
|
88026
|
-
<filing-form-group\r
|
|
88027
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88028
|
-
[form]="corporationDetails"\r
|
|
88029
|
-
[config]="corporationDetailsFields"\r
|
|
88030
|
-
/>\r
|
|
88031
|
-
</expandable-card>\r
|
|
88032
|
-
}\r
|
|
88033
|
-
\r
|
|
88034
|
-
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88035
|
-
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88036
|
-
\r
|
|
88037
|
-
@if (registeredOffice) {\r
|
|
88038
|
-
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88039
|
-
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88040
|
-
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88041
|
-
\r
|
|
88042
|
-
<expandable-card\r
|
|
88043
|
-
[isStatusIcon]="!readonly()"\r
|
|
88044
|
-
[isValid]="isRegisteredOfficeValid()"\r
|
|
88045
|
-
[title]="groups.RegisteredOfficeAddress"\r
|
|
88046
|
-
>\r
|
|
88047
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88048
|
-
<filing-form-group\r
|
|
88049
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88050
|
-
[form]="registeredOffice"\r
|
|
88051
|
-
[config]="currentAddressesFields"\r
|
|
88052
|
-
/>\r
|
|
88053
|
-
\r
|
|
88054
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88055
|
-
\r
|
|
88056
|
-
@if (registeredMailing) {\r
|
|
88057
|
-
<filing-form-group\r
|
|
88058
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88059
|
-
[form]="registeredMailing"\r
|
|
88060
|
-
[config]="addressFields"\r
|
|
88061
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88062
|
-
/>\r
|
|
88063
|
-
}\r
|
|
88064
|
-
\r
|
|
88065
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88066
|
-
\r
|
|
88067
|
-
<filing-form-group\r
|
|
88068
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88069
|
-
[form]="registeredOffice"\r
|
|
88070
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88071
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88072
|
-
/>\r
|
|
88073
|
-
\r
|
|
88074
|
-
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88075
|
-
<filing-form-group\r
|
|
88076
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88077
|
-
[form]="registeredOffice"\r
|
|
88078
|
-
[config]="deliveryNoteFields"\r
|
|
88079
|
-
/>\r
|
|
88080
|
-
<filing-form-group\r
|
|
88081
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88082
|
-
[form]="registeredDelivery"\r
|
|
88083
|
-
[config]="addressFields"\r
|
|
88084
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88085
|
-
/>\r
|
|
88086
|
-
}\r
|
|
88087
|
-
</div>\r
|
|
88088
|
-
</expandable-card>\r
|
|
88089
|
-
}\r
|
|
88090
|
-
\r
|
|
88091
|
-
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88092
|
-
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88093
|
-
\r
|
|
88094
|
-
@if (recordsOffice) {\r
|
|
88095
|
-
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88096
|
-
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88097
|
-
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88098
|
-
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88099
|
-
\r
|
|
88100
|
-
<expandable-card\r
|
|
88101
|
-
[isStatusIcon]="!readonly()"\r
|
|
88102
|
-
[isValid]="isRecordsOfficeValid()"\r
|
|
88103
|
-
[title]="groups.RecordsOfficeAddress"\r
|
|
88104
|
-
>\r
|
|
88105
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88106
|
-
<filing-form-group\r
|
|
88107
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88108
|
-
[form]="recordsOffice"\r
|
|
88109
|
-
[config]="currentAddressesFields"\r
|
|
88110
|
-
/>\r
|
|
88111
|
-
\r
|
|
88112
|
-
<filing-form-group\r
|
|
88113
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88114
|
-
[form]="recordsOffice"\r
|
|
88115
|
-
[config]="sameAsRegisteredOfficeFields"\r
|
|
88116
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88117
|
-
/>\r
|
|
88118
|
-
\r
|
|
88119
|
-
@if (!recordsSameAsRegistered) {\r
|
|
88120
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88121
|
-
\r
|
|
88122
|
-
@if (recordsMailing) {\r
|
|
88123
|
-
<filing-form-group\r
|
|
88124
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88125
|
-
[form]="recordsMailing"\r
|
|
88126
|
-
[config]="addressFields"\r
|
|
88127
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88128
|
-
/>\r
|
|
88129
|
-
}\r
|
|
88130
|
-
\r
|
|
88131
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88132
|
-
\r
|
|
88133
|
-
<filing-form-group\r
|
|
88134
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88135
|
-
[form]="recordsOffice"\r
|
|
88136
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88137
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88138
|
-
/>\r
|
|
88139
|
-
\r
|
|
88140
|
-
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88141
|
-
<filing-form-group\r
|
|
88142
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88143
|
-
[form]="recordsDelivery"\r
|
|
88144
|
-
[config]="addressFields"\r
|
|
88145
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88146
|
-
/>\r
|
|
88147
|
-
}\r
|
|
88148
|
-
}\r
|
|
88149
|
-
</div>\r
|
|
88150
|
-
</expandable-card>\r
|
|
88151
|
-
}\r
|
|
88152
|
-
</div>\r
|
|
88153
|
-
</div>\r
|
|
88154
|
-
`, 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"] }]
|
|
88155
|
-
}], null, null);
|
|
88156
|
-
})();
|
|
88157
|
-
(() => {
|
|
88158
|
-
(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 });
|
|
88159
|
-
})();
|
|
88160
|
-
}
|
|
88161
|
-
});
|
|
88162
|
-
|
|
88163
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88164
|
-
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88165
|
-
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88166
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88167
|
-
init_core();
|
|
88168
|
-
init_button();
|
|
88169
|
-
init_ngx_translate_core();
|
|
88170
|
-
init_common_utils();
|
|
88171
|
-
init_change_of_office_addresses_form_component();
|
|
88172
|
-
init_core();
|
|
88173
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88174
|
-
form = input.required();
|
|
88175
|
-
actionsDisabled = input(false);
|
|
88176
|
-
isNote = input(false);
|
|
88177
|
-
task = input();
|
|
88178
|
-
errors = input([]);
|
|
88179
|
-
close = output();
|
|
88180
|
-
save = output();
|
|
88181
|
-
validate = output();
|
|
88182
|
-
submitted = signal(false);
|
|
88183
|
-
visiblyValid = signal(true);
|
|
88184
|
-
clientErrors = signal([]);
|
|
88185
|
-
translate = inject(TranslateService);
|
|
88186
|
-
combinedErrors = computed(() => {
|
|
88187
|
-
const client = this.clientErrors();
|
|
88188
|
-
return client.length ? client : this.errors();
|
|
88189
|
-
});
|
|
88190
|
-
onVisiblyValidChange(valid) {
|
|
88191
|
-
this.visiblyValid.set(valid);
|
|
88192
|
-
}
|
|
88193
|
-
onValidate() {
|
|
88194
|
-
this.submitted.set(true);
|
|
88195
|
-
this.clientErrors.set([]);
|
|
88196
|
-
markFormGroupTouched(this.form());
|
|
88197
|
-
if (!this.visiblyValid()) {
|
|
88198
|
-
this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
|
|
88199
|
-
return;
|
|
88200
|
-
}
|
|
88201
|
-
this.validate.emit();
|
|
88202
|
-
}
|
|
88203
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88204
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88205
|
-
};
|
|
88206
|
-
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) {
|
|
88207
|
-
if (rf & 1) {
|
|
88208
|
-
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88209
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88210
|
-
return ctx.onVisiblyValidChange($event);
|
|
88211
|
-
});
|
|
88212
|
-
\u0275\u0275elementEnd();
|
|
88213
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88214
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88215
|
-
return ctx.close.emit();
|
|
88216
|
-
});
|
|
88217
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88218
|
-
\u0275\u0275text(5);
|
|
88219
|
-
\u0275\u0275pipe(6, "translate");
|
|
88220
|
-
\u0275\u0275elementEnd()();
|
|
88221
|
-
\u0275\u0275elementStart(7, "button", 3);
|
|
88222
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88223
|
-
return ctx.save.emit();
|
|
88224
|
-
});
|
|
88225
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88226
|
-
\u0275\u0275text(9);
|
|
88227
|
-
\u0275\u0275pipe(10, "translate");
|
|
88228
|
-
\u0275\u0275elementEnd()();
|
|
88229
|
-
\u0275\u0275elementStart(11, "button", 5);
|
|
88230
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88231
|
-
return ctx.onValidate();
|
|
88232
|
-
});
|
|
88233
|
-
\u0275\u0275elementStart(12, "span", 4);
|
|
88234
|
-
\u0275\u0275text(13);
|
|
88235
|
-
\u0275\u0275pipe(14, "translate");
|
|
88236
|
-
\u0275\u0275elementEnd()()()();
|
|
88237
|
-
}
|
|
88238
|
-
if (rf & 2) {
|
|
88239
|
-
\u0275\u0275advance();
|
|
88240
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88241
|
-
\u0275\u0275advance(2);
|
|
88242
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88243
|
-
\u0275\u0275advance(2);
|
|
88244
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88245
|
-
\u0275\u0275advance(2);
|
|
88246
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88247
|
-
\u0275\u0275advance(2);
|
|
88248
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88249
|
-
\u0275\u0275advance(2);
|
|
88250
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88251
|
-
\u0275\u0275advance(2);
|
|
88252
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88253
|
-
}
|
|
88254
|
-
}, 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 });
|
|
88255
|
-
};
|
|
88256
|
-
(() => {
|
|
88257
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88258
|
-
type: Component,
|
|
88259
|
-
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
|
|
88260
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88261
|
-
class="change-of-office-addresses-delta-form-content"\r
|
|
88262
|
-
[form]="form()"\r
|
|
88263
|
-
[task]="task()"\r
|
|
88264
|
-
[errors]="combinedErrors()"\r
|
|
88265
|
-
[isNote]="isNote()"\r
|
|
88266
|
-
[isSubmitted]="submitted()"\r
|
|
88267
|
-
[readonly]="false"\r
|
|
88268
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88269
|
-
/>\r
|
|
88270
|
-
\r
|
|
88271
|
-
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88272
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88273
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88274
|
-
</button>\r
|
|
88275
|
-
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88276
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88277
|
-
</button>\r
|
|
88278
|
-
<button\r
|
|
88279
|
-
class="submit"\r
|
|
88280
|
-
color="primary"\r
|
|
88281
|
-
mat-flat-button\r
|
|
88282
|
-
[disabled]="actionsDisabled()"\r
|
|
88283
|
-
(click)="onValidate()"\r
|
|
88284
|
-
>\r
|
|
88285
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88286
|
-
</button>\r
|
|
88287
|
-
</div>\r
|
|
88288
|
-
</div>\r
|
|
88289
|
-
`, 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"] }]
|
|
88290
|
-
}], null, null);
|
|
88291
|
-
})();
|
|
88292
|
-
(() => {
|
|
88293
|
-
(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 });
|
|
88294
|
-
})();
|
|
88295
|
-
}
|
|
88296
|
-
});
|
|
88297
|
-
|
|
88298
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88299
|
-
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88300
|
-
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88301
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88302
|
-
init_core();
|
|
88303
|
-
init_button();
|
|
88304
|
-
init_ngx_translate_core();
|
|
88305
|
-
init_change_of_office_addresses_form_component();
|
|
88306
|
-
init_core();
|
|
88307
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88308
|
-
form = input.required();
|
|
88309
|
-
actionsDisabled = input(false);
|
|
88310
|
-
task = input();
|
|
88311
|
-
errors = input([]);
|
|
88312
|
-
close = output();
|
|
88313
|
-
file = output();
|
|
88314
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88315
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88316
|
-
};
|
|
88317
|
-
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) {
|
|
88318
|
-
if (rf & 1) {
|
|
88319
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
88320
|
-
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88321
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88322
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88323
|
-
return ctx.close.emit();
|
|
88324
|
-
});
|
|
88325
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88326
|
-
\u0275\u0275text(5);
|
|
88327
|
-
\u0275\u0275pipe(6, "translate");
|
|
88328
|
-
\u0275\u0275elementEnd()();
|
|
88329
|
-
\u0275\u0275elementStart(7, "button", 5);
|
|
88330
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88331
|
-
return ctx.file.emit();
|
|
88332
|
-
});
|
|
88333
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88334
|
-
\u0275\u0275text(9);
|
|
88335
|
-
\u0275\u0275pipe(10, "translate");
|
|
88336
|
-
\u0275\u0275elementEnd()()()();
|
|
88337
|
-
}
|
|
88338
|
-
if (rf & 2) {
|
|
88339
|
-
\u0275\u0275advance();
|
|
88340
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88341
|
-
\u0275\u0275advance(2);
|
|
88342
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88343
|
-
\u0275\u0275advance(2);
|
|
88344
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88345
|
-
\u0275\u0275advance(2);
|
|
88346
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88347
|
-
\u0275\u0275advance(2);
|
|
88348
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88349
|
-
}
|
|
88350
|
-
}, 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 });
|
|
88351
|
-
};
|
|
88352
|
-
(() => {
|
|
88353
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88354
|
-
type: Component,
|
|
88355
|
-
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
|
|
88356
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88357
|
-
class="change-of-office-addresses-preview-form-content"\r
|
|
88358
|
-
[form]="form()"\r
|
|
88359
|
-
[task]="task()"\r
|
|
88360
|
-
[errors]="errors()"\r
|
|
88361
|
-
[isSubmitted]="false"\r
|
|
88362
|
-
[readonly]="true"\r
|
|
88363
|
-
/>\r
|
|
88364
|
-
\r
|
|
88365
|
-
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88366
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88367
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88368
|
-
</button>\r
|
|
88369
|
-
<button\r
|
|
88370
|
-
class="submit"\r
|
|
88371
|
-
color="primary"\r
|
|
88372
|
-
mat-flat-button\r
|
|
88373
|
-
[disabled]="actionsDisabled()"\r
|
|
88374
|
-
(click)="file.emit()"\r
|
|
88375
|
-
>\r
|
|
88376
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88377
|
-
</button>\r
|
|
88378
|
-
</div>\r
|
|
88379
|
-
</div>\r
|
|
88380
|
-
`, 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"] }]
|
|
88381
|
-
}], null, null);
|
|
88382
|
-
})();
|
|
88383
|
-
(() => {
|
|
88384
|
-
(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 });
|
|
88385
|
-
})();
|
|
88386
|
-
}
|
|
88387
|
-
});
|
|
88388
|
-
|
|
88389
87387
|
// src/app/components/british-columbia/british-columbia.component.ts
|
|
88390
87388
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
88391
87389
|
if (rf & 1) {
|
|
88392
87390
|
const _r1 = \u0275\u0275getCurrentView();
|
|
88393
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form",
|
|
87391
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 2);
|
|
88394
87392
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
88395
87393
|
\u0275\u0275restoreView(_r1);
|
|
88396
87394
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -88415,7 +87413,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88415
87413
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
88416
87414
|
if (rf & 1) {
|
|
88417
87415
|
const _r4 = \u0275\u0275getCurrentView();
|
|
88418
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form",
|
|
87416
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 3);
|
|
88419
87417
|
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
88420
87418
|
\u0275\u0275restoreView(_r4);
|
|
88421
87419
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -88423,7 +87421,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88423
87421
|
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
88424
87422
|
\u0275\u0275restoreView(_r4);
|
|
88425
87423
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88426
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87424
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit());
|
|
88427
87425
|
});
|
|
88428
87426
|
\u0275\u0275elementEnd();
|
|
88429
87427
|
}
|
|
@@ -88433,57 +87431,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88433
87431
|
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88434
87432
|
}
|
|
88435
87433
|
}
|
|
88436
|
-
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
88437
|
-
if (rf & 1) {
|
|
88438
|
-
const _r5 = \u0275\u0275getCurrentView();
|
|
88439
|
-
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
88440
|
-
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
88441
|
-
\u0275\u0275restoreView(_r5);
|
|
88442
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88443
|
-
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
88444
|
-
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
88445
|
-
\u0275\u0275restoreView(_r5);
|
|
88446
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88447
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88448
|
-
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
88449
|
-
\u0275\u0275restoreView(_r5);
|
|
88450
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88451
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
88452
|
-
});
|
|
88453
|
-
\u0275\u0275elementEnd();
|
|
88454
|
-
}
|
|
88455
|
-
if (rf & 2) {
|
|
88456
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88457
|
-
\u0275\u0275property("errors", ctx_r1.errors());
|
|
88458
|
-
}
|
|
88459
|
-
}
|
|
88460
87434
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
88461
87435
|
if (rf & 1) {
|
|
88462
|
-
\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)
|
|
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);
|
|
88463
87437
|
}
|
|
88464
87438
|
if (rf & 2) {
|
|
88465
87439
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
88466
87440
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88467
87441
|
\u0275\u0275advance();
|
|
88468
87442
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88469
|
-
\u0275\u0275advance();
|
|
88470
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
88471
87443
|
}
|
|
88472
87444
|
}
|
|
88473
87445
|
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
88474
87446
|
if (rf & 1) {
|
|
88475
|
-
const
|
|
88476
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form",
|
|
87447
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
87448
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 6);
|
|
88477
87449
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
88478
|
-
\u0275\u0275restoreView(
|
|
87450
|
+
\u0275\u0275restoreView(_r5);
|
|
88479
87451
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88480
87452
|
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
88481
87453
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
88482
|
-
\u0275\u0275restoreView(
|
|
87454
|
+
\u0275\u0275restoreView(_r5);
|
|
88483
87455
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88484
87456
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88485
87457
|
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
88486
|
-
\u0275\u0275restoreView(
|
|
87458
|
+
\u0275\u0275restoreView(_r5);
|
|
88487
87459
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88488
87460
|
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
88489
87461
|
});
|
|
@@ -88497,14 +87469,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88497
87469
|
}
|
|
88498
87470
|
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
88499
87471
|
if (rf & 1) {
|
|
88500
|
-
const
|
|
88501
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form",
|
|
87472
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87473
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 7);
|
|
88502
87474
|
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
88503
|
-
\u0275\u0275restoreView(
|
|
87475
|
+
\u0275\u0275restoreView(_r6);
|
|
88504
87476
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88505
87477
|
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
88506
87478
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
88507
|
-
\u0275\u0275restoreView(
|
|
87479
|
+
\u0275\u0275restoreView(_r6);
|
|
88508
87480
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88509
87481
|
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88510
87482
|
});
|
|
@@ -88518,64 +87490,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88518
87490
|
}
|
|
88519
87491
|
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
88520
87492
|
if (rf & 1) {
|
|
88521
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form",
|
|
88522
|
-
}
|
|
88523
|
-
if (rf & 2) {
|
|
88524
|
-
const ctx_r1 = \u0275\u0275nextContext();
|
|
88525
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88526
|
-
\u0275\u0275advance();
|
|
88527
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88528
|
-
}
|
|
88529
|
-
}
|
|
88530
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88531
|
-
if (rf & 1) {
|
|
88532
|
-
const _r8 = \u0275\u0275getCurrentView();
|
|
88533
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
|
|
88534
|
-
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88535
|
-
\u0275\u0275restoreView(_r8);
|
|
88536
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88537
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88538
|
-
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88539
|
-
\u0275\u0275restoreView(_r8);
|
|
88540
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88541
|
-
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88542
|
-
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88543
|
-
\u0275\u0275restoreView(_r8);
|
|
88544
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88545
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88546
|
-
});
|
|
88547
|
-
\u0275\u0275elementEnd();
|
|
88548
|
-
}
|
|
88549
|
-
if (rf & 2) {
|
|
88550
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88551
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88552
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88553
|
-
}
|
|
88554
|
-
}
|
|
88555
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88556
|
-
if (rf & 1) {
|
|
88557
|
-
const _r9 = \u0275\u0275getCurrentView();
|
|
88558
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
|
|
88559
|
-
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88560
|
-
\u0275\u0275restoreView(_r9);
|
|
88561
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88562
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88563
|
-
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88564
|
-
\u0275\u0275restoreView(_r9);
|
|
88565
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88566
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88567
|
-
});
|
|
88568
|
-
\u0275\u0275elementEnd();
|
|
88569
|
-
}
|
|
88570
|
-
if (rf & 2) {
|
|
88571
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88572
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88573
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88574
|
-
}
|
|
88575
|
-
}
|
|
88576
|
-
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88577
|
-
if (rf & 1) {
|
|
88578
|
-
\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);
|
|
87493
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 4)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 5);
|
|
88579
87494
|
}
|
|
88580
87495
|
if (rf & 2) {
|
|
88581
87496
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
@@ -88596,17 +87511,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88596
87511
|
init_british_columbia_form_enums();
|
|
88597
87512
|
init_british_columbia_change_of_directors_form_helper();
|
|
88598
87513
|
init_british_columbia_formation_form_helper();
|
|
88599
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88600
87514
|
init_delta_state_service();
|
|
88601
87515
|
init_common_utils();
|
|
88602
87516
|
init_confirm_modal_component();
|
|
88603
|
-
init_terms_and_conditions_component();
|
|
88604
87517
|
init_change_of_directors_delta_form_component();
|
|
88605
87518
|
init_change_of_directors_preview_form_component();
|
|
88606
87519
|
init_british_columbia_incorporation_delta_form_component();
|
|
88607
87520
|
init_british_columbia_incorporation_preview_form_component();
|
|
88608
|
-
init_change_of_office_addresses_delta_form_component();
|
|
88609
|
-
init_change_of_office_addresses_preview_form_component();
|
|
88610
87521
|
init_core();
|
|
88611
87522
|
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
88612
87523
|
task = input();
|
|
@@ -88615,6 +87526,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88615
87526
|
isNote = input(false);
|
|
88616
87527
|
actionsDisabled = input(false);
|
|
88617
87528
|
errors = input([]);
|
|
87529
|
+
currentDataExtract = input();
|
|
88618
87530
|
close = output();
|
|
88619
87531
|
codValidate = output();
|
|
88620
87532
|
saveCodDeltaData = output();
|
|
@@ -88624,34 +87536,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88624
87536
|
saveFormationDeltaData = output();
|
|
88625
87537
|
nextStep = output();
|
|
88626
87538
|
prevStep = output();
|
|
88627
|
-
// Change of Office Addresses outputs
|
|
88628
|
-
coaValidate = output();
|
|
88629
|
-
saveCoaDeltaData = output();
|
|
88630
|
-
coaSubmit = output();
|
|
88631
87539
|
dialog = inject(MatDialog);
|
|
88632
87540
|
deltaState = inject(DeltaStateService);
|
|
88633
87541
|
translate = inject(TranslateService);
|
|
88634
87542
|
steps = Step;
|
|
88635
87543
|
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
88636
87544
|
isFormationTask = isFormationTask2;
|
|
88637
|
-
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
88638
87545
|
deltaForm = signal(new FormGroup({}));
|
|
88639
87546
|
previewForm = signal(new FormGroup({}));
|
|
88640
87547
|
constructor() {
|
|
88641
87548
|
effect(() => {
|
|
88642
87549
|
const task = this.task();
|
|
88643
87550
|
if (task && isChangeOfPrincipalsTask(task)) {
|
|
88644
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87551
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract())));
|
|
88645
87552
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
88646
87553
|
}
|
|
88647
87554
|
if (task && isFormationTask2(task)) {
|
|
88648
87555
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
88649
87556
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
88650
87557
|
}
|
|
88651
|
-
if (task && isChangeOfAddressTask(task)) {
|
|
88652
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88653
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88654
|
-
}
|
|
88655
87558
|
});
|
|
88656
87559
|
effect(() => {
|
|
88657
87560
|
const task = this.task();
|
|
@@ -88660,7 +87563,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88660
87563
|
return;
|
|
88661
87564
|
}
|
|
88662
87565
|
if (isChangeOfPrincipalsTask(task)) {
|
|
88663
|
-
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87566
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract()));
|
|
88664
87567
|
form.disable();
|
|
88665
87568
|
this.previewForm.set(form);
|
|
88666
87569
|
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
@@ -88675,64 +87578,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88675
87578
|
this.nextStep.emit();
|
|
88676
87579
|
}
|
|
88677
87580
|
}
|
|
88678
|
-
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88679
|
-
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88680
|
-
form.disable();
|
|
88681
|
-
this.previewForm.set(form);
|
|
88682
|
-
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
88683
|
-
this.nextStep.emit();
|
|
88684
|
-
}
|
|
88685
|
-
}
|
|
88686
87581
|
});
|
|
88687
87582
|
}
|
|
88688
|
-
onChangeOfOfficeAddressesValidate() {
|
|
88689
|
-
markFormGroupTouched(this.deltaForm());
|
|
88690
|
-
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88691
|
-
}
|
|
88692
|
-
onChangeOfOfficeAddressesSave() {
|
|
88693
|
-
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88694
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88695
|
-
this.saveCoaDeltaData.emit(delta);
|
|
88696
|
-
}
|
|
88697
|
-
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88698
|
-
onChangeOfOfficeAddressesFile() {
|
|
88699
|
-
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88700
|
-
}
|
|
88701
|
-
generateChangeOfOfficeAddressesDeltaData() {
|
|
88702
|
-
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88703
|
-
const formData = this.deltaForm().getRawValue();
|
|
88704
|
-
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88705
|
-
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88706
|
-
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88707
|
-
const toAddress = (src) => ({
|
|
88708
|
-
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88709
|
-
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88710
|
-
city: src?.[c.City] ?? null,
|
|
88711
|
-
postalCode: src?.[c.PostalCode] ?? null,
|
|
88712
|
-
province: src?.[c.Province] ?? null,
|
|
88713
|
-
country: src?.[c.Country] ?? null
|
|
88714
|
-
});
|
|
88715
|
-
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88716
|
-
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88717
|
-
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88718
|
-
return {
|
|
88719
|
-
referenceNumbers: {
|
|
88720
|
-
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88721
|
-
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88722
|
-
},
|
|
88723
|
-
registeredOffice: {
|
|
88724
|
-
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88725
|
-
deliverySameAsMailing: regDeliverySame,
|
|
88726
|
-
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88727
|
-
},
|
|
88728
|
-
recordsOffice: {
|
|
88729
|
-
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88730
|
-
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88731
|
-
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88732
|
-
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88733
|
-
}
|
|
88734
|
-
};
|
|
88735
|
-
}
|
|
88736
87583
|
onChangeOfDirectorsValidate() {
|
|
88737
87584
|
markFormGroupTouched(this.deltaForm());
|
|
88738
87585
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -88742,11 +87589,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88742
87589
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
88743
87590
|
this.saveCodDeltaData.emit(delta);
|
|
88744
87591
|
}
|
|
88745
|
-
onChangeOfDirectorsSubmit(
|
|
88746
|
-
this.codSubmit.emit(
|
|
88747
|
-
signatoryFirstName: termsAndConditions.firstName,
|
|
88748
|
-
signatoryLastName: termsAndConditions.lastName
|
|
88749
|
-
}));
|
|
87592
|
+
onChangeOfDirectorsSubmit() {
|
|
87593
|
+
this.codSubmit.emit();
|
|
88750
87594
|
}
|
|
88751
87595
|
onFormationValidate() {
|
|
88752
87596
|
markFormGroupTouched(this.deltaForm());
|
|
@@ -88767,6 +87611,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88767
87611
|
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
88768
87612
|
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
88769
87613
|
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87614
|
+
const directors = formData[BCChangeOfDirectorsFormGroups.Directors] ?? [];
|
|
88770
87615
|
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
88771
87616
|
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
88772
87617
|
return {
|
|
@@ -88782,10 +87627,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88782
87627
|
method: notification?.[c.NotificationMethod] ?? null,
|
|
88783
87628
|
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
88784
87629
|
},
|
|
88785
|
-
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
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
|
+
}
|
|
88786
87636
|
};
|
|
88787
87637
|
}
|
|
88788
|
-
generateFormationDeltaData(
|
|
87638
|
+
generateFormationDeltaData() {
|
|
88789
87639
|
const formData = this.deltaForm().getRawValue();
|
|
88790
87640
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
88791
87641
|
const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
|
|
@@ -88829,7 +87679,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88829
87679
|
}
|
|
88830
87680
|
onClose() {
|
|
88831
87681
|
const task = this.task();
|
|
88832
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) :
|
|
87682
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
88833
87683
|
if (!hasChanges) {
|
|
88834
87684
|
this.close.emit();
|
|
88835
87685
|
return;
|
|
@@ -88847,8 +87697,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88847
87697
|
if (val) {
|
|
88848
87698
|
if (task && isFormationTask2(task)) {
|
|
88849
87699
|
this.onFormationSave();
|
|
88850
|
-
} else if (task && isChangeOfAddressTask(task)) {
|
|
88851
|
-
this.onChangeOfOfficeAddressesSave();
|
|
88852
87700
|
} else {
|
|
88853
87701
|
this.onChangeOfDirectorsSave();
|
|
88854
87702
|
}
|
|
@@ -88859,28 +87707,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88859
87707
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
88860
87708
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
88861
87709
|
};
|
|
88862
|
-
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"
|
|
87710
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
88863
87711
|
if (rf & 1) {
|
|
88864
87712
|
\u0275\u0275declareLet(0);
|
|
88865
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template,
|
|
87713
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
|
|
88866
87714
|
}
|
|
88867
87715
|
if (rf & 2) {
|
|
88868
|
-
const
|
|
88869
|
-
\u0275\u0275advance();
|
|
88870
|
-
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r10) ? 1 : -1);
|
|
87716
|
+
const taskData_r7 = \u0275\u0275storeLet(ctx.task());
|
|
88871
87717
|
\u0275\u0275advance();
|
|
88872
|
-
\u0275\u0275conditional(ctx.
|
|
87718
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r7) ? 1 : -1);
|
|
88873
87719
|
\u0275\u0275advance();
|
|
88874
|
-
\u0275\u0275conditional(ctx.
|
|
87720
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r7) ? 2 : -1);
|
|
88875
87721
|
}
|
|
88876
87722
|
}, dependencies: [
|
|
88877
87723
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88878
87724
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
88879
87725
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
88880
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88881
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
88882
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88883
|
-
TermsAndConditionsComponent
|
|
87726
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
88884
87727
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
88885
87728
|
};
|
|
88886
87729
|
(() => {
|
|
@@ -88890,15 +87733,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88890
87733
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88891
87734
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
88892
87735
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
88893
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88894
|
-
|
|
88895
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88896
|
-
TermsAndConditionsComponent
|
|
88897
|
-
], 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"] }]
|
|
87736
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
87737
|
+
], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
88898
87738
|
}], () => [], null);
|
|
88899
87739
|
})();
|
|
88900
87740
|
(() => {
|
|
88901
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
87741
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 62 });
|
|
88902
87742
|
})();
|
|
88903
87743
|
}
|
|
88904
87744
|
});
|
|
@@ -95119,9 +93959,55 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95119
93959
|
init_core();
|
|
95120
93960
|
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
95121
93961
|
config;
|
|
93962
|
+
currentDataExtract;
|
|
95122
93963
|
setConfig(config2) {
|
|
95123
93964
|
this.config = config2;
|
|
95124
93965
|
}
|
|
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
|
+
}
|
|
95125
94011
|
validate(_0, _1) {
|
|
95126
94012
|
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
95127
94013
|
ensureAuthInputs(signature);
|
|
@@ -95139,8 +94025,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95139
94025
|
throw err2;
|
|
95140
94026
|
}
|
|
95141
94027
|
const payload = unwrapRequestResults(parsed.value);
|
|
95142
|
-
if (resp.ok && !payload.Errors?.length) {
|
|
95143
|
-
return payload
|
|
94028
|
+
if (resp.ok && !payload.Errors?.length && !payload["errors"]?.length) {
|
|
94029
|
+
return __spreadProps(__spreadValues({}, payload), {
|
|
94030
|
+
Status: payload.Status ?? payload["status"],
|
|
94031
|
+
ServiceOrderId: payload.ServiceOrderId ?? payload["serviceOrderId"],
|
|
94032
|
+
Draft: payload.Draft ?? payload["draft"]
|
|
94033
|
+
});
|
|
95144
94034
|
}
|
|
95145
94035
|
const err = buildValidationError(resp.status, payload);
|
|
95146
94036
|
err.validateResult = payload;
|
|
@@ -95200,6 +94090,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95200
94090
|
throw err;
|
|
95201
94091
|
});
|
|
95202
94092
|
}
|
|
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
|
+
}
|
|
95203
94103
|
getOnbisOrigin() {
|
|
95204
94104
|
const filingUrl = this.config?.BCFiling;
|
|
95205
94105
|
if (!filingUrl) {
|
|
@@ -95224,7 +94124,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95224
94124
|
});
|
|
95225
94125
|
|
|
95226
94126
|
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
95227
|
-
function
|
|
94127
|
+
function getBritishColumbiaAccessCode(task, password) {
|
|
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) {
|
|
95228
94151
|
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
95229
94152
|
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
95230
94153
|
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
@@ -95232,73 +94155,107 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95232
94155
|
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
95233
94156
|
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
95234
94157
|
const companyEmail = findCompanyEmail(task);
|
|
95235
|
-
const
|
|
95236
|
-
|
|
94158
|
+
const byId = new Map([
|
|
94159
|
+
...incomingDirectors,
|
|
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 {
|
|
95237
94174
|
filingType: "changeOfDirectorsFiling",
|
|
95238
|
-
|
|
94175
|
+
currentDataServiceOrderId,
|
|
94176
|
+
filing: __spreadProps(__spreadValues({
|
|
94177
|
+
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
94178
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode(task),
|
|
95239
94179
|
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
95240
|
-
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
95241
|
-
|
|
95242
|
-
|
|
95243
|
-
|
|
95244
|
-
|
|
95245
|
-
editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
|
|
94180
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
94181
|
+
}, (addDirectors.length || ceaseDirectors.length) && effectiveDate ? { effectiveDate } : {}), {
|
|
94182
|
+
addDirectors,
|
|
94183
|
+
ceaseDirectors,
|
|
94184
|
+
editDirectors,
|
|
95246
94185
|
companyEmail,
|
|
95247
94186
|
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
95248
|
-
}
|
|
95249
|
-
}
|
|
94187
|
+
})
|
|
94188
|
+
};
|
|
95250
94189
|
}
|
|
95251
94190
|
function isDirectorAffiliation(affiliation) {
|
|
95252
94191
|
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
95253
94192
|
}
|
|
95254
|
-
function
|
|
94193
|
+
function buildCeasedDirector(affiliation) {
|
|
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) {
|
|
95255
94198
|
if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
|
|
95256
94199
|
const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
|
|
95257
|
-
return {
|
|
94200
|
+
return __spreadProps(__spreadValues({}, directorNumber === void 0 ? {} : { directorNumber }), {
|
|
95258
94201
|
firstName: name.FirstName ?? name.firstName ?? "",
|
|
95259
94202
|
middleName: name.MiddleName ?? name.middleName ?? "",
|
|
95260
94203
|
lastName: name.LastName ?? name.lastName ?? "",
|
|
95261
94204
|
mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
|
|
95262
|
-
deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
94205
|
+
deliveryAddress: affiliation.isDeliveryAddressSameAsMailing ? void 0 : affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
95263
94206
|
isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
|
|
95264
|
-
};
|
|
94207
|
+
});
|
|
95265
94208
|
}
|
|
95266
94209
|
const profile = affiliation.participant?._profile ?? {};
|
|
95267
94210
|
const addresses = getAffiliationAddresses(affiliation);
|
|
95268
94211
|
const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
|
|
95269
94212
|
const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
|
|
95270
|
-
|
|
94213
|
+
const isSameAsMailing = isDeliveryAddressSameAsMailing(addresses);
|
|
94214
|
+
return __spreadProps(__spreadValues({}, directorNumber === void 0 ? {} : { directorNumber }), {
|
|
95271
94215
|
firstName: profile.firstName ?? "",
|
|
95272
94216
|
middleName: profile.middleName ?? "",
|
|
95273
94217
|
lastName: profile.lastName ?? "",
|
|
95274
94218
|
mailingAddress,
|
|
95275
|
-
|
|
95276
|
-
|
|
95277
|
-
|
|
94219
|
+
// The API rejects a delivery address when it is the same as the mailing address.
|
|
94220
|
+
deliveryAddress: isSameAsMailing ? void 0 : deliveryAddress,
|
|
94221
|
+
isDeliveryAddressSameAsMailing: isSameAsMailing
|
|
94222
|
+
});
|
|
95278
94223
|
}
|
|
95279
|
-
function
|
|
95280
|
-
|
|
95281
|
-
|
|
95282
|
-
const
|
|
95283
|
-
|
|
95284
|
-
|
|
95285
|
-
|
|
95286
|
-
|
|
95287
|
-
|
|
95288
|
-
|
|
95289
|
-
|
|
95290
|
-
|
|
95291
|
-
|
|
95292
|
-
|
|
95293
|
-
|
|
95294
|
-
|
|
95295
|
-
|
|
95296
|
-
|
|
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);
|
|
95297
94245
|
};
|
|
94246
|
+
visit(extract);
|
|
94247
|
+
return result;
|
|
95298
94248
|
}
|
|
95299
|
-
function
|
|
95300
|
-
const
|
|
95301
|
-
return
|
|
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
|
+
}
|
|
94257
|
+
function mapAddress4(address) {
|
|
94258
|
+
return address ? mapAddress(address) : void 0;
|
|
95302
94259
|
}
|
|
95303
94260
|
function findCompanyEmail(task) {
|
|
95304
94261
|
const affiliations = task.entity.affiliations ?? [];
|
|
@@ -95317,288 +94274,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95317
94274
|
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
95318
94275
|
init_BritishColumbiaConstants();
|
|
95319
94276
|
init_common_models();
|
|
94277
|
+
init_british_columbia_formation_mapper();
|
|
95320
94278
|
init_british_columbia_formation_form_helper();
|
|
95321
94279
|
init_common_utils();
|
|
95322
94280
|
}
|
|
95323
94281
|
});
|
|
95324
94282
|
|
|
95325
|
-
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95326
|
-
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95327
|
-
var init_british_columbia_maintenance_service = __esm({
|
|
95328
|
-
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95329
|
-
init_core();
|
|
95330
|
-
init_common_utils();
|
|
95331
|
-
init_core();
|
|
95332
|
-
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95333
|
-
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95334
|
-
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95335
|
-
DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95336
|
-
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95337
|
-
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95338
|
-
config;
|
|
95339
|
-
setConfig(config2) {
|
|
95340
|
-
this.config = config2;
|
|
95341
|
-
}
|
|
95342
|
-
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95343
|
-
orderCurrentDataExtract(_0, _1) {
|
|
95344
|
-
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95345
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95346
|
-
corporationNumber: context2.corporationNumber,
|
|
95347
|
-
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95348
|
-
incorporationDate: context2.incorporationDate,
|
|
95349
|
-
filingType: "changeOfAddressFiling"
|
|
95350
|
-
}, opts);
|
|
95351
|
-
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95352
|
-
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95353
|
-
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95354
|
-
}
|
|
95355
|
-
return String(id);
|
|
95356
|
-
});
|
|
95357
|
-
}
|
|
95358
|
-
/** Polls the extract until the registry has it ready (`success`). */
|
|
95359
|
-
waitForCurrentDataExtract(_0, _1) {
|
|
95360
|
-
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95361
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95362
|
-
const deadline = Date.now() + timeoutMs;
|
|
95363
|
-
for (; ; ) {
|
|
95364
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95365
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95366
|
-
if (ok && state2 === "success") {
|
|
95367
|
-
return;
|
|
95368
|
-
}
|
|
95369
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95370
|
-
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95371
|
-
}
|
|
95372
|
-
if (Date.now() >= deadline) {
|
|
95373
|
-
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
95374
|
-
}
|
|
95375
|
-
yield this.sleep(intervalMs);
|
|
95376
|
-
}
|
|
95377
|
-
});
|
|
95378
|
-
}
|
|
95379
|
-
/**
|
|
95380
|
-
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95381
|
-
* corporation number and password; they are added here so they never become part of the
|
|
95382
|
-
* saved request used to detect Entity changes.
|
|
95383
|
-
*/
|
|
95384
|
-
validate(_0, _1, _2, _3) {
|
|
95385
|
-
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95386
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95387
|
-
currentDataServiceOrderId: extractId,
|
|
95388
|
-
filingType: requestBody.filingType,
|
|
95389
|
-
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95390
|
-
corporationNumber: context2.corporationNumber,
|
|
95391
|
-
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95392
|
-
})
|
|
95393
|
-
}, opts);
|
|
95394
|
-
if (body === null) {
|
|
95395
|
-
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95396
|
-
}
|
|
95397
|
-
const result = this.normalize(unwrapRequestResults(body));
|
|
95398
|
-
if (ok && !this.hasFailed(result)) {
|
|
95399
|
-
return result;
|
|
95400
|
-
}
|
|
95401
|
-
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95402
|
-
err.validateResult = result;
|
|
95403
|
-
err.httpStatus = status;
|
|
95404
|
-
throw err;
|
|
95405
|
-
});
|
|
95406
|
-
}
|
|
95407
|
-
/**
|
|
95408
|
-
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95409
|
-
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95410
|
-
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95411
|
-
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95412
|
-
*/
|
|
95413
|
-
submitAndWait(_0, _1) {
|
|
95414
|
-
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95415
|
-
if (!serviceOrderId) {
|
|
95416
|
-
throw new Error("Missing serviceOrderId.");
|
|
95417
|
-
}
|
|
95418
|
-
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95419
|
-
if (!submitted.ok || this.normalize(submitted.body).Status === "Failure") {
|
|
95420
|
-
const result = this.normalize(submitted.body);
|
|
95421
|
-
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", result));
|
|
95422
|
-
err.submitResult = result;
|
|
95423
|
-
err.httpStatus = submitted.status;
|
|
95424
|
-
throw err;
|
|
95425
|
-
}
|
|
95426
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95427
|
-
const deadline = Date.now() + timeoutMs;
|
|
95428
|
-
let processing = true;
|
|
95429
|
-
let files;
|
|
95430
|
-
while (processing) {
|
|
95431
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95432
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95433
|
-
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95434
|
-
files = body?.files;
|
|
95435
|
-
processing = false;
|
|
95436
|
-
break;
|
|
95437
|
-
}
|
|
95438
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95439
|
-
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95440
|
-
}
|
|
95441
|
-
if (Date.now() >= deadline) {
|
|
95442
|
-
break;
|
|
95443
|
-
}
|
|
95444
|
-
yield this.sleep(intervalMs);
|
|
95445
|
-
}
|
|
95446
|
-
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95447
|
-
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95448
|
-
});
|
|
95449
|
-
}
|
|
95450
|
-
getBaseUrl(env) {
|
|
95451
|
-
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95452
|
-
if (!baseUrl) {
|
|
95453
|
-
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95454
|
-
}
|
|
95455
|
-
return baseUrl;
|
|
95456
|
-
}
|
|
95457
|
-
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95458
|
-
send(signature, method, path, payload, opts) {
|
|
95459
|
-
return __async(this, null, function* () {
|
|
95460
|
-
ensureAuthInputs(signature);
|
|
95461
|
-
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95462
|
-
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95463
|
-
const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
|
|
95464
|
-
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95465
|
-
method,
|
|
95466
|
-
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95467
|
-
}));
|
|
95468
|
-
const raw = yield resp.text();
|
|
95469
|
-
const parsed = tryParseJson(raw);
|
|
95470
|
-
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95471
|
-
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95472
|
-
});
|
|
95473
|
-
}
|
|
95474
|
-
failure(status, prefix, body, raw) {
|
|
95475
|
-
const result = body ? this.normalize(body) : void 0;
|
|
95476
|
-
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95477
|
-
const err = new Error(message);
|
|
95478
|
-
err.httpStatus = status;
|
|
95479
|
-
return err;
|
|
95480
|
-
}
|
|
95481
|
-
sleep(ms) {
|
|
95482
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95483
|
-
}
|
|
95484
|
-
/**
|
|
95485
|
-
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95486
|
-
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95487
|
-
* `errors`, `additionalInformation` is used as the error messages.
|
|
95488
|
-
*/
|
|
95489
|
-
normalize(body) {
|
|
95490
|
-
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95491
|
-
const errors = rawErrors.map((e) => ({
|
|
95492
|
-
Code: e?.code ?? e?.Code,
|
|
95493
|
-
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95494
|
-
}));
|
|
95495
|
-
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95496
|
-
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95497
|
-
if (!succeeded && !errors.length) {
|
|
95498
|
-
const additional = body?.additionalInformation ?? [];
|
|
95499
|
-
errors.push(...additional.map((Message) => ({ Message })));
|
|
95500
|
-
}
|
|
95501
|
-
return {
|
|
95502
|
-
Status: succeeded ? "Success" : "Failure",
|
|
95503
|
-
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95504
|
-
Draft: body?.draft ?? body?.Draft,
|
|
95505
|
-
Errors: errors
|
|
95506
|
-
};
|
|
95507
|
-
}
|
|
95508
|
-
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95509
|
-
hasFailed(result) {
|
|
95510
|
-
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95511
|
-
}
|
|
95512
|
-
describeFailure(httpStatus, prefix, result) {
|
|
95513
|
-
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95514
|
-
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95515
|
-
}
|
|
95516
|
-
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95517
|
-
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95518
|
-
};
|
|
95519
|
-
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95520
|
-
};
|
|
95521
|
-
(() => {
|
|
95522
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95523
|
-
type: Injectable,
|
|
95524
|
-
args: [{
|
|
95525
|
-
providedIn: "root"
|
|
95526
|
-
}]
|
|
95527
|
-
}], null, null);
|
|
95528
|
-
})();
|
|
95529
|
-
}
|
|
95530
|
-
});
|
|
95531
|
-
|
|
95532
|
-
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95533
|
-
function formatPostalCode(value) {
|
|
95534
|
-
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95535
|
-
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95536
|
-
}
|
|
95537
|
-
function toEcoreAddress(address) {
|
|
95538
|
-
const line2 = clean(address?.addressLine2);
|
|
95539
|
-
return __spreadProps(__spreadValues({
|
|
95540
|
-
streetAddress: clean(address?.addressLine1)
|
|
95541
|
-
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95542
|
-
city: clean(address?.city),
|
|
95543
|
-
provinceOrState: BC_PROVINCE_CODE,
|
|
95544
|
-
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95545
|
-
country: CANADA_COUNTRY_CODE
|
|
95546
|
-
});
|
|
95547
|
-
}
|
|
95548
|
-
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95549
|
-
const registered = deltaData.registeredOffice;
|
|
95550
|
-
const records = deltaData.recordsOffice;
|
|
95551
|
-
const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
|
|
95552
|
-
const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
|
|
95553
|
-
const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
|
|
95554
|
-
const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
|
|
95555
|
-
const filing = {
|
|
95556
|
-
registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
|
|
95557
|
-
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95558
|
-
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95559
|
-
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95560
|
-
// The entity's company email, shown read-only in Corporation Details.
|
|
95561
|
-
companyEmail: BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95562
|
-
// Not captured on this form; the reminder preference is not changed by an address filing.
|
|
95563
|
-
isAnnualReportReminderRequired: false
|
|
95564
|
-
};
|
|
95565
|
-
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95566
|
-
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95567
|
-
if (reference) {
|
|
95568
|
-
filing.reference = reference;
|
|
95569
|
-
}
|
|
95570
|
-
if (docket) {
|
|
95571
|
-
filing.docket = docket;
|
|
95572
|
-
}
|
|
95573
|
-
if (!registeredDeliverySame) {
|
|
95574
|
-
filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
|
|
95575
|
-
}
|
|
95576
|
-
if (!recordsSameAsRegistered) {
|
|
95577
|
-
filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
|
|
95578
|
-
}
|
|
95579
|
-
if (!recordsDeliverySame) {
|
|
95580
|
-
filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
|
|
95581
|
-
}
|
|
95582
|
-
return { filingType: "changeOfAddressFiling", filing };
|
|
95583
|
-
}
|
|
95584
|
-
function getBritishColumbiaAccessCode(task, env) {
|
|
95585
|
-
const registryId = task.entity._profile.registry_id?.trim() ?? "";
|
|
95586
|
-
if (registryId) {
|
|
95587
|
-
return registryId;
|
|
95588
|
-
}
|
|
95589
|
-
return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
|
|
95590
|
-
}
|
|
95591
|
-
var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95592
|
-
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95593
|
-
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95594
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95595
|
-
TEMP_UAT_TEST_ACCESS_CODE = "12345678";
|
|
95596
|
-
BC_PROVINCE_CODE = "BC";
|
|
95597
|
-
CANADA_COUNTRY_CODE = "CA";
|
|
95598
|
-
clean = (value) => (value ?? "").trim();
|
|
95599
|
-
}
|
|
95600
|
-
});
|
|
95601
|
-
|
|
95602
94283
|
// src/app/components/filing/filing.component.ts
|
|
95603
94284
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
95604
94285
|
if (rf & 1) {
|
|
@@ -95698,18 +94379,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95698
94379
|
\u0275\u0275restoreView(_r6);
|
|
95699
94380
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95700
94381
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
95701
|
-
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
95702
|
-
\u0275\u0275restoreView(_r6);
|
|
95703
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95704
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
95705
|
-
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
95706
|
-
\u0275\u0275restoreView(_r6);
|
|
95707
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95708
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
95709
|
-
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
95710
|
-
\u0275\u0275restoreView(_r6);
|
|
95711
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95712
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
95713
94382
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
95714
94383
|
\u0275\u0275restoreView(_r6);
|
|
95715
94384
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -95728,7 +94397,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95728
94397
|
if (rf & 2) {
|
|
95729
94398
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95730
94399
|
const currentTask_r5 = \u0275\u0275readContextLet(9);
|
|
95731
|
-
\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());
|
|
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())("currentDataExtract", ctx_r2.currentDataExtract());
|
|
95732
94401
|
}
|
|
95733
94402
|
}
|
|
95734
94403
|
function FilingComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
|
|
@@ -95778,7 +94447,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95778
94447
|
}
|
|
95779
94448
|
function FilingComponent_Conditional_10_Template(rf, ctx) {
|
|
95780
94449
|
if (rf & 1) {
|
|
95781
|
-
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1,
|
|
94450
|
+
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1, 7, "british-columbia", 9)(2, FilingComponent_Conditional_10_Conditional_2_Template, 1, 5, "federal", 10);
|
|
95782
94451
|
}
|
|
95783
94452
|
if (rf & 2) {
|
|
95784
94453
|
const ctx_r2 = \u0275\u0275nextContext();
|
|
@@ -95825,8 +94494,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95825
94494
|
init_delta_state_service();
|
|
95826
94495
|
init_british_columbia_change_of_directors_service();
|
|
95827
94496
|
init_british_columbia_change_of_directors_mapper();
|
|
95828
|
-
init_british_columbia_maintenance_service();
|
|
95829
|
-
init_british_columbia_change_of_office_addresses_mapper();
|
|
95830
94497
|
init_core();
|
|
95831
94498
|
init_button();
|
|
95832
94499
|
FilingComponent = class _FilingComponent {
|
|
@@ -95883,7 +94550,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95883
94550
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
95884
94551
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
95885
94552
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
95886
|
-
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
95887
94553
|
translate = inject(TranslateService);
|
|
95888
94554
|
isEditButton = computed(() => {
|
|
95889
94555
|
const task = this.task();
|
|
@@ -95899,6 +94565,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95899
94565
|
});
|
|
95900
94566
|
dataWasChanged = signal(false);
|
|
95901
94567
|
serviceOrderId = "";
|
|
94568
|
+
bcCurrentDataServiceOrderId = "";
|
|
94569
|
+
currentDataExtract = signal(void 0);
|
|
94570
|
+
bcDataExtractTaskId = "";
|
|
95902
94571
|
activeStep = signal(Step.Validate);
|
|
95903
94572
|
isLoading = signal(false);
|
|
95904
94573
|
validationConfig = signal(null);
|
|
@@ -95925,9 +94594,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95925
94594
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
95926
94595
|
return "File British Columbia Notice of Change of Directors";
|
|
95927
94596
|
}
|
|
95928
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
95929
|
-
return "File British Columbia Change of Office Addresses";
|
|
95930
|
-
}
|
|
95931
94597
|
return "";
|
|
95932
94598
|
});
|
|
95933
94599
|
constructor() {
|
|
@@ -95940,7 +94606,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95940
94606
|
this.bcFormationService.setConfig(config2);
|
|
95941
94607
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
95942
94608
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
95943
|
-
this.bcMaintenanceService.setConfig(config2);
|
|
95944
94609
|
}
|
|
95945
94610
|
});
|
|
95946
94611
|
addStylesVariables();
|
|
@@ -95966,6 +94631,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95966
94631
|
this.serviceOrderId = serviceOrderId;
|
|
95967
94632
|
}
|
|
95968
94633
|
}
|
|
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
|
+
}
|
|
95969
94654
|
}));
|
|
95970
94655
|
}
|
|
95971
94656
|
getCurrentData() {
|
|
@@ -96089,8 +94774,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96089
94774
|
try {
|
|
96090
94775
|
this.isLoading.set(true);
|
|
96091
94776
|
this.errors.set([]);
|
|
96092
|
-
const
|
|
96093
|
-
const
|
|
94777
|
+
const options = this.validateOptions() ?? {};
|
|
94778
|
+
const currentDataServiceOrderId = this.bcCurrentDataServiceOrderId;
|
|
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);
|
|
96094
94785
|
if (this.hasResponseErrors(response))
|
|
96095
94786
|
return;
|
|
96096
94787
|
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
@@ -96099,7 +94790,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96099
94790
|
searchOrFilingType: getSearchOrFilingType(task),
|
|
96100
94791
|
serviceOrderId,
|
|
96101
94792
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
96102
|
-
provider: "
|
|
94793
|
+
provider: "bcreg",
|
|
96103
94794
|
draftPdf: response.Draft,
|
|
96104
94795
|
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
96105
94796
|
documentType: "pdf"
|
|
@@ -96239,93 +94930,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96239
94930
|
}
|
|
96240
94931
|
});
|
|
96241
94932
|
}
|
|
96242
|
-
/**
|
|
96243
|
-
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96244
|
-
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96245
|
-
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96246
|
-
*/
|
|
96247
|
-
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96248
|
-
return __async(this, null, function* () {
|
|
96249
|
-
const task = this.task();
|
|
96250
|
-
const signature = this._signature();
|
|
96251
|
-
try {
|
|
96252
|
-
if (!task || !signature) {
|
|
96253
|
-
throw new Error("The filing is not ready yet. Please try again.");
|
|
96254
|
-
}
|
|
96255
|
-
this.isLoading.set(true);
|
|
96256
|
-
this.errors.set([]);
|
|
96257
|
-
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96258
|
-
const opts = this.validateOptions() ?? {};
|
|
96259
|
-
const context2 = {
|
|
96260
|
-
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96261
|
-
accessCodeOrPassword: getBritishColumbiaAccessCode(task, signature.env),
|
|
96262
|
-
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96263
|
-
};
|
|
96264
|
-
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96265
|
-
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96266
|
-
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96267
|
-
if (this.hasResponseErrors(response))
|
|
96268
|
-
return;
|
|
96269
|
-
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96270
|
-
const draftPdf = response.Draft ?? "";
|
|
96271
|
-
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96272
|
-
if (draftPdf && searchOrFilingType) {
|
|
96273
|
-
this.filingValidateSuccess.emit({
|
|
96274
|
-
searchOrFilingType,
|
|
96275
|
-
serviceOrderId,
|
|
96276
|
-
validatedOn: /* @__PURE__ */ new Date(),
|
|
96277
|
-
provider: "obr",
|
|
96278
|
-
draftPdf,
|
|
96279
|
-
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96280
|
-
documentType: "pdf"
|
|
96281
|
-
});
|
|
96282
|
-
}
|
|
96283
|
-
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96284
|
-
serviceOrderId,
|
|
96285
|
-
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
96286
|
-
}));
|
|
96287
|
-
this.close.emit();
|
|
96288
|
-
} catch (response) {
|
|
96289
|
-
this.handleCatchError(response);
|
|
96290
|
-
} finally {
|
|
96291
|
-
this.isLoading.set(false);
|
|
96292
|
-
}
|
|
96293
|
-
});
|
|
96294
|
-
}
|
|
96295
|
-
/**
|
|
96296
|
-
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96297
|
-
*/
|
|
96298
|
-
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96299
|
-
const oldDeltaData = this.task()?.deltaData;
|
|
96300
|
-
if (oldDeltaData) {
|
|
96301
|
-
delete this.task()?.deltaData;
|
|
96302
|
-
}
|
|
96303
|
-
this.deltaDataChange.emit(deltaData);
|
|
96304
|
-
}
|
|
96305
|
-
/**
|
|
96306
|
-
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96307
|
-
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96308
|
-
*/
|
|
96309
|
-
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96310
|
-
return __async(this, null, function* () {
|
|
96311
|
-
const signature = this._signature();
|
|
96312
|
-
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96313
|
-
if (!signature || !serviceOrderId) {
|
|
96314
|
-
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96315
|
-
return;
|
|
96316
|
-
}
|
|
96317
|
-
try {
|
|
96318
|
-
this.isLoading.set(true);
|
|
96319
|
-
this.errors.set([]);
|
|
96320
|
-
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96321
|
-
this.close.emit();
|
|
96322
|
-
} catch (response) {
|
|
96323
|
-
this.handleCatchError(response);
|
|
96324
|
-
} finally {
|
|
96325
|
-
this.isLoading.set(false);
|
|
96326
|
-
}
|
|
96327
|
-
});
|
|
96328
|
-
}
|
|
96329
94933
|
/**
|
|
96330
94934
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
96331
94935
|
*/
|
|
@@ -96594,7 +95198,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96594
95198
|
this.errors.set(this.parseError(errors));
|
|
96595
95199
|
return;
|
|
96596
95200
|
}
|
|
96597
|
-
const fallbackMessage =
|
|
95201
|
+
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
96598
95202
|
this.errors.set([fallbackMessage]);
|
|
96599
95203
|
}
|
|
96600
95204
|
onClose() {
|
|
@@ -96661,8 +95265,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96661
95265
|
let initialDelta;
|
|
96662
95266
|
if (isFormationTask2(task)) {
|
|
96663
95267
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
96664
|
-
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96665
|
-
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
96666
95268
|
} else if (isUpdateMaintain(task)) {
|
|
96667
95269
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
96668
95270
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -96696,9 +95298,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96696
95298
|
}
|
|
96697
95299
|
return federalPayload;
|
|
96698
95300
|
}
|
|
96699
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96700
|
-
return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96701
|
-
}
|
|
96702
95301
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
96703
95302
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
96704
95303
|
if (!serviceOrderId) {
|
|
@@ -96727,7 +95326,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96727
95326
|
if (rf & 2) {
|
|
96728
95327
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
96729
95328
|
}
|
|
96730
|
-
}, 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", "
|
|
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", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
96731
95330
|
if (rf & 1) {
|
|
96732
95331
|
const _r1 = \u0275\u0275getCurrentView();
|
|
96733
95332
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -96809,7 +95408,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96809
95408
|
[activeStep]="activeStep()"\r
|
|
96810
95409
|
[isNote]="dataWasChanged()"\r
|
|
96811
95410
|
[actionsDisabled]="isLoading()"\r
|
|
96812
|
-
[errors]="errors()"
|
|
95411
|
+
[errors]="errors()"
|
|
96813
95412
|
[prevData]="prevData()"\r
|
|
96814
95413
|
(close)="close.emit()"\r
|
|
96815
95414
|
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
@@ -96828,17 +95427,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96828
95427
|
[currentUser]="currentUser()"\r
|
|
96829
95428
|
[activeStep]="activeStep()"\r
|
|
96830
95429
|
[isNote]="dataWasChanged()"\r
|
|
96831
|
-
[actionsDisabled]="isLoading()"
|
|
96832
|
-
[errors]="errors()"
|
|
95430
|
+
[actionsDisabled]="isLoading()"
|
|
95431
|
+
[errors]="errors()"
|
|
95432
|
+
[currentDataExtract]="currentDataExtract()"
|
|
96833
95433
|
(close)="close.emit()"\r
|
|
96834
95434
|
(nextStep)="onNextStepClick()"\r
|
|
96835
95435
|
(prevStep)="onOntarioPrevStep()"\r
|
|
96836
95436
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
96837
95437
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
96838
95438
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
96839
|
-
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
96840
|
-
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
96841
|
-
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
96842
95439
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
96843
95440
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
96844
95441
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -96868,11 +95465,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96868
95465
|
</div>\r
|
|
96869
95466
|
}\r
|
|
96870
95467
|
</div>\r
|
|
96871
|
-
</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'] }]
|
|
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'] }]
|
|
96872
95470
|
}], () => [], null);
|
|
96873
95471
|
})();
|
|
96874
95472
|
(() => {
|
|
96875
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
95473
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 89 });
|
|
96876
95474
|
})();
|
|
96877
95475
|
}
|
|
96878
95476
|
});
|
|
@@ -101518,17 +100116,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101518
100116
|
Currency: "Currency",
|
|
101519
100117
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
101520
100118
|
Unlimited: "Unlimited",
|
|
101521
|
-
"Without Par Value": "Without Par Value"
|
|
101522
|
-
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101523
|
-
"Records Office Address": "Records Office Address",
|
|
101524
|
-
"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.",
|
|
101525
|
-
"Current Mailing Address": "Current Mailing Address",
|
|
101526
|
-
"Current Delivery Address": "Current Delivery Address",
|
|
101527
|
-
"New Mailing Address": "New Mailing Address",
|
|
101528
|
-
"New Delivery Address": "New Delivery Address",
|
|
101529
|
-
"Same as Mailing Address": "Same as Mailing Address",
|
|
101530
|
-
"Same as Registered Office": "Same as Registered Office",
|
|
101531
|
-
"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."
|
|
100119
|
+
"Without Par Value": "Without Par Value"
|
|
101532
100120
|
};
|
|
101533
100121
|
}
|
|
101534
100122
|
});
|
|
@@ -101875,16 +100463,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101875
100463
|
Currency: "Devise",
|
|
101876
100464
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
101877
100465
|
Unlimited: "Illimit\xE9",
|
|
101878
|
-
"Without Par Value": "Sans valeur nominale"
|
|
101879
|
-
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
101880
|
-
"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.",
|
|
101881
|
-
"Current Mailing Address": "Adresse postale actuelle",
|
|
101882
|
-
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
101883
|
-
"New Mailing Address": "Nouvelle adresse postale",
|
|
101884
|
-
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
101885
|
-
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
101886
|
-
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
101887
|
-
"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."
|
|
100466
|
+
"Without Par Value": "Sans valeur nominale"
|
|
101888
100467
|
};
|
|
101889
100468
|
}
|
|
101890
100469
|
});
|