@dyedurham/search-and-file-widget 2.0.85 → 2.0.87
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 +304 -1814
- package/dyedurham-search-and-file-widget-2.0.87.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 "bcChangeOfOfficeAddresses";
|
|
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,32 +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["CompanyPassword"] = "companyPassword";
|
|
84278
|
-
BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
|
|
84279
|
-
BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
|
|
84280
|
-
BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
|
|
84281
|
-
BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
|
|
84282
|
-
BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
|
|
84283
|
-
BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
|
|
84284
|
-
BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
|
|
84285
|
-
BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
|
|
84286
|
-
BCChangeOfOfficeAddressesFormControls2["City"] = "city";
|
|
84287
|
-
BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
|
|
84288
|
-
BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
|
|
84289
|
-
BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
|
|
84290
|
-
})(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
|
|
84291
|
-
(function(BCChangeOfOfficeAddressesFormGroups2) {
|
|
84292
|
-
BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84293
|
-
BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84294
|
-
BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
|
|
84295
|
-
BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
|
|
84296
|
-
})(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
|
|
84297
84258
|
(function(BCFormationFormGroups2) {
|
|
84298
84259
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84299
84260
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
@@ -84368,7 +84329,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84368
84329
|
}
|
|
84369
84330
|
const password = request.password ?? "";
|
|
84370
84331
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84371
|
-
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.`);
|
|
84372
84333
|
}
|
|
84373
84334
|
return issues;
|
|
84374
84335
|
}
|
|
@@ -84760,14 +84721,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84760
84721
|
// Prefilled from the entity's Business Email when Athennian has one; otherwise the user
|
|
84761
84722
|
// enters it here (the API requires it).
|
|
84762
84723
|
[BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
|
|
84763
|
-
//
|
|
84764
|
-
//
|
|
84765
|
-
|
|
84766
|
-
|
|
84767
|
-
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
84768
|
-
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
84769
|
-
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
84770
|
-
]),
|
|
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)),
|
|
84771
84728
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84772
84729
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84773
84730
|
});
|
|
@@ -84869,6 +84826,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84869
84826
|
})
|
|
84870
84827
|
});
|
|
84871
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
|
+
}
|
|
84872
84838
|
static suggestPassword(registryId) {
|
|
84873
84839
|
const value = registryId?.trim() ?? "";
|
|
84874
84840
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
@@ -84912,7 +84878,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84912
84878
|
init_british_columbia_formation_form_helper();
|
|
84913
84879
|
Controls = BCChangeOfDirectorsFormControls;
|
|
84914
84880
|
BritishColumbiaChangeOfDirectorsFormHelper = class {
|
|
84915
|
-
static generateConfig(task, _translateFn) {
|
|
84881
|
+
static generateConfig(task, _translateFn, currentDataExtract) {
|
|
84916
84882
|
const affiliations = task.entity.affiliations ?? [];
|
|
84917
84883
|
const delta = task.deltaData;
|
|
84918
84884
|
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
@@ -84941,8 +84907,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84941
84907
|
]),
|
|
84942
84908
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84943
84909
|
});
|
|
84910
|
+
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
84944
84911
|
const directors = [
|
|
84945
|
-
...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)),
|
|
84946
84913
|
...outgoing.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Ceased))
|
|
84947
84914
|
];
|
|
84948
84915
|
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
@@ -84960,6 +84927,45 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84960
84927
|
});
|
|
84961
84928
|
return config2;
|
|
84962
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
|
+
}
|
|
84963
84969
|
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber, savedClientMatterNumber) {
|
|
84964
84970
|
return new FormGroup({
|
|
84965
84971
|
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? savedClientMatterNumber ?? ""),
|
|
@@ -85019,6 +85025,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85019
85025
|
const postalAddress = director?.PostalAddress ?? director?.postalAddress;
|
|
85020
85026
|
const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
|
|
85021
85027
|
return [
|
|
85028
|
+
address.streetAddress,
|
|
85029
|
+
address.additionalStreetAddress,
|
|
85022
85030
|
address.Address1 ?? address.address1,
|
|
85023
85031
|
address.Address2 ?? address.address2,
|
|
85024
85032
|
address.Address3 ?? address.address3,
|
|
@@ -85035,133 +85043,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85035
85043
|
}
|
|
85036
85044
|
});
|
|
85037
85045
|
|
|
85038
|
-
// src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
|
|
85039
|
-
var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
|
|
85040
|
-
var init_british_columbia_change_of_office_addresses_form_helper = __esm({
|
|
85041
|
-
"src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
|
|
85042
|
-
init_forms();
|
|
85043
|
-
init_common_models();
|
|
85044
|
-
init_british_columbia_form_enums();
|
|
85045
|
-
init_BritishColumbiaConstants();
|
|
85046
|
-
init_british_columbia_formation_form_helper();
|
|
85047
|
-
Controls2 = BCChangeOfOfficeAddressesFormControls;
|
|
85048
|
-
EDITABLE_ADDRESS_CONTROLS = [
|
|
85049
|
-
Controls2.AddressLine1,
|
|
85050
|
-
Controls2.AddressLine2,
|
|
85051
|
-
Controls2.City,
|
|
85052
|
-
Controls2.PostalCode
|
|
85053
|
-
];
|
|
85054
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85055
|
-
static generateConfig(task, _translateFn) {
|
|
85056
|
-
const affiliations = task.entity.affiliations ?? [];
|
|
85057
|
-
const delta = task.deltaData;
|
|
85058
|
-
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
85059
|
-
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85060
|
-
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85061
|
-
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85062
|
-
const companyEmail = this.resolveCompanyEmail(task);
|
|
85063
|
-
const config2 = {};
|
|
85064
|
-
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85065
|
-
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
85066
|
-
[Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
85067
|
-
[Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
85068
|
-
// Prefilled from the entity's Business Email when Athennian has one; otherwise (or to
|
|
85069
|
-
// correct it) the user enters it here, as in the BC Incorporation Application.
|
|
85070
|
-
[Controls2.CompanyEmail]: new FormControl(delta?.companyEmail ?? companyEmail, [
|
|
85071
|
-
Validators.required,
|
|
85072
|
-
Validators.email,
|
|
85073
|
-
Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)
|
|
85074
|
-
]),
|
|
85075
|
-
// The company's BC access code, required to order the registry's current data. Restored from
|
|
85076
|
-
// the saved draft, with the same rules as in the BC Incorporation (8-15 letters or digits).
|
|
85077
|
-
[Controls2.CompanyPassword]: new FormControl(delta?.companyPassword ?? "", [
|
|
85078
|
-
Validators.required,
|
|
85079
|
-
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
85080
|
-
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
85081
|
-
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
85082
|
-
])
|
|
85083
|
-
});
|
|
85084
|
-
const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85085
|
-
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85086
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85087
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85088
|
-
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
|
|
85089
|
-
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85090
|
-
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
85091
|
-
});
|
|
85092
|
-
const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85093
|
-
const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85094
|
-
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85095
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85096
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85097
|
-
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85098
|
-
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85099
|
-
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
85100
|
-
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
|
|
85101
|
-
});
|
|
85102
|
-
return config2;
|
|
85103
|
-
}
|
|
85104
|
-
/**
|
|
85105
|
-
* The company's email, looked up the same way as in the BC Incorporation Application: the
|
|
85106
|
-
* entity's email options, then the Registered Office's Business Email, then the entity's own,
|
|
85107
|
-
* then any other address of the entity (e.g. a Head Office).
|
|
85108
|
-
*/
|
|
85109
|
-
static resolveCompanyEmail(task) {
|
|
85110
|
-
const affiliations = task.entity.affiliations ?? [];
|
|
85111
|
-
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85112
|
-
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 ?? "";
|
|
85113
|
-
}
|
|
85114
|
-
/**
|
|
85115
|
-
* Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
|
|
85116
|
-
* Province and Country are always disabled; the rest follow `enabled`.
|
|
85117
|
-
*/
|
|
85118
|
-
static createOfficeAddressFormGroup(delta, enabled = true) {
|
|
85119
|
-
const group2 = new FormGroup({
|
|
85120
|
-
[Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
|
|
85121
|
-
[Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
|
|
85122
|
-
[Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
|
|
85123
|
-
[Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
|
|
85124
|
-
[Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
|
|
85125
|
-
[Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
|
|
85126
|
-
});
|
|
85127
|
-
this.setOfficeAddressEnabled(group2, enabled);
|
|
85128
|
-
return group2;
|
|
85129
|
-
}
|
|
85130
|
-
/** Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes). */
|
|
85131
|
-
static setOfficeAddressEnabled(group2, enabled) {
|
|
85132
|
-
if (!group2) {
|
|
85133
|
-
return;
|
|
85134
|
-
}
|
|
85135
|
-
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85136
|
-
const control = group2.get(name);
|
|
85137
|
-
enabled ? control?.enable({ emitEvent: false }) : control?.disable({ emitEvent: false });
|
|
85138
|
-
});
|
|
85139
|
-
group2.updateValueAndValidity({ emitEvent: false });
|
|
85140
|
-
}
|
|
85141
|
-
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85142
|
-
return new FormGroup({
|
|
85143
|
-
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85144
|
-
// `||`, not `??`: a draft saved with the field empty stores '' and must not hide the entity's number.
|
|
85145
|
-
deltaData?.referenceNumber || clientMatterNumber || ""
|
|
85146
|
-
),
|
|
85147
|
-
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85148
|
-
});
|
|
85149
|
-
}
|
|
85150
|
-
static readOnly(value) {
|
|
85151
|
-
return new FormControl({ value: value ?? "", disabled: true });
|
|
85152
|
-
}
|
|
85153
|
-
};
|
|
85154
|
-
}
|
|
85155
|
-
});
|
|
85156
|
-
|
|
85157
85046
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85158
|
-
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, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85159
85048
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85160
85049
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85161
85050
|
init_form_enums();
|
|
85162
85051
|
init_british_columbia_form_enums();
|
|
85163
85052
|
init_BritishColumbiaConstants();
|
|
85164
|
-
|
|
85053
|
+
Controls2 = BCChangeOfDirectorsFormControls;
|
|
85165
85054
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85166
85055
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85167
85056
|
type: FormType.Text,
|
|
@@ -85169,24 +85058,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85169
85058
|
class: className,
|
|
85170
85059
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85171
85060
|
});
|
|
85172
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85173
|
-
isNotifyByMail = (form) => form.get(
|
|
85061
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
|
|
85062
|
+
isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85174
85063
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85175
85064
|
{
|
|
85176
85065
|
type: FormType.Input,
|
|
85177
85066
|
label: "Client/Matter Number",
|
|
85178
|
-
formControlName:
|
|
85067
|
+
formControlName: Controls2.ClientMatterNumber
|
|
85179
85068
|
},
|
|
85180
85069
|
{
|
|
85181
85070
|
type: FormType.Input,
|
|
85182
85071
|
label: "Docket Number",
|
|
85183
|
-
formControlName:
|
|
85072
|
+
formControlName: Controls2.DocketNumber
|
|
85184
85073
|
}
|
|
85185
85074
|
];
|
|
85186
85075
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85187
|
-
readOnlyRow("Corporation Name",
|
|
85188
|
-
readOnlyRow("Incorporation Number",
|
|
85189
|
-
readOnlyRow("Company Email",
|
|
85076
|
+
readOnlyRow("Corporation Name", Controls2.CorporationName),
|
|
85077
|
+
readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
|
|
85078
|
+
readOnlyRow("Company Email", Controls2.CompanyEmail)
|
|
85190
85079
|
];
|
|
85191
85080
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85192
85081
|
{
|
|
@@ -85198,24 +85087,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85198
85087
|
{
|
|
85199
85088
|
type: FormType.Checkbox,
|
|
85200
85089
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85201
|
-
formControlName:
|
|
85090
|
+
formControlName: Controls2.DirectorsAddedOrDeleted,
|
|
85202
85091
|
class: "span-12",
|
|
85203
85092
|
onChange: (form) => {
|
|
85204
85093
|
if (!directorsAddedOrDeleted(form)) {
|
|
85205
|
-
form.get(
|
|
85094
|
+
form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85206
85095
|
}
|
|
85207
|
-
form.get(
|
|
85096
|
+
form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85208
85097
|
}
|
|
85209
85098
|
},
|
|
85210
85099
|
{
|
|
85211
85100
|
type: FormType.Date,
|
|
85212
85101
|
label: "Date Directors were added or deleted",
|
|
85213
|
-
formControlName:
|
|
85102
|
+
formControlName: Controls2.ChangeDate,
|
|
85214
85103
|
required: true,
|
|
85215
85104
|
isVisible: directorsAddedOrDeleted,
|
|
85216
85105
|
class: "span-8"
|
|
85217
85106
|
},
|
|
85218
|
-
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee",
|
|
85107
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
|
|
85219
85108
|
isVisible: directorsAddedOrDeleted
|
|
85220
85109
|
}),
|
|
85221
85110
|
{
|
|
@@ -85235,34 +85124,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85235
85124
|
}
|
|
85236
85125
|
];
|
|
85237
85126
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85238
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85239
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85127
|
+
readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
|
|
85128
|
+
readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
|
|
85240
85129
|
];
|
|
85241
85130
|
[
|
|
85242
85131
|
{
|
|
85243
85132
|
type: FormType.Select,
|
|
85244
85133
|
label: "Notification Method",
|
|
85245
|
-
formControlName:
|
|
85134
|
+
formControlName: Controls2.NotificationMethod,
|
|
85246
85135
|
required: true,
|
|
85247
85136
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85248
85137
|
needTranslate: true,
|
|
85249
85138
|
class: "span-6",
|
|
85250
|
-
onChange: (form) => form.get(
|
|
85139
|
+
onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85251
85140
|
},
|
|
85252
85141
|
{
|
|
85253
85142
|
type: FormType.Input,
|
|
85254
85143
|
label: "Notification Email",
|
|
85255
|
-
formControlName:
|
|
85144
|
+
formControlName: Controls2.NotificationEmail,
|
|
85256
85145
|
required: true,
|
|
85257
85146
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85258
85147
|
class: "column-3"
|
|
85259
85148
|
},
|
|
85260
85149
|
{
|
|
85261
85150
|
type: FormType.Text,
|
|
85262
|
-
formControlName:
|
|
85151
|
+
formControlName: Controls2.NotificationMailingAddress,
|
|
85263
85152
|
class: "span-12",
|
|
85264
85153
|
isVisible: isNotifyByMail,
|
|
85265
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85154
|
+
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")})`
|
|
85266
85155
|
}
|
|
85267
85156
|
];
|
|
85268
85157
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85275,7 +85164,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85275
85164
|
{
|
|
85276
85165
|
type: FormType.Select,
|
|
85277
85166
|
label: "Annual Report Reminder",
|
|
85278
|
-
formControlName:
|
|
85167
|
+
formControlName: Controls2.AnnualReportReminder,
|
|
85279
85168
|
required: true,
|
|
85280
85169
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85281
85170
|
needTranslate: true,
|
|
@@ -86298,27 +86187,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86298
86187
|
dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
|
|
86299
86188
|
},
|
|
86300
86189
|
{
|
|
86301
|
-
|
|
86302
|
-
|
|
86190
|
+
// Options are filled per task from `task.entity.emailOptions` by the incorporation form.
|
|
86191
|
+
type: FormType.Select,
|
|
86303
86192
|
label: "Company Email",
|
|
86304
86193
|
formControlName: BCFormationFormControls.CompanyEmail,
|
|
86305
86194
|
required: true,
|
|
86306
|
-
|
|
86307
|
-
errorMessage: "Enter a valid email address",
|
|
86308
|
-
showRequiredMessage: true,
|
|
86309
|
-
class: "span-6"
|
|
86310
|
-
},
|
|
86311
|
-
{
|
|
86312
|
-
type: FormType.Input,
|
|
86313
|
-
inputType: "password",
|
|
86314
|
-
label: "Company Password",
|
|
86315
|
-
formControlName: BCFormationFormControls.CompanyPassword,
|
|
86316
|
-
required: true,
|
|
86317
|
-
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
86318
|
-
errorMessage: "Company Password must be 8 to 15 characters",
|
|
86319
|
-
showRequiredMessage: true,
|
|
86195
|
+
options: [],
|
|
86320
86196
|
class: "span-6"
|
|
86321
86197
|
}
|
|
86198
|
+
// The company password is not shown: it is taken from the entity's registry ID.
|
|
86322
86199
|
];
|
|
86323
86200
|
BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
|
|
86324
86201
|
{
|
|
@@ -86677,7 +86554,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86677
86554
|
const corporationDetails_r11 = \u0275\u0275readContextLet(6);
|
|
86678
86555
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
|
|
86679
86556
|
\u0275\u0275advance(2);
|
|
86680
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
|
|
86557
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields());
|
|
86681
86558
|
\u0275\u0275advance(2);
|
|
86682
86559
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
|
|
86683
86560
|
\u0275\u0275advance(2);
|
|
@@ -86912,7 +86789,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86912
86789
|
groups = BCFormationFormGroups;
|
|
86913
86790
|
controls = BCFormationFormControls;
|
|
86914
86791
|
referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
86915
|
-
|
|
86792
|
+
/** Corporation Details fields, with the Company Email dropdown filled from the task. */
|
|
86793
|
+
corporationDetailsFields = computed(() => {
|
|
86794
|
+
const currentEmail = this.form().get(this.groups.CorporationDetails)?.get(this.controls.CompanyEmail)?.value;
|
|
86795
|
+
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
86796
|
+
return BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
86797
|
+
});
|
|
86916
86798
|
nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
|
|
86917
86799
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
86918
86800
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
@@ -87102,7 +86984,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87102
86984
|
<filing-form-group\r
|
|
87103
86985
|
[isSubmitted]="isSubmitted()"\r
|
|
87104
86986
|
[form]="corporationDetails"\r
|
|
87105
|
-
[config]="corporationDetailsFields"\r
|
|
86987
|
+
[config]="corporationDetailsFields()"\r
|
|
87106
86988
|
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
87107
86989
|
/>\r
|
|
87108
86990
|
\r
|
|
@@ -87523,924 +87405,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87523
87405
|
}
|
|
87524
87406
|
});
|
|
87525
87407
|
|
|
87526
|
-
// src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
|
|
87527
|
-
var Controls4, labelledValue3, readOnlyRow2, isChecked, addressGroup, BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, effectiveDateNote, BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_DELTA_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;
|
|
87528
|
-
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87529
|
-
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87530
|
-
init_form_enums();
|
|
87531
|
-
init_british_columbia_form_enums();
|
|
87532
|
-
init_BritishColumbiaConstants();
|
|
87533
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87534
|
-
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87535
|
-
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87536
|
-
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87537
|
-
type: FormType.Text,
|
|
87538
|
-
formControlName: control,
|
|
87539
|
-
class: className,
|
|
87540
|
-
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87541
|
-
});
|
|
87542
|
-
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87543
|
-
addressGroup = (form, control) => form.get(control);
|
|
87544
|
-
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87545
|
-
{
|
|
87546
|
-
type: FormType.Input,
|
|
87547
|
-
label: "Client/Matter Number",
|
|
87548
|
-
formControlName: Controls4.ClientMatterNumber
|
|
87549
|
-
},
|
|
87550
|
-
{
|
|
87551
|
-
type: FormType.Input,
|
|
87552
|
-
label: "Docket Number",
|
|
87553
|
-
formControlName: Controls4.DocketNumber
|
|
87554
|
-
}
|
|
87555
|
-
];
|
|
87556
|
-
effectiveDateNote = {
|
|
87557
|
-
type: FormType.Text,
|
|
87558
|
-
formControlName: "",
|
|
87559
|
-
class: "span-12 note-box",
|
|
87560
|
-
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.")}`
|
|
87561
|
-
};
|
|
87562
|
-
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
87563
|
-
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87564
|
-
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87565
|
-
readOnlyRow2("Company Email", Controls4.CompanyEmail),
|
|
87566
|
-
effectiveDateNote
|
|
87567
|
-
];
|
|
87568
|
-
BC_COA_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
87569
|
-
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87570
|
-
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87571
|
-
{
|
|
87572
|
-
type: FormType.Input,
|
|
87573
|
-
inputType: "email",
|
|
87574
|
-
label: "Company Email",
|
|
87575
|
-
formControlName: Controls4.CompanyEmail,
|
|
87576
|
-
required: true,
|
|
87577
|
-
maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
|
|
87578
|
-
errorMessage: "Enter a valid email address",
|
|
87579
|
-
showRequiredMessage: true,
|
|
87580
|
-
class: "span-6"
|
|
87581
|
-
},
|
|
87582
|
-
{
|
|
87583
|
-
type: FormType.Input,
|
|
87584
|
-
inputType: "password",
|
|
87585
|
-
label: "Company Password",
|
|
87586
|
-
formControlName: Controls4.CompanyPassword,
|
|
87587
|
-
required: true,
|
|
87588
|
-
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
87589
|
-
errorMessage: "Company Password must be 8 to 15 characters",
|
|
87590
|
-
showRequiredMessage: true,
|
|
87591
|
-
class: "span-6"
|
|
87592
|
-
},
|
|
87593
|
-
effectiveDateNote
|
|
87594
|
-
];
|
|
87595
|
-
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87596
|
-
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87597
|
-
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87598
|
-
];
|
|
87599
|
-
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87600
|
-
{
|
|
87601
|
-
type: FormType.Input,
|
|
87602
|
-
label: "Address Line 1",
|
|
87603
|
-
formControlName: Controls4.AddressLine1,
|
|
87604
|
-
required: true,
|
|
87605
|
-
class: "span-6"
|
|
87606
|
-
},
|
|
87607
|
-
{
|
|
87608
|
-
type: FormType.Input,
|
|
87609
|
-
label: "Address Line 2",
|
|
87610
|
-
formControlName: Controls4.AddressLine2,
|
|
87611
|
-
class: "span-6"
|
|
87612
|
-
},
|
|
87613
|
-
{
|
|
87614
|
-
type: FormType.Input,
|
|
87615
|
-
label: "City",
|
|
87616
|
-
formControlName: Controls4.City,
|
|
87617
|
-
required: true,
|
|
87618
|
-
class: "span-6"
|
|
87619
|
-
},
|
|
87620
|
-
{
|
|
87621
|
-
type: FormType.Input,
|
|
87622
|
-
label: "Postal Code",
|
|
87623
|
-
formControlName: Controls4.PostalCode,
|
|
87624
|
-
required: true,
|
|
87625
|
-
class: "span-6"
|
|
87626
|
-
},
|
|
87627
|
-
{
|
|
87628
|
-
type: FormType.Input,
|
|
87629
|
-
label: "Province",
|
|
87630
|
-
formControlName: Controls4.Province,
|
|
87631
|
-
readonly: true,
|
|
87632
|
-
class: "span-6"
|
|
87633
|
-
},
|
|
87634
|
-
{
|
|
87635
|
-
type: FormType.Input,
|
|
87636
|
-
label: "Country",
|
|
87637
|
-
formControlName: Controls4.Country,
|
|
87638
|
-
readonly: true,
|
|
87639
|
-
class: "span-6"
|
|
87640
|
-
}
|
|
87641
|
-
];
|
|
87642
|
-
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87643
|
-
{
|
|
87644
|
-
type: FormType.Text,
|
|
87645
|
-
formControlName: "",
|
|
87646
|
-
class: "span-12",
|
|
87647
|
-
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.")
|
|
87648
|
-
}
|
|
87649
|
-
];
|
|
87650
|
-
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87651
|
-
{
|
|
87652
|
-
type: FormType.Checkbox,
|
|
87653
|
-
label: "Same as Mailing Address",
|
|
87654
|
-
formControlName: Controls4.DeliverySameAsMailing,
|
|
87655
|
-
class: "span-12",
|
|
87656
|
-
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87657
|
-
}
|
|
87658
|
-
];
|
|
87659
|
-
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87660
|
-
{
|
|
87661
|
-
type: FormType.Checkbox,
|
|
87662
|
-
label: "Same as Registered Office",
|
|
87663
|
-
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87664
|
-
class: "span-12",
|
|
87665
|
-
onChange: (form) => {
|
|
87666
|
-
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87667
|
-
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87668
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87669
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87670
|
-
}
|
|
87671
|
-
}
|
|
87672
|
-
];
|
|
87673
|
-
}
|
|
87674
|
-
});
|
|
87675
|
-
|
|
87676
|
-
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87677
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87678
|
-
if (rf & 1) {
|
|
87679
|
-
\u0275\u0275element(0, "alert", 1);
|
|
87680
|
-
}
|
|
87681
|
-
if (rf & 2) {
|
|
87682
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87683
|
-
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87684
|
-
}
|
|
87685
|
-
}
|
|
87686
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87687
|
-
if (rf & 1) {
|
|
87688
|
-
\u0275\u0275element(0, "alert", 2);
|
|
87689
|
-
}
|
|
87690
|
-
if (rf & 2) {
|
|
87691
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87692
|
-
\u0275\u0275property("content", ctx_r0.errors());
|
|
87693
|
-
}
|
|
87694
|
-
}
|
|
87695
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87696
|
-
if (rf & 1) {
|
|
87697
|
-
const _r2 = \u0275\u0275getCurrentView();
|
|
87698
|
-
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87699
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87700
|
-
\u0275\u0275restoreView(_r2);
|
|
87701
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87702
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
87703
|
-
});
|
|
87704
|
-
\u0275\u0275elementEnd()();
|
|
87705
|
-
}
|
|
87706
|
-
if (rf & 2) {
|
|
87707
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87708
|
-
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
87709
|
-
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87710
|
-
\u0275\u0275advance();
|
|
87711
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87712
|
-
}
|
|
87713
|
-
}
|
|
87714
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
|
|
87715
|
-
if (rf & 1) {
|
|
87716
|
-
const _r4 = \u0275\u0275getCurrentView();
|
|
87717
|
-
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 7);
|
|
87718
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87719
|
-
\u0275\u0275restoreView(_r4);
|
|
87720
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87721
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("corporationDetails", $event));
|
|
87722
|
-
});
|
|
87723
|
-
\u0275\u0275elementEnd()();
|
|
87724
|
-
}
|
|
87725
|
-
if (rf & 2) {
|
|
87726
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87727
|
-
const corporationDetails_r5 = \u0275\u0275readContextLet(6);
|
|
87728
|
-
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
87729
|
-
\u0275\u0275advance();
|
|
87730
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.readonly() ? ctx_r0.corporationDetailsFields : ctx_r0.editableCorporationDetailsFields);
|
|
87731
|
-
}
|
|
87732
|
-
}
|
|
87733
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87734
|
-
if (rf & 1) {
|
|
87735
|
-
const _r7 = \u0275\u0275getCurrentView();
|
|
87736
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87737
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87738
|
-
\u0275\u0275restoreView(_r7);
|
|
87739
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87740
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87741
|
-
});
|
|
87742
|
-
\u0275\u0275elementEnd();
|
|
87743
|
-
}
|
|
87744
|
-
if (rf & 2) {
|
|
87745
|
-
\u0275\u0275nextContext();
|
|
87746
|
-
const registeredMailing_r8 = \u0275\u0275readContextLet(0);
|
|
87747
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87748
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
|
|
87749
|
-
}
|
|
87750
|
-
}
|
|
87751
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87752
|
-
if (rf & 1) {
|
|
87753
|
-
const _r9 = \u0275\u0275getCurrentView();
|
|
87754
|
-
\u0275\u0275element(0, "filing-form-group", 9);
|
|
87755
|
-
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87756
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87757
|
-
\u0275\u0275restoreView(_r9);
|
|
87758
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87759
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87760
|
-
});
|
|
87761
|
-
\u0275\u0275elementEnd();
|
|
87762
|
-
}
|
|
87763
|
-
if (rf & 2) {
|
|
87764
|
-
\u0275\u0275nextContext();
|
|
87765
|
-
const registeredDelivery_r10 = \u0275\u0275readContextLet(1);
|
|
87766
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87767
|
-
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87768
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
|
|
87769
|
-
\u0275\u0275advance();
|
|
87770
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r10)("config", ctx_r0.addressFields);
|
|
87771
|
-
}
|
|
87772
|
-
}
|
|
87773
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87774
|
-
if (rf & 1) {
|
|
87775
|
-
const _r6 = \u0275\u0275getCurrentView();
|
|
87776
|
-
\u0275\u0275declareLet(0)(1)(2);
|
|
87777
|
-
\u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 8);
|
|
87778
|
-
\u0275\u0275element(5, "filing-form-group", 9);
|
|
87779
|
-
\u0275\u0275elementStart(6, "h4", 10);
|
|
87780
|
-
\u0275\u0275text(7);
|
|
87781
|
-
\u0275\u0275pipe(8, "translate");
|
|
87782
|
-
\u0275\u0275elementEnd();
|
|
87783
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 9);
|
|
87784
|
-
\u0275\u0275elementStart(10, "h4", 10);
|
|
87785
|
-
\u0275\u0275text(11);
|
|
87786
|
-
\u0275\u0275pipe(12, "translate");
|
|
87787
|
-
\u0275\u0275elementEnd();
|
|
87788
|
-
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87789
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87790
|
-
\u0275\u0275restoreView(_r6);
|
|
87791
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87792
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87793
|
-
});
|
|
87794
|
-
\u0275\u0275elementEnd();
|
|
87795
|
-
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87796
|
-
\u0275\u0275elementEnd()();
|
|
87797
|
-
}
|
|
87798
|
-
if (rf & 2) {
|
|
87799
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87800
|
-
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87801
|
-
const registeredMailing_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewMailingAddress));
|
|
87802
|
-
\u0275\u0275advance();
|
|
87803
|
-
const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
|
|
87804
|
-
const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
|
|
87805
|
-
\u0275\u0275advance(2);
|
|
87806
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87807
|
-
\u0275\u0275advance(2);
|
|
87808
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
|
|
87809
|
-
\u0275\u0275advance(2);
|
|
87810
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87811
|
-
\u0275\u0275advance(2);
|
|
87812
|
-
\u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
|
|
87813
|
-
\u0275\u0275advance(2);
|
|
87814
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87815
|
-
\u0275\u0275advance(2);
|
|
87816
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87817
|
-
\u0275\u0275advance();
|
|
87818
|
-
\u0275\u0275conditional(!registeredDeliverySame_r14 && registeredDelivery_r13 ? 14 : -1);
|
|
87819
|
-
}
|
|
87820
|
-
}
|
|
87821
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87822
|
-
if (rf & 1) {
|
|
87823
|
-
const _r17 = \u0275\u0275getCurrentView();
|
|
87824
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87825
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87826
|
-
\u0275\u0275restoreView(_r17);
|
|
87827
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87828
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87829
|
-
});
|
|
87830
|
-
\u0275\u0275elementEnd();
|
|
87831
|
-
}
|
|
87832
|
-
if (rf & 2) {
|
|
87833
|
-
\u0275\u0275nextContext(2);
|
|
87834
|
-
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87835
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87836
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r18)("config", ctx_r0.addressFields);
|
|
87837
|
-
}
|
|
87838
|
-
}
|
|
87839
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87840
|
-
if (rf & 1) {
|
|
87841
|
-
const _r19 = \u0275\u0275getCurrentView();
|
|
87842
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87843
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87844
|
-
\u0275\u0275restoreView(_r19);
|
|
87845
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87846
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87847
|
-
});
|
|
87848
|
-
\u0275\u0275elementEnd();
|
|
87849
|
-
}
|
|
87850
|
-
if (rf & 2) {
|
|
87851
|
-
\u0275\u0275nextContext(2);
|
|
87852
|
-
const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
|
|
87853
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87854
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
|
|
87855
|
-
}
|
|
87856
|
-
}
|
|
87857
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
|
|
87858
|
-
if (rf & 1) {
|
|
87859
|
-
const _r16 = \u0275\u0275getCurrentView();
|
|
87860
|
-
\u0275\u0275elementStart(0, "h4", 10);
|
|
87861
|
-
\u0275\u0275text(1);
|
|
87862
|
-
\u0275\u0275pipe(2, "translate");
|
|
87863
|
-
\u0275\u0275elementEnd();
|
|
87864
|
-
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 9);
|
|
87865
|
-
\u0275\u0275elementStart(4, "h4", 10);
|
|
87866
|
-
\u0275\u0275text(5);
|
|
87867
|
-
\u0275\u0275pipe(6, "translate");
|
|
87868
|
-
\u0275\u0275elementEnd();
|
|
87869
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87870
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87871
|
-
\u0275\u0275restoreView(_r16);
|
|
87872
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87873
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87874
|
-
});
|
|
87875
|
-
\u0275\u0275elementEnd();
|
|
87876
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
|
|
87877
|
-
}
|
|
87878
|
-
if (rf & 2) {
|
|
87879
|
-
\u0275\u0275nextContext();
|
|
87880
|
-
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87881
|
-
const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
|
|
87882
|
-
const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
|
|
87883
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87884
|
-
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
87885
|
-
\u0275\u0275advance();
|
|
87886
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87887
|
-
\u0275\u0275advance(2);
|
|
87888
|
-
\u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
|
|
87889
|
-
\u0275\u0275advance(2);
|
|
87890
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
87891
|
-
\u0275\u0275advance(2);
|
|
87892
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87893
|
-
\u0275\u0275advance();
|
|
87894
|
-
\u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
|
|
87895
|
-
}
|
|
87896
|
-
}
|
|
87897
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
87898
|
-
if (rf & 1) {
|
|
87899
|
-
const _r15 = \u0275\u0275getCurrentView();
|
|
87900
|
-
\u0275\u0275declareLet(0)(1)(2)(3);
|
|
87901
|
-
\u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 8);
|
|
87902
|
-
\u0275\u0275element(6, "filing-form-group", 9);
|
|
87903
|
-
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87904
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87905
|
-
\u0275\u0275restoreView(_r15);
|
|
87906
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87907
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87908
|
-
});
|
|
87909
|
-
\u0275\u0275elementEnd();
|
|
87910
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87911
|
-
\u0275\u0275elementEnd()();
|
|
87912
|
-
}
|
|
87913
|
-
if (rf & 2) {
|
|
87914
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87915
|
-
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
87916
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewMailingAddress));
|
|
87917
|
-
\u0275\u0275advance();
|
|
87918
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
|
|
87919
|
-
const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
|
|
87920
|
-
\u0275\u0275advance(2);
|
|
87921
|
-
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
|
|
87922
|
-
\u0275\u0275advance();
|
|
87923
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
87924
|
-
\u0275\u0275advance(2);
|
|
87925
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.currentAddressesFields);
|
|
87926
|
-
\u0275\u0275advance();
|
|
87927
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
87928
|
-
\u0275\u0275advance();
|
|
87929
|
-
\u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
|
|
87930
|
-
}
|
|
87931
|
-
}
|
|
87932
|
-
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
87933
|
-
var init_change_of_office_addresses_form_component = __esm({
|
|
87934
|
-
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
87935
|
-
init_core();
|
|
87936
|
-
init_ngx_translate_core();
|
|
87937
|
-
init_filing_form_group_component();
|
|
87938
|
-
init_alert_component();
|
|
87939
|
-
init_alert_enum();
|
|
87940
|
-
init_expandable_card_component();
|
|
87941
|
-
init_british_columbia_form_enums();
|
|
87942
|
-
init_british_columbia_change_of_office_addresses_form_constants();
|
|
87943
|
-
init_forms_utils();
|
|
87944
|
-
init_core();
|
|
87945
|
-
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
87946
|
-
form = input.required();
|
|
87947
|
-
task = input();
|
|
87948
|
-
errors = input([]);
|
|
87949
|
-
isNote = input(false);
|
|
87950
|
-
isSubmitted = input(false);
|
|
87951
|
-
readonly = input(false);
|
|
87952
|
-
visiblyValidChange = output();
|
|
87953
|
-
alertType = AlertType;
|
|
87954
|
-
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
87955
|
-
controls = BCChangeOfOfficeAddressesFormControls;
|
|
87956
|
-
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
87957
|
-
corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
87958
|
-
editableCorporationDetailsFields = BC_COA_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
87959
|
-
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
87960
|
-
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
87961
|
-
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
87962
|
-
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
87963
|
-
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
87964
|
-
sectionValidity = {};
|
|
87965
|
-
isVisiblyValid() {
|
|
87966
|
-
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
87967
|
-
}
|
|
87968
|
-
isRegisteredOfficeValid() {
|
|
87969
|
-
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
87970
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87971
|
-
}
|
|
87972
|
-
isRecordsOfficeValid() {
|
|
87973
|
-
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
87974
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87975
|
-
}
|
|
87976
|
-
isChecked(office, control) {
|
|
87977
|
-
return Boolean(office?.get(control)?.value);
|
|
87978
|
-
}
|
|
87979
|
-
onSectionValidChange(section, valid) {
|
|
87980
|
-
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
87981
|
-
this.emitValidity();
|
|
87982
|
-
}
|
|
87983
|
-
emitValidity() {
|
|
87984
|
-
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
87985
|
-
}
|
|
87986
|
-
getFormGroup(key) {
|
|
87987
|
-
return this.form().get(key) ?? null;
|
|
87988
|
-
}
|
|
87989
|
-
getAddressGroup(office, control) {
|
|
87990
|
-
return office?.get(control) ?? null;
|
|
87991
|
-
}
|
|
87992
|
-
isAddressValid(office, control) {
|
|
87993
|
-
const group2 = this.getAddressGroup(office, control);
|
|
87994
|
-
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
87995
|
-
}
|
|
87996
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
87997
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
87998
|
-
};
|
|
87999
|
-
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"], [1, "change-of-office-addresses-form-item"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
88000
|
-
if (rf & 1) {
|
|
88001
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
88002
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
88003
|
-
\u0275\u0275elementStart(3, "div", 3);
|
|
88004
|
-
\u0275\u0275declareLet(4);
|
|
88005
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
88006
|
-
\u0275\u0275declareLet(6);
|
|
88007
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
|
|
88008
|
-
\u0275\u0275declareLet(8);
|
|
88009
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
|
|
88010
|
-
\u0275\u0275declareLet(10);
|
|
88011
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
|
|
88012
|
-
\u0275\u0275elementEnd()();
|
|
88013
|
-
}
|
|
88014
|
-
if (rf & 2) {
|
|
88015
|
-
\u0275\u0275advance();
|
|
88016
|
-
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
88017
|
-
\u0275\u0275advance();
|
|
88018
|
-
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
88019
|
-
\u0275\u0275advance(2);
|
|
88020
|
-
const referenceNumbers_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88021
|
-
\u0275\u0275advance();
|
|
88022
|
-
\u0275\u0275conditional(referenceNumbers_r24 ? 5 : -1);
|
|
88023
|
-
\u0275\u0275advance();
|
|
88024
|
-
const corporationDetails_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
88025
|
-
\u0275\u0275advance();
|
|
88026
|
-
\u0275\u0275conditional(corporationDetails_r25 ? 7 : -1);
|
|
88027
|
-
\u0275\u0275advance();
|
|
88028
|
-
const registeredOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
88029
|
-
\u0275\u0275advance();
|
|
88030
|
-
\u0275\u0275conditional(registeredOffice_r26 ? 9 : -1);
|
|
88031
|
-
\u0275\u0275advance();
|
|
88032
|
-
const recordsOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
88033
|
-
\u0275\u0275advance();
|
|
88034
|
-
\u0275\u0275conditional(recordsOffice_r27 ? 11 : -1);
|
|
88035
|
-
}
|
|
88036
|
-
}, 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 });
|
|
88037
|
-
};
|
|
88038
|
-
(() => {
|
|
88039
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
88040
|
-
type: Component,
|
|
88041
|
-
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
|
|
88042
|
-
@if (isNote()) {\r
|
|
88043
|
-
<alert\r
|
|
88044
|
-
[type]="alertType.Info"\r
|
|
88045
|
-
title="Entity changed"\r
|
|
88046
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
88047
|
-
/>\r
|
|
88048
|
-
}\r
|
|
88049
|
-
\r
|
|
88050
|
-
@if (errors().length) {\r
|
|
88051
|
-
<alert\r
|
|
88052
|
-
title="The following issues need to be resolved before proceeding:"\r
|
|
88053
|
-
[content]="errors()"\r
|
|
88054
|
-
/>\r
|
|
88055
|
-
}\r
|
|
88056
|
-
\r
|
|
88057
|
-
<div class="change-of-office-addresses-form-content">\r
|
|
88058
|
-
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88059
|
-
\r
|
|
88060
|
-
@if (referenceNumbers) {\r
|
|
88061
|
-
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88062
|
-
<filing-form-group\r
|
|
88063
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88064
|
-
[form]="referenceNumbers"\r
|
|
88065
|
-
[config]="referenceNumbersFields"\r
|
|
88066
|
-
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88067
|
-
/>\r
|
|
88068
|
-
</expandable-card>\r
|
|
88069
|
-
}\r
|
|
88070
|
-
\r
|
|
88071
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88072
|
-
\r
|
|
88073
|
-
@if (corporationDetails) {\r
|
|
88074
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
|
|
88075
|
-
<filing-form-group\r
|
|
88076
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88077
|
-
[form]="corporationDetails"\r
|
|
88078
|
-
[config]="readonly() ? corporationDetailsFields : editableCorporationDetailsFields"\r
|
|
88079
|
-
(visiblyValidChange)="onSectionValidChange('corporationDetails', $event)"\r
|
|
88080
|
-
/>\r
|
|
88081
|
-
</expandable-card>\r
|
|
88082
|
-
}\r
|
|
88083
|
-
\r
|
|
88084
|
-
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88085
|
-
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88086
|
-
\r
|
|
88087
|
-
@if (registeredOffice) {\r
|
|
88088
|
-
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88089
|
-
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88090
|
-
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88091
|
-
\r
|
|
88092
|
-
<expandable-card\r
|
|
88093
|
-
[isStatusIcon]="!readonly()"\r
|
|
88094
|
-
[isValid]="isRegisteredOfficeValid()"\r
|
|
88095
|
-
[title]="groups.RegisteredOfficeAddress"\r
|
|
88096
|
-
>\r
|
|
88097
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88098
|
-
<filing-form-group\r
|
|
88099
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88100
|
-
[form]="registeredOffice"\r
|
|
88101
|
-
[config]="currentAddressesFields"\r
|
|
88102
|
-
/>\r
|
|
88103
|
-
\r
|
|
88104
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88105
|
-
\r
|
|
88106
|
-
@if (registeredMailing) {\r
|
|
88107
|
-
<filing-form-group\r
|
|
88108
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88109
|
-
[form]="registeredMailing"\r
|
|
88110
|
-
[config]="addressFields"\r
|
|
88111
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88112
|
-
/>\r
|
|
88113
|
-
}\r
|
|
88114
|
-
\r
|
|
88115
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88116
|
-
\r
|
|
88117
|
-
<filing-form-group\r
|
|
88118
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88119
|
-
[form]="registeredOffice"\r
|
|
88120
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88121
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88122
|
-
/>\r
|
|
88123
|
-
\r
|
|
88124
|
-
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88125
|
-
<filing-form-group\r
|
|
88126
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88127
|
-
[form]="registeredOffice"\r
|
|
88128
|
-
[config]="deliveryNoteFields"\r
|
|
88129
|
-
/>\r
|
|
88130
|
-
<filing-form-group\r
|
|
88131
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88132
|
-
[form]="registeredDelivery"\r
|
|
88133
|
-
[config]="addressFields"\r
|
|
88134
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88135
|
-
/>\r
|
|
88136
|
-
}\r
|
|
88137
|
-
</div>\r
|
|
88138
|
-
</expandable-card>\r
|
|
88139
|
-
}\r
|
|
88140
|
-
\r
|
|
88141
|
-
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88142
|
-
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88143
|
-
\r
|
|
88144
|
-
@if (recordsOffice) {\r
|
|
88145
|
-
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88146
|
-
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88147
|
-
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88148
|
-
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88149
|
-
\r
|
|
88150
|
-
<expandable-card\r
|
|
88151
|
-
[isStatusIcon]="!readonly()"\r
|
|
88152
|
-
[isValid]="isRecordsOfficeValid()"\r
|
|
88153
|
-
[title]="groups.RecordsOfficeAddress"\r
|
|
88154
|
-
>\r
|
|
88155
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88156
|
-
<filing-form-group\r
|
|
88157
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88158
|
-
[form]="recordsOffice"\r
|
|
88159
|
-
[config]="currentAddressesFields"\r
|
|
88160
|
-
/>\r
|
|
88161
|
-
\r
|
|
88162
|
-
<filing-form-group\r
|
|
88163
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88164
|
-
[form]="recordsOffice"\r
|
|
88165
|
-
[config]="sameAsRegisteredOfficeFields"\r
|
|
88166
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88167
|
-
/>\r
|
|
88168
|
-
\r
|
|
88169
|
-
@if (!recordsSameAsRegistered) {\r
|
|
88170
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88171
|
-
\r
|
|
88172
|
-
@if (recordsMailing) {\r
|
|
88173
|
-
<filing-form-group\r
|
|
88174
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88175
|
-
[form]="recordsMailing"\r
|
|
88176
|
-
[config]="addressFields"\r
|
|
88177
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88178
|
-
/>\r
|
|
88179
|
-
}\r
|
|
88180
|
-
\r
|
|
88181
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88182
|
-
\r
|
|
88183
|
-
<filing-form-group\r
|
|
88184
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88185
|
-
[form]="recordsOffice"\r
|
|
88186
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88187
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88188
|
-
/>\r
|
|
88189
|
-
\r
|
|
88190
|
-
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88191
|
-
<filing-form-group\r
|
|
88192
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88193
|
-
[form]="recordsDelivery"\r
|
|
88194
|
-
[config]="addressFields"\r
|
|
88195
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88196
|
-
/>\r
|
|
88197
|
-
}\r
|
|
88198
|
-
}\r
|
|
88199
|
-
</div>\r
|
|
88200
|
-
</expandable-card>\r
|
|
88201
|
-
}\r
|
|
88202
|
-
</div>\r
|
|
88203
|
-
</div>\r
|
|
88204
|
-
`, 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"] }]
|
|
88205
|
-
}], null, null);
|
|
88206
|
-
})();
|
|
88207
|
-
(() => {
|
|
88208
|
-
(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: 44 });
|
|
88209
|
-
})();
|
|
88210
|
-
}
|
|
88211
|
-
});
|
|
88212
|
-
|
|
88213
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88214
|
-
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88215
|
-
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88216
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88217
|
-
init_core();
|
|
88218
|
-
init_button();
|
|
88219
|
-
init_ngx_translate_core();
|
|
88220
|
-
init_common_utils();
|
|
88221
|
-
init_change_of_office_addresses_form_component();
|
|
88222
|
-
init_core();
|
|
88223
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88224
|
-
form = input.required();
|
|
88225
|
-
actionsDisabled = input(false);
|
|
88226
|
-
isNote = input(false);
|
|
88227
|
-
task = input();
|
|
88228
|
-
errors = input([]);
|
|
88229
|
-
close = output();
|
|
88230
|
-
save = output();
|
|
88231
|
-
validate = output();
|
|
88232
|
-
submitted = signal(false);
|
|
88233
|
-
visiblyValid = signal(true);
|
|
88234
|
-
clientErrors = signal([]);
|
|
88235
|
-
translate = inject(TranslateService);
|
|
88236
|
-
combinedErrors = computed(() => {
|
|
88237
|
-
const client = this.clientErrors();
|
|
88238
|
-
return client.length ? client : this.errors();
|
|
88239
|
-
});
|
|
88240
|
-
onVisiblyValidChange(valid) {
|
|
88241
|
-
this.visiblyValid.set(valid);
|
|
88242
|
-
}
|
|
88243
|
-
onValidate() {
|
|
88244
|
-
this.submitted.set(true);
|
|
88245
|
-
this.clientErrors.set([]);
|
|
88246
|
-
markFormGroupTouched(this.form());
|
|
88247
|
-
if (!this.visiblyValid()) {
|
|
88248
|
-
this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
|
|
88249
|
-
return;
|
|
88250
|
-
}
|
|
88251
|
-
this.validate.emit();
|
|
88252
|
-
}
|
|
88253
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88254
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88255
|
-
};
|
|
88256
|
-
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) {
|
|
88257
|
-
if (rf & 1) {
|
|
88258
|
-
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88259
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88260
|
-
return ctx.onVisiblyValidChange($event);
|
|
88261
|
-
});
|
|
88262
|
-
\u0275\u0275elementEnd();
|
|
88263
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88264
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88265
|
-
return ctx.close.emit();
|
|
88266
|
-
});
|
|
88267
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88268
|
-
\u0275\u0275text(5);
|
|
88269
|
-
\u0275\u0275pipe(6, "translate");
|
|
88270
|
-
\u0275\u0275elementEnd()();
|
|
88271
|
-
\u0275\u0275elementStart(7, "button", 3);
|
|
88272
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88273
|
-
return ctx.save.emit();
|
|
88274
|
-
});
|
|
88275
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88276
|
-
\u0275\u0275text(9);
|
|
88277
|
-
\u0275\u0275pipe(10, "translate");
|
|
88278
|
-
\u0275\u0275elementEnd()();
|
|
88279
|
-
\u0275\u0275elementStart(11, "button", 5);
|
|
88280
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88281
|
-
return ctx.onValidate();
|
|
88282
|
-
});
|
|
88283
|
-
\u0275\u0275elementStart(12, "span", 4);
|
|
88284
|
-
\u0275\u0275text(13);
|
|
88285
|
-
\u0275\u0275pipe(14, "translate");
|
|
88286
|
-
\u0275\u0275elementEnd()()()();
|
|
88287
|
-
}
|
|
88288
|
-
if (rf & 2) {
|
|
88289
|
-
\u0275\u0275advance();
|
|
88290
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88291
|
-
\u0275\u0275advance(2);
|
|
88292
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88293
|
-
\u0275\u0275advance(2);
|
|
88294
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88295
|
-
\u0275\u0275advance(2);
|
|
88296
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88297
|
-
\u0275\u0275advance(2);
|
|
88298
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88299
|
-
\u0275\u0275advance(2);
|
|
88300
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88301
|
-
\u0275\u0275advance(2);
|
|
88302
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88303
|
-
}
|
|
88304
|
-
}, 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 });
|
|
88305
|
-
};
|
|
88306
|
-
(() => {
|
|
88307
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88308
|
-
type: Component,
|
|
88309
|
-
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
|
|
88310
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88311
|
-
class="change-of-office-addresses-delta-form-content"\r
|
|
88312
|
-
[form]="form()"\r
|
|
88313
|
-
[task]="task()"\r
|
|
88314
|
-
[errors]="combinedErrors()"\r
|
|
88315
|
-
[isNote]="isNote()"\r
|
|
88316
|
-
[isSubmitted]="submitted()"\r
|
|
88317
|
-
[readonly]="false"\r
|
|
88318
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88319
|
-
/>\r
|
|
88320
|
-
\r
|
|
88321
|
-
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88322
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88323
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88324
|
-
</button>\r
|
|
88325
|
-
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88326
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88327
|
-
</button>\r
|
|
88328
|
-
<button\r
|
|
88329
|
-
class="submit"\r
|
|
88330
|
-
color="primary"\r
|
|
88331
|
-
mat-flat-button\r
|
|
88332
|
-
[disabled]="actionsDisabled()"\r
|
|
88333
|
-
(click)="onValidate()"\r
|
|
88334
|
-
>\r
|
|
88335
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88336
|
-
</button>\r
|
|
88337
|
-
</div>\r
|
|
88338
|
-
</div>\r
|
|
88339
|
-
`, 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"] }]
|
|
88340
|
-
}], null, null);
|
|
88341
|
-
})();
|
|
88342
|
-
(() => {
|
|
88343
|
-
(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 });
|
|
88344
|
-
})();
|
|
88345
|
-
}
|
|
88346
|
-
});
|
|
88347
|
-
|
|
88348
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88349
|
-
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88350
|
-
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88351
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88352
|
-
init_core();
|
|
88353
|
-
init_button();
|
|
88354
|
-
init_ngx_translate_core();
|
|
88355
|
-
init_change_of_office_addresses_form_component();
|
|
88356
|
-
init_core();
|
|
88357
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88358
|
-
form = input.required();
|
|
88359
|
-
actionsDisabled = input(false);
|
|
88360
|
-
task = input();
|
|
88361
|
-
errors = input([]);
|
|
88362
|
-
close = output();
|
|
88363
|
-
file = output();
|
|
88364
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88365
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88366
|
-
};
|
|
88367
|
-
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) {
|
|
88368
|
-
if (rf & 1) {
|
|
88369
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
88370
|
-
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88371
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88372
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88373
|
-
return ctx.close.emit();
|
|
88374
|
-
});
|
|
88375
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88376
|
-
\u0275\u0275text(5);
|
|
88377
|
-
\u0275\u0275pipe(6, "translate");
|
|
88378
|
-
\u0275\u0275elementEnd()();
|
|
88379
|
-
\u0275\u0275elementStart(7, "button", 5);
|
|
88380
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88381
|
-
return ctx.file.emit();
|
|
88382
|
-
});
|
|
88383
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88384
|
-
\u0275\u0275text(9);
|
|
88385
|
-
\u0275\u0275pipe(10, "translate");
|
|
88386
|
-
\u0275\u0275elementEnd()()()();
|
|
88387
|
-
}
|
|
88388
|
-
if (rf & 2) {
|
|
88389
|
-
\u0275\u0275advance();
|
|
88390
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88391
|
-
\u0275\u0275advance(2);
|
|
88392
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88393
|
-
\u0275\u0275advance(2);
|
|
88394
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88395
|
-
\u0275\u0275advance(2);
|
|
88396
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88397
|
-
\u0275\u0275advance(2);
|
|
88398
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88399
|
-
}
|
|
88400
|
-
}, 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 });
|
|
88401
|
-
};
|
|
88402
|
-
(() => {
|
|
88403
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88404
|
-
type: Component,
|
|
88405
|
-
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
|
|
88406
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88407
|
-
class="change-of-office-addresses-preview-form-content"\r
|
|
88408
|
-
[form]="form()"\r
|
|
88409
|
-
[task]="task()"\r
|
|
88410
|
-
[errors]="errors()"\r
|
|
88411
|
-
[isSubmitted]="false"\r
|
|
88412
|
-
[readonly]="true"\r
|
|
88413
|
-
/>\r
|
|
88414
|
-
\r
|
|
88415
|
-
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88416
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88417
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88418
|
-
</button>\r
|
|
88419
|
-
<button\r
|
|
88420
|
-
class="submit"\r
|
|
88421
|
-
color="primary"\r
|
|
88422
|
-
mat-flat-button\r
|
|
88423
|
-
[disabled]="actionsDisabled()"\r
|
|
88424
|
-
(click)="file.emit()"\r
|
|
88425
|
-
>\r
|
|
88426
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88427
|
-
</button>\r
|
|
88428
|
-
</div>\r
|
|
88429
|
-
</div>\r
|
|
88430
|
-
`, 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"] }]
|
|
88431
|
-
}], null, null);
|
|
88432
|
-
})();
|
|
88433
|
-
(() => {
|
|
88434
|
-
(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 });
|
|
88435
|
-
})();
|
|
88436
|
-
}
|
|
88437
|
-
});
|
|
88438
|
-
|
|
88439
87408
|
// src/app/components/british-columbia/british-columbia.component.ts
|
|
88440
87409
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
88441
87410
|
if (rf & 1) {
|
|
88442
87411
|
const _r1 = \u0275\u0275getCurrentView();
|
|
88443
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form",
|
|
87412
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 2);
|
|
88444
87413
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
88445
87414
|
\u0275\u0275restoreView(_r1);
|
|
88446
87415
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -88465,7 +87434,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88465
87434
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
88466
87435
|
if (rf & 1) {
|
|
88467
87436
|
const _r4 = \u0275\u0275getCurrentView();
|
|
88468
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form",
|
|
87437
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 3);
|
|
88469
87438
|
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
88470
87439
|
\u0275\u0275restoreView(_r4);
|
|
88471
87440
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -88473,7 +87442,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88473
87442
|
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
88474
87443
|
\u0275\u0275restoreView(_r4);
|
|
88475
87444
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88476
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87445
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit());
|
|
88477
87446
|
});
|
|
88478
87447
|
\u0275\u0275elementEnd();
|
|
88479
87448
|
}
|
|
@@ -88483,57 +87452,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88483
87452
|
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88484
87453
|
}
|
|
88485
87454
|
}
|
|
88486
|
-
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
88487
|
-
if (rf & 1) {
|
|
88488
|
-
const _r5 = \u0275\u0275getCurrentView();
|
|
88489
|
-
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
88490
|
-
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
88491
|
-
\u0275\u0275restoreView(_r5);
|
|
88492
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88493
|
-
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
88494
|
-
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
88495
|
-
\u0275\u0275restoreView(_r5);
|
|
88496
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88497
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88498
|
-
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
88499
|
-
\u0275\u0275restoreView(_r5);
|
|
88500
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88501
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
88502
|
-
});
|
|
88503
|
-
\u0275\u0275elementEnd();
|
|
88504
|
-
}
|
|
88505
|
-
if (rf & 2) {
|
|
88506
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88507
|
-
\u0275\u0275property("errors", ctx_r1.errors());
|
|
88508
|
-
}
|
|
88509
|
-
}
|
|
88510
87455
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
88511
87456
|
if (rf & 1) {
|
|
88512
|
-
\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)
|
|
87457
|
+
\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);
|
|
88513
87458
|
}
|
|
88514
87459
|
if (rf & 2) {
|
|
88515
87460
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
88516
87461
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88517
87462
|
\u0275\u0275advance();
|
|
88518
87463
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88519
|
-
\u0275\u0275advance();
|
|
88520
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
88521
87464
|
}
|
|
88522
87465
|
}
|
|
88523
87466
|
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
88524
87467
|
if (rf & 1) {
|
|
88525
|
-
const
|
|
88526
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form",
|
|
87468
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
87469
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 6);
|
|
88527
87470
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
88528
|
-
\u0275\u0275restoreView(
|
|
87471
|
+
\u0275\u0275restoreView(_r5);
|
|
88529
87472
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88530
87473
|
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
88531
87474
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
88532
|
-
\u0275\u0275restoreView(
|
|
87475
|
+
\u0275\u0275restoreView(_r5);
|
|
88533
87476
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88534
87477
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88535
87478
|
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
88536
|
-
\u0275\u0275restoreView(
|
|
87479
|
+
\u0275\u0275restoreView(_r5);
|
|
88537
87480
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88538
87481
|
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
88539
87482
|
});
|
|
@@ -88547,14 +87490,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88547
87490
|
}
|
|
88548
87491
|
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
88549
87492
|
if (rf & 1) {
|
|
88550
|
-
const
|
|
88551
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form",
|
|
87493
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87494
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 7);
|
|
88552
87495
|
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
88553
|
-
\u0275\u0275restoreView(
|
|
87496
|
+
\u0275\u0275restoreView(_r6);
|
|
88554
87497
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88555
87498
|
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
88556
87499
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
88557
|
-
\u0275\u0275restoreView(
|
|
87500
|
+
\u0275\u0275restoreView(_r6);
|
|
88558
87501
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88559
87502
|
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88560
87503
|
});
|
|
@@ -88568,64 +87511,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88568
87511
|
}
|
|
88569
87512
|
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
88570
87513
|
if (rf & 1) {
|
|
88571
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form",
|
|
88572
|
-
}
|
|
88573
|
-
if (rf & 2) {
|
|
88574
|
-
const ctx_r1 = \u0275\u0275nextContext();
|
|
88575
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88576
|
-
\u0275\u0275advance();
|
|
88577
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88578
|
-
}
|
|
88579
|
-
}
|
|
88580
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88581
|
-
if (rf & 1) {
|
|
88582
|
-
const _r8 = \u0275\u0275getCurrentView();
|
|
88583
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
|
|
88584
|
-
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88585
|
-
\u0275\u0275restoreView(_r8);
|
|
88586
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88587
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88588
|
-
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88589
|
-
\u0275\u0275restoreView(_r8);
|
|
88590
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88591
|
-
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88592
|
-
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88593
|
-
\u0275\u0275restoreView(_r8);
|
|
88594
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88595
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88596
|
-
});
|
|
88597
|
-
\u0275\u0275elementEnd();
|
|
88598
|
-
}
|
|
88599
|
-
if (rf & 2) {
|
|
88600
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88601
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88602
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88603
|
-
}
|
|
88604
|
-
}
|
|
88605
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88606
|
-
if (rf & 1) {
|
|
88607
|
-
const _r9 = \u0275\u0275getCurrentView();
|
|
88608
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
|
|
88609
|
-
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88610
|
-
\u0275\u0275restoreView(_r9);
|
|
88611
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88612
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88613
|
-
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88614
|
-
\u0275\u0275restoreView(_r9);
|
|
88615
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88616
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88617
|
-
});
|
|
88618
|
-
\u0275\u0275elementEnd();
|
|
88619
|
-
}
|
|
88620
|
-
if (rf & 2) {
|
|
88621
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88622
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88623
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88624
|
-
}
|
|
88625
|
-
}
|
|
88626
|
-
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88627
|
-
if (rf & 1) {
|
|
88628
|
-
\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);
|
|
87514
|
+
\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);
|
|
88629
87515
|
}
|
|
88630
87516
|
if (rf & 2) {
|
|
88631
87517
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
@@ -88646,17 +87532,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88646
87532
|
init_british_columbia_form_enums();
|
|
88647
87533
|
init_british_columbia_change_of_directors_form_helper();
|
|
88648
87534
|
init_british_columbia_formation_form_helper();
|
|
88649
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88650
87535
|
init_delta_state_service();
|
|
88651
87536
|
init_common_utils();
|
|
88652
87537
|
init_confirm_modal_component();
|
|
88653
|
-
init_terms_and_conditions_component();
|
|
88654
87538
|
init_change_of_directors_delta_form_component();
|
|
88655
87539
|
init_change_of_directors_preview_form_component();
|
|
88656
87540
|
init_british_columbia_incorporation_delta_form_component();
|
|
88657
87541
|
init_british_columbia_incorporation_preview_form_component();
|
|
88658
|
-
init_change_of_office_addresses_delta_form_component();
|
|
88659
|
-
init_change_of_office_addresses_preview_form_component();
|
|
88660
87542
|
init_core();
|
|
88661
87543
|
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
88662
87544
|
task = input();
|
|
@@ -88665,6 +87547,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88665
87547
|
isNote = input(false);
|
|
88666
87548
|
actionsDisabled = input(false);
|
|
88667
87549
|
errors = input([]);
|
|
87550
|
+
currentDataExtract = input();
|
|
88668
87551
|
close = output();
|
|
88669
87552
|
codValidate = output();
|
|
88670
87553
|
saveCodDeltaData = output();
|
|
@@ -88674,34 +87557,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88674
87557
|
saveFormationDeltaData = output();
|
|
88675
87558
|
nextStep = output();
|
|
88676
87559
|
prevStep = output();
|
|
88677
|
-
// Change of Office Addresses outputs
|
|
88678
|
-
coaValidate = output();
|
|
88679
|
-
saveCoaDeltaData = output();
|
|
88680
|
-
coaSubmit = output();
|
|
88681
87560
|
dialog = inject(MatDialog);
|
|
88682
87561
|
deltaState = inject(DeltaStateService);
|
|
88683
87562
|
translate = inject(TranslateService);
|
|
88684
87563
|
steps = Step;
|
|
88685
87564
|
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
88686
87565
|
isFormationTask = isFormationTask2;
|
|
88687
|
-
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
88688
87566
|
deltaForm = signal(new FormGroup({}));
|
|
88689
87567
|
previewForm = signal(new FormGroup({}));
|
|
88690
87568
|
constructor() {
|
|
88691
87569
|
effect(() => {
|
|
88692
87570
|
const task = this.task();
|
|
88693
87571
|
if (task && isChangeOfPrincipalsTask(task)) {
|
|
88694
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87572
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract())));
|
|
88695
87573
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
88696
87574
|
}
|
|
88697
87575
|
if (task && isFormationTask2(task)) {
|
|
88698
87576
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
88699
87577
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
88700
87578
|
}
|
|
88701
|
-
if (task && isChangeOfAddressTask(task)) {
|
|
88702
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88703
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88704
|
-
}
|
|
88705
87579
|
});
|
|
88706
87580
|
effect(() => {
|
|
88707
87581
|
const task = this.task();
|
|
@@ -88710,7 +87584,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88710
87584
|
return;
|
|
88711
87585
|
}
|
|
88712
87586
|
if (isChangeOfPrincipalsTask(task)) {
|
|
88713
|
-
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87587
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key), this.currentDataExtract()));
|
|
88714
87588
|
form.disable();
|
|
88715
87589
|
this.previewForm.set(form);
|
|
88716
87590
|
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
@@ -88725,68 +87599,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88725
87599
|
this.nextStep.emit();
|
|
88726
87600
|
}
|
|
88727
87601
|
}
|
|
88728
|
-
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88729
|
-
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88730
|
-
form.disable();
|
|
88731
|
-
this.previewForm.set(form);
|
|
88732
|
-
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
88733
|
-
this.nextStep.emit();
|
|
88734
|
-
}
|
|
88735
|
-
}
|
|
88736
87602
|
});
|
|
88737
87603
|
}
|
|
88738
|
-
onChangeOfOfficeAddressesValidate() {
|
|
88739
|
-
markFormGroupTouched(this.deltaForm());
|
|
88740
|
-
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88741
|
-
}
|
|
88742
|
-
onChangeOfOfficeAddressesSave() {
|
|
88743
|
-
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88744
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88745
|
-
this.saveCoaDeltaData.emit(delta);
|
|
88746
|
-
}
|
|
88747
|
-
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88748
|
-
onChangeOfOfficeAddressesFile() {
|
|
88749
|
-
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88750
|
-
}
|
|
88751
|
-
generateChangeOfOfficeAddressesDeltaData() {
|
|
88752
|
-
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88753
|
-
const formData = this.deltaForm().getRawValue();
|
|
88754
|
-
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88755
|
-
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88756
|
-
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88757
|
-
const corporation = formData[BCChangeOfOfficeAddressesFormGroups.CorporationDetails];
|
|
88758
|
-
const toAddress = (src) => ({
|
|
88759
|
-
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88760
|
-
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88761
|
-
city: src?.[c.City] ?? null,
|
|
88762
|
-
postalCode: src?.[c.PostalCode] ?? null,
|
|
88763
|
-
province: src?.[c.Province] ?? null,
|
|
88764
|
-
country: src?.[c.Country] ?? null
|
|
88765
|
-
});
|
|
88766
|
-
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88767
|
-
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88768
|
-
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88769
|
-
return {
|
|
88770
|
-
referenceNumbers: {
|
|
88771
|
-
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88772
|
-
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88773
|
-
},
|
|
88774
|
-
// Both are saved with the draft, as in the BC Incorporation Application.
|
|
88775
|
-
companyEmail: corporation?.[c.CompanyEmail] ?? null,
|
|
88776
|
-
companyPassword: corporation?.[c.CompanyPassword] ?? null,
|
|
88777
|
-
registeredOffice: {
|
|
88778
|
-
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88779
|
-
deliverySameAsMailing: regDeliverySame,
|
|
88780
|
-
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88781
|
-
},
|
|
88782
|
-
recordsOffice: {
|
|
88783
|
-
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88784
|
-
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88785
|
-
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88786
|
-
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88787
|
-
}
|
|
88788
|
-
};
|
|
88789
|
-
}
|
|
88790
87604
|
onChangeOfDirectorsValidate() {
|
|
88791
87605
|
markFormGroupTouched(this.deltaForm());
|
|
88792
87606
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -88796,11 +87610,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88796
87610
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
88797
87611
|
this.saveCodDeltaData.emit(delta);
|
|
88798
87612
|
}
|
|
88799
|
-
onChangeOfDirectorsSubmit(
|
|
88800
|
-
this.codSubmit.emit(
|
|
88801
|
-
signatoryFirstName: termsAndConditions.firstName,
|
|
88802
|
-
signatoryLastName: termsAndConditions.lastName
|
|
88803
|
-
}));
|
|
87613
|
+
onChangeOfDirectorsSubmit() {
|
|
87614
|
+
this.codSubmit.emit();
|
|
88804
87615
|
}
|
|
88805
87616
|
onFormationValidate() {
|
|
88806
87617
|
markFormGroupTouched(this.deltaForm());
|
|
@@ -88821,6 +87632,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88821
87632
|
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
88822
87633
|
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
88823
87634
|
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87635
|
+
const directors = formData[BCChangeOfDirectorsFormGroups.Directors] ?? [];
|
|
88824
87636
|
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
88825
87637
|
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
88826
87638
|
return {
|
|
@@ -88836,10 +87648,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88836
87648
|
method: notification?.[c.NotificationMethod] ?? null,
|
|
88837
87649
|
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
88838
87650
|
},
|
|
88839
|
-
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87651
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null,
|
|
87652
|
+
directorChanges: {
|
|
87653
|
+
addIds: directors.filter((d) => d[c.AffiliationType] === "Add").map((d) => d[c.Id]).filter(Boolean),
|
|
87654
|
+
editIds: directors.filter((d) => d[c.AffiliationType] === "Update").map((d) => d[c.Id]).filter(Boolean),
|
|
87655
|
+
ceaseIds: directors.filter((d) => d[c.AffiliationType] === "Cease").map((d) => d[c.Id]).filter(Boolean)
|
|
87656
|
+
}
|
|
88840
87657
|
};
|
|
88841
87658
|
}
|
|
88842
|
-
generateFormationDeltaData(
|
|
87659
|
+
generateFormationDeltaData() {
|
|
88843
87660
|
const formData = this.deltaForm().getRawValue();
|
|
88844
87661
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
88845
87662
|
const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
|
|
@@ -88883,7 +87700,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88883
87700
|
}
|
|
88884
87701
|
onClose() {
|
|
88885
87702
|
const task = this.task();
|
|
88886
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) :
|
|
87703
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
88887
87704
|
if (!hasChanges) {
|
|
88888
87705
|
this.close.emit();
|
|
88889
87706
|
return;
|
|
@@ -88901,8 +87718,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88901
87718
|
if (val) {
|
|
88902
87719
|
if (task && isFormationTask2(task)) {
|
|
88903
87720
|
this.onFormationSave();
|
|
88904
|
-
} else if (task && isChangeOfAddressTask(task)) {
|
|
88905
|
-
this.onChangeOfOfficeAddressesSave();
|
|
88906
87721
|
} else {
|
|
88907
87722
|
this.onChangeOfDirectorsSave();
|
|
88908
87723
|
}
|
|
@@ -88913,28 +87728,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88913
87728
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
88914
87729
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
88915
87730
|
};
|
|
88916
|
-
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"
|
|
87731
|
+
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) {
|
|
88917
87732
|
if (rf & 1) {
|
|
88918
87733
|
\u0275\u0275declareLet(0);
|
|
88919
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template,
|
|
87734
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
|
|
88920
87735
|
}
|
|
88921
87736
|
if (rf & 2) {
|
|
88922
|
-
const
|
|
88923
|
-
\u0275\u0275advance();
|
|
88924
|
-
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r10) ? 1 : -1);
|
|
87737
|
+
const taskData_r7 = \u0275\u0275storeLet(ctx.task());
|
|
88925
87738
|
\u0275\u0275advance();
|
|
88926
|
-
\u0275\u0275conditional(ctx.
|
|
87739
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r7) ? 1 : -1);
|
|
88927
87740
|
\u0275\u0275advance();
|
|
88928
|
-
\u0275\u0275conditional(ctx.
|
|
87741
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r7) ? 2 : -1);
|
|
88929
87742
|
}
|
|
88930
87743
|
}, dependencies: [
|
|
88931
87744
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88932
87745
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
88933
87746
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
88934
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88935
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
88936
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88937
|
-
TermsAndConditionsComponent
|
|
87747
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
88938
87748
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
88939
87749
|
};
|
|
88940
87750
|
(() => {
|
|
@@ -88944,15 +87754,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88944
87754
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88945
87755
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
88946
87756
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
88947
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88948
|
-
|
|
88949
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88950
|
-
TermsAndConditionsComponent
|
|
88951
|
-
], 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"] }]
|
|
87757
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
87758
|
+
], 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"] }]
|
|
88952
87759
|
}], () => [], null);
|
|
88953
87760
|
})();
|
|
88954
87761
|
(() => {
|
|
88955
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
87762
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 62 });
|
|
88956
87763
|
})();
|
|
88957
87764
|
}
|
|
88958
87765
|
});
|
|
@@ -95173,9 +93980,55 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95173
93980
|
init_core();
|
|
95174
93981
|
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
95175
93982
|
config;
|
|
93983
|
+
currentDataExtract;
|
|
95176
93984
|
setConfig(config2) {
|
|
95177
93985
|
this.config = config2;
|
|
95178
93986
|
}
|
|
93987
|
+
/**
|
|
93988
|
+
* Orders the corporation's current data extract and waits until it is ready, returning the
|
|
93989
|
+
* `currentDataServiceOrderId` that Validate Filing needs. The registry bot can take a while,
|
|
93990
|
+
* so the extract is polled every `intervalMs` for up to `maxAttempts` times.
|
|
93991
|
+
*/
|
|
93992
|
+
ensureCurrentDataExtract(_0, _1) {
|
|
93993
|
+
return __async(this, arguments, function* (signature, order, opts = {}, { intervalMs = 3e3, maxAttempts = 40 } = {}) {
|
|
93994
|
+
ensureAuthInputs(signature);
|
|
93995
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93996
|
+
const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
|
|
93997
|
+
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
|
|
93998
|
+
"x-target-url": `${dataExtractUrl}/order`
|
|
93999
|
+
}, opts.headers ?? {})));
|
|
94000
|
+
const ordered = yield this.readJson(orderResp, "BC current data extract order");
|
|
94001
|
+
const orderId = ordered.currentDataServiceOrderId;
|
|
94002
|
+
if (!orderResp.ok || !orderId || ordered.status === "failed") {
|
|
94003
|
+
throw buildGenericError(orderResp.status, "BC current data extract order failed", __spreadProps(__spreadValues({}, ordered), {
|
|
94004
|
+
errors: ordered.errors?.length ? ordered.errors : (ordered.additionalInformation ?? []).map((message) => ({ message }))
|
|
94005
|
+
}));
|
|
94006
|
+
}
|
|
94007
|
+
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
94008
|
+
const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
94009
|
+
method: "GET",
|
|
94010
|
+
headers: __spreadValues({
|
|
94011
|
+
Authorization: `Bearer ${signature.jwtToken}`,
|
|
94012
|
+
"x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
|
|
94013
|
+
}, opts.headers ?? {})
|
|
94014
|
+
}));
|
|
94015
|
+
const extract = yield this.readJson(extractResp, "BC current data extract");
|
|
94016
|
+
if (extractResp.ok && extract.status === "success") {
|
|
94017
|
+
this.currentDataExtract = extract;
|
|
94018
|
+
return orderId;
|
|
94019
|
+
}
|
|
94020
|
+
if (!extractResp.ok || extract.status === "failed" || extract.status === "sourceUnavailable") {
|
|
94021
|
+
const reasons = extract.additionalInformation ?? [];
|
|
94022
|
+
throw new Error(`BC current data extract ${extract.status ?? "failed"} (HTTP ${extractResp.status})${reasons.length ? `: ${reasons.join(" | ")}` : "."}`);
|
|
94023
|
+
}
|
|
94024
|
+
yield new Promise((resolve) => setTimeout(resolve, intervalMs));
|
|
94025
|
+
}
|
|
94026
|
+
throw new Error("BC current data extract is still processing. Please try again in a moment.");
|
|
94027
|
+
});
|
|
94028
|
+
}
|
|
94029
|
+
getCurrentDataExtract() {
|
|
94030
|
+
return this.currentDataExtract;
|
|
94031
|
+
}
|
|
95179
94032
|
validate(_0, _1) {
|
|
95180
94033
|
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
95181
94034
|
ensureAuthInputs(signature);
|
|
@@ -95193,8 +94046,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95193
94046
|
throw err2;
|
|
95194
94047
|
}
|
|
95195
94048
|
const payload = unwrapRequestResults(parsed.value);
|
|
95196
|
-
if (resp.ok && !payload.Errors?.length) {
|
|
95197
|
-
return payload
|
|
94049
|
+
if (resp.ok && !payload.Errors?.length && !payload["errors"]?.length) {
|
|
94050
|
+
return __spreadProps(__spreadValues({}, payload), {
|
|
94051
|
+
Status: payload.Status ?? payload["status"],
|
|
94052
|
+
ServiceOrderId: payload.ServiceOrderId ?? payload["serviceOrderId"],
|
|
94053
|
+
Draft: payload.Draft ?? payload["draft"]
|
|
94054
|
+
});
|
|
95198
94055
|
}
|
|
95199
94056
|
const err = buildValidationError(resp.status, payload);
|
|
95200
94057
|
err.validateResult = payload;
|
|
@@ -95254,6 +94111,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95254
94111
|
throw err;
|
|
95255
94112
|
});
|
|
95256
94113
|
}
|
|
94114
|
+
readJson(resp, what) {
|
|
94115
|
+
return __async(this, null, function* () {
|
|
94116
|
+
const raw = yield resp.text();
|
|
94117
|
+
const parsed = tryParseJson(raw);
|
|
94118
|
+
if (!parsed.ok) {
|
|
94119
|
+
throw new Error(`${what} returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
94120
|
+
}
|
|
94121
|
+
return unwrapRequestResults(parsed.value);
|
|
94122
|
+
});
|
|
94123
|
+
}
|
|
95257
94124
|
getOnbisOrigin() {
|
|
95258
94125
|
const filingUrl = this.config?.BCFiling;
|
|
95259
94126
|
if (!filingUrl) {
|
|
@@ -95278,7 +94145,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95278
94145
|
});
|
|
95279
94146
|
|
|
95280
94147
|
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
95281
|
-
function
|
|
94148
|
+
function getBritishColumbiaAccessCode(task, password) {
|
|
94149
|
+
return password?.trim() || task.entity._profile.registry_id?.trim() || "";
|
|
94150
|
+
}
|
|
94151
|
+
function buildBritishColumbiaDataExtractOrder(task, password) {
|
|
94152
|
+
const incorporationDate = toYyyyMmDd(task.entity._compliance.incorporation_date) ?? "";
|
|
94153
|
+
const request = {
|
|
94154
|
+
corporationNumber: task.entity._profile.corp_number?.trim() ?? "",
|
|
94155
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode(task, password),
|
|
94156
|
+
incorporationDate: /^\d{4}-\d{2}-\d{2}$/.test(incorporationDate) ? incorporationDate : "",
|
|
94157
|
+
filingType: "changeOfDirectorsFiling"
|
|
94158
|
+
};
|
|
94159
|
+
const issues = [];
|
|
94160
|
+
if (!request.corporationNumber) {
|
|
94161
|
+
issues.push("The corporation number is missing on the entity.");
|
|
94162
|
+
}
|
|
94163
|
+
if (!/^[A-Za-z0-9]+$/.test(request.accessCodeOrPassword)) {
|
|
94164
|
+
issues.push("The company's BC Online access code or password is missing or contains characters other than letters and numbers.");
|
|
94165
|
+
}
|
|
94166
|
+
if (!request.incorporationDate) {
|
|
94167
|
+
issues.push("The incorporation date is missing on the entity.");
|
|
94168
|
+
}
|
|
94169
|
+
return { request, issues };
|
|
94170
|
+
}
|
|
94171
|
+
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId) {
|
|
95282
94172
|
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
95283
94173
|
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
95284
94174
|
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
@@ -95286,25 +94176,40 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95286
94176
|
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
95287
94177
|
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
95288
94178
|
const companyEmail = findCompanyEmail(task);
|
|
95289
|
-
const
|
|
95290
|
-
|
|
94179
|
+
const byId = new Map([
|
|
94180
|
+
...incomingDirectors,
|
|
94181
|
+
...outgoingDirectors
|
|
94182
|
+
].map((affiliation) => [String(affiliation._id), affiliation]));
|
|
94183
|
+
const selected = deltaData.directorChanges;
|
|
94184
|
+
const addSource = selected ? selected.addIds.map((id) => byId.get(String(id))).filter(Boolean) : incomingDirectors.length ? incomingDirectors : addedDirectors;
|
|
94185
|
+
const editSource = selected ? selected.editIds.map((id) => byId.get(String(id))).filter(Boolean) : editedDirectors;
|
|
94186
|
+
const ceaseSource = selected ? selected.ceaseIds.map((id) => byId.get(String(id))).filter(Boolean) : outgoingDirectors.length ? outgoingDirectors : ceasedDirectors;
|
|
94187
|
+
const addDirectors = addSource.map((affiliation) => buildDirector(affiliation));
|
|
94188
|
+
const ceaseDirectors = ceaseSource.map((affiliation) => buildCeasedDirector(affiliation));
|
|
94189
|
+
return {
|
|
95291
94190
|
filingType: "changeOfDirectorsFiling",
|
|
95292
|
-
|
|
94191
|
+
currentDataServiceOrderId,
|
|
94192
|
+
filing: __spreadProps(__spreadValues({
|
|
94193
|
+
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
94194
|
+
accessCodeOrPassword: getBritishColumbiaAccessCode(task),
|
|
95293
94195
|
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
95294
|
-
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
95295
|
-
|
|
95296
|
-
|
|
95297
|
-
|
|
95298
|
-
|
|
95299
|
-
editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
|
|
94196
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
94197
|
+
}, addDirectors.length || ceaseDirectors.length ? { effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()) } : {}), {
|
|
94198
|
+
addDirectors,
|
|
94199
|
+
ceaseDirectors,
|
|
94200
|
+
editDirectors: editSource.map((director) => buildDirector(director)),
|
|
95300
94201
|
companyEmail,
|
|
95301
94202
|
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
95302
|
-
}
|
|
95303
|
-
}
|
|
94203
|
+
})
|
|
94204
|
+
};
|
|
95304
94205
|
}
|
|
95305
94206
|
function isDirectorAffiliation(affiliation) {
|
|
95306
94207
|
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
95307
94208
|
}
|
|
94209
|
+
function buildCeasedDirector(affiliation) {
|
|
94210
|
+
const _a = buildDirector(affiliation), { isDeliveryAddressSameAsMailing: _omitted } = _a, director = __objRest(_a, ["isDeliveryAddressSameAsMailing"]);
|
|
94211
|
+
return __spreadProps(__spreadValues({}, director), { deliveryAddress: director.deliveryAddress ?? director.mailingAddress });
|
|
94212
|
+
}
|
|
95308
94213
|
function buildDirector(affiliation) {
|
|
95309
94214
|
if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
|
|
95310
94215
|
const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
|
|
@@ -95313,7 +94218,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95313
94218
|
middleName: name.MiddleName ?? name.middleName ?? "",
|
|
95314
94219
|
lastName: name.LastName ?? name.lastName ?? "",
|
|
95315
94220
|
mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
|
|
95316
|
-
deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
94221
|
+
deliveryAddress: affiliation.isDeliveryAddressSameAsMailing ? void 0 : affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
95317
94222
|
isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
|
|
95318
94223
|
};
|
|
95319
94224
|
}
|
|
@@ -95321,38 +94226,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95321
94226
|
const addresses = getAffiliationAddresses(affiliation);
|
|
95322
94227
|
const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
|
|
95323
94228
|
const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
|
|
94229
|
+
const isSameAsMailing = isDeliveryAddressSameAsMailing(addresses);
|
|
95324
94230
|
return {
|
|
95325
94231
|
firstName: profile.firstName ?? "",
|
|
95326
94232
|
middleName: profile.middleName ?? "",
|
|
95327
94233
|
lastName: profile.lastName ?? "",
|
|
95328
94234
|
mailingAddress,
|
|
95329
|
-
|
|
95330
|
-
|
|
94235
|
+
// The API rejects a delivery address when it is the same as the mailing address.
|
|
94236
|
+
deliveryAddress: isSameAsMailing ? void 0 : deliveryAddress,
|
|
94237
|
+
isDeliveryAddressSameAsMailing: isSameAsMailing
|
|
95331
94238
|
};
|
|
95332
94239
|
}
|
|
95333
94240
|
function mapAddress4(address) {
|
|
95334
|
-
|
|
95335
|
-
return void 0;
|
|
95336
|
-
const raw = address;
|
|
95337
|
-
const postalAddress = raw.PostalAddress ?? raw.postalAddress;
|
|
95338
|
-
const source = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? raw;
|
|
95339
|
-
const streetNumber = address.components?.find((component) => component.name === "Street Number Only")?.value;
|
|
95340
|
-
const streetName = address.components?.find((component) => component.name === "Street Only")?.value;
|
|
95341
|
-
const suite = address.components?.find((component) => component.name === "Suite/Apartment")?.value;
|
|
95342
|
-
const streetAddress = [streetNumber, streetName].filter(Boolean).join(" ") || address.components?.find((component) => component.name === "Street Address")?.value || source.streetAddress || source.Address1 || raw.street || "";
|
|
95343
|
-
const country = source.country ?? source.CountryCodeName ?? raw.country ?? "";
|
|
95344
|
-
const postal = source.postalOrZipCode ?? source.PostCode ?? source.postalZip ?? raw.postal_zip ?? "";
|
|
95345
|
-
return {
|
|
95346
|
-
streetAddress: [streetAddress, suite].filter(Boolean).join(", "),
|
|
95347
|
-
city: source.city ?? source.CityTown ?? raw.city ?? "",
|
|
95348
|
-
provinceState: source.provinceState ?? source.RegionName ?? raw.province_state ?? "",
|
|
95349
|
-
country,
|
|
95350
|
-
postalOrZipCode: country === "CA" ? normalizeCanadianPostal(postal) : postal
|
|
95351
|
-
};
|
|
95352
|
-
}
|
|
95353
|
-
function normalizeCanadianPostal(value) {
|
|
95354
|
-
const compact = value.replace(/[\s-]+/g, "").toUpperCase();
|
|
95355
|
-
return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : value;
|
|
94241
|
+
return address ? mapAddress(address) : void 0;
|
|
95356
94242
|
}
|
|
95357
94243
|
function findCompanyEmail(task) {
|
|
95358
94244
|
const affiliations = task.entity.affiliations ?? [];
|
|
@@ -95371,297 +94257,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95371
94257
|
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
95372
94258
|
init_BritishColumbiaConstants();
|
|
95373
94259
|
init_common_models();
|
|
94260
|
+
init_british_columbia_formation_mapper();
|
|
95374
94261
|
init_british_columbia_formation_form_helper();
|
|
95375
94262
|
init_common_utils();
|
|
95376
94263
|
}
|
|
95377
94264
|
});
|
|
95378
94265
|
|
|
95379
|
-
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95380
|
-
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95381
|
-
var init_british_columbia_maintenance_service = __esm({
|
|
95382
|
-
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95383
|
-
init_core();
|
|
95384
|
-
init_common_utils();
|
|
95385
|
-
init_core();
|
|
95386
|
-
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95387
|
-
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95388
|
-
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95389
|
-
DEFAULT_EXTRACT_POLL = { intervalMs: 2e3, timeoutMs: 9e4 };
|
|
95390
|
-
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 12e4 };
|
|
95391
|
-
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95392
|
-
config;
|
|
95393
|
-
setConfig(config2) {
|
|
95394
|
-
this.config = config2;
|
|
95395
|
-
}
|
|
95396
|
-
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95397
|
-
orderCurrentDataExtract(_0, _1) {
|
|
95398
|
-
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95399
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95400
|
-
corporationNumber: context2.corporationNumber,
|
|
95401
|
-
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95402
|
-
incorporationDate: context2.incorporationDate,
|
|
95403
|
-
filingType: "changeOfAddressFiling"
|
|
95404
|
-
}, opts);
|
|
95405
|
-
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95406
|
-
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95407
|
-
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95408
|
-
}
|
|
95409
|
-
return String(id);
|
|
95410
|
-
});
|
|
95411
|
-
}
|
|
95412
|
-
/** Polls the extract until the registry has it ready (`success`). */
|
|
95413
|
-
waitForCurrentDataExtract(_0, _1) {
|
|
95414
|
-
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95415
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95416
|
-
const deadline = Date.now() + timeoutMs;
|
|
95417
|
-
for (; ; ) {
|
|
95418
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95419
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95420
|
-
if (ok && state2 === "success") {
|
|
95421
|
-
return;
|
|
95422
|
-
}
|
|
95423
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95424
|
-
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95425
|
-
}
|
|
95426
|
-
if (Date.now() >= deadline) {
|
|
95427
|
-
throw new Error("The registry has not returned the current data yet. Please try again in a moment.");
|
|
95428
|
-
}
|
|
95429
|
-
yield this.sleep(intervalMs);
|
|
95430
|
-
}
|
|
95431
|
-
});
|
|
95432
|
-
}
|
|
95433
|
-
/**
|
|
95434
|
-
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95435
|
-
* corporation number and password; they are added here so they never become part of the
|
|
95436
|
-
* saved request used to detect Entity changes.
|
|
95437
|
-
*/
|
|
95438
|
-
validate(_0, _1, _2, _3) {
|
|
95439
|
-
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95440
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95441
|
-
currentDataServiceOrderId: extractId,
|
|
95442
|
-
filingType: requestBody.filingType,
|
|
95443
|
-
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95444
|
-
corporationNumber: context2.corporationNumber,
|
|
95445
|
-
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95446
|
-
})
|
|
95447
|
-
}, opts);
|
|
95448
|
-
if (body === null) {
|
|
95449
|
-
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95450
|
-
}
|
|
95451
|
-
const result = this.normalize(unwrapRequestResults(body));
|
|
95452
|
-
if (ok && !this.hasFailed(result)) {
|
|
95453
|
-
return result;
|
|
95454
|
-
}
|
|
95455
|
-
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95456
|
-
err.validateResult = result;
|
|
95457
|
-
err.httpStatus = status;
|
|
95458
|
-
throw err;
|
|
95459
|
-
});
|
|
95460
|
-
}
|
|
95461
|
-
/**
|
|
95462
|
-
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95463
|
-
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95464
|
-
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95465
|
-
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95466
|
-
*/
|
|
95467
|
-
submitAndWait(_0, _1) {
|
|
95468
|
-
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95469
|
-
if (!serviceOrderId) {
|
|
95470
|
-
throw new Error("Missing serviceOrderId.");
|
|
95471
|
-
}
|
|
95472
|
-
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95473
|
-
if (!submitted.ok || this.normalize(submitted.body).Status === "Failure") {
|
|
95474
|
-
const result = this.normalize(submitted.body);
|
|
95475
|
-
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", result));
|
|
95476
|
-
err.submitResult = result;
|
|
95477
|
-
err.httpStatus = submitted.status;
|
|
95478
|
-
throw err;
|
|
95479
|
-
}
|
|
95480
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95481
|
-
const deadline = Date.now() + timeoutMs;
|
|
95482
|
-
let processing = true;
|
|
95483
|
-
let files;
|
|
95484
|
-
while (processing) {
|
|
95485
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95486
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95487
|
-
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95488
|
-
files = body?.files;
|
|
95489
|
-
processing = false;
|
|
95490
|
-
break;
|
|
95491
|
-
}
|
|
95492
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95493
|
-
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95494
|
-
}
|
|
95495
|
-
if (Date.now() >= deadline) {
|
|
95496
|
-
break;
|
|
95497
|
-
}
|
|
95498
|
-
yield this.sleep(intervalMs);
|
|
95499
|
-
}
|
|
95500
|
-
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95501
|
-
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95502
|
-
});
|
|
95503
|
-
}
|
|
95504
|
-
getBaseUrl(env) {
|
|
95505
|
-
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95506
|
-
if (!baseUrl) {
|
|
95507
|
-
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95508
|
-
}
|
|
95509
|
-
return baseUrl;
|
|
95510
|
-
}
|
|
95511
|
-
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95512
|
-
send(signature, method, path, payload, opts) {
|
|
95513
|
-
return __async(this, null, function* () {
|
|
95514
|
-
ensureAuthInputs(signature);
|
|
95515
|
-
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95516
|
-
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95517
|
-
const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
|
|
95518
|
-
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95519
|
-
method,
|
|
95520
|
-
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95521
|
-
}));
|
|
95522
|
-
const raw = yield resp.text();
|
|
95523
|
-
const parsed = tryParseJson(raw);
|
|
95524
|
-
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95525
|
-
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95526
|
-
});
|
|
95527
|
-
}
|
|
95528
|
-
failure(status, prefix, body, raw) {
|
|
95529
|
-
const result = body ? this.normalize(body) : void 0;
|
|
95530
|
-
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95531
|
-
const err = new Error(message);
|
|
95532
|
-
err.httpStatus = status;
|
|
95533
|
-
return err;
|
|
95534
|
-
}
|
|
95535
|
-
sleep(ms) {
|
|
95536
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95537
|
-
}
|
|
95538
|
-
/**
|
|
95539
|
-
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95540
|
-
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95541
|
-
* `errors`, `additionalInformation` is used as the error messages.
|
|
95542
|
-
*/
|
|
95543
|
-
normalize(body) {
|
|
95544
|
-
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95545
|
-
const errors = rawErrors.map((e) => ({
|
|
95546
|
-
Code: e?.code ?? e?.Code,
|
|
95547
|
-
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95548
|
-
}));
|
|
95549
|
-
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95550
|
-
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95551
|
-
if (!succeeded && !errors.length) {
|
|
95552
|
-
const additional = body?.additionalInformation ?? [];
|
|
95553
|
-
errors.push(...additional.map((Message) => ({ Message })));
|
|
95554
|
-
}
|
|
95555
|
-
return {
|
|
95556
|
-
Status: succeeded ? "Success" : "Failure",
|
|
95557
|
-
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95558
|
-
Draft: body?.draft ?? body?.Draft,
|
|
95559
|
-
Errors: errors
|
|
95560
|
-
};
|
|
95561
|
-
}
|
|
95562
|
-
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95563
|
-
hasFailed(result) {
|
|
95564
|
-
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95565
|
-
}
|
|
95566
|
-
describeFailure(httpStatus, prefix, result) {
|
|
95567
|
-
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95568
|
-
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95569
|
-
}
|
|
95570
|
-
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95571
|
-
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95572
|
-
};
|
|
95573
|
-
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95574
|
-
};
|
|
95575
|
-
(() => {
|
|
95576
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95577
|
-
type: Injectable,
|
|
95578
|
-
args: [{
|
|
95579
|
-
providedIn: "root"
|
|
95580
|
-
}]
|
|
95581
|
-
}], null, null);
|
|
95582
|
-
})();
|
|
95583
|
-
}
|
|
95584
|
-
});
|
|
95585
|
-
|
|
95586
|
-
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95587
|
-
function formatPostalCode(value) {
|
|
95588
|
-
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95589
|
-
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95590
|
-
}
|
|
95591
|
-
function toEcoreAddress(address) {
|
|
95592
|
-
const line2 = clean(address?.addressLine2);
|
|
95593
|
-
return __spreadProps(__spreadValues({
|
|
95594
|
-
streetAddress: clean(address?.addressLine1)
|
|
95595
|
-
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95596
|
-
city: clean(address?.city),
|
|
95597
|
-
provinceOrState: BC_PROVINCE_CODE,
|
|
95598
|
-
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95599
|
-
country: CANADA_COUNTRY_CODE
|
|
95600
|
-
});
|
|
95601
|
-
}
|
|
95602
|
-
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95603
|
-
const registered = deltaData.registeredOffice;
|
|
95604
|
-
const records = deltaData.recordsOffice;
|
|
95605
|
-
const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
|
|
95606
|
-
const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
|
|
95607
|
-
const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
|
|
95608
|
-
const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
|
|
95609
|
-
const filing = {
|
|
95610
|
-
registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
|
|
95611
|
-
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95612
|
-
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95613
|
-
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95614
|
-
// The email the user confirmed in the form; the entity's Business Email when none was saved.
|
|
95615
|
-
companyEmail: clean(deltaData.companyEmail) || BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95616
|
-
// Not captured on this form; the reminder preference is not changed by an address filing.
|
|
95617
|
-
isAnnualReportReminderRequired: false
|
|
95618
|
-
};
|
|
95619
|
-
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95620
|
-
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95621
|
-
if (reference) {
|
|
95622
|
-
filing.reference = reference;
|
|
95623
|
-
}
|
|
95624
|
-
if (docket) {
|
|
95625
|
-
filing.docket = docket;
|
|
95626
|
-
}
|
|
95627
|
-
if (!registeredDeliverySame) {
|
|
95628
|
-
filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
|
|
95629
|
-
}
|
|
95630
|
-
if (!recordsSameAsRegistered) {
|
|
95631
|
-
filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
|
|
95632
|
-
}
|
|
95633
|
-
if (!recordsDeliverySame) {
|
|
95634
|
-
filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
|
|
95635
|
-
}
|
|
95636
|
-
return { filingType: "changeOfAddressFiling", filing };
|
|
95637
|
-
}
|
|
95638
|
-
function findBCChangeOfOfficeAddressesRequestIssues(request, companyPassword) {
|
|
95639
|
-
const issues = [];
|
|
95640
|
-
const email = request.filing.companyEmail?.trim() ?? "";
|
|
95641
|
-
if (!email) {
|
|
95642
|
-
issues.push("Company Email is required. Enter it in Corporation Details.");
|
|
95643
|
-
} else if (email.length > BC_COMPANY_EMAIL_MAX_LENGTH) {
|
|
95644
|
-
issues.push(`Company Email must be ${BC_COMPANY_EMAIL_MAX_LENGTH} characters or fewer.`);
|
|
95645
|
-
} else if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
|
|
95646
|
-
issues.push("Company Email is not a valid email address. Correct it in Corporation Details.");
|
|
95647
|
-
}
|
|
95648
|
-
const password = companyPassword ?? "";
|
|
95649
|
-
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !BC_PASSWORD_PATTERN.test(password)) {
|
|
95650
|
-
issues.push(`Company Password must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Enter it in Corporation Details.`);
|
|
95651
|
-
}
|
|
95652
|
-
return issues;
|
|
95653
|
-
}
|
|
95654
|
-
var BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95655
|
-
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95656
|
-
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95657
|
-
init_BritishColumbiaConstants();
|
|
95658
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95659
|
-
BC_PROVINCE_CODE = "BC";
|
|
95660
|
-
CANADA_COUNTRY_CODE = "CA";
|
|
95661
|
-
clean = (value) => (value ?? "").trim();
|
|
95662
|
-
}
|
|
95663
|
-
});
|
|
95664
|
-
|
|
95665
94266
|
// src/app/components/filing/filing.component.ts
|
|
95666
94267
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
95667
94268
|
if (rf & 1) {
|
|
@@ -95761,18 +94362,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95761
94362
|
\u0275\u0275restoreView(_r6);
|
|
95762
94363
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95763
94364
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
95764
|
-
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
95765
|
-
\u0275\u0275restoreView(_r6);
|
|
95766
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95767
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
95768
|
-
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
95769
|
-
\u0275\u0275restoreView(_r6);
|
|
95770
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95771
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
95772
|
-
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
95773
|
-
\u0275\u0275restoreView(_r6);
|
|
95774
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95775
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
95776
94365
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
95777
94366
|
\u0275\u0275restoreView(_r6);
|
|
95778
94367
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -95791,7 +94380,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95791
94380
|
if (rf & 2) {
|
|
95792
94381
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95793
94382
|
const currentTask_r5 = \u0275\u0275readContextLet(9);
|
|
95794
|
-
\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());
|
|
94383
|
+
\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());
|
|
95795
94384
|
}
|
|
95796
94385
|
}
|
|
95797
94386
|
function FilingComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
|
|
@@ -95841,7 +94430,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95841
94430
|
}
|
|
95842
94431
|
function FilingComponent_Conditional_10_Template(rf, ctx) {
|
|
95843
94432
|
if (rf & 1) {
|
|
95844
|
-
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1,
|
|
94433
|
+
\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);
|
|
95845
94434
|
}
|
|
95846
94435
|
if (rf & 2) {
|
|
95847
94436
|
const ctx_r2 = \u0275\u0275nextContext();
|
|
@@ -95888,8 +94477,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95888
94477
|
init_delta_state_service();
|
|
95889
94478
|
init_british_columbia_change_of_directors_service();
|
|
95890
94479
|
init_british_columbia_change_of_directors_mapper();
|
|
95891
|
-
init_british_columbia_maintenance_service();
|
|
95892
|
-
init_british_columbia_change_of_office_addresses_mapper();
|
|
95893
94480
|
init_core();
|
|
95894
94481
|
init_button();
|
|
95895
94482
|
FilingComponent = class _FilingComponent {
|
|
@@ -95946,7 +94533,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95946
94533
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
95947
94534
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
95948
94535
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
95949
|
-
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
95950
94536
|
translate = inject(TranslateService);
|
|
95951
94537
|
isEditButton = computed(() => {
|
|
95952
94538
|
const task = this.task();
|
|
@@ -95962,6 +94548,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95962
94548
|
});
|
|
95963
94549
|
dataWasChanged = signal(false);
|
|
95964
94550
|
serviceOrderId = "";
|
|
94551
|
+
currentDataExtract = signal(void 0);
|
|
94552
|
+
bcDataExtractTaskId = "";
|
|
95965
94553
|
activeStep = signal(Step.Validate);
|
|
95966
94554
|
isLoading = signal(false);
|
|
95967
94555
|
validationConfig = signal(null);
|
|
@@ -95988,9 +94576,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95988
94576
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
95989
94577
|
return "File British Columbia Notice of Change of Directors";
|
|
95990
94578
|
}
|
|
95991
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
95992
|
-
return "File British Columbia Change of Office Addresses";
|
|
95993
|
-
}
|
|
95994
94579
|
return "";
|
|
95995
94580
|
});
|
|
95996
94581
|
constructor() {
|
|
@@ -96003,7 +94588,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96003
94588
|
this.bcFormationService.setConfig(config2);
|
|
96004
94589
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
96005
94590
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
96006
|
-
this.bcMaintenanceService.setConfig(config2);
|
|
96007
94591
|
}
|
|
96008
94592
|
});
|
|
96009
94593
|
addStylesVariables();
|
|
@@ -96029,6 +94613,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96029
94613
|
this.serviceOrderId = serviceOrderId;
|
|
96030
94614
|
}
|
|
96031
94615
|
}
|
|
94616
|
+
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task) && this.bcDataExtractTaskId !== task._id) {
|
|
94617
|
+
const signature = this._signature();
|
|
94618
|
+
if (!signature)
|
|
94619
|
+
return;
|
|
94620
|
+
this.bcDataExtractTaskId = task._id;
|
|
94621
|
+
const { request, issues } = buildBritishColumbiaDataExtractOrder(task, deltaData?.companyPassword);
|
|
94622
|
+
if (issues.length) {
|
|
94623
|
+
this.errors.set(issues);
|
|
94624
|
+
return;
|
|
94625
|
+
}
|
|
94626
|
+
this.isLoading.set(true);
|
|
94627
|
+
try {
|
|
94628
|
+
yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
|
|
94629
|
+
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
94630
|
+
} catch (error) {
|
|
94631
|
+
this.handleCatchError(error);
|
|
94632
|
+
} finally {
|
|
94633
|
+
this.isLoading.set(false);
|
|
94634
|
+
}
|
|
94635
|
+
}
|
|
96032
94636
|
}));
|
|
96033
94637
|
}
|
|
96034
94638
|
getCurrentData() {
|
|
@@ -96152,8 +94756,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96152
94756
|
try {
|
|
96153
94757
|
this.isLoading.set(true);
|
|
96154
94758
|
this.errors.set([]);
|
|
96155
|
-
const
|
|
96156
|
-
const
|
|
94759
|
+
const options = this.validateOptions() ?? {};
|
|
94760
|
+
const { request: extractOrder, issues } = buildBritishColumbiaDataExtractOrder(task);
|
|
94761
|
+
if (issues.length) {
|
|
94762
|
+
this.errors.set(issues);
|
|
94763
|
+
return;
|
|
94764
|
+
}
|
|
94765
|
+
const currentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, extractOrder, options);
|
|
94766
|
+
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
94767
|
+
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData, currentDataServiceOrderId);
|
|
94768
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, options);
|
|
96157
94769
|
if (this.hasResponseErrors(response))
|
|
96158
94770
|
return;
|
|
96159
94771
|
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
@@ -96162,7 +94774,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96162
94774
|
searchOrFilingType: getSearchOrFilingType(task),
|
|
96163
94775
|
serviceOrderId,
|
|
96164
94776
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
96165
|
-
provider: "
|
|
94777
|
+
provider: "bcreg",
|
|
96166
94778
|
draftPdf: response.Draft,
|
|
96167
94779
|
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
96168
94780
|
documentType: "pdf"
|
|
@@ -96302,103 +94914,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96302
94914
|
}
|
|
96303
94915
|
});
|
|
96304
94916
|
}
|
|
96305
|
-
/**
|
|
96306
|
-
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96307
|
-
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96308
|
-
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96309
|
-
*/
|
|
96310
|
-
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96311
|
-
return __async(this, null, function* () {
|
|
96312
|
-
const task = this.task();
|
|
96313
|
-
const signature = this._signature();
|
|
96314
|
-
try {
|
|
96315
|
-
if (!task || !signature) {
|
|
96316
|
-
throw new Error("The filing is not ready yet. Please try again.");
|
|
96317
|
-
}
|
|
96318
|
-
const companyPassword = deltaData.companyPassword ?? "";
|
|
96319
|
-
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96320
|
-
const issues = findBCChangeOfOfficeAddressesRequestIssues(requestBody, companyPassword);
|
|
96321
|
-
if (issues.length) {
|
|
96322
|
-
this.errors.set(issues);
|
|
96323
|
-
return;
|
|
96324
|
-
}
|
|
96325
|
-
const corporationNumber = task.entity._profile.corp_number;
|
|
96326
|
-
const incorporationDate = String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10);
|
|
96327
|
-
if (!corporationNumber) {
|
|
96328
|
-
throw new Error("The entity has no Incorporation Number. Add it to the entity before filing.");
|
|
96329
|
-
}
|
|
96330
|
-
if (!/^\d{4}-\d{2}-\d{2}$/.test(incorporationDate)) {
|
|
96331
|
-
throw new Error("The entity has no incorporation date. Add it to the entity before filing.");
|
|
96332
|
-
}
|
|
96333
|
-
this.isLoading.set(true);
|
|
96334
|
-
this.errors.set([]);
|
|
96335
|
-
const opts = this.validateOptions() ?? {};
|
|
96336
|
-
const context2 = { corporationNumber, accessCodeOrPassword: companyPassword, incorporationDate };
|
|
96337
|
-
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96338
|
-
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96339
|
-
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96340
|
-
if (this.hasResponseErrors(response))
|
|
96341
|
-
return;
|
|
96342
|
-
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96343
|
-
const draftPdf = response.Draft ?? "";
|
|
96344
|
-
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96345
|
-
if (draftPdf && searchOrFilingType) {
|
|
96346
|
-
this.filingValidateSuccess.emit({
|
|
96347
|
-
searchOrFilingType,
|
|
96348
|
-
serviceOrderId,
|
|
96349
|
-
validatedOn: /* @__PURE__ */ new Date(),
|
|
96350
|
-
provider: "obr",
|
|
96351
|
-
draftPdf,
|
|
96352
|
-
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96353
|
-
documentType: "pdf"
|
|
96354
|
-
});
|
|
96355
|
-
}
|
|
96356
|
-
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96357
|
-
serviceOrderId,
|
|
96358
|
-
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
96359
|
-
}));
|
|
96360
|
-
this.close.emit();
|
|
96361
|
-
} catch (response) {
|
|
96362
|
-
this.handleCatchError(response);
|
|
96363
|
-
} finally {
|
|
96364
|
-
this.isLoading.set(false);
|
|
96365
|
-
}
|
|
96366
|
-
});
|
|
96367
|
-
}
|
|
96368
|
-
/**
|
|
96369
|
-
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96370
|
-
*/
|
|
96371
|
-
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96372
|
-
const oldDeltaData = this.task()?.deltaData;
|
|
96373
|
-
if (oldDeltaData) {
|
|
96374
|
-
delete this.task()?.deltaData;
|
|
96375
|
-
}
|
|
96376
|
-
this.deltaDataChange.emit(deltaData);
|
|
96377
|
-
}
|
|
96378
|
-
/**
|
|
96379
|
-
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96380
|
-
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96381
|
-
*/
|
|
96382
|
-
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96383
|
-
return __async(this, null, function* () {
|
|
96384
|
-
const signature = this._signature();
|
|
96385
|
-
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96386
|
-
if (!signature || !serviceOrderId) {
|
|
96387
|
-
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96388
|
-
return;
|
|
96389
|
-
}
|
|
96390
|
-
try {
|
|
96391
|
-
this.isLoading.set(true);
|
|
96392
|
-
this.errors.set([]);
|
|
96393
|
-
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96394
|
-
this.close.emit();
|
|
96395
|
-
} catch (response) {
|
|
96396
|
-
this.handleCatchError(response);
|
|
96397
|
-
} finally {
|
|
96398
|
-
this.isLoading.set(false);
|
|
96399
|
-
}
|
|
96400
|
-
});
|
|
96401
|
-
}
|
|
96402
94917
|
/**
|
|
96403
94918
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
96404
94919
|
*/
|
|
@@ -96667,7 +95182,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96667
95182
|
this.errors.set(this.parseError(errors));
|
|
96668
95183
|
return;
|
|
96669
95184
|
}
|
|
96670
|
-
const fallbackMessage =
|
|
95185
|
+
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
96671
95186
|
this.errors.set([fallbackMessage]);
|
|
96672
95187
|
}
|
|
96673
95188
|
onClose() {
|
|
@@ -96734,8 +95249,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96734
95249
|
let initialDelta;
|
|
96735
95250
|
if (isFormationTask2(task)) {
|
|
96736
95251
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
96737
|
-
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96738
|
-
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
96739
95252
|
} else if (isUpdateMaintain(task)) {
|
|
96740
95253
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
96741
95254
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -96769,9 +95282,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96769
95282
|
}
|
|
96770
95283
|
return federalPayload;
|
|
96771
95284
|
}
|
|
96772
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96773
|
-
return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96774
|
-
}
|
|
96775
95285
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
96776
95286
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
96777
95287
|
if (!serviceOrderId) {
|
|
@@ -96800,7 +95310,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96800
95310
|
if (rf & 2) {
|
|
96801
95311
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
96802
95312
|
}
|
|
96803
|
-
}, 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", "
|
|
95313
|
+
}, 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) {
|
|
96804
95314
|
if (rf & 1) {
|
|
96805
95315
|
const _r1 = \u0275\u0275getCurrentView();
|
|
96806
95316
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -96882,7 +95392,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96882
95392
|
[activeStep]="activeStep()"\r
|
|
96883
95393
|
[isNote]="dataWasChanged()"\r
|
|
96884
95394
|
[actionsDisabled]="isLoading()"\r
|
|
96885
|
-
[errors]="errors()"
|
|
95395
|
+
[errors]="errors()"
|
|
96886
95396
|
[prevData]="prevData()"\r
|
|
96887
95397
|
(close)="close.emit()"\r
|
|
96888
95398
|
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
@@ -96901,17 +95411,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96901
95411
|
[currentUser]="currentUser()"\r
|
|
96902
95412
|
[activeStep]="activeStep()"\r
|
|
96903
95413
|
[isNote]="dataWasChanged()"\r
|
|
96904
|
-
[actionsDisabled]="isLoading()"
|
|
96905
|
-
[errors]="errors()"
|
|
95414
|
+
[actionsDisabled]="isLoading()"
|
|
95415
|
+
[errors]="errors()"
|
|
95416
|
+
[currentDataExtract]="currentDataExtract()"
|
|
96906
95417
|
(close)="close.emit()"\r
|
|
96907
95418
|
(nextStep)="onNextStepClick()"\r
|
|
96908
95419
|
(prevStep)="onOntarioPrevStep()"\r
|
|
96909
95420
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
96910
95421
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
96911
95422
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
96912
|
-
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
96913
|
-
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
96914
|
-
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
96915
95423
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
96916
95424
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
96917
95425
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -96941,11 +95449,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96941
95449
|
</div>\r
|
|
96942
95450
|
}\r
|
|
96943
95451
|
</div>\r
|
|
96944
|
-
</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'] }]
|
|
95452
|
+
</div>\r
|
|
95453
|
+
`, 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'] }]
|
|
96945
95454
|
}], () => [], null);
|
|
96946
95455
|
})();
|
|
96947
95456
|
(() => {
|
|
96948
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
95457
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 89 });
|
|
96949
95458
|
})();
|
|
96950
95459
|
}
|
|
96951
95460
|
});
|
|
@@ -101591,17 +100100,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101591
100100
|
Currency: "Currency",
|
|
101592
100101
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
101593
100102
|
Unlimited: "Unlimited",
|
|
101594
|
-
"Without Par Value": "Without Par Value"
|
|
101595
|
-
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101596
|
-
"Records Office Address": "Records Office Address",
|
|
101597
|
-
"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.",
|
|
101598
|
-
"Current Mailing Address": "Current Mailing Address",
|
|
101599
|
-
"Current Delivery Address": "Current Delivery Address",
|
|
101600
|
-
"New Mailing Address": "New Mailing Address",
|
|
101601
|
-
"New Delivery Address": "New Delivery Address",
|
|
101602
|
-
"Same as Mailing Address": "Same as Mailing Address",
|
|
101603
|
-
"Same as Registered Office": "Same as Registered Office",
|
|
101604
|
-
"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."
|
|
100103
|
+
"Without Par Value": "Without Par Value"
|
|
101605
100104
|
};
|
|
101606
100105
|
}
|
|
101607
100106
|
});
|
|
@@ -101948,16 +100447,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101948
100447
|
Currency: "Devise",
|
|
101949
100448
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
101950
100449
|
Unlimited: "Illimit\xE9",
|
|
101951
|
-
"Without Par Value": "Sans valeur nominale"
|
|
101952
|
-
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
101953
|
-
"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.",
|
|
101954
|
-
"Current Mailing Address": "Adresse postale actuelle",
|
|
101955
|
-
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
101956
|
-
"New Mailing Address": "Nouvelle adresse postale",
|
|
101957
|
-
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
101958
|
-
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
101959
|
-
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
101960
|
-
"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."
|
|
100450
|
+
"Without Par Value": "Sans valeur nominale"
|
|
101961
100451
|
};
|
|
101962
100452
|
}
|
|
101963
100453
|
});
|