@dyedurham/search-and-file-widget 2.0.87 → 2.0.89
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 +1762 -304
- package/package.json +11 -11
- package/dyedurham-search-and-file-widget-2.0.87.tgz +0 -0
package/dnd-filing-shell.js
CHANGED
|
@@ -56266,6 +56266,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
56266
56266
|
TaskType2["Amendments"] = "Amendments";
|
|
56267
56267
|
TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
|
|
56268
56268
|
TaskType2["ChangeOfAddress"] = "Change of Address";
|
|
56269
|
+
TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
|
|
56269
56270
|
TaskType2["ChangeOfPrincipals"] = "Change of Principals";
|
|
56270
56271
|
TaskType2["RegistrationCompliance"] = "Registration Compliance";
|
|
56271
56272
|
TaskType2["Continuance"] = "Continuance";
|
|
@@ -57884,8 +57885,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57884
57885
|
|
|
57885
57886
|
// src/app/utils/common.utils.ts
|
|
57886
57887
|
function buildValidationError(httpStatus, r) {
|
|
57887
|
-
const msgs = (r.Errors ??
|
|
57888
|
-
|
|
57888
|
+
const msgs = (r.Errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57889
|
+
const status = r.Status ? String(r.Status) : "ValidationFailed";
|
|
57890
|
+
return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
|
|
57889
57891
|
}
|
|
57890
57892
|
function joinUrl(base, path) {
|
|
57891
57893
|
const b = base.endsWith("/") ? base.slice(0, -1) : base;
|
|
@@ -58084,6 +58086,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58084
58086
|
function isChangeOfPrincipalsTask(task) {
|
|
58085
58087
|
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58086
58088
|
}
|
|
58089
|
+
function isChangeOfAddressTask(task) {
|
|
58090
|
+
return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
|
|
58091
|
+
}
|
|
58087
58092
|
function isBritishColumbiaTask(task) {
|
|
58088
58093
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58089
58094
|
}
|
|
@@ -58108,6 +58113,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58108
58113
|
if (!task) {
|
|
58109
58114
|
return void 0;
|
|
58110
58115
|
}
|
|
58116
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
58117
|
+
return "bcChangeOfOfficeAddresses";
|
|
58118
|
+
}
|
|
58111
58119
|
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
|
|
58112
58120
|
if (isFormationTask2(task)) {
|
|
58113
58121
|
return `${prefix}Incorporation`;
|
|
@@ -58122,7 +58130,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58122
58130
|
return `${prefix}AnnualReturn`;
|
|
58123
58131
|
}
|
|
58124
58132
|
if (isChangeOfPrincipalsTask(task)) {
|
|
58125
|
-
return
|
|
58133
|
+
return `${prefix}NoticeOfChangeOfDirectors`;
|
|
58126
58134
|
}
|
|
58127
58135
|
return void 0;
|
|
58128
58136
|
}
|
|
@@ -61002,10 +61010,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
61002
61010
|
this._inputElement.nativeElement.focus();
|
|
61003
61011
|
}
|
|
61004
61012
|
/** Creates the change event that will be emitted by the checkbox. */
|
|
61005
|
-
_createChangeEvent(
|
|
61013
|
+
_createChangeEvent(isChecked2) {
|
|
61006
61014
|
const event = new MatCheckboxChange();
|
|
61007
61015
|
event.source = this;
|
|
61008
|
-
event.checked =
|
|
61016
|
+
event.checked = isChecked2;
|
|
61009
61017
|
return event;
|
|
61010
61018
|
}
|
|
61011
61019
|
/** Gets the element on which to add the animation CSS classes. */
|
|
@@ -80561,7 +80569,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80561
80569
|
MatRadioButton,
|
|
80562
80570
|
TranslatePipe,
|
|
80563
80571
|
CheckboxListComponent
|
|
80564
|
-
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80572
|
+
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] .body-1-semibold {\n color: inherit;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80565
80573
|
};
|
|
80566
80574
|
(() => {
|
|
80567
80575
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
|
|
@@ -80815,7 +80823,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80815
80823
|
}\r
|
|
80816
80824
|
</div>\r
|
|
80817
80825
|
</section>\r
|
|
80818
|
-
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80826
|
+
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .note-box {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n:host .note-box ::ng-deep .body-1-semibold {\n color: inherit;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80819
80827
|
}], () => [], { dismissOpenTooltip: [{
|
|
80820
80828
|
type: HostListener,
|
|
80821
80829
|
args: ["document:keydown.escape"]
|
|
@@ -81305,12 +81313,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81305
81313
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81306
81314
|
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81307
81315
|
bcFormationInitialDelta = signal(null);
|
|
81316
|
+
bcChangeOfOfficeAddressesInitialDelta = signal(null);
|
|
81308
81317
|
setFormationInitialDelta(delta) {
|
|
81309
81318
|
this.formationInitialDelta.set(delta);
|
|
81310
81319
|
}
|
|
81311
81320
|
setBCFormationInitialDelta(delta) {
|
|
81312
81321
|
this.bcFormationInitialDelta.set(delta);
|
|
81313
81322
|
}
|
|
81323
|
+
setBCChangeOfOfficeAddressesInitialDelta(delta) {
|
|
81324
|
+
this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
|
|
81325
|
+
}
|
|
81314
81326
|
setInitialReturnInitialDelta(delta) {
|
|
81315
81327
|
this.initialReturnInitialDelta.set(delta);
|
|
81316
81328
|
}
|
|
@@ -81330,6 +81342,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81330
81342
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81331
81343
|
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81332
81344
|
this.bcFormationInitialDelta.set(null);
|
|
81345
|
+
this.bcChangeOfOfficeAddressesInitialDelta.set(null);
|
|
81333
81346
|
}
|
|
81334
81347
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
81335
81348
|
return new (__ngFactoryType__ || _DeltaStateService)();
|
|
@@ -84137,7 +84150,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84137
84150
|
});
|
|
84138
84151
|
|
|
84139
84152
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
84140
|
-
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84153
|
+
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84141
84154
|
var init_BritishColumbiaConstants = __esm({
|
|
84142
84155
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84143
84156
|
init_app_enums();
|
|
@@ -84171,7 +84184,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84171
84184
|
};
|
|
84172
84185
|
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84173
84186
|
Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84174
|
-
CANProvinces.BritishColumbia;
|
|
84187
|
+
BC_DEFAULT_PROVINCE_STATE = CANProvinces.BritishColumbia;
|
|
84175
84188
|
BC_DEFAULT_COUNTRY = "Canada";
|
|
84176
84189
|
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84177
84190
|
BC_PASSWORD_MIN_LENGTH = 8;
|
|
@@ -84190,7 +84203,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84190
84203
|
});
|
|
84191
84204
|
|
|
84192
84205
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84193
|
-
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84206
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCChangeOfOfficeAddressesFormControls, BCChangeOfOfficeAddressesFormGroups, BCFormationFormGroups;
|
|
84194
84207
|
var init_british_columbia_form_enums = __esm({
|
|
84195
84208
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84196
84209
|
(function(BCChangeOfDirectorsFormControls2) {
|
|
@@ -84255,6 +84268,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84255
84268
|
BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
|
|
84256
84269
|
BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
|
|
84257
84270
|
})(BCFormationFormControls || (BCFormationFormControls = {}));
|
|
84271
|
+
(function(BCChangeOfOfficeAddressesFormControls2) {
|
|
84272
|
+
BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
|
|
84273
|
+
BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
|
|
84274
|
+
BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
|
|
84275
|
+
BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
|
|
84276
|
+
BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
|
|
84277
|
+
BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
|
|
84278
|
+
BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
|
|
84279
|
+
BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
|
|
84280
|
+
BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
|
|
84281
|
+
BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
|
|
84282
|
+
BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
|
|
84283
|
+
BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
|
|
84284
|
+
BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
|
|
84285
|
+
BCChangeOfOfficeAddressesFormControls2["City"] = "city";
|
|
84286
|
+
BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
|
|
84287
|
+
BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
|
|
84288
|
+
BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
|
|
84289
|
+
})(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
|
|
84290
|
+
(function(BCChangeOfOfficeAddressesFormGroups2) {
|
|
84291
|
+
BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84292
|
+
BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84293
|
+
BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
|
|
84294
|
+
BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
|
|
84295
|
+
})(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
|
|
84258
84296
|
(function(BCFormationFormGroups2) {
|
|
84259
84297
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84260
84298
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
@@ -84329,7 +84367,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84329
84367
|
}
|
|
84330
84368
|
const password = request.password ?? "";
|
|
84331
84369
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84332
|
-
issues.push(`
|
|
84370
|
+
issues.push(`Company Password must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Enter it in Corporation Details.`);
|
|
84333
84371
|
}
|
|
84334
84372
|
return issues;
|
|
84335
84373
|
}
|
|
@@ -84721,10 +84759,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84721
84759
|
// Prefilled from the entity's Business Email when Athennian has one; otherwise the user
|
|
84722
84760
|
// enters it here (the API requires it).
|
|
84723
84761
|
[BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
|
|
84724
|
-
//
|
|
84725
|
-
//
|
|
84726
|
-
|
|
84727
|
-
|
|
84762
|
+
// The registry ID is only a suggestion: it is used when it already satisfies the BC
|
|
84763
|
+
// password rule, otherwise the field starts empty for the user to fill in.
|
|
84764
|
+
[BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id), [
|
|
84765
|
+
Validators.required,
|
|
84766
|
+
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
84767
|
+
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
84768
|
+
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
84769
|
+
]),
|
|
84728
84770
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84729
84771
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84730
84772
|
});
|
|
@@ -84826,15 +84868,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84826
84868
|
})
|
|
84827
84869
|
});
|
|
84828
84870
|
}
|
|
84829
|
-
/**
|
|
84830
|
-
* Company Email dropdown options: the task's `emailOptions` (distinct addresses), plus the
|
|
84831
|
-
* current value when it is not among them (a saved or fallback-prefilled address).
|
|
84832
|
-
*/
|
|
84833
|
-
static buildCompanyEmailOptions(task, currentValue) {
|
|
84834
|
-
const emails = (task?.entity.emailOptions ?? []).map((option) => option.value?.trim());
|
|
84835
|
-
const current = currentValue?.trim();
|
|
84836
|
-
return [...new Set([...emails, current].filter((email) => Boolean(email)))].map((email) => ({ label: email, value: email }));
|
|
84837
|
-
}
|
|
84838
84871
|
static suggestPassword(registryId) {
|
|
84839
84872
|
const value = registryId?.trim() ?? "";
|
|
84840
84873
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
@@ -84878,7 +84911,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84878
84911
|
init_british_columbia_formation_form_helper();
|
|
84879
84912
|
Controls = BCChangeOfDirectorsFormControls;
|
|
84880
84913
|
BritishColumbiaChangeOfDirectorsFormHelper = class {
|
|
84881
|
-
static generateConfig(task, _translateFn
|
|
84914
|
+
static generateConfig(task, _translateFn) {
|
|
84882
84915
|
const affiliations = task.entity.affiliations ?? [];
|
|
84883
84916
|
const delta = task.deltaData;
|
|
84884
84917
|
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
@@ -84907,9 +84940,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84907
84940
|
]),
|
|
84908
84941
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84909
84942
|
});
|
|
84910
|
-
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
84911
84943
|
const directors = [
|
|
84912
|
-
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a,
|
|
84944
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add)),
|
|
84913
84945
|
...outgoing.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Ceased))
|
|
84914
84946
|
];
|
|
84915
84947
|
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
@@ -84927,45 +84959,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84927
84959
|
});
|
|
84928
84960
|
return config2;
|
|
84929
84961
|
}
|
|
84930
|
-
static getCurrentDirectorKeys(extract) {
|
|
84931
|
-
const keys = /* @__PURE__ */ new Set();
|
|
84932
|
-
const visit = (value) => {
|
|
84933
|
-
if (Array.isArray(value)) {
|
|
84934
|
-
value.forEach((item) => {
|
|
84935
|
-
if (item && typeof item === "object") {
|
|
84936
|
-
const record = item;
|
|
84937
|
-
const role = String(record["role"] ?? record["Role"] ?? record["position"] ?? "").toLowerCase();
|
|
84938
|
-
if (!role || role.includes("director")) {
|
|
84939
|
-
const person = record["PersonName"] ?? record["personName"] ?? record["person"] ?? record;
|
|
84940
|
-
const name = [
|
|
84941
|
-
person.firstName ?? person.FirstName,
|
|
84942
|
-
person.middleName ?? person.MiddleName,
|
|
84943
|
-
person.lastName ?? person.LastName
|
|
84944
|
-
].filter(Boolean).join(" ");
|
|
84945
|
-
const id = record["Id"] ?? record["id"] ?? record["affiliationId"] ?? record["AffiliationId"];
|
|
84946
|
-
if (id)
|
|
84947
|
-
keys.add(this.normaliseDirectorKey(id));
|
|
84948
|
-
if (name)
|
|
84949
|
-
keys.add(this.normaliseDirectorKey(name));
|
|
84950
|
-
}
|
|
84951
|
-
}
|
|
84952
|
-
visit(item);
|
|
84953
|
-
});
|
|
84954
|
-
return;
|
|
84955
|
-
}
|
|
84956
|
-
if (value && typeof value === "object") {
|
|
84957
|
-
Object.values(value).forEach(visit);
|
|
84958
|
-
}
|
|
84959
|
-
};
|
|
84960
|
-
visit(extract);
|
|
84961
|
-
return keys;
|
|
84962
|
-
}
|
|
84963
|
-
static getDirectorKey(affiliation) {
|
|
84964
|
-
return this.normaliseDirectorKey(generateTaskAffiliationFullName(affiliation));
|
|
84965
|
-
}
|
|
84966
|
-
static normaliseDirectorKey(value) {
|
|
84967
|
-
return String(value ?? "").trim().toLowerCase().replace(/\s+/g, " ");
|
|
84968
|
-
}
|
|
84969
84962
|
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber, savedClientMatterNumber) {
|
|
84970
84963
|
return new FormGroup({
|
|
84971
84964
|
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? savedClientMatterNumber ?? ""),
|
|
@@ -85025,8 +85018,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85025
85018
|
const postalAddress = director?.PostalAddress ?? director?.postalAddress;
|
|
85026
85019
|
const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
|
|
85027
85020
|
return [
|
|
85028
|
-
address.streetAddress,
|
|
85029
|
-
address.additionalStreetAddress,
|
|
85030
85021
|
address.Address1 ?? address.address1,
|
|
85031
85022
|
address.Address2 ?? address.address2,
|
|
85032
85023
|
address.Address3 ?? address.address3,
|
|
@@ -85043,14 +85034,119 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85043
85034
|
}
|
|
85044
85035
|
});
|
|
85045
85036
|
|
|
85037
|
+
// src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
|
|
85038
|
+
var Controls2, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
|
|
85039
|
+
var init_british_columbia_change_of_office_addresses_form_helper = __esm({
|
|
85040
|
+
"src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
|
|
85041
|
+
init_forms();
|
|
85042
|
+
init_common_models();
|
|
85043
|
+
init_british_columbia_form_enums();
|
|
85044
|
+
init_BritishColumbiaConstants();
|
|
85045
|
+
init_british_columbia_formation_form_helper();
|
|
85046
|
+
Controls2 = BCChangeOfOfficeAddressesFormControls;
|
|
85047
|
+
EDITABLE_ADDRESS_CONTROLS = [
|
|
85048
|
+
Controls2.AddressLine1,
|
|
85049
|
+
Controls2.AddressLine2,
|
|
85050
|
+
Controls2.City,
|
|
85051
|
+
Controls2.PostalCode
|
|
85052
|
+
];
|
|
85053
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85054
|
+
static generateConfig(task, _translateFn) {
|
|
85055
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85056
|
+
const delta = task.deltaData;
|
|
85057
|
+
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
85058
|
+
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85059
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85060
|
+
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85061
|
+
const companyEmail = this.resolveCompanyEmail(task);
|
|
85062
|
+
const config2 = {};
|
|
85063
|
+
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85064
|
+
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
85065
|
+
[Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
85066
|
+
[Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
85067
|
+
[Controls2.CompanyEmail]: this.readOnly(companyEmail)
|
|
85068
|
+
});
|
|
85069
|
+
const regDeliverySame = delta?.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85070
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85071
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85072
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85073
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.mailingAddress, true),
|
|
85074
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85075
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
85076
|
+
});
|
|
85077
|
+
const recSameAsRegistered = delta?.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85078
|
+
const recDeliverySame = delta?.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85079
|
+
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85080
|
+
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85081
|
+
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85082
|
+
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85083
|
+
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85084
|
+
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
85085
|
+
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(delta?.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
|
|
85086
|
+
});
|
|
85087
|
+
return config2;
|
|
85088
|
+
}
|
|
85089
|
+
/**
|
|
85090
|
+
* The company's email, looked up the same way as in the BC Incorporation Application: the
|
|
85091
|
+
* entity's email options, then the Registered Office's Business Email, then the entity's own,
|
|
85092
|
+
* then any other address of the entity (e.g. a Head Office).
|
|
85093
|
+
*/
|
|
85094
|
+
static resolveCompanyEmail(task) {
|
|
85095
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
85096
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85097
|
+
return task.entity.emailOptions?.[0]?.value ?? registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.addresses?.flatMap((a) => a.communications ?? []).find((c) => c.type === "Business Email")?.value ?? "";
|
|
85098
|
+
}
|
|
85099
|
+
/**
|
|
85100
|
+
* Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
|
|
85101
|
+
* Province and Country are always disabled; the rest follow `enabled`.
|
|
85102
|
+
*/
|
|
85103
|
+
static createOfficeAddressFormGroup(delta, enabled = true) {
|
|
85104
|
+
const group2 = new FormGroup({
|
|
85105
|
+
[Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
|
|
85106
|
+
[Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
|
|
85107
|
+
[Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
|
|
85108
|
+
[Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
|
|
85109
|
+
[Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
|
|
85110
|
+
[Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
|
|
85111
|
+
});
|
|
85112
|
+
this.setOfficeAddressEnabled(group2, enabled);
|
|
85113
|
+
return group2;
|
|
85114
|
+
}
|
|
85115
|
+
/** Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes). */
|
|
85116
|
+
static setOfficeAddressEnabled(group2, enabled) {
|
|
85117
|
+
if (!group2) {
|
|
85118
|
+
return;
|
|
85119
|
+
}
|
|
85120
|
+
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85121
|
+
const control = group2.get(name);
|
|
85122
|
+
enabled ? control?.enable({ emitEvent: false }) : control?.disable({ emitEvent: false });
|
|
85123
|
+
});
|
|
85124
|
+
group2.updateValueAndValidity({ emitEvent: false });
|
|
85125
|
+
}
|
|
85126
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85127
|
+
return new FormGroup({
|
|
85128
|
+
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85129
|
+
// `||`, not `??`: a draft saved with the field empty stores '' and must not hide the entity's number.
|
|
85130
|
+
deltaData?.referenceNumber || clientMatterNumber || ""
|
|
85131
|
+
),
|
|
85132
|
+
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85133
|
+
});
|
|
85134
|
+
}
|
|
85135
|
+
static readOnly(value) {
|
|
85136
|
+
return new FormControl({ value: value ?? "", disabled: true });
|
|
85137
|
+
}
|
|
85138
|
+
};
|
|
85139
|
+
}
|
|
85140
|
+
});
|
|
85141
|
+
|
|
85046
85142
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85047
|
-
var
|
|
85143
|
+
var Controls3, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85048
85144
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85049
85145
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85050
85146
|
init_form_enums();
|
|
85051
85147
|
init_british_columbia_form_enums();
|
|
85052
85148
|
init_BritishColumbiaConstants();
|
|
85053
|
-
|
|
85149
|
+
Controls3 = BCChangeOfDirectorsFormControls;
|
|
85054
85150
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85055
85151
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85056
85152
|
type: FormType.Text,
|
|
@@ -85058,24 +85154,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85058
85154
|
class: className,
|
|
85059
85155
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85060
85156
|
});
|
|
85061
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85062
|
-
isNotifyByMail = (form) => form.get(
|
|
85157
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls3.DirectorsAddedOrDeleted)?.value);
|
|
85158
|
+
isNotifyByMail = (form) => form.get(Controls3.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85063
85159
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85064
85160
|
{
|
|
85065
85161
|
type: FormType.Input,
|
|
85066
85162
|
label: "Client/Matter Number",
|
|
85067
|
-
formControlName:
|
|
85163
|
+
formControlName: Controls3.ClientMatterNumber
|
|
85068
85164
|
},
|
|
85069
85165
|
{
|
|
85070
85166
|
type: FormType.Input,
|
|
85071
85167
|
label: "Docket Number",
|
|
85072
|
-
formControlName:
|
|
85168
|
+
formControlName: Controls3.DocketNumber
|
|
85073
85169
|
}
|
|
85074
85170
|
];
|
|
85075
85171
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85076
|
-
readOnlyRow("Corporation Name",
|
|
85077
|
-
readOnlyRow("Incorporation Number",
|
|
85078
|
-
readOnlyRow("Company Email",
|
|
85172
|
+
readOnlyRow("Corporation Name", Controls3.CorporationName),
|
|
85173
|
+
readOnlyRow("Incorporation Number", Controls3.IncorporationNumber),
|
|
85174
|
+
readOnlyRow("Company Email", Controls3.CompanyEmail)
|
|
85079
85175
|
];
|
|
85080
85176
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85081
85177
|
{
|
|
@@ -85087,24 +85183,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85087
85183
|
{
|
|
85088
85184
|
type: FormType.Checkbox,
|
|
85089
85185
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85090
|
-
formControlName:
|
|
85186
|
+
formControlName: Controls3.DirectorsAddedOrDeleted,
|
|
85091
85187
|
class: "span-12",
|
|
85092
85188
|
onChange: (form) => {
|
|
85093
85189
|
if (!directorsAddedOrDeleted(form)) {
|
|
85094
|
-
form.get(
|
|
85190
|
+
form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85095
85191
|
}
|
|
85096
|
-
form.get(
|
|
85192
|
+
form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85097
85193
|
}
|
|
85098
85194
|
},
|
|
85099
85195
|
{
|
|
85100
85196
|
type: FormType.Date,
|
|
85101
85197
|
label: "Date Directors were added or deleted",
|
|
85102
|
-
formControlName:
|
|
85198
|
+
formControlName: Controls3.ChangeDate,
|
|
85103
85199
|
required: true,
|
|
85104
85200
|
isVisible: directorsAddedOrDeleted,
|
|
85105
85201
|
class: "span-8"
|
|
85106
85202
|
},
|
|
85107
|
-
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee",
|
|
85203
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
|
|
85108
85204
|
isVisible: directorsAddedOrDeleted
|
|
85109
85205
|
}),
|
|
85110
85206
|
{
|
|
@@ -85124,34 +85220,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85124
85220
|
}
|
|
85125
85221
|
];
|
|
85126
85222
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85127
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85128
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85223
|
+
readOnlyRow("Mailing Address - Full Address", Controls3.MailingAddress),
|
|
85224
|
+
readOnlyRow("Delivery Address - Full Address", Controls3.DeliveryAddress)
|
|
85129
85225
|
];
|
|
85130
85226
|
[
|
|
85131
85227
|
{
|
|
85132
85228
|
type: FormType.Select,
|
|
85133
85229
|
label: "Notification Method",
|
|
85134
|
-
formControlName:
|
|
85230
|
+
formControlName: Controls3.NotificationMethod,
|
|
85135
85231
|
required: true,
|
|
85136
85232
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85137
85233
|
needTranslate: true,
|
|
85138
85234
|
class: "span-6",
|
|
85139
|
-
onChange: (form) => form.get(
|
|
85235
|
+
onChange: (form) => form.get(Controls3.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85140
85236
|
},
|
|
85141
85237
|
{
|
|
85142
85238
|
type: FormType.Input,
|
|
85143
85239
|
label: "Notification Email",
|
|
85144
|
-
formControlName:
|
|
85240
|
+
formControlName: Controls3.NotificationEmail,
|
|
85145
85241
|
required: true,
|
|
85146
85242
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85147
85243
|
class: "column-3"
|
|
85148
85244
|
},
|
|
85149
85245
|
{
|
|
85150
85246
|
type: FormType.Text,
|
|
85151
|
-
formControlName:
|
|
85247
|
+
formControlName: Controls3.NotificationMailingAddress,
|
|
85152
85248
|
class: "span-12",
|
|
85153
85249
|
isVisible: isNotifyByMail,
|
|
85154
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85250
|
+
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls3.NotificationMailingAddress)?.value || t("Not specified")})`
|
|
85155
85251
|
}
|
|
85156
85252
|
];
|
|
85157
85253
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85164,7 +85260,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85164
85260
|
{
|
|
85165
85261
|
type: FormType.Select,
|
|
85166
85262
|
label: "Annual Report Reminder",
|
|
85167
|
-
formControlName:
|
|
85263
|
+
formControlName: Controls3.AnnualReportReminder,
|
|
85168
85264
|
required: true,
|
|
85169
85265
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85170
85266
|
needTranslate: true,
|
|
@@ -86187,15 +86283,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86187
86283
|
dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
|
|
86188
86284
|
},
|
|
86189
86285
|
{
|
|
86190
|
-
|
|
86191
|
-
|
|
86286
|
+
type: FormType.Input,
|
|
86287
|
+
inputType: "email",
|
|
86192
86288
|
label: "Company Email",
|
|
86193
86289
|
formControlName: BCFormationFormControls.CompanyEmail,
|
|
86194
86290
|
required: true,
|
|
86195
|
-
|
|
86291
|
+
maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
|
|
86292
|
+
errorMessage: "Enter a valid email address",
|
|
86293
|
+
showRequiredMessage: true,
|
|
86294
|
+
class: "span-6"
|
|
86295
|
+
},
|
|
86296
|
+
{
|
|
86297
|
+
type: FormType.Input,
|
|
86298
|
+
inputType: "password",
|
|
86299
|
+
label: "Company Password",
|
|
86300
|
+
formControlName: BCFormationFormControls.CompanyPassword,
|
|
86301
|
+
required: true,
|
|
86302
|
+
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
86303
|
+
errorMessage: "Company Password must be 8 to 15 characters",
|
|
86304
|
+
showRequiredMessage: true,
|
|
86196
86305
|
class: "span-6"
|
|
86197
86306
|
}
|
|
86198
|
-
// The company password is not shown: it is taken from the entity's registry ID.
|
|
86199
86307
|
];
|
|
86200
86308
|
BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
|
|
86201
86309
|
{
|
|
@@ -86554,7 +86662,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86554
86662
|
const corporationDetails_r11 = \u0275\u0275readContextLet(6);
|
|
86555
86663
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
|
|
86556
86664
|
\u0275\u0275advance(2);
|
|
86557
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields
|
|
86665
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
|
|
86558
86666
|
\u0275\u0275advance(2);
|
|
86559
86667
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
|
|
86560
86668
|
\u0275\u0275advance(2);
|
|
@@ -86789,12 +86897,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86789
86897
|
groups = BCFormationFormGroups;
|
|
86790
86898
|
controls = BCFormationFormControls;
|
|
86791
86899
|
referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
86792
|
-
|
|
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
|
-
});
|
|
86900
|
+
corporationDetailsFields = BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
86798
86901
|
nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
|
|
86799
86902
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
86800
86903
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
@@ -86984,7 +87087,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86984
87087
|
<filing-form-group\r
|
|
86985
87088
|
[isSubmitted]="isSubmitted()"\r
|
|
86986
87089
|
[form]="corporationDetails"\r
|
|
86987
|
-
[config]="corporationDetailsFields
|
|
87090
|
+
[config]="corporationDetailsFields"\r
|
|
86988
87091
|
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
86989
87092
|
/>\r
|
|
86990
87093
|
\r
|
|
@@ -87405,11 +87508,889 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87405
87508
|
}
|
|
87406
87509
|
});
|
|
87407
87510
|
|
|
87511
|
+
// src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts
|
|
87512
|
+
var Controls4, labelledValue3, readOnlyRow2, isChecked, addressGroup, BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, effectiveDateNote, BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS, BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS, BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS, BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS, BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
87513
|
+
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87514
|
+
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87515
|
+
init_form_enums();
|
|
87516
|
+
init_british_columbia_form_enums();
|
|
87517
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87518
|
+
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87519
|
+
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87520
|
+
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87521
|
+
type: FormType.Text,
|
|
87522
|
+
formControlName: control,
|
|
87523
|
+
class: className,
|
|
87524
|
+
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87525
|
+
});
|
|
87526
|
+
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87527
|
+
addressGroup = (form, control) => form.get(control);
|
|
87528
|
+
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87529
|
+
{
|
|
87530
|
+
type: FormType.Input,
|
|
87531
|
+
label: "Client/Matter Number",
|
|
87532
|
+
formControlName: Controls4.ClientMatterNumber
|
|
87533
|
+
},
|
|
87534
|
+
{
|
|
87535
|
+
type: FormType.Input,
|
|
87536
|
+
label: "Docket Number",
|
|
87537
|
+
formControlName: Controls4.DocketNumber
|
|
87538
|
+
}
|
|
87539
|
+
];
|
|
87540
|
+
effectiveDateNote = {
|
|
87541
|
+
type: FormType.Text,
|
|
87542
|
+
formControlName: "",
|
|
87543
|
+
class: "span-12 note-box",
|
|
87544
|
+
dynamicLabel: (_, t) => `<span class="body-1-semibold">${t("Note")}:</span> ${t("The new addresses will take effect at the beginning of the day following the filing date. The registered and records offices must be located in British Columbia.")}`
|
|
87545
|
+
};
|
|
87546
|
+
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
87547
|
+
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87548
|
+
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87549
|
+
readOnlyRow2("Company Email", Controls4.CompanyEmail),
|
|
87550
|
+
effectiveDateNote
|
|
87551
|
+
];
|
|
87552
|
+
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87553
|
+
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87554
|
+
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87555
|
+
];
|
|
87556
|
+
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87557
|
+
{
|
|
87558
|
+
type: FormType.Input,
|
|
87559
|
+
label: "Address Line 1",
|
|
87560
|
+
formControlName: Controls4.AddressLine1,
|
|
87561
|
+
required: true,
|
|
87562
|
+
class: "span-6"
|
|
87563
|
+
},
|
|
87564
|
+
{
|
|
87565
|
+
type: FormType.Input,
|
|
87566
|
+
label: "Address Line 2",
|
|
87567
|
+
formControlName: Controls4.AddressLine2,
|
|
87568
|
+
class: "span-6"
|
|
87569
|
+
},
|
|
87570
|
+
{
|
|
87571
|
+
type: FormType.Input,
|
|
87572
|
+
label: "City",
|
|
87573
|
+
formControlName: Controls4.City,
|
|
87574
|
+
required: true,
|
|
87575
|
+
class: "span-6"
|
|
87576
|
+
},
|
|
87577
|
+
{
|
|
87578
|
+
type: FormType.Input,
|
|
87579
|
+
label: "Postal Code",
|
|
87580
|
+
formControlName: Controls4.PostalCode,
|
|
87581
|
+
required: true,
|
|
87582
|
+
class: "span-6"
|
|
87583
|
+
},
|
|
87584
|
+
{
|
|
87585
|
+
type: FormType.Input,
|
|
87586
|
+
label: "Province",
|
|
87587
|
+
formControlName: Controls4.Province,
|
|
87588
|
+
readonly: true,
|
|
87589
|
+
class: "span-6"
|
|
87590
|
+
},
|
|
87591
|
+
{
|
|
87592
|
+
type: FormType.Input,
|
|
87593
|
+
label: "Country",
|
|
87594
|
+
formControlName: Controls4.Country,
|
|
87595
|
+
readonly: true,
|
|
87596
|
+
class: "span-6"
|
|
87597
|
+
}
|
|
87598
|
+
];
|
|
87599
|
+
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87600
|
+
{
|
|
87601
|
+
type: FormType.Text,
|
|
87602
|
+
formControlName: "",
|
|
87603
|
+
class: "span-12",
|
|
87604
|
+
dynamicLabel: (_, t) => t("The delivery address must be a physical location in British Columbia where documents can be delivered during statutory business hours. A post office box is not acceptable.")
|
|
87605
|
+
}
|
|
87606
|
+
];
|
|
87607
|
+
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87608
|
+
{
|
|
87609
|
+
type: FormType.Checkbox,
|
|
87610
|
+
label: "Same as Mailing Address",
|
|
87611
|
+
formControlName: Controls4.DeliverySameAsMailing,
|
|
87612
|
+
class: "span-12",
|
|
87613
|
+
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87614
|
+
}
|
|
87615
|
+
];
|
|
87616
|
+
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87617
|
+
{
|
|
87618
|
+
type: FormType.Checkbox,
|
|
87619
|
+
label: "Same as Registered Office",
|
|
87620
|
+
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87621
|
+
class: "span-12",
|
|
87622
|
+
onChange: (form) => {
|
|
87623
|
+
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87624
|
+
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87625
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87626
|
+
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87627
|
+
}
|
|
87628
|
+
}
|
|
87629
|
+
];
|
|
87630
|
+
}
|
|
87631
|
+
});
|
|
87632
|
+
|
|
87633
|
+
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87634
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87635
|
+
if (rf & 1) {
|
|
87636
|
+
\u0275\u0275element(0, "alert", 1);
|
|
87637
|
+
}
|
|
87638
|
+
if (rf & 2) {
|
|
87639
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87640
|
+
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87641
|
+
}
|
|
87642
|
+
}
|
|
87643
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87644
|
+
if (rf & 1) {
|
|
87645
|
+
\u0275\u0275element(0, "alert", 2);
|
|
87646
|
+
}
|
|
87647
|
+
if (rf & 2) {
|
|
87648
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87649
|
+
\u0275\u0275property("content", ctx_r0.errors());
|
|
87650
|
+
}
|
|
87651
|
+
}
|
|
87652
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87653
|
+
if (rf & 1) {
|
|
87654
|
+
const _r2 = \u0275\u0275getCurrentView();
|
|
87655
|
+
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 7);
|
|
87656
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
87657
|
+
\u0275\u0275restoreView(_r2);
|
|
87658
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87659
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
87660
|
+
});
|
|
87661
|
+
\u0275\u0275elementEnd()();
|
|
87662
|
+
}
|
|
87663
|
+
if (rf & 2) {
|
|
87664
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87665
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
87666
|
+
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
87667
|
+
\u0275\u0275advance();
|
|
87668
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87669
|
+
}
|
|
87670
|
+
}
|
|
87671
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template(rf, ctx) {
|
|
87672
|
+
if (rf & 1) {
|
|
87673
|
+
\u0275\u0275elementStart(0, "expandable-card", 5);
|
|
87674
|
+
\u0275\u0275element(1, "filing-form-group", 8);
|
|
87675
|
+
\u0275\u0275elementEnd();
|
|
87676
|
+
}
|
|
87677
|
+
if (rf & 2) {
|
|
87678
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87679
|
+
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
87680
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
87681
|
+
\u0275\u0275advance();
|
|
87682
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r4)("config", ctx_r0.corporationDetailsFields);
|
|
87683
|
+
}
|
|
87684
|
+
}
|
|
87685
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87686
|
+
if (rf & 1) {
|
|
87687
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87688
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87689
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87690
|
+
\u0275\u0275restoreView(_r6);
|
|
87691
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87692
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87693
|
+
});
|
|
87694
|
+
\u0275\u0275elementEnd();
|
|
87695
|
+
}
|
|
87696
|
+
if (rf & 2) {
|
|
87697
|
+
\u0275\u0275nextContext();
|
|
87698
|
+
const registeredMailing_r7 = \u0275\u0275readContextLet(0);
|
|
87699
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87700
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r7)("config", ctx_r0.addressFields);
|
|
87701
|
+
}
|
|
87702
|
+
}
|
|
87703
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87704
|
+
if (rf & 1) {
|
|
87705
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
87706
|
+
\u0275\u0275element(0, "filing-form-group", 8);
|
|
87707
|
+
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87708
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87709
|
+
\u0275\u0275restoreView(_r8);
|
|
87710
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87711
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87712
|
+
});
|
|
87713
|
+
\u0275\u0275elementEnd();
|
|
87714
|
+
}
|
|
87715
|
+
if (rf & 2) {
|
|
87716
|
+
\u0275\u0275nextContext();
|
|
87717
|
+
const registeredDelivery_r9 = \u0275\u0275readContextLet(1);
|
|
87718
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87719
|
+
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87720
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliveryNoteFields);
|
|
87721
|
+
\u0275\u0275advance();
|
|
87722
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r9)("config", ctx_r0.addressFields);
|
|
87723
|
+
}
|
|
87724
|
+
}
|
|
87725
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template(rf, ctx) {
|
|
87726
|
+
if (rf & 1) {
|
|
87727
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
87728
|
+
\u0275\u0275declareLet(0)(1)(2);
|
|
87729
|
+
\u0275\u0275elementStart(3, "expandable-card", 6)(4, "div", 9);
|
|
87730
|
+
\u0275\u0275element(5, "filing-form-group", 8);
|
|
87731
|
+
\u0275\u0275elementStart(6, "h4", 10);
|
|
87732
|
+
\u0275\u0275text(7);
|
|
87733
|
+
\u0275\u0275pipe(8, "translate");
|
|
87734
|
+
\u0275\u0275elementEnd();
|
|
87735
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 8);
|
|
87736
|
+
\u0275\u0275elementStart(10, "h4", 10);
|
|
87737
|
+
\u0275\u0275text(11);
|
|
87738
|
+
\u0275\u0275pipe(12, "translate");
|
|
87739
|
+
\u0275\u0275elementEnd();
|
|
87740
|
+
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87741
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87742
|
+
\u0275\u0275restoreView(_r5);
|
|
87743
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87744
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87745
|
+
});
|
|
87746
|
+
\u0275\u0275elementEnd();
|
|
87747
|
+
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87748
|
+
\u0275\u0275elementEnd()();
|
|
87749
|
+
}
|
|
87750
|
+
if (rf & 2) {
|
|
87751
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87752
|
+
const registeredOffice_r10 = \u0275\u0275readContextLet(8);
|
|
87753
|
+
const registeredMailing_r11 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewMailingAddress));
|
|
87754
|
+
\u0275\u0275advance();
|
|
87755
|
+
const registeredDelivery_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r10, ctx_r0.controls.NewDeliveryAddress));
|
|
87756
|
+
const registeredDeliverySame_r13 = ctx_r0.isChecked(registeredOffice_r10, ctx_r0.controls.DeliverySameAsMailing);
|
|
87757
|
+
\u0275\u0275advance(2);
|
|
87758
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87759
|
+
\u0275\u0275advance(2);
|
|
87760
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.currentAddressesFields);
|
|
87761
|
+
\u0275\u0275advance(2);
|
|
87762
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87763
|
+
\u0275\u0275advance(2);
|
|
87764
|
+
\u0275\u0275conditional(registeredMailing_r11 ? 9 : -1);
|
|
87765
|
+
\u0275\u0275advance(2);
|
|
87766
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87767
|
+
\u0275\u0275advance(2);
|
|
87768
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r10)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87769
|
+
\u0275\u0275advance();
|
|
87770
|
+
\u0275\u0275conditional(!registeredDeliverySame_r13 && registeredDelivery_r12 ? 14 : -1);
|
|
87771
|
+
}
|
|
87772
|
+
}
|
|
87773
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87774
|
+
if (rf & 1) {
|
|
87775
|
+
const _r16 = \u0275\u0275getCurrentView();
|
|
87776
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87777
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87778
|
+
\u0275\u0275restoreView(_r16);
|
|
87779
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87780
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87781
|
+
});
|
|
87782
|
+
\u0275\u0275elementEnd();
|
|
87783
|
+
}
|
|
87784
|
+
if (rf & 2) {
|
|
87785
|
+
\u0275\u0275nextContext(2);
|
|
87786
|
+
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87787
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87788
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r17)("config", ctx_r0.addressFields);
|
|
87789
|
+
}
|
|
87790
|
+
}
|
|
87791
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87792
|
+
if (rf & 1) {
|
|
87793
|
+
const _r18 = \u0275\u0275getCurrentView();
|
|
87794
|
+
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87795
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87796
|
+
\u0275\u0275restoreView(_r18);
|
|
87797
|
+
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87798
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87799
|
+
});
|
|
87800
|
+
\u0275\u0275elementEnd();
|
|
87801
|
+
}
|
|
87802
|
+
if (rf & 2) {
|
|
87803
|
+
\u0275\u0275nextContext(2);
|
|
87804
|
+
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87805
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87806
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r19)("config", ctx_r0.addressFields);
|
|
87807
|
+
}
|
|
87808
|
+
}
|
|
87809
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template(rf, ctx) {
|
|
87810
|
+
if (rf & 1) {
|
|
87811
|
+
const _r15 = \u0275\u0275getCurrentView();
|
|
87812
|
+
\u0275\u0275elementStart(0, "h4", 10);
|
|
87813
|
+
\u0275\u0275text(1);
|
|
87814
|
+
\u0275\u0275pipe(2, "translate");
|
|
87815
|
+
\u0275\u0275elementEnd();
|
|
87816
|
+
\u0275\u0275template(3, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template, 1, 3, "filing-form-group", 8);
|
|
87817
|
+
\u0275\u0275elementStart(4, "h4", 10);
|
|
87818
|
+
\u0275\u0275text(5);
|
|
87819
|
+
\u0275\u0275pipe(6, "translate");
|
|
87820
|
+
\u0275\u0275elementEnd();
|
|
87821
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87822
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87823
|
+
\u0275\u0275restoreView(_r15);
|
|
87824
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87825
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87826
|
+
});
|
|
87827
|
+
\u0275\u0275elementEnd();
|
|
87828
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 8);
|
|
87829
|
+
}
|
|
87830
|
+
if (rf & 2) {
|
|
87831
|
+
\u0275\u0275nextContext();
|
|
87832
|
+
const recordsMailing_r17 = \u0275\u0275readContextLet(0);
|
|
87833
|
+
const recordsDelivery_r19 = \u0275\u0275readContextLet(1);
|
|
87834
|
+
const recordsDeliverySame_r20 = \u0275\u0275readContextLet(3);
|
|
87835
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87836
|
+
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87837
|
+
\u0275\u0275advance();
|
|
87838
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87839
|
+
\u0275\u0275advance(2);
|
|
87840
|
+
\u0275\u0275conditional(recordsMailing_r17 ? 3 : -1);
|
|
87841
|
+
\u0275\u0275advance(2);
|
|
87842
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
87843
|
+
\u0275\u0275advance(2);
|
|
87844
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87845
|
+
\u0275\u0275advance();
|
|
87846
|
+
\u0275\u0275conditional(!recordsDeliverySame_r20 && recordsDelivery_r19 ? 8 : -1);
|
|
87847
|
+
}
|
|
87848
|
+
}
|
|
87849
|
+
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template(rf, ctx) {
|
|
87850
|
+
if (rf & 1) {
|
|
87851
|
+
const _r14 = \u0275\u0275getCurrentView();
|
|
87852
|
+
\u0275\u0275declareLet(0)(1)(2)(3);
|
|
87853
|
+
\u0275\u0275elementStart(4, "expandable-card", 6)(5, "div", 9);
|
|
87854
|
+
\u0275\u0275element(6, "filing-form-group", 8);
|
|
87855
|
+
\u0275\u0275elementStart(7, "filing-form-group", 7);
|
|
87856
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_7_listener() {
|
|
87857
|
+
\u0275\u0275restoreView(_r14);
|
|
87858
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87859
|
+
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87860
|
+
});
|
|
87861
|
+
\u0275\u0275elementEnd();
|
|
87862
|
+
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87863
|
+
\u0275\u0275elementEnd()();
|
|
87864
|
+
}
|
|
87865
|
+
if (rf & 2) {
|
|
87866
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
87867
|
+
const recordsOffice_r21 = \u0275\u0275readContextLet(10);
|
|
87868
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewMailingAddress));
|
|
87869
|
+
\u0275\u0275advance();
|
|
87870
|
+
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r21, ctx_r0.controls.NewDeliveryAddress));
|
|
87871
|
+
const recordsSameAsRegistered_r22 = ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.SameAsRegisteredOffice);
|
|
87872
|
+
\u0275\u0275advance(2);
|
|
87873
|
+
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r21, ctx_r0.controls.DeliverySameAsMailing));
|
|
87874
|
+
\u0275\u0275advance();
|
|
87875
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
87876
|
+
\u0275\u0275advance(2);
|
|
87877
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.currentAddressesFields);
|
|
87878
|
+
\u0275\u0275advance();
|
|
87879
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r21)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
87880
|
+
\u0275\u0275advance();
|
|
87881
|
+
\u0275\u0275conditional(!recordsSameAsRegistered_r22 ? 8 : -1);
|
|
87882
|
+
}
|
|
87883
|
+
}
|
|
87884
|
+
var BritishColumbiaChangeOfOfficeAddressesFormComponent;
|
|
87885
|
+
var init_change_of_office_addresses_form_component = __esm({
|
|
87886
|
+
"src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts"() {
|
|
87887
|
+
init_core();
|
|
87888
|
+
init_ngx_translate_core();
|
|
87889
|
+
init_filing_form_group_component();
|
|
87890
|
+
init_alert_component();
|
|
87891
|
+
init_alert_enum();
|
|
87892
|
+
init_expandable_card_component();
|
|
87893
|
+
init_british_columbia_form_enums();
|
|
87894
|
+
init_british_columbia_change_of_office_addresses_form_constants();
|
|
87895
|
+
init_forms_utils();
|
|
87896
|
+
init_core();
|
|
87897
|
+
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
87898
|
+
form = input.required();
|
|
87899
|
+
task = input();
|
|
87900
|
+
errors = input([]);
|
|
87901
|
+
isNote = input(false);
|
|
87902
|
+
isSubmitted = input(false);
|
|
87903
|
+
readonly = input(false);
|
|
87904
|
+
visiblyValidChange = output();
|
|
87905
|
+
alertType = AlertType;
|
|
87906
|
+
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
87907
|
+
controls = BCChangeOfOfficeAddressesFormControls;
|
|
87908
|
+
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
87909
|
+
corporationDetailsFields = BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
87910
|
+
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
87911
|
+
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
87912
|
+
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
87913
|
+
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
87914
|
+
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
87915
|
+
sectionValidity = {};
|
|
87916
|
+
isVisiblyValid() {
|
|
87917
|
+
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
87918
|
+
}
|
|
87919
|
+
isRegisteredOfficeValid() {
|
|
87920
|
+
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
87921
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87922
|
+
}
|
|
87923
|
+
isRecordsOfficeValid() {
|
|
87924
|
+
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
87925
|
+
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
87926
|
+
}
|
|
87927
|
+
isChecked(office, control) {
|
|
87928
|
+
return Boolean(office?.get(control)?.value);
|
|
87929
|
+
}
|
|
87930
|
+
onSectionValidChange(section, valid) {
|
|
87931
|
+
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
87932
|
+
this.emitValidity();
|
|
87933
|
+
}
|
|
87934
|
+
emitValidity() {
|
|
87935
|
+
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
87936
|
+
}
|
|
87937
|
+
getFormGroup(key) {
|
|
87938
|
+
return this.form().get(key) ?? null;
|
|
87939
|
+
}
|
|
87940
|
+
getAddressGroup(office, control) {
|
|
87941
|
+
return office?.get(control) ?? null;
|
|
87942
|
+
}
|
|
87943
|
+
isAddressValid(office, control) {
|
|
87944
|
+
const group2 = this.getAddressGroup(office, control);
|
|
87945
|
+
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
87946
|
+
}
|
|
87947
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
87948
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
87949
|
+
};
|
|
87950
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 12, vars: 10, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [1, "change-of-office-addresses-form-item-title"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
87951
|
+
if (rf & 1) {
|
|
87952
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
87953
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
87954
|
+
\u0275\u0275elementStart(3, "div", 3);
|
|
87955
|
+
\u0275\u0275declareLet(4);
|
|
87956
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
87957
|
+
\u0275\u0275declareLet(6);
|
|
87958
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 5, "expandable-card", 5);
|
|
87959
|
+
\u0275\u0275declareLet(8);
|
|
87960
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 6);
|
|
87961
|
+
\u0275\u0275declareLet(10);
|
|
87962
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 6);
|
|
87963
|
+
\u0275\u0275elementEnd()();
|
|
87964
|
+
}
|
|
87965
|
+
if (rf & 2) {
|
|
87966
|
+
\u0275\u0275advance();
|
|
87967
|
+
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
87968
|
+
\u0275\u0275advance();
|
|
87969
|
+
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
87970
|
+
\u0275\u0275advance(2);
|
|
87971
|
+
const referenceNumbers_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
87972
|
+
\u0275\u0275advance();
|
|
87973
|
+
\u0275\u0275conditional(referenceNumbers_r23 ? 5 : -1);
|
|
87974
|
+
\u0275\u0275advance();
|
|
87975
|
+
const corporationDetails_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
87976
|
+
\u0275\u0275advance();
|
|
87977
|
+
\u0275\u0275conditional(corporationDetails_r24 ? 7 : -1);
|
|
87978
|
+
\u0275\u0275advance();
|
|
87979
|
+
const registeredOffice_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
87980
|
+
\u0275\u0275advance();
|
|
87981
|
+
\u0275\u0275conditional(registeredOffice_r25 ? 9 : -1);
|
|
87982
|
+
\u0275\u0275advance();
|
|
87983
|
+
const recordsOffice_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
87984
|
+
\u0275\u0275advance();
|
|
87985
|
+
\u0275\u0275conditional(recordsOffice_r26 ? 11 : -1);
|
|
87986
|
+
}
|
|
87987
|
+
}, dependencies: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
|
|
87988
|
+
};
|
|
87989
|
+
(() => {
|
|
87990
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
87991
|
+
type: Component,
|
|
87992
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [FilingFormGroupComponent, AlertComponent, ExpandableCardComponent, TranslatePipe], template: `<div class="change-of-office-addresses-form">\r
|
|
87993
|
+
@if (isNote()) {\r
|
|
87994
|
+
<alert\r
|
|
87995
|
+
[type]="alertType.Info"\r
|
|
87996
|
+
title="Entity changed"\r
|
|
87997
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
87998
|
+
/>\r
|
|
87999
|
+
}\r
|
|
88000
|
+
\r
|
|
88001
|
+
@if (errors().length) {\r
|
|
88002
|
+
<alert\r
|
|
88003
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
88004
|
+
[content]="errors()"\r
|
|
88005
|
+
/>\r
|
|
88006
|
+
}\r
|
|
88007
|
+
\r
|
|
88008
|
+
<div class="change-of-office-addresses-form-content">\r
|
|
88009
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88010
|
+
\r
|
|
88011
|
+
@if (referenceNumbers) {\r
|
|
88012
|
+
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88013
|
+
<filing-form-group\r
|
|
88014
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88015
|
+
[form]="referenceNumbers"\r
|
|
88016
|
+
[config]="referenceNumbersFields"\r
|
|
88017
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88018
|
+
/>\r
|
|
88019
|
+
</expandable-card>\r
|
|
88020
|
+
}\r
|
|
88021
|
+
\r
|
|
88022
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88023
|
+
\r
|
|
88024
|
+
@if (corporationDetails) {\r
|
|
88025
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
|
|
88026
|
+
<filing-form-group\r
|
|
88027
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88028
|
+
[form]="corporationDetails"\r
|
|
88029
|
+
[config]="corporationDetailsFields"\r
|
|
88030
|
+
/>\r
|
|
88031
|
+
</expandable-card>\r
|
|
88032
|
+
}\r
|
|
88033
|
+
\r
|
|
88034
|
+
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88035
|
+
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88036
|
+
\r
|
|
88037
|
+
@if (registeredOffice) {\r
|
|
88038
|
+
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88039
|
+
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88040
|
+
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88041
|
+
\r
|
|
88042
|
+
<expandable-card\r
|
|
88043
|
+
[isStatusIcon]="!readonly()"\r
|
|
88044
|
+
[isValid]="isRegisteredOfficeValid()"\r
|
|
88045
|
+
[title]="groups.RegisteredOfficeAddress"\r
|
|
88046
|
+
>\r
|
|
88047
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88048
|
+
<filing-form-group\r
|
|
88049
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88050
|
+
[form]="registeredOffice"\r
|
|
88051
|
+
[config]="currentAddressesFields"\r
|
|
88052
|
+
/>\r
|
|
88053
|
+
\r
|
|
88054
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88055
|
+
\r
|
|
88056
|
+
@if (registeredMailing) {\r
|
|
88057
|
+
<filing-form-group\r
|
|
88058
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88059
|
+
[form]="registeredMailing"\r
|
|
88060
|
+
[config]="addressFields"\r
|
|
88061
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88062
|
+
/>\r
|
|
88063
|
+
}\r
|
|
88064
|
+
\r
|
|
88065
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88066
|
+
\r
|
|
88067
|
+
<filing-form-group\r
|
|
88068
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88069
|
+
[form]="registeredOffice"\r
|
|
88070
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88071
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88072
|
+
/>\r
|
|
88073
|
+
\r
|
|
88074
|
+
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88075
|
+
<filing-form-group\r
|
|
88076
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88077
|
+
[form]="registeredOffice"\r
|
|
88078
|
+
[config]="deliveryNoteFields"\r
|
|
88079
|
+
/>\r
|
|
88080
|
+
<filing-form-group\r
|
|
88081
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88082
|
+
[form]="registeredDelivery"\r
|
|
88083
|
+
[config]="addressFields"\r
|
|
88084
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88085
|
+
/>\r
|
|
88086
|
+
}\r
|
|
88087
|
+
</div>\r
|
|
88088
|
+
</expandable-card>\r
|
|
88089
|
+
}\r
|
|
88090
|
+
\r
|
|
88091
|
+
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88092
|
+
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88093
|
+
\r
|
|
88094
|
+
@if (recordsOffice) {\r
|
|
88095
|
+
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88096
|
+
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88097
|
+
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88098
|
+
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88099
|
+
\r
|
|
88100
|
+
<expandable-card\r
|
|
88101
|
+
[isStatusIcon]="!readonly()"\r
|
|
88102
|
+
[isValid]="isRecordsOfficeValid()"\r
|
|
88103
|
+
[title]="groups.RecordsOfficeAddress"\r
|
|
88104
|
+
>\r
|
|
88105
|
+
<div class="change-of-office-addresses-form-item">\r
|
|
88106
|
+
<filing-form-group\r
|
|
88107
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88108
|
+
[form]="recordsOffice"\r
|
|
88109
|
+
[config]="currentAddressesFields"\r
|
|
88110
|
+
/>\r
|
|
88111
|
+
\r
|
|
88112
|
+
<filing-form-group\r
|
|
88113
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88114
|
+
[form]="recordsOffice"\r
|
|
88115
|
+
[config]="sameAsRegisteredOfficeFields"\r
|
|
88116
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88117
|
+
/>\r
|
|
88118
|
+
\r
|
|
88119
|
+
@if (!recordsSameAsRegistered) {\r
|
|
88120
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88121
|
+
\r
|
|
88122
|
+
@if (recordsMailing) {\r
|
|
88123
|
+
<filing-form-group\r
|
|
88124
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88125
|
+
[form]="recordsMailing"\r
|
|
88126
|
+
[config]="addressFields"\r
|
|
88127
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88128
|
+
/>\r
|
|
88129
|
+
}\r
|
|
88130
|
+
\r
|
|
88131
|
+
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88132
|
+
\r
|
|
88133
|
+
<filing-form-group\r
|
|
88134
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88135
|
+
[form]="recordsOffice"\r
|
|
88136
|
+
[config]="deliverySameAsMailingFields"\r
|
|
88137
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88138
|
+
/>\r
|
|
88139
|
+
\r
|
|
88140
|
+
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88141
|
+
<filing-form-group\r
|
|
88142
|
+
[isSubmitted]="isSubmitted()"\r
|
|
88143
|
+
[form]="recordsDelivery"\r
|
|
88144
|
+
[config]="addressFields"\r
|
|
88145
|
+
(visiblyValidChange)="emitValidity()"\r
|
|
88146
|
+
/>\r
|
|
88147
|
+
}\r
|
|
88148
|
+
}\r
|
|
88149
|
+
</div>\r
|
|
88150
|
+
</expandable-card>\r
|
|
88151
|
+
}\r
|
|
88152
|
+
</div>\r
|
|
88153
|
+
</div>\r
|
|
88154
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
|
|
88155
|
+
}], null, null);
|
|
88156
|
+
})();
|
|
88157
|
+
(() => {
|
|
88158
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 43 });
|
|
88159
|
+
})();
|
|
88160
|
+
}
|
|
88161
|
+
});
|
|
88162
|
+
|
|
88163
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88164
|
+
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88165
|
+
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88166
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88167
|
+
init_core();
|
|
88168
|
+
init_button();
|
|
88169
|
+
init_ngx_translate_core();
|
|
88170
|
+
init_common_utils();
|
|
88171
|
+
init_change_of_office_addresses_form_component();
|
|
88172
|
+
init_core();
|
|
88173
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88174
|
+
form = input.required();
|
|
88175
|
+
actionsDisabled = input(false);
|
|
88176
|
+
isNote = input(false);
|
|
88177
|
+
task = input();
|
|
88178
|
+
errors = input([]);
|
|
88179
|
+
close = output();
|
|
88180
|
+
save = output();
|
|
88181
|
+
validate = output();
|
|
88182
|
+
submitted = signal(false);
|
|
88183
|
+
visiblyValid = signal(true);
|
|
88184
|
+
clientErrors = signal([]);
|
|
88185
|
+
translate = inject(TranslateService);
|
|
88186
|
+
combinedErrors = computed(() => {
|
|
88187
|
+
const client = this.clientErrors();
|
|
88188
|
+
return client.length ? client : this.errors();
|
|
88189
|
+
});
|
|
88190
|
+
onVisiblyValidChange(valid) {
|
|
88191
|
+
this.visiblyValid.set(valid);
|
|
88192
|
+
}
|
|
88193
|
+
onValidate() {
|
|
88194
|
+
this.submitted.set(true);
|
|
88195
|
+
this.clientErrors.set([]);
|
|
88196
|
+
markFormGroupTouched(this.form());
|
|
88197
|
+
if (!this.visiblyValid()) {
|
|
88198
|
+
this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
|
|
88199
|
+
return;
|
|
88200
|
+
}
|
|
88201
|
+
this.validate.emit();
|
|
88202
|
+
}
|
|
88203
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88204
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88205
|
+
};
|
|
88206
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, selectors: [["british-columbia-change-of-office-addresses-delta-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], isNote: [1, "isNote"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", save: "save", validate: "validate" }, decls: 15, vars: 18, consts: [[1, "change-of-office-addresses-delta-form"], [1, "change-of-office-addresses-delta-form-content", 3, "visiblyValidChange", "form", "task", "errors", "isNote", "isSubmitted", "readonly"], [1, "change-of-office-addresses-delta-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template(rf, ctx) {
|
|
88207
|
+
if (rf & 1) {
|
|
88208
|
+
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88209
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88210
|
+
return ctx.onVisiblyValidChange($event);
|
|
88211
|
+
});
|
|
88212
|
+
\u0275\u0275elementEnd();
|
|
88213
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88214
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88215
|
+
return ctx.close.emit();
|
|
88216
|
+
});
|
|
88217
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88218
|
+
\u0275\u0275text(5);
|
|
88219
|
+
\u0275\u0275pipe(6, "translate");
|
|
88220
|
+
\u0275\u0275elementEnd()();
|
|
88221
|
+
\u0275\u0275elementStart(7, "button", 3);
|
|
88222
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88223
|
+
return ctx.save.emit();
|
|
88224
|
+
});
|
|
88225
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88226
|
+
\u0275\u0275text(9);
|
|
88227
|
+
\u0275\u0275pipe(10, "translate");
|
|
88228
|
+
\u0275\u0275elementEnd()();
|
|
88229
|
+
\u0275\u0275elementStart(11, "button", 5);
|
|
88230
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88231
|
+
return ctx.onValidate();
|
|
88232
|
+
});
|
|
88233
|
+
\u0275\u0275elementStart(12, "span", 4);
|
|
88234
|
+
\u0275\u0275text(13);
|
|
88235
|
+
\u0275\u0275pipe(14, "translate");
|
|
88236
|
+
\u0275\u0275elementEnd()()()();
|
|
88237
|
+
}
|
|
88238
|
+
if (rf & 2) {
|
|
88239
|
+
\u0275\u0275advance();
|
|
88240
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88241
|
+
\u0275\u0275advance(2);
|
|
88242
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88243
|
+
\u0275\u0275advance(2);
|
|
88244
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88245
|
+
\u0275\u0275advance(2);
|
|
88246
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88247
|
+
\u0275\u0275advance(2);
|
|
88248
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88249
|
+
\u0275\u0275advance(2);
|
|
88250
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88251
|
+
\u0275\u0275advance(2);
|
|
88252
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88253
|
+
}
|
|
88254
|
+
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-office-addresses-delta-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-content[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-delta-form-actions[_ngcontent-%COMP%] .submit[_ngcontent-%COMP%] {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-office-addresses-delta-form.component.css.map */"], changeDetection: 0 });
|
|
88255
|
+
};
|
|
88256
|
+
(() => {
|
|
88257
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88258
|
+
type: Component,
|
|
88259
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-delta-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], template: `<div class="change-of-office-addresses-delta-form">\r
|
|
88260
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88261
|
+
class="change-of-office-addresses-delta-form-content"\r
|
|
88262
|
+
[form]="form()"\r
|
|
88263
|
+
[task]="task()"\r
|
|
88264
|
+
[errors]="combinedErrors()"\r
|
|
88265
|
+
[isNote]="isNote()"\r
|
|
88266
|
+
[isSubmitted]="submitted()"\r
|
|
88267
|
+
[readonly]="false"\r
|
|
88268
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88269
|
+
/>\r
|
|
88270
|
+
\r
|
|
88271
|
+
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88272
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88273
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88274
|
+
</button>\r
|
|
88275
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88276
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88277
|
+
</button>\r
|
|
88278
|
+
<button\r
|
|
88279
|
+
class="submit"\r
|
|
88280
|
+
color="primary"\r
|
|
88281
|
+
mat-flat-button\r
|
|
88282
|
+
[disabled]="actionsDisabled()"\r
|
|
88283
|
+
(click)="onValidate()"\r
|
|
88284
|
+
>\r
|
|
88285
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88286
|
+
</button>\r
|
|
88287
|
+
</div>\r
|
|
88288
|
+
</div>\r
|
|
88289
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.scss */\n:host .change-of-office-addresses-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-delta-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-office-addresses-delta-form-actions button {\n margin: 0;\n}\n:host .change-of-office-addresses-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-office-addresses-delta-form.component.css.map */\n"] }]
|
|
88290
|
+
}], null, null);
|
|
88291
|
+
})();
|
|
88292
|
+
(() => {
|
|
88293
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts", lineNumber: 25 });
|
|
88294
|
+
})();
|
|
88295
|
+
}
|
|
88296
|
+
});
|
|
88297
|
+
|
|
88298
|
+
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88299
|
+
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88300
|
+
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88301
|
+
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88302
|
+
init_core();
|
|
88303
|
+
init_button();
|
|
88304
|
+
init_ngx_translate_core();
|
|
88305
|
+
init_change_of_office_addresses_form_component();
|
|
88306
|
+
init_core();
|
|
88307
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88308
|
+
form = input.required();
|
|
88309
|
+
actionsDisabled = input(false);
|
|
88310
|
+
task = input();
|
|
88311
|
+
errors = input([]);
|
|
88312
|
+
close = output();
|
|
88313
|
+
file = output();
|
|
88314
|
+
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88315
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88316
|
+
};
|
|
88317
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, selectors: [["british-columbia-change-of-office-addresses-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", file: "file" }, decls: 11, vars: 13, consts: [[1, "change-of-office-addresses-preview-form"], [1, "change-of-office-addresses-preview-form-content", 3, "form", "task", "errors", "isSubmitted", "readonly"], [1, "change-of-office-addresses-preview-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template(rf, ctx) {
|
|
88318
|
+
if (rf & 1) {
|
|
88319
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
88320
|
+
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88321
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88322
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88323
|
+
return ctx.close.emit();
|
|
88324
|
+
});
|
|
88325
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
88326
|
+
\u0275\u0275text(5);
|
|
88327
|
+
\u0275\u0275pipe(6, "translate");
|
|
88328
|
+
\u0275\u0275elementEnd()();
|
|
88329
|
+
\u0275\u0275elementStart(7, "button", 5);
|
|
88330
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88331
|
+
return ctx.file.emit();
|
|
88332
|
+
});
|
|
88333
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
88334
|
+
\u0275\u0275text(9);
|
|
88335
|
+
\u0275\u0275pipe(10, "translate");
|
|
88336
|
+
\u0275\u0275elementEnd()()()();
|
|
88337
|
+
}
|
|
88338
|
+
if (rf & 2) {
|
|
88339
|
+
\u0275\u0275advance();
|
|
88340
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88341
|
+
\u0275\u0275advance(2);
|
|
88342
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88343
|
+
\u0275\u0275advance(2);
|
|
88344
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88345
|
+
\u0275\u0275advance(2);
|
|
88346
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88347
|
+
\u0275\u0275advance(2);
|
|
88348
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88349
|
+
}
|
|
88350
|
+
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-office-addresses-preview-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-preview-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-office-addresses-preview-form.component.css.map */"], changeDetection: 0 });
|
|
88351
|
+
};
|
|
88352
|
+
(() => {
|
|
88353
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88354
|
+
type: Component,
|
|
88355
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-preview-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfOfficeAddressesFormComponent], template: `<div class="change-of-office-addresses-preview-form">\r
|
|
88356
|
+
<british-columbia-change-of-office-addresses-form\r
|
|
88357
|
+
class="change-of-office-addresses-preview-form-content"\r
|
|
88358
|
+
[form]="form()"\r
|
|
88359
|
+
[task]="task()"\r
|
|
88360
|
+
[errors]="errors()"\r
|
|
88361
|
+
[isSubmitted]="false"\r
|
|
88362
|
+
[readonly]="true"\r
|
|
88363
|
+
/>\r
|
|
88364
|
+
\r
|
|
88365
|
+
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88366
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88367
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88368
|
+
</button>\r
|
|
88369
|
+
<button\r
|
|
88370
|
+
class="submit"\r
|
|
88371
|
+
color="primary"\r
|
|
88372
|
+
mat-flat-button\r
|
|
88373
|
+
[disabled]="actionsDisabled()"\r
|
|
88374
|
+
(click)="file.emit()"\r
|
|
88375
|
+
>\r
|
|
88376
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88377
|
+
</button>\r
|
|
88378
|
+
</div>\r
|
|
88379
|
+
</div>\r
|
|
88380
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.scss */\n:host .change-of-office-addresses-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-preview-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-preview-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-office-addresses-preview-form-actions button {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-office-addresses-preview-form.component.css.map */\n"] }]
|
|
88381
|
+
}], null, null);
|
|
88382
|
+
})();
|
|
88383
|
+
(() => {
|
|
88384
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts", lineNumber: 21 });
|
|
88385
|
+
})();
|
|
88386
|
+
}
|
|
88387
|
+
});
|
|
88388
|
+
|
|
87408
88389
|
// src/app/components/british-columbia/british-columbia.component.ts
|
|
87409
88390
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
87410
88391
|
if (rf & 1) {
|
|
87411
88392
|
const _r1 = \u0275\u0275getCurrentView();
|
|
87412
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form",
|
|
88393
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 3);
|
|
87413
88394
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
87414
88395
|
\u0275\u0275restoreView(_r1);
|
|
87415
88396
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -87434,7 +88415,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87434
88415
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
87435
88416
|
if (rf & 1) {
|
|
87436
88417
|
const _r4 = \u0275\u0275getCurrentView();
|
|
87437
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form",
|
|
88418
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 4);
|
|
87438
88419
|
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
87439
88420
|
\u0275\u0275restoreView(_r4);
|
|
87440
88421
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -87442,7 +88423,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87442
88423
|
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
87443
88424
|
\u0275\u0275restoreView(_r4);
|
|
87444
88425
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87445
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
88426
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
87446
88427
|
});
|
|
87447
88428
|
\u0275\u0275elementEnd();
|
|
87448
88429
|
}
|
|
@@ -87452,31 +88433,57 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87452
88433
|
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
87453
88434
|
}
|
|
87454
88435
|
}
|
|
88436
|
+
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
88437
|
+
if (rf & 1) {
|
|
88438
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
88439
|
+
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
88440
|
+
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
88441
|
+
\u0275\u0275restoreView(_r5);
|
|
88442
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88443
|
+
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
88444
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
88445
|
+
\u0275\u0275restoreView(_r5);
|
|
88446
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88447
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88448
|
+
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
88449
|
+
\u0275\u0275restoreView(_r5);
|
|
88450
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88451
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
88452
|
+
});
|
|
88453
|
+
\u0275\u0275elementEnd();
|
|
88454
|
+
}
|
|
88455
|
+
if (rf & 2) {
|
|
88456
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88457
|
+
\u0275\u0275property("errors", ctx_r1.errors());
|
|
88458
|
+
}
|
|
88459
|
+
}
|
|
87455
88460
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
87456
88461
|
if (rf & 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);
|
|
88462
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1)(2, BritishColumbiaComponent_Conditional_1_Conditional_2_Template, 1, 1, "terms-and-conditions", 2);
|
|
87458
88463
|
}
|
|
87459
88464
|
if (rf & 2) {
|
|
87460
88465
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
87461
88466
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
87462
88467
|
\u0275\u0275advance();
|
|
87463
88468
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88469
|
+
\u0275\u0275advance();
|
|
88470
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
87464
88471
|
}
|
|
87465
88472
|
}
|
|
87466
88473
|
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
87467
88474
|
if (rf & 1) {
|
|
87468
|
-
const
|
|
87469
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form",
|
|
88475
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
88476
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 8);
|
|
87470
88477
|
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
87471
|
-
\u0275\u0275restoreView(
|
|
88478
|
+
\u0275\u0275restoreView(_r6);
|
|
87472
88479
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87473
88480
|
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
87474
88481
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
87475
|
-
\u0275\u0275restoreView(
|
|
88482
|
+
\u0275\u0275restoreView(_r6);
|
|
87476
88483
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87477
88484
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87478
88485
|
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
87479
|
-
\u0275\u0275restoreView(
|
|
88486
|
+
\u0275\u0275restoreView(_r6);
|
|
87480
88487
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87481
88488
|
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
87482
88489
|
});
|
|
@@ -87490,14 +88497,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87490
88497
|
}
|
|
87491
88498
|
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
87492
88499
|
if (rf & 1) {
|
|
87493
|
-
const
|
|
87494
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form",
|
|
88500
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
88501
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 9);
|
|
87495
88502
|
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
87496
|
-
\u0275\u0275restoreView(
|
|
88503
|
+
\u0275\u0275restoreView(_r7);
|
|
87497
88504
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87498
88505
|
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
87499
88506
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
87500
|
-
\u0275\u0275restoreView(
|
|
88507
|
+
\u0275\u0275restoreView(_r7);
|
|
87501
88508
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87502
88509
|
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87503
88510
|
});
|
|
@@ -87511,7 +88518,64 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87511
88518
|
}
|
|
87512
88519
|
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
87513
88520
|
if (rf & 1) {
|
|
87514
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form",
|
|
88521
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 6)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 7);
|
|
88522
|
+
}
|
|
88523
|
+
if (rf & 2) {
|
|
88524
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
88525
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88526
|
+
\u0275\u0275advance();
|
|
88527
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88528
|
+
}
|
|
88529
|
+
}
|
|
88530
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88531
|
+
if (rf & 1) {
|
|
88532
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
88533
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 3);
|
|
88534
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88535
|
+
\u0275\u0275restoreView(_r8);
|
|
88536
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88537
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88538
|
+
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88539
|
+
\u0275\u0275restoreView(_r8);
|
|
88540
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88541
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88542
|
+
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88543
|
+
\u0275\u0275restoreView(_r8);
|
|
88544
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88545
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88546
|
+
});
|
|
88547
|
+
\u0275\u0275elementEnd();
|
|
88548
|
+
}
|
|
88549
|
+
if (rf & 2) {
|
|
88550
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88551
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88552
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88553
|
+
}
|
|
88554
|
+
}
|
|
88555
|
+
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88556
|
+
if (rf & 1) {
|
|
88557
|
+
const _r9 = \u0275\u0275getCurrentView();
|
|
88558
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 4);
|
|
88559
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88560
|
+
\u0275\u0275restoreView(_r9);
|
|
88561
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88562
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88563
|
+
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88564
|
+
\u0275\u0275restoreView(_r9);
|
|
88565
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88566
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88567
|
+
});
|
|
88568
|
+
\u0275\u0275elementEnd();
|
|
88569
|
+
}
|
|
88570
|
+
if (rf & 2) {
|
|
88571
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88572
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88573
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88574
|
+
}
|
|
88575
|
+
}
|
|
88576
|
+
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88577
|
+
if (rf & 1) {
|
|
88578
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_3_Conditional_0_Template, 1, 5, "british-columbia-change-of-office-addresses-delta-form", 0)(1, BritishColumbiaComponent_Conditional_3_Conditional_1_Template, 1, 4, "british-columbia-change-of-office-addresses-preview-form", 1);
|
|
87515
88579
|
}
|
|
87516
88580
|
if (rf & 2) {
|
|
87517
88581
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
@@ -87532,13 +88596,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87532
88596
|
init_british_columbia_form_enums();
|
|
87533
88597
|
init_british_columbia_change_of_directors_form_helper();
|
|
87534
88598
|
init_british_columbia_formation_form_helper();
|
|
88599
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87535
88600
|
init_delta_state_service();
|
|
87536
88601
|
init_common_utils();
|
|
87537
88602
|
init_confirm_modal_component();
|
|
88603
|
+
init_terms_and_conditions_component();
|
|
87538
88604
|
init_change_of_directors_delta_form_component();
|
|
87539
88605
|
init_change_of_directors_preview_form_component();
|
|
87540
88606
|
init_british_columbia_incorporation_delta_form_component();
|
|
87541
88607
|
init_british_columbia_incorporation_preview_form_component();
|
|
88608
|
+
init_change_of_office_addresses_delta_form_component();
|
|
88609
|
+
init_change_of_office_addresses_preview_form_component();
|
|
87542
88610
|
init_core();
|
|
87543
88611
|
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
87544
88612
|
task = input();
|
|
@@ -87547,7 +88615,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87547
88615
|
isNote = input(false);
|
|
87548
88616
|
actionsDisabled = input(false);
|
|
87549
88617
|
errors = input([]);
|
|
87550
|
-
currentDataExtract = input();
|
|
87551
88618
|
close = output();
|
|
87552
88619
|
codValidate = output();
|
|
87553
88620
|
saveCodDeltaData = output();
|
|
@@ -87557,25 +88624,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87557
88624
|
saveFormationDeltaData = output();
|
|
87558
88625
|
nextStep = output();
|
|
87559
88626
|
prevStep = output();
|
|
88627
|
+
// Change of Office Addresses outputs
|
|
88628
|
+
coaValidate = output();
|
|
88629
|
+
saveCoaDeltaData = output();
|
|
88630
|
+
coaSubmit = output();
|
|
87560
88631
|
dialog = inject(MatDialog);
|
|
87561
88632
|
deltaState = inject(DeltaStateService);
|
|
87562
88633
|
translate = inject(TranslateService);
|
|
87563
88634
|
steps = Step;
|
|
87564
88635
|
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
87565
88636
|
isFormationTask = isFormationTask2;
|
|
88637
|
+
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
87566
88638
|
deltaForm = signal(new FormGroup({}));
|
|
87567
88639
|
previewForm = signal(new FormGroup({}));
|
|
87568
88640
|
constructor() {
|
|
87569
88641
|
effect(() => {
|
|
87570
88642
|
const task = this.task();
|
|
87571
88643
|
if (task && isChangeOfPrincipalsTask(task)) {
|
|
87572
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)
|
|
88644
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87573
88645
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
87574
88646
|
}
|
|
87575
88647
|
if (task && isFormationTask2(task)) {
|
|
87576
88648
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
87577
88649
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
87578
88650
|
}
|
|
88651
|
+
if (task && isChangeOfAddressTask(task)) {
|
|
88652
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88653
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88654
|
+
}
|
|
87579
88655
|
});
|
|
87580
88656
|
effect(() => {
|
|
87581
88657
|
const task = this.task();
|
|
@@ -87584,7 +88660,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87584
88660
|
return;
|
|
87585
88661
|
}
|
|
87586
88662
|
if (isChangeOfPrincipalsTask(task)) {
|
|
87587
|
-
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)
|
|
88663
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87588
88664
|
form.disable();
|
|
87589
88665
|
this.previewForm.set(form);
|
|
87590
88666
|
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
@@ -87599,8 +88675,64 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87599
88675
|
this.nextStep.emit();
|
|
87600
88676
|
}
|
|
87601
88677
|
}
|
|
88678
|
+
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88679
|
+
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88680
|
+
form.disable();
|
|
88681
|
+
this.previewForm.set(form);
|
|
88682
|
+
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
88683
|
+
this.nextStep.emit();
|
|
88684
|
+
}
|
|
88685
|
+
}
|
|
87602
88686
|
});
|
|
87603
88687
|
}
|
|
88688
|
+
onChangeOfOfficeAddressesValidate() {
|
|
88689
|
+
markFormGroupTouched(this.deltaForm());
|
|
88690
|
+
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88691
|
+
}
|
|
88692
|
+
onChangeOfOfficeAddressesSave() {
|
|
88693
|
+
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88694
|
+
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88695
|
+
this.saveCoaDeltaData.emit(delta);
|
|
88696
|
+
}
|
|
88697
|
+
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88698
|
+
onChangeOfOfficeAddressesFile() {
|
|
88699
|
+
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88700
|
+
}
|
|
88701
|
+
generateChangeOfOfficeAddressesDeltaData() {
|
|
88702
|
+
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88703
|
+
const formData = this.deltaForm().getRawValue();
|
|
88704
|
+
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88705
|
+
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88706
|
+
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88707
|
+
const toAddress = (src) => ({
|
|
88708
|
+
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88709
|
+
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88710
|
+
city: src?.[c.City] ?? null,
|
|
88711
|
+
postalCode: src?.[c.PostalCode] ?? null,
|
|
88712
|
+
province: src?.[c.Province] ?? null,
|
|
88713
|
+
country: src?.[c.Country] ?? null
|
|
88714
|
+
});
|
|
88715
|
+
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88716
|
+
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88717
|
+
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88718
|
+
return {
|
|
88719
|
+
referenceNumbers: {
|
|
88720
|
+
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88721
|
+
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88722
|
+
},
|
|
88723
|
+
registeredOffice: {
|
|
88724
|
+
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88725
|
+
deliverySameAsMailing: regDeliverySame,
|
|
88726
|
+
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88727
|
+
},
|
|
88728
|
+
recordsOffice: {
|
|
88729
|
+
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88730
|
+
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88731
|
+
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88732
|
+
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88733
|
+
}
|
|
88734
|
+
};
|
|
88735
|
+
}
|
|
87604
88736
|
onChangeOfDirectorsValidate() {
|
|
87605
88737
|
markFormGroupTouched(this.deltaForm());
|
|
87606
88738
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -87610,8 +88742,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87610
88742
|
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
87611
88743
|
this.saveCodDeltaData.emit(delta);
|
|
87612
88744
|
}
|
|
87613
|
-
onChangeOfDirectorsSubmit() {
|
|
87614
|
-
this.codSubmit.emit()
|
|
88745
|
+
onChangeOfDirectorsSubmit(termsAndConditions) {
|
|
88746
|
+
this.codSubmit.emit(__spreadProps(__spreadValues({}, this.generateChangeOfDirectorsDeltaData()), {
|
|
88747
|
+
signatoryFirstName: termsAndConditions.firstName,
|
|
88748
|
+
signatoryLastName: termsAndConditions.lastName
|
|
88749
|
+
}));
|
|
87615
88750
|
}
|
|
87616
88751
|
onFormationValidate() {
|
|
87617
88752
|
markFormGroupTouched(this.deltaForm());
|
|
@@ -87632,7 +88767,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87632
88767
|
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
87633
88768
|
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
87634
88769
|
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87635
|
-
const directors = formData[BCChangeOfDirectorsFormGroups.Directors] ?? [];
|
|
87636
88770
|
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
87637
88771
|
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
87638
88772
|
return {
|
|
@@ -87648,15 +88782,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87648
88782
|
method: notification?.[c.NotificationMethod] ?? null,
|
|
87649
88783
|
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
87650
88784
|
},
|
|
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
|
-
}
|
|
88785
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87657
88786
|
};
|
|
87658
88787
|
}
|
|
87659
|
-
generateFormationDeltaData() {
|
|
88788
|
+
generateFormationDeltaData(termsAndConditions) {
|
|
87660
88789
|
const formData = this.deltaForm().getRawValue();
|
|
87661
88790
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
87662
88791
|
const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
|
|
@@ -87700,7 +88829,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87700
88829
|
}
|
|
87701
88830
|
onClose() {
|
|
87702
88831
|
const task = this.task();
|
|
87703
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
88832
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : task && isChangeOfAddressTask(task) ? !deepEqual(this.deltaState.bcChangeOfOfficeAddressesInitialDelta(), this.generateChangeOfOfficeAddressesDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
87704
88833
|
if (!hasChanges) {
|
|
87705
88834
|
this.close.emit();
|
|
87706
88835
|
return;
|
|
@@ -87718,6 +88847,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87718
88847
|
if (val) {
|
|
87719
88848
|
if (task && isFormationTask2(task)) {
|
|
87720
88849
|
this.onFormationSave();
|
|
88850
|
+
} else if (task && isChangeOfAddressTask(task)) {
|
|
88851
|
+
this.onChangeOfOfficeAddressesSave();
|
|
87721
88852
|
} else {
|
|
87722
88853
|
this.onChangeOfDirectorsSave();
|
|
87723
88854
|
}
|
|
@@ -87728,23 +88859,28 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87728
88859
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
87729
88860
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
87730
88861
|
};
|
|
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"]
|
|
88862
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep", coaValidate: "coaValidate", saveCoaDeltaData: "saveCoaDeltaData", coaSubmit: "coaSubmit" }, decls: 4, vars: 4, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "prev", "close", "confirm", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
87732
88863
|
if (rf & 1) {
|
|
87733
88864
|
\u0275\u0275declareLet(0);
|
|
87734
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template,
|
|
88865
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)(3, BritishColumbiaComponent_Conditional_3_Template, 2, 2);
|
|
87735
88866
|
}
|
|
87736
88867
|
if (rf & 2) {
|
|
87737
|
-
const
|
|
88868
|
+
const taskData_r10 = \u0275\u0275storeLet(ctx.task());
|
|
88869
|
+
\u0275\u0275advance();
|
|
88870
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r10) ? 1 : -1);
|
|
87738
88871
|
\u0275\u0275advance();
|
|
87739
|
-
\u0275\u0275conditional(ctx.
|
|
88872
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r10) ? 2 : -1);
|
|
87740
88873
|
\u0275\u0275advance();
|
|
87741
|
-
\u0275\u0275conditional(ctx.
|
|
88874
|
+
\u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r10) ? 3 : -1);
|
|
87742
88875
|
}
|
|
87743
88876
|
}, dependencies: [
|
|
87744
88877
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87745
88878
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87746
88879
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87747
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
88880
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
88881
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
88882
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88883
|
+
TermsAndConditionsComponent
|
|
87748
88884
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
87749
88885
|
};
|
|
87750
88886
|
(() => {
|
|
@@ -87754,12 +88890,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87754
88890
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87755
88891
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
87756
88892
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87757
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
87758
|
-
|
|
88893
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
88894
|
+
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
88895
|
+
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent,
|
|
88896
|
+
TermsAndConditionsComponent
|
|
88897
|
+
], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="nextStep.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n [errors]="errors()"\r\n (prev)="prevStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onChangeOfDirectorsSubmit($event)"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isChangeOfOfficeAddressesTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-office-addresses-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfOfficeAddressesValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfOfficeAddressesSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-office-addresses-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfOfficeAddressesFile()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
87759
88898
|
}], () => [], null);
|
|
87760
88899
|
})();
|
|
87761
88900
|
(() => {
|
|
87762
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
88901
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 75 });
|
|
87763
88902
|
})();
|
|
87764
88903
|
}
|
|
87765
88904
|
});
|
|
@@ -93980,55 +95119,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93980
95119
|
init_core();
|
|
93981
95120
|
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
93982
95121
|
config;
|
|
93983
|
-
currentDataExtract;
|
|
93984
95122
|
setConfig(config2) {
|
|
93985
95123
|
this.config = config2;
|
|
93986
95124
|
}
|
|
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
|
-
}
|
|
94032
95125
|
validate(_0, _1) {
|
|
94033
95126
|
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
94034
95127
|
ensureAuthInputs(signature);
|
|
@@ -94046,12 +95139,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94046
95139
|
throw err2;
|
|
94047
95140
|
}
|
|
94048
95141
|
const payload = unwrapRequestResults(parsed.value);
|
|
94049
|
-
if (resp.ok && !payload.Errors?.length
|
|
94050
|
-
return
|
|
94051
|
-
Status: payload.Status ?? payload["status"],
|
|
94052
|
-
ServiceOrderId: payload.ServiceOrderId ?? payload["serviceOrderId"],
|
|
94053
|
-
Draft: payload.Draft ?? payload["draft"]
|
|
94054
|
-
});
|
|
95142
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
95143
|
+
return payload;
|
|
94055
95144
|
}
|
|
94056
95145
|
const err = buildValidationError(resp.status, payload);
|
|
94057
95146
|
err.validateResult = payload;
|
|
@@ -94111,16 +95200,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94111
95200
|
throw err;
|
|
94112
95201
|
});
|
|
94113
95202
|
}
|
|
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
|
-
}
|
|
94124
95203
|
getOnbisOrigin() {
|
|
94125
95204
|
const filingUrl = this.config?.BCFiling;
|
|
94126
95205
|
if (!filingUrl) {
|
|
@@ -94145,30 +95224,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94145
95224
|
});
|
|
94146
95225
|
|
|
94147
95226
|
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
94148
|
-
function
|
|
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) {
|
|
95227
|
+
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
|
|
94172
95228
|
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
94173
95229
|
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94174
95230
|
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
@@ -94176,40 +95232,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94176
95232
|
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
94177
95233
|
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
94178
95234
|
const companyEmail = findCompanyEmail(task);
|
|
94179
|
-
const
|
|
94180
|
-
|
|
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 {
|
|
95235
|
+
const serviceOrderId = deltaData.serviceOrderId;
|
|
95236
|
+
return __spreadValues({
|
|
94190
95237
|
filingType: "changeOfDirectorsFiling",
|
|
94191
|
-
|
|
94192
|
-
filing: __spreadProps(__spreadValues({
|
|
94193
|
-
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
94194
|
-
accessCodeOrPassword: getBritishColumbiaAccessCode(task),
|
|
95238
|
+
filing: {
|
|
94195
95239
|
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
94196
|
-
docket: deltaData.referenceNumbers.docketNumber ?? null
|
|
94197
|
-
|
|
94198
|
-
|
|
94199
|
-
|
|
94200
|
-
|
|
95240
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null,
|
|
95241
|
+
addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
|
|
95242
|
+
effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
|
|
95243
|
+
addDirectors: (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
95244
|
+
ceaseDirectors: (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
95245
|
+
editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
|
|
94201
95246
|
companyEmail,
|
|
94202
95247
|
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
94203
|
-
}
|
|
94204
|
-
};
|
|
95248
|
+
}
|
|
95249
|
+
}, serviceOrderId ? { ServiceOrderId: serviceOrderId } : {});
|
|
94205
95250
|
}
|
|
94206
95251
|
function isDirectorAffiliation(affiliation) {
|
|
94207
95252
|
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
94208
95253
|
}
|
|
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
|
-
}
|
|
94213
95254
|
function buildDirector(affiliation) {
|
|
94214
95255
|
if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
|
|
94215
95256
|
const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
|
|
@@ -94218,7 +95259,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94218
95259
|
middleName: name.MiddleName ?? name.middleName ?? "",
|
|
94219
95260
|
lastName: name.LastName ?? name.lastName ?? "",
|
|
94220
95261
|
mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
|
|
94221
|
-
deliveryAddress: affiliation.
|
|
95262
|
+
deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
94222
95263
|
isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
|
|
94223
95264
|
};
|
|
94224
95265
|
}
|
|
@@ -94226,19 +95267,38 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94226
95267
|
const addresses = getAffiliationAddresses(affiliation);
|
|
94227
95268
|
const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
|
|
94228
95269
|
const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
|
|
94229
|
-
const isSameAsMailing = isDeliveryAddressSameAsMailing(addresses);
|
|
94230
95270
|
return {
|
|
94231
95271
|
firstName: profile.firstName ?? "",
|
|
94232
95272
|
middleName: profile.middleName ?? "",
|
|
94233
95273
|
lastName: profile.lastName ?? "",
|
|
94234
95274
|
mailingAddress,
|
|
94235
|
-
|
|
94236
|
-
|
|
94237
|
-
isDeliveryAddressSameAsMailing: isSameAsMailing
|
|
95275
|
+
deliveryAddress,
|
|
95276
|
+
isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
|
|
94238
95277
|
};
|
|
94239
95278
|
}
|
|
94240
95279
|
function mapAddress4(address) {
|
|
94241
|
-
|
|
95280
|
+
if (!address)
|
|
95281
|
+
return void 0;
|
|
95282
|
+
const raw = address;
|
|
95283
|
+
const postalAddress = raw.PostalAddress ?? raw.postalAddress;
|
|
95284
|
+
const source = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? raw;
|
|
95285
|
+
const streetNumber = address.components?.find((component) => component.name === "Street Number Only")?.value;
|
|
95286
|
+
const streetName = address.components?.find((component) => component.name === "Street Only")?.value;
|
|
95287
|
+
const suite = address.components?.find((component) => component.name === "Suite/Apartment")?.value;
|
|
95288
|
+
const streetAddress = [streetNumber, streetName].filter(Boolean).join(" ") || address.components?.find((component) => component.name === "Street Address")?.value || source.streetAddress || source.Address1 || raw.street || "";
|
|
95289
|
+
const country = source.country ?? source.CountryCodeName ?? raw.country ?? "";
|
|
95290
|
+
const postal = source.postalOrZipCode ?? source.PostCode ?? source.postalZip ?? raw.postal_zip ?? "";
|
|
95291
|
+
return {
|
|
95292
|
+
streetAddress: [streetAddress, suite].filter(Boolean).join(", "),
|
|
95293
|
+
city: source.city ?? source.CityTown ?? raw.city ?? "",
|
|
95294
|
+
provinceState: source.provinceState ?? source.RegionName ?? raw.province_state ?? "",
|
|
95295
|
+
country,
|
|
95296
|
+
postalOrZipCode: country === "CA" ? normalizeCanadianPostal(postal) : postal
|
|
95297
|
+
};
|
|
95298
|
+
}
|
|
95299
|
+
function normalizeCanadianPostal(value) {
|
|
95300
|
+
const compact = value.replace(/[\s-]+/g, "").toUpperCase();
|
|
95301
|
+
return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : value;
|
|
94242
95302
|
}
|
|
94243
95303
|
function findCompanyEmail(task) {
|
|
94244
95304
|
const affiliations = task.entity.affiliations ?? [];
|
|
@@ -94257,12 +95317,299 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94257
95317
|
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
94258
95318
|
init_BritishColumbiaConstants();
|
|
94259
95319
|
init_common_models();
|
|
94260
|
-
init_british_columbia_formation_mapper();
|
|
94261
95320
|
init_british_columbia_formation_form_helper();
|
|
94262
95321
|
init_common_utils();
|
|
94263
95322
|
}
|
|
94264
95323
|
});
|
|
94265
95324
|
|
|
95325
|
+
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95326
|
+
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95327
|
+
var init_british_columbia_maintenance_service = __esm({
|
|
95328
|
+
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95329
|
+
init_core();
|
|
95330
|
+
init_common_utils();
|
|
95331
|
+
init_core();
|
|
95332
|
+
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95333
|
+
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95334
|
+
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95335
|
+
DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95336
|
+
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95337
|
+
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95338
|
+
config;
|
|
95339
|
+
setConfig(config2) {
|
|
95340
|
+
this.config = config2;
|
|
95341
|
+
}
|
|
95342
|
+
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95343
|
+
orderCurrentDataExtract(_0, _1) {
|
|
95344
|
+
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95345
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95346
|
+
corporationNumber: context2.corporationNumber,
|
|
95347
|
+
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95348
|
+
incorporationDate: context2.incorporationDate,
|
|
95349
|
+
filingType: "changeOfAddressFiling"
|
|
95350
|
+
}, opts);
|
|
95351
|
+
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95352
|
+
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95353
|
+
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95354
|
+
}
|
|
95355
|
+
return String(id);
|
|
95356
|
+
});
|
|
95357
|
+
}
|
|
95358
|
+
/** Polls the extract until the registry has it ready (`success`). */
|
|
95359
|
+
waitForCurrentDataExtract(_0, _1) {
|
|
95360
|
+
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95361
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95362
|
+
const deadline = Date.now() + timeoutMs;
|
|
95363
|
+
for (; ; ) {
|
|
95364
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95365
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95366
|
+
if (ok && state2 === "success") {
|
|
95367
|
+
return;
|
|
95368
|
+
}
|
|
95369
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95370
|
+
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95371
|
+
}
|
|
95372
|
+
if (Date.now() >= deadline) {
|
|
95373
|
+
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
95374
|
+
}
|
|
95375
|
+
yield this.sleep(intervalMs);
|
|
95376
|
+
}
|
|
95377
|
+
});
|
|
95378
|
+
}
|
|
95379
|
+
/**
|
|
95380
|
+
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95381
|
+
* corporation number and password; they are added here so they never become part of the
|
|
95382
|
+
* saved request used to detect Entity changes.
|
|
95383
|
+
*/
|
|
95384
|
+
validate(_0, _1, _2, _3) {
|
|
95385
|
+
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95386
|
+
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95387
|
+
currentDataServiceOrderId: extractId,
|
|
95388
|
+
filingType: requestBody.filingType,
|
|
95389
|
+
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95390
|
+
corporationNumber: context2.corporationNumber,
|
|
95391
|
+
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95392
|
+
})
|
|
95393
|
+
}, opts);
|
|
95394
|
+
if (body === null) {
|
|
95395
|
+
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95396
|
+
}
|
|
95397
|
+
const result = this.normalize(unwrapRequestResults(body));
|
|
95398
|
+
if (ok && !this.hasFailed(result)) {
|
|
95399
|
+
return result;
|
|
95400
|
+
}
|
|
95401
|
+
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95402
|
+
err.validateResult = result;
|
|
95403
|
+
err.httpStatus = status;
|
|
95404
|
+
throw err;
|
|
95405
|
+
});
|
|
95406
|
+
}
|
|
95407
|
+
/**
|
|
95408
|
+
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95409
|
+
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95410
|
+
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95411
|
+
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95412
|
+
*/
|
|
95413
|
+
submitAndWait(_0, _1) {
|
|
95414
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95415
|
+
if (!serviceOrderId) {
|
|
95416
|
+
throw new Error("Missing serviceOrderId.");
|
|
95417
|
+
}
|
|
95418
|
+
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95419
|
+
if (!submitted.ok || this.normalize(submitted.body).Status === "Failure") {
|
|
95420
|
+
const result = this.normalize(submitted.body);
|
|
95421
|
+
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", result));
|
|
95422
|
+
err.submitResult = result;
|
|
95423
|
+
err.httpStatus = submitted.status;
|
|
95424
|
+
throw err;
|
|
95425
|
+
}
|
|
95426
|
+
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95427
|
+
const deadline = Date.now() + timeoutMs;
|
|
95428
|
+
let processing = true;
|
|
95429
|
+
let files;
|
|
95430
|
+
while (processing) {
|
|
95431
|
+
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95432
|
+
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95433
|
+
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95434
|
+
files = body?.files;
|
|
95435
|
+
processing = false;
|
|
95436
|
+
break;
|
|
95437
|
+
}
|
|
95438
|
+
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95439
|
+
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95440
|
+
}
|
|
95441
|
+
if (Date.now() >= deadline) {
|
|
95442
|
+
break;
|
|
95443
|
+
}
|
|
95444
|
+
yield this.sleep(intervalMs);
|
|
95445
|
+
}
|
|
95446
|
+
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95447
|
+
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95448
|
+
});
|
|
95449
|
+
}
|
|
95450
|
+
getBaseUrl(env) {
|
|
95451
|
+
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95452
|
+
if (!baseUrl) {
|
|
95453
|
+
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95454
|
+
}
|
|
95455
|
+
return baseUrl;
|
|
95456
|
+
}
|
|
95457
|
+
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95458
|
+
send(signature, method, path, payload, opts) {
|
|
95459
|
+
return __async(this, null, function* () {
|
|
95460
|
+
ensureAuthInputs(signature);
|
|
95461
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95462
|
+
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95463
|
+
const headers = __spreadValues({ "x-target-url": targetUrl }, opts.headers ?? {});
|
|
95464
|
+
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95465
|
+
method,
|
|
95466
|
+
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95467
|
+
}));
|
|
95468
|
+
const raw = yield resp.text();
|
|
95469
|
+
const parsed = tryParseJson(raw);
|
|
95470
|
+
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95471
|
+
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95472
|
+
});
|
|
95473
|
+
}
|
|
95474
|
+
failure(status, prefix, body, raw) {
|
|
95475
|
+
const result = body ? this.normalize(body) : void 0;
|
|
95476
|
+
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95477
|
+
const err = new Error(message);
|
|
95478
|
+
err.httpStatus = status;
|
|
95479
|
+
return err;
|
|
95480
|
+
}
|
|
95481
|
+
sleep(ms) {
|
|
95482
|
+
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95483
|
+
}
|
|
95484
|
+
/**
|
|
95485
|
+
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95486
|
+
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95487
|
+
* `errors`, `additionalInformation` is used as the error messages.
|
|
95488
|
+
*/
|
|
95489
|
+
normalize(body) {
|
|
95490
|
+
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95491
|
+
const errors = rawErrors.map((e) => ({
|
|
95492
|
+
Code: e?.code ?? e?.Code,
|
|
95493
|
+
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95494
|
+
}));
|
|
95495
|
+
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95496
|
+
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95497
|
+
if (!succeeded && !errors.length) {
|
|
95498
|
+
const additional = body?.additionalInformation ?? [];
|
|
95499
|
+
errors.push(...additional.map((Message) => ({ Message })));
|
|
95500
|
+
}
|
|
95501
|
+
return {
|
|
95502
|
+
Status: succeeded ? "Success" : "Failure",
|
|
95503
|
+
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95504
|
+
Draft: body?.draft ?? body?.Draft,
|
|
95505
|
+
Errors: errors
|
|
95506
|
+
};
|
|
95507
|
+
}
|
|
95508
|
+
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95509
|
+
hasFailed(result) {
|
|
95510
|
+
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95511
|
+
}
|
|
95512
|
+
describeFailure(httpStatus, prefix, result) {
|
|
95513
|
+
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95514
|
+
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95515
|
+
}
|
|
95516
|
+
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95517
|
+
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95518
|
+
};
|
|
95519
|
+
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95520
|
+
};
|
|
95521
|
+
(() => {
|
|
95522
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95523
|
+
type: Injectable,
|
|
95524
|
+
args: [{
|
|
95525
|
+
providedIn: "root"
|
|
95526
|
+
}]
|
|
95527
|
+
}], null, null);
|
|
95528
|
+
})();
|
|
95529
|
+
}
|
|
95530
|
+
});
|
|
95531
|
+
|
|
95532
|
+
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95533
|
+
function formatPostalCode(value) {
|
|
95534
|
+
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95535
|
+
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95536
|
+
}
|
|
95537
|
+
function toEcoreAddress(address) {
|
|
95538
|
+
const line2 = clean(address?.addressLine2);
|
|
95539
|
+
return __spreadProps(__spreadValues({
|
|
95540
|
+
streetAddress: clean(address?.addressLine1)
|
|
95541
|
+
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95542
|
+
city: clean(address?.city),
|
|
95543
|
+
provinceOrState: BC_PROVINCE_CODE,
|
|
95544
|
+
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95545
|
+
country: CANADA_COUNTRY_CODE
|
|
95546
|
+
});
|
|
95547
|
+
}
|
|
95548
|
+
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95549
|
+
const registered = deltaData.registeredOffice;
|
|
95550
|
+
const records = deltaData.recordsOffice;
|
|
95551
|
+
const registeredDeliverySame = Boolean(registered?.deliverySameAsMailing);
|
|
95552
|
+
const recordsSameAsRegistered = Boolean(records?.sameAsRegisteredOffice);
|
|
95553
|
+
const recordsDeliverySame = recordsSameAsRegistered ? registeredDeliverySame : Boolean(records?.deliverySameAsMailing);
|
|
95554
|
+
const recordsDeliveryAddress = recordsSameAsRegistered ? registered?.deliveryAddress : records?.deliveryAddress;
|
|
95555
|
+
const filing = {
|
|
95556
|
+
registeredOfficeMailingAddress: toEcoreAddress(registered?.mailingAddress),
|
|
95557
|
+
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95558
|
+
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95559
|
+
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95560
|
+
// The entity's company email, shown read-only in Corporation Details.
|
|
95561
|
+
companyEmail: BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95562
|
+
// Not captured on this form; the reminder preference is not changed by an address filing.
|
|
95563
|
+
isAnnualReportReminderRequired: false
|
|
95564
|
+
};
|
|
95565
|
+
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95566
|
+
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95567
|
+
if (reference) {
|
|
95568
|
+
filing.reference = reference;
|
|
95569
|
+
}
|
|
95570
|
+
if (docket) {
|
|
95571
|
+
filing.docket = docket;
|
|
95572
|
+
}
|
|
95573
|
+
if (!registeredDeliverySame) {
|
|
95574
|
+
filing.registeredOfficeDeliveryAddress = toEcoreAddress(registered?.deliveryAddress);
|
|
95575
|
+
}
|
|
95576
|
+
if (!recordsSameAsRegistered) {
|
|
95577
|
+
filing.recordsOfficeMailingAddress = toEcoreAddress(records?.mailingAddress);
|
|
95578
|
+
}
|
|
95579
|
+
if (!recordsDeliverySame) {
|
|
95580
|
+
filing.recordsOfficeDeliveryAddress = toEcoreAddress(recordsDeliveryAddress);
|
|
95581
|
+
}
|
|
95582
|
+
return { filingType: "changeOfAddressFiling", filing };
|
|
95583
|
+
}
|
|
95584
|
+
function getBritishColumbiaAccessCode(task) {
|
|
95585
|
+
return task.entity._profile.registry_id?.trim() ?? "";
|
|
95586
|
+
}
|
|
95587
|
+
function findBCChangeOfOfficeAddressesRequestIssues(request, accessCode) {
|
|
95588
|
+
const issues = [];
|
|
95589
|
+
const email = request.filing.companyEmail?.trim() ?? "";
|
|
95590
|
+
if (!email) {
|
|
95591
|
+
issues.push("The company email is missing on the entity. Add a Business Email to the entity.");
|
|
95592
|
+
} else if (email.length > BC_COMPANY_EMAIL_MAX_LENGTH) {
|
|
95593
|
+
issues.push(`The company email must be ${BC_COMPANY_EMAIL_MAX_LENGTH} characters or fewer.`);
|
|
95594
|
+
} else if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email)) {
|
|
95595
|
+
issues.push("The company email on the entity is not a valid email address.");
|
|
95596
|
+
}
|
|
95597
|
+
if (!BC_PASSWORD_PATTERN.test(accessCode)) {
|
|
95598
|
+
issues.push("The company's BC Online access code or password (the entity's registry ID) is missing or contains characters other than letters and numbers.");
|
|
95599
|
+
}
|
|
95600
|
+
return issues;
|
|
95601
|
+
}
|
|
95602
|
+
var BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95603
|
+
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95604
|
+
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95605
|
+
init_BritishColumbiaConstants();
|
|
95606
|
+
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95607
|
+
BC_PROVINCE_CODE = "BC";
|
|
95608
|
+
CANADA_COUNTRY_CODE = "CA";
|
|
95609
|
+
clean = (value) => (value ?? "").trim();
|
|
95610
|
+
}
|
|
95611
|
+
});
|
|
95612
|
+
|
|
94266
95613
|
// src/app/components/filing/filing.component.ts
|
|
94267
95614
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
94268
95615
|
if (rf & 1) {
|
|
@@ -94362,6 +95709,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94362
95709
|
\u0275\u0275restoreView(_r6);
|
|
94363
95710
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94364
95711
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
95712
|
+
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
95713
|
+
\u0275\u0275restoreView(_r6);
|
|
95714
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95715
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
95716
|
+
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
95717
|
+
\u0275\u0275restoreView(_r6);
|
|
95718
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95719
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
95720
|
+
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
95721
|
+
\u0275\u0275restoreView(_r6);
|
|
95722
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
95723
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
94365
95724
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
94366
95725
|
\u0275\u0275restoreView(_r6);
|
|
94367
95726
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -94380,7 +95739,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94380
95739
|
if (rf & 2) {
|
|
94381
95740
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94382
95741
|
const currentTask_r5 = \u0275\u0275readContextLet(9);
|
|
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())
|
|
95742
|
+
\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());
|
|
94384
95743
|
}
|
|
94385
95744
|
}
|
|
94386
95745
|
function FilingComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
|
|
@@ -94430,7 +95789,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94430
95789
|
}
|
|
94431
95790
|
function FilingComponent_Conditional_10_Template(rf, ctx) {
|
|
94432
95791
|
if (rf & 1) {
|
|
94433
|
-
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1,
|
|
95792
|
+
\u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 1, 7, "ontario", 8)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1, 6, "british-columbia", 9)(2, FilingComponent_Conditional_10_Conditional_2_Template, 1, 5, "federal", 10);
|
|
94434
95793
|
}
|
|
94435
95794
|
if (rf & 2) {
|
|
94436
95795
|
const ctx_r2 = \u0275\u0275nextContext();
|
|
@@ -94477,6 +95836,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94477
95836
|
init_delta_state_service();
|
|
94478
95837
|
init_british_columbia_change_of_directors_service();
|
|
94479
95838
|
init_british_columbia_change_of_directors_mapper();
|
|
95839
|
+
init_british_columbia_maintenance_service();
|
|
95840
|
+
init_british_columbia_change_of_office_addresses_mapper();
|
|
94480
95841
|
init_core();
|
|
94481
95842
|
init_button();
|
|
94482
95843
|
FilingComponent = class _FilingComponent {
|
|
@@ -94533,6 +95894,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94533
95894
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
94534
95895
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
94535
95896
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
95897
|
+
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
94536
95898
|
translate = inject(TranslateService);
|
|
94537
95899
|
isEditButton = computed(() => {
|
|
94538
95900
|
const task = this.task();
|
|
@@ -94548,8 +95910,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94548
95910
|
});
|
|
94549
95911
|
dataWasChanged = signal(false);
|
|
94550
95912
|
serviceOrderId = "";
|
|
94551
|
-
currentDataExtract = signal(void 0);
|
|
94552
|
-
bcDataExtractTaskId = "";
|
|
94553
95913
|
activeStep = signal(Step.Validate);
|
|
94554
95914
|
isLoading = signal(false);
|
|
94555
95915
|
validationConfig = signal(null);
|
|
@@ -94576,6 +95936,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94576
95936
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
94577
95937
|
return "File British Columbia Notice of Change of Directors";
|
|
94578
95938
|
}
|
|
95939
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
95940
|
+
return "File British Columbia Change of Office Addresses";
|
|
95941
|
+
}
|
|
94579
95942
|
return "";
|
|
94580
95943
|
});
|
|
94581
95944
|
constructor() {
|
|
@@ -94588,6 +95951,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94588
95951
|
this.bcFormationService.setConfig(config2);
|
|
94589
95952
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
94590
95953
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
95954
|
+
this.bcMaintenanceService.setConfig(config2);
|
|
94591
95955
|
}
|
|
94592
95956
|
});
|
|
94593
95957
|
addStylesVariables();
|
|
@@ -94613,26 +95977,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94613
95977
|
this.serviceOrderId = serviceOrderId;
|
|
94614
95978
|
}
|
|
94615
95979
|
}
|
|
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
|
-
}
|
|
94636
95980
|
}));
|
|
94637
95981
|
}
|
|
94638
95982
|
getCurrentData() {
|
|
@@ -94756,16 +96100,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94756
96100
|
try {
|
|
94757
96101
|
this.isLoading.set(true);
|
|
94758
96102
|
this.errors.set([]);
|
|
94759
|
-
const
|
|
94760
|
-
const
|
|
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);
|
|
96103
|
+
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData);
|
|
96104
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, this.validateOptions() ?? {});
|
|
94769
96105
|
if (this.hasResponseErrors(response))
|
|
94770
96106
|
return;
|
|
94771
96107
|
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
@@ -94774,7 +96110,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94774
96110
|
searchOrFilingType: getSearchOrFilingType(task),
|
|
94775
96111
|
serviceOrderId,
|
|
94776
96112
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
94777
|
-
provider: "
|
|
96113
|
+
provider: "obr",
|
|
94778
96114
|
draftPdf: response.Draft,
|
|
94779
96115
|
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
94780
96116
|
documentType: "pdf"
|
|
@@ -94914,6 +96250,103 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94914
96250
|
}
|
|
94915
96251
|
});
|
|
94916
96252
|
}
|
|
96253
|
+
/**
|
|
96254
|
+
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96255
|
+
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96256
|
+
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96257
|
+
*/
|
|
96258
|
+
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96259
|
+
return __async(this, null, function* () {
|
|
96260
|
+
const task = this.task();
|
|
96261
|
+
const signature = this._signature();
|
|
96262
|
+
try {
|
|
96263
|
+
if (!task || !signature) {
|
|
96264
|
+
throw new Error("The filing is not ready yet. Please try again.");
|
|
96265
|
+
}
|
|
96266
|
+
const companyPassword = getBritishColumbiaAccessCode(task);
|
|
96267
|
+
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96268
|
+
const issues = findBCChangeOfOfficeAddressesRequestIssues(requestBody, companyPassword);
|
|
96269
|
+
if (issues.length) {
|
|
96270
|
+
this.errors.set(issues);
|
|
96271
|
+
return;
|
|
96272
|
+
}
|
|
96273
|
+
const corporationNumber = task.entity._profile.corp_number;
|
|
96274
|
+
const incorporationDate = String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10);
|
|
96275
|
+
if (!corporationNumber) {
|
|
96276
|
+
throw new Error("The entity has no Incorporation Number. Add it to the entity before filing.");
|
|
96277
|
+
}
|
|
96278
|
+
if (!/^\d{4}-\d{2}-\d{2}$/.test(incorporationDate)) {
|
|
96279
|
+
throw new Error("The entity has no incorporation date. Add it to the entity before filing.");
|
|
96280
|
+
}
|
|
96281
|
+
this.isLoading.set(true);
|
|
96282
|
+
this.errors.set([]);
|
|
96283
|
+
const opts = this.validateOptions() ?? {};
|
|
96284
|
+
const context2 = { corporationNumber, accessCodeOrPassword: companyPassword, incorporationDate };
|
|
96285
|
+
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96286
|
+
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96287
|
+
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96288
|
+
if (this.hasResponseErrors(response))
|
|
96289
|
+
return;
|
|
96290
|
+
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96291
|
+
const draftPdf = response.Draft ?? "";
|
|
96292
|
+
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96293
|
+
if (draftPdf && searchOrFilingType) {
|
|
96294
|
+
this.filingValidateSuccess.emit({
|
|
96295
|
+
searchOrFilingType,
|
|
96296
|
+
serviceOrderId,
|
|
96297
|
+
validatedOn: /* @__PURE__ */ new Date(),
|
|
96298
|
+
provider: "obr",
|
|
96299
|
+
draftPdf,
|
|
96300
|
+
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96301
|
+
documentType: "pdf"
|
|
96302
|
+
});
|
|
96303
|
+
}
|
|
96304
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96305
|
+
serviceOrderId,
|
|
96306
|
+
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
96307
|
+
}));
|
|
96308
|
+
this.close.emit();
|
|
96309
|
+
} catch (response) {
|
|
96310
|
+
this.handleCatchError(response);
|
|
96311
|
+
} finally {
|
|
96312
|
+
this.isLoading.set(false);
|
|
96313
|
+
}
|
|
96314
|
+
});
|
|
96315
|
+
}
|
|
96316
|
+
/**
|
|
96317
|
+
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96318
|
+
*/
|
|
96319
|
+
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96320
|
+
const oldDeltaData = this.task()?.deltaData;
|
|
96321
|
+
if (oldDeltaData) {
|
|
96322
|
+
delete this.task()?.deltaData;
|
|
96323
|
+
}
|
|
96324
|
+
this.deltaDataChange.emit(deltaData);
|
|
96325
|
+
}
|
|
96326
|
+
/**
|
|
96327
|
+
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96328
|
+
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96329
|
+
*/
|
|
96330
|
+
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96331
|
+
return __async(this, null, function* () {
|
|
96332
|
+
const signature = this._signature();
|
|
96333
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96334
|
+
if (!signature || !serviceOrderId) {
|
|
96335
|
+
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96336
|
+
return;
|
|
96337
|
+
}
|
|
96338
|
+
try {
|
|
96339
|
+
this.isLoading.set(true);
|
|
96340
|
+
this.errors.set([]);
|
|
96341
|
+
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96342
|
+
this.close.emit();
|
|
96343
|
+
} catch (response) {
|
|
96344
|
+
this.handleCatchError(response);
|
|
96345
|
+
} finally {
|
|
96346
|
+
this.isLoading.set(false);
|
|
96347
|
+
}
|
|
96348
|
+
});
|
|
96349
|
+
}
|
|
94917
96350
|
/**
|
|
94918
96351
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
94919
96352
|
*/
|
|
@@ -95182,7 +96615,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95182
96615
|
this.errors.set(this.parseError(errors));
|
|
95183
96616
|
return;
|
|
95184
96617
|
}
|
|
95185
|
-
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
96618
|
+
const fallbackMessage = (response instanceof Error ? response.message : "") || parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
95186
96619
|
this.errors.set([fallbackMessage]);
|
|
95187
96620
|
}
|
|
95188
96621
|
onClose() {
|
|
@@ -95249,6 +96682,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95249
96682
|
let initialDelta;
|
|
95250
96683
|
if (isFormationTask2(task)) {
|
|
95251
96684
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
96685
|
+
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96686
|
+
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
95252
96687
|
} else if (isUpdateMaintain(task)) {
|
|
95253
96688
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
95254
96689
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -95282,6 +96717,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95282
96717
|
}
|
|
95283
96718
|
return federalPayload;
|
|
95284
96719
|
}
|
|
96720
|
+
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96721
|
+
return buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96722
|
+
}
|
|
95285
96723
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
95286
96724
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
95287
96725
|
if (!serviceOrderId) {
|
|
@@ -95310,7 +96748,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95310
96748
|
if (rf & 2) {
|
|
95311
96749
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
95312
96750
|
}
|
|
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"
|
|
96751
|
+
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "coaValidate", "saveCoaDeltaData", "coaSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
95314
96752
|
if (rf & 1) {
|
|
95315
96753
|
const _r1 = \u0275\u0275getCurrentView();
|
|
95316
96754
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -95392,7 +96830,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95392
96830
|
[activeStep]="activeStep()"\r
|
|
95393
96831
|
[isNote]="dataWasChanged()"\r
|
|
95394
96832
|
[actionsDisabled]="isLoading()"\r
|
|
95395
|
-
[errors]="errors()"
|
|
96833
|
+
[errors]="errors()"\r
|
|
95396
96834
|
[prevData]="prevData()"\r
|
|
95397
96835
|
(close)="close.emit()"\r
|
|
95398
96836
|
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
@@ -95411,15 +96849,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95411
96849
|
[currentUser]="currentUser()"\r
|
|
95412
96850
|
[activeStep]="activeStep()"\r
|
|
95413
96851
|
[isNote]="dataWasChanged()"\r
|
|
95414
|
-
[actionsDisabled]="isLoading()"
|
|
95415
|
-
[errors]="errors()"
|
|
95416
|
-
[currentDataExtract]="currentDataExtract()"
|
|
96852
|
+
[actionsDisabled]="isLoading()"\r
|
|
96853
|
+
[errors]="errors()"\r
|
|
95417
96854
|
(close)="close.emit()"\r
|
|
95418
96855
|
(nextStep)="onNextStepClick()"\r
|
|
95419
96856
|
(prevStep)="onOntarioPrevStep()"\r
|
|
95420
96857
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95421
96858
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95422
96859
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
96860
|
+
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
96861
|
+
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
96862
|
+
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
95423
96863
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95424
96864
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95425
96865
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -95449,12 +96889,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95449
96889
|
</div>\r
|
|
95450
96890
|
}\r
|
|
95451
96891
|
</div>\r
|
|
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'] }]
|
|
96892
|
+
</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'] }]
|
|
95454
96893
|
}], () => [], null);
|
|
95455
96894
|
})();
|
|
95456
96895
|
(() => {
|
|
95457
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
96896
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 94 });
|
|
95458
96897
|
})();
|
|
95459
96898
|
}
|
|
95460
96899
|
});
|
|
@@ -100100,7 +101539,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100100
101539
|
Currency: "Currency",
|
|
100101
101540
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
100102
101541
|
Unlimited: "Unlimited",
|
|
100103
|
-
"Without Par Value": "Without Par Value"
|
|
101542
|
+
"Without Par Value": "Without Par Value",
|
|
101543
|
+
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101544
|
+
"Records Office Address": "Records Office Address",
|
|
101545
|
+
"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.",
|
|
101546
|
+
"Current Mailing Address": "Current Mailing Address",
|
|
101547
|
+
"Current Delivery Address": "Current Delivery Address",
|
|
101548
|
+
"New Mailing Address": "New Mailing Address",
|
|
101549
|
+
"New Delivery Address": "New Delivery Address",
|
|
101550
|
+
"Same as Mailing Address": "Same as Mailing Address",
|
|
101551
|
+
"Same as Registered Office": "Same as Registered Office",
|
|
101552
|
+
"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."
|
|
100104
101553
|
};
|
|
100105
101554
|
}
|
|
100106
101555
|
});
|
|
@@ -100447,7 +101896,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100447
101896
|
Currency: "Devise",
|
|
100448
101897
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
100449
101898
|
Unlimited: "Illimit\xE9",
|
|
100450
|
-
"Without Par Value": "Sans valeur nominale"
|
|
101899
|
+
"Without Par Value": "Sans valeur nominale",
|
|
101900
|
+
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
101901
|
+
"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.",
|
|
101902
|
+
"Current Mailing Address": "Adresse postale actuelle",
|
|
101903
|
+
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
101904
|
+
"New Mailing Address": "Nouvelle adresse postale",
|
|
101905
|
+
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
101906
|
+
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
101907
|
+
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
101908
|
+
"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."
|
|
100451
101909
|
};
|
|
100452
101910
|
}
|
|
100453
101911
|
});
|