@dyedurham/search-and-file-widget 2.0.99 → 2.1.0
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 +291 -2152
- package/dyedurham-search-and-file-widget-2.1.0.tgz +0 -0
- package/package.json +10 -10
package/dnd-filing-shell.js
CHANGED
|
@@ -56266,7 +56266,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
56266
56266
|
TaskType2["Amendments"] = "Amendments";
|
|
56267
56267
|
TaskType2["ChangeOfCompanyName"] = "Change of Company Name";
|
|
56268
56268
|
TaskType2["ChangeOfAddress"] = "Change of Address";
|
|
56269
|
-
TaskType2["ChangeOfSharedAddress"] = "Change of Shared Address";
|
|
56270
56269
|
TaskType2["ChangeOfPrincipals"] = "Change of Principals";
|
|
56271
56270
|
TaskType2["RegistrationCompliance"] = "Registration Compliance";
|
|
56272
56271
|
TaskType2["Continuance"] = "Continuance";
|
|
@@ -58088,9 +58087,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58088
58087
|
function isChangeOfPrincipalsTask(task) {
|
|
58089
58088
|
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58090
58089
|
}
|
|
58091
|
-
function isChangeOfAddressTask(task) {
|
|
58092
|
-
return task?._taskType === TaskType.ChangeOfSharedAddress || task?._taskType === TaskType.ChangeOfAddress;
|
|
58093
|
-
}
|
|
58094
58090
|
function isBritishColumbiaTask(task) {
|
|
58095
58091
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58096
58092
|
}
|
|
@@ -58118,9 +58114,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58118
58114
|
if (!task) {
|
|
58119
58115
|
return void 0;
|
|
58120
58116
|
}
|
|
58121
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
58122
|
-
return "bcChangeOfAddress";
|
|
58123
|
-
}
|
|
58124
58117
|
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
|
|
58125
58118
|
if (isFormationTask2(task)) {
|
|
58126
58119
|
return `${prefix}Incorporation`;
|
|
@@ -61009,10 +61002,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
61009
61002
|
this._inputElement.nativeElement.focus();
|
|
61010
61003
|
}
|
|
61011
61004
|
/** Creates the change event that will be emitted by the checkbox. */
|
|
61012
|
-
_createChangeEvent(
|
|
61005
|
+
_createChangeEvent(isChecked) {
|
|
61013
61006
|
const event = new MatCheckboxChange();
|
|
61014
61007
|
event.source = this;
|
|
61015
|
-
event.checked =
|
|
61008
|
+
event.checked = isChecked;
|
|
61016
61009
|
return event;
|
|
61017
61010
|
}
|
|
61018
61011
|
/** Gets the element on which to add the animation CSS classes. */
|
|
@@ -80568,7 +80561,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80568
80561
|
MatRadioButton,
|
|
80569
80562
|
TranslatePipe,
|
|
80570
80563
|
CheckboxListComponent
|
|
80571
|
-
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] .body-1-semibold {\n color: inherit;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80564
|
+
], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info.dismissed[_ngcontent-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .beside-select[_ngcontent-%COMP%] {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n[_nghost-%COMP%] .spaced-text[_ngcontent-%COMP%] {\n margin: 8px 0;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n[_nghost-%COMP%] .fee-warning[_ngcontent-%COMP%]::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
|
|
80572
80565
|
};
|
|
80573
80566
|
(() => {
|
|
80574
80567
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
|
|
@@ -80822,7 +80815,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80822
80815
|
}\r
|
|
80823
80816
|
</div>\r
|
|
80824
80817
|
</section>\r
|
|
80825
|
-
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .note-box {\n padding: 16px 24px;\n border: 1px solid #f0dea0;\n border-radius: 4px;\n background-color: #fdf9ee;\n color: #7a5d00;\n}\n:host .note-box ::ng-deep .body-1-semibold {\n color: inherit;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80818
|
+
`, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #0b70d9 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info.dismissed .filling-form-fields-item-info-tooltip {\n display: none;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .beside-select {\n align-self: end;\n display: flex;\n align-items: center;\n min-height: 60px;\n margin: 0;\n}\n:host .spaced-text {\n margin: 8px 0;\n}\n:host .fee-warning {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px 0;\n padding: 8px 12px !important;\n border: 1px solid #f0d78c;\n border-radius: 4px;\n background-color: #fff8e1;\n color: #845400;\n font-size: 12px !important;\n}\n:host .fee-warning::before {\n content: "!";\n flex: none;\n width: 12px;\n height: 12px;\n border: 1px solid #845400;\n border-radius: 50%;\n font-size: 9px;\n font-weight: 700;\n line-height: 12px;\n text-align: center;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
|
|
80826
80819
|
}], () => [], { dismissOpenTooltip: [{
|
|
80827
80820
|
type: HostListener,
|
|
80828
80821
|
args: ["document:keydown.escape"]
|
|
@@ -81312,16 +81305,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81312
81305
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81313
81306
|
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81314
81307
|
bcFormationInitialDelta = signal(null);
|
|
81315
|
-
bcChangeOfOfficeAddressesInitialDelta = signal(null);
|
|
81316
81308
|
setFormationInitialDelta(delta) {
|
|
81317
81309
|
this.formationInitialDelta.set(delta);
|
|
81318
81310
|
}
|
|
81319
81311
|
setBCFormationInitialDelta(delta) {
|
|
81320
81312
|
this.bcFormationInitialDelta.set(delta);
|
|
81321
81313
|
}
|
|
81322
|
-
setBCChangeOfOfficeAddressesInitialDelta(delta) {
|
|
81323
|
-
this.bcChangeOfOfficeAddressesInitialDelta.set(delta);
|
|
81324
|
-
}
|
|
81325
81314
|
setInitialReturnInitialDelta(delta) {
|
|
81326
81315
|
this.initialReturnInitialDelta.set(delta);
|
|
81327
81316
|
}
|
|
@@ -81341,7 +81330,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81341
81330
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81342
81331
|
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81343
81332
|
this.bcFormationInitialDelta.set(null);
|
|
81344
|
-
this.bcChangeOfOfficeAddressesInitialDelta.set(null);
|
|
81345
81333
|
}
|
|
81346
81334
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
81347
81335
|
return new (__ngFactoryType__ || _DeltaStateService)();
|
|
@@ -84149,7 +84137,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84149
84137
|
});
|
|
84150
84138
|
|
|
84151
84139
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
84152
|
-
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
84140
|
+
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84153
84141
|
var init_BritishColumbiaConstants = __esm({
|
|
84154
84142
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84155
84143
|
init_app_enums();
|
|
@@ -84183,7 +84171,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84183
84171
|
};
|
|
84184
84172
|
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84185
84173
|
Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84186
|
-
|
|
84174
|
+
CANProvinces.BritishColumbia;
|
|
84187
84175
|
BC_DEFAULT_COUNTRY = "Canada";
|
|
84188
84176
|
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84189
84177
|
BC_PASSWORD_MIN_LENGTH = 8;
|
|
@@ -84202,7 +84190,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84202
84190
|
});
|
|
84203
84191
|
|
|
84204
84192
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84205
|
-
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls,
|
|
84193
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84206
84194
|
var init_british_columbia_form_enums = __esm({
|
|
84207
84195
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84208
84196
|
(function(BCChangeOfDirectorsFormControls2) {
|
|
@@ -84267,33 +84255,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84267
84255
|
BCFormationFormControls2["HasConfirmedCompletion"] = "hasConfirmedCompletion";
|
|
84268
84256
|
BCFormationFormControls2["HasRequiredDocuments"] = "hasRequiredDocuments";
|
|
84269
84257
|
})(BCFormationFormControls || (BCFormationFormControls = {}));
|
|
84270
|
-
(function(BCChangeOfOfficeAddressesFormControls2) {
|
|
84271
|
-
BCChangeOfOfficeAddressesFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
|
|
84272
|
-
BCChangeOfOfficeAddressesFormControls2["DocketNumber"] = "docketNumber";
|
|
84273
|
-
BCChangeOfOfficeAddressesFormControls2["CorporationName"] = "corporationName";
|
|
84274
|
-
BCChangeOfOfficeAddressesFormControls2["IncorporationNumber"] = "incorporationNumber";
|
|
84275
|
-
BCChangeOfOfficeAddressesFormControls2["CompanyEmail"] = "companyEmail";
|
|
84276
|
-
BCChangeOfOfficeAddressesFormControls2["AnnualReportReminder"] = "annualReportReminder";
|
|
84277
|
-
BCChangeOfOfficeAddressesFormControls2["CurrentMailingAddress"] = "currentMailingAddress";
|
|
84278
|
-
BCChangeOfOfficeAddressesFormControls2["CurrentDeliveryAddress"] = "currentDeliveryAddress";
|
|
84279
|
-
BCChangeOfOfficeAddressesFormControls2["NewMailingAddress"] = "newMailingAddress";
|
|
84280
|
-
BCChangeOfOfficeAddressesFormControls2["NewDeliveryAddress"] = "newDeliveryAddress";
|
|
84281
|
-
BCChangeOfOfficeAddressesFormControls2["DeliverySameAsMailing"] = "deliverySameAsMailing";
|
|
84282
|
-
BCChangeOfOfficeAddressesFormControls2["SameAsRegisteredOffice"] = "sameAsRegisteredOffice";
|
|
84283
|
-
BCChangeOfOfficeAddressesFormControls2["AddressLine1"] = "addressLine1";
|
|
84284
|
-
BCChangeOfOfficeAddressesFormControls2["AddressLine2"] = "addressLine2";
|
|
84285
|
-
BCChangeOfOfficeAddressesFormControls2["City"] = "city";
|
|
84286
|
-
BCChangeOfOfficeAddressesFormControls2["PostalCode"] = "postalCode";
|
|
84287
|
-
BCChangeOfOfficeAddressesFormControls2["Province"] = "province";
|
|
84288
|
-
BCChangeOfOfficeAddressesFormControls2["Country"] = "country";
|
|
84289
|
-
})(BCChangeOfOfficeAddressesFormControls || (BCChangeOfOfficeAddressesFormControls = {}));
|
|
84290
|
-
(function(BCChangeOfOfficeAddressesFormGroups2) {
|
|
84291
|
-
BCChangeOfOfficeAddressesFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84292
|
-
BCChangeOfOfficeAddressesFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84293
|
-
BCChangeOfOfficeAddressesFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
|
|
84294
|
-
BCChangeOfOfficeAddressesFormGroups2["RecordsOfficeAddress"] = "Records Office Address";
|
|
84295
|
-
BCChangeOfOfficeAddressesFormGroups2["AnnualReportReminder"] = "Annual Report Reminder";
|
|
84296
|
-
})(BCChangeOfOfficeAddressesFormGroups || (BCChangeOfOfficeAddressesFormGroups = {}));
|
|
84297
84258
|
(function(BCFormationFormGroups2) {
|
|
84298
84259
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84299
84260
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
@@ -84878,32 +84839,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84878
84839
|
const value = registryId?.trim() ?? "";
|
|
84879
84840
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
84880
84841
|
}
|
|
84881
|
-
/**
|
|
84882
|
-
* Athennian stores one address per `location_type` ("Mailing", "Delivery", …).
|
|
84883
|
-
* Falls back to the first address so both lines render when only one exists.
|
|
84884
|
-
*/
|
|
84842
|
+
/** Athennian stores one address per `location_type` ("Mailing", "Delivery", …). */
|
|
84885
84843
|
static pickAddress(addresses, locationType) {
|
|
84886
84844
|
if (!addresses?.length) {
|
|
84887
84845
|
return void 0;
|
|
84888
84846
|
}
|
|
84889
|
-
return addresses.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase())
|
|
84847
|
+
return addresses.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase());
|
|
84890
84848
|
}
|
|
84891
84849
|
};
|
|
84892
84850
|
}
|
|
84893
84851
|
});
|
|
84894
84852
|
|
|
84895
84853
|
// src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts
|
|
84896
|
-
function notInFuture() {
|
|
84897
|
-
return (control) => {
|
|
84898
|
-
if (!control.value) {
|
|
84899
|
-
return null;
|
|
84900
|
-
}
|
|
84901
|
-
const value = new Date(control.value);
|
|
84902
|
-
const today = /* @__PURE__ */ new Date();
|
|
84903
|
-
today.setHours(23, 59, 59, 999);
|
|
84904
|
-
return value > today ? { futureDate: true } : null;
|
|
84905
|
-
};
|
|
84906
|
-
}
|
|
84907
84854
|
var Controls, BritishColumbiaChangeOfDirectorsFormHelper;
|
|
84908
84855
|
var init_british_columbia_change_of_directors_form_helper = __esm({
|
|
84909
84856
|
"src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts"() {
|
|
@@ -84925,13 +84872,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84925
84872
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84926
84873
|
const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84927
84874
|
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84875
|
+
const effectiveDate = task._ext._effective_date ?? "";
|
|
84928
84876
|
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84929
84877
|
const config2 = {};
|
|
84930
84878
|
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number, delta?.referenceNumbers?.referenceNumber);
|
|
84931
84879
|
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84932
84880
|
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84933
84881
|
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
84934
|
-
[Controls.CompanyEmail]:
|
|
84882
|
+
[Controls.CompanyEmail]: new FormControl(companyEmail, [Validators.required, Validators.email])
|
|
84935
84883
|
});
|
|
84936
84884
|
const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
|
|
84937
84885
|
const incoming = task.incomingAffiliations ?? [];
|
|
@@ -84940,10 +84888,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84940
84888
|
const hasAddOrCease = ceasedIds.size > 0 || incoming.filter(isDirector).length > 0;
|
|
84941
84889
|
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84942
84890
|
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84943
|
-
[Controls.ChangeDate]:
|
|
84944
|
-
requiredIfValue(Controls.DirectorsAddedOrDeleted, true),
|
|
84945
|
-
notInFuture()
|
|
84946
|
-
]),
|
|
84891
|
+
[Controls.ChangeDate]: this.readOnly(effectiveDate),
|
|
84947
84892
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84948
84893
|
});
|
|
84949
84894
|
const currentDirectorKeys = this.getCurrentDirectorKeys(currentDataExtract);
|
|
@@ -85082,215 +85027,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85082
85027
|
}
|
|
85083
85028
|
});
|
|
85084
85029
|
|
|
85085
|
-
// src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts
|
|
85086
|
-
var Controls2, COMPANY_EMAIL_TYPES, isCompanyEmail, incomingAddressByGrid, EDITABLE_ADDRESS_CONTROLS, BritishColumbiaChangeOfOfficeAddressesFormHelper;
|
|
85087
|
-
var init_british_columbia_change_of_office_addresses_form_helper = __esm({
|
|
85088
|
-
"src/app/helpers/british-columbia/change-of-office-addresses/british-columbia-change-of-office-addresses-form.helper.ts"() {
|
|
85089
|
-
init_forms();
|
|
85090
|
-
init_common_models();
|
|
85091
|
-
init_british_columbia_form_enums();
|
|
85092
|
-
init_BritishColumbiaConstants();
|
|
85093
|
-
init_british_columbia_formation_form_helper();
|
|
85094
|
-
init_BritishColumbiaConstants();
|
|
85095
|
-
init_common_utils();
|
|
85096
|
-
Controls2 = BCChangeOfOfficeAddressesFormControls;
|
|
85097
|
-
COMPANY_EMAIL_TYPES = ["Business Email", "Email"];
|
|
85098
|
-
isCompanyEmail = (communication) => Boolean(communication?.value) && COMPANY_EMAIL_TYPES.includes(communication?.type ?? "");
|
|
85099
|
-
incomingAddressByGrid = /* @__PURE__ */ new WeakMap();
|
|
85100
|
-
EDITABLE_ADDRESS_CONTROLS = [
|
|
85101
|
-
Controls2.AddressLine1,
|
|
85102
|
-
Controls2.AddressLine2,
|
|
85103
|
-
Controls2.City,
|
|
85104
|
-
Controls2.PostalCode
|
|
85105
|
-
];
|
|
85106
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper = class {
|
|
85107
|
-
static generateConfig(task, _translateFn) {
|
|
85108
|
-
const affiliations = task.entity.affiliations ?? [];
|
|
85109
|
-
const delta = task.deltaData;
|
|
85110
|
-
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
85111
|
-
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
85112
|
-
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85113
|
-
const recordsOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
85114
|
-
const seed = delta?.registeredOffice ? delta : this.seedFromIncomingAffiliations(task);
|
|
85115
|
-
const config2 = {};
|
|
85116
|
-
config2[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
85117
|
-
config2[BCChangeOfOfficeAddressesFormGroups.CorporationDetails] = new FormGroup({
|
|
85118
|
-
[Controls2.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
85119
|
-
[Controls2.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
85120
|
-
[Controls2.CompanyEmail]: new FormControl(delta?.companyEmail || this.resolveCompanyEmail(task), Validators.required)
|
|
85121
|
-
});
|
|
85122
|
-
config2[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder] = new FormGroup({
|
|
85123
|
-
[Controls2.AnnualReportReminder]: new FormControl(delta?.annualReportReminder ?? BCAnnualReportReminder.Yes, Validators.required)
|
|
85124
|
-
});
|
|
85125
|
-
const incoming = this.incomingOfficeAddresses(task);
|
|
85126
|
-
const regDeliverySame = seed.registeredOffice?.deliverySameAsMailing ?? true;
|
|
85127
|
-
config2[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress] = new FormGroup({
|
|
85128
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Mailing"))),
|
|
85129
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(registeredOffice?.addresses, "Delivery"))),
|
|
85130
|
-
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.mailingAddress, true),
|
|
85131
|
-
[Controls2.DeliverySameAsMailing]: new FormControl(regDeliverySame),
|
|
85132
|
-
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.registeredOffice?.deliveryAddress, !regDeliverySame)
|
|
85133
|
-
});
|
|
85134
|
-
const recSameAsRegistered = seed.recordsOffice?.sameAsRegisteredOffice ?? true;
|
|
85135
|
-
const recDeliverySame = seed.recordsOffice?.deliverySameAsMailing ?? true;
|
|
85136
|
-
config2[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress] = new FormGroup({
|
|
85137
|
-
[Controls2.CurrentMailingAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Mailing"))),
|
|
85138
|
-
[Controls2.CurrentDeliveryAddress]: this.readOnly(format(pick(recordsOffice?.addresses, "Delivery"))),
|
|
85139
|
-
[Controls2.SameAsRegisteredOffice]: new FormControl(recSameAsRegistered),
|
|
85140
|
-
[Controls2.NewMailingAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.mailingAddress, !recSameAsRegistered),
|
|
85141
|
-
[Controls2.DeliverySameAsMailing]: new FormControl(recDeliverySame),
|
|
85142
|
-
[Controls2.NewDeliveryAddress]: this.createOfficeAddressFormGroup(seed.recordsOffice?.deliveryAddress, !recSameAsRegistered && !recDeliverySame)
|
|
85143
|
-
});
|
|
85144
|
-
const grid = (group2, control) => config2[group2].get(control);
|
|
85145
|
-
const register = (target, address) => address && incomingAddressByGrid.set(target, address);
|
|
85146
|
-
register(grid(BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress, Controls2.NewDeliveryAddress), incoming.regDelivery);
|
|
85147
|
-
register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewMailingAddress), incoming.recMailing);
|
|
85148
|
-
register(grid(BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress, Controls2.NewDeliveryAddress), incoming.recDelivery);
|
|
85149
|
-
return config2;
|
|
85150
|
-
}
|
|
85151
|
-
/** The company email choices: the entity's email options, plus the resolved default if it isn't one. */
|
|
85152
|
-
static getCompanyEmailOptions(task) {
|
|
85153
|
-
const values = (task.entity.emailOptions ?? []).filter(isCompanyEmail).map((o) => o.value);
|
|
85154
|
-
const fallback = this.resolveCompanyEmail(task);
|
|
85155
|
-
return [...new Set(fallback ? [...values, fallback] : values)].map((value) => ({
|
|
85156
|
-
value,
|
|
85157
|
-
label: value
|
|
85158
|
-
}));
|
|
85159
|
-
}
|
|
85160
|
-
/**
|
|
85161
|
-
* Pre-fills the new addresses from the task's incoming "Shared Address" affiliations (Registered
|
|
85162
|
-
* Office / Records Office), taking each Mailing / Delivery address from the affiliation or, when
|
|
85163
|
-
* it has none, from its parent affiliation. Nothing is pre-filled without an incoming address.
|
|
85164
|
-
*/
|
|
85165
|
-
static seedFromIncomingAffiliations(task) {
|
|
85166
|
-
const { regMailing, regDelivery, recMailing, recDelivery } = this.incomingOfficeAddresses(task);
|
|
85167
|
-
if (!regMailing && !recMailing) {
|
|
85168
|
-
return {};
|
|
85169
|
-
}
|
|
85170
|
-
const regDeliverySame = !regDelivery || this.isSameOfficeAddress(regDelivery, regMailing);
|
|
85171
|
-
const recDeliverySame = !recDelivery || this.isSameOfficeAddress(recDelivery, recMailing);
|
|
85172
|
-
const recSameAsRegistered = !recMailing || this.isSameOfficeAddress(recMailing, regMailing) && this.isSameOfficeAddress(recDelivery ?? recMailing, regDelivery ?? regMailing);
|
|
85173
|
-
return {
|
|
85174
|
-
registeredOffice: {
|
|
85175
|
-
mailingAddress: regMailing,
|
|
85176
|
-
deliverySameAsMailing: regDeliverySame,
|
|
85177
|
-
deliveryAddress: regDeliverySame ? void 0 : regDelivery
|
|
85178
|
-
},
|
|
85179
|
-
recordsOffice: {
|
|
85180
|
-
sameAsRegisteredOffice: recSameAsRegistered,
|
|
85181
|
-
mailingAddress: recSameAsRegistered ? void 0 : recMailing,
|
|
85182
|
-
deliverySameAsMailing: recDeliverySame,
|
|
85183
|
-
deliveryAddress: recDeliverySame ? void 0 : recDelivery
|
|
85184
|
-
}
|
|
85185
|
-
};
|
|
85186
|
-
}
|
|
85187
|
-
/** The four office addresses of the task's incoming Shared Address, as form values. */
|
|
85188
|
-
static incomingOfficeAddresses(task) {
|
|
85189
|
-
const incoming = task.incomingAffiliations ?? [];
|
|
85190
|
-
const pickBy = (title, locationType) => {
|
|
85191
|
-
const affiliation = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(incoming, title);
|
|
85192
|
-
const pool = affiliation?.addresses?.length ? affiliation.addresses : affiliation?.parent_affiliation?.addresses;
|
|
85193
|
-
const address = pool?.find((a) => (a.computed_location_type ?? a.location_type)?.toLowerCase() === locationType.toLowerCase());
|
|
85194
|
-
return address ? this.toOfficeAddressDelta(address) : void 0;
|
|
85195
|
-
};
|
|
85196
|
-
return {
|
|
85197
|
-
regMailing: pickBy(AddressTitle2.REGISTERED_OFFICE, "Mailing"),
|
|
85198
|
-
regDelivery: pickBy(AddressTitle2.REGISTERED_OFFICE, "Delivery"),
|
|
85199
|
-
recMailing: pickBy(AddressTitle2.RECORDS_OFFICE, "Mailing"),
|
|
85200
|
-
recDelivery: pickBy(AddressTitle2.RECORDS_OFFICE, "Delivery")
|
|
85201
|
-
};
|
|
85202
|
-
}
|
|
85203
|
-
/** Street = street number + street name; the suite goes to Address Line 2. */
|
|
85204
|
-
static toOfficeAddressDelta(address) {
|
|
85205
|
-
const street = [getAddressComponent(address, "Street Number Only"), getAddressComponent(address, "Street Only")].filter(Boolean).join(" ") || address.street || "";
|
|
85206
|
-
return {
|
|
85207
|
-
addressLine1: street,
|
|
85208
|
-
addressLine2: getAddressComponent(address, "Suite/Apartment"),
|
|
85209
|
-
city: address.city ?? "",
|
|
85210
|
-
postalCode: address.postal_zip ?? "",
|
|
85211
|
-
province: BC_DEFAULT_PROVINCE_STATE,
|
|
85212
|
-
country: BC_DEFAULT_COUNTRY
|
|
85213
|
-
};
|
|
85214
|
-
}
|
|
85215
|
-
static isSameOfficeAddress(a, b) {
|
|
85216
|
-
const key = (x) => [x?.addressLine1, x?.addressLine2, x?.city, x?.postalCode].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
|
|
85217
|
-
return key(a) === key(b);
|
|
85218
|
-
}
|
|
85219
|
-
/**
|
|
85220
|
-
* The company's email: the entity's email options, then the Registered Office's email, then the
|
|
85221
|
-
* entity's own, then any other address of the entity (e.g. a Head Office). Only a Business Email
|
|
85222
|
-
* or an Email counts; a Personal Email never does.
|
|
85223
|
-
*/
|
|
85224
|
-
static resolveCompanyEmail(task) {
|
|
85225
|
-
const affiliations = task.entity.affiliations ?? [];
|
|
85226
|
-
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
85227
|
-
return task.entity.emailOptions?.find(isCompanyEmail)?.value || registeredOffice?.addresses?.[0]?.communications?.find(isCompanyEmail)?.value || task.entity.communications?.find(isCompanyEmail)?.value || task.entity.addresses?.flatMap((a) => a.communications ?? []).find(isCompanyEmail)?.value || "";
|
|
85228
|
-
}
|
|
85229
|
-
/**
|
|
85230
|
-
* Address Line 1*, Address Line 2, City*, Postal Code*, Province (BC), Country (Canada).
|
|
85231
|
-
* Province and Country are always disabled; the rest follow `enabled`.
|
|
85232
|
-
*/
|
|
85233
|
-
static createOfficeAddressFormGroup(delta, enabled = true) {
|
|
85234
|
-
const group2 = new FormGroup({
|
|
85235
|
-
[Controls2.AddressLine1]: new FormControl(delta?.addressLine1 ?? "", Validators.required),
|
|
85236
|
-
[Controls2.AddressLine2]: new FormControl(delta?.addressLine2 ?? ""),
|
|
85237
|
-
[Controls2.City]: new FormControl(delta?.city ?? "", Validators.required),
|
|
85238
|
-
[Controls2.PostalCode]: new FormControl(delta?.postalCode ?? "", Validators.required),
|
|
85239
|
-
[Controls2.Province]: this.readOnly(delta?.province ?? BC_DEFAULT_PROVINCE_STATE),
|
|
85240
|
-
[Controls2.Country]: this.readOnly(delta?.country ?? BC_DEFAULT_COUNTRY)
|
|
85241
|
-
});
|
|
85242
|
-
this.setOfficeAddressEnabled(group2, enabled);
|
|
85243
|
-
return group2;
|
|
85244
|
-
}
|
|
85245
|
-
/**
|
|
85246
|
-
* Enables or disables the editable controls of an address grid (used by "Same as…" checkboxes).
|
|
85247
|
-
* Hiding a grid also clears it. Showing it again refills it with the address Athennian sent for
|
|
85248
|
-
* it, or leaves it empty when there is none (and when the user has already typed something).
|
|
85249
|
-
*/
|
|
85250
|
-
static setOfficeAddressEnabled(group2, enabled) {
|
|
85251
|
-
if (!group2) {
|
|
85252
|
-
return;
|
|
85253
|
-
}
|
|
85254
|
-
const restore = incomingAddressByGrid.get(group2);
|
|
85255
|
-
const isEmpty = EDITABLE_ADDRESS_CONTROLS.every((name) => !group2.get(name)?.value);
|
|
85256
|
-
EDITABLE_ADDRESS_CONTROLS.forEach((name) => {
|
|
85257
|
-
const control = group2.get(name);
|
|
85258
|
-
if (enabled) {
|
|
85259
|
-
control?.enable({ emitEvent: false });
|
|
85260
|
-
if (restore && isEmpty) {
|
|
85261
|
-
control?.setValue(restore[name] ?? "", { emitEvent: false });
|
|
85262
|
-
}
|
|
85263
|
-
} else {
|
|
85264
|
-
control?.setValue("", { emitEvent: false });
|
|
85265
|
-
control?.disable({ emitEvent: false });
|
|
85266
|
-
}
|
|
85267
|
-
});
|
|
85268
|
-
group2.updateValueAndValidity({ emitEvent: false });
|
|
85269
|
-
}
|
|
85270
|
-
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
85271
|
-
return new FormGroup({
|
|
85272
|
-
[Controls2.ClientMatterNumber]: new FormControl(
|
|
85273
|
-
// `??`: an explicitly cleared value ('') in a saved draft must be preserved; the entity default applies only when absent.
|
|
85274
|
-
deltaData?.referenceNumber ?? clientMatterNumber ?? ""
|
|
85275
|
-
),
|
|
85276
|
-
[Controls2.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
85277
|
-
});
|
|
85278
|
-
}
|
|
85279
|
-
static readOnly(value) {
|
|
85280
|
-
return new FormControl({ value: value ?? "", disabled: true });
|
|
85281
|
-
}
|
|
85282
|
-
};
|
|
85283
|
-
}
|
|
85284
|
-
});
|
|
85285
|
-
|
|
85286
85030
|
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85287
|
-
var
|
|
85031
|
+
var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85288
85032
|
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85289
85033
|
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85290
85034
|
init_form_enums();
|
|
85291
85035
|
init_british_columbia_form_enums();
|
|
85292
85036
|
init_BritishColumbiaConstants();
|
|
85293
|
-
|
|
85037
|
+
Controls2 = BCChangeOfDirectorsFormControls;
|
|
85294
85038
|
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85295
85039
|
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85296
85040
|
type: FormType.Text,
|
|
@@ -85298,24 +85042,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85298
85042
|
class: className,
|
|
85299
85043
|
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85300
85044
|
});
|
|
85301
|
-
directorsAddedOrDeleted = (form) => Boolean(form.get(
|
|
85302
|
-
isNotifyByMail = (form) => form.get(
|
|
85045
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
|
|
85046
|
+
isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85303
85047
|
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85304
85048
|
{
|
|
85305
85049
|
type: FormType.Input,
|
|
85306
85050
|
label: "Client/Matter Number",
|
|
85307
|
-
formControlName:
|
|
85051
|
+
formControlName: Controls2.ClientMatterNumber
|
|
85308
85052
|
},
|
|
85309
85053
|
{
|
|
85310
85054
|
type: FormType.Input,
|
|
85311
85055
|
label: "Docket Number",
|
|
85312
|
-
formControlName:
|
|
85056
|
+
formControlName: Controls2.DocketNumber
|
|
85313
85057
|
}
|
|
85314
85058
|
];
|
|
85315
85059
|
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85316
|
-
readOnlyRow("Corporation Name",
|
|
85317
|
-
readOnlyRow("Incorporation Number",
|
|
85318
|
-
|
|
85060
|
+
readOnlyRow("Corporation Name", Controls2.CorporationName),
|
|
85061
|
+
readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
|
|
85062
|
+
{
|
|
85063
|
+
type: FormType.Select,
|
|
85064
|
+
label: "Company Email",
|
|
85065
|
+
formControlName: Controls2.CompanyEmail,
|
|
85066
|
+
required: true,
|
|
85067
|
+
options: [],
|
|
85068
|
+
class: "span-12"
|
|
85069
|
+
}
|
|
85319
85070
|
];
|
|
85320
85071
|
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85321
85072
|
{
|
|
@@ -85327,24 +85078,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85327
85078
|
{
|
|
85328
85079
|
type: FormType.Checkbox,
|
|
85329
85080
|
label: "Directors will be added and/or deleted as part of this filing",
|
|
85330
|
-
formControlName:
|
|
85081
|
+
formControlName: Controls2.DirectorsAddedOrDeleted,
|
|
85331
85082
|
class: "span-12",
|
|
85332
85083
|
onChange: (form) => {
|
|
85333
|
-
|
|
85334
|
-
form.get(Controls3.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85335
|
-
}
|
|
85336
|
-
form.get(Controls3.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85084
|
+
form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85337
85085
|
}
|
|
85338
85086
|
},
|
|
85339
|
-
{
|
|
85340
|
-
|
|
85341
|
-
|
|
85342
|
-
|
|
85343
|
-
required: true,
|
|
85344
|
-
isVisible: directorsAddedOrDeleted,
|
|
85345
|
-
class: "span-8"
|
|
85346
|
-
},
|
|
85347
|
-
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls3.FilingFee, "span-4")), {
|
|
85087
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Date Directors were added or deleted", Controls2.ChangeDate, "span-8")), {
|
|
85088
|
+
isVisible: directorsAddedOrDeleted
|
|
85089
|
+
}),
|
|
85090
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
|
|
85348
85091
|
isVisible: directorsAddedOrDeleted
|
|
85349
85092
|
}),
|
|
85350
85093
|
{
|
|
@@ -85356,34 +85099,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85356
85099
|
}
|
|
85357
85100
|
];
|
|
85358
85101
|
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85359
|
-
readOnlyRow("Mailing Address - Full Address",
|
|
85360
|
-
readOnlyRow("Delivery Address - Full Address",
|
|
85102
|
+
readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
|
|
85103
|
+
readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
|
|
85361
85104
|
];
|
|
85362
85105
|
[
|
|
85363
85106
|
{
|
|
85364
85107
|
type: FormType.Select,
|
|
85365
85108
|
label: "Notification Method",
|
|
85366
|
-
formControlName:
|
|
85109
|
+
formControlName: Controls2.NotificationMethod,
|
|
85367
85110
|
required: true,
|
|
85368
85111
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85369
85112
|
needTranslate: true,
|
|
85370
85113
|
class: "span-6",
|
|
85371
|
-
onChange: (form) => form.get(
|
|
85114
|
+
onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85372
85115
|
},
|
|
85373
85116
|
{
|
|
85374
85117
|
type: FormType.Input,
|
|
85375
85118
|
label: "Notification Email",
|
|
85376
|
-
formControlName:
|
|
85119
|
+
formControlName: Controls2.NotificationEmail,
|
|
85377
85120
|
required: true,
|
|
85378
85121
|
isVisible: (form) => !isNotifyByMail(form),
|
|
85379
85122
|
class: "column-3"
|
|
85380
85123
|
},
|
|
85381
85124
|
{
|
|
85382
85125
|
type: FormType.Text,
|
|
85383
|
-
formControlName:
|
|
85126
|
+
formControlName: Controls2.NotificationMailingAddress,
|
|
85384
85127
|
class: "span-12",
|
|
85385
85128
|
isVisible: isNotifyByMail,
|
|
85386
|
-
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(
|
|
85129
|
+
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls2.NotificationMailingAddress)?.value || t("Not specified")})`
|
|
85387
85130
|
}
|
|
85388
85131
|
];
|
|
85389
85132
|
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
@@ -85396,7 +85139,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85396
85139
|
{
|
|
85397
85140
|
type: FormType.Select,
|
|
85398
85141
|
label: "Annual Report Reminder",
|
|
85399
|
-
formControlName:
|
|
85142
|
+
formControlName: Controls2.AnnualReportReminder,
|
|
85400
85143
|
required: true,
|
|
85401
85144
|
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85402
85145
|
needTranslate: true,
|
|
@@ -85409,7 +85152,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85409
85152
|
// src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
|
|
85410
85153
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
|
|
85411
85154
|
if (rf & 1) {
|
|
85412
|
-
\u0275\u0275element(0, "alert",
|
|
85155
|
+
\u0275\u0275element(0, "alert", 1);
|
|
85413
85156
|
}
|
|
85414
85157
|
if (rf & 2) {
|
|
85415
85158
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85418,7 +85161,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85418
85161
|
}
|
|
85419
85162
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
|
|
85420
85163
|
if (rf & 1) {
|
|
85421
|
-
\u0275\u0275element(0, "alert",
|
|
85164
|
+
\u0275\u0275element(0, "alert", 2);
|
|
85422
85165
|
}
|
|
85423
85166
|
if (rf & 2) {
|
|
85424
85167
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85428,7 +85171,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85428
85171
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85429
85172
|
if (rf & 1) {
|
|
85430
85173
|
const _r2 = \u0275\u0275getCurrentView();
|
|
85431
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85174
|
+
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "filing-form-group", 9);
|
|
85432
85175
|
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85433
85176
|
\u0275\u0275restoreView(_r2);
|
|
85434
85177
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
@@ -85446,7 +85189,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85446
85189
|
}
|
|
85447
85190
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85448
85191
|
if (rf & 1) {
|
|
85449
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85192
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 10)(2, "p")(3, "strong");
|
|
85450
85193
|
\u0275\u0275text(4);
|
|
85451
85194
|
\u0275\u0275pipe(5, "translate");
|
|
85452
85195
|
\u0275\u0275elementEnd();
|
|
@@ -85458,97 +85201,63 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85458
85201
|
\u0275\u0275elementEnd();
|
|
85459
85202
|
\u0275\u0275text(11);
|
|
85460
85203
|
\u0275\u0275elementEnd();
|
|
85461
|
-
\u0275\
|
|
85462
|
-
\u0275\
|
|
85463
|
-
\u0275\u0275pipe(15, "translate");
|
|
85464
|
-
\u0275\u0275elementEnd();
|
|
85465
|
-
\u0275\u0275text(16);
|
|
85466
|
-
\u0275\u0275elementEnd()()();
|
|
85204
|
+
\u0275\u0275element(12, "filing-form-group", 11);
|
|
85205
|
+
\u0275\u0275elementEnd()();
|
|
85467
85206
|
}
|
|
85468
85207
|
if (rf & 2) {
|
|
85469
85208
|
let tmp_9_0;
|
|
85470
85209
|
let tmp_11_0;
|
|
85471
|
-
let tmp_13_0;
|
|
85472
85210
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85473
85211
|
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
85474
85212
|
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85475
85213
|
\u0275\u0275advance(4);
|
|
85476
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5,
|
|
85214
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Corporation Name"), ":");
|
|
85477
85215
|
\u0275\u0275advance(2);
|
|
85478
85216
|
\u0275\u0275textInterpolate1(" ", (tmp_9_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_9_0.value, " ");
|
|
85479
85217
|
\u0275\u0275advance(3);
|
|
85480
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10,
|
|
85218
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 11, "Incorporation Number"), ":");
|
|
85481
85219
|
\u0275\u0275advance(2);
|
|
85482
85220
|
\u0275\u0275textInterpolate1(" ", (tmp_11_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_11_0.value, " ");
|
|
85483
|
-
\u0275\u0275advance(
|
|
85484
|
-
\u0275\
|
|
85485
|
-
\u0275\u0275advance(2);
|
|
85486
|
-
\u0275\u0275textInterpolate1(" ", (tmp_13_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_13_0.value, " ");
|
|
85221
|
+
\u0275\u0275advance();
|
|
85222
|
+
\u0275\u0275property("form", corporationDetails_r4)("config", ctx_r0.companyEmailFields())("isSubmitted", ctx_r0.isSubmitted());
|
|
85487
85223
|
}
|
|
85488
85224
|
}
|
|
85489
85225
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85490
85226
|
if (rf & 1) {
|
|
85491
|
-
const _r7 = \u0275\u0275getCurrentView();
|
|
85492
85227
|
\u0275\u0275elementStart(0, "div", 15)(1, "div", 16)(2, "label");
|
|
85493
85228
|
\u0275\u0275text(3);
|
|
85494
85229
|
\u0275\u0275pipe(4, "translate");
|
|
85495
|
-
\u0275\u0275elementStart(5, "span");
|
|
85496
|
-
\u0275\u0275text(6, "*");
|
|
85497
|
-
\u0275\u0275elementEnd()();
|
|
85498
|
-
\u0275\u0275elementStart(7, "mat-form-field", 17)(8, "input", 18);
|
|
85499
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
|
|
85500
|
-
\u0275\u0275restoreView(_r7);
|
|
85501
|
-
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85502
|
-
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85503
|
-
})("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
|
|
85504
|
-
\u0275\u0275restoreView(_r7);
|
|
85505
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85506
|
-
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85507
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85508
|
-
});
|
|
85509
|
-
\u0275\u0275elementEnd();
|
|
85510
|
-
\u0275\u0275elementStart(9, "button", 19);
|
|
85511
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_button_click_9_listener() {
|
|
85512
|
-
\u0275\u0275restoreView(_r7);
|
|
85513
|
-
const changeDatePicker_r8 = \u0275\u0275reference(12);
|
|
85514
|
-
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85515
|
-
});
|
|
85516
|
-
\u0275\u0275element(10, "span", 20);
|
|
85517
|
-
\u0275\u0275elementEnd();
|
|
85518
|
-
\u0275\u0275element(11, "mat-datepicker", null, 0);
|
|
85519
85230
|
\u0275\u0275elementEnd();
|
|
85520
|
-
\u0275\u0275elementStart(
|
|
85521
|
-
\u0275\u0275text(
|
|
85522
|
-
\u0275\u0275pipe(
|
|
85231
|
+
\u0275\u0275elementStart(5, "p", 17);
|
|
85232
|
+
\u0275\u0275text(6);
|
|
85233
|
+
\u0275\u0275pipe(7, "translate");
|
|
85523
85234
|
\u0275\u0275elementEnd()();
|
|
85524
|
-
\u0275\u0275elementStart(
|
|
85525
|
-
\u0275\u0275text(
|
|
85526
|
-
\u0275\u0275pipe(
|
|
85235
|
+
\u0275\u0275elementStart(8, "p", 18)(9, "strong");
|
|
85236
|
+
\u0275\u0275text(10);
|
|
85237
|
+
\u0275\u0275pipe(11, "translate");
|
|
85527
85238
|
\u0275\u0275elementEnd();
|
|
85528
|
-
\u0275\u0275text(
|
|
85239
|
+
\u0275\u0275text(12);
|
|
85529
85240
|
\u0275\u0275elementEnd()();
|
|
85530
85241
|
}
|
|
85531
85242
|
if (rf & 2) {
|
|
85532
|
-
let
|
|
85533
|
-
|
|
85243
|
+
let tmp_7_0;
|
|
85244
|
+
let tmp_10_0;
|
|
85534
85245
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85535
85246
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85536
85247
|
\u0275\u0275advance(3);
|
|
85537
|
-
\u0275\
|
|
85538
|
-
\u0275\u0275advance(
|
|
85539
|
-
\u0275\
|
|
85540
|
-
\u0275\u0275advance(6);
|
|
85541
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(15, 8, "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."), " ");
|
|
85248
|
+
\u0275\u0275textInterpolate2(" ", \u0275\u0275pipeBind1(4, 5, "Date Directors were added or deleted"), ": ", ctx_r0.getEffectiveDateDisplay((tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.value), " ");
|
|
85249
|
+
\u0275\u0275advance(3);
|
|
85250
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(7, 7, "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."), " ");
|
|
85542
85251
|
\u0275\u0275advance(4);
|
|
85543
|
-
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(
|
|
85252
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(11, 9, "Filing Fee"), ":");
|
|
85544
85253
|
\u0275\u0275advance(2);
|
|
85545
|
-
\u0275\u0275textInterpolate1(" ", (
|
|
85254
|
+
\u0275\u0275textInterpolate1(" ", (tmp_10_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_10_0.value, " ");
|
|
85546
85255
|
}
|
|
85547
85256
|
}
|
|
85548
85257
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85549
85258
|
if (rf & 1) {
|
|
85550
85259
|
const _r5 = \u0275\u0275getCurrentView();
|
|
85551
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85260
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 12)(2, "div", 13)(3, "strong");
|
|
85552
85261
|
\u0275\u0275text(4);
|
|
85553
85262
|
\u0275\u0275pipe(5, "translate");
|
|
85554
85263
|
\u0275\u0275elementEnd();
|
|
@@ -85558,18 +85267,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85558
85267
|
\u0275\u0275elementStart(8, "mat-checkbox", 14);
|
|
85559
85268
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85560
85269
|
let tmp_7_0;
|
|
85561
|
-
let tmp_8_0;
|
|
85562
85270
|
\u0275\u0275restoreView(_r5);
|
|
85563
85271
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85564
85272
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85565
|
-
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.
|
|
85566
|
-
(tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85273
|
+
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.updateValueAndValidity({ emitEvent: false });
|
|
85567
85274
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85568
85275
|
});
|
|
85569
85276
|
\u0275\u0275text(9);
|
|
85570
85277
|
\u0275\u0275pipe(10, "translate");
|
|
85571
85278
|
\u0275\u0275elementEnd();
|
|
85572
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template,
|
|
85279
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 13, 11, "div", 15);
|
|
85573
85280
|
\u0275\u0275elementEnd()();
|
|
85574
85281
|
}
|
|
85575
85282
|
if (rf & 2) {
|
|
@@ -85593,7 +85300,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85593
85300
|
}
|
|
85594
85301
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85595
85302
|
if (rf & 1) {
|
|
85596
|
-
\u0275\u0275elementStart(0, "span",
|
|
85303
|
+
\u0275\u0275elementStart(0, "span", 23);
|
|
85597
85304
|
\u0275\u0275text(1);
|
|
85598
85305
|
\u0275\u0275pipe(2, "translate");
|
|
85599
85306
|
\u0275\u0275elementEnd();
|
|
@@ -85605,7 +85312,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85605
85312
|
}
|
|
85606
85313
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85607
85314
|
if (rf & 1) {
|
|
85608
|
-
\u0275\u0275elementStart(0, "span",
|
|
85315
|
+
\u0275\u0275elementStart(0, "span", 24);
|
|
85609
85316
|
\u0275\u0275text(1);
|
|
85610
85317
|
\u0275\u0275pipe(2, "translate");
|
|
85611
85318
|
\u0275\u0275elementEnd();
|
|
@@ -85617,15 +85324,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85617
85324
|
}
|
|
85618
85325
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template(rf, ctx) {
|
|
85619
85326
|
if (rf & 1) {
|
|
85620
|
-
\u0275\u0275elementStart(0, "div",
|
|
85327
|
+
\u0275\u0275elementStart(0, "div", 21)(1, "div", 22)(2, "strong");
|
|
85621
85328
|
\u0275\u0275text(3);
|
|
85622
85329
|
\u0275\u0275elementEnd();
|
|
85623
|
-
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span",
|
|
85330
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 23)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 24);
|
|
85624
85331
|
\u0275\u0275elementEnd();
|
|
85625
|
-
\u0275\u0275elementStart(6, "div",
|
|
85332
|
+
\u0275\u0275elementStart(6, "div", 22);
|
|
85626
85333
|
\u0275\u0275text(7);
|
|
85627
85334
|
\u0275\u0275elementEnd();
|
|
85628
|
-
\u0275\u0275elementStart(8, "div",
|
|
85335
|
+
\u0275\u0275elementStart(8, "div", 22);
|
|
85629
85336
|
\u0275\u0275text(9);
|
|
85630
85337
|
\u0275\u0275elementEnd()();
|
|
85631
85338
|
}
|
|
@@ -85634,43 +85341,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85634
85341
|
let tmp_22_0;
|
|
85635
85342
|
let tmp_23_0;
|
|
85636
85343
|
\u0275\u0275nextContext();
|
|
85637
|
-
const
|
|
85344
|
+
const directorForm_r7 = \u0275\u0275readContextLet(0);
|
|
85638
85345
|
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85639
85346
|
\u0275\u0275advance(3);
|
|
85640
|
-
\u0275\u0275textInterpolate((tmp_19_0 =
|
|
85347
|
+
\u0275\u0275textInterpolate((tmp_19_0 = directorForm_r7.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_19_0.value);
|
|
85641
85348
|
\u0275\u0275advance();
|
|
85642
|
-
\u0275\u0275conditional(ctx_r0.isNewDirector(
|
|
85349
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r7) ? 4 : -1);
|
|
85643
85350
|
\u0275\u0275advance();
|
|
85644
|
-
\u0275\u0275conditional(ctx_r0.isCeasedDirector(
|
|
85351
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r7) ? 5 : -1);
|
|
85645
85352
|
\u0275\u0275advance(2);
|
|
85646
|
-
\u0275\u0275textInterpolate((tmp_22_0 =
|
|
85353
|
+
\u0275\u0275textInterpolate((tmp_22_0 = directorForm_r7.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_22_0.value);
|
|
85647
85354
|
\u0275\u0275advance(2);
|
|
85648
|
-
\u0275\u0275textInterpolate((tmp_23_0 =
|
|
85355
|
+
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r7.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85649
85356
|
}
|
|
85650
85357
|
}
|
|
85651
85358
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Template(rf, ctx) {
|
|
85652
85359
|
if (rf & 1) {
|
|
85653
85360
|
\u0275\u0275declareLet(0);
|
|
85654
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div",
|
|
85361
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_For_12_Conditional_1_Template, 10, 5, "div", 21);
|
|
85655
85362
|
}
|
|
85656
85363
|
if (rf & 2) {
|
|
85657
|
-
const \u0275$
|
|
85658
|
-
const
|
|
85364
|
+
const \u0275$index_97_r8 = ctx.$index;
|
|
85365
|
+
const directorForm_r9 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_97_r8));
|
|
85659
85366
|
\u0275\u0275advance();
|
|
85660
|
-
\u0275\u0275conditional(
|
|
85367
|
+
\u0275\u0275conditional(directorForm_r9 ? 1 : -1);
|
|
85661
85368
|
}
|
|
85662
85369
|
}
|
|
85663
85370
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template(rf, ctx) {
|
|
85664
85371
|
if (rf & 1) {
|
|
85665
|
-
\u0275\u0275elementStart(0, "div",
|
|
85372
|
+
\u0275\u0275elementStart(0, "div", 7)(1, "div", 19)(2, "div", 20);
|
|
85666
85373
|
\u0275\u0275text(3);
|
|
85667
85374
|
\u0275\u0275pipe(4, "translate");
|
|
85668
85375
|
\u0275\u0275elementEnd();
|
|
85669
|
-
\u0275\u0275elementStart(5, "div",
|
|
85376
|
+
\u0275\u0275elementStart(5, "div", 20);
|
|
85670
85377
|
\u0275\u0275text(6);
|
|
85671
85378
|
\u0275\u0275pipe(7, "translate");
|
|
85672
85379
|
\u0275\u0275elementEnd();
|
|
85673
|
-
\u0275\u0275elementStart(8, "div",
|
|
85380
|
+
\u0275\u0275elementStart(8, "div", 20);
|
|
85674
85381
|
\u0275\u0275text(9);
|
|
85675
85382
|
\u0275\u0275pipe(10, "translate");
|
|
85676
85383
|
\u0275\u0275elementEnd()();
|
|
@@ -85679,7 +85386,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85679
85386
|
}
|
|
85680
85387
|
if (rf & 2) {
|
|
85681
85388
|
\u0275\u0275nextContext();
|
|
85682
|
-
const
|
|
85389
|
+
const directorsArray_r10 = \u0275\u0275readContextLet(10);
|
|
85683
85390
|
\u0275\u0275advance(3);
|
|
85684
85391
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85685
85392
|
\u0275\u0275advance(3);
|
|
@@ -85687,12 +85394,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85687
85394
|
\u0275\u0275advance(3);
|
|
85688
85395
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85689
85396
|
\u0275\u0275advance(2);
|
|
85690
|
-
\u0275\u0275repeater(
|
|
85397
|
+
\u0275\u0275repeater(directorsArray_r10.controls);
|
|
85691
85398
|
}
|
|
85692
85399
|
}
|
|
85693
85400
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85694
85401
|
if (rf & 1) {
|
|
85695
|
-
\u0275\u0275elementStart(0, "h2",
|
|
85402
|
+
\u0275\u0275elementStart(0, "h2", 8);
|
|
85696
85403
|
\u0275\u0275text(1);
|
|
85697
85404
|
\u0275\u0275pipe(2, "translate");
|
|
85698
85405
|
\u0275\u0275elementEnd();
|
|
@@ -85704,33 +85411,33 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85704
85411
|
}
|
|
85705
85412
|
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85706
85413
|
if (rf & 1) {
|
|
85707
|
-
const
|
|
85708
|
-
\u0275\u0275elementStart(0, "expandable-card",
|
|
85414
|
+
const _r11 = \u0275\u0275getCurrentView();
|
|
85415
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 25)(2, "p");
|
|
85709
85416
|
\u0275\u0275text(3);
|
|
85710
85417
|
\u0275\u0275pipe(4, "translate");
|
|
85711
85418
|
\u0275\u0275elementEnd();
|
|
85712
|
-
\u0275\u0275elementStart(5, "mat-radio-group",
|
|
85419
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 26);
|
|
85713
85420
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template_mat_radio_group_change_5_listener() {
|
|
85714
|
-
\u0275\u0275restoreView(
|
|
85421
|
+
\u0275\u0275restoreView(_r11);
|
|
85715
85422
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85716
|
-
const
|
|
85717
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder",
|
|
85423
|
+
const annualReportReminder_r12 = \u0275\u0275readContextLet(14);
|
|
85424
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r12.valid));
|
|
85718
85425
|
});
|
|
85719
|
-
\u0275\u0275elementStart(6, "mat-radio-button",
|
|
85426
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 27);
|
|
85720
85427
|
\u0275\u0275text(7);
|
|
85721
85428
|
\u0275\u0275pipe(8, "translate");
|
|
85722
85429
|
\u0275\u0275elementEnd();
|
|
85723
|
-
\u0275\u0275elementStart(9, "mat-radio-button",
|
|
85430
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 27);
|
|
85724
85431
|
\u0275\u0275text(10);
|
|
85725
85432
|
\u0275\u0275pipe(11, "translate");
|
|
85726
85433
|
\u0275\u0275elementEnd()()()();
|
|
85727
85434
|
}
|
|
85728
85435
|
if (rf & 2) {
|
|
85729
85436
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85730
|
-
const
|
|
85437
|
+
const annualReportReminder_r12 = \u0275\u0275readContextLet(14);
|
|
85731
85438
|
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85732
85439
|
\u0275\u0275advance();
|
|
85733
|
-
\u0275\u0275property("formGroup",
|
|
85440
|
+
\u0275\u0275property("formGroup", annualReportReminder_r12);
|
|
85734
85441
|
\u0275\u0275advance(2);
|
|
85735
85442
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 10, "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."), " ");
|
|
85736
85443
|
\u0275\u0275advance(2);
|
|
@@ -85763,6 +85470,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85763
85470
|
init_british_columbia_form_enums();
|
|
85764
85471
|
init_british_columbia_change_of_directors_form_constants();
|
|
85765
85472
|
init_BritishColumbiaConstants();
|
|
85473
|
+
init_british_columbia_formation_form_helper();
|
|
85766
85474
|
init_core();
|
|
85767
85475
|
init_forms();
|
|
85768
85476
|
BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
|
|
@@ -85778,7 +85486,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85778
85486
|
controls = BCChangeOfDirectorsFormControls;
|
|
85779
85487
|
annualReportReminderOption = BCAnnualReportReminder;
|
|
85780
85488
|
referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
85781
|
-
corporationDetailsFields =
|
|
85489
|
+
corporationDetailsFields = computed(() => {
|
|
85490
|
+
const corporationDetails = this.form().get(this.groups.CorporationDetails);
|
|
85491
|
+
const currentEmail = corporationDetails?.get(this.controls.CompanyEmail)?.value;
|
|
85492
|
+
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
85493
|
+
return BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
85494
|
+
});
|
|
85495
|
+
companyEmailFields = computed(() => this.corporationDetailsFields().filter((field) => field.formControlName === this.controls.CompanyEmail));
|
|
85782
85496
|
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85783
85497
|
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85784
85498
|
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
@@ -85791,6 +85505,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85791
85505
|
const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
|
|
85792
85506
|
return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
|
|
85793
85507
|
}
|
|
85508
|
+
getEffectiveDateDisplay(value) {
|
|
85509
|
+
const date = String(value ?? "").split("T")[0];
|
|
85510
|
+
const [year, month, day] = date.split("-");
|
|
85511
|
+
return year && month && day ? `${day}/${month}/${year}` : "\u2014";
|
|
85512
|
+
}
|
|
85794
85513
|
onSectionValidChange(section, valid) {
|
|
85795
85514
|
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85796
85515
|
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
@@ -85816,23 +85535,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85816
85535
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85817
85536
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85818
85537
|
};
|
|
85819
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [[
|
|
85538
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 16, vars: 14, consts: [[1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [3, "form", "config", "isSubmitted"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85820
85539
|
if (rf & 1) {
|
|
85821
|
-
\u0275\u0275elementStart(0, "div",
|
|
85822
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert",
|
|
85823
|
-
\u0275\u0275elementStart(3, "div",
|
|
85540
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
85541
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
85542
|
+
\u0275\u0275elementStart(3, "div", 3);
|
|
85824
85543
|
\u0275\u0275declareLet(4);
|
|
85825
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card",
|
|
85544
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
85826
85545
|
\u0275\u0275declareLet(6);
|
|
85827
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template,
|
|
85546
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 13, 13, "expandable-card", 5);
|
|
85828
85547
|
\u0275\u0275declareLet(8);
|
|
85829
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card",
|
|
85548
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 6);
|
|
85830
85549
|
\u0275\u0275declareLet(10);
|
|
85831
|
-
\u0275\u0275elementStart(11, "expandable-card",
|
|
85832
|
-
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div",
|
|
85550
|
+
\u0275\u0275elementStart(11, "expandable-card", 5);
|
|
85551
|
+
\u0275\u0275template(12, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_12_Template, 13, 9, "div", 7)(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 3, 3, "h2", 8);
|
|
85833
85552
|
\u0275\u0275elementEnd();
|
|
85834
85553
|
\u0275\u0275declareLet(14);
|
|
85835
|
-
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card",
|
|
85554
|
+
\u0275\u0275template(15, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_15_Template, 12, 16, "expandable-card", 6);
|
|
85836
85555
|
\u0275\u0275elementEnd()();
|
|
85837
85556
|
}
|
|
85838
85557
|
if (rf & 2) {
|
|
@@ -85841,41 +85560,36 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85841
85560
|
\u0275\u0275advance();
|
|
85842
85561
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85843
85562
|
\u0275\u0275advance(2);
|
|
85844
|
-
const
|
|
85563
|
+
const referenceNumbers_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85845
85564
|
\u0275\u0275advance();
|
|
85846
|
-
\u0275\u0275conditional(
|
|
85565
|
+
\u0275\u0275conditional(referenceNumbers_r13 ? 5 : -1);
|
|
85847
85566
|
\u0275\u0275advance();
|
|
85848
|
-
const
|
|
85567
|
+
const corporationDetails_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85849
85568
|
\u0275\u0275advance();
|
|
85850
|
-
\u0275\u0275conditional(
|
|
85569
|
+
\u0275\u0275conditional(corporationDetails_r14 ? 7 : -1);
|
|
85851
85570
|
\u0275\u0275advance();
|
|
85852
|
-
const
|
|
85571
|
+
const filingDetails_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
|
|
85853
85572
|
\u0275\u0275advance();
|
|
85854
|
-
\u0275\u0275conditional(
|
|
85573
|
+
\u0275\u0275conditional(filingDetails_r15 ? 9 : -1);
|
|
85855
85574
|
\u0275\u0275advance();
|
|
85856
|
-
const
|
|
85575
|
+
const directorsArray_r16 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85857
85576
|
\u0275\u0275advance();
|
|
85858
85577
|
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85859
85578
|
\u0275\u0275advance();
|
|
85860
|
-
\u0275\u0275conditional(
|
|
85579
|
+
\u0275\u0275conditional(directorsArray_r16 && directorsArray_r16.length ? 12 : 13);
|
|
85861
85580
|
\u0275\u0275advance(2);
|
|
85862
|
-
const
|
|
85581
|
+
const annualReportReminder_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85863
85582
|
\u0275\u0275advance();
|
|
85864
|
-
\u0275\u0275conditional(
|
|
85583
|
+
\u0275\u0275conditional(annualReportReminder_r17 ? 15 : -1);
|
|
85865
85584
|
}
|
|
85866
85585
|
}, dependencies: [
|
|
85867
85586
|
FilingFormGroupComponent,
|
|
85868
85587
|
AlertComponent,
|
|
85869
85588
|
ExpandableCardComponent,
|
|
85870
85589
|
MatCheckbox,
|
|
85871
|
-
MatDatepicker,
|
|
85872
|
-
MatDatepickerInput,
|
|
85873
|
-
MatFormField,
|
|
85874
|
-
MatInput,
|
|
85875
85590
|
MatRadioButton,
|
|
85876
85591
|
MatRadioGroup,
|
|
85877
85592
|
ReactiveFormsModule,
|
|
85878
|
-
DefaultValueAccessor,
|
|
85879
85593
|
NgControlStatus,
|
|
85880
85594
|
NgControlStatusGroup,
|
|
85881
85595
|
FormGroupDirective,
|
|
@@ -85942,10 +85656,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85942
85656
|
<strong>{{ 'Incorporation Number' | translate }}:</strong>\r
|
|
85943
85657
|
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
|
|
85944
85658
|
</p>\r
|
|
85945
|
-
<
|
|
85946
|
-
|
|
85947
|
-
|
|
85948
|
-
|
|
85659
|
+
<filing-form-group
|
|
85660
|
+
[form]="corporationDetails"
|
|
85661
|
+
[config]="companyEmailFields()"
|
|
85662
|
+
[isSubmitted]="isSubmitted()"
|
|
85663
|
+
/>
|
|
85949
85664
|
</div>\r
|
|
85950
85665
|
</expandable-card>\r
|
|
85951
85666
|
}\r
|
|
@@ -85969,48 +85684,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85969
85684
|
\r
|
|
85970
85685
|
<mat-checkbox\r
|
|
85971
85686
|
class="directors-change-checkbox"\r
|
|
85972
|
-
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85973
|
-
(change)="
|
|
85974
|
-
filingDetails.get(controls.ChangeDate)?.
|
|
85975
|
-
|
|
85976
|
-
|
|
85977
|
-
: null,\r
|
|
85978
|
-
{ emitEvent: false }\r
|
|
85979
|
-
);\r
|
|
85980
|
-
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
|
|
85981
|
-
onSectionValidChange('filingDetails', filingDetails.valid)\r
|
|
85982
|
-
"\r
|
|
85687
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85688
|
+
(change)="
|
|
85689
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85690
|
+
onSectionValidChange('filingDetails', filingDetails.valid)
|
|
85691
|
+
"
|
|
85983
85692
|
>\r
|
|
85984
85693
|
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
|
|
85985
85694
|
</mat-checkbox>\r
|
|
85986
85695
|
\r
|
|
85987
85696
|
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
85988
85697
|
<div class="filing-details-grid">\r
|
|
85989
|
-
<div class="date-field"
|
|
85990
|
-
<label
|
|
85991
|
-
{{ 'Date Directors were added or deleted' | translate }}
|
|
85992
|
-
|
|
85993
|
-
|
|
85994
|
-
|
|
85995
|
-
matInput\r
|
|
85996
|
-
[matDatepicker]="changeDatePicker"\r
|
|
85997
|
-
[formControlName]="controls.ChangeDate"\r
|
|
85998
|
-
placeholder="dd/mm/yyyy"\r
|
|
85999
|
-
readonly\r
|
|
86000
|
-
(click)="changeDatePicker.open()"\r
|
|
86001
|
-
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
|
|
86002
|
-
/>\r
|
|
86003
|
-
<button\r
|
|
86004
|
-
type="button"\r
|
|
86005
|
-
class="calendar-trigger"\r
|
|
86006
|
-
aria-label="Open date picker"\r
|
|
86007
|
-
(click)="changeDatePicker.open()"\r
|
|
86008
|
-
>\r
|
|
86009
|
-
<span class="calendar-icon" aria-hidden="true"></span>\r
|
|
86010
|
-
</button>\r
|
|
86011
|
-
<mat-datepicker #changeDatePicker></mat-datepicker>\r
|
|
86012
|
-
</mat-form-field>\r
|
|
86013
|
-
<p class="hint">\r
|
|
85698
|
+
<div class="date-field">
|
|
85699
|
+
<label>
|
|
85700
|
+
{{ 'Date Directors were added or deleted' | translate }}:
|
|
85701
|
+
{{ getEffectiveDateDisplay(filingDetails.get(controls.ChangeDate)?.value) }}
|
|
85702
|
+
</label>
|
|
85703
|
+
<p class="hint">
|
|
86014
85704
|
{{\r
|
|
86015
85705
|
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."\r
|
|
86016
85706
|
| translate\r
|
|
@@ -86030,8 +85720,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86030
85720
|
\r
|
|
86031
85721
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
86032
85722
|
\r
|
|
86033
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.Directors"
|
|
86034
|
-
@if (directorsArray && directorsArray.length) {
|
|
85723
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">
|
|
85724
|
+
@if (directorsArray && directorsArray.length) {
|
|
86035
85725
|
<div class="directors-table" role="table">\r
|
|
86036
85726
|
<div class="directors-table-header" role="row">\r
|
|
86037
85727
|
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
@@ -86098,7 +85788,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86098
85788
|
}], null, null);
|
|
86099
85789
|
})();
|
|
86100
85790
|
(() => {
|
|
86101
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber:
|
|
85791
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 61 });
|
|
86102
85792
|
})();
|
|
86103
85793
|
}
|
|
86104
85794
|
});
|
|
@@ -87624,1199 +87314,145 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87624
87314
|
}
|
|
87625
87315
|
});
|
|
87626
87316
|
|
|
87627
|
-
// src/app/
|
|
87628
|
-
|
|
87629
|
-
var init_british_columbia_change_of_office_addresses_form_constants = __esm({
|
|
87630
|
-
"src/app/constants/ui/british-columbia-change-of-office-addresses-form.constants.ts"() {
|
|
87631
|
-
init_form_enums();
|
|
87632
|
-
init_british_columbia_form_enums();
|
|
87633
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
87634
|
-
Controls4 = BCChangeOfOfficeAddressesFormControls;
|
|
87635
|
-
labelledValue3 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
87636
|
-
readOnlyRow2 = (label, control, className = "span-12") => ({
|
|
87637
|
-
type: FormType.Text,
|
|
87638
|
-
formControlName: control,
|
|
87639
|
-
class: className,
|
|
87640
|
-
dynamicLabel: (form, t) => labelledValue3(label, form.get(control)?.value, t)
|
|
87641
|
-
});
|
|
87642
|
-
isChecked = (form, control) => Boolean(form.get(control)?.value);
|
|
87643
|
-
addressGroup = (form, control) => form.get(control);
|
|
87644
|
-
BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
87645
|
-
{
|
|
87646
|
-
type: FormType.Input,
|
|
87647
|
-
label: "Client/Matter Number",
|
|
87648
|
-
formControlName: Controls4.ClientMatterNumber
|
|
87649
|
-
},
|
|
87650
|
-
{
|
|
87651
|
-
type: FormType.Input,
|
|
87652
|
-
label: "Docket Number",
|
|
87653
|
-
formControlName: Controls4.DocketNumber
|
|
87654
|
-
}
|
|
87655
|
-
];
|
|
87656
|
-
effectiveDateNote = {
|
|
87657
|
-
type: FormType.Text,
|
|
87658
|
-
formControlName: "",
|
|
87659
|
-
class: "span-12 note-box",
|
|
87660
|
-
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.")}`
|
|
87661
|
-
};
|
|
87662
|
-
BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS = (emailOptions) => [
|
|
87663
|
-
readOnlyRow2("Corporation Name", Controls4.CorporationName),
|
|
87664
|
-
readOnlyRow2("Incorporation Number", Controls4.IncorporationNumber),
|
|
87665
|
-
{
|
|
87666
|
-
type: FormType.Select,
|
|
87667
|
-
label: "Company Email",
|
|
87668
|
-
formControlName: Controls4.CompanyEmail,
|
|
87669
|
-
required: true,
|
|
87670
|
-
options: emailOptions,
|
|
87671
|
-
class: "span-6"
|
|
87672
|
-
},
|
|
87673
|
-
effectiveDateNote
|
|
87674
|
-
];
|
|
87675
|
-
BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS = [
|
|
87676
|
-
readOnlyRow2("Current Mailing Address", Controls4.CurrentMailingAddress),
|
|
87677
|
-
readOnlyRow2("Current Delivery Address", Controls4.CurrentDeliveryAddress)
|
|
87678
|
-
];
|
|
87679
|
-
BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS = [
|
|
87680
|
-
{
|
|
87681
|
-
type: FormType.Input,
|
|
87682
|
-
label: "Address Line 1",
|
|
87683
|
-
formControlName: Controls4.AddressLine1,
|
|
87684
|
-
required: true,
|
|
87685
|
-
class: "span-6"
|
|
87686
|
-
},
|
|
87687
|
-
{
|
|
87688
|
-
type: FormType.Input,
|
|
87689
|
-
label: "Address Line 2",
|
|
87690
|
-
formControlName: Controls4.AddressLine2,
|
|
87691
|
-
class: "span-6"
|
|
87692
|
-
},
|
|
87693
|
-
{
|
|
87694
|
-
type: FormType.Input,
|
|
87695
|
-
label: "City",
|
|
87696
|
-
formControlName: Controls4.City,
|
|
87697
|
-
required: true,
|
|
87698
|
-
class: "span-6"
|
|
87699
|
-
},
|
|
87700
|
-
{
|
|
87701
|
-
type: FormType.Input,
|
|
87702
|
-
label: "Postal Code",
|
|
87703
|
-
formControlName: Controls4.PostalCode,
|
|
87704
|
-
required: true,
|
|
87705
|
-
class: "span-6"
|
|
87706
|
-
},
|
|
87707
|
-
{
|
|
87708
|
-
type: FormType.Input,
|
|
87709
|
-
label: "Province",
|
|
87710
|
-
formControlName: Controls4.Province,
|
|
87711
|
-
readonly: true,
|
|
87712
|
-
class: "span-6"
|
|
87713
|
-
},
|
|
87714
|
-
{
|
|
87715
|
-
type: FormType.Input,
|
|
87716
|
-
label: "Country",
|
|
87717
|
-
formControlName: Controls4.Country,
|
|
87718
|
-
readonly: true,
|
|
87719
|
-
class: "span-6"
|
|
87720
|
-
}
|
|
87721
|
-
];
|
|
87722
|
-
BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS = [
|
|
87723
|
-
{
|
|
87724
|
-
type: FormType.Text,
|
|
87725
|
-
formControlName: "",
|
|
87726
|
-
class: "span-12",
|
|
87727
|
-
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.")
|
|
87728
|
-
}
|
|
87729
|
-
];
|
|
87730
|
-
BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS = [
|
|
87731
|
-
{
|
|
87732
|
-
type: FormType.Checkbox,
|
|
87733
|
-
label: "Same as Mailing Address",
|
|
87734
|
-
formControlName: Controls4.DeliverySameAsMailing,
|
|
87735
|
-
class: "span-12",
|
|
87736
|
-
onChange: (form) => BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !isChecked(form, Controls4.DeliverySameAsMailing))
|
|
87737
|
-
}
|
|
87738
|
-
];
|
|
87739
|
-
BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS = [
|
|
87740
|
-
{
|
|
87741
|
-
type: FormType.Checkbox,
|
|
87742
|
-
label: "Same as Registered Office",
|
|
87743
|
-
formControlName: Controls4.SameAsRegisteredOffice,
|
|
87744
|
-
class: "span-12",
|
|
87745
|
-
onChange: (form) => {
|
|
87746
|
-
const sameAsRegistered = isChecked(form, Controls4.SameAsRegisteredOffice);
|
|
87747
|
-
const deliverySame = isChecked(form, Controls4.DeliverySameAsMailing);
|
|
87748
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewMailingAddress), !sameAsRegistered);
|
|
87749
|
-
BritishColumbiaChangeOfOfficeAddressesFormHelper.setOfficeAddressEnabled(addressGroup(form, Controls4.NewDeliveryAddress), !sameAsRegistered && !deliverySame);
|
|
87750
|
-
}
|
|
87751
|
-
}
|
|
87752
|
-
];
|
|
87753
|
-
}
|
|
87754
|
-
});
|
|
87755
|
-
|
|
87756
|
-
// src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts
|
|
87757
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template(rf, ctx) {
|
|
87758
|
-
if (rf & 1) {
|
|
87759
|
-
\u0275\u0275element(0, "alert", 1);
|
|
87760
|
-
}
|
|
87761
|
-
if (rf & 2) {
|
|
87762
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87763
|
-
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
87764
|
-
}
|
|
87765
|
-
}
|
|
87766
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template(rf, ctx) {
|
|
87767
|
-
if (rf & 1) {
|
|
87768
|
-
\u0275\u0275element(0, "alert", 2);
|
|
87769
|
-
}
|
|
87770
|
-
if (rf & 2) {
|
|
87771
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87772
|
-
\u0275\u0275property("content", ctx_r0.errors());
|
|
87773
|
-
}
|
|
87774
|
-
}
|
|
87775
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template(rf, ctx) {
|
|
87317
|
+
// src/app/components/british-columbia/british-columbia.component.ts
|
|
87318
|
+
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
87776
87319
|
if (rf & 1) {
|
|
87777
|
-
const
|
|
87778
|
-
\u0275\u0275elementStart(0, "
|
|
87779
|
-
\u0275\u0275listener("
|
|
87780
|
-
\u0275\u0275restoreView(
|
|
87781
|
-
const
|
|
87782
|
-
return \u0275\u0275resetView(
|
|
87320
|
+
const _r1 = \u0275\u0275getCurrentView();
|
|
87321
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 2);
|
|
87322
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
87323
|
+
\u0275\u0275restoreView(_r1);
|
|
87324
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87325
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsValidate());
|
|
87326
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_close_0_listener() {
|
|
87327
|
+
\u0275\u0275restoreView(_r1);
|
|
87328
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87329
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87330
|
+
})("save", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_save_0_listener() {
|
|
87331
|
+
\u0275\u0275restoreView(_r1);
|
|
87332
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87333
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSave());
|
|
87783
87334
|
});
|
|
87784
|
-
\u0275\u0275elementEnd()
|
|
87335
|
+
\u0275\u0275elementEnd();
|
|
87785
87336
|
}
|
|
87786
87337
|
if (rf & 2) {
|
|
87787
|
-
const
|
|
87788
|
-
const
|
|
87789
|
-
\u0275\u0275property("
|
|
87790
|
-
\u0275\u0275advance();
|
|
87791
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
87338
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87339
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87340
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
87792
87341
|
}
|
|
87793
87342
|
}
|
|
87794
|
-
function
|
|
87343
|
+
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
87795
87344
|
if (rf & 1) {
|
|
87796
87345
|
const _r4 = \u0275\u0275getCurrentView();
|
|
87797
|
-
\u0275\u0275elementStart(0, "
|
|
87798
|
-
\u0275\u0275listener("
|
|
87346
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 3);
|
|
87347
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
87799
87348
|
\u0275\u0275restoreView(_r4);
|
|
87800
|
-
const
|
|
87801
|
-
return \u0275\u0275resetView(
|
|
87802
|
-
})
|
|
87803
|
-
|
|
87804
|
-
|
|
87805
|
-
|
|
87806
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87807
|
-
const corporationDetails_r5 = \u0275\u0275readContextLet(6);
|
|
87808
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["corpDetails"] !== false)("title", ctx_r0.groups.CorporationDetails);
|
|
87809
|
-
\u0275\u0275advance();
|
|
87810
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r5)("config", ctx_r0.corporationDetailsFields());
|
|
87811
|
-
}
|
|
87812
|
-
}
|
|
87813
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template(rf, ctx) {
|
|
87814
|
-
if (rf & 1) {
|
|
87815
|
-
const _r7 = \u0275\u0275getCurrentView();
|
|
87816
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87817
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87818
|
-
\u0275\u0275restoreView(_r7);
|
|
87819
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87820
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87821
|
-
});
|
|
87822
|
-
\u0275\u0275elementEnd();
|
|
87823
|
-
}
|
|
87824
|
-
if (rf & 2) {
|
|
87825
|
-
\u0275\u0275nextContext();
|
|
87826
|
-
const registeredMailing_r8 = \u0275\u0275readContextLet(0);
|
|
87827
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87828
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredMailing_r8)("config", ctx_r0.addressFields);
|
|
87829
|
-
}
|
|
87830
|
-
}
|
|
87831
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template(rf, ctx) {
|
|
87832
|
-
if (rf & 1) {
|
|
87833
|
-
const _r9 = \u0275\u0275getCurrentView();
|
|
87834
|
-
\u0275\u0275element(0, "filing-form-group", 9);
|
|
87835
|
-
\u0275\u0275elementStart(1, "filing-form-group", 7);
|
|
87836
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template_filing_form_group_visiblyValidChange_1_listener() {
|
|
87837
|
-
\u0275\u0275restoreView(_r9);
|
|
87838
|
-
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
87839
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87349
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87350
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87351
|
+
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
87352
|
+
\u0275\u0275restoreView(_r4);
|
|
87353
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87354
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit());
|
|
87840
87355
|
});
|
|
87841
87356
|
\u0275\u0275elementEnd();
|
|
87842
87357
|
}
|
|
87843
87358
|
if (rf & 2) {
|
|
87844
|
-
\u0275\u0275nextContext();
|
|
87845
|
-
const
|
|
87846
|
-
|
|
87847
|
-
const registeredOffice_r11 = \u0275\u0275readContextLet(8);
|
|
87848
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliveryNoteFields);
|
|
87849
|
-
\u0275\u0275advance();
|
|
87850
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredDelivery_r10)("config", ctx_r0.addressFields);
|
|
87359
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87360
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87361
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
87851
87362
|
}
|
|
87852
87363
|
}
|
|
87853
|
-
function
|
|
87364
|
+
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
87854
87365
|
if (rf & 1) {
|
|
87855
|
-
|
|
87856
|
-
\u0275\u0275declareLet(0)(1)(2);
|
|
87857
|
-
\u0275\u0275elementStart(3, "expandable-card", 5)(4, "div", 8);
|
|
87858
|
-
\u0275\u0275element(5, "filing-form-group", 9);
|
|
87859
|
-
\u0275\u0275elementStart(6, "h4", 10);
|
|
87860
|
-
\u0275\u0275text(7);
|
|
87861
|
-
\u0275\u0275pipe(8, "translate");
|
|
87862
|
-
\u0275\u0275elementEnd();
|
|
87863
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_9_Template, 1, 3, "filing-form-group", 9);
|
|
87864
|
-
\u0275\u0275elementStart(10, "h4", 10);
|
|
87865
|
-
\u0275\u0275text(11);
|
|
87866
|
-
\u0275\u0275pipe(12, "translate");
|
|
87867
|
-
\u0275\u0275elementEnd();
|
|
87868
|
-
\u0275\u0275elementStart(13, "filing-form-group", 7);
|
|
87869
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template_filing_form_group_visiblyValidChange_13_listener() {
|
|
87870
|
-
\u0275\u0275restoreView(_r6);
|
|
87871
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87872
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87873
|
-
});
|
|
87874
|
-
\u0275\u0275elementEnd();
|
|
87875
|
-
\u0275\u0275template(14, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Conditional_14_Template, 2, 6);
|
|
87876
|
-
\u0275\u0275elementEnd()();
|
|
87366
|
+
\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);
|
|
87877
87367
|
}
|
|
87878
87368
|
if (rf & 2) {
|
|
87879
|
-
const
|
|
87880
|
-
|
|
87881
|
-
const registeredMailing_r12 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewMailingAddress));
|
|
87882
|
-
\u0275\u0275advance();
|
|
87883
|
-
const registeredDelivery_r13 = \u0275\u0275storeLet(ctx_r0.getAddressGroup(registeredOffice_r11, ctx_r0.controls.NewDeliveryAddress));
|
|
87884
|
-
const registeredDeliverySame_r14 = ctx_r0.isChecked(registeredOffice_r11, ctx_r0.controls.DeliverySameAsMailing);
|
|
87885
|
-
\u0275\u0275advance(2);
|
|
87886
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRegisteredOfficeValid())("title", ctx_r0.groups.RegisteredOfficeAddress);
|
|
87887
|
-
\u0275\u0275advance(2);
|
|
87888
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.currentAddressesFields);
|
|
87889
|
-
\u0275\u0275advance(2);
|
|
87890
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(8, 15, "New Mailing Address"));
|
|
87891
|
-
\u0275\u0275advance(2);
|
|
87892
|
-
\u0275\u0275conditional(registeredMailing_r12 ? 9 : -1);
|
|
87893
|
-
\u0275\u0275advance(2);
|
|
87894
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 17, "New Delivery Address"));
|
|
87895
|
-
\u0275\u0275advance(2);
|
|
87896
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOffice_r11)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87369
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
87370
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
87897
87371
|
\u0275\u0275advance();
|
|
87898
|
-
\u0275\u0275conditional(
|
|
87899
|
-
}
|
|
87900
|
-
}
|
|
87901
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template(rf, ctx) {
|
|
87902
|
-
if (rf & 1) {
|
|
87903
|
-
const _r17 = \u0275\u0275getCurrentView();
|
|
87904
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87905
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_3_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87906
|
-
\u0275\u0275restoreView(_r17);
|
|
87907
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87908
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87909
|
-
});
|
|
87910
|
-
\u0275\u0275elementEnd();
|
|
87911
|
-
}
|
|
87912
|
-
if (rf & 2) {
|
|
87913
|
-
\u0275\u0275nextContext(2);
|
|
87914
|
-
const recordsMailing_r18 = \u0275\u0275readContextLet(0);
|
|
87915
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87916
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsMailing_r18)("config", ctx_r0.addressFields);
|
|
87917
|
-
}
|
|
87918
|
-
}
|
|
87919
|
-
function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template(rf, ctx) {
|
|
87920
|
-
if (rf & 1) {
|
|
87921
|
-
const _r19 = \u0275\u0275getCurrentView();
|
|
87922
|
-
\u0275\u0275elementStart(0, "filing-form-group", 7);
|
|
87923
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template_filing_form_group_visiblyValidChange_0_listener() {
|
|
87924
|
-
\u0275\u0275restoreView(_r19);
|
|
87925
|
-
const ctx_r0 = \u0275\u0275nextContext(3);
|
|
87926
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87927
|
-
});
|
|
87928
|
-
\u0275\u0275elementEnd();
|
|
87929
|
-
}
|
|
87930
|
-
if (rf & 2) {
|
|
87931
|
-
\u0275\u0275nextContext(2);
|
|
87932
|
-
const recordsDelivery_r20 = \u0275\u0275readContextLet(1);
|
|
87933
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87934
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsDelivery_r20)("config", ctx_r0.addressFields);
|
|
87372
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
87935
87373
|
}
|
|
87936
87374
|
}
|
|
87937
|
-
function
|
|
87375
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
87938
87376
|
if (rf & 1) {
|
|
87939
|
-
const
|
|
87940
|
-
\u0275\u0275elementStart(0, "
|
|
87941
|
-
\u0275\
|
|
87942
|
-
|
|
87943
|
-
|
|
87944
|
-
|
|
87945
|
-
|
|
87946
|
-
|
|
87947
|
-
|
|
87948
|
-
|
|
87949
|
-
|
|
87950
|
-
|
|
87951
|
-
\u0275\
|
|
87952
|
-
|
|
87953
|
-
return \u0275\u0275resetView(ctx_r0.emitValidity());
|
|
87377
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
87378
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 6);
|
|
87379
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
87380
|
+
\u0275\u0275restoreView(_r5);
|
|
87381
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87382
|
+
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
87383
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
87384
|
+
\u0275\u0275restoreView(_r5);
|
|
87385
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87386
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87387
|
+
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
87388
|
+
\u0275\u0275restoreView(_r5);
|
|
87389
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87390
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
87954
87391
|
});
|
|
87955
87392
|
\u0275\u0275elementEnd();
|
|
87956
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Conditional_8_Template, 1, 3, "filing-form-group", 9);
|
|
87957
87393
|
}
|
|
87958
87394
|
if (rf & 2) {
|
|
87959
|
-
\u0275\u0275nextContext();
|
|
87960
|
-
const
|
|
87961
|
-
|
|
87962
|
-
const recordsDeliverySame_r21 = \u0275\u0275readContextLet(3);
|
|
87963
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
87964
|
-
const recordsOffice_r22 = \u0275\u0275readContextLet(10);
|
|
87965
|
-
\u0275\u0275advance();
|
|
87966
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 7, "New Mailing Address"));
|
|
87967
|
-
\u0275\u0275advance(2);
|
|
87968
|
-
\u0275\u0275conditional(recordsMailing_r18 ? 3 : -1);
|
|
87969
|
-
\u0275\u0275advance(2);
|
|
87970
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "New Delivery Address"));
|
|
87971
|
-
\u0275\u0275advance(2);
|
|
87972
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.deliverySameAsMailingFields);
|
|
87973
|
-
\u0275\u0275advance();
|
|
87974
|
-
\u0275\u0275conditional(!recordsDeliverySame_r21 && recordsDelivery_r20 ? 8 : -1);
|
|
87395
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87396
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87397
|
+
\u0275\u0275property("task", taskData_r3)("errors", ctx_r1.errors())("isNote", ctx_r1.isNote())("actionsDisabled", ctx_r1.actionsDisabled())("form", ctx_r1.deltaForm());
|
|
87975
87398
|
}
|
|
87976
87399
|
}
|
|
87977
|
-
function
|
|
87400
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
87978
87401
|
if (rf & 1) {
|
|
87979
|
-
const
|
|
87980
|
-
\u0275\
|
|
87981
|
-
\u0275\
|
|
87982
|
-
|
|
87983
|
-
|
|
87984
|
-
|
|
87985
|
-
|
|
87986
|
-
|
|
87987
|
-
|
|
87402
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87403
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 7);
|
|
87404
|
+
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
87405
|
+
\u0275\u0275restoreView(_r6);
|
|
87406
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87407
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
87408
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
87409
|
+
\u0275\u0275restoreView(_r6);
|
|
87410
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87411
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87988
87412
|
});
|
|
87989
87413
|
\u0275\u0275elementEnd();
|
|
87990
|
-
\u0275\u0275template(8, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Conditional_8_Template, 9, 11);
|
|
87991
|
-
\u0275\u0275elementEnd()();
|
|
87992
87414
|
}
|
|
87993
87415
|
if (rf & 2) {
|
|
87994
|
-
const
|
|
87995
|
-
const
|
|
87996
|
-
\u0275\
|
|
87997
|
-
\u0275\u0275advance();
|
|
87998
|
-
\u0275\u0275storeLet(ctx_r0.getAddressGroup(recordsOffice_r22, ctx_r0.controls.NewDeliveryAddress));
|
|
87999
|
-
const recordsSameAsRegistered_r23 = ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.SameAsRegisteredOffice);
|
|
88000
|
-
\u0275\u0275advance(2);
|
|
88001
|
-
\u0275\u0275storeLet(ctx_r0.isChecked(recordsOffice_r22, ctx_r0.controls.DeliverySameAsMailing));
|
|
88002
|
-
\u0275\u0275advance();
|
|
88003
|
-
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.isRecordsOfficeValid())("title", ctx_r0.groups.RecordsOfficeAddress);
|
|
88004
|
-
\u0275\u0275advance(2);
|
|
88005
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.currentAddressesFields);
|
|
88006
|
-
\u0275\u0275advance();
|
|
88007
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", recordsOffice_r22)("config", ctx_r0.sameAsRegisteredOfficeFields);
|
|
88008
|
-
\u0275\u0275advance();
|
|
88009
|
-
\u0275\u0275conditional(!recordsSameAsRegistered_r23 ? 8 : -1);
|
|
87416
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87417
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87418
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("errors", ctx_r1.errors())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
88010
87419
|
}
|
|
88011
87420
|
}
|
|
88012
|
-
function
|
|
87421
|
+
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
88013
87422
|
if (rf & 1) {
|
|
88014
|
-
\u0275\
|
|
88015
|
-
\u0275\u0275text(3);
|
|
88016
|
-
\u0275\u0275pipe(4, "translate");
|
|
88017
|
-
\u0275\u0275elementEnd();
|
|
88018
|
-
\u0275\u0275elementStart(5, "mat-radio-group", 12)(6, "mat-radio-button", 13);
|
|
88019
|
-
\u0275\u0275text(7);
|
|
88020
|
-
\u0275\u0275pipe(8, "translate");
|
|
88021
|
-
\u0275\u0275elementEnd();
|
|
88022
|
-
\u0275\u0275elementStart(9, "mat-radio-button", 13);
|
|
88023
|
-
\u0275\u0275text(10);
|
|
88024
|
-
\u0275\u0275pipe(11, "translate");
|
|
88025
|
-
\u0275\u0275elementEnd()()()();
|
|
87423
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 4)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 5);
|
|
88026
87424
|
}
|
|
88027
87425
|
if (rf & 2) {
|
|
88028
|
-
const
|
|
88029
|
-
|
|
88030
|
-
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.AnnualReportReminder);
|
|
88031
|
-
\u0275\u0275advance();
|
|
88032
|
-
\u0275\u0275property("formGroup", annualReportReminder_r24);
|
|
88033
|
-
\u0275\u0275advance(2);
|
|
88034
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 9, "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."), " ");
|
|
88035
|
-
\u0275\u0275advance(2);
|
|
88036
|
-
\u0275\u0275property("formControlName", ctx_r0.controls.AnnualReportReminder);
|
|
88037
|
-
\u0275\u0275advance();
|
|
88038
|
-
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.Yes);
|
|
88039
|
-
\u0275\u0275advance();
|
|
88040
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 11, "Yes, send the annual report reminder"), " ");
|
|
88041
|
-
\u0275\u0275advance(2);
|
|
88042
|
-
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.No);
|
|
87426
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
87427
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88043
87428
|
\u0275\u0275advance();
|
|
88044
|
-
\u0275\
|
|
87429
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88045
87430
|
}
|
|
88046
87431
|
}
|
|
88047
|
-
var
|
|
88048
|
-
var
|
|
88049
|
-
"src/app/components/british-columbia/
|
|
87432
|
+
var BritishColumbiaComponent;
|
|
87433
|
+
var init_british_columbia_component = __esm({
|
|
87434
|
+
"src/app/components/british-columbia/british-columbia.component.ts"() {
|
|
88050
87435
|
init_core();
|
|
88051
87436
|
init_forms();
|
|
88052
|
-
|
|
87437
|
+
init_dialog2();
|
|
88053
87438
|
init_ngx_translate_core();
|
|
88054
|
-
|
|
88055
|
-
init_alert_component();
|
|
88056
|
-
init_alert_enum();
|
|
88057
|
-
init_expandable_card_component();
|
|
88058
|
-
init_british_columbia_form_enums();
|
|
88059
|
-
init_british_columbia_change_of_office_addresses_form_constants();
|
|
88060
|
-
init_forms_utils();
|
|
87439
|
+
init_app_enums();
|
|
88061
87440
|
init_BritishColumbiaConstants();
|
|
88062
|
-
|
|
87441
|
+
init_british_columbia_form_enums();
|
|
87442
|
+
init_british_columbia_change_of_directors_form_helper();
|
|
87443
|
+
init_british_columbia_formation_form_helper();
|
|
87444
|
+
init_delta_state_service();
|
|
87445
|
+
init_common_utils();
|
|
87446
|
+
init_confirm_modal_component();
|
|
87447
|
+
init_change_of_directors_delta_form_component();
|
|
87448
|
+
init_change_of_directors_preview_form_component();
|
|
87449
|
+
init_british_columbia_incorporation_delta_form_component();
|
|
87450
|
+
init_british_columbia_incorporation_preview_form_component();
|
|
88063
87451
|
init_core();
|
|
88064
|
-
|
|
88065
|
-
BritishColumbiaChangeOfOfficeAddressesFormComponent = class _BritishColumbiaChangeOfOfficeAddressesFormComponent {
|
|
88066
|
-
form = input.required();
|
|
87452
|
+
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
88067
87453
|
task = input();
|
|
88068
|
-
|
|
88069
|
-
|
|
88070
|
-
isSubmitted = input(false);
|
|
88071
|
-
readonly = input(false);
|
|
88072
|
-
visiblyValidChange = output();
|
|
88073
|
-
alertType = AlertType;
|
|
88074
|
-
groups = BCChangeOfOfficeAddressesFormGroups;
|
|
88075
|
-
controls = BCChangeOfOfficeAddressesFormControls;
|
|
88076
|
-
annualReportReminderOption = BCAnnualReportReminder;
|
|
88077
|
-
referenceNumbersFields = BC_COA_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
88078
|
-
corporationDetailsFields = computed(() => {
|
|
88079
|
-
const task = this.task();
|
|
88080
|
-
return BC_COA_CARD_FORM_CORPORATION_DETAILS_FIELDS(task ? BritishColumbiaChangeOfOfficeAddressesFormHelper.getCompanyEmailOptions(task) : []);
|
|
88081
|
-
});
|
|
88082
|
-
currentAddressesFields = BC_COA_CARD_FORM_CURRENT_ADDRESSES_FIELDS;
|
|
88083
|
-
addressFields = BC_COA_DELTA_CARD_FORM_OFFICE_ADDRESS_FIELDS;
|
|
88084
|
-
deliveryNoteFields = BC_COA_CARD_FORM_DELIVERY_ADDRESS_NOTE_FIELDS;
|
|
88085
|
-
deliverySameAsMailingFields = BC_COA_DELTA_CARD_FORM_DELIVERY_SAME_AS_MAILING_FIELDS;
|
|
88086
|
-
sameAsRegisteredOfficeFields = BC_COA_DELTA_CARD_FORM_SAME_AS_REGISTERED_OFFICE_FIELDS;
|
|
88087
|
-
sectionValidity = {};
|
|
88088
|
-
isVisiblyValid() {
|
|
88089
|
-
return Object.values(this.sectionValidity).every((v) => v) && this.isRegisteredOfficeValid() && this.isRecordsOfficeValid();
|
|
88090
|
-
}
|
|
88091
|
-
isRegisteredOfficeValid() {
|
|
88092
|
-
const office = this.getFormGroup(this.groups.RegisteredOfficeAddress);
|
|
88093
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88094
|
-
}
|
|
88095
|
-
isRecordsOfficeValid() {
|
|
88096
|
-
const office = this.getFormGroup(this.groups.RecordsOfficeAddress);
|
|
88097
|
-
return this.isAddressValid(office, this.controls.NewMailingAddress) && this.isAddressValid(office, this.controls.NewDeliveryAddress);
|
|
88098
|
-
}
|
|
88099
|
-
isChecked(office, control) {
|
|
88100
|
-
return Boolean(office?.get(control)?.value);
|
|
88101
|
-
}
|
|
88102
|
-
onSectionValidChange(section, valid) {
|
|
88103
|
-
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
88104
|
-
this.emitValidity();
|
|
88105
|
-
}
|
|
88106
|
-
emitValidity() {
|
|
88107
|
-
queueMicrotask(() => this.visiblyValidChange.emit(this.isVisiblyValid()));
|
|
88108
|
-
}
|
|
88109
|
-
getFormGroup(key) {
|
|
88110
|
-
return this.form().get(key) ?? null;
|
|
88111
|
-
}
|
|
88112
|
-
getAddressGroup(office, control) {
|
|
88113
|
-
return office?.get(control) ?? null;
|
|
88114
|
-
}
|
|
88115
|
-
isAddressValid(office, control) {
|
|
88116
|
-
const group2 = this.getAddressGroup(office, control);
|
|
88117
|
-
return !group2 || group2.disabled || isFormGroupVisiblyValid(group2, this.addressFields);
|
|
88118
|
-
}
|
|
88119
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesFormComponent_Factory(__ngFactoryType__) {
|
|
88120
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesFormComponent)();
|
|
88121
|
-
};
|
|
88122
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfOfficeAddressesFormComponent, selectors: [["british-columbia-change-of-office-addresses-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 14, vars: 12, consts: [[1, "change-of-office-addresses-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-office-addresses-form-content"], [3, "title"], [3, "isStatusIcon", "isValid", "title"], [3, "isStatusIcon", "title"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item"], [3, "isSubmitted", "form", "config"], [1, "change-of-office-addresses-form-item-title"], [1, "annual-reminder", 3, "formGroup"], [3, "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfOfficeAddressesFormComponent_Template(rf, ctx) {
|
|
88123
|
-
if (rf & 1) {
|
|
88124
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
88125
|
-
\u0275\u0275template(1, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
88126
|
-
\u0275\u0275elementStart(3, "div", 3);
|
|
88127
|
-
\u0275\u0275declareLet(4);
|
|
88128
|
-
\u0275\u0275template(5, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 4);
|
|
88129
|
-
\u0275\u0275declareLet(6);
|
|
88130
|
-
\u0275\u0275template(7, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_7_Template, 2, 6, "expandable-card", 5);
|
|
88131
|
-
\u0275\u0275declareLet(8);
|
|
88132
|
-
\u0275\u0275template(9, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_9_Template, 15, 19, "expandable-card", 5);
|
|
88133
|
-
\u0275\u0275declareLet(10);
|
|
88134
|
-
\u0275\u0275template(11, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_11_Template, 9, 13, "expandable-card", 5);
|
|
88135
|
-
\u0275\u0275declareLet(12);
|
|
88136
|
-
\u0275\u0275template(13, BritishColumbiaChangeOfOfficeAddressesFormComponent_Conditional_13_Template, 12, 15, "expandable-card", 6);
|
|
88137
|
-
\u0275\u0275elementEnd()();
|
|
88138
|
-
}
|
|
88139
|
-
if (rf & 2) {
|
|
88140
|
-
\u0275\u0275advance();
|
|
88141
|
-
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
88142
|
-
\u0275\u0275advance();
|
|
88143
|
-
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
88144
|
-
\u0275\u0275advance(2);
|
|
88145
|
-
const referenceNumbers_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
88146
|
-
\u0275\u0275advance();
|
|
88147
|
-
\u0275\u0275conditional(referenceNumbers_r25 ? 5 : -1);
|
|
88148
|
-
\u0275\u0275advance();
|
|
88149
|
-
const corporationDetails_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
88150
|
-
\u0275\u0275advance();
|
|
88151
|
-
\u0275\u0275conditional(corporationDetails_r26 ? 7 : -1);
|
|
88152
|
-
\u0275\u0275advance();
|
|
88153
|
-
const registeredOffice_r27 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
88154
|
-
\u0275\u0275advance();
|
|
88155
|
-
\u0275\u0275conditional(registeredOffice_r27 ? 9 : -1);
|
|
88156
|
-
\u0275\u0275advance();
|
|
88157
|
-
const recordsOffice_r28 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RecordsOfficeAddress));
|
|
88158
|
-
\u0275\u0275advance();
|
|
88159
|
-
\u0275\u0275conditional(recordsOffice_r28 ? 11 : -1);
|
|
88160
|
-
\u0275\u0275advance();
|
|
88161
|
-
const annualReportReminder_r29 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
88162
|
-
\u0275\u0275advance();
|
|
88163
|
-
\u0275\u0275conditional(annualReportReminder_r29 ? 13 : -1);
|
|
88164
|
-
}
|
|
88165
|
-
}, dependencies: [
|
|
88166
|
-
FilingFormGroupComponent,
|
|
88167
|
-
AlertComponent,
|
|
88168
|
-
ExpandableCardComponent,
|
|
88169
|
-
MatRadioButton,
|
|
88170
|
-
MatRadioGroup,
|
|
88171
|
-
ReactiveFormsModule,
|
|
88172
|
-
NgControlStatus,
|
|
88173
|
-
NgControlStatusGroup,
|
|
88174
|
-
FormGroupDirective,
|
|
88175
|
-
FormControlName,
|
|
88176
|
-
TranslatePipe
|
|
88177
|
-
], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button .mdc-label {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form[_ngcontent-%COMP%] .annual-reminder[_ngcontent-%COMP%] .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n[_nghost-%COMP%] .change-of-office-addresses-form-item-title[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */"], changeDetection: 0 });
|
|
88178
|
-
};
|
|
88179
|
-
(() => {
|
|
88180
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesFormComponent, [{
|
|
88181
|
-
type: Component,
|
|
88182
|
-
args: [{ standalone: true, selector: "british-columbia-change-of-office-addresses-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
88183
|
-
FilingFormGroupComponent,
|
|
88184
|
-
AlertComponent,
|
|
88185
|
-
ExpandableCardComponent,
|
|
88186
|
-
MatRadioButton,
|
|
88187
|
-
MatRadioGroup,
|
|
88188
|
-
ReactiveFormsModule,
|
|
88189
|
-
TranslatePipe
|
|
88190
|
-
], template: `<div class="change-of-office-addresses-form">\r
|
|
88191
|
-
@if (isNote()) {\r
|
|
88192
|
-
<alert\r
|
|
88193
|
-
[type]="alertType.Info"\r
|
|
88194
|
-
title="Entity changed"\r
|
|
88195
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
88196
|
-
/>\r
|
|
88197
|
-
}\r
|
|
88198
|
-
\r
|
|
88199
|
-
@if (errors().length) {\r
|
|
88200
|
-
<alert\r
|
|
88201
|
-
title="The following issues need to be resolved before proceeding:"\r
|
|
88202
|
-
[content]="errors()"\r
|
|
88203
|
-
/>\r
|
|
88204
|
-
}\r
|
|
88205
|
-
\r
|
|
88206
|
-
<div class="change-of-office-addresses-form-content">\r
|
|
88207
|
-
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
88208
|
-
\r
|
|
88209
|
-
@if (referenceNumbers) {\r
|
|
88210
|
-
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
88211
|
-
<filing-form-group\r
|
|
88212
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88213
|
-
[form]="referenceNumbers"\r
|
|
88214
|
-
[config]="referenceNumbersFields"\r
|
|
88215
|
-
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
88216
|
-
/>\r
|
|
88217
|
-
</expandable-card>\r
|
|
88218
|
-
}\r
|
|
88219
|
-
\r
|
|
88220
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
88221
|
-
\r
|
|
88222
|
-
@if (corporationDetails) {\r
|
|
88223
|
-
<expandable-card\r
|
|
88224
|
-
[isStatusIcon]="!readonly()"\r
|
|
88225
|
-
[isValid]="sectionValidity['corpDetails'] !== false"\r
|
|
88226
|
-
[title]="groups.CorporationDetails"\r
|
|
88227
|
-
>\r
|
|
88228
|
-
<filing-form-group\r
|
|
88229
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88230
|
-
[form]="corporationDetails"\r
|
|
88231
|
-
[config]="corporationDetailsFields()"\r
|
|
88232
|
-
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
88233
|
-
/>\r
|
|
88234
|
-
</expandable-card>\r
|
|
88235
|
-
}\r
|
|
88236
|
-
\r
|
|
88237
|
-
<!-- ===== REGISTERED OFFICE ADDRESS ===== -->\r
|
|
88238
|
-
@let registeredOffice = getFormGroup(groups.RegisteredOfficeAddress);\r
|
|
88239
|
-
\r
|
|
88240
|
-
@if (registeredOffice) {\r
|
|
88241
|
-
@let registeredMailing = getAddressGroup(registeredOffice, controls.NewMailingAddress);\r
|
|
88242
|
-
@let registeredDelivery = getAddressGroup(registeredOffice, controls.NewDeliveryAddress);\r
|
|
88243
|
-
@let registeredDeliverySame = isChecked(registeredOffice, controls.DeliverySameAsMailing);\r
|
|
88244
|
-
\r
|
|
88245
|
-
<expandable-card\r
|
|
88246
|
-
[isStatusIcon]="!readonly()"\r
|
|
88247
|
-
[isValid]="isRegisteredOfficeValid()"\r
|
|
88248
|
-
[title]="groups.RegisteredOfficeAddress"\r
|
|
88249
|
-
>\r
|
|
88250
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88251
|
-
<filing-form-group\r
|
|
88252
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88253
|
-
[form]="registeredOffice"\r
|
|
88254
|
-
[config]="currentAddressesFields"\r
|
|
88255
|
-
/>\r
|
|
88256
|
-
\r
|
|
88257
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88258
|
-
\r
|
|
88259
|
-
@if (registeredMailing) {\r
|
|
88260
|
-
<filing-form-group\r
|
|
88261
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88262
|
-
[form]="registeredMailing"\r
|
|
88263
|
-
[config]="addressFields"\r
|
|
88264
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88265
|
-
/>\r
|
|
88266
|
-
}\r
|
|
88267
|
-
\r
|
|
88268
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88269
|
-
\r
|
|
88270
|
-
<filing-form-group\r
|
|
88271
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88272
|
-
[form]="registeredOffice"\r
|
|
88273
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88274
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88275
|
-
/>\r
|
|
88276
|
-
\r
|
|
88277
|
-
@if (!registeredDeliverySame && registeredDelivery) {\r
|
|
88278
|
-
<filing-form-group\r
|
|
88279
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88280
|
-
[form]="registeredOffice"\r
|
|
88281
|
-
[config]="deliveryNoteFields"\r
|
|
88282
|
-
/>\r
|
|
88283
|
-
<filing-form-group\r
|
|
88284
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88285
|
-
[form]="registeredDelivery"\r
|
|
88286
|
-
[config]="addressFields"\r
|
|
88287
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88288
|
-
/>\r
|
|
88289
|
-
}\r
|
|
88290
|
-
</div>\r
|
|
88291
|
-
</expandable-card>\r
|
|
88292
|
-
}\r
|
|
88293
|
-
\r
|
|
88294
|
-
<!-- ===== RECORDS OFFICE ADDRESS ===== -->\r
|
|
88295
|
-
@let recordsOffice = getFormGroup(groups.RecordsOfficeAddress);\r
|
|
88296
|
-
\r
|
|
88297
|
-
@if (recordsOffice) {\r
|
|
88298
|
-
@let recordsMailing = getAddressGroup(recordsOffice, controls.NewMailingAddress);\r
|
|
88299
|
-
@let recordsDelivery = getAddressGroup(recordsOffice, controls.NewDeliveryAddress);\r
|
|
88300
|
-
@let recordsSameAsRegistered = isChecked(recordsOffice, controls.SameAsRegisteredOffice);\r
|
|
88301
|
-
@let recordsDeliverySame = isChecked(recordsOffice, controls.DeliverySameAsMailing);\r
|
|
88302
|
-
\r
|
|
88303
|
-
<expandable-card\r
|
|
88304
|
-
[isStatusIcon]="!readonly()"\r
|
|
88305
|
-
[isValid]="isRecordsOfficeValid()"\r
|
|
88306
|
-
[title]="groups.RecordsOfficeAddress"\r
|
|
88307
|
-
>\r
|
|
88308
|
-
<div class="change-of-office-addresses-form-item">\r
|
|
88309
|
-
<filing-form-group\r
|
|
88310
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88311
|
-
[form]="recordsOffice"\r
|
|
88312
|
-
[config]="currentAddressesFields"\r
|
|
88313
|
-
/>\r
|
|
88314
|
-
\r
|
|
88315
|
-
<filing-form-group\r
|
|
88316
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88317
|
-
[form]="recordsOffice"\r
|
|
88318
|
-
[config]="sameAsRegisteredOfficeFields"\r
|
|
88319
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88320
|
-
/>\r
|
|
88321
|
-
\r
|
|
88322
|
-
@if (!recordsSameAsRegistered) {\r
|
|
88323
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Mailing Address' | translate }}</h4>\r
|
|
88324
|
-
\r
|
|
88325
|
-
@if (recordsMailing) {\r
|
|
88326
|
-
<filing-form-group\r
|
|
88327
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88328
|
-
[form]="recordsMailing"\r
|
|
88329
|
-
[config]="addressFields"\r
|
|
88330
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88331
|
-
/>\r
|
|
88332
|
-
}\r
|
|
88333
|
-
\r
|
|
88334
|
-
<h4 class="change-of-office-addresses-form-item-title">{{ 'New Delivery Address' | translate }}</h4>\r
|
|
88335
|
-
\r
|
|
88336
|
-
<filing-form-group\r
|
|
88337
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88338
|
-
[form]="recordsOffice"\r
|
|
88339
|
-
[config]="deliverySameAsMailingFields"\r
|
|
88340
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88341
|
-
/>\r
|
|
88342
|
-
\r
|
|
88343
|
-
@if (!recordsDeliverySame && recordsDelivery) {\r
|
|
88344
|
-
<filing-form-group\r
|
|
88345
|
-
[isSubmitted]="isSubmitted()"\r
|
|
88346
|
-
[form]="recordsDelivery"\r
|
|
88347
|
-
[config]="addressFields"\r
|
|
88348
|
-
(visiblyValidChange)="emitValidity()"\r
|
|
88349
|
-
/>\r
|
|
88350
|
-
}\r
|
|
88351
|
-
}\r
|
|
88352
|
-
</div>\r
|
|
88353
|
-
</expandable-card>\r
|
|
88354
|
-
}\r
|
|
88355
|
-
\r
|
|
88356
|
-
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);\r
|
|
88357
|
-
\r
|
|
88358
|
-
@if (annualReportReminder) {\r
|
|
88359
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.AnnualReportReminder">\r
|
|
88360
|
-
<div class="annual-reminder" [formGroup]="annualReportReminder">\r
|
|
88361
|
-
<p>\r
|
|
88362
|
-
{{\r
|
|
88363
|
-
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."\r
|
|
88364
|
-
| translate\r
|
|
88365
|
-
}}\r
|
|
88366
|
-
</p>\r
|
|
88367
|
-
<mat-radio-group [formControlName]="controls.AnnualReportReminder">\r
|
|
88368
|
-
<mat-radio-button [value]="annualReportReminderOption.Yes">\r
|
|
88369
|
-
{{ 'Yes, send the annual report reminder' | translate }}\r
|
|
88370
|
-
</mat-radio-button>\r
|
|
88371
|
-
<mat-radio-button [value]="annualReportReminderOption.No">\r
|
|
88372
|
-
{{ 'No, I do not need to be reminded' | translate }}\r
|
|
88373
|
-
</mat-radio-button>\r
|
|
88374
|
-
</mat-radio-group>\r
|
|
88375
|
-
</div>\r
|
|
88376
|
-
</expandable-card>\r
|
|
88377
|
-
}\r
|
|
88378
|
-
</div>\r
|
|
88379
|
-
</div>\r
|
|
88380
|
-
`, styles: ["/* src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .change-of-office-addresses-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-office-addresses-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow-y: auto;\n min-height: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .change-of-office-addresses-form .annual-reminder p {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .change-of-office-addresses-form .annual-reminder mat-radio-group {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: 14px;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button .mdc-label {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n:host .change-of-office-addresses-form .annual-reminder ::ng-deep .mat-mdc-radio-button {\n --mdc-radio-state-layer-size: 40px;\n}\n:host .change-of-office-addresses-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .change-of-office-addresses-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=change-of-office-addresses-form.component.css.map */\n"] }]
|
|
88381
|
-
}], null, null);
|
|
88382
|
-
})();
|
|
88383
|
-
(() => {
|
|
88384
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfOfficeAddressesFormComponent, { className: "BritishColumbiaChangeOfOfficeAddressesFormComponent", filePath: "src/app/components/british-columbia/change-of-office-addresses/change-of-office-addresses-form/change-of-office-addresses-form.component.ts", lineNumber: 55 });
|
|
88385
|
-
})();
|
|
88386
|
-
}
|
|
88387
|
-
});
|
|
88388
|
-
|
|
88389
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts
|
|
88390
|
-
var BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent;
|
|
88391
|
-
var init_change_of_office_addresses_delta_form_component = __esm({
|
|
88392
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/delta/change-of-office-addresses-delta-form.component.ts"() {
|
|
88393
|
-
init_core();
|
|
88394
|
-
init_button();
|
|
88395
|
-
init_ngx_translate_core();
|
|
88396
|
-
init_common_utils();
|
|
88397
|
-
init_change_of_office_addresses_form_component();
|
|
88398
|
-
init_core();
|
|
88399
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent = class _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent {
|
|
88400
|
-
form = input.required();
|
|
88401
|
-
actionsDisabled = input(false);
|
|
88402
|
-
isNote = input(false);
|
|
88403
|
-
task = input();
|
|
88404
|
-
errors = input([]);
|
|
88405
|
-
close = output();
|
|
88406
|
-
save = output();
|
|
88407
|
-
validate = output();
|
|
88408
|
-
submitted = signal(false);
|
|
88409
|
-
visiblyValid = signal(true);
|
|
88410
|
-
clientErrors = signal([]);
|
|
88411
|
-
translate = inject(TranslateService);
|
|
88412
|
-
combinedErrors = computed(() => {
|
|
88413
|
-
const client = this.clientErrors();
|
|
88414
|
-
return client.length ? client : this.errors();
|
|
88415
|
-
});
|
|
88416
|
-
onVisiblyValidChange(valid) {
|
|
88417
|
-
this.visiblyValid.set(valid);
|
|
88418
|
-
if (this.submitted()) {
|
|
88419
|
-
this.clientErrors.set(valid ? [] : [this.requiredFieldsMessage()]);
|
|
88420
|
-
}
|
|
88421
|
-
}
|
|
88422
|
-
onValidate() {
|
|
88423
|
-
this.submitted.set(true);
|
|
88424
|
-
this.clientErrors.set([]);
|
|
88425
|
-
markFormGroupTouched(this.form());
|
|
88426
|
-
if (!this.visiblyValid()) {
|
|
88427
|
-
this.clientErrors.set([this.requiredFieldsMessage()]);
|
|
88428
|
-
return;
|
|
88429
|
-
}
|
|
88430
|
-
this.validate.emit();
|
|
88431
|
-
}
|
|
88432
|
-
requiredFieldsMessage() {
|
|
88433
|
-
return this.translate.instant("Some required fields aren't completed.");
|
|
88434
|
-
}
|
|
88435
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
88436
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent)();
|
|
88437
|
-
};
|
|
88438
|
-
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) {
|
|
88439
|
-
if (rf & 1) {
|
|
88440
|
-
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88441
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_british_columbia_change_of_office_addresses_form_visiblyValidChange_1_listener($event) {
|
|
88442
|
-
return ctx.onVisiblyValidChange($event);
|
|
88443
|
-
});
|
|
88444
|
-
\u0275\u0275elementEnd();
|
|
88445
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88446
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_3_listener() {
|
|
88447
|
-
return ctx.close.emit();
|
|
88448
|
-
});
|
|
88449
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88450
|
-
\u0275\u0275text(5);
|
|
88451
|
-
\u0275\u0275pipe(6, "translate");
|
|
88452
|
-
\u0275\u0275elementEnd()();
|
|
88453
|
-
\u0275\u0275elementStart(7, "button", 3);
|
|
88454
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_7_listener() {
|
|
88455
|
-
return ctx.save.emit();
|
|
88456
|
-
});
|
|
88457
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88458
|
-
\u0275\u0275text(9);
|
|
88459
|
-
\u0275\u0275pipe(10, "translate");
|
|
88460
|
-
\u0275\u0275elementEnd()();
|
|
88461
|
-
\u0275\u0275elementStart(11, "button", 5);
|
|
88462
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent_Template_button_click_11_listener() {
|
|
88463
|
-
return ctx.onValidate();
|
|
88464
|
-
});
|
|
88465
|
-
\u0275\u0275elementStart(12, "span", 4);
|
|
88466
|
-
\u0275\u0275text(13);
|
|
88467
|
-
\u0275\u0275pipe(14, "translate");
|
|
88468
|
-
\u0275\u0275elementEnd()()()();
|
|
88469
|
-
}
|
|
88470
|
-
if (rf & 2) {
|
|
88471
|
-
\u0275\u0275advance();
|
|
88472
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
88473
|
-
\u0275\u0275advance(2);
|
|
88474
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88475
|
-
\u0275\u0275advance(2);
|
|
88476
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
88477
|
-
\u0275\u0275advance(2);
|
|
88478
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88479
|
-
\u0275\u0275advance(2);
|
|
88480
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
88481
|
-
\u0275\u0275advance(2);
|
|
88482
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88483
|
-
\u0275\u0275advance(2);
|
|
88484
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
88485
|
-
}
|
|
88486
|
-
}, 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 });
|
|
88487
|
-
};
|
|
88488
|
-
(() => {
|
|
88489
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent, [{
|
|
88490
|
-
type: Component,
|
|
88491
|
-
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
|
|
88492
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88493
|
-
class="change-of-office-addresses-delta-form-content"\r
|
|
88494
|
-
[form]="form()"\r
|
|
88495
|
-
[task]="task()"\r
|
|
88496
|
-
[errors]="combinedErrors()"\r
|
|
88497
|
-
[isNote]="isNote()"\r
|
|
88498
|
-
[isSubmitted]="submitted()"\r
|
|
88499
|
-
[readonly]="false"\r
|
|
88500
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
88501
|
-
/>\r
|
|
88502
|
-
\r
|
|
88503
|
-
<div class="change-of-office-addresses-delta-form-actions">\r
|
|
88504
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88505
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88506
|
-
</button>\r
|
|
88507
|
-
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
88508
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
88509
|
-
</button>\r
|
|
88510
|
-
<button\r
|
|
88511
|
-
class="submit"\r
|
|
88512
|
-
color="primary"\r
|
|
88513
|
-
mat-flat-button\r
|
|
88514
|
-
[disabled]="actionsDisabled()"\r
|
|
88515
|
-
(click)="onValidate()"\r
|
|
88516
|
-
>\r
|
|
88517
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
88518
|
-
</button>\r
|
|
88519
|
-
</div>\r
|
|
88520
|
-
</div>\r
|
|
88521
|
-
`, 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"] }]
|
|
88522
|
-
}], null, null);
|
|
88523
|
-
})();
|
|
88524
|
-
(() => {
|
|
88525
|
-
(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 });
|
|
88526
|
-
})();
|
|
88527
|
-
}
|
|
88528
|
-
});
|
|
88529
|
-
|
|
88530
|
-
// src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts
|
|
88531
|
-
var BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent;
|
|
88532
|
-
var init_change_of_office_addresses_preview_form_component = __esm({
|
|
88533
|
-
"src/app/components/british-columbia/change-of-office-addresses/steps/preview/change-of-office-addresses-preview-form.component.ts"() {
|
|
88534
|
-
init_core();
|
|
88535
|
-
init_button();
|
|
88536
|
-
init_ngx_translate_core();
|
|
88537
|
-
init_change_of_office_addresses_form_component();
|
|
88538
|
-
init_core();
|
|
88539
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent = class _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent {
|
|
88540
|
-
form = input.required();
|
|
88541
|
-
actionsDisabled = input(false);
|
|
88542
|
-
task = input();
|
|
88543
|
-
errors = input([]);
|
|
88544
|
-
close = output();
|
|
88545
|
-
file = output();
|
|
88546
|
-
static \u0275fac = function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
88547
|
-
return new (__ngFactoryType__ || _BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent)();
|
|
88548
|
-
};
|
|
88549
|
-
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) {
|
|
88550
|
-
if (rf & 1) {
|
|
88551
|
-
\u0275\u0275elementStart(0, "div", 0);
|
|
88552
|
-
\u0275\u0275element(1, "british-columbia-change-of-office-addresses-form", 1);
|
|
88553
|
-
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
88554
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_3_listener() {
|
|
88555
|
-
return ctx.close.emit();
|
|
88556
|
-
});
|
|
88557
|
-
\u0275\u0275elementStart(4, "span", 4);
|
|
88558
|
-
\u0275\u0275text(5);
|
|
88559
|
-
\u0275\u0275pipe(6, "translate");
|
|
88560
|
-
\u0275\u0275elementEnd()();
|
|
88561
|
-
\u0275\u0275elementStart(7, "button", 5);
|
|
88562
|
-
\u0275\u0275listener("click", function BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent_Template_button_click_7_listener() {
|
|
88563
|
-
return ctx.file.emit();
|
|
88564
|
-
});
|
|
88565
|
-
\u0275\u0275elementStart(8, "span", 4);
|
|
88566
|
-
\u0275\u0275text(9);
|
|
88567
|
-
\u0275\u0275pipe(10, "translate");
|
|
88568
|
-
\u0275\u0275elementEnd()()()();
|
|
88569
|
-
}
|
|
88570
|
-
if (rf & 2) {
|
|
88571
|
-
\u0275\u0275advance();
|
|
88572
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
88573
|
-
\u0275\u0275advance(2);
|
|
88574
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88575
|
-
\u0275\u0275advance(2);
|
|
88576
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
88577
|
-
\u0275\u0275advance(2);
|
|
88578
|
-
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
88579
|
-
\u0275\u0275advance(2);
|
|
88580
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
88581
|
-
}
|
|
88582
|
-
}, 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 });
|
|
88583
|
-
};
|
|
88584
|
-
(() => {
|
|
88585
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent, [{
|
|
88586
|
-
type: Component,
|
|
88587
|
-
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
|
|
88588
|
-
<british-columbia-change-of-office-addresses-form\r
|
|
88589
|
-
class="change-of-office-addresses-preview-form-content"\r
|
|
88590
|
-
[form]="form()"\r
|
|
88591
|
-
[task]="task()"\r
|
|
88592
|
-
[errors]="errors()"\r
|
|
88593
|
-
[isSubmitted]="false"\r
|
|
88594
|
-
[readonly]="true"\r
|
|
88595
|
-
/>\r
|
|
88596
|
-
\r
|
|
88597
|
-
<div class="change-of-office-addresses-preview-form-actions">\r
|
|
88598
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
88599
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
88600
|
-
</button>\r
|
|
88601
|
-
<button\r
|
|
88602
|
-
class="submit"\r
|
|
88603
|
-
color="primary"\r
|
|
88604
|
-
mat-flat-button\r
|
|
88605
|
-
[disabled]="actionsDisabled()"\r
|
|
88606
|
-
(click)="file.emit()"\r
|
|
88607
|
-
>\r
|
|
88608
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
88609
|
-
</button>\r
|
|
88610
|
-
</div>\r
|
|
88611
|
-
</div>\r
|
|
88612
|
-
`, 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"] }]
|
|
88613
|
-
}], null, null);
|
|
88614
|
-
})();
|
|
88615
|
-
(() => {
|
|
88616
|
-
(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 });
|
|
88617
|
-
})();
|
|
88618
|
-
}
|
|
88619
|
-
});
|
|
88620
|
-
|
|
88621
|
-
// src/app/components/british-columbia/british-columbia.component.ts
|
|
88622
|
-
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
88623
|
-
if (rf & 1) {
|
|
88624
|
-
const _r1 = \u0275\u0275getCurrentView();
|
|
88625
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 2);
|
|
88626
|
-
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
88627
|
-
\u0275\u0275restoreView(_r1);
|
|
88628
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88629
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsValidate());
|
|
88630
|
-
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_close_0_listener() {
|
|
88631
|
-
\u0275\u0275restoreView(_r1);
|
|
88632
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88633
|
-
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88634
|
-
})("save", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_save_0_listener() {
|
|
88635
|
-
\u0275\u0275restoreView(_r1);
|
|
88636
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88637
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSave());
|
|
88638
|
-
});
|
|
88639
|
-
\u0275\u0275elementEnd();
|
|
88640
|
-
}
|
|
88641
|
-
if (rf & 2) {
|
|
88642
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88643
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88644
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88645
|
-
}
|
|
88646
|
-
}
|
|
88647
|
-
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
88648
|
-
if (rf & 1) {
|
|
88649
|
-
const _r4 = \u0275\u0275getCurrentView();
|
|
88650
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 3);
|
|
88651
|
-
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
88652
|
-
\u0275\u0275restoreView(_r4);
|
|
88653
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88654
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88655
|
-
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
88656
|
-
\u0275\u0275restoreView(_r4);
|
|
88657
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88658
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit());
|
|
88659
|
-
});
|
|
88660
|
-
\u0275\u0275elementEnd();
|
|
88661
|
-
}
|
|
88662
|
-
if (rf & 2) {
|
|
88663
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88664
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88665
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88666
|
-
}
|
|
88667
|
-
}
|
|
88668
|
-
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
88669
|
-
if (rf & 1) {
|
|
88670
|
-
\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);
|
|
88671
|
-
}
|
|
88672
|
-
if (rf & 2) {
|
|
88673
|
-
const ctx_r1 = \u0275\u0275nextContext();
|
|
88674
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88675
|
-
\u0275\u0275advance();
|
|
88676
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88677
|
-
}
|
|
88678
|
-
}
|
|
88679
|
-
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
88680
|
-
if (rf & 1) {
|
|
88681
|
-
const _r5 = \u0275\u0275getCurrentView();
|
|
88682
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 6);
|
|
88683
|
-
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
88684
|
-
\u0275\u0275restoreView(_r5);
|
|
88685
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88686
|
-
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
88687
|
-
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
88688
|
-
\u0275\u0275restoreView(_r5);
|
|
88689
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88690
|
-
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88691
|
-
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
88692
|
-
\u0275\u0275restoreView(_r5);
|
|
88693
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88694
|
-
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
88695
|
-
});
|
|
88696
|
-
\u0275\u0275elementEnd();
|
|
88697
|
-
}
|
|
88698
|
-
if (rf & 2) {
|
|
88699
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88700
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88701
|
-
\u0275\u0275property("task", taskData_r3)("errors", ctx_r1.errors())("isNote", ctx_r1.isNote())("actionsDisabled", ctx_r1.actionsDisabled())("form", ctx_r1.deltaForm());
|
|
88702
|
-
}
|
|
88703
|
-
}
|
|
88704
|
-
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
88705
|
-
if (rf & 1) {
|
|
88706
|
-
const _r6 = \u0275\u0275getCurrentView();
|
|
88707
|
-
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 7);
|
|
88708
|
-
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
88709
|
-
\u0275\u0275restoreView(_r6);
|
|
88710
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88711
|
-
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
88712
|
-
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
88713
|
-
\u0275\u0275restoreView(_r6);
|
|
88714
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88715
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88716
|
-
});
|
|
88717
|
-
\u0275\u0275elementEnd();
|
|
88718
|
-
}
|
|
88719
|
-
if (rf & 2) {
|
|
88720
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88721
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88722
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("errors", ctx_r1.errors())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
88723
|
-
}
|
|
88724
|
-
}
|
|
88725
|
-
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
88726
|
-
if (rf & 1) {
|
|
88727
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 4)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 4, "british-columbia-incorporation-preview-form", 5);
|
|
88728
|
-
}
|
|
88729
|
-
if (rf & 2) {
|
|
88730
|
-
const ctx_r1 = \u0275\u0275nextContext();
|
|
88731
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88732
|
-
\u0275\u0275advance();
|
|
88733
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88734
|
-
}
|
|
88735
|
-
}
|
|
88736
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_0_Template(rf, ctx) {
|
|
88737
|
-
if (rf & 1) {
|
|
88738
|
-
const _r7 = \u0275\u0275getCurrentView();
|
|
88739
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-delta-form", 2);
|
|
88740
|
-
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_validate_0_listener() {
|
|
88741
|
-
\u0275\u0275restoreView(_r7);
|
|
88742
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88743
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesValidate());
|
|
88744
|
-
})("close", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_close_0_listener() {
|
|
88745
|
-
\u0275\u0275restoreView(_r7);
|
|
88746
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88747
|
-
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
88748
|
-
})("save", function BritishColumbiaComponent_Conditional_3_Conditional_0_Template_british_columbia_change_of_office_addresses_delta_form_save_0_listener() {
|
|
88749
|
-
\u0275\u0275restoreView(_r7);
|
|
88750
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88751
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesSave());
|
|
88752
|
-
});
|
|
88753
|
-
\u0275\u0275elementEnd();
|
|
88754
|
-
}
|
|
88755
|
-
if (rf & 2) {
|
|
88756
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88757
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88758
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
88759
|
-
}
|
|
88760
|
-
}
|
|
88761
|
-
function BritishColumbiaComponent_Conditional_3_Conditional_1_Template(rf, ctx) {
|
|
88762
|
-
if (rf & 1) {
|
|
88763
|
-
const _r8 = \u0275\u0275getCurrentView();
|
|
88764
|
-
\u0275\u0275elementStart(0, "british-columbia-change-of-office-addresses-preview-form", 3);
|
|
88765
|
-
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_close_0_listener() {
|
|
88766
|
-
\u0275\u0275restoreView(_r8);
|
|
88767
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88768
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
88769
|
-
})("file", function BritishColumbiaComponent_Conditional_3_Conditional_1_Template_british_columbia_change_of_office_addresses_preview_form_file_0_listener() {
|
|
88770
|
-
\u0275\u0275restoreView(_r8);
|
|
88771
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88772
|
-
return \u0275\u0275resetView(ctx_r1.onChangeOfOfficeAddressesFile());
|
|
88773
|
-
});
|
|
88774
|
-
\u0275\u0275elementEnd();
|
|
88775
|
-
}
|
|
88776
|
-
if (rf & 2) {
|
|
88777
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
88778
|
-
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
88779
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
88780
|
-
}
|
|
88781
|
-
}
|
|
88782
|
-
function BritishColumbiaComponent_Conditional_3_Template(rf, ctx) {
|
|
88783
|
-
if (rf & 1) {
|
|
88784
|
-
\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);
|
|
88785
|
-
}
|
|
88786
|
-
if (rf & 2) {
|
|
88787
|
-
const ctx_r1 = \u0275\u0275nextContext();
|
|
88788
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
88789
|
-
\u0275\u0275advance();
|
|
88790
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
88791
|
-
}
|
|
88792
|
-
}
|
|
88793
|
-
var BritishColumbiaComponent;
|
|
88794
|
-
var init_british_columbia_component = __esm({
|
|
88795
|
-
"src/app/components/british-columbia/british-columbia.component.ts"() {
|
|
88796
|
-
init_core();
|
|
88797
|
-
init_forms();
|
|
88798
|
-
init_dialog2();
|
|
88799
|
-
init_ngx_translate_core();
|
|
88800
|
-
init_app_enums();
|
|
88801
|
-
init_BritishColumbiaConstants();
|
|
88802
|
-
init_british_columbia_form_enums();
|
|
88803
|
-
init_british_columbia_change_of_directors_form_helper();
|
|
88804
|
-
init_british_columbia_formation_form_helper();
|
|
88805
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
88806
|
-
init_delta_state_service();
|
|
88807
|
-
init_common_utils();
|
|
88808
|
-
init_confirm_modal_component();
|
|
88809
|
-
init_change_of_directors_delta_form_component();
|
|
88810
|
-
init_change_of_directors_preview_form_component();
|
|
88811
|
-
init_british_columbia_incorporation_delta_form_component();
|
|
88812
|
-
init_british_columbia_incorporation_preview_form_component();
|
|
88813
|
-
init_change_of_office_addresses_delta_form_component();
|
|
88814
|
-
init_change_of_office_addresses_preview_form_component();
|
|
88815
|
-
init_core();
|
|
88816
|
-
BritishColumbiaComponent = class _BritishColumbiaComponent {
|
|
88817
|
-
task = input();
|
|
88818
|
-
currentUser = input();
|
|
88819
|
-
activeStep = input();
|
|
87454
|
+
currentUser = input();
|
|
87455
|
+
activeStep = input();
|
|
88820
87456
|
isNote = input(false);
|
|
88821
87457
|
actionsDisabled = input(false);
|
|
88822
87458
|
errors = input([]);
|
|
@@ -88829,19 +87465,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88829
87465
|
formationSubmit = output();
|
|
88830
87466
|
saveFormationDeltaData = output();
|
|
88831
87467
|
nextStep = output();
|
|
88832
|
-
recheckStep = output();
|
|
88833
87468
|
prevStep = output();
|
|
88834
|
-
// Change of Office Addresses outputs
|
|
88835
|
-
coaValidate = output();
|
|
88836
|
-
saveCoaDeltaData = output();
|
|
88837
|
-
coaSubmit = output();
|
|
88838
87469
|
dialog = inject(MatDialog);
|
|
88839
87470
|
deltaState = inject(DeltaStateService);
|
|
88840
87471
|
translate = inject(TranslateService);
|
|
88841
87472
|
steps = Step;
|
|
88842
87473
|
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
88843
87474
|
isFormationTask = isFormationTask2;
|
|
88844
|
-
isChangeOfOfficeAddressesTask = isChangeOfAddressTask;
|
|
88845
87475
|
deltaForm = signal(new FormGroup({}));
|
|
88846
87476
|
previewForm = signal(new FormGroup({}));
|
|
88847
87477
|
constructor() {
|
|
@@ -88855,10 +87485,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88855
87485
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
88856
87486
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
88857
87487
|
}
|
|
88858
|
-
if (task && isChangeOfAddressTask(task)) {
|
|
88859
|
-
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
88860
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88861
|
-
}
|
|
88862
87488
|
});
|
|
88863
87489
|
effect(() => {
|
|
88864
87490
|
const task = this.task();
|
|
@@ -88882,71 +87508,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88882
87508
|
this.nextStep.emit();
|
|
88883
87509
|
}
|
|
88884
87510
|
}
|
|
88885
|
-
if (task && isChangeOfAddressTask(task) && deltaData) {
|
|
88886
|
-
const form = new FormGroup(BritishColumbiaChangeOfOfficeAddressesFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
88887
|
-
form.disable();
|
|
88888
|
-
this.previewForm.set(form);
|
|
88889
|
-
const step = untracked2(() => this.activeStep());
|
|
88890
|
-
if (step === Step.Validate) {
|
|
88891
|
-
this.nextStep.emit();
|
|
88892
|
-
} else if (step === Step.FilingPreview) {
|
|
88893
|
-
this.recheckStep.emit();
|
|
88894
|
-
}
|
|
88895
|
-
}
|
|
88896
87511
|
});
|
|
88897
87512
|
}
|
|
88898
|
-
onChangeOfOfficeAddressesValidate() {
|
|
88899
|
-
markFormGroupTouched(this.deltaForm());
|
|
88900
|
-
this.coaValidate.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88901
|
-
}
|
|
88902
|
-
onChangeOfOfficeAddressesSave() {
|
|
88903
|
-
const delta = this.generateChangeOfOfficeAddressesDeltaData();
|
|
88904
|
-
this.deltaState.setBCChangeOfOfficeAddressesInitialDelta(delta);
|
|
88905
|
-
this.saveCoaDeltaData.emit(delta);
|
|
88906
|
-
}
|
|
88907
|
-
/** No certification step for this filing: "File" submits the staged draft directly. */
|
|
88908
|
-
onChangeOfOfficeAddressesFile() {
|
|
88909
|
-
this.coaSubmit.emit(this.generateChangeOfOfficeAddressesDeltaData());
|
|
88910
|
-
}
|
|
88911
|
-
generateChangeOfOfficeAddressesDeltaData() {
|
|
88912
|
-
const c = BCChangeOfOfficeAddressesFormControls;
|
|
88913
|
-
const formData = this.deltaForm().getRawValue();
|
|
88914
|
-
const refNumbers = formData[BCChangeOfOfficeAddressesFormGroups.ReferenceNumbers];
|
|
88915
|
-
const corporation = formData[BCChangeOfOfficeAddressesFormGroups.CorporationDetails];
|
|
88916
|
-
const reminder = formData[BCChangeOfOfficeAddressesFormGroups.AnnualReportReminder];
|
|
88917
|
-
const registered = formData[BCChangeOfOfficeAddressesFormGroups.RegisteredOfficeAddress];
|
|
88918
|
-
const records = formData[BCChangeOfOfficeAddressesFormGroups.RecordsOfficeAddress];
|
|
88919
|
-
const toAddress = (src) => ({
|
|
88920
|
-
addressLine1: src?.[c.AddressLine1] ?? null,
|
|
88921
|
-
addressLine2: src?.[c.AddressLine2] ?? null,
|
|
88922
|
-
city: src?.[c.City] ?? null,
|
|
88923
|
-
postalCode: src?.[c.PostalCode] ?? null,
|
|
88924
|
-
province: src?.[c.Province] ?? null,
|
|
88925
|
-
country: src?.[c.Country] ?? null
|
|
88926
|
-
});
|
|
88927
|
-
const regDeliverySame = Boolean(registered?.[c.DeliverySameAsMailing]);
|
|
88928
|
-
const recSameAsRegistered = Boolean(records?.[c.SameAsRegisteredOffice]);
|
|
88929
|
-
const recDeliverySame = Boolean(records?.[c.DeliverySameAsMailing]);
|
|
88930
|
-
return {
|
|
88931
|
-
referenceNumbers: {
|
|
88932
|
-
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
88933
|
-
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
88934
|
-
},
|
|
88935
|
-
companyEmail: corporation?.[c.CompanyEmail] ?? "",
|
|
88936
|
-
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? "",
|
|
88937
|
-
registeredOffice: {
|
|
88938
|
-
mailingAddress: toAddress(registered?.[c.NewMailingAddress]),
|
|
88939
|
-
deliverySameAsMailing: regDeliverySame,
|
|
88940
|
-
deliveryAddress: regDeliverySame ? void 0 : toAddress(registered?.[c.NewDeliveryAddress])
|
|
88941
|
-
},
|
|
88942
|
-
recordsOffice: {
|
|
88943
|
-
sameAsRegisteredOffice: recSameAsRegistered,
|
|
88944
|
-
mailingAddress: recSameAsRegistered ? void 0 : toAddress(records?.[c.NewMailingAddress]),
|
|
88945
|
-
deliverySameAsMailing: recSameAsRegistered ? void 0 : recDeliverySame,
|
|
88946
|
-
deliveryAddress: recSameAsRegistered || recDeliverySame ? void 0 : toAddress(records?.[c.NewDeliveryAddress])
|
|
88947
|
-
}
|
|
88948
|
-
};
|
|
88949
|
-
}
|
|
88950
87513
|
onChangeOfDirectorsValidate() {
|
|
88951
87514
|
markFormGroupTouched(this.deltaForm());
|
|
88952
87515
|
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
@@ -89046,7 +87609,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
89046
87609
|
}
|
|
89047
87610
|
onClose() {
|
|
89048
87611
|
const task = this.task();
|
|
89049
|
-
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) :
|
|
87612
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
89050
87613
|
if (!hasChanges) {
|
|
89051
87614
|
this.close.emit();
|
|
89052
87615
|
return;
|
|
@@ -89064,8 +87627,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
89064
87627
|
if (val) {
|
|
89065
87628
|
if (task && isFormationTask2(task)) {
|
|
89066
87629
|
this.onFormationSave();
|
|
89067
|
-
} else if (task && isChangeOfAddressTask(task)) {
|
|
89068
|
-
this.onChangeOfOfficeAddressesSave();
|
|
89069
87630
|
} else {
|
|
89070
87631
|
this.onChangeOfDirectorsSave();
|
|
89071
87632
|
}
|
|
@@ -89076,27 +87637,23 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
89076
87637
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
89077
87638
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
89078
87639
|
};
|
|
89079
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep",
|
|
87640
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"], currentDataExtract: [1, "currentDataExtract"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
89080
87641
|
if (rf & 1) {
|
|
89081
87642
|
\u0275\u0275declareLet(0);
|
|
89082
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2)
|
|
87643
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2, 2)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
|
|
89083
87644
|
}
|
|
89084
87645
|
if (rf & 2) {
|
|
89085
|
-
const
|
|
87646
|
+
const taskData_r7 = \u0275\u0275storeLet(ctx.task());
|
|
89086
87647
|
\u0275\u0275advance();
|
|
89087
|
-
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(
|
|
87648
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r7) ? 1 : -1);
|
|
89088
87649
|
\u0275\u0275advance();
|
|
89089
|
-
\u0275\u0275conditional(ctx.isFormationTask(
|
|
89090
|
-
\u0275\u0275advance();
|
|
89091
|
-
\u0275\u0275conditional(ctx.isChangeOfOfficeAddressesTask(taskData_r9) ? 3 : -1);
|
|
87650
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r7) ? 2 : -1);
|
|
89092
87651
|
}
|
|
89093
87652
|
}, dependencies: [
|
|
89094
87653
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
89095
87654
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
89096
87655
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
89097
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
89098
|
-
BritishColumbiaChangeOfOfficeAddressesDeltaFormComponent,
|
|
89099
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
|
|
87656
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
89100
87657
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
89101
87658
|
};
|
|
89102
87659
|
(() => {
|
|
@@ -89106,14 +87663,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
89106
87663
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
89107
87664
|
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
89108
87665
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
89109
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
89110
|
-
|
|
89111
|
-
BritishColumbiaChangeOfOfficeAddressesPreviewFormComponent
|
|
89112
|
-
], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isChangeOfOfficeAddressesTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-office-addresses-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfOfficeAddressesValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfOfficeAddressesSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-office-addresses-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfOfficeAddressesFile()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
87666
|
+
BritishColumbiaIncorporationPreviewFormComponent
|
|
87667
|
+
], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onChangeOfDirectorsSubmit()"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
89113
87668
|
}], () => [], null);
|
|
89114
87669
|
})();
|
|
89115
87670
|
(() => {
|
|
89116
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
87671
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 62 });
|
|
89117
87672
|
})();
|
|
89118
87673
|
}
|
|
89119
87674
|
});
|
|
@@ -95343,9 +93898,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95343
93898
|
ensureAuthInputs(signature);
|
|
95344
93899
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95345
93900
|
const dataExtractUrl = `${this.getOnbisOrigin()}/filings/ca/bc/data-extract`;
|
|
95346
|
-
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues({
|
|
93901
|
+
const orderResp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, order, __spreadValues(__spreadValues({
|
|
95347
93902
|
"x-target-url": `${dataExtractUrl}/order`
|
|
95348
|
-
}, opts.headers ?? {})));
|
|
93903
|
+
}, this.getEcoreIdentityHeaders()), opts.headers ?? {})));
|
|
95349
93904
|
const ordered = yield this.readJson(orderResp, "BC current data extract order");
|
|
95350
93905
|
const orderId = ordered.currentDataServiceOrderId;
|
|
95351
93906
|
if (!orderResp.ok || !orderId || ordered.status === "failed") {
|
|
@@ -95356,10 +93911,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95356
93911
|
for (let attempt = 0; attempt < maxAttempts; attempt++) {
|
|
95357
93912
|
const extractResp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
95358
93913
|
method: "GET",
|
|
95359
|
-
headers: __spreadValues({
|
|
93914
|
+
headers: __spreadValues(__spreadValues({
|
|
95360
93915
|
Authorization: `Bearer ${signature.jwtToken}`,
|
|
95361
93916
|
"x-target-url": `${dataExtractUrl}/${encodeURIComponent(orderId)}`
|
|
95362
|
-
}, opts.headers ?? {})
|
|
93917
|
+
}, this.getEcoreIdentityHeaders()), opts.headers ?? {})
|
|
95363
93918
|
}));
|
|
95364
93919
|
const extract = yield this.readJson(extractResp, "BC current data extract");
|
|
95365
93920
|
if (extractResp.ok && extract.status === "success") {
|
|
@@ -95384,9 +93939,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95384
93939
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95385
93940
|
const url = signature.proxyApiUrl;
|
|
95386
93941
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
|
|
95387
|
-
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
|
|
93942
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues(__spreadValues({
|
|
95388
93943
|
"x-target-url": targetUrl
|
|
95389
|
-
}, opts.headers ?? {})));
|
|
93944
|
+
}, this.getEcoreIdentityHeaders()), opts.headers ?? {})));
|
|
95390
93945
|
const raw = yield resp.text();
|
|
95391
93946
|
const parsed = tryParseJson(raw);
|
|
95392
93947
|
if (!parsed.ok) {
|
|
@@ -95419,10 +93974,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95419
93974
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}`;
|
|
95420
93975
|
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
|
|
95421
93976
|
method: "GET",
|
|
95422
|
-
headers: __spreadValues({
|
|
93977
|
+
headers: __spreadValues(__spreadValues({
|
|
95423
93978
|
Authorization: `Bearer ${signature.jwtToken}`,
|
|
95424
93979
|
"x-target-url": targetUrl
|
|
95425
|
-
}, opts.headers ?? {})
|
|
93980
|
+
}, this.getEcoreIdentityHeaders()), opts.headers ?? {})
|
|
95426
93981
|
}));
|
|
95427
93982
|
const raw = yield resp.text();
|
|
95428
93983
|
const parsed = tryParseJson(raw);
|
|
@@ -95445,9 +94000,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95445
94000
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95446
94001
|
const url = signature.proxyApiUrl;
|
|
95447
94002
|
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}/submit`;
|
|
95448
|
-
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues({
|
|
94003
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues(__spreadValues({
|
|
95449
94004
|
"x-target-url": targetUrl
|
|
95450
|
-
}, opts.headers ?? {})));
|
|
94005
|
+
}, this.getEcoreIdentityHeaders()), opts.headers ?? {})));
|
|
95451
94006
|
const raw = yield resp.text();
|
|
95452
94007
|
const parsed = tryParseJson(raw);
|
|
95453
94008
|
const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
|
|
@@ -95477,6 +94032,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95477
94032
|
}
|
|
95478
94033
|
return filingUrl.replace(/\/$/, "");
|
|
95479
94034
|
}
|
|
94035
|
+
getEcoreIdentityHeaders() {
|
|
94036
|
+
const headers = {};
|
|
94037
|
+
const clientId = this.config?.ecoreClientId;
|
|
94038
|
+
const userId = this.config?.ecoreUserId;
|
|
94039
|
+
if (clientId !== void 0 && clientId !== null && String(clientId).trim()) {
|
|
94040
|
+
headers["x-ecore-client-id"] = String(clientId);
|
|
94041
|
+
}
|
|
94042
|
+
if (userId !== void 0 && userId !== null && String(userId).trim()) {
|
|
94043
|
+
headers["x-ecore-user-id"] = String(userId);
|
|
94044
|
+
}
|
|
94045
|
+
return headers;
|
|
94046
|
+
}
|
|
95480
94047
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
95481
94048
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
95482
94049
|
};
|
|
@@ -95593,6 +94160,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95593
94160
|
}
|
|
95594
94161
|
function findDirectorNumber(affiliation, extract) {
|
|
95595
94162
|
const target = normaliseDirectorName(affiliation);
|
|
94163
|
+
const targetId = String(affiliation?._id ?? affiliation?.id ?? "").trim();
|
|
95596
94164
|
let result;
|
|
95597
94165
|
const visit = (value) => {
|
|
95598
94166
|
if (result !== void 0 || value === null || value === void 0)
|
|
@@ -95605,7 +94173,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95605
94173
|
return;
|
|
95606
94174
|
const record = value;
|
|
95607
94175
|
const number = record["directorNumber"] ?? record["DirectorNumber"];
|
|
95608
|
-
|
|
94176
|
+
const recordId = String(record["_id"] ?? record["id"] ?? record["affiliationId"] ?? "").trim();
|
|
94177
|
+
if (number !== void 0 && (targetId && recordId === targetId || normaliseDirectorName(record) === target)) {
|
|
95609
94178
|
const parsed = Number(number);
|
|
95610
94179
|
if (Number.isFinite(parsed))
|
|
95611
94180
|
result = parsed;
|
|
@@ -95650,293 +94219,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95650
94219
|
}
|
|
95651
94220
|
});
|
|
95652
94221
|
|
|
95653
|
-
// src/app/services/british-columbia/british-columbia-maintenance.service.ts
|
|
95654
|
-
var MAINTENANCE_FILING_PATH, TEMP_UAT_BC_FILING_URL2, DATA_EXTRACT_PATH, DEFAULT_EXTRACT_POLL, DEFAULT_RESULT_POLL, BritishColumbiaMaintenanceService;
|
|
95655
|
-
var init_british_columbia_maintenance_service = __esm({
|
|
95656
|
-
"src/app/services/british-columbia/british-columbia-maintenance.service.ts"() {
|
|
95657
|
-
init_core();
|
|
95658
|
-
init_common_utils();
|
|
95659
|
-
init_core();
|
|
95660
|
-
MAINTENANCE_FILING_PATH = "/filings/ca/bc/maintenance-filing";
|
|
95661
|
-
TEMP_UAT_BC_FILING_URL2 = "https://uat3-onbis.oncorp.com/eCoreBcApi/";
|
|
95662
|
-
DATA_EXTRACT_PATH = "/filings/ca/bc/data-extract";
|
|
95663
|
-
DEFAULT_EXTRACT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95664
|
-
DEFAULT_RESULT_POLL = { intervalMs: 3e3, timeoutMs: 6e5 };
|
|
95665
|
-
BritishColumbiaMaintenanceService = class _BritishColumbiaMaintenanceService {
|
|
95666
|
-
config;
|
|
95667
|
-
setConfig(config2) {
|
|
95668
|
-
this.config = config2;
|
|
95669
|
-
}
|
|
95670
|
-
/** Orders the registry's current data for the corporation; returns the extract's id. */
|
|
95671
|
-
orderCurrentDataExtract(_0, _1) {
|
|
95672
|
-
return __async(this, arguments, function* (signature, context2, opts = {}) {
|
|
95673
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", `${DATA_EXTRACT_PATH}/order`, {
|
|
95674
|
-
corporationNumber: context2.corporationNumber,
|
|
95675
|
-
accessCodeOrPassword: context2.accessCodeOrPassword,
|
|
95676
|
-
incorporationDate: context2.incorporationDate,
|
|
95677
|
-
filingType: "changeOfAddressFiling"
|
|
95678
|
-
}, opts);
|
|
95679
|
-
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95680
|
-
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95681
|
-
throw this.failure(status, "Ordering the current data from the registry failed", body, raw);
|
|
95682
|
-
}
|
|
95683
|
-
return String(id);
|
|
95684
|
-
});
|
|
95685
|
-
}
|
|
95686
|
-
/** Polls the extract until the registry has it ready (`success`). */
|
|
95687
|
-
waitForCurrentDataExtract(_0, _1) {
|
|
95688
|
-
return __async(this, arguments, function* (signature, extractId, opts = {}, poll = {}) {
|
|
95689
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_EXTRACT_POLL), poll);
|
|
95690
|
-
const deadline = Date.now() + timeoutMs;
|
|
95691
|
-
for (; ; ) {
|
|
95692
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${DATA_EXTRACT_PATH}/${encodeURIComponent(extractId)}`, void 0, opts);
|
|
95693
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95694
|
-
if (ok && state2 === "success") {
|
|
95695
|
-
return;
|
|
95696
|
-
}
|
|
95697
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95698
|
-
throw this.failure(status, "Retrieving the current data from the registry failed", body, raw);
|
|
95699
|
-
}
|
|
95700
|
-
if (Date.now() >= deadline) {
|
|
95701
|
-
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
95702
|
-
}
|
|
95703
|
-
yield this.sleep(intervalMs);
|
|
95704
|
-
}
|
|
95705
|
-
});
|
|
95706
|
-
}
|
|
95707
|
-
/**
|
|
95708
|
-
* Validates the filing against the extract and returns the draft. `context` supplies the
|
|
95709
|
-
* corporation number and password; they are added here so they never become part of the
|
|
95710
|
-
* saved request used to detect Entity changes.
|
|
95711
|
-
*/
|
|
95712
|
-
validate(_0, _1, _2, _3) {
|
|
95713
|
-
return __async(this, arguments, function* (signature, requestBody, extractId, context2, opts = {}) {
|
|
95714
|
-
const { status, ok, body, raw } = yield this.send(signature, "POST", MAINTENANCE_FILING_PATH, {
|
|
95715
|
-
currentDataServiceOrderId: extractId,
|
|
95716
|
-
filingType: requestBody.filingType,
|
|
95717
|
-
filing: __spreadProps(__spreadValues({}, requestBody.filing), {
|
|
95718
|
-
corporationNumber: context2.corporationNumber,
|
|
95719
|
-
accessCodeOrPassword: context2.accessCodeOrPassword
|
|
95720
|
-
})
|
|
95721
|
-
}, opts);
|
|
95722
|
-
if (body === null) {
|
|
95723
|
-
throw this.failure(status, "eCore validation failed", body, raw);
|
|
95724
|
-
}
|
|
95725
|
-
const result = this.normalize(unwrapRequestResults(body));
|
|
95726
|
-
if (ok && !this.hasFailed(result)) {
|
|
95727
|
-
return result;
|
|
95728
|
-
}
|
|
95729
|
-
const err = new Error(this.describeFailure(status, "eCore validation failed", result));
|
|
95730
|
-
err.validateResult = result;
|
|
95731
|
-
err.httpStatus = status;
|
|
95732
|
-
throw err;
|
|
95733
|
-
});
|
|
95734
|
-
}
|
|
95735
|
-
/**
|
|
95736
|
-
* Submits the staged filing, then waits for the registry's result. Resolves once the filing
|
|
95737
|
-
* is `success` (or its documents are pending); throws if it `failed`. If the registry is
|
|
95738
|
-
* still `processing` when the wait ends, the filing is already submitted, so it resolves
|
|
95739
|
-
* with `Status: 'Success'` and `Processing: true` rather than inviting a second submit.
|
|
95740
|
-
*/
|
|
95741
|
-
submitAndWait(_0, _1) {
|
|
95742
|
-
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}, poll = {}) {
|
|
95743
|
-
if (!serviceOrderId) {
|
|
95744
|
-
throw new Error("Missing serviceOrderId.");
|
|
95745
|
-
}
|
|
95746
|
-
const submitted = yield this.send(signature, "POST", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}/submit`, void 0, opts);
|
|
95747
|
-
const submitResult = this.normalize(submitted.body);
|
|
95748
|
-
if (!submitted.ok || submitResult.Status === "Failure") {
|
|
95749
|
-
const err = new Error(this.describeFailure(submitted.status, "eCore submit failed", submitResult));
|
|
95750
|
-
err.submitResult = submitResult;
|
|
95751
|
-
err.httpStatus = submitted.status;
|
|
95752
|
-
throw err;
|
|
95753
|
-
}
|
|
95754
|
-
const { intervalMs, timeoutMs } = __spreadValues(__spreadValues({}, DEFAULT_RESULT_POLL), poll);
|
|
95755
|
-
const deadline = Date.now() + timeoutMs;
|
|
95756
|
-
let processing = false;
|
|
95757
|
-
let files;
|
|
95758
|
-
for (; ; ) {
|
|
95759
|
-
const { status, ok, body, raw } = yield this.send(signature, "GET", `${MAINTENANCE_FILING_PATH}/${encodeURIComponent(serviceOrderId)}`, void 0, opts);
|
|
95760
|
-
const state2 = String(body?.status ?? "").toLowerCase();
|
|
95761
|
-
if (ok && (state2 === "success" || state2 === "pendingdocuments")) {
|
|
95762
|
-
files = body?.files;
|
|
95763
|
-
break;
|
|
95764
|
-
}
|
|
95765
|
-
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95766
|
-
throw this.failure(status, "The registry could not complete the filing", body, raw);
|
|
95767
|
-
}
|
|
95768
|
-
if (Date.now() >= deadline) {
|
|
95769
|
-
processing = true;
|
|
95770
|
-
break;
|
|
95771
|
-
}
|
|
95772
|
-
yield this.sleep(intervalMs);
|
|
95773
|
-
}
|
|
95774
|
-
signature.filingSubmitSuccess?.({ filedOn: /* @__PURE__ */ new Date(), serviceOrderId });
|
|
95775
|
-
return { Status: "Success", ServiceOrderId: serviceOrderId, Processing: processing, Files: files };
|
|
95776
|
-
});
|
|
95777
|
-
}
|
|
95778
|
-
getBaseUrl(env) {
|
|
95779
|
-
const baseUrl = this.config?.BCFiling || (env === "TEST" ? TEMP_UAT_BC_FILING_URL2 : void 0);
|
|
95780
|
-
if (!baseUrl) {
|
|
95781
|
-
throw new Error("BritishColumbiaMaintenanceService: missing EnvConfig.BCFiling.");
|
|
95782
|
-
}
|
|
95783
|
-
return baseUrl;
|
|
95784
|
-
}
|
|
95785
|
-
/** One call to the BC API through the proxy. `body` is `null` when the response isn't JSON. */
|
|
95786
|
-
send(signature, method, path, payload, opts) {
|
|
95787
|
-
return __async(this, null, function* () {
|
|
95788
|
-
ensureAuthInputs(signature);
|
|
95789
|
-
const fetchFn = opts.fetchImpl ?? fetch;
|
|
95790
|
-
const targetUrl = joinUrl(this.getBaseUrl(signature.env), path);
|
|
95791
|
-
const { ecoreClientId, ecoreUserId } = this.config ?? {};
|
|
95792
|
-
const headers = __spreadValues(__spreadValues(__spreadValues({
|
|
95793
|
-
"x-target-url": targetUrl
|
|
95794
|
-
}, ecoreClientId ? { "x-ecore-client-id": String(ecoreClientId) } : {}), ecoreUserId ? { "x-ecore-user-id": String(ecoreUserId) } : {}), opts.headers ?? {});
|
|
95795
|
-
const resp = yield fetchWithJwtRetry(signature, () => method === "POST" && payload !== void 0 ? postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, payload, headers) : fetchFn(signature.proxyApiUrl, {
|
|
95796
|
-
method,
|
|
95797
|
-
headers: __spreadValues({ Authorization: `Bearer ${signature.jwtToken}` }, headers)
|
|
95798
|
-
}));
|
|
95799
|
-
const raw = yield resp.text();
|
|
95800
|
-
const parsed = tryParseJson(raw);
|
|
95801
|
-
const body = parsed.ok ? unwrapRequestResults(parsed.value) : null;
|
|
95802
|
-
return { status: resp.status, ok: resp.ok, body, raw };
|
|
95803
|
-
});
|
|
95804
|
-
}
|
|
95805
|
-
failure(status, prefix, body, raw) {
|
|
95806
|
-
const result = body ? this.normalize(body) : void 0;
|
|
95807
|
-
const message = result ? this.describeFailure(status, prefix, result) : `${prefix} (HTTP ${status}): ${raw || "(empty response)"}`;
|
|
95808
|
-
const err = new Error(message);
|
|
95809
|
-
err.httpStatus = status;
|
|
95810
|
-
return err;
|
|
95811
|
-
}
|
|
95812
|
-
sleep(ms) {
|
|
95813
|
-
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
95814
|
-
}
|
|
95815
|
-
/**
|
|
95816
|
-
* Maps a BC API body to the shared result shape. `status` becomes `Success` or `Failure`
|
|
95817
|
-
* (`failed` and any other non-success value are failures). When a failure carries no
|
|
95818
|
-
* `errors`, `additionalInformation` is used as the error messages.
|
|
95819
|
-
*/
|
|
95820
|
-
normalize(body) {
|
|
95821
|
-
const rawErrors = body?.errors ?? body?.Errors ?? [];
|
|
95822
|
-
const errors = rawErrors.map((e) => ({
|
|
95823
|
-
Code: e?.code ?? e?.Code,
|
|
95824
|
-
Message: e?.message ?? e?.Message ?? e?.ErrorMessage
|
|
95825
|
-
}));
|
|
95826
|
-
const status = String(body?.status ?? body?.Status ?? "").toLowerCase();
|
|
95827
|
-
const succeeded = status === "success" || status === "alreadysubmitted";
|
|
95828
|
-
if (!succeeded && !errors.length) {
|
|
95829
|
-
const additional = body?.additionalInformation ?? [];
|
|
95830
|
-
errors.push(...additional.map((Message) => ({ Message })));
|
|
95831
|
-
}
|
|
95832
|
-
return {
|
|
95833
|
-
Status: succeeded ? "Success" : "Failure",
|
|
95834
|
-
ServiceOrderId: body?.serviceOrderId ?? body?.ServiceOrderId,
|
|
95835
|
-
Draft: body?.draft ?? body?.Draft,
|
|
95836
|
-
Errors: errors
|
|
95837
|
-
};
|
|
95838
|
-
}
|
|
95839
|
-
/** A body-level failure: the normalised status is `Failure` or errors were returned. */
|
|
95840
|
-
hasFailed(result) {
|
|
95841
|
-
return result.Status === "Failure" || Boolean(result.Errors?.length);
|
|
95842
|
-
}
|
|
95843
|
-
describeFailure(httpStatus, prefix, result) {
|
|
95844
|
-
const messages = (result.Errors ?? []).map((e) => e.Message || e.Code).filter(Boolean).join(" | ");
|
|
95845
|
-
return messages ? `${prefix} (HTTP ${httpStatus}): ${messages}` : `${prefix} (HTTP ${httpStatus}).`;
|
|
95846
|
-
}
|
|
95847
|
-
static \u0275fac = function BritishColumbiaMaintenanceService_Factory(__ngFactoryType__) {
|
|
95848
|
-
return new (__ngFactoryType__ || _BritishColumbiaMaintenanceService)();
|
|
95849
|
-
};
|
|
95850
|
-
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaMaintenanceService, factory: _BritishColumbiaMaintenanceService.\u0275fac, providedIn: "root" });
|
|
95851
|
-
};
|
|
95852
|
-
(() => {
|
|
95853
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaMaintenanceService, [{
|
|
95854
|
-
type: Injectable,
|
|
95855
|
-
args: [{
|
|
95856
|
-
providedIn: "root"
|
|
95857
|
-
}]
|
|
95858
|
-
}], null, null);
|
|
95859
|
-
})();
|
|
95860
|
-
}
|
|
95861
|
-
});
|
|
95862
|
-
|
|
95863
|
-
// src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts
|
|
95864
|
-
function formatPostalCode(value) {
|
|
95865
|
-
const compact = clean(value).replace(/[\s-]+/g, "").toUpperCase();
|
|
95866
|
-
return compact.length === 6 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : clean(value).toUpperCase();
|
|
95867
|
-
}
|
|
95868
|
-
function toEcoreAddress(address) {
|
|
95869
|
-
const line2 = clean(address?.addressLine2);
|
|
95870
|
-
return __spreadProps(__spreadValues({
|
|
95871
|
-
streetAddress: clean(address?.addressLine1)
|
|
95872
|
-
}, line2 ? { additionalStreetAddress: line2 } : {}), {
|
|
95873
|
-
city: clean(address?.city),
|
|
95874
|
-
provinceOrState: BC_PROVINCE_CODE,
|
|
95875
|
-
postalOrZipCode: formatPostalCode(address?.postalCode),
|
|
95876
|
-
country: CANADA_COUNTRY_CODE
|
|
95877
|
-
});
|
|
95878
|
-
}
|
|
95879
|
-
function isSameAddress(a, b) {
|
|
95880
|
-
const key = (x) => [x.streetAddress, x.additionalStreetAddress, x.city, x.provinceOrState, x.postalOrZipCode, x.country].map((v) => (v ?? "").trim().toLowerCase().replace(/\s+/g, " ")).join("|");
|
|
95881
|
-
return key(a) === key(b);
|
|
95882
|
-
}
|
|
95883
|
-
function buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData) {
|
|
95884
|
-
const registered = deltaData.registeredOffice;
|
|
95885
|
-
const records = deltaData.recordsOffice;
|
|
95886
|
-
const registeredMailing = toEcoreAddress(registered?.mailingAddress);
|
|
95887
|
-
const registeredDelivery = registered?.deliverySameAsMailing ? registeredMailing : toEcoreAddress(registered?.deliveryAddress);
|
|
95888
|
-
const recordsMailing = records?.sameAsRegisteredOffice ? registeredMailing : toEcoreAddress(records?.mailingAddress);
|
|
95889
|
-
const recordsDelivery = records?.sameAsRegisteredOffice ? registeredDelivery : records?.deliverySameAsMailing ? recordsMailing : toEcoreAddress(records?.deliveryAddress);
|
|
95890
|
-
const registeredDeliverySame = isSameAddress(registeredDelivery, registeredMailing);
|
|
95891
|
-
const recordsSameAsRegistered = isSameAddress(recordsMailing, registeredMailing);
|
|
95892
|
-
const recordsDeliverySame = isSameAddress(recordsDelivery, recordsMailing);
|
|
95893
|
-
const filing = {
|
|
95894
|
-
registeredOfficeMailingAddress: registeredMailing,
|
|
95895
|
-
isRegisteredOfficeDeliveryAddressSameAsMailing: registeredDeliverySame,
|
|
95896
|
-
isRecordsOfficeMailingAddressSameAsRegisteredOfficeMailing: recordsSameAsRegistered,
|
|
95897
|
-
isRecordsOfficeDeliveryAddressSameAsRecordsOfficeMailing: recordsDeliverySame,
|
|
95898
|
-
// Both are picked on the form; the fallbacks only cover data saved before they were added.
|
|
95899
|
-
companyEmail: clean(deltaData.companyEmail) || BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveCompanyEmail(task),
|
|
95900
|
-
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
95901
|
-
};
|
|
95902
|
-
const reference = clean(deltaData.referenceNumbers?.referenceNumber);
|
|
95903
|
-
const docket = clean(deltaData.referenceNumbers?.docketNumber);
|
|
95904
|
-
if (reference) {
|
|
95905
|
-
filing.reference = reference;
|
|
95906
|
-
}
|
|
95907
|
-
if (docket) {
|
|
95908
|
-
filing.docket = docket;
|
|
95909
|
-
}
|
|
95910
|
-
if (!registeredDeliverySame) {
|
|
95911
|
-
filing.registeredOfficeDeliveryAddress = registeredDelivery;
|
|
95912
|
-
}
|
|
95913
|
-
if (!recordsSameAsRegistered) {
|
|
95914
|
-
filing.recordsOfficeMailingAddress = recordsMailing;
|
|
95915
|
-
}
|
|
95916
|
-
if (!recordsDeliverySame) {
|
|
95917
|
-
filing.recordsOfficeDeliveryAddress = recordsDelivery;
|
|
95918
|
-
}
|
|
95919
|
-
return { filingType: "changeOfAddressFiling", filing };
|
|
95920
|
-
}
|
|
95921
|
-
function getBritishColumbiaAccessCode2(task, env) {
|
|
95922
|
-
const registryId = task.entity._profile.registry_id?.trim() ?? "";
|
|
95923
|
-
if (registryId) {
|
|
95924
|
-
return registryId;
|
|
95925
|
-
}
|
|
95926
|
-
return env === "TEST" ? TEMP_UAT_TEST_ACCESS_CODE : "";
|
|
95927
|
-
}
|
|
95928
|
-
var TEMP_UAT_TEST_ACCESS_CODE, BC_PROVINCE_CODE, CANADA_COUNTRY_CODE, clean;
|
|
95929
|
-
var init_british_columbia_change_of_office_addresses_mapper = __esm({
|
|
95930
|
-
"src/app/helpers/mappers/british-columbia-change-of-office-addresses.mapper.ts"() {
|
|
95931
|
-
init_BritishColumbiaConstants();
|
|
95932
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
95933
|
-
TEMP_UAT_TEST_ACCESS_CODE = "12345678";
|
|
95934
|
-
BC_PROVINCE_CODE = "BC";
|
|
95935
|
-
CANADA_COUNTRY_CODE = "CA";
|
|
95936
|
-
clean = (value) => (value ?? "").trim();
|
|
95937
|
-
}
|
|
95938
|
-
});
|
|
95939
|
-
|
|
95940
94222
|
// src/app/components/filing/filing.component.ts
|
|
95941
94223
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
95942
94224
|
if (rf & 1) {
|
|
@@ -96020,10 +94302,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96020
94302
|
\u0275\u0275restoreView(_r6);
|
|
96021
94303
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96022
94304
|
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
96023
|
-
})("recheckStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_recheckStep_0_listener() {
|
|
96024
|
-
\u0275\u0275restoreView(_r6);
|
|
96025
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96026
|
-
return \u0275\u0275resetView(ctx_r2.defineInitialStep());
|
|
96027
94305
|
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
96028
94306
|
\u0275\u0275restoreView(_r6);
|
|
96029
94307
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -96040,18 +94318,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96040
94318
|
\u0275\u0275restoreView(_r6);
|
|
96041
94319
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96042
94320
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
96043
|
-
})("coaValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaValidate_0_listener($event) {
|
|
96044
|
-
\u0275\u0275restoreView(_r6);
|
|
96045
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96046
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesValidate($event));
|
|
96047
|
-
})("saveCoaDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCoaDeltaData_0_listener($event) {
|
|
96048
|
-
\u0275\u0275restoreView(_r6);
|
|
96049
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96050
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSave($event));
|
|
96051
|
-
})("coaSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_coaSubmit_0_listener() {
|
|
96052
|
-
\u0275\u0275restoreView(_r6);
|
|
96053
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
96054
|
-
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfOfficeAddressesSubmit());
|
|
96055
94321
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
96056
94322
|
\u0275\u0275restoreView(_r6);
|
|
96057
94323
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -96167,8 +94433,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96167
94433
|
init_delta_state_service();
|
|
96168
94434
|
init_british_columbia_change_of_directors_service();
|
|
96169
94435
|
init_british_columbia_change_of_directors_mapper();
|
|
96170
|
-
init_british_columbia_maintenance_service();
|
|
96171
|
-
init_british_columbia_change_of_office_addresses_mapper();
|
|
96172
94436
|
init_core();
|
|
96173
94437
|
init_button();
|
|
96174
94438
|
FilingComponent = class _FilingComponent {
|
|
@@ -96225,7 +94489,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96225
94489
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
96226
94490
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
96227
94491
|
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
96228
|
-
bcMaintenanceService = inject(BritishColumbiaMaintenanceService);
|
|
96229
94492
|
translate = inject(TranslateService);
|
|
96230
94493
|
isEditButton = computed(() => {
|
|
96231
94494
|
const task = this.task();
|
|
@@ -96270,9 +94533,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96270
94533
|
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
96271
94534
|
return "File British Columbia Notice of Change of Directors";
|
|
96272
94535
|
}
|
|
96273
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
96274
|
-
return "File British Columbia Change of Office Addresses";
|
|
96275
|
-
}
|
|
96276
94536
|
return "";
|
|
96277
94537
|
});
|
|
96278
94538
|
constructor() {
|
|
@@ -96285,7 +94545,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96285
94545
|
this.bcFormationService.setConfig(config2);
|
|
96286
94546
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
96287
94547
|
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
96288
|
-
this.bcMaintenanceService.setConfig(config2);
|
|
96289
94548
|
}
|
|
96290
94549
|
});
|
|
96291
94550
|
addStylesVariables();
|
|
@@ -96610,97 +94869,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96610
94869
|
}
|
|
96611
94870
|
});
|
|
96612
94871
|
}
|
|
96613
|
-
/**
|
|
96614
|
-
* British Columbia Change of Office Addresses "Validate & Generate Draft": sends the filing
|
|
96615
|
-
* to eCore, hands the draft PDF to the host, and saves the delta together with the
|
|
96616
|
-
* ServiceOrderId and the full request (`validatedData`) used to detect later Entity changes.
|
|
96617
|
-
*/
|
|
96618
|
-
onBritishColumbiaChangeOfOfficeAddressesValidate(deltaData) {
|
|
96619
|
-
return __async(this, null, function* () {
|
|
96620
|
-
const task = this.task();
|
|
96621
|
-
const signature = this._signature();
|
|
96622
|
-
try {
|
|
96623
|
-
if (!task || !signature) {
|
|
96624
|
-
throw new Error("The filing is not ready yet. Please try again.");
|
|
96625
|
-
}
|
|
96626
|
-
this.isLoading.set(true);
|
|
96627
|
-
this.errors.set([]);
|
|
96628
|
-
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96629
|
-
const opts = this.validateOptions() ?? {};
|
|
96630
|
-
const context2 = {
|
|
96631
|
-
corporationNumber: task.entity._profile.corp_number ?? "",
|
|
96632
|
-
accessCodeOrPassword: getBritishColumbiaAccessCode2(task, signature.env),
|
|
96633
|
-
incorporationDate: String(task.entity._compliance?.incorporation_date ?? "").slice(0, 10)
|
|
96634
|
-
};
|
|
96635
|
-
const extractId = yield this.bcMaintenanceService.orderCurrentDataExtract(signature, context2, opts);
|
|
96636
|
-
yield this.bcMaintenanceService.waitForCurrentDataExtract(signature, extractId, opts);
|
|
96637
|
-
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96638
|
-
if (this.hasResponseErrors(response))
|
|
96639
|
-
return;
|
|
96640
|
-
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
96641
|
-
const draftPdf = response.Draft ?? "";
|
|
96642
|
-
const searchOrFilingType = getSearchOrFilingType(task);
|
|
96643
|
-
if (draftPdf && searchOrFilingType) {
|
|
96644
|
-
this.filingValidateSuccess.emit({
|
|
96645
|
-
searchOrFilingType,
|
|
96646
|
-
serviceOrderId,
|
|
96647
|
-
validatedOn: /* @__PURE__ */ new Date(),
|
|
96648
|
-
provider: "bcreg",
|
|
96649
|
-
draftPdf,
|
|
96650
|
-
documentName: this.validateOptions()?.documentName ?? "British Columbia Change of Office Addresses Draft",
|
|
96651
|
-
documentType: "pdf"
|
|
96652
|
-
});
|
|
96653
|
-
}
|
|
96654
|
-
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96655
|
-
serviceOrderId,
|
|
96656
|
-
// The corporation number is added by the service, not by the request builder, so it is
|
|
96657
|
-
// stored explicitly (the access code is deliberately left out) to detect entity changes.
|
|
96658
|
-
validatedData: __spreadProps(__spreadValues({}, JSON.parse(JSON.stringify(requestBody))), {
|
|
96659
|
-
corporationNumber: context2.corporationNumber
|
|
96660
|
-
})
|
|
96661
|
-
}));
|
|
96662
|
-
this.close.emit();
|
|
96663
|
-
} catch (response) {
|
|
96664
|
-
this.handleCatchError(response);
|
|
96665
|
-
} finally {
|
|
96666
|
-
this.isLoading.set(false);
|
|
96667
|
-
}
|
|
96668
|
-
});
|
|
96669
|
-
}
|
|
96670
|
-
/**
|
|
96671
|
-
* British Columbia Change of Office Addresses save – propagates delta data to the host.
|
|
96672
|
-
*/
|
|
96673
|
-
onBritishColumbiaChangeOfOfficeAddressesSave(deltaData) {
|
|
96674
|
-
const oldDeltaData = this.task()?.deltaData;
|
|
96675
|
-
if (oldDeltaData) {
|
|
96676
|
-
delete this.task()?.deltaData;
|
|
96677
|
-
}
|
|
96678
|
-
this.deltaDataChange.emit(deltaData);
|
|
96679
|
-
}
|
|
96680
|
-
/**
|
|
96681
|
-
* British Columbia Change of Office Addresses submit/file: submits the filing staged by
|
|
96682
|
-
* "Validate & Generate Draft" using the ServiceOrderId saved with the delta.
|
|
96683
|
-
*/
|
|
96684
|
-
onBritishColumbiaChangeOfOfficeAddressesSubmit() {
|
|
96685
|
-
return __async(this, null, function* () {
|
|
96686
|
-
const signature = this._signature();
|
|
96687
|
-
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
96688
|
-
if (!signature || !serviceOrderId) {
|
|
96689
|
-
this.handleCatchError(new Error("Missing serviceOrderId. Generate a draft before filing."));
|
|
96690
|
-
return;
|
|
96691
|
-
}
|
|
96692
|
-
try {
|
|
96693
|
-
this.isLoading.set(true);
|
|
96694
|
-
this.errors.set([]);
|
|
96695
|
-
yield this.bcMaintenanceService.submitAndWait(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
96696
|
-
this.close.emit();
|
|
96697
|
-
} catch (response) {
|
|
96698
|
-
this.handleCatchError(response);
|
|
96699
|
-
} finally {
|
|
96700
|
-
this.isLoading.set(false);
|
|
96701
|
-
}
|
|
96702
|
-
});
|
|
96703
|
-
}
|
|
96704
94872
|
/**
|
|
96705
94873
|
* Ontario Update/Maintain (IR / NOC / Annual Return) save – propagates delta data to the host.
|
|
96706
94874
|
*/
|
|
@@ -96969,7 +95137,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96969
95137
|
this.errors.set(this.parseError(errors));
|
|
96970
95138
|
return;
|
|
96971
95139
|
}
|
|
96972
|
-
const fallbackMessage =
|
|
95140
|
+
const fallbackMessage = parsed?.message || (typeof parsed === "string" ? parsed : "") || this.translate.instant("An unexpected error occurred. Please try again.");
|
|
96973
95141
|
this.errors.set([fallbackMessage]);
|
|
96974
95142
|
}
|
|
96975
95143
|
onClose() {
|
|
@@ -97036,8 +95204,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97036
95204
|
let initialDelta;
|
|
97037
95205
|
if (isFormationTask2(task)) {
|
|
97038
95206
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
97039
|
-
} else if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
97040
|
-
initialDelta = this.deltaState.bcChangeOfOfficeAddressesInitialDelta();
|
|
97041
95207
|
} else if (isUpdateMaintain(task)) {
|
|
97042
95208
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
97043
95209
|
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
@@ -97071,11 +95237,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97071
95237
|
}
|
|
97072
95238
|
return federalPayload;
|
|
97073
95239
|
}
|
|
97074
|
-
if (isChangeOfAddressTask(task) && isBritishColumbiaTask(task)) {
|
|
97075
|
-
return __spreadProps(__spreadValues({}, buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData)), {
|
|
97076
|
-
corporationNumber: task.entity._profile.corp_number ?? ""
|
|
97077
|
-
});
|
|
97078
|
-
}
|
|
97079
95240
|
if (isUpdateMaintain(task) && isOntarioTask(task)) {
|
|
97080
95241
|
const serviceOrderId = deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
97081
95242
|
if (!serviceOrderId) {
|
|
@@ -97104,7 +95265,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97104
95265
|
if (rf & 2) {
|
|
97105
95266
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
97106
95267
|
}
|
|
97107
|
-
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "
|
|
95268
|
+
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors", "currentDataExtract"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
97108
95269
|
if (rf & 1) {
|
|
97109
95270
|
const _r1 = \u0275\u0275getCurrentView();
|
|
97110
95271
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -97186,7 +95347,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97186
95347
|
[activeStep]="activeStep()"\r
|
|
97187
95348
|
[isNote]="dataWasChanged()"\r
|
|
97188
95349
|
[actionsDisabled]="isLoading()"\r
|
|
97189
|
-
[errors]="errors()"
|
|
95350
|
+
[errors]="errors()"
|
|
97190
95351
|
[prevData]="prevData()"\r
|
|
97191
95352
|
(close)="close.emit()"\r
|
|
97192
95353
|
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
@@ -97205,19 +95366,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97205
95366
|
[currentUser]="currentUser()"\r
|
|
97206
95367
|
[activeStep]="activeStep()"\r
|
|
97207
95368
|
[isNote]="dataWasChanged()"\r
|
|
97208
|
-
[actionsDisabled]="isLoading()"
|
|
97209
|
-
[errors]="errors()"
|
|
97210
|
-
[currentDataExtract]="currentDataExtract()"
|
|
95369
|
+
[actionsDisabled]="isLoading()"
|
|
95370
|
+
[errors]="errors()"
|
|
95371
|
+
[currentDataExtract]="currentDataExtract()"
|
|
97211
95372
|
(close)="close.emit()"\r
|
|
97212
95373
|
(nextStep)="onNextStepClick()"\r
|
|
97213
|
-
(recheckStep)="defineInitialStep()"\r
|
|
97214
95374
|
(prevStep)="onOntarioPrevStep()"\r
|
|
97215
95375
|
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
97216
95376
|
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
97217
95377
|
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
97218
|
-
(coaValidate)="onBritishColumbiaChangeOfOfficeAddressesValidate($event)"\r
|
|
97219
|
-
(saveCoaDeltaData)="onBritishColumbiaChangeOfOfficeAddressesSave($event)"\r
|
|
97220
|
-
(coaSubmit)="onBritishColumbiaChangeOfOfficeAddressesSubmit()"\r
|
|
97221
95378
|
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
97222
95379
|
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
97223
95380
|
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
@@ -97247,11 +95404,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97247
95404
|
</div>\r
|
|
97248
95405
|
}\r
|
|
97249
95406
|
</div>\r
|
|
97250
|
-
</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'] }]
|
|
95407
|
+
</div>\r
|
|
95408
|
+
`, 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'] }]
|
|
97251
95409
|
}], () => [], null);
|
|
97252
95410
|
})();
|
|
97253
95411
|
(() => {
|
|
97254
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
95412
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 91 });
|
|
97255
95413
|
})();
|
|
97256
95414
|
}
|
|
97257
95415
|
});
|
|
@@ -101897,17 +100055,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
101897
100055
|
Currency: "Currency",
|
|
101898
100056
|
"Special Rights or Restrictions": "Special Rights or Restrictions",
|
|
101899
100057
|
Unlimited: "Unlimited",
|
|
101900
|
-
"Without Par Value": "Without Par Value"
|
|
101901
|
-
"File British Columbia Change of Office Addresses": "File British Columbia Change of Office Addresses",
|
|
101902
|
-
"Records Office Address": "Records Office Address",
|
|
101903
|
-
"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.",
|
|
101904
|
-
"Current Mailing Address": "Current Mailing Address",
|
|
101905
|
-
"Current Delivery Address": "Current Delivery Address",
|
|
101906
|
-
"New Mailing Address": "New Mailing Address",
|
|
101907
|
-
"New Delivery Address": "New Delivery Address",
|
|
101908
|
-
"Same as Mailing Address": "Same as Mailing Address",
|
|
101909
|
-
"Same as Registered Office": "Same as Registered Office",
|
|
101910
|
-
"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."
|
|
100058
|
+
"Without Par Value": "Without Par Value"
|
|
101911
100059
|
};
|
|
101912
100060
|
}
|
|
101913
100061
|
});
|
|
@@ -102254,16 +100402,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
102254
100402
|
Currency: "Devise",
|
|
102255
100403
|
"Special Rights or Restrictions": "Droits ou restrictions sp\xE9ciaux",
|
|
102256
100404
|
Unlimited: "Illimit\xE9",
|
|
102257
|
-
"Without Par Value": "Sans valeur nominale"
|
|
102258
|
-
"File British Columbia Change of Office Addresses": "D\xE9poser le changement d'adresses de bureaux de la Colombie-Britannique",
|
|
102259
|
-
"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.",
|
|
102260
|
-
"Current Mailing Address": "Adresse postale actuelle",
|
|
102261
|
-
"Current Delivery Address": "Adresse de livraison actuelle",
|
|
102262
|
-
"New Mailing Address": "Nouvelle adresse postale",
|
|
102263
|
-
"New Delivery Address": "Nouvelle adresse de livraison",
|
|
102264
|
-
"Same as Mailing Address": "Identique \xE0 l'adresse postale",
|
|
102265
|
-
"Same as Registered Office": "Identique au si\xE8ge social",
|
|
102266
|
-
"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."
|
|
100405
|
+
"Without Par Value": "Sans valeur nominale"
|
|
102267
100406
|
};
|
|
102268
100407
|
}
|
|
102269
100408
|
});
|