@dyedurham/search-and-file-widget 2.0.48 → 2.0.50
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 +79 -84
- package/package.json +11 -11
package/dnd-filing-shell.js
CHANGED
|
@@ -58175,6 +58175,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58175
58175
|
}
|
|
58176
58176
|
return t ? t("Not specified") : "Not specified";
|
|
58177
58177
|
}
|
|
58178
|
+
function getPersonEmail(person) {
|
|
58179
|
+
return person?.communicationEmail || person?.communications?.find((c) => /e-?mail/i.test(c.type))?.value || void 0;
|
|
58180
|
+
}
|
|
58181
|
+
function formatLongDate(value, language = "en") {
|
|
58182
|
+
const match = typeof value === "string" ? /^(\d{4})-(\d{2})-(\d{2})/.exec(value) : null;
|
|
58183
|
+
const date = match ? new Date(Number(match[1]), Number(match[2]) - 1, Number(match[3])) : value instanceof Date && !isNaN(value.getTime()) ? value : null;
|
|
58184
|
+
if (!date) {
|
|
58185
|
+
return "";
|
|
58186
|
+
}
|
|
58187
|
+
return new Intl.DateTimeFormat(language.startsWith("fr") ? "fr-CA" : "en-US", {
|
|
58188
|
+
year: "numeric",
|
|
58189
|
+
month: "long",
|
|
58190
|
+
day: "numeric"
|
|
58191
|
+
}).format(date);
|
|
58192
|
+
}
|
|
58178
58193
|
function affiliationTypeToChipType(affiliationType) {
|
|
58179
58194
|
if (!affiliationType) {
|
|
58180
58195
|
return;
|
|
@@ -80415,7 +80430,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80415
80430
|
MatRadioButton,
|
|
80416
80431
|
TranslatePipe,
|
|
80417
80432
|
CheckboxListComponent
|
|
80418
|
-
], 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-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%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\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 });
|
|
80433
|
+
], 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-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%] .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 });
|
|
80419
80434
|
};
|
|
80420
80435
|
(() => {
|
|
80421
80436
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
|
|
@@ -80698,7 +80713,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80698
80713
|
}\r
|
|
80699
80714
|
</div>\r
|
|
80700
80715
|
</section>\r
|
|
80701
|
-
`, 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-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 ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\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'] }]
|
|
80716
|
+
`, 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-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 .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'] }]
|
|
80702
80717
|
}], () => [], null);
|
|
80703
80718
|
})();
|
|
80704
80719
|
(() => {
|
|
@@ -86527,8 +86542,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86527
86542
|
FederalFormationFormControl2["Email"] = "email";
|
|
86528
86543
|
FederalFormationFormControl2["BusinessActivities"] = "businessActivities";
|
|
86529
86544
|
FederalFormationFormControl2["PrincipalOfficeInOntario"] = "principalOfficeInOntario";
|
|
86530
|
-
FederalFormationFormControl2["UseDifferentAddressForService"] = "useDifferentAddressForService";
|
|
86531
|
-
FederalFormationFormControl2["ServiceAddressUid"] = "serviceAddressUid";
|
|
86532
86545
|
FederalFormationFormControl2["ContactInOntario"] = "contactInOntario";
|
|
86533
86546
|
FederalFormationFormControl2["ChiefOfficerManagerInOntario"] = "chiefOfficerManagerInOntario";
|
|
86534
86547
|
FederalFormationFormControl2["PersonAuthorizingTheFiling"] = "personAuthorizingTheFiling";
|
|
@@ -86736,7 +86749,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86736
86749
|
});
|
|
86737
86750
|
|
|
86738
86751
|
// src/app/constants/federal-formation-form.contants.ts
|
|
86739
|
-
var
|
|
86752
|
+
var FEDERAL_INCORPORATION_TYPE_OPTIONS, FEDERAL_INCORPORATION_ROLE_OPTIONS, FEDERAL_LEGAL_ENDING_OPTIONS, FEDERAL_SIGNIFICANT_CONTROL_TYPE_OPTIONS, FEDERAL_EXCLUSION_REASON_OPTIONS, FEDERAL_ISC_TYPE_OF_INTEREST_OPTIONS, FEDERAL_ISC_SHARE_HOLDING_METHOD_OPTIONS, FEDERAL_ISC_JOINT_HOLDING_TYPE_OPTIONS, FEDERAL_ISC_PERCENTAGE_INTEREST_OPTIONS, GENERATE_FEDERAL_FORMATION_FORM_INCORPORATION_DETAILS, FEDERAL_FORMATION_ARTICLES_OF_INCORPORATION, FEDERAL_FORMATION_FORM_DIRECTORS, FEDERAL_FORMATION_FORM_SIGNIFICANT_CONTROL, FEDERAL_FORMATION_FORM_ADDITIONAL_INFORMATION, generateFederalFormationFormContactControl, generateFederalFormationFormRegisteredOfficeAddressControl, generateFederalFormationFormInviteDirectorsToBeManagersControl, federalFormationFormIndividualsWithSignificantControl, GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES, GENERATE_FEDERAL_FORMATION_FORM_SIGNATORY_CONTROL;
|
|
86740
86753
|
var init_federal_formation_form_contants = __esm({
|
|
86741
86754
|
"src/app/constants/federal-formation-form.contants.ts"() {
|
|
86742
86755
|
init_form_enums();
|
|
@@ -86744,7 +86757,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86744
86757
|
init_FederalConstants();
|
|
86745
86758
|
init_common_constants();
|
|
86746
86759
|
init_common_utils();
|
|
86747
|
-
dynamicOptionsCache = /* @__PURE__ */ new Map();
|
|
86748
86760
|
FEDERAL_INCORPORATION_TYPE_OPTIONS = Object.values(NameType2).filter((v) => typeof v === "number").map((v) => ({ label: NameTypeLabel2[v], value: v }));
|
|
86749
86761
|
FEDERAL_INCORPORATION_ROLE_OPTIONS = Object.values(SignatoryRole3).filter((v) => typeof v === "number").map((v) => ({ label: SignatoryRoleLabel[v], value: v }));
|
|
86750
86762
|
FEDERAL_LEGAL_ENDING_OPTIONS = Object.values(LegalElement).filter((v) => typeof v === "number").map((v) => ({ label: LegalElementLabel[v], value: v }));
|
|
@@ -86771,6 +86783,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86771
86783
|
if (!NAME_TYPES_REQUIRING_RESERVATION.includes(incorporationType)) {
|
|
86772
86784
|
form.get(FederalFormationFormControl.PrimaryNuansReportReservation)?.setValue("", { emitEvent: false });
|
|
86773
86785
|
form.get(FederalFormationFormControl.PrimaryReservationDate)?.setValue("", { emitEvent: false });
|
|
86786
|
+
form.get(FederalFormationFormControl.SecondaryReservationNumber)?.setValue("", { emitEvent: false });
|
|
86787
|
+
form.get(FederalFormationFormControl.SecondaryReservationDate)?.setValue("", { emitEvent: false });
|
|
86774
86788
|
}
|
|
86775
86789
|
if (incorporationType !== NameType2.NonPreapproved) {
|
|
86776
86790
|
form.get(FederalFormationFormControl.BusinessActivities)?.setValue("", { emitEvent: false });
|
|
@@ -86778,8 +86792,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86778
86792
|
form.get(FederalFormationFormControl.ClienteleMarketType)?.setValue("", { emitEvent: false });
|
|
86779
86793
|
form.get(FederalFormationFormControl.KeywordOrigin)?.setValue("", { emitEvent: false });
|
|
86780
86794
|
form.get(FederalFormationFormControl.SimilarNamesSearchedOrRegistered)?.setValue("", { emitEvent: false });
|
|
86781
|
-
form.get(FederalFormationFormControl.SecondaryReservationNumber)?.setValue("", { emitEvent: false });
|
|
86782
|
-
form.get(FederalFormationFormControl.SecondaryReservationDate)?.setValue("", { emitEvent: false });
|
|
86783
86795
|
}
|
|
86784
86796
|
if (incorporationType !== NameType2.Numbered) {
|
|
86785
86797
|
form.get(FederalFormationFormControl.LegalElement)?.setValue("", { emitEvent: false });
|
|
@@ -86834,13 +86846,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86834
86846
|
label: "Proposed Corporate Name in other official language (if applicable)",
|
|
86835
86847
|
formControlName: FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage,
|
|
86836
86848
|
class: "span-6",
|
|
86837
|
-
isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) &&
|
|
86849
|
+
isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NAME_TYPES_REQUIRING_RESERVATION.includes(form.get(FederalFormationFormControl.NameType)?.value)
|
|
86838
86850
|
},
|
|
86839
86851
|
{
|
|
86840
86852
|
type: FormType.Input,
|
|
86841
86853
|
label: "Nuans Report Reservation #",
|
|
86842
86854
|
formControlName: FederalFormationFormControl.SecondaryReservationNumber,
|
|
86843
|
-
isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) &&
|
|
86855
|
+
isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NAME_TYPES_REQUIRING_RESERVATION.includes(form.get(FederalFormationFormControl.NameType)?.value),
|
|
86844
86856
|
class: "span-3",
|
|
86845
86857
|
required: true
|
|
86846
86858
|
},
|
|
@@ -86848,7 +86860,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86848
86860
|
type: FormType.Date,
|
|
86849
86861
|
label: "Reservation Date",
|
|
86850
86862
|
formControlName: FederalFormationFormControl.SecondaryReservationDate,
|
|
86851
|
-
|
|
86863
|
+
required: true,
|
|
86864
|
+
isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NAME_TYPES_REQUIRING_RESERVATION.includes(form.get(FederalFormationFormControl.NameType)?.value),
|
|
86852
86865
|
class: "span-3"
|
|
86853
86866
|
},
|
|
86854
86867
|
{
|
|
@@ -87206,7 +87219,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87206
87219
|
}
|
|
87207
87220
|
];
|
|
87208
87221
|
};
|
|
87209
|
-
GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES = (addressMap, affiliationsMap) => {
|
|
87222
|
+
GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES = (addressMap, affiliationsMap, affiliationDetailsMap, formatDate2) => {
|
|
87210
87223
|
return [
|
|
87211
87224
|
{
|
|
87212
87225
|
type: FormType.Select,
|
|
@@ -87235,48 +87248,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87235
87248
|
type: FormType.Select,
|
|
87236
87249
|
label: "Principal Office in Ontario",
|
|
87237
87250
|
formControlName: FederalFormationFormControl.PrincipalOfficeInOntario,
|
|
87238
|
-
onChange: (form) => {
|
|
87239
|
-
const serviceAddressUidControl = form.get(FederalFormationFormControl.ServiceAddressUid);
|
|
87240
|
-
if (form.get(FederalFormationFormControl.PrincipalOfficeInOntario)?.value === serviceAddressUidControl?.value) {
|
|
87241
|
-
serviceAddressUidControl?.setValue("", { emitEvent: false });
|
|
87242
|
-
}
|
|
87243
|
-
},
|
|
87244
87251
|
dynamicOptions: (form) => {
|
|
87245
87252
|
return addressMap.get(form.get(FormationFormControls.Id)?.value) ?? [];
|
|
87246
87253
|
},
|
|
87247
87254
|
class: "span-12",
|
|
87248
87255
|
required: true
|
|
87249
87256
|
},
|
|
87250
|
-
{
|
|
87251
|
-
type: FormType.Checkbox,
|
|
87252
|
-
label: "Use a different address for service",
|
|
87253
|
-
formControlName: FederalFormationFormControl.UseDifferentAddressForService,
|
|
87254
|
-
required: false,
|
|
87255
|
-
class: "span-12"
|
|
87256
|
-
},
|
|
87257
|
-
{
|
|
87258
|
-
type: FormType.Select,
|
|
87259
|
-
dynamicLabel: (form, t) => {
|
|
87260
|
-
return `${t("Address for Service in")} ${form.get(FormationFormControls.Province)?.value}`;
|
|
87261
|
-
},
|
|
87262
|
-
formControlName: FederalFormationFormControl.ServiceAddressUid,
|
|
87263
|
-
isVisible: (form) => form.get(FederalFormationFormControl.UseDifferentAddressForService)?.value,
|
|
87264
|
-
dynamicOptions: (form) => {
|
|
87265
|
-
const id = form.get(FormationFormControls.Id)?.value;
|
|
87266
|
-
const principalOfficeInOntario = form.get(FederalFormationFormControl.PrincipalOfficeInOntario)?.value;
|
|
87267
|
-
const cacheKey = `${id}::${principalOfficeInOntario ?? ""}`;
|
|
87268
|
-
const cached = dynamicOptionsCache.get(cacheKey);
|
|
87269
|
-
if (cached) {
|
|
87270
|
-
return cached;
|
|
87271
|
-
}
|
|
87272
|
-
const options = addressMap.get(id) ?? [];
|
|
87273
|
-
const result = principalOfficeInOntario ? options.filter((item) => item.value !== principalOfficeInOntario) : options;
|
|
87274
|
-
dynamicOptionsCache.set(cacheKey, result);
|
|
87275
|
-
return result;
|
|
87276
|
-
},
|
|
87277
|
-
class: "span-12",
|
|
87278
|
-
required: false
|
|
87279
|
-
},
|
|
87280
87257
|
{
|
|
87281
87258
|
type: FormType.Select,
|
|
87282
87259
|
label: "Contact in Ontario",
|
|
@@ -87284,16 +87261,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87284
87261
|
dynamicOptions: (form) => {
|
|
87285
87262
|
return affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [];
|
|
87286
87263
|
},
|
|
87287
|
-
isVisible: (form) => form.get(FederalFormationFormControl.UseDifferentAddressForService)?.value,
|
|
87288
87264
|
class: "span-6",
|
|
87289
87265
|
required: true
|
|
87290
87266
|
},
|
|
87291
87267
|
{
|
|
87292
87268
|
type: FormType.Text,
|
|
87293
|
-
dynamicLabel: (
|
|
87269
|
+
dynamicLabel: (form, t) => {
|
|
87270
|
+
const details = affiliationDetailsMap.get(form.get(FederalFormationFormControl.ContactInOntario)?.value);
|
|
87271
|
+
return `<span class="filling-form-fields-item-label body-1-regular">${t("Email Address")}</span><span class="epl-readonly-value body-1-regular black">${details?.email || t("Not specified")}</span>`;
|
|
87272
|
+
},
|
|
87294
87273
|
formControlName: "",
|
|
87295
|
-
|
|
87296
|
-
|
|
87274
|
+
isVisible: (form) => !!form.get(FederalFormationFormControl.ContactInOntario)?.value,
|
|
87275
|
+
class: "span-6 epl-readonly-field"
|
|
87297
87276
|
},
|
|
87298
87277
|
{
|
|
87299
87278
|
type: FormType.Select,
|
|
@@ -87302,15 +87281,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87302
87281
|
dynamicOptions: (form) => {
|
|
87303
87282
|
return affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [];
|
|
87304
87283
|
},
|
|
87305
|
-
|
|
87284
|
+
// Starts its own row so the optional email beside Contact in Ontario never shifts it.
|
|
87285
|
+
class: "column-3",
|
|
87306
87286
|
required: false
|
|
87307
87287
|
},
|
|
87288
|
+
{
|
|
87289
|
+
type: FormType.Text,
|
|
87290
|
+
dynamicLabel: (form, t) => {
|
|
87291
|
+
const details = affiliationDetailsMap.get(form.get(FederalFormationFormControl.ChiefOfficerManagerInOntario)?.value);
|
|
87292
|
+
const item = (label, value) => `<span class="epl-info-panel-item"><span class="body-2-regular grey">${t(label)}</span><span class="body-1-regular black">${value || t("Not specified")}</span></span>`;
|
|
87293
|
+
return '<span class="epl-info-panel">' + item("Address", details?.address) + item("Individual Effective Date", formatDate2(details?.individualEffectiveDate)) + item("Address Effective Date", formatDate2(details?.addressEffectiveDate)) + "</span>";
|
|
87294
|
+
},
|
|
87295
|
+
formControlName: "",
|
|
87296
|
+
isVisible: (form) => !!form.get(FederalFormationFormControl.ChiefOfficerManagerInOntario)?.value,
|
|
87297
|
+
class: "span-12 epl-info-panel-field"
|
|
87298
|
+
},
|
|
87308
87299
|
{
|
|
87309
87300
|
type: FormType.Select,
|
|
87310
87301
|
label: "Person Authorizing the Filing",
|
|
87311
87302
|
formControlName: FederalFormationFormControl.PersonAuthorizingTheFiling,
|
|
87312
87303
|
dynamicOptions: (form) => affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [],
|
|
87313
|
-
class: "
|
|
87304
|
+
class: "column-3",
|
|
87314
87305
|
required: true
|
|
87315
87306
|
},
|
|
87316
87307
|
{
|
|
@@ -87726,14 +87717,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87726
87717
|
});
|
|
87727
87718
|
config2[FederalFormationFormGroups.Directors] = new FormArray(directorGroups);
|
|
87728
87719
|
}
|
|
87720
|
+
const secondaryName = task.entity?._profile?.secondary_name;
|
|
87721
|
+
const secondaryReservationValidators = secondaryName ? [requiredIfValueIn(FederalFormationFormControl.NameType, NAME_TYPES_REQUIRING_RESERVATION)] : [];
|
|
87729
87722
|
const incorporationConfig = {
|
|
87730
87723
|
[FederalFormationFormControl.NameType]: new FormControl(corporateName?.nameType ?? null, Validators.required),
|
|
87731
87724
|
[FederalFormationFormControl.ProposedCorporateName]: new FormControl({ value: task.entity._profile.name ?? null, disabled: true }, requiredIfNotValue(FederalFormationFormControl.NameType, NameType2.Numbered)),
|
|
87732
87725
|
[FederalFormationFormControl.PrimaryNuansReportReservation]: new FormControl(corporateName?.primaryNameReservationNumber ?? "", requiredIfValueIn(FederalFormationFormControl.NameType, NAME_TYPES_REQUIRING_RESERVATION)),
|
|
87733
87726
|
[FederalFormationFormControl.PrimaryReservationDate]: new FormControl(corporateName?.primaryNameReservationDate ?? "", requiredIfValueIn(FederalFormationFormControl.NameType, NAME_TYPES_REQUIRING_RESERVATION)),
|
|
87734
87727
|
[FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage]: new FormControl({ value: task.entity._profile.secondary_name ?? null, disabled: true }, Validators.required),
|
|
87735
|
-
|
|
87736
|
-
|
|
87728
|
+
// Shown (and so required) whenever the entity has a French name and the name type needs a reservation,
|
|
87729
|
+
// regardless of whether the entity is a numbered company.
|
|
87730
|
+
[FederalFormationFormControl.SecondaryReservationNumber]: new FormControl(corporateName?.secondaryNameReservationNumber ?? "", secondaryReservationValidators),
|
|
87731
|
+
[FederalFormationFormControl.SecondaryReservationDate]: new FormControl(corporateName?.secondaryNameReservationDate ?? "", secondaryReservationValidators),
|
|
87737
87732
|
[FederalFormationFormControl.LegalElement]: new FormControl(corporateName?.legalElement ?? task.entity._profile.legal_entity_identifier ?? null, requiredIfValue(FederalFormationFormControl.NameType, NameType2.Numbered)),
|
|
87738
87733
|
[FederalFormationFormControl.NamePreapprovalConfirmationNumber]: new FormControl(corporateName?.preapprovalConfirmationNumber ?? "", requiredIfValue(FederalFormationFormControl.NameType, NameType2.Preapproved)),
|
|
87739
87734
|
[FederalFormationFormControl.BusinessActivities]: new FormControl(corporateName?.businessActivity ?? null),
|
|
@@ -87750,11 +87745,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87750
87745
|
incorporationConfig[FederalFormationFormControl.ReservationNumber] = new FormControl(corporateName?.primaryNameReservationNumber ?? ext._name_reservationID ?? null, requiredIf(FederalFormationFormControl.EntityName));
|
|
87751
87746
|
incorporationConfig[FederalFormationFormControl.ReservationDate] = new FormControl(corporateName?.primaryNameReservationDate ?? ext._name_reservation_date ?? null, requiredIf(FederalFormationFormControl.EntityName));
|
|
87752
87747
|
}
|
|
87753
|
-
const secondaryName = task.entity?._profile?.secondary_name;
|
|
87754
87748
|
if (!isNumberedCompany && secondaryName) {
|
|
87755
87749
|
incorporationConfig[FederalFormationFormControl.SecondaryName] = new FormControl({ value: secondaryName, disabled: true });
|
|
87756
|
-
incorporationConfig[FederalFormationFormControl.SecondaryReservationNumber] = new FormControl(corporateName?.secondaryNameReservationNumber ?? "", requiredIf(FederalFormationFormControl.SecondaryName));
|
|
87757
|
-
incorporationConfig[FederalFormationFormControl.SecondaryReservationDate] = new FormControl(corporateName?.secondaryNameReservationDate ?? "", requiredIf(FederalFormationFormControl.SecondaryName));
|
|
87758
87750
|
}
|
|
87759
87751
|
config2[FederalFormationFormGroups.CorporateName] = new FormGroup(incorporationConfig);
|
|
87760
87752
|
config2[FederalFormationFormGroups.SignificantControl] = new FormGroup({
|
|
@@ -87776,9 +87768,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87776
87768
|
[FederalFormationFormControl.OfficialEmail]: new FormControl({ value: officialEmail, disabled: true }),
|
|
87777
87769
|
[FederalFormationFormControl.BusinessActivities]: new FormControl(deltaData?.businessActivity ?? null, Validators.required),
|
|
87778
87770
|
[FederalFormationFormControl.PrincipalOfficeInOntario]: new FormControl(deltaData?.principalOfficeAddressUid ?? null, Validators.required),
|
|
87779
|
-
[FederalFormationFormControl.
|
|
87780
|
-
[FederalFormationFormControl.ServiceAddressUid]: new FormControl(deltaData?.serviceAddressUid ?? null),
|
|
87781
|
-
[FederalFormationFormControl.ContactInOntario]: new FormControl(null, Validators.required),
|
|
87771
|
+
[FederalFormationFormControl.ContactInOntario]: new FormControl(deltaData?.contactUid ?? null, Validators.required),
|
|
87782
87772
|
[FederalFormationFormControl.ChiefOfficerManagerInOntario]: new FormControl(deltaData?.chiefManagerUid ?? null),
|
|
87783
87773
|
[FederalFormationFormControl.PersonAuthorizingTheFiling]: new FormControl(deltaData?.signatoryUid ?? null, Validators.required),
|
|
87784
87774
|
[FederalFormationFormControl.Role]: new FormControl(deltaData?.signatoryRole ?? null, Validators.required)
|
|
@@ -88367,6 +88357,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88367
88357
|
generateEPLFields(registrations) {
|
|
88368
88358
|
const eplAddressesMap = /* @__PURE__ */ new Map();
|
|
88369
88359
|
const eplAffiliationsMap = /* @__PURE__ */ new Map();
|
|
88360
|
+
const eplAffiliationDetailsMap = /* @__PURE__ */ new Map();
|
|
88370
88361
|
for (const registration of registrations) {
|
|
88371
88362
|
const addressOptions = [];
|
|
88372
88363
|
const affiliationsOptions = [];
|
|
@@ -88377,6 +88368,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88377
88368
|
label: getPersonName(affiliation.participant),
|
|
88378
88369
|
value: affiliation._id
|
|
88379
88370
|
});
|
|
88371
|
+
const affiliationAddress = affiliation.addresses?.[0] || affiliation.parent_affiliation?.addresses?.[0];
|
|
88372
|
+
eplAffiliationDetailsMap.set(affiliation._id, {
|
|
88373
|
+
email: getPersonEmail(affiliation.participant),
|
|
88374
|
+
address: affiliationAddress ? this.formatAddressLabel(affiliationAddress) : void 0,
|
|
88375
|
+
individualEffectiveDate: affiliation.start_date,
|
|
88376
|
+
addressEffectiveDate: affiliationAddress?.effective_date
|
|
88377
|
+
});
|
|
88380
88378
|
for (const address of affiliation.addresses) {
|
|
88381
88379
|
const display = address.display;
|
|
88382
88380
|
addressOptions.push({
|
|
@@ -88397,7 +88395,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88397
88395
|
eplAddressesMap.set(registration.uid, addressOptions);
|
|
88398
88396
|
eplAffiliationsMap.set(registration.uid, affiliationsOptions);
|
|
88399
88397
|
}
|
|
88400
|
-
return GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES(eplAddressesMap, eplAffiliationsMap);
|
|
88398
|
+
return GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES(eplAddressesMap, eplAffiliationsMap, eplAffiliationDetailsMap, (value) => formatLongDate(value, this.translate.currentLang));
|
|
88401
88399
|
}
|
|
88402
88400
|
generateISCAddressesMap(affiliations) {
|
|
88403
88401
|
const map2 = /* @__PURE__ */ new Map();
|
|
@@ -88798,7 +88796,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88798
88796
|
}], () => [], null);
|
|
88799
88797
|
})();
|
|
88800
88798
|
(() => {
|
|
88801
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber:
|
|
88799
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 75 });
|
|
88802
88800
|
})();
|
|
88803
88801
|
}
|
|
88804
88802
|
});
|
|
@@ -90470,7 +90468,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90470
90468
|
extraProvincialLicenses[uid] = {
|
|
90471
90469
|
businessActivity: epl[FederalFormationFormControl.BusinessActivities],
|
|
90472
90470
|
principalOfficeAddressUid: epl[FederalFormationFormControl.PrincipalOfficeInOntario],
|
|
90473
|
-
serviceAddressUid: epl[FederalFormationFormControl.UseDifferentAddressForService] ? epl[FederalFormationFormControl.ServiceAddressUid] : null,
|
|
90474
90471
|
contactUid: epl[FederalFormationFormControl.ContactInOntario],
|
|
90475
90472
|
chiefManagerUid: epl[FederalFormationFormControl.ChiefOfficerManagerInOntario],
|
|
90476
90473
|
signatoryUid: epl[FederalFormationFormControl.PersonAuthorizingTheFiling],
|
|
@@ -90724,14 +90721,20 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
90724
90721
|
throw uploadError([`Supporting document upload returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`], resp.status);
|
|
90725
90722
|
}
|
|
90726
90723
|
const result = unwrapRequestResults(parsed.value);
|
|
90727
|
-
const
|
|
90728
|
-
|
|
90724
|
+
const fileResults = result?.FileUploadResponses ?? [];
|
|
90725
|
+
const failedFiles = fileResults.filter((f) => !isUploadSuccess(f.Status));
|
|
90726
|
+
const reportedNames = new Set(fileResults.map((f) => (f.FileName ?? "").toLowerCase()));
|
|
90727
|
+
const unconfirmedNames = files.map(({ document: document2 }) => toPdfFileName(document2.name)).filter((name) => !reportedNames.has(name.toLowerCase()));
|
|
90728
|
+
const allFilesConfirmed = fileResults.length === files.length && !failedFiles.length;
|
|
90729
|
+
if (resp.ok && isUploadSuccess(result?.Status) && allFilesConfirmed) {
|
|
90729
90730
|
return;
|
|
90730
90731
|
}
|
|
90731
|
-
const
|
|
90732
|
+
const reportedFailures = [
|
|
90732
90733
|
...(result?.Errors ?? []).map((e) => e.ErrorMessage ?? e.ErrorId ?? ""),
|
|
90733
90734
|
...failedFiles.flatMap((f) => (f.Errors?.length ? f.Errors : [{}]).map((e) => `Upload of "${f.FileName ?? "document"}" failed${e.ErrorMessage ? `: ${e.ErrorMessage}` : "."}`))
|
|
90734
90735
|
].filter(Boolean);
|
|
90736
|
+
const missingConfirmations = reportedFailures.length || fileResults.length === files.length ? [] : unconfirmedNames.length ? unconfirmedNames.map((name) => `Upload of "${name}" was not confirmed by the registry.`) : [`The registry confirmed ${fileResults.length} of ${files.length} uploaded documents.`];
|
|
90737
|
+
const messages = [...reportedFailures, ...missingConfirmations];
|
|
90735
90738
|
throw uploadError(messages.length ? messages : [`Supporting document upload failed (HTTP ${resp.status}).`], resp.status);
|
|
90736
90739
|
});
|
|
90737
90740
|
}
|
|
@@ -91544,8 +91547,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
91544
91547
|
const registeredOfficeAddress = registeredOffice?.addresses?.[0] || registeredOffice?.parent_affiliation?.addresses?.[0];
|
|
91545
91548
|
let operatingAddress;
|
|
91546
91549
|
if (deltaData.principalOfficeAddressUid) {
|
|
91547
|
-
const
|
|
91548
|
-
for (const aff of
|
|
91550
|
+
const affiliations = registration.affiliations ?? [];
|
|
91551
|
+
for (const aff of affiliations) {
|
|
91549
91552
|
operatingAddress = aff.addresses?.find((a) => a.uid === deltaData.principalOfficeAddressUid) ?? aff.parent_affiliation?.addresses?.find((a) => a.uid === deltaData.principalOfficeAddressUid);
|
|
91550
91553
|
if (operatingAddress)
|
|
91551
91554
|
break;
|
|
@@ -91558,16 +91561,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
91558
91561
|
const chiefManager = [...registration.affiliations ?? []].find((affiliation) => affiliation._id === deltaData.chiefManagerUid);
|
|
91559
91562
|
const chiefManagerAddress = chiefManager?.addresses?.[0] || chiefManager?.parent_affiliation?.addresses?.[0];
|
|
91560
91563
|
const signatoryManager = [...registration.affiliations ?? []].find((affiliation) => affiliation._id === deltaData.signatoryUid);
|
|
91561
|
-
const
|
|
91562
|
-
const contactAffiliation = deltaData.contactUid ? affiliations.find((aff) => aff._id === deltaData.contactUid) : void 0;
|
|
91563
|
-
let serviceAddress;
|
|
91564
|
-
if (deltaData.serviceAddressUid) {
|
|
91565
|
-
for (const aff of affiliations) {
|
|
91566
|
-
serviceAddress = aff.addresses?.find((a) => a.uid === deltaData.serviceAddressUid) ?? aff.parent_affiliation?.addresses?.find((a) => a.uid === deltaData.serviceAddressUid);
|
|
91567
|
-
if (serviceAddress)
|
|
91568
|
-
break;
|
|
91569
|
-
}
|
|
91570
|
-
}
|
|
91564
|
+
const contactAffiliation = deltaData.contactUid ? (registration.affiliations ?? []).find((aff) => aff._id === deltaData.contactUid) : void 0;
|
|
91571
91565
|
return {
|
|
91572
91566
|
Jurisdiction: CANProvinceToCode(registration._compliance.home_jurisdiction),
|
|
91573
91567
|
epFiling: {
|
|
@@ -91583,8 +91577,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
91583
91577
|
FirstName: contactAffiliation.participant._profile.firstName,
|
|
91584
91578
|
LastName: contactAffiliation.participant._profile.lastName,
|
|
91585
91579
|
PhoneNumber: formatPhone(pickPhone(contactAffiliation.participant)),
|
|
91586
|
-
Email: pickEmail(contactAffiliation.participant)
|
|
91587
|
-
Office: serviceAddress ? mapAddress2(serviceAddress) : void 0
|
|
91580
|
+
Email: pickEmail(contactAffiliation.participant)
|
|
91588
91581
|
} : void 0,
|
|
91589
91582
|
ChiefManager: chiefManager ? {
|
|
91590
91583
|
FirstName: chiefManager.participant._profile.firstName,
|
|
@@ -97733,6 +97726,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97733
97726
|
"Cease Role": "Cease Role",
|
|
97734
97727
|
Remove: "Remove",
|
|
97735
97728
|
"Effective Date": "Effective Date",
|
|
97729
|
+
"Individual Effective Date": "Individual Effective Date",
|
|
97730
|
+
"Address Effective Date": "Address Effective Date",
|
|
97736
97731
|
"Ceased Date": "Ceased Date",
|
|
97737
97732
|
New: "New",
|
|
97738
97733
|
Previous: "Previous",
|
|
@@ -97998,7 +97993,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97998
97993
|
"Countries Of Citizenship": "Countries Of Citizenship",
|
|
97999
97994
|
"Countries Of Residence": "Countries Of Residence",
|
|
98000
97995
|
"Date business activity will begin": "Date business activity will begin",
|
|
98001
|
-
"Address for Service in": "Address for Service in",
|
|
98002
97996
|
"Requested Date for Incorporation": "Requested Date for Incorporation",
|
|
98003
97997
|
I: "I",
|
|
98004
97998
|
"confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.": "confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.",
|
|
@@ -98181,6 +98175,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98181
98175
|
"Cease Role": "Cesser le r\xF4le",
|
|
98182
98176
|
Remove: "Supprimer",
|
|
98183
98177
|
"Effective Date": "Date d'entr\xE9e en vigueur",
|
|
98178
|
+
"Individual Effective Date": "Date d'entr\xE9e en vigueur de la personne",
|
|
98179
|
+
"Address Effective Date": "Date d'entr\xE9e en vigueur de l'adresse",
|
|
98184
98180
|
"Ceased Date": "Date de cessation",
|
|
98185
98181
|
New: "Nouveau",
|
|
98186
98182
|
Previous: "Pr\xE9c\xE9dent",
|
|
@@ -98323,7 +98319,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98323
98319
|
"Countries Of Citizenship": "Pays de citoyennet\xE9",
|
|
98324
98320
|
"Countries Of Residence": "Pays de r\xE9sidence",
|
|
98325
98321
|
"Date business activity will begin": "Date de d\xE9but de l'activit\xE9 commerciale",
|
|
98326
|
-
"Address for Service in": "Adresse aux fins de signification en",
|
|
98327
98322
|
"Requested Date for Incorporation": "Date demand\xE9e pour la constitution",
|
|
98328
98323
|
I: "Je",
|
|
98329
98324
|
"confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.": "confirme que le document PDF de brouillon a \xE9t\xE9 sign\xE9 par toutes les personnes requises conform\xE9ment \xE0 la Loi, aux r\xE8glements et aux exigences du directeur/registraire.",
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dyedurham/search-and-file-widget",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dnd-filing-shell.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "ISC"
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@dyedurham/search-and-file-widget",
|
|
3
|
+
"version": "2.0.50",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dnd-filing-shell.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "ISC"
|
|
11
|
+
}
|