@dyedurham/search-and-file-widget 1.6.0 → 1.6.2

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 +1372 -1341
  2. package/package.json +1 -1
@@ -49614,11 +49614,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49614
49614
  const requestedStr = requested.toISOString().split("T")[0];
49615
49615
  return todayStr === requestedStr ? ECoreEffectiveType.CurrentDate : ECoreEffectiveType.FutureDate;
49616
49616
  }
49617
- function createCoverLetter(officialBusinessEmail, contact) {
49617
+ function createCoverLetter(deltaData) {
49618
49618
  return {
49619
- FirstName: contact?._profile?.name || "",
49620
- LastName: contact?._profile?.["secondary_name"] || "",
49621
- Email: officialBusinessEmail || "",
49619
+ FirstName: deltaData?.signatoryFirstName || "",
49620
+ LastName: deltaData?.signatoryLastName || "",
49621
+ Email: "noreply@dyedurham.com",
49622
49622
  ContactPhone: {
49623
49623
  CountryCode: "1",
49624
49624
  AreaCode: "000",
@@ -49669,7 +49669,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49669
49669
  const officialBusinessEmail = registeredOfficeAddress?.communications?.find((c) => c.type === "Business Email")?.value;
49670
49670
  const naicsData = task.entity._profile?.naics;
49671
49671
  const requestedDate = task._ext._future_filing_date ? new Date(task._ext._future_filing_date).toISOString().split("T")[0] : (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
49672
- const contact = task.entity.affiliations.find((a) => a._id === deltaData.contactUid);
49673
49672
  const restrictionsOnBusiness = task.entity._articles?.restrictions || "None";
49674
49673
  const restrictionsOnShareClasses = task.entity._articles?.share_terms || "";
49675
49674
  const restrictionsOnShareRights = task.entity._articles?.share_restrictions_text || "None";
@@ -49681,7 +49680,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49681
49680
  EnglishName: englishName,
49682
49681
  FrenchName: frenchName,
49683
49682
  RegisteredOffice: transformAddress(registeredOfficeAddress, deltaData.registeredOfficeAddress),
49684
- CoverLetter: createCoverLetter(officialBusinessEmail, contact?.target),
49683
+ CoverLetter: createCoverLetter(deltaData),
49685
49684
  DirectorNumberType: task.entity._articles?.min_directors === task.entity._articles?.max_directors ? ECoreDirectorNumberType.Fixed : ECoreDirectorNumberType.Range,
49686
49685
  MinimumNumberOfDirectors: task.entity._articles?.min_directors,
49687
49686
  MaximumNumberOfDirectors: task.entity._articles?.max_directors,
@@ -50568,7 +50567,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50568
50567
  FormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
50569
50568
  FormationFormGroups2["CorporationDetails"] = "Corporation Details";
50570
50569
  FormationFormGroups2["LegalOpinion"] = "Legal Opinion";
50571
- FormationFormGroups2["SharesAndRestrictions"] = "Shares & Restrictions";
50570
+ FormationFormGroups2["SharesAndProvisions"] = "Shares & Provisions";
50572
50571
  FormationFormGroups2["Incorporators"] = "Incorporators";
50573
50572
  FormationFormGroups2["Directors"] = "Directors";
50574
50573
  FormationFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
@@ -51189,7 +51188,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51189
51188
  });
51190
51189
 
51191
51190
  // src/app/constants/ui/ontario-formation-form.constants.ts
51192
- var ONTARIO_NAME_TYPE_OPTIONS, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, FORMATION_DELTA_CARD_FORM_ADDRESS_FIELDS_MAP, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD, FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP, FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS, FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, generateFormationDeltaCardFormCorporationDetails, generateOntarioFormationFormContactControl, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS, addressEnabledFieldsMap;
51191
+ var ONTARIO_NAME_TYPE_OPTIONS, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, FORMATION_DELTA_CARD_FORM_ADDRESS_FIELDS_MAP, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD, FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP, FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS, FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, generateFormationDeltaCardFormCorporationDetails, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS, addressEnabledFieldsMap;
51193
51192
  var init_ontario_formation_form_constants = __esm({
51194
51193
  "src/app/constants/ui/ontario-formation-form.constants.ts"() {
51195
51194
  init_form_enums();
@@ -51412,25 +51411,46 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51412
51411
  class: "span-12"
51413
51412
  };
51414
51413
  FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP = {
51415
- [AffiliationAddressType.CanadianNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, EMAIL_TEXT_FIELD],
51416
- [AffiliationAddressType.CanadianSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, EMAIL_TEXT_FIELD],
51417
- [AffiliationAddressType.InternationalNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, EMAIL_TEXT_FIELD],
51418
- [AffiliationAddressType.InternationalSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, EMAIL_TEXT_FIELD]
51414
+ [AffiliationAddressType.CanadianNoSuite]: [
51415
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT,
51416
+ EMAIL_TEXT_FIELD
51417
+ ],
51418
+ [AffiliationAddressType.CanadianSuite]: [
51419
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT,
51420
+ EMAIL_TEXT_FIELD
51421
+ ],
51422
+ [AffiliationAddressType.InternationalNoSuite]: [
51423
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT,
51424
+ EMAIL_TEXT_FIELD
51425
+ ],
51426
+ [AffiliationAddressType.InternationalSuite]: [
51427
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT,
51428
+ EMAIL_TEXT_FIELD
51429
+ ]
51419
51430
  };
51420
51431
  FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP = {
51421
- [AffiliationAddressType.CanadianNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD],
51422
- [AffiliationAddressType.CanadianSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD],
51423
- [AffiliationAddressType.InternationalNoSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD],
51424
- [AffiliationAddressType.InternationalSuite]: [...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD]
51432
+ [AffiliationAddressType.CanadianNoSuite]: [
51433
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT,
51434
+ EMAIL_TEXT_FIELD,
51435
+ RESIDENT_CHECKBOX_FIELD
51436
+ ],
51437
+ [AffiliationAddressType.CanadianSuite]: [
51438
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT,
51439
+ EMAIL_TEXT_FIELD,
51440
+ RESIDENT_CHECKBOX_FIELD
51441
+ ],
51442
+ [AffiliationAddressType.InternationalNoSuite]: [
51443
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT,
51444
+ EMAIL_TEXT_FIELD,
51445
+ RESIDENT_CHECKBOX_FIELD
51446
+ ],
51447
+ [AffiliationAddressType.InternationalSuite]: [
51448
+ ...FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT,
51449
+ EMAIL_TEXT_FIELD,
51450
+ RESIDENT_CHECKBOX_FIELD
51451
+ ]
51425
51452
  };
51426
51453
  FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS = [
51427
- {
51428
- type: FormType.TextArea,
51429
- label: "Restrictions on Business or Powers",
51430
- placeholder: "",
51431
- class: "span-12",
51432
- formControlName: FormationFormControls.RestrictionsOnBusiness
51433
- },
51434
51454
  {
51435
51455
  type: FormType.TextArea,
51436
51456
  label: "Description of Classes of Shares",
@@ -51452,6 +51472,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51452
51472
  class: "span-12",
51453
51473
  formControlName: FormationFormControls.RestrictionsOnShareTransfers
51454
51474
  },
51475
+ {
51476
+ type: FormType.TextArea,
51477
+ label: "Restrictions on Business or Powers",
51478
+ placeholder: "",
51479
+ class: "span-12",
51480
+ formControlName: FormationFormControls.RestrictionsOnBusiness
51481
+ },
51455
51482
  {
51456
51483
  type: FormType.TextArea,
51457
51484
  label: "Other Provisions",
@@ -51475,7 +51502,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51475
51502
  }
51476
51503
  ];
51477
51504
  generateFormationDeltaCardFormCorporationDetails = (name, secondaryName) => {
51478
- const proposedOptions = [{ label: name ?? "", value: name }, { label: secondaryName ?? "", value: secondaryName }].filter((option) => option.value);
51505
+ const proposedOptions = [
51506
+ { label: name ?? "", value: name },
51507
+ { label: secondaryName ?? "", value: secondaryName }
51508
+ ].filter((option) => option.value);
51479
51509
  return [
51480
51510
  {
51481
51511
  type: FormType.Select,
@@ -51490,7 +51520,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51490
51520
  if (isNumbered) {
51491
51521
  form.get(FormationFormControls.wasLegalOpinionObtained)?.setValue(false, { emitEvent: false });
51492
51522
  }
51493
- if ([NameType.NamedEnglish, NameType.NamedBilingual, NameType.NamedCombined].includes(corporationNameType)) {
51523
+ if ([
51524
+ NameType.NamedEnglish,
51525
+ NameType.NamedBilingual,
51526
+ NameType.NamedCombined
51527
+ ].includes(corporationNameType)) {
51494
51528
  form.get(FormationFormControls.ProposedCorporationNameEng)?.setValue(name, { emitEvent: false });
51495
51529
  }
51496
51530
  if ([NameType.NamedFrench].includes(corporationNameType)) {
@@ -51532,7 +51566,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51532
51566
  {
51533
51567
  type: FormType.Select,
51534
51568
  placeholder: "",
51535
- label: "Corporation Name",
51569
+ label: "Proposed Corporation Name",
51536
51570
  formControlName: FormationFormControls.ProposedCorporationNameEng,
51537
51571
  required: true,
51538
51572
  class: "column-3",
@@ -51557,6 +51591,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51557
51591
  isVisible: (form) => form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedBilingual || form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedCombined || form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedEnglish,
51558
51592
  class: "span-3"
51559
51593
  },
51594
+ {
51595
+ type: FormType.Select,
51596
+ placeholder: "",
51597
+ label: "Proposed Corporation Name",
51598
+ formControlName: FormationFormControls.ProposedCorporationNameFr,
51599
+ required: true,
51600
+ class: "column-3",
51601
+ isVisible: (form) => form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedFrench,
51602
+ options: proposedOptions
51603
+ },
51560
51604
  {
51561
51605
  type: FormType.Select,
51562
51606
  placeholder: "",
@@ -51564,7 +51608,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51564
51608
  formControlName: FormationFormControls.ProposedCorporationNameFr,
51565
51609
  required: true,
51566
51610
  class: "column-3",
51567
- isVisible: (form) => form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedFrench || form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedBilingual,
51611
+ isVisible: (form) => form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedBilingual,
51568
51612
  options: proposedOptions
51569
51613
  },
51570
51614
  {
@@ -51619,34 +51663,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51619
51663
  }
51620
51664
  ];
51621
51665
  };
51622
- generateOntarioFormationFormContactControl = (contacts) => {
51623
- const contactsOptions = contacts.map((contact) => ({ label: contact.participant._profile.name ?? "", value: contact._id }));
51624
- return [
51625
- {
51626
- type: FormType.Select,
51627
- label: "Contact",
51628
- formControlName: FormationFormControls.Contact,
51629
- required: true,
51630
- options: contactsOptions,
51631
- class: "span-12"
51632
- },
51633
- {
51634
- type: FormType.Text,
51635
- dynamicLabel: (form, t) => {
51636
- const id = form.get(FormationFormControls.Contact)?.value;
51637
- const contact = contacts.find((contact2) => contact2._id === id);
51638
- const email = contact?.addresses[0]?.emails?.primary;
51639
- const phone = contact?.addresses[0]?.contact_numbers?.primary;
51640
- return `<span class="body-1-semibold">${t("Contact Details")}:</span> ${getContactDetailsPreview(email, phone, t)}`;
51641
- },
51642
- formControlName: "",
51643
- required: false,
51644
- isVisible: (form) => form.get(FormationFormControls.Contact)?.value,
51645
- class: "span-12"
51646
- }
51647
- ];
51648
- };
51649
- FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER = [
51666
+ FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER = (lawyerOptions) => [
51650
51667
  {
51651
51668
  type: FormType.Select,
51652
51669
  placeholder: "",
@@ -51654,17 +51671,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51654
51671
  formControlName: FormationFormControls.LawyerSigningOpinion,
51655
51672
  required: true,
51656
51673
  class: "span-12",
51657
- options: []
51658
- },
51674
+ options: lawyerOptions
51675
+ }
51676
+ ];
51677
+ FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS = [
51659
51678
  {
51660
51679
  type: FormType.Text,
51661
51680
  dynamicLabel: (_, t) => `<span class="body-1-semibold">${t("Confirm Address Parts")}:</span>`,
51662
51681
  placeholder: "",
51663
51682
  class: "span-12",
51664
51683
  formControlName: ""
51665
- }
51666
- ];
51667
- FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS = [
51684
+ },
51668
51685
  {
51669
51686
  type: FormType.Input,
51670
51687
  placeholder: "",
@@ -51766,7 +51783,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51766
51783
  const primaryActivity = `${naicsData?.code} - ${naicsData?.description}`;
51767
51784
  const corporationNameType = entityDetailsDelta?.corporationNameType || (task._ext._numbered_company === true ? NameType.Numbered : NameType.NamedEnglish);
51768
51785
  const isBilingualName = corporationNameType === NameType.NamedBilingual;
51769
- config2[FormationFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(referenceNumbers);
51786
+ config2[FormationFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(referenceNumbers, task.entity._profile.client_matter_number);
51770
51787
  config2[FormationFormGroups.CorporationDetails] = new FormGroup({
51771
51788
  [FormationFormControls.CorporationNameType]: new FormControl(corporationNameType ?? "", Validators.required),
51772
51789
  [FormationFormControls.LegalEnding]: new FormControl(entityDetailsDelta?.legalIdentifier ?? task.entity._profile.legal_entity_identifier, Validators.required),
@@ -51790,11 +51807,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51790
51807
  const restrictionsOnShareRights = task.entity._articles?.share_restrictions_text || "None";
51791
51808
  const restrictionsOnShareTransfers = task.entity._articles?.transfer_restrictions_text || "None";
51792
51809
  const otherProvisions = task.entity._articles?.other_provisions || "None";
51793
- config2[FormationFormGroups.SharesAndRestrictions] = new FormGroup({
51794
- [FormationFormControls.RestrictionsOnBusiness]: new FormControl({ value: restrictionsOnBusiness, disabled: true }),
51810
+ config2[FormationFormGroups.SharesAndProvisions] = new FormGroup({
51795
51811
  [FormationFormControls.RestrictionsOnShareClasses]: new FormControl({ value: restrictionsOnShareClasses, disabled: true }),
51796
51812
  [FormationFormControls.RestrictionsOnShareRights]: new FormControl({ value: restrictionsOnShareRights, disabled: true }),
51797
51813
  [FormationFormControls.RestrictionsOnShareTransfers]: new FormControl({ value: restrictionsOnShareTransfers, disabled: true }),
51814
+ [FormationFormControls.RestrictionsOnBusiness]: new FormControl({ value: restrictionsOnBusiness, disabled: true }),
51798
51815
  [FormationFormControls.OtherProvisions]: new FormControl({ value: otherProvisions, disabled: true })
51799
51816
  });
51800
51817
  if (directorsGroups.length) {
@@ -51803,14 +51820,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51803
51820
  if (incorporatorsGroups.length) {
51804
51821
  config2[FormationFormGroups.Incorporators] = new FormArray(incorporatorsGroups);
51805
51822
  }
51806
- config2[FormationFormGroups.Contact] = new FormGroup({
51807
- [FormationFormControls.Contact]: new FormControl(delta?.contactUid ?? "", Validators.required)
51808
- });
51809
51823
  return config2;
51810
51824
  }
51811
- static generateReferenceNumbersFormGroup(deltaData) {
51825
+ static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
51812
51826
  return new FormGroup({
51813
- [FormationFormControls.ClientMatterNumber]: new FormControl(deltaData?.referenceNumber ?? ""),
51827
+ [FormationFormControls.ClientMatterNumber]: new FormControl(deltaData?.referenceNumber ?? clientMatterNumber ?? ""),
51814
51828
  [FormationFormControls.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
51815
51829
  });
51816
51830
  }
@@ -54505,7 +54519,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
54505
54519
  (() => {
54506
54520
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ChipComponent, [{
54507
54521
  type: Component,
54508
- 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"] }]
54522
+ 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"] }]
54509
54523
  }], null, null);
54510
54524
  })();
54511
54525
  (() => {
@@ -54708,42 +54722,42 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
54708
54722
  animate("100ms cubic-bezier(0.4, 0.0, 0.2, 1)")
54709
54723
  ])
54710
54724
  ])
54711
- ], template: `<div [class.padded]="padded()" [class.border]="border()" class="expandable-card">\r
54712
- <div (click)="toggle()" class="expandable-card-header">\r
54713
- <h2 [class.list-item]="isListItem()" class="expandable-card-header-title">{{title() | translate}}</h2>\r
54714
- \r
54715
- <div [class.list-item]="isListItem()" class="expandable-card-header-container">\r
54716
- @if (isStatusIcon()) {\r
54717
- @if (!isValid()) {\r
54718
- <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>\r
54719
- }\r
54720
- }\r
54721
- \r
54722
- @if(chipType()) {\r
54723
- <chip [type]="chipType()" [title]="chipText()"/>\r
54724
- }\r
54725
- \r
54726
- @if (isExpandable()) {\r
54727
- <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>\r
54728
- }\r
54729
- </div>\r
54730
- </div>\r
54731
- \r
54732
- <div class="expandable-card-content"\r
54733
- [@expandCollapse]="isExpanded()">\r
54734
- <div class="expandable-card-content-item">\r
54735
- <ng-content></ng-content>\r
54736
- \r
54737
- @if (removable()) {\r
54738
- <div class="expandable-card-content-item-actions">\r
54739
- <span (click)="remove.emit()" class="body-1-regular light-blue pointer">{{'Remove' | translate}}</span>\r
54740
- </div>\r
54741
- }\r
54742
- \r
54743
- \r
54744
- </div>\r
54745
- </div>\r
54746
- </div>\r
54725
+ ], template: `<div [class.padded]="padded()" [class.border]="border()" class="expandable-card">
54726
+ <div (click)="toggle()" class="expandable-card-header">
54727
+ <h2 [class.list-item]="isListItem()" class="expandable-card-header-title">{{title() | translate}}</h2>
54728
+
54729
+ <div [class.list-item]="isListItem()" class="expandable-card-header-container">
54730
+ @if (isStatusIcon()) {
54731
+ @if (!isValid()) {
54732
+ <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>
54733
+ }
54734
+ }
54735
+
54736
+ @if(chipType()) {
54737
+ <chip [type]="chipType()" [title]="chipText()"/>
54738
+ }
54739
+
54740
+ @if (isExpandable()) {
54741
+ <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>
54742
+ }
54743
+ </div>
54744
+ </div>
54745
+
54746
+ <div class="expandable-card-content"
54747
+ [@expandCollapse]="isExpanded()">
54748
+ <div class="expandable-card-content-item">
54749
+ <ng-content></ng-content>
54750
+
54751
+ @if (removable()) {
54752
+ <div class="expandable-card-content-item-actions">
54753
+ <span (click)="remove.emit()" class="body-1-regular light-blue pointer">{{'Remove' | translate}}</span>
54754
+ </div>
54755
+ }
54756
+
54757
+
54758
+ </div>
54759
+ </div>
54760
+ </div>
54747
54761
  `, 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"] }]
54748
54762
  }], () => [], null);
54749
54763
  })();
@@ -71788,7 +71802,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
71788
71802
  MatFormFieldModule,
71789
71803
  MatInputModule,
71790
71804
  MatAutocompleteModule
71791
- ], 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' }]
71805
+ ], 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' }]
71792
71806
  }], null, null);
71793
71807
  })();
71794
71808
  (() => {
@@ -75931,7 +75945,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
75931
75945
  }
75932
75946
  ], imports: [
75933
75947
  MatCheckbox
75934
- ], 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"] }]
75948
+ ], 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"] }]
75935
75949
  }], null, null);
75936
75950
  })();
75937
75951
  (() => {
@@ -76576,7 +76590,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
76576
76590
  MatAutocompleteTrigger,
76577
76591
  TranslatePipe,
76578
76592
  CheckboxListComponent
76579
- ], styles: ['\n\n[_nghost-%COMP%] {\n height: 100%;\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
76593
+ ], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
76580
76594
  };
76581
76595
  (() => {
76582
76596
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
@@ -76605,240 +76619,240 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
76605
76619
  { provide: DateAdapter, useClass: MomentDateAdapter },
76606
76620
  { provide: MAT_DATE_FORMATS, useValue: MY_DATE_FORMATS },
76607
76621
  { provide: MAT_DATE_LOCALE, useValue: "en-GB" }
76608
- ], template: `@let fields = this.config();\r
76609
- @let form = this.form();\r
76610
- \r
76611
- <section>\r
76612
- <div [class.submitted]="isSubmitted()" class="filling-form-fields" [formGroup]="form">\r
76613
- @for (field of fields; track field.formControlName + $index; let last = $last) {\r
76614
- @if (!field.isVisible || field.isVisible(form)) {\r
76615
- @let previousValue = validationConfig()?.[field.formControlName];\r
76616
- \r
76617
- @switch (field.type) {\r
76618
- @case (types.Select) {\r
76619
- <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">\r
76620
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;\r
76621
- @if (label) {\r
76622
- <span class="filling-form-fields-item-label body-1-regular">\r
76623
- {{ (label | translate) + (field.required ? " *" : "") }}\r
76624
- </span>\r
76625
- }\r
76626
- <mat-form-field appearance="outline">\r
76627
- @let control = form.get(field.formControlName);\r
76628
- \r
76629
- <input\r
76630
- matInput\r
76631
- [formControlName]="field.formControlName"\r
76632
- [placeholder]="field.placeholder ?? ''"\r
76633
- [matAutocomplete]="autocompleteRef"\r
76634
- (change)="field.onChange && field.onChange(form)"\r
76635
- />\r
76636
- \r
76637
- <mat-autocomplete\r
76638
- #autocompleteRef="matAutocomplete"\r
76639
- [displayWith]="getDisplayFn(field)"\r
76640
- (optionSelected)="field.onChange && field.onChange(form)"\r
76641
- >\r
76642
- @for (option of getFilteredOptions(field); track option.value) {\r
76643
- <mat-option\r
76644
- class="filing-form-group-select-option"\r
76645
- [value]="option.value"\r
76646
- >\r
76647
- {{ option.label }}\r
76648
- </mat-option>\r
76649
- }\r
76650
- @if (getFilteredOptions(field).length === 0) {\r
76651
- <mat-option disabled>No options found</mat-option>\r
76652
- }\r
76653
- </mat-autocomplete>\r
76654
- \r
76655
- @if (control?.value && !control?.disabled) {\r
76656
- <div matSuffix class="suffix-container">\r
76657
- <button mat-icon-button (click)="control?.reset()">\r
76658
- <mat-icon>close</mat-icon>\r
76659
- </button>\r
76660
- \r
76661
- <mat-icon class="arrow-icon">arrow_drop_down</mat-icon>\r
76662
- </div>\r
76663
- } @else {\r
76664
- <mat-icon matSuffix>arrow_drop_down</mat-icon>\r
76665
- }\r
76666
- \r
76667
- <mat-error>{{ field.label }} is required</mat-error>\r
76668
- </mat-form-field>\r
76669
- </div>\r
76670
- }\r
76671
- \r
76672
- @case (types.Checkbox) {\r
76673
- <div [class.last]="last" class="filling-form-fields-checkbox {{field.class ?? 'span-6'}}">\r
76674
- <mat-checkbox\r
76675
- (change)="field.onChange && field.onChange(form)"\r
76676
- [formControlName]="field.formControlName"\r
76677
- >\r
76678
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;\r
76679
- <div>\r
76680
- <span class="body-1-regular black" [class.warning]="!!previousValue">{{\r
76681
- label\r
76682
- }}</span>\r
76683
- @if (previousValue != null) {\r
76684
- <mat-icon\r
76685
- [class.warning]="true"\r
76686
- class="filling-form-fields-item-icon"\r
76687
- matSuffix\r
76688
- >warning_amber</mat-icon\r
76689
- >\r
76690
- }\r
76691
- </div>\r
76692
- </mat-checkbox>\r
76693
- \r
76694
- @if (previousValue != null) {\r
76695
- <mat-hint\r
76696
- [class.warning]="true"\r
76697
- class="filling-form-fields-item-hint"\r
76698
- >Previously saved value: {{ previousValue ? 'checked' : 'unchecked' }}</mat-hint\r
76699
- >\r
76700
- }\r
76701
- </div>\r
76702
- }\r
76703
- \r
76704
- @case (types.Empty) {\r
76705
- <div class="filling-form-fields-empty {{field.class ?? 'span-6'}}"></div>\r
76706
- }\r
76707
- @case (types.Autocomplete) {\r
76708
- <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">\r
76709
- @if (field.label) {\r
76710
- <span class="filling-form-fields-item-label body-1-regular">\r
76711
- {{ field.label + (field.required ? " *" : "") }}\r
76712
- </span>\r
76713
- }\r
76714
- <autocomplete-field\r
76715
- [options]="field.options ?? []"\r
76716
- [control]="getFormControl(field.formControlName)"\r
76717
- [placeholder]="field.placeholder ?? ''"\r
76718
- [required]="field.required ?? false"\r
76719
- />\r
76720
- </div>\r
76721
- }\r
76722
- \r
76723
- @case (types.Date) {\r
76724
- <div\r
76725
- class="filling-form-fields-item {{field.class ?? 'span-6'}}"\r
76726
- [class.warning]="!!previousValue"\r
76727
- >\r
76728
- @if (field.label) {\r
76729
- <span\r
76730
- class="filling-form-fields-item-label body-1-regular"\r
76731
- [class.warning]="!!previousValue"\r
76732
- >\r
76733
- {{ field.label + (field.required ? " *" : "") }}\r
76734
- </span>\r
76735
- }\r
76736
- \r
76737
- <mat-form-field appearance="outline">\r
76738
- <input\r
76739
- matInput\r
76740
- [matDatepicker]="picker"\r
76741
- [formControlName]="field.formControlName"\r
76742
- [placeholder]="field.placeholder ?? ''"\r
76743
- (dateChange)="field.onChange && field.onChange(form)"\r
76744
- />\r
76745
- <mat-datepicker-toggle matSuffix [for]="picker">\r
76746
- <mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>\r
76747
- </mat-datepicker-toggle>\r
76748
- <mat-datepicker #picker></mat-datepicker>\r
76749
- \r
76750
- @if (previousValue != null) {\r
76751
- <mat-hint\r
76752
- [class.warning]="true"\r
76753
- class="filling-form-fields-item-hint"\r
76754
- >\r
76755
- Previously saved value: {{ previousValue }}\r
76756
- </mat-hint>\r
76757
- }\r
76758
- \r
76759
- <mat-error>{{field.label}} is required</mat-error>\r
76760
- </mat-form-field>\r
76761
- </div>\r
76762
- }\r
76763
- \r
76764
- @case (types.Input) {\r
76765
- <div\r
76766
- [class.warning]="!!previousValue"\r
76767
- class="filling-form-fields-item {{field.class ?? 'span-6'}}"\r
76768
- >\r
76769
- @if (field.label) {\r
76770
- <span\r
76771
- [class.warning]="!!previousValue"\r
76772
- class="filling-form-fields-item-label body-1-regular"\r
76773
- >\r
76774
- {{ field.label + (field.required ? " *" : "") }}\r
76775
- </span>\r
76776
- \r
76777
- <mat-form-field appearance="outline">\r
76778
- <input\r
76779
- matInput\r
76780
- [readonly]="field.readonly"\r
76781
- [formControlName]="field.formControlName"\r
76782
- [placeholder]="field.placeholder ?? ''"\r
76783
- (change)="field.onChange && field.onChange(form)"\r
76784
- />\r
76785
- \r
76786
- @if (previousValue != null) {\r
76787
- <mat-hint\r
76788
- [class.warning]="true"\r
76789
- class="filling-form-fields-item-hint"\r
76790
- >Previously saved value: {{ previousValue }}</mat-hint\r
76791
- >\r
76792
- }\r
76793
- \r
76794
- @if (previousValue != null) {\r
76795
- <mat-icon\r
76796
- [class.warning]="true"\r
76797
- class="filling-form-fields-item-icon"\r
76798
- matSuffix\r
76799
- >warning_amber</mat-icon\r
76800
- >\r
76801
- }\r
76802
- \r
76803
- <mat-error>{{field.label}} is required</mat-error>\r
76804
- </mat-form-field>\r
76805
- }\r
76806
- </div>\r
76807
- }\r
76808
- @case (types.TextArea) {\r
76809
- <div class="filling-form-fields-item text-area {{field.class ?? 'span-6'}}">\r
76810
- @if (field.label) {\r
76811
- <span class="filling-form-fields-item-label body-1-regular">\r
76812
- {{ field.label + (field.required ? " *" : "") }}\r
76813
- </span>\r
76814
- \r
76815
- <mat-form-field appearance="outline">\r
76816
- <textarea\r
76817
- matInput\r
76818
- [readonly]="field.readonly"\r
76819
- [formControlName]="field.formControlName"\r
76820
- [placeholder]="field.placeholder ?? ''"\r
76821
- (change)="field.onChange && field.onChange(form)"\r
76822
- ></textarea>\r
76823
- </mat-form-field>\r
76824
- }\r
76825
- </div>\r
76826
- }\r
76827
- @case (types.CheckboxList) {\r
76828
- <checkbox-list class="{{field.class}}" [formControlName]="field.formControlName" [items]="field.options ?? []"/>\r
76829
- }\r
76830
- @case (types.Text) {\r
76831
- @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label;\r
76832
- @if (label) {\r
76833
- <p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p>\r
76834
- }\r
76835
- }\r
76836
- }\r
76837
- }\r
76838
- }\r
76839
- </div>\r
76840
- </section>\r
76841
- `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n height: 100%;\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'] }]
76622
+ ], template: `@let fields = this.config();
76623
+ @let form = this.form();
76624
+
76625
+ <section>
76626
+ <div [class.submitted]="isSubmitted()" class="filling-form-fields" [formGroup]="form">
76627
+ @for (field of fields; track field.formControlName + $index; let last = $last) {
76628
+ @if (!field.isVisible || field.isVisible(form)) {
76629
+ @let previousValue = validationConfig()?.[field.formControlName];
76630
+
76631
+ @switch (field.type) {
76632
+ @case (types.Select) {
76633
+ <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">
76634
+ @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;
76635
+ @if (label) {
76636
+ <span class="filling-form-fields-item-label body-1-regular">
76637
+ {{ (label | translate) + (field.required ? " *" : "") }}
76638
+ </span>
76639
+ }
76640
+ <mat-form-field appearance="outline">
76641
+ @let control = form.get(field.formControlName);
76642
+
76643
+ <input
76644
+ matInput
76645
+ [formControlName]="field.formControlName"
76646
+ [placeholder]="field.placeholder ?? ''"
76647
+ [matAutocomplete]="autocompleteRef"
76648
+ (change)="field.onChange && field.onChange(form)"
76649
+ />
76650
+
76651
+ <mat-autocomplete
76652
+ #autocompleteRef="matAutocomplete"
76653
+ [displayWith]="getDisplayFn(field)"
76654
+ (optionSelected)="field.onChange && field.onChange(form)"
76655
+ >
76656
+ @for (option of getFilteredOptions(field); track option.value) {
76657
+ <mat-option
76658
+ class="filing-form-group-select-option"
76659
+ [value]="option.value"
76660
+ >
76661
+ {{ option.label }}
76662
+ </mat-option>
76663
+ }
76664
+ @if (getFilteredOptions(field).length === 0) {
76665
+ <mat-option disabled>No options found</mat-option>
76666
+ }
76667
+ </mat-autocomplete>
76668
+
76669
+ @if (control?.value && !control?.disabled) {
76670
+ <div matSuffix class="suffix-container">
76671
+ <button mat-icon-button (click)="control?.reset()">
76672
+ <mat-icon>close</mat-icon>
76673
+ </button>
76674
+
76675
+ <mat-icon class="arrow-icon">arrow_drop_down</mat-icon>
76676
+ </div>
76677
+ } @else {
76678
+ <mat-icon matSuffix>arrow_drop_down</mat-icon>
76679
+ }
76680
+
76681
+ <mat-error>{{ field.label }} is required</mat-error>
76682
+ </mat-form-field>
76683
+ </div>
76684
+ }
76685
+
76686
+ @case (types.Checkbox) {
76687
+ <div [class.last]="last" class="filling-form-fields-checkbox {{field.class ?? 'span-6'}}">
76688
+ <mat-checkbox
76689
+ (change)="field.onChange && field.onChange(form)"
76690
+ [formControlName]="field.formControlName"
76691
+ >
76692
+ @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn) : field.label;
76693
+ <div>
76694
+ <span class="body-1-regular black" [class.warning]="!!previousValue">{{
76695
+ label
76696
+ }}</span>
76697
+ @if (previousValue != null) {
76698
+ <mat-icon
76699
+ [class.warning]="true"
76700
+ class="filling-form-fields-item-icon"
76701
+ matSuffix
76702
+ >warning_amber</mat-icon
76703
+ >
76704
+ }
76705
+ </div>
76706
+ </mat-checkbox>
76707
+
76708
+ @if (previousValue != null) {
76709
+ <mat-hint
76710
+ [class.warning]="true"
76711
+ class="filling-form-fields-item-hint"
76712
+ >Previously saved value: {{ previousValue ? 'checked' : 'unchecked' }}</mat-hint
76713
+ >
76714
+ }
76715
+ </div>
76716
+ }
76717
+
76718
+ @case (types.Empty) {
76719
+ <div class="filling-form-fields-empty {{field.class ?? 'span-6'}}"></div>
76720
+ }
76721
+ @case (types.Autocomplete) {
76722
+ <div class="filling-form-fields-item {{field.class ?? 'span-6'}}">
76723
+ @if (field.label) {
76724
+ <span class="filling-form-fields-item-label body-1-regular">
76725
+ {{ field.label + (field.required ? " *" : "") }}
76726
+ </span>
76727
+ }
76728
+ <autocomplete-field
76729
+ [options]="field.options ?? []"
76730
+ [control]="getFormControl(field.formControlName)"
76731
+ [placeholder]="field.placeholder ?? ''"
76732
+ [required]="field.required ?? false"
76733
+ />
76734
+ </div>
76735
+ }
76736
+
76737
+ @case (types.Date) {
76738
+ <div
76739
+ class="filling-form-fields-item {{field.class ?? 'span-6'}}"
76740
+ [class.warning]="!!previousValue"
76741
+ >
76742
+ @if (field.label) {
76743
+ <span
76744
+ class="filling-form-fields-item-label body-1-regular"
76745
+ [class.warning]="!!previousValue"
76746
+ >
76747
+ {{ field.label + (field.required ? " *" : "") }}
76748
+ </span>
76749
+ }
76750
+
76751
+ <mat-form-field appearance="outline">
76752
+ <input
76753
+ matInput
76754
+ [matDatepicker]="picker"
76755
+ [formControlName]="field.formControlName"
76756
+ [placeholder]="field.placeholder ?? ''"
76757
+ (dateChange)="field.onChange && field.onChange(form)"
76758
+ />
76759
+ <mat-datepicker-toggle matSuffix [for]="picker">
76760
+ <mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>
76761
+ </mat-datepicker-toggle>
76762
+ <mat-datepicker #picker></mat-datepicker>
76763
+
76764
+ @if (previousValue != null) {
76765
+ <mat-hint
76766
+ [class.warning]="true"
76767
+ class="filling-form-fields-item-hint"
76768
+ >
76769
+ Previously saved value: {{ previousValue }}
76770
+ </mat-hint>
76771
+ }
76772
+
76773
+ <mat-error>{{field.label}} is required</mat-error>
76774
+ </mat-form-field>
76775
+ </div>
76776
+ }
76777
+
76778
+ @case (types.Input) {
76779
+ <div
76780
+ [class.warning]="!!previousValue"
76781
+ class="filling-form-fields-item {{field.class ?? 'span-6'}}"
76782
+ >
76783
+ @if (field.label) {
76784
+ <span
76785
+ [class.warning]="!!previousValue"
76786
+ class="filling-form-fields-item-label body-1-regular"
76787
+ >
76788
+ {{ field.label + (field.required ? " *" : "") }}
76789
+ </span>
76790
+
76791
+ <mat-form-field appearance="outline">
76792
+ <input
76793
+ matInput
76794
+ [readonly]="field.readonly"
76795
+ [formControlName]="field.formControlName"
76796
+ [placeholder]="field.placeholder ?? ''"
76797
+ (change)="field.onChange && field.onChange(form)"
76798
+ />
76799
+
76800
+ @if (previousValue != null) {
76801
+ <mat-hint
76802
+ [class.warning]="true"
76803
+ class="filling-form-fields-item-hint"
76804
+ >Previously saved value: {{ previousValue }}</mat-hint
76805
+ >
76806
+ }
76807
+
76808
+ @if (previousValue != null) {
76809
+ <mat-icon
76810
+ [class.warning]="true"
76811
+ class="filling-form-fields-item-icon"
76812
+ matSuffix
76813
+ >warning_amber</mat-icon
76814
+ >
76815
+ }
76816
+
76817
+ <mat-error>{{field.label}} is required</mat-error>
76818
+ </mat-form-field>
76819
+ }
76820
+ </div>
76821
+ }
76822
+ @case (types.TextArea) {
76823
+ <div class="filling-form-fields-item text-area {{field.class ?? 'span-6'}}">
76824
+ @if (field.label) {
76825
+ <span class="filling-form-fields-item-label body-1-regular">
76826
+ {{ field.label + (field.required ? " *" : "") }}
76827
+ </span>
76828
+
76829
+ <mat-form-field appearance="outline">
76830
+ <textarea
76831
+ matInput
76832
+ [readonly]="field.readonly"
76833
+ [formControlName]="field.formControlName"
76834
+ [placeholder]="field.placeholder ?? ''"
76835
+ (change)="field.onChange && field.onChange(form)"
76836
+ ></textarea>
76837
+ </mat-form-field>
76838
+ }
76839
+ </div>
76840
+ }
76841
+ @case (types.CheckboxList) {
76842
+ <checkbox-list class="{{field.class}}" [formControlName]="field.formControlName" [items]="field.options ?? []"/>
76843
+ }
76844
+ @case (types.Text) {
76845
+ @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label;
76846
+ @if (label) {
76847
+ <p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p>
76848
+ }
76849
+ }
76850
+ }
76851
+ }
76852
+ }
76853
+ </div>
76854
+ </section>
76855
+ `, 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'] }]
76842
76856
  }], null, null);
76843
76857
  })();
76844
76858
  (() => {
@@ -77092,69 +77106,69 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77092
77106
  animate("100ms cubic-bezier(0.4, 0.0, 0.2, 1)")
77093
77107
  ])
77094
77108
  ])
77095
- ], template: `<div class="expandable-card">\r
77096
- <div [class.expanded]="isExpanded()" (click)="toggle()" class="expandable-card-header">\r
77097
- <h2 class="expandable-card-header-title">{{title()}}</h2>\r
77098
- \r
77099
- <div class="expandable-card-header-container">\r
77100
- @if (isStatusIcon()) {\r
77101
- @if (!isValid()) {\r
77102
- <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>\r
77103
- }\r
77104
- }\r
77105
- \r
77106
- <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>\r
77107
- </div>\r
77108
- </div>\r
77109
- \r
77110
- <div class="expandable-card-content"\r
77111
- [@expandCollapse]="isExpanded()">\r
77112
- <ng-content select="[slot='header-content']"></ng-content>\r
77113
- <div class="expandable-card-actions">\r
77114
- <div>\r
77115
- <ng-content select="[slot='subtitle']"></ng-content>\r
77116
- </div>\r
77117
- \r
77118
- @if (controlsCount() !== 0) {\r
77119
- <div class="expandable-card-actions-items">\r
77120
- <h3 class="expandable-card-actions-item" (click)="expandAll()">\r
77121
- {{ 'Expand all' | translate }}\r
77122
- </h3>\r
77123
- <h3 class="expandable-card-actions-separator">|</h3>\r
77124
- <h3 class="expandable-card-actions-item" (click)="collapseAll()"\r
77125
- >{{ 'Collapse all' | translate }}\r
77126
- </h3>\r
77127
- </div>\r
77128
- }\r
77129
- \r
77130
- </div>\r
77131
- \r
77132
- @for (formGroup of formArray().controls; let i = $index; track formGroup) {\r
77133
- <div class="expandable-card-separator">\r
77134
- <div class="expandable-card-separator-line"></div>\r
77135
- </div>\r
77136
- \r
77137
- <expandable-card\r
77138
- [isListItem]="true"\r
77139
- [title]="getFormGroup(i).get(labelKey())?.value"\r
77140
- [isStatusIcon]="isStatusIcon()"\r
77141
- [isValid]="!formGroup.invalid"\r
77142
- [isOpen]="isItemExpanded(i)"\r
77143
- [border]="false"\r
77144
- [padded]="false"\r
77145
- [chipType]="affiliationTypeToChipType(formGroup.get(controls.AffiliationType)?.value)"\r
77146
- [removable]="removable()"\r
77147
- (toggled)="toggleItem(i)"\r
77148
- (remove)="remove.emit(i)"\r
77149
- >\r
77150
- @let form = getFormGroup(i);\r
77151
- @let configValue = fields() ?? config()?.[form.get(configKey())?.value] ?? [];\r
77152
- <filing-form-group [prevData]="prevData()" [isSubmitted]="isSubmitted()" [form]="form" [config]="configValue"/>\r
77153
- \r
77154
- </expandable-card>\r
77155
- }\r
77156
- </div>\r
77157
- </div>\r
77109
+ ], template: `<div class="expandable-card">
77110
+ <div [class.expanded]="isExpanded()" (click)="toggle()" class="expandable-card-header">
77111
+ <h2 class="expandable-card-header-title">{{title()}}</h2>
77112
+
77113
+ <div class="expandable-card-header-container">
77114
+ @if (isStatusIcon()) {
77115
+ @if (!isValid()) {
77116
+ <mat-icon class="expandable-card-header-status-icon"> error_outline </mat-icon>
77117
+ }
77118
+ }
77119
+
77120
+ <mat-icon [class.rotated]="!isExpanded()">arrow_forward_ios</mat-icon>
77121
+ </div>
77122
+ </div>
77123
+
77124
+ <div class="expandable-card-content"
77125
+ [@expandCollapse]="isExpanded()">
77126
+ <ng-content select="[slot='header-content']"></ng-content>
77127
+ <div class="expandable-card-actions">
77128
+ <div>
77129
+ <ng-content select="[slot='subtitle']"></ng-content>
77130
+ </div>
77131
+
77132
+ @if (controlsCount() !== 0) {
77133
+ <div class="expandable-card-actions-items">
77134
+ <h3 class="expandable-card-actions-item" (click)="expandAll()">
77135
+ {{ 'Expand all' | translate }}
77136
+ </h3>
77137
+ <h3 class="expandable-card-actions-separator">|</h3>
77138
+ <h3 class="expandable-card-actions-item" (click)="collapseAll()"
77139
+ >{{ 'Collapse all' | translate }}
77140
+ </h3>
77141
+ </div>
77142
+ }
77143
+
77144
+ </div>
77145
+
77146
+ @for (formGroup of formArray().controls; let i = $index; track formGroup) {
77147
+ <div class="expandable-card-separator">
77148
+ <div class="expandable-card-separator-line"></div>
77149
+ </div>
77150
+
77151
+ <expandable-card
77152
+ [isListItem]="true"
77153
+ [title]="getFormGroup(i).get(labelKey())?.value"
77154
+ [isStatusIcon]="isStatusIcon()"
77155
+ [isValid]="!formGroup.invalid"
77156
+ [isOpen]="isItemExpanded(i)"
77157
+ [border]="false"
77158
+ [padded]="false"
77159
+ [chipType]="affiliationTypeToChipType(formGroup.get(controls.AffiliationType)?.value)"
77160
+ [removable]="removable()"
77161
+ (toggled)="toggleItem(i)"
77162
+ (remove)="remove.emit(i)"
77163
+ >
77164
+ @let form = getFormGroup(i);
77165
+ @let configValue = fields() ?? config()?.[form.get(configKey())?.value] ?? [];
77166
+ <filing-form-group [prevData]="prevData()" [isSubmitted]="isSubmitted()" [form]="form" [config]="configValue"/>
77167
+
77168
+ </expandable-card>
77169
+ }
77170
+ </div>
77171
+ </div>
77158
77172
  `, 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"] }]
77159
77173
  }], () => [], null);
77160
77174
  })();
@@ -77270,7 +77284,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77270
77284
  (() => {
77271
77285
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AlertComponent, [{
77272
77286
  type: Component,
77273
- args: [{ selector: "alert", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconModule], 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()}}</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>{{content()}}</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"] }]
77287
+ args: [{ selector: "alert", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconModule], 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()}}</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>{{content()}}</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"] }]
77274
77288
  }], null, null);
77275
77289
  })();
77276
77290
  (() => {
@@ -77300,8 +77314,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77300
77314
  }
77301
77315
  function OntarioIncorporationFormComponent_Conditional_5_Template(rf, ctx) {
77302
77316
  if (rf & 1) {
77303
- \u0275\u0275elementStart(0, "expandable-card", 4)(1, "div", 9);
77304
- \u0275\u0275element(2, "filing-form-group", 10);
77317
+ \u0275\u0275elementStart(0, "expandable-card", 4)(1, "div", 8);
77318
+ \u0275\u0275element(2, "filing-form-group", 9);
77305
77319
  \u0275\u0275elementEnd()();
77306
77320
  }
77307
77321
  if (rf & 2) {
@@ -77314,8 +77328,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77314
77328
  }
77315
77329
  function OntarioIncorporationFormComponent_Conditional_7_Template(rf, ctx) {
77316
77330
  if (rf & 1) {
77317
- \u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 9);
77318
- \u0275\u0275element(2, "filing-form-group", 10);
77331
+ \u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8);
77332
+ \u0275\u0275element(2, "filing-form-group", 9);
77319
77333
  \u0275\u0275elementEnd()();
77320
77334
  }
77321
77335
  if (rf & 2) {
@@ -77329,7 +77343,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77329
77343
  function OntarioIncorporationFormComponent_Conditional_8_Conditional_1_Template(rf, ctx) {
77330
77344
  if (rf & 1) {
77331
77345
  \u0275\u0275elementStart(0, "expandable-card", 5);
77332
- \u0275\u0275element(1, "filing-form-group", 10)(2, "filing-form-group", 10);
77346
+ \u0275\u0275element(1, "filing-form-group", 9)(2, "filing-form-group", 9);
77333
77347
  \u0275\u0275elementEnd();
77334
77348
  }
77335
77349
  if (rf & 2) {
@@ -77338,7 +77352,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77338
77352
  const ctx_r0 = \u0275\u0275nextContext();
77339
77353
  \u0275\u0275property("isValid", !legalOpinion_r4.invalid)("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.LegalOpinion);
77340
77354
  \u0275\u0275advance();
77341
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", legalOpinion_r4)("config", ctx_r0.legalOpinionLawyerFields);
77355
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", legalOpinion_r4)("config", ctx_r0.legalOpinionLawyerFields());
77342
77356
  \u0275\u0275advance();
77343
77357
  \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", legalOpinion_r4)("config", ctx_r0.legalOpinionConfirmAddressFields);
77344
77358
  }
@@ -77358,22 +77372,22 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77358
77372
  function OntarioIncorporationFormComponent_Conditional_10_Template(rf, ctx) {
77359
77373
  if (rf & 1) {
77360
77374
  \u0275\u0275elementStart(0, "expandable-card", 5);
77361
- \u0275\u0275element(1, "filing-form-group", 10);
77375
+ \u0275\u0275element(1, "filing-form-group", 9);
77362
77376
  \u0275\u0275elementEnd();
77363
77377
  }
77364
77378
  if (rf & 2) {
77365
- let tmp_15_0;
77379
+ let tmp_14_0;
77366
77380
  const ctx_r0 = \u0275\u0275nextContext();
77367
77381
  const registeredOfficeForm_r6 = \u0275\u0275readContextLet(9);
77368
77382
  \u0275\u0275property("isValid", !registeredOfficeForm_r6.invalid)("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.RegisteredOfficeAddress);
77369
77383
  \u0275\u0275advance();
77370
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOfficeForm_r6)("config", ctx_r0.affiliationCardFieldsMap[(tmp_15_0 = registeredOfficeForm_r6.get(ctx_r0.formationFormControls.AffiliationAddressType)) == null ? null : tmp_15_0.value]);
77384
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOfficeForm_r6)("config", ctx_r0.affiliationCardFieldsMap[(tmp_14_0 = registeredOfficeForm_r6.get(ctx_r0.formationFormControls.AffiliationAddressType)) == null ? null : tmp_14_0.value]);
77371
77385
  }
77372
77386
  }
77373
77387
  function OntarioIncorporationFormComponent_Conditional_14_Template(rf, ctx) {
77374
77388
  if (rf & 1) {
77375
77389
  \u0275\u0275elementStart(0, "expandable-list-card", 6);
77376
- \u0275\u0275element(1, "p", 11);
77390
+ \u0275\u0275element(1, "p", 10);
77377
77391
  \u0275\u0275elementEnd();
77378
77392
  }
77379
77393
  if (rf & 2) {
@@ -77388,15 +77402,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77388
77402
  function OntarioIncorporationFormComponent_Conditional_16_Template(rf, ctx) {
77389
77403
  if (rf & 1) {
77390
77404
  \u0275\u0275elementStart(0, "expandable-card", 7);
77391
- \u0275\u0275element(1, "filing-form-group", 10);
77405
+ \u0275\u0275element(1, "filing-form-group", 9);
77392
77406
  \u0275\u0275elementEnd();
77393
77407
  }
77394
77408
  if (rf & 2) {
77395
77409
  const ctx_r0 = \u0275\u0275nextContext();
77396
- const sharesAndRestrictions_r9 = \u0275\u0275readContextLet(15);
77397
- \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.SharesAndRestrictions);
77410
+ const sharesAndProvisions_r9 = \u0275\u0275readContextLet(15);
77411
+ \u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.SharesAndProvisions);
77398
77412
  \u0275\u0275advance();
77399
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", sharesAndRestrictions_r9)("config", ctx_r0.sharesAndProvincesFields);
77413
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", sharesAndProvisions_r9)("config", ctx_r0.sharesAndProvincesFields);
77400
77414
  }
77401
77415
  }
77402
77416
  function OntarioIncorporationFormComponent_Conditional_18_Template(rf, ctx) {
@@ -77410,20 +77424,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77410
77424
  \u0275\u0275property("isValid", incorporatorsArray_r10.valid)("isOpen", isOpenIncorporators_r11)("isStatusIcon", ctx_r0.statusIcon())("config", ctx_r0.incorporatorsCardFieldsMap)("configKey", ctx_r0.controls.AffiliationAddressType)("formArray", incorporatorsArray_r10)("title", ctx_r0.groups.Incorporators);
77411
77425
  }
77412
77426
  }
77413
- function OntarioIncorporationFormComponent_Conditional_20_Template(rf, ctx) {
77414
- if (rf & 1) {
77415
- \u0275\u0275elementStart(0, "expandable-card", 8);
77416
- \u0275\u0275element(1, "filing-form-group", 10);
77417
- \u0275\u0275elementEnd();
77418
- }
77419
- if (rf & 2) {
77420
- const ctx_r0 = \u0275\u0275nextContext();
77421
- const contact_r12 = \u0275\u0275readContextLet(19);
77422
- \u0275\u0275property("isStatusIcon", true)("isValid", !contact_r12.invalid)("title", ctx_r0.groups.Contact);
77423
- \u0275\u0275advance();
77424
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", contact_r12)("config", ctx_r0.contactsFields);
77425
- }
77426
- }
77427
77427
  var OntarioIncorporationFormComponent;
77428
77428
  var init_ontario_incorporation_form_component = __esm({
77429
77429
  "src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.ts"() {
@@ -77447,16 +77447,22 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77447
77447
  groups = FormationFormGroups;
77448
77448
  controls = FormationFormControls;
77449
77449
  formationFormControls = FormationFormControls;
77450
- legalOpinionLawyerFields = FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER;
77451
77450
  legalOpinionConfirmAddressFields = FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS;
77452
77451
  referenceNumbersFields = FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
77453
77452
  affiliationCardFieldsMap = FORMATION_DELTA_CARD_FORM_ADDRESS_FIELDS_MAP;
77454
77453
  incorporatorsCardFieldsMap = FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP;
77455
77454
  directorsCardFieldsMap = FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP;
77456
77455
  sharesAndProvincesFields = FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS;
77457
- contactsFields = [];
77458
77456
  corporationDetailsCardFields = [];
77459
77457
  initiallyOpenCardsCount = 3;
77458
+ laywers = computed(() => {
77459
+ const affiliations = this.task()?.entity.affiliations ?? [];
77460
+ return affiliations.filter((a) => a.role.role_name === "Responsible").map((a) => ({
77461
+ label: a.target._profile.name ?? "",
77462
+ value: a._id
77463
+ }));
77464
+ });
77465
+ legalOpinionLawyerFields = computed(() => FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER(this.laywers()));
77460
77466
  directorsSubtitle = computed(() => {
77461
77467
  const articles = this.task()?.entity._articles;
77462
77468
  if (!articles?.min_directors && !articles?.max_directors) {
@@ -77472,15 +77478,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77472
77478
  const profile = this.task()?.entity._profile;
77473
77479
  this.corporationDetailsCardFields = generateFormationDeltaCardFormCorporationDetails(profile?.name ?? "", profile?.secondary_name ?? "");
77474
77480
  });
77475
- effect(() => {
77476
- const task = this.task();
77477
- if (task) {
77478
- const contacts = task.entity.affiliations.filter((a) => {
77479
- return a.role.role_name === "Contact";
77480
- });
77481
- this.contactsFields = generateOntarioFormationFormContactControl(contacts);
77482
- }
77483
- });
77484
77481
  }
77485
77482
  get isLegalOpinion() {
77486
77483
  return !!this.form().get(this.groups.CorporationDetails)?.get(this.controls.wasLegalOpinionObtained)?.value;
@@ -77494,7 +77491,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77494
77491
  static \u0275fac = function OntarioIncorporationFormComponent_Factory(__ngFactoryType__) {
77495
77492
  return new (__ngFactoryType__ || _OntarioIncorporationFormComponent)();
77496
77493
  };
77497
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _OntarioIncorporationFormComponent, selectors: [["ontario-incorporation-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], statusIcon: [1, "statusIcon"], isSubmitted: [1, "isSubmitted"] }, decls: 21, vars: 19, consts: [[1, "incorporation-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "incorporation-form-content"], [3, "title"], [3, "isValid", "isStatusIcon", "title"], [3, "isValid", "isOpen", "isStatusIcon", "config", "configKey", "formArray", "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [1, "incorporation-form-item"], [3, "isSubmitted", "form", "config"], ["slot", "subtitle", 1, "body-1-regular", "black", 3, "innerHTML"]], template: function OntarioIncorporationFormComponent_Template(rf, ctx) {
77494
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _OntarioIncorporationFormComponent, selectors: [["ontario-incorporation-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], statusIcon: [1, "statusIcon"], isSubmitted: [1, "isSubmitted"] }, decls: 19, vars: 17, consts: [[1, "incorporation-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "incorporation-form-content"], [3, "title"], [3, "isValid", "isStatusIcon", "title"], [3, "isValid", "isOpen", "isStatusIcon", "config", "configKey", "formArray", "title"], [3, "isStatusIcon", "title"], [1, "incorporation-form-item"], [3, "isSubmitted", "form", "config"], ["slot", "subtitle", 1, "body-1-regular", "black", 3, "innerHTML"]], template: function OntarioIncorporationFormComponent_Template(rf, ctx) {
77498
77495
  if (rf & 1) {
77499
77496
  \u0275\u0275elementStart(0, "div", 0);
77500
77497
  \u0275\u0275template(1, OntarioIncorporationFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, OntarioIncorporationFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
@@ -77511,8 +77508,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77511
77508
  \u0275\u0275template(16, OntarioIncorporationFormComponent_Conditional_16_Template, 2, 5, "expandable-card", 7);
77512
77509
  \u0275\u0275declareLet(17);
77513
77510
  \u0275\u0275template(18, OntarioIncorporationFormComponent_Conditional_18_Template, 1, 7, "expandable-list-card", 6);
77514
- \u0275\u0275declareLet(19);
77515
- \u0275\u0275template(20, OntarioIncorporationFormComponent_Conditional_20_Template, 2, 6, "expandable-card", 8);
77516
77511
  \u0275\u0275elementEnd()();
77517
77512
  }
77518
77513
  if (rf & 2) {
@@ -77523,39 +77518,35 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77523
77518
  \u0275\u0275advance();
77524
77519
  \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
77525
77520
  \u0275\u0275advance(2);
77526
- const referenceNumbers_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
77521
+ const referenceNumbers_r12 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
77527
77522
  \u0275\u0275advance();
77528
- \u0275\u0275conditional(referenceNumbers_r13 ? 5 : -1);
77523
+ \u0275\u0275conditional(referenceNumbers_r12 ? 5 : -1);
77529
77524
  \u0275\u0275advance();
77530
- const corporationDetails_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
77525
+ const corporationDetails_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
77531
77526
  \u0275\u0275advance();
77532
- \u0275\u0275conditional(corporationDetails_r14 ? 7 : -1);
77527
+ \u0275\u0275conditional(corporationDetails_r13 ? 7 : -1);
77533
77528
  \u0275\u0275advance();
77534
77529
  \u0275\u0275conditional(ctx.isLegalOpinion ? 8 : -1);
77535
77530
  \u0275\u0275advance();
77536
- const registeredOfficeForm_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
77537
- \u0275\u0275advance();
77538
- \u0275\u0275conditional(registeredOfficeForm_r15 ? 10 : -1);
77531
+ const registeredOfficeForm_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
77539
77532
  \u0275\u0275advance();
77540
- const incorporatorsArray_r16 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Incorporators));
77533
+ \u0275\u0275conditional(registeredOfficeForm_r14 ? 10 : -1);
77541
77534
  \u0275\u0275advance();
77542
- const directorsArray_r17 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
77535
+ const incorporatorsArray_r15 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Incorporators));
77543
77536
  \u0275\u0275advance();
77544
- \u0275\u0275storeLet(((tmp_11_0 = directorsArray_r17 == null ? null : directorsArray_r17.length) !== null && tmp_11_0 !== void 0 ? tmp_11_0 : 0) <= ctx.initiallyOpenCardsCount);
77537
+ const directorsArray_r16 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
77545
77538
  \u0275\u0275advance();
77546
- \u0275\u0275conditional(directorsArray_r17 ? 14 : -1);
77539
+ \u0275\u0275storeLet(((tmp_11_0 = directorsArray_r16 == null ? null : directorsArray_r16.length) !== null && tmp_11_0 !== void 0 ? tmp_11_0 : 0) <= ctx.initiallyOpenCardsCount);
77547
77540
  \u0275\u0275advance();
77548
- const sharesAndRestrictions_r18 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.SharesAndRestrictions));
77541
+ \u0275\u0275conditional(directorsArray_r16 ? 14 : -1);
77549
77542
  \u0275\u0275advance();
77550
- \u0275\u0275conditional(sharesAndRestrictions_r18 ? 16 : -1);
77543
+ const sharesAndProvisions_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.SharesAndProvisions));
77551
77544
  \u0275\u0275advance();
77552
- \u0275\u0275storeLet(((tmp_15_0 = incorporatorsArray_r16 == null ? null : incorporatorsArray_r16.length) !== null && tmp_15_0 !== void 0 ? tmp_15_0 : 0) <= ctx.initiallyOpenCardsCount);
77545
+ \u0275\u0275conditional(sharesAndProvisions_r17 ? 16 : -1);
77553
77546
  \u0275\u0275advance();
77554
- \u0275\u0275conditional(incorporatorsArray_r16 ? 18 : -1);
77547
+ \u0275\u0275storeLet(((tmp_15_0 = incorporatorsArray_r15 == null ? null : incorporatorsArray_r15.length) !== null && tmp_15_0 !== void 0 ? tmp_15_0 : 0) <= ctx.initiallyOpenCardsCount);
77555
77548
  \u0275\u0275advance();
77556
- const contact_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.Contact));
77557
- \u0275\u0275advance();
77558
- \u0275\u0275conditional(contact_r19 ? 20 : -1);
77549
+ \u0275\u0275conditional(incorporatorsArray_r15 ? 18 : -1);
77559
77550
  }
77560
77551
  }, dependencies: [
77561
77552
  ExpandableCardComponent,
@@ -77572,11 +77563,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77572
77563
  FilingFormGroupComponent,
77573
77564
  ExpandableListCardComponent,
77574
77565
  AlertComponent
77575
- ], template: '<div class="incorporation-form">\r\n @if (isNote()) {\r\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\r\n }\r\n\r\n @if (errors().length) {\r\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\r\n }\r\n\r\n <div class="incorporation-form-content">\r\n @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r\n\r\n @if (referenceNumbers) {\r\n <expandable-card [title]="groups.ReferenceNumbers">\r\n <div class="incorporation-form-item">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="referenceNumbers" [config]="referenceNumbersFields"/>\r\n </div>\r\n </expandable-card>\r\n }\r\n\r\n @let corporationDetails = getFormGroup(groups.CorporationDetails);\r\n\r\n @if (corporationDetails) {\r\n <expandable-card [isValid]="!corporationDetails.invalid" [isStatusIcon]="statusIcon()" [title]="groups.CorporationDetails">\r\n <div class="incorporation-form-item">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporationDetails" [config]="corporationDetailsCardFields"/>\r\n </div>\r\n </expandable-card>\r\n }\r\n\r\n @if (isLegalOpinion) {\r\n @let legalOpinion = getFormGroup(groups.LegalOpinion);\r\n\r\n @if (legalOpinion) {\r\n <expandable-card [isValid]="!legalOpinion.invalid" [isStatusIcon]="statusIcon()" [title]="groups.LegalOpinion">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionLawyerFields"/>\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionConfirmAddressFields"/>\r\n </expandable-card>\r\n }\r\n }\r\n\r\n @let registeredOfficeForm = getFormGroup(groups.RegisteredOfficeAddress);\r\n\r\n @if (registeredOfficeForm) {\r\n <expandable-card [isValid]="!registeredOfficeForm.invalid" [isStatusIcon]="statusIcon()" [title]="groups.RegisteredOfficeAddress">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeForm" [config]="affiliationCardFieldsMap[registeredOfficeForm.get(formationFormControls.AffiliationAddressType)?.value]"/>\r\n </expandable-card>\r\n }\r\n\r\n @let incorporatorsArray = getFormArray(groups.Incorporators);\r\n @let directorsArray = getFormArray(groups.Directors);\r\n\r\n @let isOpenDirectors = (directorsArray?.length ?? 0) <= initiallyOpenCardsCount;\r\n @if (directorsArray) {\r\n <expandable-list-card [isValid]="directorsArray.valid" [isOpen]="isOpenDirectors" [isStatusIcon]="statusIcon()" [config]="directorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="directorsArray" [title]="groups.Directors">\r\n <p slot="subtitle" class="body-1-regular black" [innerHTML]="directorsSubtitle()"></p>\r\n </expandable-list-card>\r\n }\r\n\r\n @let sharesAndRestrictions = getFormGroup(groups.SharesAndRestrictions);\r\n\r\n @if (sharesAndRestrictions) {\r\n <expandable-card [isStatusIcon]="false" [title]="groups.SharesAndRestrictions">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="sharesAndRestrictions" [config]="sharesAndProvincesFields"/>\r\n </expandable-card>\r\n }\r\n\r\n @let isOpenIncorporators = (incorporatorsArray?.length ?? 0) <= initiallyOpenCardsCount;\r\n\r\n @if (incorporatorsArray) {\r\n <expandable-list-card [isValid]="incorporatorsArray.valid" [isOpen]="isOpenIncorporators" [isStatusIcon]="statusIcon()" [config]="incorporatorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="incorporatorsArray" [title]="groups.Incorporators"/>\r\n }\r\n\r\n @let contact = getFormGroup(groups.Contact);\r\n @if (contact) {\r\n <expandable-card [isStatusIcon]="true" [isValid]="!contact.invalid" [title]="groups.Contact">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="contact" [config]="contactsFields"/>\r\n </expandable-card>\r\n }\r\n </div>\r\n</div>\r\n', 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"] }]
77566
+ ], template: '<div class="incorporation-form">\n @if (isNote()) {\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\n }\n\n @if (errors().length) {\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\n }\n\n <div class="incorporation-form-content">\n @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\n\n @if (referenceNumbers) {\n <expandable-card [title]="groups.ReferenceNumbers">\n <div class="incorporation-form-item">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="referenceNumbers" [config]="referenceNumbersFields"/>\n </div>\n </expandable-card>\n }\n\n @let corporationDetails = getFormGroup(groups.CorporationDetails);\n\n @if (corporationDetails) {\n <expandable-card [isValid]="!corporationDetails.invalid" [isStatusIcon]="statusIcon()" [title]="groups.CorporationDetails">\n <div class="incorporation-form-item">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporationDetails" [config]="corporationDetailsCardFields"/>\n </div>\n </expandable-card>\n }\n\n @if (isLegalOpinion) {\n @let legalOpinion = getFormGroup(groups.LegalOpinion);\n\n @if (legalOpinion) {\n <expandable-card [isValid]="!legalOpinion.invalid" [isStatusIcon]="statusIcon()" [title]="groups.LegalOpinion">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionLawyerFields()"/>\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionConfirmAddressFields"/>\n </expandable-card>\n }\n }\n\n @let registeredOfficeForm = getFormGroup(groups.RegisteredOfficeAddress);\n\n @if (registeredOfficeForm) {\n <expandable-card [isValid]="!registeredOfficeForm.invalid" [isStatusIcon]="statusIcon()" [title]="groups.RegisteredOfficeAddress">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeForm" [config]="affiliationCardFieldsMap[registeredOfficeForm.get(formationFormControls.AffiliationAddressType)?.value]"/>\n </expandable-card>\n }\n\n @let incorporatorsArray = getFormArray(groups.Incorporators);\n @let directorsArray = getFormArray(groups.Directors);\n\n @let isOpenDirectors = (directorsArray?.length ?? 0) <= initiallyOpenCardsCount;\n @if (directorsArray) {\n <expandable-list-card [isValid]="directorsArray.valid" [isOpen]="isOpenDirectors" [isStatusIcon]="statusIcon()" [config]="directorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="directorsArray" [title]="groups.Directors">\n <p slot="subtitle" class="body-1-regular black" [innerHTML]="directorsSubtitle()"></p>\n </expandable-list-card>\n }\n\n @let sharesAndProvisions = getFormGroup(groups.SharesAndProvisions);\n\n @if (sharesAndProvisions) {\n <expandable-card [isStatusIcon]="false" [title]="groups.SharesAndProvisions">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="sharesAndProvisions" [config]="sharesAndProvincesFields"/>\n </expandable-card>\n }\n\n @let isOpenIncorporators = (incorporatorsArray?.length ?? 0) <= initiallyOpenCardsCount;\n\n @if (incorporatorsArray) {\n <expandable-list-card [isValid]="incorporatorsArray.valid" [isOpen]="isOpenIncorporators" [isStatusIcon]="statusIcon()" [config]="incorporatorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="incorporatorsArray" [title]="groups.Incorporators"/>\n }\n\n </div>\n</div>\n', 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"] }]
77576
77567
  }], () => [], null);
77577
77568
  })();
77578
77569
  (() => {
77579
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(OntarioIncorporationFormComponent, { className: "OntarioIncorporationFormComponent", filePath: "src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.ts", lineNumber: 42 });
77570
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(OntarioIncorporationFormComponent, { className: "OntarioIncorporationFormComponent", filePath: "src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.ts", lineNumber: 45 });
77580
77571
  })();
77581
77572
  }
77582
77573
  });
@@ -77665,35 +77656,35 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77665
77656
  MatButton,
77666
77657
  TranslatePipe,
77667
77658
  OntarioIncorporationFormComponent
77668
- ], template: `<div class="incorporation-delta-form">\r
77669
- <ontario-incorporation-form\r
77670
- class="incorporation-delta-form-content"\r
77671
- [form]="form()"\r
77672
- [task]="task()"\r
77673
- [errors]="errors()"\r
77674
- [isNote]="isNote()"\r
77675
- [isSubmitted]="submitted()"\r
77676
- [statusIcon]="true"\r
77677
- />\r
77678
- \r
77679
- <div class="incorporation-delta-form-actions">\r
77680
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
77681
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
77682
- </button>\r
77683
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
77684
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
77685
- </button>\r
77686
- <button\r
77687
- class="submit"\r
77688
- color="primary"\r
77689
- mat-flat-button\r
77690
- [disabled]="actionsDisabled()"\r
77691
- (click)="onValidate()"\r
77692
- >\r
77693
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
77694
- </button>\r
77695
- </div>\r
77696
- </div>\r
77659
+ ], template: `<div class="incorporation-delta-form">
77660
+ <ontario-incorporation-form
77661
+ class="incorporation-delta-form-content"
77662
+ [form]="form()"
77663
+ [task]="task()"
77664
+ [errors]="errors()"
77665
+ [isNote]="isNote()"
77666
+ [isSubmitted]="submitted()"
77667
+ [statusIcon]="true"
77668
+ />
77669
+
77670
+ <div class="incorporation-delta-form-actions">
77671
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
77672
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
77673
+ </button>
77674
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
77675
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
77676
+ </button>
77677
+ <button
77678
+ class="submit"
77679
+ color="primary"
77680
+ mat-flat-button
77681
+ [disabled]="actionsDisabled()"
77682
+ (click)="onValidate()"
77683
+ >
77684
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
77685
+ </button>
77686
+ </div>
77687
+ </div>
77697
77688
  `, 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"] }]
77698
77689
  }], null, null);
77699
77690
  })();
@@ -77770,29 +77761,29 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77770
77761
  MatButton,
77771
77762
  TranslatePipe,
77772
77763
  OntarioIncorporationFormComponent
77773
- ], template: `<div class="incorporation-preview-form">\r
77774
- <ontario-incorporation-form\r
77775
- class="incorporation-preview-form-content"\r
77776
- [form]="form()"\r
77777
- [task]="task()"\r
77778
- [statusIcon]="false"\r
77779
- />\r
77780
- \r
77781
- <div class="incorporation-preview-form-actions">\r
77782
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
77783
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
77784
- </button>\r
77785
- <button\r
77786
- class="submit"\r
77787
- color="primary"\r
77788
- mat-flat-button\r
77789
- [disabled]="actionsDisabled()"\r
77790
- (click)="next.emit()"\r
77791
- >\r
77792
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
77793
- </button>\r
77794
- </div>\r
77795
- </div>\r
77764
+ ], template: `<div class="incorporation-preview-form">
77765
+ <ontario-incorporation-form
77766
+ class="incorporation-preview-form-content"
77767
+ [form]="form()"
77768
+ [task]="task()"
77769
+ [statusIcon]="false"
77770
+ />
77771
+
77772
+ <div class="incorporation-preview-form-actions">
77773
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
77774
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
77775
+ </button>
77776
+ <button
77777
+ class="submit"
77778
+ color="primary"
77779
+ mat-flat-button
77780
+ [disabled]="actionsDisabled()"
77781
+ (click)="next.emit()"
77782
+ >
77783
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
77784
+ </button>
77785
+ </div>
77786
+ </div>
77796
77787
  `, 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"] }]
77797
77788
  }], null, null);
77798
77789
  })();
@@ -77803,7 +77794,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
77803
77794
  });
77804
77795
 
77805
77796
  // src/app/constants/initial-return-form.constants.ts
77806
- var ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, ONTARIO_INITIAL_RETURN_FORM_GENERAL_FIELDS, ONTARIO_INITIAL_RETURN_CARD_FORM_ADDRESS_FIELDS_MAP, generateDirectorFields, ONTARIO_INITIAL_RETURN_FORM_ADDRESS_FIELDS_MAP, generateCertifiedByFields, ONTARIO_INITIAL_RETURN_FORM_CERTIFIED_BY_FIELDS_MAP, generateOntarioInitialReturnFormContactControl;
77797
+ var ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, ONTARIO_INITIAL_RETURN_FORM_GENERAL_FIELDS, ONTARIO_INITIAL_RETURN_CARD_FORM_ADDRESS_FIELDS_MAP, generateDirectorFields, ONTARIO_DIRECTOR_FIELDS_INTERNATIONAL, ONTARIO_INITIAL_RETURN_FORM_ADDRESS_FIELDS_MAP, generateCertifiedByFields, ONTARIO_INITIAL_RETURN_FORM_CERTIFIED_BY_FIELDS_MAP, generateOntarioInitialReturnFormContactControl;
77807
77798
  var init_initial_return_form_constants = __esm({
77808
77799
  "src/app/constants/initial-return-form.constants.ts"() {
77809
77800
  init_form_enums();
@@ -78214,11 +78205,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78214
78205
  formControlName: IRFormControls.IsCanadianResident
78215
78206
  }
78216
78207
  ];
78208
+ ONTARIO_DIRECTOR_FIELDS_INTERNATIONAL = [
78209
+ {
78210
+ type: FormType.Text,
78211
+ label: "",
78212
+ placeholder: "",
78213
+ formControlName: "",
78214
+ dynamicLabel: (form, t, prevValueMap) => {
78215
+ const formValue = form.getRawValue();
78216
+ const isUpdate = formValue[IRFormControls.AffiliationType] === IRAffiliationType.Update;
78217
+ const baseAddress = getAddressPreview(formValue);
78218
+ const baseResult = `<span class="body-1-semibold">${t("Full Address")}:</span> ${baseAddress}`;
78219
+ if (!prevValueMap || !isUpdate) {
78220
+ return baseResult;
78221
+ }
78222
+ const key = formValue[IRFormControls.AffiliationName];
78223
+ const prevValue = prevValueMap.get(key);
78224
+ if (!prevValue) {
78225
+ return baseResult;
78226
+ }
78227
+ const prevAddress = getCurrentAddressPreview(prevValue.address);
78228
+ if (prevAddress === baseAddress) {
78229
+ return baseResult;
78230
+ }
78231
+ return baseResult + `<span class="grey-mid"><br/><span class="body-1-semibold">${t("Previous Address")}:</span> ${prevAddress}</span>`;
78232
+ },
78233
+ class: "span-12"
78234
+ }
78235
+ ];
78217
78236
  ONTARIO_INITIAL_RETURN_FORM_ADDRESS_FIELDS_MAP = {
78218
78237
  [AffiliationAddressType.CanadianNoSuite]: generateDirectorFields(ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT),
78219
78238
  [AffiliationAddressType.CanadianSuite]: generateDirectorFields(ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT),
78220
- [AffiliationAddressType.InternationalNoSuite]: generateDirectorFields(ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT),
78221
- [AffiliationAddressType.InternationalSuite]: generateDirectorFields(ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT)
78239
+ [AffiliationAddressType.InternationalNoSuite]: generateDirectorFields(ONTARIO_DIRECTOR_FIELDS_INTERNATIONAL),
78240
+ [AffiliationAddressType.InternationalSuite]: generateDirectorFields(ONTARIO_DIRECTOR_FIELDS_INTERNATIONAL)
78222
78241
  };
78223
78242
  generateCertifiedByFields = (fields) => [
78224
78243
  {
@@ -78237,7 +78256,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78237
78256
  [AffiliationAddressType.InternationalSuite]: generateCertifiedByFields(ONTARIO_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT)
78238
78257
  };
78239
78258
  generateOntarioInitialReturnFormContactControl = (contacts) => {
78240
- const contactsOptions = contacts.map((contact) => ({ label: contact.participant._profile.name ?? "", value: contact._id }));
78259
+ const contactsOptions = contacts.map((contact) => ({
78260
+ label: contact.participant._profile.name ?? "",
78261
+ value: contact._id
78262
+ }));
78241
78263
  return [
78242
78264
  {
78243
78265
  type: FormType.Select,
@@ -78252,8 +78274,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78252
78274
  dynamicLabel: (form, t) => {
78253
78275
  const id = form.get(IRFormControls.Contact)?.value;
78254
78276
  const contact = contacts.find((contact2) => contact2._id === id);
78255
- const email = contact?.addresses[0]?.emails?.primary;
78256
- const phone = contact?.addresses[0]?.contact_numbers?.primary;
78277
+ const email = contact?.participant?.communications?.find((c) => c.type === "Email")?.value;
78278
+ const phone = contact?.participant?.communications?.find((c) => c.type === "Phone")?.value;
78257
78279
  return `<span class="body-1-regular grey">${t("Contact Details")}:</span> ${getContactDetailsPreview(email, phone, t)}`;
78258
78280
  },
78259
78281
  formControlName: "",
@@ -78403,7 +78425,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78403
78425
  effect(() => {
78404
78426
  const task = this.task();
78405
78427
  if (task) {
78406
- const contacts = task.entity.affiliations.filter((a) => a.role.role_name === "Contact");
78428
+ const contacts = task.entity.affiliations.filter((a) => a.role.role_name === "Contact" && a._participant.participant_type === "person");
78407
78429
  this.contactsFields = generateOntarioInitialReturnFormContactControl(contacts);
78408
78430
  }
78409
78431
  });
@@ -78481,7 +78503,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78481
78503
  AlertComponent,
78482
78504
  ExpandableCardComponent,
78483
78505
  ExpandableListCardComponent
78484
- ], template: '<div class="ontario-update-maintain-form">\r\n @if (isNote()) {\r\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\r\n }\r\n\r\n @if (errors().length) {\r\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\r\n }\r\n\r\n <div class="ontario-update-maintain-form-content">\r\n\r\n <!-- ===== GENERAL INFO ===== -->\r\n @let generalInfoForm = getFormGroup(groups.GeneralInfo);\r\n @if (generalInfoForm) {\r\n <expandable-card [title]="groups.GeneralInfo" [isStatusIcon]="!readonly()">\r\n <filing-form-group\r\n [isSubmitted]="isSubmitted()"\r\n [form]="generalInfoForm"\r\n [config]="generalCardFields"\r\n [label]="groups.GeneralInfo"\r\n />\r\n </expandable-card>\r\n }\r\n\r\n <!-- =====REGISTERED OFFICE ADDRESS===== -->\r\n @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);\r\n @if (registeredOfficeAddress) {\r\n <expandable-card [isStatusIcon]="!readonly()" [isValid]="!registeredOfficeAddress.invalid" [title]="groups.RegisteredOfficeAddress">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeAddress" [config]="addressFieldsMap[registeredOfficeAddress.get(controls.AffiliationAddressType)?.value]"/>\r\n </expandable-card>\r\n }\r\n\r\n @let directorsArray = getFormArray(groups.Directors);\r\n @if (directorsArray) {\r\n <expandable-list-card [prevData]="prevData()?.directors" [isSubmitted]="isSubmitted()" [isOpen]="isPersonnelExpanded()" [isStatusIcon]="!readonly()" [config]="directorsFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="directorsArray" [title]="groups.Directors"/>\r\n }\r\n\r\n @let officersArray = getFormArray(groups.Officers);\r\n @if (officersArray) {\r\n <expandable-list-card [prevData]="prevData()?.officers" [isSubmitted]="isSubmitted()" [isOpen]="isPersonnelExpanded()" [isStatusIcon]="!readonly()" [config]="directorsFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="officersArray" [title]="groups.Officers"/>\r\n }\r\n\r\n @let certifiedBy = getFormGroup(groups.CertifiedBy);\r\n @if (certifiedBy) {\r\n <expandable-card [isStatusIcon]="!readonly()" [isValid]="!certifiedBy.invalid" [title]="groups.CertifiedBy">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="certifiedBy" [config]="certifiedByFieldsMap[certifiedBy.get(controls.AffiliationAddressType)?.value]"/>\r\n </expandable-card>\r\n }\r\n\r\n @let contact = getFormGroup(groups.Contact);\r\n @if (contact) {\r\n <expandable-card [isStatusIcon]="!readonly()" [isValid]="!contact.invalid" [title]="groups.Contact">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="contact" [config]="contactsFields"/>\r\n </expandable-card>\r\n }\r\n\r\n </div>\r\n</div>\r\n\r\n', 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"] }]
78506
+ ], template: '<div class="ontario-update-maintain-form">\n @if (isNote()) {\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\n }\n\n @if (errors().length) {\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\n }\n\n <div class="ontario-update-maintain-form-content">\n\n <!-- ===== GENERAL INFO ===== -->\n @let generalInfoForm = getFormGroup(groups.GeneralInfo);\n @if (generalInfoForm) {\n <expandable-card [title]="groups.GeneralInfo" [isStatusIcon]="!readonly()">\n <filing-form-group\n [isSubmitted]="isSubmitted()"\n [form]="generalInfoForm"\n [config]="generalCardFields"\n [label]="groups.GeneralInfo"\n />\n </expandable-card>\n }\n\n <!-- =====REGISTERED OFFICE ADDRESS===== -->\n @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);\n @if (registeredOfficeAddress) {\n <expandable-card [isStatusIcon]="!readonly()" [isValid]="!registeredOfficeAddress.invalid" [title]="groups.RegisteredOfficeAddress">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeAddress" [config]="addressFieldsMap[registeredOfficeAddress.get(controls.AffiliationAddressType)?.value]"/>\n </expandable-card>\n }\n\n @let directorsArray = getFormArray(groups.Directors);\n @if (directorsArray) {\n <expandable-list-card [prevData]="prevData()?.directors" [isSubmitted]="isSubmitted()" [isOpen]="isPersonnelExpanded()" [isStatusIcon]="!readonly()" [config]="directorsFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="directorsArray" [title]="groups.Directors"/>\n }\n\n @let officersArray = getFormArray(groups.Officers);\n @if (officersArray) {\n <expandable-list-card [prevData]="prevData()?.officers" [isSubmitted]="isSubmitted()" [isOpen]="isPersonnelExpanded()" [isStatusIcon]="!readonly()" [config]="directorsFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="officersArray" [title]="groups.Officers"/>\n }\n\n @let certifiedBy = getFormGroup(groups.CertifiedBy);\n @if (certifiedBy) {\n <expandable-card [isStatusIcon]="!readonly()" [isValid]="!certifiedBy.invalid" [title]="groups.CertifiedBy">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="certifiedBy" [config]="certifiedByFieldsMap[certifiedBy.get(controls.AffiliationAddressType)?.value]"/>\n </expandable-card>\n }\n\n @let contact = getFormGroup(groups.Contact);\n @if (contact) {\n <expandable-card [isStatusIcon]="!readonly()" [isValid]="!contact.invalid" [title]="groups.Contact">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="contact" [config]="contactsFields"/>\n </expandable-card>\n }\n\n </div>\n</div>\n\n', 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"] }]
78485
78507
  }], () => [], null);
78486
78508
  })();
78487
78509
  (() => {
@@ -78575,37 +78597,37 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78575
78597
  MatButton,
78576
78598
  TranslatePipe,
78577
78599
  OntarioUpdateMaintainFormComponent
78578
- ], template: `<div class="ontario-update-maintain-delta-form">\r
78579
- <ontario-update-maintain-form\r
78580
- class="ontario-update-maintain-delta-form-content"\r
78581
- [form]="form()"\r
78582
- [task]="task()"\r
78583
- [errors]="errors()"\r
78584
- [isNote]="isNote()"\r
78585
- [isSubmitted]="submitted()"\r
78586
- [readonly]="false"\r
78587
- [prevData]="prevData()"\r
78588
- />\r
78589
- \r
78590
- <div class="ontario-update-maintain-delta-form-actions">\r
78591
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
78592
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
78593
- </button>\r
78594
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
78595
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
78596
- </button>\r
78597
- <button\r
78598
- class="submit"\r
78599
- color="primary"\r
78600
- mat-flat-button\r
78601
- [disabled]="actionsDisabled()"\r
78602
- (click)="onValidate()"\r
78603
- >\r
78604
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
78605
- </button>\r
78606
- </div>\r
78607
- </div>\r
78608
- \r
78600
+ ], template: `<div class="ontario-update-maintain-delta-form">
78601
+ <ontario-update-maintain-form
78602
+ class="ontario-update-maintain-delta-form-content"
78603
+ [form]="form()"
78604
+ [task]="task()"
78605
+ [errors]="errors()"
78606
+ [isNote]="isNote()"
78607
+ [isSubmitted]="submitted()"
78608
+ [readonly]="false"
78609
+ [prevData]="prevData()"
78610
+ />
78611
+
78612
+ <div class="ontario-update-maintain-delta-form-actions">
78613
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
78614
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
78615
+ </button>
78616
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
78617
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
78618
+ </button>
78619
+ <button
78620
+ class="submit"
78621
+ color="primary"
78622
+ mat-flat-button
78623
+ [disabled]="actionsDisabled()"
78624
+ (click)="onValidate()"
78625
+ >
78626
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
78627
+ </button>
78628
+ </div>
78629
+ </div>
78630
+
78609
78631
  `, 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"] }]
78610
78632
  }], null, null);
78611
78633
  })();
@@ -78680,32 +78702,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78680
78702
  MatButton,
78681
78703
  OntarioUpdateMaintainFormComponent,
78682
78704
  TranslatePipe
78683
- ], template: `<div class="ontario-update-maintain-preview-form">\r
78684
- <ontario-update-maintain-form\r
78685
- class="ontario-update-maintain-preview-form-content"\r
78686
- [form]="form()"\r
78687
- [task]="task()"\r
78688
- [errors]="errors()"\r
78689
- [isSubmitted]="false"\r
78690
- [readonly]="false"\r
78691
- />\r
78692
- \r
78693
- <div class="ontario-update-maintain-preview-form-actions">\r
78694
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
78695
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
78696
- </button>\r
78697
- <button\r
78698
- class="submit"\r
78699
- color="primary"\r
78700
- mat-flat-button\r
78701
- [disabled]="actionsDisabled()"\r
78702
- (click)="file.emit()"\r
78703
- >\r
78704
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
78705
- </button>\r
78706
- </div>\r
78707
- </div>\r
78708
- \r
78705
+ ], template: `<div class="ontario-update-maintain-preview-form">
78706
+ <ontario-update-maintain-form
78707
+ class="ontario-update-maintain-preview-form-content"
78708
+ [form]="form()"
78709
+ [task]="task()"
78710
+ [errors]="errors()"
78711
+ [isSubmitted]="false"
78712
+ [readonly]="false"
78713
+ />
78714
+
78715
+ <div class="ontario-update-maintain-preview-form-actions">
78716
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
78717
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
78718
+ </button>
78719
+ <button
78720
+ class="submit"
78721
+ color="primary"
78722
+ mat-flat-button
78723
+ [disabled]="actionsDisabled()"
78724
+ (click)="file.emit()"
78725
+ >
78726
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
78727
+ </button>
78728
+ </div>
78729
+ </div>
78730
+
78709
78731
  `, 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"] }]
78710
78732
  }], null, null);
78711
78733
  })();
@@ -78947,271 +78969,271 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78947
78969
  FilingFormGroupComponent,
78948
78970
  TranslatePipe,
78949
78971
  MatButton
78950
- ], template: `<div class="terms-and-conditions">\r
78951
- <div class="terms-and-conditions-content">\r
78952
- <expandable-card class="terms-and-conditions-card" title="Terms and Conditions">\r
78953
- \r
78954
- <div class="terms-and-conditions-card-content">\r
78955
- <div class="terms-and-conditions-text-wrapper">\r
78956
- <div class="terms-and-conditions-text">\r
78957
- <span class="body-1-regular">\r
78958
- The following are the Terms and Conditions for filing with the Ministry of\r
78959
- Public and Business Service Delivery ("Ministry") under the Business\r
78960
- Corporations Act, Business Names Act, Corporations Act, Corporations\r
78961
- Information Act, Extra-Provincial Corporations Act, Limited Partnerships\r
78962
- Act and Not-for-Profit Corporations Act, 2010.\r
78963
- </span>\r
78964
- \r
78965
- <span class="body-1-regular">\r
78966
- Agreement to these Terms and Conditions by the following persons and\r
78967
- entities is a mandatory condition of filing:\r
78968
- </span>\r
78969
- \r
78970
- <span class="body-1-regular">\r
78971
- (i) the person(s) signing or otherwise authorizing the filing and any\r
78972
- person(s) acting on their behalf (collectively, the "authorizers"); and\r
78973
- </span>\r
78974
- \r
78975
- <span class="body-1-regular">\r
78976
- (ii) the corporation or other entity that is the subject of the filing\r
78977
- (the "entity") and any person(s) acting on behalf of the entity\r
78978
- </span>\r
78979
- \r
78980
- <span class="body-1-regular">\r
78981
- These Terms and Conditions are made under the authority of the\r
78982
- requirements established by the Director or Registrar appointed under the\r
78983
- applicable Act. These Terms and Conditions are in addition to and subject\r
78984
- to the applicable Acts, regulations and requirements of the Director or\r
78985
- Registrar.\r
78986
- </span>\r
78987
- \r
78988
- <span class="body-1-regular">\r
78989
- By proceeding with this filing under any of the above-named Acts, the\r
78990
- authorizer(s), the entity and any person(s) acting on behalf of the entity\r
78991
- accept and agree to be bound by these Terms and Conditions.\r
78992
- </span>\r
78993
- \r
78994
- <span class="body-1-regular">\r
78995
- 1. The sole responsibility for correctness and completeness of the filing,\r
78996
- and for compliance with the applicable Act and all regulations and\r
78997
- Director's or Registrar's requirements made under it, lies with the\r
78998
- authorizer(s) and the entity. The authorizer(s), the entity and any\r
78999
- person(s) acting on behalf of the entity agree that any information\r
79000
- provided by the Ministry in or related to the making of a filing is not\r
79001
- legal advice, and that they have obtained their own legal or other advice\r
79002
- as appropriate.\r
79003
- </span>\r
79004
- \r
79005
- <span class="body-1-regular">\r
79006
- 2. All filings must meet any signature or authorization requirements\r
79007
- established by the Director or Registrar under the applicable Act. Where\r
79008
- signatures are required for electronic filing, the applicable articles,\r
79009
- application, declaration, other approved form or other document must be\r
79010
- saved or printed and signed in accordance with the instructions provided.\r
79011
- The entity must keep a properly executed version of the applicable\r
79012
- document in paper or electronic format, together with any records that may\r
79013
- exist related to an electronic signature, if signed by electronic\r
79014
- signature, as follows: If the subject of a filing is a corporation, the\r
79015
- corporation must keep these documents and records at its registered\r
79016
- office. If the subject of the filing is an Ontario limited partnership,\r
79017
- the limited partnership must keep these documents and records at the\r
79018
- limited partnership's principal place of business in Ontario. If the\r
79019
- subject of the filing is an extraprovincial limited partnership that does\r
79020
- not have a principal place of business in Ontario, the extraprovincial\r
79021
- limited partnership must keep these documents and records at the address\r
79022
- of the limited partnership's attorney and representative in Ontario set\r
79023
- out in the declaration filed under the Limited Partnerships Act and stated\r
79024
- in the power of attorney executed under the Act. If required by notice\r
79025
- from the Director or Registrar, the corporation, limited partnership, the\r
79026
- attorney and representative in Ontario or other person as applicable must\r
79027
- provide a copy of the properly executed version of the applicable document\r
79028
- to the Director or Registrar within the time period set out in the notice,\r
79029
- together with any records that may exist related to an electronic\r
79030
- signature, if signed by electronic signature.\r
79031
- </span>\r
79032
- \r
79033
- <span class="body-1-regular">\r
79034
- 3. In addition to retaining and filing supporting documents in accordance\r
79035
- with the applicable Act and regulations, the entity must keep a copy of\r
79036
- all filed supporting documents and provide a copy in accordance with any\r
79037
- written notice from the Director or Registrar. In the case of a consent\r
79038
- from a Minister or the Public Guardian and Trustee (PGT) that is required\r
79039
- to support a filing made by a corporation, the corporation agrees that the\r
79040
- Ministry may contact that Minister or the PGT, as applicable, to confirm\r
79041
- that the necessary consent has been obtained and to record this in the\r
79042
- electronic business registration system maintained by the Ministry.\r
79043
- </span>\r
79044
- \r
79045
- <span class="body-1-regular">\r
79046
- 4. The entity assumes full responsibility for any risk of confusion or\r
79047
- legal action, including the risk of a lawsuit or name hearing under the\r
79048
- applicable Act, resulting from a filing that sets out a name that is the\r
79049
- same or similar to that of an existing corporation, business name or\r
79050
- trademark, or that is otherwise contrary to the applicable Act or\r
79051
- regulations.\r
79052
- </span>\r
79053
- \r
79054
- <span class="body-1-regular">\r
79055
- 5. Filings must be made in the required form and format, and must meet the\r
79056
- technical requirements or other specifications and requirements\r
79057
- established by the Director or Registrar.\r
79058
- </span>\r
79059
- \r
79060
- <span class="body-1-regular">\r
79061
- 6. Valid email address(es) must be provided as specified in the\r
79062
- transaction for administrative purposes, and all mandatory fields must be\r
79063
- completed.\r
79064
- </span>\r
79065
- \r
79066
- <span class="body-1-regular">\r
79067
- 7. The business information provided in this filing may be shared with\r
79068
- other government bodies. The business information that is collected may be\r
79069
- used and disclosed for the purpose of administering their programs.\r
79070
- </span>\r
79071
- \r
79072
- <span class="body-1-regular">\r
79073
- 8. Payment of the required fee must be made at the time of submission, and\r
79074
- any certificate or other documentation issued by the Ministry is subject\r
79075
- to compliance action and cancellation if payment is disputed or\r
79076
- fraudulent. Payment of fees for electronic filings must be made\r
79077
- electronically using the payment options provided.\r
79078
- </span>\r
79079
- \r
79080
- <span class="body-1-regular">\r
79081
- 9. If an application is for a corrected certificate, and the application\r
79082
- is approved under the applicable Act, the corporation or limited\r
79083
- partnership as applicable will be notified when the certificate has been\r
79084
- issued. The corporation or limited partnership, as applicable, agrees to\r
79085
- review the issued corrected certificate in the records maintained by the\r
79086
- Ministry forthwith and to confirm that the issued certificate corresponds\r
79087
- with the final approved application for correction. The corporation or\r
79088
- limited partnership, as applicable, agrees to be responsible and assume\r
79089
- all liability for any discrepancies between the issued corrected\r
79090
- certificate and the final approved application if these are not\r
79091
- immediately brought to the attention of the Ministry.\r
79092
- </span>\r
79093
- \r
79094
- <span class="body-1-regular">\r
79095
- 10. If this is a new filing, a company key consisting of a unique series\r
79096
- of digits will be provided electronically by the Ministry to the entity at\r
79097
- the time of completion of the transaction, together with the final\r
79098
- documentation for the transaction. If this is not a new filing, the entity\r
79099
- will have received a company key. The company key provides authority over\r
79100
- the entity; by proceeding with this transaction, any person(s) acting on\r
79101
- behalf of the entity is confirming that they are duly authorized by the\r
79102
- entity.\r
79103
- </span>\r
79104
- \r
79105
- <span class="body-1-regular">\r
79106
- 11. The company key will be required for any subsequent paper or online\r
79107
- filings regarding the entity. The entity is responsible for the care and\r
79108
- control of the company key. The entity is responsible for treating this\r
79109
- key as confidential information and not sharing it unless it is in the\r
79110
- course of providing delegated authority to a trusted service provider or\r
79111
- trusted intermediary to make filings on their behalf. The recipient of the\r
79112
- company key agrees to notify the Ministry as soon as they become aware\r
79113
- that the key has been lost, stolen or misused to request a replacement\r
79114
- key. The entity agrees to be responsible and assume all liability for all\r
79115
- filings authorized by the key in respect of the entity. Unauthorized use\r
79116
- of the company key or delegated authority may result in suspension of\r
79117
- access to the electronic business registration system.\r
79118
- </span>\r
79119
- \r
79120
- <span class="body-1-regular">\r
79121
- 12. The Ministry may take appropriate compliance action at any time if it\r
79122
- comes to the attention of the Ministry that a filing does not comply with\r
79123
- the applicable Act, regulations or the requirements of the Director or\r
79124
- Registrar.\r
79125
- </span>\r
79126
- \r
79127
- <span class="body-1-regular">\r
79128
- 13. The Acts set out penalties, including fines, for submitting false or\r
79129
- misleading information.\r
79130
- </span>\r
79131
- \r
79132
- <span class="body-1-regular">\r
79133
- 14. The corporation agrees to file restated articles at any time required\r
79134
- by the Director under the Business Corporations Act or Not-for-Profit\r
79135
- Corporations Act, 2010.\r
79136
- </span>\r
79137
- \r
79138
- <span class="body-1-regular">\r
79139
- 15. Where a filing under the Business Corporations Act, Extra-Provincial\r
79140
- Corporations Act or Not-for-Profit Corporations Act, 2010 must be\r
79141
- supported by an Ontario biased or weighted Nuans search report, and the\r
79142
- identifying information is provided, the authorizer(s) consents for the\r
79143
- Director appointed under the Act or other person delegated by the Director\r
79144
- to retrieve the Nuans report directly from the appropriate department of\r
79145
- the Government of Canada. The corporation agrees to keep a copy of the\r
79146
- Nuans report in electronic or paper format at the corporation's registered\r
79147
- office.\r
79148
- </span>\r
79149
- \r
79150
- <span class="body-1-regular">\r
79151
- 16. A corporation under the Business Corporations Act or Not-for-Profit\r
79152
- Corporations Act, 2010 that continues out of Ontario agrees to file with\r
79153
- the Ministry a copy of the instrument of continuance issued to it by the\r
79154
- other jurisdiction within 60 days after the date of issuance.\r
79155
- </span>\r
79156
- \r
79157
- <span class="body-1-regular">\r
79158
- 17. If this is a filing made in respect of an arrangement under the\r
79159
- Business Corporations Act or Not-for-Profit Corporations Act, 2010, the\r
79160
- corporation acknowledges that it must give the Director notice of the\r
79161
- application to the court and that the Director is entitled to appear in\r
79162
- court and be heard in person or by counsel. The corporation agrees to\r
79163
- submit the required notice and a draft copy of the Plan of Arrangement\r
79164
- under the applicable Act for review through the electronic system\r
79165
- maintained by the Ministry at least seven business days before seeking an\r
79166
- interim and/or final order with the court. The corporation agrees to make\r
79167
- changes required by the Director to ensure that the Plan complies with the\r
79168
- applicable Act and Ministry requirements, and is capable of being\r
79169
- implemented in the electronic system maintained by the Ministry under the\r
79170
- applicable Act. The corporation agrees that if the Ministry does not\r
79171
- receive a draft of the application or sufficient notice of the\r
79172
- application, additional time may be required for review. The corporation\r
79173
- acknowledges that the Ministry may seek an adjournment if the corporation\r
79174
- fails to provide a draft of the application or sufficient notice of the\r
79175
- application. The corporation agrees that if it obtains a court order\r
79176
- without providing the required notice of the application to the Ministry,\r
79177
- revisions may be required to any Plan of Arrangement attached to a court\r
79178
- order and a further court order may be required before the articles of\r
79179
- arrangement are endorsed.\r
79180
- </span>\r
79181
- </div>\r
79182
- </div>\r
79183
- \r
79184
- <mat-checkbox [formControl]="getFormControl(termsAndConditionsControls.AcceptTerms)">\r
79185
- <div class="body-1-regular black">\r
79186
- <span>I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them</span>\r
79187
- </div>\r
79188
- </mat-checkbox>\r
79189
- </div>\r
79190
- \r
79191
- </expandable-card>\r
79192
- \r
79193
- <expandable-card title="Signatory">\r
79194
- <filing-form-group [isSubmitted]="true" [form]="form" [config]="termsAndConditionsFields"/>\r
79195
- </expandable-card>\r
79196
- </div>\r
79197
- \r
79198
- <div class="terms-and-conditions-form-actions">\r
79199
- <button mat-stroked-button mat-button (click)="close.emit()">\r
79200
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
79201
- </button>\r
79202
- \r
79203
- <button mat-stroked-button mat-button (click)="prev.emit()"><span class="body-1-semibold">{{ 'Back' | translate }}</span></button>\r
79204
- \r
79205
- <button\r
79206
- mat-flat-button\r
79207
- type="submit"\r
79208
- (click)="onConfirm()"\r
79209
- [disabled]="form.invalid"\r
79210
- >\r
79211
- <span class="body-1-semibold">{{ 'Proceed' | translate }}</span>\r
79212
- </button>\r
79213
- </div>\r
79214
- </div>\r
78972
+ ], template: `<div class="terms-and-conditions">
78973
+ <div class="terms-and-conditions-content">
78974
+ <expandable-card class="terms-and-conditions-card" title="Terms and Conditions">
78975
+
78976
+ <div class="terms-and-conditions-card-content">
78977
+ <div class="terms-and-conditions-text-wrapper">
78978
+ <div class="terms-and-conditions-text">
78979
+ <span class="body-1-regular">
78980
+ The following are the Terms and Conditions for filing with the Ministry of
78981
+ Public and Business Service Delivery ("Ministry") under the Business
78982
+ Corporations Act, Business Names Act, Corporations Act, Corporations
78983
+ Information Act, Extra-Provincial Corporations Act, Limited Partnerships
78984
+ Act and Not-for-Profit Corporations Act, 2010.
78985
+ </span>
78986
+
78987
+ <span class="body-1-regular">
78988
+ Agreement to these Terms and Conditions by the following persons and
78989
+ entities is a mandatory condition of filing:
78990
+ </span>
78991
+
78992
+ <span class="body-1-regular">
78993
+ (i) the person(s) signing or otherwise authorizing the filing and any
78994
+ person(s) acting on their behalf (collectively, the "authorizers"); and
78995
+ </span>
78996
+
78997
+ <span class="body-1-regular">
78998
+ (ii) the corporation or other entity that is the subject of the filing
78999
+ (the "entity") and any person(s) acting on behalf of the entity
79000
+ </span>
79001
+
79002
+ <span class="body-1-regular">
79003
+ These Terms and Conditions are made under the authority of the
79004
+ requirements established by the Director or Registrar appointed under the
79005
+ applicable Act. These Terms and Conditions are in addition to and subject
79006
+ to the applicable Acts, regulations and requirements of the Director or
79007
+ Registrar.
79008
+ </span>
79009
+
79010
+ <span class="body-1-regular">
79011
+ By proceeding with this filing under any of the above-named Acts, the
79012
+ authorizer(s), the entity and any person(s) acting on behalf of the entity
79013
+ accept and agree to be bound by these Terms and Conditions.
79014
+ </span>
79015
+
79016
+ <span class="body-1-regular">
79017
+ 1. The sole responsibility for correctness and completeness of the filing,
79018
+ and for compliance with the applicable Act and all regulations and
79019
+ Director's or Registrar's requirements made under it, lies with the
79020
+ authorizer(s) and the entity. The authorizer(s), the entity and any
79021
+ person(s) acting on behalf of the entity agree that any information
79022
+ provided by the Ministry in or related to the making of a filing is not
79023
+ legal advice, and that they have obtained their own legal or other advice
79024
+ as appropriate.
79025
+ </span>
79026
+
79027
+ <span class="body-1-regular">
79028
+ 2. All filings must meet any signature or authorization requirements
79029
+ established by the Director or Registrar under the applicable Act. Where
79030
+ signatures are required for electronic filing, the applicable articles,
79031
+ application, declaration, other approved form or other document must be
79032
+ saved or printed and signed in accordance with the instructions provided.
79033
+ The entity must keep a properly executed version of the applicable
79034
+ document in paper or electronic format, together with any records that may
79035
+ exist related to an electronic signature, if signed by electronic
79036
+ signature, as follows: If the subject of a filing is a corporation, the
79037
+ corporation must keep these documents and records at its registered
79038
+ office. If the subject of the filing is an Ontario limited partnership,
79039
+ the limited partnership must keep these documents and records at the
79040
+ limited partnership's principal place of business in Ontario. If the
79041
+ subject of the filing is an extraprovincial limited partnership that does
79042
+ not have a principal place of business in Ontario, the extraprovincial
79043
+ limited partnership must keep these documents and records at the address
79044
+ of the limited partnership's attorney and representative in Ontario set
79045
+ out in the declaration filed under the Limited Partnerships Act and stated
79046
+ in the power of attorney executed under the Act. If required by notice
79047
+ from the Director or Registrar, the corporation, limited partnership, the
79048
+ attorney and representative in Ontario or other person as applicable must
79049
+ provide a copy of the properly executed version of the applicable document
79050
+ to the Director or Registrar within the time period set out in the notice,
79051
+ together with any records that may exist related to an electronic
79052
+ signature, if signed by electronic signature.
79053
+ </span>
79054
+
79055
+ <span class="body-1-regular">
79056
+ 3. In addition to retaining and filing supporting documents in accordance
79057
+ with the applicable Act and regulations, the entity must keep a copy of
79058
+ all filed supporting documents and provide a copy in accordance with any
79059
+ written notice from the Director or Registrar. In the case of a consent
79060
+ from a Minister or the Public Guardian and Trustee (PGT) that is required
79061
+ to support a filing made by a corporation, the corporation agrees that the
79062
+ Ministry may contact that Minister or the PGT, as applicable, to confirm
79063
+ that the necessary consent has been obtained and to record this in the
79064
+ electronic business registration system maintained by the Ministry.
79065
+ </span>
79066
+
79067
+ <span class="body-1-regular">
79068
+ 4. The entity assumes full responsibility for any risk of confusion or
79069
+ legal action, including the risk of a lawsuit or name hearing under the
79070
+ applicable Act, resulting from a filing that sets out a name that is the
79071
+ same or similar to that of an existing corporation, business name or
79072
+ trademark, or that is otherwise contrary to the applicable Act or
79073
+ regulations.
79074
+ </span>
79075
+
79076
+ <span class="body-1-regular">
79077
+ 5. Filings must be made in the required form and format, and must meet the
79078
+ technical requirements or other specifications and requirements
79079
+ established by the Director or Registrar.
79080
+ </span>
79081
+
79082
+ <span class="body-1-regular">
79083
+ 6. Valid email address(es) must be provided as specified in the
79084
+ transaction for administrative purposes, and all mandatory fields must be
79085
+ completed.
79086
+ </span>
79087
+
79088
+ <span class="body-1-regular">
79089
+ 7. The business information provided in this filing may be shared with
79090
+ other government bodies. The business information that is collected may be
79091
+ used and disclosed for the purpose of administering their programs.
79092
+ </span>
79093
+
79094
+ <span class="body-1-regular">
79095
+ 8. Payment of the required fee must be made at the time of submission, and
79096
+ any certificate or other documentation issued by the Ministry is subject
79097
+ to compliance action and cancellation if payment is disputed or
79098
+ fraudulent. Payment of fees for electronic filings must be made
79099
+ electronically using the payment options provided.
79100
+ </span>
79101
+
79102
+ <span class="body-1-regular">
79103
+ 9. If an application is for a corrected certificate, and the application
79104
+ is approved under the applicable Act, the corporation or limited
79105
+ partnership as applicable will be notified when the certificate has been
79106
+ issued. The corporation or limited partnership, as applicable, agrees to
79107
+ review the issued corrected certificate in the records maintained by the
79108
+ Ministry forthwith and to confirm that the issued certificate corresponds
79109
+ with the final approved application for correction. The corporation or
79110
+ limited partnership, as applicable, agrees to be responsible and assume
79111
+ all liability for any discrepancies between the issued corrected
79112
+ certificate and the final approved application if these are not
79113
+ immediately brought to the attention of the Ministry.
79114
+ </span>
79115
+
79116
+ <span class="body-1-regular">
79117
+ 10. If this is a new filing, a company key consisting of a unique series
79118
+ of digits will be provided electronically by the Ministry to the entity at
79119
+ the time of completion of the transaction, together with the final
79120
+ documentation for the transaction. If this is not a new filing, the entity
79121
+ will have received a company key. The company key provides authority over
79122
+ the entity; by proceeding with this transaction, any person(s) acting on
79123
+ behalf of the entity is confirming that they are duly authorized by the
79124
+ entity.
79125
+ </span>
79126
+
79127
+ <span class="body-1-regular">
79128
+ 11. The company key will be required for any subsequent paper or online
79129
+ filings regarding the entity. The entity is responsible for the care and
79130
+ control of the company key. The entity is responsible for treating this
79131
+ key as confidential information and not sharing it unless it is in the
79132
+ course of providing delegated authority to a trusted service provider or
79133
+ trusted intermediary to make filings on their behalf. The recipient of the
79134
+ company key agrees to notify the Ministry as soon as they become aware
79135
+ that the key has been lost, stolen or misused to request a replacement
79136
+ key. The entity agrees to be responsible and assume all liability for all
79137
+ filings authorized by the key in respect of the entity. Unauthorized use
79138
+ of the company key or delegated authority may result in suspension of
79139
+ access to the electronic business registration system.
79140
+ </span>
79141
+
79142
+ <span class="body-1-regular">
79143
+ 12. The Ministry may take appropriate compliance action at any time if it
79144
+ comes to the attention of the Ministry that a filing does not comply with
79145
+ the applicable Act, regulations or the requirements of the Director or
79146
+ Registrar.
79147
+ </span>
79148
+
79149
+ <span class="body-1-regular">
79150
+ 13. The Acts set out penalties, including fines, for submitting false or
79151
+ misleading information.
79152
+ </span>
79153
+
79154
+ <span class="body-1-regular">
79155
+ 14. The corporation agrees to file restated articles at any time required
79156
+ by the Director under the Business Corporations Act or Not-for-Profit
79157
+ Corporations Act, 2010.
79158
+ </span>
79159
+
79160
+ <span class="body-1-regular">
79161
+ 15. Where a filing under the Business Corporations Act, Extra-Provincial
79162
+ Corporations Act or Not-for-Profit Corporations Act, 2010 must be
79163
+ supported by an Ontario biased or weighted Nuans search report, and the
79164
+ identifying information is provided, the authorizer(s) consents for the
79165
+ Director appointed under the Act or other person delegated by the Director
79166
+ to retrieve the Nuans report directly from the appropriate department of
79167
+ the Government of Canada. The corporation agrees to keep a copy of the
79168
+ Nuans report in electronic or paper format at the corporation's registered
79169
+ office.
79170
+ </span>
79171
+
79172
+ <span class="body-1-regular">
79173
+ 16. A corporation under the Business Corporations Act or Not-for-Profit
79174
+ Corporations Act, 2010 that continues out of Ontario agrees to file with
79175
+ the Ministry a copy of the instrument of continuance issued to it by the
79176
+ other jurisdiction within 60 days after the date of issuance.
79177
+ </span>
79178
+
79179
+ <span class="body-1-regular">
79180
+ 17. If this is a filing made in respect of an arrangement under the
79181
+ Business Corporations Act or Not-for-Profit Corporations Act, 2010, the
79182
+ corporation acknowledges that it must give the Director notice of the
79183
+ application to the court and that the Director is entitled to appear in
79184
+ court and be heard in person or by counsel. The corporation agrees to
79185
+ submit the required notice and a draft copy of the Plan of Arrangement
79186
+ under the applicable Act for review through the electronic system
79187
+ maintained by the Ministry at least seven business days before seeking an
79188
+ interim and/or final order with the court. The corporation agrees to make
79189
+ changes required by the Director to ensure that the Plan complies with the
79190
+ applicable Act and Ministry requirements, and is capable of being
79191
+ implemented in the electronic system maintained by the Ministry under the
79192
+ applicable Act. The corporation agrees that if the Ministry does not
79193
+ receive a draft of the application or sufficient notice of the
79194
+ application, additional time may be required for review. The corporation
79195
+ acknowledges that the Ministry may seek an adjournment if the corporation
79196
+ fails to provide a draft of the application or sufficient notice of the
79197
+ application. The corporation agrees that if it obtains a court order
79198
+ without providing the required notice of the application to the Ministry,
79199
+ revisions may be required to any Plan of Arrangement attached to a court
79200
+ order and a further court order may be required before the articles of
79201
+ arrangement are endorsed.
79202
+ </span>
79203
+ </div>
79204
+ </div>
79205
+
79206
+ <mat-checkbox [formControl]="getFormControl(termsAndConditionsControls.AcceptTerms)">
79207
+ <div class="body-1-regular black">
79208
+ <span>I agree to the Terms and Conditions and confirm that all required person(s) and/or entities agree to them</span>
79209
+ </div>
79210
+ </mat-checkbox>
79211
+ </div>
79212
+
79213
+ </expandable-card>
79214
+
79215
+ <expandable-card title="Signatory">
79216
+ <filing-form-group [isSubmitted]="true" [form]="form" [config]="termsAndConditionsFields"/>
79217
+ </expandable-card>
79218
+ </div>
79219
+
79220
+ <div class="terms-and-conditions-form-actions">
79221
+ <button mat-stroked-button mat-button (click)="close.emit()">
79222
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
79223
+ </button>
79224
+
79225
+ <button mat-stroked-button mat-button (click)="prev.emit()"><span class="body-1-semibold">{{ 'Back' | translate }}</span></button>
79226
+
79227
+ <button
79228
+ mat-flat-button
79229
+ type="submit"
79230
+ (click)="onConfirm()"
79231
+ [disabled]="form.invalid"
79232
+ >
79233
+ <span class="body-1-semibold">{{ 'Proceed' | translate }}</span>
79234
+ </button>
79235
+ </div>
79236
+ </div>
79215
79237
  `, 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"] }]
79216
79238
  }], null, null);
79217
79239
  })();
@@ -81134,7 +81156,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81134
81156
  (() => {
81135
81157
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ConfirmModalComponent, [{
81136
81158
  type: Component,
81137
- 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 }}\r\n </h1>\r\n </div>\r\n\r\n <div class="confirm-modal-text">{{ config.text }}</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'] }]
81159
+ 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 }}\n </h1>\n </div>\n\n <div class="confirm-modal-text">{{ config.text }}</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'] }]
81138
81160
  }], null, null);
81139
81161
  })();
81140
81162
  (() => {
@@ -81642,8 +81664,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81642
81664
  const refNumbers = formData[FormationFormGroups.ReferenceNumbers];
81643
81665
  const legalOpinionData = formData[FormationFormGroups.LegalOpinion];
81644
81666
  const registeredOffice = formData[FormationFormGroups.RegisteredOfficeAddress];
81645
- formData[FormationFormGroups.SharesAndRestrictions];
81646
- const contact = formData[FormationFormGroups.Contact];
81647
81667
  const isNumbered = corpDetails?.[FormationFormControls.CorporationNameType] === ECoreIncorporationType.Numbered;
81648
81668
  const data = {
81649
81669
  referenceNumbers: {
@@ -81701,8 +81721,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81701
81721
  };
81702
81722
  }
81703
81723
  return acc;
81704
- }, {}),
81705
- contactUid: contact[FormationFormControls.Contact] ?? null
81724
+ }, {})
81706
81725
  };
81707
81726
  if (corpDetails[FormationFormControls.wasLegalOpinionObtained] && corpDetails[FormationFormControls.CorporationNameType] !== ECoreIncorporationType.Numbered) {
81708
81727
  data.legalOpinion = {
@@ -81780,7 +81799,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81780
81799
  OntarioIncorporationDeltaFormComponent,
81781
81800
  OntarioIncorporationPreviewFormComponent,
81782
81801
  TermsAndConditionsComponent
81783
- ], 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"] }]
81802
+ ], 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"] }]
81784
81803
  }], () => [], null);
81785
81804
  })();
81786
81805
  (() => {
@@ -81936,7 +81955,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81936
81955
  "--mdc-text-button-label-text-size": "14px",
81937
81956
  "--mdc-outlined-button-label-text-color": "#444444",
81938
81957
  "--mdc-outlined-button-label-text-weight": "600",
81939
- "--mdc-outlined-button-container-shape": "6px"
81958
+ "--mdc-outlined-button-container-shape": "6px",
81959
+ // AUTOCOMPLETE
81960
+ "--mat-autocomplete-background-color": "#FFFFFF"
81940
81961
  };
81941
81962
  }
81942
81963
  });
@@ -82523,7 +82544,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
82523
82544
  }
82524
82545
  ];
82525
82546
  generateFederalFormationFormContactControl = (contacts) => {
82526
- const contactsOptions = contacts.map((contact) => ({ label: contact.participant._profile.name ?? "", value: contact._id }));
82547
+ const contactsOptions = contacts.map((contact) => ({
82548
+ label: contact.participant._profile.name ?? "",
82549
+ value: contact._id
82550
+ }));
82527
82551
  return [
82528
82552
  {
82529
82553
  type: FormType.Select,
@@ -82538,8 +82562,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
82538
82562
  dynamicLabel: (form, t) => {
82539
82563
  const id = form.get(FederalFormationFormControl.Contact)?.value;
82540
82564
  const contact = contacts.find((contact2) => contact2._id === id);
82541
- const email = contact?.addresses[0]?.emails?.primary;
82542
- const phone = contact?.addresses[0]?.contact_numbers?.primary;
82565
+ const email = contact?.participant?.communications?.find((c) => c.type === "Email")?.value;
82566
+ const phone = contact?.participant?.communications?.find((c) => c.type === "Phone")?.value;
82543
82567
  return `<span class="body-1-semibold">${t("Contact Details")}:</span> ${getContactDetailsPreview(email, phone, t)}`;
82544
82568
  },
82545
82569
  formControlName: "",
@@ -82772,9 +82796,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
82772
82796
  type: FormType.Select,
82773
82797
  label: "Person Authorizing the Filing",
82774
82798
  formControlName: FederalFormationFormControl.PersonAuthorizingTheFiling,
82775
- dynamicOptions: (form) => {
82776
- return affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [];
82777
- },
82799
+ dynamicOptions: (form) => affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [],
82778
82800
  class: "span-6",
82779
82801
  required: true
82780
82802
  },
@@ -82906,39 +82928,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
82906
82928
  (() => {
82907
82929
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(SelectModalComponent, [{
82908
82930
  type: Component,
82909
- args: [{ standalone: true, selector: "add-documents-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, MatDialogModule, MatIconModule, TranslatePipe, MatCheckbox], template: `<div class="add-documents-modal">\r
82910
- <div class="add-documents-modal-header">\r
82911
- <h2 class="grey">{{ dialogData.title | translate }}</h2>\r
82912
- </div>\r
82913
- \r
82914
- <div class="add-documents-modal-list">\r
82915
- @for (doc of dialogData.items; track doc) {\r
82916
- <div (click)="toggleDocument(doc)" class="add-documents-modal-list-item">\r
82917
- <mat-checkbox [checked]="isSelected(doc)"/>\r
82918
- <span class="body-1-regular">{{ doc }}</span>\r
82919
- </div>\r
82920
- }\r
82921
- </div>\r
82922
- \r
82923
- <div class="add-documents-modal-actions">\r
82924
- <button\r
82925
- mat-stroked-button mat-button\r
82926
- (click)="closeModal()"\r
82927
- >\r
82928
- <span class="body-1-semibold">{{ 'Cancel' | translate }}</span>\r
82929
- </button>\r
82930
- \r
82931
- <button\r
82932
- class="submit"\r
82933
- mat-flat-button\r
82934
- [disabled]="!hasSelection()"\r
82935
- (click)="addSelectedDocuments()"\r
82936
- >\r
82937
- <span class="body-1-semibold">{{ dialogData.submitButton | translate }}</span>\r
82938
- </button>\r
82939
- </div>\r
82940
- \r
82941
- </div>\r
82931
+ args: [{ standalone: true, selector: "add-documents-modal", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, MatDialogModule, MatIconModule, TranslatePipe, MatCheckbox], template: `<div class="add-documents-modal">
82932
+ <div class="add-documents-modal-header">
82933
+ <h2 class="grey">{{ dialogData.title | translate }}</h2>
82934
+ </div>
82935
+
82936
+ <div class="add-documents-modal-list">
82937
+ @for (doc of dialogData.items; track doc) {
82938
+ <div (click)="toggleDocument(doc)" class="add-documents-modal-list-item">
82939
+ <mat-checkbox [checked]="isSelected(doc)"/>
82940
+ <span class="body-1-regular">{{ doc }}</span>
82941
+ </div>
82942
+ }
82943
+ </div>
82944
+
82945
+ <div class="add-documents-modal-actions">
82946
+ <button
82947
+ mat-stroked-button mat-button
82948
+ (click)="closeModal()"
82949
+ >
82950
+ <span class="body-1-semibold">{{ 'Cancel' | translate }}</span>
82951
+ </button>
82952
+
82953
+ <button
82954
+ class="submit"
82955
+ mat-flat-button
82956
+ [disabled]="!hasSelection()"
82957
+ (click)="addSelectedDocuments()"
82958
+ >
82959
+ <span class="body-1-semibold">{{ dialogData.submitButton | translate }}</span>
82960
+ </button>
82961
+ </div>
82962
+
82963
+ </div>
82942
82964
  `, 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'] }]
82943
82965
  }], null, null);
82944
82966
  })();
@@ -83083,34 +83105,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83083
83105
  MatButton,
83084
83106
  TranslatePipe,
83085
83107
  MatIcon
83086
- ], template: `<div class="documents">\r
83087
- <span class="body-1-regular">{{ 'Supporting documents relevant to the proposed name, including consent letters' | translate }}</span>\r
83088
- \r
83089
- @let selectedDocuments = this.selectedDocuments();\r
83090
- @if (selectedDocuments.length) {\r
83091
- <div class="documents-list">\r
83092
- @for(document of selectedDocuments; track document) {\r
83093
- <div class="documents-list-item body-1-regular">\r
83094
- <mat-icon class="documents-list-item-document">description_outline</mat-icon>\r
83095
- <span class="body-1-regular">{{document}}</span>\r
83096
- \r
83097
- @if (!readonly()) {\r
83098
- <div class="documents-list-icon-wrapper" (click)="removeDocument.emit(document)">\r
83099
- <mat-icon class="documents-list-item-close">close</mat-icon>\r
83100
- </div>\r
83101
- }\r
83102
- \r
83103
- </div>\r
83104
- }\r
83105
- </div>\r
83106
- }\r
83107
- \r
83108
- @if (!readonly()) {\r
83109
- <button mat-stroked-button class="outlined" (click)="onAddDocuments()">\r
83110
- <span class="body-1-semibold">{{ 'Add Supporting Documents' | translate }}</span>\r
83111
- </button>\r
83112
- }\r
83113
- </div>\r
83108
+ ], template: `<div class="documents">
83109
+ <span class="body-1-regular">{{ 'Supporting documents relevant to the proposed name, including consent letters' | translate }}</span>
83110
+
83111
+ @let selectedDocuments = this.selectedDocuments();
83112
+ @if (selectedDocuments.length) {
83113
+ <div class="documents-list">
83114
+ @for(document of selectedDocuments; track document) {
83115
+ <div class="documents-list-item body-1-regular">
83116
+ <mat-icon class="documents-list-item-document">description_outline</mat-icon>
83117
+ <span class="body-1-regular">{{document}}</span>
83118
+
83119
+ @if (!readonly()) {
83120
+ <div class="documents-list-icon-wrapper" (click)="removeDocument.emit(document)">
83121
+ <mat-icon class="documents-list-item-close">close</mat-icon>
83122
+ </div>
83123
+ }
83124
+
83125
+ </div>
83126
+ }
83127
+ </div>
83128
+ }
83129
+
83130
+ @if (!readonly()) {
83131
+ <button mat-stroked-button class="outlined" (click)="onAddDocuments()">
83132
+ <span class="body-1-semibold">{{ 'Add Supporting Documents' | translate }}</span>
83133
+ </button>
83134
+ }
83135
+ </div>
83114
83136
  `, 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"] }]
83115
83137
  }], null, null);
83116
83138
  })();
@@ -83633,7 +83655,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83633
83655
  if (task) {
83634
83656
  const mailings = task.entity.addresses.filter((a) => a.location_type === "Mailing");
83635
83657
  const mailingOptions = mailings.map((mailing) => ({ label: `${mailing.display?.line1}${mailing.display?.line2}`, value: mailing.uid }));
83636
- const contacts = task.entity.affiliations.filter((a) => a.role.role_name === "Contact");
83658
+ const contacts = task.entity.affiliations.filter((a) => a.role.role_name === "Contact" && a._participant.participant_type === "person");
83637
83659
  const eplRegistrations = getEPRegistrations(task);
83638
83660
  this.registeredOfficeAddressFields = generateFederalFormationFormRegisteredOfficeAddressControl(mailingOptions);
83639
83661
  this.extraProvincialLicensesFields = this.generateEPLFields(eplRegistrations);
@@ -83856,124 +83878,124 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83856
83878
  TranslatePipe,
83857
83879
  ReactiveFormsModule,
83858
83880
  DatePipe
83859
- ], template: `<div class="incorporation-form">\r
83860
- \r
83861
- @if (isNote()) {\r
83862
- <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\r
83863
- }\r
83864
- \r
83865
- @if (errors().length) {\r
83866
- <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\r
83867
- }\r
83868
- \r
83869
- <div class="incorporation-form-content">\r
83870
- @let corporateName = getFormGroup(groups.CorporateName);\r
83871
- \r
83872
- @if (corporateName) {\r
83873
- <expandable-card [isValid]="!corporateName.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.CorporateName">\r
83874
- <div class="incorporation-form-item">\r
83875
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporateName" [config]="incorporationFields"/>\r
83876
- \r
83877
- @if (isNonPreapprovedNameType() || selectedDocuments().length) {\r
83878
- <documents\r
83879
- [documents]="documents()"\r
83880
- [readonly]="isReadonly()"\r
83881
- [selectedDocuments]="selectedDocuments()"\r
83882
- (addDocuments)="addDocuments.emit($event)"\r
83883
- (removeDocument)="removeDocument.emit($event)"\r
83884
- />\r
83885
- }\r
83886
- </div>\r
83887
- </expandable-card>\r
83888
- }\r
83889
- \r
83890
- @let articlesOfIncorporation = getFormGroup(groups.ArticlesOfIncorporation);\r
83891
- \r
83892
- @if (articlesOfIncorporation) {\r
83893
- <expandable-card [isValid]="!articlesOfIncorporation.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.ArticlesOfIncorporation">\r
83894
- <div class="incorporation-form-item">\r
83895
- <span class="body-1-regular black" [innerHTML]="directorsSubtitle()"></span>\r
83896
- \r
83897
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="articlesOfIncorporation" [config]="articlesOfIncorporationFields"/>\r
83898
- <div>\r
83899
- <span class="body-1-semibold dark-blue">Incorporators</span>\r
83900
- \r
83901
- <ul class="incorporators-list">\r
83902
- @for (incorporator of task()?._ext?._incorporators; track incorporator.affiliationID) {\r
83903
- <li class="body-1-regular grey">{{getIncorporatorName(incorporator)}}</li>\r
83904
- }\r
83905
- \r
83906
- </ul>\r
83907
- </div>\r
83908
- \r
83909
- <span class="body-1-regular grey">Effective Date: {{task()?._ext?._future_filing_date ? (task()!._ext!._future_filing_date | date:'yyyy-MM-dd') : (today | date:'yyyy-MM-dd')}}</span>\r
83910
- \r
83911
- </div>\r
83912
- \r
83913
- </expandable-card>\r
83914
- }\r
83915
- \r
83916
- @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);\r
83917
- \r
83918
- @if (registeredOfficeAddress) {\r
83919
- <expandable-card [isValid]="!registeredOfficeAddress.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.RegisteredOfficeAddress">\r
83920
- <div class="incorporation-form-item">\r
83921
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeAddress" [config]="registeredOfficeAddressFields"/>\r
83922
- </div>\r
83923
- \r
83924
- </expandable-card>\r
83925
- }\r
83926
- \r
83927
- @let directorsArray = getFormArray(groups.Directors);\r
83928
- \r
83929
- @if (directorsArray) {\r
83930
- @let directorsFormArray = getFormArray(groups.Directors);\r
83931
- <expandable-list-card [isValid]="directorsFormArray.valid" [isSubmitted]="isSubmitted()" [isOpen]="directorsArray.length <= initiallyOpenCardsCount" [fields]="directorsFields" [formArray]="directorsFormArray" [title]="groups.Directors"/>\r
83932
- }\r
83933
- \r
83934
- @let significantControl = getFormGroup(groups.SignificantControl);\r
83935
- @if (significantControl) {\r
83936
- @let individualsWithSignificantControlArray = getFormArray(groups.IndividualsWithSignificantControl);\r
83937
- \r
83938
- @if (individualsWithSignificantControlArray) {\r
83939
- <expandable-list-card [isOpen]="individualsWithSignificantControlArray.length <= initiallyOpenCardsCount" [isValid]="individualsWithSignificantControlArray.valid && significantControl.valid" (remove)="onRemoveIndividualWithSignificantForm($event)" [removable]="!isReadonly()" [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="individualsWithSignificantControlFields" [formArray]="individualsWithSignificantControlArray" [title]="groups.IndividualsWithSignificantControl">\r
83940
- @if (!isReadonly() && isAddIndividualWithSignificantControlAvailable()) {\r
83941
- <button [disabled]="isAddIndividualWithSignificantControlDisabled()" slot="subtitle" mat-stroked-button mat-button (click)="addIndividualWithSignificantControl()">\r
83942
- <span class="body-1-semibold">{{ 'Add Individuals With Significant Control' | translate }}</span>\r
83943
- </button>\r
83944
- }\r
83945
- \r
83946
- <div class="significant-control" slot="header-content">\r
83947
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="significantControl" [config]="significantControlFields"/>\r
83948
- </div>\r
83949
- </expandable-list-card>\r
83950
- }\r
83951
- }\r
83952
- \r
83953
- @let inviteDirectorToBeFullAccessManager = getFormGroup(groups.InviteDirectorToBeFullAccessManager);\r
83954
- @if (inviteDirectorToBeFullAccessManager) {\r
83955
- <expandable-card [isValid]="!inviteDirectorToBeFullAccessManager.invalid" [title]="groups.InviteDirectorToBeFullAccessManager">\r
83956
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="inviteDirectorToBeFullAccessManager" [config]="federalFormationFormInviteDirectorsToBeManagersControl"/>\r
83957
- </expandable-card>\r
83958
- }\r
83959
- \r
83960
- @let extraProvincialLicensesArray = getFormArray(groups.ExtraProvincialRegistrations);\r
83961
- @let extraProvincialLicensesControlsLength = extraProvincialLicensesArray?.length;\r
83962
- \r
83963
- @if (extraProvincialLicensesControlsLength) {\r
83964
- <expandable-list-card [isOpen]="extraProvincialLicensesControlsLength === 1" [isValid]="extraProvincialLicensesArray.valid" [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="extraProvincialLicensesFields" [formArray]="extraProvincialLicensesArray" [title]="groups.ExtraProvincialRegistrations"/>\r
83965
- }\r
83966
- \r
83967
- @let contactForm = getFormGroup(groups.Contact);\r
83968
- @if (contactForm) {\r
83969
- <expandable-card [isStatusIcon]="isStatusIcon()" [isValid]="!contactForm.invalid" [title]="groups.Contact">\r
83970
- <filing-form-group [isSubmitted]="isSubmitted()" [form]="contactForm" [config]="contactControl"/>\r
83971
- </expandable-card>\r
83972
- }\r
83973
- \r
83974
- <ng-content></ng-content>\r
83975
- </div>\r
83976
- </div>\r
83881
+ ], template: `<div class="incorporation-form">
83882
+
83883
+ @if (isNote()) {
83884
+ <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>
83885
+ }
83886
+
83887
+ @if (errors().length) {
83888
+ <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>
83889
+ }
83890
+
83891
+ <div class="incorporation-form-content">
83892
+ @let corporateName = getFormGroup(groups.CorporateName);
83893
+
83894
+ @if (corporateName) {
83895
+ <expandable-card [isValid]="!corporateName.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.CorporateName">
83896
+ <div class="incorporation-form-item">
83897
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporateName" [config]="incorporationFields"/>
83898
+
83899
+ @if (isNonPreapprovedNameType() || selectedDocuments().length) {
83900
+ <documents
83901
+ [documents]="documents()"
83902
+ [readonly]="isReadonly()"
83903
+ [selectedDocuments]="selectedDocuments()"
83904
+ (addDocuments)="addDocuments.emit($event)"
83905
+ (removeDocument)="removeDocument.emit($event)"
83906
+ />
83907
+ }
83908
+ </div>
83909
+ </expandable-card>
83910
+ }
83911
+
83912
+ @let articlesOfIncorporation = getFormGroup(groups.ArticlesOfIncorporation);
83913
+
83914
+ @if (articlesOfIncorporation) {
83915
+ <expandable-card [isValid]="!articlesOfIncorporation.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.ArticlesOfIncorporation">
83916
+ <div class="incorporation-form-item">
83917
+ <span class="body-1-regular black" [innerHTML]="directorsSubtitle()"></span>
83918
+
83919
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="articlesOfIncorporation" [config]="articlesOfIncorporationFields"/>
83920
+ <div>
83921
+ <span class="body-1-semibold dark-blue">Incorporators</span>
83922
+
83923
+ <ul class="incorporators-list">
83924
+ @for (incorporator of task()?._ext?._incorporators; track incorporator.affiliationID) {
83925
+ <li class="body-1-regular grey">{{getIncorporatorName(incorporator)}}</li>
83926
+ }
83927
+
83928
+ </ul>
83929
+ </div>
83930
+
83931
+ <span class="body-1-regular grey">Effective Date: {{task()?._ext?._future_filing_date ? (task()!._ext!._future_filing_date | date:'yyyy-MM-dd') : (today | date:'yyyy-MM-dd')}}</span>
83932
+
83933
+ </div>
83934
+
83935
+ </expandable-card>
83936
+ }
83937
+
83938
+ @let registeredOfficeAddress = getFormGroup(groups.RegisteredOfficeAddress);
83939
+
83940
+ @if (registeredOfficeAddress) {
83941
+ <expandable-card [isValid]="!registeredOfficeAddress.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.RegisteredOfficeAddress">
83942
+ <div class="incorporation-form-item">
83943
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeAddress" [config]="registeredOfficeAddressFields"/>
83944
+ </div>
83945
+
83946
+ </expandable-card>
83947
+ }
83948
+
83949
+ @let directorsArray = getFormArray(groups.Directors);
83950
+
83951
+ @if (directorsArray) {
83952
+ @let directorsFormArray = getFormArray(groups.Directors);
83953
+ <expandable-list-card [isValid]="directorsFormArray.valid" [isSubmitted]="isSubmitted()" [isOpen]="directorsArray.length <= initiallyOpenCardsCount" [fields]="directorsFields" [formArray]="directorsFormArray" [title]="groups.Directors"/>
83954
+ }
83955
+
83956
+ @let significantControl = getFormGroup(groups.SignificantControl);
83957
+ @if (significantControl) {
83958
+ @let individualsWithSignificantControlArray = getFormArray(groups.IndividualsWithSignificantControl);
83959
+
83960
+ @if (individualsWithSignificantControlArray) {
83961
+ <expandable-list-card [isOpen]="individualsWithSignificantControlArray.length <= initiallyOpenCardsCount" [isValid]="individualsWithSignificantControlArray.valid && significantControl.valid" (remove)="onRemoveIndividualWithSignificantForm($event)" [removable]="!isReadonly()" [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="individualsWithSignificantControlFields" [formArray]="individualsWithSignificantControlArray" [title]="groups.IndividualsWithSignificantControl">
83962
+ @if (!isReadonly() && isAddIndividualWithSignificantControlAvailable()) {
83963
+ <button [disabled]="isAddIndividualWithSignificantControlDisabled()" slot="subtitle" mat-stroked-button mat-button (click)="addIndividualWithSignificantControl()">
83964
+ <span class="body-1-semibold">{{ 'Add Individuals With Significant Control' | translate }}</span>
83965
+ </button>
83966
+ }
83967
+
83968
+ <div class="significant-control" slot="header-content">
83969
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="significantControl" [config]="significantControlFields"/>
83970
+ </div>
83971
+ </expandable-list-card>
83972
+ }
83973
+ }
83974
+
83975
+ @let inviteDirectorToBeFullAccessManager = getFormGroup(groups.InviteDirectorToBeFullAccessManager);
83976
+ @if (inviteDirectorToBeFullAccessManager) {
83977
+ <expandable-card [isValid]="!inviteDirectorToBeFullAccessManager.invalid" [title]="groups.InviteDirectorToBeFullAccessManager">
83978
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="inviteDirectorToBeFullAccessManager" [config]="federalFormationFormInviteDirectorsToBeManagersControl"/>
83979
+ </expandable-card>
83980
+ }
83981
+
83982
+ @let extraProvincialLicensesArray = getFormArray(groups.ExtraProvincialRegistrations);
83983
+ @let extraProvincialLicensesControlsLength = extraProvincialLicensesArray?.length;
83984
+
83985
+ @if (extraProvincialLicensesControlsLength) {
83986
+ <expandable-list-card [isOpen]="extraProvincialLicensesControlsLength === 1" [isValid]="extraProvincialLicensesArray.valid" [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="extraProvincialLicensesFields" [formArray]="extraProvincialLicensesArray" [title]="groups.ExtraProvincialRegistrations"/>
83987
+ }
83988
+
83989
+ @let contactForm = getFormGroup(groups.Contact);
83990
+ @if (contactForm) {
83991
+ <expandable-card [isStatusIcon]="isStatusIcon()" [isValid]="!contactForm.invalid" [title]="groups.Contact">
83992
+ <filing-form-group [isSubmitted]="isSubmitted()" [form]="contactForm" [config]="contactControl"/>
83993
+ </expandable-card>
83994
+ }
83995
+
83996
+ <ng-content></ng-content>
83997
+ </div>
83998
+ </div>
83977
83999
  `, 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"] }]
83978
84000
  }], () => [], null);
83979
84001
  })();
@@ -84076,38 +84098,38 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84076
84098
  MatButton,
84077
84099
  TranslatePipe,
84078
84100
  FederalIncorporationFormComponent
84079
- ], template: `<div class="incorporation-delta-form">\r
84080
- <federal-incorporation-form\r
84081
- class="incorporation-delta-form-content"\r
84082
- [form]="form()"\r
84083
- [task]="task()"\r
84084
- [errors]="errors()"\r
84085
- [isNote]="isNote()"\r
84086
- [isSubmitted]="submitted()"\r
84087
- [documents]="documents()"\r
84088
- [selectedDocuments]="selectedDocuments()"\r
84089
- (addDocuments)="addDocuments.emit($event)"\r
84090
- (removeDocument)="removeDocument.emit($event)"\r
84091
- />\r
84092
- \r
84093
- <div class="incorporation-delta-form-actions">\r
84094
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
84095
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
84096
- </button>\r
84097
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
84098
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
84099
- </button>\r
84100
- <button\r
84101
- class="submit"\r
84102
- color="primary"\r
84103
- mat-flat-button\r
84104
- [disabled]="actionsDisabled()"\r
84105
- (click)="onValidate()"\r
84106
- >\r
84107
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
84108
- </button>\r
84109
- </div>\r
84110
- </div>\r
84101
+ ], template: `<div class="incorporation-delta-form">
84102
+ <federal-incorporation-form
84103
+ class="incorporation-delta-form-content"
84104
+ [form]="form()"
84105
+ [task]="task()"
84106
+ [errors]="errors()"
84107
+ [isNote]="isNote()"
84108
+ [isSubmitted]="submitted()"
84109
+ [documents]="documents()"
84110
+ [selectedDocuments]="selectedDocuments()"
84111
+ (addDocuments)="addDocuments.emit($event)"
84112
+ (removeDocument)="removeDocument.emit($event)"
84113
+ />
84114
+
84115
+ <div class="incorporation-delta-form-actions">
84116
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
84117
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
84118
+ </button>
84119
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
84120
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
84121
+ </button>
84122
+ <button
84123
+ class="submit"
84124
+ color="primary"
84125
+ mat-flat-button
84126
+ [disabled]="actionsDisabled()"
84127
+ (click)="onValidate()"
84128
+ >
84129
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
84130
+ </button>
84131
+ </div>
84132
+ </div>
84111
84133
  `, 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"] }]
84112
84134
  }], null, null);
84113
84135
  })();
@@ -84226,39 +84248,39 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84226
84248
  FederalIncorporationFormComponent,
84227
84249
  ExpandableCardComponent,
84228
84250
  FilingFormGroupComponent
84229
- ], template: `<div class="incorporation-delta-form">\r
84230
- <federal-incorporation-form\r
84231
- class="incorporation-delta-form-content"\r
84232
- [form]="form()"\r
84233
- [task]="task()"\r
84234
- [errors]="errors()"\r
84235
- [selectedDocuments]="selectedDocuments()"\r
84236
- [isStatusIcon]="false"\r
84237
- [isReadonly]="true"\r
84238
- >\r
84239
- @let signatoryInformation = getFormGroup(groups.Signatory);\r
84240
- \r
84241
- <expandable-card [isExpandable]="false">\r
84242
- <filing-form-group [isSubmitted]="true" [form]="signatoryInformation" [config]="signatoryFields"/>\r
84243
- </expandable-card>\r
84244
- \r
84245
- </federal-incorporation-form>\r
84246
- \r
84247
- <div class="incorporation-delta-form-actions">\r
84248
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
84249
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
84250
- </button>\r
84251
- <button\r
84252
- class="submit"\r
84253
- color="primary"\r
84254
- mat-flat-button\r
84255
- [disabled]="actionsDisabled() || !getFormGroup(groups.Signatory).get(controls.Signatory)?.value"\r
84256
- (click)="file.emit()"\r
84257
- >\r
84258
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
84259
- </button>\r
84260
- </div>\r
84261
- </div>\r
84251
+ ], template: `<div class="incorporation-delta-form">
84252
+ <federal-incorporation-form
84253
+ class="incorporation-delta-form-content"
84254
+ [form]="form()"
84255
+ [task]="task()"
84256
+ [errors]="errors()"
84257
+ [selectedDocuments]="selectedDocuments()"
84258
+ [isStatusIcon]="false"
84259
+ [isReadonly]="true"
84260
+ >
84261
+ @let signatoryInformation = getFormGroup(groups.Signatory);
84262
+
84263
+ <expandable-card [isExpandable]="false">
84264
+ <filing-form-group [isSubmitted]="true" [form]="signatoryInformation" [config]="signatoryFields"/>
84265
+ </expandable-card>
84266
+
84267
+ </federal-incorporation-form>
84268
+
84269
+ <div class="incorporation-delta-form-actions">
84270
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
84271
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
84272
+ </button>
84273
+ <button
84274
+ class="submit"
84275
+ color="primary"
84276
+ mat-flat-button
84277
+ [disabled]="actionsDisabled() || !getFormGroup(groups.Signatory).get(controls.Signatory)?.value"
84278
+ (click)="file.emit()"
84279
+ >
84280
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
84281
+ </button>
84282
+ </div>
84283
+ </div>
84262
84284
  `, 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"] }]
84263
84285
  }], () => [], null);
84264
84286
  })();
@@ -84697,7 +84719,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84697
84719
  const task = this.task();
84698
84720
  if (!task)
84699
84721
  return;
84700
- const contacts = task.entity.affiliations.filter((a) => a.role?.role_name === "Contact");
84722
+ const contacts = task.entity.affiliations.filter((a) => a.role?.role_name === "Contact" && a._participant.participant_type === "person");
84701
84723
  this.contactControl.set(FEDERAL_UPDATE_MAINTAIN_CONTACT_FIELDS(contacts));
84702
84724
  this.addressForServiceMap.set(FederalUpdateMaintainFormHelper.generateISCAddressesMap(task.entity.affiliations));
84703
84725
  });
@@ -84837,104 +84859,104 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
84837
84859
  ReactiveFormsModule,
84838
84860
  MatButton,
84839
84861
  TranslatePipe
84840
- ], template: `<div class="federal-update-maintain-form">\r
84841
- @if (isNote()) {\r
84842
- <alert [type]="alertType.Info" title="Entity changed"\r
84843
- content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\r
84844
- }\r
84845
- \r
84846
- @if (errors().length) {\r
84847
- <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\r
84848
- }\r
84849
- \r
84850
- <div class="federal-update-maintain-form-content">\r
84851
- @let corporationDetails = getFormGroup(groups.CorporationDetails);\r
84852
- @if (corporationDetails) {\r
84853
- <expandable-card [isValid]="!corporationDetails.invalid" [title]="groups.CorporationDetails">\r
84854
- <filing-form-group\r
84855
- [isSubmitted]="isSubmitted()"\r
84856
- [form]="corporationDetails"\r
84857
- [config]="corporationDetailsFields"\r
84858
- />\r
84859
- </expandable-card>\r
84860
- }\r
84861
- \r
84862
- @let directorsArray = getFormArray(groups.Directors);\r
84863
- @if (directorsArray) {\r
84864
- <expandable-list-card\r
84865
- [isOpen]="true"\r
84866
- [isValid]="directorsArray.valid"\r
84867
- [isSubmitted]="isSubmitted()"\r
84868
- [fields]="directorsFields"\r
84869
- [formArray]="directorsArray"\r
84870
- [labelKey]="controls.AffiliationName"\r
84871
- [title]="groups.Directors"\r
84872
- />\r
84873
- }\r
84874
- \r
84875
- @let annualReturn = getFormGroup(groups.AnnualReturn);\r
84876
- @if (annualReturn) {\r
84877
- <expandable-card [isValid]="!annualReturn.invalid" [title]="groups.AnnualReturn">\r
84878
- <filing-form-group\r
84879
- [isSubmitted]="isSubmitted()"\r
84880
- [form]="annualReturn"\r
84881
- [config]="annualReturnFields"\r
84882
- />\r
84883
- </expandable-card>\r
84884
- }\r
84885
- \r
84886
- @let significantControl = getFormGroup(groups.SignificantControl);\r
84887
- @if (significantControl) {\r
84888
- @let individualsArray = getFormArray(groups.IndividualsWithSignificantControl);\r
84889
- @if (individualsArray) {\r
84890
- <expandable-list-card\r
84891
- [isOpen]="isIndividualsWithSignificantControlOpen()"\r
84892
- [isValid]="individualsArray.valid && significantControl.valid"\r
84893
- [isSubmitted]="isSubmitted()"\r
84894
- [isStatusIcon]="true"\r
84895
- [removable]="!readonly()"\r
84896
- [fields]="individualsWithSignificantControlFields()"\r
84897
- [formArray]="individualsArray"\r
84898
- [labelKey]="controls.AffiliationName"\r
84899
- [title]="groups.IndividualsWithSignificantControl"\r
84900
- (remove)="onRemoveIndividualWithSignificantForm($event)"\r
84901
- >\r
84902
- @if (!readonly() && isAddIndividualWithSignificantControlAvailable()) {\r
84903
- <button\r
84904
- [disabled]="isAddIndividualWithSignificantControlDisabled()"\r
84905
- slot="subtitle"\r
84906
- mat-stroked-button\r
84907
- mat-button\r
84908
- (click)="addIndividualWithSignificantControl()"\r
84909
- >\r
84910
- <span class="body-1-semibold">{{ 'Add Individuals With Significant Control' | translate }}</span>\r
84911
- </button>\r
84912
- }\r
84913
- \r
84914
- <div class="card-header-content" slot="header-content">\r
84915
- <filing-form-group\r
84916
- [isSubmitted]="isSubmitted()"\r
84917
- [form]="significantControl"\r
84918
- [config]="significantControlFields"\r
84919
- />\r
84920
- </div>\r
84921
- </expandable-list-card>\r
84922
- }\r
84923
- }\r
84924
- \r
84925
- @let contact = getFormGroup(groups.Contact);\r
84926
- @if (contact) {\r
84927
- <expandable-card [isStatusIcon]="!readonly()" [isValid]="!contact.invalid" [title]="groups.Contact">\r
84928
- <filing-form-group\r
84929
- [isSubmitted]="isSubmitted()"\r
84930
- [form]="contact"\r
84931
- [config]="contactControl()"\r
84932
- />\r
84933
- </expandable-card>\r
84934
- }\r
84935
- </div>\r
84936
- </div>\r
84937
- \r
84862
+ ], template: `<div class="federal-update-maintain-form">
84863
+ @if (isNote()) {
84864
+ <alert [type]="alertType.Info" title="Entity changed"
84865
+ content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>
84866
+ }
84867
+
84868
+ @if (errors().length) {
84869
+ <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>
84870
+ }
84871
+
84872
+ <div class="federal-update-maintain-form-content">
84873
+ @let corporationDetails = getFormGroup(groups.CorporationDetails);
84874
+ @if (corporationDetails) {
84875
+ <expandable-card [isValid]="!corporationDetails.invalid" [title]="groups.CorporationDetails">
84876
+ <filing-form-group
84877
+ [isSubmitted]="isSubmitted()"
84878
+ [form]="corporationDetails"
84879
+ [config]="corporationDetailsFields"
84880
+ />
84881
+ </expandable-card>
84882
+ }
84883
+
84884
+ @let directorsArray = getFormArray(groups.Directors);
84885
+ @if (directorsArray) {
84886
+ <expandable-list-card
84887
+ [isOpen]="true"
84888
+ [isValid]="directorsArray.valid"
84889
+ [isSubmitted]="isSubmitted()"
84890
+ [fields]="directorsFields"
84891
+ [formArray]="directorsArray"
84892
+ [labelKey]="controls.AffiliationName"
84893
+ [title]="groups.Directors"
84894
+ />
84895
+ }
84896
+
84897
+ @let annualReturn = getFormGroup(groups.AnnualReturn);
84898
+ @if (annualReturn) {
84899
+ <expandable-card [isValid]="!annualReturn.invalid" [title]="groups.AnnualReturn">
84900
+ <filing-form-group
84901
+ [isSubmitted]="isSubmitted()"
84902
+ [form]="annualReturn"
84903
+ [config]="annualReturnFields"
84904
+ />
84905
+ </expandable-card>
84906
+ }
84907
+
84908
+ @let significantControl = getFormGroup(groups.SignificantControl);
84909
+ @if (significantControl) {
84910
+ @let individualsArray = getFormArray(groups.IndividualsWithSignificantControl);
84911
+ @if (individualsArray) {
84912
+ <expandable-list-card
84913
+ [isOpen]="isIndividualsWithSignificantControlOpen()"
84914
+ [isValid]="individualsArray.valid && significantControl.valid"
84915
+ [isSubmitted]="isSubmitted()"
84916
+ [isStatusIcon]="true"
84917
+ [removable]="!readonly()"
84918
+ [fields]="individualsWithSignificantControlFields()"
84919
+ [formArray]="individualsArray"
84920
+ [labelKey]="controls.AffiliationName"
84921
+ [title]="groups.IndividualsWithSignificantControl"
84922
+ (remove)="onRemoveIndividualWithSignificantForm($event)"
84923
+ >
84924
+ @if (!readonly() && isAddIndividualWithSignificantControlAvailable()) {
84925
+ <button
84926
+ [disabled]="isAddIndividualWithSignificantControlDisabled()"
84927
+ slot="subtitle"
84928
+ mat-stroked-button
84929
+ mat-button
84930
+ (click)="addIndividualWithSignificantControl()"
84931
+ >
84932
+ <span class="body-1-semibold">{{ 'Add Individuals With Significant Control' | translate }}</span>
84933
+ </button>
84934
+ }
84935
+
84936
+ <div class="card-header-content" slot="header-content">
84937
+ <filing-form-group
84938
+ [isSubmitted]="isSubmitted()"
84939
+ [form]="significantControl"
84940
+ [config]="significantControlFields"
84941
+ />
84942
+ </div>
84943
+ </expandable-list-card>
84944
+ }
84945
+ }
84946
+
84947
+ @let contact = getFormGroup(groups.Contact);
84948
+ @if (contact) {
84949
+ <expandable-card [isStatusIcon]="!readonly()" [isValid]="!contact.invalid" [title]="groups.Contact">
84950
+ <filing-form-group
84951
+ [isSubmitted]="isSubmitted()"
84952
+ [form]="contact"
84953
+ [config]="contactControl()"
84954
+ />
84955
+ </expandable-card>
84956
+ }
84957
+ </div>
84958
+ </div>
84959
+
84938
84960
  `, 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"] }]
84939
84961
  }], () => [], null);
84940
84962
  })();
@@ -85028,36 +85050,36 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85028
85050
  MatButton,
85029
85051
  TranslatePipe,
85030
85052
  FederalUpdateMaintainFormComponent
85031
- ], template: `<div class="federal-update-maintain-delta-form">\r
85032
- <federal-update-maintain-form\r
85033
- class="federal-update-maintain-delta-form-content"\r
85034
- [form]="form()"\r
85035
- [task]="task()"\r
85036
- [errors]="errors()"\r
85037
- [isNote]="isNote()"\r
85038
- [isSubmitted]="submitted()"\r
85039
- [readonly]="false"\r
85040
- />\r
85041
- \r
85042
- <div class="federal-update-maintain-delta-form-actions">\r
85043
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
85044
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
85045
- </button>\r
85046
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="save.emit()">\r
85047
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
85048
- </button>\r
85049
- <button\r
85050
- class="submit"\r
85051
- color="primary"\r
85052
- mat-flat-button\r
85053
- [disabled]="actionsDisabled()"\r
85054
- (click)="onValidate()"\r
85055
- >\r
85056
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
85057
- </button>\r
85058
- </div>\r
85059
- </div>\r
85060
- \r
85053
+ ], template: `<div class="federal-update-maintain-delta-form">
85054
+ <federal-update-maintain-form
85055
+ class="federal-update-maintain-delta-form-content"
85056
+ [form]="form()"
85057
+ [task]="task()"
85058
+ [errors]="errors()"
85059
+ [isNote]="isNote()"
85060
+ [isSubmitted]="submitted()"
85061
+ [readonly]="false"
85062
+ />
85063
+
85064
+ <div class="federal-update-maintain-delta-form-actions">
85065
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
85066
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
85067
+ </button>
85068
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="save.emit()">
85069
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
85070
+ </button>
85071
+ <button
85072
+ class="submit"
85073
+ color="primary"
85074
+ mat-flat-button
85075
+ [disabled]="actionsDisabled()"
85076
+ (click)="onValidate()"
85077
+ >
85078
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
85079
+ </button>
85080
+ </div>
85081
+ </div>
85082
+
85061
85083
  `, 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"] }]
85062
85084
  }], null, null);
85063
85085
  })();
@@ -85132,32 +85154,32 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85132
85154
  MatButton,
85133
85155
  TranslatePipe,
85134
85156
  FederalUpdateMaintainFormComponent
85135
- ], template: `<div class="federal-update-maintain-preview-form">\r
85136
- <federal-update-maintain-form\r
85137
- class="federal-update-maintain-preview-form-content"\r
85138
- [form]="form()"\r
85139
- [task]="task()"\r
85140
- [errors]="errors()"\r
85141
- [isSubmitted]="false"\r
85142
- [readonly]="true"\r
85143
- />\r
85144
- \r
85145
- <div class="federal-update-maintain-preview-form-actions">\r
85146
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
85147
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
85148
- </button>\r
85149
- <button\r
85150
- class="submit"\r
85151
- color="primary"\r
85152
- mat-flat-button\r
85153
- [disabled]="actionsDisabled()"\r
85154
- (click)="file.emit()"\r
85155
- >\r
85156
- <span class="body-1-semibold">{{ 'File' | translate }}</span>\r
85157
- </button>\r
85158
- </div>\r
85159
- </div>\r
85160
- \r
85157
+ ], template: `<div class="federal-update-maintain-preview-form">
85158
+ <federal-update-maintain-form
85159
+ class="federal-update-maintain-preview-form-content"
85160
+ [form]="form()"
85161
+ [task]="task()"
85162
+ [errors]="errors()"
85163
+ [isSubmitted]="false"
85164
+ [readonly]="true"
85165
+ />
85166
+
85167
+ <div class="federal-update-maintain-preview-form-actions">
85168
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
85169
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>
85170
+ </button>
85171
+ <button
85172
+ class="submit"
85173
+ color="primary"
85174
+ mat-flat-button
85175
+ [disabled]="actionsDisabled()"
85176
+ (click)="file.emit()"
85177
+ >
85178
+ <span class="body-1-semibold">{{ 'File' | translate }}</span>
85179
+ </button>
85180
+ </div>
85181
+ </div>
85182
+
85161
85183
  `, 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"] }]
85162
85184
  }], null, null);
85163
85185
  })();
@@ -85578,7 +85600,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85578
85600
  FederalIncorporationPreviewFormComponent,
85579
85601
  FederalUpdateMaintainDeltaFormComponent,
85580
85602
  FederalUpdateMaintainPreviewFormComponent
85581
- ], 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"] }]
85603
+ ], 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"] }]
85582
85604
  }], () => [], null);
85583
85605
  })();
85584
85606
  (() => {
@@ -87218,10 +87240,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87218
87240
  }
87219
87241
  return false;
87220
87242
  });
87221
- editSectionHeight = 51;
87243
+ editSectionHeight = "51px";
87222
87244
  modalHeight = computed(() => {
87223
- const height = parseInt(this.height(), 10);
87224
- return `${this.isEditButton() ? height - this.editSectionHeight : height}px`;
87245
+ const height = this.height();
87246
+ return this.isEditButton() ? `calc(${height} - ${this.editSectionHeight})` : height;
87225
87247
  });
87226
87248
  dataWasChanged = signal(false);
87227
87249
  steps = Step;
@@ -87276,11 +87298,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87276
87298
  return;
87277
87299
  }
87278
87300
  if (isUpdateMaintain(task) && isOntarioTask(task)) {
87279
- if (deltaData.serviceOrderId) {
87280
- this.defineInitialStep();
87281
- }
87282
87301
  const serviceOrderId = deltaData?.serviceOrderId;
87283
87302
  if (serviceOrderId) {
87303
+ this.defineInitialStep();
87304
+ }
87305
+ if (serviceOrderId && !this.dataWasChanged()) {
87284
87306
  this.serviceOrderId = serviceOrderId;
87285
87307
  } else {
87286
87308
  this.isLoading.set(true);
@@ -87318,7 +87340,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87318
87340
  documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
87319
87341
  documentType: "pdf"
87320
87342
  });
87321
- this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), { serviceOrderId, validatedData: JSON.parse(JSON.stringify(requestBody)) }));
87343
+ this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
87344
+ serviceOrderId,
87345
+ validatedData: JSON.parse(JSON.stringify(requestBody))
87346
+ }));
87322
87347
  this.close.emit();
87323
87348
  }
87324
87349
  } catch (response) {
@@ -87352,7 +87377,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87352
87377
  documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
87353
87378
  documentType: "pdf"
87354
87379
  });
87355
- this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), { serviceOrderId, validatedData: JSON.parse(JSON.stringify(requestBody)) }));
87380
+ this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
87381
+ serviceOrderId,
87382
+ validatedData: JSON.parse(JSON.stringify(requestBody))
87383
+ }));
87356
87384
  this.close.emit();
87357
87385
  }
87358
87386
  } catch (response) {
@@ -87518,7 +87546,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87518
87546
  try {
87519
87547
  const requestBody = buildOntarioUpdateMaintainValidationRequest(task, deltaData, this.serviceOrderId);
87520
87548
  const response = yield this.updateMaintainService.submitInitialReturnValidationToECore(signature, requestBody, this.validateOptions());
87521
- this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), { serviceOrderId: this.serviceOrderId, validatedData: JSON.parse(JSON.stringify(requestBody)) }));
87549
+ this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
87550
+ serviceOrderId: this.serviceOrderId,
87551
+ validatedData: JSON.parse(JSON.stringify(requestBody))
87552
+ }));
87522
87553
  const draftPdf = response?.Draft ?? response?.["Draft"] ?? "";
87523
87554
  const searchOrFilingType = getSearchOrFilingType(task);
87524
87555
  if (searchOrFilingType) {
@@ -87705,78 +87736,78 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87705
87736
  MatIcon,
87706
87737
  FederalComponent,
87707
87738
  OntarioComponent
87708
- ], encapsulation: ViewEncapsulation.ShadowDom, template: `<div [style.height]="modalHeight()" class="filing">\r
87709
- <div class="filing-title">\r
87710
- <h1 class="filing-title-text">{{title() | translate}}</h1>\r
87711
- <mat-icon (click)="onClose()" class="filing-title-action">close</mat-icon>\r
87712
- </div>\r
87713
- \r
87714
- @if (isEditButton()) {\r
87715
- <div class="filing-header">\r
87716
- <button\r
87717
- mat-stroked-button\r
87718
- [disabled]="isLoading()"\r
87719
- (click)="onEditClick()"\r
87720
- >\r
87721
- {{ 'Edit' | translate }}\r
87722
- </button>\r
87723
- </div>\r
87724
- }\r
87725
- \r
87726
- <div [class.edit]="isEditButton()" class="filing-content">\r
87727
- @let currentTask = task();\r
87728
- \r
87729
- @if (currentTask) {\r
87730
- @if (isOntarioTask(currentTask)) {\r
87731
- <ontario\r
87732
- [task]="currentTask"\r
87733
- [activeStep]="activeStep()"\r
87734
- [isNote]="dataWasChanged()"\r
87735
- [actionsDisabled]="isLoading()"\r
87736
- [errors]="errors()"\r
87737
- [prevData]="prevData()"\r
87738
- (close)="close.emit()"\r
87739
- (formationValidate)="onOntarioFormationValidate($event)"\r
87740
- (saveFormationDeltaData)="deltaDataChange.emit($event)"\r
87741
- (formationSubmit)="onOntarioFormationSubmit()"\r
87742
- (nextStep)="onNextStepClick()"\r
87743
- (prevStep)="onOntarioPrevStep()"\r
87744
- [irValidationConfig]="validationConfig()"\r
87745
- (irValidate)="validateAndFileInitialReturnTask($event)"\r
87746
- (saveIrDeltaData)="deltaDataChange.emit($event)"\r
87747
- (irSubmit)="onInitialReturnSubmit()"\r
87748
- />\r
87749
- } @else {\r
87750
- <federal\r
87751
- [actionsDisabled]="isLoading()"\r
87752
- [isNote]="dataWasChanged()"\r
87753
- [activeStep]="activeStep()"\r
87754
- [task]="currentTask"\r
87755
- [errors]="errors()"\r
87756
- (close)="close.emit()"\r
87757
- (deltaDataChange)="deltaDataChange.emit($event)"\r
87758
- (file)="onFederalFormationSubmit()"\r
87759
- (validate)="onFederalValidate($event)"\r
87760
- (umSave)="onFederalUpdateMaintainSave($event)"\r
87761
- (umValidate)="onFederalUpdateMaintainValidate($event)"\r
87762
- (umSubmit)="onFederalUpdateMaintainSubmit()"\r
87763
- (nextStep)="defineInitialStep()"\r
87764
- />\r
87765
- }\r
87766
- }\r
87767
- \r
87768
- @if (isLoading()) {\r
87769
- <div class="filing-content-loading">\r
87770
- <mat-spinner [diameter]="40" />\r
87771
- </div>\r
87772
- }\r
87773
- </div>\r
87774
- </div>\r
87739
+ ], encapsulation: ViewEncapsulation.ShadowDom, template: `<div [style.height]="modalHeight()" class="filing">
87740
+ <div class="filing-title">
87741
+ <h1 class="filing-title-text">{{title() | translate}}</h1>
87742
+ <mat-icon (click)="onClose()" class="filing-title-action">close</mat-icon>
87743
+ </div>
87744
+
87745
+ @if (isEditButton()) {
87746
+ <div class="filing-header">
87747
+ <button
87748
+ mat-stroked-button
87749
+ [disabled]="isLoading()"
87750
+ (click)="onEditClick()"
87751
+ >
87752
+ {{ 'Edit' | translate }}
87753
+ </button>
87754
+ </div>
87755
+ }
87756
+
87757
+ <div [class.edit]="isEditButton()" class="filing-content">
87758
+ @let currentTask = task();
87759
+
87760
+ @if (currentTask) {
87761
+ @if (isOntarioTask(currentTask)) {
87762
+ <ontario
87763
+ [task]="currentTask"
87764
+ [activeStep]="activeStep()"
87765
+ [isNote]="dataWasChanged()"
87766
+ [actionsDisabled]="isLoading()"
87767
+ [errors]="errors()"
87768
+ [prevData]="prevData()"
87769
+ (close)="close.emit()"
87770
+ (formationValidate)="onOntarioFormationValidate($event)"
87771
+ (saveFormationDeltaData)="deltaDataChange.emit($event)"
87772
+ (formationSubmit)="onOntarioFormationSubmit()"
87773
+ (nextStep)="onNextStepClick()"
87774
+ (prevStep)="onOntarioPrevStep()"
87775
+ [irValidationConfig]="validationConfig()"
87776
+ (irValidate)="validateAndFileInitialReturnTask($event)"
87777
+ (saveIrDeltaData)="deltaDataChange.emit($event)"
87778
+ (irSubmit)="onInitialReturnSubmit()"
87779
+ />
87780
+ } @else {
87781
+ <federal
87782
+ [actionsDisabled]="isLoading()"
87783
+ [isNote]="dataWasChanged()"
87784
+ [activeStep]="activeStep()"
87785
+ [task]="currentTask"
87786
+ [errors]="errors()"
87787
+ (close)="close.emit()"
87788
+ (deltaDataChange)="deltaDataChange.emit($event)"
87789
+ (file)="onFederalFormationSubmit()"
87790
+ (validate)="onFederalValidate($event)"
87791
+ (umSave)="onFederalUpdateMaintainSave($event)"
87792
+ (umValidate)="onFederalUpdateMaintainValidate($event)"
87793
+ (umSubmit)="onFederalUpdateMaintainSubmit()"
87794
+ (nextStep)="defineInitialStep()"
87795
+ />
87796
+ }
87797
+ }
87798
+
87799
+ @if (isLoading()) {
87800
+ <div class="filing-content-loading">
87801
+ <mat-spinner [diameter]="40" />
87802
+ </div>
87803
+ }
87804
+ </div>
87805
+ </div>
87775
87806
  `, styles: ["/* src/app/components/filing/filing.component.scss */\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'] }]
87776
87807
  }], () => [], null);
87777
87808
  })();
87778
87809
  (() => {
87779
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 69 });
87810
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 80 });
87780
87811
  })();
87781
87812
  }
87782
87813
  });