@dyedurham/search-and-file-widget 1.6.18 → 1.6.20
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 +1548 -1495
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -57052,6 +57052,41 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57052
57052
|
}
|
|
57053
57053
|
};
|
|
57054
57054
|
}
|
|
57055
|
+
function createTelephone(phone) {
|
|
57056
|
+
const digits = (phone ?? "").replace(/\D/g, "");
|
|
57057
|
+
if (!digits) {
|
|
57058
|
+
return { CountryCode: "1", AreaCode: "", PhoneNumber: "" };
|
|
57059
|
+
}
|
|
57060
|
+
const { countryCode, areaCode, number } = getPhoneData(digits);
|
|
57061
|
+
return {
|
|
57062
|
+
CountryCode: countryCode,
|
|
57063
|
+
AreaCode: areaCode,
|
|
57064
|
+
PhoneNumber: number
|
|
57065
|
+
};
|
|
57066
|
+
}
|
|
57067
|
+
function createLegalOpinion(task, deltaData) {
|
|
57068
|
+
const legalOpinionDelta = deltaData?.legalOpinion;
|
|
57069
|
+
if (!legalOpinionDelta?.wasLegalOpinionObtained) {
|
|
57070
|
+
return void 0;
|
|
57071
|
+
}
|
|
57072
|
+
const lawyerAffiliation = task.entity.affiliations.find((aff) => aff._id === legalOpinionDelta.lawyerSigning);
|
|
57073
|
+
const lawyer = lawyerAffiliation?.participant;
|
|
57074
|
+
const lawyerAddress = lawyerAffiliation?.addresses?.[0] || lawyerAffiliation?.parent_affiliation?.addresses?.[0];
|
|
57075
|
+
const firstName = lawyer?._profile?.firstName || "";
|
|
57076
|
+
const middleName = lawyer?._profile?.middleName || "";
|
|
57077
|
+
const lastName = lawyer?._profile?.lastName || "";
|
|
57078
|
+
const email = lawyer?.communicationEmail || "";
|
|
57079
|
+
const phone = lawyer?.communicationPhone || "";
|
|
57080
|
+
return __spreadProps(__spreadValues({
|
|
57081
|
+
LawFirm: lawyerAffiliation?.target?._profile?.name || "",
|
|
57082
|
+
LawyerFirstName: firstName
|
|
57083
|
+
}, middleName && { LawyerMiddleName: middleName }), {
|
|
57084
|
+
LawyerLastName: lastName,
|
|
57085
|
+
LawyerEmail: email,
|
|
57086
|
+
Address: transformAddress(lawyerAddress ?? {}, legalOpinionDelta.address),
|
|
57087
|
+
ContactPhone: createTelephone(phone)
|
|
57088
|
+
});
|
|
57089
|
+
}
|
|
57055
57090
|
function findRegisteredOfficeAddress(task) {
|
|
57056
57091
|
const registeredOffice = [...task.entity.affiliations ?? []].find((aff) => aff.kind === "EntityAffiliationV3" && aff.role.role_name === "Shared Address" && aff.role.static_title === "Registered Office");
|
|
57057
57092
|
const registeredOfficeAddress = registeredOffice?.addresses?.[0] || registeredOffice?.parent_affiliation?.addresses?.[0];
|
|
@@ -57087,15 +57122,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57087
57122
|
const restrictionsOnShareRights = task.entity._articles?.share_restrictions_text || "None";
|
|
57088
57123
|
const restrictionsOnShareTransfers = task.entity._articles?.transfer_restrictions_text || "None";
|
|
57089
57124
|
const otherProvisions = task.entity._articles?.other_provisions || "None";
|
|
57090
|
-
const
|
|
57125
|
+
const legalOpinion = createLegalOpinion(task, deltaData);
|
|
57126
|
+
const eCorePayload = __spreadProps(__spreadValues(__spreadProps(__spreadValues({
|
|
57091
57127
|
IncorporationType: mapNameTypeToECore(entityDetails?.corporationNameType),
|
|
57092
57128
|
LegalEnding: legalEnding,
|
|
57093
57129
|
EnglishName: englishName,
|
|
57094
57130
|
FrenchName: frenchName,
|
|
57095
57131
|
RegisteredOffice: transformAddress(registeredOfficeAddress, deltaData.registeredOfficeAddress),
|
|
57096
|
-
CoverLetter: createCoverLetter(deltaData)
|
|
57132
|
+
CoverLetter: createCoverLetter(deltaData)
|
|
57133
|
+
}, legalOpinion && { LegalOpinion: legalOpinion }), {
|
|
57097
57134
|
DirectorNumberType: task.entity._articles?.min_directors === task.entity._articles?.max_directors ? ECoreDirectorNumberType.Fixed : ECoreDirectorNumberType.Range
|
|
57098
|
-
}, task.entity._articles?.min_directors === task.entity._articles?.max_directors ? { FixedNumberOfDirectors: task.entity._articles?.min_directors } : {
|
|
57135
|
+
}), task.entity._articles?.min_directors === task.entity._articles?.max_directors ? { FixedNumberOfDirectors: task.entity._articles?.min_directors } : {
|
|
57099
57136
|
MinimumNumberOfDirectors: task.entity._articles?.min_directors,
|
|
57100
57137
|
MaximumNumberOfDirectors: task.entity._articles?.max_directors
|
|
57101
57138
|
}), {
|
|
@@ -57814,7 +57851,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57814
57851
|
|
|
57815
57852
|
// src/app/utils/common.utils.ts
|
|
57816
57853
|
function buildValidationError(httpStatus, r) {
|
|
57817
|
-
const msgs = (r.Errors ?? []).map((e) => e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57854
|
+
const msgs = (r.Errors ?? []).map((e) => e.ErrorMessage || e.Message || e.message || e.Code || JSON.stringify(e)).filter(Boolean);
|
|
57818
57855
|
const status = r.Status ? String(r.Status) : "ValidationFailed";
|
|
57819
57856
|
return new Error(msgs.length ? `eCore validation failed (HTTP ${httpStatus}, ${status}): ${msgs.join(" | ")}` : `eCore validation failed (HTTP ${httpStatus}, ${status}).`);
|
|
57820
57857
|
}
|
|
@@ -57917,7 +57954,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57917
57954
|
}
|
|
57918
57955
|
return d.length >= 10 ? d.slice(0, 10) : d;
|
|
57919
57956
|
}
|
|
57920
|
-
if (isNaN(d.getTime())) {
|
|
57957
|
+
if (d instanceof Date && isNaN(d.getTime())) {
|
|
57921
57958
|
return "Not specified";
|
|
57922
57959
|
}
|
|
57923
57960
|
return d.toISOString().slice(0, 10);
|
|
@@ -58388,7 +58425,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58388
58425
|
init_OntarioConstants();
|
|
58389
58426
|
init_address_utils();
|
|
58390
58427
|
init_address_utils();
|
|
58391
|
-
init_transform_utils();
|
|
58392
58428
|
ONTARIO_NAME_TYPE_OPTIONS = Object.values(NameType).filter((v) => typeof v === "number").map((v) => ({ label: NameTypeLabel[v], value: v }));
|
|
58393
58429
|
FORMATION_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT = [
|
|
58394
58430
|
{
|
|
@@ -58633,6 +58669,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58633
58669
|
formControlName: FormationFormControls.CorporationNameType,
|
|
58634
58670
|
required: true,
|
|
58635
58671
|
options: ONTARIO_NAME_TYPE_OPTIONS,
|
|
58672
|
+
needTranslate: true,
|
|
58636
58673
|
onChange: (form) => {
|
|
58637
58674
|
const corporationNameType = form.get(FormationFormControls.CorporationNameType)?.value;
|
|
58638
58675
|
const isNumbered = corporationNameType === NameType.Numbered;
|
|
@@ -58805,7 +58842,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58805
58842
|
form.get(FormationFormControls.StreetName)?.setValue(streetName, { emitEvent: false });
|
|
58806
58843
|
form.get(FormationFormControls.StreetNumber)?.setValue(streetNumberOnly, { emitEvent: false });
|
|
58807
58844
|
form.get(FormationFormControls.UnitNumber)?.setValue(suite ?? "", { emitEvent: false });
|
|
58808
|
-
form.get(FormationFormControls.
|
|
58845
|
+
form.get(FormationFormControls.City)?.setValue(address?.city ?? "", { emitEvent: false });
|
|
58846
|
+
form.get(FormationFormControls.Province)?.setValue(address?.province_state ?? "", { emitEvent: false });
|
|
58847
|
+
form.get(FormationFormControls.PostalCode)?.setValue(address?.postal_zip ?? "", { emitEvent: false });
|
|
58848
|
+
form.get(FormationFormControls.UnitType)?.setValue(normalizedCountryCode ?? "", { emitEvent: false });
|
|
58849
|
+
form.get(FormationFormControls.UnitType)?.setValue(address?.country ?? normalizedCountryCode ?? "", { emitEvent: false });
|
|
58809
58850
|
let affiliationAddressType;
|
|
58810
58851
|
if (isCanadian) {
|
|
58811
58852
|
affiliationAddressType = suite ? AffiliationAddressType.CanadianSuite : AffiliationAddressType.CanadianNoSuite;
|
|
@@ -59015,12 +59056,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
59015
59056
|
}
|
|
59016
59057
|
static generateLegalOpinionConfirmAddressFormGroup(deltaData, affiliations) {
|
|
59017
59058
|
const affiliation = affiliations?.find((a) => a._id === deltaData?.lawyerSigning);
|
|
59059
|
+
const address = affiliation?.addresses?.at(0) || affiliation?.parent_affiliation?.addresses?.at(0);
|
|
59060
|
+
console.log("Affiliation for legal opinion address:", address);
|
|
59061
|
+
const normalizedCountryCode = normalizeCountryCode(address?.country);
|
|
59062
|
+
const suite = getAddressComponent(address, "Suite/Apartment");
|
|
59063
|
+
const isCanadian = normalizedCountryCode === "CA";
|
|
59018
59064
|
let affiliationAddressType = "";
|
|
59019
59065
|
if (affiliation) {
|
|
59020
|
-
const address = affiliation?.addresses.at(0) || affiliation?.parent_affiliation?.addresses?.at(0);
|
|
59021
|
-
const normalizedCountryCode = normalizeCountryCode(address?.country);
|
|
59022
|
-
const suite = getAddressComponent(address, "Suite/Apartment");
|
|
59023
|
-
const isCanadian = normalizedCountryCode === "CA";
|
|
59024
59066
|
if (isCanadian) {
|
|
59025
59067
|
affiliationAddressType = suite ? AffiliationAddressType.CanadianSuite : AffiliationAddressType.CanadianNoSuite;
|
|
59026
59068
|
} else {
|
|
@@ -59030,11 +59072,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
59030
59072
|
return new FormGroup({
|
|
59031
59073
|
[FormationFormControls.LawyerSigningOpinion]: new FormControl(deltaData?.lawyerSigning ?? "", Validators.required),
|
|
59032
59074
|
[FormationFormControls.UnitType]: new FormControl(deltaData?.address?.unitType ?? "", requiredIf(IRFormControls.UnitNumber)),
|
|
59033
|
-
[FormationFormControls.UnitNumber]: new FormControl(deltaData?.address?.
|
|
59075
|
+
[FormationFormControls.UnitNumber]: new FormControl(deltaData?.address?.unitNumber ?? "", requiredIf(IRFormControls.UnitType)),
|
|
59034
59076
|
[FormationFormControls.StreetNumber]: new FormControl(deltaData?.address?.streetNumber ?? "", Validators.required),
|
|
59035
59077
|
[FormationFormControls.StreetName]: new FormControl(deltaData?.address?.streetName ?? "", Validators.required),
|
|
59036
59078
|
[FormationFormControls.StreetType]: new FormControl(deltaData?.address?.streetType ?? ""),
|
|
59037
59079
|
[FormationFormControls.StreetDirection]: new FormControl(deltaData?.address?.streetDirection ?? ""),
|
|
59080
|
+
[FormationFormControls.City]: new FormControl(address?.city ?? ""),
|
|
59081
|
+
[FormationFormControls.Province]: new FormControl(address?.province_state ?? ""),
|
|
59082
|
+
[FormationFormControls.PostalCode]: new FormControl(address?.postal_zip ?? ""),
|
|
59083
|
+
[FormationFormControls.CountryCode]: new FormControl(normalizedCountryCode ?? ""),
|
|
59084
|
+
[FormationFormControls.Country]: new FormControl(address?.country ?? normalizedCountryCode ?? ""),
|
|
59038
59085
|
[FormationFormControls.AffiliationAddressType]: new FormControl(affiliationAddressType)
|
|
59039
59086
|
});
|
|
59040
59087
|
}
|
|
@@ -60644,7 +60691,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
60644
60691
|
(() => {
|
|
60645
60692
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ConfirmModalComponent, [{
|
|
60646
60693
|
type: Component,
|
|
60647
|
-
args: [{ selector: "confirm-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, TranslatePipe], template: '@let config = modalConfig();\r\n<div class="confirm-modal">\r\n <div class="confirm-modal-header">\r\n <h1 class="confirm-modal-header-title d-flex align-items-center">\r\n @if (config.icon) {\r\n <span class="material-icons-outlined icon mr-s">delete</span>\r\n }\r\n\r\n {{ config.title | translate }}\r\n </h1>\r\n </div>\r\n\r\n <div class="confirm-modal-text">{{ config.text | translate }}</div>\r\n\r\n <div class="confirm-modal-actions">\r\n <button mat-stroked-button (click)="closeModal()">\r\n <span class="body-1-semibold">{{ config.cancelButton | translate }}</span>\r\n </button>\r\n <button\r\n class="confirm-modal-actions-submit"\r\n mat-flat-button\r\n color="primary"\r\n (click)="closeModal(true)"\r\n >\r\n <span class="body-1-semibold">{{ config.confirmButton | translate}}</span>\r\n </button>\r\n </div>\r\n</div>\r\n', styles: ['/* src/app/components/confirm-modal/confirm-modal.component.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.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:host {\n display: flex;\n flex-direction: column;\n gap: 12px;\n height: 100%;\n padding: 12px;\n}\n:host .confirm-modal {\n display: flex;\n flex-direction: column;\n flex: 1;\n gap: 16px;\n}\n:host .confirm-modal-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .confirm-modal-header-title {\n font-size: 20px;\n color: var(--neutral-20);\n}\n:host .confirm-modal-header-icon {\n font-size: 14px;\n height: 20px;\n}\n:host .confirm-modal-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n}\n:host .confirm-modal-actions button {\n margin: 0;\n}\n:host .confirm-modal-actions-submit {\n padding-left: 30px;\n padding-right: 30px;\n background-color: #3778e4;\n color: white;\n border-radius: 4px !important;\n}\n/*# sourceMappingURL=confirm-modal.component.css.map */\n'] }]
|
|
60694
|
+
args: [{ selector: "confirm-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, TranslatePipe], template: '@let config = modalConfig();\n<div class="confirm-modal">\n <div class="confirm-modal-header">\n <h1 class="confirm-modal-header-title d-flex align-items-center">\n @if (config.icon) {\n <span class="material-icons-outlined icon mr-s">delete</span>\n }\n\n {{ config.title | translate }}\n </h1>\n </div>\n\n <div class="confirm-modal-text">{{ config.text | translate }}</div>\n\n <div class="confirm-modal-actions">\n <button mat-stroked-button (click)="closeModal()">\n <span class="body-1-semibold">{{ config.cancelButton | translate }}</span>\n </button>\n <button\n class="confirm-modal-actions-submit"\n mat-flat-button\n color="primary"\n (click)="closeModal(true)"\n >\n <span class="body-1-semibold">{{ config.confirmButton | translate}}</span>\n </button>\n </div>\n</div>\n', styles: ['/* src/app/components/confirm-modal/confirm-modal.component.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.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:host {\n display: flex;\n flex-direction: column;\n gap: 12px;\n height: 100%;\n padding: 12px;\n}\n:host .confirm-modal {\n display: flex;\n flex-direction: column;\n flex: 1;\n gap: 16px;\n}\n:host .confirm-modal-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .confirm-modal-header-title {\n font-size: 20px;\n color: var(--neutral-20);\n}\n:host .confirm-modal-header-icon {\n font-size: 14px;\n height: 20px;\n}\n:host .confirm-modal-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n}\n:host .confirm-modal-actions button {\n margin: 0;\n}\n:host .confirm-modal-actions-submit {\n padding-left: 30px;\n padding-right: 30px;\n background-color: #3778e4;\n color: white;\n border-radius: 4px !important;\n}\n/*# sourceMappingURL=confirm-modal.component.css.map */\n'] }]
|
|
60648
60695
|
}], null, null);
|
|
60649
60696
|
})();
|
|
60650
60697
|
(() => {
|
|
@@ -62888,7 +62935,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
62888
62935
|
(() => {
|
|
62889
62936
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ChipComponent, [{
|
|
62890
62937
|
type: Component,
|
|
62891
|
-
args: [{ selector: "chip", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconModule, TranslatePipe], template: '<div class="chip {{type()}}">\
|
|
62938
|
+
args: [{ selector: "chip", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconModule, TranslatePipe], template: '<div class="chip {{type()}}">\n <span class="body-1-semibold">{{title() | translate}}</span>\n</div>\n', styles: ["/* src/app/components/chip/chip.component.scss */\n:host .chip {\n padding: 0 15px;\n height: 20px;\n display: flex;\n align-items: center;\n border-radius: 4px;\n border: 1px solid #A1B5C7;\n}\n:host .chip.warning {\n color: #CFB95A;\n}\n:host .chip.danger {\n color: #C56868;\n}\n:host .chip.success {\n color: #4CAF51;\n}\n/*# sourceMappingURL=chip.component.css.map */\n"] }]
|
|
62892
62939
|
}], null, null);
|
|
62893
62940
|
})();
|
|
62894
62941
|
(() => {
|
|
@@ -63107,45 +63154,45 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
63107
63154
|
animate("100ms cubic-bezier(0.4, 0.0, 0.2, 1)")
|
|
63108
63155
|
])
|
|
63109
63156
|
])
|
|
63110
|
-
], template: `<div [class.padded]="padded()" [class.border]="border()" class="expandable-card"
|
|
63111
|
-
<div (click)="toggle()" class="expandable-card-header"
|
|
63112
|
-
<h2 [class.list-item]="isListItem()" class="expandable-card-header-title">{{title() | translate}}
|
|
63113
|
-
@if (role()) {
|
|
63114
|
-
<span>({{role()}})</span
|
|
63115
|
-
}
|
|
63116
|
-
</h2
|
|
63117
|
-
<div [class.list-item]="isListItem()" class="expandable-card-header-container"
|
|
63118
|
-
@if (isStatusIcon()) {
|
|
63119
|
-
@if (!isValid()) {
|
|
63120
|
-
<mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon
|
|
63121
|
-
}
|
|
63122
|
-
}
|
|
63123
|
-
|
|
63124
|
-
@if(chipType()) {
|
|
63125
|
-
<chip [type]="chipType()" [title]="chipText()"
|
|
63126
|
-
}
|
|
63127
|
-
|
|
63128
|
-
@if (isExpandable()) {
|
|
63129
|
-
<mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon
|
|
63130
|
-
}
|
|
63131
|
-
</div
|
|
63132
|
-
</div
|
|
63133
|
-
|
|
63134
|
-
<div class="expandable-card-content"
|
|
63135
|
-
[@expandCollapse]="isExpanded()"
|
|
63136
|
-
<div class="expandable-card-content-item"
|
|
63137
|
-
<ng-content></ng-content
|
|
63138
|
-
|
|
63139
|
-
@if (removable()) {
|
|
63140
|
-
<div class="expandable-card-content-item-actions"
|
|
63141
|
-
<span (click)="remove.emit()" class="body-1-regular light-blue pointer">{{'Remove' | translate}}</span
|
|
63142
|
-
</div
|
|
63143
|
-
}
|
|
63144
|
-
|
|
63145
|
-
|
|
63146
|
-
</div
|
|
63147
|
-
</div
|
|
63148
|
-
</div
|
|
63157
|
+
], template: `<div [class.padded]="padded()" [class.border]="border()" class="expandable-card">
|
|
63158
|
+
<div (click)="toggle()" class="expandable-card-header">
|
|
63159
|
+
<h2 [class.list-item]="isListItem()" class="expandable-card-header-title">{{title() | translate}}
|
|
63160
|
+
@if (role()) {
|
|
63161
|
+
<span>({{role()}})</span>
|
|
63162
|
+
}
|
|
63163
|
+
</h2>
|
|
63164
|
+
<div [class.list-item]="isListItem()" class="expandable-card-header-container">
|
|
63165
|
+
@if (isStatusIcon()) {
|
|
63166
|
+
@if (!isValid()) {
|
|
63167
|
+
<mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>
|
|
63168
|
+
}
|
|
63169
|
+
}
|
|
63170
|
+
|
|
63171
|
+
@if(chipType()) {
|
|
63172
|
+
<chip [type]="chipType()" [title]="chipText()"/>
|
|
63173
|
+
}
|
|
63174
|
+
|
|
63175
|
+
@if (isExpandable()) {
|
|
63176
|
+
<mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>
|
|
63177
|
+
}
|
|
63178
|
+
</div>
|
|
63179
|
+
</div>
|
|
63180
|
+
|
|
63181
|
+
<div class="expandable-card-content"
|
|
63182
|
+
[@expandCollapse]="isExpanded()">
|
|
63183
|
+
<div class="expandable-card-content-item">
|
|
63184
|
+
<ng-content></ng-content>
|
|
63185
|
+
|
|
63186
|
+
@if (removable()) {
|
|
63187
|
+
<div class="expandable-card-content-item-actions">
|
|
63188
|
+
<span (click)="remove.emit()" class="body-1-regular light-blue pointer">{{'Remove' | translate}}</span>
|
|
63189
|
+
</div>
|
|
63190
|
+
}
|
|
63191
|
+
|
|
63192
|
+
|
|
63193
|
+
</div>
|
|
63194
|
+
</div>
|
|
63195
|
+
</div>
|
|
63149
63196
|
`, styles: ["/* src/app/components/expandable-card/expandable-card.component.scss */\n:host .expandable-card {\n border-radius: 8px;\n height: 100%;\n}\n:host .expandable-card-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .expandable-card-header-status-icon {\n font-weight: 400;\n color: #F1D01E;\n font-size: 22px;\n height: 22px;\n width: 22px;\n}\n:host .expandable-card-header-status-icon.added {\n color: #44aa00;\n}\n:host .expandable-card-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n:host .expandable-card-header-title {\n color: #666666;\n font-weight: 700;\n font-size: 14px;\n}\n:host .expandable-card-header-title.list-item {\n color: var(--filing-modal-color-dark-blue);\n font-weight: 600;\n}\n:host .expandable-card-header-container {\n display: flex;\n align-items: center;\n gap: 16px;\n}\n:host .expandable-card-header-container.list-item mat-icon {\n font-size: 16px;\n}\n:host .expandable-card-header mat-icon:not(.expandable-card-header-status-icon) {\n display: flex;\n align-items: center;\n justify-content: center;\n transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1);\n transform: rotate(-90deg);\n}\n:host .expandable-card-header mat-icon:not(.expandable-card-header-status-icon).rotated {\n transform: rotate(90deg);\n}\n:host .expandable-card-content {\n height: 100%;\n}\n:host .expandable-card-content-item {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n:host .expandable-card-content-item-actions {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n}\n:host .expandable-card.border {\n box-shadow:\n 0 1px 2px rgba(0, 0, 0, 0.08),\n 0 2px 4px rgba(0, 0, 0, 0.12),\n 0 0 0 1px rgba(0, 0, 0, 0.04);\n margin: 1px;\n}\n:host .expandable-card.padded {\n padding: 16px;\n}\n/*# sourceMappingURL=expandable-card.component.css.map */\n"] }]
|
|
63150
63197
|
}], () => [], null);
|
|
63151
63198
|
})();
|
|
@@ -74410,7 +74457,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
74410
74457
|
MatFormFieldModule,
|
|
74411
74458
|
MatInputModule,
|
|
74412
74459
|
MatAutocompleteModule
|
|
74413
|
-
], template: '<mat-form-field appearance="outline">\
|
|
74460
|
+
], template: '<mat-form-field appearance="outline">\n <input\n matInput\n [formControl]="control()"\n [placeholder]="placeholder()"\n [required]="required()"\n [matAutocomplete]="auto"\n />\n\n <mat-autocomplete #auto="matAutocomplete">\n @for (option of filteredOptions(); track option) {\n <mat-option [value]="option.value">\n {{ option.label }}\n </mat-option>\n }\n </mat-autocomplete>\n</mat-form-field>\n' }]
|
|
74414
74461
|
}], null, null);
|
|
74415
74462
|
})();
|
|
74416
74463
|
(() => {
|
|
@@ -78553,7 +78600,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
78553
78600
|
}
|
|
78554
78601
|
], imports: [
|
|
78555
78602
|
MatCheckbox
|
|
78556
|
-
], template: '<div class="checkbox-list">\
|
|
78603
|
+
], template: '<div class="checkbox-list">\n <div class="body-1-regular grey">{{ title() }}</div>\n\n @for (item of items(); track item.value) {\n <label class="checkbox-list-item">\n <mat-checkbox\n [checked]="isChecked(item.value)"\n [disabled]="disabled"\n (change)="toggle(item.value)"\n >\n <span class="body-1-regular grey">{{ item.label }}</span>\n </mat-checkbox>\n </label>\n }\n</div>\n', styles: ["/* src/app/components/checkbox-list/checkbox-list.component.scss */\n:host .checkbox-list {\n display: flex;\n flex-direction: column;\n gap: 12px;\n padding-bottom: 16px;\n}\n:host .checkbox-list-item {\n padding-left: 16px;\n}\n/*# sourceMappingURL=checkbox-list.component.css.map */\n"] }]
|
|
78557
78604
|
}], null, null);
|
|
78558
78605
|
})();
|
|
78559
78606
|
(() => {
|
|
@@ -78587,9 +78634,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
78587
78634
|
}
|
|
78588
78635
|
if (rf & 2) {
|
|
78589
78636
|
const option_r5 = ctx.$implicit;
|
|
78637
|
+
const field_r3 = \u0275\u0275nextContext(3).$implicit;
|
|
78590
78638
|
\u0275\u0275property("value", option_r5.value);
|
|
78591
78639
|
\u0275\u0275advance();
|
|
78592
|
-
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(2, 2, option_r5.label), " ");
|
|
78640
|
+
\u0275\u0275textInterpolate1(" ", field_r3.needTranslate ? \u0275\u0275pipeBind1(2, 2, option_r5.label) : option_r5.label, " ");
|
|
78593
78641
|
}
|
|
78594
78642
|
}
|
|
78595
78643
|
function FilingFormGroupComponent_For_5_Conditional_0_Case_1_Conditional_10_Template(rf, ctx) {
|
|
@@ -79150,18 +79198,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
79150
79198
|
*/
|
|
79151
79199
|
getDisplayFn(field) {
|
|
79152
79200
|
const form = this.form();
|
|
79201
|
+
const translate = (label) => field.needTranslate ? this.translateService.instant(label) : label;
|
|
79153
79202
|
return (value) => {
|
|
79154
79203
|
if (value === null || value === void 0 || value === "")
|
|
79155
79204
|
return "";
|
|
79156
79205
|
const staticOpt = (field.options ?? []).find((o) => o.value === value);
|
|
79157
79206
|
if (staticOpt)
|
|
79158
|
-
return
|
|
79207
|
+
return translate(staticOpt.label);
|
|
79159
79208
|
if (field.dynamicOptions) {
|
|
79160
79209
|
const dynOpt = field.dynamicOptions(form).find((o) => o.value === value);
|
|
79161
79210
|
if (dynOpt)
|
|
79162
|
-
return
|
|
79211
|
+
return translate(dynOpt.label);
|
|
79163
79212
|
}
|
|
79164
|
-
return
|
|
79213
|
+
return translate(String(value));
|
|
79165
79214
|
};
|
|
79166
79215
|
}
|
|
79167
79216
|
/**
|
|
@@ -79265,234 +79314,234 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
79265
79314
|
{ provide: DateAdapter, useClass: MomentDateAdapter },
|
|
79266
79315
|
{ provide: MAT_DATE_FORMATS, useValue: MY_DATE_FORMATS },
|
|
79267
79316
|
{ provide: MAT_DATE_LOCALE, useValue: "en-GB" }
|
|
79268
|
-
], template: `@let fields = this.config()
|
|
79269
|
-
@let form = this.form()
|
|
79270
|
-
|
|
79271
|
-
<section
|
|
79272
|
-
<div [class.submitted]="isSubmitted()" class="filling-form-fields" [formGroup]="form"
|
|
79273
|
-
@for (field of fields; track field.formControlName + $index; let last = $last) {
|
|
79274
|
-
@if (!field.isVisible || field.isVisible(form)) {
|
|
79275
|
-
@let previousValue = validationConfig()?.[field.formControlName]
|
|
79276
|
-
|
|
79277
|
-
@switch (field.type) {
|
|
79278
|
-
@case (types.Select) {
|
|
79279
|
-
<div class="filling-form-fields-item {{field.class ?? 'span-6'}}"
|
|
79280
|
-
@let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label
|
|
79281
|
-
@if (label) {
|
|
79282
|
-
<span class="filling-form-fields-item-label body-1-regular"
|
|
79283
|
-
{{ (label | translate) + (field.required ? " *" : "") }}
|
|
79284
|
-
</span
|
|
79285
|
-
}
|
|
79286
|
-
<mat-form-field appearance="outline"
|
|
79287
|
-
@let control = form.get(field.formControlName)
|
|
79288
|
-
|
|
79289
|
-
<input
|
|
79290
|
-
matInput
|
|
79291
|
-
[formControlName]="field.formControlName"
|
|
79292
|
-
[matAutocomplete]="autocompleteRef"
|
|
79293
|
-
(change)="field.onChange && field.onChange(form)"
|
|
79294
|
-
|
|
79295
|
-
|
|
79296
|
-
<mat-autocomplete
|
|
79297
|
-
#autocompleteRef="matAutocomplete"
|
|
79298
|
-
[displayWith]="getDisplayFn(field)"
|
|
79299
|
-
(optionSelected)="field.onChange && field.onChange(form)"
|
|
79300
|
-
|
|
79301
|
-
@for (option of getFilteredOptions(field); track option.value) {
|
|
79302
|
-
<mat-option
|
|
79303
|
-
class="filing-form-group-select-option"
|
|
79304
|
-
[value]="option.value"
|
|
79305
|
-
|
|
79306
|
-
{{ option.label | translate }}
|
|
79307
|
-
</mat-option
|
|
79308
|
-
}
|
|
79309
|
-
@if (getFilteredOptions(field).length === 0) {
|
|
79310
|
-
<mat-option disabled>{{ 'No options found' | translate }}</mat-option
|
|
79311
|
-
}
|
|
79312
|
-
</mat-autocomplete
|
|
79313
|
-
|
|
79314
|
-
@if (control?.value && !control?.disabled) {
|
|
79315
|
-
<div matSuffix class="suffix-container"
|
|
79316
|
-
<button mat-icon-button (click)="control?.reset(); field.onChange && field.onChange(form)"
|
|
79317
|
-
<mat-icon>close</mat-icon
|
|
79318
|
-
</button
|
|
79319
|
-
|
|
79320
|
-
<mat-icon class="arrow-icon">arrow_drop_down</mat-icon
|
|
79321
|
-
</div
|
|
79322
|
-
} @else {
|
|
79323
|
-
<mat-icon matSuffix>arrow_drop_down</mat-icon
|
|
79324
|
-
}
|
|
79325
|
-
|
|
79326
|
-
<mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error
|
|
79327
|
-
</mat-form-field
|
|
79328
|
-
</div
|
|
79329
|
-
}
|
|
79330
|
-
|
|
79331
|
-
@case (types.Checkbox) {
|
|
79332
|
-
<div [class.last]="last" class="filling-form-fields-checkbox {{field.class ?? 'span-6'}}"
|
|
79333
|
-
<mat-checkbox
|
|
79334
|
-
(change)="field.onChange && field.onChange(form)"
|
|
79335
|
-
[formControlName]="field.formControlName"
|
|
79336
|
-
|
|
79337
|
-
@let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label
|
|
79338
|
-
<div
|
|
79339
|
-
<span class="body-1-regular black" [class.warning]="!!previousValue">{{
|
|
79340
|
-
label | translate
|
|
79341
|
-
}}</span
|
|
79342
|
-
@if (previousValue != null) {
|
|
79343
|
-
<mat-icon
|
|
79344
|
-
[class.warning]="true"
|
|
79345
|
-
class="filling-form-fields-item-icon"
|
|
79346
|
-
matSuffix
|
|
79347
|
-
>warning_amber</mat-icon
|
|
79348
|
-
|
|
79349
|
-
}
|
|
79350
|
-
</div
|
|
79351
|
-
</mat-checkbox
|
|
79352
|
-
|
|
79353
|
-
@if (previousValue != null) {
|
|
79354
|
-
<mat-hint
|
|
79355
|
-
[class.warning]="true"
|
|
79356
|
-
class="filling-form-fields-item-hint"
|
|
79357
|
-
>{{ 'Previously saved value' | translate }}: {{ previousValue ? ('checked' | translate) : ('unchecked' | translate) }}</mat-hint
|
|
79358
|
-
|
|
79359
|
-
}
|
|
79360
|
-
</div
|
|
79361
|
-
}
|
|
79362
|
-
|
|
79363
|
-
@case (types.Empty) {
|
|
79364
|
-
<div class="filling-form-fields-empty {{field.class ?? 'span-6'}}"></div
|
|
79365
|
-
}
|
|
79366
|
-
@case (types.Autocomplete) {
|
|
79367
|
-
<div class="filling-form-fields-item {{field.class ?? 'span-6'}}"
|
|
79368
|
-
@if (field.label) {
|
|
79369
|
-
<span class="filling-form-fields-item-label body-1-regular"
|
|
79370
|
-
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79371
|
-
</span
|
|
79372
|
-
}
|
|
79373
|
-
<autocomplete-field
|
|
79374
|
-
[options]="field.options ?? []"
|
|
79375
|
-
[control]="getFormControl(field.formControlName)"
|
|
79376
|
-
[required]="field.required ?? false"
|
|
79377
|
-
|
|
79378
|
-
</div
|
|
79379
|
-
}
|
|
79380
|
-
|
|
79381
|
-
@case (types.Date) {
|
|
79382
|
-
<div
|
|
79383
|
-
class="filling-form-fields-item {{field.class ?? 'span-6'}}"
|
|
79384
|
-
[class.warning]="!!previousValue"
|
|
79385
|
-
|
|
79386
|
-
@if (field.label) {
|
|
79387
|
-
<span
|
|
79388
|
-
class="filling-form-fields-item-label body-1-regular"
|
|
79389
|
-
[class.warning]="!!previousValue"
|
|
79390
|
-
|
|
79391
|
-
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79392
|
-
</span
|
|
79393
|
-
}
|
|
79394
|
-
|
|
79395
|
-
<mat-form-field appearance="outline"
|
|
79396
|
-
<input
|
|
79397
|
-
matInput
|
|
79398
|
-
[matDatepicker]="picker"
|
|
79399
|
-
[formControlName]="field.formControlName"
|
|
79400
|
-
(dateChange)="field.onChange && field.onChange(form)"
|
|
79401
|
-
|
|
79402
|
-
<mat-datepicker-toggle matSuffix [for]="picker"
|
|
79403
|
-
<mat-icon matDatepickerToggleIcon>calendar_today</mat-icon
|
|
79404
|
-
</mat-datepicker-toggle
|
|
79405
|
-
<mat-datepicker #picker></mat-datepicker
|
|
79406
|
-
|
|
79407
|
-
@if (previousValue != null) {
|
|
79408
|
-
<mat-hint
|
|
79409
|
-
[class.warning]="true"
|
|
79410
|
-
class="filling-form-fields-item-hint"
|
|
79411
|
-
|
|
79412
|
-
{{ 'Previously saved value' | translate }}: {{ previousValue }}
|
|
79413
|
-
</mat-hint
|
|
79414
|
-
}
|
|
79415
|
-
|
|
79416
|
-
<mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error
|
|
79417
|
-
</mat-form-field
|
|
79418
|
-
</div
|
|
79419
|
-
}
|
|
79420
|
-
|
|
79421
|
-
@case (types.Input) {
|
|
79422
|
-
<div
|
|
79423
|
-
[class.warning]="!!previousValue"
|
|
79424
|
-
class="filling-form-fields-item {{field.class ?? 'span-6'}}"
|
|
79425
|
-
|
|
79426
|
-
@if (field.label) {
|
|
79427
|
-
<span
|
|
79428
|
-
[class.warning]="!!previousValue"
|
|
79429
|
-
class="filling-form-fields-item-label body-1-regular"
|
|
79430
|
-
|
|
79431
|
-
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79432
|
-
</span
|
|
79433
|
-
|
|
79434
|
-
<mat-form-field appearance="outline"
|
|
79435
|
-
<input
|
|
79436
|
-
matInput
|
|
79437
|
-
[readonly]="field.readonly"
|
|
79438
|
-
[formControlName]="field.formControlName"
|
|
79439
|
-
(input)="field.onChange && field.onChange(form)"
|
|
79440
|
-
|
|
79441
|
-
|
|
79442
|
-
@if (previousValue != null) {
|
|
79443
|
-
<mat-hint
|
|
79444
|
-
[class.warning]="true"
|
|
79445
|
-
class="filling-form-fields-item-hint"
|
|
79446
|
-
>{{ 'Previously saved value' | translate }}: {{ previousValue }}</mat-hint
|
|
79447
|
-
|
|
79448
|
-
}
|
|
79449
|
-
|
|
79450
|
-
@if (previousValue != null) {
|
|
79451
|
-
<mat-icon
|
|
79452
|
-
[class.warning]="true"
|
|
79453
|
-
class="filling-form-fields-item-icon"
|
|
79454
|
-
matSuffix
|
|
79455
|
-
>warning_amber</mat-icon
|
|
79456
|
-
|
|
79457
|
-
}
|
|
79458
|
-
|
|
79459
|
-
<mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error
|
|
79460
|
-
</mat-form-field
|
|
79461
|
-
}
|
|
79462
|
-
</div
|
|
79463
|
-
}
|
|
79464
|
-
@case (types.TextArea) {
|
|
79465
|
-
<div class="filling-form-fields-item text-area {{field.class ?? 'span-6'}}"
|
|
79466
|
-
@if (field.label) {
|
|
79467
|
-
<span class="filling-form-fields-item-label body-1-regular"
|
|
79468
|
-
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79469
|
-
</span
|
|
79470
|
-
|
|
79471
|
-
<mat-form-field appearance="outline"
|
|
79472
|
-
<textarea
|
|
79473
|
-
matInput
|
|
79474
|
-
[readonly]="field.readonly"
|
|
79475
|
-
[formControlName]="field.formControlName"
|
|
79476
|
-
(change)="field.onChange && field.onChange(form)"
|
|
79477
|
-
></textarea
|
|
79478
|
-
</mat-form-field
|
|
79479
|
-
}
|
|
79480
|
-
</div
|
|
79481
|
-
}
|
|
79482
|
-
@case (types.CheckboxList) {
|
|
79483
|
-
<checkbox-list class="{{field.class}}" [formControlName]="field.formControlName" [items]="field.options ?? []"
|
|
79484
|
-
}
|
|
79485
|
-
@case (types.Text) {
|
|
79486
|
-
@let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label
|
|
79487
|
-
@if (label) {
|
|
79488
|
-
<p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p
|
|
79489
|
-
}
|
|
79490
|
-
}
|
|
79491
|
-
}
|
|
79492
|
-
}
|
|
79493
|
-
}
|
|
79494
|
-
</div
|
|
79495
|
-
</section
|
|
79317
|
+
], template: `@let fields = this.config();
|
|
79318
|
+
@let form = this.form();
|
|
79319
|
+
|
|
79320
|
+
<section>
|
|
79321
|
+
<div [class.submitted]="isSubmitted()" class="filling-form-fields" [formGroup]="form">
|
|
79322
|
+
@for (field of fields; track field.formControlName + $index; let last = $last) {
|
|
79323
|
+
@if (!field.isVisible || field.isVisible(form)) {
|
|
79324
|
+
@let previousValue = validationConfig()?.[field.formControlName];
|
|
79325
|
+
|
|
79326
|
+
@switch (field.type) {
|
|
79327
|
+
@case (types.Select) {
|
|
79328
|
+
<div class="filling-form-fields-item {{field.class ?? 'span-6'}}">
|
|
79329
|
+
@let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;
|
|
79330
|
+
@if (label) {
|
|
79331
|
+
<span class="filling-form-fields-item-label body-1-regular">
|
|
79332
|
+
{{ (label | translate) + (field.required ? " *" : "") }}
|
|
79333
|
+
</span>
|
|
79334
|
+
}
|
|
79335
|
+
<mat-form-field appearance="outline">
|
|
79336
|
+
@let control = form.get(field.formControlName);
|
|
79337
|
+
|
|
79338
|
+
<input
|
|
79339
|
+
matInput
|
|
79340
|
+
[formControlName]="field.formControlName"
|
|
79341
|
+
[matAutocomplete]="autocompleteRef"
|
|
79342
|
+
(change)="field.onChange && field.onChange(form)"
|
|
79343
|
+
/>
|
|
79344
|
+
|
|
79345
|
+
<mat-autocomplete
|
|
79346
|
+
#autocompleteRef="matAutocomplete"
|
|
79347
|
+
[displayWith]="getDisplayFn(field)"
|
|
79348
|
+
(optionSelected)="field.onChange && field.onChange(form)"
|
|
79349
|
+
>
|
|
79350
|
+
@for (option of getFilteredOptions(field); track option.value) {
|
|
79351
|
+
<mat-option
|
|
79352
|
+
class="filing-form-group-select-option"
|
|
79353
|
+
[value]="option.value"
|
|
79354
|
+
>
|
|
79355
|
+
{{ field.needTranslate ? (option.label | translate) : option.label }}
|
|
79356
|
+
</mat-option>
|
|
79357
|
+
}
|
|
79358
|
+
@if (getFilteredOptions(field).length === 0) {
|
|
79359
|
+
<mat-option disabled>{{ 'No options found' | translate }}</mat-option>
|
|
79360
|
+
}
|
|
79361
|
+
</mat-autocomplete>
|
|
79362
|
+
|
|
79363
|
+
@if (control?.value && !control?.disabled) {
|
|
79364
|
+
<div matSuffix class="suffix-container">
|
|
79365
|
+
<button mat-icon-button (click)="control?.reset(); field.onChange && field.onChange(form)">
|
|
79366
|
+
<mat-icon>close</mat-icon>
|
|
79367
|
+
</button>
|
|
79368
|
+
|
|
79369
|
+
<mat-icon class="arrow-icon">arrow_drop_down</mat-icon>
|
|
79370
|
+
</div>
|
|
79371
|
+
} @else {
|
|
79372
|
+
<mat-icon matSuffix>arrow_drop_down</mat-icon>
|
|
79373
|
+
}
|
|
79374
|
+
|
|
79375
|
+
<mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>
|
|
79376
|
+
</mat-form-field>
|
|
79377
|
+
</div>
|
|
79378
|
+
}
|
|
79379
|
+
|
|
79380
|
+
@case (types.Checkbox) {
|
|
79381
|
+
<div [class.last]="last" class="filling-form-fields-checkbox {{field.class ?? 'span-6'}}">
|
|
79382
|
+
<mat-checkbox
|
|
79383
|
+
(change)="field.onChange && field.onChange(form)"
|
|
79384
|
+
[formControlName]="field.formControlName"
|
|
79385
|
+
>
|
|
79386
|
+
@let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;
|
|
79387
|
+
<div>
|
|
79388
|
+
<span class="body-1-regular black" [class.warning]="!!previousValue">{{
|
|
79389
|
+
label | translate
|
|
79390
|
+
}}</span>
|
|
79391
|
+
@if (previousValue != null) {
|
|
79392
|
+
<mat-icon
|
|
79393
|
+
[class.warning]="true"
|
|
79394
|
+
class="filling-form-fields-item-icon"
|
|
79395
|
+
matSuffix
|
|
79396
|
+
>warning_amber</mat-icon
|
|
79397
|
+
>
|
|
79398
|
+
}
|
|
79399
|
+
</div>
|
|
79400
|
+
</mat-checkbox>
|
|
79401
|
+
|
|
79402
|
+
@if (previousValue != null) {
|
|
79403
|
+
<mat-hint
|
|
79404
|
+
[class.warning]="true"
|
|
79405
|
+
class="filling-form-fields-item-hint"
|
|
79406
|
+
>{{ 'Previously saved value' | translate }}: {{ previousValue ? ('checked' | translate) : ('unchecked' | translate) }}</mat-hint
|
|
79407
|
+
>
|
|
79408
|
+
}
|
|
79409
|
+
</div>
|
|
79410
|
+
}
|
|
79411
|
+
|
|
79412
|
+
@case (types.Empty) {
|
|
79413
|
+
<div class="filling-form-fields-empty {{field.class ?? 'span-6'}}"></div>
|
|
79414
|
+
}
|
|
79415
|
+
@case (types.Autocomplete) {
|
|
79416
|
+
<div class="filling-form-fields-item {{field.class ?? 'span-6'}}">
|
|
79417
|
+
@if (field.label) {
|
|
79418
|
+
<span class="filling-form-fields-item-label body-1-regular">
|
|
79419
|
+
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79420
|
+
</span>
|
|
79421
|
+
}
|
|
79422
|
+
<autocomplete-field
|
|
79423
|
+
[options]="field.options ?? []"
|
|
79424
|
+
[control]="getFormControl(field.formControlName)"
|
|
79425
|
+
[required]="field.required ?? false"
|
|
79426
|
+
/>
|
|
79427
|
+
</div>
|
|
79428
|
+
}
|
|
79429
|
+
|
|
79430
|
+
@case (types.Date) {
|
|
79431
|
+
<div
|
|
79432
|
+
class="filling-form-fields-item {{field.class ?? 'span-6'}}"
|
|
79433
|
+
[class.warning]="!!previousValue"
|
|
79434
|
+
>
|
|
79435
|
+
@if (field.label) {
|
|
79436
|
+
<span
|
|
79437
|
+
class="filling-form-fields-item-label body-1-regular"
|
|
79438
|
+
[class.warning]="!!previousValue"
|
|
79439
|
+
>
|
|
79440
|
+
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79441
|
+
</span>
|
|
79442
|
+
}
|
|
79443
|
+
|
|
79444
|
+
<mat-form-field appearance="outline">
|
|
79445
|
+
<input
|
|
79446
|
+
matInput
|
|
79447
|
+
[matDatepicker]="picker"
|
|
79448
|
+
[formControlName]="field.formControlName"
|
|
79449
|
+
(dateChange)="field.onChange && field.onChange(form)"
|
|
79450
|
+
/>
|
|
79451
|
+
<mat-datepicker-toggle matSuffix [for]="picker">
|
|
79452
|
+
<mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>
|
|
79453
|
+
</mat-datepicker-toggle>
|
|
79454
|
+
<mat-datepicker #picker></mat-datepicker>
|
|
79455
|
+
|
|
79456
|
+
@if (previousValue != null) {
|
|
79457
|
+
<mat-hint
|
|
79458
|
+
[class.warning]="true"
|
|
79459
|
+
class="filling-form-fields-item-hint"
|
|
79460
|
+
>
|
|
79461
|
+
{{ 'Previously saved value' | translate }}: {{ previousValue }}
|
|
79462
|
+
</mat-hint>
|
|
79463
|
+
}
|
|
79464
|
+
|
|
79465
|
+
<mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>
|
|
79466
|
+
</mat-form-field>
|
|
79467
|
+
</div>
|
|
79468
|
+
}
|
|
79469
|
+
|
|
79470
|
+
@case (types.Input) {
|
|
79471
|
+
<div
|
|
79472
|
+
[class.warning]="!!previousValue"
|
|
79473
|
+
class="filling-form-fields-item {{field.class ?? 'span-6'}}"
|
|
79474
|
+
>
|
|
79475
|
+
@if (field.label) {
|
|
79476
|
+
<span
|
|
79477
|
+
[class.warning]="!!previousValue"
|
|
79478
|
+
class="filling-form-fields-item-label body-1-regular"
|
|
79479
|
+
>
|
|
79480
|
+
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79481
|
+
</span>
|
|
79482
|
+
|
|
79483
|
+
<mat-form-field appearance="outline">
|
|
79484
|
+
<input
|
|
79485
|
+
matInput
|
|
79486
|
+
[readonly]="field.readonly"
|
|
79487
|
+
[formControlName]="field.formControlName"
|
|
79488
|
+
(input)="field.onChange && field.onChange(form)"
|
|
79489
|
+
/>
|
|
79490
|
+
|
|
79491
|
+
@if (previousValue != null) {
|
|
79492
|
+
<mat-hint
|
|
79493
|
+
[class.warning]="true"
|
|
79494
|
+
class="filling-form-fields-item-hint"
|
|
79495
|
+
>{{ 'Previously saved value' | translate }}: {{ previousValue }}</mat-hint
|
|
79496
|
+
>
|
|
79497
|
+
}
|
|
79498
|
+
|
|
79499
|
+
@if (previousValue != null) {
|
|
79500
|
+
<mat-icon
|
|
79501
|
+
[class.warning]="true"
|
|
79502
|
+
class="filling-form-fields-item-icon"
|
|
79503
|
+
matSuffix
|
|
79504
|
+
>warning_amber</mat-icon
|
|
79505
|
+
>
|
|
79506
|
+
}
|
|
79507
|
+
|
|
79508
|
+
<mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>
|
|
79509
|
+
</mat-form-field>
|
|
79510
|
+
}
|
|
79511
|
+
</div>
|
|
79512
|
+
}
|
|
79513
|
+
@case (types.TextArea) {
|
|
79514
|
+
<div class="filling-form-fields-item text-area {{field.class ?? 'span-6'}}">
|
|
79515
|
+
@if (field.label) {
|
|
79516
|
+
<span class="filling-form-fields-item-label body-1-regular">
|
|
79517
|
+
{{ (field.label | translate) + (field.required ? " *" : "") }}
|
|
79518
|
+
</span>
|
|
79519
|
+
|
|
79520
|
+
<mat-form-field appearance="outline">
|
|
79521
|
+
<textarea
|
|
79522
|
+
matInput
|
|
79523
|
+
[readonly]="field.readonly"
|
|
79524
|
+
[formControlName]="field.formControlName"
|
|
79525
|
+
(change)="field.onChange && field.onChange(form)"
|
|
79526
|
+
></textarea>
|
|
79527
|
+
</mat-form-field>
|
|
79528
|
+
}
|
|
79529
|
+
</div>
|
|
79530
|
+
}
|
|
79531
|
+
@case (types.CheckboxList) {
|
|
79532
|
+
<checkbox-list class="{{field.class}}" [formControlName]="field.formControlName" [items]="field.options ?? []"/>
|
|
79533
|
+
}
|
|
79534
|
+
@case (types.Text) {
|
|
79535
|
+
@let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label;
|
|
79536
|
+
@if (label) {
|
|
79537
|
+
<p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p>
|
|
79538
|
+
}
|
|
79539
|
+
}
|
|
79540
|
+
}
|
|
79541
|
+
}
|
|
79542
|
+
}
|
|
79543
|
+
</div>
|
|
79544
|
+
</section>
|
|
79496
79545
|
`, 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 .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-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'] }]
|
|
79497
79546
|
}], () => [], null);
|
|
79498
79547
|
})();
|
|
@@ -79752,70 +79801,70 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
79752
79801
|
FilingFormGroupComponent,
|
|
79753
79802
|
TranslatePipe,
|
|
79754
79803
|
MatButton
|
|
79755
|
-
], template: `<div class="terms-and-conditions"
|
|
79756
|
-
<div class="terms-and-conditions-content"
|
|
79757
|
-
<expandable-card class="terms-and-conditions-card" title="Terms and Conditions"
|
|
79758
|
-
|
|
79759
|
-
<div class="terms-and-conditions-card-content"
|
|
79760
|
-
<div class="terms-and-conditions-text-wrapper"
|
|
79761
|
-
<div class="terms-and-conditions-text"
|
|
79762
|
-
<span class="body-1-regular">{{ 'TERMS.intro' | translate }}</span
|
|
79763
|
-
<span class="body-1-regular">{{ 'TERMS.agreement_mandatory' | translate }}</span
|
|
79764
|
-
<span class="body-1-regular">{{ 'TERMS.clause_i' | translate }}</span
|
|
79765
|
-
<span class="body-1-regular">{{ 'TERMS.clause_ii' | translate }}</span
|
|
79766
|
-
<span class="body-1-regular">{{ 'TERMS.authority' | translate }}</span
|
|
79767
|
-
<span class="body-1-regular">{{ 'TERMS.bound' | translate }}</span
|
|
79768
|
-
<span class="body-1-regular">{{ 'TERMS.section_1' | translate }}</span
|
|
79769
|
-
<span class="body-1-regular">{{ 'TERMS.section_2' | translate }}</span
|
|
79770
|
-
<span class="body-1-regular">{{ 'TERMS.section_3' | translate }}</span
|
|
79771
|
-
<span class="body-1-regular">{{ 'TERMS.section_4' | translate }}</span
|
|
79772
|
-
<span class="body-1-regular">{{ 'TERMS.section_5' | translate }}</span
|
|
79773
|
-
<span class="body-1-regular">{{ 'TERMS.section_6' | translate }}</span
|
|
79774
|
-
<span class="body-1-regular">{{ 'TERMS.section_7' | translate }}</span
|
|
79775
|
-
<span class="body-1-regular">{{ 'TERMS.section_8' | translate }}</span
|
|
79776
|
-
<span class="body-1-regular">{{ 'TERMS.section_9' | translate }}</span
|
|
79777
|
-
<span class="body-1-regular">{{ 'TERMS.section_10' | translate }}</span
|
|
79778
|
-
<span class="body-1-regular">{{ 'TERMS.section_11' | translate }}</span
|
|
79779
|
-
<span class="body-1-regular">{{ 'TERMS.section_12' | translate }}</span
|
|
79780
|
-
<span class="body-1-regular">{{ 'TERMS.section_13' | translate }}</span
|
|
79781
|
-
<span class="body-1-regular">{{ 'TERMS.section_14' | translate }}</span
|
|
79782
|
-
<span class="body-1-regular">{{ 'TERMS.section_15' | translate }}</span
|
|
79783
|
-
<span class="body-1-regular">{{ 'TERMS.section_16' | translate }}</span
|
|
79784
|
-
<span class="body-1-regular">{{ 'TERMS.section_17' | translate }}</span
|
|
79785
|
-
</div
|
|
79786
|
-
</div
|
|
79787
|
-
|
|
79788
|
-
<mat-checkbox [formControl]="getFormControl(termsAndConditionsControls.AcceptTerms)"
|
|
79789
|
-
<div class="body-1-regular black"
|
|
79790
|
-
<span>{{ 'I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them' | translate }}</span
|
|
79791
|
-
</div
|
|
79792
|
-
</mat-checkbox
|
|
79793
|
-
</div
|
|
79794
|
-
|
|
79795
|
-
</expandable-card
|
|
79796
|
-
|
|
79797
|
-
<expandable-card title="Signatory"
|
|
79798
|
-
<filing-form-group [isSubmitted]="true" [form]="form" [config]="termsAndConditionsFields"
|
|
79799
|
-
</expandable-card
|
|
79800
|
-
</div
|
|
79801
|
-
|
|
79802
|
-
<div class="terms-and-conditions-form-actions"
|
|
79803
|
-
<button mat-stroked-button mat-button (click)="close.emit()"
|
|
79804
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
79805
|
-
</button
|
|
79806
|
-
|
|
79807
|
-
<button mat-stroked-button mat-button (click)="prev.emit()"><span class="body-1-semibold">{{ 'Back' | translate }}</span></button
|
|
79808
|
-
|
|
79809
|
-
<button
|
|
79810
|
-
mat-flat-button
|
|
79811
|
-
type="submit"
|
|
79812
|
-
(click)="onConfirm()"
|
|
79813
|
-
[disabled]="form.invalid"
|
|
79814
|
-
|
|
79815
|
-
<span class="body-1-semibold">{{ 'Proceed' | translate }}</span
|
|
79816
|
-
</button
|
|
79817
|
-
</div
|
|
79818
|
-
</div
|
|
79804
|
+
], template: `<div class="terms-and-conditions">
|
|
79805
|
+
<div class="terms-and-conditions-content">
|
|
79806
|
+
<expandable-card class="terms-and-conditions-card" title="Terms and Conditions">
|
|
79807
|
+
|
|
79808
|
+
<div class="terms-and-conditions-card-content">
|
|
79809
|
+
<div class="terms-and-conditions-text-wrapper">
|
|
79810
|
+
<div class="terms-and-conditions-text">
|
|
79811
|
+
<span class="body-1-regular">{{ 'TERMS.intro' | translate }}</span>
|
|
79812
|
+
<span class="body-1-regular">{{ 'TERMS.agreement_mandatory' | translate }}</span>
|
|
79813
|
+
<span class="body-1-regular">{{ 'TERMS.clause_i' | translate }}</span>
|
|
79814
|
+
<span class="body-1-regular">{{ 'TERMS.clause_ii' | translate }}</span>
|
|
79815
|
+
<span class="body-1-regular">{{ 'TERMS.authority' | translate }}</span>
|
|
79816
|
+
<span class="body-1-regular">{{ 'TERMS.bound' | translate }}</span>
|
|
79817
|
+
<span class="body-1-regular">{{ 'TERMS.section_1' | translate }}</span>
|
|
79818
|
+
<span class="body-1-regular">{{ 'TERMS.section_2' | translate }}</span>
|
|
79819
|
+
<span class="body-1-regular">{{ 'TERMS.section_3' | translate }}</span>
|
|
79820
|
+
<span class="body-1-regular">{{ 'TERMS.section_4' | translate }}</span>
|
|
79821
|
+
<span class="body-1-regular">{{ 'TERMS.section_5' | translate }}</span>
|
|
79822
|
+
<span class="body-1-regular">{{ 'TERMS.section_6' | translate }}</span>
|
|
79823
|
+
<span class="body-1-regular">{{ 'TERMS.section_7' | translate }}</span>
|
|
79824
|
+
<span class="body-1-regular">{{ 'TERMS.section_8' | translate }}</span>
|
|
79825
|
+
<span class="body-1-regular">{{ 'TERMS.section_9' | translate }}</span>
|
|
79826
|
+
<span class="body-1-regular">{{ 'TERMS.section_10' | translate }}</span>
|
|
79827
|
+
<span class="body-1-regular">{{ 'TERMS.section_11' | translate }}</span>
|
|
79828
|
+
<span class="body-1-regular">{{ 'TERMS.section_12' | translate }}</span>
|
|
79829
|
+
<span class="body-1-regular">{{ 'TERMS.section_13' | translate }}</span>
|
|
79830
|
+
<span class="body-1-regular">{{ 'TERMS.section_14' | translate }}</span>
|
|
79831
|
+
<span class="body-1-regular">{{ 'TERMS.section_15' | translate }}</span>
|
|
79832
|
+
<span class="body-1-regular">{{ 'TERMS.section_16' | translate }}</span>
|
|
79833
|
+
<span class="body-1-regular">{{ 'TERMS.section_17' | translate }}</span>
|
|
79834
|
+
</div>
|
|
79835
|
+
</div>
|
|
79836
|
+
|
|
79837
|
+
<mat-checkbox [formControl]="getFormControl(termsAndConditionsControls.AcceptTerms)">
|
|
79838
|
+
<div class="body-1-regular black">
|
|
79839
|
+
<span>{{ 'I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them' | translate }}</span>
|
|
79840
|
+
</div>
|
|
79841
|
+
</mat-checkbox>
|
|
79842
|
+
</div>
|
|
79843
|
+
|
|
79844
|
+
</expandable-card>
|
|
79845
|
+
|
|
79846
|
+
<expandable-card title="Signatory">
|
|
79847
|
+
<filing-form-group [isSubmitted]="true" [form]="form" [config]="termsAndConditionsFields"/>
|
|
79848
|
+
</expandable-card>
|
|
79849
|
+
</div>
|
|
79850
|
+
|
|
79851
|
+
<div class="terms-and-conditions-form-actions">
|
|
79852
|
+
<button mat-stroked-button mat-button (click)="close.emit()">
|
|
79853
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
79854
|
+
</button>
|
|
79855
|
+
|
|
79856
|
+
<button mat-stroked-button mat-button (click)="prev.emit()"><span class="body-1-semibold">{{ 'Back' | translate }}</span></button>
|
|
79857
|
+
|
|
79858
|
+
<button
|
|
79859
|
+
mat-flat-button
|
|
79860
|
+
type="submit"
|
|
79861
|
+
(click)="onConfirm()"
|
|
79862
|
+
[disabled]="form.invalid"
|
|
79863
|
+
>
|
|
79864
|
+
<span class="body-1-semibold">{{ 'Proceed' | translate }}</span>
|
|
79865
|
+
</button>
|
|
79866
|
+
</div>
|
|
79867
|
+
</div>
|
|
79819
79868
|
`, styles: ["/* src/app/components/terms-and-conditions/terms-and-conditions.component.scss */\n:host .terms-and-conditions {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-form-field-filled-with-label-container-padding-top: 12px;\n --mat-form-field-filled-with-label-container-padding-bottom: 2px;\n --mat-form-field-container-height: 36px;\n --mdc-filled-text-field-container-color: transparent;\n height: 100%;\n color: #8c8e90;\n}\n:host .terms-and-conditions ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .terms-and-conditions-card-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: calc(100% - 25px);\n}\n:host .terms-and-conditions-text-wrapper {\n border: 1px solid #A1B5C7;\n border-radius: 8px;\n overflow: hidden;\n}\n:host .terms-and-conditions-text {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n overflow: auto;\n max-height: 420px;\n padding: 8px;\n color: var(--filing-modal-color-grey);\n}\n:host .terms-and-conditions-form {\n height: 100%;\n padding-top: 16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n:host .terms-and-conditions-form-title {\n color: black;\n margin: 0;\n}\n:host .terms-and-conditions-form-input {\n width: 100%;\n}\n:host .terms-and-conditions-form-input::ng-deep .mdc-text-field,\n:host .terms-and-conditions-form-input::ng-deep .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .terms-and-conditions-form-container {\n display: flex;\n gap: 16px;\n}\n:host .terms-and-conditions-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .terms-and-conditions-form-actions button {\n margin: 0;\n}\n:host .terms-and-conditions-content {\n height: calc(100% - 67px);\n overflow: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n/*# sourceMappingURL=terms-and-conditions.component.css.map */\n"] }]
|
|
79820
79869
|
}], null, null);
|
|
79821
79870
|
})();
|
|
@@ -80095,83 +80144,83 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80095
80144
|
animate("100ms cubic-bezier(0.4, 0.0, 0.2, 1)")
|
|
80096
80145
|
])
|
|
80097
80146
|
])
|
|
80098
|
-
], template: `<div class="expandable-card"
|
|
80099
|
-
<div
|
|
80100
|
-
[class.expanded]="isExpanded()"
|
|
80101
|
-
(click)="toggle()"
|
|
80102
|
-
class="expandable-card-header"
|
|
80103
|
-
|
|
80104
|
-
<h2 class="expandable-card-header-title">{{ title() | translate }}</h2
|
|
80105
|
-
|
|
80106
|
-
<div class="expandable-card-header-container"
|
|
80107
|
-
@if (isStatusIcon()) {
|
|
80108
|
-
@if (!isValid()) {
|
|
80109
|
-
<mat-icon class="expandable-card-header-status-icon"
|
|
80110
|
-
error_outline
|
|
80111
|
-
</mat-icon
|
|
80112
|
-
}
|
|
80113
|
-
}
|
|
80114
|
-
|
|
80115
|
-
<mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon
|
|
80116
|
-
</div
|
|
80117
|
-
</div
|
|
80118
|
-
|
|
80119
|
-
<div class="expandable-card-content" [@expandCollapse]="isExpanded()"
|
|
80120
|
-
<ng-content select="[slot='header-content']"></ng-content
|
|
80121
|
-
<div class="expandable-card-actions"
|
|
80122
|
-
<div
|
|
80123
|
-
<ng-content select="[slot='subtitle']"></ng-content
|
|
80124
|
-
</div
|
|
80125
|
-
|
|
80126
|
-
@if (controlsCount() !== 0) {
|
|
80127
|
-
<div class="expandable-card-actions-items"
|
|
80128
|
-
<h3 class="expandable-card-actions-item" (click)="expandAll()"
|
|
80129
|
-
{{ "Expand all" | translate }}
|
|
80130
|
-
</h3
|
|
80131
|
-
<h3 class="expandable-card-actions-separator">|</h3
|
|
80132
|
-
<h3 class="expandable-card-actions-item" (click)="collapseAll()"
|
|
80133
|
-
{{ "Collapse all" | translate }}
|
|
80134
|
-
</h3
|
|
80135
|
-
</div
|
|
80136
|
-
}
|
|
80137
|
-
</div
|
|
80138
|
-
|
|
80139
|
-
@for (formGroup of formArray().controls; let i = $index; track formGroup) {
|
|
80140
|
-
<div class="expandable-card-separator"
|
|
80141
|
-
<div class="expandable-card-separator-line"></div
|
|
80142
|
-
</div
|
|
80143
|
-
|
|
80144
|
-
<expandable-card
|
|
80145
|
-
[isListItem]="true"
|
|
80146
|
-
[title]="getFormGroup(i).get(labelKey())?.value"
|
|
80147
|
-
[role]="getFormGroup(i).get(roleKey())?.value"
|
|
80148
|
-
[isStatusIcon]="isStatusIcon()"
|
|
80149
|
-
[isValid]="getFormGroupValid(i)"
|
|
80150
|
-
[isOpen]="isItemExpanded(i)"
|
|
80151
|
-
[border]="false"
|
|
80152
|
-
[padded]="false"
|
|
80153
|
-
[chipType]="
|
|
80154
|
-
affiliationTypeToChipType(
|
|
80155
|
-
formGroup.get(controls.AffiliationType)?.value
|
|
80156
|
-
)
|
|
80157
|
-
"
|
|
80158
|
-
[removable]="removable()"
|
|
80159
|
-
(toggled)="toggleItem(i)"
|
|
80160
|
-
(remove)="remove.emit(i)"
|
|
80161
|
-
|
|
80162
|
-
@let form = getFormGroup(i)
|
|
80163
|
-
@let configValue
|
|
80164
|
-
fields() ?? config()?.[form.get(configKey())?.value] ?? []
|
|
80165
|
-
<filing-form-group
|
|
80166
|
-
[prevData]="prevData()"
|
|
80167
|
-
[isSubmitted]="isSubmitted()"
|
|
80168
|
-
[form]="form"
|
|
80169
|
-
[config]="configValue"
|
|
80170
|
-
|
|
80171
|
-
</expandable-card
|
|
80172
|
-
}
|
|
80173
|
-
</div
|
|
80174
|
-
</div
|
|
80147
|
+
], template: `<div class="expandable-card">
|
|
80148
|
+
<div
|
|
80149
|
+
[class.expanded]="isExpanded()"
|
|
80150
|
+
(click)="toggle()"
|
|
80151
|
+
class="expandable-card-header"
|
|
80152
|
+
>
|
|
80153
|
+
<h2 class="expandable-card-header-title">{{ title() | translate }}</h2>
|
|
80154
|
+
|
|
80155
|
+
<div class="expandable-card-header-container">
|
|
80156
|
+
@if (isStatusIcon()) {
|
|
80157
|
+
@if (!isValid()) {
|
|
80158
|
+
<mat-icon class="expandable-card-header-status-icon">
|
|
80159
|
+
error_outline
|
|
80160
|
+
</mat-icon>
|
|
80161
|
+
}
|
|
80162
|
+
}
|
|
80163
|
+
|
|
80164
|
+
<mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>
|
|
80165
|
+
</div>
|
|
80166
|
+
</div>
|
|
80167
|
+
|
|
80168
|
+
<div class="expandable-card-content" [@expandCollapse]="isExpanded()">
|
|
80169
|
+
<ng-content select="[slot='header-content']"></ng-content>
|
|
80170
|
+
<div class="expandable-card-actions">
|
|
80171
|
+
<div>
|
|
80172
|
+
<ng-content select="[slot='subtitle']"></ng-content>
|
|
80173
|
+
</div>
|
|
80174
|
+
|
|
80175
|
+
@if (controlsCount() !== 0) {
|
|
80176
|
+
<div class="expandable-card-actions-items">
|
|
80177
|
+
<h3 class="expandable-card-actions-item" (click)="expandAll()">
|
|
80178
|
+
{{ "Expand all" | translate }}
|
|
80179
|
+
</h3>
|
|
80180
|
+
<h3 class="expandable-card-actions-separator">|</h3>
|
|
80181
|
+
<h3 class="expandable-card-actions-item" (click)="collapseAll()">
|
|
80182
|
+
{{ "Collapse all" | translate }}
|
|
80183
|
+
</h3>
|
|
80184
|
+
</div>
|
|
80185
|
+
}
|
|
80186
|
+
</div>
|
|
80187
|
+
|
|
80188
|
+
@for (formGroup of formArray().controls; let i = $index; track formGroup) {
|
|
80189
|
+
<div class="expandable-card-separator">
|
|
80190
|
+
<div class="expandable-card-separator-line"></div>
|
|
80191
|
+
</div>
|
|
80192
|
+
|
|
80193
|
+
<expandable-card
|
|
80194
|
+
[isListItem]="true"
|
|
80195
|
+
[title]="getFormGroup(i).get(labelKey())?.value"
|
|
80196
|
+
[role]="getFormGroup(i).get(roleKey())?.value"
|
|
80197
|
+
[isStatusIcon]="isStatusIcon()"
|
|
80198
|
+
[isValid]="getFormGroupValid(i)"
|
|
80199
|
+
[isOpen]="isItemExpanded(i)"
|
|
80200
|
+
[border]="false"
|
|
80201
|
+
[padded]="false"
|
|
80202
|
+
[chipType]="
|
|
80203
|
+
affiliationTypeToChipType(
|
|
80204
|
+
formGroup.get(controls.AffiliationType)?.value
|
|
80205
|
+
)
|
|
80206
|
+
"
|
|
80207
|
+
[removable]="removable()"
|
|
80208
|
+
(toggled)="toggleItem(i)"
|
|
80209
|
+
(remove)="remove.emit(i)"
|
|
80210
|
+
>
|
|
80211
|
+
@let form = getFormGroup(i);
|
|
80212
|
+
@let configValue =
|
|
80213
|
+
fields() ?? config()?.[form.get(configKey())?.value] ?? [];
|
|
80214
|
+
<filing-form-group
|
|
80215
|
+
[prevData]="prevData()"
|
|
80216
|
+
[isSubmitted]="isSubmitted()"
|
|
80217
|
+
[form]="form"
|
|
80218
|
+
[config]="configValue"
|
|
80219
|
+
/>
|
|
80220
|
+
</expandable-card>
|
|
80221
|
+
}
|
|
80222
|
+
</div>
|
|
80223
|
+
</div>
|
|
80175
80224
|
`, styles: ["/* src/app/components/expandable-list-card/expandable-list-card.component.scss */\n:host .expandable-card {\n padding: 16px 0;\n box-shadow:\n 0 1px 2px rgba(0, 0, 0, 0.08),\n 0 2px 4px rgba(0, 0, 0, 0.12),\n 0 0 0 1px rgba(0, 0, 0, 0.04);\n border-radius: 8px;\n margin: 1px;\n}\n:host .expandable-card-header {\n padding: 0 16px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n transition: padding-bottom ease-in-out 250ms;\n}\n:host .expandable-card-header.expanded {\n padding-bottom: 16px;\n}\n:host .expandable-card-header-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n:host .expandable-card-header-title {\n color: #666666;\n font-weight: 700;\n font-size: 14px;\n}\n:host .expandable-card-header-container {\n display: flex;\n align-items: center;\n gap: 16px;\n}\n:host .expandable-card-header-status-icon {\n font-weight: 400;\n color: #F1D01E;\n font-size: 22px;\n height: 22px;\n width: 22px;\n}\n:host .expandable-card-header-status-icon.added {\n color: #44aa00;\n}\n:host .expandable-card-header mat-icon:not(.expandable-card-header-status-icon) {\n display: flex;\n align-items: center;\n justify-content: center;\n transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1);\n transform: rotate(-90deg);\n}\n:host .expandable-card-header mat-icon:not(.expandable-card-header-status-icon).rotated {\n transform: rotate(90deg);\n}\n:host .expandable-card-actions {\n padding: 0 16px 0 16px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .expandable-card-actions-items {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 14px;\n}\n:host .expandable-card-actions-separator {\n padding: 0 2px;\n color: var(--filing-modal-color-grey);\n font-size: 14px;\n}\n:host .expandable-card-actions-item {\n color: var(--filing-modal-color-light-blue);\n cursor: pointer;\n font-size: 14px;\n}\n:host .expandable-card-actions-item:hover {\n text-decoration: underline;\n}\n:host .expandable-card expandable-card {\n display: block;\n padding: 0 16px;\n}\n:host .expandable-card-separator {\n width: 100%;\n padding: 18px 16px;\n}\n:host .expandable-card-separator-line {\n background-color: var(--filing-modal-color-grey-mid);\n height: 1px;\n width: 100%;\n}\n/*# sourceMappingURL=expandable-list-card.component.css.map */\n"] }]
|
|
80176
80225
|
}], () => [], null);
|
|
80177
80226
|
})();
|
|
@@ -80290,7 +80339,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80290
80339
|
(() => {
|
|
80291
80340
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AlertComponent, [{
|
|
80292
80341
|
type: Component,
|
|
80293
|
-
args: [{ selector: "alert", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconModule, TranslatePipe], template: '<div class="alert {{type()}}">\
|
|
80342
|
+
args: [{ selector: "alert", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconModule, TranslatePipe], template: '<div class="alert {{type()}}">\n @switch (type()) {\n @case (alertType.Warning) {\n <mat-icon class="alert-icon">warning</mat-icon>\n\n }\n @case (alertType.Info) {\n <mat-icon class="alert-icon">info_outlined</mat-icon>\n }\n }\n <div class="alert-text">\n <span class="alert-text-title">{{title() | translate}}</span>\n\n @if (isArray()) {\n <ul class="alert-options">\n @for(option of content(); track option) {\n <li>{{option}}</li>\n }\n </ul>\n }@else {\n <span>{{$any(content()) | translate}}</span>\n }\n </div>\n\n</div>\n', styles: ["/* src/app/components/alert/alert.component.scss */\n:host .alert {\n display: flex;\n align-items: center;\n padding: 12px 10px;\n border-radius: 12px;\n gap: 8px;\n border: 1px solid var(--filing-modal-color-grey);\n}\n:host .alert.warning {\n border: 1px solid #F1D01E;\n}\n:host .alert.warning .alert-icon {\n color: #F1D01E;\n font-size: 20px;\n}\n:host .alert-text {\n display: flex;\n flex-direction: column;\n gap: 12px;\n color: var(--filing-modal-color-grey);\n font-size: 14px;\n}\n:host .alert-text-title {\n font-weight: 600;\n}\n:host .alert-options {\n margin: 0;\n padding: 0 24px;\n}\n/*# sourceMappingURL=alert.component.css.map */\n"] }]
|
|
80294
80343
|
}], null, null);
|
|
80295
80344
|
})();
|
|
80296
80345
|
(() => {
|
|
@@ -80668,183 +80717,183 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80668
80717
|
ExpandableListCardComponent,
|
|
80669
80718
|
AlertComponent,
|
|
80670
80719
|
TranslatePipe
|
|
80671
|
-
], template: `<div class="incorporation-form"
|
|
80672
|
-
@if (isNote()) {
|
|
80673
|
-
<alert
|
|
80674
|
-
[type]="alertType.Info"
|
|
80675
|
-
title="Entity changed"
|
|
80676
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
80677
|
-
|
|
80678
|
-
}
|
|
80679
|
-
|
|
80680
|
-
@if (errors().length) {
|
|
80681
|
-
<alert
|
|
80682
|
-
title="The following issues need to be resolved before proceeding:"
|
|
80683
|
-
[content]="errors()"
|
|
80684
|
-
|
|
80685
|
-
}
|
|
80686
|
-
|
|
80687
|
-
<div class="incorporation-form-content"
|
|
80688
|
-
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers)
|
|
80689
|
-
|
|
80690
|
-
@if (referenceNumbers) {
|
|
80691
|
-
<expandable-card [title]="groups.ReferenceNumbers"
|
|
80692
|
-
<div class="incorporation-form-item"
|
|
80693
|
-
<filing-form-group
|
|
80694
|
-
[isSubmitted]="isSubmitted()"
|
|
80695
|
-
[form]="referenceNumbers"
|
|
80696
|
-
[config]="referenceNumbersFields"
|
|
80697
|
-
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
|
|
80698
|
-
|
|
80699
|
-
</div
|
|
80700
|
-
</expandable-card
|
|
80701
|
-
}
|
|
80702
|
-
|
|
80703
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails)
|
|
80704
|
-
|
|
80705
|
-
@if (corporationDetails) {
|
|
80706
|
-
<expandable-card
|
|
80707
|
-
[isValid]="sectionValidity['corpDetails']"
|
|
80708
|
-
[isStatusIcon]="statusIcon()"
|
|
80709
|
-
[title]="groups.CorporationDetails"
|
|
80710
|
-
|
|
80711
|
-
<div class="incorporation-form-item"
|
|
80712
|
-
<filing-form-group
|
|
80713
|
-
[isSubmitted]="isSubmitted()"
|
|
80714
|
-
[form]="corporationDetails"
|
|
80715
|
-
[config]="corporationDetailsCardFields"
|
|
80716
|
-
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"
|
|
80717
|
-
|
|
80718
|
-
</div
|
|
80719
|
-
</expandable-card
|
|
80720
|
-
}
|
|
80721
|
-
|
|
80722
|
-
@if (isLegalOpinion) {
|
|
80723
|
-
@let legalOpinion = getFormGroup(groups.LegalOpinion)
|
|
80724
|
-
|
|
80725
|
-
@if (legalOpinion) {
|
|
80726
|
-
<expandable-card
|
|
80727
|
-
[isValid]="
|
|
80728
|
-
sectionValidity['legalOpinionLawyer']
|
|
80729
|
-
sectionValidity['legalOpinionAddress']
|
|
80730
|
-
"
|
|
80731
|
-
[isStatusIcon]="statusIcon()"
|
|
80732
|
-
[title]="groups.LegalOpinion"
|
|
80733
|
-
|
|
80734
|
-
<filing-form-group
|
|
80735
|
-
[isSubmitted]="isSubmitted()"
|
|
80736
|
-
[form]="legalOpinion"
|
|
80737
|
-
[config]="legalOpinionLawyerFields()"
|
|
80738
|
-
(visiblyValidChange)="
|
|
80739
|
-
onSectionValidChange('legalOpinionLawyer', $event)
|
|
80740
|
-
"
|
|
80741
|
-
|
|
80742
|
-
|
|
80743
|
-
@if (legalOpinion.get(controls.LawyerSigningOpinion)?.value) {
|
|
80744
|
-
<filing-form-group
|
|
80745
|
-
[isSubmitted]="isSubmitted()"
|
|
80746
|
-
[form]="legalOpinion"
|
|
80747
|
-
[config]="legalOpinionConfirmAddressFieldsMap[legalOpinion.get(controls.AffiliationAddressType)?.value]"
|
|
80748
|
-
(visiblyValidChange)="
|
|
80749
|
-
onSectionValidChange('legalOpinionAddress', $event)
|
|
80750
|
-
"
|
|
80751
|
-
|
|
80752
|
-
}
|
|
80753
|
-
|
|
80754
|
-
</expandable-card
|
|
80755
|
-
}
|
|
80756
|
-
}
|
|
80757
|
-
|
|
80758
|
-
@let registeredOfficeForm = getFormGroup(groups.RegisteredOfficeAddress)
|
|
80759
|
-
|
|
80760
|
-
@if (registeredOfficeForm) {
|
|
80761
|
-
<expandable-card
|
|
80762
|
-
[isValid]="sectionValidity['registeredOffice']"
|
|
80763
|
-
[isStatusIcon]="statusIcon()"
|
|
80764
|
-
[title]="groups.RegisteredOfficeAddress"
|
|
80765
|
-
|
|
80766
|
-
<filing-form-group
|
|
80767
|
-
[isSubmitted]="isSubmitted()"
|
|
80768
|
-
[form]="registeredOfficeForm"
|
|
80769
|
-
[config]="
|
|
80770
|
-
affiliationCardFieldsMap[
|
|
80771
|
-
registeredOfficeForm.get(
|
|
80772
|
-
formationFormControls.AffiliationAddressType
|
|
80773
|
-
)?.value
|
|
80774
|
-
]
|
|
80775
|
-
"
|
|
80776
|
-
(visiblyValidChange)="
|
|
80777
|
-
onSectionValidChange('registeredOffice', $event)
|
|
80778
|
-
"
|
|
80779
|
-
|
|
80780
|
-
</expandable-card
|
|
80781
|
-
}
|
|
80782
|
-
|
|
80783
|
-
@let incorporatorsArray = getFormArray(groups.Incorporators)
|
|
80784
|
-
@let directorsArray = getFormArray(groups.Directors)
|
|
80785
|
-
|
|
80786
|
-
@let isOpenDirectors
|
|
80787
|
-
(directorsArray?.length ?? 0) <= initiallyOpenCardsCount
|
|
80788
|
-
@if (directorsArray && directorsArray.length) {
|
|
80789
|
-
<expandable-list-card
|
|
80790
|
-
[isValid]="sectionValidity['directors']"
|
|
80791
|
-
[areItemsOpen]="isOpenDirectors"
|
|
80792
|
-
[isStatusIcon]="statusIcon()"
|
|
80793
|
-
[config]="directorsCardFieldsMap"
|
|
80794
|
-
[configKey]="controls.AffiliationAddressType"
|
|
80795
|
-
[formArray]="directorsArray"
|
|
80796
|
-
[title]="groups.Directors"
|
|
80797
|
-
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
80798
|
-
|
|
80799
|
-
<p
|
|
80800
|
-
slot="subtitle"
|
|
80801
|
-
class="body-1-regular black"
|
|
80802
|
-
[innerHTML]="directorsSubtitle()"
|
|
80803
|
-
></p
|
|
80804
|
-
</expandable-list-card
|
|
80805
|
-
} @else {
|
|
80806
|
-
<expandable-card [title]="groups.Directors"
|
|
80807
|
-
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2
|
|
80808
|
-
</expandable-card
|
|
80809
|
-
}
|
|
80810
|
-
|
|
80811
|
-
@let sharesAndProvisions = getFormGroup(groups.SharesAndProvisions)
|
|
80812
|
-
|
|
80813
|
-
@if (sharesAndProvisions) {
|
|
80814
|
-
<expandable-card
|
|
80815
|
-
[isStatusIcon]="false"
|
|
80816
|
-
[title]="groups.SharesAndProvisions"
|
|
80817
|
-
|
|
80818
|
-
<filing-form-group
|
|
80819
|
-
[isSubmitted]="isSubmitted()"
|
|
80820
|
-
[form]="sharesAndProvisions"
|
|
80821
|
-
[config]="sharesAndProvincesFields"
|
|
80822
|
-
|
|
80823
|
-
</expandable-card
|
|
80824
|
-
}
|
|
80825
|
-
|
|
80826
|
-
@let isOpenIncorporators
|
|
80827
|
-
(incorporatorsArray?.length ?? 0) <= initiallyOpenCardsCount
|
|
80828
|
-
|
|
80829
|
-
@if (incorporatorsArray && incorporatorsArray.length) {
|
|
80830
|
-
<expandable-list-card
|
|
80831
|
-
[isValid]="sectionValidity['incorporators']"
|
|
80832
|
-
[areItemsOpen]="isOpenIncorporators"
|
|
80833
|
-
[isStatusIcon]="statusIcon()"
|
|
80834
|
-
[config]="incorporatorsCardFieldsMap"
|
|
80835
|
-
[configKey]="controls.AffiliationAddressType"
|
|
80836
|
-
[formArray]="incorporatorsArray"
|
|
80837
|
-
[isSubmitted]="isSubmitted()"
|
|
80838
|
-
[title]="groups.Incorporators"
|
|
80839
|
-
(visiblyValidChange)="onSectionValidChange('incorporators', $event)"
|
|
80840
|
-
|
|
80841
|
-
} @else {
|
|
80842
|
-
<expandable-card [title]="groups.Incorporators"
|
|
80843
|
-
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2
|
|
80844
|
-
</expandable-card
|
|
80845
|
-
}
|
|
80846
|
-
</div
|
|
80847
|
-
</div
|
|
80720
|
+
], template: `<div class="incorporation-form">
|
|
80721
|
+
@if (isNote()) {
|
|
80722
|
+
<alert
|
|
80723
|
+
[type]="alertType.Info"
|
|
80724
|
+
title="Entity changed"
|
|
80725
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
80726
|
+
/>
|
|
80727
|
+
}
|
|
80728
|
+
|
|
80729
|
+
@if (errors().length) {
|
|
80730
|
+
<alert
|
|
80731
|
+
title="The following issues need to be resolved before proceeding:"
|
|
80732
|
+
[content]="errors()"
|
|
80733
|
+
/>
|
|
80734
|
+
}
|
|
80735
|
+
|
|
80736
|
+
<div class="incorporation-form-content">
|
|
80737
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);
|
|
80738
|
+
|
|
80739
|
+
@if (referenceNumbers) {
|
|
80740
|
+
<expandable-card [title]="groups.ReferenceNumbers">
|
|
80741
|
+
<div class="incorporation-form-item">
|
|
80742
|
+
<filing-form-group
|
|
80743
|
+
[isSubmitted]="isSubmitted()"
|
|
80744
|
+
[form]="referenceNumbers"
|
|
80745
|
+
[config]="referenceNumbersFields"
|
|
80746
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
|
|
80747
|
+
/>
|
|
80748
|
+
</div>
|
|
80749
|
+
</expandable-card>
|
|
80750
|
+
}
|
|
80751
|
+
|
|
80752
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);
|
|
80753
|
+
|
|
80754
|
+
@if (corporationDetails) {
|
|
80755
|
+
<expandable-card
|
|
80756
|
+
[isValid]="sectionValidity['corpDetails']"
|
|
80757
|
+
[isStatusIcon]="statusIcon()"
|
|
80758
|
+
[title]="groups.CorporationDetails"
|
|
80759
|
+
>
|
|
80760
|
+
<div class="incorporation-form-item">
|
|
80761
|
+
<filing-form-group
|
|
80762
|
+
[isSubmitted]="isSubmitted()"
|
|
80763
|
+
[form]="corporationDetails"
|
|
80764
|
+
[config]="corporationDetailsCardFields"
|
|
80765
|
+
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"
|
|
80766
|
+
/>
|
|
80767
|
+
</div>
|
|
80768
|
+
</expandable-card>
|
|
80769
|
+
}
|
|
80770
|
+
|
|
80771
|
+
@if (isLegalOpinion) {
|
|
80772
|
+
@let legalOpinion = getFormGroup(groups.LegalOpinion);
|
|
80773
|
+
|
|
80774
|
+
@if (legalOpinion) {
|
|
80775
|
+
<expandable-card
|
|
80776
|
+
[isValid]="
|
|
80777
|
+
sectionValidity['legalOpinionLawyer'] &&
|
|
80778
|
+
sectionValidity['legalOpinionAddress']
|
|
80779
|
+
"
|
|
80780
|
+
[isStatusIcon]="statusIcon()"
|
|
80781
|
+
[title]="groups.LegalOpinion"
|
|
80782
|
+
>
|
|
80783
|
+
<filing-form-group
|
|
80784
|
+
[isSubmitted]="isSubmitted()"
|
|
80785
|
+
[form]="legalOpinion"
|
|
80786
|
+
[config]="legalOpinionLawyerFields()"
|
|
80787
|
+
(visiblyValidChange)="
|
|
80788
|
+
onSectionValidChange('legalOpinionLawyer', $event)
|
|
80789
|
+
"
|
|
80790
|
+
/>
|
|
80791
|
+
|
|
80792
|
+
@if (legalOpinion.get(controls.LawyerSigningOpinion)?.value) {
|
|
80793
|
+
<filing-form-group
|
|
80794
|
+
[isSubmitted]="isSubmitted()"
|
|
80795
|
+
[form]="legalOpinion"
|
|
80796
|
+
[config]="legalOpinionConfirmAddressFieldsMap[legalOpinion.get(controls.AffiliationAddressType)?.value]"
|
|
80797
|
+
(visiblyValidChange)="
|
|
80798
|
+
onSectionValidChange('legalOpinionAddress', $event)
|
|
80799
|
+
"
|
|
80800
|
+
/>
|
|
80801
|
+
}
|
|
80802
|
+
|
|
80803
|
+
</expandable-card>
|
|
80804
|
+
}
|
|
80805
|
+
}
|
|
80806
|
+
|
|
80807
|
+
@let registeredOfficeForm = getFormGroup(groups.RegisteredOfficeAddress);
|
|
80808
|
+
|
|
80809
|
+
@if (registeredOfficeForm) {
|
|
80810
|
+
<expandable-card
|
|
80811
|
+
[isValid]="sectionValidity['registeredOffice']"
|
|
80812
|
+
[isStatusIcon]="statusIcon()"
|
|
80813
|
+
[title]="groups.RegisteredOfficeAddress"
|
|
80814
|
+
>
|
|
80815
|
+
<filing-form-group
|
|
80816
|
+
[isSubmitted]="isSubmitted()"
|
|
80817
|
+
[form]="registeredOfficeForm"
|
|
80818
|
+
[config]="
|
|
80819
|
+
affiliationCardFieldsMap[
|
|
80820
|
+
registeredOfficeForm.get(
|
|
80821
|
+
formationFormControls.AffiliationAddressType
|
|
80822
|
+
)?.value
|
|
80823
|
+
]
|
|
80824
|
+
"
|
|
80825
|
+
(visiblyValidChange)="
|
|
80826
|
+
onSectionValidChange('registeredOffice', $event)
|
|
80827
|
+
"
|
|
80828
|
+
/>
|
|
80829
|
+
</expandable-card>
|
|
80830
|
+
}
|
|
80831
|
+
|
|
80832
|
+
@let incorporatorsArray = getFormArray(groups.Incorporators);
|
|
80833
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
80834
|
+
|
|
80835
|
+
@let isOpenDirectors =
|
|
80836
|
+
(directorsArray?.length ?? 0) <= initiallyOpenCardsCount;
|
|
80837
|
+
@if (directorsArray && directorsArray.length) {
|
|
80838
|
+
<expandable-list-card
|
|
80839
|
+
[isValid]="sectionValidity['directors']"
|
|
80840
|
+
[areItemsOpen]="isOpenDirectors"
|
|
80841
|
+
[isStatusIcon]="statusIcon()"
|
|
80842
|
+
[config]="directorsCardFieldsMap"
|
|
80843
|
+
[configKey]="controls.AffiliationAddressType"
|
|
80844
|
+
[formArray]="directorsArray"
|
|
80845
|
+
[title]="groups.Directors"
|
|
80846
|
+
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
80847
|
+
>
|
|
80848
|
+
<p
|
|
80849
|
+
slot="subtitle"
|
|
80850
|
+
class="body-1-regular black"
|
|
80851
|
+
[innerHTML]="directorsSubtitle()"
|
|
80852
|
+
></p>
|
|
80853
|
+
</expandable-list-card>
|
|
80854
|
+
} @else {
|
|
80855
|
+
<expandable-card [title]="groups.Directors">
|
|
80856
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
80857
|
+
</expandable-card>
|
|
80858
|
+
}
|
|
80859
|
+
|
|
80860
|
+
@let sharesAndProvisions = getFormGroup(groups.SharesAndProvisions);
|
|
80861
|
+
|
|
80862
|
+
@if (sharesAndProvisions) {
|
|
80863
|
+
<expandable-card
|
|
80864
|
+
[isStatusIcon]="false"
|
|
80865
|
+
[title]="groups.SharesAndProvisions"
|
|
80866
|
+
>
|
|
80867
|
+
<filing-form-group
|
|
80868
|
+
[isSubmitted]="isSubmitted()"
|
|
80869
|
+
[form]="sharesAndProvisions"
|
|
80870
|
+
[config]="sharesAndProvincesFields"
|
|
80871
|
+
/>
|
|
80872
|
+
</expandable-card>
|
|
80873
|
+
}
|
|
80874
|
+
|
|
80875
|
+
@let isOpenIncorporators =
|
|
80876
|
+
(incorporatorsArray?.length ?? 0) <= initiallyOpenCardsCount;
|
|
80877
|
+
|
|
80878
|
+
@if (incorporatorsArray && incorporatorsArray.length) {
|
|
80879
|
+
<expandable-list-card
|
|
80880
|
+
[isValid]="sectionValidity['incorporators']"
|
|
80881
|
+
[areItemsOpen]="isOpenIncorporators"
|
|
80882
|
+
[isStatusIcon]="statusIcon()"
|
|
80883
|
+
[config]="incorporatorsCardFieldsMap"
|
|
80884
|
+
[configKey]="controls.AffiliationAddressType"
|
|
80885
|
+
[formArray]="incorporatorsArray"
|
|
80886
|
+
[isSubmitted]="isSubmitted()"
|
|
80887
|
+
[title]="groups.Incorporators"
|
|
80888
|
+
(visiblyValidChange)="onSectionValidChange('incorporators', $event)"
|
|
80889
|
+
/>
|
|
80890
|
+
} @else {
|
|
80891
|
+
<expandable-card [title]="groups.Incorporators">
|
|
80892
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
80893
|
+
</expandable-card>
|
|
80894
|
+
}
|
|
80895
|
+
</div>
|
|
80896
|
+
</div>
|
|
80848
80897
|
`, styles: ["/* src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-form {\n display: flex;\n height: 100%;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow: auto;\n min-height: 0;\n}\n:host .incorporation-form-content-subtitle {\n color: var(--filing-modal-color-grey);\n padding-bottom: 8px;\n}\n:host .incorporation-form-subtitle {\n color: #666666;\n}\n:host .incorporation-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-item-title {\n color: var(--filing-modal-color-dark-blue);\n}\n/*# sourceMappingURL=ontario-incorporation-form.component.css.map */\n"] }]
|
|
80849
80898
|
}], () => [], null);
|
|
80850
80899
|
})();
|
|
@@ -80950,36 +80999,36 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80950
80999
|
(() => {
|
|
80951
81000
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(OntarioIncorporationDeltaFormComponent, [{
|
|
80952
81001
|
type: Component,
|
|
80953
|
-
args: [{ standalone: true, selector: "ontario-incorporation-delta-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, OntarioIncorporationFormComponent], template: `<div class="incorporation-delta-form"
|
|
80954
|
-
<ontario-incorporation-form
|
|
80955
|
-
class="incorporation-delta-form-content"
|
|
80956
|
-
[form]="form()"
|
|
80957
|
-
[task]="task()"
|
|
80958
|
-
[errors]="combinedErrors()"
|
|
80959
|
-
[isNote]="isNote()"
|
|
80960
|
-
[isSubmitted]="submitted()"
|
|
80961
|
-
[statusIcon]="true"
|
|
80962
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
80963
|
-
|
|
80964
|
-
|
|
80965
|
-
<div class="incorporation-delta-form-actions"
|
|
80966
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
80967
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
80968
|
-
</button
|
|
80969
|
-
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button
|
|
80970
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span
|
|
80971
|
-
</button
|
|
80972
|
-
<button
|
|
80973
|
-
class="submit"
|
|
80974
|
-
color="primary"
|
|
80975
|
-
mat-flat-button
|
|
80976
|
-
[disabled]="actionsDisabled()"
|
|
80977
|
-
(click)="onValidate()"
|
|
80978
|
-
|
|
80979
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span
|
|
80980
|
-
</button
|
|
80981
|
-
</div
|
|
80982
|
-
</div
|
|
81002
|
+
args: [{ standalone: true, selector: "ontario-incorporation-delta-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, OntarioIncorporationFormComponent], template: `<div class="incorporation-delta-form">
|
|
81003
|
+
<ontario-incorporation-form
|
|
81004
|
+
class="incorporation-delta-form-content"
|
|
81005
|
+
[form]="form()"
|
|
81006
|
+
[task]="task()"
|
|
81007
|
+
[errors]="combinedErrors()"
|
|
81008
|
+
[isNote]="isNote()"
|
|
81009
|
+
[isSubmitted]="submitted()"
|
|
81010
|
+
[statusIcon]="true"
|
|
81011
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
81012
|
+
/>
|
|
81013
|
+
|
|
81014
|
+
<div class="incorporation-delta-form-actions">
|
|
81015
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
81016
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
81017
|
+
</button>
|
|
81018
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
|
|
81019
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
|
|
81020
|
+
</button>
|
|
81021
|
+
<button
|
|
81022
|
+
class="submit"
|
|
81023
|
+
color="primary"
|
|
81024
|
+
mat-flat-button
|
|
81025
|
+
[disabled]="actionsDisabled()"
|
|
81026
|
+
(click)="onValidate()"
|
|
81027
|
+
>
|
|
81028
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
|
|
81029
|
+
</button>
|
|
81030
|
+
</div>
|
|
81031
|
+
</div>
|
|
80983
81032
|
`, styles: ["/* src/app/components/ontario/incorporation/steps/delta/ontario-incorporation-delta-form.component.scss */\n:host .incorporation-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .incorporation-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-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 .incorporation-delta-form-actions button {\n margin: 0;\n}\n:host .incorporation-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=ontario-incorporation-delta-form.component.css.map */\n"] }]
|
|
80984
81033
|
}], null, null);
|
|
80985
81034
|
})();
|
|
@@ -81056,29 +81105,29 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81056
81105
|
MatButton,
|
|
81057
81106
|
TranslatePipe,
|
|
81058
81107
|
OntarioIncorporationFormComponent
|
|
81059
|
-
], template: `<div class="incorporation-preview-form"
|
|
81060
|
-
<ontario-incorporation-form
|
|
81061
|
-
class="incorporation-preview-form-content"
|
|
81062
|
-
[form]="form()"
|
|
81063
|
-
[task]="task()"
|
|
81064
|
-
[statusIcon]="false"
|
|
81065
|
-
|
|
81066
|
-
|
|
81067
|
-
<div class="incorporation-preview-form-actions"
|
|
81068
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
81069
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
81070
|
-
</button
|
|
81071
|
-
<button
|
|
81072
|
-
class="submit"
|
|
81073
|
-
color="primary"
|
|
81074
|
-
mat-flat-button
|
|
81075
|
-
[disabled]="actionsDisabled()"
|
|
81076
|
-
(click)="next.emit()"
|
|
81077
|
-
|
|
81078
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span
|
|
81079
|
-
</button
|
|
81080
|
-
</div
|
|
81081
|
-
</div
|
|
81108
|
+
], template: `<div class="incorporation-preview-form">
|
|
81109
|
+
<ontario-incorporation-form
|
|
81110
|
+
class="incorporation-preview-form-content"
|
|
81111
|
+
[form]="form()"
|
|
81112
|
+
[task]="task()"
|
|
81113
|
+
[statusIcon]="false"
|
|
81114
|
+
/>
|
|
81115
|
+
|
|
81116
|
+
<div class="incorporation-preview-form-actions">
|
|
81117
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
81118
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
81119
|
+
</button>
|
|
81120
|
+
<button
|
|
81121
|
+
class="submit"
|
|
81122
|
+
color="primary"
|
|
81123
|
+
mat-flat-button
|
|
81124
|
+
[disabled]="actionsDisabled()"
|
|
81125
|
+
(click)="next.emit()"
|
|
81126
|
+
>
|
|
81127
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>
|
|
81128
|
+
</button>
|
|
81129
|
+
</div>
|
|
81130
|
+
</div>
|
|
81082
81131
|
`, styles: ["/* src/app/components/ontario/incorporation/steps/preview/ontario-incorporation-preview-form.component.scss */\n:host .incorporation-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .incorporation-preview-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .incorporation-preview-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-preview-form-errors {\n padding: 0 16px;\n}\n:host .incorporation-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 .incorporation-preview-form-actions button {\n margin: 0;\n}\n/*# sourceMappingURL=ontario-incorporation-preview-form.component.css.map */\n"] }]
|
|
81083
81132
|
}], null, null);
|
|
81084
81133
|
})();
|
|
@@ -81815,154 +81864,154 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81815
81864
|
ExpandableCardComponent,
|
|
81816
81865
|
ExpandableListCardComponent,
|
|
81817
81866
|
TranslatePipe
|
|
81818
|
-
], template: `<div class="ontario-update-maintain-form"
|
|
81819
|
-
@if (isNote()) {
|
|
81820
|
-
<alert
|
|
81821
|
-
[type]="alertType.Info"
|
|
81822
|
-
title="Entity changed"
|
|
81823
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
81824
|
-
|
|
81825
|
-
}
|
|
81826
|
-
|
|
81827
|
-
@if (errors().length) {
|
|
81828
|
-
<alert
|
|
81829
|
-
title="The following issues need to be resolved before proceeding:"
|
|
81830
|
-
[content]="errors()"
|
|
81831
|
-
|
|
81832
|
-
}
|
|
81833
|
-
|
|
81834
|
-
<div class="ontario-update-maintain-form-content"
|
|
81835
|
-
<!-- ===== GENERAL INFO =====
|
|
81836
|
-
@let generalInfoForm = getFormGroup(groups.General)
|
|
81837
|
-
@if (generalInfoForm) {
|
|
81838
|
-
<expandable-card
|
|
81839
|
-
[title]="groups.General"
|
|
81840
|
-
[isStatusIcon]="!readonly()"
|
|
81841
|
-
|
|
81842
|
-
<filing-form-group
|
|
81843
|
-
[isSubmitted]="isSubmitted()"
|
|
81844
|
-
[prevData]="prevData()?.corporationInfo"
|
|
81845
|
-
[form]="generalInfoForm"
|
|
81846
|
-
[config]="generalCardFields"
|
|
81847
|
-
[label]="groups.General"
|
|
81848
|
-
(visiblyValidChange)="onSectionValidChange('generalInfo', $event)"
|
|
81849
|
-
|
|
81850
|
-
</expandable-card
|
|
81851
|
-
}
|
|
81852
|
-
|
|
81853
|
-
<!-- =====REGISTERED OFFICE ADDRESS=====
|
|
81854
|
-
@let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress)
|
|
81855
|
-
@if (registeredOfficeAddress) {
|
|
81856
|
-
<expandable-card
|
|
81857
|
-
[isStatusIcon]="!readonly()"
|
|
81858
|
-
[isValid]="sectionValidity['registeredOffice']"
|
|
81859
|
-
[title]="groups.RegisteredOfficeAddress"
|
|
81860
|
-
|
|
81861
|
-
<filing-form-group
|
|
81862
|
-
[prevData]="prevData()?.corporationInfo"
|
|
81863
|
-
[isSubmitted]="isSubmitted()"
|
|
81864
|
-
[form]="registeredOfficeAddress"
|
|
81865
|
-
[config]="
|
|
81866
|
-
addressFieldsMap[
|
|
81867
|
-
registeredOfficeAddress.get(controls.AffiliationAddressType)
|
|
81868
|
-
?.value
|
|
81869
|
-
]
|
|
81870
|
-
"
|
|
81871
|
-
(visiblyValidChange)="
|
|
81872
|
-
onSectionValidChange('registeredOffice', $event)
|
|
81873
|
-
"
|
|
81874
|
-
|
|
81875
|
-
</expandable-card
|
|
81876
|
-
}
|
|
81877
|
-
|
|
81878
|
-
@let directorsArray = getFormArray(groups.Directors)
|
|
81879
|
-
@if (directorsArray && directorsArray.length) {
|
|
81880
|
-
@let isOpen
|
|
81881
|
-
(directorsArray?.length ?? 0) <= initiallyOpenCardsCount
|
|
81882
|
-
<expandable-list-card
|
|
81883
|
-
[prevData]="prevData()?.persons"
|
|
81884
|
-
[isSubmitted]="isSubmitted()"
|
|
81885
|
-
[isValid]="sectionValidity['directors']"
|
|
81886
|
-
[areItemsOpen]="isOpen"
|
|
81887
|
-
[isStatusIcon]="!readonly()"
|
|
81888
|
-
[config]="directorsFieldsMap"
|
|
81889
|
-
[configKey]="controls.AffiliationAddressType"
|
|
81890
|
-
[formArray]="directorsArray"
|
|
81891
|
-
[title]="groups.Directors"
|
|
81892
|
-
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
81893
|
-
|
|
81894
|
-
} @else {
|
|
81895
|
-
<expandable-card [title]="groups.Directors"
|
|
81896
|
-
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2
|
|
81897
|
-
</expandable-card
|
|
81898
|
-
}
|
|
81899
|
-
|
|
81900
|
-
@let officersArray = getFormArray(groups.Officers)
|
|
81901
|
-
|
|
81902
|
-
|
|
81903
|
-
@if (officersArray && officersArray.length) {
|
|
81904
|
-
@let isOpen
|
|
81905
|
-
(officersArray?.length ?? 0) <= initiallyOpenCardsCount
|
|
81906
|
-
|
|
81907
|
-
<expandable-list-card
|
|
81908
|
-
[prevData]="prevData()?.persons"
|
|
81909
|
-
[isSubmitted]="isSubmitted()"
|
|
81910
|
-
[areItemsOpen]="isOpen"
|
|
81911
|
-
[isStatusIcon]="!readonly()"
|
|
81912
|
-
[config]="officersFieldsMap"
|
|
81913
|
-
[configKey]="controls.AffiliationAddressType"
|
|
81914
|
-
[formArray]="officersArray"
|
|
81915
|
-
[title]="groups.Officers"
|
|
81916
|
-
[isValid]="sectionValidity['officers']"
|
|
81917
|
-
(visiblyValidChange)="onSectionValidChange('officers', $event)"
|
|
81918
|
-
|
|
81919
|
-
} @else {
|
|
81920
|
-
<expandable-card [title]="groups.Officers"
|
|
81921
|
-
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2
|
|
81922
|
-
</expandable-card
|
|
81923
|
-
}
|
|
81924
|
-
|
|
81925
|
-
@let certifiedBy = getFormGroup(groups.CertifiedBy)
|
|
81926
|
-
<expandable-card
|
|
81927
|
-
[isStatusIcon]="!readonly()"
|
|
81928
|
-
[isValid]="certifiedBy ? sectionValidity['certifiedBy'] : true"
|
|
81929
|
-
[title]="groups.CertifiedBy"
|
|
81930
|
-
|
|
81931
|
-
@if (certifiedBy) {
|
|
81932
|
-
<filing-form-group
|
|
81933
|
-
[prevData]="prevData()?.corporationInfo"
|
|
81934
|
-
[isSubmitted]="isSubmitted()"
|
|
81935
|
-
[form]="certifiedBy"
|
|
81936
|
-
[config]="
|
|
81937
|
-
certifiedByFieldsMap[
|
|
81938
|
-
certifiedBy.get(controls.AffiliationAddressType)?.value
|
|
81939
|
-
]
|
|
81940
|
-
"
|
|
81941
|
-
(visiblyValidChange)="onSectionValidChange('certifiedBy', $event)"
|
|
81942
|
-
|
|
81943
|
-
} @else {
|
|
81944
|
-
<h2 class="body-1-regular">{{ 'Not specified' | translate }}</h2
|
|
81945
|
-
}
|
|
81946
|
-
|
|
81947
|
-
</expandable-card
|
|
81948
|
-
|
|
81949
|
-
@let contact = getFormGroup(groups.Contact)
|
|
81950
|
-
@if (contact) {
|
|
81951
|
-
<expandable-card
|
|
81952
|
-
[isStatusIcon]="!readonly()"
|
|
81953
|
-
[isValid]="sectionValidity['contact']"
|
|
81954
|
-
[title]="groups.Contact"
|
|
81955
|
-
|
|
81956
|
-
<filing-form-group
|
|
81957
|
-
[isSubmitted]="isSubmitted()"
|
|
81958
|
-
[form]="contact"
|
|
81959
|
-
[config]="contactsFields"
|
|
81960
|
-
(visiblyValidChange)="onSectionValidChange('contact', $event)"
|
|
81961
|
-
|
|
81962
|
-
</expandable-card
|
|
81963
|
-
}
|
|
81964
|
-
</div
|
|
81965
|
-
</div
|
|
81867
|
+
], template: `<div class="ontario-update-maintain-form">
|
|
81868
|
+
@if (isNote()) {
|
|
81869
|
+
<alert
|
|
81870
|
+
[type]="alertType.Info"
|
|
81871
|
+
title="Entity changed"
|
|
81872
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
81873
|
+
/>
|
|
81874
|
+
}
|
|
81875
|
+
|
|
81876
|
+
@if (errors().length) {
|
|
81877
|
+
<alert
|
|
81878
|
+
title="The following issues need to be resolved before proceeding:"
|
|
81879
|
+
[content]="errors()"
|
|
81880
|
+
/>
|
|
81881
|
+
}
|
|
81882
|
+
|
|
81883
|
+
<div class="ontario-update-maintain-form-content">
|
|
81884
|
+
<!-- ===== GENERAL INFO ===== -->
|
|
81885
|
+
@let generalInfoForm = getFormGroup(groups.General);
|
|
81886
|
+
@if (generalInfoForm) {
|
|
81887
|
+
<expandable-card
|
|
81888
|
+
[title]="groups.General"
|
|
81889
|
+
[isStatusIcon]="!readonly()"
|
|
81890
|
+
>
|
|
81891
|
+
<filing-form-group
|
|
81892
|
+
[isSubmitted]="isSubmitted()"
|
|
81893
|
+
[prevData]="prevData()?.corporationInfo"
|
|
81894
|
+
[form]="generalInfoForm"
|
|
81895
|
+
[config]="generalCardFields"
|
|
81896
|
+
[label]="groups.General"
|
|
81897
|
+
(visiblyValidChange)="onSectionValidChange('generalInfo', $event)"
|
|
81898
|
+
/>
|
|
81899
|
+
</expandable-card>
|
|
81900
|
+
}
|
|
81901
|
+
|
|
81902
|
+
<!-- =====REGISTERED OFFICE ADDRESS===== -->
|
|
81903
|
+
@let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);
|
|
81904
|
+
@if (registeredOfficeAddress) {
|
|
81905
|
+
<expandable-card
|
|
81906
|
+
[isStatusIcon]="!readonly()"
|
|
81907
|
+
[isValid]="sectionValidity['registeredOffice']"
|
|
81908
|
+
[title]="groups.RegisteredOfficeAddress"
|
|
81909
|
+
>
|
|
81910
|
+
<filing-form-group
|
|
81911
|
+
[prevData]="prevData()?.corporationInfo"
|
|
81912
|
+
[isSubmitted]="isSubmitted()"
|
|
81913
|
+
[form]="registeredOfficeAddress"
|
|
81914
|
+
[config]="
|
|
81915
|
+
addressFieldsMap[
|
|
81916
|
+
registeredOfficeAddress.get(controls.AffiliationAddressType)
|
|
81917
|
+
?.value
|
|
81918
|
+
]
|
|
81919
|
+
"
|
|
81920
|
+
(visiblyValidChange)="
|
|
81921
|
+
onSectionValidChange('registeredOffice', $event)
|
|
81922
|
+
"
|
|
81923
|
+
/>
|
|
81924
|
+
</expandable-card>
|
|
81925
|
+
}
|
|
81926
|
+
|
|
81927
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
81928
|
+
@if (directorsArray && directorsArray.length) {
|
|
81929
|
+
@let isOpen =
|
|
81930
|
+
(directorsArray?.length ?? 0) <= initiallyOpenCardsCount;
|
|
81931
|
+
<expandable-list-card
|
|
81932
|
+
[prevData]="prevData()?.persons"
|
|
81933
|
+
[isSubmitted]="isSubmitted()"
|
|
81934
|
+
[isValid]="sectionValidity['directors']"
|
|
81935
|
+
[areItemsOpen]="isOpen"
|
|
81936
|
+
[isStatusIcon]="!readonly()"
|
|
81937
|
+
[config]="directorsFieldsMap"
|
|
81938
|
+
[configKey]="controls.AffiliationAddressType"
|
|
81939
|
+
[formArray]="directorsArray"
|
|
81940
|
+
[title]="groups.Directors"
|
|
81941
|
+
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
81942
|
+
/>
|
|
81943
|
+
} @else {
|
|
81944
|
+
<expandable-card [title]="groups.Directors">
|
|
81945
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
81946
|
+
</expandable-card>
|
|
81947
|
+
}
|
|
81948
|
+
|
|
81949
|
+
@let officersArray = getFormArray(groups.Officers);
|
|
81950
|
+
|
|
81951
|
+
|
|
81952
|
+
@if (officersArray && officersArray.length) {
|
|
81953
|
+
@let isOpen =
|
|
81954
|
+
(officersArray?.length ?? 0) <= initiallyOpenCardsCount;
|
|
81955
|
+
|
|
81956
|
+
<expandable-list-card
|
|
81957
|
+
[prevData]="prevData()?.persons"
|
|
81958
|
+
[isSubmitted]="isSubmitted()"
|
|
81959
|
+
[areItemsOpen]="isOpen"
|
|
81960
|
+
[isStatusIcon]="!readonly()"
|
|
81961
|
+
[config]="officersFieldsMap"
|
|
81962
|
+
[configKey]="controls.AffiliationAddressType"
|
|
81963
|
+
[formArray]="officersArray"
|
|
81964
|
+
[title]="groups.Officers"
|
|
81965
|
+
[isValid]="sectionValidity['officers']"
|
|
81966
|
+
(visiblyValidChange)="onSectionValidChange('officers', $event)"
|
|
81967
|
+
/>
|
|
81968
|
+
} @else {
|
|
81969
|
+
<expandable-card [title]="groups.Officers">
|
|
81970
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
81971
|
+
</expandable-card>
|
|
81972
|
+
}
|
|
81973
|
+
|
|
81974
|
+
@let certifiedBy = getFormGroup(groups.CertifiedBy);
|
|
81975
|
+
<expandable-card
|
|
81976
|
+
[isStatusIcon]="!readonly()"
|
|
81977
|
+
[isValid]="certifiedBy ? sectionValidity['certifiedBy'] : true"
|
|
81978
|
+
[title]="groups.CertifiedBy"
|
|
81979
|
+
>
|
|
81980
|
+
@if (certifiedBy) {
|
|
81981
|
+
<filing-form-group
|
|
81982
|
+
[prevData]="prevData()?.corporationInfo"
|
|
81983
|
+
[isSubmitted]="isSubmitted()"
|
|
81984
|
+
[form]="certifiedBy"
|
|
81985
|
+
[config]="
|
|
81986
|
+
certifiedByFieldsMap[
|
|
81987
|
+
certifiedBy.get(controls.AffiliationAddressType)?.value
|
|
81988
|
+
]
|
|
81989
|
+
"
|
|
81990
|
+
(visiblyValidChange)="onSectionValidChange('certifiedBy', $event)"
|
|
81991
|
+
/>
|
|
81992
|
+
} @else {
|
|
81993
|
+
<h2 class="body-1-regular">{{ 'Not specified' | translate }}</h2>
|
|
81994
|
+
}
|
|
81995
|
+
|
|
81996
|
+
</expandable-card>
|
|
81997
|
+
|
|
81998
|
+
@let contact = getFormGroup(groups.Contact);
|
|
81999
|
+
@if (contact) {
|
|
82000
|
+
<expandable-card
|
|
82001
|
+
[isStatusIcon]="!readonly()"
|
|
82002
|
+
[isValid]="sectionValidity['contact']"
|
|
82003
|
+
[title]="groups.Contact"
|
|
82004
|
+
>
|
|
82005
|
+
<filing-form-group
|
|
82006
|
+
[isSubmitted]="isSubmitted()"
|
|
82007
|
+
[form]="contact"
|
|
82008
|
+
[config]="contactsFields"
|
|
82009
|
+
(visiblyValidChange)="onSectionValidChange('contact', $event)"
|
|
82010
|
+
/>
|
|
82011
|
+
</expandable-card>
|
|
82012
|
+
}
|
|
82013
|
+
</div>
|
|
82014
|
+
</div>
|
|
81966
82015
|
`, styles: ["/* src/app/components/ontario/update-maintain/update-maintain-form/update-maintain-form.component.scss */\n:host .ontario-update-maintain-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n overflow-y: auto;\n}\n:host .ontario-update-maintain-form-content {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .ontario-update-maintain-form-section {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n:host .ontario-update-maintain-form-section-title {\n font-size: 14px;\n font-weight: 600;\n color: var(--filing-modal-color-dark-blue, #1a2e5a);\n margin: 0;\n padding-bottom: 8px;\n border-bottom: 1px solid var(--color-border, #e0e0e0);\n}\n:host .ontario-update-maintain-form-principal {\n padding: 12px 0;\n border-bottom: 1px solid var(--color-border, #e0e0e0);\n}\n:host .ontario-update-maintain-form-principal:last-child {\n border-bottom: none;\n}\n/*# sourceMappingURL=update-maintain-form.component.css.map */\n"] }]
|
|
81967
82016
|
}], () => [], null);
|
|
81968
82017
|
})();
|
|
@@ -82077,38 +82126,38 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
82077
82126
|
MatButton,
|
|
82078
82127
|
TranslatePipe,
|
|
82079
82128
|
OntarioUpdateMaintainFormComponent
|
|
82080
|
-
], template: `<div class="ontario-update-maintain-delta-form"
|
|
82081
|
-
<ontario-update-maintain-form
|
|
82082
|
-
class="ontario-update-maintain-delta-form-content"
|
|
82083
|
-
[form]="form()"
|
|
82084
|
-
[task]="task()"
|
|
82085
|
-
[errors]="combinedErrors()"
|
|
82086
|
-
[isNote]="isNote()"
|
|
82087
|
-
[isSubmitted]="submitted()"
|
|
82088
|
-
[readonly]="false"
|
|
82089
|
-
[prevData]="prevData()"
|
|
82090
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
82091
|
-
|
|
82092
|
-
|
|
82093
|
-
<div class="ontario-update-maintain-delta-form-actions"
|
|
82094
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
82095
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
82096
|
-
</button
|
|
82097
|
-
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button
|
|
82098
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span
|
|
82099
|
-
</button
|
|
82100
|
-
<button
|
|
82101
|
-
class="submit"
|
|
82102
|
-
color="primary"
|
|
82103
|
-
mat-flat-button
|
|
82104
|
-
[disabled]="actionsDisabled()"
|
|
82105
|
-
(click)="onValidate()"
|
|
82106
|
-
|
|
82107
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span
|
|
82108
|
-
</button
|
|
82109
|
-
</div
|
|
82110
|
-
</div
|
|
82111
|
-
|
|
82129
|
+
], template: `<div class="ontario-update-maintain-delta-form">
|
|
82130
|
+
<ontario-update-maintain-form
|
|
82131
|
+
class="ontario-update-maintain-delta-form-content"
|
|
82132
|
+
[form]="form()"
|
|
82133
|
+
[task]="task()"
|
|
82134
|
+
[errors]="combinedErrors()"
|
|
82135
|
+
[isNote]="isNote()"
|
|
82136
|
+
[isSubmitted]="submitted()"
|
|
82137
|
+
[readonly]="false"
|
|
82138
|
+
[prevData]="prevData()"
|
|
82139
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
82140
|
+
/>
|
|
82141
|
+
|
|
82142
|
+
<div class="ontario-update-maintain-delta-form-actions">
|
|
82143
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
82144
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
82145
|
+
</button>
|
|
82146
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
|
|
82147
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
|
|
82148
|
+
</button>
|
|
82149
|
+
<button
|
|
82150
|
+
class="submit"
|
|
82151
|
+
color="primary"
|
|
82152
|
+
mat-flat-button
|
|
82153
|
+
[disabled]="actionsDisabled()"
|
|
82154
|
+
(click)="onValidate()"
|
|
82155
|
+
>
|
|
82156
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
|
|
82157
|
+
</button>
|
|
82158
|
+
</div>
|
|
82159
|
+
</div>
|
|
82160
|
+
|
|
82112
82161
|
`, styles: ["/* src/app/components/ontario/update-maintain/steps/delta/update-maintain-delta-form.component.scss */\n:host .ontario-update-maintain-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .ontario-update-maintain-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .ontario-update-maintain-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 .ontario-update-maintain-delta-form-actions button {\n margin: 0;\n}\n:host .ontario-update-maintain-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=update-maintain-delta-form.component.css.map */\n"] }]
|
|
82113
82162
|
}], null, null);
|
|
82114
82163
|
})();
|
|
@@ -82183,32 +82232,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
82183
82232
|
MatButton,
|
|
82184
82233
|
OntarioUpdateMaintainFormComponent,
|
|
82185
82234
|
TranslatePipe
|
|
82186
|
-
], template: `<div class="ontario-update-maintain-preview-form"
|
|
82187
|
-
<ontario-update-maintain-form
|
|
82188
|
-
class="ontario-update-maintain-preview-form-content"
|
|
82189
|
-
[form]="form()"
|
|
82190
|
-
[task]="task()"
|
|
82191
|
-
[errors]="errors()"
|
|
82192
|
-
[isSubmitted]="false"
|
|
82193
|
-
[readonly]="false"
|
|
82194
|
-
|
|
82195
|
-
|
|
82196
|
-
<div class="ontario-update-maintain-preview-form-actions"
|
|
82197
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
82198
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
82199
|
-
</button
|
|
82200
|
-
<button
|
|
82201
|
-
class="submit"
|
|
82202
|
-
color="primary"
|
|
82203
|
-
mat-flat-button
|
|
82204
|
-
[disabled]="actionsDisabled()"
|
|
82205
|
-
(click)="file.emit()"
|
|
82206
|
-
|
|
82207
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span
|
|
82208
|
-
</button
|
|
82209
|
-
</div
|
|
82210
|
-
</div
|
|
82211
|
-
|
|
82235
|
+
], template: `<div class="ontario-update-maintain-preview-form">
|
|
82236
|
+
<ontario-update-maintain-form
|
|
82237
|
+
class="ontario-update-maintain-preview-form-content"
|
|
82238
|
+
[form]="form()"
|
|
82239
|
+
[task]="task()"
|
|
82240
|
+
[errors]="errors()"
|
|
82241
|
+
[isSubmitted]="false"
|
|
82242
|
+
[readonly]="false"
|
|
82243
|
+
/>
|
|
82244
|
+
|
|
82245
|
+
<div class="ontario-update-maintain-preview-form-actions">
|
|
82246
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
82247
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
82248
|
+
</button>
|
|
82249
|
+
<button
|
|
82250
|
+
class="submit"
|
|
82251
|
+
color="primary"
|
|
82252
|
+
mat-flat-button
|
|
82253
|
+
[disabled]="actionsDisabled()"
|
|
82254
|
+
(click)="file.emit()"
|
|
82255
|
+
>
|
|
82256
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>
|
|
82257
|
+
</button>
|
|
82258
|
+
</div>
|
|
82259
|
+
</div>
|
|
82260
|
+
|
|
82212
82261
|
`, styles: ["/* src/app/components/ontario/update-maintain/steps/preview/update-maintain-preview-form.component.scss */\n:host .ontario-update-maintain-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .ontario-update-maintain-preview-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .ontario-update-maintain-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 .ontario-update-maintain-preview-form-actions button {\n margin: 0;\n}\n:host .ontario-update-maintain-preview-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=update-maintain-preview-form.component.css.map */\n"] }]
|
|
82213
82262
|
}], null, null);
|
|
82214
82263
|
})();
|
|
@@ -82678,7 +82727,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
82678
82727
|
OntarioIncorporationDeltaFormComponent,
|
|
82679
82728
|
OntarioIncorporationPreviewFormComponent,
|
|
82680
82729
|
TermsAndConditionsComponent
|
|
82681
|
-
], template: '@let taskData = this.task();\
|
|
82730
|
+
], template: '@let taskData = this.task();\n\n@if (isFormationTask(taskData)) {\n @if (activeStep() === steps.Validate) {\n <ontario-incorporation-delta-form\n [task]="taskData"\n [errors]="errors()"\n [isNote]="isNote()"\n [actionsDisabled]="actionsDisabled()"\n [form]="deltaForm()"\n (validate)="onFormationValidate()"\n (close)="onClose()"\n (save)="onFormationSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <ontario-incorporation-preview-form\n [task]="taskData"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n (next)="nextStep.emit()"\n (close)="close.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onFormationSubmit($event)"\n />\n }\n}\n\n@if (isInitialReturnTask(task())) {\n @if (activeStep() === steps.Validate) {\n <ontario-update-maintain-delta-form\n [task]="$any(task())"\n [form]="deltaForm()"\n [actionsDisabled]="actionsDisabled()"\n [prevData]="prevData()"\n [errors]="errors()"\n [isNote]="isNote()"\n (validate)="onInitialReturnValidate()"\n (close)="onClose()"\n (save)="onInitialReturnSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <ontario-update-maintain-preview-form\n [task]="$any(task())"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n (close)="close.emit()"\n (file)="nextStep.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onIrSubmit($event)"\n />\n }\n}\n', styles: ["/* src/app/components/ontario/ontario.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=ontario.component.css.map */\n"] }]
|
|
82682
82731
|
}], () => [], null);
|
|
82683
82732
|
})();
|
|
82684
82733
|
(() => {
|
|
@@ -83783,39 +83832,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
83783
83832
|
(() => {
|
|
83784
83833
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(SelectModalComponent, [{
|
|
83785
83834
|
type: Component,
|
|
83786
|
-
args: [{ standalone: true, selector: "add-documents-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, MatDialogModule, MatIconModule, TranslatePipe, MatCheckbox], template: `<div class="add-documents-modal"
|
|
83787
|
-
<div class="add-documents-modal-header"
|
|
83788
|
-
<h2 class="grey">{{ dialogData.title | translate }}</h2
|
|
83789
|
-
</div
|
|
83790
|
-
|
|
83791
|
-
<div class="add-documents-modal-list"
|
|
83792
|
-
@for (doc of dialogData.items; track doc) {
|
|
83793
|
-
<div (click)="toggleDocument(doc)" class="add-documents-modal-list-item"
|
|
83794
|
-
<mat-checkbox [checked]="isSelected(doc)"
|
|
83795
|
-
<span class="body-1-regular">{{ doc }}</span
|
|
83796
|
-
</div
|
|
83797
|
-
}
|
|
83798
|
-
</div
|
|
83799
|
-
|
|
83800
|
-
<div class="add-documents-modal-actions"
|
|
83801
|
-
<button
|
|
83802
|
-
mat-stroked-button mat-button
|
|
83803
|
-
(click)="closeModal()"
|
|
83804
|
-
|
|
83805
|
-
<span class="body-1-semibold">{{ 'Cancel' | translate }}</span
|
|
83806
|
-
</button
|
|
83807
|
-
|
|
83808
|
-
<button
|
|
83809
|
-
class="submit"
|
|
83810
|
-
mat-flat-button
|
|
83811
|
-
[disabled]="!hasSelection()"
|
|
83812
|
-
(click)="addSelectedDocuments()"
|
|
83813
|
-
|
|
83814
|
-
<span class="body-1-semibold">{{ dialogData.submitButton | translate }}</span
|
|
83815
|
-
</button
|
|
83816
|
-
</div
|
|
83817
|
-
|
|
83818
|
-
</div
|
|
83835
|
+
args: [{ standalone: true, selector: "add-documents-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, MatDialogModule, MatIconModule, TranslatePipe, MatCheckbox], template: `<div class="add-documents-modal">
|
|
83836
|
+
<div class="add-documents-modal-header">
|
|
83837
|
+
<h2 class="grey">{{ dialogData.title | translate }}</h2>
|
|
83838
|
+
</div>
|
|
83839
|
+
|
|
83840
|
+
<div class="add-documents-modal-list">
|
|
83841
|
+
@for (doc of dialogData.items; track doc) {
|
|
83842
|
+
<div (click)="toggleDocument(doc)" class="add-documents-modal-list-item">
|
|
83843
|
+
<mat-checkbox [checked]="isSelected(doc)"/>
|
|
83844
|
+
<span class="body-1-regular">{{ doc }}</span>
|
|
83845
|
+
</div>
|
|
83846
|
+
}
|
|
83847
|
+
</div>
|
|
83848
|
+
|
|
83849
|
+
<div class="add-documents-modal-actions">
|
|
83850
|
+
<button
|
|
83851
|
+
mat-stroked-button mat-button
|
|
83852
|
+
(click)="closeModal()"
|
|
83853
|
+
>
|
|
83854
|
+
<span class="body-1-semibold">{{ 'Cancel' | translate }}</span>
|
|
83855
|
+
</button>
|
|
83856
|
+
|
|
83857
|
+
<button
|
|
83858
|
+
class="submit"
|
|
83859
|
+
mat-flat-button
|
|
83860
|
+
[disabled]="!hasSelection()"
|
|
83861
|
+
(click)="addSelectedDocuments()"
|
|
83862
|
+
>
|
|
83863
|
+
<span class="body-1-semibold">{{ dialogData.submitButton | translate }}</span>
|
|
83864
|
+
</button>
|
|
83865
|
+
</div>
|
|
83866
|
+
|
|
83867
|
+
</div>
|
|
83819
83868
|
`, styles: ['/* src/app/components/federal/components/select-modal/select-modal.component.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: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:host ::ng-deep {\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:host ::ng-deep .mat-primary .mat-pseudo-checkbox-checked,\n:host ::ng-deep .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n:host ::ng-deep .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n:host ::ng-deep .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:host ::ng-deep .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:host ::ng-deep .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n:host ::ng-deep .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n:host ::ng-deep .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n:host ::ng-deep .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n:host .add-documents-modal {\n padding: 24px 0;\n border: 2px solid #ededed;\n border-radius: 16px;\n width: 100%;\n background: white;\n}\n:host .add-documents-modal-header {\n padding: 0 24px;\n}\n:host .add-documents-modal-list {\n display: flex;\n flex-direction: column;\n max-height: 300px;\n overflow: auto;\n padding: 24px;\n}\n:host .add-documents-modal-list-item {\n display: flex;\n align-items: center;\n font-size: 18px;\n cursor: pointer;\n width: 100%;\n -webkit-user-select: none;\n user-select: none;\n}\n:host .add-documents-modal-actions {\n display: flex;\n justify-content: flex-end;\n gap: 8px;\n padding-right: 16px;\n}\n::ng-deep .mat-mdc-dialog-surface {\n background: transparent !important;\n padding: 2px;\n min-width: 660px;\n}\n/*# sourceMappingURL=select-modal.component.css.map */\n'] }]
|
|
83820
83869
|
}], null, null);
|
|
83821
83870
|
})();
|
|
@@ -83960,34 +84009,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
83960
84009
|
MatButton,
|
|
83961
84010
|
TranslatePipe,
|
|
83962
84011
|
MatIcon
|
|
83963
|
-
], template: `<div class="documents"
|
|
83964
|
-
<span class="body-1-regular">{{ 'Supporting documents relevant to the proposed name, including consent letters' | translate }}</span
|
|
83965
|
-
|
|
83966
|
-
@let selectedDocuments = this.selectedDocuments()
|
|
83967
|
-
@if (selectedDocuments.length) {
|
|
83968
|
-
<div class="documents-list"
|
|
83969
|
-
@for(document of selectedDocuments; track document) {
|
|
83970
|
-
<div class="documents-list-item body-1-regular"
|
|
83971
|
-
<mat-icon class="documents-list-item-document">description_outline</mat-icon
|
|
83972
|
-
<span class="body-1-regular">{{document}}</span
|
|
83973
|
-
|
|
83974
|
-
@if (!readonly()) {
|
|
83975
|
-
<div class="documents-list-icon-wrapper" (click)="removeDocument.emit(document)"
|
|
83976
|
-
<mat-icon class="documents-list-item-close">close</mat-icon
|
|
83977
|
-
</div
|
|
83978
|
-
}
|
|
83979
|
-
|
|
83980
|
-
</div
|
|
83981
|
-
}
|
|
83982
|
-
</div
|
|
83983
|
-
}
|
|
83984
|
-
|
|
83985
|
-
@if (!readonly()) {
|
|
83986
|
-
<button mat-stroked-button class="outlined" (click)="onAddDocuments()"
|
|
83987
|
-
<span class="body-1-semibold">{{ 'Add Supporting Documents' | translate }}</span
|
|
83988
|
-
</button
|
|
83989
|
-
}
|
|
83990
|
-
</div
|
|
84012
|
+
], template: `<div class="documents">
|
|
84013
|
+
<span class="body-1-regular">{{ 'Supporting documents relevant to the proposed name, including consent letters' | translate }}</span>
|
|
84014
|
+
|
|
84015
|
+
@let selectedDocuments = this.selectedDocuments();
|
|
84016
|
+
@if (selectedDocuments.length) {
|
|
84017
|
+
<div class="documents-list">
|
|
84018
|
+
@for(document of selectedDocuments; track document) {
|
|
84019
|
+
<div class="documents-list-item body-1-regular">
|
|
84020
|
+
<mat-icon class="documents-list-item-document">description_outline</mat-icon>
|
|
84021
|
+
<span class="body-1-regular">{{document}}</span>
|
|
84022
|
+
|
|
84023
|
+
@if (!readonly()) {
|
|
84024
|
+
<div class="documents-list-icon-wrapper" (click)="removeDocument.emit(document)">
|
|
84025
|
+
<mat-icon class="documents-list-item-close">close</mat-icon>
|
|
84026
|
+
</div>
|
|
84027
|
+
}
|
|
84028
|
+
|
|
84029
|
+
</div>
|
|
84030
|
+
}
|
|
84031
|
+
</div>
|
|
84032
|
+
}
|
|
84033
|
+
|
|
84034
|
+
@if (!readonly()) {
|
|
84035
|
+
<button mat-stroked-button class="outlined" (click)="onAddDocuments()">
|
|
84036
|
+
<span class="body-1-semibold">{{ 'Add Supporting Documents' | translate }}</span>
|
|
84037
|
+
</button>
|
|
84038
|
+
}
|
|
84039
|
+
</div>
|
|
83991
84040
|
`, styles: ["/* src/app/components/federal/components/documents/documents.component.scss */\n:host .documents {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 16px;\n}\n:host .documents-list {\n display: flex;\n flex-direction: column;\n gap: 4px;\n padding-left: 16px;\n}\n:host .documents-list-item {\n display: flex;\n align-items: center;\n gap: 8px;\n color: var(--filing-modal-color-grey);\n}\n:host .documents-list-item mat-icon {\n color: var(--filing-modal-color-grey);\n display: flex;\n align-items: center;\n}\n:host .documents-list-item-document {\n font-size: 24px;\n}\n:host .documents-list-item-close {\n font-size: 18px;\n height: 18px;\n width: 18px;\n line-height: 18px;\n}\n:host .documents-list-icon-wrapper {\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 32px;\n}\n/*# sourceMappingURL=documents.component.css.map */\n"] }]
|
|
83992
84041
|
}], null, null);
|
|
83993
84042
|
})();
|
|
@@ -84813,246 +84862,246 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84813
84862
|
TranslatePipe,
|
|
84814
84863
|
ReactiveFormsModule,
|
|
84815
84864
|
DatePipe
|
|
84816
|
-
], template: `<div class="incorporation-form"
|
|
84817
|
-
@if (isNote()) {
|
|
84818
|
-
<alert
|
|
84819
|
-
[type]="alertType.Info"
|
|
84820
|
-
title="Entity changed"
|
|
84821
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
84822
|
-
|
|
84823
|
-
}
|
|
84824
|
-
|
|
84825
|
-
@if (errors().length) {
|
|
84826
|
-
<alert
|
|
84827
|
-
title="The following issues need to be resolved before proceeding:"
|
|
84828
|
-
[content]="errors()"
|
|
84829
|
-
|
|
84830
|
-
}
|
|
84831
|
-
|
|
84832
|
-
<div class="incorporation-form-content"
|
|
84833
|
-
@let corporateName = getFormGroup(groups.CorporateName)
|
|
84834
|
-
|
|
84835
|
-
@if (corporateName) {
|
|
84836
|
-
<expandable-card
|
|
84837
|
-
[isValid]="sectionValidity['corporateName']"
|
|
84838
|
-
[isStatusIcon]="isStatusIcon()"
|
|
84839
|
-
[title]="groups.CorporateName"
|
|
84840
|
-
|
|
84841
|
-
<div class="incorporation-form-item"
|
|
84842
|
-
<filing-form-group
|
|
84843
|
-
[isSubmitted]="isSubmitted()"
|
|
84844
|
-
[form]="corporateName"
|
|
84845
|
-
[config]="incorporationFields"
|
|
84846
|
-
(visiblyValidChange)="onSectionValidChange('corporateName', $event)"
|
|
84847
|
-
|
|
84848
|
-
|
|
84849
|
-
@if (isNonPreapprovedNameType() || selectedDocuments().length) {
|
|
84850
|
-
<documents
|
|
84851
|
-
[documents]="documents()"
|
|
84852
|
-
[readonly]="isReadonly()"
|
|
84853
|
-
[selectedDocuments]="selectedDocuments()"
|
|
84854
|
-
(addDocuments)="addDocuments.emit($event)"
|
|
84855
|
-
(removeDocument)="removeDocument.emit($event)"
|
|
84856
|
-
|
|
84857
|
-
}
|
|
84858
|
-
</div
|
|
84859
|
-
</expandable-card
|
|
84860
|
-
}
|
|
84861
|
-
|
|
84862
|
-
@let articlesOfIncorporation = getFormGroup(groups.ArticlesOfIncorporation)
|
|
84863
|
-
|
|
84864
|
-
@if (articlesOfIncorporation) {
|
|
84865
|
-
<expandable-card
|
|
84866
|
-
[isValid]="sectionValidity['articles']"
|
|
84867
|
-
[isStatusIcon]="isStatusIcon()"
|
|
84868
|
-
[title]="groups.ArticlesOfIncorporation"
|
|
84869
|
-
|
|
84870
|
-
<div class="incorporation-form-item"
|
|
84871
|
-
<span
|
|
84872
|
-
class="body-1-regular black"
|
|
84873
|
-
[innerHTML]="directorsSubtitle()"
|
|
84874
|
-
></span
|
|
84875
|
-
|
|
84876
|
-
<filing-form-group
|
|
84877
|
-
[isSubmitted]="isSubmitted()"
|
|
84878
|
-
[form]="articlesOfIncorporation"
|
|
84879
|
-
[config]="articlesOfIncorporationFields"
|
|
84880
|
-
(visiblyValidChange)="onSectionValidChange('articles', $event)"
|
|
84881
|
-
|
|
84882
|
-
<div
|
|
84883
|
-
<span class="body-1-semibold dark-blue">{{ 'Incorporators' | translate }}</span
|
|
84884
|
-
|
|
84885
|
-
<ul class="incorporators-list"
|
|
84886
|
-
@for (
|
|
84887
|
-
incorporator of task()?._ext?._incorporators
|
|
84888
|
-
track incorporator.affiliationID
|
|
84889
|
-
) {
|
|
84890
|
-
<li class="body-1-regular grey"
|
|
84891
|
-
{{ getIncorporatorName(incorporator) }}
|
|
84892
|
-
</li
|
|
84893
|
-
}
|
|
84894
|
-
</ul
|
|
84895
|
-
</div
|
|
84896
|
-
|
|
84897
|
-
<span class="body-1-regular grey"
|
|
84898
|
-
>{{ 'Effective Date' | translate }}
|
|
84899
|
-
{{
|
|
84900
|
-
task()?._ext?._future_filing_date
|
|
84901
|
-
? (task()!._ext!._future_filing_date | date: "yyyy-MM-dd")
|
|
84902
|
-
: (today | date: "yyyy-MM-dd")
|
|
84903
|
-
}}</span
|
|
84904
|
-
|
|
84905
|
-
</div
|
|
84906
|
-
</expandable-card
|
|
84907
|
-
}
|
|
84908
|
-
|
|
84909
|
-
@let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress)
|
|
84910
|
-
|
|
84911
|
-
@if (registeredOfficeAddress) {
|
|
84912
|
-
<expandable-card
|
|
84913
|
-
[isValid]="sectionValidity['registeredOffice']"
|
|
84914
|
-
[isStatusIcon]="isStatusIcon()"
|
|
84915
|
-
[title]="groups.RegisteredOfficeAddress"
|
|
84916
|
-
|
|
84917
|
-
<div class="incorporation-form-item"
|
|
84918
|
-
<filing-form-group
|
|
84919
|
-
[isSubmitted]="isSubmitted()"
|
|
84920
|
-
[form]="registeredOfficeAddress"
|
|
84921
|
-
[config]="registeredOfficeAddressFields"
|
|
84922
|
-
(visiblyValidChange)="
|
|
84923
|
-
onSectionValidChange('registeredOffice', $event)
|
|
84924
|
-
"
|
|
84925
|
-
|
|
84926
|
-
</div
|
|
84927
|
-
</expandable-card
|
|
84928
|
-
}
|
|
84929
|
-
|
|
84930
|
-
@let directorsArray = getFormArray(groups.Directors)
|
|
84931
|
-
|
|
84932
|
-
@if (directorsArray && directorsArray.length) {
|
|
84933
|
-
@let directorsFormArray = getFormArray(groups.Directors)
|
|
84934
|
-
<expandable-list-card
|
|
84935
|
-
[isValid]="sectionValidity['directors']"
|
|
84936
|
-
[isSubmitted]="isSubmitted()"
|
|
84937
|
-
[areItemsOpen]="directorsArray.length <= initiallyOpenCardsCount"
|
|
84938
|
-
[fields]="directorsFields"
|
|
84939
|
-
[formArray]="directorsFormArray"
|
|
84940
|
-
[title]="groups.Directors"
|
|
84941
|
-
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
84942
|
-
|
|
84943
|
-
} @else {
|
|
84944
|
-
<expandable-card [title]="groups.Directors"
|
|
84945
|
-
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2
|
|
84946
|
-
</expandable-card
|
|
84947
|
-
}
|
|
84948
|
-
|
|
84949
|
-
@let significantControl = getFormGroup(groups.SignificantControl)
|
|
84950
|
-
@if (significantControl) {
|
|
84951
|
-
@let individualsWithSignificantControlArray
|
|
84952
|
-
getFormArray(groups.IndividualsWithSignificantControl)
|
|
84953
|
-
|
|
84954
|
-
@if (individualsWithSignificantControlArray) {
|
|
84955
|
-
<expandable-list-card
|
|
84956
|
-
[areItemsOpen]="
|
|
84957
|
-
individualsWithSignificantControlArray.length
|
|
84958
|
-
initiallyOpenCardsCount
|
|
84959
|
-
"
|
|
84960
|
-
[isValid]="
|
|
84961
|
-
sectionValidity['isc']
|
|
84962
|
-
sectionValidity['significantControl']
|
|
84963
|
-
"
|
|
84964
|
-
(remove)="onRemoveIndividualWithSignificantForm($event)"
|
|
84965
|
-
[removable]="!isReadonly()"
|
|
84966
|
-
[isSubmitted]="isSubmitted()"
|
|
84967
|
-
[isStatusIcon]="isStatusIcon()"
|
|
84968
|
-
[fields]="individualsWithSignificantControlFields"
|
|
84969
|
-
[formArray]="individualsWithSignificantControlArray"
|
|
84970
|
-
[title]="groups.IndividualsWithSignificantControl"
|
|
84971
|
-
(visiblyValidChange)="onSectionValidChange('isc', $event)"
|
|
84972
|
-
|
|
84973
|
-
@if (
|
|
84974
|
-
!isReadonly() && isAddIndividualWithSignificantControlAvailable()
|
|
84975
|
-
) {
|
|
84976
|
-
<button
|
|
84977
|
-
[disabled]="isAddIndividualWithSignificantControlDisabled()"
|
|
84978
|
-
slot="subtitle"
|
|
84979
|
-
mat-stroked-button
|
|
84980
|
-
mat-button
|
|
84981
|
-
(click)="addIndividualWithSignificantControl()"
|
|
84982
|
-
|
|
84983
|
-
<span class="body-1-semibold">{{
|
|
84984
|
-
"Add Individuals With Significant Control" | translate
|
|
84985
|
-
}}</span
|
|
84986
|
-
</button
|
|
84987
|
-
}
|
|
84988
|
-
|
|
84989
|
-
<div class="significant-control" slot="header-content"
|
|
84990
|
-
<filing-form-group
|
|
84991
|
-
[isSubmitted]="isSubmitted()"
|
|
84992
|
-
[form]="significantControl"
|
|
84993
|
-
[config]="significantControlFields"
|
|
84994
|
-
(visiblyValidChange)="
|
|
84995
|
-
onSectionValidChange('significantControl', $event)
|
|
84996
|
-
"
|
|
84997
|
-
|
|
84998
|
-
</div
|
|
84999
|
-
</expandable-list-card
|
|
85000
|
-
}
|
|
85001
|
-
}
|
|
85002
|
-
|
|
85003
|
-
@let inviteDirectorToBeFullAccessManager
|
|
85004
|
-
getFormGroup(groups.InviteDirectorToBeFullAccessManager)
|
|
85005
|
-
@if (inviteDirectorToBeFullAccessManager) {
|
|
85006
|
-
<expandable-card
|
|
85007
|
-
[isValid]="sectionValidity['inviteDirector']"
|
|
85008
|
-
[title]="groups.InviteDirectorToBeFullAccessManager"
|
|
85009
|
-
|
|
85010
|
-
<filing-form-group
|
|
85011
|
-
[isSubmitted]="isSubmitted()"
|
|
85012
|
-
[form]="inviteDirectorToBeFullAccessManager"
|
|
85013
|
-
[config]="federalFormationFormInviteDirectorsToBeManagersControl"
|
|
85014
|
-
(visiblyValidChange)="onSectionValidChange('inviteDirector', $event)"
|
|
85015
|
-
|
|
85016
|
-
</expandable-card
|
|
85017
|
-
}
|
|
85018
|
-
|
|
85019
|
-
@let extraProvincialLicensesArray
|
|
85020
|
-
getFormArray(groups.ExtraProvincialRegistrations)
|
|
85021
|
-
@let extraProvincialLicensesControlsLength
|
|
85022
|
-
extraProvincialLicensesArray?.length
|
|
85023
|
-
|
|
85024
|
-
@if (extraProvincialLicensesControlsLength) {
|
|
85025
|
-
<expandable-list-card
|
|
85026
|
-
[areItemsOpen]="extraProvincialLicensesControlsLength === 1"
|
|
85027
|
-
[isValid]="sectionValidity['epl']"
|
|
85028
|
-
[isSubmitted]="isSubmitted()"
|
|
85029
|
-
[isStatusIcon]="isStatusIcon()"
|
|
85030
|
-
[fields]="extraProvincialLicensesFields"
|
|
85031
|
-
[formArray]="extraProvincialLicensesArray"
|
|
85032
|
-
[title]="groups.ExtraProvincialRegistrations"
|
|
85033
|
-
(visiblyValidChange)="onSectionValidChange('epl', $event)"
|
|
85034
|
-
|
|
85035
|
-
}
|
|
85036
|
-
|
|
85037
|
-
@let contactForm = getFormGroup(groups.Contact)
|
|
85038
|
-
@if (contactForm) {
|
|
85039
|
-
<expandable-card
|
|
85040
|
-
[isStatusIcon]="isStatusIcon()"
|
|
85041
|
-
[isValid]="sectionValidity['contact']"
|
|
85042
|
-
[title]="groups.Contact"
|
|
85043
|
-
|
|
85044
|
-
<filing-form-group
|
|
85045
|
-
[isSubmitted]="isSubmitted()"
|
|
85046
|
-
[form]="contactForm"
|
|
85047
|
-
[config]="contactControl"
|
|
85048
|
-
(visiblyValidChange)="onSectionValidChange('contact', $event)"
|
|
85049
|
-
|
|
85050
|
-
</expandable-card
|
|
85051
|
-
}
|
|
85052
|
-
|
|
85053
|
-
<ng-content></ng-content
|
|
85054
|
-
</div
|
|
85055
|
-
</div
|
|
84865
|
+
], template: `<div class="incorporation-form">
|
|
84866
|
+
@if (isNote()) {
|
|
84867
|
+
<alert
|
|
84868
|
+
[type]="alertType.Info"
|
|
84869
|
+
title="Entity changed"
|
|
84870
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
84871
|
+
/>
|
|
84872
|
+
}
|
|
84873
|
+
|
|
84874
|
+
@if (errors().length) {
|
|
84875
|
+
<alert
|
|
84876
|
+
title="The following issues need to be resolved before proceeding:"
|
|
84877
|
+
[content]="errors()"
|
|
84878
|
+
/>
|
|
84879
|
+
}
|
|
84880
|
+
|
|
84881
|
+
<div class="incorporation-form-content">
|
|
84882
|
+
@let corporateName = getFormGroup(groups.CorporateName);
|
|
84883
|
+
|
|
84884
|
+
@if (corporateName) {
|
|
84885
|
+
<expandable-card
|
|
84886
|
+
[isValid]="sectionValidity['corporateName']"
|
|
84887
|
+
[isStatusIcon]="isStatusIcon()"
|
|
84888
|
+
[title]="groups.CorporateName"
|
|
84889
|
+
>
|
|
84890
|
+
<div class="incorporation-form-item">
|
|
84891
|
+
<filing-form-group
|
|
84892
|
+
[isSubmitted]="isSubmitted()"
|
|
84893
|
+
[form]="corporateName"
|
|
84894
|
+
[config]="incorporationFields"
|
|
84895
|
+
(visiblyValidChange)="onSectionValidChange('corporateName', $event)"
|
|
84896
|
+
/>
|
|
84897
|
+
|
|
84898
|
+
@if (isNonPreapprovedNameType() || selectedDocuments().length) {
|
|
84899
|
+
<documents
|
|
84900
|
+
[documents]="documents()"
|
|
84901
|
+
[readonly]="isReadonly()"
|
|
84902
|
+
[selectedDocuments]="selectedDocuments()"
|
|
84903
|
+
(addDocuments)="addDocuments.emit($event)"
|
|
84904
|
+
(removeDocument)="removeDocument.emit($event)"
|
|
84905
|
+
/>
|
|
84906
|
+
}
|
|
84907
|
+
</div>
|
|
84908
|
+
</expandable-card>
|
|
84909
|
+
}
|
|
84910
|
+
|
|
84911
|
+
@let articlesOfIncorporation = getFormGroup(groups.ArticlesOfIncorporation);
|
|
84912
|
+
|
|
84913
|
+
@if (articlesOfIncorporation) {
|
|
84914
|
+
<expandable-card
|
|
84915
|
+
[isValid]="sectionValidity['articles']"
|
|
84916
|
+
[isStatusIcon]="isStatusIcon()"
|
|
84917
|
+
[title]="groups.ArticlesOfIncorporation"
|
|
84918
|
+
>
|
|
84919
|
+
<div class="incorporation-form-item">
|
|
84920
|
+
<span
|
|
84921
|
+
class="body-1-regular black"
|
|
84922
|
+
[innerHTML]="directorsSubtitle()"
|
|
84923
|
+
></span>
|
|
84924
|
+
|
|
84925
|
+
<filing-form-group
|
|
84926
|
+
[isSubmitted]="isSubmitted()"
|
|
84927
|
+
[form]="articlesOfIncorporation"
|
|
84928
|
+
[config]="articlesOfIncorporationFields"
|
|
84929
|
+
(visiblyValidChange)="onSectionValidChange('articles', $event)"
|
|
84930
|
+
/>
|
|
84931
|
+
<div>
|
|
84932
|
+
<span class="body-1-semibold dark-blue">{{ 'Incorporators' | translate }}</span>
|
|
84933
|
+
|
|
84934
|
+
<ul class="incorporators-list">
|
|
84935
|
+
@for (
|
|
84936
|
+
incorporator of task()?._ext?._incorporators;
|
|
84937
|
+
track incorporator.affiliationID
|
|
84938
|
+
) {
|
|
84939
|
+
<li class="body-1-regular grey">
|
|
84940
|
+
{{ getIncorporatorName(incorporator) }}
|
|
84941
|
+
</li>
|
|
84942
|
+
}
|
|
84943
|
+
</ul>
|
|
84944
|
+
</div>
|
|
84945
|
+
|
|
84946
|
+
<span class="body-1-regular grey"
|
|
84947
|
+
>{{ 'Effective Date' | translate }}:
|
|
84948
|
+
{{
|
|
84949
|
+
task()?._ext?._future_filing_date
|
|
84950
|
+
? (task()!._ext!._future_filing_date | date: "yyyy-MM-dd")
|
|
84951
|
+
: (today | date: "yyyy-MM-dd")
|
|
84952
|
+
}}</span
|
|
84953
|
+
>
|
|
84954
|
+
</div>
|
|
84955
|
+
</expandable-card>
|
|
84956
|
+
}
|
|
84957
|
+
|
|
84958
|
+
@let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);
|
|
84959
|
+
|
|
84960
|
+
@if (registeredOfficeAddress) {
|
|
84961
|
+
<expandable-card
|
|
84962
|
+
[isValid]="sectionValidity['registeredOffice']"
|
|
84963
|
+
[isStatusIcon]="isStatusIcon()"
|
|
84964
|
+
[title]="groups.RegisteredOfficeAddress"
|
|
84965
|
+
>
|
|
84966
|
+
<div class="incorporation-form-item">
|
|
84967
|
+
<filing-form-group
|
|
84968
|
+
[isSubmitted]="isSubmitted()"
|
|
84969
|
+
[form]="registeredOfficeAddress"
|
|
84970
|
+
[config]="registeredOfficeAddressFields"
|
|
84971
|
+
(visiblyValidChange)="
|
|
84972
|
+
onSectionValidChange('registeredOffice', $event)
|
|
84973
|
+
"
|
|
84974
|
+
/>
|
|
84975
|
+
</div>
|
|
84976
|
+
</expandable-card>
|
|
84977
|
+
}
|
|
84978
|
+
|
|
84979
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
84980
|
+
|
|
84981
|
+
@if (directorsArray && directorsArray.length) {
|
|
84982
|
+
@let directorsFormArray = getFormArray(groups.Directors);
|
|
84983
|
+
<expandable-list-card
|
|
84984
|
+
[isValid]="sectionValidity['directors']"
|
|
84985
|
+
[isSubmitted]="isSubmitted()"
|
|
84986
|
+
[areItemsOpen]="directorsArray.length <= initiallyOpenCardsCount"
|
|
84987
|
+
[fields]="directorsFields"
|
|
84988
|
+
[formArray]="directorsFormArray"
|
|
84989
|
+
[title]="groups.Directors"
|
|
84990
|
+
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
84991
|
+
/>
|
|
84992
|
+
} @else {
|
|
84993
|
+
<expandable-card [title]="groups.Directors">
|
|
84994
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
84995
|
+
</expandable-card>
|
|
84996
|
+
}
|
|
84997
|
+
|
|
84998
|
+
@let significantControl = getFormGroup(groups.SignificantControl);
|
|
84999
|
+
@if (significantControl) {
|
|
85000
|
+
@let individualsWithSignificantControlArray =
|
|
85001
|
+
getFormArray(groups.IndividualsWithSignificantControl);
|
|
85002
|
+
|
|
85003
|
+
@if (individualsWithSignificantControlArray) {
|
|
85004
|
+
<expandable-list-card
|
|
85005
|
+
[areItemsOpen]="
|
|
85006
|
+
individualsWithSignificantControlArray.length <=
|
|
85007
|
+
initiallyOpenCardsCount
|
|
85008
|
+
"
|
|
85009
|
+
[isValid]="
|
|
85010
|
+
sectionValidity['isc'] &&
|
|
85011
|
+
sectionValidity['significantControl']
|
|
85012
|
+
"
|
|
85013
|
+
(remove)="onRemoveIndividualWithSignificantForm($event)"
|
|
85014
|
+
[removable]="!isReadonly()"
|
|
85015
|
+
[isSubmitted]="isSubmitted()"
|
|
85016
|
+
[isStatusIcon]="isStatusIcon()"
|
|
85017
|
+
[fields]="individualsWithSignificantControlFields"
|
|
85018
|
+
[formArray]="individualsWithSignificantControlArray"
|
|
85019
|
+
[title]="groups.IndividualsWithSignificantControl"
|
|
85020
|
+
(visiblyValidChange)="onSectionValidChange('isc', $event)"
|
|
85021
|
+
>
|
|
85022
|
+
@if (
|
|
85023
|
+
!isReadonly() && isAddIndividualWithSignificantControlAvailable()
|
|
85024
|
+
) {
|
|
85025
|
+
<button
|
|
85026
|
+
[disabled]="isAddIndividualWithSignificantControlDisabled()"
|
|
85027
|
+
slot="subtitle"
|
|
85028
|
+
mat-stroked-button
|
|
85029
|
+
mat-button
|
|
85030
|
+
(click)="addIndividualWithSignificantControl()"
|
|
85031
|
+
>
|
|
85032
|
+
<span class="body-1-semibold">{{
|
|
85033
|
+
"Add Individuals With Significant Control" | translate
|
|
85034
|
+
}}</span>
|
|
85035
|
+
</button>
|
|
85036
|
+
}
|
|
85037
|
+
|
|
85038
|
+
<div class="significant-control" slot="header-content">
|
|
85039
|
+
<filing-form-group
|
|
85040
|
+
[isSubmitted]="isSubmitted()"
|
|
85041
|
+
[form]="significantControl"
|
|
85042
|
+
[config]="significantControlFields"
|
|
85043
|
+
(visiblyValidChange)="
|
|
85044
|
+
onSectionValidChange('significantControl', $event)
|
|
85045
|
+
"
|
|
85046
|
+
/>
|
|
85047
|
+
</div>
|
|
85048
|
+
</expandable-list-card>
|
|
85049
|
+
}
|
|
85050
|
+
}
|
|
85051
|
+
|
|
85052
|
+
@let inviteDirectorToBeFullAccessManager =
|
|
85053
|
+
getFormGroup(groups.InviteDirectorToBeFullAccessManager);
|
|
85054
|
+
@if (inviteDirectorToBeFullAccessManager) {
|
|
85055
|
+
<expandable-card
|
|
85056
|
+
[isValid]="sectionValidity['inviteDirector']"
|
|
85057
|
+
[title]="groups.InviteDirectorToBeFullAccessManager"
|
|
85058
|
+
>
|
|
85059
|
+
<filing-form-group
|
|
85060
|
+
[isSubmitted]="isSubmitted()"
|
|
85061
|
+
[form]="inviteDirectorToBeFullAccessManager"
|
|
85062
|
+
[config]="federalFormationFormInviteDirectorsToBeManagersControl"
|
|
85063
|
+
(visiblyValidChange)="onSectionValidChange('inviteDirector', $event)"
|
|
85064
|
+
/>
|
|
85065
|
+
</expandable-card>
|
|
85066
|
+
}
|
|
85067
|
+
|
|
85068
|
+
@let extraProvincialLicensesArray =
|
|
85069
|
+
getFormArray(groups.ExtraProvincialRegistrations);
|
|
85070
|
+
@let extraProvincialLicensesControlsLength =
|
|
85071
|
+
extraProvincialLicensesArray?.length;
|
|
85072
|
+
|
|
85073
|
+
@if (extraProvincialLicensesControlsLength) {
|
|
85074
|
+
<expandable-list-card
|
|
85075
|
+
[areItemsOpen]="extraProvincialLicensesControlsLength === 1"
|
|
85076
|
+
[isValid]="sectionValidity['epl']"
|
|
85077
|
+
[isSubmitted]="isSubmitted()"
|
|
85078
|
+
[isStatusIcon]="isStatusIcon()"
|
|
85079
|
+
[fields]="extraProvincialLicensesFields"
|
|
85080
|
+
[formArray]="extraProvincialLicensesArray"
|
|
85081
|
+
[title]="groups.ExtraProvincialRegistrations"
|
|
85082
|
+
(visiblyValidChange)="onSectionValidChange('epl', $event)"
|
|
85083
|
+
/>
|
|
85084
|
+
}
|
|
85085
|
+
|
|
85086
|
+
@let contactForm = getFormGroup(groups.Contact);
|
|
85087
|
+
@if (contactForm) {
|
|
85088
|
+
<expandable-card
|
|
85089
|
+
[isStatusIcon]="isStatusIcon()"
|
|
85090
|
+
[isValid]="sectionValidity['contact']"
|
|
85091
|
+
[title]="groups.Contact"
|
|
85092
|
+
>
|
|
85093
|
+
<filing-form-group
|
|
85094
|
+
[isSubmitted]="isSubmitted()"
|
|
85095
|
+
[form]="contactForm"
|
|
85096
|
+
[config]="contactControl"
|
|
85097
|
+
(visiblyValidChange)="onSectionValidChange('contact', $event)"
|
|
85098
|
+
/>
|
|
85099
|
+
</expandable-card>
|
|
85100
|
+
}
|
|
85101
|
+
|
|
85102
|
+
<ng-content></ng-content>
|
|
85103
|
+
</div>
|
|
85104
|
+
</div>
|
|
85056
85105
|
`, styles: ["/* src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-form {\n display: flex;\n height: 100%;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow: auto;\n min-height: 0;\n}\n:host .incorporation-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form .significant-control {\n padding: 0 16px;\n}\n:host .incorporators-list {\n margin: 8px;\n padding-inline-start: 25px;\n}\n/*# sourceMappingURL=federal-incorporation-form.component.css.map */\n"] }]
|
|
85057
85106
|
}], () => [], null);
|
|
85058
85107
|
})();
|
|
@@ -85174,39 +85223,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85174
85223
|
MatButton,
|
|
85175
85224
|
TranslatePipe,
|
|
85176
85225
|
FederalIncorporationFormComponent
|
|
85177
|
-
], template: `<div class="incorporation-delta-form"
|
|
85178
|
-
<federal-incorporation-form
|
|
85179
|
-
class="incorporation-delta-form-content"
|
|
85180
|
-
[form]="form()"
|
|
85181
|
-
[task]="task()"
|
|
85182
|
-
[errors]="combinedErrors()"
|
|
85183
|
-
[isNote]="isNote()"
|
|
85184
|
-
[isSubmitted]="submitted()"
|
|
85185
|
-
[documents]="documents()"
|
|
85186
|
-
[selectedDocuments]="selectedDocuments()"
|
|
85187
|
-
(addDocuments)="addDocuments.emit($event)"
|
|
85188
|
-
(removeDocument)="removeDocument.emit($event)"
|
|
85189
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
85190
|
-
|
|
85191
|
-
|
|
85192
|
-
<div class="incorporation-delta-form-actions"
|
|
85193
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
85194
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
85195
|
-
</button
|
|
85196
|
-
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button
|
|
85197
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span
|
|
85198
|
-
</button
|
|
85199
|
-
<button
|
|
85200
|
-
class="submit"
|
|
85201
|
-
color="primary"
|
|
85202
|
-
mat-flat-button
|
|
85203
|
-
[disabled]="actionsDisabled()"
|
|
85204
|
-
(click)="onValidate()"
|
|
85205
|
-
|
|
85206
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span
|
|
85207
|
-
</button
|
|
85208
|
-
</div
|
|
85209
|
-
</div
|
|
85226
|
+
], template: `<div class="incorporation-delta-form">
|
|
85227
|
+
<federal-incorporation-form
|
|
85228
|
+
class="incorporation-delta-form-content"
|
|
85229
|
+
[form]="form()"
|
|
85230
|
+
[task]="task()"
|
|
85231
|
+
[errors]="combinedErrors()"
|
|
85232
|
+
[isNote]="isNote()"
|
|
85233
|
+
[isSubmitted]="submitted()"
|
|
85234
|
+
[documents]="documents()"
|
|
85235
|
+
[selectedDocuments]="selectedDocuments()"
|
|
85236
|
+
(addDocuments)="addDocuments.emit($event)"
|
|
85237
|
+
(removeDocument)="removeDocument.emit($event)"
|
|
85238
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
85239
|
+
/>
|
|
85240
|
+
|
|
85241
|
+
<div class="incorporation-delta-form-actions">
|
|
85242
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
85243
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
85244
|
+
</button>
|
|
85245
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
|
|
85246
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
|
|
85247
|
+
</button>
|
|
85248
|
+
<button
|
|
85249
|
+
class="submit"
|
|
85250
|
+
color="primary"
|
|
85251
|
+
mat-flat-button
|
|
85252
|
+
[disabled]="actionsDisabled()"
|
|
85253
|
+
(click)="onValidate()"
|
|
85254
|
+
>
|
|
85255
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
|
|
85256
|
+
</button>
|
|
85257
|
+
</div>
|
|
85258
|
+
</div>
|
|
85210
85259
|
`, styles: ["/* src/app/components/federal/incorporation/steps/delta/federal-incorporation-delta-form.component.scss */\n:host .incorporation-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .incorporation-delta-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n overflow: auto;\n}\n:host .incorporation-delta-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-delta-form-errors {\n padding: 0 16px;\n}\n:host .incorporation-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 .incorporation-delta-form-actions button {\n margin: 0;\n}\n:host .incorporation-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=federal-incorporation-delta-form.component.css.map */\n"] }]
|
|
85211
85260
|
}], null, null);
|
|
85212
85261
|
})();
|
|
@@ -85325,39 +85374,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85325
85374
|
FederalIncorporationFormComponent,
|
|
85326
85375
|
ExpandableCardComponent,
|
|
85327
85376
|
FilingFormGroupComponent
|
|
85328
|
-
], template: `<div class="incorporation-delta-form"
|
|
85329
|
-
<federal-incorporation-form
|
|
85330
|
-
class="incorporation-delta-form-content"
|
|
85331
|
-
[form]="form()"
|
|
85332
|
-
[task]="task()"
|
|
85333
|
-
[errors]="errors()"
|
|
85334
|
-
[selectedDocuments]="selectedDocuments()"
|
|
85335
|
-
[isStatusIcon]="false"
|
|
85336
|
-
[isReadonly]="true"
|
|
85337
|
-
|
|
85338
|
-
@let signatoryInformation = getFormGroup(groups.Signatory)
|
|
85339
|
-
|
|
85340
|
-
<expandable-card [isExpandable]="false"
|
|
85341
|
-
<filing-form-group [isSubmitted]="true" [form]="signatoryInformation" [config]="signatoryFields"
|
|
85342
|
-
</expandable-card
|
|
85343
|
-
|
|
85344
|
-
</federal-incorporation-form
|
|
85345
|
-
|
|
85346
|
-
<div class="incorporation-delta-form-actions"
|
|
85347
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
85348
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
85349
|
-
</button
|
|
85350
|
-
<button
|
|
85351
|
-
class="submit"
|
|
85352
|
-
color="primary"
|
|
85353
|
-
mat-flat-button
|
|
85354
|
-
[disabled]="actionsDisabled() || !getFormGroup(groups.Signatory).get(controls.Signatory)?.value"
|
|
85355
|
-
(click)="file.emit()"
|
|
85356
|
-
|
|
85357
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span
|
|
85358
|
-
</button
|
|
85359
|
-
</div
|
|
85360
|
-
</div
|
|
85377
|
+
], template: `<div class="incorporation-delta-form">
|
|
85378
|
+
<federal-incorporation-form
|
|
85379
|
+
class="incorporation-delta-form-content"
|
|
85380
|
+
[form]="form()"
|
|
85381
|
+
[task]="task()"
|
|
85382
|
+
[errors]="errors()"
|
|
85383
|
+
[selectedDocuments]="selectedDocuments()"
|
|
85384
|
+
[isStatusIcon]="false"
|
|
85385
|
+
[isReadonly]="true"
|
|
85386
|
+
>
|
|
85387
|
+
@let signatoryInformation = getFormGroup(groups.Signatory);
|
|
85388
|
+
|
|
85389
|
+
<expandable-card [isExpandable]="false">
|
|
85390
|
+
<filing-form-group [isSubmitted]="true" [form]="signatoryInformation" [config]="signatoryFields"/>
|
|
85391
|
+
</expandable-card>
|
|
85392
|
+
|
|
85393
|
+
</federal-incorporation-form>
|
|
85394
|
+
|
|
85395
|
+
<div class="incorporation-delta-form-actions">
|
|
85396
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
85397
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
85398
|
+
</button>
|
|
85399
|
+
<button
|
|
85400
|
+
class="submit"
|
|
85401
|
+
color="primary"
|
|
85402
|
+
mat-flat-button
|
|
85403
|
+
[disabled]="actionsDisabled() || !getFormGroup(groups.Signatory).get(controls.Signatory)?.value"
|
|
85404
|
+
(click)="file.emit()"
|
|
85405
|
+
>
|
|
85406
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>
|
|
85407
|
+
</button>
|
|
85408
|
+
</div>
|
|
85409
|
+
</div>
|
|
85361
85410
|
`, styles: ["/* src/app/components/federal/incorporation/steps/preview/federal-incorporation-preview-form.component.scss */\n:host .incorporation-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .incorporation-delta-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n overflow: auto;\n}\n:host .incorporation-delta-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-delta-form-errors {\n padding: 0 16px;\n}\n:host .incorporation-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 .incorporation-delta-form-actions button {\n margin: 0;\n}\n/*# sourceMappingURL=federal-incorporation-preview-form.component.css.map */\n"] }]
|
|
85362
85411
|
}], () => [], null);
|
|
85363
85412
|
})();
|
|
@@ -85989,139 +86038,139 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85989
86038
|
ReactiveFormsModule,
|
|
85990
86039
|
MatButton,
|
|
85991
86040
|
TranslatePipe
|
|
85992
|
-
], template: `<div class="federal-update-maintain-form"
|
|
85993
|
-
@if (isNote()) {
|
|
85994
|
-
<alert
|
|
85995
|
-
[type]="alertType.Info"
|
|
85996
|
-
title="Entity changed"
|
|
85997
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
85998
|
-
|
|
85999
|
-
}
|
|
86000
|
-
|
|
86001
|
-
@if (errors().length) {
|
|
86002
|
-
<alert
|
|
86003
|
-
title="The following issues need to be resolved before proceeding:"
|
|
86004
|
-
[content]="errors()"
|
|
86005
|
-
|
|
86006
|
-
}
|
|
86007
|
-
|
|
86008
|
-
<div class="federal-update-maintain-form-content"
|
|
86009
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails)
|
|
86010
|
-
@if (corporationDetails) {
|
|
86011
|
-
<expandable-card
|
|
86012
|
-
[isValid]="sectionValidity['corporationDetails']"
|
|
86013
|
-
[title]="groups.CorporationDetails"
|
|
86014
|
-
|
|
86015
|
-
<filing-form-group
|
|
86016
|
-
[isSubmitted]="isSubmitted()"
|
|
86017
|
-
[form]="corporationDetails"
|
|
86018
|
-
[config]="corporationDetailsFields"
|
|
86019
|
-
(visiblyValidChange)="
|
|
86020
|
-
onSectionValidChange('corporationDetails', $event)
|
|
86021
|
-
"
|
|
86022
|
-
|
|
86023
|
-
</expandable-card
|
|
86024
|
-
}
|
|
86025
|
-
|
|
86026
|
-
@let directorsArray = getFormArray(groups.Directors)
|
|
86027
|
-
@if (directorsArray && directorsArray.length) {
|
|
86028
|
-
<expandable-list-card
|
|
86029
|
-
[isValid]="sectionValidity['directors']"
|
|
86030
|
-
[isSubmitted]="isSubmitted()"
|
|
86031
|
-
[fields]="directorsFields"
|
|
86032
|
-
[formArray]="directorsArray"
|
|
86033
|
-
[labelKey]="controls.AffiliationName"
|
|
86034
|
-
[title]="groups.Directors"
|
|
86035
|
-
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
86036
|
-
|
|
86037
|
-
} @else {
|
|
86038
|
-
<expandable-card [title]="groups.Directors"
|
|
86039
|
-
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2
|
|
86040
|
-
</expandable-card
|
|
86041
|
-
}
|
|
86042
|
-
|
|
86043
|
-
@let annualReturn = getFormGroup(groups.AnnualReturn)
|
|
86044
|
-
@if (annualReturn) {
|
|
86045
|
-
<expandable-card
|
|
86046
|
-
[isValid]="sectionValidity['annualReturn']"
|
|
86047
|
-
[title]="groups.AnnualReturn"
|
|
86048
|
-
|
|
86049
|
-
<filing-form-group
|
|
86050
|
-
[isSubmitted]="isSubmitted()"
|
|
86051
|
-
[form]="annualReturn"
|
|
86052
|
-
[config]="annualReturnFields"
|
|
86053
|
-
(visiblyValidChange)="onSectionValidChange('annualReturn', $event)"
|
|
86054
|
-
|
|
86055
|
-
</expandable-card
|
|
86056
|
-
}
|
|
86057
|
-
|
|
86058
|
-
@let significantControl = getFormGroup(groups.SignificantControl)
|
|
86059
|
-
@if (significantControl) {
|
|
86060
|
-
@let individualsArray
|
|
86061
|
-
getFormArray(groups.IndividualsWithSignificantControl)
|
|
86062
|
-
@if (individualsArray) {
|
|
86063
|
-
<expandable-list-card
|
|
86064
|
-
[areItemsOpen]="isIndividualsWithSignificantControlOpen()"
|
|
86065
|
-
[isValid]="
|
|
86066
|
-
sectionValidity['isc'] && sectionValidity['significantControl']
|
|
86067
|
-
"
|
|
86068
|
-
[isSubmitted]="isSubmitted()"
|
|
86069
|
-
[isStatusIcon]="true"
|
|
86070
|
-
[removable]="!readonly()"
|
|
86071
|
-
[fields]="individualsWithSignificantControlFields()"
|
|
86072
|
-
[formArray]="individualsArray"
|
|
86073
|
-
[labelKey]="controls.AffiliationName"
|
|
86074
|
-
[title]="groups.IndividualsWithSignificantControl"
|
|
86075
|
-
(remove)="onRemoveIndividualWithSignificantForm($event)"
|
|
86076
|
-
(visiblyValidChange)="onSectionValidChange('isc', $event)"
|
|
86077
|
-
|
|
86078
|
-
@if (
|
|
86079
|
-
!readonly() && isAddIndividualWithSignificantControlAvailable()
|
|
86080
|
-
) {
|
|
86081
|
-
<button
|
|
86082
|
-
[disabled]="isAddIndividualWithSignificantControlDisabled()"
|
|
86083
|
-
slot="subtitle"
|
|
86084
|
-
mat-stroked-button
|
|
86085
|
-
mat-button
|
|
86086
|
-
(click)="addIndividualWithSignificantControl()"
|
|
86087
|
-
|
|
86088
|
-
<span class="body-1-semibold">{{
|
|
86089
|
-
"Add Individuals With Significant Control" | translate
|
|
86090
|
-
}}</span
|
|
86091
|
-
</button
|
|
86092
|
-
}
|
|
86093
|
-
|
|
86094
|
-
<div class="card-header-content" slot="header-content"
|
|
86095
|
-
<filing-form-group
|
|
86096
|
-
[isSubmitted]="isSubmitted()"
|
|
86097
|
-
[form]="significantControl"
|
|
86098
|
-
[config]="significantControlFields"
|
|
86099
|
-
(visiblyValidChange)="
|
|
86100
|
-
onSectionValidChange('significantControl', $event)
|
|
86101
|
-
"
|
|
86102
|
-
|
|
86103
|
-
</div
|
|
86104
|
-
</expandable-list-card
|
|
86105
|
-
}
|
|
86106
|
-
}
|
|
86107
|
-
|
|
86108
|
-
@let contact = getFormGroup(groups.Contact)
|
|
86109
|
-
@if (contact) {
|
|
86110
|
-
<expandable-card
|
|
86111
|
-
[isStatusIcon]="!readonly()"
|
|
86112
|
-
[isValid]="sectionValidity['contact']"
|
|
86113
|
-
[title]="groups.Contact"
|
|
86114
|
-
|
|
86115
|
-
<filing-form-group
|
|
86116
|
-
[isSubmitted]="isSubmitted()"
|
|
86117
|
-
[form]="contact"
|
|
86118
|
-
[config]="contactControl()"
|
|
86119
|
-
(visiblyValidChange)="onSectionValidChange('contact', $event)"
|
|
86120
|
-
|
|
86121
|
-
</expandable-card
|
|
86122
|
-
}
|
|
86123
|
-
</div
|
|
86124
|
-
</div
|
|
86041
|
+
], template: `<div class="federal-update-maintain-form">
|
|
86042
|
+
@if (isNote()) {
|
|
86043
|
+
<alert
|
|
86044
|
+
[type]="alertType.Info"
|
|
86045
|
+
title="Entity changed"
|
|
86046
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
86047
|
+
/>
|
|
86048
|
+
}
|
|
86049
|
+
|
|
86050
|
+
@if (errors().length) {
|
|
86051
|
+
<alert
|
|
86052
|
+
title="The following issues need to be resolved before proceeding:"
|
|
86053
|
+
[content]="errors()"
|
|
86054
|
+
/>
|
|
86055
|
+
}
|
|
86056
|
+
|
|
86057
|
+
<div class="federal-update-maintain-form-content">
|
|
86058
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);
|
|
86059
|
+
@if (corporationDetails) {
|
|
86060
|
+
<expandable-card
|
|
86061
|
+
[isValid]="sectionValidity['corporationDetails']"
|
|
86062
|
+
[title]="groups.CorporationDetails"
|
|
86063
|
+
>
|
|
86064
|
+
<filing-form-group
|
|
86065
|
+
[isSubmitted]="isSubmitted()"
|
|
86066
|
+
[form]="corporationDetails"
|
|
86067
|
+
[config]="corporationDetailsFields"
|
|
86068
|
+
(visiblyValidChange)="
|
|
86069
|
+
onSectionValidChange('corporationDetails', $event)
|
|
86070
|
+
"
|
|
86071
|
+
/>
|
|
86072
|
+
</expandable-card>
|
|
86073
|
+
}
|
|
86074
|
+
|
|
86075
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
86076
|
+
@if (directorsArray && directorsArray.length) {
|
|
86077
|
+
<expandable-list-card
|
|
86078
|
+
[isValid]="sectionValidity['directors']"
|
|
86079
|
+
[isSubmitted]="isSubmitted()"
|
|
86080
|
+
[fields]="directorsFields"
|
|
86081
|
+
[formArray]="directorsArray"
|
|
86082
|
+
[labelKey]="controls.AffiliationName"
|
|
86083
|
+
[title]="groups.Directors"
|
|
86084
|
+
(visiblyValidChange)="onSectionValidChange('directors', $event)"
|
|
86085
|
+
/>
|
|
86086
|
+
} @else {
|
|
86087
|
+
<expandable-card [title]="groups.Directors">
|
|
86088
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
86089
|
+
</expandable-card>
|
|
86090
|
+
}
|
|
86091
|
+
|
|
86092
|
+
@let annualReturn = getFormGroup(groups.AnnualReturn);
|
|
86093
|
+
@if (annualReturn) {
|
|
86094
|
+
<expandable-card
|
|
86095
|
+
[isValid]="sectionValidity['annualReturn']"
|
|
86096
|
+
[title]="groups.AnnualReturn"
|
|
86097
|
+
>
|
|
86098
|
+
<filing-form-group
|
|
86099
|
+
[isSubmitted]="isSubmitted()"
|
|
86100
|
+
[form]="annualReturn"
|
|
86101
|
+
[config]="annualReturnFields"
|
|
86102
|
+
(visiblyValidChange)="onSectionValidChange('annualReturn', $event)"
|
|
86103
|
+
/>
|
|
86104
|
+
</expandable-card>
|
|
86105
|
+
}
|
|
86106
|
+
|
|
86107
|
+
@let significantControl = getFormGroup(groups.SignificantControl);
|
|
86108
|
+
@if (significantControl) {
|
|
86109
|
+
@let individualsArray =
|
|
86110
|
+
getFormArray(groups.IndividualsWithSignificantControl);
|
|
86111
|
+
@if (individualsArray) {
|
|
86112
|
+
<expandable-list-card
|
|
86113
|
+
[areItemsOpen]="isIndividualsWithSignificantControlOpen()"
|
|
86114
|
+
[isValid]="
|
|
86115
|
+
sectionValidity['isc'] && sectionValidity['significantControl']
|
|
86116
|
+
"
|
|
86117
|
+
[isSubmitted]="isSubmitted()"
|
|
86118
|
+
[isStatusIcon]="true"
|
|
86119
|
+
[removable]="!readonly()"
|
|
86120
|
+
[fields]="individualsWithSignificantControlFields()"
|
|
86121
|
+
[formArray]="individualsArray"
|
|
86122
|
+
[labelKey]="controls.AffiliationName"
|
|
86123
|
+
[title]="groups.IndividualsWithSignificantControl"
|
|
86124
|
+
(remove)="onRemoveIndividualWithSignificantForm($event)"
|
|
86125
|
+
(visiblyValidChange)="onSectionValidChange('isc', $event)"
|
|
86126
|
+
>
|
|
86127
|
+
@if (
|
|
86128
|
+
!readonly() && isAddIndividualWithSignificantControlAvailable()
|
|
86129
|
+
) {
|
|
86130
|
+
<button
|
|
86131
|
+
[disabled]="isAddIndividualWithSignificantControlDisabled()"
|
|
86132
|
+
slot="subtitle"
|
|
86133
|
+
mat-stroked-button
|
|
86134
|
+
mat-button
|
|
86135
|
+
(click)="addIndividualWithSignificantControl()"
|
|
86136
|
+
>
|
|
86137
|
+
<span class="body-1-semibold">{{
|
|
86138
|
+
"Add Individuals With Significant Control" | translate
|
|
86139
|
+
}}</span>
|
|
86140
|
+
</button>
|
|
86141
|
+
}
|
|
86142
|
+
|
|
86143
|
+
<div class="card-header-content" slot="header-content">
|
|
86144
|
+
<filing-form-group
|
|
86145
|
+
[isSubmitted]="isSubmitted()"
|
|
86146
|
+
[form]="significantControl"
|
|
86147
|
+
[config]="significantControlFields"
|
|
86148
|
+
(visiblyValidChange)="
|
|
86149
|
+
onSectionValidChange('significantControl', $event)
|
|
86150
|
+
"
|
|
86151
|
+
/>
|
|
86152
|
+
</div>
|
|
86153
|
+
</expandable-list-card>
|
|
86154
|
+
}
|
|
86155
|
+
}
|
|
86156
|
+
|
|
86157
|
+
@let contact = getFormGroup(groups.Contact);
|
|
86158
|
+
@if (contact) {
|
|
86159
|
+
<expandable-card
|
|
86160
|
+
[isStatusIcon]="!readonly()"
|
|
86161
|
+
[isValid]="sectionValidity['contact']"
|
|
86162
|
+
[title]="groups.Contact"
|
|
86163
|
+
>
|
|
86164
|
+
<filing-form-group
|
|
86165
|
+
[isSubmitted]="isSubmitted()"
|
|
86166
|
+
[form]="contact"
|
|
86167
|
+
[config]="contactControl()"
|
|
86168
|
+
(visiblyValidChange)="onSectionValidChange('contact', $event)"
|
|
86169
|
+
/>
|
|
86170
|
+
</expandable-card>
|
|
86171
|
+
}
|
|
86172
|
+
</div>
|
|
86173
|
+
</div>
|
|
86125
86174
|
`, styles: ["/* src/app/components/federal/update-maintain/update-maintain-form/update-maintain-form.component.scss */\n:host .federal-update-maintain-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n overflow-y: auto;\n}\n:host .federal-update-maintain-form-content {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .card-header-content {\n padding: 0 16px;\n}\n/*# sourceMappingURL=update-maintain-form.component.css.map */\n"] }]
|
|
86126
86175
|
}], () => [], null);
|
|
86127
86176
|
})();
|
|
@@ -86235,37 +86284,37 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86235
86284
|
MatButton,
|
|
86236
86285
|
TranslatePipe,
|
|
86237
86286
|
FederalUpdateMaintainFormComponent
|
|
86238
|
-
], template: `<div class="federal-update-maintain-delta-form"
|
|
86239
|
-
<federal-update-maintain-form
|
|
86240
|
-
class="federal-update-maintain-delta-form-content"
|
|
86241
|
-
[form]="form()"
|
|
86242
|
-
[task]="task()"
|
|
86243
|
-
[errors]="combinedErrors()"
|
|
86244
|
-
[isNote]="isNote()"
|
|
86245
|
-
[isSubmitted]="submitted()"
|
|
86246
|
-
[readonly]="false"
|
|
86247
|
-
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
86248
|
-
|
|
86249
|
-
|
|
86250
|
-
<div class="federal-update-maintain-delta-form-actions"
|
|
86251
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
86252
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
86253
|
-
</button
|
|
86254
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="save.emit()"
|
|
86255
|
-
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span
|
|
86256
|
-
</button
|
|
86257
|
-
<button
|
|
86258
|
-
class="submit"
|
|
86259
|
-
color="primary"
|
|
86260
|
-
mat-flat-button
|
|
86261
|
-
[disabled]="actionsDisabled()"
|
|
86262
|
-
(click)="onValidate()"
|
|
86263
|
-
|
|
86264
|
-
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span
|
|
86265
|
-
</button
|
|
86266
|
-
</div
|
|
86267
|
-
</div
|
|
86268
|
-
|
|
86287
|
+
], template: `<div class="federal-update-maintain-delta-form">
|
|
86288
|
+
<federal-update-maintain-form
|
|
86289
|
+
class="federal-update-maintain-delta-form-content"
|
|
86290
|
+
[form]="form()"
|
|
86291
|
+
[task]="task()"
|
|
86292
|
+
[errors]="combinedErrors()"
|
|
86293
|
+
[isNote]="isNote()"
|
|
86294
|
+
[isSubmitted]="submitted()"
|
|
86295
|
+
[readonly]="false"
|
|
86296
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"
|
|
86297
|
+
/>
|
|
86298
|
+
|
|
86299
|
+
<div class="federal-update-maintain-delta-form-actions">
|
|
86300
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
86301
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
86302
|
+
</button>
|
|
86303
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="save.emit()">
|
|
86304
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
|
|
86305
|
+
</button>
|
|
86306
|
+
<button
|
|
86307
|
+
class="submit"
|
|
86308
|
+
color="primary"
|
|
86309
|
+
mat-flat-button
|
|
86310
|
+
[disabled]="actionsDisabled()"
|
|
86311
|
+
(click)="onValidate()"
|
|
86312
|
+
>
|
|
86313
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
|
|
86314
|
+
</button>
|
|
86315
|
+
</div>
|
|
86316
|
+
</div>
|
|
86317
|
+
|
|
86269
86318
|
`, styles: ["/* src/app/components/federal/update-maintain/steps/delta/update-maintain-delta-form.component.scss */\n:host .federal-update-maintain-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .federal-update-maintain-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .federal-update-maintain-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 .federal-update-maintain-delta-form-actions button {\n margin: 0;\n}\n:host .federal-update-maintain-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=update-maintain-delta-form.component.css.map */\n"] }]
|
|
86270
86319
|
}], null, null);
|
|
86271
86320
|
})();
|
|
@@ -86340,32 +86389,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86340
86389
|
MatButton,
|
|
86341
86390
|
TranslatePipe,
|
|
86342
86391
|
FederalUpdateMaintainFormComponent
|
|
86343
|
-
], template: `<div class="federal-update-maintain-preview-form"
|
|
86344
|
-
<federal-update-maintain-form
|
|
86345
|
-
class="federal-update-maintain-preview-form-content"
|
|
86346
|
-
[form]="form()"
|
|
86347
|
-
[task]="task()"
|
|
86348
|
-
[errors]="errors()"
|
|
86349
|
-
[isSubmitted]="false"
|
|
86350
|
-
[readonly]="true"
|
|
86351
|
-
|
|
86352
|
-
|
|
86353
|
-
<div class="federal-update-maintain-preview-form-actions"
|
|
86354
|
-
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()"
|
|
86355
|
-
<span class="body-1-semibold">{{ 'Close' | translate }}</span
|
|
86356
|
-
</button
|
|
86357
|
-
<button
|
|
86358
|
-
class="submit"
|
|
86359
|
-
color="primary"
|
|
86360
|
-
mat-flat-button
|
|
86361
|
-
[disabled]="actionsDisabled()"
|
|
86362
|
-
(click)="file.emit()"
|
|
86363
|
-
|
|
86364
|
-
<span class="body-1-semibold">{{ 'File' | translate }}</span
|
|
86365
|
-
</button
|
|
86366
|
-
</div
|
|
86367
|
-
</div
|
|
86368
|
-
|
|
86392
|
+
], template: `<div class="federal-update-maintain-preview-form">
|
|
86393
|
+
<federal-update-maintain-form
|
|
86394
|
+
class="federal-update-maintain-preview-form-content"
|
|
86395
|
+
[form]="form()"
|
|
86396
|
+
[task]="task()"
|
|
86397
|
+
[errors]="errors()"
|
|
86398
|
+
[isSubmitted]="false"
|
|
86399
|
+
[readonly]="true"
|
|
86400
|
+
/>
|
|
86401
|
+
|
|
86402
|
+
<div class="federal-update-maintain-preview-form-actions">
|
|
86403
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
|
|
86404
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>
|
|
86405
|
+
</button>
|
|
86406
|
+
<button
|
|
86407
|
+
class="submit"
|
|
86408
|
+
color="primary"
|
|
86409
|
+
mat-flat-button
|
|
86410
|
+
[disabled]="actionsDisabled()"
|
|
86411
|
+
(click)="file.emit()"
|
|
86412
|
+
>
|
|
86413
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>
|
|
86414
|
+
</button>
|
|
86415
|
+
</div>
|
|
86416
|
+
</div>
|
|
86417
|
+
|
|
86369
86418
|
`, styles: ["/* src/app/components/federal/update-maintain/steps/preview/update-maintain-preview-form.component.scss */\n:host .federal-update-maintain-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .federal-update-maintain-preview-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .federal-update-maintain-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 .federal-update-maintain-preview-form-actions button {\n margin: 0;\n}\n:host .federal-update-maintain-preview-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=update-maintain-preview-form.component.css.map */\n"] }]
|
|
86370
86419
|
}], null, null);
|
|
86371
86420
|
})();
|
|
@@ -86786,7 +86835,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86786
86835
|
FederalIncorporationPreviewFormComponent,
|
|
86787
86836
|
FederalUpdateMaintainDeltaFormComponent,
|
|
86788
86837
|
FederalUpdateMaintainPreviewFormComponent
|
|
86789
|
-
], template: '@let currentTask = task();\
|
|
86838
|
+
], template: '@let currentTask = task();\n\n@if (currentTask) {\n @if (isFormationTask(currentTask)) {\n @if (activeStep() === steps.Validate) {\n <federal-incorporation-delta-form\n [documents]="documents"\n [selectedDocuments]="selectedDocuments()"\n (addDocuments)="onAddDocuments($event)"\n (removeDocument)="onRemoveDocument($event)"\n (close)="onClose()"\n (validate)="onValidate()"\n (save)="onSave()"\n [task]="currentTask"\n [errors]="errors()"\n [actionsDisabled]="actionsDisabled()"\n [isNote]="isNote()"\n [form]="deltaForm()"\n />\n\n } @else if (activeStep() === steps.FilingPreview) {\n <federal-incorporation-preview-form (close)="close.emit()" (file)="onFile()" [task]="currentTask"\n [errors]="errors()"\n [actionsDisabled]="actionsDisabled()" [form]="previewForm()"\n [selectedDocuments]="selectedDocuments()"/>\n }\n }\n\n @if (isUpdateMaintainTask(currentTask)) {\n @if (activeStep() === steps.Validate) {\n <federal-update-maintain-delta-form\n [task]="$any(currentTask)"\n [form]="umDeltaForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n [isNote]="isNote()"\n (validate)="onUmValidate()"\n (close)="onClose()"\n (save)="onUmSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <federal-update-maintain-preview-form\n [task]="$any(currentTask)"\n [form]="umPreviewForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n (close)="close.emit()"\n (file)="onUmSubmit()"\n />\n }\n }\n}\n\n\n\n\n\n', styles: ["/* src/app/components/federal/federal.component.scss */\n:host .federal {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n/*# sourceMappingURL=federal.component.css.map */\n"] }]
|
|
86790
86839
|
}], () => [], null);
|
|
86791
86840
|
})();
|
|
86792
86841
|
(() => {
|
|
@@ -88943,7 +88992,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88943
88992
|
this.activeStep.set(Step.Validate);
|
|
88944
88993
|
}
|
|
88945
88994
|
parseError(errors) {
|
|
88946
|
-
return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? "").toString());
|
|
88995
|
+
return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? "").toString().trim()).filter((message) => message.length > 0);
|
|
88947
88996
|
}
|
|
88948
88997
|
/**
|
|
88949
88998
|
* Checks a successful response for validation errors.
|
|
@@ -88962,9 +89011,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88962
89011
|
*/
|
|
88963
89012
|
handleCatchError(response) {
|
|
88964
89013
|
console.error(response);
|
|
88965
|
-
|
|
88966
|
-
|
|
88967
|
-
|
|
89014
|
+
const validateErrors = response?.validateResult?.["Errors"];
|
|
89015
|
+
if (validateErrors?.length) {
|
|
89016
|
+
const messages = this.parseError(validateErrors);
|
|
89017
|
+
if (messages.length) {
|
|
89018
|
+
this.errors.set(messages);
|
|
89019
|
+
return;
|
|
89020
|
+
}
|
|
88968
89021
|
}
|
|
88969
89022
|
let parsed = response;
|
|
88970
89023
|
try {
|
|
@@ -89135,73 +89188,73 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
89135
89188
|
OntarioComponent
|
|
89136
89189
|
], encapsulation: ViewEncapsulation.ShadowDom, host: {
|
|
89137
89190
|
"[style.height]": "modalHeight()"
|
|
89138
|
-
}, template: `<div class="filing"
|
|
89139
|
-
<div class="filing-title"
|
|
89140
|
-
<h1 class="filing-title-text">{{title() | translate}}</h1
|
|
89141
|
-
<mat-icon (click)="onClose()" class="filing-title-action">close</mat-icon
|
|
89142
|
-
</div
|
|
89143
|
-
|
|
89144
|
-
@if (isEditButton()) {
|
|
89145
|
-
<div class="filing-header"
|
|
89146
|
-
<button
|
|
89147
|
-
mat-stroked-button
|
|
89148
|
-
[disabled]="isLoading()"
|
|
89149
|
-
(click)="onEditClick()"
|
|
89150
|
-
|
|
89151
|
-
{{ 'Edit' | translate }}
|
|
89152
|
-
</button
|
|
89153
|
-
</div
|
|
89154
|
-
}
|
|
89155
|
-
|
|
89156
|
-
<div [class.edit]="isEditButton()" class="filing-content"
|
|
89157
|
-
@let currentTask = task()
|
|
89158
|
-
|
|
89159
|
-
@if (currentTask) {
|
|
89160
|
-
@if (isOntarioTask(currentTask)) {
|
|
89161
|
-
<ontario
|
|
89162
|
-
[task]="currentTask"
|
|
89163
|
-
[activeStep]="activeStep()"
|
|
89164
|
-
[isNote]="dataWasChanged()"
|
|
89165
|
-
[actionsDisabled]="isLoading()"
|
|
89166
|
-
[errors]="errors()"
|
|
89167
|
-
[prevData]="prevData()"
|
|
89168
|
-
(close)="close.emit()"
|
|
89169
|
-
(formationValidate)="onOntarioFormationValidate($event)"
|
|
89170
|
-
(saveFormationDeltaData)="onOntarioFormationSave($event)"
|
|
89171
|
-
(formationSubmit)="onOntarioFormationSubmit()"
|
|
89172
|
-
(nextStep)="onNextStepClick()"
|
|
89173
|
-
(prevStep)="onOntarioPrevStep()"
|
|
89174
|
-
[irValidationConfig]="validationConfig()"
|
|
89175
|
-
(irValidate)="validateAndFileInitialReturnTask($event)"
|
|
89176
|
-
(saveIrDeltaData)="onOntarioUpdateMaintainSave($event)"
|
|
89177
|
-
(irSubmit)="onInitialReturnSubmit()"
|
|
89178
|
-
|
|
89179
|
-
} @else {
|
|
89180
|
-
<federal
|
|
89181
|
-
[actionsDisabled]="isLoading()"
|
|
89182
|
-
[isNote]="dataWasChanged()"
|
|
89183
|
-
[activeStep]="activeStep()"
|
|
89184
|
-
[task]="currentTask"
|
|
89185
|
-
[errors]="errors()"
|
|
89186
|
-
(close)="close.emit()"
|
|
89187
|
-
(deltaDataChange)="onFederalFormationSave($event)"
|
|
89188
|
-
(file)="onFederalFormationSubmit()"
|
|
89189
|
-
(validate)="onFederalValidate($event)"
|
|
89190
|
-
(umSave)="onFederalUpdateMaintainSave($event)"
|
|
89191
|
-
(umValidate)="onFederalUpdateMaintainValidate($event)"
|
|
89192
|
-
(umSubmit)="onFederalUpdateMaintainSubmit()"
|
|
89193
|
-
(nextStep)="defineInitialStep()"
|
|
89194
|
-
|
|
89195
|
-
}
|
|
89196
|
-
}
|
|
89197
|
-
|
|
89198
|
-
@if (isLoading()) {
|
|
89199
|
-
<div class="filing-content-loading"
|
|
89200
|
-
<mat-spinner [diameter]="40"
|
|
89201
|
-
</div
|
|
89202
|
-
}
|
|
89203
|
-
</div
|
|
89204
|
-
</div
|
|
89191
|
+
}, template: `<div class="filing">
|
|
89192
|
+
<div class="filing-title">
|
|
89193
|
+
<h1 class="filing-title-text">{{title() | translate}}</h1>
|
|
89194
|
+
<mat-icon (click)="onClose()" class="filing-title-action">close</mat-icon>
|
|
89195
|
+
</div>
|
|
89196
|
+
|
|
89197
|
+
@if (isEditButton()) {
|
|
89198
|
+
<div class="filing-header">
|
|
89199
|
+
<button
|
|
89200
|
+
mat-stroked-button
|
|
89201
|
+
[disabled]="isLoading()"
|
|
89202
|
+
(click)="onEditClick()"
|
|
89203
|
+
>
|
|
89204
|
+
{{ 'Edit' | translate }}
|
|
89205
|
+
</button>
|
|
89206
|
+
</div>
|
|
89207
|
+
}
|
|
89208
|
+
|
|
89209
|
+
<div [class.edit]="isEditButton()" class="filing-content">
|
|
89210
|
+
@let currentTask = task();
|
|
89211
|
+
|
|
89212
|
+
@if (currentTask) {
|
|
89213
|
+
@if (isOntarioTask(currentTask)) {
|
|
89214
|
+
<ontario
|
|
89215
|
+
[task]="currentTask"
|
|
89216
|
+
[activeStep]="activeStep()"
|
|
89217
|
+
[isNote]="dataWasChanged()"
|
|
89218
|
+
[actionsDisabled]="isLoading()"
|
|
89219
|
+
[errors]="errors()"
|
|
89220
|
+
[prevData]="prevData()"
|
|
89221
|
+
(close)="close.emit()"
|
|
89222
|
+
(formationValidate)="onOntarioFormationValidate($event)"
|
|
89223
|
+
(saveFormationDeltaData)="onOntarioFormationSave($event)"
|
|
89224
|
+
(formationSubmit)="onOntarioFormationSubmit()"
|
|
89225
|
+
(nextStep)="onNextStepClick()"
|
|
89226
|
+
(prevStep)="onOntarioPrevStep()"
|
|
89227
|
+
[irValidationConfig]="validationConfig()"
|
|
89228
|
+
(irValidate)="validateAndFileInitialReturnTask($event)"
|
|
89229
|
+
(saveIrDeltaData)="onOntarioUpdateMaintainSave($event)"
|
|
89230
|
+
(irSubmit)="onInitialReturnSubmit()"
|
|
89231
|
+
/>
|
|
89232
|
+
} @else {
|
|
89233
|
+
<federal
|
|
89234
|
+
[actionsDisabled]="isLoading()"
|
|
89235
|
+
[isNote]="dataWasChanged()"
|
|
89236
|
+
[activeStep]="activeStep()"
|
|
89237
|
+
[task]="currentTask"
|
|
89238
|
+
[errors]="errors()"
|
|
89239
|
+
(close)="close.emit()"
|
|
89240
|
+
(deltaDataChange)="onFederalFormationSave($event)"
|
|
89241
|
+
(file)="onFederalFormationSubmit()"
|
|
89242
|
+
(validate)="onFederalValidate($event)"
|
|
89243
|
+
(umSave)="onFederalUpdateMaintainSave($event)"
|
|
89244
|
+
(umValidate)="onFederalUpdateMaintainValidate($event)"
|
|
89245
|
+
(umSubmit)="onFederalUpdateMaintainSubmit()"
|
|
89246
|
+
(nextStep)="defineInitialStep()"
|
|
89247
|
+
/>
|
|
89248
|
+
}
|
|
89249
|
+
}
|
|
89250
|
+
|
|
89251
|
+
@if (isLoading()) {
|
|
89252
|
+
<div class="filing-content-loading">
|
|
89253
|
+
<mat-spinner [diameter]="40" />
|
|
89254
|
+
</div>
|
|
89255
|
+
}
|
|
89256
|
+
</div>
|
|
89257
|
+
</div>
|
|
89205
89258
|
`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n}\n:host .filing {\n position: relative;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\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 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'] }]
|
|
89206
89259
|
}], () => [], null);
|
|
89207
89260
|
})();
|