@dyedurham/search-and-file-widget 1.6.19 → 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.
Files changed (2) hide show
  1. package/dnd-filing-shell.js +1549 -1502
  2. package/package.json +1 -1
@@ -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 eCorePayload = __spreadProps(__spreadValues({
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.UnitType)?.setValue(suite ? ECoreCanadianUnitType.UNIT : "", { emitEvent: false });
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?.unitType ?? "", requiredIf(IRFormControls.UnitType)),
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()}}">\r\n <span class="body-1-semibold">{{title() | translate}}</span>\r\n</div>\r\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"] }]
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">\r
63111
- <div (click)="toggle()" class="expandable-card-header">\r
63112
- <h2 [class.list-item]="isListItem()" class="expandable-card-header-title">{{title() | translate}}\r
63113
- @if (role()) {\r
63114
- <span>({{role()}})</span>\r
63115
- }\r
63116
- </h2>\r
63117
- <div [class.list-item]="isListItem()" class="expandable-card-header-container">\r
63118
- @if (isStatusIcon()) {\r
63119
- @if (!isValid()) {\r
63120
- <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>\r
63121
- }\r
63122
- }\r
63123
- \r
63124
- @if(chipType()) {\r
63125
- <chip [type]="chipType()" [title]="chipText()"/>\r
63126
- }\r
63127
- \r
63128
- @if (isExpandable()) {\r
63129
- <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>\r
63130
- }\r
63131
- </div>\r
63132
- </div>\r
63133
- \r
63134
- <div class="expandable-card-content"\r
63135
- [@expandCollapse]="isExpanded()">\r
63136
- <div class="expandable-card-content-item">\r
63137
- <ng-content></ng-content>\r
63138
- \r
63139
- @if (removable()) {\r
63140
- <div class="expandable-card-content-item-actions">\r
63141
- <span (click)="remove.emit()" class="body-1-regular light-blue pointer">{{'Remove' | translate}}</span>\r
63142
- </div>\r
63143
- }\r
63144
- \r
63145
- \r
63146
- </div>\r
63147
- </div>\r
63148
- </div>\r
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">\r\n <input\r\n matInput\r\n [formControl]="control()"\r\n [placeholder]="placeholder()"\r\n [required]="required()"\r\n [matAutocomplete]="auto"\r\n />\r\n\r\n <mat-autocomplete #auto="matAutocomplete">\r\n @for (option of filteredOptions(); track option) {\r\n <mat-option [value]="option.value">\r\n {{ option.label }}\r\n </mat-option>\r\n }\r\n </mat-autocomplete>\r\n</mat-form-field>\r\n' }]
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">\r\n <div class="body-1-regular grey">{{ title() }}</div>\r\n\r\n @for (item of items(); track item.value) {\r\n <label class="checkbox-list-item">\r\n <mat-checkbox\r\n [checked]="isChecked(item.value)"\r\n [disabled]="disabled"\r\n (change)="toggle(item.value)"\r\n >\r\n <span class="body-1-regular grey">{{ item.label }}</span>\r\n </mat-checkbox>\r\n </label>\r\n }\r\n</div>\r\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"] }]
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 this.translateService.instant(staticOpt.label);
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 this.translateService.instant(dynOpt.label);
79211
+ return translate(dynOpt.label);
79163
79212
  }
79164
- return this.translateService.instant(String(value));
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();\r
79269
- @let form = this.form();\r
79270
- \r
79271
- <section>\r
79272
- <div [class.submitted]="isSubmitted()" class="filling-form-fields" [formGroup]="form">\r
79273
- @for (field of fields; track field.formControlName + $index; let last = $last) {\r
79274
- @if (!field.isVisible || field.isVisible(form)) {\r
79275
- @let previousValue = validationConfig()?.[field.formControlName];\r
79276
- \r
79277
- @switch (field.type) {\r
79278
- @case (types.Select) {\r
79279
- <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">\r
79280
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;\r
79281
- @if (label) {\r
79282
- <span class="filling-form-fields-item-label body-1-regular">\r
79283
- {{ (label | translate) + (field.required ? " *" : "") }}\r
79284
- </span>\r
79285
- }\r
79286
- <mat-form-field appearance="outline">\r
79287
- @let control = form.get(field.formControlName);\r
79288
- \r
79289
- <input\r
79290
- matInput\r
79291
- [formControlName]="field.formControlName"\r
79292
- [matAutocomplete]="autocompleteRef"\r
79293
- (change)="field.onChange && field.onChange(form)"\r
79294
- />\r
79295
- \r
79296
- <mat-autocomplete\r
79297
- #autocompleteRef="matAutocomplete"\r
79298
- [displayWith]="getDisplayFn(field)"\r
79299
- (optionSelected)="field.onChange && field.onChange(form)"\r
79300
- >\r
79301
- @for (option of getFilteredOptions(field); track option.value) {\r
79302
- <mat-option\r
79303
- class="filing-form-group-select-option"\r
79304
- [value]="option.value"\r
79305
- >\r
79306
- {{ option.label | translate }}\r
79307
- </mat-option>\r
79308
- }\r
79309
- @if (getFilteredOptions(field).length === 0) {\r
79310
- <mat-option disabled>{{ 'No options found' | translate }}</mat-option>\r
79311
- }\r
79312
- </mat-autocomplete>\r
79313
- \r
79314
- @if (control?.value && !control?.disabled) {\r
79315
- <div matSuffix class="suffix-container">\r
79316
- <button mat-icon-button (click)="control?.reset(); field.onChange && field.onChange(form)">\r
79317
- <mat-icon>close</mat-icon>\r
79318
- </button>\r
79319
- \r
79320
- <mat-icon class="arrow-icon">arrow_drop_down</mat-icon>\r
79321
- </div>\r
79322
- } @else {\r
79323
- <mat-icon matSuffix>arrow_drop_down</mat-icon>\r
79324
- }\r
79325
- \r
79326
- <mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>\r
79327
- </mat-form-field>\r
79328
- </div>\r
79329
- }\r
79330
- \r
79331
- @case (types.Checkbox) {\r
79332
- <div [class.last]="last" class="filling-form-fields-checkbox {{field.class ?? 'span-6'}}">\r
79333
- <mat-checkbox\r
79334
- (change)="field.onChange && field.onChange(form)"\r
79335
- [formControlName]="field.formControlName"\r
79336
- >\r
79337
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;\r
79338
- <div>\r
79339
- <span class="body-1-regular black" [class.warning]="!!previousValue">{{\r
79340
- label | translate\r
79341
- }}</span>\r
79342
- @if (previousValue != null) {\r
79343
- <mat-icon\r
79344
- [class.warning]="true"\r
79345
- class="filling-form-fields-item-icon"\r
79346
- matSuffix\r
79347
- >warning_amber</mat-icon\r
79348
- >\r
79349
- }\r
79350
- </div>\r
79351
- </mat-checkbox>\r
79352
- \r
79353
- @if (previousValue != null) {\r
79354
- <mat-hint\r
79355
- [class.warning]="true"\r
79356
- class="filling-form-fields-item-hint"\r
79357
- >{{ 'Previously saved value' | translate }}: {{ previousValue ? ('checked' | translate) : ('unchecked' | translate) }}</mat-hint\r
79358
- >\r
79359
- }\r
79360
- </div>\r
79361
- }\r
79362
- \r
79363
- @case (types.Empty) {\r
79364
- <div class="filling-form-fields-empty {{field.class ?? 'span-6'}}"></div>\r
79365
- }\r
79366
- @case (types.Autocomplete) {\r
79367
- <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">\r
79368
- @if (field.label) {\r
79369
- <span class="filling-form-fields-item-label body-1-regular">\r
79370
- {{ (field.label | translate) + (field.required ? " *" : "") }}\r
79371
- </span>\r
79372
- }\r
79373
- <autocomplete-field\r
79374
- [options]="field.options ?? []"\r
79375
- [control]="getFormControl(field.formControlName)"\r
79376
- [required]="field.required ?? false"\r
79377
- />\r
79378
- </div>\r
79379
- }\r
79380
- \r
79381
- @case (types.Date) {\r
79382
- <div\r
79383
- class="filling-form-fields-item {{field.class ?? 'span-6'}}"\r
79384
- [class.warning]="!!previousValue"\r
79385
- >\r
79386
- @if (field.label) {\r
79387
- <span\r
79388
- class="filling-form-fields-item-label body-1-regular"\r
79389
- [class.warning]="!!previousValue"\r
79390
- >\r
79391
- {{ (field.label | translate) + (field.required ? " *" : "") }}\r
79392
- </span>\r
79393
- }\r
79394
- \r
79395
- <mat-form-field appearance="outline">\r
79396
- <input\r
79397
- matInput\r
79398
- [matDatepicker]="picker"\r
79399
- [formControlName]="field.formControlName"\r
79400
- (dateChange)="field.onChange && field.onChange(form)"\r
79401
- />\r
79402
- <mat-datepicker-toggle matSuffix [for]="picker">\r
79403
- <mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>\r
79404
- </mat-datepicker-toggle>\r
79405
- <mat-datepicker #picker></mat-datepicker>\r
79406
- \r
79407
- @if (previousValue != null) {\r
79408
- <mat-hint\r
79409
- [class.warning]="true"\r
79410
- class="filling-form-fields-item-hint"\r
79411
- >\r
79412
- {{ 'Previously saved value' | translate }}: {{ previousValue }}\r
79413
- </mat-hint>\r
79414
- }\r
79415
- \r
79416
- <mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>\r
79417
- </mat-form-field>\r
79418
- </div>\r
79419
- }\r
79420
- \r
79421
- @case (types.Input) {\r
79422
- <div\r
79423
- [class.warning]="!!previousValue"\r
79424
- class="filling-form-fields-item {{field.class ?? 'span-6'}}"\r
79425
- >\r
79426
- @if (field.label) {\r
79427
- <span\r
79428
- [class.warning]="!!previousValue"\r
79429
- class="filling-form-fields-item-label body-1-regular"\r
79430
- >\r
79431
- {{ (field.label | translate) + (field.required ? " *" : "") }}\r
79432
- </span>\r
79433
- \r
79434
- <mat-form-field appearance="outline">\r
79435
- <input\r
79436
- matInput\r
79437
- [readonly]="field.readonly"\r
79438
- [formControlName]="field.formControlName"\r
79439
- (input)="field.onChange && field.onChange(form)"\r
79440
- />\r
79441
- \r
79442
- @if (previousValue != null) {\r
79443
- <mat-hint\r
79444
- [class.warning]="true"\r
79445
- class="filling-form-fields-item-hint"\r
79446
- >{{ 'Previously saved value' | translate }}: {{ previousValue }}</mat-hint\r
79447
- >\r
79448
- }\r
79449
- \r
79450
- @if (previousValue != null) {\r
79451
- <mat-icon\r
79452
- [class.warning]="true"\r
79453
- class="filling-form-fields-item-icon"\r
79454
- matSuffix\r
79455
- >warning_amber</mat-icon\r
79456
- >\r
79457
- }\r
79458
- \r
79459
- <mat-error>{{ (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>\r
79460
- </mat-form-field>\r
79461
- }\r
79462
- </div>\r
79463
- }\r
79464
- @case (types.TextArea) {\r
79465
- <div class="filling-form-fields-item text-area {{field.class ?? 'span-6'}}">\r
79466
- @if (field.label) {\r
79467
- <span class="filling-form-fields-item-label body-1-regular">\r
79468
- {{ (field.label | translate) + (field.required ? " *" : "") }}\r
79469
- </span>\r
79470
- \r
79471
- <mat-form-field appearance="outline">\r
79472
- <textarea\r
79473
- matInput\r
79474
- [readonly]="field.readonly"\r
79475
- [formControlName]="field.formControlName"\r
79476
- (change)="field.onChange && field.onChange(form)"\r
79477
- ></textarea>\r
79478
- </mat-form-field>\r
79479
- }\r
79480
- </div>\r
79481
- }\r
79482
- @case (types.CheckboxList) {\r
79483
- <checkbox-list class="{{field.class}}" [formControlName]="field.formControlName" [items]="field.options ?? []"/>\r
79484
- }\r
79485
- @case (types.Text) {\r
79486
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label;\r
79487
- @if (label) {\r
79488
- <p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p>\r
79489
- }\r
79490
- }\r
79491
- }\r
79492
- }\r
79493
- }\r
79494
- </div>\r
79495
- </section>\r
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">\r
79756
- <div class="terms-and-conditions-content">\r
79757
- <expandable-card class="terms-and-conditions-card" title="Terms and Conditions">\r
79758
- \r
79759
- <div class="terms-and-conditions-card-content">\r
79760
- <div class="terms-and-conditions-text-wrapper">\r
79761
- <div class="terms-and-conditions-text">\r
79762
- <span class="body-1-regular">{{ 'TERMS.intro' | translate }}</span>\r
79763
- <span class="body-1-regular">{{ 'TERMS.agreement_mandatory' | translate }}</span>\r
79764
- <span class="body-1-regular">{{ 'TERMS.clause_i' | translate }}</span>\r
79765
- <span class="body-1-regular">{{ 'TERMS.clause_ii' | translate }}</span>\r
79766
- <span class="body-1-regular">{{ 'TERMS.authority' | translate }}</span>\r
79767
- <span class="body-1-regular">{{ 'TERMS.bound' | translate }}</span>\r
79768
- <span class="body-1-regular">{{ 'TERMS.section_1' | translate }}</span>\r
79769
- <span class="body-1-regular">{{ 'TERMS.section_2' | translate }}</span>\r
79770
- <span class="body-1-regular">{{ 'TERMS.section_3' | translate }}</span>\r
79771
- <span class="body-1-regular">{{ 'TERMS.section_4' | translate }}</span>\r
79772
- <span class="body-1-regular">{{ 'TERMS.section_5' | translate }}</span>\r
79773
- <span class="body-1-regular">{{ 'TERMS.section_6' | translate }}</span>\r
79774
- <span class="body-1-regular">{{ 'TERMS.section_7' | translate }}</span>\r
79775
- <span class="body-1-regular">{{ 'TERMS.section_8' | translate }}</span>\r
79776
- <span class="body-1-regular">{{ 'TERMS.section_9' | translate }}</span>\r
79777
- <span class="body-1-regular">{{ 'TERMS.section_10' | translate }}</span>\r
79778
- <span class="body-1-regular">{{ 'TERMS.section_11' | translate }}</span>\r
79779
- <span class="body-1-regular">{{ 'TERMS.section_12' | translate }}</span>\r
79780
- <span class="body-1-regular">{{ 'TERMS.section_13' | translate }}</span>\r
79781
- <span class="body-1-regular">{{ 'TERMS.section_14' | translate }}</span>\r
79782
- <span class="body-1-regular">{{ 'TERMS.section_15' | translate }}</span>\r
79783
- <span class="body-1-regular">{{ 'TERMS.section_16' | translate }}</span>\r
79784
- <span class="body-1-regular">{{ 'TERMS.section_17' | translate }}</span>\r
79785
- </div>\r
79786
- </div>\r
79787
- \r
79788
- <mat-checkbox [formControl]="getFormControl(termsAndConditionsControls.AcceptTerms)">\r
79789
- <div class="body-1-regular black">\r
79790
- <span>{{ 'I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them' | translate }}</span>\r
79791
- </div>\r
79792
- </mat-checkbox>\r
79793
- </div>\r
79794
- \r
79795
- </expandable-card>\r
79796
- \r
79797
- <expandable-card title="Signatory">\r
79798
- <filing-form-group [isSubmitted]="true" [form]="form" [config]="termsAndConditionsFields"/>\r
79799
- </expandable-card>\r
79800
- </div>\r
79801
- \r
79802
- <div class="terms-and-conditions-form-actions">\r
79803
- <button mat-stroked-button mat-button (click)="close.emit()">\r
79804
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
79805
- </button>\r
79806
- \r
79807
- <button mat-stroked-button mat-button (click)="prev.emit()"><span class="body-1-semibold">{{ 'Back' | translate }}</span></button>\r
79808
- \r
79809
- <button\r
79810
- mat-flat-button\r
79811
- type="submit"\r
79812
- (click)="onConfirm()"\r
79813
- [disabled]="form.invalid"\r
79814
- >\r
79815
- <span class="body-1-semibold">{{ 'Proceed' | translate }}</span>\r
79816
- </button>\r
79817
- </div>\r
79818
- </div>\r
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">\r
80099
- <div\r
80100
- [class.expanded]="isExpanded()"\r
80101
- (click)="toggle()"\r
80102
- class="expandable-card-header"\r
80103
- >\r
80104
- <h2 class="expandable-card-header-title">{{ title() | translate }}</h2>\r
80105
- \r
80106
- <div class="expandable-card-header-container">\r
80107
- @if (isStatusIcon()) {\r
80108
- @if (!isValid()) {\r
80109
- <mat-icon class="expandable-card-header-status-icon">\r
80110
- error_outline\r
80111
- </mat-icon>\r
80112
- }\r
80113
- }\r
80114
- \r
80115
- <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>\r
80116
- </div>\r
80117
- </div>\r
80118
- \r
80119
- <div class="expandable-card-content" [@expandCollapse]="isExpanded()">\r
80120
- <ng-content select="[slot='header-content']"></ng-content>\r
80121
- <div class="expandable-card-actions">\r
80122
- <div>\r
80123
- <ng-content select="[slot='subtitle']"></ng-content>\r
80124
- </div>\r
80125
- \r
80126
- @if (controlsCount() !== 0) {\r
80127
- <div class="expandable-card-actions-items">\r
80128
- <h3 class="expandable-card-actions-item" (click)="expandAll()">\r
80129
- {{ "Expand all" | translate }}\r
80130
- </h3>\r
80131
- <h3 class="expandable-card-actions-separator">|</h3>\r
80132
- <h3 class="expandable-card-actions-item" (click)="collapseAll()">\r
80133
- {{ "Collapse all" | translate }}\r
80134
- </h3>\r
80135
- </div>\r
80136
- }\r
80137
- </div>\r
80138
- \r
80139
- @for (formGroup of formArray().controls; let i = $index; track formGroup) {\r
80140
- <div class="expandable-card-separator">\r
80141
- <div class="expandable-card-separator-line"></div>\r
80142
- </div>\r
80143
- \r
80144
- <expandable-card\r
80145
- [isListItem]="true"\r
80146
- [title]="getFormGroup(i).get(labelKey())?.value"\r
80147
- [role]="getFormGroup(i).get(roleKey())?.value"\r
80148
- [isStatusIcon]="isStatusIcon()"\r
80149
- [isValid]="getFormGroupValid(i)"\r
80150
- [isOpen]="isItemExpanded(i)"\r
80151
- [border]="false"\r
80152
- [padded]="false"\r
80153
- [chipType]="\r
80154
- affiliationTypeToChipType(\r
80155
- formGroup.get(controls.AffiliationType)?.value\r
80156
- )\r
80157
- "\r
80158
- [removable]="removable()"\r
80159
- (toggled)="toggleItem(i)"\r
80160
- (remove)="remove.emit(i)"\r
80161
- >\r
80162
- @let form = getFormGroup(i);\r
80163
- @let configValue =\r
80164
- fields() ?? config()?.[form.get(configKey())?.value] ?? [];\r
80165
- <filing-form-group\r
80166
- [prevData]="prevData()"\r
80167
- [isSubmitted]="isSubmitted()"\r
80168
- [form]="form"\r
80169
- [config]="configValue"\r
80170
- />\r
80171
- </expandable-card>\r
80172
- }\r
80173
- </div>\r
80174
- </div>\r
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()}}">\r\n @switch (type()) {\r\n @case (alertType.Warning) {\r\n <mat-icon class="alert-icon">warning</mat-icon>\r\n\r\n }\r\n @case (alertType.Info) {\r\n <mat-icon class="alert-icon">info_outlined</mat-icon>\r\n }\r\n }\r\n <div class="alert-text">\r\n <span class="alert-text-title">{{title() | translate}}</span>\r\n\r\n @if (isArray()) {\r\n <ul class="alert-options">\r\n @for(option of content(); track option) {\r\n <li>{{option}}</li>\r\n }\r\n </ul>\r\n }@else {\r\n <span>{{$any(content()) | translate}}</span>\r\n }\r\n </div>\r\n\r\n</div>\r\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"] }]
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">\r
80672
- @if (isNote()) {\r
80673
- <alert\r
80674
- [type]="alertType.Info"\r
80675
- title="Entity changed"\r
80676
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
80677
- />\r
80678
- }\r
80679
- \r
80680
- @if (errors().length) {\r
80681
- <alert\r
80682
- title="The following issues need to be resolved before proceeding:"\r
80683
- [content]="errors()"\r
80684
- />\r
80685
- }\r
80686
- \r
80687
- <div class="incorporation-form-content">\r
80688
- @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
80689
- \r
80690
- @if (referenceNumbers) {\r
80691
- <expandable-card [title]="groups.ReferenceNumbers">\r
80692
- <div class="incorporation-form-item">\r
80693
- <filing-form-group\r
80694
- [isSubmitted]="isSubmitted()"\r
80695
- [form]="referenceNumbers"\r
80696
- [config]="referenceNumbersFields"\r
80697
- (visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
80698
- />\r
80699
- </div>\r
80700
- </expandable-card>\r
80701
- }\r
80702
- \r
80703
- @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
80704
- \r
80705
- @if (corporationDetails) {\r
80706
- <expandable-card\r
80707
- [isValid]="sectionValidity['corpDetails']"\r
80708
- [isStatusIcon]="statusIcon()"\r
80709
- [title]="groups.CorporationDetails"\r
80710
- >\r
80711
- <div class="incorporation-form-item">\r
80712
- <filing-form-group\r
80713
- [isSubmitted]="isSubmitted()"\r
80714
- [form]="corporationDetails"\r
80715
- [config]="corporationDetailsCardFields"\r
80716
- (visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
80717
- />\r
80718
- </div>\r
80719
- </expandable-card>\r
80720
- }\r
80721
- \r
80722
- @if (isLegalOpinion) {\r
80723
- @let legalOpinion = getFormGroup(groups.LegalOpinion);\r
80724
- \r
80725
- @if (legalOpinion) {\r
80726
- <expandable-card\r
80727
- [isValid]="\r
80728
- sectionValidity['legalOpinionLawyer'] &&\r
80729
- sectionValidity['legalOpinionAddress']\r
80730
- "\r
80731
- [isStatusIcon]="statusIcon()"\r
80732
- [title]="groups.LegalOpinion"\r
80733
- >\r
80734
- <filing-form-group\r
80735
- [isSubmitted]="isSubmitted()"\r
80736
- [form]="legalOpinion"\r
80737
- [config]="legalOpinionLawyerFields()"\r
80738
- (visiblyValidChange)="\r
80739
- onSectionValidChange('legalOpinionLawyer', $event)\r
80740
- "\r
80741
- />\r
80742
- \r
80743
- @if (legalOpinion.get(controls.LawyerSigningOpinion)?.value) {\r
80744
- <filing-form-group\r
80745
- [isSubmitted]="isSubmitted()"\r
80746
- [form]="legalOpinion"\r
80747
- [config]="legalOpinionConfirmAddressFieldsMap[legalOpinion.get(controls.AffiliationAddressType)?.value]"\r
80748
- (visiblyValidChange)="\r
80749
- onSectionValidChange('legalOpinionAddress', $event)\r
80750
- "\r
80751
- />\r
80752
- }\r
80753
- \r
80754
- </expandable-card>\r
80755
- }\r
80756
- }\r
80757
- \r
80758
- @let registeredOfficeForm = getFormGroup(groups.RegisteredOfficeAddress);\r
80759
- \r
80760
- @if (registeredOfficeForm) {\r
80761
- <expandable-card\r
80762
- [isValid]="sectionValidity['registeredOffice']"\r
80763
- [isStatusIcon]="statusIcon()"\r
80764
- [title]="groups.RegisteredOfficeAddress"\r
80765
- >\r
80766
- <filing-form-group\r
80767
- [isSubmitted]="isSubmitted()"\r
80768
- [form]="registeredOfficeForm"\r
80769
- [config]="\r
80770
- affiliationCardFieldsMap[\r
80771
- registeredOfficeForm.get(\r
80772
- formationFormControls.AffiliationAddressType\r
80773
- )?.value\r
80774
- ]\r
80775
- "\r
80776
- (visiblyValidChange)="\r
80777
- onSectionValidChange('registeredOffice', $event)\r
80778
- "\r
80779
- />\r
80780
- </expandable-card>\r
80781
- }\r
80782
- \r
80783
- @let incorporatorsArray = getFormArray(groups.Incorporators);\r
80784
- @let directorsArray = getFormArray(groups.Directors);\r
80785
- \r
80786
- @let isOpenDirectors =\r
80787
- (directorsArray?.length ?? 0) <= initiallyOpenCardsCount;\r
80788
- @if (directorsArray && directorsArray.length) {\r
80789
- <expandable-list-card\r
80790
- [isValid]="sectionValidity['directors']"\r
80791
- [areItemsOpen]="isOpenDirectors"\r
80792
- [isStatusIcon]="statusIcon()"\r
80793
- [config]="directorsCardFieldsMap"\r
80794
- [configKey]="controls.AffiliationAddressType"\r
80795
- [formArray]="directorsArray"\r
80796
- [title]="groups.Directors"\r
80797
- (visiblyValidChange)="onSectionValidChange('directors', $event)"\r
80798
- >\r
80799
- <p\r
80800
- slot="subtitle"\r
80801
- class="body-1-regular black"\r
80802
- [innerHTML]="directorsSubtitle()"\r
80803
- ></p>\r
80804
- </expandable-list-card>\r
80805
- } @else {\r
80806
- <expandable-card [title]="groups.Directors">\r
80807
- <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
80808
- </expandable-card>\r
80809
- }\r
80810
- \r
80811
- @let sharesAndProvisions = getFormGroup(groups.SharesAndProvisions);\r
80812
- \r
80813
- @if (sharesAndProvisions) {\r
80814
- <expandable-card\r
80815
- [isStatusIcon]="false"\r
80816
- [title]="groups.SharesAndProvisions"\r
80817
- >\r
80818
- <filing-form-group\r
80819
- [isSubmitted]="isSubmitted()"\r
80820
- [form]="sharesAndProvisions"\r
80821
- [config]="sharesAndProvincesFields"\r
80822
- />\r
80823
- </expandable-card>\r
80824
- }\r
80825
- \r
80826
- @let isOpenIncorporators =\r
80827
- (incorporatorsArray?.length ?? 0) <= initiallyOpenCardsCount;\r
80828
- \r
80829
- @if (incorporatorsArray && incorporatorsArray.length) {\r
80830
- <expandable-list-card\r
80831
- [isValid]="sectionValidity['incorporators']"\r
80832
- [areItemsOpen]="isOpenIncorporators"\r
80833
- [isStatusIcon]="statusIcon()"\r
80834
- [config]="incorporatorsCardFieldsMap"\r
80835
- [configKey]="controls.AffiliationAddressType"\r
80836
- [formArray]="incorporatorsArray"\r
80837
- [isSubmitted]="isSubmitted()"\r
80838
- [title]="groups.Incorporators"\r
80839
- (visiblyValidChange)="onSectionValidChange('incorporators', $event)"\r
80840
- />\r
80841
- } @else {\r
80842
- <expandable-card [title]="groups.Incorporators">\r
80843
- <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
80844
- </expandable-card>\r
80845
- }\r
80846
- </div>\r
80847
- </div>\r
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">\r
80954
- <ontario-incorporation-form\r
80955
- class="incorporation-delta-form-content"\r
80956
- [form]="form()"\r
80957
- [task]="task()"\r
80958
- [errors]="combinedErrors()"\r
80959
- [isNote]="isNote()"\r
80960
- [isSubmitted]="submitted()"\r
80961
- [statusIcon]="true"\r
80962
- (visiblyValidChange)="onVisiblyValidChange($event)"\r
80963
- />\r
80964
- \r
80965
- <div class="incorporation-delta-form-actions">\r
80966
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
80967
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
80968
- </button>\r
80969
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
80970
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
80971
- </button>\r
80972
- <button\r
80973
- class="submit"\r
80974
- color="primary"\r
80975
- mat-flat-button\r
80976
- [disabled]="actionsDisabled()"\r
80977
- (click)="onValidate()"\r
80978
- >\r
80979
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
80980
- </button>\r
80981
- </div>\r
80982
- </div>\r
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">\r
81060
- <ontario-incorporation-form\r
81061
- class="incorporation-preview-form-content"\r
81062
- [form]="form()"\r
81063
- [task]="task()"\r
81064
- [statusIcon]="false"\r
81065
- />\r
81066
- \r
81067
- <div class="incorporation-preview-form-actions">\r
81068
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
81069
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
81070
- </button>\r
81071
- <button\r
81072
- class="submit"\r
81073
- color="primary"\r
81074
- mat-flat-button\r
81075
- [disabled]="actionsDisabled()"\r
81076
- (click)="next.emit()"\r
81077
- >\r
81078
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
81079
- </button>\r
81080
- </div>\r
81081
- </div>\r
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">\r
81819
- @if (isNote()) {\r
81820
- <alert\r
81821
- [type]="alertType.Info"\r
81822
- title="Entity changed"\r
81823
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
81824
- />\r
81825
- }\r
81826
- \r
81827
- @if (errors().length) {\r
81828
- <alert\r
81829
- title="The following issues need to be resolved before proceeding:"\r
81830
- [content]="errors()"\r
81831
- />\r
81832
- }\r
81833
- \r
81834
- <div class="ontario-update-maintain-form-content">\r
81835
- <!-- ===== GENERAL INFO ===== -->\r
81836
- @let generalInfoForm = getFormGroup(groups.General);\r
81837
- @if (generalInfoForm) {\r
81838
- <expandable-card\r
81839
- [title]="groups.General"\r
81840
- [isStatusIcon]="!readonly()"\r
81841
- >\r
81842
- <filing-form-group\r
81843
- [isSubmitted]="isSubmitted()"\r
81844
- [prevData]="prevData()?.corporationInfo"\r
81845
- [form]="generalInfoForm"\r
81846
- [config]="generalCardFields"\r
81847
- [label]="groups.General"\r
81848
- (visiblyValidChange)="onSectionValidChange('generalInfo', $event)"\r
81849
- />\r
81850
- </expandable-card>\r
81851
- }\r
81852
- \r
81853
- <!-- =====REGISTERED OFFICE ADDRESS===== -->\r
81854
- @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);\r
81855
- @if (registeredOfficeAddress) {\r
81856
- <expandable-card\r
81857
- [isStatusIcon]="!readonly()"\r
81858
- [isValid]="sectionValidity['registeredOffice']"\r
81859
- [title]="groups.RegisteredOfficeAddress"\r
81860
- >\r
81861
- <filing-form-group\r
81862
- [prevData]="prevData()?.corporationInfo"\r
81863
- [isSubmitted]="isSubmitted()"\r
81864
- [form]="registeredOfficeAddress"\r
81865
- [config]="\r
81866
- addressFieldsMap[\r
81867
- registeredOfficeAddress.get(controls.AffiliationAddressType)\r
81868
- ?.value\r
81869
- ]\r
81870
- "\r
81871
- (visiblyValidChange)="\r
81872
- onSectionValidChange('registeredOffice', $event)\r
81873
- "\r
81874
- />\r
81875
- </expandable-card>\r
81876
- }\r
81877
- \r
81878
- @let directorsArray = getFormArray(groups.Directors);\r
81879
- @if (directorsArray && directorsArray.length) {\r
81880
- @let isOpen =\r
81881
- (directorsArray?.length ?? 0) <= initiallyOpenCardsCount;\r
81882
- <expandable-list-card\r
81883
- [prevData]="prevData()?.persons"\r
81884
- [isSubmitted]="isSubmitted()"\r
81885
- [isValid]="sectionValidity['directors']"\r
81886
- [areItemsOpen]="isOpen"\r
81887
- [isStatusIcon]="!readonly()"\r
81888
- [config]="directorsFieldsMap"\r
81889
- [configKey]="controls.AffiliationAddressType"\r
81890
- [formArray]="directorsArray"\r
81891
- [title]="groups.Directors"\r
81892
- (visiblyValidChange)="onSectionValidChange('directors', $event)"\r
81893
- />\r
81894
- } @else {\r
81895
- <expandable-card [title]="groups.Directors">\r
81896
- <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
81897
- </expandable-card>\r
81898
- }\r
81899
- \r
81900
- @let officersArray = getFormArray(groups.Officers);\r
81901
- \r
81902
- \r
81903
- @if (officersArray && officersArray.length) {\r
81904
- @let isOpen =\r
81905
- (officersArray?.length ?? 0) <= initiallyOpenCardsCount;\r
81906
- \r
81907
- <expandable-list-card\r
81908
- [prevData]="prevData()?.persons"\r
81909
- [isSubmitted]="isSubmitted()"\r
81910
- [areItemsOpen]="isOpen"\r
81911
- [isStatusIcon]="!readonly()"\r
81912
- [config]="officersFieldsMap"\r
81913
- [configKey]="controls.AffiliationAddressType"\r
81914
- [formArray]="officersArray"\r
81915
- [title]="groups.Officers"\r
81916
- [isValid]="sectionValidity['officers']"\r
81917
- (visiblyValidChange)="onSectionValidChange('officers', $event)"\r
81918
- />\r
81919
- } @else {\r
81920
- <expandable-card [title]="groups.Officers">\r
81921
- <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
81922
- </expandable-card>\r
81923
- }\r
81924
- \r
81925
- @let certifiedBy = getFormGroup(groups.CertifiedBy);\r
81926
- <expandable-card\r
81927
- [isStatusIcon]="!readonly()"\r
81928
- [isValid]="certifiedBy ? sectionValidity['certifiedBy'] : true"\r
81929
- [title]="groups.CertifiedBy"\r
81930
- >\r
81931
- @if (certifiedBy) {\r
81932
- <filing-form-group\r
81933
- [prevData]="prevData()?.corporationInfo"\r
81934
- [isSubmitted]="isSubmitted()"\r
81935
- [form]="certifiedBy"\r
81936
- [config]="\r
81937
- certifiedByFieldsMap[\r
81938
- certifiedBy.get(controls.AffiliationAddressType)?.value\r
81939
- ]\r
81940
- "\r
81941
- (visiblyValidChange)="onSectionValidChange('certifiedBy', $event)"\r
81942
- />\r
81943
- } @else {\r
81944
- <h2 class="body-1-regular">{{ 'Not specified' | translate }}</h2>\r
81945
- }\r
81946
- \r
81947
- </expandable-card>\r
81948
- \r
81949
- @let contact = getFormGroup(groups.Contact);\r
81950
- @if (contact) {\r
81951
- <expandable-card\r
81952
- [isStatusIcon]="!readonly()"\r
81953
- [isValid]="sectionValidity['contact']"\r
81954
- [title]="groups.Contact"\r
81955
- >\r
81956
- <filing-form-group\r
81957
- [isSubmitted]="isSubmitted()"\r
81958
- [form]="contact"\r
81959
- [config]="contactsFields"\r
81960
- (visiblyValidChange)="onSectionValidChange('contact', $event)"\r
81961
- />\r
81962
- </expandable-card>\r
81963
- }\r
81964
- </div>\r
81965
- </div>\r
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">\r
82081
- <ontario-update-maintain-form\r
82082
- class="ontario-update-maintain-delta-form-content"\r
82083
- [form]="form()"\r
82084
- [task]="task()"\r
82085
- [errors]="combinedErrors()"\r
82086
- [isNote]="isNote()"\r
82087
- [isSubmitted]="submitted()"\r
82088
- [readonly]="false"\r
82089
- [prevData]="prevData()"\r
82090
- (visiblyValidChange)="onVisiblyValidChange($event)"\r
82091
- />\r
82092
- \r
82093
- <div class="ontario-update-maintain-delta-form-actions">\r
82094
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
82095
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
82096
- </button>\r
82097
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
82098
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
82099
- </button>\r
82100
- <button\r
82101
- class="submit"\r
82102
- color="primary"\r
82103
- mat-flat-button\r
82104
- [disabled]="actionsDisabled()"\r
82105
- (click)="onValidate()"\r
82106
- >\r
82107
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
82108
- </button>\r
82109
- </div>\r
82110
- </div>\r
82111
- \r
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">\r
82187
- <ontario-update-maintain-form\r
82188
- class="ontario-update-maintain-preview-form-content"\r
82189
- [form]="form()"\r
82190
- [task]="task()"\r
82191
- [errors]="errors()"\r
82192
- [isSubmitted]="false"\r
82193
- [readonly]="false"\r
82194
- />\r
82195
- \r
82196
- <div class="ontario-update-maintain-preview-form-actions">\r
82197
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
82198
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
82199
- </button>\r
82200
- <button\r
82201
- class="submit"\r
82202
- color="primary"\r
82203
- mat-flat-button\r
82204
- [disabled]="actionsDisabled()"\r
82205
- (click)="file.emit()"\r
82206
- >\r
82207
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
82208
- </button>\r
82209
- </div>\r
82210
- </div>\r
82211
- \r
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();\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <ontario-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <ontario-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="nextStep.emit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n (prev)="prevStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onFormationSubmit($event)"\r\n />\r\n }\r\n}\r\n\r\n@if (isInitialReturnTask(task())) {\r\n @if (activeStep() === steps.Validate) {\r\n <ontario-update-maintain-delta-form\r\n [task]="$any(task())"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [prevData]="prevData()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onInitialReturnValidate()"\r\n (close)="onClose()"\r\n (save)="onInitialReturnSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <ontario-update-maintain-preview-form\r\n [task]="$any(task())"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="nextStep.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n (prev)="prevStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onIrSubmit($event)"\r\n />\r\n }\r\n}\r\n', styles: ["/* src/app/components/ontario/ontario.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=ontario.component.css.map */\n"] }]
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">\r
83787
- <div class="add-documents-modal-header">\r
83788
- <h2 class="grey">{{ dialogData.title | translate }}</h2>\r
83789
- </div>\r
83790
- \r
83791
- <div class="add-documents-modal-list">\r
83792
- @for (doc of dialogData.items; track doc) {\r
83793
- <div (click)="toggleDocument(doc)" class="add-documents-modal-list-item">\r
83794
- <mat-checkbox [checked]="isSelected(doc)"/>\r
83795
- <span class="body-1-regular">{{ doc }}</span>\r
83796
- </div>\r
83797
- }\r
83798
- </div>\r
83799
- \r
83800
- <div class="add-documents-modal-actions">\r
83801
- <button\r
83802
- mat-stroked-button mat-button\r
83803
- (click)="closeModal()"\r
83804
- >\r
83805
- <span class="body-1-semibold">{{ 'Cancel' | translate }}</span>\r
83806
- </button>\r
83807
- \r
83808
- <button\r
83809
- class="submit"\r
83810
- mat-flat-button\r
83811
- [disabled]="!hasSelection()"\r
83812
- (click)="addSelectedDocuments()"\r
83813
- >\r
83814
- <span class="body-1-semibold">{{ dialogData.submitButton | translate }}</span>\r
83815
- </button>\r
83816
- </div>\r
83817
- \r
83818
- </div>\r
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">\r
83964
- <span class="body-1-regular">{{ 'Supporting documents relevant to the proposed name, including consent letters' | translate }}</span>\r
83965
- \r
83966
- @let selectedDocuments = this.selectedDocuments();\r
83967
- @if (selectedDocuments.length) {\r
83968
- <div class="documents-list">\r
83969
- @for(document of selectedDocuments; track document) {\r
83970
- <div class="documents-list-item body-1-regular">\r
83971
- <mat-icon class="documents-list-item-document">description_outline</mat-icon>\r
83972
- <span class="body-1-regular">{{document}}</span>\r
83973
- \r
83974
- @if (!readonly()) {\r
83975
- <div class="documents-list-icon-wrapper" (click)="removeDocument.emit(document)">\r
83976
- <mat-icon class="documents-list-item-close">close</mat-icon>\r
83977
- </div>\r
83978
- }\r
83979
- \r
83980
- </div>\r
83981
- }\r
83982
- </div>\r
83983
- }\r
83984
- \r
83985
- @if (!readonly()) {\r
83986
- <button mat-stroked-button class="outlined" (click)="onAddDocuments()">\r
83987
- <span class="body-1-semibold">{{ 'Add Supporting Documents' | translate }}</span>\r
83988
- </button>\r
83989
- }\r
83990
- </div>\r
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">\r
84817
- @if (isNote()) {\r
84818
- <alert\r
84819
- [type]="alertType.Info"\r
84820
- title="Entity changed"\r
84821
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
84822
- />\r
84823
- }\r
84824
- \r
84825
- @if (errors().length) {\r
84826
- <alert\r
84827
- title="The following issues need to be resolved before proceeding:"\r
84828
- [content]="errors()"\r
84829
- />\r
84830
- }\r
84831
- \r
84832
- <div class="incorporation-form-content">\r
84833
- @let corporateName = getFormGroup(groups.CorporateName);\r
84834
- \r
84835
- @if (corporateName) {\r
84836
- <expandable-card\r
84837
- [isValid]="sectionValidity['corporateName']"\r
84838
- [isStatusIcon]="isStatusIcon()"\r
84839
- [title]="groups.CorporateName"\r
84840
- >\r
84841
- <div class="incorporation-form-item">\r
84842
- <filing-form-group\r
84843
- [isSubmitted]="isSubmitted()"\r
84844
- [form]="corporateName"\r
84845
- [config]="incorporationFields"\r
84846
- (visiblyValidChange)="onSectionValidChange('corporateName', $event)"\r
84847
- />\r
84848
- \r
84849
- @if (isNonPreapprovedNameType() || selectedDocuments().length) {\r
84850
- <documents\r
84851
- [documents]="documents()"\r
84852
- [readonly]="isReadonly()"\r
84853
- [selectedDocuments]="selectedDocuments()"\r
84854
- (addDocuments)="addDocuments.emit($event)"\r
84855
- (removeDocument)="removeDocument.emit($event)"\r
84856
- />\r
84857
- }\r
84858
- </div>\r
84859
- </expandable-card>\r
84860
- }\r
84861
- \r
84862
- @let articlesOfIncorporation = getFormGroup(groups.ArticlesOfIncorporation);\r
84863
- \r
84864
- @if (articlesOfIncorporation) {\r
84865
- <expandable-card\r
84866
- [isValid]="sectionValidity['articles']"\r
84867
- [isStatusIcon]="isStatusIcon()"\r
84868
- [title]="groups.ArticlesOfIncorporation"\r
84869
- >\r
84870
- <div class="incorporation-form-item">\r
84871
- <span\r
84872
- class="body-1-regular black"\r
84873
- [innerHTML]="directorsSubtitle()"\r
84874
- ></span>\r
84875
- \r
84876
- <filing-form-group\r
84877
- [isSubmitted]="isSubmitted()"\r
84878
- [form]="articlesOfIncorporation"\r
84879
- [config]="articlesOfIncorporationFields"\r
84880
- (visiblyValidChange)="onSectionValidChange('articles', $event)"\r
84881
- />\r
84882
- <div>\r
84883
- <span class="body-1-semibold dark-blue">{{ 'Incorporators' | translate }}</span>\r
84884
- \r
84885
- <ul class="incorporators-list">\r
84886
- @for (\r
84887
- incorporator of task()?._ext?._incorporators;\r
84888
- track incorporator.affiliationID\r
84889
- ) {\r
84890
- <li class="body-1-regular grey">\r
84891
- {{ getIncorporatorName(incorporator) }}\r
84892
- </li>\r
84893
- }\r
84894
- </ul>\r
84895
- </div>\r
84896
- \r
84897
- <span class="body-1-regular grey"\r
84898
- >{{ 'Effective Date' | translate }}:\r
84899
- {{\r
84900
- task()?._ext?._future_filing_date\r
84901
- ? (task()!._ext!._future_filing_date | date: "yyyy-MM-dd")\r
84902
- : (today | date: "yyyy-MM-dd")\r
84903
- }}</span\r
84904
- >\r
84905
- </div>\r
84906
- </expandable-card>\r
84907
- }\r
84908
- \r
84909
- @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);\r
84910
- \r
84911
- @if (registeredOfficeAddress) {\r
84912
- <expandable-card\r
84913
- [isValid]="sectionValidity['registeredOffice']"\r
84914
- [isStatusIcon]="isStatusIcon()"\r
84915
- [title]="groups.RegisteredOfficeAddress"\r
84916
- >\r
84917
- <div class="incorporation-form-item">\r
84918
- <filing-form-group\r
84919
- [isSubmitted]="isSubmitted()"\r
84920
- [form]="registeredOfficeAddress"\r
84921
- [config]="registeredOfficeAddressFields"\r
84922
- (visiblyValidChange)="\r
84923
- onSectionValidChange('registeredOffice', $event)\r
84924
- "\r
84925
- />\r
84926
- </div>\r
84927
- </expandable-card>\r
84928
- }\r
84929
- \r
84930
- @let directorsArray = getFormArray(groups.Directors);\r
84931
- \r
84932
- @if (directorsArray && directorsArray.length) {\r
84933
- @let directorsFormArray = getFormArray(groups.Directors);\r
84934
- <expandable-list-card\r
84935
- [isValid]="sectionValidity['directors']"\r
84936
- [isSubmitted]="isSubmitted()"\r
84937
- [areItemsOpen]="directorsArray.length <= initiallyOpenCardsCount"\r
84938
- [fields]="directorsFields"\r
84939
- [formArray]="directorsFormArray"\r
84940
- [title]="groups.Directors"\r
84941
- (visiblyValidChange)="onSectionValidChange('directors', $event)"\r
84942
- />\r
84943
- } @else {\r
84944
- <expandable-card [title]="groups.Directors">\r
84945
- <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
84946
- </expandable-card>\r
84947
- }\r
84948
- \r
84949
- @let significantControl = getFormGroup(groups.SignificantControl);\r
84950
- @if (significantControl) {\r
84951
- @let individualsWithSignificantControlArray =\r
84952
- getFormArray(groups.IndividualsWithSignificantControl);\r
84953
- \r
84954
- @if (individualsWithSignificantControlArray) {\r
84955
- <expandable-list-card\r
84956
- [areItemsOpen]="\r
84957
- individualsWithSignificantControlArray.length <=\r
84958
- initiallyOpenCardsCount\r
84959
- "\r
84960
- [isValid]="\r
84961
- sectionValidity['isc'] &&\r
84962
- sectionValidity['significantControl']\r
84963
- "\r
84964
- (remove)="onRemoveIndividualWithSignificantForm($event)"\r
84965
- [removable]="!isReadonly()"\r
84966
- [isSubmitted]="isSubmitted()"\r
84967
- [isStatusIcon]="isStatusIcon()"\r
84968
- [fields]="individualsWithSignificantControlFields"\r
84969
- [formArray]="individualsWithSignificantControlArray"\r
84970
- [title]="groups.IndividualsWithSignificantControl"\r
84971
- (visiblyValidChange)="onSectionValidChange('isc', $event)"\r
84972
- >\r
84973
- @if (\r
84974
- !isReadonly() && isAddIndividualWithSignificantControlAvailable()\r
84975
- ) {\r
84976
- <button\r
84977
- [disabled]="isAddIndividualWithSignificantControlDisabled()"\r
84978
- slot="subtitle"\r
84979
- mat-stroked-button\r
84980
- mat-button\r
84981
- (click)="addIndividualWithSignificantControl()"\r
84982
- >\r
84983
- <span class="body-1-semibold">{{\r
84984
- "Add Individuals With Significant Control" | translate\r
84985
- }}</span>\r
84986
- </button>\r
84987
- }\r
84988
- \r
84989
- <div class="significant-control" slot="header-content">\r
84990
- <filing-form-group\r
84991
- [isSubmitted]="isSubmitted()"\r
84992
- [form]="significantControl"\r
84993
- [config]="significantControlFields"\r
84994
- (visiblyValidChange)="\r
84995
- onSectionValidChange('significantControl', $event)\r
84996
- "\r
84997
- />\r
84998
- </div>\r
84999
- </expandable-list-card>\r
85000
- }\r
85001
- }\r
85002
- \r
85003
- @let inviteDirectorToBeFullAccessManager =\r
85004
- getFormGroup(groups.InviteDirectorToBeFullAccessManager);\r
85005
- @if (inviteDirectorToBeFullAccessManager) {\r
85006
- <expandable-card\r
85007
- [isValid]="sectionValidity['inviteDirector']"\r
85008
- [title]="groups.InviteDirectorToBeFullAccessManager"\r
85009
- >\r
85010
- <filing-form-group\r
85011
- [isSubmitted]="isSubmitted()"\r
85012
- [form]="inviteDirectorToBeFullAccessManager"\r
85013
- [config]="federalFormationFormInviteDirectorsToBeManagersControl"\r
85014
- (visiblyValidChange)="onSectionValidChange('inviteDirector', $event)"\r
85015
- />\r
85016
- </expandable-card>\r
85017
- }\r
85018
- \r
85019
- @let extraProvincialLicensesArray =\r
85020
- getFormArray(groups.ExtraProvincialRegistrations);\r
85021
- @let extraProvincialLicensesControlsLength =\r
85022
- extraProvincialLicensesArray?.length;\r
85023
- \r
85024
- @if (extraProvincialLicensesControlsLength) {\r
85025
- <expandable-list-card\r
85026
- [areItemsOpen]="extraProvincialLicensesControlsLength === 1"\r
85027
- [isValid]="sectionValidity['epl']"\r
85028
- [isSubmitted]="isSubmitted()"\r
85029
- [isStatusIcon]="isStatusIcon()"\r
85030
- [fields]="extraProvincialLicensesFields"\r
85031
- [formArray]="extraProvincialLicensesArray"\r
85032
- [title]="groups.ExtraProvincialRegistrations"\r
85033
- (visiblyValidChange)="onSectionValidChange('epl', $event)"\r
85034
- />\r
85035
- }\r
85036
- \r
85037
- @let contactForm = getFormGroup(groups.Contact);\r
85038
- @if (contactForm) {\r
85039
- <expandable-card\r
85040
- [isStatusIcon]="isStatusIcon()"\r
85041
- [isValid]="sectionValidity['contact']"\r
85042
- [title]="groups.Contact"\r
85043
- >\r
85044
- <filing-form-group\r
85045
- [isSubmitted]="isSubmitted()"\r
85046
- [form]="contactForm"\r
85047
- [config]="contactControl"\r
85048
- (visiblyValidChange)="onSectionValidChange('contact', $event)"\r
85049
- />\r
85050
- </expandable-card>\r
85051
- }\r
85052
- \r
85053
- <ng-content></ng-content>\r
85054
- </div>\r
85055
- </div>\r
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">\r
85178
- <federal-incorporation-form\r
85179
- class="incorporation-delta-form-content"\r
85180
- [form]="form()"\r
85181
- [task]="task()"\r
85182
- [errors]="combinedErrors()"\r
85183
- [isNote]="isNote()"\r
85184
- [isSubmitted]="submitted()"\r
85185
- [documents]="documents()"\r
85186
- [selectedDocuments]="selectedDocuments()"\r
85187
- (addDocuments)="addDocuments.emit($event)"\r
85188
- (removeDocument)="removeDocument.emit($event)"\r
85189
- (visiblyValidChange)="onVisiblyValidChange($event)"\r
85190
- />\r
85191
- \r
85192
- <div class="incorporation-delta-form-actions">\r
85193
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
85194
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
85195
- </button>\r
85196
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
85197
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
85198
- </button>\r
85199
- <button\r
85200
- class="submit"\r
85201
- color="primary"\r
85202
- mat-flat-button\r
85203
- [disabled]="actionsDisabled()"\r
85204
- (click)="onValidate()"\r
85205
- >\r
85206
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
85207
- </button>\r
85208
- </div>\r
85209
- </div>\r
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">\r
85329
- <federal-incorporation-form\r
85330
- class="incorporation-delta-form-content"\r
85331
- [form]="form()"\r
85332
- [task]="task()"\r
85333
- [errors]="errors()"\r
85334
- [selectedDocuments]="selectedDocuments()"\r
85335
- [isStatusIcon]="false"\r
85336
- [isReadonly]="true"\r
85337
- >\r
85338
- @let signatoryInformation = getFormGroup(groups.Signatory);\r
85339
- \r
85340
- <expandable-card [isExpandable]="false">\r
85341
- <filing-form-group [isSubmitted]="true" [form]="signatoryInformation" [config]="signatoryFields"/>\r
85342
- </expandable-card>\r
85343
- \r
85344
- </federal-incorporation-form>\r
85345
- \r
85346
- <div class="incorporation-delta-form-actions">\r
85347
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
85348
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
85349
- </button>\r
85350
- <button\r
85351
- class="submit"\r
85352
- color="primary"\r
85353
- mat-flat-button\r
85354
- [disabled]="actionsDisabled() || !getFormGroup(groups.Signatory).get(controls.Signatory)?.value"\r
85355
- (click)="file.emit()"\r
85356
- >\r
85357
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
85358
- </button>\r
85359
- </div>\r
85360
- </div>\r
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">\r
85993
- @if (isNote()) {\r
85994
- <alert\r
85995
- [type]="alertType.Info"\r
85996
- title="Entity changed"\r
85997
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
85998
- />\r
85999
- }\r
86000
- \r
86001
- @if (errors().length) {\r
86002
- <alert\r
86003
- title="The following issues need to be resolved before proceeding:"\r
86004
- [content]="errors()"\r
86005
- />\r
86006
- }\r
86007
- \r
86008
- <div class="federal-update-maintain-form-content">\r
86009
- @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
86010
- @if (corporationDetails) {\r
86011
- <expandable-card\r
86012
- [isValid]="sectionValidity['corporationDetails']"\r
86013
- [title]="groups.CorporationDetails"\r
86014
- >\r
86015
- <filing-form-group\r
86016
- [isSubmitted]="isSubmitted()"\r
86017
- [form]="corporationDetails"\r
86018
- [config]="corporationDetailsFields"\r
86019
- (visiblyValidChange)="\r
86020
- onSectionValidChange('corporationDetails', $event)\r
86021
- "\r
86022
- />\r
86023
- </expandable-card>\r
86024
- }\r
86025
- \r
86026
- @let directorsArray = getFormArray(groups.Directors);\r
86027
- @if (directorsArray && directorsArray.length) {\r
86028
- <expandable-list-card\r
86029
- [isValid]="sectionValidity['directors']"\r
86030
- [isSubmitted]="isSubmitted()"\r
86031
- [fields]="directorsFields"\r
86032
- [formArray]="directorsArray"\r
86033
- [labelKey]="controls.AffiliationName"\r
86034
- [title]="groups.Directors"\r
86035
- (visiblyValidChange)="onSectionValidChange('directors', $event)"\r
86036
- />\r
86037
- } @else {\r
86038
- <expandable-card [title]="groups.Directors">\r
86039
- <h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
86040
- </expandable-card>\r
86041
- }\r
86042
- \r
86043
- @let annualReturn = getFormGroup(groups.AnnualReturn);\r
86044
- @if (annualReturn) {\r
86045
- <expandable-card\r
86046
- [isValid]="sectionValidity['annualReturn']"\r
86047
- [title]="groups.AnnualReturn"\r
86048
- >\r
86049
- <filing-form-group\r
86050
- [isSubmitted]="isSubmitted()"\r
86051
- [form]="annualReturn"\r
86052
- [config]="annualReturnFields"\r
86053
- (visiblyValidChange)="onSectionValidChange('annualReturn', $event)"\r
86054
- />\r
86055
- </expandable-card>\r
86056
- }\r
86057
- \r
86058
- @let significantControl = getFormGroup(groups.SignificantControl);\r
86059
- @if (significantControl) {\r
86060
- @let individualsArray =\r
86061
- getFormArray(groups.IndividualsWithSignificantControl);\r
86062
- @if (individualsArray) {\r
86063
- <expandable-list-card\r
86064
- [areItemsOpen]="isIndividualsWithSignificantControlOpen()"\r
86065
- [isValid]="\r
86066
- sectionValidity['isc'] && sectionValidity['significantControl']\r
86067
- "\r
86068
- [isSubmitted]="isSubmitted()"\r
86069
- [isStatusIcon]="true"\r
86070
- [removable]="!readonly()"\r
86071
- [fields]="individualsWithSignificantControlFields()"\r
86072
- [formArray]="individualsArray"\r
86073
- [labelKey]="controls.AffiliationName"\r
86074
- [title]="groups.IndividualsWithSignificantControl"\r
86075
- (remove)="onRemoveIndividualWithSignificantForm($event)"\r
86076
- (visiblyValidChange)="onSectionValidChange('isc', $event)"\r
86077
- >\r
86078
- @if (\r
86079
- !readonly() && isAddIndividualWithSignificantControlAvailable()\r
86080
- ) {\r
86081
- <button\r
86082
- [disabled]="isAddIndividualWithSignificantControlDisabled()"\r
86083
- slot="subtitle"\r
86084
- mat-stroked-button\r
86085
- mat-button\r
86086
- (click)="addIndividualWithSignificantControl()"\r
86087
- >\r
86088
- <span class="body-1-semibold">{{\r
86089
- "Add Individuals With Significant Control" | translate\r
86090
- }}</span>\r
86091
- </button>\r
86092
- }\r
86093
- \r
86094
- <div class="card-header-content" slot="header-content">\r
86095
- <filing-form-group\r
86096
- [isSubmitted]="isSubmitted()"\r
86097
- [form]="significantControl"\r
86098
- [config]="significantControlFields"\r
86099
- (visiblyValidChange)="\r
86100
- onSectionValidChange('significantControl', $event)\r
86101
- "\r
86102
- />\r
86103
- </div>\r
86104
- </expandable-list-card>\r
86105
- }\r
86106
- }\r
86107
- \r
86108
- @let contact = getFormGroup(groups.Contact);\r
86109
- @if (contact) {\r
86110
- <expandable-card\r
86111
- [isStatusIcon]="!readonly()"\r
86112
- [isValid]="sectionValidity['contact']"\r
86113
- [title]="groups.Contact"\r
86114
- >\r
86115
- <filing-form-group\r
86116
- [isSubmitted]="isSubmitted()"\r
86117
- [form]="contact"\r
86118
- [config]="contactControl()"\r
86119
- (visiblyValidChange)="onSectionValidChange('contact', $event)"\r
86120
- />\r
86121
- </expandable-card>\r
86122
- }\r
86123
- </div>\r
86124
- </div>\r
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">\r
86239
- <federal-update-maintain-form\r
86240
- class="federal-update-maintain-delta-form-content"\r
86241
- [form]="form()"\r
86242
- [task]="task()"\r
86243
- [errors]="combinedErrors()"\r
86244
- [isNote]="isNote()"\r
86245
- [isSubmitted]="submitted()"\r
86246
- [readonly]="false"\r
86247
- (visiblyValidChange)="onVisiblyValidChange($event)"\r
86248
- />\r
86249
- \r
86250
- <div class="federal-update-maintain-delta-form-actions">\r
86251
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
86252
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
86253
- </button>\r
86254
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="save.emit()">\r
86255
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
86256
- </button>\r
86257
- <button\r
86258
- class="submit"\r
86259
- color="primary"\r
86260
- mat-flat-button\r
86261
- [disabled]="actionsDisabled()"\r
86262
- (click)="onValidate()"\r
86263
- >\r
86264
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
86265
- </button>\r
86266
- </div>\r
86267
- </div>\r
86268
- \r
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">\r
86344
- <federal-update-maintain-form\r
86345
- class="federal-update-maintain-preview-form-content"\r
86346
- [form]="form()"\r
86347
- [task]="task()"\r
86348
- [errors]="errors()"\r
86349
- [isSubmitted]="false"\r
86350
- [readonly]="true"\r
86351
- />\r
86352
- \r
86353
- <div class="federal-update-maintain-preview-form-actions">\r
86354
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
86355
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
86356
- </button>\r
86357
- <button\r
86358
- class="submit"\r
86359
- color="primary"\r
86360
- mat-flat-button\r
86361
- [disabled]="actionsDisabled()"\r
86362
- (click)="file.emit()"\r
86363
- >\r
86364
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
86365
- </button>\r
86366
- </div>\r
86367
- </div>\r
86368
- \r
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();\r\n\r\n@if (currentTask) {\r\n @if (isFormationTask(currentTask)) {\r\n @if (activeStep() === steps.Validate) {\r\n <federal-incorporation-delta-form\r\n [documents]="documents"\r\n [selectedDocuments]="selectedDocuments()"\r\n (addDocuments)="onAddDocuments($event)"\r\n (removeDocument)="onRemoveDocument($event)"\r\n (close)="onClose()"\r\n (validate)="onValidate()"\r\n (save)="onSave()"\r\n [task]="currentTask"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [isNote]="isNote()"\r\n [form]="deltaForm()"\r\n />\r\n\r\n } @else if (activeStep() === steps.FilingPreview) {\r\n <federal-incorporation-preview-form (close)="close.emit()" (file)="onFile()" [task]="currentTask"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()" [form]="previewForm()"\r\n [selectedDocuments]="selectedDocuments()"/>\r\n }\r\n }\r\n\r\n @if (isUpdateMaintainTask(currentTask)) {\r\n @if (activeStep() === steps.Validate) {\r\n <federal-update-maintain-delta-form\r\n [task]="$any(currentTask)"\r\n [form]="umDeltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onUmValidate()"\r\n (close)="onClose()"\r\n (save)="onUmSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <federal-update-maintain-preview-form\r\n [task]="$any(currentTask)"\r\n [form]="umPreviewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="onUmSubmit()"\r\n />\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\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"] }]
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
  (() => {
@@ -87408,12 +87457,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87408
87457
  continue;
87409
87458
  const email = ("EmailAddress" in payload ? payload.EmailAddress : "") ?? "";
87410
87459
  const ceasedRoles = "CeasedAppointedRoles" in payload && Array.isArray(payload.CeasedAppointedRoles) ? payload.CeasedAppointedRoles.map((role) => `${role.PositionFullName} - ${role.CeasedDate} (Appointed ${role.AppointedDate})`) : void 0;
87411
- const name = [
87412
- toTitleCase(payload.PersonName.FirstName ?? ""),
87413
- toTitleCase(payload.PersonName.MiddleName ?? ""),
87414
- toTitleCase(payload.PersonName.LastName ?? "")
87415
- ].filter(Boolean).join(" ");
87416
- personsMap.set(fullName(payload), __spreadProps(__spreadValues({}, deltaData), { email, ceasedRoles, position: payload.OfficerPositionName, fullName: name }));
87460
+ personsMap.set(fullName(payload), __spreadProps(__spreadValues({}, deltaData), { email, ceasedRoles }));
87417
87461
  }
87418
87462
  };
87419
87463
  populatePersonsMap(initialAdministrators);
@@ -87425,7 +87469,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87425
87469
  "src/app/helpers/initial-return-payload.helper.ts"() {
87426
87470
  init_address_utils();
87427
87471
  init_transform_utils();
87428
- init_common_utils();
87429
87472
  }
87430
87473
  });
87431
87474
 
@@ -88949,7 +88992,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88949
88992
  this.activeStep.set(Step.Validate);
88950
88993
  }
88951
88994
  parseError(errors) {
88952
- 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);
88953
88996
  }
88954
88997
  /**
88955
88998
  * Checks a successful response for validation errors.
@@ -88968,9 +89011,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88968
89011
  */
88969
89012
  handleCatchError(response) {
88970
89013
  console.error(response);
88971
- if (response instanceof Error) {
88972
- this.errors.set([response.message]);
88973
- return;
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
+ }
88974
89021
  }
88975
89022
  let parsed = response;
88976
89023
  try {
@@ -89141,73 +89188,73 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89141
89188
  OntarioComponent
89142
89189
  ], encapsulation: ViewEncapsulation.ShadowDom, host: {
89143
89190
  "[style.height]": "modalHeight()"
89144
- }, template: `<div class="filing">\r
89145
- <div class="filing-title">\r
89146
- <h1 class="filing-title-text">{{title() | translate}}</h1>\r
89147
- <mat-icon (click)="onClose()" class="filing-title-action">close</mat-icon>\r
89148
- </div>\r
89149
- \r
89150
- @if (isEditButton()) {\r
89151
- <div class="filing-header">\r
89152
- <button\r
89153
- mat-stroked-button\r
89154
- [disabled]="isLoading()"\r
89155
- (click)="onEditClick()"\r
89156
- >\r
89157
- {{ 'Edit' | translate }}\r
89158
- </button>\r
89159
- </div>\r
89160
- }\r
89161
- \r
89162
- <div [class.edit]="isEditButton()" class="filing-content">\r
89163
- @let currentTask = task();\r
89164
- \r
89165
- @if (currentTask) {\r
89166
- @if (isOntarioTask(currentTask)) {\r
89167
- <ontario\r
89168
- [task]="currentTask"\r
89169
- [activeStep]="activeStep()"\r
89170
- [isNote]="dataWasChanged()"\r
89171
- [actionsDisabled]="isLoading()"\r
89172
- [errors]="errors()"\r
89173
- [prevData]="prevData()"\r
89174
- (close)="close.emit()"\r
89175
- (formationValidate)="onOntarioFormationValidate($event)"\r
89176
- (saveFormationDeltaData)="onOntarioFormationSave($event)"\r
89177
- (formationSubmit)="onOntarioFormationSubmit()"\r
89178
- (nextStep)="onNextStepClick()"\r
89179
- (prevStep)="onOntarioPrevStep()"\r
89180
- [irValidationConfig]="validationConfig()"\r
89181
- (irValidate)="validateAndFileInitialReturnTask($event)"\r
89182
- (saveIrDeltaData)="onOntarioUpdateMaintainSave($event)"\r
89183
- (irSubmit)="onInitialReturnSubmit()"\r
89184
- />\r
89185
- } @else {\r
89186
- <federal\r
89187
- [actionsDisabled]="isLoading()"\r
89188
- [isNote]="dataWasChanged()"\r
89189
- [activeStep]="activeStep()"\r
89190
- [task]="currentTask"\r
89191
- [errors]="errors()"\r
89192
- (close)="close.emit()"\r
89193
- (deltaDataChange)="onFederalFormationSave($event)"\r
89194
- (file)="onFederalFormationSubmit()"\r
89195
- (validate)="onFederalValidate($event)"\r
89196
- (umSave)="onFederalUpdateMaintainSave($event)"\r
89197
- (umValidate)="onFederalUpdateMaintainValidate($event)"\r
89198
- (umSubmit)="onFederalUpdateMaintainSubmit()"\r
89199
- (nextStep)="defineInitialStep()"\r
89200
- />\r
89201
- }\r
89202
- }\r
89203
- \r
89204
- @if (isLoading()) {\r
89205
- <div class="filing-content-loading">\r
89206
- <mat-spinner [diameter]="40" />\r
89207
- </div>\r
89208
- }\r
89209
- </div>\r
89210
- </div>\r
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>
89211
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'] }]
89212
89259
  }], () => [], null);
89213
89260
  })();